/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/ |
D | ChooserActivityWorkProfileTest.java | 36 import static com.android.intentresolver.ChooserActivityWorkProfileTest.TestCase.Tab.WORK; 119 new User(WORK_USER_HANDLE.getIdentifier(), User.Role.WORK))); in ChooserActivityWorkProfileTest() 168 /* tab= */ WORK, in tests() 175 /* tab= */ WORK, in tests() 182 /* tab= */ WORK, in tests() 189 /* tab= */ WORK, in tests() 224 /* tab= */ WORK, in tests() 231 /* tab= */ WORK, in tests() 238 /* tab= */ WORK, in tests() 245 /* tab= */ WORK, in tests() [all …]
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/data/repository/ |
D | UserRepositoryImplTest.kt | 62 val profile = userState.createProfile(ProfileType.WORK) in <lambda>() 64 assertThat(users).contains(User(profile.identifier, Role.WORK)) in <lambda>() 73 val work = userState.createProfile(ProfileType.WORK) in <lambda>() 74 assertThat(users).contains(User(work.identifier, Role.WORK)) in <lambda>() 77 assertThat(users).doesNotContain(User(work.identifier, Role.WORK)) in <lambda>() 83 val work = userState.createProfile(ProfileType.WORK) in <lambda>() 84 val workUser = User(work.identifier, Role.WORK) in <lambda>() 117 val work = userState.createProfile(ProfileType.WORK) in <lambda>() 118 val workUser = User(work.identifier, Role.WORK) in <lambda>()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/platform/ |
D | FakeUserManagerTest.kt | 45 val workHandle = state.createProfile(ProfileType.WORK) in <lambda>() 60 val workHandle = state.createProfile(ProfileType.WORK) in <lambda>() 74 val work = state.createProfile(ProfileType.WORK) in <lambda>() 110 val workHandle = state.createProfile(ProfileType.WORK) in <lambda>() 122 val work = state.createProfile(ProfileType.WORK) in <lambda>()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/domain/interactor/ |
D | UserInteractorTest.kt | 24 import com.android.intentresolver.shared.model.Profile.Type.WORK 41 private val workUser = User(id = baseId + 2, role = Role.WORK) 45 val workProfile = Profile(WORK, workUser) 124 Profile(WORK, workUser), in <lambda>() 142 Profile(WORK, workUser), in <lambda>() 193 val workProfile = Profile(Profile.Type.WORK, workUser) in updateState()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsFullSheet.java | 167 mAdapters.put(AdapterHolder.WORK, new AdapterHolder(AdapterHolder.WORK)); in WidgetsFullSheet() 239 mAdapters.get(AdapterHolder.WORK).setup(findViewById(R.id.work_widgets_list_view)); in setupViews() 292 } else if (adapterHolder.mAdapterType == AdapterHolder.WORK in updateRecyclerViewVisibility() 307 mAdapters.get(AdapterHolder.WORK).mWidgetsRecyclerView.scrollToTop(); in reset() 321 return mAdapters.get(AdapterHolder.WORK).mWidgetsRecyclerView; in getRecyclerView() 342 mAdapters.get(AdapterHolder.WORK).mWidgetsRecyclerView in onDetachedFromWindow() 354 setBottomPadding(mAdapters.get(AdapterHolder.WORK) in setInsets() 397 mAdapters.get(AdapterHolder.WORK).mWidgetsRecyclerView, in onContentHorizontalMarginChanged() 439 mAdapters.get(AdapterHolder.WORK).mWidgetsListAdapter.setMaxHorizontalSpansPxPerRow( in updateMaxSpansPerRow() 482 AdapterHolder workUserAdapterHolder = mAdapters.get(AdapterHolder.WORK); in onWidgetsBound() [all …]
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/ |
D | ProfilePagerResources.kt | 41 Profile.Type.WORK -> devicePolicyResources.workTabLabel in profileTabLabel() 49 Profile.Type.WORK -> devicePolicyResources.workTabAccessibilityLabel in profileTabAccessibilityLabel() 57 Profile.Type.WORK -> devicePolicyResources.noWorkApps in noAppsMessage()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | ActivityAllAppsContainerView.java | 271 mAH.set(AdapterHolder.WORK, new AdapterHolder(AdapterHolder.WORK, in initContent() 596 mAllAppsStore.unregisterIconContainer(mAH.get(AdapterHolder.WORK).mRecyclerView); in rebindAdapters() 605 mAH.get(AdapterHolder.WORK).setup(workRecyclerView, mWorkManager.getItemInfoMatcher()); in rebindAdapters() 609 mAH.get(AdapterHolder.WORK).mRecyclerView.addOnScrollListener( in rebindAdapters() 622 if (mViewPager.snapToPage(AdapterHolder.WORK)) { in rebindAdapters() 635 mAH.get(AdapterHolder.WORK).mRecyclerView = null; in rebindAdapters() 653 mAllAppsStore.registerIconContainer(mAH.get(AdapterHolder.WORK).mRecyclerView); in rebindAdapters() 684 for (int i = AdapterHolder.MAIN; i <= AdapterHolder.WORK; i++) { in replaceAppsRVContainer() 716 post(() -> mAH.get(AdapterHolder.WORK).applyPadding()); in replaceAppsRVContainer() 743 mAH.get(AdapterHolder.WORK).mRecyclerView, in setupHeader() [all …]
|
D | WorkProfileManager.java | 21 import static com.android.launcher3.allapps.ActivityAllAppsContainerView.AdapterHolder.WORK; 89 } else if (page == WORK && getCurrentState() == STATE_ENABLED) { in updateWorkFAB() 145 if (mAllApps.getCurrentPage() != WORK) { in attachWorkModeSwitch() 170 return mAllApps.mAH.get(WORK); in getAH()
|
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectFragment.java | 77 ProfileType.WORK, 89 int WORK = 1 << 1; field 99 int ALL = PERSONAL | WORK | PRIVATE; 340 ProfileType.WORK, in getFragments() 441 if (profileType == ProfileType.WORK) { in profileTypeToTab()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/domain/interactor/ |
D | UserInteractor.kt | 90 Role.WORK -> Type.WORK in <lambda>()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ |
D | ProfileAvailabilityTest.kt | 34 private val workUser = User(10, User.Role.WORK) 37 private val workProfile = Profile(Profile.Type.WORK, workUser)
|
D | ProfileHelperTest.kt | 40 private val workUser = User(11, User.Role.WORK) 41 private val workProfile = Profile(Profile.Type.WORK, workUser) 196 assertThat(helper.launchedAsProfileType).isEqualTo(Profile.Type.WORK) in <lambda>()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/viewmodel/ |
D | ResolverRequestTest.kt | 25 import com.android.intentresolver.shared.model.Profile.Type.WORK 126 assertThat(result.value.selectedProfile).isEqualTo(WORK) in createActivityModel()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialBaseActivity.java | 45 WORK enumConstant 72 mConfirmCredentialTheme = ConfirmCredentialTheme.WORK; in onCreate()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/shared/model/ |
D | User.kt | 49 WORK,
|
D | Profile.kt | 49 WORK,
|
/packages/modules/Bluetooth/android/app/tests/unit/res/raw/ |
D | v21_simple.vcf | 5 ADR;WORK;QUOTED-PRINTABLE:;Paris 75010;91 Rue du Faubourg Saint-
|
D | unsupported_version.vcf | 5 ADR;WORK;QUOTED-PRINTABLE:;Paris 75010;91 Rue du Faubourg Saint-
|
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/platform/ |
D | FakeUserManager.kt | 66 WORK, in <lambda>() 225 FakeUserManager.ProfileType.WORK -> UserManager.USER_TYPE_PROFILE_MANAGED in FakeUserManager()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/data/repository/ |
D | UserInfoExt.kt | 27 isManagedProfile -> Role.WORK in <lambda>()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/viewmodel/ |
D | ResolverRequestReader.kt | 50 PROFILE_WORK -> Profile.Type.WORK in Validation()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | UserManagerStateTest.java | 68 private static final String WORK = "Work"; field in UserManagerStateTest 746 when(devicePolicyResourcesManager.getString(eq(WORK_TAB), any())).thenReturn(WORK); in testGetUserIdToLabelMap_systemUserAndManagedUser_PreV() 754 .that(userIdToLabelMap.get(UserId.of(mManagedUser))).isEqualTo(WORK); in testGetUserIdToLabelMap_systemUserAndManagedUser_PreV() 772 when(managedUserManager.getProfileLabel()).thenReturn(WORK); in testGetUserIdToLabelMap_systemUserManagedUserPrivateUser_PostV() 780 .that(userIdToLabelMap.get(UserId.of(mManagedUser))).isEqualTo(WORK); in testGetUserIdToLabelMap_systemUserManagedUserPrivateUser_PostV()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/ |
D | NoCrossProfileEmptyStateProvider.java | 102 case WORK: in getEmptyState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectLocationFragmentTest.java | 80 EXTRA_PROFILE, -1)).isEqualTo(ProfileSelectFragment.ProfileType.WORK); in getFragments_containsCorrectBundle()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ProfileHelper.kt | 59 val workProfile = profiles.singleOrNull { it.type == Profile.Type.WORK } in <lambda>()
|