Home
last modified time | relevance | path

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

/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/
DCarAppContextManagerTest.java90 assertTrue(mManager.isOwningContext(expectedContexts)); in testContextChange()
91 assertFalse(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_VOICE_COMMAND)); in testContextChange()
92 assertFalse(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
94 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION)); in testContextChange()
95 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_VOICE_COMMAND)); in testContextChange()
104 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION)); in testContextChange()
105 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_VOICE_COMMAND)); in testContextChange()
106 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
108 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION)); in testContextChange()
109 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_VOICE_COMMAND)); in testContextChange()
[all …]
DCarNavigationManagerTest.java98 assertTrue(mCarAppContextManager.isOwningContext( in testStart()
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
DCarAppContextManagerTest.java90 assertTrue(mManager.isOwningContext(expectedContexts)); in testContextChange()
91 assertFalse(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_VOICE_COMMAND)); in testContextChange()
92 assertFalse(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
94 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION)); in testContextChange()
95 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_VOICE_COMMAND)); in testContextChange()
104 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION)); in testContextChange()
105 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_VOICE_COMMAND)); in testContextChange()
106 assertTrue(mManager.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange()
108 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_NAVIGATION)); in testContextChange()
109 assertFalse(manager2.isOwningContext(CarAppContextManager.APP_CONTEXT_VOICE_COMMAND)); in testContextChange()
[all …]
DCarNavigationManagerTest.java92 assertTrue(mCarAppContextManager.isOwningContext(APP_CONTEXT_NAVIGATION)); in testStart()
/packages/services/Car/car-support-lib/src/android/support/car/
DCarAppContextManagerEmbedded.java80 public boolean isOwningContext(int context) throws CarNotConnectedException { in isOwningContext() method in CarAppContextManagerEmbedded
82 return mManager.isOwningContext(context); in isOwningContext()
DCarAppContextManager.java99 public abstract boolean isOwningContext(int context) throws CarNotConnectedException; in isOwningContext() method in CarAppContextManager
/packages/services/Car/car-lib/src/android/car/
DCarAppContextManager.java146 public boolean isOwningContext(int context) throws CarNotConnectedException { in isOwningContext() method in CarAppContextManager
148 return mService.isOwningContext(mBinderListener, context); in isOwningContext()
DIAppContext.aidl27 boolean isOwningContext(IAppContextListener listener, int context) = 3; in isOwningContext() method
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java113 mCarAppContextManager.isOwningContext( in initCluster()
/packages/services/Car/service/src/com/android/car/
DAppContextService.java89 public boolean isOwningContext(IAppContextListener listener, int context) { in isOwningContext() method in AppContextService