Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/hidl/
DUtils.cpp199 for (auto &statusAndId : src) { in convertToHidl() local
201 a.cameraId = statusAndId.cameraId; in convertToHidl()
202 a.deviceStatus = convertToHidlCameraDeviceStatus(statusAndId.status); in convertToHidl()
211 for (const auto &statusAndId : src) { in convertToHidl() local
213 a.v2_0.cameraId = statusAndId.cameraId; in convertToHidl()
214 a.v2_0.deviceStatus = convertToHidlCameraDeviceStatus(statusAndId.status); in convertToHidl()
215 size_t numUnvailPhysicalCameras = statusAndId.unavailablePhysicalIds.size(); in convertToHidl()
218 a.unavailPhysicalCameraIds[j] = statusAndId.unavailablePhysicalIds[j]; in convertToHidl()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp102 virtual Return<void> onStatusChanged(const CameraStatusAndId& statusAndId) override { in onStatusChanged() argument
104 mCameraStatuses[statusAndId.cameraId] = statusAndId.deviceStatus; in onStatusChanged()
118 virtual Return<void> onStatusChanged(const CameraStatusAndId& statusAndId) override { in onStatusChanged() argument
120 mCameraStatuses[statusAndId.cameraId] = statusAndId.deviceStatus; in onStatusChanged()
125 const PhysicalCameraStatusAndId& statusAndId) override { in onPhysicalCameraStatusChanged() argument
128 statusAndId.cameraId.c_str(), statusAndId.physicalCameraId.c_str(), in onPhysicalCameraStatusChanged()
129 statusAndId.deviceStatus); in onPhysicalCameraStatusChanged()
131 EXPECT_NE(mCameraStatuses.find(statusAndId.cameraId), mCameraStatuses.end()); in onPhysicalCameraStatusChanged()
132 EXPECT_EQ(mCameraStatuses[statusAndId.cameraId], CameraDeviceStatus::STATUS_PRESENT); in onPhysicalCameraStatusChanged()
134 if (statusAndId.deviceStatus == CameraDeviceStatus::STATUS_NOT_PRESENT) { in onPhysicalCameraStatusChanged()
[all …]
/frameworks/hardware/interfaces/cameraservice/service/2.1/
DICameraServiceListener.hal26 * @param statusAndId the current device status of a physical camera device
29 oneway onPhysicalCameraStatusChanged(PhysicalCameraStatusAndId statusAndId);
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlUtils.cpp277 for (const auto &statusAndId : src) { in convertToAidl() local
279 a.cameraId = statusAndId.cameraId; in convertToAidl()
280 a.deviceStatus = convertCameraStatusToAidl(statusAndId.status); in convertToAidl()
281 size_t numUnvailPhysicalCameras = statusAndId.unavailablePhysicalIds.size(); in convertToAidl()
284 a.unavailPhysicalCameraIds[j] = statusAndId.unavailablePhysicalIds[j]; in convertToAidl()
/frameworks/hardware/interfaces/cameraservice/service/2.0/
DICameraServiceListener.hal27 oneway onStatusChanged(CameraStatusAndId statusAndId);