Home
last modified time | relevance | path

Searched refs:mFileName (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/libs/androidfw/include/androidfw/
DAssetDir.h82 : mFileName(path), mFileType(kFileTypeUnknown) in FileInfo()
95 mFileName = src.mFileName; in copyMembers()
102 return mFileName < rhs.mFileName;
107 return mFileName == rhs.mFileName;
111 mFileName = path; in set()
115 const String8& getFileName(void) const { return mFileName; } in getFileName()
116 void setFileName(const String8& path) { mFileName = path; } in setFileName()
132 String8 mFileName; // filename only
DZipFileRO.h185 mFileName(fileName) in ZipFileRO()
190 char* mFileName; variable
DObbFile.h47 return mFileName; in getFileName()
130 const char* mFileName; variable
/frameworks/base/tools/aapt/
DZipEntry.cpp127 mCDE.mFileName = new unsigned char[mCDE.mFileNameLength+1]; in initNew()
128 strcpy((char*) mCDE.mFileName, fileName); in initNew()
150 if ((mCDE.mFileNameLength > 0 && mCDE.mFileName == NULL) || in initFromExternal()
230 delete[] mLFH.mFileName; in copyCDEtoLFH()
232 mLFH.mFileName = new unsigned char[mLFH.mFileNameLength+1]; in copyCDEtoLFH()
233 strcpy((char*) mLFH.mFileName, (const char*) mCDE.mFileName); in copyCDEtoLFH()
235 mLFH.mFileName = NULL; in copyCDEtoLFH()
307 if (mCDE.mFileName != NULL) { in compareHeaders()
308 if (strcmp((char*) mCDE.mFileName, (char*) mLFH.mFileName) != 0) { in compareHeaders()
390 assert(mFileName == NULL); in read()
[all …]
DZipEntry.h104 const char* getFileName(void) const { return (const char*) mCDE.mFileName; } in getFileName()
233 mFileName(NULL), in LocalFileHeader()
237 delete[] mFileName; in ~LocalFileHeader()
255 unsigned char* mFileName; variable
289 mFileName(NULL), in CentralDirEntry()
294 delete[] mFileName; in ~CentralDirEntry()
321 unsigned char* mFileName; variable
/frameworks/base/libs/androidfw/tests/
DObbFile_test.cpp37 String8 mFileName; member in android::ObbFileTest
43 mFileName.append(externalStorage); in SetUp()
44 mFileName.append(TEST_FILENAME); in SetUp()
46 int fd = ::open(mFileName.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
48 FAIL() << "Couldn't create " << mFileName.string() << " for tests"; in SetUp()
72 EXPECT_TRUE(mObbFile->writeTo(mFileName.string())) in TEST_F()
77 EXPECT_TRUE(mObbFile->readFrom(mFileName.string())) in TEST_F()
/frameworks/base/libs/androidfw/
DZipFileRO.cpp58 if (mFileName != NULL) { in ~ZipFileRO()
59 free(mFileName); in ~ZipFileRO()
155 ALOGW("Could not start iteration over %s: %s", mFileName != NULL ? mFileName : "<null>", in startIteration()
171 ALOGW("Error iteration over %s: %s", mFileName != NULL ? mFileName : "<null>", in nextEntry()
227 if (!newMap->create(mFileName, fd, ze.offset, actualLen, true)) { in createEntryFileMap()
252 if (!newMap.Create(fd, ze.offset, actualLen, mFileName)) { in createEntryIncFsFileMap()
DAsset.cpp384 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mFd(-1), mBuf(NULL) in _FileAsset()
446 mFileName = fileName != NULL ? strdup(fileName) : NULL; in openChunk()
574 if (mFileName != NULL) { in close()
575 free(mFileName); in close()
576 mFileName = NULL; in close()
683 fname = mFileName; in openFileDescriptor()
692 if (mFileName == NULL) { in openFileDescriptor()
697 return open(mFileName, O_RDONLY | O_BINARY); in openFileDescriptor()
/frameworks/layoutlib/bridge/tests/src/com/android/ide/common/resources/deprecated/
DIdGeneratingResourceFile.java50 private final String mFileName; field in IdGeneratingResourceFile
65 mFileName = getFileName(); in IdGeneratingResourceFile()
112 if (type == mFileType && name.equals(mFileName)) { in getValue()
147 ResourceItem item = repository.getResourceItem(mFileType, mFileName); in updateResourceItems()
178 mFileName), in getFileValue()
186 mFileName), in getFileValue()
/frameworks/base/core/java/android/webkit/
DPlugin.java51 private String mFileName; field in Plugin
67 mFileName = fileName; in Plugin()
109 return mFileName; in getFileName()
149 mFileName = fileName; in setFileName()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DSimplePlayer.java55 String mFileName; field in SimplePlayer
68 mFileName = fileName; in SimplePlayer()
75 mFileName = ""; in SimplePlayer()
116 if (mFileName.equals("")) { in playOrPause()
122 Log.d(TAG, "Playing file: "+mFileName); in playOrPause()
123 mMediaPlayer.setDataSource(mFileName); in playOrPause()
/frameworks/av/media/codecs/m4v_h263/enc/test/
DMpeg4H263EncoderTest.cpp69 mFileName = gEnv->getRes() + get<0>(params); in SetUp()
102 string mFileName; member in Mpeg4H263EncoderTest
152 stat(mFileName.c_str(), &buf); in getTotalFrames()
182 ASSERT_TRUE(status) << "Failed to Encode: " << mFileName; in processEncoder()
204 mFpInput = fopen(mFileName.c_str(), "rb"); in TEST_P()
205 ASSERT_NE(mFpInput, nullptr) << "Failed to open the input file: " << mFileName; in TEST_P()
223 ASSERT_NO_FATAL_FAILURE(processEncoder(totalFrames)) << "Failed to Encode: " << mFileName; in TEST_P()
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java194 mMediaControllers[0].mFileName = ""; in onResume()
273 String mFileName; field in ScoAudioTest.SimpleMediaController
340 mFileName = Environment.getExternalStorageDirectory().toString() + "/music/" + in SimplePlayerController()
350 mFileName = ""; in SimplePlayerController()
357 " mFileName: "+mFileName+ in playOrPause()
361 if (mFileName != mLastRecordedFile) { in playOrPause()
362 mFileName = mLastRecordedFile; in playOrPause()
363 Log.e(TAG, "new recorded file: "+mFileName); in playOrPause()
367 if (mFileName.equals("")) { in playOrPause()
373 Log.e(TAG, "Playing file: "+mFileName); in playOrPause()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DAbstractStatsBase.java46 private final String mFileName; field in AbstractStatsBase
51 mFileName = fileName; in AbstractStatsBase()
59 File fname = new File(systemDir, mFileName); in getFile()
/frameworks/base/libs/storage/
DObbInfo.cpp26 int32_t flags, size_t saltSize, const uint8_t* salt) : mFileName(fileName), in ObbInfo()
39 p->writeString16(mFileName); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceUtils.java42 private final String mFileName; field in FaceUtils
85 mFileName = fileName; in FaceUtils()
131 state = new FaceUserState(ctx, userId, mFileName); in getStateForUser()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintUtils.java54 private final String mFileName; field in FingerprintUtils
100 mFileName = fileName; in FingerprintUtils()
147 state = new FingerprintUserState(ctx, userId, mFileName); in getStateForUser()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectViewer.java53 private String mFileName; field in ObjectViewer
121 mFileName = info.getName(); in onResume()
122 view.setText(mFileName); in onResume()
175 dest = new File(dest, mFileName); in importObject()
/frameworks/base/services/core/java/com/android/server/audio/
DSoundEffectsHelper.java90 final String mFileName; field in SoundEffectsHelper.Resource
95 mFileName = fileName; in Resource()
319 String filePath = Environment.getProductDirectory() + SOUND_EFFECTS_PATH + res.mFileName; in getResourceFilePath()
321 filePath = Environment.getRootDirectory() + SOUND_EFFECTS_PATH + res.mFileName; in getResourceFilePath()
428 if (mResources.get(i).mFileName.equals(fileName)) { in findOrAddResourceByFileName()
519 logEvent("effect " + res.mFileName + " loaded"); in onLoadComplete()
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
DFakeBlobData.java63 private String mFileName = "blob_" + System.nanoTime(); field in FakeBlobData.Builder
102 mFileName = fileName; in setFileName()
107 return mFileName; in getFileName()
/frameworks/rs/script_api/
DScanner.cpp30 : mFileName(fileName), mFile(file), mLineNumber(0), mTagConsumed(true), mErrorCount(0) { in Scanner()
104 cerr << mFileName << ":" << lineNumber << ": error: "; in error()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java90 private final @NonNull String mFileName; field in FontResourcesParser.FontFileResourceEntry
99 mFileName = fileName; in FontFileResourceEntry()
107 return mFileName; in getFileName()
/frameworks/base/libs/storage/include/storage/
DObbInfo.h38 const String16 mFileName;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCSVWriterFilter.java41 private final String mFileName = "/CSVFile.csv"; field in CSVWriterFilter
130 FileWriter fileWriter = new FileWriter(csvFilePath + mFileName, true); in onProcess()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DImageExporter.java230 private final String mFileName;
241 mFileName = createFilename(mCaptureTime, mFormat);
256 uri = createEntry(mResolver, mFormat, mCaptureTime, mFileName);
275 result.fileName = mFileName;

12