Home
last modified time | relevance | path

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

/frameworks/testing/androidtestlib/src/com/android/test/runner/
DClassPathScanner.java96 public boolean accept(String pathName) { in accept() argument
97 return !pathName.contains("$"); in accept()
120 public boolean accept(String pathName) { in accept() argument
121 return pathName.startsWith(mPkgName); in accept()
144 public boolean accept(String pathName) { in accept() argument
145 return !pathName.startsWith(mPkgName); in accept()
/frameworks/base/core/java/android/os/
DDebug.java490 String pathName = traceName; in startMethodTracing() local
491 if (pathName.charAt(0) != '/') in startMethodTracing()
492 pathName = DEFAULT_TRACE_PATH_PREFIX + pathName; in startMethodTracing()
493 if (!pathName.endsWith(DEFAULT_TRACE_EXTENSION)) in startMethodTracing()
494 pathName = pathName + DEFAULT_TRACE_EXTENSION; in startMethodTracing()
496 VMDebug.startMethodTracing(pathName, bufferSize, flags); in startMethodTracing()
/frameworks/base/graphics/java/android/graphics/
DMovie.java51 public static Movie decodeFile(String pathName) { in decodeFile() argument
54 is = new FileInputStream(pathName); in decodeFile()
DBitmapFactory.java297 public static Bitmap decodeFile(String pathName, Options opts) { in decodeFile() argument
301 stream = new FileInputStream(pathName); in decodeFile()
327 public static Bitmap decodeFile(String pathName) { in decodeFile() argument
328 return decodeFile(pathName, null); in decodeFile()
DBitmapRegionDecoder.java145 public static BitmapRegionDecoder newInstance(String pathName, in newInstance() argument
151 stream = new FileInputStream(pathName); in newInstance()
/frameworks/base/tools/aapt/
DPackage.cpp41 bool okayToCompress(Bundle* bundle, const String8& pathName);
416 bool okayToCompress(Bundle* bundle, const String8& pathName) in okayToCompress() argument
418 String8 ext = pathName.getPathExtension(); in okayToCompress()
432 int pos = pathName.length() - strlen(str); in okayToCompress()
436 const char* path = pathName.string(); in okayToCompress()
DAaptAssets.cpp1793 String8 pathName(srcDir); in slurpFullTree() local
1796 pathName.appendPath(fileNames[i].string()); in slurpFullTree()
1797 type = getFileType(pathName.string()); in slurpFullTree()
1807 ssize_t res = subdir->slurpFullTree(bundle, pathName, kind, in slurpFullTree()
1817 sp<AaptFile> file = new AaptFile(pathName, kind, resType); in slurpFullTree()
1827 printf(" (ignoring non-file/dir '%s')\n", pathName.string()); in slurpFullTree()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java893 public static Drawable createFromPath(String pathName) { in createFromPath() argument
894 if (pathName == null) { in createFromPath()
898 Bitmap bm = BitmapFactory.decodeFile(pathName); in createFromPath()
900 return drawableFromBitmap(null, bm, null, null, null, pathName); in createFromPath()
/frameworks/base/libs/androidfw/
DAssetManager.cpp1057 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, in openAssetFromFileLocked() argument
1062 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) { in openAssetFromFileLocked()
1064 pAsset = Asset::createFromCompressedFile(pathName.string(), mode); in openAssetFromFileLocked()
1067 pAsset = Asset::createFromFile(pathName.string(), mode); in openAssetFromFileLocked()