Merge "Camera: Fix insensitive language in comments and names" into rvc-dev am: 7e5c3f0240
am: 21bb36aead
am: fad2482bda
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11936022 Change-Id: I69ac7de0fddde6e07d9764e123daf6f49f67f688
This commit is contained in:
commit
7e63b49db6
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue