Home
last modified time | relevance | path

Searched refs:device2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp435 uint32_t device2 = AUDIO_DEVICE_NONE; in getDeviceForStrategyInt() local
436 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT; in getDeviceForStrategyInt()
437 if (device2 == AUDIO_DEVICE_NONE) { in getDeviceForStrategyInt()
438 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET; in getDeviceForStrategyInt()
440 if (device2 == AUDIO_DEVICE_NONE) { in getDeviceForStrategyInt()
441 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_BLUETOOTH_SCO; in getDeviceForStrategyInt()
448 if (device2 != AUDIO_DEVICE_NONE) { in getDeviceForStrategyInt()
449 device = device2; in getDeviceForStrategyInt()
462 if (device2 != AUDIO_DEVICE_NONE) { in getDeviceForStrategyInt()
463 device |= device2; in getDeviceForStrategyInt()
[all …]
/frameworks/native/vulkan/vkjson/
Dvkjson_unittest.cc74 const VkJsonDevice& device2 = instance2.devices.at(0); in main() local
76 EXPECT(!memcmp(&device.properties, &device2.properties, in main()
79 auto it = device2.formats.find(kv.first); in main()
80 EXPECT(it != device2.formats.end()); in main()