Home
last modified time | relevance | path

Searched refs:registerReceiver (Results 1 – 25 of 201) sorted by relevance

123456789

/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java65 mContext.registerReceiver(receiver, intentFilter); in testDownloadManager()
94 mContext.registerReceiver(receiver, intentFilter); in testDownloadManagerSupportsHttp()
127 mContext.registerReceiver(receiver, intentFilter); in testDownloadManagerSupportsHttpWithExternalWebServer()
161 mContext.registerReceiver(receiver, intentFilter); in testDownloadManagerSupportsHttpsWithExternalWebServer()
185 mContext.registerReceiver(receiver, intentFilter); in testMinimumDownload()
237 mContext.registerReceiver(receiver, intentFilter); in testDownloadManagerDestination()
285 mContext.registerReceiver(receiver, intentFilter); in testDownloadManagerDestinationExtension()
362 mContext.registerReceiver(receiver, intentFilter); in testSetDestinationUri()
399 mContext.registerReceiver(receiver, intentFilter); in testSetDestinationInExternalPublicDownloadDir()
479 mContext.registerReceiver(receiver, intentFilter); in testDownloadNotVisibleInUi()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DEuiccManagerTest.java116 .registerReceiver( in testDownloadSubscription()
162 .registerReceiver(mCallbackReceiver, new IntentFilter(ACTION_DELETE_SUBSCRIPTION)); in testDeleteSubscription()
191 .registerReceiver( in testSwitchToSubscription()
221 .registerReceiver( in testEraseSubscriptions()
247 .registerReceiver( in testStartResolutionActivity()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java162 localBroadcastManager.registerReceiver(broadcastReceiver, in testCreateAndManageUser_SwitchUser()
187 localBroadcastManager.registerReceiver(broadcastReceiver, in testCreateAndManageUser_CannotStopCurrentUser()
214 localBroadcastManager.registerReceiver(broadcastReceiver, in testCreateAndManageUser_StartInBackground()
260 localBroadcastManager.registerReceiver(broadcastReceiver, in testCreateAndManageUser_StopUser()
292 localBroadcastManager.registerReceiver(broadcastReceiver, in testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser()
318 localBroadcastManager.registerReceiver(broadcastReceiver, in testCreateAndManageUser_LogoutUser()
430 localBroadcastManager.registerReceiver(receiver, in testUserAddedOrRemovedBroadcasts()
441 localBroadcastManager.registerReceiver(receiver, in testUserAddedOrRemovedBroadcasts()
DSetTimeTest.java66 mContext.registerReceiver(receiver, new IntentFilter(Intent.ACTION_TIME_CHANGED)); in testSetTimeWithValue()
100 mContext.registerReceiver(receiver, new IntentFilter(Intent.ACTION_TIMEZONE_CHANGED)); in testSetTimeZoneWithValue()
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/
DDownloadManagerApi28Test.java55 mContext.registerReceiver(receiver, intentFilter); in testSetDestinationUri_publicDir()
81 mContext.registerReceiver(receiver, intentFilter); in testSetDestinationUri_sdcardPath()
109 mContext.registerReceiver(receiver, intentFilter); in testDestinationInExternalPublicDir()
163 mContext.registerReceiver(receiver, in testDownloadManager_mediaStoreEntry()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerNotificationTest.java44 mContext.registerReceiver(startedReceiver, startedIntentFilter); in testMediaScannerNotification()
45 mContext.registerReceiver(finishedReceiver, finshedIntentFilter); in testMediaScannerNotification()
DDeviceUtils.java54 Intent intent = context.registerReceiver(null, intentFilter); in isHDMIConnected()
/cts/tests/tests/content/src/android/content/cts/
DBroadcastReceiverTest.java176 activity.registerReceiver(internalReceiver, filter); in testOnReceive()
363 activity.registerReceiver(internalReceiver, filter); in testPeekService()
390 activity.registerReceiver(internalReceiver, filter); in testNewPhotoBroadcast_notReceived()
399 activity.registerReceiver(internalReceiver, filter); in testNewVideoBroadcast_notReceived()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DSensorTestScreenManipulator.java111 mActivity.registerReceiver(mBroadcastReceiver, intentFilter); in initialize()
140 mActivity.registerReceiver( in turnScreenOff()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoReceiveSmsPermissionTest.java77 getContext().registerReceiver(receiver, filter); in testReceiveTextMessage()
109 getContext().registerReceiver(receiver, filter); in testAppSpecificSmsToken()
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java104 mContext.registerReceiver(receiver, intentFilter); in setUp()
202 mContext.registerReceiver(receiver, intentFilter); in scanAps()
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyService.java65 context.registerReceiver(mReceiver, new IntentFilter(ACTION_RECEIVER_READY));
66 context.registerReceiver(mReceiver,
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsManagerTest.java602 mContext.registerReceiver(mSendReceiver, sendIntentFilter); in setupBroadcastReceivers()
603 mContext.registerReceiver(mDeliveryReceiver, deliveryIntentFilter); in setupBroadcastReceivers()
604 mContext.registerReceiver(mDataSmsReceiver, dataSmsReceivedIntentFilter); in setupBroadcastReceivers()
605 mContext.registerReceiver(mSmsDeliverReceiver, smsDeliverIntentFilter); in setupBroadcastReceivers()
606 mContext.registerReceiver(mSmsReceivedReceiver, smsReceivedIntentFilter); in setupBroadcastReceivers()
607 mContext.registerReceiver(mSmsRetrieverReceiver, smsRetrieverIntentFilter); in setupBroadcastReceivers()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DANRActivity.java37 registerReceiver(new BroadcastReceiver() { in onCreate()
DAtomTests.java378 registerReceiver(context, onReceiveLatch, new IntentFilter(name)); in testWakeupAlarm()
430 BroadcastReceiver receiver = registerReceiver(context, onReceiveLatch, intentFilter); in testWifiScan()
491 private static BroadcastReceiver registerReceiver( in registerReceiver() method in AtomTests
505 ctx.registerReceiver(receiver, intentFilter, null, handler); in registerReceiver()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleConnectionPriorityClientBaseActivity.java82 registerReceiver(mBroadcast, filter); in onResume()
239 registerReceiver(this, filter); in executeSwitching()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackBroadcastReceiver.java48 InstrumentationRegistry.getContext().registerReceiver(this, filter); in RollbackBroadcastReceiver()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DBlockingBroadcastReceiver.java57 InstrumentationRegistry.getTargetContext().registerReceiver( in register()
/cts/tests/JobSchedulerSharedUid/JobSharedUidTestApp/src/android/jobscheduler/cts/jobtestapp/
DTestActivity.java66 registerReceiver(mFinishReceiver, new IntentFilter(ACTION_FINISH_ACTIVITY)); in onCreate()
/cts/hostsidetests/devicepolicy/app/ContentCaptureApp/src/com/android/cts/devicepolicy/contentcaptureapp/
DSimpleActivity.java40 registerReceiver(mReceiver, new IntentFilter(SimpleActivityReceiver.ACTION)); in onCreate()
/cts/tests/JobScheduler/JobTestApp/src/android/jobscheduler/cts/jobtestapp/
DTestActivity.java66 registerReceiver(mFinishReceiver, new IntentFilter(ACTION_FINISH_ACTIVITY)); in onCreate()
/cts/hostsidetests/wifibroadcasts/app/src/android/wifibroadcasts/app/
DWifiBroadcastsDeviceActivity.java55 mContext.registerReceiver(mReceiver, filter); in onCreate()
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DWaitForBroadcast.java56 mContext.registerReceiver(mReceiver, filter); in prepare()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DBatteryConstraintTest.java94 Intent batteryInfo = getContext().registerReceiver( in hasBattery()
146 Intent batteryState = getContext().registerReceiver(null, filter); in verifyBatteryNotLowState()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/forcestop/
DRecentTaskRemovalTestActivity.java205 registerReceiver(this, packageFilter); in register()
210 registerReceiver(this, commsFilter, null, handler); in register()

123456789