Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/src/android/app/activity/
DIntentSenderTest.java34 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testRegisteredReceivePermissionGranted()
55 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); in testRegisteredReceivePermissionDenied()
63 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testLocalReceivePermissionGranted()
82 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); in testLocalReceivePermissionDenied()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDiscoverableTimeoutReceiver.java40 PendingIntent pending = PendingIntent.getBroadcast( in setDiscoverableAlarm()
50 pending = PendingIntent.getBroadcast( in setDiscoverableAlarm()
61 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()
56 PendingIntent intent = PendingIntent.getBroadcast( in setSnapshotListener_invokesIntentImmediatelyIfPreviouslyNotified()
77 PendingIntent intent = PendingIntent.getBroadcast( in setSnapshotListener_doesNotRepeatedlyInvokeListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMediaController.java196 PendingIntent.getBroadcast(mContext, 0, new Intent(ACTION_PAUSE), in createMediaActions()
202 PendingIntent.getBroadcast(mContext, 0, new Intent(ACTION_PLAY), in createMediaActions()
208 PendingIntent.getBroadcast(mContext, 0, new Intent(ACTION_NEXT), in createMediaActions()
214 PendingIntent.getBroadcast(mContext, 0, new Intent(ACTION_PREV), in createMediaActions()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DRemoteBugreportUtils.java84 PendingIntent pendingIntentAccept = PendingIntent.getBroadcast(context, NOTIFICATION_ID, in buildNotification()
87 PendingIntent pendingIntentDecline = PendingIntent.getBroadcast(context, in buildNotification()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java137 public PendingIntent getBroadcast(Context context, int requestCode, Intent intent, int flags) { in getBroadcast() method in FrameworkFacade
138 return PendingIntent.getBroadcast(context, requestCode, intent, flags); in getBroadcast()
DWakeupNotificationFactory.java84 return mFrameworkFacade.getBroadcast( in getPrivateBroadcast()
DConnectionFailureNotificationBuilder.java82 PendingIntent pendingShowDetailIntent = mFrameworkFacade.getBroadcast( in buildNoMacRandomizationSupportNotification()
DConnectToNetworkNotificationBuilder.java184 return mFrameworkFacade.getBroadcast(mContext, requestCode, intent, in getPrivateBroadcast()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1293 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callGetDownloadableSubscriptionMetadata()
1314 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callGetDefaultDownloadableSubscriptionList()
1321 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callDownloadSubscription()
1348 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callDeleteSubscription()
1367 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callSwitchToSubscription()
1386 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callUpdateSubscriptionNickname()
1406 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callEraseSubscriptions()
1424 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callEraseSubscriptionsWithOptions()
1443 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callRetainSubscriptionsForFactoryReset()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java215 PendingIntent pendingIntent = PendingIntent.getBroadcast(realContext, 0, in testSendTextWithInvalidDestAddr()
280 PendingIntent sentIntent = PendingIntent.getBroadcast(realContext, 0, in testSendMultipartTextWithInvalidText()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DPerfData.java89 mPendingIntent = PendingIntent.getBroadcast(context, 0, intent, 0); in startRecording()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java85 mAlarmIntent = PendingIntent.getBroadcast(this, 0, intent, in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java408 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, in copyWithBinders()
424 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, in copy_keepsPendingIntentWhitelistToken()
455 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, in sharedElement_pendingIntent_notifyParent()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java286 return PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT); in createCancelIntent()
293 return PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT); in createRestartIntent()
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/
DUsbAoapDeviceTestActivity.java101 PendingIntent pendingIntent = PendingIntent.getBroadcast( in onAccessoryAttached()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAdjustmentExtractorTest.java129 PendingIntent.getBroadcast(getContext(), 0, new Intent("Action"), 0)).build(); in createAction()
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
DAccessoryChat.java86 … mPermissionIntent = PendingIntent.getBroadcast(this, 0, new Intent(ACTION_USB_PERMISSION), 0); in onCreate()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallUninstalling.java97 PendingIntent pendingIntent = PendingIntent.getBroadcast(this, mUninstallId, in onCreate()
/frameworks/base/services/core/java/com/android/server/notification/
DCountdownConditionProvider.java120 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, REQUEST_CODE, in onSubscribe()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java101 PendingIntent pi = PendingIntent.getBroadcast(ActivityTestMain.this,
136 … PendingIntent pi = PendingIntent.getBroadcast(ActivityTestMain.this, 1, intent, 0);
494 options.requestUsageTimeReport(PendingIntent.getBroadcast(ActivityTestMain.this, in onCreateOptionsMenu()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipNotification.java229 return PendingIntent.getBroadcast(context, 0, in createPendingIntent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DInflatedSmartRepliesTest.java401 PendingIntent.getBroadcast(mContext, 0, TEST_INTENT, 0); in setupAppGeneratedReplies()
432 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); in createActionBuilder()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppUtils.java123 PendingIntent pendingIntent = PendingIntent.getBroadcast( in showNotificationIfNotInstalledDelayed()

1234