mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Camera: Add only physical ids during multi-camera configuration
am: e0c4c497b3
Change-Id: I37301624258c8e80eaddb21c4c7788063a17e7fd
This commit is contained in:
@@ -3480,11 +3480,10 @@ TEST_F(CameraHidlTest, processMultiCaptureRequestPreview) {
|
||||
ret = session->close();
|
||||
ASSERT_TRUE(ret.isOk());
|
||||
|
||||
// Leave only 2 physical devices in the id set.
|
||||
auto it = physicalIds.begin();
|
||||
string physicalDeviceId = *it;
|
||||
// Leave only the first physical device in the id set and insert the logical device.
|
||||
string physicalDeviceId = *it; it++;
|
||||
physicalIds.erase(++it, physicalIds.end());
|
||||
physicalIds.emplace(deviceId);
|
||||
ASSERT_EQ(physicalIds.size(), 2u);
|
||||
|
||||
V3_4::HalStreamConfiguration halStreamConfig;
|
||||
|
||||
Reference in New Issue
Block a user