Home
last modified time | relevance | path

Searched refs:isCharging (Results 1 - 19 of 19) sorted by relevance

/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_battery_info.c28 int32_t LnnSyncBatteryInfo(const char *udid, int32_t level, bool isCharging) in LnnSyncBatteryInfo() argument
36 !AddBoolToJsonObject(json, JSON_KEY_IS_CHARGING, isCharging)) { in LnnSyncBatteryInfo()
73 bool isCharging = false; in OnReceiveBatteryInfo() local
75 !GetJsonObjectBoolItem(json, JSON_KEY_IS_CHARGING, &isCharging)) { in OnReceiveBatteryInfo()
83 battery.isCharging = isCharging; in OnReceiveBatteryInfo()
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/schedule/base/
H A Discheduler_video_state.h33 bool isCharging; member
37 return isNeedStop == info.isNeedStop && isCharging == info.isCharging; in operator ==()
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/impl/
H A Dvideo_charging_state.cpp36 bool isCharging = stateValue_ == ChargingStatus::CHARGING; in ReevaluateSchedulerInfo() local
37 return {true, isCharging}; in ReevaluateSchedulerInfo()
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_battery_info_test.cpp100 EXPECT_NE(nodeInfo.batteryInfo.isCharging, true); in HWTEST_F()
102 EXPECT_NE(nodeInfo.batteryInfo.isCharging, true); in HWTEST_F()
104 EXPECT_NE(nodeInfo.batteryInfo.isCharging, true); in HWTEST_F()
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/video_processor/video_job_repository/
H A Ddeferred_video_job.cpp23 DeferredVideoWork::DeferredVideoWork(const DeferredVideoJobPtr& jobPtr, ExecutionMode mode, bool isCharging) in DeferredVideoWork() argument
27 isCharging_(isCharging) in DeferredVideoWork()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/
H A Dlnn_battery_info.h26 int32_t LnnSyncBatteryInfo(const char *udid, int32_t level, bool isCharging);
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/include/
H A Dcamera_deferred_video_unittest.h51 void BeginSchedule(bool isCharging);
/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/
H A Dwork_scheduler_ffi.cpp151 if (!cwork.isCharging) { in GetChargeInfo()
248 cwork.isCharging = false; in ParseWorkInfo()
251 cwork.isCharging = true; in ParseWorkInfo()
H A Dwork_scheduler_ffi.h32 int32_t isCharging; member
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/schedule/video_processor/strategy/
H A Dvideo_strategy_center.h63 inline bool isCharging() in isCharging() function in OHOS::CameraStandard::DeferredProcessing::VideoStrategyCenter
65 DP_INFO_LOG("isCharging is: %{public}d", isCharging_); in isCharging()
/foundation/resourceschedule/work_scheduler/frameworks/include/
H A Dwork_info.h65 * @param isCharging Charging or not.
68 void RequestChargerType(bool isCharging, WorkCondition::Charger condition);
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/video_processor/strategy/
H A Dvideo_strategy_center.cpp303 return {true, chargingInfo.isCharging}; in ReevaluateSchedulerInfo()
306 if (chargingInfo.isCharging) { in ReevaluateSchedulerInfo()
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/
H A Dcamera_deferred_video_unittest.cpp106 void DeferredVideoUnitTest::BeginSchedule(bool isCharging) in BeginSchedule() argument
108 if (isCharging) { in BeginSchedule()
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/video_processor/
H A Ddeferred_video_controller.cpp141 DP_INFO_LOG("video schedule isNeedStop: %{public}d, isCharging: %{public}d", in OnSchedulerChanged()
142 scheduleInfo.isNeedStop, scheduleInfo.isCharging); in OnSchedulerChanged()
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/
H A Dcommon.cpp107 int32_t isCharging = GetBoolToIntProperty(env, objValue, "isCharging", E_IS_CHARGING_ERR); in GetChargeInfo() local
109 if (isCharging == UNSET_INT_PARAM) { in GetChargeInfo()
110 WS_HILOGD("Unset isCharging, ignore ChargerType set also."); in GetChargeInfo()
111 } else if (isCharging == FALSE_PARAM) { in GetChargeInfo()
485 napi_set_named_property(env, napiWork, "isCharging", napiIsCharging); in GetConditionInfo()
488 napi_set_named_property(env, napiWork, "isCharging", napiIsCharging); in GetConditionInfo()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/
H A Dlnn_node_info.h104 bool isCharging; member
/foundation/resourceschedule/work_scheduler/frameworks/src/
H A Dwork_info.cpp63 void WorkInfo::RequestChargerType(bool isCharging, WorkCondition::Charger condition) in RequestChargerType() argument
66 chargerCondition->boolVal = isCharging; in RequestChargerType()
510 conditions["isCharging"] = it.second->boolVal; in ParseConditionToJsonStr()
620 if (conditions.isMember("isCharging") && conditions["isCharging"].isBool() && in ParseConditionFromJsonStr()
622 this->RequestChargerType(conditions["isCharging"].asBool(), in ParseConditionFromJsonStr()
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c1383 !JSON_AddBoolToObject(json, IS_CHARGING, info->batteryInfo.isCharging) || in PackCommonEx()
1407 !JSON_AddBoolToObject(json, IS_CHARGING, info->batteryInfo.isCharging) || in PackCommonEx()
1558 (void)JSON_GetBoolFromOject(json, IS_CHARGING, &info->batteryInfo.isCharging); in ParseCommonJsonInfo()
1831 !JSON_AddBoolToObject(json, IS_CHARGING, info->batteryInfo.isCharging) || in PackDeviceInfoBtV1()
1862 OptBool(json, IS_CHARGING, &info->batteryInfo.isCharging, false); in UnpackDeviceInfoBtV1()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger_manager.c1741 nodeInfo->batteryInfo.isCharging = info->isCharging; in LnnSetDLBatteryInfo()

Completed in 14 milliseconds