/frameworks/base/core/java/android/app/ |
D | BroadcastOptions.java | 52 public class BroadcastOptions extends ComponentOptions { class 312 public static @NonNull BroadcastOptions makeBasic() { in makeBasic() 313 BroadcastOptions opts = new BroadcastOptions(); in makeBasic() 319 public BroadcastOptions() { in BroadcastOptions() method in BroadcastOptions 326 public BroadcastOptions(@NonNull Bundle opts) { in BroadcastOptions() method in BroadcastOptions 359 public static BroadcastOptions makeWithDeferUntilActive(boolean deferUntilActive) { in makeWithDeferUntilActive() 360 final BroadcastOptions opts = BroadcastOptions.makeBasic(); in makeWithDeferUntilActive() 702 public @NonNull BroadcastOptions setShareIdentityEnabled(boolean shareIdentityEnabled) { in setShareIdentityEnabled() 795 public @NonNull BroadcastOptions setDeferralPolicy(@DeferralPolicy int deferralPolicy) { in setDeferralPolicy() 821 public BroadcastOptions setDeliveryGroupPolicy(@DeliveryGroupPolicy int policy) { in setDeliveryGroupPolicy() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BroadcastQueueModernImplTest.java | 62 import android.app.BroadcastOptions; 194 return makeBroadcastRecord(intent, BroadcastOptions.makeBasic(), in makeBroadcastRecord() 199 return makeBroadcastRecord(intent, BroadcastOptions.makeBasic(), receivers, false); in makeBroadcastRecord() 202 private BroadcastRecord makeBroadcastRecord(Intent intent, BroadcastOptions options) { in makeBroadcastRecord() 207 private BroadcastRecord makeBroadcastRecord(Intent intent, BroadcastOptions options, in makeBroadcastRecord() 212 private BroadcastRecord makeBroadcastRecord(Intent intent, BroadcastOptions options, in makeBroadcastRecord() 373 final BroadcastOptions options = BroadcastOptions.makeBasic() in testRunnableAt_Normal_Deferrable() 374 .setDeferralPolicy(BroadcastOptions.DEFERRAL_POLICY_UNTIL_ACTIVE); in testRunnableAt_Normal_Deferrable() 401 final BroadcastOptions options = BroadcastOptions.makeBasic() in testRunnableAt_Normal() 402 .setDeferralPolicy(BroadcastOptions.DEFERRAL_POLICY_NONE); in testRunnableAt_Normal() [all …]
|
D | BroadcastRecordTest.java | 38 import android.app.BroadcastOptions; 84 private static final BroadcastOptions OPT_DEFAULT = BroadcastOptions.makeBasic(); 85 private static final BroadcastOptions OPT_NONE = BroadcastOptions.makeBasic() 86 .setDeferralPolicy(BroadcastOptions.DEFERRAL_POLICY_NONE); 87 private static final BroadcastOptions OPT_UNTIL_ACTIVE = BroadcastOptions.makeBasic() 88 .setDeferralPolicy(BroadcastOptions.DEFERRAL_POLICY_UNTIL_ACTIVE); 375 final BroadcastOptions opts = BroadcastOptions.makeBasic(); in testCalculateUrgent() 379 final BroadcastOptions opts = BroadcastOptions.makeBasic(); in testCalculateUrgent() 384 final BroadcastOptions opts = BroadcastOptions.makeBasic(); in testCalculateUrgent() 496 final BroadcastOptions options1 = BroadcastOptions.makeBasic(); in testMatchesDeliveryGroup() [all …]
|
D | BroadcastQueueTest.java | 63 import android.app.BroadcastOptions; 414 return makeBroadcastRecord(intent, callerApp, BroadcastOptions.makeBasic(), in makeBroadcastRecord() 420 return makeBroadcastRecord(intent, callerApp, BroadcastOptions.makeBasic(), in makeBroadcastRecord() 425 BroadcastOptions options, List<Object> receivers) { in makeBroadcastRecord() 432 return makeBroadcastRecord(intent, callerApp, BroadcastOptions.makeBasic(), in makeBroadcastRecord() 438 return makeBroadcastRecord(intent, callerApp, BroadcastOptions.makeBasic(), in makeOrderedBroadcastRecord() 443 BroadcastOptions options, List<Object> receivers, boolean ordered, in makeBroadcastRecord() 753 final BroadcastOptions options = BroadcastOptions.makeBasic(); 1495 null, null, null, null, AppOpsManager.OP_NONE, BroadcastOptions.makeBasic(), 1513 final BroadcastOptions options = BroadcastOptions.makeBasic(); [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | PendingIntentUtils.java | 20 import android.app.BroadcastOptions; 35 final BroadcastOptions options = BroadcastOptions.makeBasic(); in createDontSendToRestrictedAppsBundle()
|
D | BatteryService.java | 29 import android.app.BroadcastOptions; 210 private Bundle mBatteryChangedOptions = BroadcastOptions.makeBasic() 211 .setDeliveryGroupPolicy(BroadcastOptions.DELIVERY_GROUP_POLICY_MOST_RECENT) 212 .setDeferralPolicy(BroadcastOptions.DEFERRAL_POLICY_UNTIL_ACTIVE) 215 private Bundle mPowerOptions = BroadcastOptions.makeBasic() 216 .setDeliveryGroupPolicy(BroadcastOptions.DELIVERY_GROUP_POLICY_MOST_RECENT) 218 .setDeferralPolicy(BroadcastOptions.DEFERRAL_POLICY_UNTIL_ACTIVE) 221 private Bundle mBatteryOptions = BroadcastOptions.makeBasic() 222 .setDeliveryGroupPolicy(BroadcastOptions.DELIVERY_GROUP_POLICY_MOST_RECENT) 224 .setDeferralPolicy(BroadcastOptions.DEFERRAL_POLICY_UNTIL_ACTIVE)
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | GlobalActionsPanelPlugin.java | 20 import android.app.BroadcastOptions; 74 BroadcastOptions options = BroadcastOptions.makeBasic(); in startPendingIntentDismissingKeyguard()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamController.java | 24 import android.app.BroadcastOptions; 120 mCloseNotificationShadeOptions = BroadcastOptions.makeBasic() in DreamController() 121 .setDeliveryGroupPolicy(BroadcastOptions.DELIVERY_GROUP_POLICY_MOST_RECENT) in DreamController() 124 .setDeferralPolicy(BroadcastOptions.DEFERRAL_POLICY_UNTIL_ACTIVE) in DreamController() 136 final BroadcastOptions options = BroadcastOptions.makeBasic(); in createDreamingStartedStoppedOptions() 139 options.setDeliveryGroupPolicy(BroadcastOptions.DELIVERY_GROUP_POLICY_MOST_RECENT); in createDreamingStartedStoppedOptions() 151 options.setDeferralPolicy(BroadcastOptions.DEFERRAL_POLICY_UNTIL_ACTIVE); in createDreamingStartedStoppedOptions()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/proxy/ |
D | DomainVerificationProxyV2.java | 24 import android.app.BroadcastOptions; 74 final BroadcastOptions options = BroadcastOptions.makeBasic(); in runMessage()
|
D | DomainVerificationProxyV1.java | 25 import android.app.BroadcastOptions; 279 final BroadcastOptions options = BroadcastOptions.makeBasic(); in sendBroadcasts()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | OverlayActionChip.java | 22 import android.app.BroadcastOptions; 100 BroadcastOptions options = BroadcastOptions.makeBasic(); in setPendingIntent()
|
D | ActionExecutor.kt | 20 import android.app.BroadcastOptions 67 val options = BroadcastOptions.makeBasic() in sendPendingIntent()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BugReportHandlerUtil.java | 25 import android.app.BroadcastOptions; 156 final BroadcastOptions options = BroadcastOptions.makeBasic(); in launchBugReportHandlerApp()
|
D | PreBootBroadcaster.java | 25 import android.app.BroadcastOptions; 121 final BroadcastOptions bOptions = BroadcastOptions.makeBasic(); in sendNext()
|
D | BroadcastRecord.java | 43 import android.app.BroadcastOptions; 44 import android.app.BroadcastOptions.DeliveryGroupPolicy; 109 final @Nullable BroadcastOptions options; // BroadcastOptions supplied by caller 412 BroadcastOptions options, List receivers, in BroadcastRecord() 434 BroadcastOptions _options, List _receivers, in BroadcastRecord() 844 static boolean calculateUrgent(@NonNull Intent intent, @Nullable BroadcastOptions options) { in calculateUrgent() 867 static boolean calculateDeferUntilActive(int callingUid, @Nullable BroadcastOptions options, in calculateDeferUntilActive() 883 case BroadcastOptions.DEFERRAL_POLICY_UNTIL_ACTIVE: in calculateDeferUntilActive() 885 case BroadcastOptions.DEFERRAL_POLICY_NONE: in calculateDeferUntilActive() 1041 : BroadcastOptions.DELIVERY_GROUP_POLICY_ALL; in getDeliveryGroupPolicy()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | RecordIssueTile.kt | 20 import android.app.BroadcastOptions 140 .send(BroadcastOptions.makeBasic().apply { isInteractive = true }.toBundle()) in startIssueRecordingService() 149 .send(BroadcastOptions.makeBasic().apply { isInteractive = true }.toBundle()) in stopIssueRecordingService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | RecordingController.java | 19 import android.app.BroadcastOptions; 138 BroadcastOptions options = BroadcastOptions.makeBasic(); in RecordingController()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | BroadcastTest.java | 21 import android.app.BroadcastOptions; 548 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testBroadcastOption_interactive() 564 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testBroadcastOption_interactive_PendingIntent()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 121 import android.app.BroadcastOptions; 802 final BroadcastOptions options = new BroadcastOptions(optionsCaptor.getValue()); 1283 final BroadcastOptions actualOptions = new BroadcastOptions(actualOptionsBundle); 1284 assertEquals(BroadcastOptions.DELIVERY_GROUP_POLICY_MOST_RECENT, 1286 assertEquals(BroadcastOptions.DEFERRAL_POLICY_UNTIL_ACTIVE, 2347 final BroadcastOptions idleOptions = new BroadcastOptions(bundleCaptor.getValue()); 2366 final BroadcastOptions idleOptions = new BroadcastOptions(bundleCaptor.getValue()); 2386 final BroadcastOptions idleOptions = new BroadcastOptions(bundleCaptor.getValue()); 2413 final BroadcastOptions idleOptions = new BroadcastOptions(bundleCaptor.getValue()); 2442 final BroadcastOptions idleOptions = new BroadcastOptions(bundleCaptor.getValue()); [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaButtonReceiverHolder.java | 22 import android.app.BroadcastOptions; 200 final BroadcastOptions options = BroadcastOptions.makeBasic(); in send()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BroadcastHelper.java | 39 import android.app.BroadcastOptions; 262 final BroadcastOptions bOptions = getTemporaryAppAllowlistBroadcastOptions( in sendBootCompletedBroadcastToSystemApp() 284 private @NonNull BroadcastOptions getTemporaryAppAllowlistBroadcastOptions( in getTemporaryAppAllowlistBroadcastOptions() 290 final BroadcastOptions bOptions = BroadcastOptions.makeBasic(); in getTemporaryAppAllowlistBroadcastOptions() 893 private @NonNull BroadcastOptions getTemporaryBroadcastOptionsForSystemPackageUpdate( in getTemporaryBroadcastOptionsForSystemPackageUpdate() 899 final BroadcastOptions bOptions = BroadcastOptions.makeBasic(); in getTemporaryBroadcastOptionsForSystemPackageUpdate() 1007 final Bundle options = new BroadcastOptions() in sendPackagesSuspendedOrUnsuspendedForUser() 1008 .setDeferralPolicy(BroadcastOptions.DEFERRAL_POLICY_UNTIL_ACTIVE) in sendPackagesSuspendedOrUnsuspendedForUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/ |
D | MediaControlInteractor.kt | 20 import android.app.BroadcastOptions in <lambda>() 145 val options = BroadcastOptions.makeBasic() in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/ambientcontext/ |
D | AmbientContextManagerPerUserService.java | 25 import android.app.BroadcastOptions; 409 BroadcastOptions options = BroadcastOptions.makeBasic(); in sendDetectionResultIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletView.java | 24 import android.app.BroadcastOptions; 309 BroadcastOptions options = BroadcastOptions.makeBasic(); in renderActionButton()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | PendingReports.java | 24 import android.app.BroadcastOptions; 410 final BroadcastOptions options = BroadcastOptions.makeBasic(); in sendBroadcast()
|