/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/ |
D | EnsureHasProfileOwner.kt | 27 import com.android.queryable.annotations.Query 66 val dpc: Query = Query(), 84 private fun ensureHasProfileOwner(dpc: Query): EnsureHasProfileOwner { in ensureHasProfileOwner() 93 private fun query(): Query { in query() 94 return HarrierRule::class.java.getAnnotation<Query>(Query::class.java) in query()
|
D | EnsureHasWorkProfile.kt | 29 import com.android.queryable.annotations.Query; 74 val dpc: Query = Query(), 96 private fun ensureHasWorkProfile(dpc: Query): EnsureHasWorkProfile { in ensureHasWorkProfile() 105 private fun query(): Query { in query() 106 return HarrierRule::class.java.getAnnotation(Query::class.java)!! in query()
|
D | MostRestrictiveCoexistenceTest.java | 24 import com.android.queryable.annotations.Query; 44 query = @Query(packageName = @StringQuery( 47 query = @Query(packageName = @StringQuery(
|
D | EnsureHasDeviceOwner.java | 29 import com.android.queryable.annotations.Query; 105 Query dpc() default @Query(); in dpc() field
|
D | MostImportantCoexistenceTest.java | 25 import com.android.queryable.annotations.Query; 46 query = @Query(packageName = @StringQuery(
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/ |
D | QueryableBaseWithMatch.java | 21 import com.android.queryable.queries.Query; 28 …abstract class QueryableBaseWithMatch<E, F extends Query<E>> extends QueryableBase<F> implements Q…
|
D | QueryableBase.java | 22 import com.android.queryable.queries.Query; 29 public abstract class QueryableBase<E extends Query<?>> implements Queryable, Parcelable {
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/ |
D | SetQueryHelper.java | 43 private final Set<Query<F>> mContainsByQuery; 45 private final Set<Query<F>> mDoesNotContainByQuery; 84 mContainsByQuery = (Set<Query<F>>) ParcelableUtils.readParcelableSet(in); in SetQueryHelper() 85 mDoesNotContainByQuery = (Set<Query<F>>) ParcelableUtils.readParcelableSet(in); in SetQueryHelper() 108 public E contains(Query<F>... objects) { in contains() 120 public E doesNotContain(Query<F>... objects) { in doesNotContain() 155 for (Query q : mContainsByQuery) { in isEmptyQuery() 161 for (Query q : mDoesNotContainByQuery) { in isEmptyQuery() 205 for (Query<F> containsAtLeast : mContainsByQuery) { in checkContainsAtLeast() 224 for (Query<F> doesNotContain : mDoesNotContainByQuery) { in checkDoesNotContain() [all …]
|
D | ListQuery.java | 25 public interface ListQuery<E extends Queryable, F> extends Query<List<F>> { 37 E contains(Query<F>... objects); in contains() 51 E doesNotContain(Query<F>... objects); in doesNotContain()
|
D | SetQuery.java | 27 public interface SetQuery<E extends Queryable, F> extends Query<Set<F>> { 43 E contains(Query<F>... objects); in contains() 57 E doesNotContain(Query<F>... objects); in doesNotContain()
|
D | ListQueryHelper.java | 41 private final List<Query<F>> mContainsByQuery = new ArrayList<>(); 42 private final List<Query<F>> mDoesNotContainByQuery = new ArrayList<>(); 90 public E contains(Query<F>... objects) { in contains() 102 public E doesNotContain(Query<F>... objects) { in doesNotContain() 143 for (Query q : mContainsByQuery) { in isEmptyQuery() 149 for (Query q : mDoesNotContainByQuery) { in isEmptyQuery() 189 for (Query<F> containsAtLeast : mContainsByQuery) { in checkContainsAtLeast() 208 for (Query<F> doesNotContain : mDoesNotContainByQuery) { in checkDoesNotContain() 217 private F findMatch(Query<F> query, List<F> values) { in findMatch()
|
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/ |
D | EnsureTestAppInstalled.java | 23 import com.android.queryable.annotations.Query; 55 Query query() default @Query(); in query() field
|
D | RequireRunOnWorkProfile.java | 27 import com.android.queryable.annotations.Query; 68 Query dpc() default @Query(); in dpc() field
|
D | AdditionalQueryParameters.java | 22 import com.android.queryable.annotations.Query; 47 Query query(); in query()
|
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/ |
D | HarrierRule.java | 19 import com.android.queryable.annotations.Query; 29 @Query
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/collections/ |
D | QueryableSetQuery.java | 19 import com.android.queryable.queries.Query; 24 public interface QueryableSetQuery<E, F extends Query<E>, G extends QueryableSet<E, F, ?>> {
|
D | QueryableSet.java | 19 import com.android.queryable.queries.Query; 26 public interface QueryableSet<E, F extends Query<E>, G extends QueryableSet<E, F, ?>> extends Set<E…
|
D | AbstractQueryableSetQuery.java | 20 import com.android.queryable.queries.Query; 28 public abstract class AbstractQueryableSetQuery<E, F extends Query<E>, G extends QueryableSet<E, F,…
|
D | QueryableHashSet.java | 19 import com.android.queryable.queries.Query; 29 public abstract class QueryableHashSet<E, F extends Query<E>, G extends QueryableSet<E, F, ?>> impl…
|
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/ |
D | MetricQuery.java | 21 import com.android.queryable.queries.Query; 24 public interface MetricQuery<E extends Queryable> extends Query<EnterpriseMetricInfo> {
|
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/ |
D | TestAppProviderTest.java | 31 import com.android.queryable.annotations.Query; 81 …public static Query query(StringQuery packageName, IntegerQuery minSdkVersion, IntegerQuery maxSdk… in query() 138 public Query build() { in build() 558 Query queryAnnotation = queryBuilder() in query_queryAnnotationSpecifiesPackageName_matches() 570 Query queryAnnotation = queryBuilder() in query_queryAnnotationSpecifiesTargetSdkVersion_matches() 582 Query queryAnnotation = queryBuilder() in query_queryAnnotationSpecifiesMaxSdkVersion_matches() 594 Query queryAnnotation = queryBuilder() in query_queryAnnotationSpecifiesMinSdkVersion_matches() 606 Query queryAnnotation = queryBuilder() in query_stringQueryAnnotationSpecifiesIsEqualTo_matches() 618 Query queryAnnotation = queryBuilder() in query_stringQueryAnnotationSpecifiesIsNotEqualTo_matches() 630 Query queryAnnotation = queryBuilder() in query_stringQueryAnnotationSpecifiesStartsWith_matches() [all …]
|
/cts/tests/searchui/src/android/searchuiservice/cts/ |
D | SearchUiManagerTest.java | 39 import android.app.search.Query; 139 Query query = new Query(QUERY_INPUT, QUERY_TIMESTAMP); in testQueryCtor() 184 ArgumentCaptor<Query> queryArg = ArgumentCaptor.forClass(Query.class); in testNotifyEvent() 199 Query query = SearchUiUtils.generateQuery(new Bundle()); in testQuery_realCallback() 211 Query query = SearchUiUtils.generateQuery(new Bundle()); in testQuery_mockCallback() 246 Query query = SearchUiUtils.generateQuery(extras); in testQuery_params() 251 ArgumentCaptor<Query> queryArg = ArgumentCaptor.forClass(Query.class); in testQuery_params() 258 Query expectedQuery = queryArg.getValue(); in testQuery_params()
|
D | SearchUiUtils.java | 21 import android.app.search.Query; 105 static Query generateQuery(Bundle extras) { in generateQuery() 106 return new Query(QUERY_INPUT, QUERY_TIMESTAMP, extras); in generateQuery()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTestBase.java | 344 DownloadManager.Query query = new DownloadManager.Query(); in clearDownloads() 381 DownloadManager.Query query = new DownloadManager.Query(); in getTotalNumberDownloads() 394 DownloadManager.Query query = new DownloadManager.Query().setFilterById(downloadId); in assertDownloadQueryableById() 410 … DownloadManager.Query query = new DownloadManager.Query().setFilterByStatus(status); in assertDownloadQueryableByStatus() 430 cursor = mDownloadManager.query(new DownloadManager.Query().setFilterById(id)); in assertSuccessfulDownload() 454 DownloadManager.Query query = new DownloadManager.Query(); in assertRemoveDownload()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | PasswordTest.kt | 51 import com.android.queryable.annotations.Query in <lambda>() 272 query = Query(targetSdkVersion = IntegerQuery(isLessThan = R)) in <lambda>() 318 query = Query(targetSdkVersion = IntegerQuery(isLessThan = R)) in <lambda>() 364 query = Query(targetSdkVersion = IntegerQuery(isLessThan = R)) in <lambda>() 411 query = Query(targetSdkVersion = IntegerQuery(isLessThan = R)) in <lambda>() 458 query = Query(targetSdkVersion = IntegerQuery(isLessThan = R)) in <lambda>() 505 query = Query(targetSdkVersion = IntegerQuery(isLessThan = R)) in <lambda>() 552 query = Query(targetSdkVersion = IntegerQuery(isLessThan = R)) in <lambda>() 600 query = Query(targetSdkVersion = IntegerQuery(isGreaterThan = R)) in <lambda>() 635 query = Query(targetSdkVersion = IntegerQuery(isGreaterThan = R)) in <lambda>() [all …]
|