Searched refs:GetLightColor (Results 1 - 6 of 6) sorted by relevance
/base/powermgr/battery_manager/test/unittest/src/scenario_test/ |
H A D | battery_light_test.cpp | 105 EXPECT_TRUE(g_light.GetLightColor() == 0U); in HWTEST_F() 121 EXPECT_TRUE(g_light.GetLightColor() == color); in HWTEST_F() 137 EXPECT_EQ(g_light.GetLightColor(), BatteryConfigTest::RED_LIGHT); in HWTEST_F() 154 EXPECT_TRUE(g_light.GetLightColor() == color); in HWTEST_F() 167 GTEST_LOG_(INFO) << "initial:" << g_light.GetLightColor(); in HWTEST_F() 168 EXPECT_EQ(g_light.GetLightColor(), BatteryConfigTest::LIGHT_OFF); in HWTEST_F() 171 GTEST_LOG_(INFO) << "actual:" << g_light.GetLightColor() << "=expect:" << BatteryConfigTest::YELLOW_LIGHT; in HWTEST_F() 172 EXPECT_EQ(g_light.GetLightColor(), BatteryConfigTest::YELLOW_LIGHT); in HWTEST_F() 175 GTEST_LOG_(INFO) << "actual:" << g_light.GetLightColor() << "=expect:" << BatteryConfigTest::LIGHT_OFF; in HWTEST_F() 176 EXPECT_EQ(g_light.GetLightColor(), BatteryConfigTes in HWTEST_F() [all...] |
/base/sensors/miscdevice/test/unittest/light/ |
H A D | light_agent_test.cpp | 128 bool GetLightColor(LightColor &color, int32_t lightType) in GetLightColor() function 171 bool flag = GetLightColor(color, g_lightType); in HWTEST_F() 195 bool flag = GetLightColor(color, g_lightType); in HWTEST_F() 218 bool flag = GetLightColor(color, g_lightType); in HWTEST_F() 241 bool flag = GetLightColor(color, g_lightType); in HWTEST_F() 264 bool flag = GetLightColor(color, g_lightType); in HWTEST_F() 287 bool flag = GetLightColor(color, g_lightType); in HWTEST_F() 311 bool flag = GetLightColor(color, g_lightType); in HWTEST_F()
|
/base/powermgr/battery_manager/services/native/include/ |
H A D | battery_light.h | 33 uint32_t GetLightColor() const;
|
/base/powermgr/battery_manager/charger/include/ |
H A D | battery_led.h | 36 uint32_t GetLightColor() const;
|
/base/powermgr/battery_manager/charger/src/ |
H A D | battery_led.cpp | 107 uint32_t BatteryLed::GetLightColor() const in GetLightColor() function in OHOS::PowerMgr::BatteryLed
|
/base/powermgr/battery_manager/services/native/src/ |
H A D | battery_light.cpp | 127 uint32_t BatteryLight::GetLightColor() const in GetLightColor() function in OHOS::PowerMgr::BatteryLight
|
Completed in 4 milliseconds