Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1674 int numUids = 0; in closeSocketsForFirewallChainLocked() local
1689 exemptUids[numUids] = rules.keyAt(i); in closeSocketsForFirewallChainLocked()
1690 numUids++; in closeSocketsForFirewallChainLocked()
1701 if (numUids != exemptUids.length) { in closeSocketsForFirewallChainLocked()
1702 exemptUids = Arrays.copyOf(exemptUids, numUids); in closeSocketsForFirewallChainLocked()
1712 ranges[numUids] = makeUidRangeParcel(uid, uid); in closeSocketsForFirewallChainLocked()
1713 numUids++; in closeSocketsForFirewallChainLocked()
1718 if (numUids != ranges.length) { in closeSocketsForFirewallChainLocked()
1719 ranges = Arrays.copyOf(ranges, numUids); in closeSocketsForFirewallChainLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java11341 final int numUids = uidTraffic != null ? uidTraffic.length : 0; in updateBluetoothStateLocked() local
11342 for (int i = 0; i < numUids; i++) { in updateBluetoothStateLocked()
11365 for (int i = 0; i < numUids; i++) { in updateBluetoothStateLocked()
14731 int numUids = in.readInt(); in readFromParcelLocked() local
14733 for (int i = 0; i < numUids; i++) { in readFromParcelLocked()