Searched refs:mWifiPermissionsWrapper (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 80 private final WifiPermissionsWrapper mWifiPermissionsWrapper; field in WifiPermissionsUtil 95 mWifiPermissionsWrapper = wifiPermissionsWrapper; in WifiPermissionsUtil() 156 return mWifiPermissionsWrapper.getOverrideWifiConfigPermission(uid) in checkConfigOverridePermission() 255 && mWifiPermissionsWrapper.getUidPermission(RENOUNCE_PERMISSIONS, curUid) in enforceNearbyDevicesPermission() 388 return mWifiPermissionsWrapper.getUidPermission(permissionType, uid) in checkCallersLocationPermissionInManifest() 414 if (mWifiPermissionsWrapper.getUidPermission(permissionType, uid) in checkCallersLocationPermission() 482 if (mWifiPermissionsWrapper.getUidPermission( in checkCallersFineLocationPermission() 529 if (mWifiPermissionsWrapper.getUidPermission(ACCESS_COARSE_LOCATION, uid) in checkCallersCoarseLocationPermission() 553 return mWifiPermissionsWrapper.getUidPermission(Manifest.permission.LOCATION_HARDWARE, uid) in checkCallersHardwareLocationPermission() 618 uid, mWifiPermissionsWrapper.getCurrentUser()); in enforceCanAccessScanResults() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 273 @Mock WifiPermissionsWrapper mWifiPermissionsWrapper; field in WifiP2pServiceImplTest 5054 when(mWifiInjector.getWifiPermissionsWrapper()).thenReturn(mWifiPermissionsWrapper); in testSetWfdInfoSuccessWithWfdEnabled() 5055 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoSuccessWithWfdEnabled() 5062 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoSuccessWithWfdEnabled() 5083 when(mWifiInjector.getWifiPermissionsWrapper()).thenReturn(mWifiPermissionsWrapper); in testSetWfdInfoSuccessWithWfdDisabled() 5084 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoSuccessWithWfdDisabled() 5090 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoSuccessWithWfdDisabled() 5109 when(mWifiInjector.getWifiPermissionsWrapper()).thenReturn(mWifiPermissionsWrapper); in testSetWfdInfoFailureWhenWfdPermissionDenied() 5110 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoFailureWhenWfdPermissionDenied() 5114 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoFailureWhenWfdPermissionDenied() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 206 private final WifiPermissionsWrapper mWifiPermissionsWrapper; field in WifiInjector 320 mWifiPermissionsWrapper = new WifiPermissionsWrapper(mContext); in WifiInjector() 322 mWifiPermissionsUtil = new WifiPermissionsUtil(mWifiPermissionsWrapper, mContext, in WifiInjector() 1000 return mWifiPermissionsWrapper; in getWifiPermissionsWrapper()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 415 @Mock WifiPermissionsWrapper mWifiPermissionsWrapper; field in WifiServiceImplTest 599 when(mWifiInjector.getWifiPermissionsWrapper()).thenReturn(mWifiPermissionsWrapper); in setUp()
|