Home
last modified time | relevance | path

Searched refs:checkNearbyDevicesPermission (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java1467 when(mWifiPermissionsUtil.checkNearbyDevicesPermission(any(), anyBoolean(), any())) in setUpWifiP2pServiceImpl()
1880 when(mWifiPermissionsUtil.checkNearbyDevicesPermission(any(), anyBoolean(), any())) in testAddLocalServiceFailureWhenCallerPermissionDenied()
1890 verify(mWifiPermissionsUtil, atLeastOnce()).checkNearbyDevicesPermission( in testAddLocalServiceFailureWhenCallerPermissionDenied()
1906 verify(mWifiPermissionsUtil, atLeastOnce()).checkNearbyDevicesPermission( in verifyAddLocalService()
1939 verify(mWifiPermissionsUtil, atLeastOnce()).checkNearbyDevicesPermission( in testAddLocalServiceFailureWhenNativeCallFailure()
1989 when(mWifiPermissionsUtil.checkNearbyDevicesPermission(any(), anyBoolean(), any())) in testConnectWithConfigValidAsGroupFailureWhenPermissionDenied()
1999 verify(mWifiPermissionsUtil, atLeastOnce()).checkNearbyDevicesPermission( in testConnectWithConfigValidAsGroupFailureWhenPermissionDenied()
2020 verify(mWifiPermissionsUtil, atLeastOnce()).checkNearbyDevicesPermission( in testConnectWithConfigValidAsGroupSuccess()
2042 verify(mWifiPermissionsUtil, atLeastOnce()).checkNearbyDevicesPermission( in testConnectWithConfigValidAsGroupFailureWhenNativeCallFailure()
2096 when(mWifiPermissionsUtil.checkNearbyDevicesPermission(any(), anyBoolean(), any())) in testCreateGroupWithConfigValidAsGroupFailureWhenPermissionDenied()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java2242 hasPermission = checkNearbyDevicesPermission(uid, packageName, in processMessageImpl()
2273 && !checkNearbyDevicesPermission(message.sendingUid, packageName, in processMessageImpl()
2315 hasPermission = checkNearbyDevicesPermission(uid, packageName, in processMessageImpl()
2496 hasPermission = checkNearbyDevicesPermission(uid, packageName, in processMessageImpl()
2583 || !checkNearbyDevicesPermission(message, "SET_VENDOR_ELEMENTS")) { in processMessageImpl()
3189 hasPermission = checkNearbyDevicesPermission(uid, packageName, in processMessageImpl()
3258 hasPermission = checkNearbyDevicesPermission(uid, packageName, in processMessageImpl()
3326 hasPermission = checkNearbyDevicesPermission(uid, packageName, in processMessageImpl()
3437 hasPermission = checkNearbyDevicesPermission(uid, packageName, in processMessageImpl()
3599 hasPermission = checkNearbyDevicesPermission(uid, packageName, in processMessageImpl()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java376 when(mockPermissionUtil.checkNearbyDevicesPermission(any(), eq(true), any())) in testRangingFlowUsingAwarePeerHandles()
454 verify(mockPermissionUtil, never()).checkNearbyDevicesPermission(any(), anyBoolean(), in testRangingFlowUsingAwarePeerHandles()
470 when(mockPermissionUtil.checkNearbyDevicesPermission(any(), eq(true), any())) in testRangingOnlyAwareAps()
502 verify(mockPermissionUtil, times(2)).checkNearbyDevicesPermission( in testRangingOnlyAwareAps()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java1589 assertFalse(codeUnderTest.checkNearbyDevicesPermission(attributionSource, true, "")); in testEnforceNearbyDevicesPermission_RenounceLocationBypassLocationCheck()
1670 assertFalse(codeUnderTest.checkNearbyDevicesPermission(attributionSource, true, "")); in testEnforceNearbyDevicesPermission_LocationCheckWithoutDisavowPass()
1675 assertTrue(codeUnderTest.checkNearbyDevicesPermission(attributionSource, true, "")); in testEnforceNearbyDevicesPermission_LocationCheckWithoutDisavowPass()
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java563 if (!mWifiPermissionsUtil.checkNearbyDevicesPermission( in startRanging()
1250 permissionGranted = mWifiPermissionsUtil.checkNearbyDevicesPermission( in onRangingResults()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java178 public boolean checkNearbyDevicesPermission(AttributionSource attributionSource, in checkNearbyDevicesPermission() method in WifiPermissionsUtil