Searched refs:BluetoothPbapObexServer (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapObexServerTest.java | 62 import com.android.bluetooth.pbap.BluetoothPbapObexServer.AppParamValue; 94 BluetoothPbapObexServer mServer; 115 new BluetoothPbapObexServer( in setUp() 170 request.setHeader(HeaderSet.TARGET, BluetoothPbapObexServer.PBAP_TARGET); in testOnConnect_whenIoExceptionIsThrownFromGettingWhoHeader() 183 request.setHeader(HeaderSet.TARGET, BluetoothPbapObexServer.PBAP_TARGET); in testOnConnect_whenIoExceptionIsThrownFromGettingApplicationParameterHeader() 197 request.setHeader(HeaderSet.TARGET, BluetoothPbapObexServer.PBAP_TARGET); in testOnConnect_whenApplicationParameterIsWrong() 210 request.setHeader(HeaderSet.TARGET, BluetoothPbapObexServer.PBAP_TARGET); in testOnConnect_success() 260 assertThat(BluetoothPbapObexServer.closeStream(outputStream, operation)).isTrue(); in testCloseStream_success() 271 assertThat(BluetoothPbapObexServer.closeStream(outputStream, operation)).isFalse(); in testCloseStream_failOnClosingOutputStream() 280 assertThat(BluetoothPbapObexServer.closeStream(outputStream, operation)).isFalse(); in testCloseStream_failOnClosingOperation() [all …]
|
D | BluetoothPbapVcardManagerTest.java | 134 assertThat(mManager.getPhonebookSize(BluetoothPbapObexServer.ContentType.PHONEBOOK, null)) in testGetPhonebookSize_whenTypeIsPhonebook() 188 assertThat(mManager.getPhonebookSize(BluetoothPbapObexServer.ContentType.FAVORITES, null)) in testGetPhonebookSize_whenTypeIsFavorites() 204 BluetoothPbapObexServer.ContentType.SIM_PHONEBOOK, simVcardManager)) in testGetPhonebookSize_whenTypeIsSimPhonebook() 220 BluetoothPbapObexServer.ContentType.INCOMING_CALL_HISTORY, null)) in testGetPhonebookSize_whenTypeIsHistory() 288 BluetoothPbapObexServer.ContentType.INCOMING_CALL_HISTORY)) in testLoadCallHistoryList() 350 assertThat(mManager.getPhonebookNameList(BluetoothPbapObexServer.ORDER_BY_ALPHABETICAL)) in testGetPhonebookNameList()
|
D | BluetoothPbapSimVcardManagerTest.java | 294 mManager.getSIMPhonebookNameList(BluetoothPbapObexServer.ORDER_BY_INDEXED); in testGetSIMPhonebookNameList_orderByIndexed() 346 mManager.getSIMPhonebookNameList(BluetoothPbapObexServer.ORDER_BY_ALPHABETICAL); in testGetSIMPhonebookNameList_orderByAlphabet() 501 BluetoothPbapObexServer.ORDER_BY_INDEXED); in testComposeAndSendSIMPhonebookOneVcard_whenOffsetIsNotCorrect() 527 BluetoothPbapObexServer.ORDER_BY_INDEXED); in testComposeAndSendSIMPhonebookOneVcard_success()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManager.java | 135 case BluetoothPbapObexServer.ContentType.PHONEBOOK: in getPhonebookSize() 136 case BluetoothPbapObexServer.ContentType.FAVORITES: in getPhonebookSize() 139 case BluetoothPbapObexServer.ContentType.SIM_PHONEBOOK: in getPhonebookSize() 159 if (type == BluetoothPbapObexServer.ContentType.FAVORITES) { in getContactsSize() 176 if (type == BluetoothPbapObexServer.ContentType.PHONEBOOK) { in getContactsSize() 197 String selection = BluetoothPbapObexServer.createSelectionPara(type); in getCallHistorySize() 235 String selection = BluetoothPbapObexServer.createSelectionPara(type); in loadCallHistoryList() 303 if (orderByWhat == BluetoothPbapObexServer.ORDER_BY_ALPHABETICAL) { in getPhonebookNameList() 458 if (orderByWhat == BluetoothPbapObexServer.ORDER_BY_INDEXED) { in getSelectedPhonebookNameList() 461 } else if (orderByWhat == BluetoothPbapObexServer.ORDER_BY_ALPHABETICAL) { in getSelectedPhonebookNameList() [all …]
|
D | BluetoothPbapSimVcardManager.java | 326 if (orderByWhat == BluetoothPbapObexServer.ORDER_BY_INDEXED) { in getSIMPhonebookNameList() 328 } else if (orderByWhat == BluetoothPbapObexServer.ORDER_BY_ALPHABETICAL) { in getSIMPhonebookNameList() 424 if (BluetoothPbapObexServer.sIsAborted) { in composeAndSendSIMPhonebookVcards() 426 BluetoothPbapObexServer.sIsAborted = false; in composeAndSendSIMPhonebookVcards() 483 if (orderByWhat == BluetoothPbapObexServer.ORDER_BY_INDEXED) { in composeAndSendSIMPhonebookOneVcard() 485 } else if (orderByWhat == BluetoothPbapObexServer.ORDER_BY_ALPHABETICAL) { in composeAndSendSIMPhonebookOneVcard() 488 if (BluetoothPbapObexServer.sIsAborted) { in composeAndSendSIMPhonebookOneVcard() 490 BluetoothPbapObexServer.sIsAborted = false; in composeAndSendSIMPhonebookOneVcard()
|
D | PbapStateMachine.java | 87 private BluetoothPbapObexServer mPbapServer; 270 new BluetoothPbapObexServer(mServiceHandler, mService, PbapStateMachine.this); in rejectConnection() 384 new BluetoothPbapObexServer(mServiceHandler, mService, PbapStateMachine.this); in startObexServerSession()
|
D | BluetoothPbapObexServer.java | 52 public class BluetoothPbapObexServer extends ServerRequestHandler { class 239 public BluetoothPbapObexServer( in BluetoothPbapObexServer() method in BluetoothPbapObexServer 1518 if (appParamValue.needTag == BluetoothPbapObexServer.ContentType.PHONEBOOK) { in pullPhonebook() 1539 if ((appParamValue.needTag != BluetoothPbapObexServer.ContentType.PHONEBOOK) in pullPhonebook() 1540 && (appParamValue.needTag != BluetoothPbapObexServer.ContentType.FAVORITES) in pullPhonebook() 1541 && (appParamValue.needTag != BluetoothPbapObexServer.ContentType.SIM_PHONEBOOK)) { in pullPhonebook() 1558 (appParamValue.needTag == BluetoothPbapObexServer.ContentType.FAVORITES); in pullPhonebook() 1559 if ((appParamValue.needTag == BluetoothPbapObexServer.ContentType.PHONEBOOK) || favorites) { in pullPhonebook() 1599 } else if (appParamValue.needTag == BluetoothPbapObexServer.ContentType.SIM_PHONEBOOK) { in pullPhonebook()
|
D | HandlerForStringBuffer.java | 82 boolean result = BluetoothPbapObexServer.closeStream(mOutputStream, mOperation); in terminate()
|