/cts/tests/tests/content/src/android/content/cts/ |
D | IntentFilterTest.java | 38 import android.content.IntentFilter; 39 import android.content.IntentFilter.AuthorityEntry; 40 import android.content.IntentFilter.MalformedMimeTypeException; 58 private IntentFilter mIntentFilter; 72 mIntentFilter = new IntentFilter(); in setUp() 77 IntentFilter filter = new IntentFilter(); in testConstructor() 80 filter = new IntentFilter(ACTION); in testConstructor() 83 final IntentFilter actionTypeFilter = new IntentFilter(ACTION, DATA_TYPE); in testConstructor() 86 filter = new IntentFilter(actionTypeFilter); in testConstructor() 91 new IntentFilter(ACTION, dataType); in testConstructor() [all …]
|
D | IntentFilter_AuthorityEntryTest.java | 19 import android.content.IntentFilter; 20 import android.content.IntentFilter.AuthorityEntry; 56 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri)); in testMatch() 58 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri)); in testMatch() 60 mAuthorityEntry = new IntentFilter.AuthorityEntry(mWildHost, String.valueOf(-1)); in testMatch() 61 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri)); in testMatch() 63 mAuthorityEntry = new IntentFilter.AuthorityEntry(mHost, String.valueOf(-1)); in testMatch() 64 assertEquals(IntentFilter.MATCH_CATEGORY_HOST, mAuthorityEntry.match(uri)); in testMatch() 68 assertEquals(IntentFilter.MATCH_CATEGORY_HOST, mAuthorityEntry.match(uri)); in testMatch() 72 assertEquals(IntentFilter.MATCH_CATEGORY_PORT, mAuthorityEntry.match(uri)); in testMatch() [all …]
|
D | IntentFilter_MalformedMimeTypeExceptionTest.java | 19 import android.content.IntentFilter; 20 import android.content.IntentFilter.MalformedMimeTypeException; 35 mMalformedMimeTypeException = new IntentFilter.MalformedMimeTypeException(); in testMalformedMimeTypeException() 43 mMalformedMimeTypeException = new IntentFilter.MalformedMimeTypeException( in testMalformedMimeTypeException()
|
D | BroadcastReceiverTest.java | 25 import android.content.IntentFilter; 174 IntentFilter filter = new IntentFilter(); in testOnReceive() 361 IntentFilter filter = new IntentFilter(); in testPeekService() 388 IntentFilter filter = new IntentFilter(); in testNewPhotoBroadcast_notReceived() 397 IntentFilter filter = new IntentFilter(); in testNewVideoBroadcast_notReceived()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ManagedProfileTest.java | 23 import android.content.IntentFilter; 64 IntentFilter testIntentFilter = new IntentFilter(); in testClearCrossProfileIntentFilters() 83 IntentFilter testIntentFilter = new IntentFilter(); in testAddCrossProfileIntentFilter_primary() 98 IntentFilter testIntentFilter = new IntentFilter(); in testAddCrossProfileIntentFilter_all() 113 IntentFilter testIntentFilter = new IntentFilter(); in testAddCrossProfileIntentFilter_managed()
|
D | PrimaryUserFilterSetterActivity.java | 6 import android.content.IntentFilter; 27 IntentFilter testIntentFilter = new IntentFilter(); in onCreate() 32 testIntentFilter = new IntentFilter(); in onCreate() 37 testIntentFilter = new IntentFilter(); in onCreate()
|
D | CrossProfileUtils.java | 24 import android.content.IntentFilter; 74 public IntentFilter getIntentFilter() { in getIntentFilter() 75 IntentFilter intentFilter = new IntentFilter(); in getIntentFilter()
|
D | DisallowSharingIntoProfileTest.java | 26 import android.content.IntentFilter; 107 new IntentFilter(KNOWN_ACTION_TO_PERSONAL), in testSetUp() 110 new IntentFilter(KNOWN_ACTION_TO_PROFILE), in testSetUp() 167 IntentFilter filter = new IntentFilter(); in setSharingEnabled()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTest.java | 30 import android.content.IntentFilter; 64 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManager() 93 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerSupportsHttp() 126 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerSupportsHttpWithExternalWebServer() 160 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerSupportsHttpsWithExternalWebServer() 184 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testMinimumDownload() 236 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerDestination() 284 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadManagerDestinationExtension() 360 IntentFilter intentFilter = new IntentFilter( in testSetDestinationUri() 398 … IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testSetDestinationInExternalPublicDownloadDir() [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PersistentIntentResolvingTest.java | 22 import android.content.IntentFilter; 36 IntentFilter filter = new IntentFilter(); in setUp() 121 IntentFilter filter = new IntentFilter(); in addPersistentPreferredActivity()
|
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/ |
D | DownloadManagerApi28Test.java | 25 import android.content.IntentFilter; 54 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testSetDestinationUri_publicDir() 80 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testSetDestinationUri_sdcardPath() 108 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDestinationInExternalPublicDir() 164 new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE)); in testDownloadManager_mediaStoreEntry()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaScannerNotificationTest.java | 20 import android.content.IntentFilter; 39 IntentFilter startedIntentFilter = new IntentFilter(Intent.ACTION_MEDIA_SCANNER_STARTED); in testMediaScannerNotification() 41 IntentFilter finshedIntentFilter = new IntentFilter(Intent.ACTION_MEDIA_SCANNER_FINISHED); in testMediaScannerNotification()
|
D | DeviceUtils.java | 22 import android.content.IntentFilter; 52 IntentFilter intentFilter = new IntentFilter(); in isHDMIConnected()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/ |
D | SharedUidTest.java | 25 import android.content.IntentFilter; 66 final IntentFilter filter = new IntentFilter(); in testCancelDisabledPackageJob() 69 filter.setPriority(IntentFilter.SYSTEM_LOW_PRIORITY); in testCancelDisabledPackageJob()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CallbackAsserter.java | 23 import android.content.IntentFilter; 65 public static CallbackAsserter forBroadcast(IntentFilter filter) { in forBroadcast() 72 public static CallbackAsserter forBroadcast(IntentFilter filter, Predicate<Intent> checker) { in forBroadcast() 93 BroadcastAsserter(IntentFilter filter, Predicate<Intent> checker) { in BroadcastAsserter()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CallbackAsserter.java | 23 import android.content.IntentFilter; 64 public static CallbackAsserter forBroadcast(IntentFilter filter) { in forBroadcast() 71 public static CallbackAsserter forBroadcast(IntentFilter filter, Predicate<Intent> checker) { in forBroadcast() 92 BroadcastAsserter(IntentFilter filter, Predicate<Intent> checker) { in BroadcastAsserter()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | CompDeviceAdminTestReceiver.java | 24 import android.content.IntentFilter; 46 final IntentFilter filter = new IntentFilter(); in onProfileProvisioningComplete()
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | RollbackBroadcastReceiver.java | 22 import android.content.IntentFilter; 46 IntentFilter filter = new IntentFilter(); in RollbackBroadcastReceiver()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | PackageManagerRequiringPermissionsTest.java | 20 import android.content.IntentFilter; 67 IntentFilter filter = new IntentFilter(Intent.ACTION_MAIN); in testAddPreferredActivity()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | NoReceiveSmsPermissionTest.java | 24 import android.content.IntentFilter; 72 IntentFilter filter = new IntentFilter(); in testReceiveTextMessage() 104 IntentFilter filter = new IntentFilter(); in testAppSpecificSmsToken()
|
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/ |
D | TestBase.java | 22 import android.content.IntentFilter; 101 IntentFilter intentFilter = new IntentFilter(); in setUp() 199 IntentFilter intentFilter = new IntentFilter(); in scanAps()
|
/cts/hostsidetests/wifibroadcasts/app/src/android/wifibroadcasts/app/ |
D | WifiBroadcastsDeviceActivity.java | 23 import android.content.IntentFilter; 52 final IntentFilter filter = new IntentFilter(); in onCreate()
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | WaitForBroadcast.java | 22 import android.content.IntentFilter; 54 IntentFilter filter = new IntentFilter(); in prepare()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/ |
D | HceFEmulatorActivity.java | 22 import android.content.IntentFilter; 60 IntentFilter filter = new IntentFilter(ACTION_TEST_SUCCESS); in onResume()
|
/cts/tests/framework/base/windowmanager/appSecondUid/src/android/server/wm/second/ |
D | EmbeddingActivity.java | 28 import android.content.IntentFilter; 42 IntentFilter broadcastFilter = new IntentFilter(ACTION_EMBEDDING_TEST_ACTIVITY_START); in onCreate()
|