/base/powermgr/power_manager/services/native/test/unittest/src/ |
D | power_mgr_client_test.cpp | 58 EXPECT_EQ(powerMgrClient.GetState(), PowerState::AWAKE); 84 EXPECT_EQ(powerMgrClient.GetState(), PowerState::AWAKE); 110 EXPECT_EQ(powerMgrClient.GetState(), PowerState::AWAKE); 136 EXPECT_EQ(powerMgrClient.GetState(), PowerState::AWAKE); 162 EXPECT_EQ(powerMgrClient.GetState(), PowerState::AWAKE); 188 EXPECT_EQ(powerMgrClient.GetState(), PowerState::AWAKE); 215 EXPECT_EQ(powerMgrClient.GetState(), PowerState::INACTIVE); 265 EXPECT_EQ(powerMgrClient.GetState(), PowerState::INACTIVE); 289 EXPECT_EQ(powerMgrClient.GetState(), PowerState::AWAKE); 343 EXPECT_EQ(powerMgrClient.GetState(), PowerState::AWAKE); [all …]
|
D | power_mgr_mock_test.cpp | 1328 EXPECT_EQ(PowerState::INACTIVE, pms->GetState()); 1523 EXPECT_EQ(PowerState::INACTIVE, pms->GetState()); 1525 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 1554 EXPECT_EQ(PowerState::AWAKE, pms->GetState()); 1583 EXPECT_EQ(PowerState::AWAKE, pms->GetState()); 1616 EXPECT_EQ(PowerState::INACTIVE, pms->GetState()); 1618 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 1646 EXPECT_EQ(PowerState::INACTIVE, pms->GetState()); 1674 EXPECT_EQ(PowerState::INACTIVE, pms->GetState()); 1703 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); [all …]
|
/base/theme/screenlock_mgr/test/unittest/ |
D | screenlock_service_test.cpp | 106 int retVal = ScreenLockSystemAbility::GetInstance()->GetState().GetInteractiveState(); 153 int retVal = ScreenLockSystemAbility::GetInstance()->GetState().GetInteractiveState(); 178 int retVal = ScreenLockSystemAbility::GetInstance()->GetState().GetScreenState(); 203 int retVal = ScreenLockSystemAbility::GetInstance()->GetState().GetScreenState(); 228 int retVal = ScreenLockSystemAbility::GetInstance()->GetState().GetInteractiveState(); 253 int retVal = ScreenLockSystemAbility::GetInstance()->GetState().GetInteractiveState(); 278 int retVal = ScreenLockSystemAbility::GetInstance()->GetState().GetScreenState(); 306 int retVal = ScreenLockSystemAbility::GetInstance()->GetState().GetScreenState(); 323 int retVal = ScreenLockSystemAbility::GetInstance()->GetState().GetCurrentUser(); 328 retVal = ScreenLockSystemAbility::GetInstance()->GetState().GetCurrentUser(); [all …]
|
/base/update/updater/services/ui/control/ |
D | event_listener.cpp | 132 if (event.GetState() == OHOS::InputDevice::STATE_PRESS) { in ProcessPowerKey() 134 } else if (event.GetState() == OHOS::InputDevice::STATE_RELEASE) { in ProcessPowerKey() 149 if (event.GetState() == OHOS::InputDevice::STATE_PRESS) { in ProcessPowerKey() 166 event.GetState() == OHOS::InputDevice::STATE_RELEASE) { in ProcessVolumeKey()
|
/base/powermgr/power_manager/test/systemtest/src/ |
D | power_mgr_st_mock_test.cpp | 294 EXPECT_EQ(PowerState::INACTIVE, pms->GetState()); 296 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 324 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 363 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 398 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 439 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 478 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 508 EXPECT_EQ(PowerState::INACTIVE, pms->GetState()); 515 EXPECT_EQ(PowerState::AWAKE, pms->GetState()); 551 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); [all …]
|
D | power_mgr_mock_system_test.cpp | 86 EXPECT_EQ(PowerState::AWAKE, pms->GetState());
|
/base/powermgr/thermal_manager/services/native/include/thermal_observer/ |
D | istate_collection.h | 29 virtual std::string GetState() = 0;
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
D | reminder_request_test.cpp | 107 EXPECT_EQ(rrc->GetState(), 0) << "When init, state should be 0"; 120 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) == 0); 133 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) == 0); 146 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) == 0); 159 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) != 0); 172 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) != 0); 184 uint8_t stateBefore = rrc->GetState(); 186 EXPECT_EQ(rrc->GetState(), stateBefore); 198 uint8_t stateBefore = rrc->GetState(); 200 EXPECT_EQ(rrc->GetState(), stateBefore);
|
/base/powermgr/thermal_manager/services/native/include/thermal_observer/state_machine/ |
D | scene_state_collection.h | 28 std::string GetState() override;
|
D | screen_state_collection.h | 31 std::string GetState() override;
|
D | charger_state_collection.h | 65 std::string GetState() override;
|
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/ |
D | scene_state_collection.cpp | 42 std::string SceneStateCollection::GetState() in GetState() function in OHOS::PowerMgr::SceneStateCollection
|
D | screen_state_collection.cpp | 49 std::string ScreenStateCollection::GetState() in GetState() function in OHOS::PowerMgr::ScreenStateCollection
|
/base/powermgr/power_manager/test/fuzztest/power_fuzzer/ |
D | power_fuzzer.cpp | 82 static void GetState(const uint8_t* data) in GetState() function 90 g_powerMgrClient.GetState(); in GetState() 270 GetState(data); in DoSomethingInterestingWithMyAPI()
|
/base/powermgr/power_manager/services/native/src/ |
D | power_state_machine.cpp | 820 if (GetState() == PowerState::INACTIVE) { in SetDisplaySuspend() 946 .append(GetPowerStateString(GetState())) in DumpInfo() 949 controllerMap_.find(GetState())->second->lastReason_))) in DumpInfo() 951 .append(ToString(controllerMap_.find(GetState())->second->lastTime_)) in DumpInfo() 985 .append(GetPowerStateString(it->second->GetState())) in DumpInfo() 1024 if (!ignoreLock && !owner->CheckRunningLock(GetState())) { in TransitTo() 1033 owner->currentState_ = GetState(); in TransitTo() 1050 auto state = GetState(); in CheckState() 1085 .append(GetPowerStateString(GetState())) in RecordFailure()
|
/base/powermgr/power_manager/services/native/include/ |
D | power_state_machine.h | 86 PowerState GetState() in GetState() function 139 PowerState GetState() in GetState() function
|
/base/update/updater/services/include/script/ |
D | script_instruction.h | 40 int32_t GetState() in GetState() function
|
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannex_fuzzer/ |
D | reminderrequestannex_fuzzer.cpp | 55 reminderRequest.GetState(); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | reminder_request.cpp | 163 ", state=" + GetState(state_) + in Dump() 236 …ANSR_LOGE("onClose, the state of reminder is incorrect, state:%{public}s", GetState(state_).c_str(… in OnClose() 361 …ANSR_LOGW("onSnooze, the state of reminder is incorrect, state: %{public}s", (GetState(state_)).c_… in OnSnooze() 381 …"start failed, the state of reminder is incorrect, state: %{public}s", (GetState(state_)).c_str()); in OnStart() 395 …ANSR_LOGW("onStop, the state of reminder is incorrect, state: %{public}s", (GetState(state_)).c_st… in OnStop() 404 ANSR_LOGW("onTerminate, the state of reminder is %{public}s", (GetState(state_)).c_str()); in OnTerminate() 777 uint8_t ReminderRequest::GetState() const in GetState() function in OHOS::Notification::ReminderRequest 1216 std::string ReminderRequest::GetState(const uint8_t state) const in GetState() function in OHOS::Notification::ReminderRequest 1366 reminderId_, GetState(oldState).c_str(), GetState(state_).c_str(), function.c_str()); in SetState() 1572 values.PutInt(STATE, reminder->GetState()); in AppendValuesBucket()
|
/base/powermgr/power_manager/interfaces/innerkits/native/include/ |
D | power_mgr_client.h | 93 PowerState GetState();
|
D | ipower_mgr.h | 88 virtual PowerState GetState() = 0;
|
/base/powermgr/display_manager/service/native/include/ |
D | screen_controller.h | 51 DisplayState GetState();
|
/base/account/os_account/services/accountmgr/src/account_iam/ |
D | account_iam_callback.cpp | 105 IAMState state = InnerAccountIAMManager::GetInstance().GetState(userId_); in OnResult() 173 IAMState state = InnerAccountIAMManager::GetInstance().GetState(userId_); in OnResult() 217 IAMState state = InnerAccountIAMManager::GetInstance().GetState(userId_); in OnResult()
|
/base/account/os_account/services/accountmgr/test/unittest/account_iam_callback_test/ |
D | account_iam_callback_test.cpp | 355 IAMState state = InnerAccountIAMManager::GetInstance().GetState(TEST_USER_ID); 380 IAMState state = InnerAccountIAMManager::GetInstance().GetState(TEST_USER_ID); 452 IAMState state = InnerAccountIAMManager::GetInstance().GetState(TEST_USER_ID); 476 IAMState state = InnerAccountIAMManager::GetInstance().GetState(TEST_USER_ID);
|
/base/powermgr/power_manager/services/native/test/unittest/src/mock/ |
D | power_mock_parcel_test.cpp | 72 powerMgrClient.GetState(); 207 auto state = sptrProxy->GetState();
|