Home
last modified time | relevance | path

Searched refs:mPendingCallbacks (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
DRegisteredMediaRouteProvider.java456 private final SparseArray<ControlRequestCallback> mPendingCallbacks = field in RegisteredMediaRouteProvider.Connection
497 for (int i = 0; i < mPendingCallbacks.size(); i++) { in failPendingCallbacks()
498 mPendingCallbacks.valueAt(i).onError(null, null); in failPendingCallbacks()
500 mPendingCallbacks.clear(); in failPendingCallbacks()
508 ControlRequestCallback callback = mPendingCallbacks.get(requestId); in onGenericFailure()
510 mPendingCallbacks.remove(requestId); in onGenericFailure()
545 ControlRequestCallback callback = mPendingCallbacks.get(requestId); in onControlRequestSucceeded()
547 mPendingCallbacks.remove(requestId); in onControlRequestSucceeded()
555 ControlRequestCallback callback = mPendingCallbacks.get(requestId); in onControlRequestFailed()
557 mPendingCallbacks.remove(requestId); in onControlRequestFailed()
[all …]
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
DRegisteredMediaRouteProvider.java448 private final SparseArray<ControlRequestCallback> mPendingCallbacks = field in RegisteredMediaRouteProvider.Connection
489 for (int i = 0; i < mPendingCallbacks.size(); i++) { in failPendingCallbacks()
490 mPendingCallbacks.valueAt(i).onError(null, null); in failPendingCallbacks()
492 mPendingCallbacks.clear(); in failPendingCallbacks()
500 ControlRequestCallback callback = mPendingCallbacks.get(requestId); in onGenericFailure()
502 mPendingCallbacks.remove(requestId); in onGenericFailure()
537 ControlRequestCallback callback = mPendingCallbacks.get(requestId); in onControlRequestSucceeded()
539 mPendingCallbacks.remove(requestId); in onControlRequestSucceeded()
547 ControlRequestCallback callback = mPendingCallbacks.get(requestId); in onControlRequestFailed()
549 mPendingCallbacks.remove(requestId); in onControlRequestFailed()
[all …]
/frameworks/support/media/src/main/java/android/support/v4/media/session/
DMediaControllerCompat.java1922 private final List<Callback> mPendingCallbacks = new ArrayList<>(); field in MediaControllerCompat.MediaControllerImplApi21
1963 synchronized (mPendingCallbacks) { in registerCallback()
1965 mPendingCallbacks.add(callback); in registerCallback()
1984 synchronized (mPendingCallbacks) { in unregisterCallback()
1985 mPendingCallbacks.remove(callback); in unregisterCallback()
2181 synchronized (mPendingCallbacks) { in processPendingCallbacks()
2182 for (Callback callback : mPendingCallbacks) { in processPendingCallbacks()
2194 mPendingCallbacks.clear(); in processPendingCallbacks()