Searched defs:fileName (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/base/libs/androidfw/
H A DAssetDir.cpp34 const String8& fileName)
38 tmpInfo.setFileName(fileName);
50 cmp = strcmp(pVector->itemAt(cur).getFileName(), fileName);
33 findEntry(const SortedVector<FileInfo>* pVector, const String8& fileName) argument
H A Dmisc.cpp36 FileType getFileType(const char* fileName) argument
40 if (stat(fileName, &sb) < 0) {
45 errno, fileName);
73 time_t getFileModDate(const char* fileName) argument
77 if (stat(fileName, &sb) < 0)
H A DAsset.cpp121 /*static*/ Asset* Asset::createFromFile(const char* fileName, AccessMode mode) argument
128 fd = open(fileName, O_RDONLY | O_BINARY);
160 result = pAsset->openChunk(fileName, fd, 0, length);
177 /*static*/ Asset* Asset::createFromCompressedFile(const char* fileName, argument
189 fd = open(fileName, O_RDONLY | O_BINARY);
213 ALOGD("File '%s' is not in gzip format\n", fileName);
373 status_t _FileAsset::openChunk(const char* fileName, int fd, off64_t offset, size_t length) argument
411 mFileName = fileName != NULL ? strdup(fileName) : NULL;
/frameworks/base/core/java/android/database/
H A DDefaultDatabaseErrorHandler.java96 private void deleteDatabaseFile(String fileName) { argument
97 if (fileName.equalsIgnoreCase(":memory:") || fileName.trim().length() == 0) {
100 Log.e(TAG, "deleting the database file: " + fileName);
102 SQLiteDatabase.deleteDatabase(new File(fileName));
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DByteArrayPartSource.java47 private String fileName; field in class:ByteArrayPartSource
55 * @param fileName the name of the file these bytes represent
58 public ByteArrayPartSource(String fileName, byte[] bytes) { argument
60 this.fileName = fileName;
76 return fileName;
H A DFilePartSource.java55 private String fileName = null; field in class:FilePartSource
74 this.fileName = file.getName();
81 * @param fileName the file name of the FilePart
87 public FilePartSource(String fileName, File file) argument
90 if (fileName != null) {
91 this.fileName = fileName;
114 return (fileName == null) ? "noname" : fileName;
H A DFilePart.java157 * @param fileName the file name
163 public FilePart(String name, String fileName, File file) argument
165 this(name, new FilePartSource(fileName, file), null, null);
172 * @param fileName the file name
182 public FilePart(String name, String fileName, File file, String contentType, String charset) argument
184 this(name, new FilePartSource(fileName, file), contentType, charset);
/frameworks/base/include/androidfw/
H A DZipFileRO.h159 ZipFileRO(ZipArchiveHandle handle, char* fileName) : mHandle(handle), argument
160 mFileName(fileName)
/frameworks/base/tools/preload/
H A DRoot.java134 void toFile(String fileName) throws IOException { argument
135 FileOutputStream out = new FileOutputStream(fileName);
151 static Root fromFile(String fileName) argument
153 FileInputStream fin = new FileInputStream(fileName);
/frameworks/native/opengl/tests/gl_perfapp/jni/
H A Dgl_code.cpp75 const char* fileName = "/sdcard/glperf.csv"; local
81 ALOGI("Writing to: %s\n",fileName);
82 fOut = fopen(fileName, "w");
84 ALOGE("Could not open: %s\n", fileName);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyTester.java115 * @param fileName The name of the test conference event package file to read.
117 private void handleTestConferenceEventPackage(Context context, String fileName) { argument
134 File packageFile = new File(context.getFilesDir(), fileName);
/frameworks/base/test-runner/src/junit/runner/
H A DTestCaseClassLoader.java114 String fileName= className.replace('.', '/')+".class";
116 data= loadJarData(path, fileName);
118 data= loadFileData(path, fileName);
132 private byte[] loadFileData(String path, String fileName) { argument
133 File file= new File(path, fileName);
157 private byte[] loadJarData(String path, String fileName) { argument
168 ZipEntry entry= zipFile.getEntry(fileName);
/frameworks/base/core/java/android/webkit/
H A DPlugin.java63 String fileName,
67 mFileName = fileName;
148 public void setFileName(String fileName) { argument
149 mFileName = fileName;
61 Plugin(String name, String path, String fileName, String description) argument
/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfoSource.java287 private static boolean isToplevelClass(String fileName) { argument
288 return fileName.indexOf('$') < 0;
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOTestRS.java123 private void initTextAllocation(String fileName) { argument
124 String allocString = "Displaying file: " + fileName;
H A DFBOSyncRS.java124 private void initTextAllocation(String fileName) { argument
125 String allocString = "Displaying file: " + fileName;
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModelRS.java122 private void initTextAllocation(String fileName) { argument
123 String allocString = "Displaying file: " + fileName;
/frameworks/base/tools/aapt/
H A DZipEntry.cpp112 void ZipEntry::initNew(const char* fileName, const char* comment) argument
114 assert(fileName != NULL && *fileName != '\0'); // name required
120 mCDE.mFileNameLength = strlen(fileName);
127 strcpy((char*) mCDE.mFileName, fileName);
H A DZipFile.h73 * of "fileName".
80 status_t add(const char* fileName, int compressionMethod, argument
83 return add(fileName, fileName, compressionMethod, ppEntry);
85 status_t add(const char* fileName, const char* storageName, argument
88 return addCommon(fileName, NULL, 0, storageName,
98 status_t addGzip(const char* fileName, const char* storageName, argument
101 return addCommon(fileName, NULL, 0, storageName,
157 ZipEntry* getEntryByName(const char* fileName) const;
224 status_t addCommon(const char* fileName, cons
[all...]
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp170 const char *fileName = "/sdcard/output.mp4"; local
245 fileName = optarg;
303 sp<MPEG4Writer> writer = new MPEG4Writer(fileName);
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DSimplePlayer.java65 int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int session)
68 mFileName = fileName;
64 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int session) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java162 public void removeRecordedVideo(String fileName){ argument
163 File video = new File(fileName);
164 Log.v(TAG, "remove recorded video " + fileName);
209 String fileName = String.format("%s/temp%d%s",
211 Log.v(TAG, fileName);
233 mRecorder.setOutputFile(fileName);
251 mp.setDataSource(fileName);
257 validateRecordedVideo(fileName);
259 removeRecordedVideo(fileName);
313 String fileName
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DSmartCamera.java89 public void runGraphOnImage(String filePath, String fileName) { argument
90 if(fileName.endsWith(".jpg") == false) {
93 mGraph.getVariable("gallerySource").setValue(filePath + "/" + fileName);
94 Log.v(TAG, "runGraphOnImage : : " + filePath + " name: " + fileName);
95 mGraph.getVariable("imageName").setValue(fileName);
/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.cpp34 string RSSlangReflectUtils::GetFileNameStem(const char *fileName) { argument
35 const char *dot = fileName + strlen(fileName);
37 while (slash >= fileName) {
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java269 * @param fileName The full name and path to the file on the OBB to open once the OBB is mounted
273 protected DataInputStream openFileOnMountedObb(String obbPath, String fileName) { argument
281 File inFile = new File(path, fileName);
285 Log.i(LOG_TAG, "Opened file: " + fileName + " for read at path: " + path);

Completed in 718 milliseconds

12