Home
last modified time | relevance | path

Searched refs:getBroadcast (Results 1 – 25 of 105) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/app/activity/
DIntentSenderTest.java34 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in ignore_testRegisteredReceivePermissionGranted()
57 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, in testRegisteredReceivePermissionDenied()
66 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testLocalReceivePermissionGranted()
87 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, in ignore_testLocalReceivePermissionDenied()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDiscoverableTimeoutReceiver.java40 PendingIntent pending = PendingIntent.getBroadcast( in setDiscoverableAlarm()
50 pending = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_IMMUTABLE); in setDiscoverableAlarm()
60 PendingIntent pending = PendingIntent.getBroadcast( in cancelDiscoverableAlarm()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java53 mIntents.put(R.drawable.ic_pause, PendingIntent.getBroadcast(mService, 100, new Intent( in NotificationHelper()
56 mIntents.put(R.drawable.ic_play_arrow, PendingIntent.getBroadcast(mService, 100, in NotificationHelper()
59 mIntents.put(R.drawable.ic_skip_previous, PendingIntent.getBroadcast(mService, 100, in NotificationHelper()
62 mIntents.put(R.drawable.ic_skip_next, PendingIntent.getBroadcast(mService, 100, in NotificationHelper()
65 mIntents.put(R.drawable.ic_fast_rewind, PendingIntent.getBroadcast(mService, 100, in NotificationHelper()
68 mIntents.put(R.drawable.ic_fast_forward, PendingIntent.getBroadcast(mService, 100, in NotificationHelper()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverySnapshotListenersStorageTest.java42 PendingIntent intent = PendingIntent.getBroadcast( in hasListener_isTrueForRegisteredUid()
58 PendingIntent intent = PendingIntent.getBroadcast( in setSnapshotListener_invokesIntentImmediatelyIfPreviouslyNotified()
81 PendingIntent intent = PendingIntent.getBroadcast( in setSnapshotListener_doesNotRepeatedlyInvokeListener()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/contexthub/
DContextHubClientBrokerTest.java150 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in testWakeLock_pendingIntent()
180 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in testWakeLock_pendingIntent_multipleTimes()
212 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in testWakeLock_pendingIntent_binderDied()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DLockoutFrameworkImpl.java83 this(context, lockoutResetCallback, (userId) -> PendingIntent.getBroadcast(context, userId, in LockoutFrameworkImpl()
92 this(context, lockoutResetCallback, (userId) -> PendingIntent.getBroadcast(context, userId, in LockoutFrameworkImpl()
/frameworks/base/services/tests/servicestests/src/com/android/server/media/
DMediaButtonReceiverHolderTest.java38 PendingIntent pi = PendingIntent.getBroadcast(context, /* requestCode= */ 0, intent, in createMediaButtonReceiverHolder_resolvesNullComponentName()
/frameworks/libs/systemui/toruslib/torus-wallpaper-settings/src/main/java/com/google/android/torus/settings/inlinecontrol/
DInputRangeRowBuilder.kt42 val rangePendingIntent: PendingIntent = PendingIntent.getBroadcast( in createInputRangeBuilder()
DColorChipsRowBuilder.kt74 PendingIntent.getBroadcast( in create()
134 PendingIntent.getBroadcast( in makeColorOption()
/frameworks/base/errorprone/tests/res/android/app/
DPendingIntent.java50 public static PendingIntent getBroadcast(Context context, int requestCode, in getBroadcast() method in PendingIntent
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java243 PendingIntent pendingIntent = PendingIntent.getBroadcast(TestApplication.getAppContext(), 0, in testSendTextWithInvalidDestAddr()
305 PendingIntent sentIntent = PendingIntent.getBroadcast(TestApplication.getAppContext(), 0, in testSendMultipartTextWithInvalidText()
386 PendingIntent pendingIntent = PendingIntent.getBroadcast(TestApplication.getAppContext(), 0, in testSendSmsByCarrierApp()
443 PendingIntent sentIntent1 = PendingIntent.getBroadcast(TestApplication.getAppContext(), 0, in sendMultipartTextSms()
447 PendingIntent sentIntent2 = PendingIntent.getBroadcast(TestApplication.getAppContext(), 0, in sendMultipartTextSms()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuNotificationFactory.java62 return PendingIntent.getBroadcast(mContext, /* requestCode= */ 0, intent, in buildUndoIntent()
/frameworks/base/services/tests/servicestests/src/com/android/server/ambientcontext/
DAmbientContextManagerServiceTest.java50 PendingIntent pendingIntent = PendingIntent.getBroadcast( in testClientRequest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DSaveImageInBackgroundTaskTest.kt67 PendingIntent.getBroadcast(
74 PendingIntent.getBroadcast(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/usb/
DUsbPermissionActivityTest.kt68 putExtra(Intent.EXTRA_INTENT, PendingIntent.getBroadcast( in <lambda>()
/frameworks/base/services/people/java/com/android/server/people/data/
DConversationStatusExpirationBroadcastReceiver.java51 final PendingIntent pi = PendingIntent.getBroadcast(context, in scheduleExpiration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetPinnedReceiver.java56 return PendingIntent.getBroadcast(context, BROADCAST_ID, intent, in getPendingIntent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DSystemActionPerformerTest.java77 private static final PendingIntent TEST_PENDING_INTENT_1 = PendingIntent.getBroadcast(
86 private static final PendingIntent TEST_PENDING_INTENT_2 = PendingIntent.getBroadcast(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DColorizedFgsCoordinatorTest.java140 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, in makeCallStyle()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java86 mAlarmIntent = PendingIntent.getBroadcast(this, 0, intent, in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DSaveImageInBackgroundTask.java230 PendingIntent broadcastIntent = PendingIntent.getBroadcast(context, in buildSmartActions()
280 PendingIntent.getBroadcast(mContext, mRandom.nextInt(), wrappedIntent, in createQuickShareAction()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DRemoteBugreportManager.java171 final PendingIntent pendingIntentAccept = PendingIntent.getBroadcast(mContext, in buildNotification()
175 final PendingIntent pendingIntentDecline = PendingIntent.getBroadcast(mContext, in buildNotification()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DTestPackageInstaller.java137 PendingIntent pending = PendingIntent.getBroadcast(mContext, sessionId, intent, in getIntentSender()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/ui/
DTaskSwitcherNotificationCoordinator.kt120 PendingIntent.getBroadcast( in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/
DSliceUtil.kt146 return PendingIntent.getBroadcast( in createBroadcastPendingIntent()

12345