Home
last modified time | relevance | path

Searched refs:IntentFilter (Results 1 – 25 of 232) sorted by relevance

12345678910

/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java38 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 …]
DIntentFilter_AuthorityEntryTest.java19 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 …]
DIntentFilter_MalformedMimeTypeExceptionTest.java19 import android.content.IntentFilter;
20 import android.content.IntentFilter.MalformedMimeTypeException;
35 mMalformedMimeTypeException = new IntentFilter.MalformedMimeTypeException(); in testMalformedMimeTypeException()
43 mMalformedMimeTypeException = new IntentFilter.MalformedMimeTypeException( in testMalformedMimeTypeException()
DBroadcastReceiverTest.java25 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/
DManagedProfileTest.java23 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()
DPrimaryUserFilterSetterActivity.java6 import android.content.IntentFilter;
27 IntentFilter testIntentFilter = new IntentFilter(); in onCreate()
32 testIntentFilter = new IntentFilter(); in onCreate()
37 testIntentFilter = new IntentFilter(); in onCreate()
DCrossProfileUtils.java24 import android.content.IntentFilter;
74 public IntentFilter getIntentFilter() { in getIntentFilter()
75 IntentFilter intentFilter = new IntentFilter(); in getIntentFilter()
DDisallowSharingIntoProfileTest.java26 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/
DDownloadManagerTest.java30 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()
398IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testSetDestinationInExternalPublicDownloadDir()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPersistentIntentResolvingTest.java22 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/
DDownloadManagerApi28Test.java25 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/
DMediaScannerNotificationTest.java20 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()
DDeviceUtils.java22 import android.content.IntentFilter;
52 IntentFilter intentFilter = new IntentFilter(); in isHDMIConnected()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DSharedUidTest.java25 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/
DCallbackAsserter.java23 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/
DCallbackAsserter.java23 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/
DCompDeviceAdminTestReceiver.java24 import android.content.IntentFilter;
46 final IntentFilter filter = new IntentFilter(); in onProfileProvisioningComplete()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackBroadcastReceiver.java22 import android.content.IntentFilter;
46 IntentFilter filter = new IntentFilter(); in RollbackBroadcastReceiver()
/cts/tests/tests/permission/src/android/permission/cts/
DPackageManagerRequiringPermissionsTest.java20 import android.content.IntentFilter;
67 IntentFilter filter = new IntentFilter(Intent.ACTION_MAIN); in testAddPreferredActivity()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoReceiveSmsPermissionTest.java24 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/
DTestBase.java22 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/
DWifiBroadcastsDeviceActivity.java23 import android.content.IntentFilter;
52 final IntentFilter filter = new IntentFilter(); in onCreate()
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DWaitForBroadcast.java22 import android.content.IntentFilter;
54 IntentFilter filter = new IntentFilter(); in prepare()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/
DHceFEmulatorActivity.java22 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/
DEmbeddingActivity.java28 import android.content.IntentFilter;
42 IntentFilter broadcastFilter = new IntentFilter(ACTION_EMBEDDING_TEST_ACTIVITY_START); in onCreate()

12345678910