Home
last modified time | relevance | path

Searched refs:ownershipListener (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/car-support-lib/src/android/support/car/
DCarAppContextManagerEmbedded.java89 public void setActiveContexts(AppContextOwnershipChangeListener ownershipListener, in setActiveContexts() argument
92 if (ownershipListener == null) { in setActiveContexts()
96 new AppContextOwnershipChangeListenerProxy(ownershipListener); in setActiveContexts()
DCarAppContextManager.java113 public abstract void setActiveContexts(AppContextOwnershipChangeListener ownershipListener, in setActiveContexts() argument
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/
DAppContextTest.java54 ContextOwnershipChangeListerner ownershipListener = new ContextOwnershipChangeListerner(); in testContextChange() local
57 manager.setActiveContexts(ownershipListener, CarAppContextManager.APP_CONTEXT_NAVIGATION); in testContextChange()
58 … manager.setActiveContexts(ownershipListener, CarAppContextManager.APP_CONTEXT_VOICE_COMMAND); in testContextChange()
/packages/services/Car/car-lib/src/android/car/
DCarAppContextManager.java167 public void setActiveContexts(AppContextOwnershipChangeListener ownershipListener, int contexts) in setActiveContexts() argument
169 if (ownershipListener == null) { in setActiveContexts()
180 mOwnershipListeners.put(flag, ownershipListener); in setActiveContexts()