Home
last modified time | relevance | path

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

/frameworks/testing/androidtestlib/src/com/android/test/runner/
DClassPathScanner.java103 public boolean accept(String pathName) { in accept() argument
104 return !pathName.contains("$"); in accept()
127 public boolean accept(String pathName) { in accept() argument
128 return pathName.startsWith(mPkgName); in accept()
151 public boolean accept(String pathName) { in accept() argument
152 return !pathName.startsWith(mPkgName); in accept()
/frameworks/base/graphics/java/android/graphics/
DMovie.java65 public static Movie decodeFile(String pathName) { in decodeFile() argument
68 is = new FileInputStream(pathName); in decodeFile()
DBitmapFactory.java371 public static Bitmap decodeFile(String pathName, Options opts) { in decodeFile() argument
375 stream = new FileInputStream(pathName); in decodeFile()
401 public static Bitmap decodeFile(String pathName) { in decodeFile() argument
402 return decodeFile(pathName, null); in decodeFile()
DBitmapRegionDecoder.java143 public static BitmapRegionDecoder newInstance(String pathName, in newInstance() argument
149 stream = new FileInputStream(pathName); in newInstance()
/frameworks/base/core/java/android/os/
DDebug.java643 String pathName = traceName; in startMethodTracing() local
644 if (pathName.charAt(0) != '/') in startMethodTracing()
645 pathName = DEFAULT_TRACE_PATH_PREFIX + pathName; in startMethodTracing()
646 if (!pathName.endsWith(DEFAULT_TRACE_EXTENSION)) in startMethodTracing()
647 pathName = pathName + DEFAULT_TRACE_EXTENSION; in startMethodTracing()
649 VMDebug.startMethodTracing(pathName, bufferSize, flags); in startMethodTracing()
/frameworks/base/tools/aapt/
DPackage.cpp44 bool okayToCompress(Bundle* bundle, const String8& pathName);
419 bool okayToCompress(Bundle* bundle, const String8& pathName) in okayToCompress() argument
421 String8 ext = pathName.getPathExtension(); in okayToCompress()
435 int pos = pathName.length() - strlen(str); in okayToCompress()
439 const char* path = pathName.string(); in okayToCompress()
DAaptAssets.cpp1801 String8 pathName(srcDir); in slurpFullTree() local
1804 pathName.appendPath(fileNames[i].string()); in slurpFullTree()
1805 type = getFileType(pathName.string()); in slurpFullTree()
1815 ssize_t res = subdir->slurpFullTree(bundle, pathName, kind, in slurpFullTree()
1825 sp<AaptFile> file = new AaptFile(pathName, kind, resType); in slurpFullTree()
1835 printf(" (ignoring non-file/dir '%s')\n", pathName.string()); in slurpFullTree()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java945 public static Drawable createFromPath(String pathName) { in createFromPath() argument
946 if (pathName == null) { in createFromPath()
950 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, pathName); in createFromPath()
952 Bitmap bm = BitmapFactory.decodeFile(pathName); in createFromPath()
954 return drawableFromBitmap(null, bm, null, null, null, pathName); in createFromPath()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java60 String pathName, boolean isShareable) { in newInstance() argument
62 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(pathName, isShareable); in newInstance()
67 Log.w("BitmapRegionTileSource", "getting decoder failed for path " + pathName, e); in newInstance()
103 public static DumbBitmapRegionDecoder newInstance(String pathName) { in newInstance() argument
104 Bitmap b = BitmapFactory.decodeFile(pathName); in newInstance()
/frameworks/base/libs/androidfw/
DAssetManager.cpp1072 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, in openAssetFromFileLocked() argument
1077 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) { in openAssetFromFileLocked()
1079 pAsset = Asset::createFromCompressedFile(pathName.string(), mode); in openAssetFromFileLocked()
1082 pAsset = Asset::createFromFile(pathName.string(), mode); in openAssetFromFileLocked()