/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 57 import android.net.NetworkStack; 320 NetworkStack.checkNetworkStackPermission(mContext); in registerObserver() 326 NetworkStack.checkNetworkStackPermission(mContext); in unregisterObserver() 461 NetworkStack.checkNetworkStackPermission(mContext); in registerTetheringStatsProvider() 470 NetworkStack.checkNetworkStackPermission(mContext); in unregisterTetheringStatsProvider() 478 NetworkStack.checkNetworkStackPermission(mContext); in tetherLimitReached() 752 NetworkStack.checkNetworkStackPermissionOr(mContext, CONNECTIVITY_INTERNAL); in listInterfaces() 804 NetworkStack.checkNetworkStackPermissionOr(mContext, CONNECTIVITY_INTERNAL); in getInterfaceConfig() 824 NetworkStack.checkNetworkStackPermissionOr(mContext, CONNECTIVITY_INTERNAL); in setInterfaceConfig() 841 NetworkStack.checkNetworkStackPermission(mContext); in setInterfaceDown() [all …]
|
D | ConnectivityService.java | 118 import android.net.NetworkStack; 1426 NetworkStack.checkNetworkStackPermission(mContext); in getActiveNetworkForUid() 1468 NetworkStack.checkNetworkStackPermission(mContext); in getActiveNetworkInfoForUid() 1766 NetworkStack.checkNetworkStackPermission(mContext); in getAllNetworkState() 2103 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceSettingsPermission() 2109 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkFactoryPermission() 2116 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkFactoryOrSettingsPermission() 2123 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkFactoryOrTestNetworksPermission() 2129 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in checkSettingsPermission() 2136 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, pid, uid); in checkSettingsPermission() [all …]
|
D | NsdService.java | 23 import android.net.NetworkStack; 566 NetworkStack.checkNetworkStackPermission(mContext); in setEnabled()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkStackTest.java | 21 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK; 22 import static android.net.NetworkStack.checkNetworkStackPermission; 23 import static android.net.NetworkStack.checkNetworkStackPermissionOr; 89 NetworkStack.setServiceForTest(mConnectorBinder); in testGetService() 90 assertEquals(NetworkStack.getService(), mConnectorBinder); in testGetService()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetServiceImpl.java | 25 import android.net.NetworkStack; 117 NetworkStack.checkNetworkStackPermission(mContext); in setConfiguration() 168 NetworkStack.checkNetworkStackPermissionOr(mContext, in setIncludeTestInterfaces() 175 NetworkStack.checkNetworkStackPermissionOr(mContext, in requestTetheredInterface() 182 NetworkStack.checkNetworkStackPermissionOr(mContext, in releaseTetheredInterface()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStack.java | 37 public class NetworkStack { class 76 private NetworkStack() {} in NetworkStack() method in NetworkStack
|
D | ConnectivityManager.java | 3157 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3170 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3192 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3217 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3231 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3251 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3264 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, 3723 @RequiresPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) 4365 @RequiresPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) 4380 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK,
|
D | EthernetManager.java | 269 android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK
|
/frameworks/base/packages/Tethering/ |
D | OWNERS | 1 include platform/packages/modules/NetworkStack/:/OWNERS
|
/frameworks/libs/net/common/tests/unit/ |
D | Android.bp | 20 "//packages/modules/NetworkStack/tests/integration",
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringService.java | 23 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK; 40 import android.net.NetworkStack; 354 while ((connector = NetworkStack.getService()) == null) { in makeTetheringDependencies()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStatsManager.java | 32 import android.net.NetworkStack; 581 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) 607 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK})
|
/frameworks/libs/net/common/ |
D | Android.bp | 52 "//packages/modules/NetworkStack", 69 "//packages/modules/NetworkStack",
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | IpConnectivityMetrics.java | 23 import android.net.NetworkStack; 304 NetworkStack.checkNetworkStackPermission(getContext()); in logEvent()
|
D | PermissionMonitor.java | 27 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK;
|
/frameworks/base/tests/net/integration/ |
D | Android.bp | 45 // android_library does not include JNI libs: include NetworkStack dependencies here
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 27 import android.net.NetworkStack; 477 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, uid) in checkMainlineNetworkStackPermission()
|
/frameworks/base/services/net/java/android/net/ |
D | NetworkStackClient.java | 18 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK;
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 42 import android.net.NetworkStack; 3027 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK 3050 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK 3074 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK 3095 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 30 import static android.net.NetworkStack.checkNetworkStackPermission; 99 import android.net.NetworkStack; 1205 NetworkStack.checkNetworkStackPermission(mContext); 1945 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in registerNetworkStatsProvider()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 43 import android.net.NetworkStack; 676 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, MANAGED_PROFILE_UID)) in testEnforceCanAccessScanResults_LocationModeDisabledHasMainlineNetworkStack()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 96 import android.net.NetworkStack; 1303 eq(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK), any()); in testStartSoftApWithoutPermissionThrowsException() 1323 eq(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK), any()); in testStartSoftApWithoutNetworkStackWithMainlineNetworkStackSucceeds() 1496 eq(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK), any()); in testStartTetheredHotspotWithoutPermissionThrowsException() 1514 eq(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK), any()); in testStartTetheredHotspotWithoutNetworkStackWithMainlineNetworkStackSucceeds() 1552 eq(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK), any()); in testStopSoftApWithoutPermissionThrowsException() 2457 when(mContext.checkCallingOrSelfPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK)) in registerSoftApCallbackThrowsSecurityExceptionOnMissingPermissions() 2486 when(mContext.checkCallingOrSelfPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK)) in unregisterSoftApCallbackThrowsSecurityExceptionOnMissingPermissions()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 51 import android.net.NetworkStack; 673 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkStackOrSettingsPermission() 685 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, "WifiService"); in enforceNetworkStackPermission()
|
/frameworks/base/wifi/api/ |
D | system-current.txt | 476 …mission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAIN… 478 …mission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAIN… 482 …mission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAIN…
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 175 import android.net.NetworkStack; 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() 6933 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, PERMISSION_DENIED); in setupConnectionOwnerUidAsVpnApp() 6993 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, PERMISSION_GRANTED); in testGetConnectionOwnerUidVpnServiceMainlineNetworkStackDoesNotThrow()
|