Searched defs:stat (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/media/mtp/
H A DMtpStorage.cpp23 #include <sys/stat.h>
63 struct statfs stat; local
64 if (statfs(getPath(), &stat))
66 mMaxCapacity = (uint64_t)stat.f_blocks * (uint64_t)stat.f_bsize;
72 struct statfs stat; local
73 if (statfs(getPath(), &stat))
75 return (uint64_t)stat.f_bavail * (uint64_t)stat.f_bsize;
/frameworks/native/libs/gui/tests/
H A DSurfaceParcelable_test.cpp97 int stat, retval; local
98 retval = wait(&stat);
/frameworks/native/libs/vr/libpdx_default_transport/
H A Dpdx_tool.cpp6 #include <sys/stat.h>
98 typedef int (*CallbackType)(const char* path, const struct stat* sb,
101 int ReloadCommandCallback(const char* path, const struct stat* sb,
103 int DumpCommandCallback(const char* path, const struct stat* sb, int type_flag,
158 int ReloadCommandCallback(const char* path, const struct stat*, int type_flag, argument
165 int DumpCommandCallback(const char* path, const struct stat*, int type_flag, argument
/frameworks/base/core/jni/
H A Dfd_utils.cpp141 const struct stat stat; member in class:FileDescriptorInfo
152 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags,
171 struct stat f_stat;
173 // of permissions required to stat all its open files.
175 *error_msg = android::base::StringPrintf("Unable to stat %d", fd);
273 struct stat f_stat;
279 return f_stat.st_ino == stat.st_ino && f_stat.st_dev == stat
354 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags, int fd_flags, int fs_flags, off_t offset) argument
[all...]
H A Dandroid_os_Debug.cpp888 static jint read_binder_stat(const char* stat) argument
907 // now that we have this process, read until we find the stat that we are looking for
908 len = snprintf(compare, 128, " %s: ", stat);
/frameworks/base/core/java/android/net/
H A DTrafficStats.java458 private static long addIfSupported(long stat) { argument
459 return (stat == UNSUPPORTED) ? 0 : stat;
534 long stat = UNSUPPORTED;
536 stat = getStatsService().getIfaceStats(iface, TYPE_TCP_RX_PACKETS);
540 total += addIfSupported(stat);
549 long stat = UNSUPPORTED;
551 stat = getStatsService().getIfaceStats(iface, TYPE_TCP_TX_PACKETS);
555 total += addIfSupported(stat);
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
H A Dbuffer_transport_benchmark.cpp541 int stat, retval; local
542 retval = wait(&stat);
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp31 #include <sys/stat.h>
198 struct stat st = {};
200 MYLOGW("Unable to stat dump file %s: %s\n", abs_path.c_str(), strerror(errno));
323 struct stat st;
339 if (stat(trace_path, &st) == 0) {
356 stat(trace_path, &st);
360 MYLOGE("Failed to stat %s or trace creation timeout\n", trace_path);
374 if (stat(path, &st) == 0) {
388 if (stat(path, &st) == 0) {
397 MYLOGE("Cant stat()
493 static const char stat[] = "/stat"; local
[all...]
/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp36 #include <sys/stat.h>
376 struct statvfs stat; local
377 if (statvfs(path.c_str(), &stat) != 0) {
384 (((static_cast<uint64_t>(stat.f_blocks) * stat.f_frsize) / 10) * 9) / QIF_DQBLKSIZE;
385 dq.dqb_ihardlimit = (stat.f_files / 2);
1317 struct stat s;
1368 struct stat s;
2014 struct stat s, libStat;
2023 if (stat(pkgdi
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...

Completed in 270 milliseconds