Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp48 String8 mFilename; member in android::BackupDataTest
56 mFilename.append(m_external_storage); in SetUp()
57 mFilename.append(TEST_FILENAME); in SetUp()
59 ::unlink(mFilename.string()); in SetUp()
60 int fd = ::open(mFilename.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
62 FAIL() << "Couldn't create " << mFilename.string() << " for writing"; in SetUp()
75 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F()
84 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F()
117 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F()
125 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F()
[all …]
/frameworks/native/opengl/libs/EGL/
DFileBlobCache.cpp53 , mFilename(filename) { in FileBlobCache()
54 if (mFilename.length() > 0) { in FileBlobCache()
57 int fd = open(mFilename.c_str(), O_RDONLY, 0); in FileBlobCache()
60 ALOGE("error opening cache file %s: %s (%d)", mFilename.c_str(), in FileBlobCache()
120 if (mFilename.length() > 0) { in writeToFile()
123 const char* fname = mFilename.c_str(); in writeToFile()
Degl_cache.cpp171 mFilename = filename; in setCacheFilename()
176 mBlobCache.reset(new FileBlobCache(maxKeySize, maxValueSize, maxTotalSize, mFilename)); in getBlobCacheLocked()
DFileBlobCache.h38 std::string mFilename;
Degl_cache.h103 std::string mFilename; variable
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.cpp63 :mUrl(NULL), mFilename(NULL), mContentUrl(NULL), in TestPlayerStub()
96 mFilename = i; in parseUrl()
137 mHandle = ::dlopen(mFilename, RTLD_NOW | RTLD_GLOBAL); in setDataSource()
177 mFilename = NULL; in resetInternal()
DTestPlayerStub.h123 char *mFilename; // foo.so variable
/frameworks/ml/nn/driver/cache/nnCache/
DnnCache.cpp136 mFilename = filename; in setCacheFilename()
164 if (mFilename.length() > 0 && mBlobCache != NULL) { in saveBlobCacheLocked()
167 const char* fname = mFilename.c_str(); in saveBlobCacheLocked()
228 if (mFilename.length() > 0) { in loadBlobCacheLocked()
231 int fd = open(mFilename.c_str(), O_RDONLY, 0); in loadBlobCacheLocked()
234 ALOGE("error opening cache file %s: %s (%d)", mFilename.c_str(), strerror(errno), in loadBlobCacheLocked()
DnnCache.h135 std::string mFilename; variable
/frameworks/base/libs/hwui/pipeline/skia/
DShaderCache.cpp85 if (!Properties::runningInEmulator && mFilename.length() > 0) { in initShaderDiskCache()
86 mBlobCache.reset(new FileBlobCache(maxKeySize, maxValueSize, maxTotalSize, mFilename)); in initShaderDiskCache()
94 mFilename = filename; in setFilename()
DShaderCache.h140 std::string mFilename; variable
/frameworks/base/tools/aapt/
DXMLNode.cpp637 , mFilename(filename) in XMLNode()
652 : mFilename(filename) in XMLNode()
701 return mFilename; in getFilename()
803 SourcePos(mFilename, child->getStartLineNumber()).error("Child to CDATA node."); in addChild()
814 SourcePos(mFilename, child->getStartLineNumber()).error("Child to CDATA node."); in insertChildAt()
826 SourcePos(mFilename, getStartLineNumber()).error("Child to CDATA node."); in addAttribute()
890 SourcePos(mFilename, getStartLineNumber()).error("Adding characters to element node."); in appendChars()
984 AccessorCookie ac(SourcePos(mFilename, getStartLineNumber()), String8(e.name), in parseValues()
986 table->setCurrentXmlPos(SourcePos(mFilename, getStartLineNumber())); in parseValues()
1047 SourcePos(mFilename, getStartLineNumber()).error( in assignResourceIds()
[all …]
DXMLNode.h205 String8 mFilename; variable
/frameworks/base/cmds/incidentd/src/
DSection.h63 const char* mFilename;
DSection.cpp89 : Section(id, timeoutMs), mFilename(filename) { in FileSection()
100 unique_fd fd(open(mFilename, O_RDONLY | O_CLOEXEC)); in Execute()
/frameworks/base/media/java/android/media/
DExifInterface.java1337 private String mFilename; field in ExifInterface
1399 mFilename = null; in ExifInterface()
1436 mFilename = null; in ExifInterface()
1855 if (mIsInputStream || (mSeekableFileDescriptor == null && mFilename == null)) { in saveAttributes()
1872 if (mFilename != null) { in saveAttributes()
1873 tempFile = new File(mFilename + ".tmp"); in saveAttributes()
1874 File originalFile = new File(mFilename); in saveAttributes()
1897 if (mFilename != null) { in saveAttributes()
1898 out = new FileOutputStream(mFilename); in saveAttributes()
1968 } else if (mFilename != null) { in getThumbnailBytes()
[all …]