Home
last modified time | relevance | path

Searched refs:stateType (Results 1 - 10 of 10) sorted by relevance

/base/powermgr/power_manager/test/unittest/src/
H A Ddevice_state_action_native_test.cpp47 DisplayPowerMgr::DisplayState stateType = DisplayPowerMgr::DisplayState::DISPLAY_ON; in HWTEST_F() local
49 DISPLAYID, stateType, static_cast<uint32_t>(StateChangeReason::STATE_CHANGE_REASON_APPLICATION)); in HWTEST_F()
51 DISPLAYID_A, stateType, static_cast<uint32_t>(StateChangeReason::STATE_CHANGE_REASON_APPLICATION)); in HWTEST_F()
52 stateType = DisplayPowerMgr::DisplayState::DISPLAY_OFF; in HWTEST_F()
54 DISPLAYID_A, stateType, static_cast<uint32_t>(StateChangeReason::STATE_CHANGE_REASON_APPLICATION)); in HWTEST_F()
55 stateType = DisplayPowerMgr::DisplayState::DISPLAY_UNKNOWN; in HWTEST_F()
57 DISPLAYID_A, stateType, static_cast<uint32_t>(StateChangeReason::STATE_CHANGE_REASON_APPLICATION)); in HWTEST_F()
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/base/
H A Dfault_detector_base.h34 virtual FaultStateBase* GetStateObj(FaultStateType stateType) = 0;
36 virtual void OnChangeState(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultStateType stateType) = 0;
37 virtual ErrCode ExeNextStateProcess(std::shared_ptr<FaultInfoBase> monitorInfo, FaultStateType stateType) = 0;
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/
H A Dnative_leak_detector.h39 void OnChangeState(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultStateType stateType) override;
40 ErrCode ExeNextStateProcess(std::shared_ptr<FaultInfoBase> monitorInfo, FaultStateType stateType) override;
41 FaultStateBase* GetStateObj(FaultStateType stateType) override;
H A Dnative_leak_detector.cpp314 ErrCode NativeLeakDetector::ExeNextStateProcess(shared_ptr<FaultInfoBase> monitorInfo, FaultStateType stateType) in ExeNextStateProcess() argument
319 userMonitorInfo->GetPid(), name.c_str(), userMonitorInfo->GetState(), stateType); in ExeNextStateProcess()
335 if (stateType == PROC_FINISHED_STATE) { in ExeNextStateProcess()
336 HIVIEW_LOGI("next stateType is PROC_FINISHED_STATE"); in ExeNextStateProcess()
339 OnChangeState(monitorInfo, stateType); in ExeNextStateProcess()
340 ErrCode ret = GetStateObj(stateType)->StateProcess(monitorInfo, *this); in ExeNextStateProcess()
349 FaultStateBase* NativeLeakDetector::GetStateObj(FaultStateType stateType) in GetStateObj() argument
351 FaultStateBase* stateObj = NativeLeakStateContext::GetInstance().GetStateObj(stateType); in GetStateObj()
353 HIVIEW_LOGE("%{public}s state obj is null, stateType(%{public}d)", in GetStateObj()
354 FaultStateName[stateType] in GetStateObj()
360 OnChangeState(shared_ptr<FaultInfoBase> &monitorInfo, FaultStateType stateType) OnChangeState() argument
[all...]
/base/msdp/device_status/services/native/src/
H A Ddevicestatus_dumper.cpp234 std::string stateType; in GetStatusType() local
237 stateType = "absolute still"; in GetStatusType()
241 stateType = "horizontal position"; in GetStatusType()
245 stateType = "vertical position"; in GetStatusType()
249 stateType = "lid open"; in GetStatusType()
253 stateType = "unknown"; in GetStatusType()
257 return stateType; in GetStatusType()
/base/telephony/call_manager/services/audio/src/
H A Daudio_scene_processor.cpp130 bool AudioSceneProcessor::SwitchState(CallStateType stateType) in SwitchState() argument
134 switch (stateType) { in SwitchState()
/base/msdp/device_status/test/unittest/intention/services/src/
H A Dintention_service_test.cpp257 const std::map<DragState, std::string> stateType = { in PrintDragMessage() local
263 auto item = stateType.find(state); in PrintDragMessage()
264 if (item != stateType.end()) { in PrintDragMessage()
/base/msdp/device_status/test/unittest/intention/drag/src/
H A Ddrag_manager_test.cpp169 const std::map<DragState, std::string> stateType = { in PrintDragMessage() local
175 auto item = stateType.find(state); in PrintDragMessage()
176 if (item != stateType.end()) { in PrintDragMessage()
H A Ddrag_server_test.cpp293 const std::map<DragState, std::string> stateType = { in PrintDragMessage() local
299 auto item = stateType.find(state); in PrintDragMessage()
300 if (item != stateType.end()) { in PrintDragMessage()
/base/msdp/device_status/test/unittest/frameworks/src/
H A Dinteraction_manager_test.cpp183 const std::map<DragState, std::string> stateType = { in PrintDragMessage() local
189 auto item = stateType.find(state); in PrintDragMessage()
190 if (item != stateType.end()) { in PrintDragMessage()

Completed in 14 milliseconds