Searched defs:filepath (Results 1 - 4 of 4) sorted by relevance

/frameworks/support/core-utils/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/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java156 public BitmapDrawable(String filepath) { argument
157 this(new BitmapState(BitmapFactory.decodeFile(filepath)), null);
159 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath);
167 public BitmapDrawable(Resources res, String filepath) { argument
168 this(new BitmapState(BitmapFactory.decodeFile(filepath)), null);
171 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath);
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp482 const String8& rootpath, const String8& filepath, off_t* outSize,
486 const char* relstart = filepath.string() + rootpath.length();
507 for (size_t i = 0; i < filepath.length(); i++) {
508 if ((filepath[i] & 0x80) != 0) {
517 if (lstat64(filepath.string(), &s) != 0) {
519 ALOGE("Error %d (%s) from lstat64(%s)", err, strerror(err), filepath.string());
544 int fd = open(filepath.string(), O_RDONLY);
547 ALOGE("Error %d (%s) from open(%s)", err, strerror(err), filepath.string());
595 ALOGW("Error: unknown file mode 0%o [%s]", s.st_mode, filepath.string());
694 ALOGE("Unable to read file [%s], err=%d (%s)", filepath
481 write_tarfile(const String8& packageName, const String8& domain, const String8& rootpath, const String8& filepath, off_t* outSize, BackupDataWriter* writer) argument
[all...]
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp1441 static std::string SHA256_file_hash(std::string filepath) { argument
1442 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(filepath.c_str(), O_RDONLY | O_NONBLOCK
1445 MYLOGE("open(%s): %s\n", filepath.c_str(), strerror(errno));
1458 MYLOGE("read(%s): %s\n", filepath.c_str(), strerror(errno));

Completed in 241 milliseconds