Searched refs:mPendingCallbacks (Results 1 – 3 of 3) sorted by relevance
456 private final SparseArray<ControlRequestCallback> mPendingCallbacks = field in RegisteredMediaRouteProvider.Connection497 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 …]
448 private final SparseArray<ControlRequestCallback> mPendingCallbacks = field in RegisteredMediaRouteProvider.Connection489 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 …]
1922 private final List<Callback> mPendingCallbacks = new ArrayList<>(); field in MediaControllerCompat.MediaControllerImplApi211963 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()