Searched refs:preferredDevice (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CsipDeviceManagerTest.java | 267 CachedBluetoothDevice preferredDevice = null; in addMemberDevicesIntoMainDevice_noPreferredDevice_returnFalseAndNoChangeList() local 273 assertThat(mCsipDeviceManager.addMemberDevicesIntoMainDevice(GROUP1, preferredDevice)) in addMemberDevicesIntoMainDevice_noPreferredDevice_returnFalseAndNoChangeList() 285 CachedBluetoothDevice preferredDevice = mCachedDevice1; in addMemberDevicesIntoMainDevice_preferredDeviceIsMainAndNoOtherInList_noChangeList() local 291 assertThat(mCsipDeviceManager.addMemberDevicesIntoMainDevice(GROUP1, preferredDevice)) in addMemberDevicesIntoMainDevice_preferredDeviceIsMainAndNoOtherInList_noChangeList() 302 CachedBluetoothDevice preferredDevice = mCachedDevice1; in addMemberDevicesIntoMainDevice_preferredDeviceIsMainAndTwoMain_returnTrue() local 305 mCachedDevices.add(preferredDevice); in addMemberDevicesIntoMainDevice_preferredDeviceIsMainAndTwoMain_returnTrue() 309 assertThat(mCsipDeviceManager.addMemberDevicesIntoMainDevice(GROUP1, preferredDevice)) in addMemberDevicesIntoMainDevice_preferredDeviceIsMainAndTwoMain_returnTrue() 311 assertThat(mCachedDevices.contains(preferredDevice)).isTrue(); in addMemberDevicesIntoMainDevice_preferredDeviceIsMainAndTwoMain_returnTrue() 314 assertThat(preferredDevice.getMemberDevice()).contains(mCachedDevice2); in addMemberDevicesIntoMainDevice_preferredDeviceIsMainAndTwoMain_returnTrue() 321 CachedBluetoothDevice preferredDevice = mCachedDevice2; in addMemberDevicesIntoMainDevice_preferredDeviceIsMember_returnTrue() local [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.cpp | 413 const sp<DeviceDescriptor> &preferredDevice, in getOutputDevicesForAttributes() argument 417 if (preferredDevice != nullptr) { in getOutputDevicesForAttributes() 418 ALOGV("%s explicit Routing on device %s", __func__, preferredDevice->toString().c_str()); in getOutputDevicesForAttributes() 419 return DeviceVector(preferredDevice); in getOutputDevicesForAttributes()
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.cpp | 845 const sp<DeviceDescriptor> &preferredDevice, in getOutputDevicesForAttributes() argument 849 if (preferredDevice != nullptr) { in getOutputDevicesForAttributes() 850 ALOGV("%s explicit Routing on device %s", __func__, preferredDevice->toString().c_str()); in getOutputDevicesForAttributes() 851 return DeviceVector(preferredDevice); in getOutputDevicesForAttributes()
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 3336 sp<DeviceDescriptor> preferredDevice = nullptr; in TEST_F() local 3339 preferredDevice = device; in TEST_F() 3343 ASSERT_NE(nullptr, preferredDevice); in TEST_F() 3348 {preferredDevice->getDeviceTypeAddr()})); in TEST_F() 3354 ASSERT_EQ(preferredDevice, availableDevices.getDeviceFromId(selectedDeviceId)); in TEST_F()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 8731 sp<DeviceDescriptor> preferredDevice = in areAllActiveTracksRerouted() local 8734 client->attributes(), preferredDevice, false) == routedDevices) { in areAllActiveTracksRerouted()
|