Home
last modified time | relevance | path

Searched refs:checkNetworkStackPermission (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java320 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()
841 NetworkStack.checkNetworkStackPermission(mContext); in setInterfaceDown()
849 NetworkStack.checkNetworkStackPermission(mContext); in setInterfaceUp()
857 NetworkStack.checkNetworkStackPermission(mContext); in setInterfaceIpv6PrivacyExtensions()
869 NetworkStack.checkNetworkStackPermission(mContext); in clearInterfaceAddresses()
879 NetworkStack.checkNetworkStackPermission(mContext); in enableIpv6()
[all …]
DConnectivityService.java1426 NetworkStack.checkNetworkStackPermission(mContext); in getActiveNetworkForUid()
1468 NetworkStack.checkNetworkStackPermission(mContext); in getActiveNetworkInfoForUid()
1766 NetworkStack.checkNetworkStackPermission(mContext); in getAllNetworkState()
2161 private boolean checkNetworkStackPermission() { in checkNetworkStackPermission() method in ConnectivityService
2167 private boolean checkNetworkStackPermission(int pid, int uid) { in checkNetworkStackPermission() method in ConnectivityService
2200 NetworkStack.checkNetworkStackPermission(mContext); in sendConnectedBroadcast()
3847 checkNetworkStackPermission(); in appRequest()
3880 if (!checkNetworkStackPermission()) { in shouldAvoidBadWifi()
4413 NetworkStack.checkNetworkStackPermission(mContext); in setGlobalProxy()
5494 if (legacyType != TYPE_NONE && !checkNetworkStackPermission()) { in requestNetwork()
[all …]
DNsdService.java566 NetworkStack.checkNetworkStackPermission(mContext); in setEnabled()
/frameworks/base/tests/net/common/java/android/net/
DNetworkStackTest.java22 import static android.net.NetworkStack.checkNetworkStackPermission;
66 checkNetworkStackPermission(mCtx); in testCheckNetworkStackPermission()
72 checkNetworkStackPermission(mCtx); in testCheckNetworkStackPermission()
/frameworks/base/core/java/android/net/
DNetworkStack.java86 public static void checkNetworkStackPermission(final @NonNull Context context) { in checkNetworkStackPermission() method in NetworkStack
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java244 || checkNetworkStackPermission(uid) || checkMainlineNetworkStackPermission(uid)) { in enforceCanAccessScanResults()
474 public boolean checkNetworkStackPermission(int uid) { in checkNetworkStackPermission() method in WifiPermissionsUtil
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetServiceImpl.java117 NetworkStack.checkNetworkStackPermission(mContext); in setConfiguration()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityMetrics.java280 NetworkStack.checkNetworkStackPermission(getContext()); in logEvent()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java31 import static android.net.NetworkStack.checkNetworkStackPermission;
975 checkNetworkStackPermission(mContext);
1233 NetworkStack.checkNetworkStackPermission(mContext);
DNetworkPolicyManagerService.java1133 NetworkStack.checkNetworkStackPermission(mContext);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java3240 when(mWifiPermissionsUtil.checkNetworkStackPermission(anyInt())).thenReturn(true); in testSetOngingPeerConfigSuccess()
3258 when(mWifiPermissionsUtil.checkNetworkStackPermission(anyInt())).thenReturn(false); in testSetOngingPeerConfigFailureWithoutPermission()
3275 when(mWifiPermissionsUtil.checkNetworkStackPermission(anyInt())).thenReturn(true); in testSetOngoingPeerConfigFailureWithInvalidPeerConfig()
3291 when(mWifiPermissionsUtil.checkNetworkStackPermission(anyInt())).thenReturn(true); in testRequestOngoingPeerConfigSuccess()
3309 when(mWifiPermissionsUtil.checkNetworkStackPermission(anyInt())).thenReturn(false); in testRequestOngoingPeerConfigFailureWithoutPermission()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java728 private boolean checkNetworkStackPermission(int pid, int uid) { in checkNetworkStackPermission() method in WifiServiceImpl
743 || checkNetworkStackPermission(pid, uid) in isPrivileged()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1170 if (mWifiPermissionsUtil.checkNetworkStackPermission(message.sendingUid)) { in processMessage()
1190 if (mWifiPermissionsUtil.checkNetworkStackPermission(message.sendingUid)) { in processMessage()