Home
last modified time | relevance | path

Searched refs:secondDevice (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java599 BluetoothDevice secondDevice = getTestDevice(mAdapter, 1); in testLateConnectOfLeAudioEnabled_DualModeBud() local
600 connectedDevices.add(secondDevice); in testLateConnectOfLeAudioEnabled_DualModeBud()
603 mPhonePolicy.onUuidsDiscovered(secondDevice, uuids); in testLateConnectOfLeAudioEnabled_DualModeBud()
606 secondDevice, in testLateConnectOfLeAudioEnabled_DualModeBud()
614 eq(secondDevice), eq(BluetoothProfile.CONNECTION_POLICY_ALLOWED)); in testLateConnectOfLeAudioEnabled_DualModeBud()
616 mPhonePolicy.profileActiveDeviceChanged(BluetoothProfile.LE_AUDIO, secondDevice); in testLateConnectOfLeAudioEnabled_DualModeBud()
621 eq(secondDevice), eq(BluetoothProfile.CONNECTION_POLICY_FORBIDDEN)); in testLateConnectOfLeAudioEnabled_DualModeBud()
624 eq(secondDevice), eq(BluetoothProfile.CONNECTION_POLICY_FORBIDDEN)); in testLateConnectOfLeAudioEnabled_DualModeBud()
716 BluetoothDevice secondDevice = getTestDevice(mAdapter, 1); in testLateConnectOfLeAudioEnabled_AshaAndLeAudioBud() local
717 connectedDevices.add(secondDevice); in testLateConnectOfLeAudioEnabled_AshaAndLeAudioBud()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java709 BluetoothDevice secondDevice = connectedDevices.get(1); in testConnectAudio_connectTwoAudioChannelsShouldFail() local
725 mHeadsetService.connectAudio(secondDevice)); in testConnectAudio_connectTwoAudioChannelsShouldFail()
726 verify(mStateMachines.get(secondDevice), never()) in testConnectAudio_connectTwoAudioChannelsShouldFail()
727 .sendMessage(HeadsetStateMachine.CONNECT_AUDIO, secondDevice); in testConnectAudio_connectTwoAudioChannelsShouldFail()
734 mHeadsetService.connectAudio(secondDevice)); in testConnectAudio_connectTwoAudioChannelsShouldFail()
735 verify(mStateMachines.get(secondDevice), never()) in testConnectAudio_connectTwoAudioChannelsShouldFail()
736 .sendMessage(HeadsetStateMachine.CONNECT_AUDIO, secondDevice); in testConnectAudio_connectTwoAudioChannelsShouldFail()
/packages/modules/Bluetooth/system/bta/le_audio/
Dstate_machine_test.cc4173 auto* secondDevice = group->GetNextDevice(firstDevice); in TEST_F() local
4196 EXPECT_CALL(gatt_queue, WriteCharacteristic(secondDevice->conn_id_, in TEST_F()
4197 secondDevice->ctp_hdls_.val_hdl, in TEST_F()
4239 auto* secondDevice = group->GetNextDevice(firstDevice); in TEST_F() local
4262 EXPECT_CALL(gatt_queue, WriteCharacteristic(secondDevice->conn_id_, in TEST_F()
4263 secondDevice->ctp_hdls_.val_hdl, in TEST_F()
4297 auto* secondDevice = group->GetNextDevice(firstDevice); in TEST_F() local
4323 EXPECT_CALL(gatt_queue, WriteCharacteristic(secondDevice->conn_id_, in TEST_F()
4324 secondDevice->ctp_hdls_.val_hdl, in TEST_F()
4381 for (auto& ase : secondDevice->ases_) { in TEST_F()
[all …]