Home
last modified time | relevance | path

Searched refs:addFlags (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DActionIntentCreator.kt62 addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) in createShare()
63 addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION) in createShare()
67 .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK) in createShare()
68 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in createShare()
69 .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) in createShare()
88 .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) in createEdit()
89 .addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION) in createEdit()
90 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in createEdit()
91 .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK) in createEdit()
98 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in createLongScreenshotIntent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DIntentCreator.java36 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in getTextEditorIntent()
56 shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getShareIntent()
63 .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK) in getShareIntent()
64 .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getShareIntent()
76 editIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getImageEditIntent()
77 editIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in getImageEditIntent()
91 nearbyIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getRemoteCopyIntent()
92 nearbyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in getRemoteCopyIntent()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLockedActivity.java34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate()
35 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate()
36 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
37 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); in onCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsManagerServiceTest.java126 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PHOTO_1).addFlags(FLAG_READ); in testNeeded_normal_sameUser()
144 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PHOTO_1).addFlags(FLAG_READ); in testNeeded_normal_differentUser()
161 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PUBLIC).addFlags(FLAG_READ); in testNeeded_public()
175 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PUBLIC).addFlags(FLAG_READ); in testNeeded_public_differentUser()
192 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PRIVATE).addFlags(FLAG_READ); in testNeeded_private()
208 .addFlags(FLAG_READ); in testNeeded_force()
223 .addFlags(FLAG_READ | Intent.FLAG_ACTIVITY_CLEAR_TASK); in testNeeded_complex_top()
229 .addFlags(FLAG_READ | FLAG_PREFIX); in testNeeded_complex_top()
239 .addFlags(FLAG_READ | FLAG_PERSISTABLE); in testNeeded_complex_top()
259 .addFlags(FLAG_READ); in testNeeded_complex_top_differentUser()
[all …]
/frameworks/base/native/android/
Dnative_activity.cpp33 uint32_t addFlags, uint32_t removeFlags) { in ANativeActivity_setWindowFlags() argument
34 android_NativeActivity_setWindowFlags(activity, addFlags, addFlags|removeFlags); in ANativeActivity_setWindowFlags()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleTaskViewHelper.java111 fillInIntent.addFlags(FLAG_ACTIVITY_NEW_DOCUMENT);
112 fillInIntent.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK);
122 .addFlags(FLAG_ACTIVITY_NEW_DOCUMENT)
123 .addFlags(FLAG_ACTIVITY_MULTIPLE_TASK),
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DAlwaysOnDisconnectedDialog.java77 getWindow().addFlags(FLAG_ALT_FOCUSABLE_IM); in onCreate()
88 … intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in onClick()
126 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in onClick()
/frameworks/base/services/core/java/com/android/server/audio/
DSystemServerAdapter.java85 intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT); in sendDeviceBecomingNoisyIntent()
86 intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in sendDeviceBecomingNoisyIntent()
152 intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT in broadcastMasterMuteStatus()
/frameworks/base/services/core/java/com/android/server/am/
DBugReportHandlerUtil.java124 intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in launchBugReportHandlerApp()
125 intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); in launchBugReportHandlerApp()
153 intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in launchBugReportHandlerApp()
154 intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); in launchBugReportHandlerApp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DPanelTaskViewController.kt50 addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in <lambda>()
51 addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
DDetailDialog.kt77 addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT) in <lambda>()
78 addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
125 window?.addFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL) in <lambda>()
/frameworks/base/packages/Shell/src/com/android/shell/
DProfcollectUploadReceiver.java74 .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) in onReceive()
75 .addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in onReceive()
/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/
DTestActivity.java61 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in start()
62 .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in start()
/frameworks/base/tests/Assist/src/com/android/test/assist/
DAssistInteractionService.java27 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onLaunchVoiceAssistFromKeyguard()
DAboveKeyguardActivity.java34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate()
/frameworks/base/tests/SmokeTest/src/com/android/smoketest/
DSmokeTestActivity.java38 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getTargetIntent()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaRecommendationsInteractorTest.kt139 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in removeRecommendation_noTrampolineActivity()
151 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in removeRecommendation_usingTrampolineActivity()
172 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in startClickIntent()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPermissionManager.java93 intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); in usbDeviceRemoved()
116 intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); in usbAccessoryRemoved()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsHelper.java42 new Intent(ACTION_STATSD_STARTED).addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND), in sendStatsdReadyBroadcast()
/frameworks/base/core/java/android/app/
DVr2dDisplayProperties.java223 addFlags(FLAG_VIRTUAL_DISPLAY_ENABLED); in setEnabled()
234 public Builder addFlags(@Vr2dDisplayFlag int flags) { in addFlags() method in Vr2dDisplayProperties.Builder
/frameworks/base/tests/CameraPrewarmTest/src/com/google/android/test/cameraprewarm/
DSecureCameraActivity.java33 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate()
/frameworks/base/services/core/java/com/android/server/pm/
DVerifyingSession.java244 enableRollbackIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION in sendEnableRollbackRequest()
252 enableRollbackIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT); in sendEnableRollbackRequest()
296 integrityVerification.addFlags(flags); in sendIntegrityVerificationRequest()
439 verification.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in sendPackageVerificationRequest()
442 verification.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in sendPackageVerificationRequest()
587 requiredIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in sendPackageVerificationRequest()
588 requiredIntent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in sendPackageVerificationRequest()
589 requiredIntent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES); in sendPackageVerificationRequest()
/frameworks/libs/native_bridge_support/android_api/libandroid/proxy/
Dlibandroid_trampolines.cc112 auto [guest_activity, addFlags, removeFlags] = in DoCustomTrampoline_ANativeActivity_setWindowFlags()
114 ANativeActivity_setWindowFlags(guest_activity->host_native_activity, addFlags, removeFlags); in DoCustomTrampoline_ANativeActivity_setWindowFlags()
/frameworks/base/services/tests/wmtests/OverlayApp/src/com/android/server/wm/overlay_app/
DOverlayApp.java44 getWindow().addFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL); in onCreate()
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DImeStressTestUtil.java386 getWindow().addFlags(windowFlags); in onCreate()
487 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in start()
488 .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in start()
496 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startSecondTestActivity()

12345678910>>...14