HomeSort by relevance Sort by last modified time
    Searched refs:APP_CONTEXT_NAVIGATION (Results 1 - 11 of 11) sorted by null

  /cts/tests/tests/car/src/android/car/cts/
CarAppContextManagerTest.java 38 mManager.setActiveContexts(null, CarAppContextManager.APP_CONTEXT_NAVIGATION);
79 mManager.registerContextListener(change, CarAppContextManager.APP_CONTEXT_NAVIGATION |
81 manager2.registerContextListener(change2, CarAppContextManager.APP_CONTEXT_NAVIGATION |
84 mManager.setActiveContexts(owner, CarAppContextManager.APP_CONTEXT_NAVIGATION);
85 int expectedContexts = CarAppContextManager.APP_CONTEXT_NAVIGATION;
90 assertFalse(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION |
92 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION));
100 expectedContexts = CarAppContextManager.APP_CONTEXT_NAVIGATION |
102 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION));
104 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION |
    [all...]
  /packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/
CarAppContextManagerTest.java 40 mManager.setActiveContexts(null, CarAppContextManager.APP_CONTEXT_NAVIGATION);
81 mManager.registerContextListener(change, CarAppContextManager.APP_CONTEXT_NAVIGATION |
83 manager2.registerContextListener(change2, CarAppContextManager.APP_CONTEXT_NAVIGATION |
86 mManager.setActiveContexts(owner, CarAppContextManager.APP_CONTEXT_NAVIGATION);
87 int expectedContexts = CarAppContextManager.APP_CONTEXT_NAVIGATION;
92 assertFalse(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION |
94 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION));
102 expectedContexts = CarAppContextManager.APP_CONTEXT_NAVIGATION |
104 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION));
106 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION |
    [all...]
CarNavigationManagerTest.java 83 // Expected. Client should acquire context ownership for APP_CONTEXT_NAVIGATION.
91 }, CarAppContextManager.APP_CONTEXT_NAVIGATION);
97 }, CarAppContextManager.APP_CONTEXT_NAVIGATION);
99 CarAppContextManager.APP_CONTEXT_NAVIGATION));
  /packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
CarAppContextManagerTest.java 40 mManager.setActiveContexts(null, CarAppContextManager.APP_CONTEXT_NAVIGATION);
81 mManager.registerContextListener(change, CarAppContextManager.APP_CONTEXT_NAVIGATION |
83 manager2.registerContextListener(change2, CarAppContextManager.APP_CONTEXT_NAVIGATION |
86 mManager.setActiveContexts(owner, CarAppContextManager.APP_CONTEXT_NAVIGATION);
87 int expectedContexts = CarAppContextManager.APP_CONTEXT_NAVIGATION;
92 assertFalse(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION |
94 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION));
102 expectedContexts = CarAppContextManager.APP_CONTEXT_NAVIGATION |
104 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION));
106 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION |
    [all...]
CarNavigationManagerTest.java 18 import static android.support.car.CarAppContextManager.APP_CONTEXT_NAVIGATION;
77 // Expected. Client should acquire context ownership for APP_CONTEXT_NAVIGATION.
85 }, APP_CONTEXT_NAVIGATION);
91 }, APP_CONTEXT_NAVIGATION);
92 assertTrue(mCarAppContextManager.isOwningContext(APP_CONTEXT_NAVIGATION));
  /packages/services/Car/car-support-lib/src/android/support/car/
CarAppContextManager.java 47 * upon getting this for {@link CarAppContextManager#APP_CONTEXT_NAVIGATION}.
58 public static final int APP_CONTEXT_NAVIGATION = 0x1;
  /packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
InstrumentClusterFragment.java 91 }, CarAppContextManager.APP_CONTEXT_NAVIGATION);
106 }, CarAppContextManager.APP_CONTEXT_NAVIGATION);
114 CarAppContextManager.APP_CONTEXT_NAVIGATION);
115 Log.d(TAG, "Owns APP_CONTEXT_NAVIGATION: " + ownsContext);
  /packages/services/Car/tests/carservice_test/src/com/android/support/car/test/
AppContextTest.java 55 manager.registerContextListener(listener, CarAppContextManager.APP_CONTEXT_NAVIGATION |
57 manager.setActiveContexts(ownershipListener, CarAppContextManager.APP_CONTEXT_NAVIGATION);
59 manager.resetActiveContexts(CarAppContextManager.APP_CONTEXT_NAVIGATION);
  /packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
AudioTestFragment.java 142 }, CarAppContextManager.APP_CONTEXT_NAVIGATION |
241 CarAppContextManager.APP_CONTEXT_NAVIGATION);
252 CarAppContextManager.APP_CONTEXT_NAVIGATION);
433 mAppContextManager.resetActiveContexts(CarAppContextManager.APP_CONTEXT_NAVIGATION |
453 CarAppContextManager.APP_CONTEXT_NAVIGATION);
473 CarAppContextManager.APP_CONTEXT_NAVIGATION);
  /packages/services/Car/car-lib/src/android/car/
CarAppContextManager.java 56 * upon getting this for {@link CarAppContextManager#APP_CONTEXT_NAVIGATION}.
67 public static final int APP_CONTEXT_NAVIGATION = 0x1;
  /packages/services/Car/service/src/com/android/car/cluster/
CarNavigationService.java 169 CarAppContextManager.APP_CONTEXT_NAVIGATION)) {
171 "Client is not an owner of APP_CONTEXT_NAVIGATION.");

Completed in 235 milliseconds