Searched refs:callsCursor (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ThirdPartyCallScreeningServiceTest.java | 434 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 …]
|
D | SelfManagedConnectionServiceTest.java | 347 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()
|
D | CallDetailsTest.java | 946 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()
|
D | BaseTelecomTestWithMockServices.java | 1197 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()
|