/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTest.java | 65 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/ |
D | EuiccManagerTest.java | 116 .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/ |
D | CreateAndManageUserTest.java | 162 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()
|
D | SetTimeTest.java | 66 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/ |
D | DownloadManagerApi28Test.java | 55 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/ |
D | MediaScannerNotificationTest.java | 44 mContext.registerReceiver(startedReceiver, startedIntentFilter); in testMediaScannerNotification() 45 mContext.registerReceiver(finishedReceiver, finshedIntentFilter); in testMediaScannerNotification()
|
D | DeviceUtils.java | 54 Intent intent = context.registerReceiver(null, intentFilter); in isHDMIConnected()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | BroadcastReceiverTest.java | 176 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/ |
D | SensorTestScreenManipulator.java | 111 mActivity.registerReceiver(mBroadcastReceiver, intentFilter); in initialize() 140 mActivity.registerReceiver( in turnScreenOff()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | NoReceiveSmsPermissionTest.java | 77 getContext().registerReceiver(receiver, filter); in testReceiveTextMessage() 109 getContext().registerReceiver(receiver, filter); in testAppSpecificSmsToken()
|
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/ |
D | TestBase.java | 104 mContext.registerReceiver(receiver, intentFilter); in setUp() 202 mContext.registerReceiver(receiver, intentFilter); in scanAps()
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
D | MyService.java | 65 context.registerReceiver(mReceiver, new IntentFilter(ACTION_RECEIVER_READY)); 66 context.registerReceiver(mReceiver,
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsManagerTest.java | 602 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/ |
D | ANRActivity.java | 37 registerReceiver(new BroadcastReceiver() { in onCreate()
|
D | AtomTests.java | 378 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/ |
D | BleConnectionPriorityClientBaseActivity.java | 82 registerReceiver(mBroadcast, filter); in onResume() 239 registerReceiver(this, filter); in executeSwitching()
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | RollbackBroadcastReceiver.java | 48 InstrumentationRegistry.getContext().registerReceiver(this, filter); in RollbackBroadcastReceiver()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | BlockingBroadcastReceiver.java | 57 InstrumentationRegistry.getTargetContext().registerReceiver( in register()
|
/cts/tests/JobSchedulerSharedUid/JobSharedUidTestApp/src/android/jobscheduler/cts/jobtestapp/ |
D | TestActivity.java | 66 registerReceiver(mFinishReceiver, new IntentFilter(ACTION_FINISH_ACTIVITY)); in onCreate()
|
/cts/hostsidetests/devicepolicy/app/ContentCaptureApp/src/com/android/cts/devicepolicy/contentcaptureapp/ |
D | SimpleActivity.java | 40 registerReceiver(mReceiver, new IntentFilter(SimpleActivityReceiver.ACTION)); in onCreate()
|
/cts/tests/JobScheduler/JobTestApp/src/android/jobscheduler/cts/jobtestapp/ |
D | TestActivity.java | 66 registerReceiver(mFinishReceiver, new IntentFilter(ACTION_FINISH_ACTIVITY)); in onCreate()
|
/cts/hostsidetests/wifibroadcasts/app/src/android/wifibroadcasts/app/ |
D | WifiBroadcastsDeviceActivity.java | 55 mContext.registerReceiver(mReceiver, filter); in onCreate()
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | WaitForBroadcast.java | 56 mContext.registerReceiver(mReceiver, filter); in prepare()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | BatteryConstraintTest.java | 94 Intent batteryInfo = getContext().registerReceiver( in hasBattery() 146 Intent batteryState = getContext().registerReceiver(null, filter); in verifyBatteryNotLowState()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/forcestop/ |
D | RecentTaskRemovalTestActivity.java | 205 registerReceiver(this, packageFilter); in register() 210 registerReceiver(this, commsFilter, null, handler); in register()
|