Searched refs:op_handle_ (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/keymaster/4.1/vts/functional/ |
D | Keymaster4_1HidlTest.cpp | 32 V4_0::ErrorCode result = Begin(operation, key_blob, in_params, &begin_out_params, &op_handle_); in ProcessMessage() 42 result = Update(op_handle_, update_params, message, &update_out_params, &output, &consumed); in ProcessMessage() 51 result = Finish(op_handle_, finish_params, message.substr(consumed), unused, &finish_out_params, in ProcessMessage() 53 op_handle_ = V4_0::test::kOpHandleSentinel; in ProcessMessage()
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | KeymasterHidlTest.cpp | 272 EXPECT_EQ(kOpHandleSentinel, op_handle_); in Begin() 273 return Begin(purpose, key_blob_, in_params, out_params, &op_handle_); in Begin() 307 ErrorCode error = Update(op_handle_, AuthorizationSet() /* in_params */, input, &out_params, in Update() 329 op_handle_ = kOpHandleSentinel; // So dtor doesn't Abort(). in Finish() 337 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, in Finish() 350 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, signature, in Finish() 352 op_handle_ = kOpHandleSentinel; // So dtor doesn't Abort(). in Finish() 369 if (op_handle_ != kOpHandleSentinel) { in AbortIfNeeded() 370 EXPECT_EQ(ErrorCode::OK, Abort(op_handle_)); in AbortIfNeeded() 371 op_handle_ = kOpHandleSentinel; in AbortIfNeeded() [all …]
|
D | keymaster_hidl_hal_test.cpp | 1125 EXPECT_EQ(ErrorCode::OK, Abort(op_handle_)); in TEST_P() 1128 EXPECT_EQ(ErrorCode::INVALID_OPERATION_HANDLE, Abort(op_handle_)); in TEST_P() 1131 op_handle_ = kOpHandleSentinel; in TEST_P() 1423 &output_params, &op_handle_)); in TEST_P() 1444 &output_params, &op_handle_)); in TEST_P() 1752 &out_params, &op_handle_)); in TEST_P() 3151 Finish(op_handle_, update_params, message, "", &update_out_params, &ciphertext)); in TEST_P() 3162 ASSERT_EQ(ErrorCode::OK, Update(op_handle_, update_params, ciphertext, &update_out_params, in TEST_P() 3203 Finish(op_handle_, update_params, message, "", &update_out_params, &ciphertext)); in TEST_P() 3215 ASSERT_EQ(ErrorCode::OK, Update(op_handle_, update_params, ciphertext, &update_out_params, in TEST_P() [all …]
|
D | KeymasterHidlTest.h | 219 OperationHandle op_handle_ = kOpHandleSentinel; variable
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 600 EXPECT_EQ(kOpHandleSentinel, op_handle_); in Begin() 601 return Begin(purpose, key_blob_, in_params, out_params, &op_handle_); in Begin() 634 ErrorCode error = Update(op_handle_, AuthorizationSet() /* in_params */, input, &out_params, in Update() 655 op_handle_ = kOpHandleSentinel; // So dtor doesn't Abort(). in Finish() 663 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, in Finish() 675 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, signature, in Finish() 677 op_handle_ = kOpHandleSentinel; // So dtor doesn't Abort(). in Finish() 694 if (op_handle_ != kOpHandleSentinel) { in AbortIfNeeded() 695 EXPECT_EQ(ErrorCode::OK, Abort(op_handle_)); in AbortIfNeeded() 696 op_handle_ = kOpHandleSentinel; in AbortIfNeeded() [all …]
|