Home
last modified time | relevance | path

Searched refs:numUids (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/util/
DStatsEvent.java466 final byte numUids = (byte) uids.length; in writeAttributionChain()
469 if (numUids != numTags) { in writeAttributionChain()
471 } else if (numUids > MAX_ATTRIBUTION_NODES) { in writeAttributionChain()
477 mPos += mBuffer.putByte(mPos, numUids); in writeAttributionChain()
478 for (int i = 0; i < numUids; i++) { in writeAttributionChain()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1609 int numUids = 0; in closeSocketsForFirewallChainLocked() local
1624 exemptUids[numUids] = rules.keyAt(i); in closeSocketsForFirewallChainLocked()
1625 numUids++; in closeSocketsForFirewallChainLocked()
1636 if (numUids != exemptUids.length) { in closeSocketsForFirewallChainLocked()
1637 exemptUids = Arrays.copyOf(exemptUids, numUids); in closeSocketsForFirewallChainLocked()
1647 ranges[numUids] = makeUidRangeParcel(uid, uid); in closeSocketsForFirewallChainLocked()
1648 numUids++; in closeSocketsForFirewallChainLocked()
1653 if (numUids != ranges.length) { in closeSocketsForFirewallChainLocked()
1654 ranges = Arrays.copyOf(ranges, numUids); in closeSocketsForFirewallChainLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java11347 final int numUids = uidTraffic != null ? uidTraffic.length : 0; in updateBluetoothStateLocked() local
11348 for (int i = 0; i < numUids; i++) { in updateBluetoothStateLocked()
11371 for (int i = 0; i < numUids; i++) { in updateBluetoothStateLocked()
14729 int numUids = in.readInt(); in readFromParcelLocked() local
14731 for (int i = 0; i < numUids; i++) { in readFromParcelLocked()