/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ActionIntentCreator.kt | 62 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/ |
D | IntentCreator.java | 36 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/ |
D | NekoLockedActivity.java | 34 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/ |
D | UriGrantsManagerServiceTest.java | 126 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/ |
D | native_activity.cpp | 33 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/ |
D | BubbleTaskViewHelper.java | 111 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/ |
D | AlwaysOnDisconnectedDialog.java | 77 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/ |
D | SystemServerAdapter.java | 85 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/ |
D | BugReportHandlerUtil.java | 124 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/ |
D | PanelTaskViewController.kt | 50 addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in <lambda>() 51 addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
|
D | DetailDialog.kt | 77 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/ |
D | ProfcollectUploadReceiver.java | 74 .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/ |
D | TestActivity.java | 61 .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/ |
D | AssistInteractionService.java | 27 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onLaunchVoiceAssistFromKeyguard()
|
D | AboveKeyguardActivity.java | 34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate()
|
/frameworks/base/tests/SmokeTest/src/com/android/smoketest/ |
D | SmokeTestActivity.java | 38 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getTargetIntent()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/ |
D | MediaRecommendationsInteractorTest.kt | 139 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/ |
D | UsbPermissionManager.java | 93 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/ |
D | StatsHelper.java | 42 new Intent(ACTION_STATSD_STARTED).addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND), in sendStatsdReadyBroadcast()
|
/frameworks/base/core/java/android/app/ |
D | Vr2dDisplayProperties.java | 223 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/ |
D | SecureCameraActivity.java | 33 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | VerifyingSession.java | 244 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/ |
D | libandroid_trampolines.cc | 112 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/ |
D | OverlayApp.java | 44 getWindow().addFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL); in onCreate()
|
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
D | ImeStressTestUtil.java | 386 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()
|