/tools/netsim/rust/cli/src/ |
D | requests.rs | 102 let mut chip = model::Chip { ..Default::default() }; in get_expected_radio() 217 let position = Position { x, y, z: z.unwrap_or_default(), ..Default::default() }; in get_expected_move() 298 ..Default::default() in get_create_device_req_bytes() 300 ..Default::default() in get_create_device_req_bytes() 302 ..Default::default() in get_create_device_req_bytes() 305 CreateDeviceRequest { device, ..Default::default() }.write_to_bytes().unwrap() in get_create_device_req_bytes() 325 ..Default::default() in get_patch_device_req_bytes() 327 ..Default::default() in get_patch_device_req_bytes() 329 ..Default::default() in get_patch_device_req_bytes() 332 PatchDeviceRequest { device, ..Default::default() }.write_to_bytes().unwrap() in get_patch_device_req_bytes() [all …]
|
D | lib.rs | 105 let req = &DeleteChipRequest { id, ..Default::default() } in perform_command() 231 chips: vec![ChipProto { id: chip_id, ..Default::default() }], in test_remove_device() 232 ..Default::default() in test_remove_device() 234 ..Default::default() in test_remove_device() 259 ChipProto { id: chip_id, name: chip_name, ..Default::default() }, in test_remove_chip() 263 ..Default::default() in test_remove_chip() 266 ..Default::default() in test_remove_chip() 268 ..Default::default() in test_remove_chip() 290 ChipProto { id: 1, name: String::from("chip-1"), ..Default::default() }, in test_remove_multiple_chips_fails() 291 ChipProto { id: 2, name: String::from("chip-2"), ..Default::default() }, in test_remove_multiple_chips_fails() [all …]
|
D | display.rs | 182 && self.value.settings != MessageField::some(AdvertiseSettings::default()) in fmt() 195 && self.value.adv_data != MessageField::some(AdvertiseData::default()) in fmt() 219 || (self.value.x != f32::default() in fmt() 220 || self.value.y != f32::default() in fmt() 221 || self.value.z != f32::default()) in fmt() 254 if self.value.timeout != u64::default() { in fmt() 268 if self.value.include_device_name != bool::default() { in fmt() 277 if self.value.include_tx_power_level != bool::default() { in fmt() 286 if self.value.manufacturer_data != Vec::<u8>::default() { in fmt()
|
/tools/acloud/create/ |
D | create_args.py | 47 default=1, 85 default=False, 212 default="kernel", 317 default=None, 333 default=True, 340 default=None, 347 default=None, 354 default=True, 365 default=None, 376 default=1, [all …]
|
/tools/asuite/adevice/src/ |
D | fingerprint.rs | 20 #[default] 43 #[serde(skip_serializing_if = "String::is_empty", default)] 47 #[serde(skip_serializing_if = "String::is_empty", default)] 51 #[serde(default, skip_serializing_if = "is_default")] 65 t == &T::default() in is_default() 82 FileMetadata { file_type: FileType::Directory, ..Default::default() } in from_dir() 98 ..Default::default() in from_symlink() 114 ..Default::default() in from_file() 365 assert_eq!(diff(&HashMap::new(), &HashMap::new(), UsePermissions), Diffs::default()); in empty_inputs() 375 ..Default::default() in same_inputs() [all …]
|
D | metrics.rs | 50 let mut start_event = AdeviceStartEvent::default(); in add_start_event() 60 ..Default::default() in add_start_event() 81 ..Default::default() in add_action_event_with_files_changed() 83 ..Default::default() in add_action_event_with_files_changed() 91 ..Default::default() in add_action_event_with_files_changed() 96 let mut exit_event = AdeviceExitEvent::default(); in add_exit_event() 105 ..Default::default() in add_exit_event() 145 fn default() -> Self { in default() method 163 let mut log_request = LogRequest::default(); in send() 192 let mut event = AdeviceLogEvent::default(); in default_log_event() [all …]
|
/tools/security/remote_provisioning/hwtrust/src/cbor/dice/ |
D | entry.rs | 62 #[default] 278 return Ok((Some(ConfigDesc::default()), config_hash)); in validate_config() 471 let session = Session { options: Options::default() }; in valid_payload_sha256() 484 let session = Session { options: Options::default() }; in valid_payload_sha384() 491 let session = Session { options: Options::default() }; in valid_payload_sha512() 499 let session = Session { options: Options::default() }; in key_usage_only_key_cert_sign() 507 let session = Session { options: Options::default() }; in key_usage_too_long() 515 let session = Session { options: Options::default() }; in key_usage_lacks_key_cert_sign() 523 let session = Session { options: Options::default() }; in key_usage_not_just_key_cert_sign() 531 let session = Session { options: Options::default() }; in mode_not_configured() [all …]
|
D | chain.rs | 82 ConfigFormat::default() in from_root_and_entries() 107 KeyOpsType::default() in root_and_entries_from_value() 131 let session = Session { options: Options::default() }; in chain_form_valid_proper() 139 let session = Session { options: Options::default() }; in chain_form_valid_degenerate() 147 let session = Session { options: Options::default() }; in check_chain_valid_ed25519() 156 let session = Session { options: Options::default() }; in check_chain_valid_ed25519_value() 164 let session = Session { options: Options::default() }; in check_chain_valid_p256() 173 let session = Session { options: Options::default() }; in check_chain_valid_p256_value() 180 let session = Session { options: Options::default() }; in check_chain_wrong_value_type() 187 let session = Session { options: Options::default() }; in check_chain_bad_p256() [all …]
|
D | profile.rs | 44 #[default] 54 #[default] 70 ..Self::default() in android13() 82 ..Self::default() in android14() 88 Self { config_hash_unverified: true, security_version_optional: true, ..Self::default() } in android15() 93 Self::default() in android16()
|
/tools/acloud/public/ |
D | acloud_common.py | 35 default=None, 46 default=None, 52 default=None, 56 default=0, 63 default=False, 72 default=None, 81 default=None, 86 default=None,
|
/tools/asuite/atest/ |
D | arg_parser.py | 79 default=True, 122 default=True, 171 default=True, 230 default=0, 236 default=True, 342 default=BuildOutputMode.STREAMED, 416 default=0, 456 default=0, 468 default=0, 480 default=0, [all …]
|
/tools/netsim/rust/daemon/src/bluetooth/ |
D | advertise_settings.rs | 53 AdvertiseSettingsBuilder::default() in builder() 75 let mut builder = AdvertiseSettingsBuilder::default(); in try_from() 89 if value.timeout != u64::default() { in try_from() 108 ..Default::default() in try_from() 125 Self::default() in new() 178 fn default() -> Self { in default() method 231 fn default() -> Self { in default() method 303 ..Default::default() in test_from_proto_succeeds() 327 ..Default::default() in test_from_proto_fails() 340 ..Default::default() in test_into_proto() [all …]
|
D | advertise_data.rs | 85 ..Default::default() in from() 103 AdvertiseDataBuilder { device_name, tx_power_level, ..Self::default() } in new() 216 ..Default::default() in test_from_proto_succeeds() 241 &AdvertiseDataProto { include_device_name: true, ..Default::default() }, in test_from_proto_fails() 254 ..Default::default() in test_from_proto_sets_proto_field() 266 let ad = AdvertiseData::builder(device_name.clone(), TxPowerLevel::default()) in test_set_device_name_succeeds() 284 let data = AdvertiseData::builder(device_name, TxPowerLevel::default()) in test_set_device_name_fails() 295 AdvertiseData::builder(String::default(), tx_power).include_tx_power_level().build(); in test_set_tx_power_level() 308 let ad = AdvertiseData::builder(String::default(), TxPowerLevel::default()) in test_set_manufacturer_data_succeeds() 327 let data = AdvertiseData::builder(String::default(), TxPowerLevel::default()) in test_set_manufacturer_data_fails()
|
D | beacon.rs | 82 advertise_data: AdvertiseData::builder(device_name.clone(), TxPowerLevel::default()) in new() 85 scan_response_data: AdvertiseData::builder(device_name, TxPowerLevel::default()) in new() 116 let address = if beacon_proto.address == String::default() { in from_proto() 297 if patch.address != String::default() { in ble_beacon_patch() 318 if patch_settings.timeout != u64::default() { in ble_beacon_patch() 371 ..Default::default() in ble_beacon_get() 383 if addr == String::default() { in str_to_addr() 433 ..Default::default() in new_test_beacon_with_settings() 435 ..Default::default() in new_test_beacon_with_settings() 452 ..Default::default() in test_beacon_get() [all …]
|
/tools/netsim/rust/proto/src/ |
D | frontend.rs | 39 impl<'a> ::std::default::Default for &'a VersionResponse { 40 fn default() -> &'a VersionResponse { in default() method 47 ::std::default::Default::default() in new() 161 impl<'a> ::std::default::Default for &'a CreateDeviceRequest { 162 fn default() -> &'a CreateDeviceRequest { in default() method 169 ::std::default::Default::default() in new() 284 impl<'a> ::std::default::Default for &'a CreateDeviceResponse { 285 fn default() -> &'a CreateDeviceResponse { in default() method 292 ::std::default::Default::default() in new() 407 impl<'a> ::std::default::Default for &'a DeleteChipRequest { [all …]
|
D | frontend_grpc.rs | 138 self.get_version_opt(req, ::grpcio::CallOption::default()) in get_version() 153 self.get_version_async_opt(req, ::grpcio::CallOption::default()) in get_version_async() 168 self.create_device_opt(req, ::grpcio::CallOption::default()) in create_device() 185 self.create_device_async_opt(req, ::grpcio::CallOption::default()) in create_device_async() 200 self.delete_chip_opt(req, ::grpcio::CallOption::default()) in delete_chip() 215 self.delete_chip_async_opt(req, ::grpcio::CallOption::default()) in delete_chip_async() 230 self.patch_device_opt(req, ::grpcio::CallOption::default()) in patch_device() 245 self.patch_device_async_opt(req, ::grpcio::CallOption::default()) in patch_device_async() 257 self.reset_opt(req, ::grpcio::CallOption::default()) in reset() 272 self.reset_async_opt(req, ::grpcio::CallOption::default()) in reset_async() [all …]
|
/tools/security/remote_provisioning/hwtrust/src/rkp/ |
D | factory_csr.rs | 71 let csr = FactoryCsr::from_json(&Session::default(), &json).unwrap(); in from_json_valid_v2_ed25519() 128 let csr = FactoryCsr::from_json(&Session::default(), &json).unwrap(); in from_json_valid_v3_ed25519() 146 let csr = FactoryCsr::from_json(&Session::default(), &json).unwrap(); in from_json_valid_v2_p256() 173 let csr = FactoryCsr::from_json(&Session::default(), &json).unwrap(); in from_json_valid_v3_p256() 194 let err = FactoryCsr::from_json(&Session::default(), &json).unwrap_err(); in from_json_name_is_missing() 201 value.insert("name".to_string(), Value::Object(Map::default())); in from_json_name_is_wrong_type() 203 let err = FactoryCsr::from_json(&Session::default(), &json).unwrap_err(); in from_json_name_is_wrong_type() 210 let err = FactoryCsr::from_json(&Session::default(), json).unwrap_err(); in from_json_csr_is_missing() 217 let err = FactoryCsr::from_json(&Session::default(), json).unwrap_err(); in from_json_csr_is_wrong_type() 226 let csr = FactoryCsr::from_json(&Session::default(), &json).unwrap(); in from_json_extra_tag_is_ignored()
|
/tools/netsim/scripts/ |
D | build_tools.py | 54 default="tools/netsim/objs/", 58 "--dist_dir", type=str, default="dist/", help="The destination directory" 63 default="", 70 default=default_target(), 96 default="release", 103 default="emulator-linux_x64", 112 default="",
|
/tools/test/connectivity/acts_tests/tests/google/net/ |
D | sendra.py | 33 parser.add_argument('-m', '--mac-address', action='store', default=None, 35 parser.add_argument('-i', '--t-interval', action='store', default=None, 37 parser.add_argument('-c', '--pkt-count', action='store', default=None, 39 parser.add_argument('-l', '--life-time', action='store', default=None, 41 parser.add_argument('-in', '--wifi-interface', action='store', default=None, 43 parser.add_argument('-rtt', '--retrans-timer', action='store', default=None,
|
/tools/carrier_settings/proto/ |
D | carrier_settings.proto | 89 optional string bearer_bitmask = 4 [default = "0"]; 98 optional int32 authtype = 10 [default = -1]; 112 optional Protocol protocol = 14 [default = IP]; 113 optional Protocol roaming_protocol = 15 [default = IP]; 116 optional int32 mtu = 16 [default = 0]; 120 optional int32 max_conns = 18 [default = 0]; 122 optional int32 wait_time = 19 [default = 0]; 124 optional int32 max_conns_time = 20 [default = 0]; 127 optional bool modem_cognitive = 22 [default = false]; 129 optional bool user_visible = 23 [default = true]; [all …]
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/fielditem/ |
D | SourceFieldItemTest.kt | 29 fun `test field with default value as constant literal`() { in test field with default value as constant literal() 64 fun `test field with default value as constant expression`() { in test field with default value as constant expression() 90 fun `test field with default value as object reference`() { in test field with default value as object reference() 123 fun `test default value of an enum constant field`() { in test default value of an enum constant field() 145 fun `test default value of a Class type field`() { in test default value of a Class type field() 165 fun `test non final field with default value as constant literal`() { in test non final field with default value as constant literal() 186 fun `test non final field with default value as constant expression`() { in test non final field with default value as constant expression() 213 fun `test default value of a non final Class type field`() { in test default value of a non final Class type field()
|
/tools/netsim/rust/daemon/ |
D | Cargo.toml | 14 clap = { version = "4.1.8", default-features = false, features = ["derive", "error-context", "help"… 22 pica = { version = "0.1.9", default-features = false } 30 tungstenite = { version = ">=0.19.0", default-features = false } 35 grpcio = {version= "0.13.0", default-features = false, features = ["protobufv3-codec"]} 38 futures-util = { version = "0.3.30", default-features = false, features = ["sink"] } 45 default = ["local_ssl"]
|
/tools/security/remote_provisioning/hwtrust/src/dice/ |
D | entry.rs | 10 #[default] 152 issuer: Default::default(), in with_subject_public_key() 153 subject: Default::default(), in with_subject_public_key() 155 mode: Default::default(), in with_subject_public_key() 156 code_desc: Default::default(), in with_subject_public_key() 157 code_hash: Default::default(), in with_subject_public_key() 158 config_desc: Default::default(), in with_subject_public_key() 159 config_hash: Default::default(), in with_subject_public_key() 160 authority_desc: Default::default(), in with_subject_public_key() 161 authority_hash: Default::default(), in with_subject_public_key() [all …]
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_sign.txt | 17 --out File into which to output the signed APK. By default, the 23 signing scheme) used in Android since day one. By default, 29 API Level 24. By default, signing using this scheme is 35 API Level 28. By default, signing using this scheme is 45 API Level 30. By default, signing using this scheme is 50 APK, if found. By default, it is set to false. It has no 59 verified. By default, the value from AndroidManifest.xml 64 verified. By default, the highest possible value is used. 71 being used without platform targeting. By default, 92 By default, signing debuggable APKs is permitted, for [all …]
|
/tools/netsim/proto/netsim/ |
D | config.proto | 23 // default is ipv4 = true, proto3 does not allow custom default values 30 // default is ipv6 = true, proto3 does not allow custom default values 58 // default is False 60 // default is False
|