Searched refs:netdPermissionsAppIds (Results 1 – 2 of 2) sorted by relevance
607 SparseIntArray netdPermissionsAppIds = new SparseIntArray(); in sendPackagePermissionsForUid() local608 netdPermissionsAppIds.put(uid, permissions); in sendPackagePermissionsForUid()609 sendPackagePermissionsToNetd(netdPermissionsAppIds); in sendPackagePermissionsForUid()622 void sendPackagePermissionsToNetd(SparseIntArray netdPermissionsAppIds) { in sendPackagePermissionsToNetd() argument632 for (int i = 0; i < netdPermissionsAppIds.size(); i++) { in sendPackagePermissionsToNetd()633 int permissions = netdPermissionsAppIds.valueAt(i); in sendPackagePermissionsToNetd()636 allPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendPackagePermissionsToNetd()639 internetPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendPackagePermissionsToNetd()642 updateStatsPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendPackagePermissionsToNetd()645 noPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendPackagePermissionsToNetd()[all …]
564 SparseIntArray netdPermissionsAppIds = new SparseIntArray(); in testPackagePermissionUpdate() local565 netdPermissionsAppIds.put(MOCK_UID1, INetd.PERMISSION_INTERNET); in testPackagePermissionUpdate()566 netdPermissionsAppIds.put(MOCK_UID2, INetd.PERMISSION_NONE); in testPackagePermissionUpdate()567 netdPermissionsAppIds.put(SYSTEM_UID1, INetd.PERMISSION_INTERNET in testPackagePermissionUpdate()569 netdPermissionsAppIds.put(SYSTEM_UID2, INetd.PERMISSION_UPDATE_DEVICE_STATS); in testPackagePermissionUpdate()572 mPermissionMonitor.sendPackagePermissionsToNetd(netdPermissionsAppIds); in testPackagePermissionUpdate()