/frameworks/av/media/mtp/ |
H A D | MtpStorage.cpp | 24 #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;
|
H A D | MtpDeviceInfo.h | 20 struct stat;
|
/frameworks/native/include/diskusage/ |
H A D | dirsize.h | 25 int64_t stat_size(struct stat *s);
|
/frameworks/base/libs/androidfw/ |
H A D | misc.cpp | 24 #include <sys/stat.h> 38 struct stat sb; 40 if (stat(fileName, &sb) < 0) { 77 struct stat sb; 79 if (stat(fileName, &sb) < 0)
|
/frameworks/base/tools/aapt/ |
H A D | DirectoryWalker.h | 13 #include <sys/stat.h> 33 virtual struct stat* entryStats() = 0; 43 struct stat mStats; 81 stat(fullPath.string(),&mStats); 85 virtual struct stat* entryStats() {
|
H A D | FileFinder.cpp | 13 #include <sys/stat.h> 24 struct stat fileStat; 25 if (stat(filename, &fileStat) == -1) { 34 struct stat fileStat; 35 if (stat(filename, &fileStat) == -1) { 80 void SystemFileFinder::checkAndAddFile(String8 path, const struct stat* stats,
|
H A D | CacheUpdater.h | 12 #include <sys/stat.h> 64 struct stat s; 69 if (stat(path.string(),&s) == -1) { 77 } while (stat(existsPath.string(),&s) == -1);
|
H A D | FileFinder.h | 62 * checkAndAddFile looks at a single file path and stat combo 75 static void checkAndAddFile(String8 path, const struct stat* stats,
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | file_wrapper_input.cpp | 17 #include <sys/stat.h> 49 struct stat st; 50 if (stat(_name, &st) == 0) {
|
H A D | in_memory_wrapper_input.cpp | 17 #include <sys/stat.h>
|
/frameworks/native/libs/diskusage/ |
H A D | dirsize.c | 20 #include <sys/stat.h> 25 int64_t stat_size(struct stat *s) 33 struct stat s;
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | MouseClickAction.java | 45 Tapper.Status stat = sendSingleTap(uiController, coordinates, precision); 47 if (stat == Tapper.Status.FAILURE) { 49 } else if (stat == Tapper.Status.WARNING) { 58 stat = sendSingleTap(uiController, coordinates, precision); 59 if (stat == Tapper.Status.FAILURE) { 61 } else if (stat == Tapper.Status.WARNING) {
|
/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/minikin/tests/ |
H A D | ICUTestBase.h | 26 #include <sys/stat.h> 35 struct stat sb;
|
/frameworks/minikin/app/ |
H A D | HyphTool.cpp | 2 #include <sys/stat.h> 13 struct stat statbuf; 14 int status = stat(fn, &statbuf);
|
/frameworks/base/cmds/interrupter/ |
H A D | interrupter.c | 32 #include <sys/stat.h>
|
/frameworks/base/core/java/android/app/ |
H A D | SharedPreferencesImpl.java | 112 StructStat stat = null; 114 stat = Os.stat(mFile.getPath()); 135 mStatTimestamp = stat.st_mtime; 136 mStatSize = stat.st_size; 169 final StructStat stat; 176 stat = Os.stat(mFile.getPath()); 182 return mStatTimestamp != stat.st_mtime || mStatSize != stat [all...] |
/frameworks/av/drm/common/ |
H A D | ReadWriteUtils.cpp | 23 #include <sys/stat.h> 42 struct stat sb; 64 struct stat sb;
|
/frameworks/av/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/idmap/ |
H A D | create.cpp | 11 #include <sys/stat.h> 78 struct stat st; 137 struct stat st; 138 if (stat(idmap_path, &st) == -1) {
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | FileBase.cpp | 22 #include <sys/stat.h> 103 struct stat fd_stat, file_stat; 117 if (::stat(mName.c_str(), &file_stat) == 0) { 251 struct stat file_stat;
|
/frameworks/base/core/java/android/net/ |
H A D | TrafficStats.java | 415 final long stat = nativeGetIfaceStat(iface, TYPE_TCP_RX_PACKETS); 416 if (stat != UNSUPPORTED) { 417 total += stat; 427 final long stat = nativeGetIfaceStat(iface, TYPE_TCP_TX_PACKETS); 428 if (stat != UNSUPPORTED) { 429 total += stat;
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UserUsageStatsService.java | 120 // Set up the expiry date to be one day from the latest daily stat. 127 for (IntervalStats stat : mCurrentStats) { 128 final int pkgCount = stat.packageStats.size(); 130 UsageStats pkgStats = stat.packageStats.valueAt(i); 133 stat.update(pkgStats.mPackageName, stat.lastTimeSaved, 139 stat.updateConfigurationStats(null, stat.lastTimeSaved); 238 // Nothing saved to disk yet, so every stat is just as equal (no rollover has 371 for (IntervalStats stat [all...] |
/frameworks/av/media/libmedia/ |
H A D | MediaScanner.cpp | 24 #include <sys/stat.h> 175 struct stat statbuf; 192 // If the type is unknown, stat() the file instead. 195 if (stat(path, &statbuf) == 0) { 202 ALOGD("stat() failed for %s: %s", path, strerror(errno) ); 213 if (stat(path, &statbuf) == 0) { 229 stat(path, &statbuf);
|
/frameworks/base/packages/DefaultContainerService/jni/ |
H A D | com_android_defcontainer_MeasurementUtils.cpp | 25 #include <sys/stat.h>
|