Searched refs:mPbapMethodProxy (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManagerTest.java | 62 @Spy BluetoothMethodProxy mPbapMethodProxy = BluetoothMethodProxy.getInstance(); field in BluetoothPbapVcardManagerTest 69 BluetoothMethodProxy.setInstanceForTesting(mPbapMethodProxy); in setUp() 99 .when(mPbapMethodProxy) in testGetPhonebookSize_whenTypeIsPhonebook() 142 .when(mPbapMethodProxy) in testGetPhonebookSize_whenTypeIsFavorites() 196 .when(mPbapMethodProxy) in testGetPhonebookSize_whenTypeIsSimPhonebook() 215 .when(mPbapMethodProxy) in testGetPhonebookSize_whenTypeIsHistory() 228 .when(mPbapMethodProxy) in testLoadCallHistoryList() 299 .when(mPbapMethodProxy) in testGetPhonebookNameList() 358 .when(mPbapMethodProxy) in testGetContactNamesByNumber_whenNumberIsNull()
|
D | BluetoothPbapObexServerTest.java | 92 @Spy BluetoothMethodProxy mPbapMethodProxy = BluetoothMethodProxy.getInstance(); field in BluetoothPbapObexServerTest 113 BluetoothMethodProxy.setInstanceForTesting(mPbapMethodProxy); in setUp() 131 doThrow(IOException.class).when(mPbapMethodProxy).getHeader(request, HeaderSet.TARGET); in testOnConnect_whenIoExceptionIsThrownFromGettingTargetHeader() 173 doThrow(IOException.class).when(mPbapMethodProxy).getHeader(request, HeaderSet.WHO); in testOnConnect_whenIoExceptionIsThrownFromGettingWhoHeader() 187 .when(mPbapMethodProxy) in testOnConnect_whenIoExceptionIsThrownFromGettingApplicationParameterHeader() 310 doThrow(IOException.class).when(mPbapMethodProxy).getHeader(request, HeaderSet.NAME); in testOnSetPath_whenIoExceptionIsThrownFromGettingNameHeader() 364 .when(mPbapMethodProxy) in testOnGet_whenIoExceptionIsThrownFromGettingApplicationParameterHeader() 388 doReturn(userManager).when(mPbapMethodProxy).getSystemService(any(), eq(UserManager.class)); in testOnGet_whenUserIsNotUnlocked() 402 doReturn(userManager).when(mPbapMethodProxy).getSystemService(any(), eq(UserManager.class)); in testOnGet_whenNameIsNotSet_andCurrentPathIsTelecom_andTypeIsListing() 418 doReturn(userManager).when(mPbapMethodProxy).getSystemService(any(), eq(UserManager.class)); in testOnGet_whenNameIsNotSet_andCurrentPathIsInvalid() [all …]
|
D | BluetoothPbapSimVcardManagerTest.java | 67 @Spy BluetoothMethodProxy mPbapMethodProxy = BluetoothMethodProxy.getInstance(); field in BluetoothPbapSimVcardManagerTest 76 BluetoothMethodProxy.setInstanceForTesting(mPbapMethodProxy); in setUp() 96 .when(mPbapMethodProxy) in testInit_whenCursorIsNull() 109 .when(mPbapMethodProxy) in testInit_whenCursorHasNoEntry() 124 .when(mPbapMethodProxy) in testInit_success() 448 .when(mPbapMethodProxy) in testComposeAndSendSIMPhonebookVcards_whenCursorInitFailed() 469 .when(mPbapMethodProxy) in testComposeAndSendSIMPhonebookVcards_success() 512 .when(mPbapMethodProxy) in testComposeAndSendSIMPhonebookOneVcard_success() 537 .when(mPbapMethodProxy) in initManager()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapObexServer.java | 216 private BluetoothMethodProxy mPbapMethodProxy; field in BluetoothPbapObexServer 247 mPbapMethodProxy = BluetoothMethodProxy.getInstance(); in BluetoothPbapObexServer() 255 byte[] uuid = (byte[]) mPbapMethodProxy.getHeader(request, HeaderSet.TARGET); in onConnect() 294 byte[] remote = (byte[]) mPbapMethodProxy.getHeader(request, HeaderSet.WHO); in onConnect() 312 (byte[]) mPbapMethodProxy.getHeader(request, HeaderSet.APPLICATION_PARAMETER); in onConnect() 373 tmpPath = (String) mPbapMethodProxy.getHeader(request, HeaderSet.NAME); in onSetPath() 443 type = (String) mPbapMethodProxy.getHeader(request, HeaderSet.TYPE); in onGet() 444 name = (String) mPbapMethodProxy.getHeader(request, HeaderSet.NAME); in onGet() 446 (byte[]) mPbapMethodProxy.getHeader(request, HeaderSet.APPLICATION_PARAMETER); in onGet() 466 if (!mPbapMethodProxy.getSystemService(mContext, UserManager.class).isUserUnlocked()) { in onGet()
|