Home
last modified time | relevance | path

Searched refs:None (Results 1 – 25 of 220) sorted by relevance

123456789

/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dhf_client.rs127 callbacks: None, in new()
146 vr_cmd_cb: None, in initialize()
147 network_state_cb: None, in initialize()
148 network_roaming_cb: None, in initialize()
149 network_signal_cb: None, in initialize()
150 battery_level_cb: None, in initialize()
151 current_operator_cb: None, in initialize()
152 call_cb: None, in initialize()
153 callsetup_cb: None, in initialize()
154 callheld_cb: None, in initialize()
[all …]
Davrcp.rs263 callbacks: None, in new()
276 groupnavigation_rsp_cb: None, in initialize()
279 setplayerappsetting_rsp_cb: None, in initialize()
280 playerapplicationsetting_cb: None, in initialize()
281 playerapplicationsetting_changed_cb: None, in initialize()
282 setabsvol_cmd_cb: None, in initialize()
283 registernotification_absvol_cb: None, in initialize()
284 track_changed_cb: None, in initialize()
285 play_position_changed_cb: None, in initialize()
286 play_status_changed_cb: None, in initialize()
[all …]
/packages/modules/Virtualization/pvmfw/avb/tests/
Dapi_test.rs48 DebugLevel::None, in latest_normal_payload_passes_verification()
66 /* initrd= */ None, in payload_expecting_no_initrd_passes_verification_with_no_initrd()
73 debug_level: DebugLevel::None, in payload_expecting_no_initrd_passes_verification_with_no_initrd()
75 initrd_digest: None, in payload_expecting_no_initrd_passes_verification_with_no_initrd()
89 /* initrd= */ None, in payload_with_non_initrd_descriptor_fails_verification_with_no_initrd()
110 /* initrd= */ None, in payload_expecting_no_initrd_passes_verification_with_service_vm_prop()
117 debug_level: DebugLevel::None, in payload_expecting_no_initrd_passes_verification_with_service_vm_prop()
119 initrd_digest: None, in payload_expecting_no_initrd_passes_verification_with_service_vm_prop()
133 /* initrd= */ None, in payload_with_unknown_vm_type_fails_verification_with_no_initrd()
143 /* initrd= */ None, in payload_with_multiple_props_fails_verification_with_no_initrd()
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Dat_command_parser.rs85 None => return Err("No command supplied".to_string()), in parse_at_command_data()
91 _ => None, in parse_at_command_data()
96 None in parse_at_command_data()
106 None => None, in parse_at_command_data()
111 (Some(_), _) => None, in parse_at_command_data()
112 (None, _) => None, in parse_at_command_data()
141 None => (), in calculate_battery_percent()
172 None => return Err("BatteryLevelRange missing".to_string()), in calculate_battery_percent()
175 None => (), in calculate_battery_percent()
178 None => return Err("No battery data found".to_string()), in calculate_battery_percent()
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dsocket_manager.rs84 psm: None, in new()
85 channel: None, in new()
86 name: None, in new()
87 uuid: None, in new()
100 channel: None, in make_l2cap_channel()
101 name: None, in make_l2cap_channel()
102 uuid: None, in make_l2cap_channel()
116 psm: None, in make_rfcomm_channel()
128 psm: None, in make_default_rfcomm_channel()
157 Err(_) => None, in to_connecting_socket()
[all …]
Dbluetooth_media.rs521 adapter: None, in new()
522 a2dp: None, in new()
523 avrcp: None, in new()
528 hfp: None, in new()
545 memory_dialing_number: None, in new()
546 last_dialing_number: None, in new()
548 le_audio: None, in new()
555 vc: None, in new()
557 csis: None, in new()
618 None => { in remove_device_from_group()
[all …]
Dbattery_service.rs107 let client_id = None; in new()
152 None => { in handle_action()
186 None => { in handle_action()
193 if let None = self.battery_sets.get(&addr) { in handle_action()
208 None => { in handle_action()
261 None => return, in init_device()
289 None => return, in drop_device()
302 return Err(None); in get_battery_level_handle()
308 None => return Err(Some(BatteryServiceStatus::BatteryServiceNotSupported)), in get_battery_level_handle()
316 None => { in get_battery_level_handle()
[all …]
Dsuspend.rs123 suspend_id: None, in new()
164 audio_reconnect_joinhandle: None, in new()
165 suspend_timeout_joinhandle: None, in new()
173 None => warn!("Suspend callback {} does not exist", id), in callback_registered()
199 self.audio_reconnect_joinhandle = None; in audio_reconnect_complete()
248 self.audio_reconnect_joinhandle = None; in suspend()
266 self.suspend_timeout_joinhandle = None; in suspend()
295 None => { in resume()
327 self.audio_reconnect_joinhandle = None; in resume()
394 self.suspend_timeout_joinhandle = None; in le_rand_cb()
/packages/modules/Virtualization/pvmfw/src/
Dbootargs.rs91 return None; in next()
101 _ => (&arg[..name_end], None), in next()
146 check(cstr!("foo"), Ok(&[("foo", None)])); in single()
147 check(cstr!(" foo"), Ok(&[("foo", None)])); in single()
148 check(cstr!("foo "), Ok(&[("foo", None)])); in single()
149 check(cstr!(" foo "), Ok(&[("foo", None)])); in single()
179 Ok(&[("a", Some("=b")), ("c", Some("=d")), ("e", Some("=")), ("f", None), ("g", None)]), in multiple()
183 Ok(&[("a", Some("=b")), ("c", Some("=d")), ("e", Some("=")), ("f", None), ("g", None)]), in multiple()
198 ("a", None), in complex()
Ddice.rs60 DebugLevel::None => DiceMode::kDiceModeNormal, in to_dice_mode()
213 debug_level: DebugLevel::None,
255 let config_map = decode_config_descriptor(&inputs, None); in base_config_descriptor()
258 assert_eq!(config_map.get(&COMPONENT_VERSION_KEY), None); in base_config_descriptor()
259 assert_eq!(config_map.get(&RESETTABLE_KEY), None); in base_config_descriptor()
266 assert_eq!(config_map.get(&SECURITY_VERSION_KEY), None); in base_config_descriptor()
268 assert_eq!(config_map.get(&RKP_VM_MARKER_KEY), None); in base_config_descriptor()
295 let config_map = decode_config_descriptor(&inputs, None); in config_descriptor_without_instance_hash()
/packages/modules/Virtualization/pvmfw/avb/src/
Dverify.rs61 None, enumerator
139 Err(SlotVerifyError::Verification(None)) in verify_loaded_partition_has_expected_length()
150 _ => None, in verify_property_and_get_capabilities()
155 None => return Ok(vec![]), in verify_property_and_get_capabilities()
180 let mut kernel = None; in get()
181 let mut initrd_normal = None; in get()
182 let mut initrd_debug = None; in get()
186 _ => None, in get()
218 None => Ok(()), in verify_no_initrd()
273 debug_level: DebugLevel::None, in verify_payload()
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dmain.rs188 adapter_address: None, in new()
189 bonding_attempt: None, in new()
194 adapter_dbus: None, in new()
195 qa_legacy_dbus: None, in new()
196 qa_dbus: None, in new()
197 gatt_dbus: None, in new()
198 admin_dbus: None, in new()
199 suspend_dbus: None, in new()
200 socket_manager_dbus: None, in new()
201 telephony_dbus: None, in new()
[all …]
Dbt_adv.rs70 AdvSet { adv_id: None, params, data, scan_rsp } in new()
79 None, in start()
80 None, in start()
81 None, in start()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/albumgrid/
DAlbumGridFeature.kt99 EnterTransition.None in registerNavigationRoutes()
110 ExitTransition.None in registerNavigationRoutes()
121 EnterTransition.None in registerNavigationRoutes()
132 ExitTransition.None in registerNavigationRoutes()
160 EnterTransition.None in registerNavigationRoutes()
165 ExitTransition.None in registerNavigationRoutes()
170 EnterTransition.None in registerNavigationRoutes()
175 ExitTransition.None in registerNavigationRoutes()
/packages/modules/Bluetooth/floss/hcidoc/src/
Dparser.rs199 return None; in next()
215 None in next()
222 Err(_) => None, in next()
249 Ok(Self { fd, log_type: None }) in new()
276 return None; in get_snoop_iterator()
380 None, enumerator
390 Err(_) => AclContent::None, in get_acl_content()
392 _ => AclContent::None, in get_acl_content()
397 Err(_) => AclContent::None, in get_acl_content()
399 _ => AclContent::None, in get_acl_content()
[all …]
/packages/modules/Virtualization/libs/bssl/tests/
Daead_test.rs38 let tag_len = None; in aes_256_gcm_encrypts_and_decrypts_successfully()
52 let tag_len = None; in aes_256_gcm_fails_to_encrypt_with_invalid_nonce()
71 let tag_len = None; in aes_256_gcm_fails_to_decrypt_with_wrong_key()
88 let tag_len = None; in aes_256_gcm_fails_to_decrypt_with_different_ad()
105 let tag_len = None; in aes_256_gcm_fails_to_decrypt_with_different_nonce()
123 let tag_len = None; in aes_256_gcm_fails_to_decrypt_corrupted_ciphertext()
138 let tag_len = None; in aes_256_gcm_encrypt()
/packages/modules/Virtualization/libs/libfdt/tests/
Dapi_test.rs42 assert_eq!(memory.next(), None); in retrieving_memory_from_fdt_with_one_memory_range_succeeds()
56 assert_eq!(memory.next(), None); in retrieving_memory_from_fdt_with_multiple_memory_ranges_succeeds()
66 assert_eq!(memory.next(), None); in retrieving_first_memory_from_fdt_with_empty_memory_range_fails()
168 assert_eq!(Phandle::new(value), None); in phandle_new()
229 assert_eq!(node.get_phandle(), Ok(None)); in node_get_phandle()
244 assert_eq!(fdt.node_with_phandle(phandle), Ok(None)); in node_nop()
245 assert_eq!(fdt.node(path), Ok(None)); in node_nop()
250 assert_eq!(fdt.node_with_phandle(phandle), Ok(None)); in node_nop()
251 assert_eq!(fdt.node(path), Ok(None)); in node_nop()
268 assert_eq!(Ok(None), node.subnode_with_name_bytes(name)); in node_add_subnode_with_namelen()
[all …]
/packages/modules/Virtualization/libs/libfdt/src/
Dlib.rs64 None = 0, enumerator
74 x if x == Self::None as _ => Ok(Self::None), in try_from()
141 Ok(None) in next_property()
183 Ok(None) in reg()
201 Ok(None) in ranges()
216 Ok(None) in getprop_str()
225 Ok(None) in getprop_cells()
234 Ok(None) in getprop_u32()
243 Ok(None) in getprop_u64()
303 Ok(None) in next_node()
[all …]
/packages/modules/DnsResolver/doh/
Dconfig.rs64 None => config.verify_peer(false), in from_key()
181 Config::from_key(&Key { cert_path: None, max_idle_timeout: 1000, enable_early_data: true }) in create_quiche_config()
200 .get(&Key { cert_path: None, max_idle_timeout: 1000, enable_early_data: true }) in shared_cache()
204 .get(&Key { cert_path: None, max_idle_timeout: 1000, enable_early_data: true }) in shared_cache()
212 let key_a = Key { cert_path: None, max_idle_timeout: 1000, enable_early_data: false }; in different_keys()
244 .get(&Key { cert_path: None, max_idle_timeout: 1000, enable_early_data: true }) in lifetimes()
292 Config::from_key(&Key { cert_path: None, max_idle_timeout: 10, enable_early_data: true }) in quiche_connect()
298 quiche::connect(None, &conn_id, local, peer, config.take().await.deref_mut()).unwrap(); in quiche_connect()
/packages/modules/Bluetooth/floss/hcidoc/src/groups/
Dcollisions.rs57 state_set_at: None, in new()
94 (_, _) => None, in get_signal_type()
118 _ => None, in process()
160 self.state_set_at = None; in process()
187 self.state_set_at = None; in process()
196 self.state_set_at = None; in process()
Dinformational.rs42 None, enumerator
51 AddressType::None => "Unknown type", in fmt()
63 AddressType::None => new_type, in update()
97 None, enumerator
127 address_type: AddressType::None, in new()
129 acl_state: AclState::None, in new()
157 self.acl_state = AclState::None; in report_connection_end()
289 _ => None, in report_l2cap_conn_rsp()
295 _ => None, in report_l2cap_conn_rsp()
297 None => None, in report_l2cap_conn_rsp()
[all …]
/packages/modules/Virtualization/vmbase/src/
Dutil.rs45 None in align_up()
49 None in align_up()
59 None in align_down()
70 return None; in ceiling_div()
/packages/modules/Bluetooth/tools/rootcanal/rust/
DCMakeLists.txt30 android_license(TARGET rootcanal-rs LIBNAME None SPDX None LICENSE None LOCAL None)
/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/src/com/android/adservices/common/logging/
DErrorLogUtilCallTest.java19 import static com.android.adservices.common.logging.ErrorLogUtilCall.None;
49 expect.that(actual).isEqualTo(new ErrorLogUtilCall(None.class, 1, 2, 3)); in testCreateWithNoException()
224 ErrorLogUtilCall errorLogUtilCall2 = new ErrorLogUtilCall(None.class, 10, 5); in testIsEquivalentInvocation_withDifferentApi_returnsFalse()
267 ErrorLogUtilCall errorLogUtilCall1 = new ErrorLogUtilCall(None.class, 10, 5); in testIsEquivalentInvocation_withNoExceptionLoggingSameArgs_returnsTrue()
268 ErrorLogUtilCall errorLogUtilCall2 = new ErrorLogUtilCall(None.class, 10, 5); in testIsEquivalentInvocation_withNoExceptionLoggingSameArgs_returnsTrue()
276 ErrorLogUtilCall errorLogUtilCall1 = new ErrorLogUtilCall(None.class, 10, 5); in testIsEquivalentInvocation_withNoExceptionLoggingDifferentArgs_returnsFalse()
277 ErrorLogUtilCall errorLogUtilCall2 = new ErrorLogUtilCall(None.class, 2, 5); in testIsEquivalentInvocation_withNoExceptionLoggingDifferentArgs_returnsFalse()
285 ErrorLogUtilCall errorLogUtilCall = new ErrorLogUtilCall(None.class, 10, 5, 1); in testLogInvocationToString_withNoThrowable_returnsFormattedString()
/packages/modules/Bluetooth/tools/rootcanal/rust/src/
Dpackets.rs61 use Option::None; // Overwrite `None` variant of `Child` enum in command_remote_device_address()
77 _ => None, in command_remote_device_address()
84 use Option::None; // Overwrite `None` variant of `Child` enum in command_connection_handle()
89 _ => None, in command_connection_handle()

123456789