Home
last modified time | relevance | path

Searched refs:categories (Results 1 – 22 of 22) sorted by relevance

/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/
DIntentFilterQueryHelperTest.java54 private static IntentFilter createIntentFilter(Set<String> actions, Set<String> categories) { in createIntentFilter() argument
60 for (String category : categories) { in createIntentFilter()
100 intentFilterQueryHelper.categories().contains("category1"); in matches_categoriesRestriction_meetsRestriction_returnsTrue()
121 intentFilterQueryHelper.categories().contains(string().where().isEqualTo("")); in parcel_parcelsCorrectly()
128 assertThat(intentFilter().where().categories().contains("category1") in intentFilterQueryBase_queries()
155 intentFilterQueryHelper.categories().isEmpty(); in isEmptyQuery_hasCategoriesQuery_returnsFalse()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DUtils.java148 Set<String> categories = intent.getCategories(); in toString() local
149 if (categories == null || categories.isEmpty()) { in toString()
152 builder.append(", ").append(categories.size()).append(" categories: ") in toString()
153 .append(categories); in toString()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DIntentFilterQueryHelper.java83 public SetQuery<E, String> categories() { in categories() method in IntentFilterQueryHelper
96 Set<String> categories = new HashSet<>(); in matches() local
109 categories.add(categoriesIterator.next()); in matches()
115 && mCategoriesQueryHelper.matches(categories); in matches()
DIntentFilterQuery.java39 SetQuery<E, String> categories(); in categories() method
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/collections/
DQueryableIntentFilterHashSetTest.java80 .where().categories().contains(CATEGORY_1) in get_containsMultipleMatches_returnsOneMatch()
92 .where().categories().contains(CATEGORY_2) in get_containsNoMatches_returnsNull()
105 .where().categories().contains(CATEGORY_1) in filter_filters()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTestBase.java234 String... categories) { in traceSingleTest() argument
236 shell(withAppTracing ? START_TRACE_CMD : START_TRACE_NO_APP_CMD, categories); in traceSingleTest()
238 String traceOutput = shell("atrace --async_stop", categories); in traceSingleTest()
243 protected final TraceResult traceSingleTest(AtraceDeviceTestList test, String... categories) { in traceSingleTest() argument
244 return traceSingleTest(test, true, categories); in traceSingleTest()
DAtraceHostTest.java115 String[] categories = output.split("\\r?\\n"); in testCategories() local
120 for (String category : categories) { in testCategories()
/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java1684 Match(String[] actions, String[] categories, String[] mimeTypes, String[] schemes, in Match() argument
1689 if (categories != null) { in Match()
1690 for (int i = 0; i < categories.length; i++) { in Match()
1691 addCategory(categories[i]); in Match()
1715 Match(String[] actions, String[] categories, String[] mimeTypes, String[] schemes, in Match() argument
1717 this(actions, categories, mimeTypes, schemes, authorities, ports); in Match()
1725 Match(String[] actions, String[] categories, String[] mimeTypes, String[] schemes, in Match() argument
1728 this(actions, categories, mimeTypes, schemes, authorities, ports, paths, pathTypes); in Match()
1778 public final String[] categories; field in IntentFilterTest.MatchCondition
1793 MatchCondition(int result, String action, String[] categories, String mimeType, in MatchCondition() argument
[all …]
/cts/common/device-side/bedstead/testapp/src/library/main/proto/
Dtestapp_protos.proto51 repeated string categories = 2; field
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockModemConfigInterface.java220 int categories, String[] urns, int routing, String client); in dialEccVoiceCall() argument
235 int categories, String[] urns, int routing, in dialEccVoiceCall() argument
DMockVoiceService.java186 int categories, in MockCallInfo() argument
198 mCategories = categories; in MockCallInfo()
1075 int categories, in dialEccVoiceCall() argument
1083 categories, urns, routing, callType, callControlInfo); in dialEccVoiceCall()
DMockModemConfigBase.java1060 int categories, in dialEccVoiceCall() argument
1065 logicalSlotId, address, categories, urns, routing, mCallControlInfo, client); in dialEccVoiceCall()
1072 int categories, in dialEccVoiceCall() argument
1084 + categories in dialEccVoiceCall()
1089 address, categories, urns, routing, CALL_TYPE_EMERGENCY, callControlInfo); in dialEccVoiceCall()
DIRadioVoiceImpl.java361 int categories, in emergencyDial() argument
372 mSubId, dialInfo.address, categories, urns, routing, mTag); in emergencyDial()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DLauncherAppsTest.java76 .where().categories().contains(Intent.CATEGORY_LAUNCHER)
211 .where().categories().contains(Intent.CATEGORY_LAUNCHER) in disableMainActivity()
DQuietModeTest.java94 .where().categories().contains(Intent.CATEGORY_HOME));
298 .where().categories().contains(Intent.CATEGORY_HOME)).get(); in runTestAppInForeground()
DPersistentIntentResolvingTest.java59 .where().categories().contains(
DPersistentPreferredActivitiesTest.java87 .where().categories().contains(
/cts/tests/inputmethod/mockimewithsubtypes/
DAndroid.bp24 // TODO: ideally we should split MockIme source files into three categories
/cts/tests/inputmethod/mockime/
DAndroid.bp47 // TODO: ideally we should split MockIme source files into three categories
/cts/common/device-side/bedstead/testapp/tools/index/
Dindex_testapps.py223 intent_filter.categories.append(category)
/cts/tests/tests/sharesheet/src/android/sharesheet/cts/
DCtsSharesheetDeviceTest.java1137 HashSet<String> categories = new HashSet<>(); in createShortcut() local
1138 categories.add(CATEGORY_CTS_TEST); in createShortcut()
1143 .setCategories(categories) in createShortcut()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java5593 private static boolean validateEmergencyServiceCategoryList(List<Integer> categories) { in validateEmergencyServiceCategoryList() argument
5594 if (categories == null) { in validateEmergencyServiceCategoryList()
5597 if (categories.contains(EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED)) { in validateEmergencyServiceCategoryList()
5598 return categories.size() == 1; in validateEmergencyServiceCategoryList()
5600 for (int category : categories) { in validateEmergencyServiceCategoryList()