Searched refs:hasWorkProfile (Results 1 – 6 of 6) sorted by relevance
144 final boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in handleRefreshState()156 mFooterTextContent = getFooterText(isDeviceManaged, hasWorkProfile, in handleRefreshState()175 protected CharSequence getFooterText(boolean isDeviceManaged, boolean hasWorkProfile, in getFooterText() argument233 if (hasWorkProfile) { in getFooterText()255 final boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in createDialog()310 CharSequence vpnMessage = getVpnMessage(isDeviceManaged, hasWorkProfile, vpnName, in createDialog()398 protected CharSequence getVpnMessage(boolean isDeviceManaged, boolean hasWorkProfile, in getVpnMessage() argument418 } else if (hasWorkProfile) { in getVpnMessage()
26 boolean hasWorkProfile(); in hasWorkProfile() method
209 public boolean hasWorkProfile() { in hasWorkProfile() method in SecurityControllerImpl
39 public boolean hasWorkProfile() { in hasWorkProfile() method in FakeSecurityController
138 assertTrue(mSecurityController.hasWorkProfile()); in testWorkAccount()
328 when(mSecurityController.hasWorkProfile()).thenReturn(true); in testVpnEnabled()