Searched refs:onVisible (Results 1 – 9 of 9) sorted by relevance
25 import static com.android.server.pm.UserVisibilityChangedEvent.onVisible;55 onVisible(USER_ID)); in testStartFgUser_onDefaultDisplay()84 onVisible(previousCurrentUserId), in testSwitchFgUser_onDefaultDisplay()86 onVisible(currentUserId)); in testSwitchFgUser_onDefaultDisplay()121 onVisible(PARENT_USER_ID), in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsCurrentUser()122 onVisible(PROFILE_USER_ID)); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsCurrentUser()161 onVisible(PROFILE_USER_ID)); in testStartVisibleBgProfile_communalProfile()
27 import static com.android.server.pm.UserVisibilityChangedEvent.onVisible;51 onVisible(USER_ID)); in testStartFgUser_onDefaultDisplay()82 onVisible(previousCurrentUserId), in testSwitchFgUser_onDefaultDisplay()84 onVisible(currentUserId)); in testSwitchFgUser_onDefaultDisplay()146 AsyncUserVisibilityListener listener = addListenerForEvents(onVisible(USER_ID)); in testStartVisibleBgUser_onSecondaryDisplay_displayAvailable()196 AsyncUserVisibilityListener listener = addListenerForEvents(onVisible(OTHER_USER_ID)); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssigned()215 AsyncUserVisibilityListener listener = addListenerForEvents(onVisible(USER_ID)); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssignedToSameUser()247 AsyncUserVisibilityListener listener = addListenerForEvents(onVisible(USER_ID)); in testStartVisibleBgUser_onSecondaryDisplay_userAlreadyAssigned()283 onVisible(PARENT_USER_ID), in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsCurrentUser()284 onVisible(PROFILE_USER_ID)); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsCurrentUser()[all …]
27 import static com.android.server.pm.UserVisibilityChangedEvent.onVisible;55 AsyncUserVisibilityListener listener = addListenerForEvents(onVisible(visibleBgUserId)); in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId()97 onVisible(currentUserId), in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId()98 onVisible(visibleBgUserId)); in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId()136 AsyncUserVisibilityListener listener = addListenerForEvents(onVisible(PARENT_USER_ID)); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBgOnSecondaryDisplay()157 onVisible(PARENT_USER_ID), in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBgOnDefaultDisplay()158 onVisible(PROFILE_USER_ID)); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBgOnDefaultDisplay()187 AsyncUserVisibilityListener listener = addListenerForEvents(onVisible(PARENT_USER_ID)); in testStartBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBg()
34 import static com.android.server.pm.UserVisibilityChangedEvent.onVisible;236 onVisible(USER_ID)); in testStartBgSystemUser_onSecondaryDisplay()259 onVisible(PARENT_USER_ID), in testStopVisibleBgProfile()260 onVisible(PROFILE_USER_ID), in testStopVisibleBgProfile()278 onVisible(PARENT_USER_ID), in testVisibleBgProfileBecomesInvisibleWhenParentIsSwitchedOut()279 onVisible(PROFILE_USER_ID), in testVisibleBgProfileBecomesInvisibleWhenParentIsSwitchedOut()282 onVisible(OTHER_USER_ID)); in testVisibleBgProfileBecomesInvisibleWhenParentIsSwitchedOut()471 AsyncUserVisibilityListener listener = addListenerForEvents(onVisible(USER_SYSTEM)); in testOnSystemUserVisibilityChanged()
61 public static UserVisibilityChangedEvent onVisible(@UserIdInt int userId) { in onVisible() method in UserVisibilityChangedEvent
581 onVisible(); in onVisibilityAggregated()626 private void onVisible() { in onVisible() method in AnalogClock
1274 executor.execute(() -> callback.onVisible(visibleActivityInfo)); in doRegisterVisibleActivityCallback()1302 () -> visibleActivityCallback.onVisible(visibleActivityInfo)); in notifyVisibleActivityChanged()2288 default void onVisible(@NonNull VisibleActivityInfo activityInfo) {} in onVisible() method
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
41732 method public default void onVisible(@NonNull android.service.voice.VisibleActivityInfo);