/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CrossProfileUtils.java | 75 IntentFilter intentFilter = new IntentFilter(); in getIntentFilter() local 76 intentFilter.addAction(ACTION_READ_FROM_URI); in getIntentFilter() 77 intentFilter.addAction(ACTION_WRITE_TO_URI); in getIntentFilter() 78 intentFilter.addAction(ACTION_TAKE_PERSISTABLE_URI_PERMISSION); in getIntentFilter() 79 intentFilter.addAction(ACTION_COPY_TO_CLIPBOARD); in getIntentFilter() 80 intentFilter.addAction(ACTION_NOTIFY_URI_CHANGE); in getIntentFilter() 81 intentFilter.addAction(ACTION_OBSERVE_URI_CHANGE); in getIntentFilter() 82 return intentFilter; in getIntentFilter()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTest.java | 61 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManager() local 62 mContext.registerReceiver(receiver, intentFilter); in testDownloadManager() 90 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerSupportsHttp() local 91 mContext.registerReceiver(receiver, intentFilter); in testDownloadManagerSupportsHttp() 123 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerSupportsHttpWithExternalWebServer() local 124 mContext.registerReceiver(receiver, intentFilter); in testDownloadManagerSupportsHttpWithExternalWebServer() 157 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerSupportsHttpsWithExternalWebServer() local 158 mContext.registerReceiver(receiver, intentFilter); in testDownloadManagerSupportsHttpsWithExternalWebServer() 181 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testMinimumDownload() local 182 mContext.registerReceiver(receiver, intentFilter); in testMinimumDownload() [all …]
|
/cts/hostsidetests/devicepolicy/app/Assistant/src/com/android/cts/devicepolicy/assistapp/ |
D | MyInteractionService.java | 41 IntentFilter intentFilter = new IntentFilter(); in onCreate() local 42 intentFilter.addAction(ACTION_CHECK_IS_READY); in onCreate() 43 intentFilter.addAction(ACTION_SHOW_SESSION); in onCreate() 44 registerReceiver(mReceiver, intentFilter); in onCreate()
|
/cts/tests/tests/net/src/android/net/wifi/rtt/cts/ |
D | TestBase.java | 101 IntentFilter intentFilter = new IntentFilter(); in setUp() local 102 intentFilter.addAction(WifiRttManager.ACTION_WIFI_RTT_STATE_CHANGED); in setUp() 104 mContext.registerReceiver(receiver, intentFilter); in setUp() 199 IntentFilter intentFilter = new IntentFilter(); in scanAps() local 200 intentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in scanAps() 202 mContext.registerReceiver(receiver, intentFilter); in scanAps()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DeviceUtils.java | 52 IntentFilter intentFilter = new IntentFilter(); in isHDMIConnected() local 53 intentFilter.addAction(AudioManager.ACTION_HDMI_AUDIO_PLUG); in isHDMIConnected() 54 Intent intent = context.registerReceiver(null, intentFilter); in isHDMIConnected()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TestAppInterface.java | 53 final IntentFilter intentFilter = new IntentFilter(); in TestAppInterface() local 54 intentFilter.addAction(ACTION_JOB_STARTED); in TestAppInterface() 55 intentFilter.addAction(ACTION_JOB_STOPPED); in TestAppInterface() 56 mContext.registerReceiver(mReceiver, intentFilter); in TestAppInterface()
|
D | JobThrottlingTest.java | 123 final IntentFilter intentFilter = new IntentFilter(); in setUp() local 124 intentFilter.addAction(ACTION_DEVICE_IDLE_MODE_CHANGED); in setUp() 125 intentFilter.addAction(ACTION_LIGHT_DEVICE_IDLE_MODE_CHANGED); in setUp() 126 mContext.registerReceiver(mReceiver, intentFilter); in setUp()
|
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/ |
D | DownloadManagerApi28Test.java | 50 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testSetDestinationUri_publicDir() local 51 mContext.registerReceiver(receiver, intentFilter); in testSetDestinationUri_publicDir() 76 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testSetDestinationUri_sdcardPath() local 77 mContext.registerReceiver(receiver, intentFilter); in testSetDestinationUri_sdcardPath() 104 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDestinationInExternalPublicDir() local 105 mContext.registerReceiver(receiver, intentFilter); in testDestinationInExternalPublicDir()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | LockTaskHostDrivenTest.java | 170 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MAIN); in setDefaultHomeIntentReceiver() local 171 intentFilter.addCategory(Intent.CATEGORY_HOME); in setDefaultHomeIntentReceiver() 172 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in setDefaultHomeIntentReceiver() 174 BasicAdminReceiver.getComponentName(mContext), intentFilter, in setDefaultHomeIntentReceiver() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | SensorTestScreenManipulator.java | 109 IntentFilter intentFilter = new IntentFilter(); in initialize() local 110 intentFilter.addAction(Intent.ACTION_POWER_DISCONNECTED); in initialize() 111 mActivity.registerReceiver(mBroadcastReceiver, intentFilter); in initialize()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | AlarmOperation.java | 81 IntentFilter intentFilter = new IntentFilter(ACTION); in execute() local 88 mContext.registerReceiver(receiver, intentFilter); in execute()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | BasePackageInstallTest.java | 147 IntentFilter intentFilter = new IntentFilter(); in getCommitCallback() local 148 intentFilter.addAction(action); in getCommitCallback() 149 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in getCommitCallback()
|
/cts/tests/tests/net/src/android/net/wifi/aware/cts/ |
D | SingleDeviceTest.java | 378 IntentFilter intentFilter = new IntentFilter(); in setUp() local 379 intentFilter.addAction(WifiAwareManager.ACTION_WIFI_AWARE_STATE_CHANGED); in setUp() 381 mContext.registerReceiver(receiver, intentFilter); in setUp() 435 IntentFilter intentFilter = new IntentFilter(); in testAvailabilityStatusChange() local 436 intentFilter.addAction(WifiAwareManager.ACTION_WIFI_AWARE_STATE_CHANGED); in testAvailabilityStatusChange() 440 mContext.registerReceiver(receiver1, intentFilter); in testAvailabilityStatusChange() 449 mContext.registerReceiver(receiver2, intentFilter); in testAvailabilityStatusChange()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | BackgroundRestrictedAlarmsTest.java | 90 final IntentFilter intentFilter = new IntentFilter(); in setUp() local 91 intentFilter.addAction(TestAlarmReceiver.ACTION_REPORT_ALARM_EXPIRED); in setUp() 92 mContext.registerReceiver(mAlarmStateReceiver, intentFilter); in setUp()
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
D | BasePackageInstallTest.java | 189 IntentFilter intentFilter = new IntentFilter(); in getCommitCallback() local 190 intentFilter.addAction(action); in getCommitCallback() 191 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in getCommitCallback()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/ |
D | TestUtils.java | 57 IntentFilter intentFilter = new IntentFilter(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in startScanAndWaitForResults() local 71 mContext.registerReceiver(broadcastReceiver, intentFilter); in startScanAndWaitForResults()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | ConnectionAccessServerActivity.java | 79 IntentFilter intentFilter = new IntentFilter(ACTION_CONNECTION_ACCESS_REQUEST); in onCreate() local 80 registerReceiver(mConnectionAccessRequestReceiver, intentFilter); in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | ExternalStorageTest.java | 122 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerPackage() local 123 mContext.registerReceiver(receiver, intentFilter); in testDownloadManagerPackage()
|
/cts/tests/DropBoxManager/src/android/dropboxmanager/cts/ |
D | DropBoxTests.java | 118 final IntentFilter intentFilter = new IntentFilter(); in setUp() local 119 intentFilter.addAction(DropBoxManager.ACTION_DROPBOX_ENTRY_ADDED); in setUp() 120 mContext.registerReceiver(mDropBoxEntryAddedReceiver, intentFilter); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | MockTvInputService.java | 224 IntentFilter intentFilter = new IntentFilter(); in onCreate() local 225 intentFilter.addAction(TvInputManager.ACTION_BLOCKED_RATINGS_CHANGED); in onCreate() 226 intentFilter.addAction(TvInputManager.ACTION_PARENTAL_CONTROLS_ENABLED_CHANGED); in onCreate() 227 registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/ |
D | NetworkSuggestionTestCase.java | 112 IntentFilter intentFilter = in executeTest() local 128 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in executeTest()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 423 IntentFilter intentFilter = new IntentFilter(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in testWifiScan() local 430 BroadcastReceiver receiver = registerReceiver(context, onReceiveLatch, intentFilter); in testWifiScan() 492 Context ctx, CountDownLatch onReceiveLatch, IntentFilter intentFilter) { in registerReceiver() argument 505 ctx.registerReceiver(receiver, intentFilter, null, handler); in registerReceiver()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | RestrictedPermissionsTest.java | 127 final IntentFilter intentFilter = new IntentFilter(); in setUpOnce() local 128 intentFilter.addAction("installRestrictedPermissionUserApp"); in setUpOnce() 129 intentFilter.addAction("uninstallApp"); in setUpOnce() 130 getContext().registerReceiver(sCommandReceiver, intentFilter); in setUpOnce() 727 final IntentFilter intentFilter = new IntentFilter(action); in installRestrictedPermissionUserApp() local 728 getContext().registerReceiver(installReceiver, intentFilter); in installRestrictedPermissionUserApp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | MultiNetworkConnectivityTestActivity.java | 302 IntentFilter intentFilter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION); in setupBroadcastReceivers() local 303 intentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in setupBroadcastReceivers() 304 intentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION); in setupBroadcastReceivers() 305 intentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in setupBroadcastReceivers() 306 registerReceiver(mMultiNetConnectivityReceiver, intentFilter); in setupBroadcastReceivers()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/ |
D | VpnTestHelper.java | 116 final IntentFilter intentFilter = new IntentFilter(ACTION_VPN_IS_UP); in waitForVpn() local 129 context.registerReceiver(receiver, intentFilter); in waitForVpn()
|