Home
last modified time | relevance | path

Searched refs:APP_CONTEXT_NAVIGATION (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/
DCarAppContextManagerTest.java40 mManager.setActiveContexts(null, CarAppContextManager.APP_CONTEXT_NAVIGATION); in testSetActiveNullListener()
81 mManager.registerContextListener(change, CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
83 manager2.registerContextListener(change2, CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
86 mManager.setActiveContexts(owner, CarAppContextManager.APP_CONTEXT_NAVIGATION); in testContextChange()
87 int expectedContexts = CarAppContextManager.APP_CONTEXT_NAVIGATION; in testContextChange()
92 assertFalse(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
94 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION)); in testContextChange()
102 expectedContexts = CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
104 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION)); in testContextChange()
106 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
[all …]
DCarNavigationManagerTest.java91 }, CarAppContextManager.APP_CONTEXT_NAVIGATION); in testStart()
97 }, CarAppContextManager.APP_CONTEXT_NAVIGATION); in testStart()
99 CarAppContextManager.APP_CONTEXT_NAVIGATION)); in testStart()
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
DCarAppContextManagerTest.java40 mManager.setActiveContexts(null, CarAppContextManager.APP_CONTEXT_NAVIGATION); in testSetActiveNullListener()
81 mManager.registerContextListener(change, CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
83 manager2.registerContextListener(change2, CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
86 mManager.setActiveContexts(owner, CarAppContextManager.APP_CONTEXT_NAVIGATION); in testContextChange()
87 int expectedContexts = CarAppContextManager.APP_CONTEXT_NAVIGATION; in testContextChange()
92 assertFalse(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
94 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION)); in testContextChange()
102 expectedContexts = CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
104 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION)); in testContextChange()
106 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
[all …]
DCarNavigationManagerTest.java18 import static android.support.car.CarAppContextManager.APP_CONTEXT_NAVIGATION;
85 }, APP_CONTEXT_NAVIGATION); in testStart()
91 }, APP_CONTEXT_NAVIGATION); in testStart()
92 assertTrue(mCarAppContextManager.isOwningContext(APP_CONTEXT_NAVIGATION)); in testStart()
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/
DAppContextTest.java55 manager.registerContextListener(listener, CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
57 manager.setActiveContexts(ownershipListener, CarAppContextManager.APP_CONTEXT_NAVIGATION); in testContextChange()
59 manager.resetActiveContexts(CarAppContextManager.APP_CONTEXT_NAVIGATION); in testContextChange()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java91 }, CarAppContextManager.APP_CONTEXT_NAVIGATION); in initCluster()
106 }, CarAppContextManager.APP_CONTEXT_NAVIGATION); in initCluster()
114 CarAppContextManager.APP_CONTEXT_NAVIGATION); in initCluster()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java142 }, CarAppContextManager.APP_CONTEXT_NAVIGATION | in init()
241 CarAppContextManager.APP_CONTEXT_NAVIGATION); in onCreateView()
252 CarAppContextManager.APP_CONTEXT_NAVIGATION); in onCreateView()
433 mAppContextManager.resetActiveContexts(CarAppContextManager.APP_CONTEXT_NAVIGATION | in onDestroyView()
453 CarAppContextManager.APP_CONTEXT_NAVIGATION); in handleNavStart()
473 CarAppContextManager.APP_CONTEXT_NAVIGATION); in handleNavEnd()
/packages/services/Car/car-support-lib/src/android/support/car/
DCarAppContextManager.java58 public static final int APP_CONTEXT_NAVIGATION = 0x1; field in CarAppContextManager
/packages/services/Car/car-lib/src/android/car/
DCarAppContextManager.java67 public static final int APP_CONTEXT_NAVIGATION = 0x1; field in CarAppContextManager
/packages/services/Car/service/src/com/android/car/cluster/
DCarNavigationService.java169 CarAppContextManager.APP_CONTEXT_NAVIGATION)) { in verifyNavigationContextOwner()