Searched refs:checkConfigOverridePermission (Results 1 – 12 of 12) sorted by relevance
218 && !mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in enableInstantCommunicationMode()242 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in setAwareParams()335 if (forOffloading && !mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in connect()445 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in setMasterPreference()473 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in getMasterPreference()
341 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in setUp()785 when(mWifiPermissionsUtil.checkConfigOverridePermission(eq(systemAppUid))) in testMultipleNetworksSystemAppBackupRestore()787 when(mWifiPermissionsUtil.checkConfigOverridePermission(eq(nonSystemAppUid))) in testMultipleNetworksSystemAppBackupRestore()
1788 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(false); in testSetWifiApConfigurationNotSavedWithoutPermission()1801 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testSetWifiApConfigurationSuccess()1816 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testSetWifiApConfigurationNullConfigNotSaved()1826 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testSetWifiApConfigurationWithInvalidConfigNotSaved()1863 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testSetSoftApConfigurationSuccessWithOverridePermission()1869 verify(mWifiPermissionsUtil).checkConfigOverridePermission(anyInt()); in testSetSoftApConfigurationSuccessWithOverridePermission()1877 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testSetSoftApConfigurationNullConfigNotSaved()1881 verify(mWifiPermissionsUtil).checkConfigOverridePermission(anyInt()); in testSetSoftApConfigurationNullConfigNotSaved()1889 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testSetSoftApConfigurationWithInvalidConfigNotSaved()1893 verify(mWifiPermissionsUtil).checkConfigOverridePermission(anyInt()); in testSetSoftApConfigurationWithInvalidConfigNotSaved()[all …]
886 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testOverrideWifiConfigModifyAllNetworks()894 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testAddNetworkDoNotOverrideExistingNetwork()
1018 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in attachOffload()1033 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(false); in attachOffloadWithoutPermission()
1080 || mWifiPermissionsUtil.checkConfigOverridePermission(uid); in canModifyNetwork()1090 || mWifiPermissionsUtil.checkConfigOverridePermission(uid)); in canModifyNetwork()1505 && !mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in addOrUpdateNetworkInternal()1518 && !mWifiPermissionsUtil.checkConfigOverridePermission(uid) in addOrUpdateNetworkInternal()3928 || mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in canModifyProxySettings()
218 if (!mWifiPermissionsUtil.checkConfigOverridePermission(configuration.creatorUid)) { in writeNetworkConfigurationsToXml()
2649 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid) in registerSoftApCallback()2681 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid) in unregisterSoftApCallback()2931 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in getWifiApConfiguration()2956 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid) in getSoftApConfiguration()3007 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in setWifiApConfiguration()3038 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid) in setSoftApConfiguration()
181 assertTrue(codeUnderTest.checkConfigOverridePermission(mUid)); in testCheckConfigOverridePermissionApproved()196 assertFalse(codeUnderTest.checkConfigOverridePermission(mUid)); in testCheckConfigOverridePermissionDenied()
155 public boolean checkConfigOverridePermission(int uid) { in checkConfigOverridePermission() method in WifiPermissionsUtil
1459 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in setUpWifiP2pServiceImpl()3030 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(false); in testDeletePersistentGroupFailureWhenNoPermissions()4595 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(false); in testSetChannelFailureWhenNoPermissions()5019 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(false); in testSetDeviceNameFailureWhenNoPermissions()6958 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())) in verifySetVendorElement()
2575 if (!mWifiPermissionsUtil.checkConfigOverridePermission( in processMessageImpl()7848 || mWifiPermissionsUtil.checkConfigOverridePermission(uid); in checkNetworkSettingsOrNetworkStackOrOverrideWifiConfigPermission()