/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/ |
D | DefaultAppListChildFragment.java | 90 if (mViewModel.hasWorkProfile()) { in onActivityCreated() 103 boolean hasWorkProfile = mViewModel.hasWorkProfile(); in onRoleListChanged() 105 if (hasWorkProfile) { in onRoleListChanged() 150 if (hasWorkProfile && !workRoleItems.isEmpty()) { in onRoleListChanged()
|
D | DefaultAppListViewModel.java | 91 public boolean hasWorkProfile() { in hasWorkProfile() method in DefaultAppListViewModel
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/ |
D | AccountsSettingsFragmentTests.java | 102 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/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioninglisteners/ |
D | ManagedUserRemovalListenerTest.java | 130 …ivate ManagedUserRemovalListener createManagedUserRemovalListenerInternal(boolean hasWorkProfile) { in createManagedUserRemovalListenerInternal() argument 132 context -> hasWorkProfile, in createManagedUserRemovalListenerInternal()
|
/packages/apps/Launcher3/src/com/android/launcher3/recyclerview/ |
D | AllAppsRecyclerViewPool.kt | 43 var hasWorkProfile = false in <lambda>() variable in com.android.launcher3.recyclerview.AllAppsRecyclerViewPool 136 if (hasWorkProfile) { in <lambda>()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systemdialogs/ |
D | SystemDialogsViewController.java | 189 boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in getVpnMessage() 208 } else if (hasWorkProfile) { in getVpnMessage()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/behavior/ |
D | HomeRoleUiBehavior.java | 95 boolean hasWorkProfile = UserUtils.getWorkProfile(context) != null; in isMissingWorkProfileSupport() 96 if (!hasWorkProfile) { in isMissingWorkProfileSupport()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | SoundWorkSettings.java | 146 final boolean hasWorkProfile = audioHelper.getManagedProfileId( in isSupportWorkProfileSound() 150 return hasWorkProfile && shouldShowRingtoneSettings; in isSupportWorkProfileSound()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | AccountsSettingsFragment.java | 162 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ManagedProfileUtils.java | 40 public boolean hasWorkProfile(final Context context) { in hasWorkProfile() method in ManagedProfileUtils
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsRecyclerView.java | 106 void updatePoolSize(boolean hasWorkProfile) { in updatePoolSize() argument 123 if (hasWorkProfile) { in updatePoolSize()
|
D | ActivityAllAppsContainerView.java | 672 final boolean hasWorkProfile = workRecyclerView != null; in setUpCustomRecyclerViewPool() 673 recycledViewPool.setHasWorkProfile(hasWorkProfile); in setUpCustomRecyclerViewPool() 679 mainRecyclerView.updatePoolSize(hasWorkProfile); in setUpCustomRecyclerViewPool()
|