Lines Matching refs:failure
136 * failure - Zero indicates that connection with the device has been successfuly
137 * established. Non-zero vaule passed in this parameter indicates a failure,
138 * and contains 'errno'-reason for failure.
140 typedef void (*device_connected_cb)(void* opaque, AndroidDevice* ad, int failure);
154 /* Callback routine that is invoked when an I/O failure occurs on a channel.
159 * failure - Contains 'errno' indicating the reason for failure.
161 typedef void (*io_failure_cb)(void* opaque, AndroidDevice* ad, int failure);
187 * on_io_failure - Callback to invoke when an I/O failure occurs on a channel
190 * Initialized android device descriptor on success, or NULL on failure.
209 * Zero on success, or non-zero value on failure with 'errno' properly set.
220 * routine returns with a failure.
222 * Zero on success, or non-zero value on failure with 'errno' properly set.
240 * Zero on success, or non-zero value on failure with 'errno' properly set:
261 * Zero on success, or non-zero value on failure with 'errno' properly set:
274 * Number of bytes transferred on success, or -1 on failure with errno
275 * containing the reason for failure.
287 * Zero on success, or non-zero value on failure with 'errno' properly set.
296 * invoked even if this routine returns with a failure.
298 * Zero on success, or non-zero value on failure with 'errno' properly set.