Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java194 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in setUp()
620 when(mWifiPermissionsUtil.checkConfigOverridePermission(eq(systemAppUid))) in testMultipleNetworksSystemAppBackupRestore()
622 when(mWifiPermissionsUtil.checkConfigOverridePermission(eq(nonSystemAppUid))) in testMultipleNetworksSystemAppBackupRestore()
DWifiServiceImplTest.java994 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(false); in testSetWifiApConfigurationNotSavedWithoutPermission()
1007 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testSetWifiApConfigurationSuccess()
1021 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testSetWifiApConfigurationNullConfigNotSaved()
1031 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testSetWifiApConfigurationWithInvalidConfigNotSaved()
1044 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(false); in testGetWifiApConfigurationNotReturnedWithoutPermission()
1065 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testGetWifiApConfigurationSuccess()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java144 assertTrue(codeUnderTest.checkConfigOverridePermission(mUid)); in testCheckConfigOverridePermissionApproved()
158 assertFalse(codeUnderTest.checkConfigOverridePermission(mUid)); in testCheckConfigOverridePermissionDenied()
172 assertFalse(codeUnderTest.checkConfigOverridePermission(mUid)); in testCheckConfigOverridePermissionWithException()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java69 public boolean checkConfigOverridePermission(int uid) { in checkConfigOverridePermission() method in WifiPermissionsUtil
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupRestore.java190 if (!mWifiPermissionsUtil.checkConfigOverridePermission(configuration.creatorUid)) { in writeNetworkConfigurationsToXml()
DWifiServiceImpl.java1618 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in getWifiApConfiguration()
1651 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in setWifiApConfiguration()