/base/powermgr/battery_manager/test/benchmarktest/ |
H A D | battery_benchmark_test.cpp | 146 * @tc.name: GetTechnology 147 * @tc.desc: Testcase for testing "GetTechnology" function. 150 BENCHMARK_F(BatteryBenchmarkTest, GetTechnology)(benchmark::State& st) in BENCHMARK_F() 153 auto technology = g_batterySrvClient.GetTechnology(); in BENCHMARK_F() 157 BENCHMARK_REGISTER_F(BatteryBenchmarkTest, GetTechnology)
|
/base/powermgr/battery_lite/services/src/ |
H A D | battery_device.c | 156 .GetTechnology = GetTechnologyImpl,
206 g_device.GetTechnology = g_batteryFeatureHandle->GetTechnology;
in GetBatteryDeviceMethods()
|
H A D | battery_manage_feature.c | 104 technology = g_batteryDevice->GetTechnology();
in TechnologyImpl()
|
/base/powermgr/battery_lite/services/include/ |
H A D | battery_device.h | 53 char* (*GetTechnology)(void);
member
|
H A D | ibattery.h | 51 char* (*GetTechnology)();
member
|
/base/powermgr/battery_manager/interfaces/inner_api/native/include/ |
H A D | ibattery_srv.h | 35 virtual std::string GetTechnology() = 0;
|
H A D | battery_srv_client.h | 63 std::string GetTechnology();
|
H A D | battery_info.h | 389 const std::string& GetTechnology() const in GetTechnology() function in OHOS::PowerMgr::BatteryInfo 420 (technology_ == info.GetTechnology()) && in operator ==()
|
/base/powermgr/battery_lite/frameworks/js/builtin/include/ |
H A D | battery_module.h | 33 static JSIValue GetTechnology(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum);
|
/base/powermgr/battery_manager/frameworks/native/src/ |
H A D | battery_srv_client.cpp | 131 std::string BatterySrvClient::GetTechnology() in GetTechnology() function in OHOS::PowerMgr::BatterySrvClient 135 return proxy->GetTechnology(); in GetTechnology()
|
/base/powermgr/battery_manager/frameworks/cj/src/ |
H A D | battery_info_ffi.cpp | 74 auto technology = g_battClient.GetTechnology(); in FfiBatteryInfoGetTechnology()
|
/base/powermgr/battery_manager/services/zidl/include/ |
H A D | battery_srv_proxy.h | 45 virtual std::string GetTechnology() override;
|
/base/powermgr/battery_lite/frameworks/js/builtin/src/ |
H A D | battery_module.cpp | 125 JSIValue BatteryModule::GetTechnology(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum)
in GetTechnology() function in OHOS::ACELite::BatteryModule 165 JSI::SetModuleAPI(exports, "Technology", BatteryModule::GetTechnology);
in InitBatteryModule()
|
/base/powermgr/battery_manager/services/native/include/ |
H A D | battery_service.h | 66 std::string GetTechnology() override;
|
/base/powermgr/battery_manager/test/unittest/src/ |
H A D | battery_srv_proxy_mock_test.cpp | 140 std::string technology = g_proxy->GetTechnology(); in HWTEST_F()
|
/base/powermgr/battery_manager/test/systemtest/src/ |
H A D | battery_sttest.cpp | 590 * @tc.desc: Test IBatterySrv interface GetTechnology 600 std::string tempTechnology = BatterySrvClient.GetTechnology(); in HWTEST_F() 603 auto technology = BatterySrvClient.GetTechnology(); in HWTEST_F() 610 auto technology = BatterySrvClient.GetTechnology(); in HWTEST_F()
|
/base/powermgr/battery_manager/services/native/src/ |
H A D | battery_service.cpp | 230 batteryInfo_.SetTechnology(GetTechnology()); in InitBatteryInfo() 290 batteryInfo_.GetTechnology().c_str(), batteryInfo_.GetNowCurrent(), batteryInfo_.GetTotalEnergy(), in HandleBatteryInfo() 636 std::string BatteryService::GetTechnology() in GetTechnology() function in OHOS::PowerMgr::BatteryService 645 iBatteryInterface_->GetTechnology(technology); in GetTechnology()
|
H A D | battery_dump.cpp | 83 std::string technology = service->GetTechnology(); in GetBatteryInfo()
|
H A D | battery_notify.cpp | 193 want.SetParam(BatteryInfo::COMMON_EVENT_KEY_TECHNOLOGY, info.GetTechnology()); in PublishChangedEvent()
|
/base/powermgr/battery_manager/frameworks/napi/src/ |
H A D | battery_info.cpp | 96 static napi_value GetTechnology(napi_env env, napi_callback_info info)
in GetTechnology() function 99 auto technology = g_battClient.GetTechnology();
in GetTechnology() 573 DECLARE_NAPI_GETTER("technology", GetTechnology),
in BatteryInit()
|
/base/powermgr/battery_manager/test/unittest/src/interface_test/ |
H A D | battery_client_test.cpp | 270 * @tc.desc: Test IBatterySrv interface GetTechnology 278 std::string tempTechnology = BatterySrvClient.GetTechnology(); in HWTEST_F() 280 auto technology = BatterySrvClient.GetTechnology(); in HWTEST_F() 287 auto technology = BatterySrvClient.GetTechnology(); in HWTEST_F()
|
H A D | battery_service_test.cpp | 246 * @tc.desc: Test functions GetTechnology 253 EXPECT_FALSE(g_service->GetTechnology().empty()); in HWTEST_F()
|
/base/powermgr/battery_manager/services/zidl/src/ |
H A D | battery_srv_stub.cpp | 137 std::u16string ret = Str8ToStr16(GetTechnology()); in GetTechnologyStub()
|
H A D | battery_srv_proxy.cpp | 179 std::string BatterySrvProxy::GetTechnology() in GetTechnology() function in OHOS::PowerMgr::BatterySrvProxy
|