/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionTraceWriterTest.cpp | 31 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/ |
D | BackupData_test.cpp | 48 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/ |
D | FileBlobCache.cpp | 56 , 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()
|
D | egl_cache.cpp | 196 mFilename = filename; in setCacheFilename() 272 mCacheByteLimit, mFilename)); in getBlobCacheLocked() 281 kMaxMultifileTotalEntries, mFilename)); in getMultifileBlobCacheLocked()
|
D | FileBlobCache.h | 43 std::string mFilename;
|
D | egl_cache.h | 124 std::string mFilename; variable
|
/frameworks/av/media/libmediaplayerservice/ |
D | TestPlayerStub.cpp | 63 :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()
|
D | TestPlayerStub.h | 123 char *mFilename; // foo.so variable
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | ImageLoader.java | 43 @Nullable File mFilename; field in ImageLoader.Result 50 sb.append(", fileName=").append(mFilename); in toString() 93 result.mFilename = file; in load()
|
D | LongScreenshotActivity.java | 286 mSavedImagePath = imageResult.mFilename; in onCachedImageLoaded()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ShaderCache.cpp | 91 if (!Properties::runningInEmulator && mFilename.length() > 0) { in initShaderDiskCache() 92 mBlobCache.reset(new FileBlobCache(maxKeySize, maxValueSize, maxTotalSize, mFilename)); in initShaderDiskCache() 103 mFilename = filename; in setFilename()
|
D | ShaderCache.h | 142 std::string mFilename GUARDED_BY(mMutex);
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 637 , 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 …]
|
D | XMLNode.h | 205 String8 mFilename; variable
|
/frameworks/base/cmds/incidentd/src/ |
D | Section.h | 65 const char* mFilename;
|
D | Section.cpp | 90 : 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/ |
D | ShaderCacheTests.cpp | 56 cache.mFilename = newCache.mFilename; in reinitializeAllFields()
|
/frameworks/base/media/java/android/media/ |
D | ExifInterface.java | 1454 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 …]
|