Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/src/android/app/activity/
DIntentSenderTest.java33 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testRegisteredReceivePermissionGranted()
54 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); in testRegisteredReceivePermissionDenied()
62 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testLocalReceivePermissionGranted()
81 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/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/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaNotificationManager.java86 mPauseIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager()
88 mPlayIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager()
90 mPreviousIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager()
92 mNextIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager()
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
DWakeUpCall.java79 PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent, in onReceive()
86 am.cancel(PendingIntent.getBroadcast(context, 0, intent, 0)); in onReceive()
DWakeLoopService.java83 PendingIntent pi = PendingIntent.getBroadcast(this, 0, wakupIntent, in onStartCommand()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DRemoteBugreportUtils.java85 PendingIntent pendingIntentAccept = PendingIntent.getBroadcast(context, NOTIFICATION_ID, in buildNotification()
88 PendingIntent pendingIntentDecline = PendingIntent.getBroadcast(context, in buildNotification()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java833 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callGetDownloadableSubscriptionMetadata()
851 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callGetDefaultDownloadableSubscriptionList()
858 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callDownloadSubscription()
882 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callDeleteSubscription()
900 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callSwitchToSubscription()
918 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callUpdateSubscriptionNickname()
935 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callEraseSubscriptions()
952 PendingIntent resultCallback = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in callRetainSubscriptionsForFactoryReset()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java94 public PendingIntent getBroadcast(Context context, int requestCode, Intent intent, int flags) { in getBroadcast() method in FrameworkFacade
95 return PendingIntent.getBroadcast(context, requestCode, intent, flags); in getBroadcast()
DConnectToNetworkNotificationBuilder.java143 return mFrameworkFacade.getBroadcast( in getPrivateBroadcast()
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
DAlarmImpl.java53 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, wakupIntent, 0); in setAlarmAndWait()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
DSimpleWakefulController.java55 PendingIntent sender = PendingIntent.getBroadcast(SimpleWakefulController.this,
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardEsimArea.java107 PendingIntent callbackIntent = PendingIntent.getBroadcast( in onClick()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRemotePlaybackClient.java81 mItemStatusPendingIntent = PendingIntent.getBroadcast( in RemotePlaybackClient()
86 mSessionStatusPendingIntent = PendingIntent.getBroadcast( in RemotePlaybackClient()
91 mMessagePendingIntent = PendingIntent.getBroadcast( in RemotePlaybackClient()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java85 mAlarmIntent = PendingIntent.getBroadcast(this, 0, intent, in onCreate()
/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/support/recommendation/src/android/support/app/recommendation/
DContentRecommendation.java1112 contentPending = PendingIntent.getBroadcast(context, in getNotificationObject()
1129 dismissPending = PendingIntent.getBroadcast(context, in getNotificationObject()
/frameworks/base/services/core/java/com/android/server/notification/
DCountdownConditionProvider.java120 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, REQUEST_CODE, in onSubscribe()
/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/services/core/java/com/android/server/job/controllers/
DIdleController.java122 mIdleTriggerIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); in IdlenessTracker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipNotification.java231 return PendingIntent.getBroadcast(context, 0, in createPendingIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java180 PendingIntent carrierKeyDownloadIntent = PendingIntent.getBroadcast(mContext, 0, intent, in cleanupRenewalAlarms()
234 PendingIntent carrierKeyDownloadIntent = PendingIntent.getBroadcast(mContext, 0, intent, in resetRenewalAlarm()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DMediaButtonReceiver.java267 return PendingIntent.getBroadcast(context, keyCode, intent, 0); in buildMediaButtonPendingIntent()

1234