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

/frameworks/base/core/jni/
H A Dandroid_os_StatFs.cpp45 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 Dandroid_os_Debug.cpp315 static jint read_binder_stat(const char* stat) argument
334 // now that we have this process, read until we find the stat that we are looking for
335 len = snprintf(compare, 128, " %s: ", stat);
/frameworks/base/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/libs/utils/
H A DTokenizer.cpp24 #include <sys/stat.h>
60 struct stat stat; local
61 if (fstat(fd, &stat)) {
65 size_t length = size_t(stat.st_size);
77 // The length we obtained from stat is wrong too (it will always be 4096)
/frameworks/base/tools/localize/
H A DXLIFFFile.cpp590 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/media/libstagefright/
H A DAwesomePlayer.cpp413 TrackStat *stat = local
415 stat->mMIME = mime.string();
425 TrackStat *stat = local
427 stat->mMIME = mime.string();
1407 TrackStat *stat = &mStats.mTracks.editItemAt(mStats.mAudioTrackIndex); local
1415 stat->mDecoderName = component;
1504 TrackStat *stat = &mStats.mTracks.editItemAt(mStats.mVideoTrackIndex); local
1506 stat->mDecoderName = componentName;
2314 const TrackStat &stat = mStats.mTracks.itemAt(i); local
2317 fprintf(out, " MIME(%s)", stat
[all...]

Completed in 1568 milliseconds