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

/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
H A DRoundedBitmapDrawableFactory.java83 public static RoundedBitmapDrawable create(@NonNull Resources res, @NonNull String filepath) { argument
84 final RoundedBitmapDrawable drawable = create(res, BitmapFactory.decodeFile(filepath));
86 Log.w(TAG, "RoundedBitmapDrawable cannot decode " + filepath);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java156 public BitmapDrawable(String filepath) { argument
157 this(null, filepath);
164 public BitmapDrawable(Resources res, String filepath) { argument
166 try (FileInputStream stream = new FileInputStream(filepath)) {
178 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.cpp1757 static std::string SHA256_file_hash(const std::string& filepath) { argument
1758 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(filepath.c_str(), O_RDONLY | O_NONBLOCK
1761 MYLOGE("open(%s): %s\n", filepath.c_str(), strerror(errno));
1774 MYLOGE("read(%s): %s\n", filepath.c_str(), strerror(errno));

Completed in 125 milliseconds