commit | d893766f02af560e0f9e7abc60a443684a000c23 | [log] [tgz] |
---|---|---|
author | Weston Carvalho <westoncarvalho@google.com> | Mon Nov 18 23:32:26 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Nov 18 23:32:26 2024 +0000 |
tree | 5b8d2ce3865002c220ca869b23ac13950318fe80 | |
parent | 946c8810cc9c43b81779488601c2fc41be15ac49 [diff] | |
parent | cfa4051a42a69d9a5a7e1c7f75502c061adfba7e [diff] |
Merge "Clarify `IStorageSession`'s `WOULD_BLOCK` behavior" into main am: 28e0e7b92c am: cfa4051a42 Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3354679 Change-Id: Ib6a0da8d35ead95d08791227464c058673459143 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/staging/security/see/storage/aidl/android/hardware/security/see/storage/ISecureStorage.aidl b/staging/security/see/storage/aidl/android/hardware/security/see/storage/ISecureStorage.aidl index 022de9a..1841bf5 100644 --- a/staging/security/see/storage/aidl/android/hardware/security/see/storage/ISecureStorage.aidl +++ b/staging/security/see/storage/aidl/android/hardware/security/see/storage/ISecureStorage.aidl
@@ -34,6 +34,13 @@ /** * Starts a storage session for a filesystem. * + * Clients should be prepared for `startSession` and any methods called on the `IStorageSession` + * or its sub-interfaces to return `WOULD_BLOCK` (a `binder::Status` with an exception code of + * `EX_TRANSACTION_FAILED` and a transaction error code of `android::WOULD_BLOCK`), which + * indicates that the requested storage is not currently available. Possible cases that might + * cause this return code might be accessing the data partition during boot stages where it + * isn't yet mounted or attempting to commit changes while an A/B update is in progress. + * * @filesystem: * The minimum filesystem properties requested. *