Home
last modified time | relevance | path

Searched refs:technology (Results 1 - 8 of 8) sorted by relevance

/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dbattery_interface_impl.h50 int32_t GetTechnology(std::string& technology) override;
H A Dpower_supply_provider.h92 int32_t ParseTechnology(std::string& technology);
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_interface_impl.cpp174 int32_t BatteryInterfaceImpl::GetTechnology(std::string& technology) in GetTechnology() argument
176 return powerSupplyProvider_->ParseTechnology(technology); in GetTechnology()
220 info.technology = batteryInfo.technology_; in GetBatteryInfo()
H A Dbattery_thread.cpp201 event.technology = batteryInfo->technology_; in UpdateBatteryInfo()
H A Dpower_supply_provider.cpp268 FormatPath(batterySysfsInfo_.technologyPath, PATH_MAX, "%s/%s/technology", path_.c_str(), in FormatSysfsPaths()
269 nodeNamePathMap_["technology"].c_str()); in FormatSysfsPaths()
655 nodeNamePathMap_.insert(std::make_pair("technology", "")); in TraversalNode()
899 int32_t PowerSupplyProvider::ParseTechnology(std::string& technology) in ParseTechnology() argument
907 technology.assign(buf, strlen(buf)); in ParseTechnology()
941 CreateFile(mockTechPath + "/technology", "Li-ion"); in CreateMockTechPath()
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
H A Dhdi_service_test.cpp137 g_nodeInfo.insert(std::make_pair("technology", "")); in TraversalBaseNode()
756 if (iter->first == "technology") { in ReadTechnologySysfs()
761 std::string sysTechnologyPath = SYSTEM_BATTERY_PATH + "/" + technologyNode + "/" + "technology"; in ReadTechnologySysfs()
779 BATTERY_HILOGE(LABEL_TEST, "read system file technology is %{public}s.", battTechnology.c_str()); in ReadTechnologySysfs()
988 * @tc.desc: Test functions to get value of technology
993 std::string technology = "invalid"; in HWTEST_F() local
995 giver_->ParseTechnology(technology); in HWTEST_F()
998 BATTERY_HILOGI(LABEL_TEST, "HdiService009::technology=%{public}s, ty=%{public}s", technology.c_str(), in HWTEST_F()
1000 ASSERT_TRUE(technology in HWTEST_F()
[all...]
/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_type.h219 const char *technology; member
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
H A Dwpa_supplicant_hal.c551 if (strcmp(key, "technology") == 0) { in WpaCliCmdGetConnectionCapabilities()
552 connectionCap->technology = atoi(value); in WpaCliCmdGetConnectionCapabilities()
564 HDF_LOGI("WpaCliCmdGetConnectionCapabilities technology =%d channelBandwidth = %d", connectionCap->technology, in WpaCliCmdGetConnectionCapabilities()

Completed in 10 milliseconds