Home
last modified time | relevance | path

Searched refs:queryParameters (Results 1 – 5 of 5) sorted by relevance

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DRcsProviderParticipantHelper.java115 RcsParticipantQueryParams queryParameters = null; in queryParticipant() local
119 queryParameters = bundle.getParcelable(PARTICIPANT_QUERY_PARAMETERS_KEY); in queryParticipant()
128 if (queryParameters == null) { in queryParticipant()
129 queryParameters = new RcsParticipantQueryParams.Builder().build(); in queryParticipant()
132 return performInitialQuery(queryParameters); in queryParticipant()
135 private Cursor performInitialQuery(RcsParticipantQueryParams queryParameters) { in performInitialQuery() argument
138 StringBuilder rawQuery = buildInitialRawQuery(queryParameters); in performInitialQuery()
139 RcsProviderUtil.appendLimit(rawQuery, queryParameters.getLimit()); in performInitialQuery()
144 int limit = queryParameters.getLimit(); in performInitialQuery()
154 private StringBuilder buildInitialRawQuery(RcsParticipantQueryParams queryParameters) { in buildInitialRawQuery() argument
[all …]
DRcsProviderThreadHelper.java228 RcsThreadQueryParams queryParameters = null; in queryUnifiedThread() local
231 queryParameters = bundle.getParcelable( in queryUnifiedThread()
241 if (queryParameters == null) { in queryUnifiedThread()
242 queryParameters = new RcsThreadQueryParams.Builder().build(); in queryUnifiedThread()
245 return performInitialQuery(queryParameters); in queryUnifiedThread()
248 private Cursor performInitialQuery(RcsThreadQueryParams queryParameters) { in performInitialQuery() argument
249 if (queryParameters == null) { in performInitialQuery()
251 queryParameters = new RcsThreadQueryParams.Builder().build(); in performInitialQuery()
258 if (queryParameters.getThreadType() == RcsThreadQueryParams.THREAD_TYPE_1_TO_1) { in performInitialQuery()
260 } else if (queryParameters.getThreadType() == RcsThreadQueryParams.THREAD_TYPE_GROUP) { in performInitialQuery()
[all …]
DRcsProviderEventHelper.java114 RcsEventQueryParams queryParameters = null; in queryEvents() local
118 queryParameters = bundle.getParcelable(EVENT_QUERY_PARAMETERS_KEY); in queryEvents()
128 if (queryParameters == null) { in queryEvents()
129 queryParameters = new RcsEventQueryParams.Builder().build(); in queryEvents()
132 return performInitialQuery(queryParameters); in queryEvents()
135 private Cursor performInitialQuery(RcsEventQueryParams queryParameters) { in performInitialQuery() argument
139 int eventType = queryParameters.getEventType(); in performInitialQuery()
156 int sortingProperty = queryParameters.getSortingProperty(); in performInitialQuery()
163 rawQuery.append(queryParameters.getSortDirection() ? " ASC " : " DESC "); in performInitialQuery()
165 RcsProviderUtil.appendLimit(rawQuery, queryParameters.getLimit()); in performInitialQuery()
[all …]
DRcsProviderMessageHelper.java323 RcsMessageQueryParams queryParameters = null; in queryMessages() local
327 queryParameters = bundle.getParcelable(MESSAGE_QUERY_PARAMETERS_KEY); in queryMessages()
337 if (queryParameters == null) { in queryMessages()
338 queryParameters = new RcsMessageQueryParams.Builder().build(); in queryMessages()
341 return performInitialQuery(queryParameters); in queryMessages()
344 private Cursor performInitialQuery(RcsMessageQueryParams queryParameters) { in performInitialQuery() argument
349 int messageType = queryParameters.getMessageType(); in performInitialQuery()
350 String messageLike = queryParameters.getMessageLike(); in performInitialQuery()
351 int threadId = queryParameters.getThreadId(); in performInitialQuery()
389 int sortingProperty = queryParameters.getSortingProperty(); in performInitialQuery()
[all …]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DRcsProviderQueryTest.java157 RcsThreadQueryParams queryParameters = new RcsThreadQueryParams.Builder().build(); in testCanQueryUnifiedThreads() local
159 bundle.putParcelable(THREAD_QUERY_PARAMETERS_KEY, queryParameters); in testCanQueryUnifiedThreads()
189 RcsThreadQueryParams queryParameters = new RcsThreadQueryParams.Builder() in testCanQueryUnifiedThreadsWithLimitAndSorting() local
194 bundle.putParcelable(THREAD_QUERY_PARAMETERS_KEY, queryParameters); in testCanQueryUnifiedThreadsWithLimitAndSorting()
210 RcsThreadQueryParams queryParameters = in testCanContinueThreadQuery() local
213 bundle.putParcelable(THREAD_QUERY_PARAMETERS_KEY, queryParameters); in testCanContinueThreadQuery()
285 RcsParticipantQueryParams queryParameters = new RcsParticipantQueryParams.Builder() in testQueryParticipant() local
289 bundle.putParcelable(PARTICIPANT_QUERY_PARAMETERS_KEY, queryParameters); in testQueryParticipant()
314 RcsParticipantQueryParams queryParameters = in testQueryParticipantWithContinuation() local
320 bundle.putParcelable(PARTICIPANT_QUERY_PARAMETERS_KEY, queryParameters); in testQueryParticipantWithContinuation()
[all …]