Searched refs:BTAdapterUtils (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BasicAdapterTest.java | 139 assertTrue(BTAdapterUtils.disableAdapter(adapter, mContext)); in test_enableDisable() 140 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_enableDisable() 150 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_getAddress() 161 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_setName_getName() 192 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_getBondedDevices() 208 assertTrue(BTAdapterUtils.disableAdapter(adapter, mContext)); in test_getRemoteDevice() 244 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_listenUsingRfcommWithServiceRecord()
|
D | BluetoothLeAudioTest.java | 63 assertTrue(BTAdapterUtils.enableAdapter(mAdapter, mContext)); in setUp() 92 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in tearDown() 103 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in testGetConnectedDevices() 116 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in testGetDevicesMatchingConnectionStates() 136 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in testGetConnectionState()
|
D | BluetoothDeviceTest.java | 46 assertTrue(BTAdapterUtils.enableAdapter(mAdapter, mContext)); in setUp() 54 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in tearDown()
|
D | LeL2capSocketTest.java | 42 assertTrue(BTAdapterUtils.enableAdapter(mAdapter, mContext)); in setUp() 51 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in tearDown()
|
D | HearingAidProfileTest.java | 83 if (!BTAdapterUtils.enableAdapter(mBluetoothAdapter, mContext)) { in setUp() 102 if (!BTAdapterUtils.disableAdapter(mBluetoothAdapter, mContext)) { in tearDown() 227 assertTrue(BTAdapterUtils.disableAdapter(mBluetoothAdapter, mContext)); in test_getConnectionStateChangedIntent() 230 assertTrue(BTAdapterUtils.enableAdapter(mBluetoothAdapter, mContext)); in test_getConnectionStateChangedIntent()
|
D | BluetoothLeScanTest.java | 83 assertTrue(BTAdapterUtils.enableAdapter(mBluetoothAdapter, mContext)); in setUp() 104 assertTrue(BTAdapterUtils.disableAdapter(mBluetoothAdapter, mContext)); in tearDown()
|
/cts/tests/tests/permission3/src/android/permission3/cts/ |
D | PermissionTest30WithBluetooth.kt | 25 import android.bluetooth.cts.BTAdapterUtils 76 assertTrue(BTAdapterUtils.enableAdapter(bluetoothAdapter, context)) in enableBluetooth() 87 assertTrue(BTAdapterUtils.disableAdapter(bluetoothAdapter, context)) in disableBluetooth()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NearbyDevicesRenouncePermissionTest.java | 36 import android.bluetooth.cts.BTAdapterUtils; 91 assertTrue(BTAdapterUtils.enableAdapter(mBluetoothAdapter, mContext)); in enableBluetooth() 100 assertTrue(BTAdapterUtils.disableAdapter(mBluetoothAdapter, mContext)); in disableBluetooth()
|
D | NearbyDevicesPermissionTest.java | 36 import android.bluetooth.cts.BTAdapterUtils; 94 assertTrue(BTAdapterUtils.enableAdapter(mBluetoothAdapter, mContext)); in enableBluetooth() 103 assertTrue(BTAdapterUtils.disableAdapter(mBluetoothAdapter, mContext)); in disableBluetooth()
|
/cts/tests/tests/bluetooth/bluetoothTestUtilLib/src/android/bluetooth/cts/ |
D | BTAdapterUtils.java | 41 public class BTAdapterUtils { class
|