/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/ |
D | Queryable.java | 39 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/ |
D | BundleKeyQueryHelper.java | 215 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 …]
|
D | LongQueryHelper.java | 171 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()
|
D | EnumQueryHelper.java | 146 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()
|
D | PersistableBundleKeyQueryHelper.java | 138 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()
|
D | IntegerQueryHelper.java | 215 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()
|
D | UriQueryHelper.java | 126 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()
|
D | UserHandleQueryHelper.java | 125 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()
|
D | SerializableQueryHelper.java | 94 List<String> queryStrings = new ArrayList<>(); in describeQuery() local 96 queryStrings.add(fieldName + "=" + mEqualsValue); in describeQuery() 99 return Queryable.joinQueryStrings(queryStrings); in describeQuery()
|
D | SetQueryHelper.java | 249 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()
|
D | StringQueryHelper.java | 185 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()
|
D | ListQueryHelper.java | 233 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()
|
D | PersistableBundleQueryHelper.java | 125 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()
|
D | BundleQueryHelper.java | 122 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()
|