Add tests covering android.system.keystore2.IKeystoreOperation::abort
API.

1. When attempting to abort a finalized operation, the test should
   expect the backend implementation to return an
   `ErrorCode::INVALID_OPERATION_HANDLE`

2. If an operation is aborted before completion, the test should expect
   the operation to finalize successfully. Additionally, attempting to
   reuse the aborted operation handle should result in an
   `INVALID_OPERATION_HANDLE` error code.

3. To test concurrency and abort behavior, create multiple threads that
   use the same operation handle to perform a large number of update
   operations. Subsequently, attempt to abort the operation. The abort
   operation should fail with an `OPERATION_BUSY` error response,
   indicating that the operation is currently in use by multiple
   threads.

Bug: 361167455
Test: atest keystore2_client_tests
Change-Id: Icc2ccddb86bc08f91468746e0bdcb47c43fea635
1 file changed