Searched refs:netdPermissionsAppIds (Results 1 – 2 of 2) sorted by relevance
605 SparseIntArray netdPermissionsAppIds = new SparseIntArray(); in sendPackagePermissionsForUid() local606 netdPermissionsAppIds.put(uid, permissions); in sendPackagePermissionsForUid()607 sendPackagePermissionsToNetd(netdPermissionsAppIds); in sendPackagePermissionsForUid()620 void sendPackagePermissionsToNetd(SparseIntArray netdPermissionsAppIds) { in sendPackagePermissionsToNetd() argument630 for (int i = 0; i < netdPermissionsAppIds.size(); i++) { in sendPackagePermissionsToNetd()631 int permissions = netdPermissionsAppIds.valueAt(i); in sendPackagePermissionsToNetd()634 allPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendPackagePermissionsToNetd()637 internetPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendPackagePermissionsToNetd()640 updateStatsPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendPackagePermissionsToNetd()643 noPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendPackagePermissionsToNetd()[all …]
603 SparseIntArray netdPermissionsAppIds = new SparseIntArray(); in testPackagePermissionUpdate() local604 netdPermissionsAppIds.put(MOCK_UID1, INetd.PERMISSION_INTERNET); in testPackagePermissionUpdate()605 netdPermissionsAppIds.put(MOCK_UID2, INetd.PERMISSION_NONE); in testPackagePermissionUpdate()606 netdPermissionsAppIds.put(SYSTEM_UID1, INetd.PERMISSION_INTERNET in testPackagePermissionUpdate()608 netdPermissionsAppIds.put(SYSTEM_UID2, INetd.PERMISSION_UPDATE_DEVICE_STATS); in testPackagePermissionUpdate()611 mPermissionMonitor.sendPackagePermissionsToNetd(netdPermissionsAppIds); in testPackagePermissionUpdate()