Home
last modified time | relevance | path

Searched refs:hasWorkProfile (Results 1 – 9 of 9) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DDefaultAppListChildFragment.java85 if (mViewModel.hasWorkProfile()) { in onActivityCreated()
95 boolean hasWorkProfile = mViewModel.hasWorkProfile(); in onRoleListChanged()
97 if (hasWorkProfile) { in onRoleListChanged()
129 if (hasWorkProfile && !workRoleItems.isEmpty()) { in onRoleListChanged()
DDefaultAppListViewModel.java75 public boolean hasWorkProfile() { in hasWorkProfile() method in DefaultAppListViewModel
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragmentTests.java102 when(mManagedProfileUtils.hasWorkProfile(any(Context.class))).thenReturn(true); in testMultipleAccounts_noSettingsForManagedProfile()
115 when(mManagedProfileUtils.hasWorkProfile(any(Context.class))).thenReturn(false); in testMultipleAccounts_noCurrentAccount()
137 when(mManagedProfileUtils.hasWorkProfile(any(Context.class))).thenReturn(false); in testMultipleAccounts_currentAccount()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragment.java162 return ManagedProfileUtils.getInstance().hasWorkProfile(mFragment.getActivity()); in doInBackground()
166 protected void onPostExecute(final Boolean hasWorkProfile) { in onPostExecute() argument
167 mFragment.mHasManagedProfile.set(hasWorkProfile); in onPostExecute()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DHomeRoleBehavior.java148 boolean hasWorkProfile = UserUtils.getWorkProfile(context) != null; in isMissingWorkProfileSupport()
149 if (!hasWorkProfile) { in isMissingWorkProfileSupport()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DManagedProfileUtils.java40 public boolean hasWorkProfile(final Context context) { in hasWorkProfile() method in ManagedProfileUtils
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DUserManagerCompat.java61 public abstract boolean hasWorkProfile(); in hasWorkProfile() method in UserManagerCompat
DUserManagerCompatVNMr1.java130 public boolean hasWorkProfile() { in hasWorkProfile() method in UserManagerCompatVNMr1
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DDiscoveryBounce.java220 && UserManagerCompat.getInstance(launcher).hasWorkProfile(); in shouldShowForWorkProfile()