Searched refs:GetReason (Results 1 – 12 of 12) sorted by relevance
/base/powermgr/power_manager/test/unittest/src/ |
D | power_wakeup_parse_test.cpp | 66 if (it->GetReason() == WakeupDeviceType::WAKEUP_DEVICE_POWER_BUTTON) { in TestPowerWakeup() 70 } else if (it->GetReason() == WakeupDeviceType::WAKEUP_DEVICE_KEYBOARD) { in TestPowerWakeup() 74 } else if (it->GetReason() == WakeupDeviceType::WAKEUP_DEVICE_TOUCH_SCREEN) { in TestPowerWakeup() 81 } else if (it->GetReason() == WakeupDeviceType::WAKEUP_DEVICE_TOUCHPAD) { in TestPowerWakeup() 85 } else if (it->GetReason() == WakeupDeviceType::WAKEUP_DEVICE_PEN) { in TestPowerWakeup() 89 } else if (it->GetReason() == WakeupDeviceType::WAKEUP_DEVICE_LID) { in TestPowerWakeup() 93 } else if (it->GetReason() == WakeupDeviceType::WAKEUP_DEVICE_SWITCH) { in TestPowerWakeup() 97 } else if (it->GetReason() == WakeupDeviceType::WAKEUP_DEVICE_MOUSE) { in TestPowerWakeup()
|
D | power_suspend_parse_test.cpp | 65 if (it->GetReason() == SuspendDeviceType::SUSPEND_DEVICE_REASON_POWER_KEY) { in TestPowerSuspend() 74 } else if (it->GetReason() == SuspendDeviceType::SUSPEND_DEVICE_REASON_TIMEOUT) { in TestPowerSuspend() 83 } else if (it->GetReason() == SuspendDeviceType::SUSPEND_DEVICE_REASON_LID) { in TestPowerSuspend() 92 } else if (it->GetReason() == SuspendDeviceType::SUSPEND_DEVICE_REASON_SWITCH) { in TestPowerSuspend()
|
/base/telephony/cellular_data/services/include/ |
D | data_disconnect_params.h | 44 DisConnectionReason GetReason() const in GetReason() function
|
/base/powermgr/power_manager/services/native/src/suspend/ |
D | suspend_controller.cpp | 86 (*source).GetReason(), (*source).GetAction(), (*source).GetDelay()); in Init() 89 POWER_HILOGI(FEATURE_SUSPEND, "register type=%{public}u", (*source).GetReason()); in Init() 93 monitorMap_.emplace(monitor->GetReason(), monitor); in Init() 144 monitorMap_.emplace(monitor->GetReason(), monitor); in RegisterSettingsObserver() 359 SuspendDeviceType reason = source.GetReason(); in CreateMonitor()
|
D | suspend_controller.h | 95 SuspendDeviceType GetReason() const in GetReason() function 122 reason_ = source.GetReason(); in SuspendMonitor()
|
D | suspend_sources.h | 48 SuspendDeviceType GetReason() const in GetReason() function
|
/base/powermgr/power_manager/services/native/src/wakeup/ |
D | wakeup_controller.cpp | 84 POWER_HILOGI(FEATURE_WAKEUP, "registered type=%{public}u", (*source).GetReason()); in Init() 87 POWER_HILOGI(FEATURE_WAKEUP, "register type=%{public}u", (*source).GetReason()); in Init() 89 monitorMap_.emplace(monitor->GetReason(), monitor); in Init() 135 monitorMap_.emplace(monitor->GetReason(), monitor); in RegisterSettingsObserver() 341 WakeupDeviceType reason = source.GetReason(); in CreateMonitor()
|
D | wakeup_sources.h | 39 WakeupDeviceType GetReason() const in GetReason() function
|
D | wakeup_controller.h | 91 WakeupDeviceType GetReason() const in GetReason() function 109 reason_ = source.GetReason(); in WakeupMonitor()
|
/base/telephony/cellular_data/services/src/state_machine/ |
D | active.cpp | 87 DisConnectionReason reason = object->GetReason(); in ProcessDisconnectDone() 104 DisConnectionReason reason = object->GetReason(); in ProcessDisconnectAllDone()
|
D | cellular_data_state_machine.cpp | 127 deactivateDataParam.reason = static_cast<int32_t>(params.GetReason()); in FreeConnection()
|
/base/telephony/cellular_data/services/src/ |
D | cellular_data_handler.cpp | 645 DisConnectionReason reason = object->GetReason(); in DisconnectDataComplete()
|