/packages/services/Car/tests/CarLibTests/src/android/car/ |
D | CarAppFocusManagerTest.java | 27 import android.car.CarAppFocusManager.OnAppFocusChangedListener; 28 import android.car.CarAppFocusManager.OnAppFocusOwnershipCallback; 55 private CarAppFocusManager mCarAppFocusManager; 79 (CarAppFocusManager) mFakeCar.getCar().getCarManager(Car.APP_FOCUS_SERVICE); in setUp() 92 CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, mApp1Callback); in requestNavFocus_noCurrentFocus_requestShouldSucceed() 93 assertThat(result).isEqualTo(CarAppFocusManager.APP_FOCUS_REQUEST_SUCCEEDED); in requestNavFocus_noCurrentFocus_requestShouldSucceed() 98 mCarAppFocusManager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in requestNavFocus_noCurrentFocus_callbackIsRun() 103 .onAppFocusOwnershipGranted(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in requestNavFocus_noCurrentFocus_callbackIsRun() 108 mCarAppFocusManager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in requestNavFocus_noCurrentFocus_holdsOwnership() 113 .isOwningFocus(mApp1Callback, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION)) in requestNavFocus_noCurrentFocus_holdsOwnership() [all …]
|
/packages/services/Car/car-lib/api/ |
D | lint-baseline.txt | 2 CallbackInterface: android.car.CarAppFocusManager.OnAppFocusOwnershipCallback: 14 ExecutorRegistration: android.car.CarAppFocusManager#abandonAppFocus(android.car.CarAppFocusManager… 16 ExecutorRegistration: android.car.CarAppFocusManager#addFocusListener(android.car.CarAppFocusManage… 18 ExecutorRegistration: android.car.CarAppFocusManager#isOwningFocus(android.car.CarAppFocusManager.O… 20 ExecutorRegistration: android.car.CarAppFocusManager#requestAppFocus(int, android.car.CarAppFocusMa… 34 HiddenSuperclass: android.car.CarAppFocusManager: 35 …Public class android.car.CarAppFocusManager stripped of unavailable superclass android.car.CarMana… 62 ListenerLast: android.car.CarAppFocusManager#abandonAppFocus(android.car.CarAppFocusManager.OnAppFo… 64 ListenerLast: android.car.CarAppFocusManager#isOwningFocus(android.car.CarAppFocusManager.OnAppFocu… 82 MissingNullability: android.car.CarAppFocusManager#abandonAppFocus(android.car.CarAppFocusManager.O… [all …]
|
D | current.txt | 58 public final class CarAppFocusManager { 59 …method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int… 60 method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback); 61 …method public void addFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int); 62 …method public boolean isOwningFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, in… 63 …method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, i… 64 … method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener); 65 …method public int requestAppFocus(int, android.car.CarAppFocusManager.OnAppFocusOwnershipCallback); 72 public static interface CarAppFocusManager.OnAppFocusChangedListener { 76 public static interface CarAppFocusManager.OnAppFocusOwnershipCallback {
|
D | test-current.txt | 9 public final class CarAppFocusManager {
|
D | system-lint-baseline.txt | 89 HiddenSuperclass: android.car.CarAppFocusManager: 90 …Public class android.car.CarAppFocusManager stripped of unavailable superclass android.car.CarMana…
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | AppFocusServiceTest.java | 24 import android.car.CarAppFocusManager; 55 private CarAppFocusManager mCarAppFocusManager1; 56 private CarAppFocusManager mCarAppFocusManager2; 67 mCarAppFocusManager1 = new CarAppFocusManager(mCar, mService.asBinder()); in setUp() 68 mCarAppFocusManager2 = new CarAppFocusManager(mCar, mService.asBinder()); in setUp() 74 CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in testSingleOwner() 76 int r = mCarAppFocusManager1.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in testSingleOwner() 78 assertThat(r).isEqualTo(CarAppFocusManager.APP_FOCUS_REQUEST_SUCCEEDED); in testSingleOwner() 80 CarAppFocusManager.APP_FOCUS_REQUEST_SUCCEEDED)).isTrue(); in testSingleOwner() 85 CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in testSingleOwner() [all …]
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarAppFocusManagerTest.java | 18 import static android.car.CarAppFocusManager.APP_FOCUS_REQUEST_SUCCEEDED; 19 import static android.car.CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION; 26 import android.car.CarAppFocusManager; 45 private CarAppFocusManager mManager; 51 mManager = (CarAppFocusManager) getCar().getCarManager(Car.APP_FOCUS_SERVICE); in setUp() 96 CarAppFocusManager manager = createManager(); in testRegisterUnregisterSpecificApp() 103 .isEqualTo(CarAppFocusManager.APP_FOCUS_REQUEST_SUCCEEDED); in testRegisterUnregisterSpecificApp() 113 .isEqualTo(CarAppFocusManager.APP_FOCUS_REQUEST_SUCCEEDED); in testRegisterUnregisterSpecificApp() 124 CarAppFocusManager manager1 = createManager(); in testFocusChange() 125 CarAppFocusManager manager2 = createManager(); in testFocusChange() [all …]
|
D | CarNavigationManagerTest.java | 23 import android.car.CarAppFocusManager; 24 import android.car.CarAppFocusManager.OnAppFocusOwnershipCallback; 59 private CarAppFocusManager mCarAppFocusManager; 66 (CarAppFocusManager) getCar().getCarManager(Car.APP_FOCUS_SERVICE); in setUp() 133 mCarAppFocusManager.addFocusListener(new CarAppFocusManager.OnAppFocusChangedListener() { in testSendEvent() 138 }, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in testSendEvent() 150 mCarAppFocusManager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in testSendEvent() 153 CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION)).isTrue(); in testSendEvent()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | AppFocusTest.java | 21 import android.car.CarAppFocusManager; 41 CarAppFocusManager manager = (CarAppFocusManager) getCar().getCarManager( in testFocusChange() 45 manager.addFocusListener(listener, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in testFocusChange() 46 manager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, ownershipListener); in testFocusChange() 48 CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, true); in testFocusChange() 50 manager.abandonAppFocus(ownershipListener, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in testFocusChange() 52 CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, false); in testFocusChange() 56 private class FocusChangedListener implements CarAppFocusManager.OnAppFocusChangedListener { 85 implements CarAppFocusManager.OnAppFocusOwnershipCallback {
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/ |
D | InstrumentClusterFragment.java | 21 import android.car.CarAppFocusManager; 68 private CarAppFocusManager mCarAppFocusManager; 83 mCarAppFocusManager = (CarAppFocusManager) car.getCarManager( 90 private final CarAppFocusManager.OnAppFocusOwnershipCallback mFocusCallback = 91 new CarAppFocusManager.OnAppFocusOwnershipCallback() { 93 public void onAppFocusOwnershipLost(@CarAppFocusManager.AppFocusType int appType) { 103 @CarAppFocusManager.AppFocusType int appType) { 109 private CarAppFocusManager.OnAppFocusChangedListener mOnAppFocusChangedListener = 297 CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in initCluster() 298 mCarAppFocusManager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in initCluster() [all …]
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarAppFocusManager.java | 40 public final class CarAppFocusManager extends CarManagerBase { class 131 public CarAppFocusManager(Car car, IBinder service) { in CarAppFocusManager() method in CarAppFocusManager 337 private final WeakReference<CarAppFocusManager> mManager; 341 private IAppFocusListenerImpl(CarAppFocusManager manager, in IAppFocusListenerImpl() 365 final CarAppFocusManager manager = mManager.get(); in onAppFocusChanged() 378 private final WeakReference<CarAppFocusManager> mManager; 382 private IAppFocusOwnershipCallbackImpl(CarAppFocusManager manager, in IAppFocusOwnershipCallbackImpl() 406 final CarAppFocusManager manager = mManager.get(); in onAppFocusOwnershipLost() 418 final CarAppFocusManager manager = mManager.get(); in onAppFocusOwnershipGranted()
|
D | Car.java | 1814 manager = new CarAppFocusManager(this, binder); in createCarManagerLocked()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | OccupantZoneStartActivity.java | 22 import static android.car.CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION; 27 import android.car.CarAppFocusManager; 51 private CarAppFocusManager mAppFocusManager; 115 (CarAppFocusManager) car.getCarManager(APP_FOCUS_SERVICE); in connectCar() 117 (CarAppFocusManager.OnAppFocusChangedListener) (appType, active) -> { in connectCar()
|
D | AudioAutoStartActivity.java | 22 import static android.car.CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION; 23 import static android.car.CarAppFocusManager.OnAppFocusChangedListener; 39 import android.car.CarAppFocusManager; 68 private CarAppFocusManager mAppFocusManager; 105 (CarAppFocusManager) car.getCarManager(APP_FOCUS_SERVICE); in connectCar()
|
D | KitchenSinkActivity.java | 20 import android.car.CarAppFocusManager; 224 private CarAppFocusManager mCarAppFocusManager; 411 (CarAppFocusManager) car.getCarManager(Car.APP_FOCUS_SERVICE); in initManagers()
|
/packages/services/Car/car-lib/api/released/ |
D | 2.txt | 25 public final class CarAppFocusManager { 26 …method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int… 27 method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback); 28 …method public void addFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int)… 29 …method public boolean isOwningFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, in… 30 …method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, i… 31 … method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener); 32 …method public int requestAppFocus(int, android.car.CarAppFocusManager.OnAppFocusOwnershipCallback)… 39 public static abstract interface CarAppFocusManager.OnAppFocusChangedListener { 43 public static abstract interface CarAppFocusManager.OnAppFocusOwnershipCallback {
|
D | 1.txt | 25 public final class CarAppFocusManager { 26 …method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int… 27 method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback); 28 …method public void addFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int)… 29 …method public boolean isOwningFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, in… 30 …method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, i… 31 … method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener); 32 …method public int requestAppFocus(int, android.car.CarAppFocusManager.OnAppFocusOwnershipCallback)… 39 public static abstract interface CarAppFocusManager.OnAppFocusChangedListener { 43 public static abstract interface CarAppFocusManager.OnAppFocusOwnershipCallback {
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | ClusterViewModel.java | 21 import android.car.CarAppFocusManager; 72 private CarAppFocusManager mCarAppFocusManager; 98 mCarAppFocusManager = (CarAppFocusManager) mCar.getCarManager( in registerAppFocusListener() 103 CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in registerAppFocusListener()
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | ClusterViewModel.java | 24 import android.car.CarAppFocusManager; 75 private CarAppFocusManager mCarAppFocusManager; 96 mCarAppFocusManager = (CarAppFocusManager) mCar.getCarManager(Car.APP_FOCUS_SERVICE); in registerAppFocusListener() 100 CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in registerAppFocusListener()
|
/packages/services/Car/service/src/com/android/car/cluster/ |
D | ClusterNavigationService.java | 21 import android.car.CarAppFocusManager; 151 CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION)) { in assertNavigationFocus() 158 if (appType != CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION) { in changeNavContextOwner()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioTestFragment.java | 21 import static android.car.CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION; 22 import static android.car.CarAppFocusManager.APP_FOCUS_TYPE_VOICE_COMMAND; 51 import android.car.CarAppFocusManager; 52 import android.car.CarAppFocusManager.OnAppFocusChangedListener; 53 import android.car.CarAppFocusManager.OnAppFocusOwnershipCallback; 128 private CarAppFocusManager mAppFocusManager; 166 private final CarAppFocusManager.OnAppFocusOwnershipCallback mOwnershipCallbacks = 191 (CarAppFocusManager) car.getCarManager(Car.APP_FOCUS_SERVICE); in connectCar()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/ |
D | InstrumentClusterServiceTest.java | 31 import android.car.CarAppFocusManager; 135 mNavigationService.onFocusAcquired(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, in initService()
|
/packages/services/Car/service/src/com/android/car/ |
D | AppFocusService.java | 18 import android.car.CarAppFocusManager; 157 return CarAppFocusManager.APP_FOCUS_REQUEST_FAILED; in requestAppFocus() 190 return CarAppFocusManager.APP_FOCUS_REQUEST_SUCCEEDED; in requestAppFocus()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeAppFocusService.java | 19 import android.car.CarAppFocusManager;
|