Home
last modified time | relevance | path

Searched refs:checkManageWifiNetworkSelectionPermission (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java343 mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid); in connect()
523 && !mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid)) { in publish()
550 && !mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid)) { in updatePublish()
587 && !mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid)) { in subscribe()
614 && !mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid)) { in updateSubscribe()
756 if (!mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid)) { in suspend()
779 if (!mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid)) { in resume()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java294 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testConnectWithManageNetworkSelectionPermission()
315 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testConnectWithManageNetworkSelectionPermission()
932 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testSuspendWithSuspensionNotSupported()
947 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testSuspendWithNoNetworkSelectionPermission()
963 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testSuspendWithValidConfiguration()
979 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testResumeWithSuspensionNotSupported()
992 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testResumeWithNoNetworkSelectionPermission()
1008 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testResumeWithValidConfiguration()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java3446 if (!mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid) in setNetworkSelectionConfig()
3477 if (!mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid) in getNetworkSelectionConfig()
3586 if (!mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid) in setScreenOnScanSchedule()
3609 if (!mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid) in setOneShotScreenOnConnectivityScanDelayMillis()
3662 hasPermission = mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid); in setSsidsAllowlist()
3685 hasPermission = mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid); in getSsidsAllowlist()
4241 && !mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(callingUid) in allowAutojoinGlobal()
4279 && !mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(callingUid) in queryAutojoinGlobal()
7117 hasPermission = mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(
8012 && !mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid)) {
[all …]
DWifiConfigManager.java1695 && !mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(uid)) { in addOrUpdateNetwork()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java2051 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testSetPnoScanEnabled()
8260 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testSetNetworkSelectionConfig()
8420 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testAllowAutojoinGlobalFailureNoPermission()
8431 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testAllowAutojoinGlobalWithPermission()
8440 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testAllowAutojoinGlobalWithPermission()
8449 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testAllowAutojoinGlobalWithPermission()
8463 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testAutoJoinGlobalWithAttributionSourceChain()
8556 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testSetSsidsDoNotBlocklist_WithPermissionAndroidT()
10413 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testSetScreenOnScanSchedule_NoPermission()
10421 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testSetScreenOnScanSchedule_BadInput1()
[all …]
DWifiConfigManagerTest.java323 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in setUp()
1305 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testAddNetworkWithVendorDataPermissionCheck()
1312 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testAddNetworkWithVendorDataPermissionCheck()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java821 public boolean checkManageWifiNetworkSelectionPermission(int uid) { in checkManageWifiNetworkSelectionPermission() method in WifiPermissionsUtil
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java7047 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in verifyAddExternalApprover()
7087 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in verifyRemoveExternalApprover()
7143 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in verifySetConnectionRequestResult()
7202 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in verifyMultiApproverMatch()
7301 when(mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission(anyInt())) in testSetConnectionRequestResultFailureWithoutSavedPeerConfig()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java7627 if (!mWifiPermissionsUtil.checkManageWifiNetworkSelectionPermission( in checkExternalApproverCaller()