Home
last modified time | relevance | path

Searched refs:Option (Results 1 – 25 of 214) sorted by relevance

123456789

/packages/modules/Virtualization/libs/libfdt/src/
Dlib.rs137 fn next_property(&self) -> Result<Option<Self>> { in next_property()
169 pub fn device_type(&self) -> Result<Option<&CStr>> { in device_type()
174 pub fn reg(&self) -> Result<Option<RegIterator<'a>>> { in reg()
188 pub fn ranges<A, P, S>(&self) -> Result<Option<RangesIterator<'a, A, P, S>>> { in ranges()
212 pub fn getprop_str(&self, name: &CStr) -> Result<Option<&CStr>> { in getprop_str()
221 pub fn getprop_cells(&self, name: &CStr) -> Result<Option<CellIterator<'a>>> { in getprop_cells()
230 pub fn getprop_u32(&self, name: &CStr) -> Result<Option<u32>> { in getprop_u32()
239 pub fn getprop_u64(&self, name: &CStr) -> Result<Option<u64>> { in getprop_u64()
248 pub fn getprop(&self, name: &CStr) -> Result<Option<&'a [u8]>> { in getprop()
258 pub fn next_compatible(self, compatible: &CStr) -> Result<Option<Self>> { in next_compatible()
[all …]
Diterators.rs44 fn next(&mut self) -> Option<Self::Item> { in next()
72 fn next(&mut self) -> Option<Self::Item> { in next()
93 pub size: Option<T>,
124 fn next(&mut self) -> Option<Self::Item> { in next()
142 … ) -> ([u8; Self::NUM_CELLS * size_of::<u32>()], Option<[u8; Self::NUM_CELLS * size_of::<u32>()]>) in to_cells()
167 fn next(&mut self) -> Option<Self::Item> { in next()
223 fn next(&mut self) -> Option<Self::Item> { in next()
232 fn from_addr_cells(cells: &mut CellIterator, cell_count: AddrCells) -> Option<Self>; in from_addr_cells()
236 fn from_addr_cells(cells: &mut CellIterator, cell_count: AddrCells) -> Option<Self> { in from_addr_cells()
246 fn from_addr_cells(cells: &mut CellIterator, cell_count: AddrCells) -> Option<Self> { in from_addr_cells()
[all …]
Dlibfdt.rs71 fn path_offset_namelen(&self, path: &[u8]) -> Result<Option<NodeOffset>> { in path_offset_namelen()
84 fn node_offset_by_phandle(&self, phandle: Phandle) -> Result<Option<NodeOffset>> { in node_offset_by_phandle()
98 ) -> Result<Option<NodeOffset>> { in node_offset_by_compatible()
109 fn next_node(&self, node: NodeOffset, depth: usize) -> Result<Option<(NodeOffset, usize)>> { in next_node()
158 ) -> Result<Option<NodeOffset>> { in subnode_offset_namelen()
169 fn first_subnode(&self, node: NodeOffset) -> Result<Option<NodeOffset>> { in first_subnode()
179 fn next_subnode(&self, node: NodeOffset) -> Result<Option<NodeOffset>> { in next_subnode()
222 fn getprop_namelen(&self, node: NodeOffset, name: &[u8]) -> Result<Option<&[u8]>> { in getprop_namelen()
270 fn first_property_offset(&self, node: NodeOffset) -> Result<Option<PropOffset>> { in first_property_offset()
280 fn next_property_offset(&self, prev: PropOffset) -> Result<Option<PropOffset>> { in next_property_offset()
[all …]
/packages/modules/Virtualization/vm/src/
Dmain.rs42 name: Option<String>,
51 mem: Option<u32>,
95 console: Option<PathBuf>,
99 console_in: Option<PathBuf>,
103 log: Option<PathBuf>,
108 gdb: Option<NonZeroU16>,
117 storage: Option<PathBuf>,
122 storage_size: Option<u64>,
127 vendor: Option<PathBuf>,
137 gki: Option<String>,
[all …]
/packages/modules/Virtualization/libs/vmconfig/src/
Dlib.rs40 pub name: Option<String>,
42 pub kernel: Option<PathBuf>,
44 pub initrd: Option<PathBuf>,
47 pub params: Option<String>,
50 pub bootloader: Option<PathBuf>,
59 pub memory_mib: Option<NonZeroU32>,
61 pub cpu_topology: Option<String>,
69 pub console_input_device: Option<String>,
136 pub fn get_debug_level(config: &VirtualMachineConfig) -> Option<DebugLevel> { in get_debug_level()
149 pub image: Option<PathBuf>,
[all …]
/packages/modules/Virtualization/virtualizationmanager/src/
Dcrosvm.rs109 pub bootloader: Option<File>,
110 pub kernel: Option<File>,
111 pub initrd: Option<File>,
113 pub params: Option<String>,
116 pub memory_mib: Option<NonZeroU32>,
117 pub cpus: Option<NonZeroU32>,
119 pub console_out_fd: Option<File>,
120 pub console_in_fd: Option<File>,
121 pub log_fd: Option<File>,
122 pub ramdump: Option<File>,
[all …]
Datom.rs64 apk_fd: &Option<ParcelFileDescriptor>, in get_vm_payload_config()
75 fn get_duration(vm_start_timestamp: Option<SystemTime>) -> Duration { in get_duration()
85 pub(crate) fn get_num_cpus() -> Option<usize> { in get_num_cpus()
166 vm_start_timestamp: Option<SystemTime>, in write_vm_booted_stats()
190 exit_signal: Option<i32>, in write_vm_exited_stats_sync()
/packages/modules/NetworkStack/tests/hostlib/src/com/android/testutils/host/
DDeflakeHostTestBase.kt20 import com.android.tradefed.config.Option in <lambda>()
57 @Option(name = "deflake_run_count", in <lambda>()
59 importance = Option.Importance.ALWAYS) in <lambda>()
76 @Option(name = "deflake_single_run_timeout", in <lambda>()
78 importance = Option.Importance.ALWAYS, in <lambda>()
88 @Option(name = "deflake_test", in <lambda>()
91 importance = Option.Importance.ALWAYS) in <lambda>()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dsocket_manager.rs66 pub psm: Option<i32>,
67 pub channel: Option<i32>,
68 pub name: Option<String>,
69 pub uuid: Option<Uuid>,
108 name: Option<String>, in make_rfcomm_channel()
109 channel: Option<i32>, in make_rfcomm_channel()
110 uuid: Option<Uuid>, in make_rfcomm_channel()
140 sockfd: Option<RawFd>, in to_connecting_socket()
192 pub fd: Option<std::fs::File>,
194 pub uuid: Option<Uuid>,
[all …]
Dbluetooth_admin.rs27 fn get_device_policy_effect(&self, device: BluetoothDevice) -> Option<PolicyEffect>; in get_device_policy_effect()
57 new_policy_effect: Option<PolicyEffect>, in on_device_policy_effect_changed()
63 adapter: Option<Arc<Mutex<Box<Bluetooth>>>>,
66 device_policy_affect_cache: HashMap<BluetoothDevice, Option<PolicyEffect>>,
118 fn load_config_from_json(&mut self, json: &Value) -> Option<bool> { in load_config_from_json()
149 fn new_device_policy_effect(&self, uuids: Option<Vec<Uuid>>) -> Option<PolicyEffect> { in new_device_policy_effect()
252 fn get_device_policy_effect(&self, device: BluetoothDevice) -> Option<PolicyEffect> { in get_device_policy_effect()
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dmain.rs67 pub(crate) adapter_address: Option<RawAddress>,
71 pub(crate) bonding_attempt: Option<BluetoothDevice>,
87 pub(crate) adapter_dbus: Option<BluetoothDBus>,
90 pub(crate) qa_legacy_dbus: Option<BluetoothQALegacyDBus>,
93 pub(crate) qa_dbus: Option<BluetoothQADBus>,
96 pub(crate) gatt_dbus: Option<BluetoothGattDBus>,
99 pub(crate) admin_dbus: Option<BluetoothAdminDBus>,
102 pub(crate) suspend_dbus: Option<SuspendDBus>,
105 pub(crate) socket_manager_dbus: Option<BluetoothSocketManagerDBus>,
108 pub(crate) telephony_dbus: Option<BluetoothTelephonyDBus>,
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth.rs49 _conn: Option<Arc<SyncConnection>>, in from_dbus()
50 _remote: Option<dbus::strings::BusName<'static>>, in from_dbus()
51 _disconnect_watcher: Option<Arc<Mutex<dbus_projection::DisconnectWatcher>>>, in from_dbus()
348 _conn: Option<std::sync::Arc<dbus::nonblock::SyncConnection>>, in from_dbus()
349 _remote: Option<dbus::strings::BusName<'static>>, in from_dbus()
350 _disconnect_watcher: Option< in from_dbus()
445 _conn: Option<std::sync::Arc<dbus::nonblock::SyncConnection>>, in from_dbus()
446 _remote: Option<dbus::strings::BusName<'static>>, in from_dbus()
447 _disconnect_watcher: Option< in from_dbus()
787 psm: Option<i32>,
[all …]
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Dform_widget_info.h27 struct Option { struct
66 const std::vector<Option>& options() const;
67 void set_options(const std::vector<Option>& options);
87 std::vector<Option> options_;
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/dbus_macros/src/
Dlib.rs706 conn__: Option<std::sync::Arc<dbus::nonblock::SyncConnection>>, in dbus_propmap()
707 remote__: Option<dbus::strings::BusName<'static>>, in dbus_propmap()
708 …disconnect_watcher__: Option<std::sync::Arc<std::sync::Mutex<dbus_projection::DisconnectWatcher>>>, in dbus_propmap()
977 conn__: Option<std::sync::Arc<dbus::nonblock::SyncConnection>>, in dbus_proxy_obj()
978 remote__: Option<dbus::strings::BusName<'static>>, in dbus_proxy_obj()
979 disconnect_watcher__: Option<std::sync::Arc<std::sync::Mutex<DisconnectWatcher>>>, in dbus_proxy_obj()
1224 conn: Option<Arc<dbus::nonblock::SyncConnection>>, in generate_dbus_arg()
1225 remote: Option<BusName<'static>>, in generate_dbus_arg()
1226 disconnect_watcher: Option<Arc<Mutex<DisconnectWatcher>>>, in generate_dbus_arg()
1253 _conn: Option<Arc<dbus::nonblock::SyncConnection>>, in generate_dbus_arg()
[all …]
/packages/modules/Virtualization/pvmfw/src/
Dfdt.rs83 fn read_kernel_range_from(fdt: &Fdt) -> libfdt::Result<Option<Range<usize>>> { in read_kernel_range_from()
101 fn read_initrd_range_from(fdt: &Fdt) -> libfdt::Result<Option<Range<usize>>> { in read_initrd_range_from()
124 fn read_bootargs_from(fdt: &Fdt) -> libfdt::Result<Option<CString>> { in read_bootargs_from()
191 opptable_info: Option<ArrayVec<[u64; CpuInfo::MAX_OPPTABLES]>>,
192 cpu_capacity: Option<u32>,
219 cores: [Option<usize>; ClusterTopology::MAX_CORES_PER_CLUSTER],
229 clusters: [Option<ClusterTopology>; CpuTopology::MAX_CLUSTERS],
236 fn read_cpu_map_from(fdt: &Fdt) -> libfdt::Result<Option<BTreeMap<Phandle, (usize, usize)>>> { in read_cpu_map_from()
265 ) -> libfdt::Result<(ArrayVec<[CpuInfo; DeviceTreeInfo::MAX_CPUS]>, Option<CpuTopology>)> { in read_cpu_info_from()
310 fn read_vcpufreq_info(fdt: &Fdt) -> libfdt::Result<Option<VcpufreqInfo>> { in read_vcpufreq_info()
[all …]
Dconfig.rs142 pub debug_policy: Option<&'a [u8]>,
143 pub vm_dtbo: Option<&'a mut [u8]>,
144 pub vm_ref_dt: Option<&'a [u8]>,
177 pub fn new(start: usize, size: usize) -> Option<Self> { in new()
200 ranges: [Option<NonEmptyRange>; Entry::COUNT],
247 let mut ranges: [Option<NonEmptyRange>; Entry::COUNT] = [None; Entry::COUNT]; in new()
283 let mut entries: [Option<&mut [u8]>; Entry::COUNT] = Default::default(); in get_entries()
/packages/modules/Virtualization/pvmfw/avb/src/
Dops.rs26 initrd: Option<&'a [u8]>,
33 initrd: Option<&'a [u8]>, in new()
92 _public_key_metadata: Option<&[u8]>, in validate_vbmeta_public_key()
139 _public_key_metadata: Option<&[u8]>, in validate_public_key_for_partition()
152 fn to_copy_start(offset: i64, len: usize) -> Option<usize> { in to_copy_start()
/packages/modules/Virtualization/libs/dice/open_dice/src/
Dbcc.rs32 pub component_name: Option<&'a CStr>,
34 pub component_version: Option<u64>,
38 pub security_version: Option<u64>,
168 bcc: Option<&'a [u8]>,
180 fn bcc(&self) -> Option<&[u8]> { in bcc()
/packages/modules/AdServices/adservices/tests/host/room/src/com/android/adservices/room/test/
DRoomDatabaseVersionBumpGuardrailTest.java21 import com.android.tradefed.config.Option;
66 @Option(name = "base-schema-lib")
69 @Option(name = "new-schema-lib")
72 @Option(name = "schema-apk-name")
/packages/modules/Bluetooth/tools/rootcanal/rust/src/
Dpackets.rs58 pub fn command_remote_device_address(command: &Command) -> Option<Address> { in command_remote_device_address()
61 use Option::None; // Overwrite `None` variant of `Child` enum in command_remote_device_address()
81 pub fn command_connection_handle(command: &Command) -> Option<u16> { in command_connection_handle()
84 use Option::None; // Overwrite `None` variant of `Child` enum in command_connection_handle()
/packages/modules/Virtualization/vmbase/src/hyp/hypervisor/
Dcommon.rs22 fn as_mmio_guard(&self) -> Option<&dyn MmioGuardedHypervisor> { in as_mmio_guard()
27 fn as_mem_sharer(&self) -> Option<&dyn MemSharingHypervisor> { in as_mem_sharer()
32 fn as_device_assigner(&self) -> Option<&dyn DeviceAssigningHypervisor> { in as_device_assigner()
/packages/modules/Virtualization/vmclient/src/
Dlib.rs163 console_out: Option<File>, in create()
164 console_in: Option<File>, in create()
165 log: Option<File>, in create()
166 callback: Option<Box<dyn VmCallback + Send + Sync>>, in create()
212 pub fn wait_for_death_with_timeout(&self, timeout: Duration) -> Option<DeathReason> { in wait_for_death_with_timeout()
283 death_reason: Option<DeathReason>,
305 client_callback: Option<Box<dyn VmCallback + Send + Sync>>,
/packages/modules/Virtualization/vmbase/src/
Dfdt.rs25 pub addr: Option<usize>,
29 pub align: Option<usize>,
51 pub fn fixed_range(&self) -> Option<Range<usize>> { in fixed_range()
/packages/modules/DnsResolver/doh/connection/
Dmod.rs44 session: Option<Vec<u8>>,
138 session: Option<Vec<u8>>, in new()
208 pub fn session(&self) -> Option<Vec<u8>> { in session()
221 expiry: Option<BootTime>, in query()
222 ) -> Result<impl Future<Output = Option<Stream>>> { in query()
/packages/modules/Virtualization/libs/devicemapper/src/
Dverity.rs55 data_device: Option<&'a Path>,
57 hash_device: Option<&'a Path>,
59 root_digest: Option<&'a [u8]>,
60 salt: Option<&'a [u8]>,

123456789