Home | History | Annotate | Download | only in accelerometer

Lines Matching refs:FilePath

23 const base::FilePath::CharType kAccelerometerTriggerPath[] =
25 const base::FilePath::CharType kAccelerometerDevicePath[] =
27 const base::FilePath::CharType kAccelerometerIioBasePath[] =
32 const base::FilePath::CharType kAccelerometerBaseScaleName[] =
34 const base::FilePath::CharType kAccelerometerLidScaleName[] =
57 bool ReadFileToUint(const base::FilePath& path, unsigned int* value) {
76 base::FilePath device;
77 if (!base::ReadSymbolicLink(base::FilePath(kAccelerometerDevicePath),
82 if (!base::PathExists(base::FilePath(kAccelerometerTriggerPath))) {
88 base::FilePath iio_path(base::FilePath(kAccelerometerIioBasePath).Append(
127 base::FilePath(kAccelerometerTriggerPath), "1\n", 2);
134 int bytes_read = base::ReadFile(base::FilePath(kAccelerometerDevicePath),