Home
last modified time | relevance | path

Searched refs:mStats (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/java/com/android/server/am/
DBatteryStatsService.java50 final BatteryStatsImpl mStats; field in BatteryStatsService
56 mStats = new BatteryStatsImpl(filename); in BatteryStatsService()
62 mStats.setNumSpeedSteps(new PowerProfile(mContext).getNumSpeedSteps()); in publish()
63 mStats.setRadioScanningTimeout(mContext.getResources().getInteger( in publish()
70 synchronized (mStats) { in shutdown()
71 mStats.shutdownLocked(); in shutdown()
90 return mStats; in getActiveStatistics()
99 mStats.writeToParcel(out, 0); in getStatistics()
107 synchronized (mStats) { in noteStartWakelock()
108 mStats.noteStartWakeLocked(uid, pid, name, type); in noteStartWakelock()
[all …]
DUsageStatsService.java96 final private Map<String, PkgUsageStatsExtended> mStats; field in UsageStatsService
245 mStats = new HashMap<String, PkgUsageStatsExtended>(); in UsageStatsService()
349 mStats.put(pkgName, pus); in readStatsFLOCK()
537 synchronized (mStats) { in writeStatsToFile()
538 mStats.clear(); in writeStatsToFile()
581 Set<String> keys = mStats.keySet(); in writeStatsToParcelFLOCK()
584 PkgUsageStatsExtended pus = mStats.get(key); in writeStatsToParcelFLOCK()
696 PkgUsageStatsExtended pus = mStats.get(mLastResumedPkg); in noteResumeComponent()
711 PkgUsageStatsExtended pus = mStats.get(pkgName); in noteResumeComponent()
714 mStats.put(pkgName, pus); in noteResumeComponent()
[all …]
/frameworks/base/tests/TileBenchmark/tests/src/com/test/tilebenchmark/
DPerformanceTest.java52 aggVal += mStats[metricIndex][statIndex]; in aggregate()
75 StatAggregator mStats = new StatAggregator(); field in PerformanceTest
106 synchronized (mStats) { in loadUrl()
107 mStats.wait(); in loadUrl()
109 mStats.aggregate(); in loadUrl()
153 mStats.setData(data); in testMetrics()
154 synchronized (mStats) { in testMetrics()
155 mStats.notify(); in testMetrics()
165 getInstrumentation().sendStatus(0, mStats.getBundle()); in testMetrics()
/frameworks/base/media/libstagefright/
DAwesomePlayer.cpp296 mStats.mFd = -1; in setDataSource_l()
297 mStats.mURI = mUri; in setDataSource_l()
321 mStats.mFd = fd; in setDataSource()
322 mStats.mURI = String8(); in setDataSource()
380 mStats.mBitrate = mBitrate; in setDataSource_l()
381 mStats.mTracks.clear(); in setDataSource_l()
382 mStats.mAudioTrackIndex = -1; in setDataSource_l()
383 mStats.mVideoTrackIndex = -1; in setDataSource_l()
411 mStats.mVideoTrackIndex = mStats.mTracks.size(); in setDataSource_l()
412 mStats.mTracks.push(); in setDataSource_l()
[all …]
/frameworks/base/tools/aapt/
DDirectoryWalker.h43 struct stat mStats; variable
81 stat(fullPath.string(),&mStats); in nextEntry()
86 return &mStats; in entryStats()
/frameworks/base/tools/aapt/tests/
DMockDirectoryWalker.h57 mStats.st_ino = mPos; in nextEntry()
58 mStats.st_mtime = mData[mPos].second; in nextEntry()
67 return &mStats; in entryStats()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLoadAverageService.java65 mStats.update();
73 private final Stats mStats; field in LoadAverageService.LoadView
153 mStats = new Stats(mLoadPaint); in LoadView()
154 mStats.init(); in LoadView()
182 final Stats stats = mStats; in onDraw()
262 final Stats stats = mStats; in updateDisplay()
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
DPlaybackGraphs.java162 protected double[][] mStats = new double[Metrics.length][Stats.length]; field in PlaybackGraphs
200 mStats[metricIndex][statIndex] = in setData()
242 R.string.format_stat, mStats[metricIndex][statIndex]); in draw()
/frameworks/base/media/libstagefright/include/
DAwesomePlayer.h331 } mStats; member
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java5246 private final PackageStats mStats; field in PackageManagerService.MeasureParams
5253 mStats = stats; in MeasureParams()
5272 .getExternalStorageAppCacheDirectory(mStats.packageName); in handleStartCopy()
5275 mStats.externalCacheSize = externalCacheSize; in handleStartCopy()
5278 .getExternalStorageAppDataDirectory(mStats.packageName); in handleStartCopy()
5285 mStats.externalDataSize = externalDataSize; in handleStartCopy()
5288 .getExternalStorageAppMediaDirectory(mStats.packageName); in handleStartCopy()
5289 mStats.externalMediaSize = mContainerService in handleStartCopy()
5293 .getExternalStorageAppObbDirectory(mStats.packageName); in handleStartCopy()
5294 mStats.externalObbSize = mContainerService.calculateDirectorySize(externalObbDir in handleStartCopy()
[all …]