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, off64_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/startop/scripts/iorap/
Dcompile_handcrafted_file.py94 res = re.match("([^!]+)[!](.*)", input_record.filepath)
204 output_text_file.write("%s %d %d #%s\n" %(rec.filepath, rec.offset, rec.length, rec.remark))
217 filename = rec.filepath
/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/surfacereplayer/replayer/
DREADME.md96 The first constructor takes in the filepath where the trace is located and loads in the trace