/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsBinderCallStatsTest.java | 55 Collection<BinderCallsStats.CallStat> callStats = new ArrayList<>(); in testNoteBinderCallStats() local 61 callStats.add(stat1); in testNoteBinderCallStats() 63 bi.noteBinderCallStats(workSourceUid, 42, callStats); in testNoteBinderCallStats() 65 callStats.clear(); in testNoteBinderCallStats() 71 callStats.add(stat2); in testNoteBinderCallStats() 73 bi.noteBinderCallStats(workSourceUid, 8, callStats); in testNoteBinderCallStats() 100 Collection<BinderCallsStats.CallStat> callStats = new ArrayList<>(); in testProportionalSystemServiceUsage_noStatsForSomeMethods() local 106 callStats.add(stat1a); in testProportionalSystemServiceUsage_noStatsForSomeMethods() 113 callStats.add(stat1b); in testProportionalSystemServiceUsage_noStatsForSomeMethods() 115 bi.noteBinderCallStats(workSourceUid1, 65, callStats); in testProportionalSystemServiceUsage_noStatsForSomeMethods() [all …]
|
D | BinderCallsStatsTest.java | 203 BinderCallsStats.CallStat callStats = callStatsList.get(0); in testSampling() local 204 assertEquals(3, callStats.callCount); in testSampling() 205 assertEquals(2, callStats.recordedCallCount); in testSampling() 206 assertEquals(60, callStats.cpuTimeMicros); in testSampling() 207 assertEquals(50, callStats.maxCpuTimeMicros); in testSampling() 208 assertEquals(0, callStats.maxRequestSizeBytes); in testSampling() 209 assertEquals(0, callStats.maxReplySizeBytes); in testSampling() 238 BinderCallsStats.CallStat callStats = callStatsList.get(0); in testSamplingWithDifferentApis() local 239 assertEquals(1, callStats.callCount); in testSamplingWithDifferentApis() 240 assertEquals(1, callStats.recordedCallCount); in testSamplingWithDifferentApis() [all …]
|
D | SystemServicePowerCalculatorTest.java | 205 Collection<BinderCallsStats.CallStat> callStats = new ArrayList<>(); in prepareBatteryStats() local 211 callStats.add(stat1); in prepareBatteryStats() 213 mMockBatteryStats.noteBinderCallStats(APP_UID1, 100, callStats); in prepareBatteryStats() 215 callStats.clear(); in prepareBatteryStats() 221 callStats.add(stat2); in prepareBatteryStats() 223 mMockBatteryStats.noteBinderCallStats(APP_UID2, 100, callStats); in prepareBatteryStats()
|
/frameworks/base/services/core/java/android/os/ |
D | BatteryStatsInternal.java | 57 Collection<BinderCallsStats.CallStat> callStats); in noteBinderCallStats() argument
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderInternal.java | 146 Collection<BinderCallsStats.CallStat> callStats); in noteCallStats() argument
|
D | BinderCallsStats.java | 139 ArrayMap<CallStatKey, CallStat> callStats = uidEntry.mCallStats; 140 final int csize = callStats.size(); 143 tmpCallStats.add(callStats.valueAt(j).clone()); 149 for (int j = callStats.size() - 1; j >= 0; j--) { 150 callStats.valueAt(j).incrementalCallCount = 0;
|
D | BatteryStatsImpl.java | 6521 Collection<BinderCallsStats.CallStat> callStats) { in noteBinderCallStats() argument 6522 noteBinderCallStats(workSourceUid, incrementalCallCount, callStats, in noteBinderCallStats() 6527 Collection<BinderCallsStats.CallStat> callStats, in noteBinderCallStats() argument 6531 .noteBinderCallStatsLocked(incrementalCallCount, callStats); in noteBinderCallStats() 9470 Collection<BinderCallsStats.CallStat> callStats) { in noteBinderCallStatsLocked() argument 9474 + new ArrayList<>(callStats) + "]"); in noteBinderCallStatsLocked() 9477 for (BinderCallsStats.CallStat stat : callStats) { in noteBinderCallStatsLocked()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BinderCallsStatsService.java | 296 Collection<BinderCallsStats.CallStat> callStats) { in onBootPhase() 298 incrementalCallCount, callStats); in onBootPhase()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 435 Collection<BinderCallsStats.CallStat> callStats) { in noteBinderCallStats() argument 438 mStats::noteBinderCallStats, workSourceUid, incrementatCallCount, callStats, in noteBinderCallStats()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 2450 List<ExportedCallStat> callStats = binderStats.getExportedCallStats(); 2452 for (ExportedCallStat callStat : callStats) {
|