Home
last modified time | relevance | path

Searched refs:setUser (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationRankingManagerTest.kt104 .setUser(mContext.getUser()) in <lambda>()
118 .setUser(mContext.getUser()) in <lambda>()
141 .setUser(mContext.getUser()) in <lambda>()
156 .setUser(mContext.getUser()) in <lambda>()
178 .setUser(mContext.getUser()) in <lambda>()
195 .setUser(mContext.getUser()) in <lambda>()
221 .setUser(mContext.user) in <lambda>()
237 .setUser(mContext.user) in <lambda>()
266 .setUser(mContext.user) in <lambda>()
282 .setUser(mContext.user) in <lambda>()
[all …]
DNotificationEntryBuilder.java174 public NotificationEntryBuilder setUser(UserHandle user) { in setUser() method in NotificationEntryBuilder
175 mSbnBuilder.setUser(user); in setUser()
DNotificationEntryTest.java90 .setUser(new UserHandle(ActivityManager.getCurrentUser())) in setup()
224 .setUser(mContext.getUser()) in notificationDataEntry_testIsLastMessageFromReply()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DNotificationHelperTest.java114 .setUser(UserHandle.of(0))
121 .setUser(UserHandle.of(0))
129 .setUser(UserHandle.of(0))
136 .setUser(UserHandle.of(0))
DPeopleSpaceUtilsTest.java164 .setUser(UserHandle.of(0))
170 .setUser(UserHandle.of(0))
176 .setUser(UserHandle.of(0))
286 .setUser(UserHandle.of(0)) in testAugmentTileFromNotificationGroupWithSender()
319 .setUser(UserHandle.of(0)) in testAugmentTileFromNotificationGroupWithImageUri()
352 .setUser(UserHandle.of(0)) in testAugmentTileFromNotificationGroupWithAudioUri()
/frameworks/base/core/java/com/android/internal/widget/
DCallLayout.java128 setUser(extras.getParcelable(Notification.EXTRA_CALL_PERSON)); in setData()
132 private void setUser(Person user) { in setUser() method in CallLayout
DMessagingLayout.java169 setUser(extras.getParcelable(Notification.EXTRA_MESSAGING_PERSON)); in setData()
382 public void setUser(Person user) { in setUser() method in MessagingLayout
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDataFilterTest.kt95 setUser(USER_MAIN) in eq()
111 private fun setUser(id: Int) { in eq() method in com.android.systemui.media.MediaDataFilterTest
162 setUser(USER_GUEST) in eq()
176 setUser(USER_GUEST) in eq()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DNightDisplayListenerModule.java69 public Builder setUser(int userId) { in setUser() method in NightDisplayListenerModule.Builder
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinatorTest.java87 .setUser(new UserHandle(NOTIF_USER_ID)) in setup()
191 .setUser(new UserHandle(NOTIF_USER_ID)) in summaryExceedsThresholdToShow()
DAppOpsCoordinatorTest.java88 .setUser(new UserHandle(NOTIF_USER_ID)); in setup()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DScanRequestBuilder.java95 public ScanRequestBuilder setUser(UserHandle user) { in setUser() method in ScanRequestBuilder
DScanTests.java248 .setUser(UserHandle.of(0)).build(); in installStaticSharedLibrary()
280 new ScanRequestBuilder(pkg).setUser(UserHandle.of(0)).build(); in installDynamicLibraries()
507 .setUser(UserHandle.of(0));
512 .setUser(UserHandle.of(0));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNightDisplayTile.java97 mListener = mNightDisplayListenerBuilder.setUser(host.getUserContext().getUserId()).build(); in NightDisplayTile()
135 mListener = mNightDisplayListenerBuilder.setUser(newUserId).build(); in handleUserSwitch()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationGroupTestHelper.java83 .setUser(new UserHandle(ActivityManager.getCurrentUser())) in createEntry()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java130 .setUser(new UserHandle(mCurrentUser.id)) in setUp()
134 .setUser(new UserHandle(mSecondaryUser.id)) in setUp()
138 .setUser(new UserHandle(mWorkUser.id)) in setUp()
DSbnBuilder.java167 public SbnBuilder setUser(UserHandle user) { in setUser() method in SbnBuilder
DNotificationRemoteInputManagerTest.java94 .setUser(UserHandle.CURRENT) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationLoggerTest.java106 .setUser(UserHandle.CURRENT) in setUp()
230 .setUser(UserHandle.CURRENT) in testLogPanelShownHandlesNullInstanceIds()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationListControllerTest.java117 .setUser(new UserHandle(ActivityManager.getCurrentUser())) in buildEntry()
DNotificationEntryManagerTest.java559 .setUser(new UserHandle(ActivityManager.getCurrentUser())) in createNotification()
603 .setUser(new UserHandle(ActivityManager.getCurrentUser())) in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationTestHelper.java314 .setUser(userHandle) in createBubble()
445 .setUser(userHandle) in generateRow()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/
DIconManagerTest.kt198 .setUser(UserHandle(ActivityManager.getCurrentUser())) in notificationEntry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHeadsUpManager.java281 public void setUser(int user) { in setUser() method in HeadsUpManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenter.java334 mHeadsUpManager.setUser(newUserId); in onUserSwitched()

12