Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DIntegerSetQueryHelper.java39 public E matchesAnnotation(IntegerSetQuery queryAnnotation) { in matchesAnnotation() argument
40 if (queryAnnotation.contains().length > 0) { in matchesAnnotation()
41 Integer[] intArray = new Integer[queryAnnotation.contains().length]; in matchesAnnotation()
43 intArray[i] = queryAnnotation.contains()[i]; in matchesAnnotation()
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.java49 E matchesAnnotation(com.android.queryable.annotations.IntegerQuery queryAnnotation); in matchesAnnotation() argument
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppProviderTest.java652 Query queryAnnotation = queryBuilder() in query_queryAnnotationSpecifiesPackageName_matches() local
656 TestAppQueryBuilder queryBuilder = mTestAppProvider.query(queryAnnotation); in query_queryAnnotationSpecifiesPackageName_matches()
664 Query queryAnnotation = queryBuilder() in query_queryAnnotationSpecifiesTargetSdkVersion_matches() local
668 TestAppQueryBuilder queryBuilder = mTestAppProvider.query(queryAnnotation); in query_queryAnnotationSpecifiesTargetSdkVersion_matches()
676 Query queryAnnotation = queryBuilder() in query_queryAnnotationSpecifiesMaxSdkVersion_matches() local
680 TestAppQueryBuilder queryBuilder = mTestAppProvider.query(queryAnnotation); in query_queryAnnotationSpecifiesMaxSdkVersion_matches()
688 Query queryAnnotation = queryBuilder() in query_queryAnnotationSpecifiesMinSdkVersion_matches() local
692 TestAppQueryBuilder queryBuilder = mTestAppProvider.query(queryAnnotation); in query_queryAnnotationSpecifiesMinSdkVersion_matches()
700 Query queryAnnotation = queryBuilder() in query_stringQueryAnnotationSpecifiesIsEqualTo_matches() local
704 TestAppQueryBuilder queryBuilder = mTestAppProvider.query(queryAnnotation); in query_stringQueryAnnotationSpecifiesIsEqualTo_matches()
[all …]