Merge "Update language in VtsHalPowerV1_1TargetTest to comply with Android’s inclusive language guidance" am: 8da33d07a5 am: 941b2440cb

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

Change-Id: I88786059fe5b919b5c15a3dd0e8084cbcf65f96e
This commit is contained in:
Amy Zhang
2020-07-29 17:10:56 +00:00
committed by Automerger Merge Worker

View File

@@ -41,7 +41,7 @@ class PowerHidlTest : public testing::TestWithParam<std::string> {
sp<IPower> power;
};
// Sanity check Power::getSubsystemLowPowerStats().
// Validate Power::getSubsystemLowPowerStats().
TEST_P(PowerHidlTest, GetSubsystemLowPowerStats) {
hidl_vec<PowerStateSubsystem> vec;
Status s;
@@ -56,7 +56,7 @@ TEST_P(PowerHidlTest, GetSubsystemLowPowerStats) {
ASSERT_TRUE(s == Status::SUCCESS || s == Status::FILESYSTEM_ERROR);
}
// Sanity check Power::powerHintAsync on good and bad inputs.
// Validate Power::powerHintAsync on good and bad inputs.
TEST_P(PowerHidlTest, PowerHintAsync) {
PowerHint badHint = static_cast<PowerHint>(0xA);
auto hints = {PowerHint::VSYNC, PowerHint::INTERACTION, PowerHint::VIDEO_ENCODE,