Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionTraceWriterTest.cpp31 std::string mFilename = "/data/local/tmp/testfile_transaction_trace.winscope"; member in android::TransactionTraceWriterTest
34 void TearDown() { std::filesystem::remove(mFilename); } in TearDown()
37 std::fstream file(mFilename, std::ios::in); in verifyTraceFile()
50 TransactionTraceWriter::getInstance().invokeForTest(mFilename, /* overwrite */ true); in TEST_F()
51 EXPECT_EQ(access(mFilename.c_str(), F_OK), 0); in TEST_F()
57 TransactionTraceWriter::getInstance().invokeForTest(mFilename, /* overwrite */ false); in TEST_F()
58 EXPECT_EQ(access(mFilename.c_str(), F_OK), 0); in TEST_F()
66 std::ofstream file(mFilename, std::ios::out); in TEST_F()
69 TransactionTraceWriter::getInstance().invokeForTest(mFilename, /* overwrite */ true); in TEST_F()
77 std::ofstream file(mFilename, std::ios::out); in TEST_F()
[all …]
/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.c_str()); in SetUp()
60 int fd = ::open(mFilename.c_str(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
62 FAIL() << "Couldn't create " << mFilename.c_str() << " for writing"; in SetUp()
75 int fd = ::open(mFilename.c_str(), O_WRONLY); in TEST_F()
84 fd = ::open(mFilename.c_str(), O_RDONLY); in TEST_F()
117 int fd = ::open(mFilename.c_str(), O_WRONLY); in TEST_F()
125 fd = ::open(mFilename.c_str(), O_RDONLY); in TEST_F()
[all …]
/frameworks/native/opengl/libs/EGL/
DFileBlobCache.cpp56 , mFilename(filename) { in FileBlobCache()
59 if (mFilename.length() > 0) { in FileBlobCache()
62 int fd = open(mFilename.c_str(), O_RDONLY, 0); in FileBlobCache()
65 ALOGE("error opening cache file %s: %s (%d)", mFilename.c_str(), in FileBlobCache()
127 if (mFilename.length() > 0) { in writeToFile()
130 const char* fname = mFilename.c_str(); in writeToFile()
196 if (mFilename.length() > 0) { in getSize()
Degl_cache.cpp196 mFilename = filename; in setCacheFilename()
272 mCacheByteLimit, mFilename)); in getBlobCacheLocked()
281 kMaxMultifileTotalEntries, mFilename)); in getMultifileBlobCacheLocked()
DFileBlobCache.h43 std::string mFilename;
Degl_cache.h124 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/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DImageLoader.java43 @Nullable File mFilename; field in ImageLoader.Result
50 sb.append(", fileName=").append(mFilename); in toString()
93 result.mFilename = file; in load()
DLongScreenshotActivity.java286 mSavedImagePath = imageResult.mFilename; in onCachedImageLoaded()
/frameworks/base/libs/hwui/pipeline/skia/
DShaderCache.cpp91 if (!Properties::runningInEmulator && mFilename.length() > 0) { in initShaderDiskCache()
92 mBlobCache.reset(new FileBlobCache(maxKeySize, maxValueSize, maxTotalSize, mFilename)); in initShaderDiskCache()
103 mFilename = filename; in setFilename()
DShaderCache.h142 std::string mFilename GUARDED_BY(mMutex);
/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.h65 const char* mFilename;
DSection.cpp90 : Section(id, timeoutMs), mFilename(filename) { in FileSection()
101 unique_fd fd(open(mFilename, O_RDONLY | O_CLOEXEC)); in Execute()
/frameworks/base/libs/hwui/tests/unit/
DShaderCacheTests.cpp56 cache.mFilename = newCache.mFilename; in reinitializeAllFields()
/frameworks/base/media/java/android/media/
DExifInterface.java1454 private String mFilename; field in ExifInterface
1546 mFilename = null; in ExifInterface()
1616 mFilename = null; in ExifInterface()
2105 if (mIsInputStream || (mSeekableFileDescriptor == null && mFilename == null)) { in saveAttributes()
2127 if (mFilename != null) { in saveAttributes()
2128 in = new FileInputStream(mFilename); in saveAttributes()
2147 if (mFilename != null) { in saveAttributes()
2148 out = new FileOutputStream(mFilename); in saveAttributes()
2166 if (mFilename != null) { in saveAttributes()
2167 out = new FileOutputStream(mFilename); in saveAttributes()
[all …]