summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-07-29 18:11:32 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-07-29 18:11:32 +0000
commit2f133083699b8985f440dd78cfac07f2932d250c (patch)
treeecff77f5f5b22c9ab36ef1fb28f0a2d7c7e356c7
parent8da33d07a5e94371c0217fc205604455023aef62 (diff)
parent85864fd70a75f6ca16d0826f38545186f7b91295 (diff)
Merge "Update language in VtsHalPowerV1_0TargetTest to comply with Android’s inclusive language guidance"
-rw-r--r--power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp b/power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp
index e201893f29..b2734e7ba0 100644
--- a/power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp
+++ b/power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp
@@ -57,7 +57,7 @@ class PowerHidlTest : public testing::TestWithParam<std::string> {
sp<IPower> power;
};
-// Sanity check Power::setInteractive.
+// Validate Power::setInteractive.
TEST_P(PowerHidlTest, SetInteractive) {
Return<void> ret;
@@ -111,7 +111,7 @@ TEST_P(PowerHidlTest, TryDifferentGovernors) {
ASSERT_LE(0, write(fd1, old_governor, strlen(old_governor)));
}
-// Sanity check Power::powerHint on good and bad inputs.
+// Validate Power::powerHint on good and bad inputs.
TEST_P(PowerHidlTest, PowerHint) {
PowerHint badHint = static_cast<PowerHint>(0xA);
auto hints = {PowerHint::VSYNC, PowerHint::INTERACTION,
@@ -149,7 +149,7 @@ TEST_P(PowerHidlTest, PowerHint) {
} while (std::next_permutation(hints2.begin(), hints2.end(), compareHints));
}
-// Sanity check Power::setFeature() on good and bad inputs.
+// Validate Power::setFeature() on good and bad inputs.
TEST_P(PowerHidlTest, SetFeature) {
Return<void> ret;
ret = power->setFeature(Feature::POWER_FEATURE_DOUBLE_TAP_TO_WAKE, true);
@@ -164,7 +164,7 @@ TEST_P(PowerHidlTest, SetFeature) {
ASSERT_TRUE(ret.isOk());
}
-// Sanity check Power::getPlatformLowPowerStats().
+// Validate Power::getPlatformLowPowerStats().
TEST_P(PowerHidlTest, GetPlatformLowPowerStats) {
hidl_vec<PowerStatePlatformSleepState> vec;
Status s;