/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | ProfileTabsTest.java | 215 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(mManagedUser); in testUpdateView_getSelectedUser_afterUsersChanged() 224 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(mSystemUser); in testUpdateView_getSelectedUser_afterUsersChanged() 232 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(mSystemUser); in testUpdateView_afterCurrentRootChanged_shouldChangeSelectedUser() 239 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(mManagedUser); in testUpdateView_afterCurrentRootChanged_shouldChangeSelectedUser() 250 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(mSystemUser); in testUpdateView_afterCurrentRootChangedMultiUser_shouldChangeSelectedUser() 258 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(userId); in testUpdateView_afterCurrentRootChangedMultiUser_shouldChangeSelectedUser() 271 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(mPrivateUser); in testUpdateView_afterSelectedUserBecomesUnavailable_shouldSwitchToCurrentUser() 277 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(mSystemUser); in testUpdateView_afterSelectedUserBecomesUnavailable_shouldSwitchToCurrentUser() 285 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(mSystemUser); in testGetSelectedUser_twoUsers() 288 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(mManagedUser); in testGetSelectedUser_twoUsers() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | UsersSpinner.java | 79 UserInfo user = getSelectedUser(); in init() 97 UserInfo user = getSelectedUser(); in getSelectedUserId() 104 public @Nullable UserInfo getSelectedUser() { in getSelectedUser() method in UsersSpinner
|
D | ProfileUserFragment.java | 204 int userToRemove = getSelectedUser(); in removeUser() 226 int userToUpdate = getSelectedUser(); in stopUser() 248 int userToUpdate = getSelectedUser(); in startUser() 282 int userId = getSelectedUser(); in assignUserToZone() 373 int userId = getSelectedUser(); in launchAppForDisplayAndUser() 427 private int getSelectedUser() { in getSelectedUser() method in ProfileUserFragment
|
D | ExistingUsersView.java | 70 updateUser(mExistingUsers.getSelectedUser()); in updateState()
|
D | SimpleUserPickerFragment.java | 261 int userId = getSelectedUser(); in startUser() 319 int userId = getSelectedUser(); in switchUser() 450 private int getSelectedUser() { in getSelectedUser() method in SimpleUserPickerFragment
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ProfileTabs.java | 127 || !Objects.equal(currentRoot.userId, getSelectedUser())) { in updateView() 245 public UserId getSelectedUser() { in getSelectedUser() method in ProfileTabs
|
D | NavigationViewManager.java | 244 public UserId getSelectedUser() { in getSelectedUser() method in NavigationViewManager 245 return mProfileTabs.getSelectedUser(); in getSelectedUser()
|
D | BaseActivity.java | 420 mLastSelectedUser = getSelectedUser(); in onPause() 914 public UserId getSelectedUser() { in getSelectedUser() method in BaseActivity 915 return mNavigator.getSelectedUser(); in getSelectedUser() 923 return mProviders.getRecentsRoot(getSelectedUser()); in getCurrentRoot()
|
D | DrawerController.java | 223 mCommonAddons.getSelectedUser(), Providers.AUTHORITY_STORAGE); in onDrawerOpened()
|
D | AbstractActionHandler.java | 1000 UserId getSelectedUser(); in getSelectedUser() method
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | AppsRowManagerTest.java | 112 when(mActivity.getSelectedUser()).thenReturn(TestProvidersAccess.USER_ID); in setUp() 224 when(mActivity.getSelectedUser()).thenReturn(TestProvidersAccess.OtherUser.USER_ID); in testUpdateView_showSelectedUserItems_otherUser() 335 when(mActivity.getSelectedUser()).thenReturn(TestProvidersAccess.OtherUser.USER_ID); in testUpdateView_noItemsOnSelectedUser_hideRow()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsFragment.java | 303 getBaseActivity().getSelectedUser(), in onActivityCreated() 364 if (!UserId.CURRENT_USER.equals(getBaseActivity().getSelectedUser())) { in updateCrossProfileStateAndMaybeRefresh() 375 if (!UserId.CURRENT_USER.equals(getBaseActivity().getSelectedUser())) { in updateCrossProfileMapStateAndMaybeRefresh() 641 ((BaseActivity) context).getSelectedUser(), Providers.AUTHORITY_STORAGE); in onResume()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 264 if (Objects.equal(mActivity.getSelectedUser(), userId)) { 281 if (Objects.equal(mActivity.getSelectedUser(), userId)) { 364 if (mActivity.getSelectedUser().equals(userId) in checkUriWithDelay() 665 mActivity.getSelectedUser(), in getModelBackedDocumentsAdapter() 1398 if (doc == null && !mActivity.getSelectedUser().isQuietModeEnabled(mActivity)) { in onRefresh()
|
D | AppsRowManager.java | 128 final UserId selectedUser = activity.getSelectedUser(); in updateView()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/display/ |
D | SelfManagedVirtualDisplayView.java | 107 UserInfo user = mUsersSpinner.getSelectedUser(); in switchUser()
|