Home
last modified time | relevance | path

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

123

/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/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/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/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
DAlarmImpl.java53 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, wakupIntent, 0); in setAlarmAndWait()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DTimeController.java72 PendingIntent.getBroadcast(mContext, 0 /* ignored */, in TimeController()
75 PendingIntent.getBroadcast(mContext, 0 /* ignored */, in TimeController()
DIdleController.java119 mIdleTriggerIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); in IdlenessTracker()
DBatteryController.java147 mStableChargingTriggerIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); in ChargingTracker()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java85 mAlarmIntent = PendingIntent.getBroadcast(this, 0, intent, in onCreate()
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/
DTransportMediatorJellybeanMR2.java112 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, mIntent, in windowAttached()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcRetryAlarmController.java149 PendingIntent retryIntent = PendingIntent.getBroadcast (mPhone.getContext(), 0, in startRetryAlarm()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java263 return PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT); in createCancelIntent()
270 return PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT); in createRestartIntent()
/frameworks/base/services/core/java/com/android/server/notification/
DCountdownConditionProvider.java98 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, REQUEST_CODE, in onSubscribe()
DNextAlarmTracker.java211 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, REQUEST_CODE, in rescheduleAlarm()
/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/support/v7/mediarouter/src/android/support/v7/media/
DRemotePlaybackClient.java76 mItemStatusPendingIntent = PendingIntent.getBroadcast( in RemotePlaybackClient()
81 mSessionStatusPendingIntent = PendingIntent.getBroadcast( in RemotePlaybackClient()
/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/
DNetworkTimeUpdateService.java98 mPendingPollIntent = PendingIntent.getBroadcast(mContext, POLL_REQUEST, pollIntent, 0); in NetworkTimeUpdateService()
/frameworks/base/core/java/android/net/
DDhcpStateMachine.java121 mDhcpRenewalIntent = PendingIntent.getBroadcast(mContext, DHCP_RENEW, dhcpRenewalIntent, 0); in DhcpStateMachine()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java156 … mPermissionIntent = PendingIntent.getBroadcast(mContext, 0, new Intent(ACTION_USB_PERMISSION), 0); in MtpClient()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPacManager.java136 mPacRefreshIntent = PendingIntent.getBroadcast( in PacManager()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java218 PendingIntent.getBroadcast(mContext, 0, intent, in scheduleNext()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java419 PendingIntent pendingIntent = PendingIntent.getBroadcast( in updateTwilightState()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java105 mResetIntent = PendingIntent.getBroadcast(mContext, 0, resetIntent, 0); in LockdownVpnTracker()

123