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.java882 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(false); in testSetWifiApConfigurationNotSavedWithoutPermission()
895 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testSetWifiApConfigurationSuccess()
909 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testSetWifiApConfigurationNullConfigNotSaved()
919 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(true); in testSetWifiApConfigurationWithInvalidConfigNotSaved()
932 when(mWifiPermissionsUtil.checkConfigOverridePermission(anyInt())).thenReturn(false); in testGetWifiApConfigurationNotReturnedWithoutPermission()
953 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.java1571 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in getWifiApConfiguration()
1604 if (!mWifiPermissionsUtil.checkConfigOverridePermission(uid)) { in setWifiApConfiguration()