Home
last modified time | relevance | path

Searched refs:getUidPermission (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java136 if (mWifiPermissionsWrapper.getUidPermission(permissionType, uid) in checkCallersLocationPermission()
183 if (mWifiPermissionsWrapper.getUidPermission( in checkCallersFineLocationPermission()
203 return mWifiPermissionsWrapper.getUidPermission(Manifest.permission.LOCATION_HARDWARE, uid) in checkCallersHardwareLocationPermission()
358 return mWifiPermissionsWrapper.getUidPermission( in checkCallerHasPeersMacAddressPermission()
375 return mWifiPermissionsWrapper.getUidPermission( in checkInteractAcrossUsersFull()
431 return mWifiPermissionsWrapper.getUidPermission( in checkNetworkSettingsPermission()
440 return mWifiPermissionsWrapper.getUidPermission( in checkScanWithoutLocationPermission()
449 return mWifiPermissionsWrapper.getUidPermission( in checkLocalMacAddressPermission()
458 return mWifiPermissionsWrapper.getUidPermission( in checkNetworkSetupWizardPermission()
467 return mWifiPermissionsWrapper.getUidPermission( in checkNetworkStackPermission()
[all …]
DWifiPermissionsWrapper.java45 public int getUidPermission(String permissionType, int uid) { in getUidPermission() method in WifiPermissionsWrapper
57 return getUidPermission(android.Manifest.permission.OVERRIDE_WIFI_CONFIG, uid); in getOverrideWifiConfigPermission()
67 return getUidPermission(Manifest.permission.LOCAL_MAC_ADDRESS, uid); in getLocalMacAddressPermission()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java473 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCannotAccessScanResults_LocationModeDisabledHasNoNetworkSettings()
510 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCanAccessScanResults_LocationModeDisabledHasNetworkSettings()
542 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCannotAccessScanResults_LocationModeDisabledHasNoNetworkSetupWizard()
579 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCanAccessScanResults_LocationModeDisabledHasNetworkSetupWizard()
611 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCanAccessScanResults_LocationModeDisabledHasNetworkManagedProvisioning()
643 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCanAccessScanResults_LocationModeDisabledHasNetworkStack()
675 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCanAccessScanResults_LocationModeDisabledHasMainlineNetworkStack()
781 when(mMockPermissionsWrapper.getUidPermission( in testCheckNetworkSetupWizard()
786 when(mMockPermissionsWrapper.getUidPermission( in testCheckNetworkSetupWizard()
801 when(mMockPermissionsWrapper.getUidPermission( in testCheckNetworkManagedProvisioning()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DLocationPermissionChecker.java187 if (getUidPermission(permissionType, uid) == PackageManager.PERMISSION_DENIED) { in checkCallersLocationPermission()
258 private int getUidPermission(String permissionType, int uid) { in getUidPermission() method in LocationPermissionChecker
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java2921 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoSuccessWithWfdEnabled()
2928 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoSuccessWithWfdEnabled()
2950 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoSuccessWithWfdDisabled()
2956 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoSuccessWithWfdDisabled()
2976 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoFailureWhenWfdPermissionDenied()
2980 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoFailureWhenWfdPermissionDenied()
2999 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoFailureWhenWfdInfoIsNull()
3003 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoFailureWhenWfdInfoIsNull()
3024 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure1()
3030 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure1()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1345 when(mPermissionsWrapperMock.getUidPermission( in testDataPathInitiatorUtilityMore()
1519 when(mPermissionsWrapperMock.getUidPermission( in testDataPathResponderUtility()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java715 return wifiPermissionsWrapper.getUidPermission( in getWfdPermission()