Lines Matching refs:filePath
171 String8 filePath = getFilePath(cameraId); in threadLoop() local
177 int newStatus = readFile(filePath); in threadLoop()
211 String8 filePath = getFilePath(cameraId); in createFileIfNotExists() local
214 TEMP_FAILURE_RETRY(open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC, in createFileIfNotExists()
218 filePath.string(), strerror(errno), errno); in createFileIfNotExists()
225 __FUNCTION__, filePath.string(), strerror(errno), errno); in createFileIfNotExists()
233 int EmulatedCameraHotplugThread::getCameraId(String8 filePath) const { in getCameraId()
240 if (camPath == filePath) { in getCameraId()
314 int EmulatedCameraHotplugThread::readFile(String8 filePath) const { in readFile()
315 int fd = TEMP_FAILURE_RETRY(open(filePath.string(), O_RDONLY, /*mode*/ 0)); in readFile()
318 filePath.string(), strerror(errno), errno); in readFile()
330 filePath.string(), length, buffer[0]); in readFile()