Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/graphics/drawable/
DRoundedBitmapDrawableFactory.java77 String filepath) { in create() argument
78 final RoundedBitmapDrawable drawable = create(res, BitmapFactory.decodeFile(filepath)); in create()
80 Log.w(TAG, "RoundedBitmapDrawable cannot decode " + filepath); in create()
/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.cpp481 const String8& rootpath, const String8& filepath, off_t* outSize, in write_tarfile() argument
485 const char* relstart = filepath.string() + rootpath.length(); in write_tarfile()
506 for (size_t i = 0; i < filepath.length(); i++) { in write_tarfile()
507 if ((filepath[i] & 0x80) != 0) { in write_tarfile()
516 if (lstat64(filepath.string(), &s) != 0) { in write_tarfile()
518 ALOGE("Error %d (%s) from lstat64(%s)", err, strerror(err), filepath.string()); in write_tarfile()
543 int fd = open(filepath.string(), O_RDONLY); in write_tarfile()
546 ALOGE("Error %d (%s) from open(%s)", err, strerror(err), filepath.string()); in write_tarfile()
590 ALOGW("Error: unknown file mode 0%o [%s]", s.st_mode, filepath.string()); in write_tarfile()
689 ALOGE("Unable to read file [%s], err=%d (%s)", filepath.string(), in write_tarfile()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DBitmapDrawable.java155 public BitmapDrawable(String filepath) { in BitmapDrawable() argument
156 this(new BitmapState(BitmapFactory.decodeFile(filepath)), null); in BitmapDrawable()
158 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath); in BitmapDrawable()
166 public BitmapDrawable(Resources res, String filepath) { in BitmapDrawable() argument
167 this(new BitmapState(BitmapFactory.decodeFile(filepath)), null); in BitmapDrawable()
170 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath); in BitmapDrawable()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp998 static std::string SHA256_file_hash(std::string filepath) { in SHA256_file_hash() argument
999 ScopedFd fd(TEMP_FAILURE_RETRY(open(filepath.c_str(), O_RDONLY | O_NONBLOCK | O_CLOEXEC in SHA256_file_hash()
1002 MYLOGE("open(%s): %s\n", filepath.c_str(), strerror(errno)); in SHA256_file_hash()
1015 MYLOGE("read(%s): %s\n", filepath.c_str(), strerror(errno)); in SHA256_file_hash()
/frameworks/base/docs/html/ndk/samples/
Dsample_hellojni.jd102 <li>Describe the filepath relative to the top-level source directory.</li>
/frameworks/base/docs/html/ndk/guides/
Dandroid_mk.jd349 <p class="note"><strong>Note:</strong> You cannot override filepath or file extension.</p>