Searched refs:enforceCanAccessScanResults (Results 1 – 6 of 6) sorted by relevance
220 codeUnderTest.enforceCanAccessScanResults(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid, null); in testCanReadPeersMacAddressCurrentUserAndAllPermissions()243 codeUnderTest.enforceCanAccessScanResults(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid, null); in testCanReadPeersMacAddressCurrentProfileAndAllPermissions()261 codeUnderTest.enforceCanAccessScanResults(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid, in testCannotAccessScanResult_AppNotAllowed()290 codeUnderTest.enforceCanAccessScanResults(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid, null); in testenforceCanAccessScanResults_UserOrProfileNotCurrent()312 codeUnderTest.enforceCanAccessScanResults(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid, in testCannotAccessScanResults_NoInteractAcrossUsersFullPermission()338 codeUnderTest.enforceCanAccessScanResults(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid, in testLegacyForegroundAppWithOtherPermissionsDenied()366 codeUnderTest.enforceCanAccessScanResults(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid, null); in testLegacyAppHasLocationAndAllPermissions()388 codeUnderTest.enforceCanAccessScanResults(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid, in testCannotAccessScanResults_NoCoarseLocationPermission()418 codeUnderTest.enforceCanAccessScanResults(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid, in testCannotAccessScanResults_LocationModeDisabled()452 codeUnderTest.enforceCanAccessScanResults(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid, in testEnforceCannotAccessScanResults_LocationModeDisabledHasChangeWifiState()[all …]
1463 mInorder.verify(mWifiPermissionsUtil).enforceCanAccessScanResults(eq(TEST_PACKAGE_1), in testOnNetworkConnectionSuccessWithOneMatch()1503 mInorder.verify(mWifiPermissionsUtil).enforceCanAccessScanResults(eq(TEST_PACKAGE_1), in testOnNetworkConnectionSuccessWithOneMatchFromCarrierPrivilegedApp()1561 mInorder.verify(mWifiPermissionsUtil).enforceCanAccessScanResults(eq(TEST_PACKAGE_1), in testOnSavedOpenNetworkConnectionSuccessWithMultipleMatch()1605 mInorder.verify(mWifiPermissionsUtil, never()).enforceCanAccessScanResults( in testOnNetworkConnectionFailureWithOneMatchButCallbackOnBinderDied()1649 mInorder.verify(mWifiPermissionsUtil).enforceCanAccessScanResults(eq(TEST_PACKAGE_1), in testOnNetworkConnectionFailureWithOneMatch()1712 mInorder.verify(mWifiPermissionsUtil).enforceCanAccessScanResults( in testOnNetworkConnectionSuccessWithMultipleMatch()1774 mInorder.verify(mWifiPermissionsUtil).enforceCanAccessScanResults( in testOnNetworkConnectionSuccessWithBssidMultipleMatch()1838 mInorder.verify(mWifiPermissionsUtil).enforceCanAccessScanResults( in testOnNetworkConnectionSuccessWithBssidAndWithoutBssidMultipleMatch()1887 mInorder.verify(mWifiPermissionsUtil, never()).enforceCanAccessScanResults( in testOnNetworkConnectionWhenAppNotApproved()1929 mInorder.verify(mWifiPermissionsUtil, never()).enforceCanAccessScanResults( in testOnNetworkConnectionWhenIsAppInteractionRequiredNotSet()[all …]
2958 .enforceCanAccessScanResults(SCAN_PACKAGE_NAME, TEST_FEATURE_ID, Process.myUid(), in testStartScanFailureInCanAccessScanResultsPermission()3021 doThrow(new SecurityException()).when(mWifiPermissionsUtil).enforceCanAccessScanResults( in testConnectedIdsAreHiddenFromAppWithoutPermission()3052 doThrow(new SecurityException()).when(mWifiPermissionsUtil).enforceCanAccessScanResults( in testConnectedIdsAreHiddenOnSecurityException()3221 doThrow(new SecurityException()).when(mWifiPermissionsUtil).enforceCanAccessScanResults( in testConfiguredNetworkListAreEmptyOnSecurityException()3278 doThrow(new SecurityException()).when(mWifiPermissionsUtil).enforceCanAccessScanResults( in testGetCallerConfiguredNetworks_ReturnsCallerNetworks()3366 doThrow(new SecurityException()).when(mWifiPermissionsUtil).enforceCanAccessScanResults( in testPrivilegedConfiguredNetworkListAreEmptyOnSecurityException()10313 .enforceCanAccessScanResults(any(), any(), anyInt(), any()); in testGetPrivilegedConnectedNetworkNoPermission()10333 verify(mWifiPermissionsUtil).enforceCanAccessScanResults(any(), any(), anyInt(), any()); in testGetPrivilegedConnectedNetworkNotConnected()10358 verify(mWifiPermissionsUtil).enforceCanAccessScanResults(any(), any(), anyInt(), any()); in testGetPrivilegedConnectedNetworkSuccess()
944 mWifiPermissionsUtil.enforceCanAccessScanResults(packageName, featureId, callingUid, in startScan()3274 mWifiPermissionsUtil.enforceCanAccessScanResults(packageName, featureId, in getConfiguredNetworks()3354 mWifiPermissionsUtil.enforceCanAccessScanResults(packageName, featureId, callingUid, in getPrivilegedConfiguredNetworks()3396 mWifiPermissionsUtil.enforceCanAccessScanResults(packageName, featureId, callingUid, in getPrivilegedConnectedNetwork()4542 mWifiPermissionsUtil.enforceCanAccessScanResults(callingPackage, callingFeatureId, in getConnectionInfo()4592 mWifiPermissionsUtil.enforceCanAccessScanResults(callingPackage, callingFeatureId, in getScanResults()4673 mWifiPermissionsUtil.enforceCanAccessScanResults(callingPackage, callingFeatureId, in getMatchingScanResults()
2091 mWifiPermissionsUtil.enforceCanAccessScanResults( in sendPostConnectionBroadcastIfAllowed()2273 mWifiPermissionsUtil.enforceCanAccessScanResults( in sendConnectionFailureIfAllowed()
566 public void enforceCanAccessScanResults(String pkgName, @Nullable String featureId, int uid, in enforceCanAccessScanResults() method in WifiPermissionsUtil