Home
last modified time | relevance | path

Searched refs:otherStats (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/os/connectivity/
DWifiBatteryStats.java119 WifiBatteryStats otherStats = (WifiBatteryStats) other; in equals()
120 return this.mLoggingDurationMillis == otherStats.mLoggingDurationMillis in equals()
121 && this.mKernelActiveTimeMillis == otherStats.mKernelActiveTimeMillis in equals()
122 && this.mNumPacketsTx == otherStats.mNumPacketsTx in equals()
123 && this.mNumBytesTx == otherStats.mNumBytesTx in equals()
124 && this.mNumPacketsRx == otherStats.mNumPacketsRx in equals()
125 && this.mNumBytesRx == otherStats.mNumBytesRx in equals()
126 && this.mSleepTimeMillis == otherStats.mSleepTimeMillis in equals()
127 && this.mScanTimeMillis == otherStats.mScanTimeMillis in equals()
128 && this.mIdleTimeMillis == otherStats.mIdleTimeMillis in equals()
[all …]
DCellularBatteryStats.java138 CellularBatteryStats otherStats = (CellularBatteryStats) other; in equals()
139 return this.mLoggingDurationMs == otherStats.mLoggingDurationMs in equals()
140 && this.mKernelActiveTimeMs == otherStats.mKernelActiveTimeMs in equals()
141 && this.mNumPacketsTx == otherStats.mNumPacketsTx in equals()
142 && this.mNumBytesTx == otherStats.mNumBytesTx in equals()
143 && this.mNumPacketsRx == otherStats.mNumPacketsRx in equals()
144 && this.mNumBytesRx == otherStats.mNumBytesRx in equals()
145 && this.mSleepTimeMs == otherStats.mSleepTimeMs in equals()
146 && this.mIdleTimeMs == otherStats.mIdleTimeMs in equals()
147 && this.mRxTimeMs == otherStats.mRxTimeMs in equals()
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageStats.java261 final PackageStats otherStats = (PackageStats) obj; in equals() local
262 return ((TextUtils.equals(packageName, otherStats.packageName)) in equals()
263 && userHandle == otherStats.userHandle in equals()
264 && codeSize == otherStats.codeSize in equals()
265 && dataSize == otherStats.dataSize in equals()
266 && cacheSize == otherStats.cacheSize in equals()
267 && apkSize == otherStats.apkSize in equals()
268 && libSize == otherStats.libSize in equals()
269 && dmSize == otherStats.dmSize in equals()
270 && dexoptSize == otherStats.dexoptSize in equals()
[all …]
/frameworks/base/core/java/android/os/
DDebug.java354 private int[] otherStats = new int[(NUM_OTHER_STATS+NUM_DVK_STATS)*NUM_CATEGORIES]; field in Debug.MemoryInfo
395 System.arraycopy(other.otherStats, 0, otherStats, 0, otherStats.length); in set()
477 return otherStats[which * NUM_CATEGORIES + OFFSET_PSS]; in getOtherPss()
482 return otherStats[which * NUM_CATEGORIES + OFFSET_SWAPPABLE_PSS]; in getOtherSwappablePss()
487 return otherStats[which * NUM_CATEGORIES + OFFSET_RSS]; in getOtherRss()
493 return otherStats[which * NUM_CATEGORIES + OFFSET_PRIVATE_DIRTY]; in getOtherPrivateDirty()
499 return otherStats[which * NUM_CATEGORIES + OFFSET_SHARED_DIRTY]; in getOtherSharedDirty()
504 return otherStats[which * NUM_CATEGORIES + OFFSET_PRIVATE_CLEAN]; in getOtherPrivateClean()
515 return otherStats[which * NUM_CATEGORIES + OFFSET_SHARED_CLEAN]; in getOtherSharedClean()
520 return otherStats[which * NUM_CATEGORIES + OFFSET_SWAPPED_OUT]; in getOtherSwappedOut()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DAppCollectorTest.java134 PackageStats otherStats = new PackageStats("com.test.app"); in testMultipleUsersOneApp() local
135 otherStats.userHandle = 1; in testMultipleUsersOneApp()
141 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats, otherStats); in testMultipleUsersOneApp()
/frameworks/base/services/core/java/com/android/server/power/stats/
DMultiStateStats.java313 public void copyStatesFrom(MultiStateStats otherStats) { in copyStatesFrom() argument
314 mCounter.copyStatesFrom(otherStats.mCounter); in copyStatesFrom()