Home
last modified time | relevance | path

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

12

/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
DZipFileRO.h163 mFileName(fileName) in ZipFileRO()
168 char* mFileName; variable
DObbFile.h47 return mFileName; in getFileName()
133 const char* mFileName; variable
DAsset.h265 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()
149 if ((mCDE.mFileNameLength > 0 && mCDE.mFileName == NULL) || in initFromExternal()
229 delete[] mLFH.mFileName; in copyCDEtoLFH()
231 mLFH.mFileName = new unsigned char[mLFH.mFileNameLength+1]; in copyCDEtoLFH()
232 strcpy((char*) mLFH.mFileName, (const char*) mCDE.mFileName); in copyCDEtoLFH()
234 mLFH.mFileName = NULL; in copyCDEtoLFH()
306 if (mCDE.mFileName != NULL) { in compareHeaders()
307 if (strcmp((char*) mCDE.mFileName, (char*) mLFH.mFileName) != 0) { in compareHeaders()
389 assert(mFileName == NULL); in read()
[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()
320 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/packages/Osu/src/com/android/anqp/
DIconInfo.java19 private final String mFileName; field in IconInfo
31 mFileName = Constants.getPrefixedString(payload, 1, StandardCharsets.UTF_8); in IconInfo()
51 return mFileName; in getFileName()
66 mFileName.equals(that.mFileName) && in equals()
77 result = 31 * result + mFileName.hashCode(); in hashCode()
88 ", FileName='" + mFileName + '\'' + in toString()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DIconInfo.java20 private final String mFileName; field in IconInfo
32 mFileName = Constants.getPrefixedString(payload, 1, StandardCharsets.UTF_8); in IconInfo()
52 return mFileName; in getFileName()
67 mFileName.equals(that.mFileName) && in equals()
78 result = 31 * result + mFileName.hashCode(); in hashCode()
89 ", FileName='" + mFileName + '\'' + in toString()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DIconEvent.java5 private final String mFileName; field in IconEvent
10 mFileName = fileName; in IconEvent()
19 return mFileName; in getFileName()
30 ", 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.cpp368 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mMap(NULL), mBuf(NULL) in _FileAsset()
430 mFileName = fileName != NULL ? strdup(fileName) : NULL; in openChunk()
556 if (mFileName != NULL) { in close()
557 free(mFileName); in close()
558 mFileName = NULL; in close()
647 fname = mFileName; in openFileDescriptor()
656 if (mFileName == NULL) { in openFileDescriptor()
661 return open(mFileName, O_RDONLY | O_BINARY); in openFileDescriptor()
DAssetManager.cpp1699 if (strcmp(pContents->itemAt(i).mFileName, in mergeInfoLocked()
1700 pMergedInfo->itemAt(j).mFileName) == 0) in mergeInfoLocked()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DIconCache.java45 private final String mFileName; field in IconCache.IconKey
52 mFileName = fileName; in IconKey()
56 return mFileName; in getFileName()
70 return mFileName.equals(that.mFileName) && ((mBSSID == that.mBSSID) || in equals()
82 result = 31 * result + mFileName.hashCode(); in hashCode()
89 mBSSID, mHESSID, mSSID, mAnqpDomID, mFileName); in toString()
/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/rs/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/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/av/services/audioflinger/
DAudioFlinger.cpp3015 char mFileName[TEE_MAX_FILENAME]; member
3020 return strcmp(((const Entry *) p1)->mFileName, ((const Entry *) p2)->mFileName); in comparEntry()
3064 strcpy(entries[entryCount++].mFileName, de.d_name); in dumpTee()
3070 strcpy(&teePath[teePathLen], entries[i].mFileName); in dumpTee()

12