Home
last modified time | relevance | path

Searched refs:callsCursor (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DThirdPartyCallScreeningServiceTest.java434 Cursor callsCursor = mContentResolver.query(CallLog.Calls.CONTENT_URI, null, in addIncomingAndVerifyAllowed() local
436 int numberIndex = callsCursor.getColumnIndex(CallLog.Calls.NUMBER); in addIncomingAndVerifyAllowed()
437 int callTypeIndex = callsCursor.getColumnIndex(CallLog.Calls.TYPE); in addIncomingAndVerifyAllowed()
438 int blockReasonIndex = callsCursor.getColumnIndex(CallLog.Calls.BLOCK_REASON); in addIncomingAndVerifyAllowed()
439 if (callsCursor.moveToNext()) { in addIncomingAndVerifyAllowed()
440 String number = callsCursor.getString(numberIndex); in addIncomingAndVerifyAllowed()
441 int callType = callsCursor.getInt(callTypeIndex); in addIncomingAndVerifyAllowed()
442 int blockReason = callsCursor.getInt(blockReasonIndex); in addIncomingAndVerifyAllowed()
459 Cursor callsCursor = mContentResolver.query(CallLog.Calls.CONTENT_URI, null, in addIncomingAndVerifyBlocked() local
461 int numberIndex = callsCursor.getColumnIndex(CallLog.Calls.NUMBER); in addIncomingAndVerifyBlocked()
[all …]
DSelfManagedConnectionServiceTest.java347 Cursor callsCursor = mContext.getContentResolver().query(CallLog.Calls.CONTENT_URI, null, in testSelfManagedCallNotLogged() local
349 int numberIndex = callsCursor.getColumnIndex(CallLog.Calls.NUMBER); in testSelfManagedCallNotLogged()
352 if (callsCursor.moveToNext()) { in testSelfManagedCallNotLogged()
353 String number = callsCursor.getString(numberIndex); in testSelfManagedCallNotLogged()
360 if (callsCursor.moveToNext()) { in testSelfManagedCallNotLogged()
363 String number = callsCursor.getString(numberIndex); in testSelfManagedCallNotLogged()
DCallDetailsTest.java946 Cursor callsCursor = mContext.getContentResolver().query(CallLog.Calls.CONTENT_URI, null, in testLogFeatures() local
948 callsCursor.moveToFirst(); in testLogFeatures()
949 int features = callsCursor.getInt(callsCursor.getColumnIndex("features")); in testLogFeatures()
DBaseTelecomTestWithMockServices.java1197 Cursor callsCursor = mContext.getContentResolver().query(CallLog.Calls.CONTENT_URI, null, in getLatestCallLogCursorIfMatchesUri() local
1199 int numberIndex = callsCursor.getColumnIndex(CallLog.Calls.NUMBER); in getLatestCallLogCursorIfMatchesUri()
1200 if (callsCursor.moveToNext()) { in getLatestCallLogCursorIfMatchesUri()
1201 String number = callsCursor.getString(numberIndex); in getLatestCallLogCursorIfMatchesUri()
1203 return callsCursor; in getLatestCallLogCursorIfMatchesUri()