Home
last modified time | relevance | path

Searched refs:mockBatteryPath (Results 1 - 2 of 2) sorted by relevance

/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dpower_supply_provider.cpp954 void PowerSupplyProvider::CreateMockBatteryPath(std::string& mockBatteryPath) in CreateMockBatteryPath() argument
957 CreateFile(mockBatteryPath + "/capacity", "11"); in CreateMockBatteryPath()
958 CreateFile(mockBatteryPath + "/charge_control_limit", "0"); in CreateMockBatteryPath()
959 CreateFile(mockBatteryPath + "/charge_counter", "4000000"); in CreateMockBatteryPath()
960 CreateFile(mockBatteryPath + "/charge_full", "4000000"); in CreateMockBatteryPath()
961 CreateFile(mockBatteryPath + "/charge_now", "4000000"); in CreateMockBatteryPath()
962 CreateFile(mockBatteryPath + "/constant_charge_current", "0"); in CreateMockBatteryPath()
963 CreateFile(mockBatteryPath + "/current_avg", "1000"); in CreateMockBatteryPath()
964 CreateFile(mockBatteryPath + "/current_now", "1000"); in CreateMockBatteryPath()
965 CreateFile(mockBatteryPath in CreateMockBatteryPath()
978 std::string mockBatteryPath = MOCK_POWER_SUPPLY_BASE_PATH + "/battery"; InitDefaultSysfs() local
[all...]
/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dpower_supply_provider.h156 void CreateMockBatteryPath(std::string& mockBatteryPath);

Completed in 3 milliseconds