Searched refs:enableAdapter (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BasicAdapterTest.java | 145 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_enableDisable() 155 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_getAddress() 166 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_setName_getName() 191 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_getBondedDevices() 243 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_listenUsingRfcommWithServiceRecord()
|
D | HearingAidProfileTest.java | 83 if (!BTAdapterUtils.enableAdapter(mBluetoothAdapter, mContext)) { in setUp() 230 assertTrue(BTAdapterUtils.enableAdapter(mBluetoothAdapter, mContext)); in test_getConnectionStateChangedIntent()
|
D | LeL2capSocketTest.java | 42 assertTrue(BTAdapterUtils.enableAdapter(mAdapter, mContext)); in setUp()
|
D | BluetoothLeScanTest.java | 83 assertTrue(BTAdapterUtils.enableAdapter(mBluetoothAdapter, mContext)); in setUp()
|
/cts/tests/tests/bluetooth/bluetoothTestUtilLib/src/android/bluetooth/cts/ |
D | BTAdapterUtils.java | 90 public static boolean enableAdapter(BluetoothAdapter bluetoothAdapter, Context context) { in enableAdapter() method in BTAdapterUtils
|