Home
last modified time | relevance | path

Searched refs:CHARGING_UNPLUGGED (Results 1 - 9 of 9) sorted by relevance

/foundation/resourceschedule/work_scheduler/frameworks/include/
H A Dwork_condition.h54 CHARGING_UNPLUGGED, enumerator
/foundation/resourceschedule/work_scheduler/services/native/src/conditions/
H A Dcharger_listener.cpp66 std::make_shared<DetectorValue>(WorkCondition::CHARGING_UNPLUGGED, 0, false, std::string())); in OnReceiveEvent()
H A Dcondition_checker.cpp107 std::make_shared<DetectorValue>(WorkCondition::CHARGING_UNPLUGGED, 0, false, std::string())); in CheckChargerStatus()
/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/
H A Dwork_scheduler_ffi.cpp152 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 Dworkinfo_test.cpp110 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 Dwork_policy_manager.cpp429 && 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 Dwork_status.cpp303 if (conditionCurrent->enumVal != static_cast<int32_t>(WorkCondition::Charger::CHARGING_UNPLUGGED)) { in IsChargerReady()
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/
H A Dcommon.cpp112 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 Djs_work_scheduler_extension.cpp240 if (charger == WorkCondition::Charger::CHARGING_UNPLUGGED) { in SetChargerTypeInfo()

Completed in 7 milliseconds