Searched refs:devicePath (Results 1 – 10 of 10) sorted by relevance
/hardware/google/pixel/powerstats/dataproviders/ |
D | IioEnergyMeterDataProvider.cpp | 53 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()
|
D | IioEnergyMeterDataSelector.cpp | 73 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/ |
D | RebootEscrow.h | 28 explicit RebootEscrow(const std::string& devicePath) : devicePath_(devicePath) {} in RebootEscrow() argument
|
/hardware/libhardware/modules/sensors/dynamic_sensor/test/ |
D | HidRawDeviceTest.cpp | 34 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/ |
D | power_files.cpp | 146 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/ |
D | PowerStats.h | 49 std::string devicePath; member
|
D | PowerStats.cpp | 113 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/ |
D | ExternalCameraDevice.h | 46 ExternalCameraDevice(const std::string& devicePath, const ExternalCameraConfig& config);
|
D | ExternalCameraDevice.cpp | 53 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/ |
D | ExternalCameraDevice.cpp | 53 const std::string& devicePath, const ExternalCameraConfig& cfg) : in ExternalCameraDevice() argument 55 mDevicePath(devicePath), in ExternalCameraDevice()
|