Home
last modified time | relevance | path

Searched refs:QueryParam (Results 1 – 9 of 9) 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()
58 QueryParam queryParam = builder.toQueryParam(); in testContentUri()
69 QueryParam.QueryBuilder builder = new QueryParam.QueryBuilder(CONTENT_URI); in testEmptyQueryParam()
73 QueryParam queryParam = builder.toQueryParam(); in testEmptyQueryParam()
82 QueryParam expectedParams = new QueryParam( in testBuildQueryParam()
[all …]
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DQueryParam.java31 public class QueryParam { class
34 public static Provider of(final QueryParam queryParam) { in of()
52 QueryParam getQueryParam(); in getQueryParam()
68 public QueryParam( in QueryParam() method in QueryParam
242 public QueryParam toQueryParam() { in toQueryParam()
248 return new QueryParam( in toQueryParam()
DInMemoryPhoneBook.java35 import com.android.car.telephony.common.QueryParam.QueryBuilder.Condition;
115 QueryParam contactListQueryParam = new QueryParam.QueryBuilder(Data.CONTENT_URI) in InMemoryPhoneBook()
126 QueryParam.of(contactListQueryParam), Executors.newSingleThreadExecutor()) { in InMemoryPhoneBook()
DObservableAsyncQuery.java56 private QueryParam.Provider mQueryParamProvider;
69 @NonNull QueryParam.Provider queryParamProvider, in ObservableAsyncQuery()
95 QueryParam queryParam = mQueryParamProvider.getQueryParam(); in startQuery()
DAsyncQueryLiveData.java48 public AsyncQueryLiveData(Context context, QueryParam.Provider provider) { in AsyncQueryLiveData()
52 public AsyncQueryLiveData(Context context, QueryParam.Provider provider, in AsyncQueryLiveData()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DUnreadMissedCallLiveData.java30 import com.android.car.telephony.common.QueryParam;
57 QueryParam queryParam = new QueryParam( in newInstance()
69 private UnreadMissedCallLiveData(Context context, QueryParam queryParam) { in UnreadMissedCallLiveData()
70 super(context, QueryParam.of(queryParam)); in UnreadMissedCallLiveData()
DCallHistoryLiveData.java32 import com.android.car.telephony.common.QueryParam;
92 QueryParam queryParam = new QueryParam( in newInstance()
103 private CallHistoryLiveData(Context context, QueryParam queryParam) { in CallHistoryLiveData()
104 super(context, QueryParam.of(queryParam)); in CallHistoryLiveData()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DBluetoothFavoriteContactsLiveData.java30 import com.android.car.telephony.common.QueryParam;
47 super(context, QueryParam.of(getFavoriteQueryParam(accountName))); in BluetoothFavoriteContactsLiveData()
74 private static QueryParam getFavoriteQueryParam(String accountName) { in getFavoriteQueryParam()
88 return new QueryParam(ContactsContract.Data.CONTENT_URI, in getFavoriteQueryParam()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DContactResultsLiveData.java37 import com.android.car.telephony.common.QueryParam;
171 private static class SearchQueryParamProvider implements QueryParam.Provider {
180 public QueryParam getQueryParam() { in getQueryParam()
184 return new QueryParam(lookupUri, CONTACT_DETAILS_PROJECTION, null, in getQueryParam()