Home
last modified time | relevance | path

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

/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/
H A Dwork_scheduler_ffi.cpp152 workInfo.RequestChargerType(false, WorkCondition::Charger::CHARGING_UNPLUGGED); in GetChargeInfo()
155 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_ANY); in GetChargeInfo()
158 workInfo.RequestChargerType(true, WorkCondition::Charger(cwork.chargerType)); in GetChargeInfo()
161 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_ANY); in GetChargeInfo()
/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/
H A Dworkinfo_test.cpp97 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_ANY); in HWTEST_F()
110 workInfo.RequestChargerType(false, WorkCondition::Charger::CHARGING_UNPLUGGED); in HWTEST_F()
316 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_ANY); in HWTEST_F()
521 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_ANY); in HWTEST_F()
/foundation/resourceschedule/work_scheduler/frameworks/include/
H A Dwork_info.h68 void RequestChargerType(bool isCharging, WorkCondition::Charger condition);
/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstopandclearworks_fuzzer/
H A Dworkschedulerstopandclearworks_fuzzer.cpp79 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_USB); in TirggerChargerListener()
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/
H A Dcommon.cpp112 workInfo.RequestChargerType(false, WorkCondition::Charger::CHARGING_UNPLUGGED); in GetChargeInfo()
116 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_ANY); in GetChargeInfo()
119 workInfo.RequestChargerType(true, WorkCondition::Charger(chargerType)); in GetChargeInfo()
121 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_ANY); in GetChargeInfo()
/foundation/resourceschedule/work_scheduler/services/test/src/
H A Dwork_status_test.cpp348 workInfo_->RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_AC); in HWTEST_F()
369 workInfo_->RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_AC); in HWTEST_F()
390 workInfo_->RequestChargerType(false, WorkCondition::Charger::CHARGING_PLUGGED_AC); in HWTEST_F()
411 workInfo_->RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_AC); in HWTEST_F()
H A Dwork_conn_manager_test.cpp266 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_AC); in HWTEST_F()
/foundation/resourceschedule/work_scheduler/frameworks/src/
H A Dwork_info.cpp63 void WorkInfo::RequestChargerType(bool isCharging, WorkCondition::Charger condition) in RequestChargerType() function in OHOS::WorkScheduler::WorkInfo
622 this->RequestChargerType(conditions["isCharging"].asBool(), in ParseConditionFromJsonStr()
/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstartwork_fuzzer/
H A Dworkschedulerstartwork_fuzzer.cpp62 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_AC); in CreateWorkInfo()

Completed in 8 milliseconds