Home
last modified time | relevance | path

Searched refs:disableAdapter (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothHeadsetTest.java170 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in isAudioConnected()
186 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in isNoiseReductionSupported()
202 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in isVoiceRecognitionSupported()
225 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in sendVendorSpecificResultCode()
243 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in connect()
261 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in disconnect()
279 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionPolicy()
302 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setConnectionPolicy()
337 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in connectAudio()
353 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in disconnectAudio()
[all …]
DBluetoothHidHostTest.java146 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedDevices()
159 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDevicesMatchingConnectionStates()
180 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionState()
200 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionPolicy()
227 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setConnectionPolicy()
252 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getPreferredTransportTest()
298 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setPreferredTransportTest()
DBluetoothMapClientTest.java145 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedDevices()
164 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionPolicy()
183 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionState()
196 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDevicesMatchingConnectionStates()
224 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in sendMessage()
245 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setConnectionPolicy()
DBluetoothPbapClientTest.java130 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedDevices()
149 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionPolicy()
168 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionState()
181 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDevicesMatchingConnectionStates()
203 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setConnectionPolicy()
DBluetoothDeviceTest.java163 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setAlias_getAlias()
222 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getBatteryLevel()
237 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in isBondingInitiatedLocally()
263 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setPin()
286 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in cancelBondProcess()
299 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in createBond()
330 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getUuids()
346 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in isEncrypted()
362 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in removeBond()
382 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setPinByteArray()
[all …]
DBluetoothMapTest.java133 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedDevices()
152 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionPolicy()
171 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionState()
184 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDevicesMatchingConnectionStates()
206 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setConnectionPolicy()
DBluetoothPbapTest.java133 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedDevices()
152 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionState()
165 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDevicesMatchingConnectionStates()
187 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setConnectionPolicy()
DBluetoothHeadsetClientTest.java131 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedDevices()
144 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDevicesMatchingConnectionStates()
164 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionState()
183 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionPolicy()
204 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setConnectionPolicy()
DBluetoothPanTest.java129 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedDevices()
142 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDevicesMatchingConnectionStates()
162 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionState()
183 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setConnectionPolicy()
DBluetoothHidDeviceTest.java145 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDevicesMatchingConnectionStates()
165 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionState()
204 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedDevices()
225 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setConnectionPolicy()
DBluetoothVolumeControlTest.java220 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedDevices()
233 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDevicesMatchingConnectionStates()
313 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in isVolumeOffsetAvailable()
331 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getNumberOfVolumeOffsetInstances()
436 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionState()
457 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionPolicy()
480 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setConnectionPolicy()
DBluetoothLeAudioTest.java191 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedDevices()
204 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDevicesMatchingConnectionStates()
224 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionState()
239 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getAudioLocation()
254 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in isInbandRingtoneEnabled()
364 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedGroupLeadDevice()
DBluetoothA2dpTest.java283 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionPolicy()
305 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setConnectionPolicy()
323 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDynamicBufferSupport()
337 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getBufferConstraints()
352 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setBufferLengthMillis()
DBluetoothCsipSetCoordinatorTest.java194 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedDevices()
207 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDevicesMatchingConnectionStates()
242 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getGroupUuidMapByDevice()
319 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getAllGroupIds()
DBluetoothA2dpSinkTest.java172 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionPolicy()
193 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in setConnectionPolicy()
211 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in isAudioPlaying()
DBluetoothAdapterTest.java187 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in enableDisable()
241 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getBondedDevices()
282 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getRemoteDevice()
308 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getRemoteLeDevice()
410 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in discoverableTimeout()
434 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionState()
448 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getMostRecentlyConnectedDevices()
465 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getUuids()
556 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in clearBluetooth()
DBluetoothLeBroadcastAssistantTest.java296 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getAllSources()
514 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectedDevices()
539 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getDevicesMatchingConnectionStates()
560 assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext)); in getConnectionState()
DBluetoothCddTest.java73 assertThat(BTAdapterUtils.disableAdapter(mAdapter, mContext)).isTrue(); in tearDown()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBtAdapterUtils.java124 public static boolean disableAdapter(BluetoothAdapter bluetoothAdapter, Context context) { in disableAdapter() method in BtAdapterUtils
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsLoggingTest.kt41 import android.bluetooth.cts.BTAdapterUtils.disableAdapter as disableBTAdapter