Lines Matching defs:mSetModeDeathHandlers
432 private final ArrayList <SetModeDeathHandler> mSetModeDeathHandlers = new ArrayList <SetModeDeathHandler>();
2087 synchronized(mSetModeDeathHandlers) {
2089 int index = mSetModeDeathHandlers.indexOf(this);
2143 synchronized(mSetModeDeathHandlers) {
2156 // must be called synchronized on mSetModeDeathHandlers
2169 Iterator iter = mSetModeDeathHandlers.iterator();
2184 if (!mSetModeDeathHandlers.isEmpty()) {
2185 hdlr = mSetModeDeathHandlers.get(0);
2207 mSetModeDeathHandlers.add(0, hdlr);
2218 mSetModeDeathHandlers.remove(hdlr);
2221 // force reading new top of mSetModeDeathHandlers stack
2228 } while (status != AudioSystem.AUDIO_STATUS_OK && !mSetModeDeathHandlers.isEmpty());
2232 if (mSetModeDeathHandlers.isEmpty()) {
2235 newModeOwnerPid = mSetModeDeathHandlers.get(0).getPid();
2722 synchronized(mSetModeDeathHandlers) {
2723 if ((mSetModeDeathHandlers.isEmpty() ||
2724 mSetModeDeathHandlers.get(0).getPid() == mCreatorPid) &&
3649 // 2 mSetModeDeathHandlers