/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_battery_info.c | 28 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 D | ischeduler_video_state.h | 33 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 D | video_charging_state.cpp | 36 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 D | lnn_battery_info_test.cpp | 100 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 D | deferred_video_job.cpp | 23 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 D | lnn_battery_info.h | 26 int32_t LnnSyncBatteryInfo(const char *udid, int32_t level, bool isCharging);
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/include/ |
H A D | camera_deferred_video_unittest.h | 51 void BeginSchedule(bool isCharging);
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/ |
H A D | work_scheduler_ffi.cpp | 151 if (!cwork.isCharging) { in GetChargeInfo() 248 cwork.isCharging = false; in ParseWorkInfo() 251 cwork.isCharging = true; in ParseWorkInfo()
|
H A D | work_scheduler_ffi.h | 32 int32_t isCharging; member
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/schedule/video_processor/strategy/ |
H A D | video_strategy_center.h | 63 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 D | work_info.h | 65 * @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 D | video_strategy_center.cpp | 303 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 D | camera_deferred_video_unittest.cpp | 106 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 D | deferred_video_controller.cpp | 141 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 D | common.cpp | 107 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 D | lnn_node_info.h | 104 bool isCharging; member
|
/foundation/resourceschedule/work_scheduler/frameworks/src/ |
H A D | work_info.cpp | 63 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 D | auth_session_json.c | 1383 !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 D | lnn_distributed_net_ledger_manager.c | 1741 nodeInfo->batteryInfo.isCharging = info->isCharging; in LnnSetDLBatteryInfo()
|