Searched refs:checkNetworkStackPermission (Results 1 – 13 of 13) sorted by relevance
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()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 …]
1426 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 ConnectivityService2167 private boolean checkNetworkStackPermission(int pid, int uid) { in checkNetworkStackPermission() method in ConnectivityService2200 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 …]
566 NetworkStack.checkNetworkStackPermission(mContext); in setEnabled()
22 import static android.net.NetworkStack.checkNetworkStackPermission;66 checkNetworkStackPermission(mCtx); in testCheckNetworkStackPermission()72 checkNetworkStackPermission(mCtx); in testCheckNetworkStackPermission()
86 public static void checkNetworkStackPermission(final @NonNull Context context) { in checkNetworkStackPermission() method in NetworkStack
244 || checkNetworkStackPermission(uid) || checkMainlineNetworkStackPermission(uid)) { in enforceCanAccessScanResults()474 public boolean checkNetworkStackPermission(int uid) { in checkNetworkStackPermission() method in WifiPermissionsUtil
117 NetworkStack.checkNetworkStackPermission(mContext); in setConfiguration()
280 NetworkStack.checkNetworkStackPermission(getContext()); in logEvent()
31 import static android.net.NetworkStack.checkNetworkStackPermission;975 checkNetworkStackPermission(mContext);1233 NetworkStack.checkNetworkStackPermission(mContext);
1133 NetworkStack.checkNetworkStackPermission(mContext);
3240 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()
728 private boolean checkNetworkStackPermission(int pid, int uid) { in checkNetworkStackPermission() method in WifiServiceImpl743 || checkNetworkStackPermission(pid, uid) in isPrivileged()
1170 if (mWifiPermissionsUtil.checkNetworkStackPermission(message.sendingUid)) { in processMessage()1190 if (mWifiPermissionsUtil.checkNetworkStackPermission(message.sendingUid)) { in processMessage()