/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 272 public final InputStream open(String fileName) throws IOException { in open() argument 273 return open(fileName, ACCESS_STREAMING); in open() 293 public final InputStream open(String fileName, int accessMode) in open() argument 299 int asset = openAsset(fileName, accessMode); in open() 305 throw new FileNotFoundException("Asset file: " + fileName); in open() 308 public final AssetFileDescriptor openFd(String fileName) in openFd() argument 314 ParcelFileDescriptor pfd = openAssetFd(fileName, mOffsets); in openFd() 319 throw new FileNotFoundException("Asset file: " + fileName); in openFd() 346 public final InputStream openNonAsset(String fileName) throws IOException { in openNonAsset() argument 347 return openNonAsset(0, fileName, ACCESS_STREAMING); in openNonAsset() [all …]
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
D | FilePartSource.java | 55 private String fileName = null; field in FilePartSource 74 this.fileName = file.getName(); in FilePartSource() 87 public FilePartSource(String fileName, File file) in FilePartSource() argument 90 if (fileName != null) { in FilePartSource() 91 this.fileName = fileName; in FilePartSource() 114 return (fileName == null) ? "noname" : fileName; in getFileName()
|
D | ByteArrayPartSource.java | 47 private String fileName; field in ByteArrayPartSource 58 public ByteArrayPartSource(String fileName, byte[] bytes) { in ByteArrayPartSource() argument 60 this.fileName = fileName; in ByteArrayPartSource() 76 return fileName; in getFileName()
|
D | FilePart.java | 158 public FilePart(String name, String fileName, File file) in FilePart() argument 160 this(name, new FilePartSource(fileName, file), null, null); in FilePart() 177 public FilePart(String name, String fileName, File file, String contentType, String charset) in FilePart() argument 179 this(name, new FilePartSource(fileName, file), contentType, charset); in FilePart()
|
/frameworks/base/core/java/android/server/data/ |
D | StackTraceElementData.java | 30 final String fileName; field in StackTraceElementData 37 String fileName = element.getFileName(); in StackTraceElementData() local 38 this.fileName = fileName == null ? "[unknown source]" : fileName; in StackTraceElementData() 51 this.fileName = in.readUTF(); in StackTraceElementData() 60 out.writeUTF(fileName); in write() 70 return fileName; in getFileName()
|
/frameworks/base/tools/aapt/ |
D | ZipFile.h | 80 status_t add(const char* fileName, int compressionMethod, in add() argument 83 return add(fileName, fileName, compressionMethod, ppEntry); in add() 85 status_t add(const char* fileName, const char* storageName, in add() argument 88 return addCommon(fileName, NULL, 0, storageName, in add() 98 status_t addGzip(const char* fileName, const char* storageName, in addGzip() argument 101 return addCommon(fileName, NULL, 0, storageName, in addGzip() 157 ZipEntry* getEntryByName(const char* fileName) const; 224 status_t addCommon(const char* fileName, const void* data, size_t size,
|
D | Command.cpp | 39 ZipFile* openReadOnly(const char* fileName) in openReadOnly() argument 45 result = zip->open(fileName, ZipFile::kOpenReadOnly); in openReadOnly() 48 fprintf(stderr, "ERROR: '%s' not found\n", fileName); in openReadOnly() 50 fprintf(stderr, "ERROR: '%s' access denied\n", fileName); in openReadOnly() 53 fileName); in openReadOnly() 67 ZipFile* openReadWrite(const char* fileName, bool okayToCreate) in openReadWrite() argument 78 result = zip->open(fileName, flags); in openReadWrite() 994 const char* fileName = bundle->getFileSpecEntry(i); in doAdd() local 996 if (strcasecmp(String8(fileName).getPathExtension().string(), ".gz") == 0) { in doAdd() 997 printf(" '%s'... (from gzip)\n", fileName); in doAdd() [all …]
|
/frameworks/base/include/utils/ |
D | AssetManager.h | 125 Asset* open(const char* fileName, AccessMode mode); 135 Asset* openNonAsset(const char* fileName, AccessMode mode); 141 Asset* openNonAsset(void* cookie, const char* fileName, AccessMode mode); 173 FileType getFileType(const char* fileName); 207 Asset* openInPathLocked(const char* fileName, AccessMode mode, 209 Asset* openNonAssetInPathLocked(const char* fileName, AccessMode mode, 211 Asset* openInLocaleVendorLocked(const char* fileName, AccessMode mode, 217 const String8& dirName, const String8& fileName); 220 Asset* openAssetFromFileLocked(const String8& fileName, AccessMode mode);
|
D | misc.h | 78 FileType getFileType(const char* fileName); 80 time_t getFileModDate(const char* fileName);
|
/frameworks/base/libs/utils/ |
D | misc.cpp | 119 FileType getFileType(const char* fileName) in getFileType() argument 123 if (stat(fileName, &sb) < 0) { in getFileType() 128 errno, fileName); in getFileType() 156 time_t getFileModDate(const char* fileName) in getFileModDate() argument 160 if (stat(fileName, &sb) < 0) in getFileModDate()
|
D | AssetDir.cpp | 34 const String8& fileName) in findEntry() argument 38 tmpInfo.setFileName(fileName); in findEntry() 50 cmp = strcmp(pVector->itemAt(cur).getFileName(), fileName); in findEntry()
|
D | AssetManager.cpp | 259 Asset* AssetManager::open(const char* fileName, AccessMode mode) in open() argument 270 assetName.appendPath(fileName); in open() 296 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode) in openNonAsset() argument 313 LOGV("Looking for non-asset '%s' in '%s'\n", fileName, mAssetPaths.itemAt(i).path.string()); in openNonAsset() 315 fileName, mode, mAssetPaths.itemAt(i)); in openNonAsset() 324 Asset* AssetManager::openNonAsset(void* cookie, const char* fileName, AccessMode mode) in openNonAsset() argument 337 LOGV("Looking for non-asset '%s' in '%s'\n", fileName, in openNonAsset() 340 fileName, mode, mAssetPaths.itemAt(which)); in openNonAsset() 355 FileType AssetManager::getFileType(const char* fileName) in getFileType() argument 364 pAsset = open(fileName, Asset::ACCESS_STREAMING); in getFileType() [all …]
|
D | ZipFileCRO.cpp | 36 const char* fileName) { in ZipFileCRO_findEntryByName() argument 38 return (ZipEntryCRO)zip->findEntryByName(fileName); in ZipFileCRO_findEntryByName()
|
D | Asset.cpp | 117 /*static*/ Asset* Asset::createFromFile(const char* fileName, AccessMode mode) in createFromFile() argument 124 fd = open(fileName, O_RDONLY | O_BINARY); in createFromFile() 142 result = pAsset->openChunk(fileName, fd, 0, length); in createFromFile() 159 /*static*/ Asset* Asset::createFromCompressedFile(const char* fileName, in createFromCompressedFile() argument 171 fd = open(fileName, O_RDONLY | O_BINARY); in createFromCompressedFile() 195 LOGD("File '%s' is not in gzip format\n", fileName); in createFromCompressedFile() 355 status_t _FileAsset::openChunk(const char* fileName, int fd, off_t offset, size_t length) in openChunk() argument 393 mFileName = fileName != NULL ? strdup(fileName) : NULL; in openChunk()
|
/frameworks/base/test-runner/junit/runner/ |
D | TestCaseClassLoader.java | 114 String fileName= className.replace('.', '/')+".class"; in lookupClassData() local 116 data= loadJarData(path, fileName); in lookupClassData() 118 data= loadFileData(path, fileName); in lookupClassData() 132 private byte[] loadFileData(String path, String fileName) { in loadFileData() argument 133 File file= new File(path, fileName); in loadFileData() 157 private byte[] loadJarData(String path, String fileName) { in loadJarData() argument 168 ZipEntry entry= zipFile.getEntry(fileName); in loadJarData()
|
/frameworks/base/core/java/android/webkit/ |
D | Plugin.java | 52 String fileName, in Plugin() argument 56 mFileName = fileName; in Plugin() 129 public void setFileName(String fileName) { in setFileName() argument 130 mFileName = fileName; in setFileName()
|
/frameworks/base/tools/preload/ |
D | Root.java | 135 void toFile(String fileName) throws IOException { in toFile() argument 136 FileOutputStream out = new FileOutputStream(fileName); in toFile() 152 static Root fromFile(String fileName) in fromFile() argument 154 FileInputStream fin = new FileInputStream(fileName); in fromFile()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | ZipFileTest.java | 104 static void scanZip(String fileName) throws IOException { in scanZip() argument 105 ZipFile zipFile = new ZipFile(fileName); in scanZip() 127 static void read2(String fileName) throws IOException { in read2() argument 135 zipFile = new ZipFile(fileName); in read2()
|
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
D | FontProperty.java | 33 String fileName = null; field in FontProperty 81 return this.fileName; in getFileName()
|
D | AndroidFontProperty.java | 45 this.fileName = _fileName; in AndroidFontProperty() 74 ",fileName="+ fileName + //$NON-NLS-1$ in toString()
|
/frameworks/base/media/java/android/media/ |
D | ExifInterface.java | 297 private native boolean appendThumbnailNative(String fileName, in appendThumbnailNative() argument 300 private native void saveAttributesNative(String fileName, in saveAttributesNative() argument 303 private native String getAttributesNative(String fileName); in getAttributesNative() argument 305 private native void commitChangesNative(String fileName); in commitChangesNative() argument 307 private native byte[] getThumbnailNative(String fileName); in getThumbnailNative() argument
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleProfiling.java | 93 String fileName = getString(in, len); in handleMPRS() local 95 Log.v("ddm-heap", "Method profiling start: filename='" + fileName in handleMPRS() 99 Debug.startMethodTracing(fileName, bufferSize, flags); in handleMPRS()
|
D | DdmHandleHeap.java | 158 String fileName = getString(in, len); in handleHPDU() local 160 Log.d("ddm-heap", "Heap dump: file='" + fileName + "'"); in handleHPDU() 163 Debug.dumpHprofData(fileName); in handleHPDU()
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
D | PduBody.java | 66 byte[] fileName = part.getFilename(); in putPartToMaps() 67 if(null != fileName) { in putPartToMaps() 68 String clc = new String(fileName); in putPartToMaps()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 122 jstring fileName, jint mode) in android_content_AssetManager_openAsset() argument 131 if (fileName == NULL || am == NULL) { in android_content_AssetManager_openAsset() 142 const char* fileName8 = env->GetStringUTFChars(fileName, NULL); in android_content_AssetManager_openAsset() 147 env->ReleaseStringUTFChars(fileName, fileName8); in android_content_AssetManager_openAsset() 150 env->ReleaseStringUTFChars(fileName, fileName8); in android_content_AssetManager_openAsset() 190 jstring fileName, jlongArray outOffsets) in android_content_AssetManager_openAssetFd() argument 199 if (fileName == NULL || am == NULL) { in android_content_AssetManager_openAssetFd() 204 const char* fileName8 = env->GetStringUTFChars(fileName, NULL); in android_content_AssetManager_openAssetFd() 209 env->ReleaseStringUTFChars(fileName, fileName8); in android_content_AssetManager_openAssetFd() 212 env->ReleaseStringUTFChars(fileName, fileName8); in android_content_AssetManager_openAssetFd() [all …]
|