/frameworks/base/libs/hwui/ |
H A D | FrameMetricsReporter.h | 53 void reportFrameMetrics(const int64_t* stats) { argument 55 mObservers[i]->notify(stats);
|
H A D | GpuMemoryTracker.cpp | 94 const TypeStats& stats = gObjectStats[type]; local 96 stream << " is using " << SizePrinter{stats.totalSize}; 97 stream << ", count = " << stats.count; 115 const TypeStats& stats = gObjectStats[type]; local 116 ATRACE_INT(buf, stats.totalSize); 118 ATRACE_INT(buf, stats.count);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | PowerCalculator.java | 27 * @param u The recorded stats for the app. 30 * @param statsType The type of stats. Can be {@link BatteryStats#STATS_CURRENT}, 40 * @param stats The BatteryStats object from which to retrieve data. 43 * @param statsType The type of stats. Can be {@link BatteryStats#STATS_CURRENT}, 47 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, argument
|
H A D | MemoryPowerCalculator.java | 29 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, argument 33 LongSparseArray<? extends BatteryStats.Timer> timers = stats.getKernelMemoryStats();
|
H A D | WakelockPowerCalculator.java | 61 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, argument 63 long wakeTimeMillis = stats.getBatteryUptime(rawUptimeUs) / 1000; 65 + (stats.getScreenOnTime(rawRealtimeUs, statsType) / 1000);
|
H A D | BluetoothPowerCalculator.java | 67 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, argument 70 stats.getBluetoothControllerActivity();
|
H A D | MobileRadioPowerCalculator.java | 52 public MobileRadioPowerCalculator(PowerProfile profile, BatteryStats stats) { argument 58 mStats = stats; 96 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, argument 102 long strengthTimeMs = stats.getPhoneSignalStrengthTime(i, rawRealtimeUs, statsType) 116 final long scanningTimeMs = stats.getPhoneSignalScanningTime(rawRealtimeUs, statsType) 135 app.mobileActiveCount = stats.getMobileRadioActiveUnknownCount(statsType); 145 public void reset(BatteryStats stats) { argument 147 mStats = stats;
|
H A D | WifiPowerCalculator.java | 75 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, argument 77 final BatteryStats.ControllerActivityCounter counter = stats.getWifiControllerActivity();
|
H A D | WifiPowerEstimator.java | 88 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, argument 90 final long totalRunningTimeMs = stats.getGlobalWifiRunningTime(rawRealtimeUs, statsType)
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
H A D | StorageManagerVolumeProvider.java | 53 public long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { argument 54 return stats.getTotalBytes(volume.getFsUuid()); 58 public long getFreeBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { argument 59 return stats.getFreeBytes(volume.getFsUuid());
|
H A D | StorageVolumeProvider.java | 50 long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; argument 57 long getFreeBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; argument
|
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
H A D | DataIdleTest.java | 70 * Helper method that fetches all the network stats available and reports it 79 final NetworkStats stats = session.getSummaryForAllUid( 81 reportStats(stats); 83 Log.w(LOG_TAG, "Failed to fetch network stats."); 90 * Print network data usage stats to instrumentation out 91 * @param stats {@link NetworkorStats} to print 93 void reportStats(NetworkStats stats) { argument 99 for (int i = 0; i < stats.size(); ++i) { 101 Entry statsEntry = stats.getValues(i, null);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BackupRecord.java | 31 final BatteryStatsImpl.Uid.Pkg.Serv stats; field in class:BackupRecord 41 stats = _agentStats;
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsXml.java | 78 public static void write(AtomicFile file, IntervalStats stats) throws IOException { argument 81 write(fos, stats); 116 static void write(OutputStream out, IntervalStats stats) throws IOException { argument 124 UsageStatsXmlV1.write(xml, stats);
|
/frameworks/base/tools/aapt/ |
H A D | FileFinder.cpp | 80 void SystemFileFinder::checkAndAddFile(const String8& path, const struct stat* stats, argument 94 fileStore.add(path,stats->st_mtime);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiStateTracker.java | 39 public WifiStateTracker(IBatteryStats stats) { argument 41 mBatteryStats = stats; 48 Log.e(TAG, "Battery stats unreachable " + e.getMessage());
|
/frameworks/base/core/java/android/app/usage/ |
H A D | ConfigurationStats.java | 64 public ConfigurationStats(ConfigurationStats stats) { argument 65 mConfiguration = stats.mConfiguration; 66 mBeginTimeStamp = stats.mBeginTimeStamp; 67 mEndTimeStamp = stats.mEndTimeStamp; 68 mLastTimeActive = stats.mLastTimeActive; 69 mTotalTimeActive = stats.mTotalTimeActive; 70 mActivationCount = stats.mActivationCount; 144 ConfigurationStats stats = new ConfigurationStats(); 146 stats.mConfiguration = Configuration.CREATOR.createFromParcel(source); 148 stats [all...] |
H A D | UsageStats.java | 77 public UsageStats(UsageStats stats) { argument 78 mPackageName = stats.mPackageName; 79 mBeginTimeStamp = stats.mBeginTimeStamp; 80 mEndTimeStamp = stats.mEndTimeStamp; 81 mLastTimeUsed = stats.mLastTimeUsed; 82 mTotalTimeInForeground = stats.mTotalTimeInForeground; 83 mLaunchCount = stats.mLaunchCount; 84 mLastEvent = stats.mLastEvent; 85 mChooserCounts = stats.mChooserCounts; 220 UsageStats stats [all...] |
H A D | CacheQuotaHint.java | 31 * its usage stats. When processed, it obtains a cache quota as defined by the system which 127 public @NonNull Builder setUsageStats(@Nullable UsageStats stats) { argument 128 mUsageStats = stats;
|
/frameworks/base/core/java/android/content/ |
H A D | SyncResult.java | 91 public final SyncStats stats; field in class:SyncResult 135 this.stats = new SyncStats(); 147 stats = new SyncStats(parcel); 166 return stats.numParseExceptions > 0 167 || stats.numConflictDetectedExceptions > 0 168 || stats.numAuthExceptions > 0 187 return syncAlreadyInProgress || stats.numIoExceptions > 0; 204 return ((stats.numDeletes > 0) && !tooManyDeletions) 205 || stats.numInserts > 0 206 || stats [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
H A D | LocationRequestStatisticsTest.java | 39 PackageStatistics stats = mStatistics.statistics.values().iterator().next(); 40 verifyStatisticsTimes(stats); 41 assertEquals(INTERVAL1, stats.getFastestIntervalMs()); 42 assertEquals(INTERVAL1, stats.getSlowestIntervalMs()); 43 assertTrue(stats.isActive()); 58 PackageStatistics stats = mStatistics.statistics.values().iterator().next(); 59 verifyStatisticsTimes(stats); 60 assertEquals(INTERVAL1, stats.getFastestIntervalMs()); 61 assertEquals(INTERVAL1, stats.getSlowestIntervalMs()); 62 assertTrue(stats 168 verifyStatisticsTimes(PackageStatistics stats) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteDebug.java | 32 private static native void nativeGetPagerStats(PagerStats stats); argument 133 /** statement cache stats: hits/misses/cachesize */ 147 * return all pager and database stats for the current process. 151 PagerStats stats = new PagerStats(); 152 nativeGetPagerStats(stats); 153 stats.dbStats = SQLiteDatabase.getDbStats(); 154 return stats;
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | NetworkStatsFactory.java | 55 // Used for correct stats accounting on clatd interfaces. 62 /** Path to {@code /proc/net/xt_qtaguid/stats}. */ 87 mStatsXtUid = new File(procRoot, "net/xt_qtaguid/stats"); 96 * @throws IllegalStateException when problem parsing stats. 101 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 6); 130 stats.addValues(entry); 134 throw new ProtocolException("problem parsing stats", e); 139 return stats; 147 * @throws IllegalStateException when problem parsing stats. 155 final NetworkStats stats 350 nativeReadNetworkStatsDetail( NetworkStats stats, String path, int limitUid, String[] limitIfaces, int limitTag) argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | BatteryInfo.java | 125 BatteryStats stats, long elapsedRealtimeUs) { 126 return BatteryInfo.getBatteryInfo(context, batteryBroadcast, stats, elapsedRealtimeUs, 131 BatteryStats stats, long elapsedRealtimeUs, boolean shortString) { 133 info.mStats = stats; 141 final long drainTime = stats.computeBatteryTimeRemaining(elapsedRealtimeUs); 159 final long chargeTime = stats.computeChargeTimeRemaining(elapsedRealtimeUs); 194 private static void parse(BatteryStats stats, long remainingTimeUs, argument 208 if (stats.startIteratingHistoryLocked()) { 210 while (stats.getNextHistoryLocked(rec)) { 245 stats 124 getBatteryInfo(Context context, Intent batteryBroadcast, BatteryStats stats, long elapsedRealtimeUs) argument 130 getBatteryInfo(Context context, Intent batteryBroadcast, BatteryStats stats, long elapsedRealtimeUs, boolean shortString) argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
H A D | StorageStatsSource.java | 86 * @param stats The stats to copy to wrap. 88 public ExternalStorageStats(android.app.usage.ExternalStorageStats stats) { argument 89 totalBytes = stats.getTotalBytes(); 90 audioBytes = stats.getAudioBytes(); 91 videoBytes = stats.getVideoBytes(); 92 imageBytes = stats.getImageBytes(); 93 appBytes = stats.getAppBytes(); 117 public AppStorageStatsImpl(StorageStats stats) { argument 118 mStats = stats; [all...] |