Home
last modified time | relevance | path

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

1234

/packages/modules/Virtualization/rialto/src/
Derror.rs31 pub enum Error { enum
60 impl fmt::Display for Error { implementation
86 impl From<HypervisorError> for Error { implementation
92 impl From<MapError> for Error { implementation
98 impl From<FdtError> for Error { implementation
104 impl From<PciError> for Error { implementation
110 impl From<MemoryTrackerError> for Error { implementation
116 impl From<virtio_drivers::Error> for Error { implementation
122 impl From<CiboriumSerError> for Error { implementation
128 impl From<CiboriumDeError> for Error { implementation
[all …]
Dcommunication.rs172 type Error = virtio_drivers::Error; typedef
174 fn read_exact(&mut self, data: &mut [u8]) -> result::Result<(), Self::Error> { in read_exact()
191 type Error = virtio_drivers::Error; typedef
193 fn write_all(&mut self, data: &[u8]) -> result::Result<(), Self::Error> { in write_all()
205 fn flush(&mut self) -> result::Result<(), Self::Error> { in flush()
/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
/packages/modules/Virtualization/vmbase/src/hvc/
Dtrng.rs20 pub enum Error { enum
33 impl fmt::Display for Error { implementation
45 impl From<i64> for Error { implementation
79 type Error = Error; typedef
81 fn try_from(value: i32) -> core::result::Result<Self, Error> { in try_from() argument
/packages/modules/Virtualization/vmbase/src/
Drand.rs26 pub enum Error { enum
39 impl From<smccc::arch::Error> for Error { implementation
45 impl From<hvc::trng::Error> for Error { implementation
54 impl fmt::Display for Error { implementation
66 impl fmt::Debug for Error { implementation
/packages/modules/Virtualization/libs/libfdt/src/
Dresult.rs107 type Error = FdtError; typedef
144 type Error = FdtError; typedef
156 type Error = FdtError; typedef
164 type Error = FdtError; typedef
172 type Error = FdtError; typedef
184 type Error = FdtError; typedef
Dsafe_types.rs111 type Error = FdtError; typedef
119 type Error = FdtError; typedef
139 type Error = FdtError; typedef
147 type Error = FdtError; typedef
172 type Error = FdtError; typedef
180 type Error = FdtError; typedef
205 type Error = FdtError; typedef
213 type Error = FdtError; typedef
/packages/modules/Virtualization/pvmfw/avb/src/
Dpartition.rs53 type Error = IoError; typedef
55 fn try_from(partition_name: &CStr) -> Result<Self, Self::Error> { in try_from() argument
66 type Error = IoError; typedef
68 fn try_from(non_null_terminated_name: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/viewmodels/
DInsertOrUpdateRecordsViewModel.kt70 data class Error(val errorMessage: String) : InsertedRecordsState() class in com.android.healthconnect.testapps.toolbox.viewmodels.InsertOrUpdateRecordsViewModel.InsertedRecordsState
75 data class Error(val errorMessage: String) : UpdatedRecordsState() dataClass
/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
123 fn get_partition_size(partition: &File, path: &Path) -> Result<u64, Error> { in get_partition_size() argument
Dcrosvm.rs272 fn start(&mut self, instance: Arc<VmInstance>) -> Result<(), Error> { in start() argument
387 ) -> Result<VmInstance, Error> { in new() argument
419 pub fn start(self: &Arc<Self>) -> Result<(), Error> { in start() argument
574 pub fn update_payload_state(&self, new_state: PayloadState) -> Result<(), Error> { in update_payload_state() argument
588 pub fn kill(&self) -> Result<(), Error> { in kill() argument
615 pub fn trim_memory(&self, level: MemoryTrimLevel) -> Result<(), Error> { in trim_memory() argument
656 fn handle_ramdump(&self) -> Result<(), Error> { in handle_ramdump() argument
667 fn send_ramdump_to_tombstoned(ramdump_path: &Path) -> Result<(), Error> { in send_ramdump_to_tombstoned() argument
770 fn death_reason(result: &Result<ExitStatus, io::Error>, mut failure_reason: &str) -> DeathReason { in death_reason()
824 fn vfio_argument_for_platform_device(device: &VfioDevice) -> Result<String, Error> { in vfio_argument_for_platform_device() argument
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/lib/model/
DFingerprintAuthAttemptModel.kt25 data class Error(val error: Int, val message: String) : FingerprintAuthAttemptModel() class in com.android.settings.biometrics.fingerprint2.lib.model.FingerprintAuthAttemptModel
/packages/modules/Virtualization/vmbase/src/hyp/
Derror.rs27 pub enum Error { enum
38 impl fmt::Display for Error { implementation
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/shared/model/
DGridOptionItemsModel.kt24 data class Error( class in com.android.customization.picker.grid.shared.model.GridOptionItemsModel
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/
DUiState.kt23 class Error(val error: Exception) : UiState() class
/packages/modules/Bluetooth/floss/hcidoc/src/
Dparser.rs34 type Error = String; typedef
36 fn try_from(item: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
147 type Error = String; typedef
149 fn try_from(item: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
295 type Error = String; typedef
297 fn try_from(item: &'a LinuxSnoopPacket) -> Result<Self, Self::Error> { in try_from() argument
352 type Error = String; typedef
354 fn try_from(item: (usize, &'a LinuxSnoopPacket)) -> Result<Self, Self::Error> { in try_from() argument
/packages/modules/Virtualization/vm/src/
Drun.rs46 pub fn command_run_app(config: RunAppConfig) -> Result<(), Error> { in command_run_app() argument
217 pub fn command_run_microdroid(config: RunMicrodroidConfig) -> Result<(), Error> { in command_run_microdroid() argument
247 pub fn command_run(config: RunCustomVmConfig) -> Result<(), Error> { in command_run() argument
294 ) -> Result<(), Error> { in run() argument
340 fn parse_extra_apk_list(apk: &Path, config_path: &str) -> Result<Vec<PathBuf>, Error> { in parse_extra_apk_list() argument
/packages/modules/Virtualization/libs/vmconfig/src/
Dlib.rs75 pub fn validate(&self) -> Result<(), Error> { in validate() argument
91 pub fn load(file: &File) -> Result<VmConfig, Error> { in load() argument
100 pub fn to_parcelable(&self) -> Result<VirtualMachineRawConfig, Error> { in to_parcelable() argument
158 fn to_parcelable(&self) -> Result<AidlDiskImage, Error> { in to_parcelable() argument
/packages/modules/Virtualization/libs/bssl/error/src/
Dlib.rs31 pub enum Error { enum
48 impl fmt::Display for Error { implementation
64 impl From<coset::CoseError> for Error { implementation
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Dsocket.rs89 type Error = (); typedef
91 fn try_from(item: u16) -> Result<Self, Self::Error> { in try_from() argument
131 type Error = (); typedef
133 fn try_from(item: u16) -> Result<Self, Self::Error> { in try_from() argument
184 type Error = (); typedef
186 fn try_from(item: MgmtPacket) -> Result<Self, Self::Error> { in try_from() 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/Bluetooth/system/gd/rust/topshim/src/profiles/
Da2dp.rs119 type Error = (); typedef
120 fn try_into(self) -> Result<i32, Self::Error> { in try_into()
126 type Error = (); typedef
127 fn try_from(val: i32) -> Result<Self, Self::Error> { in try_from() argument
149 type Error = (); typedef
150 fn try_into(self) -> Result<i32, Self::Error> { in try_into()
156 type Error = (); typedef
157 fn try_from(val: i32) -> Result<Self, Self::Error> { in try_from() argument
178 type Error = (); typedef
179 fn try_into(self) -> Result<i32, Self::Error> { in try_into()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/migration/
DMigrationViewModel.kt58 object Error : MigrationFragmentState() object
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/access/
DAccessViewModel.kt67 object Error : AccessScreenState() object

1234