/device/google/cuttlefish/guest/hals/nfc/src/ |
D | nfc.rs | 48 Err(err) => { in send_data_callback() 50 Err(err) in send_data_callback() 58 Err(err) => { in send_event_callback() 60 Err(err) in send_event_callback() 97 Err(binder::Status::new_service_specific_error(NfcStatus::FAILED.0, None)) in ensure_opened() 107 Err(binder::Status::new_service_specific_error(NfcStatus::FAILED.0, None)) in ensure_opened_mut() 120 _ => Err(binder::Status::new_service_specific_error(NfcStatus::FAILED.0, None)), in close() 181 if let Err(e) = log_packet(&buf[0..total_packet_length]) { in new() 190 if let Err(e) = client.send_data_callback(&buf[0..total_packet_length]) { in new() 261 Err(binder::Status::new_service_specific_error(NfcStatus::FAILED.0, None)) in close() [all …]
|
/device/google/cuttlefish/host/commands/secure_env/rust/ |
D | lib.rs | 92 Err(e) => { in ta_main() 163 if let Err(e) = nix::sys::select::select( in ta_main() 177 if let Err(e) = infile.read_exact(&mut req_len_data) { in ta_main() 187 if let Err(e) = infile.read_exact(req_data) { in ta_main() 203 Err(_e) => { in ta_main() 209 if let Err(e) = outfile.write_all(&rsp_len_data[..]) { in ta_main() 213 if let Err(e) = outfile.write_all(&rsp) { in ta_main() 228 if let Err(e) = snapshot_socket.read_exact(std::slice::from_mut(&mut suspend_request)) { in ta_main() 240 if let Err(e) = snapshot_socket.write_all(&[SNAPSHOT_SOCKET_MESSAGE_SUSPEND_ACK]) { in ta_main() 246 if let Err(e) = snapshot_socket.read_exact(std::slice::from_mut(&mut resume_request)) { in ta_main()
|
D | sdd.rs | 94 return Err(km_err!(UnknownError, "no factory secret available")); in get_factory_reset_secret() 133 Err(e) => { in new_secret() 137 Err(e) in new_secret() 171 if let Err(e) = write_sdd_file(&self.data) { in delete_secret() 174 return Err(e); in delete_secret() 188 Err(e) => error!("Couldn't delete file: {:?}", e), in delete_all()
|
D | tpm.rs | 57 Err(km_err!(UnknownError, "HMAC calculation failed")) in tpm_hmac() 65 return Err(km_err!(UnknownError, "overflow in hkdf")); in hkdf_expand() 159 Err(km_err!(UnknownError, "unexpected call to full hkdf operation")) in hkdf() 168 Err(km_err!(UnknownError, "unexpected call to hkdf extract")) in extract() 180 return Err(km_err!( in expand() 190 return Err(km_err!(UnknownError, "unexpected root kek in key derivation")); in expand()
|
/device/google/cuttlefish/guest/hals/keymint/rust/src/ |
D | keymint_hal_main.rs | 61 return Err(HalServiceError(format!( in set_terminal_raw() 75 return Err(HalServiceError(format!( in set_terminal_raw() 85 if let Err(HalServiceError(e)) = inner_main() { in main() 113 return Err(HalServiceError(format!( in inner_main() 161 if let Err(e) = kmr_hal::send_hal_info(channel.lock().unwrap().deref_mut()) { in inner_main() 168 if let Err(e) = kmr_hal::send_attest_ids(channel.lock().unwrap().deref_mut(), attest_ids) { in inner_main()
|
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/ |
D | lib.rs | 388 return Err(Error::EnvNoPkgConfig(abort_var_name)); in probe() 390 return Err(Error::CrossCompilation); in probe() 454 (Err(env::VarError::NotPresent), _) | (_, Err(env::VarError::NotPresent)) => { in targeted_env_var() 457 (Err(env::VarError::NotUnicode(s)), _) | (_, Err(env::VarError::NotUnicode(s))) => { in targeted_env_var() 824 Err(Error::Failure { in run() 830 Err(cause) => Err(Error::Command { in run()
|
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/ |
D | lib.rs | 57 Err(error) => return Err(error), 143 None => Err(error::from_str("no OUT_DIR specified!")), in new() 166 return Err(error::from_str("output path is not a writable directory")); in with_dir()
|
D | version.rs | 32 return Err(error::from_str("could not execute rustc")); in from_rustc() 39 None => return Err(error::from_str("could not find rustc release")), in from_rustc()
|
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/tests/ |
D | test.rs | 44 Err(Error::CrossCompilation) => {} in cross_disabled() 78 Err(Error::CrossCompilation) => {} in cross_disabled_if_customized() 89 Err(Error::EnvNoPkgConfig(name)) => assert_eq!(name, "FOO_NO_PKG_CONFIG"), in package_disabled()
|
/device/google/cuttlefish/host/commands/append_squashfs_overlay/src/ |
D | main.rs | 43 return Err(Error::new( in merge_fs() 55 return Err(Error::new(ErrorKind::InvalidData, "The source image isn't a squashfs image.")); in merge_fs()
|
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/ |
D | MediaH264Decoder.cpp | 166 } else if (res.ret == (int)(Err::DecoderRestarted)) { in getImage() 204 } else if (res.ret == (int)(Err::DecoderRestarted)) { in renderOnHostAndReturnImageMetadata()
|
D | GoldfishAVCDec.cpp | 371 h264_result_t h264Res = {(int)MediaH264Decoder::Err::NoErr, 0}; in onQueueFilled() 387 if (h264Res.ret == (int)MediaH264Decoder::Err::DecoderRestarted) { in onQueueFilled()
|
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/ |
D | MediaHevcDecoder.cpp | 184 } else if (res.ret == (int)(Err::DecoderRestarted)) { in getImage() 224 } else if (res.ret == (int)(Err::DecoderRestarted)) { in renderOnHostAndReturnImageMetadata()
|
D | MediaHevcDecoder.h | 70 enum class Err : int { enum
|
/device/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/ |
D | MediaH264Decoder.cpp | 184 } else if (res.ret == (int)(Err::DecoderRestarted)) { in getImage() 224 } else if (res.ret == (int)(Err::DecoderRestarted)) { in renderOnHostAndReturnImageMetadata()
|
D | MediaH264Decoder.h | 70 enum class Err : int { enum
|
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/include/ |
D | MediaH264Decoder.h | 68 enum class Err : int { enum
|
/device/google/cuttlefish/shared/minidroid/sample/ |
D | client.rs | 25 return Err(format!("usage: {} CID port", std::env::args().next().unwrap()).into()); in main()
|
/device/google/cuttlefish/guest/hals/light/ |
D | lights.rs | 110 Err(Status::new_exception(ExceptionCode::UNSUPPORTED_OPERATION, None)) in setLightState()
|
/device/google/cuttlefish/guest/hals/light/lights/ |
D | lights_vsock_server.rs | 83 if let Err(e) = Self::send_buffer_with_length(&connection, json_as_vec) in new()
|