Home
last modified time | relevance | path

Searched refs:device_info (Results 1 – 20 of 20) sorted by relevance

/tools/security/remote_provisioning/hwtrust/src/cbor/rkp/
Dcsr.rs30 Value::Array(device_info) => Self::v2_from_cbor_values(session, array, device_info), in from_cbor()
42 mut device_info: Vec<Value>, in v2_from_cbor_values()
50 ensure!(device_info.len() == 2, "Device info should contain exactly 2 entries"); in v2_from_cbor_values()
51 device_info.pop(); // ignore unverified info in v2_from_cbor_values()
52 let verified_device_info = match device_info.pop() { in v2_from_cbor_values()
71 device_info: DeviceInfo::from_cbor_values(verified_device_info, None)?, in v2_from_cbor_values()
114 let device_info = FieldValue::from_optional_value("DeviceInfo", csr_payload.pop()); in v3_from_authenticated_request() localVariable
118 let device_info = DeviceInfo::from_cbor_values(device_info.into_map()?, Some(3))?; in v3_from_authenticated_request() localVariable
119 Ok(Self::V3 { device_info, dice_chain }) in v3_from_authenticated_request()
139 let device_info = testutil::test_device_info(DeviceInfoVersion::V2); in from_base64_valid_v2() localVariable
[all …]
/tools/security/remote_provisioning/hwtrust/src/rkp/
Dcsr.rs17 device_info: DeviceInfo,
26 device_info: DeviceInfo,
35 Csr::V2 { device_info, challenge, protected_data } => fmt in fmt()
37 .field("DeviceInfo", &device_info) in fmt()
41 Csr::V3 { device_info, dice_chain } => fmt in fmt()
43 .field("DeviceInfo", &device_info) in fmt()
Dfactory_csr.rs51 use crate::rkp::device_info::DeviceInfoVersion;
115 device_info: test_device_info(DeviceInfoVersion::V2), in from_json_valid_v2_ed25519()
129 if let Csr::V3 { device_info, dice_chain } = csr.csr { in from_json_valid_v3_ed25519()
130 assert_eq!(device_info, test_device_info(DeviceInfoVersion::V3)); in from_json_valid_v3_ed25519()
160 device_info: test_device_info(DeviceInfoVersion::V2), in from_json_valid_v2_p256()
174 if let Csr::V3 { device_info, dice_chain } = csr.csr { in from_json_valid_v3_p256()
175 assert_eq!(device_info, test_device_info(DeviceInfoVersion::V3)); in from_json_valid_v3_p256()
/tools/netsim/testing/netsim-grpc/src/netsim_grpc/
Dnetsim_client.py93 device_info = self.get_devices()[device_name]
95 if position and device_info.position != position:
99 device_info.position,
102 if orientation and device_info.orientation != orientation:
106 device_info.orientation,
/tools/test/connectivity/acts/framework/acts/controllers/
Drelay_device_controller.py95 device_info = []
101 device_info.append(info)
102 return device_info
Dchameleon_controller.py70 device_info = []
73 device_info.append(info)
74 return device_info
Dattenuator.py83 device_info = []
89 device_info.append(info)
90 return device_info
Dfuchsia_device.py122 device_info = []
125 device_info.append(info)
126 return device_info
Dandroid_device.py143 device_info = []
147 device_info.append(info)
148 return device_info
549 def device_info(self): member in AndroidDevice
/tools/acloud/internal/lib/
Dadb_tools.py160 device_info = utils.CheckOutput(adb_cmd)
164 for device in device_info.splitlines():
176 device_info = utils.CheckOutput(adb_cmd)
181 for line in device_info.splitlines()[1:]:
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
Daudio_capture_device.py172 device_info = self.audio.get_device_info_by_index(i)
173 logging.debug('Device Information: {}'.format(device_info))
174 if self.audio_params['input_device'] in device_info['name']:
175 self.__input_device = device_info
/tools/test/connectivity/acts_tests/tests/google/bt/
DBtMetricsTest.py106 device_info = pair_event.device_paired_with
107 asserts.assert_true(device_info, "Device info is none")
108 asserts.assert_equal(device_info.device_type,
/tools/security/remote_provisioning/hwtrust/src/
Drkp.rs4 mod device_info; module
10 pub use device_info::{
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLivePreflightTest.py165 device_info = get_info(self.android_devices)
166 self.log.info("After OTA upgrade: %s", device_info)
167 self.results.add_controller_info("AndroidDevice", device_info)
/tools/security/remote_provisioning/hwtrust/src/cbor/
Drkp.rs4 mod device_info; module
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dcellular_power_preset_base_test.py535 device_info = self.cellular_dut.ad.device_info
536 device_name = device_info.get('model', 'Unknown')
Dcellular_power_base_test.py53 self.dut.device_info,
/tools/test/connectivity/acts_tests/tests/google/net/
DUsbTetheringTest.py45 serial = self.dut.device_info['serial']
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dbluetooth_device.py1319 for device_info in device_list:
1320 device = device_list[device_info]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
DPowerBaseTest.py261 target = self.dut.device_info.get('flavor', '')