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.java431 Cursor callsCursor = mContentResolver.query(CallLog.Calls.CONTENT_URI, null, in addIncomingAndVerifyAllowed() local
433 int numberIndex = callsCursor.getColumnIndex(CallLog.Calls.NUMBER); in addIncomingAndVerifyAllowed()
434 int callTypeIndex = callsCursor.getColumnIndex(CallLog.Calls.TYPE); in addIncomingAndVerifyAllowed()
435 int blockReasonIndex = callsCursor.getColumnIndex(CallLog.Calls.BLOCK_REASON); in addIncomingAndVerifyAllowed()
436 if (callsCursor.moveToNext()) { in addIncomingAndVerifyAllowed()
437 String number = callsCursor.getString(numberIndex); in addIncomingAndVerifyAllowed()
438 int callType = callsCursor.getInt(callTypeIndex); in addIncomingAndVerifyAllowed()
439 int blockReason = callsCursor.getInt(blockReasonIndex); in addIncomingAndVerifyAllowed()
456 Cursor callsCursor = mContentResolver.query(CallLog.Calls.CONTENT_URI, null, in addIncomingAndVerifyBlocked() local
458 int numberIndex = callsCursor.getColumnIndex(CallLog.Calls.NUMBER); in addIncomingAndVerifyBlocked()
[all …]
DSelfManagedConnectionServiceTest.java346 Cursor callsCursor = mContext.getContentResolver().query(CallLog.Calls.CONTENT_URI, null, in testSelfManagedCallNotLogged() local
348 int numberIndex = callsCursor.getColumnIndex(CallLog.Calls.NUMBER); in testSelfManagedCallNotLogged()
351 if (callsCursor.moveToNext()) { in testSelfManagedCallNotLogged()
352 String number = callsCursor.getString(numberIndex); in testSelfManagedCallNotLogged()
359 if (callsCursor.moveToNext()) { in testSelfManagedCallNotLogged()
362 String number = callsCursor.getString(numberIndex); in testSelfManagedCallNotLogged()
DCallDetailsTest.java899 Cursor callsCursor = mContext.getContentResolver().query(CallLog.Calls.CONTENT_URI, null, in testLogFeatures() local
901 callsCursor.moveToFirst(); in testLogFeatures()
902 int features = callsCursor.getInt(callsCursor.getColumnIndex("features")); in testLogFeatures()
DBaseTelecomTestWithMockServices.java1011 Cursor callsCursor = mContext.getContentResolver().query(CallLog.Calls.CONTENT_URI, null, in getLatestCallLogCursorIfMatchesUri() local
1013 int numberIndex = callsCursor.getColumnIndex(CallLog.Calls.NUMBER); in getLatestCallLogCursorIfMatchesUri()
1014 if (callsCursor.moveToNext()) { in getLatestCallLogCursorIfMatchesUri()
1015 String number = callsCursor.getString(numberIndex); in getLatestCallLogCursorIfMatchesUri()
1017 return callsCursor; in getLatestCallLogCursorIfMatchesUri()