Searched refs:RequestChargerType (Results 1 - 9 of 9) sorted by relevance
/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() 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 D | workinfo_test.cpp | 97 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 D | work_info.h | 68 void RequestChargerType(bool isCharging, WorkCondition::Charger condition);
|
/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstopandclearworks_fuzzer/ |
H A D | workschedulerstopandclearworks_fuzzer.cpp | 79 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_USB); in TirggerChargerListener()
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/ |
H A D | common.cpp | 112 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 D | work_status_test.cpp | 348 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 D | work_conn_manager_test.cpp | 266 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_AC); in HWTEST_F()
|
/foundation/resourceschedule/work_scheduler/frameworks/src/ |
H A D | work_info.cpp | 63 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 D | workschedulerstartwork_fuzzer.cpp | 62 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_AC); in CreateWorkInfo()
|
Completed in 12 milliseconds