Home
last modified time | relevance | path

Searched refs:requestAppFocus (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/tests/CarLibTests/src/android/car/
DCarAppFocusManagerTest.java91 int result = mCarAppFocusManager.requestAppFocus( in requestNavFocus_noCurrentFocus_requestShouldSucceed()
98 mCarAppFocusManager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in requestNavFocus_noCurrentFocus_callbackIsRun()
108 mCarAppFocusManager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in requestNavFocus_noCurrentFocus_holdsOwnership()
119 mCarAppFocusManager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in requestNavFocus_noCurrentFocus_onlyNavActive()
133 mCarAppFocusManager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in app2GainsFocus_app1BroughtToForeground()
146 .requestAppFocus( in requestNavFocus_currentOwnerInBackground_requestShouldSucceed()
155 .requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, mApp1Callback); in requestNavFocus_currentOwnerInBackground_callbackIsRun()
166 .requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, mApp1Callback); in requestNavFocus_currentOwnerInBackground_holdsOwnership()
179 mCarAppFocusManager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in requestNavFocus_currentOwnerInForeground_requestFails()
185 .requestAppFocus( in requestNavFocus_currentOwnerInForeground_requestFails()
[all …]
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarAppFocusManagerTest.java59 mManager.requestAppFocus(activeTypes[i], owner); in setUp()
72 () -> mManager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, null)); in testSetActiveNullListener()
102 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, new FocusOwnershipCallback())) in testRegisterUnregisterSpecificApp()
112 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, new FocusOwnershipCallback())) in testRegisterUnregisterSpecificApp()
137 assertThat(manager1.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, owner1)) in testFocusChange()
160 assertThat(manager1.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, owner1)) in testFocusChange()
172 assertThat(manager2.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, owner2)) in testFocusChange()
230 assertThat(manager1.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, owner)) in testFilter()
282 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, owner)) in testMultipleChangeListenersPerManager()
DCarNavigationManagerTest.java150 mCarAppFocusManager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in testSendEvent()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAppFocusServiceTest.java76 int r = mCarAppFocusManager1.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in testSingleOwner()
107 int r = mCarAppFocusManager1.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in testOwnerBinderDeath()
/packages/services/Car/car-lib/api/
Dlint-baseline.txt20 ExecutorRegistration: android.car.CarAppFocusManager#requestAppFocus(int, android.car.CarAppFocusMa…
21 Registration methods should have overload that accepts delivery Executor: `requestAppFocus`
94 MissingNullability: android.car.CarAppFocusManager#requestAppFocus(int, android.car.CarAppFocusMana…
95 Missing nullability on parameter `ownershipCallback` in method `requestAppFocus`
250 VisiblySynchronized: android.car.CarAppFocusManager#requestAppFocus(int, android.car.CarAppFocusMan…
251 … still externally observable): method android.car.CarAppFocusManager.requestAppFocus(int,android.c…
Dcurrent.txt65 …method public int requestAppFocus(int, android.car.CarAppFocusManager.OnAppFocusOwnershipCallback);
/packages/services/Car/car-lib/src/android/car/
DCarAppFocusManager.java254 public @AppFocusRequestResult int requestAppFocus( in requestAppFocus() method in CarAppFocusManager
269 return mService.requestAppFocus(binder, appType); in requestAppFocus()
DIAppFocus.aidl30 int requestAppFocus(IAppFocusOwnershipCallback callback, int appType) = 4; in requestAppFocus() method
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java252 mAppFocusManager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, mOwnershipCallbacks); in onCreateView()
266 mAppFocusManager.requestAppFocus(APP_FOCUS_TYPE_VOICE_COMMAND, mOwnershipCallbacks); in onCreateView()
661 mAppFocusManager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, mOwnershipCallbacks); in handleNavStart()
709 mAppFocusManager.requestAppFocus(APP_FOCUS_TYPE_VOICE_COMMAND, mOwnershipCallbacks); in handleVrStart()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DAppFocusTest.java46 manager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, ownershipListener); in testFocusChange()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java298 mCarAppFocusManager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in initCluster()
/packages/services/Car/service/src/com/android/car/
DAppFocusService.java136 public int requestAppFocus(IAppFocusOwnershipCallback callback, int appType) { in requestAppFocus() method in AppFocusService
/packages/services/Car/car-lib/api/released/
D2.txt32 …method public int requestAppFocus(int, android.car.CarAppFocusManager.OnAppFocusOwnershipCallback)…
D1.txt32 …method public int requestAppFocus(int, android.car.CarAppFocusManager.OnAppFocusOwnershipCallback)…