Searched refs:mWifiPermissionsWrapper (Results 1 – 8 of 8) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 45 private final WifiPermissionsWrapper mWifiPermissionsWrapper; field in WifiPermissionsUtil 56 mWifiPermissionsWrapper = wifiPermissionsWrapper; in WifiPermissionsUtil() 71 int permission = mWifiPermissionsWrapper.getOverrideWifiConfigPermission(uid); in checkConfigOverridePermission() 87 int permission = mWifiPermissionsWrapper.getChangeWifiConfigPermission(uid); in checkChangePermission() 103 int permission = mWifiPermissionsWrapper.getAccessWifiStatePermission(uid); in checkWifiAccessPermission() 164 if (mWifiPermissionsWrapper.getUidPermission(permissionType, uid) in checkCallersLocationPermission() 203 if (mWifiPermissionsWrapper.getUidPermission( in checkCallersFineLocationPermission() 227 return mWifiPermissionsWrapper.getUidPermission(Manifest.permission.LOCATION_HARDWARE, uid) in checkCallersHardwareLocationPermission() 374 return mWifiPermissionsWrapper.getUidPermission( in checkCallerHasPeersMacAddressPermission() 391 return mWifiPermissionsWrapper.getUidPermission( in checkInteractAcrossUsersFull() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 142 @Mock WifiPermissionsWrapper mWifiPermissionsWrapper; field in WifiP2pServiceImplTest 2769 when(mWifiInjector.getWifiPermissionsWrapper()).thenReturn(mWifiPermissionsWrapper); in testSetWfdInfoSuccessWithWfdEnabled() 2770 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoSuccessWithWfdEnabled() 2777 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoSuccessWithWfdEnabled() 2798 when(mWifiInjector.getWifiPermissionsWrapper()).thenReturn(mWifiPermissionsWrapper); in testSetWfdInfoSuccessWithWfdDisabled() 2799 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoSuccessWithWfdDisabled() 2805 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoSuccessWithWfdDisabled() 2824 when(mWifiInjector.getWifiPermissionsWrapper()).thenReturn(mWifiPermissionsWrapper); in testSetWfdInfoFailureWhenWfdPermissionDenied() 2825 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoFailureWhenWfdPermissionDenied() 2829 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoFailureWhenWfdPermissionDenied() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 135 private final WifiPermissionsWrapper mWifiPermissionsWrapper; field in WifiInjector 182 mWifiPermissionsWrapper = new WifiPermissionsWrapper(mContext); in WifiInjector() 187 mWifiPermissionsUtil = new WifiPermissionsUtil(mWifiPermissionsWrapper, mContext, in WifiInjector() 257 mWifiPermissionsWrapper, this, new NetworkListSharedStoreData(mContext), in WifiInjector() 686 return mWifiPermissionsWrapper; in getWifiPermissionsWrapper()
|
D | WifiConfigManager.java | 276 private final WifiPermissionsWrapper mWifiPermissionsWrapper; field in WifiConfigManager 408 mWifiPermissionsWrapper = wifiPermissionsWrapper; in WifiConfigManager() 879 mWifiPermissionsWrapper.getDevicePolicyManagerInternal(); in canModifyNetwork() 3338 mWifiPermissionsWrapper.getDevicePolicyManagerInternal(); in canModifyProxySettings()
|
D | ClientModeImpl.java | 176 private final WifiPermissionsWrapper mWifiPermissionsWrapper; field in ClientModeImpl 820 mWifiPermissionsWrapper = mWifiInjector.getWifiPermissionsWrapper(); in ClientModeImpl()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 382 @Mock WifiPermissionsWrapper mWifiPermissionsWrapper; field in ClientModeImplTest 439 when(mWifiInjector.getWifiPermissionsWrapper()).thenReturn(mWifiPermissionsWrapper); in setUp() 502 when(mWifiPermissionsWrapper.getLocalMacAddressPermission(anyInt())) in setUp()
|
D | WifiServiceImplTest.java | 238 @Mock WifiPermissionsWrapper mWifiPermissionsWrapper; field in WifiServiceImplTest 372 when(mWifiPermissionsWrapper.getDevicePolicyManagerInternal()) in setUp() 382 when(mWifiInjector.getWifiPermissionsWrapper()).thenReturn(mWifiPermissionsWrapper); in setUp()
|
D | WifiConfigManagerTest.java | 131 @Mock private WifiPermissionsWrapper mWifiPermissionsWrapper; field in WifiConfigManagerTest 222 when(mWifiPermissionsWrapper.getDevicePolicyManagerInternal()) in setUp() 4660 mWifiPermissionsUtil, mWifiPermissionsWrapper, mWifiInjector, in createWifiConfigManager()
|