Home
last modified time | relevance | path

Searched refs:mUserNameViewController (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/statusbar/
DUserNameViewControllerTest.java70 private UserNameViewController mUserNameViewController; field in UserNameViewControllerTest
88 mUserNameViewController = new UserNameViewController(getContext(), mUserTracker, in setUp()
90 spyOn(mUserNameViewController.mUserIconProvider); in setUp()
91 spyOn(mUserNameViewController.mUserNameViews); in setUp()
92 spyOn(mUserNameViewController.mUserIconViews); in setUp()
110 mUserNameViewController.addUserNameView(mTextView); in addUserNameViewToController_withTextView_updatesUserNameView()
118 when(mUserNameViewController.mUserIconProvider.getRoundedUserIcon(mUserInfo1, mContext)) in addUserNameViewToController_withTextAndImageView_updatesViews()
121 mUserNameViewController.addUserNameView(mView); in addUserNameViewToController_withTextAndImageView_updatesViews()
123 verify(mUserNameViewController.mUserNameViews).add(eq(mTextView)); in addUserNameViewToController_withTextAndImageView_updatesViews()
124 verify(mUserNameViewController.mUserIconViews).add(eq(mImageView)); in addUserNameViewToController_withTextAndImageView_updatesViews()
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DQCUserPickerButtonController.java55 UserNameViewController mUserNameViewController; field in QCUserPickerButtonController
99 mUserNameViewController = new UserNameViewController( in onViewAttached()
101 mUserNameViewController.addUserNameView(mView); in onViewAttached()
109 if (mUserNameViewController != null) { in onViewDetached()
110 mUserNameViewController.removeUserNameView(mView); in onViewDetached()
111 mUserNameViewController = null; in onViewDetached()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/
DQCUserPickerButtonControllerTest.java126 spyOn(mController.mUserNameViewController); in onDetachedFromWindow_removeUserNameView()
127 UserNameViewController controllerSpy = mController.mUserNameViewController; in onDetachedFromWindow_removeUserNameView()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DCarSystemBarControllerTest.java95 private UserNameViewController mUserNameViewController; field in CarSystemBarControllerTest
137 mButtonSelectionStateController, () -> mUserNameViewController, in createSystemBarController()