Home
last modified time | relevance | path

Searched refs:requestUid (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1588 public HealthStatsParceler takeUidSnapshot(int requestUid) { in takeUidSnapshot() argument
1589 if (requestUid != Binder.getCallingUid()) { in takeUidSnapshot()
1599 return getHealthStatsForUidLocked(requestUid); in takeUidSnapshot()
1602 Slog.w(TAG, "Crashed while writing for takeUidSnapshot(" + requestUid + ")", ex); in takeUidSnapshot()
1664 HealthStatsParceler getHealthStatsForUidLocked(int requestUid) { in getHealthStatsForUidLocked() argument
1667 final BatteryStats.Uid uid = mStats.getUidStats().get(requestUid); in getHealthStatsForUidLocked()
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java887 final int requestUid = 10100; in testBuilder() local
908 .setRequestorUid(requestUid) in testBuilder()
926 assertEquals(requestUid, nc.getRequestorUid()); in testBuilder()