Searched refs:pathName (Results 1 - 9 of 9) sorted by relevance

/frameworks/testing/androidtestlib/src/com/android/test/runner/
H A DClassPathScanner.java44 * @param pathName the relative path of the class path entry
96 public boolean accept(String pathName) { argument
97 return !pathName.contains("$");
120 public boolean accept(String pathName) { argument
121 return pathName.startsWith(mPkgName);
144 public boolean accept(String pathName) { argument
145 return !pathName.startsWith(mPkgName);
/frameworks/base/graphics/java/android/graphics/
H A DMovie.java51 public static Movie decodeFile(String pathName) { argument
54 is = new FileInputStream(pathName);
H A DBitmapRegionDecoder.java134 * @param pathName complete path name for the file to be decoded.
145 public static BitmapRegionDecoder newInstance(String pathName, argument
151 stream = new FileInputStream(pathName);
H A DBitmapFactory.java291 * @param pathName complete path name for the file to be decoded.
298 public static Bitmap decodeFile(String pathName, Options opts) { argument
302 stream = new FileInputStream(pathName);
325 * @param pathName complete path name for the file to be decoded.
328 public static Bitmap decodeFile(String pathName) { argument
329 return decodeFile(pathName, null);
/frameworks/base/core/java/android/os/
H A DDebug.java491 String pathName = traceName;
492 if (pathName.charAt(0) != '/')
493 pathName = DEFAULT_TRACE_PATH_PREFIX + pathName;
494 if (!pathName.endsWith(DEFAULT_TRACE_EXTENSION))
495 pathName = pathName + DEFAULT_TRACE_EXTENSION;
497 VMDebug.startMethodTracing(pathName, bufferSize, flags);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java909 public static Drawable createFromPath(String pathName) { argument
910 if (pathName == null) {
914 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, pathName);
916 Bitmap bm = BitmapFactory.decodeFile(pathName);
918 return drawableFromBitmap(null, bm, null, null, null, pathName);
/frameworks/base/tools/aapt/
H A DPackage.cpp41 bool okayToCompress(Bundle* bundle, const String8& pathName);
416 bool okayToCompress(Bundle* bundle, const String8& pathName) argument
418 String8 ext = pathName.getPathExtension();
432 int pos = pathName.length() - strlen(str);
436 const char* path = pathName.string();
H A DAaptAssets.cpp1798 String8 pathName(srcDir);
1801 pathName.appendPath(fileNames[i].string());
1802 type = getFileType(pathName.string());
1812 ssize_t res = subdir->slurpFullTree(bundle, pathName, kind,
1822 sp<AaptFile> file = new AaptFile(pathName, kind, resType);
1832 printf(" (ignoring non-file/dir '%s')\n", pathName.string());
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp1071 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, argument
1076 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) {
1077 //printf("TRYING '%s'\n", (const char*) pathName);
1078 pAsset = Asset::createFromCompressedFile(pathName.string(), mode);
1080 //printf("TRYING '%s'\n", (const char*) pathName);
1081 pAsset = Asset::createFromFile(pathName.string(), mode);

Completed in 247 milliseconds