Searched defs:stat (Results 1 - 5 of 5) sorted by relevance
/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;
|
/frameworks/native/libs/utils/ |
H A D | Tokenizer.cpp | 24 #include <sys/stat.h> 63 struct stat stat; local 64 if (fstat(fd, &stat)) { 68 size_t length = size_t(stat.st_size); 81 // The length we obtained from stat is wrong too (it will always be 4096)
|
/frameworks/base/core/jni/ |
H A D | android_net_TrafficStats.cpp | 22 #include <sys/stat.h> 84 static int parseIfaceStat(const char* iface, struct IfaceStat* stat) { argument 104 stat->rxBytes += rxBytes; 105 stat->rxPackets += rxPackets; 106 stat->txBytes += txBytes; 107 stat->txPackets += txPackets; 110 stat->rxBytes += devRxBytes; 111 stat->rxPackets += devRxPackets; 112 stat->txBytes += devTxBytes; 113 stat 123 struct IfaceStat stat; local 149 struct IfaceStat stat; local 152 uint64_t stat = getIfaceStatType(ifaceChars, (IfaceStatType) type); local [all...] |
H A D | android_os_Debug.cpp | 318 static jint read_binder_stat(const char* stat) argument 337 // now that we have this process, read until we find the stat that we are looking for 338 len = snprintf(compare, 128, " %s: ", stat);
|
/frameworks/av/media/libstagefright/ |
H A D | AwesomePlayer.cpp | 418 TrackStat *stat = local 420 stat->mMIME = mime.string(); 431 TrackStat *stat = local 433 stat->mMIME = mime.string(); 1422 TrackStat *stat = &mStats.mTracks.editItemAt(mStats.mAudioTrackIndex); local 1429 stat->mDecoderName = component; 1520 TrackStat *stat = &mStats.mTracks.editItemAt(mStats.mVideoTrackIndex); local 1522 stat->mDecoderName = componentName; 2609 const TrackStat &stat = mStats.mTracks.itemAt(i); local 2612 fprintf(out, " MIME(%s)", stat [all...] |
Completed in 595 milliseconds