Searched refs:filepath (Results 1 - 5 of 5) sorted by last modified time

/frameworks/support/v4/java/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawableFactory.java77 String filepath) {
78 final RoundedBitmapDrawable drawable = create(res, BitmapFactory.decodeFile(filepath));
80 Log.w(TAG, "RoundedBitmapDrawable cannot decode " + filepath);
76 create(Resources res, String filepath) argument
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp998 static std::string SHA256_file_hash(std::string filepath) { argument
999 ScopedFd fd(TEMP_FAILURE_RETRY(open(filepath.c_str(), O_RDONLY | O_NONBLOCK | O_CLOEXEC
1002 MYLOGE("open(%s): %s\n", filepath.c_str(), strerror(errno));
1015 MYLOGE("read(%s): %s\n", filepath.c_str(), strerror(errno));
/frameworks/base/media/mca/
H A Dstructgen.py184 def parseTextFile(self, filepath):
194 txtfile = open(filepath)
337 filepath = argv[1]
340 structspec.parseTextFile(filepath)
348 rootdir = os.path.dirname(filepath)
/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java155 public BitmapDrawable(String filepath) { argument
156 this(new BitmapState(BitmapFactory.decodeFile(filepath)), null);
158 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath);
166 public BitmapDrawable(Resources res, String filepath) { argument
167 this(new BitmapState(BitmapFactory.decodeFile(filepath)), null);
170 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath);
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp481 const String8& rootpath, const String8& filepath, off_t* outSize,
485 const char* relstart = filepath.string() + rootpath.length();
506 for (size_t i = 0; i < filepath.length(); i++) {
507 if ((filepath[i] & 0x80) != 0) {
516 if (lstat64(filepath.string(), &s) != 0) {
518 ALOGE("Error %d (%s) from lstat64(%s)", err, strerror(err), filepath.string());
543 int fd = open(filepath.string(), O_RDONLY);
546 ALOGE("Error %d (%s) from open(%s)", err, strerror(err), filepath.string());
590 ALOGW("Error: unknown file mode 0%o [%s]", s.st_mode, filepath.string());
689 ALOGE("Unable to read file [%s], err=%d (%s)", filepath
480 write_tarfile(const String8& packageName, const String8& domain, const String8& rootpath, const String8& filepath, off_t* outSize, BackupDataWriter* writer) argument
[all...]

Completed in 620 milliseconds