Searched refs:hasWorkProfile (Results 1 – 7 of 7) sorted by relevance
144 final boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in handleRefreshState()160 mFooterTextContent = getFooterText(isDeviceManaged, hasWorkProfile, in handleRefreshState()180 protected CharSequence getFooterText(boolean isDeviceManaged, boolean hasWorkProfile, in getFooterText() argument239 if (hasWorkProfile) { in getFooterText()270 final boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in createDialog()332 CharSequence vpnMessage = getVpnMessage(isDeviceManaged, hasWorkProfile, vpnName, in createDialog()427 protected CharSequence getVpnMessage(boolean isDeviceManaged, boolean hasWorkProfile, in getVpnMessage() argument447 } else if (hasWorkProfile) { in getVpnMessage()
26 boolean hasWorkProfile(); in hasWorkProfile() method
205 public boolean hasWorkProfile() { in hasWorkProfile() method in SecurityControllerImpl
39 public boolean hasWorkProfile() { in hasWorkProfile() method in FakeSecurityController
140 assertTrue(mSecurityController.hasWorkProfile()); in testWorkAccount()
572 private boolean hasWorkProfile() {577 return hasWorkProfile() && ENABLE_TABBED_VIEW;1326 if (!hasWorkProfile() || currentUserHandle.equals(getUser())) {
359 when(mSecurityController.hasWorkProfile()).thenReturn(true); in testVpnEnabled()