Home
last modified time | relevance | path

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

/frameworks/base/include/androidfw/
DAssetDir.h81 : mFileName(path), mFileType(kFileTypeUnknown) in FileInfo()
94 mFileName = src.mFileName; in copyMembers()
101 return mFileName < rhs.mFileName;
106 return mFileName == rhs.mFileName;
110 mFileName = path; in set()
114 const String8& getFileName(void) const { return mFileName; } in getFileName()
115 void setFileName(const String8& path) { mFileName = path; } in setFileName()
131 String8 mFileName; // filename only
DObbFile.h47 return mFileName; in getFileName()
133 const char* mFileName; variable
DZipFileRO.h74 : mFd(-1), mFileName(NULL), mFileLength(-1), in ZipFileRO()
238 char* mFileName; variable
DAsset.h252 char* mFileName; // for opening variable
/frameworks/base/tools/aapt/
DZipEntry.cpp126 mCDE.mFileName = new unsigned char[mCDE.mFileNameLength+1]; in initNew()
127 strcpy((char*) mCDE.mFileName, fileName); in initNew()
153 mCDE.mFileName = new unsigned char[mCDE.mFileNameLength+1]; in initFromExternal()
154 if (mCDE.mFileName == NULL) in initFromExternal()
156 strcpy((char*) mCDE.mFileName, (char*)pEntry->mCDE.mFileName); in initFromExternal()
247 delete[] mLFH.mFileName; in copyCDEtoLFH()
249 mLFH.mFileName = new unsigned char[mLFH.mFileNameLength+1]; in copyCDEtoLFH()
250 strcpy((char*) mLFH.mFileName, (const char*) mCDE.mFileName); in copyCDEtoLFH()
252 mLFH.mFileName = NULL; in copyCDEtoLFH()
324 if (mCDE.mFileName != NULL) { in compareHeaders()
[all …]
DZipEntry.h103 const char* getFileName(void) const { return (const char*) mCDE.mFileName; } in getFileName()
232 mFileName(NULL), in LocalFileHeader()
236 delete[] mFileName; in ~LocalFileHeader()
254 unsigned char* mFileName; variable
288 mFileName(NULL), in CentralDirEntry()
293 delete[] mFileName; in ~CentralDirEntry()
318 unsigned char* mFileName; variable
DZipFile.cpp606 ALOGW("copy of '%s' failed\n", pEntry->mCDE.mFileName); in add()
/frameworks/base/libs/androidfw/tests/
DObbFile_test.cpp38 char* mFileName; member in android::ObbFileTest
45 mFileName = new char[totalLen]; in SetUp()
46 snprintf(mFileName, totalLen, "%s%s", mExternalStorage, TEST_FILENAME); in SetUp()
48 int fd = ::open(mFileName, O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
50 FAIL() << "Couldn't create " << mFileName << " for tests"; in SetUp()
74 EXPECT_TRUE(mObbFile->writeTo(mFileName)) in TEST_F()
79 EXPECT_TRUE(mObbFile->readFrom(mFileName)) in TEST_F()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DTexture2D.java31 String mFileName; field in Texture2D
60 mFileName = file; in setFileName()
64 return mFileName; in getFileName()
77 if (mFileName != null && mFileName.length() > 0) { in load()
78 String shortName = mFileName.substring(mFileName.lastIndexOf('/') + 1); in load()
DTextureCube.java32 String mFileName; field in TextureCube
61 mFileName = file; in setFileName()
65 return mFileName; in getFileName()
78 if (mFileName != null && mFileName.length() > 0) { in load()
79 String shortName = mFileName.substring(mFileName.lastIndexOf('/') + 1); in load()
/frameworks/base/core/java/android/webkit/
DPlugin.java52 private String mFileName; field in Plugin
68 mFileName = fileName; in Plugin()
110 return mFileName; in getFileName()
150 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/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java194 mMediaControllers[0].mFileName = ""; in onResume()
264 String mFileName; field in ScoAudioTest.SimpleMediaController
331 mFileName = Environment.getExternalStorageDirectory().toString() + "/music/" + in SimplePlayerController()
341 mFileName = ""; in SimplePlayerController()
348 " mFileName: "+mFileName+ in playOrPause()
352 if (mFileName != mLastRecordedFile) { in playOrPause()
353 mFileName = mLastRecordedFile; in playOrPause()
354 Log.e(TAG, "new recorded file: "+mFileName); in playOrPause()
358 if (mFileName.equals("")) { in playOrPause()
364 Log.e(TAG, "Playing file: "+mFileName); in playOrPause()
[all …]
/frameworks/base/libs/androidfw/
DZipFileRO.cpp99 if (mFileName) in ~ZipFileRO()
100 free(mFileName); in ~ZipFileRO()
143 if (mFileName != NULL) { in open()
144 free(mFileName); in open()
146 mFileName = strdup(zipFileName); in open()
167 free(mFileName); in open()
168 mFileName = NULL; in open()
259 ALOGD("Zip: EOCD not found, %s is not zip\n", mFileName); in mapCentralDirectory()
312 if (!mDirectoryMap->create(mFileName, mFd, centralDirOffset, centralDirSize, true)) { in mapCentralDirectory()
313 ALOGW("Unable to map '%s' (" ZD " to " ZD "): %s\n", mFileName, in mapCentralDirectory()
[all …]
DAsset.cpp356 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mMap(NULL), mBuf(NULL) in _FileAsset()
411 mFileName = fileName != NULL ? strdup(fileName) : NULL; in openChunk()
537 if (mFileName != NULL) { in close()
538 free(mFileName); in close()
539 mFileName = NULL; in close()
628 fname = mFileName; in openFileDescriptor()
637 if (mFileName == NULL) { in openFileDescriptor()
642 return open(mFileName, O_RDONLY | O_BINARY); in openFileDescriptor()
DAssetManager.cpp1641 if (strcmp(pContents->itemAt(i).mFileName, in mergeInfoLocked()
1642 pMergedInfo->itemAt(j).mFileName) == 0) in mergeInfoLocked()
/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/docs/html/guide/topics/media/
Daudio-capture.jd107 private static String mFileName = null;
134 mPlayer.setDataSource(mFileName);
151 mRecorder.setOutputFile(mFileName);
214 mFileName = Environment.getExternalStorageDirectory().getAbsolutePath();
215 mFileName += "/audiorecordtest.3gp";
/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/media/java/android/media/videoeditor/
DMediaImageItem.java74 private String mFileName; field in MediaImageItem
120 mFileName = filename; in MediaImageItem()
740 if(mFileName != mScaledFilename) { in invalidate()