Home
last modified time | relevance | path

Searched refs:aidlDesc (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/cpp/evs/manager/aidl/wrappers/src/
DHidlDisplay.cpp51 DisplayDesc aidlDesc; in getDisplayInfo() local
52 if (auto status = mAidlDisplay->getDisplayInfo(&aidlDesc); !status.isOk()) { in getDisplayInfo()
59 .displayId = aidlDesc.id, in getDisplayInfo()
60 .vendorFlags = static_cast<uint32_t>(aidlDesc.vendorFlags), in getDisplayInfo()
145 DisplayDesc aidlDesc; in getDisplayInfo_1_1() local
146 if (auto status = mAidlDisplay->getDisplayInfo(&aidlDesc); !status.isOk()) { in getDisplayInfo_1_1()
156 pMode->resolution.width = aidlDesc.width; in getDisplayInfo_1_1()
157 pMode->resolution.height = aidlDesc.height; in getDisplayInfo_1_1()
158 pState->orientation = static_cast<::android::ui::Rotation>(aidlDesc.orientation); in getDisplayInfo_1_1()
DHidlCamera.cpp56 CameraDesc aidlDesc; in getCameraInfo() local
57 if (auto status = mAidlCamera->getCameraInfo(&aidlDesc); !status.isOk()) { in getCameraInfo()
64 _hidl_cb(std::move(Utils::makeToHidlV1_0(aidlDesc))); in getCameraInfo()
178 CameraDesc aidlDesc; in getCameraInfo_1_1() local
179 if (auto status = mAidlCamera->getCameraInfo(&aidlDesc); !status.isOk()) { in getCameraInfo_1_1()
186 _hidl_cb(std::move(Utils::makeToHidlV1_1(aidlDesc))); in getCameraInfo_1_1()
198 CameraDesc aidlDesc; in getPhysicalCameraInfo() local
199 if (auto status = mAidlCamera->getPhysicalCameraInfo(deviceId, &aidlDesc); !status.isOk()) { in getPhysicalCameraInfo()
206 _hidl_cb(Utils::makeToHidlV1_1(aidlDesc)); in getPhysicalCameraInfo()
/packages/services/Car/cpp/evs/manager/aidl/utils/src/
DUtils.cpp168 HIDLHardwareBufferDescription Utils::makeToHidl(const HardwareBufferDescription& aidlDesc) { in makeToHidl() argument
171 pDesc->width = aidlDesc.width; in makeToHidl()
172 pDesc->height = aidlDesc.height; in makeToHidl()
173 pDesc->layers = aidlDesc.layers; in makeToHidl()
174 pDesc->format = static_cast<uint32_t>(aidlDesc.format); in makeToHidl()
175 pDesc->usage = static_cast<uint64_t>(aidlDesc.usage); in makeToHidl()
176 pDesc->stride = aidlDesc.stride; in makeToHidl()
259 CameraDesc aidlDesc = { in makeFromHidl() local
264 return std::move(aidlDesc); in makeFromHidl()
268 CameraDesc aidlDesc = { in makeFromHidl() local
[all …]
/packages/services/Car/cpp/evs/manager/aidl/utils/include/
DUtils.h106 const aidlgfx::common::HardwareBuffer& aidlDesc, bool doDup = true);
109 const aidlgfx::common::HardwareBufferDescription& aidlDesc);
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DEvsEnumeratorHidlUnitTest.cpp256 ::aidl::android::hardware::automotive::evs::DisplayDesc aidlDesc = Utils::makeFromHidl(desc); in TEST_F()
257 EXPECT_EQ(aidlDesc.id, desc.displayId); in TEST_F()
258 EXPECT_EQ(aidlDesc.vendorFlags, desc.vendorFlags); in TEST_F()