Searched refs:CHARGING_UNPLUGGED (Results 1 - 9 of 9) sorted by relevance
/foundation/resourceschedule/work_scheduler/frameworks/include/ |
H A D | work_condition.h | 54 CHARGING_UNPLUGGED, enumerator
|
/foundation/resourceschedule/work_scheduler/services/native/src/conditions/ |
H A D | charger_listener.cpp | 66 std::make_shared<DetectorValue>(WorkCondition::CHARGING_UNPLUGGED, 0, false, std::string())); in OnReceiveEvent()
|
H A D | condition_checker.cpp | 107 std::make_shared<DetectorValue>(WorkCondition::CHARGING_UNPLUGGED, 0, false, std::string())); in CheckChargerStatus()
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/ |
H A D | work_scheduler_ffi.cpp | 152 workInfo.RequestChargerType(false, WorkCondition::Charger::CHARGING_UNPLUGGED); in GetChargeInfo() 247 if (chargerType >= WorkCondition::Charger::CHARGING_UNPLUGGED) { in ParseWorkInfo()
|
/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/ |
H A D | workinfo_test.cpp | 110 workInfo.RequestChargerType(false, WorkCondition::Charger::CHARGING_UNPLUGGED); in HWTEST_F() 111 EXPECT_EQ(workInfo.GetChargerType(), WorkCondition::Charger::CHARGING_UNPLUGGED); in HWTEST_F()
|
/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_policy_manager.cpp | 429 && topWork->workInfo_->GetChargerType() != WorkCondition::Charger::CHARGING_UNPLUGGED) { in UpdateWatchdogTime() 447 if (chargerStatus == static_cast<int32_t>(WorkCondition::Charger::CHARGING_UNPLUGGED) in UpdateWatchdogTime() 449 WS_HILOGD("charger is in CHARGING_UNKNOWN or CHARGING_UNPLUGGED status"); in UpdateWatchdogTime()
|
H A D | work_status.cpp | 303 if (conditionCurrent->enumVal != static_cast<int32_t>(WorkCondition::Charger::CHARGING_UNPLUGGED)) { in IsChargerReady()
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/ |
H A D | common.cpp | 112 workInfo.RequestChargerType(false, WorkCondition::Charger::CHARGING_UNPLUGGED); in GetChargeInfo() 483 if (charger == WorkCondition::Charger::CHARGING_UNPLUGGED) { in GetConditionInfo()
|
/foundation/resourceschedule/work_scheduler/frameworks/extension/src/ |
H A D | js_work_scheduler_extension.cpp | 240 if (charger == WorkCondition::Charger::CHARGING_UNPLUGGED) { in SetChargerTypeInfo()
|
Completed in 7 milliseconds