Home
last modified time | relevance | path

Searched refs:queryStrings (Results 1 – 14 of 14) sorted by relevance

/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/
DQueryable.java39 static String joinQueryStrings(String... queryStrings) { in joinQueryStrings() argument
40 return Arrays.stream(queryStrings).filter(i -> i != null && !i.isEmpty()) in joinQueryStrings()
49 static String joinQueryStrings(Collection<String> queryStrings) { in joinQueryStrings() argument
50 return queryStrings.stream().filter(i -> i != null && !i.isEmpty()) in joinQueryStrings()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DBundleKeyQueryHelper.java215 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
217 queryStrings.add(fieldName + " exists"); in describeQuery()
220 queryStrings.add(mStringQuery.describeQuery(fieldName + ".stringValue")); in describeQuery()
223 queryStrings.add(mSerializableQuery.describeQuery(fieldName + ".serializableValue")); in describeQuery()
226 queryStrings.add(mBundleQuery.describeQuery(fieldName + ".bundleValue")); in describeQuery()
229 queryStrings.add(mIntegerQuery.describeQuery(fieldName + ".integerValue")); in describeQuery()
232 queryStrings.add(mLongQuery.describeQuery(fieldName + ".longValue")); in describeQuery()
235 queryStrings.add(mBooleanQuery.describeQuery(fieldName + ".booleanValue")); in describeQuery()
238 queryStrings.add(mStringListQuery.describeQuery(fieldName + ".stringListValue")); in describeQuery()
241 queryStrings.add(mIntegerListQuery.describeQuery(fieldName + ".integerListValue")); in describeQuery()
[all …]
DLongQueryHelper.java171 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
173 queryStrings.add(fieldName + "=" + mEqualToValue); in describeQuery()
176 queryStrings.add(fieldName + ">" + mGreaterThanValue); in describeQuery()
179 queryStrings.add(fieldName + ">=" + mGreaterThanOrEqualToValue); in describeQuery()
182 queryStrings.add(fieldName + "<" + mLessThanValue); in describeQuery()
185 queryStrings.add(fieldName + "<=" + mLessThanOrEqualToValue); in describeQuery()
188 return Queryable.joinQueryStrings(queryStrings); in describeQuery()
DEnumQueryHelper.java146 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
149 queryStrings.add(fieldName + "=" + mIsEqualTo); in describeQuery()
151 queryStrings.add(fieldName + " in {" in describeQuery()
159 queryStrings.add(fieldName + "!=" + mIsNotEqualTo); in describeQuery()
161 queryStrings.add(fieldName + " not in {" in describeQuery()
167 return Queryable.joinQueryStrings(queryStrings); in describeQuery()
DPersistableBundleKeyQueryHelper.java138 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
140 queryStrings.add(fieldName + " exists"); in describeQuery()
143 queryStrings.add(mStringQuery.describeQuery(fieldName + ".stringValue")); in describeQuery()
146 queryStrings.add(mBooleanQuery.describeQuery(fieldName + ".booleanValue")); in describeQuery()
149 queryStrings.add(mPersistableBundleQuery.describeQuery( in describeQuery()
153 return Queryable.joinQueryStrings(queryStrings); in describeQuery()
DIntegerQueryHelper.java215 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
217 queryStrings.add(fieldName + "=" + mEqualToValue); in describeQuery()
220 queryStrings.add(fieldName + ">" + mGreaterThanValue); in describeQuery()
223 queryStrings.add(fieldName + ">=" + mGreaterThanOrEqualToValue); in describeQuery()
226 queryStrings.add(fieldName + "<" + mLessThanValue); in describeQuery()
229 queryStrings.add(fieldName + "<=" + mLessThanOrEqualToValue); in describeQuery()
232 return Queryable.joinQueryStrings(queryStrings); in describeQuery()
DUriQueryHelper.java126 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
128 queryStrings.add(fieldName + "=" + mEqualsValue); in describeQuery()
131 queryStrings.add(mStringValue.describeQuery(fieldName + ".stringValue")); in describeQuery()
134 return Queryable.joinQueryStrings(queryStrings); in describeQuery()
DUserHandleQueryHelper.java125 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
127 queryStrings.add(fieldName + "=" + mEqualsValue); in describeQuery()
130 queryStrings.add(mIdQuery.describeQuery(fieldName + ".id")); in describeQuery()
133 return Queryable.joinQueryStrings(queryStrings); in describeQuery()
DSerializableQueryHelper.java94 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
96 queryStrings.add(fieldName + "=" + mEqualsValue); in describeQuery()
99 return Queryable.joinQueryStrings(queryStrings); in describeQuery()
DSetQueryHelper.java249 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
250 queryStrings.add(mSizeQuery.describeQuery(fieldName + ".size")); in describeQuery()
252 queryStrings.add(fieldName + " contains matches of [" in describeQuery()
257 queryStrings.add(fieldName + " contains [" in describeQuery()
263 queryStrings.add(fieldName + " does not contain anything matching any of [" in describeQuery()
268 queryStrings.add(fieldName + " does not contain [" in describeQuery()
272 return Queryable.joinQueryStrings(queryStrings); in describeQuery()
DStringQueryHelper.java185 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
187 queryStrings.add(fieldName + "=\"" + mEqualsValue + "\""); in describeQuery()
191 queryStrings.add(fieldName + "!=\"" + notEquals + "\""); in describeQuery()
195 queryStrings.add(fieldName + " starts with \"" + mStartsWithValue + "\""); in describeQuery()
198 return Queryable.joinQueryStrings(queryStrings); in describeQuery()
DListQueryHelper.java233 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
234 queryStrings.add(mSizeQuery.describeQuery(fieldName + ".size")); in describeQuery()
237 queryStrings.add(fieldName + " contains matches of [" in describeQuery()
243 queryStrings.add(fieldName + " contains matches of [" in describeQuery()
249 queryStrings.add(fieldName + " does not contain anything matching any of [" in describeQuery()
256 return Queryable.joinQueryStrings(queryStrings); in describeQuery()
DPersistableBundleQueryHelper.java125 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
128 queryStrings.add(query.getValue().describeQuery(fieldName + "." + query.getKey())); in describeQuery()
131 return Queryable.joinQueryStrings(queryStrings); in describeQuery()
DBundleQueryHelper.java122 List<String> queryStrings = new ArrayList<>(); in describeQuery() local
124 queryStrings.add(query.getValue().describeQuery(fieldName + "." + query.getKey())); in describeQuery()
127 return Queryable.joinQueryStrings(queryStrings); in describeQuery()