Home
last modified time | relevance | path

Searched refs:QueryBuilder (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/libs/car-telephony-common/tests/unittests/src/com/android/car/telephony/common/
DQueryParamTest.java19 import static com.android.car.telephony.common.QueryParam.QueryBuilder.AND;
20 import static com.android.car.telephony.common.QueryParam.QueryBuilder.OR;
21 import static com.android.car.telephony.common.QueryParam.QueryBuilder.ORDER_ASC;
22 import static com.android.car.telephony.common.QueryParam.QueryBuilder.ORDER_DESC;
36 import com.android.car.telephony.common.QueryParam.QueryBuilder.Condition;
56 QueryParam.QueryBuilder builder = new QueryParam.QueryBuilder(CONTENT_URI); in testContentUri()
69 QueryParam.QueryBuilder builder = new QueryParam.QueryBuilder(CONTENT_URI); in testEmptyQueryParam()
95 QueryParam builtQueryParam = new QueryParam.QueryBuilder(Data.CONTENT_URI) in testBuildQueryParam()
116 QueryParam.QueryBuilder builder = new QueryParam.QueryBuilder(CONTENT_URI); in testBuildProjection_selectAll()
126 QueryParam.QueryBuilder builder = new QueryParam.QueryBuilder(CONTENT_URI); in testBuildSelection()
[all …]
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DQueryParam.java86 public static class QueryBuilder { class in QueryParam
105 public QueryBuilder(Uri contentUri) { in QueryBuilder() method in QueryParam.QueryBuilder
114 public QueryBuilder project(String columnName) { in project()
124 public QueryBuilder projectAll() { in projectAll()
134 public QueryBuilder where(@NonNull Condition condition) { in where()
139 private QueryBuilder orderBy(String column, String order) { in orderBy()
150 public QueryBuilder orderAscBy(String column) { in orderAscBy()
160 public QueryBuilder orderDescBy(String column) { in orderDescBy()
168 public QueryBuilder orderBy(String orderBy) { in orderBy()
174 public QueryBuilder checkPermission(@NonNull String permission) { in checkPermission()
DInMemoryPhoneBook.java35 import com.android.car.telephony.common.QueryParam.QueryBuilder.Condition;
115 QueryParam contactListQueryParam = new QueryParam.QueryBuilder(Data.CONTENT_URI) in InMemoryPhoneBook()