Searched refs:mRemoteSessionCallbacks (Results 1 – 1 of 1) sorted by relevance
115 mRemoteSessionCallbacks = new ArrayMap<>(); field in MediaSessionManager542 int prevCallbackCount = mRemoteSessionCallbacks.size(); in registerRemoteSessionCallback()543 mRemoteSessionCallbacks.put(callback, executor); in registerRemoteSessionCallback()544 if (prevCallbackCount == 0 && mRemoteSessionCallbacks.size() == 1) { in registerRemoteSessionCallback()571 if (mRemoteSessionCallbacks.remove(callback) != null in unregisterRemoteSessionCallback()572 && mRemoteSessionCallbacks.size() == 0) { in unregisterRemoteSessionCallback()1423 callbacks.putAll(mRemoteSessionCallbacks); in onVolumeChanged()1434 callbacks.putAll(mRemoteSessionCallbacks); in onSessionChanged()