Home
last modified time | relevance | path

Searched refs:mHandlers (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/libstagefright/foundation/
DALooperRoster.cpp47 mHandlers.add(handlerID, info); in registerHandler()
57 ssize_t index = mHandlers.indexOfKey(handlerID); in unregisterHandler()
63 const HandlerInfo &info = mHandlers.valueAt(index); in unregisterHandler()
71 mHandlers.removeItemsAt(index); in unregisterHandler()
82 ssize_t index = mHandlers.indexOfKey(msg->target()); in postMessage_l()
89 const HandlerInfo &info = mHandlers.valueAt(index); in postMessage_l()
98 mHandlers.removeItemsAt(index); in postMessage_l()
113 ssize_t index = mHandlers.indexOfKey(msg->target()); in deliverMessage()
120 const HandlerInfo &info = mHandlers.valueAt(index); in deliverMessage()
128 mHandlers.removeItemsAt(index); in deliverMessage()
[all …]
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java44 private HashMap<Handler, Integer> mHandlers = new HashMap<Handler, Integer>(); field in NetworkConnectivityListener
98 Iterator<Handler> it = mHandlers.keySet().iterator(); in onReceive()
101 Message message = Message.obtain(target, mHandlers.get(target)); in onReceive()
170 mHandlers.put(target, what); in registerHandler()
178 mHandlers.remove(target); in unregisterHandler()
/frameworks/base/core/tests/coretests/src/android/os/
DBroadcasterTest.java69 Handler mHandlers[]; field in BroadcasterTest.Tests2and3
74 mHandlers = new Handler[N]; in go()
77 mHandlers[i] = new H(); in go()
79 b.request(MESSAGE_A, mHandlers[i], MESSAGE_B + i); in go()
93 if (msg.getTarget() == mHandlers[index]) { in handleMessage()
/frameworks/base/include/media/stagefright/foundation/
DALooperRoster.h51 KeyedVector<ALooper::handler_id, HandlerInfo> mHandlers; member
/frameworks/base/core/java/android/webkit/
DBrowserFrame.java130 private final ArrayList<WeakReference<Handler>> mHandlers = field in BrowserFrame.ConfigCallback
143 mHandlers.add(new WeakReference<Handler>(h)); in addHandler()
147 if (mHandlers.size() == 0) { in onConfigurationChanged()
172 new ArrayList<WeakReference>(mHandlers.size()); in onConfigurationChanged()
173 for (WeakReference<Handler> wh : mHandlers) { in onConfigurationChanged()
184 mHandlers.remove(weak); in onConfigurationChanged()