Home
last modified time | relevance | path

Searched refs:addFocusListener (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarAppFocusManagerTest.java90 assertThrows(IllegalArgumentException.class, () -> mManager.addFocusListener(null, 0)); in testRegisterNull()
97 mManager.addFocusListener(listener, 1); in testRegisterUnregister()
98 mManager.addFocusListener(listener2, 1); in testRegisterUnregister()
110 manager.addFocusListener(listener1, APP_FOCUS_TYPE_NAVIGATION); in testRegisterUnregisterSpecificApp()
111 manager.addFocusListener(listener2, APP_FOCUS_TYPE_NAVIGATION); in testRegisterUnregisterSpecificApp()
149 manager1.addFocusListener(change1, APP_FOCUS_TYPE_NAVIGATION); in testFocusChange()
150 manager2.addFocusListener(change2, APP_FOCUS_TYPE_NAVIGATION); in testFocusChange()
243 manager1.addFocusListener(listener1, APP_FOCUS_TYPE_NAVIGATION); in testFilter()
244 manager2.addFocusListener(listener2, APP_FOCUS_TYPE_NAVIGATION); in testFilter()
295 manager.addFocusListener(listener, APP_FOCUS_TYPE_NAVIGATION); in testMultipleChangeListenersPerManager()
[all …]
DCarNavigationManagerTest.java128 mCarAppFocusManager.addFocusListener(new CarAppFocusManager.OnAppFocusChangedListener() { in testSendEvent()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarAppFocusManagerTest.java209 .addFocusListener(mApp1Listener, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in requestAppFocus_callingAppNotified()
221 .addFocusListener(mApp2Listener, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in requestAppFocus_otherAppNotified()
247 .addFocusListener(mApp1Listener, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in abandonAppFocus_callingAppNotified()
261 .addFocusListener(mApp2Listener, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in abandonAppFocus_otherAppNotified()
276 .addFocusListener(mApp1Listener, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in gainAppFocus_multipleListenersRegistered_bothUnownedTrigger()
279 .addFocusListener(mApp2Listener, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in gainAppFocus_multipleListenersRegistered_bothUnownedTrigger()
282 .addFocusListener(mApp3Listener, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in gainAppFocus_multipleListenersRegistered_bothUnownedTrigger()
DAppFocusTest.java48 manager.addFocusListener(listener, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in testFocusChange()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAppFocusServiceTest.java81 mCarAppFocusManager2.addFocusListener(mAppFocusChangedListener1, in testSingleOwner()
112 mCarAppFocusManager2.addFocusListener(mAppFocusChangedListener1, in testOwnerBinderDeath()
135 mCarAppFocusManager1.addFocusListener(mAppFocusChangedListener1, in testListenerBinderDeath()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DOccupantZoneStartActivity.java114 mAppFocusManager.addFocusListener( in connectCar()
DAudioAutoStartActivity.java106 mAppFocusManager.addFocusListener( in connectCar()
/packages/services/Car/car-lib/src/android/car/
DCarAppFocusManager.java151 public void addFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) { in addFocusListener() method in CarAppFocusManager
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/
DClusterViewModel.java102 mCarAppFocusManager.addFocusListener( in registerAppFocusListener()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DClusterViewModel.java104 mCarAppFocusManager.addFocusListener( in registerAppFocusListener()
DClusterRenderingService.java180 mAppFocusManager.addFocusListener(this, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in onCreate()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java317 mCarAppFocusManager.addFocusListener(mOnAppFocusChangedListener, in initCluster()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java209 mAppFocusManager.addFocusListener(listener, APP_FOCUS_TYPE_NAVIGATION); in connectCar()
210 mAppFocusManager.addFocusListener(listener, APP_FOCUS_TYPE_VOICE_COMMAND); in connectCar()
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
DClusterHomeApplication.java220 mAppFocusManager.addFocusListener(mAppFocusChangedListener, in initClusterHome()
/packages/services/Car/car-lib/api/
Dlint-baseline.txt26 ExecutorRegistration: android.car.CarAppFocusManager#addFocusListener(android.car.CarAppFocusManage…
27 Registration methods should have overload that accepts delivery Executor: `addFocusListener`
70 MissingNullability: android.car.CarAppFocusManager#addFocusListener(android.car.CarAppFocusManager.…
71 Missing nullability on parameter `listener` in method `addFocusListener`
180 SamShouldBeLast: android.car.CarAppFocusManager#addFocusListener(android.car.CarAppFocusManager.OnA…
181 …(such as parameter 1, "listener", in android.car.CarAppFocusManager.addFocusListener) should be la…
338 UnflaggedApi: android.car.CarAppFocusManager#addFocusListener(android.car.CarAppFocusManager.OnAppF…
339 … be flagged with @FlaggedApi: method android.car.CarAppFocusManager.addFocusListener(android.car.C…
1938 VisiblySynchronized: android.car.CarAppFocusManager#addFocusListener(android.car.CarAppFocusManager…
1939 …still externally observable): method android.car.CarAppFocusManager.addFocusListener(android.car.C…
Dcurrent.txt81 …method public void addFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int);
/packages/services/Car/car-lib-module/api/
Dcurrent.txt81 …method public void addFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int);
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt2909 method TIRAMISU_0 void addFocusListener(OnAppFocusChangedListener listener, int appType);