Lines Matching refs:filePath
185 String8 filePath = getFilePath(cameraId); in threadLoop() local
191 int newStatus = readFile(filePath); in threadLoop()
228 String8 filePath = getFilePath(cameraId); in createFileIfNotExists() local
231 open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC, in createFileIfNotExists()
235 __FUNCTION__, filePath.string(), strerror(errno), errno); in createFileIfNotExists()
242 __FUNCTION__, filePath.string(), strerror(errno), errno); in createFileIfNotExists()
250 int EmulatedCameraHotplugThread::getCameraId(String8 filePath) const { in getCameraId()
257 if (camPath == filePath) { in getCameraId()
338 int EmulatedCameraHotplugThread::readFile(String8 filePath) const { in readFile()
341 open(filePath.string(), O_RDONLY, /*mode*/0)); in readFile()
344 __FUNCTION__, filePath.string(), strerror(errno), errno); in readFile()
357 __FUNCTION__, filePath.string(), length, buffer[0]); in readFile()