/frameworks/base/core/jni/ |
H A D | android_os_StatFs.cpp | 45 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); local 46 return stat->f_bsize; 52 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); local 53 return stat->f_blocks; 59 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); local 60 return stat->f_bfree; 66 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); local 67 return stat->f_bavail; 79 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); local 80 if (stat 111 struct statfs* stat = new struct statfs; local 123 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); local [all...] |
H A D | android_ddm_DdmHandleNativeHeap.cpp | 30 #include <sys/stat.h> 68 struct stat sb; 69 int ret = stat(path, &sb);
|
H A D | android_os_FileUtils.cpp | 27 #include <sys/stat.h> 92 struct stat st; 93 if (stat(file8.string(), &st) != 0) { 145 struct stat s; 146 int res = stat(pathStr, &s);
|
H A D | android_os_ParcelFileDescriptor.cpp | 22 #include <sys/stat.h> 85 struct stat st;
|
H A D | android_os_Debug.cpp | 229 static jint read_binder_stat(const char* stat) argument 248 // now that we have this process, read until we find the stat that we are looking for 249 len = snprintf(compare, 128, " %s: ", stat);
|
H A D | android_net_TrafficStats.cpp | 22 #include <sys/stat.h>
|
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/ |
H A D | LowStorageTest.java | 52 StatFs stat = new StatFs(path.getPath()); 53 int totalBlocks = stat.getBlockCount(); 54 mBlockSize = (int) (stat.getBlockSize()); 80 StatFs stat = new StatFs(path.getPath()); 81 int totalBlocks = stat.getBlockCount(); 82 int noOfBlockToFill = stat.getAvailableBlocks(); 118 // The stat didn't relect the correct data right away 122 StatFs stat = new StatFs(path.getPath()); 123 long availableBlocks = stat.getAvailableBlocks();
|
/frameworks/base/libs/utils/ |
H A D | misc.cpp | 22 #include <sys/stat.h> 121 struct stat sb; 123 if (stat(fileName, &sb) < 0) { 158 struct stat sb; 160 if (stat(fileName, &sb) < 0)
|
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
H A D | ofstream.h | 35 inline void stat (struct stat& rs) const { m_File.stat (rs); } function in class:ustl::ofstream 63 inline void stat (struct stat& rs) const { m_File.stat (rs); } function in class:ustl::ifstream
|
H A D | fstream.h | 15 struct stat; 44 void stat (struct stat& rs) const;
|
H A D | fstream.cpp | 17 #include <sys/stat.h> 206 struct stat st; 208 stat (st); 219 /// Get the stat structure. 220 void fstream::stat (struct stat& rs) const function in class:ustl::fstream 226 throw file_exception ("stat", name());
|
/frameworks/base/media/libmedia/ |
H A D | MediaScanner.cpp | 19 #include <sys/stat.h> 134 // If the type is unknown, stat() the file instead. 137 struct stat statbuf; 138 if (stat(path, &statbuf) == 0) { 145 LOGD("stat() failed for %s: %s", path, strerror(errno) ); 172 struct stat statbuf; 173 stat(path, &statbuf);
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_file.c | 21 #include <sys/stat.h> 82 * Perform a stat() call on the given filename. 86 * @param sbuf stat buffer 90 getFileStat(const uint16_t *name, int32_t nameLen, struct stat *sbuf) 98 else if (stat(tmpPathBuf1, sbuf) != 0) 100 Trace("getFileStat %s: stat() errno=%d", tmpPathBuf1, errno); 134 struct stat stat_buf; 177 exists = stat(path, &stat_buf); 309 struct stat sinfo; 339 Trace("DRM_file_listNextEntry: stat FAILUR [all...] |
/frameworks/base/media/libstagefright/id3/ |
H A D | testid3.cpp | 19 #include <sys/stat.h> 113 struct stat st; 114 if (stat(path, &st) == 0 && S_ISREG(st.st_mode)) {
|
/frameworks/base/cmds/installd/ |
H A D | commands.c | 243 struct stat s; 251 if (stat(pkgpath, &s) < 0) return -1; 266 static int stat_size(struct stat *s) 282 struct stat s; 322 struct stat s; 334 if (stat(apkpath, &s) == 0) { 341 if (stat(fwdlock_apkpath, &s) == 0) { 347 if (stat(path, &s) == 0) { 492 struct stat apk_stat, dex_stat; 512 if (stat(dex_pat [all...] |
H A D | installd.h | 22 #include <sys/stat.h>
|
/frameworks/base/libs/binder/ |
H A D | MemoryHeapBase.cpp | 25 #include <sys/stat.h> 119 struct stat sb;
|
/frameworks/base/cmds/runtime/ |
H A D | ServiceManager.cpp | 23 #include <sys/stat.h>
|
H A D | main_runtime.cpp | 34 #include <sys/stat.h> 246 struct stat s; 247 int res = stat(dir, &s);
|
/frameworks/base/cmds/dumpstate/ |
H A D | dumpstate.c | 24 #include <sys/stat.h> 87 struct stat st; 92 } else if (stat(anr_traces_path, &st)) {
|
/frameworks/base/tools/localize/ |
H A D | XLIFFFile.cpp | 590 Stats stat; local 591 stat.config = config; 592 stat.files = m_files.size(); 593 stat.toBeTranslated = 0; 594 stat.noComments = 0; 597 stat.toBeTranslated += file->transUnits.size(); 602 stat.noComments++; 607 stat.totalStrings = stat.toBeTranslated; 609 return stat; [all...] |
/frameworks/base/tools/aapt/ |
H A D | StringPool.h | 18 #include <sys/stat.h>
|
/frameworks/base/media/libmediaplayerservice/ |
H A D | VorbisPlayer.cpp | 28 #include <sys/stat.h> 153 struct stat sb; 156 ret = stat(path, &sb);
|
/frameworks/base/cmds/rawbu/ |
H A D | backup.cpp | 15 #include <sys/stat.h> 37 static struct stat statBuffer; 124 fprintf(stderr, "warning -- stat() error on '%s': %s\n", 230 static int write_header(FILE* fh, int type, const char* path, const struct stat* st) 304 fprintf(stderr, "stat() error on '%s': %s\n", 424 static int read_header(FILE* fh, int* type, char** path, struct stat* st)
|
/frameworks/base/libs/ui/ |
H A D | KeyLayoutMap.cpp | 5 #include <sys/stat.h>
|