Searched refs:UserVisibilityChangedEvent (Results 1 – 8 of 8) sorted by relevance
23 public final class UserVisibilityChangedEvent { class28 UserVisibilityChangedEvent(@UserIdInt int userId, boolean visible) { in UserVisibilityChangedEvent() method in UserVisibilityChangedEvent47 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()
51 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()
24 import static com.android.server.pm.UserVisibilityChangedEvent.onInvisible;25 import static com.android.server.pm.UserVisibilityChangedEvent.onVisible;
26 import static com.android.server.pm.UserVisibilityChangedEvent.onInvisible;27 import static com.android.server.pm.UserVisibilityChangedEvent.onVisible;
33 import static com.android.server.pm.UserVisibilityChangedEvent.onInvisible;34 import static com.android.server.pm.UserVisibilityChangedEvent.onVisible;558 UserVisibilityChangedEvent... events) { in addListenerForEvents()
143 addLog(new UserVisibilityChangedEvent(userId, visible)); in logUserVisibilityChanged()534 private static final class UserVisibilityChangedEvent { class in LocationEventLog539 UserVisibilityChangedEvent(int userId, boolean visible) { in UserVisibilityChangedEvent() method in LocationEventLog.UserVisibilityChangedEvent
13969 PLcom/android/server/location/eventlog/LocationEventLog$UserVisibilityChangedEvent;-><init>(IZ)V