int64_t TransactionCompletedListener::getNextIdLocked() {
    return mCallbackIdCounter++;
}

先返回,再自增。mCallbackIdCounter 从 1 开始,0 表示无效值。