Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
DALooperRoster.cpp49 mHandlers.add(handlerID, info); in registerHandler()
59 ssize_t index = mHandlers.indexOfKey(handlerID); in unregisterHandler()
65 const HandlerInfo &info = mHandlers.valueAt(index); in unregisterHandler()
73 mHandlers.removeItemsAt(index); in unregisterHandler()
82 for (size_t i = mHandlers.size(); i > 0;) { in unregisterStaleHandlers()
84 const HandlerInfo &info = mHandlers.valueAt(i); in unregisterStaleHandlers()
88 ALOGV("Unregistering stale handler %d", mHandlers.keyAt(i)); in unregisterStaleHandlers()
89 mHandlers.removeItemsAt(i); in unregisterStaleHandlers()
133 size_t n = mHandlers.size(); in dump()
137 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/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DTransitions.java89 private final ArrayList<TransitionHandler> mHandlers = new ArrayList<>(); field in Transitions
114 mHandlers.add(new DefaultTransitionHandler(pool, context, mainExecutor, animExecutor)); in Transitions()
117 mHandlers.add(mRemoteTransitionHandler); in Transitions()
155 for (int i = mHandlers.size() - 1; i >= 0; --i) { in dispatchAnimScaleSetting()
156 mHandlers.get(i).setAnimScaleSetting(scale); in dispatchAnimScaleSetting()
189 mHandlers.add(handler); in addHandler()
203 mHandlers.set(0, handler); in replaceDefaultHandlerForTest()
402 for (int i = mHandlers.size() - 1; i >= 0; --i) { in playTransition()
403 if (mHandlers.get(i) == active.mHandler) continue; in playTransition()
405 mHandlers.get(i)); in playTransition()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DBroadcasterTest.java66 Handler mHandlers[]; field in BroadcasterTest.Tests2and3
71 mHandlers = new Handler[N]; in go()
74 mHandlers[i] = new H(); in go()
76 b.request(MESSAGE_A, mHandlers[i], MESSAGE_B + i); in go()
90 if (msg.getTarget() == mHandlers[index]) { in handleMessage()
/frameworks/av/media/libstagefright/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