| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
| D | SmsMmsContactsTest.java | 72 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()
|
| D | BluetoothMapContentTest.java | 172 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 …]
|
| D | BluetoothMapContentObserverTest.java | 454 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/ |
| D | BluetoothPbapUtilsTest.java | 168 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()
|
| D | BluetoothPbapVcardManagerTest.java | 97 .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()
|
| D | BluetoothPbapSimVcardManagerTest.java | 95 .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()
|
| D | BluetoothPbapCallLogComposerTest.java | 77 .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/ |
| D | BluetoothOppUtilityTest.java | 96 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()
|
| D | BluetoothOppReceiveFileInfoTest.java | 119 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()
|
| D | BluetoothOppNotificationTest.java | 110 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()
|
| D | BluetoothOppSendFileInfoTest.java | 128 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()
|
| D | BluetoothOppReceiverTest.java | 200 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/ |
| D | AtPhonebookTest.java | 210 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/ |
| D | BluetoothPbapVcardManager.java | 184 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()
|
| D | BluetoothPbapUtils.java | 186 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()
|
| D | BluetoothPbapSimVcardManager.java | 114 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/ |
| D | SmsMmsContacts.java | 87 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()
|
| D | BluetoothMapContent.java | 1157 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 …]
|
| D | BluetoothMapContentObserver.java | 1283 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/ |
| D | BluetoothOppNotification.java | 253 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()
|
| D | BluetoothOppUtility.java | 95 Cursor cursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in queryRecord() 166 Cursor metadataCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in queryTransfersInBatch() 213 Cursor metadataCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in openReceivedFile()
|
| D | BluetoothOppReceiveFileInfo.java | 100 Cursor metadataCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in generateFileInfo()
|
| D | BluetoothOppSendFileInfo.java | 123 metadataCursor = BluetoothMethodProxy.getInstance().contentResolverQuery( in generateFileInfo()
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/ |
| D | BluetoothMethodProxy.java | 94 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/ |
| D | AtPhonebook.java | 442 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()
|