mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Camera: Fix insensitive language in comments and names" into rvc-dev am: 7e5c3f0240
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11936022 Change-Id: Ie7223de56cc97de4cb6f6d358c8f2d448b44c257
This commit is contained in:
@@ -38,7 +38,7 @@ bool convertFromHidl(const CameraMetadata &src, const camera_metadata_t** dst) {
|
||||
}
|
||||
|
||||
const uint8_t* data = src.data();
|
||||
// sanity check the size of CameraMetadata match underlying camera_metadata_t
|
||||
// check that the size of CameraMetadata match underlying camera_metadata_t
|
||||
if (get_camera_metadata_size((camera_metadata_t*)data) != src.size()) {
|
||||
ALOGE("%s: input CameraMetadata is corrupt!", __FUNCTION__);
|
||||
return false;
|
||||
|
||||
@@ -1894,7 +1894,7 @@ TEST_P(CameraHidlTest, getCameraDeviceInterface) {
|
||||
}
|
||||
|
||||
// Verify that the device resource cost can be retrieved and the values are
|
||||
// sane.
|
||||
// correct.
|
||||
TEST_P(CameraHidlTest, getResourceCost) {
|
||||
hidl_vec<hidl_string> cameraDeviceNames = getCameraDeviceNames(mProvider);
|
||||
|
||||
@@ -2544,7 +2544,7 @@ TEST_P(CameraHidlTest, sendCommandSmoothZoom) {
|
||||
}
|
||||
}
|
||||
|
||||
// Basic sanity tests related to camera parameters.
|
||||
// Basic correctness tests related to camera parameters.
|
||||
TEST_P(CameraHidlTest, getSetParameters) {
|
||||
hidl_vec<hidl_string> cameraDeviceNames = getCameraDeviceNames(mProvider);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user