Searched refs:WorkProfileManager (Results 1 – 4 of 4) sorted by relevance
36 @WorkProfileManager.WorkProfileState63 return mState != WorkProfileManager.STATE_DISABLED; in shouldShowWorkApps()70 if (mState == WorkProfileManager.STATE_DISABLED) { in addWorkItems()75 } else if (mState == WorkProfileManager.STATE_ENABLED && !isEduSeen()) { in addWorkItems()87 public void updateCurrentState(@WorkProfileManager.WorkProfileState int state) { in updateCurrentState()
45 public class WorkProfileManager implements PersonalWorkSlidingTabStrip.OnActivePageChangedListener { class78 public WorkProfileManager(UserManager userManager, AllAppsContainerView allApps, in WorkProfileManager() method in WorkProfileManager
101 private final WorkProfileManager mWorkManager;155 mWorkManager = new WorkProfileManager(mLauncher.getSystemService(UserManager.class), this, in AllAppsContainerView()212 public WorkProfileManager getWorkManager() { in getWorkManager()
33 import com.android.launcher3.allapps.WorkProfileManager;116 WorkProfileManager manager = getFromLauncher(l -> l.getAppsView().getWorkManager()); in toggleWorks()121 && manager.getCurrentState() == WorkProfileManager.STATE_ENABLED in toggleWorks()130 return manager.getCurrentState() == WorkProfileManager.STATE_DISABLED; in toggleWorks()143 return manager.getCurrentState() == WorkProfileManager.STATE_ENABLED; in toggleWorks()