Home
last modified time | relevance | path

Searched refs:FocusOwnershipCallback (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarAppFocusManagerTest.java57 FocusOwnershipCallback owner = new FocusOwnershipCallback(/* assertEventThread= */ false); in setUp()
102 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, new FocusOwnershipCallback())) in testRegisterUnregisterSpecificApp()
112 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, new FocusOwnershipCallback())) in testRegisterUnregisterSpecificApp()
131 FocusOwnershipCallback owner1 = new FocusOwnershipCallback(); in testFocusChange()
132 FocusOwnershipCallback owner2 = new FocusOwnershipCallback(); in testFocusChange()
226 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testFilter()
278 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testMultipleChangeListenersPerManager()
334 private final class FocusOwnershipCallback class in CarAppFocusManagerTest
342 private FocusOwnershipCallback(boolean assertEventThread) { in FocusOwnershipCallback() method in CarAppFocusManagerTest.FocusOwnershipCallback
346 private FocusOwnershipCallback() { in FocusOwnershipCallback() method in CarAppFocusManagerTest.FocusOwnershipCallback
/packages/services/Car/service/src/com/android/car/
DAppFocusService.java71 private final List<FocusOwnershipCallback> mFocusOwnershipCallbacks = new ArrayList<>();
296 public interface FocusOwnershipCallback { interface in AppFocusService
307 public void registerContextOwnerChangedCallback(FocusOwnershipCallback callback) { in registerContextOwnerChangedCallback()
323 public void unregisterContextOwnerChangedCallback(FocusOwnershipCallback callback) { in unregisterContextOwnerChangedCallback()
330 List<FocusOwnershipCallback> focusOwnershipCallbacks) { in dispatchAcquireFocusOwnerLocked()
333 FocusOwnershipCallback callback = focusOwnershipCallbacks.get(i); in dispatchAcquireFocusOwnerLocked()
340 List<FocusOwnershipCallback> focusOwnershipCallbacks) { in dispatchAbandonFocusOwnerLocked()
343 FocusOwnershipCallback callback = focusOwnershipCallbacks.get(i); in dispatchAbandonFocusOwnerLocked()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DAppFocusTest.java44 FocusOwnershipCallback ownershipListener = new FocusOwnershipCallback(); in testFocusChange()
84 private class FocusOwnershipCallback class in AppFocusTest
/packages/services/Car/service/src/com/android/car/cluster/
DClusterNavigationService.java32 import com.android.car.AppFocusService.FocusOwnershipCallback;
48 implements CarServiceBase, FocusOwnershipCallback {