Home
last modified time | relevance | path

Searched refs:devicePath (Results 1 – 10 of 10) sorted by relevance

/hardware/google/pixel/powerstats/dataproviders/
DIioEnergyMeterDataProvider.cpp53 std::string devicePath = kIioRootDir + devTypeDir; in findIioEnergyMeterNodes() local
56 if (!::android::base::ReadFileToString(devicePath + kNameNode, &deviceNameContents)) { in findIioEnergyMeterNodes()
57 LOG(WARNING) << "Failed to read device name from " << devicePath; in findIioEnergyMeterNodes()
61 mDevicePaths.emplace(devicePath, deviceName); in findIioEnergyMeterNodes()
198 for (const auto &devicePath : mDevicePaths) { in readEnergyMeter() local
199 if (parseEnergyValue(devicePath.first) < 0) { in readEnergyMeter()
200 LOG(ERROR) << "Error in parsing " << devicePath.first; in readEnergyMeter()
DIioEnergyMeterDataSelector.cpp73 std::string devicePath = devicePathPair.first; in applyConfigToDevices() local
79 std::string nodePath = devicePath + kSelectionNode; in applyConfigToDevices()
116 std::string devicePath = devicePathPair.first; in sendConfigurationComplete() local
117 std::string nodePath = devicePath + kSelectionNode; in sendConfigurationComplete()
/hardware/interfaces/rebootescrow/aidl/default/include/rebootescrow-impl/
DRebootEscrow.h28 explicit RebootEscrow(const std::string& devicePath) : devicePath_(devicePath) {} in RebootEscrow() argument
/hardware/libhardware/modules/sensors/dynamic_sensor/test/
DHidRawDeviceTest.cpp34 static void test(const char *devicePath) { in test() argument
41 SP(HidRawDevice) device{new HidRawDevice(std::string(devicePath), interestedUsage)}; in test()
/hardware/google/pixel/thermal/utils/
Dpower_files.cpp146 std::string devicePath; in findEnergySourceToWatch() local
162 devicePath = StringPrintf("%s/%s", kIioRootDir.data(), devTypeDir.data()); in findEnergySourceToWatch()
165 if (!ReadFileToString(StringPrintf("%s/%s", devicePath.data(), kEnergyValueNode.data()), in findEnergySourceToWatch()
169 StringPrintf("%s/%s", devicePath.data(), kEnergyValueNode.data())); in findEnergySourceToWatch()
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.h49 std::string devicePath; member
DPowerStats.cpp113 words[0], RailData{.devicePath = path, in parsePowerRails()
175 for (const auto& devicePath : mPm.devicePaths) { in parseIioEnergyNodes() local
176 if (parseIioEnergyNode(devicePath) < 0) { in parseIioEnergyNodes()
/hardware/interfaces/camera/device/default/
DExternalCameraDevice.h46 ExternalCameraDevice(const std::string& devicePath, const ExternalCameraConfig& config);
DExternalCameraDevice.cpp53 ExternalCameraDevice::ExternalCameraDevice(const std::string& devicePath, in ExternalCameraDevice() argument
55 : mCameraId("-1"), mDevicePath(devicePath), mCfg(config) { in ExternalCameraDevice()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDevice.cpp53 const std::string& devicePath, const ExternalCameraConfig& cfg) : in ExternalCameraDevice() argument
55 mDevicePath(devicePath), in ExternalCameraDevice()