/frameworks/base/services/java/com/android/server/am/ |
BatteryStatsService.java | 52 final BatteryStatsImpl mStats; 58 mStats = new BatteryStatsImpl(filename); 64 mStats.setNumSpeedSteps(new PowerProfile(mContext).getNumSpeedSteps()); 65 mStats.setRadioScanningTimeout(mContext.getResources().getInteger( 72 synchronized (mStats) { 73 mStats.shutdownLocked(); 92 return mStats; 99 //mStats.dumpLocked(new LogPrinter(Log.INFO, "foo", Log.LOG_ID_SYSTEM)); 101 mStats.writeToParcel(out, 0); 109 synchronized (mStats) { [all...] |
UsageStatsService.java | 100 final private ArrayMap<String, PkgUsageStatsExtended> mStats; 275 mStats = new ArrayMap<String, PkgUsageStatsExtended>(); 379 mStats.put(pkgName, pus); 561 // Write mStats to file 567 synchronized (mStats) { 568 mStats.clear(); 611 Set<String> keys = mStats.keySet(); 614 PkgUsageStatsExtended pus = mStats.get(key); 728 PkgUsageStatsExtended pus = mStats.get(mLastResumedPkg); 743 PkgUsageStatsExtended pus = mStats.get(pkgName) [all...] |
/frameworks/base/core/tests/benchmarks/src/com/android/internal/net/ |
NetworkStatsFactoryBenchmark.java | 27 private File mStats; 33 mStats = new File("/proc/net/xt_qtaguid/stats"); 38 mStats = null; 43 NetworkStatsFactory.javaReadNetworkStatsDetail(mStats, NetworkStats.UID_ALL); 51 stats, mStats.getAbsolutePath(), NetworkStats.UID_ALL);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryHistoryPreference.java | 36 private BatteryStats mStats; 41 mStats = stats; 45 return mStats; 54 chart.setStats(mStats);
|
BatteryHistoryDetail.java | 32 private BatteryStatsImpl mStats; 41 mStats = com.android.internal.os.BatteryStatsImpl.CREATOR 50 chart.setStats(mStats);
|
BatteryStatsHelper.java | 77 private BatteryStatsImpl mStats; 140 mStats = null; 144 if (mStats == null) { 147 return mStats; 156 mStats = sStatsXfer; 172 sStatsXfer = mStats; 180 // Initialize mStats if necessary. 236 mStats.dumpLocked(printWriter, "", mStatsType, uid.getUid()); 242 mStats.dumpCheckinLocked(printWriter, mStatsType, uid.getUid()); 329 // Initialize mStats if necessary [all...] |
BatteryHistoryChart.java | 136 BatteryStats mStats; 338 mStats = stats; 340 long uSecTime = mStats.computeBatteryRealtime(SystemClock.elapsedRealtime() * 1000, 523 if (mStats.startIteratingHistoryLocked()) { 525 while (mStats.getNextHistoryLocked(rec) && i < N) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
StatsFilter.java | 47 private final float[] mStats = new float[2]; 85 quad.bottomRight().x, quad.bottomRight().y, mStats); 87 Log.v(TAG, "Native calc stats: Mean = " + mStats[MEAN_INDEX] + ", Stdev = " 88 + mStats[STDEV_INDEX]); 105 outFrame.setValue(mStats[MEAN_INDEX]); 110 outFrameStdev.setValue(mStats[STDEV_INDEX]);
|
/frameworks/base/tools/aapt/ |
DirectoryWalker.h | 43 struct stat mStats; 81 stat(fullPath.string(),&mStats); 86 return &mStats;
|
/frameworks/base/tools/aapt/tests/ |
MockDirectoryWalker.h | 57 mStats.st_ino = mPos; 58 mStats.st_mtime = mData[mPos].second; 67 return &mStats;
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
FusionEngine.java | 63 private final HashMap<String, ProviderStats> mStats = new HashMap<String, ProviderStats>(); 74 mStats.put(GPS, new ProviderStats()); 75 mStats.get(GPS).available = mLocationManager.isProviderEnabled(GPS); 76 mStats.put(NETWORK, new ProviderStats()); 77 mStats.get(NETWORK).available = mLocationManager.isProviderEnabled(NETWORK); 132 ProviderStats stats = mStats.get(name); 148 ProviderStats stats = mStats.get(name); 280 ProviderStats stats = mStats.get(provider); 289 ProviderStats stats = mStats.get(provider); 300 s.append(" ").append(mStats.get(GPS)).append('\n') [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
ContentCache.java | 112 private final Statistics mStats; 427 mStats = new Statistics(this); 489 mStats.mStaleCount++; 531 mStats.mHitCount++; 534 mStats.mMissCount++; 560 mStats.mProjectionMissCount++; 582 mStats.mHitCount++; 585 mStats.mMissCount++; 682 mStats.mInvalidateCount++; 692 mStats.mOpCount++ [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartNetworkSeriesView.java | 57 private NetworkStatsHistory mStats; 138 mStats = stats; 178 if (mStats == null || mStats.size() < 2) { 201 final int start = mStats.getIndexBefore(mStart); 202 final int end = mStats.getIndexAfter(mEnd); 204 entry = mStats.getValues(i, entry); 262 final long bucketDuration = mStats.getBucketDuration(); 265 entry = mStats.getValues(lastTime - WEEK_IN_MILLIS * 2, lastTime, now, entry); 275 entry = mStats.getValues(lastWeekTime - DAY_IN_MILLIS, lastWeekTime, now, entry) [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcessStatsUi.java | 92 ProcessStats mStats; 135 mStats = sStatsXfer; 179 sStatsXfer = mStats; 282 mStats = null; 356 if (mStats == null || mLastDuration != mDuration) { 380 mStats.mTimePeriodEndRealtime-mStats.mTimePeriodStartRealtime, false); 395 "MMMM dd, yyyy h:mm a"), mStats.mTimePeriodStartClock)); 398 BatteryHistoryPreference hist = new BatteryHistoryPreference(getActivity(), mStats); 407 mTotalTime = ProcessStats.dumpSingleTime(null, null, mStats.mMemFactorDurations [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsCollection.java | 73 private HashMap<Key, NetworkStatsHistory> mStats = Maps.newHashMap(); 88 mStats.clear(); 148 for (Map.Entry<Key, NetworkStatsHistory> entry : mStats.entrySet()) { 173 for (Map.Entry<Key, NetworkStatsHistory> mapEntry : mStats.entrySet()) { 215 NetworkStatsHistory target = mStats.get(key); 218 mStats.put(key, target); 228 for (Map.Entry<Key, NetworkStatsHistory> entry : another.mStats.entrySet()) { 236 final NetworkStatsHistory existing = mStats.get(key); 247 mStats.put(key, updated); 296 for (Key key : mStats.keySet()) [all...] |
/frameworks/av/media/libstagefright/ |
AwesomePlayer.cpp | 312 mStats.mFd = -1; 313 mStats.mURI = mUri; 337 mStats.mFd = fd; 338 mStats.mURI = String8(); 403 mStats.mBitrate = mBitrate; 404 mStats.mTracks.clear(); 405 mStats.mAudioTrackIndex = -1; 406 mStats.mVideoTrackIndex = -1; 436 mStats.mVideoTrackIndex = mStats.mTracks.size() [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
LoadAverageService.java | 65 mStats.update(); 73 private final CpuTracker mStats; 153 mStats = new CpuTracker(mLoadPaint); 154 mStats.init(); 182 final CpuTracker stats = mStats; 262 final CpuTracker stats = mStats;
|
/frameworks/base/core/java/com/android/internal/app/ |
ProcessStats.java | 460 long time = svc.mStats.getLong(off, 0); [all...] |
/frameworks/av/media/libstagefright/include/ |
AwesomePlayer.h | 341 } mStats;
|
/frameworks/base/services/java/com/android/server/pm/ |
PackageManagerService.java | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Launcher.java | 356 private Stats mStats; 409 mStats = new Stats(this); 645 return mStats; [all...] |
/prebuilts/devtools/tools/lib/ |
ddmuilib.jar | |
sdklib.jar | |