Merge "Camera: Fix insensitive language in comments and names" into rvc-dev am: 7e5c3f0240 am: 21bb36aead am: fad2482bda am: 7e63b49db6

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11936022

Change-Id: Iaa8e527b9126f0851118087a15b434b4f9e349fb
This commit is contained in:
TreeHugger Robot 2020-06-22 00:03:12 +00:00 committed by Automerger Merge Worker
commit f7e3b8441d
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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);