/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() 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() [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 | 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/packages/Tethering/ |
D | OWNERS | 1 include platform/packages/modules/NetworkStack/:/OWNERS
|
/frameworks/libs/net/common/tests/unit/ |
D | Android.bp | 22 "//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; 369 while ((connector = NetworkStack.getService()) == null) { in makeTetheringDependencies()
|
/frameworks/base/core/proto/android/server/connectivity/ |
D | Android.bp | 24 // this is part of updatable modules(NetworkStack) which targets 29(Q)
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStatsManager.java | 32 import android.net.NetworkStack; 544 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) 570 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK})
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | IpConnectivityMetrics.java | 23 import android.net.NetworkStack; 280 NetworkStack.checkNetworkStackPermission(getContext()); in logEvent()
|
D | PermissionMonitor.java | 32 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 25 import android.net.NetworkStack; 485 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, uid) in checkMainlineNetworkStackPermission()
|
/frameworks/base/tests/net/integration/ |
D | Android.bp | 45 // android_library does not include JNI libs: include NetworkStack dependencies here
|
/frameworks/libs/net/common/ |
D | Android.bp | 51 "//packages/modules/NetworkStack", 128 "//packages/modules/NetworkStack:__subpackages__",
|
/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 | 41 import android.net.NetworkStack; 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/util/ |
D | WifiPermissionsUtilTest.java | 40 import android.net.NetworkStack; 685 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, MANAGED_PROFILE_UID)) in testEnforceCanAccessScanResults_LocationModeDisabledHasMainlineNetworkStack()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 31 import static android.net.NetworkStack.checkNetworkStackPermission; 100 import android.net.NetworkStack; 1233 NetworkStack.checkNetworkStackPermission(mContext); 1973 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 89 import android.net.NetworkStack; 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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 61 import android.net.NetworkStack; 804 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkStackOrSettingsPermission() 816 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, "WifiService"); in enforceNetworkStackPermission()
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 5915 * packages/modules/NetworkStack/src/com/android/server/connectivity/NetworkMonitor.java 5934 * packages/modules/NetworkStack/src/com/android/server/connectivity/NetworkMonitor.java 5953 * packages/modules/NetworkStack/src/com/android/server/connectivity/NetworkMonitor.java 5963 * packages/modules/NetworkStack/src/android/net/dhcp/DhcpClient.java 5990 …* packages/modules/NetworkStack/src/com/android/networkstack/metrics/NetworkIpProvisioningMetrics.… 6018 * packages/modules/NetworkStack/src/android/net/dhcp/DhcpClient.java 6043 * packages/modules/NetworkStack/src/com/android/server/connectivity/NetworkMonitor.java 6066 * Logs NetworkStack Quirk event 6068 * packages/modules/NetworkStack/src/com/android/networkstack/ 6082 * packages/modules/NetworkStack/src/com/android/server/connectivity/NetworkMonitor.java [all …]
|