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.java163 if (mWifiPermissionsWrapper.getUidPermission(permissionType, uid) in checkCallersLocationPermission()
202 if (mWifiPermissionsWrapper.getUidPermission( in checkCallersFineLocationPermission()
226 return mWifiPermissionsWrapper.getUidPermission(Manifest.permission.LOCATION_HARDWARE, uid) in checkCallersHardwareLocationPermission()
373 return mWifiPermissionsWrapper.getUidPermission( in checkCallerHasPeersMacAddressPermission()
390 return mWifiPermissionsWrapper.getUidPermission( in checkInteractAcrossUsersFull()
447 return mWifiPermissionsWrapper.getUidPermission( in checkNetworkSettingsPermission()
456 return mWifiPermissionsWrapper.getUidPermission( in checkLocalMacAddressPermission()
465 return mWifiPermissionsWrapper.getUidPermission( in checkNetworkSetupWizardPermission()
474 return mWifiPermissionsWrapper.getUidPermission( in checkNetworkStackPermission()
483 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/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.java181 when(mPermissionsWrapperMock.getUidPermission(eq(Manifest.permission.CONNECTIVITY_INTERNAL), in setUp()
290 when(mPermissionsWrapperMock.getUidPermission(eq(Manifest.permission.CONNECTIVITY_INTERNAL), in testDataPathPmkWithoutPermission()
1317 when(mPermissionsWrapperMock.getUidPermission( in testDataPathInitiatorUtilityMore()
1479 when(mPermissionsWrapperMock.getUidPermission( in testDataPathResponderUtility()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1372 if (permissionWrapper.getUidPermission(Manifest.permission.CONNECTIVITY_INTERNAL, in processNetworkSpecifier()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java690 return wifiPermissionsWrapper.getUidPermission( in getWfdPermission()