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

/frameworks/av/media/mtp/
H A DMtpStorage.cpp24 #include <sys/stat.h>
66 struct statfs stat; local
67 if (statfs(getPath(), &stat))
69 mMaxCapacity = (uint64_t)stat.f_blocks * (uint64_t)stat.f_bsize;
75 struct statfs stat; local
76 if (statfs(getPath(), &stat))
78 uint64_t freeSpace = (uint64_t)stat.f_bavail * (uint64_t)stat.f_bsize;
/frameworks/base/core/jni/
H A Dfd_utils.h27 #include <sys/stat.h>
84 const struct stat stat; member in class:FileDescriptorInfo
95 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags,
H A Dfd_utils.cpp124 struct stat f_stat;
126 // of permissions required to stat all its open files.
128 PLOG(ERROR) << "Unable to stat fd " << fd;
215 struct stat f_stat;
221 return f_stat.st_ino == stat.st_ino && f_stat.st_dev == stat.st_dev;
270 stat(),
278 FileDescriptorInfo::FileDescriptorInfo(struct stat stat, const std::string& file_path, argument
282 stat(sta
[all...]
H A Dandroid_os_Debug.cpp784 static jint read_binder_stat(const char* stat) argument
803 // now that we have this process, read until we find the stat that we are looking for
804 len = snprintf(compare, 128, " %s: ", stat);
/frameworks/native/libs/vr/libpdx_default_transport/
H A Dservicetool.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/native/cmds/dumpstate/
H A Ddumpstate.cpp34 #include <sys/stat.h>
133 struct stat st;
211 struct stat st;
227 if (stat(trace_path, &st) == 0) {
244 stat(trace_path, &st);
248 MYLOGE("Failed to stat %s or trace creation timeout\n", trace_path);
262 if (stat(path, &st) == 0) {
276 if (stat(path, &st) == 0) {
285 MYLOGE("Cant stat() %s anymore\n", path);
357 struct stat
463 static const char stat[] = "/stat"; local
[all...]
/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp32 #include <sys/stat.h>
316 struct statvfs stat; local
317 if (statvfs(path.c_str(), &stat) != 0) {
323 dq.dqb_bhardlimit = (((stat.f_blocks * stat.f_frsize) / 10) * 9) / QIF_DQBLKSIZE;
324 dq.dqb_ihardlimit = (stat.f_files / 2);
1226 struct stat s;
1277 struct stat s;
1847 struct stat* statbuf)
1878 struct stat
[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 123 milliseconds