/frameworks/base/core/java/android/content/res/ |
AssetManager.java | 314 * @param fileName The name of the asset to open. This name can be 320 public final InputStream open(String fileName) throws IOException { 321 return open(fileName, ACCESS_STREAMING); 330 * @param fileName The name of the asset to open. This name can be 341 public final InputStream open(String fileName, int accessMode) 347 long asset = openAsset(fileName, accessMode); 354 throw new FileNotFoundException("Asset file: " + fileName); 357 public final AssetFileDescriptor openFd(String fileName) 363 ParcelFileDescriptor pfd = openAssetFd(fileName, mOffsets); 368 throw new FileNotFoundException("Asset file: " + fileName); [all...] |
/libcore/support/src/test/java/tests/util/ |
SerializationTester.java | 87 * @param fileName the serialization output file generated by reference 91 public static boolean assertCompabilitySame(Object obj, String fileName) 93 return obj == readObject(obj, fileName); 101 * @param fileName the serialization output file generated by reference 105 public static boolean assertCompabilityEquals(Object obj, String fileName) 107 return obj.equals(readObject(obj, fileName)); 114 * @param fileName the serialization file 118 public static Object readObject(Object obj, String fileName) 122 URL url = SerializationTester.class.getClassLoader().getResource(fileName); 125 writeObject(obj, new File(fileName).getName()) [all...] |
/cts/tools/vm-tests-tf/src/util/build/ |
DFHBuildStep.java | 37 File out_dir = outputFile.fileName.getParentFile(); 48 r = new FileReader(inputFile.fileName); 49 os = new FileOutputStream(outputFile.fileName); 58 System.err.println("error in DFHBuildStep for inputfile "+inputFile.fileName+", outputfile "+outputFile.fileName);
|
JarBuildStep.java | 42 if (!inputFile.fileName.equals(tempFile)) { 43 copyFile(inputFile.fileName, tempFile); 53 File outDir = outputFile.fileName.getParentFile(); 60 "-cMf", outputFile.fileName.getAbsolutePath(), "-C", 70 inputFile.fileName.delete(); 74 " \"-cMf\", "+outputFile.fileName.getAbsolutePath()+", \"-C\"," +
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
TextureProvider.java | 28 public Texture load (String fileName);
51 public Texture load (String fileName) {
52 Texture result = new Texture(Gdx.files.internal(fileName), useMipMaps);
67 public Texture load (String fileName) {
68 return assetManager.get(fileName, Texture.class);
|
/frameworks/base/core/java/android/database/ |
DefaultDatabaseErrorHandler.java | 96 private void deleteDatabaseFile(String fileName) { 97 if (fileName.equalsIgnoreCase(":memory:") || fileName.trim().length() == 0) { 100 Log.e(TAG, "deleting the database file: " + fileName); 102 SQLiteDatabase.deleteDatabase(new File(fileName));
|
/libcore/ojluni/src/main/java/sun/misc/ |
JarIndex.java | 167 * @param fileName the key of the mapping 169 public LinkedList get(String fileName) { 171 if ((jarFiles = (LinkedList)indexMap.get(fileName)) == null) { 174 if((pos = fileName.lastIndexOf("/")) != -1) { 175 jarFiles = (LinkedList)indexMap.get(fileName.substring(0, pos)); 190 * @param fileName the file name 194 public void add(String fileName, String jarName) { 197 if((pos = fileName.lastIndexOf("/")) != -1) { 198 packageName = fileName.substring(0, pos); 200 packageName = fileName; [all...] |
/developers/build/prebuilts/gradle/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/ |
DirectoryEntry.java | 26 public String fileName; 32 fileName = in.readString(); 55 parcel.writeString(fileName);
|
/developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/ |
DirectoryEntry.java | 26 public String fileName; 32 fileName = in.readString(); 55 parcel.writeString(fileName);
|
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/ |
DirectoryEntry.java | 26 public String fileName; 32 fileName = in.readString(); 55 parcel.writeString(fileName);
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRFileStream.m | 40 @synthesize fileName; 42 + (id) newANTLRFileStream:(NSString*)fileName 44 return [[ANTLRFileStream alloc] init:fileName]; 56 fileName = aFileName; 66 fileName = aFileName; 74 return fileName;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarAnalysisAbortedMessage.java | 48 String fileName = probe.dfa.nfa.grammar.getFileName(); 49 if ( fileName!=null ) { 50 file = fileName;
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/ |
InputStreamSourceFileLocator.java | 45 public Reader getSourceFile(final String packageName, final String fileName) 49 in = getSourceStream(packageName + "/" + fileName); 51 in = getSourceStream(fileName);
|
MultiSourceFileLocator.java | 53 public Reader getSourceFile(final String packageName, final String fileName) 56 final Reader reader = d.getSourceFile(packageName, fileName);
|
/external/opencv3/modules/imgproc/perf/opencl/ |
perf_gftt.cpp | 64 const String fileName = get<0>(params); 69 Mat img = imread(getDataPath(fileName), cv::IMREAD_GRAYSCALE); 70 ASSERT_FALSE(img.empty()) << "could not load " << fileName;
|
/external/deqp/modules/gles2/functional/ |
es2fShaderExecuteTest.cpp | 57 string fileName = string("shaders/") + getName() + ".test"; 58 vector<TestNode*> children = shaderLibrary.loadShaderFile(fileName.c_str());
|
/external/icu/icu4c/source/samples/layout/ |
GDIFontMap.cpp | 18 GDIFontMap::GDIFontMap(GDISurface *surface, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status) 19 : FontMap(fileName, pointSize, guiSupport, status), fSurface(surface)
|
GnomeFontMap.cpp | 20 GnomeFontMap::GnomeFontMap(FT_Library engine, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status) 21 : FontMap(fileName, pointSize, guiSupport, status), fEngine(engine)
|
/external/libgdx/gdx/src/com/badlogic/gdx/assets/loaders/ |
AsynchronousAssetLoader.java | 37 * @param fileName the name of the asset to load
40 public abstract void loadAsync (AssetManager manager, String fileName, FileHandle file, P parameter);
44 * @param fileName
47 public abstract T loadSync (AssetManager manager, String fileName, FileHandle file, P parameter);
|
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
PrefixFileReader.java | 67 String fileName = mappingFileProvider.getFileName(prefixMapKey, language, script, region); 68 if (fileName.length() == 0) { 71 if (!availablePhonePrefixMaps.containsKey(fileName)) { 72 loadPhonePrefixMapFromFile(fileName); 74 return availablePhonePrefixMaps.get(fileName); 77 private void loadPhonePrefixMapFromFile(String fileName) { 79 PrefixFileReader.class.getResourceAsStream(phonePrefixDataDirectory + fileName); 85 availablePhonePrefixMaps.put(fileName, map);
|
/external/lzma/CPP/7zip/Common/ |
FileStreams.h | 55 bool Open(CFSTR fileName)
57 return File.Open(fileName);
60 bool OpenShared(CFSTR fileName, bool shareForWrite)
62 return File.OpenShared(fileName, shareForWrite);
106 bool Create(CFSTR fileName, bool createAlways)
109 return File.Create(fileName, createAlways);
111 bool Open(CFSTR fileName, DWORD creationDisposition)
114 return File.Open(fileName, creationDisposition);
|
/external/proguard/src/proguard/gui/ |
ExtensionFileFilter.java | 66 String fileName = file.getName().toLowerCase(); 70 if (fileName.endsWith(extensions[index]))
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/ |
CompactConstructorErrorsTest.java | 42 private Object load(String fileName) { 46 String doc = Util.getLocalResource("compactnotation/" + fileName); 52 private void failLoad(String fileName, String failure) { 53 load(fileName); 57 private void check(String fileName, String failure, String message) { 58 check(fileName, failure, message, true); 61 private void check(String fileName, String failure, String message, boolean exactMatch) { 63 failLoad(fileName, failure);
|
/external/testng/src/main/java/org/testng/internal/ |
YamlParser.java | 23 public boolean accept(String fileName) { 24 return fileName.endsWith(".yaml");
|
/external/testng/src/main/java/org/testng/xml/ |
SuiteXmlParser.java | 25 public boolean accept(String fileName) { 26 return fileName.endsWith(".xml");
|