Searched refs:FocusOwnershipCallback (Results 1 – 4 of 4) sorted by relevance
59 FocusOwnershipCallback owner = new FocusOwnershipCallback(/* assertEventThread= */ false); in setUp()104 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, new FocusOwnershipCallback())) in testRegisterUnregisterSpecificApp()114 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, new FocusOwnershipCallback())) in testRegisterUnregisterSpecificApp()133 FocusOwnershipCallback owner1 = new FocusOwnershipCallback(); in testFocusChange()134 FocusOwnershipCallback owner2 = new FocusOwnershipCallback(); in testFocusChange()228 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testFilter()257 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testGetAppTypeOwner()298 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testMultipleChangeListenersPerManager()354 private final class FocusOwnershipCallback class in CarAppFocusManagerTest362 private FocusOwnershipCallback(boolean assertEventThread) { in FocusOwnershipCallback() method in CarAppFocusManagerTest.FocusOwnershipCallback[all …]
75 private final List<FocusOwnershipCallback> mFocusOwnershipCallbacks = new ArrayList<>();327 public interface FocusOwnershipCallback { interface in AppFocusService338 public void registerContextOwnerChangedCallback(FocusOwnershipCallback callback) { in registerContextOwnerChangedCallback()354 public void unregisterContextOwnerChangedCallback(FocusOwnershipCallback callback) { in unregisterContextOwnerChangedCallback()361 List<FocusOwnershipCallback> focusOwnershipCallbacks) { in dispatchAcquireFocusOwnerLocked()364 FocusOwnershipCallback callback = focusOwnershipCallbacks.get(i); in dispatchAcquireFocusOwnerLocked()371 List<FocusOwnershipCallback> focusOwnershipCallbacks) { in dispatchAbandonFocusOwnerLocked()374 FocusOwnershipCallback callback = focusOwnershipCallbacks.get(i); in dispatchAbandonFocusOwnerLocked()
47 FocusOwnershipCallback ownershipListener = new FocusOwnershipCallback(); in testFocusChange()90 private class FocusOwnershipCallback class in AppFocusTest
32 import com.android.car.AppFocusService.FocusOwnershipCallback;48 implements CarServiceBase, FocusOwnershipCallback {