Searched refs:mRemoteSessionCallbacks (Results 1 – 1 of 1) sorted by relevance
115 mRemoteSessionCallbacks = new ArrayMap<>(); field in MediaSessionManager534 int prevCallbackCount = mRemoteSessionCallbacks.size(); in registerRemoteSessionCallback()535 mRemoteSessionCallbacks.put(callback, executor); in registerRemoteSessionCallback()536 if (prevCallbackCount == 0 && mRemoteSessionCallbacks.size() == 1) { in registerRemoteSessionCallback()563 if (mRemoteSessionCallbacks.remove(callback) != null in unregisterRemoteSessionCallback()564 && mRemoteSessionCallbacks.size() == 0) { in unregisterRemoteSessionCallback()1418 callbacks.putAll(mRemoteSessionCallbacks); in onVolumeChanged()1429 callbacks.putAll(mRemoteSessionCallbacks); in onSessionChanged()