Home
last modified time | relevance | path

Searched refs:mFileName (Results 1 – 25 of 28) 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.h163 mFileName(fileName) in ZipFileRO()
168 char* mFileName; variable
DObbFile.h47 return mFileName; in getFileName()
130 const char* mFileName; variable
DAsset.h275 char* mFileName; // for opening 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/packages/Osu/src/com/android/anqp/
DIconInfo.java21 private final String mFileName; field in IconInfo
33 mFileName = Constants.getPrefixedString(payload, 1, StandardCharsets.UTF_8); in IconInfo()
53 return mFileName; in getFileName()
68 mFileName.equals(that.mFileName) && in equals()
79 result = 31 * result + mFileName.hashCode(); in hashCode()
90 ", FileName='" + mFileName + '\'' + in toString()
99 mFileName = in.readString(); in IconInfo()
107 out.writeString(mFileName); in writeParcel()
/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/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/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
DResourceBundle.java66 if (bundle.mFileName == null) { in addLayoutBundle()
70 if (!mLayoutBundles.containsKey(bundle.mFileName)) { in addLayoutBundle()
71 mLayoutBundles.put(bundle.mFileName, new ArrayList<LayoutFileBundle>()); in addLayoutBundle()
73 final List<LayoutFileBundle> bundles = mLayoutBundles.get(bundle.mFileName); in addLayoutBundle()
151 L.d("checking for missing variables in %s / %s", bundle.mFileName, in validateMultiResLayouts()
158 bundle.mFileName, bundle.mConfigName); in validateMultiResLayouts()
165 bundle.mFileName, bundle.mConfigName); in validateMultiResLayouts()
386 public String mFileName; field in ResourceBundle.LayoutFileBundle
437 mFileName = other.mFileName; in inheritConfigurationFrom()
449 mFileName = fileName; in LayoutFileBundle()
[all …]
/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/androidfw/
DZipFileRO.cpp58 free(mFileName); in ~ZipFileRO()
142 ALOGW("Could not start iteration over %s: %s", mFileName, ErrorCodeString(error)); in startIteration()
157 ALOGW("Error iteration over %s: %s", mFileName, ErrorCodeString(error)); in nextEntry()
212 if (!newMap->create(mFileName, fd, ze.offset, actualLen, true)) { in createEntryFileMap()
DAsset.cpp400 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mMap(NULL), mBuf(NULL) in _FileAsset()
462 mFileName = fileName != NULL ? strdup(fileName) : NULL; in openChunk()
588 if (mFileName != NULL) { in close()
589 free(mFileName); in close()
590 mFileName = NULL; in close()
679 fname = mFileName; in openFileDescriptor()
688 if (mFileName == NULL) { in openFileDescriptor()
693 return open(mFileName, O_RDONLY | O_BINARY); in openFileDescriptor()
/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/packages/Osu/src/com/android/hotspot2/osu/
DIconCache.java112 private final String mFileName; field in IconCache.FileEntry
119 mFileName = fileName; in FileEntry()
138 osuInfo.setIconFileElement(iconFileElement, mFileName); in update()
152 return mFileName; in getFileName()
162 mFileName, mRetry, in toString()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java464 private String mFileName; field in WifiConfigStore.StoreFile
468 mFileName = mAtomicFile.getBaseFile().getAbsolutePath(); in StoreFile()
514 Log.w(TAG, "No data stored for writing to file: " + mFileName); in writeBufferedRawData()
521 FileUtils.setPermissions(mFileName, FILE_MODE, -1, -1); in writeBufferedRawData()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java78 private final @NonNull String mFileName; field in FontResourcesParser.FontFileResourceEntry
84 mFileName = fileName; in FontFileResourceEntry()
90 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()
DScanner.h27 std::string mFileName;
/frameworks/support/compat/java/android/support/v4/content/res/
DFontResourcesParserCompat.java102 private final @NonNull String mFileName; field in FontResourcesParserCompat.FontFileResourceEntry
109 mFileName = fileName; in FontFileResourceEntry()
116 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