Home
last modified time | relevance | path

Searched defs:intentFilter (Results 1 – 25 of 74) sorted by relevance

123

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPersistentPreferredActivitiesTest.java110 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in addPersistentPreferredActivity_notPermitted_throwsException() local
129 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in clearPackagePersistentPreferredActivities_notPermitted_throwsException() local
161 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in sendIntent_hasPreferredReceiver_launchesPreferredActivity() local
166 intentFilter, in sendIntent_hasPreferredReceiver_launchesPreferredActivity() local
201 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in addPersistentPreferredActivity_metricLogged() local
206 intentFilter, in addPersistentPreferredActivity_metricLogged() local
232 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in sendIntent_clearPreferredActivity_launchesResolverActivity() local
237 intentFilter, in sendIntent_clearPreferredActivity_launchesResolverActivity() local
267 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in getDevicePolicyState_addPersistentPreferredActivity_returnsPolicy() local
272 intentFilter, in getDevicePolicyState_addPersistentPreferredActivity_returnsPolicy() local
[all …]
DPersistentIntentResolvingTest.java98 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in sendIntent_hasPreferredReceiver_launchesPreferredActivity() local
103 intentFilter, in sendIntent_hasPreferredReceiver_launchesPreferredActivity() local
138 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in addPersistentPreferredActivity_metricLogged() local
143 intentFilter, in addPersistentPreferredActivity_metricLogged() local
168 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in sendIntent_clearPreferredActivity_launchesResolverActivity() local
173 intentFilter, in sendIntent_clearPreferredActivity_launchesResolverActivity() local
DDeviceManagementCoexistenceTest.java828 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MAIN); in persistentPreferredActivitySet_serialisation_loadsPolicy() local
831 intentFilter, in persistentPreferredActivitySet_serialisation_loadsPolicy() local
1151 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MAIN); in multiplePoliciesSet_serialisation_loadsPolicies() local
1154 intentFilter, in multiplePoliciesSet_serialisation_loadsPolicies() local
1324 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MAIN); in multiplePoliciesSet_dpcRemoved_removesPolicies() local
1327 intentFilter, in multiplePoliciesSet_dpcRemoved_removesPolicies() local
1424 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MAIN); in multiplePoliciesSet_roleRemoved_removesPolicies() local
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DActivityInterceptionTest.java99 IntentFilter intentFilter = new IntentFilter(ACTION_INTERCEPTED_RECEIVER); in interceptorRegistered_intentIsIntercepted() local
116 IntentFilter intentFilter = new IntentFilter("ACTION_OTHER"); in noMatchingInterceptor_activityShouldLaunch() local
128 IntentFilter intentFilter = new IntentFilter(ACTION_INTERCEPTED_RECEIVER); in interceptorRegistered_withExplicitAction_intentWithoutActionShouldLaunch() local
143 IntentFilter intentFilter = new IntentFilter(ACTION_INTERCEPTED_RECEIVER); in differentInterceptorsRegistered_oneIntercepted() local
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java81 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManager() local
110 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerSupportsHttp() local
143 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerSupportsHttpWithExternalWebServer() local
177 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerSupportsHttpsWithExternalWebServer() local
201 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testMinimumDownload() local
253 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerDestination() local
301 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerDestinationExtension() local
336 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testSetDestinationUri_privateAppDir() local
399 IntentFilter intentFilter = new IntentFilter( in testSetDestinationUri() local
437 … IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testSetDestinationInExternalPublicDownloadDir() local
[all …]
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DTestAppController.java41 public void registerReceiver(Context context, long receiverId, IntentFilter intentFilter) { in registerReceiver()
49 public void registerReceiver(Context context, long receiverId, IntentFilter intentFilter, in registerReceiver()
/cts/tests/tests/nfc/src/android/nfc/cts/
DNfcUtils.java59 IntentFilter intentFilter = new IntentFilter(); in enableNfc() local
102 IntentFilter intentFilter = new IntentFilter(); in disableNfc() local
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppInstance.java186 public void registerReceiver(IntentFilter intentFilter) { in registerReceiver()
193 public void registerReceiver(IntentFilter intentFilter, int flags) { in registerReceiver()
203 private void registerReceiver(IntentFilter intentFilter, long receiverId) { in registerReceiver()
207 private void registerReceiver(IntentFilter intentFilter, long receiverId, int flags) { in registerReceiver()
219 public TestAppInstance unregisterReceiver(IntentFilter intentFilter) { in unregisterReceiver()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DIntentFilterQuery.java31 static IntentFilterQueryHelper.IntentFilterQueryBase intentFilter() { in intentFilter() method
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/
DDownloadManagerApi28Test.java59 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testSetDestinationUri_publicDir() local
85 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testSetDestinationUri_sdcardPath() local
113 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testSetDestinationUri_privateAppDir() local
135 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDestinationInExternalPublicDir() local
/cts/tests/tests/sharesheet/src/android/sharesheet/cts/
DCtsSharesheetChooserTargetService.java32 IntentFilter intentFilter) { in onGetChooserTargets()
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0327/workprofilesetup/
DProvisionedActivity.java29 …IntentFilter intentFilter = new IntentFilter("android.security.cts.CVE_2021_0327.OTHER_USER_ACTIVI… in onCreate() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBlockingBroadcastReceiver.java78 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter) { in create()
87 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter, in create()
113 public BlockingBroadcastReceiver(Context context, IntentFilter intentFilter) { in BlockingBroadcastReceiver()
117 public BlockingBroadcastReceiver(Context context, IntentFilter intentFilter, in BlockingBroadcastReceiver()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DBlockingBroadcastReceiver.java83 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter) { in create()
92 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter, in create()
118 public BlockingBroadcastReceiver(Context context, IntentFilter intentFilter) { in BlockingBroadcastReceiver()
122 public BlockingBroadcastReceiver(Context context, IntentFilter intentFilter, in BlockingBroadcastReceiver()
/cts/hostsidetests/packagemanager/domainverification/device/multiuser/src/com/android/cts/packagemanager/verify/domain/device/multiuser/
DDomainVerificationWorkProfileCrossProfileIntentTests.kt50 val intentFilter = IntentFilter().apply { in saveAndSetPolicy() constant
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20115/src/android/security/cts/CVE_2022_20115/
DPocActivity.java94 IntentFilter intentFilter = new IntentFilter(); in onCreate() local
/cts/hostsidetests/packagemanager/preferredactivity/apps/testapp/src/com/android/cts/packagemanager/preferredactivity/app/
DPreferredActivityDeviceTests.java50 final IntentFilter intentFilter = new IntentFilter(ACTIVITY_ACTION_NAME); in testAddOnePreferredActivity() local
/cts/tests/app/DownloadManagerInstallerTest/src/android/app/cts/
DDownloadManagerInstallerTest.java58 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testSetDestinationUri_otherAppObbDir() local
/cts/tests/tests/media/common/src/android/media/cts/
DDeviceUtils.java48 IntentFilter intentFilter = new IntentFilter(); in isHDMIConnected() local
/cts/hostsidetests/devicepolicy/app/Assistant/src/com/android/cts/devicepolicy/assistapp/
DMyInteractionService.java41 IntentFilter intentFilter = new IntentFilter(); in onCreate() local
/cts/tests/tests/gamemanager/src/android/gamemanager/cts/
DGameManagerCtsActivity.java69 IntentFilter intentFilter = new IntentFilter("android.gamemanager.cts.GAME_MODE"); in onCreate() local
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DAlarmOperation.java81 IntentFilter intentFilter = new IntentFilter(ACTION); in execute() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DLockTaskHostDrivenTest.java167 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MAIN); in setDefaultHomeIntentReceiver() local
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandMultiUserTest.kt388 val intentFilter = IntentFilter() in testPackageRemovedBroadcastsMultiUser() constant
1056 val intentFilter = IntentFilter() in testUpdateMimeGroup_changed_onlyInstalledUserReceivedBroadcast() constant
1156 val intentFilter = IntentFilter() in testUpdateMimeGroup_changed() constant
1268 val intentFilter = IntentFilter() in testUpdateMimeGroup_noChanged_noBroadcastReceived() constant
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java195 IntentFilter intentFilter = new IntentFilter(); in setUp() local
283 IntentFilter intentFilter = new IntentFilter(); in scanAps() local

123