FailureReason
The server's structured reason for a failed call (ServerException.reason). UNSPECIFIED means the failure did not come from the daemon (a transport failure, a proxy, a cancelled call) or carried a reason this client version does not know.
Entries
Caller input the daemon rejected before doing anything.
Missing or wrong daemon token.
The client connection is not (or no longer) known to the daemon.
The attached device is not (or no longer) attached.
Another session holds the device's lock (DeviceBusyException).
The device's journal keeps it out of service (DeviceQuarantinedException).
A host-side wait (app process, window, idle) ran out of time (WaitTimeoutException).
An ADB command did not finish within its timeout.
An ADB command failed.
An ADB command left an uncertain residual; the device may have changed.
An app lifecycle postcondition did not hold (AppLifecycleException).
The installed driver is not the build this daemon expects.
The driver could not be started or authenticated.
The driver connection was lost around a host-issued command.
A host-issued driver command failed.
The session can no longer run operations: detach and attach again.
The daemon cannot serve the request in its current state.
The ref is not in the attached device's latest screen snapshot.
The ref's node had no selector that matched it alone.
The device's API level is too low for the call (detail REQUIRES_API_<n>).
A device setting did not read back as written (or could not be restored).
A device file was not written or read as asked: it exists and this device handle did not create it, its directory is missing, it is not a regular file, or it did not read back.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.