Lines Matching refs:operation
282 OperationPtr operation( in BeginOperation() local
284 if (operation.get() == nullptr) return; in BeginOperation()
290 operation->set_key_id(key_id); in BeginOperation()
292 request.purpose, key_id, operation->authorizations(), request.additional_params, in BeginOperation()
298 response->error = operation->Begin(request.additional_params, &response->output_params); in BeginOperation()
302 response->op_handle = operation->operation_handle(); in BeginOperation()
303 response->error = operation_table_->Add(move(operation)); in BeginOperation()
312 Operation* operation = operation_table_->Find(request.op_handle); in UpdateOperation() local
313 if (operation == nullptr) in UpdateOperation()
318 operation->purpose(), operation->key_id(), operation->authorizations(), in UpdateOperation()
327 operation->Update(request.additional_params, request.input, &response->output_params, in UpdateOperation()
341 Operation* operation = operation_table_->Find(request.op_handle); in FinishOperation() local
342 if (operation == nullptr) in FinishOperation()
347 operation->purpose(), operation->key_id(), operation->authorizations(), in FinishOperation()
355 response->error = operation->Finish(request.additional_params, request.input, request.signature, in FinishOperation()
365 Operation* operation = operation_table_->Find(request.op_handle); in AbortOperation() local
366 if (!operation) { in AbortOperation()
371 response->error = operation->Abort(); in AbortOperation()