Home
last modified time | relevance | path

Searched refs:onTopActivityChanged (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/companion/virtual/
DVirtualDeviceInternal.java99 public void onTopActivityChanged(int displayId, ComponentName topActivity,
106 .onTopActivityChanged(displayId, topActivity);
108 .onTopActivityChanged(displayId, topActivity, userId);
486 public void onTopActivityChanged(int displayId, ComponentName topActivity) { in onTopActivityChanged() method in VirtualDeviceInternal.ActivityListenerDelegate
487 mExecutor.execute(() -> mActivityListener.onTopActivityChanged(displayId, topActivity)); in onTopActivityChanged()
490 public void onTopActivityChanged(int displayId, ComponentName topActivity, in onTopActivityChanged() method in VirtualDeviceInternal.ActivityListenerDelegate
493 mActivityListener.onTopActivityChanged(displayId, topActivity, userId)); in onTopActivityChanged()
DIVirtualDeviceActivityListener.aidl35 void onTopActivityChanged(int displayId, in ComponentName topActivity, in int userId); in onTopActivityChanged() method
DVirtualDeviceManager.java1122 void onTopActivityChanged(int displayId, @NonNull ComponentName topActivity); in onTopActivityChanged() method
1135 default void onTopActivityChanged(int displayId, @NonNull ComponentName topActivity, in onTopActivityChanged() method
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowPolicyControllerHelper.java145 mDisplayWindowPolicyController.onTopActivityChanged(null, Process.INVALID_UID, in onRunningActivityChanged()
148 mDisplayWindowPolicyController.onTopActivityChanged( in onRunningActivityChanged()
/frameworks/base/core/java/android/window/
DDisplayWindowPolicyController.java173 public void onTopActivityChanged(ComponentName topActivity, int uid, @UserIdInt int userId) {} in onTopActivityChanged() method in DisplayWindowPolicyController
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowPolicyControllerTests.java257 public void onTopActivityChanged(ComponentName topActivity, int uid, int userId) { in onTopActivityChanged() method in DisplayWindowPolicyControllerTests.TestDisplayWindowPolicyController
258 super.onTopActivityChanged(topActivity, uid, userId); in onTopActivityChanged()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DGenericWindowPolicyController.java426 public void onTopActivityChanged(ComponentName topActivity, int uid, @UserIdInt int userId) { in onTopActivityChanged() method in GenericWindowPolicyController
434 mActivityListener.onTopActivityChanged(displayId, topActivity, userId)); in onTopActivityChanged()
DVirtualDeviceImpl.java213 public void onTopActivityChanged(int displayId, @NonNull ComponentName topActivity) { in createListenerAdapter()
215 mActivityListener.onTopActivityChanged(displayId, topActivity, in createListenerAdapter()
223 public void onTopActivityChanged(int displayId, @NonNull ComponentName topActivity, in createListenerAdapter() method
226 mActivityListener.onTopActivityChanged(displayId, topActivity, userId); in createListenerAdapter()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DGenericWindowPolicyControllerTest.java648 gwpc.onTopActivityChanged(null, 0, 0); in onTopActivitychanged_null_noCallback()
650 .onTopActivityChanged(anyInt(), any(ComponentName.class), anyInt()); in onTopActivitychanged_null_noCallback()
659 gwpc.onTopActivityChanged(BLOCKED_COMPONENT, 0, userId); in onTopActivitychanged_activityListenerCallbackObserved()
661 .onTopActivityChanged(eq(DISPLAY_ID), eq(BLOCKED_COMPONENT), eq(userId)); in onTopActivitychanged_activityListenerCallbackObserved()
/frameworks/base/core/api/
Dsystem-current.txt3450 … method @Deprecated public void onTopActivityChanged(int, @NonNull android.content.ComponentName);
3451 … method public default void onTopActivityChanged(int, @NonNull android.content.ComponentName, int);