Home
last modified time | relevance | path

Searched refs:intentFilters (Results 1 – 25 of 29) sorted by relevance

12

/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/info/
DServiceInfo.java46 private ServiceInfo(String serviceClass, Set<IntentFilter> intentFilters) { in ServiceInfo() argument
48 if (intentFilters == null) { in ServiceInfo()
51 mIntentFilters = intentFilters; in ServiceInfo()
56 public Set<IntentFilter> intentFilters() { in intentFilters() method in ServiceInfo
90 public ServiceInfo.Builder intentFilters(Set<IntentFilter> intentFilters) { in intentFilters() argument
91 mIntentFilters = intentFilters; in intentFilters()
DActivityInfo.java59 Set<IntentFilter> intentFilters, String permission) { in ActivityInfo() argument
62 if (intentFilters == null) { in ActivityInfo()
65 mIntentFilters = intentFilters; in ActivityInfo()
89 public QueryableIntentFilterHashSet intentFilters() { in intentFilters() method in ActivityInfo
128 public Builder intentFilters(Set<IntentFilter> intentFilters) { in intentFilters() argument
129 mIntentFilters = intentFilters; in intentFilters()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBlockingBroadcastReceiver.java93 Set<IntentFilter> intentFilters) { in create() argument
94 return create(context, intentFilters, /* checker= */ null); in create()
97 public static BlockingBroadcastReceiver create(Context context, Set<IntentFilter> intentFilters, in create() argument
100 new BlockingBroadcastReceiver(context, intentFilters, checker); in create()
127 public BlockingBroadcastReceiver(Context context, Set<IntentFilter> intentFilters) { in BlockingBroadcastReceiver() argument
128 this(context, intentFilters, /* checker= */ null); in BlockingBroadcastReceiver()
132 Context context, Set<IntentFilter> intentFilters, Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver() argument
134 mIntentFilters = intentFilters; in BlockingBroadcastReceiver()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DBlockingBroadcastReceiver.java98 Set<IntentFilter> intentFilters) { in create() argument
99 return create(context, intentFilters, /* checker= */ null); in create()
102 public static BlockingBroadcastReceiver create(Context context, Set<IntentFilter> intentFilters, in create() argument
105 new BlockingBroadcastReceiver(context, intentFilters, checker); in create()
132 public BlockingBroadcastReceiver(Context context, Set<IntentFilter> intentFilters) { in BlockingBroadcastReceiver() argument
133 this(context, intentFilters, /* checker= */ null); in BlockingBroadcastReceiver()
137 Context context, Set<IntentFilter> intentFilters, Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver() argument
139 mIntentFilters = intentFilters; in BlockingBroadcastReceiver()
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/info/
DActivityInfoTest.java95 .intentFilters(Set.of(INTENT_FILTER)).build(); in intentFilters_returnsIntentFilters()
97 assertThat(activityInfo.intentFilters()).containsExactly(INTENT_FILTER); in intentFilters_returnsIntentFilters()
105 .intentFilters(Set.of(INTENT_FILTER)).build(); in parcel_parcelsCorrectly()
111 assertThat(unparceledActivityInfo.intentFilters()).hasSize(1); in parcel_parcelsCorrectly()
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/
DServiceQueryHelperTest.java73 .intentFilters(Set.of(INTENT_FILTER_WITH_ACTION))
106 serviceQueryHelper.intentFilters().contains( in matches_intentFilters_matches_returnsTrue()
117 serviceQueryHelper.intentFilters().contains( in matches_intentFilters_doesNotMatch_returnsFalse()
129 serviceQueryHelper.intentFilters().contains( in parcel_parcelsCorrectly()
166 serviceQueryHelper.intentFilters().isEmpty(); in isEmptyQuery_hasIntentFiltersQuery_returnsFalse()
DActivityQueryHelperTest.java74 .intentFilters(Set.of(INTENT_FILTER_WITH_ACTION))
125 activityQueryHelper.intentFilters().contains( in matches_intentFilters_matches_returnsTrue()
136 activityQueryHelper.intentFilters().doesNotContain( in matches_intentFilters_doesNotMatch_returnsFalse()
150 .intentFilters().doesNotContain( in parcel_parcelsCorrectly()
183 activityQueryHelper.intentFilters().isNotEmpty(); in isEmptyQuery_hasIntentFilters_returnsFalse()
/cts/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/
DDeviceStateInternalTest.java110 activity().where().intentFilters().contains( in requirePackageRespondsToIntentAnnotation_packageRespondsToIntent()
133 activity().where().intentFilters().contains( in requirePackageRespondsToIntentAnnotation_workProfile_packageRespondsToIntent()
175 activity().where().intentFilters().contains( in requireNoPackageRespondsToIntentAnnotation_packageRespondsToIntent()
213 activity().where().intentFilters().contains( in ensureNoPackageRespondsToIntentAnnotation()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/activities/
DActivitiesTest.kt39 activity().where().intentFilters().contains( in activityNameOfIntent_returnsActivityNameOfIntent()
57 activity().where().intentFilters().contains( in getActivityNameOfIntent_isAlias_returnsTargetActivity()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DStatusBarTest.java57 .where().intentFilters().isEmpty()
72 .whereActivity().intentFilters().isEmpty() in statusBar_personalActivityIsInForeground_doesNotIncludeWorkBadge()
90 .whereActivity().intentFilters().isEmpty() in statusBar_workActivityIsInForeground_includesWorkBadge()
DPersistentIntentResolvingTest.java57 activity().where().intentFilters().contains(
66 .where().intentFilters().contains(
71 .where().intentFilters().contains(
DLauncherAppsTest.java73 .where().intentFilters().contains(
208 .whereActivity().intentFilters().contains( in disableMainActivity()
DPersistentPreferredActivitiesTest.java85 activity().where().intentFilters().contains(
94 .where().intentFilters().contains(
99 .where().intentFilters().contains(
DCrossProfileIntentFiltersTest.java76 .where().intentFilters().contains(
177 .whereActivity().intentFilters().contains( in startActivity_intentFilterIsSet_startsAppInOtherUser()
206 .whereActivity().intentFilters().contains( in startActivity_intentFilterIsSet_startsAppInOwnUser()
DQuietModeTest.java91 .where().intentFilters().contains(
295 testAppInstance.activities().query().whereActivity().intentFilters() in runTestAppInForeground()
DDeviceIdentifiersTest.java49 activity().where().intentFilters().contains(
DDefaultDialerApplicationTest.java70 activity().where().intentFilters().contains(
DPersonalAppsSuspensionTest.java67 activity().where().intentFilters().contains(
DDefaultSmsApplicationTest.java75 activity().where().intentFilters().contains(
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DServiceQuery.java41 SetQuery<E, IntentFilter> intentFilters(); in intentFilters() method
DActivityQuery.java40 SetQuery<E, IntentFilter> intentFilters(); in intentFilters() method
DServiceQueryHelper.java82 public SetQuery<E, IntentFilter> intentFilters() { in intentFilters() method in ServiceQueryHelper
95 && mIntentFiltersQueryHelper.matches(value.intentFilters()); in matches()
DActivityQueryHelper.java87 public SetQuery<E, IntentFilter> intentFilters() { in intentFilters() method in ActivityQueryHelper
116 && mIntentFiltersQueryHelper.matches(value.intentFilters()) in matches()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppProvider.java145 .intentFilters(intentFilterSetFromProtoList( in loadApk()
157 .intentFilters(intentFilterSetFromProtoList( in loadApk()
171 .intentFilters(intentFilterSetFromProtoList( in loadApk()
/cts/tests/credentials/src/android/credentials/cts/
DCtsDevicePolicyTest.java74 .intentFilters()
96 .intentFilters()

12