Home
last modified time | relevance | path

Searched refs:filepath (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/mca/
Dstructgen.py184 def parseTextFile(self, filepath): argument
194 txtfile = open(filepath)
337 filepath = argv[1]
340 structspec.parseTextFile(filepath)
348 rootdir = os.path.dirname(filepath)
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp482 const String8& rootpath, const String8& filepath, off_t* outSize, in write_tarfile() argument
486 const char* relstart = filepath.string() + rootpath.length(); in write_tarfile()
507 for (size_t i = 0; i < filepath.length(); i++) { in write_tarfile()
508 if ((filepath[i] & 0x80) != 0) { in write_tarfile()
517 if (lstat64(filepath.string(), &s) != 0) { in write_tarfile()
519 ALOGE("Error %d (%s) from lstat64(%s)", err, strerror(err), filepath.string()); in write_tarfile()
544 int fd = open(filepath.string(), O_RDONLY); in write_tarfile()
547 ALOGE("Error %d (%s) from open(%s)", err, strerror(err), filepath.string()); in write_tarfile()
595 ALOGW("Error: unknown file mode 0%o [%s]", s.st_mode, filepath.string()); in write_tarfile()
694 ALOGE("Unable to read file [%s], err=%d (%s)", filepath.string(), in write_tarfile()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DBitmapDrawable.java158 public BitmapDrawable(String filepath) { in BitmapDrawable() argument
159 this(null, filepath); in BitmapDrawable()
166 public BitmapDrawable(Resources res, String filepath) { in BitmapDrawable() argument
168 try (FileInputStream stream = new FileInputStream(filepath)) { in BitmapDrawable()
180 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath); in BitmapDrawable()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp2050 static std::string SHA256_file_hash(const std::string& filepath) { in SHA256_file_hash() argument
2051 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(filepath.c_str(), O_RDONLY | O_NONBLOCK in SHA256_file_hash()
2054 MYLOGE("open(%s): %s\n", filepath.c_str(), strerror(errno)); in SHA256_file_hash()
2067 MYLOGE("read(%s): %s\n", filepath.c_str(), strerror(errno)); in SHA256_file_hash()
/frameworks/native/cmds/surfacereplayer/replayer/
DREADME.md96 The first constructor takes in the filepath where the trace is located and loads in the trace