Home
last modified time | relevance | path

Searched refs:mFileName (Results 1 – 25 of 29) 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.h170 mFileName(fileName) in ZipFileRO()
175 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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DIconInfo.java47 private final String mFileName; field in IconInfo
55 mFileName = fileName; in IconInfo()
100 return mFileName; in getFileName()
117 && TextUtils.equals(mFileName, that.mFileName); in equals()
122 return Objects.hash(mWidth, mHeight, mLanguage, mIconType, mFileName); in hashCode()
132 + ", FileName='" + mFileName + "\'" in toString()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DIconEvent.java5 private final String mFileName; field in IconEvent
11 mFileName = fileName; in IconEvent()
21 return mFileName; in getFileName()
36 ", fileName='" + mFileName + '\'' + in toString()
/frameworks/base/libs/androidfw/
DZipFileRO.cpp58 if (mFileName != NULL) { in ~ZipFileRO()
59 free(mFileName); in ~ZipFileRO()
158 ALOGW("Could not start iteration over %s: %s", mFileName != NULL ? mFileName : "<null>", in startIteration()
174 ALOGW("Error iteration over %s: %s", mFileName != NULL ? mFileName : "<null>", in nextEntry()
230 if (!newMap->create(mFileName, fd, ze.offset, actualLen, true)) { in createEntryFileMap()
DAsset.cpp402 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mMap(NULL), mBuf(NULL) in _FileAsset()
464 mFileName = fileName != NULL ? strdup(fileName) : NULL; in openChunk()
590 if (mFileName != NULL) { in close()
591 free(mFileName); in close()
592 mFileName = NULL; in close()
681 fname = mFileName; in openFileDescriptor()
690 if (mFileName == NULL) { in openFileDescriptor()
695 return open(mFileName, O_RDONLY | O_BINARY); in openFileDescriptor()
/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/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/cmds/statsd/src/storage/
DStorageManager.h36 : mFileName(name), in FileInfo()
41 std::string mFileName; member
DStorageManager.cpp575 return lhs.mFileName.compare(rhs.mFileName) > 0; in sortFiles()
626 deleteFile(fileNames.at(fileNames.size() - 1).mFileName.c_str()); in trimToFit()
/frameworks/base/cmds/statsd/tests/storage/
DStorageManager_test.cpp122 EXPECT_EQ("200_5000_123454", list[0].mFileName); in TEST()
123 EXPECT_EQ("100_2000_123454", list[1].mFileName); in TEST()
124 EXPECT_EQ("400_100009_123454_history", list[2].mFileName); in TEST()
125 EXPECT_EQ("300_2000_123454_history", list[3].mFileName); in TEST()
/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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java656 private String mFileName; field in WifiConfigStore.StoreFile
668 mFileName = mAtomicFile.getBaseFile().getAbsolutePath(); in StoreFile()
669 mDataIntegrityChecker = new DataIntegrityChecker(mFileName); in StoreFile()
696 Log.wtf(TAG, "Data integrity problem with file: " + mFileName); in readRawData()
735 FileUtils.setPermissions(mFileName, FILE_MODE, -1, -1); in writeBufferedRawData()
/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()
DScanner.h27 std::string mFileName;
/frameworks/base/libs/storage/include/storage/
DObbInfo.h38 const String16 mFileName;
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java83 private final @NonNull String mFileName; field in FontResourcesParser.FontFileResourceEntry
92 mFileName = fileName; in FontFileResourceEntry()
100 return mFileName; in getFileName()
/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()

12