Home
last modified time | relevance | path

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

/device/google/trout/hal/sensors/2.1/tests/
DIioUtilsTest.cpp62 static bool writeFile(const std::string& path, const T& content, bool nl = true) { in writeFile() function
76 static bool writeFile(const std::string& path, const std::vector<U>& content, bool nl = true) { in writeFile() function
85 return writeFile(path, ss.str(), nl); in writeFile()
96 if (!writeFile(concatPaths(dev_path, "name"), dev.name)) return false; in writeAccelDevice()
97 if (!writeFile(concatPaths(dev_path, "in_accel_x_scale"), dev.scale)) return false; in writeAccelDevice()
98 if (!writeFile(concatPaths(dev_path, "in_accel_y_scale"), dev.scale)) return false; in writeAccelDevice()
99 if (!writeFile(concatPaths(dev_path, "in_accel_z_scale"), dev.scale)) return false; in writeAccelDevice()
100 if (!writeFile(concatPaths(dev_path, "in_accel_raw_available"), in writeAccelDevice()
103 if (!writeFile(concatPaths(dev_path, "in_accel_sampling_frequency_available"), in writeAccelDevice()