Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/
Dsetup.py116 filepath = os.path.join(dirpath, filename)
117 if filepath.endswith("_pb2.py") or filepath.endswith(".pyc") or \
118 filepath.endswith(".so") or filepath.endswith(".o") or \
119 filepath.endswith('google/protobuf/compiler/__init__.py') or \
120 filepath.endswith('google/protobuf/util/__init__.py'):
121 os.remove(filepath)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_generator.cc127 string filepath = FilePath(file); in Generate() local
132 output_directory->Open(filepath + ".pbobjc.h")); in Generate()
140 output_directory->Open(filepath + ".pbobjc.m")); in Generate()
/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.cpp1979 static std::string SHA256_file_hash(const std::string& filepath) { in SHA256_file_hash() argument
1980 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(filepath.c_str(), O_RDONLY | O_NONBLOCK in SHA256_file_hash()
1983 MYLOGE("open(%s): %s\n", filepath.c_str(), strerror(errno)); in SHA256_file_hash()
1996 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