void TransactionCompletedListener::setReleaseBufferCallback(const ReleaseCallbackId& callbackId,
ReleaseBufferCallback listener) {
std::scoped_lock<std::mutex> lock(mMutex);
mReleaseBufferCallbacks[callbackId] = listener;
}
mReleaseBufferCallbacks
。