Home
last modified time | relevance | path

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

/frameworks/av/media/module/foundation/
DALooperRoster.cpp51 mHandlers.add(handlerID, info); in registerHandler()
61 ssize_t index = mHandlers.indexOfKey(handlerID); in unregisterHandler()
67 const HandlerInfo &info = mHandlers.valueAt(index); in unregisterHandler()
75 mHandlers.removeItemsAt(index); in unregisterHandler()
84 for (size_t i = mHandlers.size(); i > 0;) { in unregisterStaleHandlers()
86 const HandlerInfo &info = mHandlers.valueAt(i); in unregisterStaleHandlers()
90 ALOGV("Unregistering stale handler %d", mHandlers.keyAt(i)); in unregisterStaleHandlers()
91 mHandlers.removeItemsAt(i); in unregisterStaleHandlers()
135 size_t n = mHandlers.size(); in dump()
139 s.appendFormat(" %d: ", mHandlers.keyAt(i)); in dump()
[all …]
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java45 private HashMap<Handler, Integer> mHandlers = new HashMap<Handler, Integer>(); field in NetworkConnectivityListener
99 Iterator<Handler> it = mHandlers.keySet().iterator(); in onReceive()
102 Message message = Message.obtain(target, mHandlers.get(target)); in onReceive()
171 mHandlers.put(target, what); in registerHandler()
179 mHandlers.remove(target); in unregisterHandler()
/frameworks/av/media/libaudiohal/
DHalDeathHandlerHidl.cpp41 mHandlers.insert({cookie, handler}); in registerAtExitHandler()
46 mHandlers.erase(cookie); in unregisterAtExitHandler()
53 for (const auto& handler : mHandlers) { in serviceDied()
/frameworks/base/core/tests/coretests/src/android/os/
DBroadcasterTest.java76 Handler mHandlers[]; field in BroadcasterTest.Tests2and3
81 mHandlers = new Handler[N]; in go()
84 mHandlers[i] = new H(); in go()
86 b.request(MESSAGE_A, mHandlers[i], MESSAGE_B + i); in go()
100 if (msg.getTarget() == mHandlers[index]) { in handleMessage()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DTransitions.java215 private final ArrayList<TransitionHandler> mHandlers = new ArrayList<>(); field in Transitions
335 mHandlers.add(mDefaultTransitionHandler); in Transitions()
338 mHandlers.add(mRemoteTransitionHandler); in Transitions()
411 for (int i = mHandlers.size() - 1; i >= 0; --i) { in dispatchAnimScaleSetting()
412 mHandlers.get(i).setAnimScaleSetting(scale); in dispatchAnimScaleSetting()
421 if (mHandlers.isEmpty()) { in addHandler()
425 mHandlers.add(handler); in addHandler()
443 mHandlers.set(0, handler); in replaceDefaultHandlerForTest()
1010 for (int i = mHandlers.size() - 1; i >= 0; --i) { in dispatchTransition()
1011 if (mHandlers.get(i) == skip) continue; in dispatchTransition()
[all …]
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DALooperRoster.h45 KeyedVector<ALooper::handler_id, HandlerInfo> mHandlers; member
/frameworks/av/media/libaudiohal/include/media/audiohal/hidl/
DHalDeathHandler.h57 Handlers mHandlers; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DTouchMonitor.java340 private final Collection<TouchHandler> mHandlers;
354 for (TouchHandler handler : mHandlers) {
534 mHandlers = handlers;