Home
last modified time | relevance | path

Searched refs:mSecurityController (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSSecurityFooterTest.java101 private SecurityController mSecurityController; field in QSSecurityFooterTest
128 when(mSecurityController.getDeviceOwnerComponentOnAnyUser()) in setUp()
178 when(mSecurityController.getDeviceOwnerOrganizationName()) in testManagedOwnerName()
192 when(mSecurityController.getDeviceOwnerOrganizationName()) in testManagedFinancedDeviceWithOwnerName()
264 when(mSecurityController.getDeviceOwnerOrganizationName()) in testNetworkLoggingEnabled_deviceOwner()
310 when(mSecurityController.isVpnEnabled()).thenReturn(true); in testManagedOneVpnEnabled()
321 when(mSecurityController.getDeviceOwnerOrganizationName()) in testManagedOneVpnEnabled()
334 when(mSecurityController.isVpnEnabled()).thenReturn(true); in testManagedTwoVpnsEnabled()
345 when(mSecurityController.getDeviceOwnerOrganizationName()) in testManagedTwoVpnsEnabled()
358 when(mSecurityController.isVpnEnabled()).thenReturn(true); in testNetworkLoggingAndVpnEnabled()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DSecurityControllerTest.java79 private SecurityControllerImpl mSecurityController; field in SecurityControllerTest
110 mSecurityController = new SecurityControllerImpl( in setUp()
131 assertTrue(mSecurityController.isDeviceManaged()); in testIsDeviceManaged()
134 assertFalse(mSecurityController.isDeviceManaged()); in testIsDeviceManaged()
162 assertFalse(mSecurityController.hasCACertInCurrentUser()); in testWorkAccount()
171 assertTrue(mSecurityController.hasWorkProfile()); in testWorkAccount()
172 assertFalse(mSecurityController.hasCACertInWorkProfile()); in testWorkAccount()
180 assertTrue(mSecurityController.hasCACertInWorkProfile()); in testWorkAccount()
185 assertFalse(mSecurityController.hasCACertInCurrentUser()); in testCaCertLoader()
194 assertTrue(mSecurityController.hasCACertInCurrentUser()); in testCaCertLoader()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSSecurityFooterUtils.java110 private final SecurityController mSecurityController; field in QSSecurityFooterUtils
189 mSecurityController = securityController; in QSSecurityFooterUtils()
479 if (mSecurityController.isParentalControlsEnabled()) { in createDialogView()
489 mSecurityController.getDeviceOwnerOrganizationName(); in createOrganizationDialogView()
493 final String vpnName = mSecurityController.getPrimaryVpnName(); in createOrganizationDialogView()
587 DeviceAdminInfo info = mSecurityController.getDeviceAdminInfo(); in createParentalControlsDialogView()
588 Drawable icon = mSecurityController.getIcon(info); in createParentalControlsDialogView()
648 if (mSecurityController.isParentalControlsEnabled()) { in getNegativeButton()
801 return mSecurityController.isFinancedDevice(); in isFinancedDevice()
803 return mSecurityController.isDeviceManaged() in isFinancedDevice()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarSignalPolicy.java59 private final SecurityController mSecurityController; field in StatusBarSignalPolicy
89 mSecurityController = securityController; in StatusBarSignalPolicy()
110 mSecurityController.addCallback(this); in init()
116 mSecurityController.removeCallback(this); in destroy()
120 boolean vpnVisible = mSecurityController.isVpnEnabled(); in updateVpn()
121 int vpnIconId = currentVpnIconId(mSecurityController.isVpnBranded()); in updateVpn()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDependency.java262 @Inject Lazy<SecurityController> mSecurityController; field in Dependency
417 mProviders.put(SecurityController.class, mSecurityController::get); in start()