Home
last modified time | relevance | path

Searched refs:sdkSandboxAppId (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DPermissionMonitorTest.java631 int sdkSandboxAppId = mProcessShim.toSdkSandboxUid(appId); in expectTrafficPerm() local
632 if (mAppIdsTrafficPermission.get(sdkSandboxAppId, DOES_NOT_EXIST) in expectTrafficPerm()
634 fail("SDK sandbox appId " + sdkSandboxAppId + " does not exist."); in expectTrafficPerm()
636 if (mAppIdsTrafficPermission.get(sdkSandboxAppId) != permission) { in expectTrafficPerm()
637 fail("SDK sandbox appId " + sdkSandboxAppId + " has wrong permission: " in expectTrafficPerm()
638 + mAppIdsTrafficPermission.get(sdkSandboxAppId)); in expectTrafficPerm()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DPermissionMonitor.java1142 int sdkSandboxAppId = sProcessShim.toSdkSandboxUid(appId); in sendPackagePermissionsForAppId() local
1143 netdPermissionsAppIds.put(sdkSandboxAppId, permissions); in sendPackagePermissionsForAppId()