Home
last modified time | relevance | path

Searched refs:uidEntry (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderCallsStatsTest.java92 BinderCallsStats.UidEntry uidEntry = uidEntries.get(WORKSOURCE_UID); in testDetailedOff() local
93 Assert.assertNotNull(uidEntry); in testDetailedOff()
94 List<BinderCallsStats.CallStat> callStatsList = new ArrayList(uidEntry.getCallStatsList()); in testDetailedOff()
95 assertEquals(1, uidEntry.callCount); in testDetailedOff()
96 assertEquals(1, uidEntry.recordedCallCount); in testDetailedOff()
97 assertEquals(10, uidEntry.cpuTimeMicros); in testDetailedOff()
105 assertEquals(2, uidEntry.callCount); in testDetailedOff()
106 assertEquals(1, uidEntry.recordedCallCount); in testDetailedOff()
107 assertEquals(10, uidEntry.cpuTimeMicros); in testDetailedOff()
113 uidEntry = bcs.getUidEntries().get(WORKSOURCE_UID); in testDetailedOff()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBinderCallsStats.java137 UidEntry uidEntry = mUidEntries.get(mSendUidsToObserver.valueAt(i));
138 if (uidEntry != null) {
139 ArrayMap<CallStatKey, CallStat> callStats = uidEntry.mCallStats;
145 mCallStatsObserver.noteCallStats(uidEntry.workSourceUid,
146 uidEntry.incrementalCallCount, tmpCallStats
148 uidEntry.incrementalCallCount = 0;
277 UidEntry uidEntry = null; in processCallEnded() local
282 uidEntry = getUidEntry(workSourceUid); in processCallEnded()
283 recordCall = uidEntry.recordAllTransactions; in processCallEnded()
310 if (uidEntry == null) { in processCallEnded()
[all …]
/frameworks/base/core/java/android/app/admin/
DParcelableGranteeMap.java45 for (final Map.Entry<Integer, Set<String>> uidEntry : mPackagesByUid.entrySet()) { in writeToParcel()
46 dest.writeInt(uidEntry.getKey()); in writeToParcel()
47 dest.writeStringArray(uidEntry.getValue().toArray(new String[0])); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java13772 for (Map.Entry<Integer, AudioDeviceArray> uidEntry : mUidDeviceAffinities.entrySet()) { in setupDeviceAffinities()
13773 int uidStatus = removeUidDeviceAffinitiesFromSystem(uidEntry.getKey()); in setupDeviceAffinities()
13777 + uidEntry.getKey()); in setupDeviceAffinities()
13780 uidStatus = setUidDeviceAffinitiesOnSystem(uidEntry.getKey(), uidEntry.getValue()); in setupDeviceAffinities()
13784 + uidEntry.getKey()); in setupDeviceAffinities()