Home
last modified time | relevance | path

Searched refs:BluetoothPbapSimVcardManager (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapSimVcardManagerTest.java70 BluetoothPbapSimVcardManager mManager;
78 mManager = new BluetoothPbapSimVcardManager(mContext); in setUp()
90 .isEqualTo(BluetoothPbapSimVcardManager.FAILURE_REASON_UNSUPPORTED_URI); in testInit_whenUriIsUnsupported()
99 assertThat(mManager.init(BluetoothPbapSimVcardManager.SIM_URI, null, null, null)).isFalse(); in testInit_whenCursorIsNull()
101 .isEqualTo(BluetoothPbapSimVcardManager.FAILURE_REASON_FAILED_TO_GET_DATABASE_INFO); in testInit_whenCursorIsNull()
112 assertThat(mManager.init(BluetoothPbapSimVcardManager.SIM_URI, null, null, null)).isFalse(); in testInit_whenCursorHasNoEntry()
115 .isEqualTo(BluetoothPbapSimVcardManager.FAILURE_REASON_NO_ENTRY); in testInit_whenCursorHasNoEntry()
127 assertThat(mManager.init(BluetoothPbapSimVcardManager.SIM_URI, null, null, null)).isTrue(); in testInit_success()
128 assertThat(mManager.getErrorReason()).isEqualTo(BluetoothPbapSimVcardManager.NO_ERROR); in testInit_success()
135 .isEqualTo(BluetoothPbapSimVcardManager.FAILURE_REASON_NOT_INITIALIZED); in testCreateOneEntry_whenNotInitialized()
[all …]
DBluetoothPbapVcardManagerTest.java200 BluetoothPbapSimVcardManager simVcardManager = mock(BluetoothPbapSimVcardManager.class); in testGetPhonebookSize_whenTypeIsSimPhonebook()
DBluetoothPbapObexServerTest.java536 mServer.setCurrentPath(BluetoothPbapSimVcardManager.SIM_PATH); in testOnGet_whenSimPhoneBook()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapSimVcardManager.java52 public class BluetoothPbapSimVcardManager { class
96 public BluetoothPbapSimVcardManager(final Context context) { in BluetoothPbapSimVcardManager() method in BluetoothPbapSimVcardManager
413 BluetoothPbapSimVcardManager composer = null; in composeAndSendSIMPhonebookVcards()
416 composer = new BluetoothPbapSimVcardManager(context); in composeAndSendSIMPhonebookVcards()
475 BluetoothPbapSimVcardManager composer = null; in composeAndSendSIMPhonebookOneVcard()
478 composer = new BluetoothPbapSimVcardManager(context); in composeAndSendSIMPhonebookOneVcard()
DBluetoothPbapObexServer.java192 BluetoothPbapSimVcardManager mVcardSimManager;
245 mVcardSimManager = new BluetoothPbapSimVcardManager(mContext); in BluetoothPbapObexServer()
1441 return BluetoothPbapSimVcardManager.composeAndSendSIMPhonebookOneVcard( in pullVcardEntry()
1607 return BluetoothPbapSimVcardManager.composeAndSendSIMPhonebookVcards( in pullPhonebook()
1611 return BluetoothPbapSimVcardManager.composeAndSendSIMPhonebookVcards( in pullPhonebook()
DBluetoothPbapVcardManager.java132 final int type, BluetoothPbapSimVcardManager vCardSimManager) { in getPhonebookSize()