/base/powermgr/battery_manager/frameworks/native/test/unittest/src/ |
D | battery_client_test.cpp | 176 auto voltage = BatterySrvClient.GetVoltage(); variable 177 BATTERY_HILOGI(LABEL_TEST, "BatteryClientTest::voltage=%{public}d", voltage); 178 GTEST_LOG_(INFO) << "BatteryClient::BatteryClient005 executing, voltage=" << voltage; 179 ASSERT_TRUE(voltage == 4654321); 181 auto voltage = BatterySrvClient.GetVoltage(); variable 182 BATTERY_HILOGI(LABEL_TEST, "BatteryClientTest::voltage=%{public}d", voltage); 183 GTEST_LOG_(INFO) << "BatteryClient::BatteryClient005 executing, voltage=" << voltage; 184 ASSERT_TRUE(voltage >= 0);
|
/base/powermgr/battery_lite/test/Interface_test/test/unittest/src/ |
D | batterymgr_interfaces_test.cpp | 93 int32_t voltage = GetBatVoltage(); variable 94 EXPECT_EQ ((voltage >= 0 && voltage <= 100), 1) 95 << "GetBatVoltage ret = " << voltage << endl;
|
/base/powermgr/battery_manager/services/native/test/unittest/src/ |
D | battery_service_test.cpp | 157 int32_t voltage = -1; variable 161 voltage = g_service->GetVoltage(); 162 ASSERT_TRUE(voltage == 4123456); 164 voltage = g_service->GetVoltage(); 165 ASSERT_TRUE(voltage > 0); 167 BATTERY_HILOGI(LABEL_TEST, "BatteryServiceTest::voltage=%{public}d", voltage); 168 GTEST_LOG_(INFO) << "BatteryService::BatteryService005 executing, voltage=" << voltage;
|
/base/powermgr/battery_lite/services/src/ |
D | battery_manage_feature.c | 89 int32_t voltage = BATT_INT_VALUE; in VoltageImpl() local 92 return voltage; in VoltageImpl() 94 voltage = g_batteryDevice->GetVoltage(); in VoltageImpl() 95 return voltage; in VoltageImpl()
|
/base/powermgr/thermal_manager/application/protector/src/action/ |
D | voltage_action.cpp | 46 int32_t VoltageAction::BatteryVoltageActionRequest(uint32_t voltage) in BatteryVoltageActionRequest() argument 52 std::string voltageStr = std::to_string(voltage); in BatteryVoltageActionRequest()
|
/base/powermgr/battery_manager/frameworks/js/test/ |
D | battery_unit.test.js | 43 var voltage = batteryInfo.voltage; 44 console.info('voltage = ' + voltage); 45 expect(voltage >= 0).assertEqual('1')
|
/base/powermgr/battery_manager/frameworks/native/src/ |
D | battery_srv_client.cpp | 116 int32_t voltage = INVALID_BATT_INT_VALUE; in GetVoltage() local 117 RETURN_IF_WITH_RET(Connect() != ERR_OK, voltage); in GetVoltage() 118 voltage = proxy_->GetVoltage(); in GetVoltage() 119 return voltage; in GetVoltage()
|
/base/powermgr/battery_manager/services/native/src/ |
D | battery_dump.cpp | 70 int32_t voltage = service->GetVoltage(); in GetBatteryInfo() local 71 dprintf(fd, "voltage: %d \n", voltage); in GetBatteryInfo()
|
D | battery_service.cpp | 162 "technology=%{public}s", event.capacity, event.voltage, in HandleBatteryCallbackEvent() 168 batteryInfo.SetVoltage(event.voltage); in HandleBatteryCallbackEvent() 404 int voltage; in GetVoltage() local 409 ibatteryInterface->GetVoltage(voltage); in GetVoltage() 410 return voltage; in GetVoltage()
|
/base/powermgr/thermal_manager/application/protector/include/action/ |
D | voltage_action.h | 28 int32_t BatteryVoltageActionRequest(uint32_t voltage);
|
/base/powermgr/battery_manager/interfaces/kits/js/ |
D | @ohos.batteryInfo.d.ts | 54 const voltage: number; constant
|
/base/powermgr/battery_manager/interfaces/innerkits/native/include/ |
D | battery_info.h | 188 void SetVoltage(const int32_t voltage) in SetVoltage() argument 190 voltage_ = voltage; in SetVoltage()
|
/base/powermgr/battery_lite/frameworks/js/builtin/src/ |
D | battery_module.cpp | 112 int32_t voltage = 0; in GetVoltage() local 117 voltage = GetBatVoltageImpl(); in GetVoltage() 119 JSI::SetNumberProperty(result, "voltage", voltage); in GetVoltage()
|
/base/powermgr/battery_manager/services/native/test/unittest/include/ |
D | battery_subscriber_test.h | 64 int voltage = data.GetWant().GetIntParam(KEY_VOLTAGE, defaultVoltage); in OnReceiveEvent() local 65 BATTERY_HILOGD(LABEL_TEST, "SubscriberTest voltage = %{public}d", voltage); in OnReceiveEvent()
|
/base/powermgr/battery_manager/services/zidl/src/ |
D | battery_srv_proxy.cpp | 138 int32_t voltage = INVALID_BATT_INT_VALUE; in GetVoltage() local 139 READ_PARCEL_WITH_RET(reply, Int32, voltage, INVALID_BATT_INT_VALUE); in GetVoltage() 140 return voltage; in GetVoltage()
|
/base/powermgr/battery_lite/interfaces/kits/js/ |
D | @system.battery.d.ts | 105 voltage: number; property
|
/base/powermgr/battery_lite/test/ |
D | battery_test.js | 40 console.log('success get battery Voltage:' + data.voltage);
|
/base/powermgr/thermal_manager/ |
D | README_zh.md | 161 <voltage>5</voltage>
|
D | README.md | 161 <voltage>5</voltage>
|
/base/powermgr/battery_manager/frameworks/js/napi/ |
D | battery_info.cpp | 79 int32_t voltage = g_battClient.GetVoltage(); in GetVoltage() local 81 NAPI_CALL(env, napi_create_int32(env, voltage, &napiValue)); in GetVoltage() 83 BATTERY_HILOGD(FEATURE_BATT_INFO, "voltage %{public}d", voltage); in GetVoltage()
|
/base/powermgr/battery_manager/test/systemtest/src/ |
D | battery_sttest.cpp | 308 auto voltage = g_service->GetVoltage(); variable 309 HDF_LOGD("%{public}s: enter. BatteryST002::voltage=%{public}d.", __func__, voltage); 311 ASSERT_TRUE(voltage == 4123456); 1242 auto voltage = BatterySrvClient.GetVoltage(); variable 1243 GTEST_LOG_(INFO) << "BatteryST056 executing, voltage=" << voltage; 1245 ASSERT_TRUE(voltage == 4654321);
|
/base/powermgr/battery_lite/ |
D | README.md | 76 …4214445"><a name="p1869014214445"></a><a name="p1869014214445"></a>Obtains the battery voltage.</p>
|
/base/update/updater/test/unittest/test_data/applypatch/ |
D | TestGZipModeImagePatch.old.gz |
|