Home
last modified time | relevance | path

Searched refs:mode1 (Results 1 – 6 of 6) sorted by relevance

/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_powersavemode_test.cpp78 PowerMode mode1 = PowerMode::POWER_SAVE_MODE; variable
81 EXPECT_EQ(mode, mode1) << "PowerSavemode_001 fail to SetDeviceMode";
97 PowerMode mode1 = PowerMode::PERFORMANCE_MODE; variable
100 EXPECT_EQ(mode, mode1) << "PowerSavemode_002 fail to SetDeviceMode";
115 PowerMode mode1 = PowerMode::EXTREME_POWER_SAVE_MODE; variable
118 EXPECT_EQ(mode, mode1) << "PowerSavemode_003 fail to SetDeviceMode";
134 PowerMode mode1 = static_cast<PowerMode>(1); variable
137 EXPECT_NE(mode, mode1) << "PowerSavemode_028 fail to SetDeviceMode abnormal";
153 PowerMode mode1 = PowerMode::EXTREME_POWER_SAVE_MODE; variable
158 EXPECT_EQ(mode, mode1) << "PowerSavemode_029 fail to SetDeviceMode";
[all …]
/base/powermgr/power_manager/services/native/test/unittest/src/
Dpower_set_mode_test.cpp48 PowerMode mode1 = PowerMode::POWER_SAVE_MODE; variable
50 powerMgrClient.SetDeviceMode(mode1);
/base/powermgr/power_manager/services/native/test/unittest/src/mock/
Dpower_mock_proxy_test.cpp104 PowerMode mode1 = PowerMode::NORMAL_MODE; variable
105 EXPECT_EQ(sptrProxy->SetDeviceMode(mode1), PowerErrors::ERR_CONNECTION_FAIL);
107 EXPECT_TRUE(mode2 == mode1);
Dpower_mock_parcel_test.cpp92 PowerMode mode1 = PowerMode::POWER_SAVE_MODE; variable
93 powerMgrClient.SetDeviceMode(mode1);
211 PowerMode mode1 = PowerMode::NORMAL_MODE; variable
212 sptrProxy->SetDeviceMode(mode1);
Dpower_mock_peer_test.cpp148 PowerMode mode1 = PowerMode::NORMAL_MODE; variable
149 EXPECT_EQ(sptrProxy->SetDeviceMode(mode1), PowerErrors::ERR_CONNECTION_FAIL);
151 EXPECT_FALSE(mode2 == mode1);
/base/hiviewdfx/hiview/utility/common_utils/test/unittest/common/
Dutility_common_utils_test.cpp148 int mode1 = FP_FILE; variable
149 auto ret = Tbox::CalcFingerPrint(val, mask, mode1);