Searched refs:CHARGING_PLUGGED_ANY (Results 1 - 7 of 7) sorted by relevance
/foundation/resourceschedule/work_scheduler/frameworks/include/ |
H A D | work_condition.h | 50 CHARGING_PLUGGED_ANY = 0, enumerator
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/ |
H A D | work_scheduler_ffi.cpp | 155 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 D | workinfo_test.cpp | 97 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 D | common.cpp | 116 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 D | init.cpp | 127 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 D | work_status.cpp | 299 static_cast<int32_t>(WorkCondition::Charger::CHARGING_PLUGGED_ANY)) { in IsChargerReady()
|
/foundation/resourceschedule/work_scheduler/services/test/src/ |
H A D | work_queue_test.cpp | 97 EXPECT_TRUE(ret->enumVal == WorkCondition::Charger::CHARGING_PLUGGED_ANY); in HWTEST_F()
|
Completed in 9 milliseconds