Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java164 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()
448 return mWifiPermissionsWrapper.getUidPermission( in checkNetworkSettingsPermission()
457 return mWifiPermissionsWrapper.getUidPermission( in checkLocalMacAddressPermission()
466 return mWifiPermissionsWrapper.getUidPermission( in checkNetworkSetupWizardPermission()
475 return mWifiPermissionsWrapper.getUidPermission( in checkNetworkStackPermission()
484 return mWifiPermissionsWrapper.getUidPermission( in checkMainlineNetworkStackPermission()
[all …]
DWifiPermissionsWrapper.java77 public int getUidPermission(String permissionType, int uid) { in getUidPermission() method in WifiPermissionsWrapper
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java484 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCannotAccessScanResults_LocationModeDisabledHasNoNetworkSettings()
520 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCanAccessScanResults_LocationModeDisabledHasNetworkSettings()
552 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCannotAccessScanResults_LocationModeDisabledHasNoNetworkSetupWizard()
588 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCanAccessScanResults_LocationModeDisabledHasNetworkSetupWizard()
620 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCanAccessScanResults_LocationModeDisabledHasNetworkManagedProvisioning()
652 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCanAccessScanResults_LocationModeDisabledHasNetworkStack()
684 when(mMockPermissionsWrapper.getUidPermission( in testEnforceCanAccessScanResults_LocationModeDisabledHasMainlineNetworkStack()
790 when(mMockPermissionsWrapper.getUidPermission( in testCheckNetworkSetupWizard()
795 when(mMockPermissionsWrapper.getUidPermission( in testCheckNetworkSetupWizard()
810 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()
257 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.java2770 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoSuccessWithWfdEnabled()
2777 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoSuccessWithWfdEnabled()
2799 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoSuccessWithWfdDisabled()
2805 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoSuccessWithWfdDisabled()
2825 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoFailureWhenWfdPermissionDenied()
2829 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoFailureWhenWfdPermissionDenied()
2848 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoFailureWhenWfdInfoIsNull()
2852 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoFailureWhenWfdInfoIsNull()
2873 when(mWifiPermissionsWrapper.getUidPermission(anyString(), anyInt())) in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure1()
2879 verify(mWifiPermissionsWrapper).getUidPermission( in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure1()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java182 when(mPermissionsWrapperMock.getUidPermission(eq(Manifest.permission.NETWORK_STACK), in setUp()
291 when(mPermissionsWrapperMock.getUidPermission(eq(Manifest.permission.NETWORK_STACK), in testDataPathPmkWithoutPermission()
1321 when(mPermissionsWrapperMock.getUidPermission( in testDataPathInitiatorUtilityMore()
1483 when(mPermissionsWrapperMock.getUidPermission( in testDataPathResponderUtility()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1366 if (permissionWrapper.getUidPermission(Manifest.permission.NETWORK_STACK, in processNetworkSpecifier()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java709 return wifiPermissionsWrapper.getUidPermission( in getWfdPermission()