Searched refs:netdPermissionsAppIds (Results 1 – 2 of 2) sorted by relevance
1139 SparseIntArray netdPermissionsAppIds = new SparseIntArray(); in sendPackagePermissionsForAppId() local1140 netdPermissionsAppIds.put(appId, permissions); in sendPackagePermissionsForAppId()1143 netdPermissionsAppIds.put(sdkSandboxAppId, permissions); in sendPackagePermissionsForAppId()1145 sendAppIdsTrafficPermission(netdPermissionsAppIds); in sendPackagePermissionsForAppId()1157 void sendAppIdsTrafficPermission(SparseIntArray netdPermissionsAppIds) { in sendAppIdsTrafficPermission() argument1164 for (int i = 0; i < netdPermissionsAppIds.size(); i++) { in sendAppIdsTrafficPermission()1165 int permissions = netdPermissionsAppIds.valueAt(i); in sendAppIdsTrafficPermission()1168 allPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendAppIdsTrafficPermission()1171 internetPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendAppIdsTrafficPermission()1174 updateStatsPermissionAppIds.add(netdPermissionsAppIds.keyAt(i)); in sendAppIdsTrafficPermission()[all …]
331 private void sendAppIdsTrafficPermission(SparseIntArray netdPermissionsAppIds) { in sendAppIdsTrafficPermission() argument333 mPermissionMonitor.sendAppIdsTrafficPermission(netdPermissionsAppIds)); in sendAppIdsTrafficPermission()1129 SparseIntArray netdPermissionsAppIds = new SparseIntArray(); in testPackagePermissionUpdate() local1130 netdPermissionsAppIds.put(MOCK_APPID1, PERMISSION_INTERNET); in testPackagePermissionUpdate()1132 netdPermissionsAppIds.put(mProcessShim.toSdkSandboxUid(MOCK_APPID1), in testPackagePermissionUpdate()1135 netdPermissionsAppIds.put(MOCK_APPID2, PERMISSION_NONE); in testPackagePermissionUpdate()1137 netdPermissionsAppIds.put(mProcessShim.toSdkSandboxUid(MOCK_APPID2), in testPackagePermissionUpdate()1140 netdPermissionsAppIds.put(SYSTEM_APPID1, PERMISSION_TRAFFIC_ALL); in testPackagePermissionUpdate()1141 netdPermissionsAppIds.put(SYSTEM_APPID2, PERMISSION_UPDATE_DEVICE_STATS); in testPackagePermissionUpdate()1144 sendAppIdsTrafficPermission(netdPermissionsAppIds); in testPackagePermissionUpdate()