Home
last modified time | relevance | path

Searched refs:GetTechnology (Results 1 - 24 of 24) sorted by relevance

/base/powermgr/battery_manager/test/benchmarktest/
H A Dbattery_benchmark_test.cpp146 * @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 Dbattery_device.c156 .GetTechnology = GetTechnologyImpl,
206 g_device.GetTechnology = g_batteryFeatureHandle->GetTechnology; in GetBatteryDeviceMethods()
H A Dbattery_manage_feature.c104 technology = g_batteryDevice->GetTechnology(); in TechnologyImpl()
/base/powermgr/battery_lite/services/include/
H A Dbattery_device.h53 char* (*GetTechnology)(void); member
H A Dibattery.h51 char* (*GetTechnology)(); member
/base/powermgr/battery_manager/interfaces/inner_api/native/include/
H A Dibattery_srv.h35 virtual std::string GetTechnology() = 0;
H A Dbattery_srv_client.h63 std::string GetTechnology();
H A Dbattery_info.h389 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 Dbattery_module.h33 static JSIValue GetTechnology(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum);
/base/powermgr/battery_manager/frameworks/native/src/
H A Dbattery_srv_client.cpp131 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 Dbattery_info_ffi.cpp74 auto technology = g_battClient.GetTechnology(); in FfiBatteryInfoGetTechnology()
/base/powermgr/battery_manager/services/zidl/include/
H A Dbattery_srv_proxy.h45 virtual std::string GetTechnology() override;
/base/powermgr/battery_lite/frameworks/js/builtin/src/
H A Dbattery_module.cpp125 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 Dbattery_service.h66 std::string GetTechnology() override;
/base/powermgr/battery_manager/test/unittest/src/
H A Dbattery_srv_proxy_mock_test.cpp140 std::string technology = g_proxy->GetTechnology(); in HWTEST_F()
/base/powermgr/battery_manager/test/systemtest/src/
H A Dbattery_sttest.cpp590 * @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 Dbattery_service.cpp230 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 Dbattery_dump.cpp83 std::string technology = service->GetTechnology(); in GetBatteryInfo()
H A Dbattery_notify.cpp193 want.SetParam(BatteryInfo::COMMON_EVENT_KEY_TECHNOLOGY, info.GetTechnology()); in PublishChangedEvent()
/base/powermgr/battery_manager/frameworks/napi/src/
H A Dbattery_info.cpp96 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 Dbattery_client_test.cpp270 * @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 Dbattery_service_test.cpp246 * @tc.desc: Test functions GetTechnology
253 EXPECT_FALSE(g_service->GetTechnology().empty()); in HWTEST_F()
/base/powermgr/battery_manager/services/zidl/src/
H A Dbattery_srv_stub.cpp137 std::u16string ret = Str8ToStr16(GetTechnology()); in GetTechnologyStub()
H A Dbattery_srv_proxy.cpp179 std::string BatterySrvProxy::GetTechnology() in GetTechnology() function in OHOS::PowerMgr::BatterySrvProxy

Completed in 15 milliseconds