Home
last modified time | relevance | path

Searched refs:queryAnnotation (Results 1 – 7 of 7) sorted by relevance

/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppProviderTest.java558 Query queryAnnotation = queryBuilder() in query_queryAnnotationSpecifiesPackageName_matches() local
562 TestAppQueryBuilder queryBuilder = mTestAppProvider.query(queryAnnotation); in query_queryAnnotationSpecifiesPackageName_matches()
570 Query queryAnnotation = queryBuilder() in query_queryAnnotationSpecifiesTargetSdkVersion_matches() local
574 TestAppQueryBuilder queryBuilder = mTestAppProvider.query(queryAnnotation); in query_queryAnnotationSpecifiesTargetSdkVersion_matches()
582 Query queryAnnotation = queryBuilder() in query_queryAnnotationSpecifiesMaxSdkVersion_matches() local
586 TestAppQueryBuilder queryBuilder = mTestAppProvider.query(queryAnnotation); in query_queryAnnotationSpecifiesMaxSdkVersion_matches()
594 Query queryAnnotation = queryBuilder() in query_queryAnnotationSpecifiesMinSdkVersion_matches() local
598 TestAppQueryBuilder queryBuilder = mTestAppProvider.query(queryAnnotation); in query_queryAnnotationSpecifiesMinSdkVersion_matches()
606 Query queryAnnotation = queryBuilder() in query_stringQueryAnnotationSpecifiesIsEqualTo_matches() local
610 TestAppQueryBuilder queryBuilder = mTestAppProvider.query(queryAnnotation); in query_stringQueryAnnotationSpecifiesIsEqualTo_matches()
[all …]
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DIntegerQueryHelper.java133 public E matchesAnnotation(com.android.queryable.annotations.IntegerQuery queryAnnotation) { in matchesAnnotation() argument
134 if (queryAnnotation.isEqualTo() != DEFAULT_INT_QUERY_PARAMETERS_VALUE) { in matchesAnnotation()
135 E unused = isEqualTo(queryAnnotation.isEqualTo()); in matchesAnnotation()
137 if (queryAnnotation.isGreaterThan() != DEFAULT_INT_QUERY_PARAMETERS_VALUE) { in matchesAnnotation()
138 E unused = isGreaterThan(queryAnnotation.isGreaterThan()); in matchesAnnotation()
140 if (queryAnnotation.isGreaterThanOrEqualTo() != DEFAULT_INT_QUERY_PARAMETERS_VALUE) { in matchesAnnotation()
141 E unused = isGreaterThanOrEqualTo(queryAnnotation.isGreaterThanOrEqualTo()); in matchesAnnotation()
143 if (queryAnnotation.isLessThan() != DEFAULT_INT_QUERY_PARAMETERS_VALUE) { in matchesAnnotation()
144 E unused = isLessThan(queryAnnotation.isLessThan()); in matchesAnnotation()
146 if (queryAnnotation.isLessThanOrEqualTo() != DEFAULT_INT_QUERY_PARAMETERS_VALUE) { in matchesAnnotation()
[all …]
DStringQueryHelper.java107 public E matchesAnnotation(com.android.queryable.annotations.StringQuery queryAnnotation) { in matchesAnnotation() argument
108 if (!queryAnnotation.startsWith().equals(DEFAULT_STRING_QUERY_PARAMETERS_VALUE)) { in matchesAnnotation()
109 E unused = startsWith(queryAnnotation.startsWith()); in matchesAnnotation()
111 if (!queryAnnotation.isEqualTo().equals(DEFAULT_STRING_QUERY_PARAMETERS_VALUE)) { in matchesAnnotation()
112 E unused = isEqualTo(queryAnnotation.isEqualTo()); in matchesAnnotation()
114 if (!queryAnnotation.isNotEqualTo().equals(DEFAULT_STRING_QUERY_PARAMETERS_VALUE)) { in matchesAnnotation()
115 E unused = isNotEqualTo(queryAnnotation.isNotEqualTo()); in matchesAnnotation()
117 if (queryAnnotation.isNull().equals(OptionalBoolean.TRUE)) { in matchesAnnotation()
120 if (queryAnnotation.isNull().equals(OptionalBoolean.FALSE)) { in matchesAnnotation()
DBooleanQueryHelper.java161 public E matchesAnnotation(com.android.queryable.annotations.BooleanQuery queryAnnotation) { in matchesAnnotation() argument
162 if (queryAnnotation.isEqualTo() != OptionalBoolean.ANY) { in matchesAnnotation()
163 isEqualTo(queryAnnotation.isEqualTo() == OptionalBoolean.TRUE); in matchesAnnotation()
DStringQuery.java37 E matchesAnnotation(com.android.queryable.annotations.StringQuery queryAnnotation); in matchesAnnotation() argument
DBooleanQuery.java34 E matchesAnnotation(com.android.queryable.annotations.BooleanQuery queryAnnotation); in matchesAnnotation() argument
DIntegerQuery.java45 E matchesAnnotation(com.android.queryable.annotations.IntegerQuery queryAnnotation); in matchesAnnotation() argument