Lines Matching defs:filename
86 bool ObbFile::readFrom(const char* filename)
91 fd = ::open(filename, O_RDONLY);
93 ALOGW("couldn't open file %s: %s", filename, strerror(errno));
100 ALOGW("failed to read from %s (fd=%d)\n", filename, fd);
226 bool ObbFile::writeTo(const char* filename)
231 fd = ::open(filename, O_WRONLY);
240 ALOGW("failed to write to %s: %s\n", filename, strerror(errno));
311 bool ObbFile::removeFrom(const char* filename)
316 fd = ::open(filename, O_RDWR);
325 ALOGW("failed to remove signature from %s: %s\n", filename, strerror(errno));