Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DPermissionMonitor.java323 private static boolean hasSdkSandbox(final int uid) { in hasSdkSandbox() method in PermissionMonitor
339 if (hasSdkSandbox(uid)) { in makeUidsNetworkPerm()
360 if (hasSdkSandbox(appId)) { in makeAppIdsTrafficPerm()
400 if (hasSdkSandbox(appId)) { in getSystemTrafficPerm()
408 if (hasSdkSandbox(appId)) { in getSystemTrafficPerm()
815 if (hasSdkSandbox(uid)) { in onPackageAdded()
894 if (hasSdkSandbox(uid)) { in onPackageRemoved()
1141 if (hasSdkSandbox(appId)) { in sendPackagePermissionsForAppId()
1233 if (hasSdkSandbox(uid)) { in onSettingChanged()
1241 if (hasSdkSandbox(uid)) { in onSettingChanged()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DPermissionMonitorTest.java236 private boolean hasSdkSandbox(final int uid) { in hasSdkSandbox() method in PermissionMonitorTest
578 if (hasSdkSandbox(uid)) { in assertBackgroundPermission()
630 if (hasSdkSandbox(appId)) { in expectTrafficPerm()
690 if (hasSdkSandbox(uid)) { in expectNetworkPerm()
712 if (hasSdkSandbox(uid)) { in expectNoNetworkPerm()
1131 if (hasSdkSandbox(MOCK_APPID1)) { in testPackagePermissionUpdate()
1136 if (hasSdkSandbox(MOCK_APPID2)) { in testPackagePermissionUpdate()