Home
last modified time | relevance | path

Searched refs:UserVisibilityChangedEvent (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserVisibilityChangedEvent.java23 public final class UserVisibilityChangedEvent { class
28 UserVisibilityChangedEvent(@UserIdInt int userId, boolean visible) { in UserVisibilityChangedEvent() method in UserVisibilityChangedEvent
47 UserVisibilityChangedEvent other = (UserVisibilityChangedEvent) obj; in equals()
61 public static UserVisibilityChangedEvent onVisible(@UserIdInt int userId) { in onVisible()
62 return new UserVisibilityChangedEvent(userId, /* visible= */ true); in onVisible()
68 public static UserVisibilityChangedEvent onInvisible(@UserIdInt int userId) { in onInvisible()
69 return new UserVisibilityChangedEvent(userId, /* visible= */ false); in onInvisible()
DAsyncUserVisibilityListener.java51 private final List<UserVisibilityChangedEvent> mExpectedEvents;
54 private final List<UserVisibilityChangedEvent> mReceivedEvents = new ArrayList<>();
60 List<UserVisibilityChangedEvent> expectedEvents) { in AsyncUserVisibilityListener()
69 UserVisibilityChangedEvent event = new UserVisibilityChangedEvent(userId, visible); in onUserVisibilityChanged()
89 List<UserVisibilityChangedEvent> receivedEvents = getReceivedEvents(); in verify()
107 List<UserVisibilityChangedEvent> receivedEvents = getReceivedEvents(); in toString()
114 private List<UserVisibilityChangedEvent> getReceivedEvents() { in getReceivedEvents()
141 List<UserVisibilityChangedEvent> receivedEvents = getReceivedEvents(); in waitForEvents()
170 public AsyncUserVisibilityListener forEvents(UserVisibilityChangedEvent...expectedEvents) { in forEvents()
DUserVisibilityMediatorSUSDTest.java24 import static com.android.server.pm.UserVisibilityChangedEvent.onInvisible;
25 import static com.android.server.pm.UserVisibilityChangedEvent.onVisible;
DUserVisibilityMediatorMUPANDTest.java26 import static com.android.server.pm.UserVisibilityChangedEvent.onInvisible;
27 import static com.android.server.pm.UserVisibilityChangedEvent.onVisible;
DUserVisibilityMediatorTestCase.java33 import static com.android.server.pm.UserVisibilityChangedEvent.onInvisible;
34 import static com.android.server.pm.UserVisibilityChangedEvent.onVisible;
558 UserVisibilityChangedEvent... events) { in addListenerForEvents()
DUserVisibilityMediatorVisibleBackgroundUserTestCase.java26 import static com.android.server.pm.UserVisibilityChangedEvent.onInvisible;
27 import static com.android.server.pm.UserVisibilityChangedEvent.onVisible;
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java143 addLog(new UserVisibilityChangedEvent(userId, visible)); in logUserVisibilityChanged()
534 private static final class UserVisibilityChangedEvent { class in LocationEventLog
539 UserVisibilityChangedEvent(int userId, boolean visible) { in UserVisibilityChangedEvent() method in LocationEventLog.UserVisibilityChangedEvent
/frameworks/base/services/
Dart-wear-profile13969 PLcom/android/server/location/eventlog/LocationEventLog$UserVisibilityChangedEvent;-><init>(IZ)V