Home
last modified time | relevance | path

Searched refs:contentResolverQuery (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DSmsMmsContactsTest.java72 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in getPhoneNumberUncached_withNonEmptyCursor()
82 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in getPhoneNumberUncached_withEmptyCursor()
92 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in fillPhoneCache()
104 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in fillPhoneCache_withNonNullPhoneNumbers()
109 doReturn(null).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in fillPhoneCache_withNonNullPhoneNumbers()
120 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in clearCache()
129 doReturn(null).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in clearCache()
139 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in getContactNameFromPhone_withNonNullCursor()
149 doReturn(null).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in getContactNameFromPhone_withNullCursor()
158 doReturn(null).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in getContactNameFromPhone_withNoParameterForContactNameFilter()
DBluetoothMapContentTest.java172 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in getTextPartsMms()
185 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in getContactNameFromPhone()
201 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in getCanonicalAddressSms()
217 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in getAddressMms()
544 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in setRecipientAddressing_withFilterMsgTypeMms()
586 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in setSenderAddressing_withFilterMsgTypeSms_andSmsMsgTypeInbox()
621 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in setSenderAddressing_withFilterMsgTypeMms()
657 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in setSenderAddressing_withFilterTypeIm()
674 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in setSenderName_withFilterTypeSms_andSmsMsgTypeInbox()
690 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in setSenderName_withFilterTypeSms_andSmsMsgTypeDraft()
[all …]
DBluetoothMapContentObserverTest.java454 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in testDeleteMessageMms_withNonDeletedThreadId()
475 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in testDeleteMessageMms_withDeletedThreadId()
496 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in testDeleteMessageSms_withNonDeletedThreadId()
517 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in testDeleteMessageSms_withDeletedThreadId()
541 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in testUnDeleteMessageMms_withDeletedThreadId_andMessageBoxInbox()
568 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in testUnDeleteMessageMms_withDeletedThreadId_andMessageBoxSent()
594 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in testUnDeleteMessageMms_withoutDeletedThreadId()
619 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in testUnDeleteMessageSms_withDeletedThreadId()
645 doReturn(cursor).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in testUnDeleteMessageSms_withoutDeletedThreadId()
803 doReturn(null).when(mMapMethodProxy).contentResolverQuery(any(), any(), any(), any(), in setMessageStatusDeleted_withTypeGsmOrMms_andStatusValueNo()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapUtilsTest.java168 doReturn(null).when(mProxy).contentResolverQuery( in fetchAndSetContacts_whenCursorIsNull_returnsMinusOne()
192 doReturn(cursor).when(mProxy).contentResolverQuery( in fetchAndSetContacts_whenIsLoadTrue_returnsContactsSetSize()
217 doReturn(cursor).when(mProxy).contentResolverQuery( in fetchAndSetContacts_whenIsLoadFalse_returnsContactsSetSize()
237 doReturn(null).when(mProxy).contentResolverQuery( in updateSecondaryVersionCounter_whenCursorIsNull_shouldNotCrash()
260 doReturn(contactCursor).when(mProxy).contentResolverQuery( in updateSecondaryVersionCounter_whenContactsAreAdded()
268 doReturn(dataCursor).when(mProxy).contentResolverQuery( in updateSecondaryVersionCounter_whenContactsAreAdded()
288 doReturn(contactCursor).when(mProxy).contentResolverQuery( in updateSecondaryVersionCounter_whenContactsAreDeleted()
292 doReturn(dataCursor).when(mProxy).contentResolverQuery( in updateSecondaryVersionCounter_whenContactsAreDeleted()
317 doReturn(contactCursor).when(mProxy).contentResolverQuery( in updateSecondaryVersionCounter_whenContactsAreUpdated()
325 doReturn(dataCursor).when(mProxy).contentResolverQuery( in updateSecondaryVersionCounter_whenContactsAreUpdated()
DBluetoothPbapVcardManagerTest.java97 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testGetPhonebookSize_whenTypeIsPhonebook()
129 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testGetPhonebookSize_whenTypeIsFavorites()
164 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testGetPhonebookSize_whenTypeIsSimPhonebook()
180 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testGetPhonebookSize_whenTypeIsHistory()
191 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testLoadCallHistoryList()
243 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testGetPhonebookNameList()
288 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testGetContactNamesByNumber_whenNumberIsNull()
DBluetoothPbapSimVcardManagerTest.java95 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testInit_whenCursorIsNull()
108 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testInit_whenCursorHasNoEntry()
123 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testInit_success()
389 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testComposeAndSendSIMPhonebookVcards_whenCursorInitFailed()
403 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testComposeAndSendSIMPhonebookVcards_success()
434 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testComposeAndSendSIMPhonebookOneVcard_success()
453 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in initManager()
DBluetoothPbapCallLogComposerTest.java77 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in setUp()
110 .contentResolverQuery(any(), any(), any(), any(), any(), any()); in testInit_failWhenCursorIsNull()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppUtilityTest.java96 doReturn(null).when(mCallProxy).contentResolverQuery(any(), in queryRecord_withInvalidFileUrl_returnsNull()
107 doReturn(mCursor).when(mCallProxy).contentResolverQuery(any(), in queryRecord_mockCursor_returnsInstance()
122 doReturn(mCursor).when(mCallProxy).contentResolverQuery(any(), in queryTransfersInBatch_returnsCorrectUrlArrayList()
148 doReturn(mCursor).when(mCallProxy).contentResolverQuery(any(), in openReceivedFile_fileNotExist()
174 doReturn(mCursor).when(mCallProxy).contentResolverQuery(any(), in openReceivedFile_fileExist_HandlingApplicationExist()
210 doReturn(mCursor).when(mCallProxy).contentResolverQuery(any(), in openReceivedFile_fileExist_HandlingApplicationNotExist()
DBluetoothOppReceiveFileInfoTest.java119 doReturn(mCursor).when(mCallProxy).contentResolverQuery( in generateFileInfo_wrongHint_fileError()
155 doReturn(mCursor).when(mCallProxy).contentResolverQuery( in generateFileInfo_noInsertUri_returnFileError()
183 doReturn(mCursor).when(mCallProxy).contentResolverQuery( in generateFileInfo_withInsertUri_workCorrectly()
215 doReturn(mCursor).when(mCallProxy).contentResolverQuery( in generateFileInfo_longFileName_trimFileName()
DBluetoothOppNotificationTest.java110 doReturn(cursor).when(mMethodProxy).contentResolverQuery(any(), in updateActiveNotification()
152 doReturn(cursor).when(mMethodProxy).contentResolverQuery(any(), in updateCompletedNotification_withOutBoundShare_showsNoti()
191 doReturn(cursor).when(mMethodProxy).contentResolverQuery(any(), in updateCompletedNotification_withInBoundShare_showsNoti()
228 doReturn(cursor).when(mMethodProxy).contentResolverQuery(any(), in updateIncomingFileConfirmationNotification()
DBluetoothOppSendFileInfoTest.java128 doThrow(new SecurityException()).when(mCallProxy).contentResolverQuery( in generateFileInfo_withoutPermissionForAccessingUri_returnsSendFileInfoError()
154 doReturn(mCursor).when(mCallProxy).contentResolverQuery( in generateFileInfo_withUncorrectableMismatch_returnsSendFileInfoError()
189 doReturn(mCursor).when(mCallProxy).contentResolverQuery( in generateFileInfo_withCorrectableMismatch_returnInfoWithCorrectLength()
DBluetoothOppReceiverTest.java200 doReturn(cursor).when(mBluetoothMethodProxy).contentResolverQuery(any(), any(), any(), in onReceive_withActionHide_contentUpdate()
255 doReturn(cursor).when(mBluetoothMethodProxy).contentResolverQuery(any(), any(), any(), in onReceive_withActionTransferCompletedAndHandoverInitiated_contextSendBroadcast()
297 doReturn(cursor).when(mBluetoothMethodProxy).contentResolverQuery(any(), any(), any(), in onReceive_withActionTransferComplete_noBroadcastSent()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DAtPhonebookTest.java210 doReturn(mockCursorOne).when(mHfpMethodProxy).contentResolverQuery(any(), any(), any(), in processCpbrCommand_withMobilePhonebook()
233 doReturn(mockCursorOne).when(mHfpMethodProxy).contentResolverQuery(any(), any(), any(), in processCpbrCommand_withMissedCalls()
241 doReturn(mockCursorTwo).when(mHfpMethodProxy).contentResolverQuery(any(), any(), any(), in processCpbrCommand_withMissedCalls()
265 doReturn(mockCursorOne).when(mHfpMethodProxy).contentResolverQuery(any(), any(), any(), in processCpbrCommand_withReceivcedCallsAndCharsetGsm()
273 doReturn(mockCursorTwo).when(mHfpMethodProxy).contentResolverQuery(any(), any(), any(), in processCpbrCommand_withReceivcedCallsAndCharsetGsm()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java184 contactCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in getContactsSize()
211 callCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in getCallHistorySize()
245 callCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in loadCallHistoryList()
297 contactCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in getPhonebookNameList()
356 contactCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in getSelectedPhonebookNameList()
445 contactCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in getContactNamesByNumber()
480 callCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in getCallHistoryPrimaryFolderVersion()
524 callsCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in composeAndSendSelectedCallLogVcards()
598 contactCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in composeAndSendPhonebookVcards()
642 contactCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in composeAndSendPhonebookOneVcard()
DBluetoothPbapUtils.java186 Cursor c = BluetoothMethodProxy.getInstance().contentResolverQuery( in getProfileName()
283 Cursor c = BluetoothMethodProxy.getInstance().contentResolverQuery( in updateSecondaryVersionCounter()
336 Cursor dataCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in updateSecondaryVersionCounter()
367 Cursor dataCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in updateSecondaryVersionCounter()
474 Cursor c = BluetoothMethodProxy.getInstance().contentResolverQuery( in fetchAndSetContacts()
DBluetoothPbapSimVcardManager.java114 mCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mContentResolver, in init()
268 contactCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in getSIMContactsSize()
288 contactCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in getSIMPhonebookNameList()
329 contactCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in getSIMContactNamesByNumber()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DSmsMmsContacts.java87 Cursor c = BluetoothMethodProxy.getInstance().contentResolverQuery(resolver, ADDRESS_URI, in getPhoneNumberUncached()
123 Cursor c = BluetoothMethodProxy.getInstance().contentResolverQuery(resolver, ADDRESS_URI, in fillPhoneCache()
196 Cursor c = BluetoothMethodProxy.getInstance().contentResolverQuery(resolver, uri, in getContactNameFromPhone()
DBluetoothMapContent.java1157 Cursor contacts = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in setSenderAddressing()
1239 Cursor contacts = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in setSenderName()
1311 Cursor c = BluetoothMethodProxy.getInstance().contentResolverQuery(r, uriAddress, null, in getTextPartsMms()
1433 c = BluetoothMethodProxy.getInstance().contentResolverQuery(resolver, uri, projection, in getContactNameFromPhone()
1476 cr = BluetoothMethodProxy.getInstance().contentResolverQuery(r, sAllThreadsUri, in getCanonicalAddressSms()
1509 cr = BluetoothMethodProxy.getInstance().contentResolverQuery(r, sAllCanonical, null, in getCanonicalAddressSms()
1542 c = BluetoothMethodProxy.getInstance().contentResolverQuery(r, uriAddress, projection, in getAddressMms()
2294 smsCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in msgListing()
2337 mmsCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in msgListing()
2381 emailCursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in msgListing()
[all …]
DBluetoothMapContentObserver.java1283 c = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in initMsgList()
1315 c = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, Mms.CONTENT_URI, in initMsgList()
1438 c = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in handleMsgListChangesSms()
1441 c = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in handleMsgListChangesSms()
1606 c = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in handleMsgListChangesMms()
1609 c = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, in handleMsgListChangesMms()
2304 Cursor c = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, uri, null, in deleteMessageMms()
2343 Cursor c = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, uri, null, in unDeleteMessageMms()
2398 Cursor c = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, uri, null, in deleteMessageSms()
2436 Cursor c = BluetoothMethodProxy.getInstance().contentResolverQuery(mResolver, uri, null, in unDeleteMessageSms()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppNotification.java253 Cursor cursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mContentResolver, in updateActiveNotification()
416 .contentResolverQuery(mContentResolver, BluetoothShare.CONTENT_URI, null, in updateCompletedNotification()
484 .contentResolverQuery(mContentResolver, BluetoothShare.CONTENT_URI, null, in updateCompletedNotification()
551 Cursor cursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mContentResolver, in updateIncomingFileConfirmNotification()
DBluetoothOppUtility.java95 Cursor cursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in queryRecord()
166 Cursor metadataCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in queryTransfersInBatch()
213 Cursor metadataCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in openReceivedFile()
DBluetoothOppReceiveFileInfo.java100 Cursor metadataCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in generateFileInfo()
DBluetoothOppSendFileInfo.java123 metadataCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in generateFileInfo()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DBluetoothMethodProxy.java94 public Cursor contentResolverQuery(ContentResolver contentResolver, final Uri contentUri, in contentResolverQuery() method in BluetoothMethodProxy
103 public Cursor contentResolverQuery(ContentResolver contentResolver, final Uri contentUri, in contentResolverQuery() method in BluetoothMethodProxy
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DAtPhonebook.java442 pbr.cursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mContentResolver, in queryPhonebook()
458 pbr.cursor = BluetoothMethodProxy.getInstance().contentResolverQuery(mContentResolver, in queryPhonebook()
555 Cursor c = BluetoothMethodProxy.getInstance().contentResolverQuery(mContentResolver, in processCpbrCommand()

12