Home
last modified time | relevance | path

Searched refs:CHARGING_PLUGGED_ANY (Results 1 - 7 of 7) sorted by relevance

/foundation/resourceschedule/work_scheduler/frameworks/include/
H A Dwork_condition.h50 CHARGING_PLUGGED_ANY = 0, enumerator
/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/
H A Dwork_scheduler_ffi.cpp155 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_ANY); in GetChargeInfo()
156 } else if (cwork.chargerType >= WorkCondition::Charger::CHARGING_PLUGGED_ANY && 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()
98 EXPECT_EQ(workInfo.GetChargerType(), WorkCondition::Charger::CHARGING_PLUGGED_ANY); 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/interfaces/kits/js/napi/src/
H A Dcommon.cpp116 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_ANY); in GetChargeInfo()
117 } else if (chargerType >= WorkCondition::Charger::CHARGING_PLUGGED_ANY && in GetChargeInfo()
121 workInfo.RequestChargerType(true, WorkCondition::Charger::CHARGING_PLUGGED_ANY); in GetChargeInfo()
H A Dinit.cpp127 napi_create_uint32(env, static_cast<uint32_t>(WorkCondition::Charger::CHARGING_PLUGGED_ANY), in InitChargingType()
137 DECLARE_NAPI_STATIC_PROPERTY("CHARGING_PLUGGED_ANY", chargingPluggedAny), in InitChargingType()
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_status.cpp299 static_cast<int32_t>(WorkCondition::Charger::CHARGING_PLUGGED_ANY)) { in IsChargerReady()
/foundation/resourceschedule/work_scheduler/services/test/src/
H A Dwork_queue_test.cpp97 EXPECT_TRUE(ret->enumVal == WorkCondition::Charger::CHARGING_PLUGGED_ANY); in HWTEST_F()

Completed in 9 milliseconds