diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2022-01-27 11:06:42 +0000 |
|---|---|---|
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-01-27 11:06:42 +0000 |
| commit | 2dd3ce73eed8b3efa228a62a6c91267b802317bd (patch) | |
| tree | 2e4b35e2a2caf2c54a0d0691cfe34766a5afec30 /framework/java/android/bluetooth/BluetoothStatusCodes.java | |
| parent | 83882cb5a61019ac1ce6db1d486d9e9c5906d11e (diff) | |
| parent | 7e8af675ebfc6169d00911e44ef12dc683de7417 (diff) | |
Merge changes from topic "mig" am: 7e8af675eb
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1952559
Change-Id: Ic368ed59815b51e66631922f7ccefcfaf5d39e50
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothStatusCodes.java')
| -rw-r--r-- | framework/java/android/bluetooth/BluetoothStatusCodes.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothStatusCodes.java b/framework/java/android/bluetooth/BluetoothStatusCodes.java index 9dafa073ab..c6f6cde44e 100644 --- a/framework/java/android/bluetooth/BluetoothStatusCodes.java +++ b/framework/java/android/bluetooth/BluetoothStatusCodes.java @@ -96,6 +96,14 @@ public final class BluetoothStatusCodes { public static final int ERROR_FEATURE_NOT_SUPPORTED = 10; /** + * Error code indicating that the requested operation timed out. + * + * @hide + */ + @SystemApi + public static final int ERROR_TIMEOUT = 15; + + /** * A GATT writeCharacteristic request is not permitted on the remote device. */ public static final int ERROR_GATT_WRITE_NOT_ALLOWED = 101; @@ -106,6 +114,22 @@ public final class BluetoothStatusCodes { public static final int ERROR_GATT_WRITE_REQUEST_BUSY = 102; /** + * Indicates that the operation is allowed. + * + * @hide + */ + @SystemApi + public static final int ALLOWED = 400; + + /** + * Indicates that the operation is not allowed. + * + * @hide + */ + @SystemApi + public static final int NOT_ALLOWED = 401; + + /** * If another application has already requested {@link OobData} then another fetch will be * disallowed until the callback is removed. * |
