Home
last modified time | relevance | path

Searched refs:getBroadcast (Results 1 – 25 of 90) 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/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/services/devicepolicy/java/com/android/server/devicepolicy/
DRemoteBugreportUtils.java83 PendingIntent pendingIntentAccept = PendingIntent.getBroadcast(context, NOTIFICATION_ID, in buildNotification()
86 PendingIntent pendingIntentDecline = PendingIntent.getBroadcast(context, in buildNotification()
/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/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java86 public PendingIntent getBroadcast(Context context, int requestCode, Intent intent, int flags) { in getBroadcast() method in FrameworkFacade
87 return PendingIntent.getBroadcast(context, requestCode, intent, flags); in getBroadcast()
/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.java54 PendingIntent sender = PendingIntent.getBroadcast(SimpleWakefulController.this,
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRemotePlaybackClient.java82 mItemStatusPendingIntent = PendingIntent.getBroadcast( in RemotePlaybackClient()
87 mSessionStatusPendingIntent = PendingIntent.getBroadcast( in RemotePlaybackClient()
92 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/support/media-compat/java/android/support/v4/media/session/
DMediaButtonReceiver.java216 return PendingIntent.getBroadcast(context, keyCode, intent, 0); in buildMediaButtonPendingIntent()
/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/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java322 return PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT); in createCancelIntent()
329 return PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT); in createRestartIntent()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DIdleController.java118 mIdleTriggerIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); in IdlenessTracker()
/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/notification/
DCountdownConditionProvider.java117 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, REQUEST_CODE, in onSubscribe()
/frameworks/support/media-compat/jellybean-mr2/android/support/v4/media/
DTransportMediatorJellybeanMR2.java123 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, mIntent, in windowAttached()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DImsSMSDispatcherTest.java177 PendingIntent pendingIntent = PendingIntent.getBroadcast(realContext, 0, in testInjectNullSmsPdu()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java113 mBurnInProtectionIntent = PendingIntent.getBroadcast(context, 0, in BurnInProtectionHelper()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DLocationStatsAggregator.java101 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); in LocationStatsAggregator()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DSourceActivity.java146 PendingIntent pendingIntent = PendingIntent.getBroadcast( in connect()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java211 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); in setProvNotificationVisible()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java156 … mPermissionIntent = PendingIntent.getBroadcast(mContext, 0, new Intent(ACTION_USB_PERMISSION), 0); in MtpClient()

1234