From 8baad7126a217ecc0f796c6ec009f270ced860f6 Mon Sep 17 00:00:00 2001 From: Kelly Rossmoyer Date: Wed, 29 Jul 2020 23:05:57 +0000 Subject: Update language to comply with Android's inclusive language guidance See https://source.android.com/setup/contribute/respectful-code for reference BUG=161896447 Change-Id: I05a3e0de3bee22d7dad6a0ab739c310c410ee628 --- cvq_util.c | 2 +- tests/oslo_package_test.c | 4 ++-- tests/oslo_sound_model_control.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cvq_util.c b/cvq_util.c index e8631e0..4b6f939 100644 --- a/cvq_util.c +++ b/cvq_util.c @@ -1140,7 +1140,7 @@ int setup_sensor_package(struct iaxxx_odsp_hw *odsp_hdl) return err; } - // Create Dummy sensor plugin + // Create placeholder sensor plugin err = iaxxx_odsp_plugin_create(odsp_hdl, SENSOR_INSTANCE_ID, SENSOR_PRIORITY, SENSOR_PKG_ID, SENSOR_PLUGIN_IDX, IAXXX_HMD_BLOCK_ID, diff --git a/tests/oslo_package_test.c b/tests/oslo_package_test.c index 3b47bba..dccc47f 100644 --- a/tests/oslo_package_test.c +++ b/tests/oslo_package_test.c @@ -205,7 +205,7 @@ int main(int argc, char *argv[]) goto exit; } - /* Create Dummy sensor plugin */ + /* Create placeholder sensor plugin */ pi.plg_idx = 0; pi.pkg_id = sensor_pkg_id; pi.block_id = 1; @@ -345,7 +345,7 @@ int main(int argc, char *argv[]) goto exit; } - /* destroy Dummy sensor plugin */ + /* destroy placeholder sensor plugin */ pi.block_id = 1; pi.inst_id = 3; err = ioctl(fileno(odsp_node), ODSP_PLG_DESTROY, (unsigned long)&pi); diff --git a/tests/oslo_sound_model_control.cpp b/tests/oslo_sound_model_control.cpp index 671cd6f..38a2f8a 100644 --- a/tests/oslo_sound_model_control.cpp +++ b/tests/oslo_sound_model_control.cpp @@ -88,7 +88,7 @@ static bool osloLoadSoundModel(SoundModelHandle *hndl) { soundModel.vendorUuid.variantAndClockSeqHigh = uuid.clockSeq; memcpy(&soundModel.vendorUuid.node[0], &uuid.node[0], sizeof(uuid.node)); - soundModel.data.resize(1); // Insert a dummy byte to bypass HAL NULL checks. + soundModel.data.resize(1); // Insert an unused byte to bypass HAL NULL checks. bool loaded = false; sp stHal = ISoundTriggerHw::getService(); -- cgit v1.2.3