Searched refs:checkNearbyDevicesPermission (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 1467 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/ |
D | WifiP2pServiceImpl.java | 2242 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/ |
D | RttServiceImplTest.java | 376 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/ |
D | WifiPermissionsUtilTest.java | 1589 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/ |
D | RttServiceImpl.java | 563 if (!mWifiPermissionsUtil.checkNearbyDevicesPermission( in startRanging() 1250 permissionGranted = mWifiPermissionsUtil.checkNearbyDevicesPermission( in onRangingResults()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 178 public boolean checkNearbyDevicesPermission(AttributionSource attributionSource, in checkNearbyDevicesPermission() method in WifiPermissionsUtil
|