Searched refs:mUidToNetworkPerm (Results 1 – 1 of 1) sorted by relevance
112 private final SparseIntArray mUidToNetworkPerm = new SparseIntArray(); field in PermissionMonitor369 mUidToNetworkPerm.put(uids.keyAt(i), uids.valueAt(i)); in updateUidsNetworkPermission()470 log("Users: " + mUsers.size() + ", UidToNetworkPerm: " + mUidToNetworkPerm.size()); in startMonitoring()543 return mUidToNetworkPerm.get(uid, PERMISSION_NONE) != PERMISSION_NONE; in hasUseBackgroundNetworksPermission()550 return PERMISSION_SYSTEM == mUidToNetworkPerm.get(uid, PERMISSION_NONE); in hasRestrictedNetworksPermission()623 final SparseIntArray allUids = mUidToNetworkPerm.clone(); in onUserRemoved()627 mUidToNetworkPerm.delete(uid); in onUserRemoved()807 final int currentPermission = mUidToNetworkPerm.get(uid, PERMISSION_NONE); in onPackageAdded()810 mUidToNetworkPerm.put(uid, permission); in onPackageAdded()817 mUidToNetworkPerm.put(sdkSandboxUid, permission); in onPackageAdded()[all …]