Searched refs:netdPermissionsAppIds (Results 1 – 2 of 2) sorted by relevance
614 SparseIntArray netdPermissionsAppIds = new SparseIntArray(); in sendPackagePermissionsForUid() local615 netdPermissionsAppIds.put(uid, permissions); in sendPackagePermissionsForUid()616 sendPackagePermissionsToNetd(netdPermissionsAppIds); in sendPackagePermissionsForUid()629 void sendPackagePermissionsToNetd(SparseIntArray netdPermissionsAppIds) { in sendPackagePermissionsToNetd() argument639 for (int i = 0; i < netdPermissionsAppIds.size(); i++) { in sendPackagePermissionsToNetd()640 int permissions = netdPermissionsAppIds.valueAt(i); in sendPackagePermissionsToNetd()643 allPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendPackagePermissionsToNetd()646 internetPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendPackagePermissionsToNetd()649 updateStatsPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendPackagePermissionsToNetd()652 noPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendPackagePermissionsToNetd()[all …]
529 SparseIntArray netdPermissionsAppIds = new SparseIntArray(); in testPackagePermissionUpdate() local530 netdPermissionsAppIds.put(MOCK_UID1, INetd.PERMISSION_INTERNET); in testPackagePermissionUpdate()531 netdPermissionsAppIds.put(MOCK_UID2, INetd.PERMISSION_NONE); in testPackagePermissionUpdate()532 netdPermissionsAppIds.put(SYSTEM_UID1, INetd.PERMISSION_INTERNET in testPackagePermissionUpdate()534 netdPermissionsAppIds.put(SYSTEM_UID2, INetd.PERMISSION_UPDATE_DEVICE_STATS); in testPackagePermissionUpdate()537 mPermissionMonitor.sendPackagePermissionsToNetd(netdPermissionsAppIds); in testPackagePermissionUpdate()