Searched refs:hasWorkProfile (Results 1 – 7 of 7) sorted by relevance
176 final boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in handleRefreshState()190 || vpnNameWorkProfile != null || (hasWorkProfile && isNetworkLoggingEnabled); in handleRefreshState()211 mFooterTextContent = getFooterText(isDeviceManaged, hasWorkProfile, in handleRefreshState()243 protected CharSequence getFooterText(boolean isDeviceManaged, boolean hasWorkProfile, in getFooterText() argument312 if (hasWorkProfile) { in getFooterText()320 if (hasWorkProfile && isNetworkLoggingEnabled && isWorkProfileOn) { in getFooterText()367 final boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in createOrganizationDialogView()422 CharSequence vpnMessage = getVpnMessage(isDeviceManaged, hasWorkProfile, vpnName, in createOrganizationDialogView()548 protected CharSequence getVpnMessage(boolean isDeviceManaged, boolean hasWorkProfile, in getVpnMessage() argument568 } else if (hasWorkProfile) { in getVpnMessage()
30 boolean hasWorkProfile(); in hasWorkProfile() method
209 public boolean hasWorkProfile() { in hasWorkProfile() method in SecurityControllerImpl
42 public boolean hasWorkProfile() { in hasWorkProfile() method in FakeSecurityController
208 when(mSecurityController.hasWorkProfile()).thenReturn(true); in testTappableView_profileOwnerOfOrgOwnedDevice_networkLoggingEnabled()256 when(mSecurityController.hasWorkProfile()).thenReturn(true); in testNetworkLoggingEnabled_managedProfileOwner_workProfileOn()269 when(mSecurityController.hasWorkProfile()).thenReturn(true); in testNetworkLoggingEnabled_managedProfileOwner_workProfileOff()481 when(mSecurityController.hasWorkProfile()).thenReturn(true); in testVpnEnabled()
161 assertTrue(mSecurityController.hasWorkProfile()); in testWorkAccount()
568 private boolean hasWorkProfile() {573 return hasWorkProfile() && ENABLE_TABBED_VIEW;1322 if (!hasWorkProfile() || currentUserHandle.equals(getUser())) {