summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelly Rossmoyer <krossmo@google.com>2020-07-29 23:05:57 +0000
committerKelly Rossmoyer <krossmo@google.com>2020-07-29 23:06:06 +0000
commit8baad7126a217ecc0f796c6ec009f270ced860f6 (patch)
treee803c969d8b6f244621983943420c8a6cf7a9d07
parentff09cebd77687bd1ab64c2e0eeeeabcabbe6b4c4 (diff)
downloadsound_trigger_hal-8baad7126a217ecc0f796c6ec009f270ced860f6.tar.gz
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
-rw-r--r--cvq_util.c2
-rw-r--r--tests/oslo_package_test.c4
-rw-r--r--tests/oslo_sound_model_control.cpp2
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<ISoundTriggerHw> stHal = ISoundTriggerHw::getService();