Home
last modified time | relevance | path

Searched refs:NetworkStack (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java57 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 …]
DConnectivityService.java118 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 …]
DNsdService.java23 import android.net.NetworkStack;
566 NetworkStack.checkNetworkStackPermission(mContext); in setEnabled()
/frameworks/base/tests/net/common/java/android/net/
DNetworkStackTest.java21 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/
DEthernetServiceImpl.java25 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/
DNetworkStack.java37 public class NetworkStack { class
76 private NetworkStack() {} in NetworkStack() method in NetworkStack
DConnectivityManager.java3195 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,
DEthernetManager.java269 android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK
/frameworks/base/packages/Tethering/
DOWNERS1 include platform/packages/modules/NetworkStack/:/OWNERS
/frameworks/libs/net/common/tests/unit/
DAndroid.bp22 "//packages/modules/NetworkStack/tests/integration",
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringService.java23 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/
DAndroid.bp24 // this is part of updatable modules(NetworkStack) which targets 29(Q)
/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java32 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/
DIpConnectivityMetrics.java23 import android.net.NetworkStack;
280 NetworkStack.checkNetworkStackPermission(getContext()); in logEvent()
DPermissionMonitor.java32 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java25 import android.net.NetworkStack;
485 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, uid) in checkMainlineNetworkStackPermission()
/frameworks/base/tests/net/integration/
DAndroid.bp45 // android_library does not include JNI libs: include NetworkStack dependencies here
/frameworks/libs/net/common/
DAndroid.bp51 "//packages/modules/NetworkStack",
128 "//packages/modules/NetworkStack:__subpackages__",
/frameworks/base/services/net/java/android/net/
DNetworkStackClient.java18 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK;
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java41 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/
DWifiPermissionsUtilTest.java40 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/
DNetworkStatsService.java31 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/
DWifiServiceImplTest.java89 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/
DWifiServiceImpl.java61 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/
Datoms.proto5915 * 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 …]

12