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.java81 FocusOwnershipCallback owner = new FocusOwnershipCallback(/* assertEventThread= */ false); in abandonAllAppFocuses()
124 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, new FocusOwnershipCallback())) in testRegisterUnregisterSpecificApp()
136 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, new FocusOwnershipCallback())) in testRegisterUnregisterSpecificApp()
156 FocusOwnershipCallback owner1 = new FocusOwnershipCallback(); in testFocusChange()
157 FocusOwnershipCallback owner2 = new FocusOwnershipCallback(); in testFocusChange()
251 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testFilter()
280 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testGetAppTypeOwner()
322 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testMultipleChangeListenersPerManager()
376 private final class FocusOwnershipCallback class in CarAppFocusManagerTest
384 private FocusOwnershipCallback(boolean assertEventThread) { in FocusOwnershipCallback() method in CarAppFocusManagerTest.FocusOwnershipCallback
[all …]
/packages/services/Car/service/src/com/android/car/
DAppFocusService.java80 private final List<FocusOwnershipCallback> mFocusOwnershipCallbacks = new ArrayList<>();
333 public interface FocusOwnershipCallback { interface in AppFocusService
345 public void registerContextOwnerChangedCallback(FocusOwnershipCallback callback) { in registerContextOwnerChangedCallback()
361 public void unregisterContextOwnerChangedCallback(FocusOwnershipCallback callback) { in unregisterContextOwnerChangedCallback()
368 List<FocusOwnershipCallback> focusOwnershipCallbacks) { in dispatchAcquireFocusOwnerLocked()
371 FocusOwnershipCallback callback = focusOwnershipCallbacks.get(i); in dispatchAcquireFocusOwnerLocked()
378 List<FocusOwnershipCallback> focusOwnershipCallbacks) { in dispatchAbandonFocusOwnerLocked()
381 FocusOwnershipCallback callback = focusOwnershipCallbacks.get(i); in dispatchAbandonFocusOwnerLocked()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DAppFocusTest.java48 FocusOwnershipCallback ownershipListener = new FocusOwnershipCallback(); in testFocusChange()
92 private class FocusOwnershipCallback class in AppFocusTest
/packages/services/Car/service/src/com/android/car/cluster/
DClusterNavigationService.java35 import com.android.car.AppFocusService.FocusOwnershipCallback;
55 implements CarServiceBase, FocusOwnershipCallback {