Home
last modified time | relevance | path

Searched defs:Error (Results 1 – 25 of 136) sorted by relevance

123456

/packages/modules/Virtualization/pvmfw/avb/src/
Dpartition.rs56 type Error = AvbIOError; typedef
58 fn try_from(partition_name: *const c_char) -> Result<Self, Self::Error> { in try_from() argument
67 type Error = AvbIOError; typedef
69 fn try_from(partition_name: &CStr) -> Result<Self, Self::Error> { in try_from() argument
80 type Error = AvbIOError; typedef
82 fn try_from(non_null_terminated_name: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dcontext.rs32 pub fn int_getter(&self, method: &str) -> Result<i32, jni::errors::Error> { in int_getter()
36 pub fn long_getter(&self, method: &str) -> Result<i64, jni::errors::Error> { in long_getter()
40 pub fn bool_getter(&self, method: &str) -> Result<bool, jni::errors::Error> { in bool_getter()
44 pub fn byte_arr_getter(&self, method: &str) -> Result<Vec<u8>, jni::errors::Error> { in byte_arr_getter()
53 ) -> Result<JObject<'a>, jni::errors::Error> { in object_getter()
57 pub fn list_getter(&'a self, method: &str) -> Result<JList<'a, 'a>, jni::errors::Error> { in list_getter()
Dobject_mapping.rs132 type Error = Error; typedef
210 type Error = Error; typedef
218 type Error = Error; typedef
286 type Error = Error; typedef
320 type Error = Error; typedef
345 type Error = Error; typedef
415 type Error = Error; typedef
453 type Error = Error; typedef
496 type Error = Error; typedef
644 type Error = Error; typedef
Derror.rs20 pub enum Error { enum
/packages/modules/Virtualization/rialto/src/
Derror.rs24 pub enum Error { enum
33 impl fmt::Display for Error { implementation
45 impl From<HypervisorError> for Error { implementation
51 impl From<MapError> for Error { implementation
/packages/modules/Virtualization/pvmfw/src/hvc/
Dtrng.rs20 pub enum Error { enum
33 impl fmt::Display for Error { implementation
45 impl From<i64> for Error { implementation
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/viewmodels/
DInsertOrUpdateRecordsViewModel.kt70 data class Error(val errorMessage: String) : InsertedRecordsState() dataClass
75 data class Error(val errorMessage: String) : UpdatedRecordsState() dataClass
/packages/modules/Bluetooth/system/gd/rust/packets/
Dcustom_types.rs46 type Error = InvalidAddressError; typedef
48 fn try_from(slice: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
90 type Error = InvalidClassOfDeviceError; typedef
92 fn try_from(slice: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
/packages/modules/Virtualization/virtualizationmanager/src/
Dcomposite.rs37 ) -> Result<(File, Vec<File>), Error> { in make_composite_image() argument
82 fn convert_partitions(partitions: &[Partition]) -> Result<(Vec<PartitionInfo>, Vec<File>), Error> { in convert_partitions() argument
122 fn get_partition_size(partition: &File, path: &Path) -> Result<u64, Error> { in get_partition_size() argument
Dcrosvm.rs182 fn start(&mut self, instance: Arc<VmInstance>) -> Result<(), Error> { in start() argument
293 ) -> Result<VmInstance, Error> { in new() argument
325 pub fn start(self: &Arc<Self>) -> Result<(), Error> { in start() argument
463 pub fn update_payload_state(&self, new_state: PayloadState) -> Result<(), Error> { in update_payload_state() argument
477 pub fn kill(&self) -> Result<(), Error> { in kill() argument
504 pub fn trim_memory(&self, level: MemoryTrimLevel) -> Result<(), Error> { in trim_memory() argument
543 fn handle_ramdump(&self) -> Result<(), Error> { in handle_ramdump() argument
554 fn send_ramdump_to_tombstoned(ramdump_path: &Path) -> Result<(), Error> { in send_ramdump_to_tombstoned() argument
628 fn death_reason(result: &Result<ExitStatus, io::Error>, mut failure_reason: &str) -> DeathReason { in death_reason()
684 ) -> Result<SharedChild, Error> { in run_vm() argument
[all …]
/packages/modules/Virtualization/pvmfw/src/
Dcrypto.rs42 pub struct Error { struct
48 impl Error { argument
85 impl fmt::Display for Error { implementation
Drand.rs19 pub enum Error { enum
26 impl From<hvc::trng::Error> for Error { implementation
34 impl fmt::Display for Error { implementation
/packages/modules/Bluetooth/tools/rootcanal/rust/src/
Dpackets.rs40 type Error = InvalidAddressError; typedef
42 fn try_from(slice: &[u8]) -> std::result::Result<Self, Self::Error> { in try_from() argument
77 type Error = InvalidClassOfDeviceError; typedef
79 fn try_from(slice: &[u8]) -> std::result::Result<Self, Self::Error> { in try_from() argument
/packages/modules/Virtualization/libs/hyp/src/
Derror.rs26 pub enum Error { enum
37 impl fmt::Display for Error { implementation
/packages/apps/ThemePicker/src/com/android/customization/model/grid/shared/model/
DGridOptionItemsModel.kt24 data class Error( class in com.android.customization.model.grid.shared.model.GridOptionItemsModel
/packages/modules/Bluetooth/floss/hcidoc/src/
Dparser.rs29 type Error = String; typedef
31 fn try_from(item: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
142 type Error = String; typedef
144 fn try_from(item: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
291 type Error = String; typedef
293 fn try_from(item: &'a LinuxSnoopPacket) -> Result<Self, Self::Error> { in try_from() argument
338 type Error = String; typedef
340 fn try_from(item: (usize, &'a LinuxSnoopPacket)) -> Result<Self, Self::Error> { in try_from() argument
/packages/modules/Virtualization/libs/vmconfig/src/
Dlib.rs65 pub fn validate(&self) -> Result<(), Error> { in validate() argument
81 pub fn load(file: &File) -> Result<VmConfig, Error> { in load() argument
90 pub fn to_parcelable(&self) -> Result<VirtualMachineRawConfig, Error> { in to_parcelable() argument
126 fn to_parcelable(&self) -> Result<AidlDiskImage, Error> { in to_parcelable() argument
/packages/modules/Bluetooth/tools/pdl/tests/generated/
Denum_declaration_little_endian.rs26 pub enum Error { enum
59 type Error = u8; typedef
60 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() argument
127 type Error = u8; typedef
128 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() argument
204 type Error = u8; typedef
205 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() argument
284 type Error = u8; typedef
285 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() argument
355 type Error = u8; typedef
[all …]
Denum_declaration_big_endian.rs26 pub enum Error { enum
59 type Error = u8; typedef
60 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() argument
127 type Error = u8; typedef
128 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() argument
204 type Error = u8; typedef
205 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() argument
284 type Error = u8; typedef
285 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() argument
355 type Error = u8; typedef
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Dsocket.rs88 type Error = (); typedef
90 fn try_from(item: u16) -> Result<Self, Self::Error> { in try_from() argument
123 type Error = (); typedef
125 fn try_from(item: u16) -> Result<Self, Self::Error> { in try_from() argument
155 type Error = (); typedef
157 fn try_from(item: MgmtPacket) -> Result<Self, Self::Error> { in try_from() argument
/packages/modules/Virtualization/vm/src/
Drun.rs63 ) -> Result<(), Error> { in command_run_app() argument
192 ) -> Result<(), Error> { in command_run_microdroid() argument
238 ) -> Result<(), Error> { in command_run() argument
282 ) -> Result<(), Error> { in run() argument
319 fn parse_extra_apk_list(apk: &Path, config_path: &str) -> Result<Vec<String>, Error> { in parse_extra_apk_list() argument
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/categories/
DHealthDataCategoryViewModel.kt61 object Error : CategoriesFragmentState() object in com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/migration/
DMigrationViewModel.kt57 object Error : MigrationFragmentState() object in com.android.healthconnect.controller.migration.MigrationViewModel.MigrationFragmentState
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/viewmodel/
DFingerprintViewModel.kt39 data class Error( dataClass
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataaccess/
DHealthDataAccessViewModel.kt65 object Error : DataAccessScreenState() object

123456