Searched refs:mSecurityController (Results 1 – 5 of 5) sorted by relevance
101 private SecurityController mSecurityController; field in QSSecurityFooterTest128 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 …]
79 private SecurityControllerImpl mSecurityController; field in SecurityControllerTest110 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 …]
110 private final SecurityController mSecurityController; field in QSSecurityFooterUtils189 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 …]
59 private final SecurityController mSecurityController; field in StatusBarSignalPolicy89 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()
262 @Inject Lazy<SecurityController> mSecurityController; field in Dependency417 mProviders.put(SecurityController.class, mSecurityController::get); in start()