/base/powermgr/power_manager/test/unittest/src/ |
H A D | device_state_action_native_test.cpp | 47 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 D | fault_detector_base.h | 34 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 D | native_leak_detector.h | 39 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 D | native_leak_detector.cpp | 314 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 D | devicestatus_dumper.cpp | 234 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 D | audio_scene_processor.cpp | 130 bool AudioSceneProcessor::SwitchState(CallStateType stateType) in SwitchState() argument 134 switch (stateType) { in SwitchState()
|
/base/msdp/device_status/test/unittest/intention/services/src/ |
H A D | intention_service_test.cpp | 257 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 D | drag_manager_test.cpp | 169 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 D | drag_server_test.cpp | 293 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 D | interaction_manager_test.cpp | 183 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()
|