/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkStackTest.java | 21 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK; 64 when(mCtx.checkCallingOrSelfPermission(eq(PERMISSION_MAINLINE_NETWORK_STACK))) in testCheckNetworkStackPermission() 70 when(mCtx.checkCallingOrSelfPermission(eq(PERMISSION_MAINLINE_NETWORK_STACK))) in testCheckNetworkStackPermission()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStack.java | 45 public static final String PERMISSION_MAINLINE_NETWORK_STACK = field in NetworkStack 103 permissions.add(PERMISSION_MAINLINE_NETWORK_STACK); in checkNetworkStackPermissionOr()
|
D | ConnectivityManager.java | 3195 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3208 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3230 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3255 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3269 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3289 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3302 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3763 @RequiresPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) 4406 @RequiresPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) 4421 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK,
|
D | EthernetManager.java | 269 android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK
|
/frameworks/base/services/net/java/android/net/ |
D | NetworkStackClient.java | 18 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK; 234 INetworkStackConnector.class.getName(), PERMISSION_MAINLINE_NETWORK_STACK, in start() local
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringService.java | 23 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK; 260 || checkCallingOrSelfPermission(PERMISSION_MAINLINE_NETWORK_STACK); in hasNetworkStackPermission()
|
D | Tethering.java | 30 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK; 388 mStateReceiver, noUpstreamFilter, PERMISSION_MAINLINE_NETWORK_STACK, mHandler); in startStateMachineUpdaters() 2070 || hasCallingPermission(PERMISSION_MAINLINE_NETWORK_STACK) in registerTetheringEventCallback()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStatsManager.java | 544 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) 570 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK})
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 32 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK; 239 return hasPermission(PERMISSION_MAINLINE_NETWORK_STACK, appInfo.uid) in hasRestrictedNetworkPermission()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 485 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, uid) in checkMainlineNetworkStackPermission()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 2104 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceSettingsPermission() 2110 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkFactoryPermission() 2117 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkFactoryOrSettingsPermission() 2124 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkFactoryOrTestNetworksPermission() 2130 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in checkSettingsPermission() 2137 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, pid, uid); in checkSettingsPermission() 2150 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkStackOrSettingsPermission() 2158 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkStackSettingsOrSetup() 2164 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in checkNetworkStackPermission() 2170 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in checkNetworkStackPermission() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 2578 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK 2602 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK 2622 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 1221 eq(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK), any()); in testStartSoftApWithoutPermissionThrowsException() 1257 eq(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK), any()); in testStopSoftApWithoutPermissionThrowsException() 1816 when(mContext.checkCallingOrSelfPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK)) in registerSoftApCallbackThrowsSecurityExceptionOnMissingPermissions() 1845 when(mContext.checkCallingOrSelfPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK)) in unregisterSoftApCallbackThrowsSecurityExceptionOnMissingPermissions() 3126 eq(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK), any()); in testSetCountryCodeFailsWithoutNetworkStackPermission()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 19 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK; 2229 PERMISSION_MAINLINE_NETWORK_STACK, service -> { in startOtherServices()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 685 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, MANAGED_PROFILE_UID)) in testEnforceCanAccessScanResults_LocationModeDisabledHasMainlineNetworkStack()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1899 mServiceContext.setPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, in networkCallbacksSanitizationTest_Sanitize() 1908 mServiceContext.setPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, in networkCallbacksSanitizationTest_NoSanitize_NetworkStack() 1916 mServiceContext.setPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, in networkCallbacksSanitizationTest_NoSanitize_Settings() 2829 mServiceContext.setPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, in testCaptivePortalApp() 6941 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, PERMISSION_DENIED); in setupConnectionOwnerUidAsVpnApp() 7001 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, PERMISSION_GRANTED); in testGetConnectionOwnerUidVpnServiceMainlineNetworkStackDoesNotThrow()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 804 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkStackOrSettingsPermission() 816 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, "WifiService"); in enforceNetworkStackPermission()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 1973 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK);
|
/frameworks/base/api/ |
D | system-current.txt | 1229 …permission.NETWORK_STATS_PROVIDER, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) pu… 1230 …permission.NETWORK_STATS_PROVIDER, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) pu… 4339 …method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, andr… 4341 …method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void… 4343 …method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, andr… 4344 …method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void… 4348 …method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, andr… 4378 …Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) pu… 4671 …field public static final String PERMISSION_MAINLINE_NETWORK_STACK = "android.permission.MAINLINE_… 5392 …Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) pu… [all …]
|
D | test-current.txt | 1444 …method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void… 1450 …Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) pu… 1553 …field public static final String PERMISSION_MAINLINE_NETWORK_STACK = "android.permission.MAINLINE_…
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 1229 …permission.NETWORK_STATS_PROVIDER, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) pu… 1230 …permission.NETWORK_STATS_PROVIDER, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) pu… 4339 …method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, andr… 4341 …method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void… 4343 …method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, andr… 4344 …method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void… 4348 …method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, andr… 4378 …Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) pu… 4671 …field public static final String PERMISSION_MAINLINE_NETWORK_STACK = "android.permission.MAINLINE_… 5298 …Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) pu… [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 521 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkStackOrLocationHardwarePermission()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 81 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK; 5551 if (mContext.checkCallingPermission(PERMISSION_MAINLINE_NETWORK_STACK) in enforceNetworkStackOrProfileOrDeviceOwner()
|