Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DMessageRouterImplTest.java69 mMR.subscribeTo(MESSAGE_A, mNoMdListener); in testSingleMessage_NoMetaData()
80 mMR.subscribeTo(String.class, mStringListener); in testSingleMessage_WithMetaData()
91 mMR.subscribeTo(String.class, mStringListener); in testMessages_WithMixedMetaData()
92 mMR.subscribeTo(Foobar.class, mFoobarListener); in testMessages_WithMixedMetaData()
116 mMR.subscribeTo(MESSAGE_A, mNoMdListener); in testMessages_WithAndWithoutMetaData()
117 mMR.subscribeTo(String.class, mStringListener); in testMessages_WithAndWithoutMetaData()
141 mMR.subscribeTo(String.class, mStringListener); in testRepeatedMessage()
159 mMR.subscribeTo(MESSAGE_A, mNoMdListener); in testCancelMessage()
160 mMR.subscribeTo(MESSAGE_B, mNoMdListener); in testCancelMessage()
161 mMR.subscribeTo(MESSAGE_C, mNoMdListener); in testCancelMessage()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DMessageRouter.java131 void subscribeTo(int id, SimpleMessageListener listener); in subscribeTo() method
141 <T> void subscribeTo(Class<T> messageType, DataMessageListener<T> listener); in subscribeTo() method
DMessageRouterImpl.java82 public void subscribeTo(int id, SimpleMessageListener listener) { in subscribeTo() method in MessageRouterImpl
90 public <T> void subscribeTo(Class<T> messageType, DataMessageListener<T> listener) { in subscribeTo() method in MessageRouterImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java830 mMessageRouter.subscribeTo( in CentralSurfacesImpl()
833 mMessageRouter.subscribeTo( in CentralSurfacesImpl()
836 mMessageRouter.subscribeTo(AnimateExpandSettingsPanelMessage.class, in CentralSurfacesImpl()
838 mMessageRouter.subscribeTo(MSG_LAUNCH_TRANSITION_TIMEOUT, in CentralSurfacesImpl()