Searched refs:imei (Results 1 – 8 of 8) sorted by relevance
/trusty/user/app/keymint/ |
D | secure_storage_manager.rs | 229 imei: &[u8], in provision_attestation_id_file() 251 if !imei.is_empty() { in provision_attestation_id_file() 252 attestation_ids.set_imei(try_to_vec(imei)?); in provision_attestation_id_file() 340 let imei = attestation_ids_pb.take_imei(); in read_attestation_ids() localVariable 351 kmr_common::tag::increment_imei(&imei) in read_attestation_ids() 356 Ok(AttestationIdInfo { brand, device, product, serial, imei, imei2, meid, manufacturer, model }) in read_attestation_ids() 530 expect_eq!(lhs.imei, rhs.imei, "imei doesn't match"); in compare_attestation_ids() 845 expect_eq!(attestation_ids.imei.len(), 0, "imei should be empty"); in unprovisioned_attestation_ids_do_not_error() 882 expect_eq!(attestation_ids_info.imei.len(), 0, "shouldn't have a imei"); in single_attestation_id_field() 915 let imei = b" "; in test_provision_attestation_id_file() localVariable [all …]
|
D | keymaster_attributes.rs | 254 imei: ::protobuf::SingularField<::std::vec::Vec<u8>>, field 423 match self.imei.as_ref() { in get_imei() 429 self.imei.clear(); in clear_imei() 433 self.imei.is_some() in has_imei() 438 self.imei = ::protobuf::SingularField::some(v); in set_imei() 444 if self.imei.is_none() { in mut_imei() 445 self.imei.set_default(); in mut_imei() 447 self.imei.as_mut().unwrap() in mut_imei() 452 self.imei.take().unwrap_or_else(|| ::std::vec::Vec::new()) in take_imei() 622 ::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.imei)?; in merge_from() [all …]
|
D | ipc_manager.rs | 365 &req.imei, in handle_message() 379 &req.base.imei, in handle_message() 477 &req.imei, in handle_message() 730 imei: &Vec<u8>, in get_set_attestation_ids_message() 740 imei.serialize_into(&mut req)?; in get_set_attestation_ids_message() 785 let imei = b"7654321".to_vec(); in set_attestation_ids_secure() localVariable 794 &imei, in set_attestation_ids_secure() 824 let imei = b"7654321".to_vec(); in set_attestation_ids() localVariable 833 &imei, in set_attestation_ids()
|
/trusty/user/app/keymaster/ |
D | keymaster_attributes.pb.c | 61 imei, 71 imei,
|
D | keymaster_attributes.pb.h | 43 AttestationIds_imei_t imei; member
|
D | secure_storage_manager.cpp | 515 if (request.imei.buffer_size() > kAttestationIdLengthMax) { in ValidateAndSetBaseAttestationIds() 516 LOG_E("Error: IMEI ID too large: %zu", request.imei.buffer_size()); in ValidateAndSetBaseAttestationIds() 518 } else if (request.imei.buffer_size() > 0) { in ValidateAndSetBaseAttestationIds() 520 attestation_ids->imei.size = request.imei.buffer_size(); in ValidateAndSetBaseAttestationIds() 521 memcpy(attestation_ids->imei.bytes, request.imei.begin(), in ValidateAndSetBaseAttestationIds() 522 request.imei.buffer_size()); in ValidateAndSetBaseAttestationIds()
|
D | keymaster_attributes.proto | 52 optional bytes imei = 5 [(nanopb).max_size=64]; field
|
D | trusty_keymaster_context.cpp | 997 PROTO_BYTES_DOES_NOT_MATCH_BLOB(entry.blob, ids.imei); in VerifyAndCopyDeviceIds() 1015 reinterpret_cast<const char*>(ids.imei.bytes), in VerifyAndCopyDeviceIds() 1016 ids.imei.size); in VerifyAndCopyDeviceIds()
|