Home
last modified time | relevance | path

Searched refs:chargingPolicyPath (Results 1 – 2 of 2) sorted by relevance

/aosp14/system/core/healthd/
H A DBatteryMonitor.cpp437 if (readFromFile(mHealthdConfig->chargingPolicyPath, &buf) > 0) in updateValues()
568 if (!mHealthdConfig->chargingPolicyPath.isEmpty()) { in setChargingPolicy()
569 result = writeToFile(mHealthdConfig->chargingPolicyPath, value); in setChargingPolicy()
582 if (!mHealthdConfig->chargingPolicyPath.isEmpty()) { in getChargingPolicy()
584 if (readFromFile(mHealthdConfig->chargingPolicyPath, &buf) > 0) in getChargingPolicy()
946 if (mHealthdConfig->chargingPolicyPath.isEmpty()) { in init()
949 if (access(path, R_OK) == 0) mHealthdConfig->chargingPolicyPath = path; in init()
1014 if (mHealthdConfig->chargingPolicyPath.isEmpty()) in init()
/aosp14/system/core/healthd/include/healthd/
H A Dhealthd.h80 android::String8 chargingPolicyPath; member