Home
last modified time | relevance | path

Searched refs:onVisible (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserVisibilityMediatorSUSDTest.java25 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()
DUserVisibilityMediatorVisibleBackgroundUserTestCase.java27 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 …]
DUserVisibilityMediatorMUPANDTest.java27 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()
DUserVisibilityMediatorTestCase.java34 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()
DUserVisibilityChangedEvent.java61 public static UserVisibilityChangedEvent onVisible(@UserIdInt int userId) { in onVisible() method in UserVisibilityChangedEvent
/frameworks/base/core/java/android/widget/
DAnalogClock.java581 onVisible(); in onVisibilityAggregated()
626 private void onVisible() { in onVisible() method in AnalogClock
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java1274 executor.execute(() -> callback.onVisible(visibleActivityInfo)); in doRegisterVisibleActivityCallback()
1302 () -> visibleActivityCallback.onVisible(visibleActivityInfo)); in notifyVisibleActivityChanged()
2288 default void onVisible(@NonNull VisibleActivityInfo activityInfo) {} in onVisible() method
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt41732 method public default void onVisible(@NonNull android.service.voice.VisibleActivityInfo);