Home
last modified time | relevance | path

Searched refs:keys (Results 1 – 25 of 190) sorted by relevance

12345678

/tools/test/connectivity/acts/framework/acts/
Dconfig_parser.py23 from acts import keys
44 for k in keys.Config.reserved_keys.value:
47 if (k == keys.Config.key_test_paths.value
48 or k == keys.Config.key_log_path.value):
93 for file_path_key in keys.Config.file_path_keys.value:
190 testbeds = configs[keys.Config.key_testbed.value]
194 tb_dict[testbed[keys.Config.key_testbed_name.value]] = testbed
200 testbed[keys.Config.key_testbed_name.value] = name
213 if (keys.Config.key_log_path.value not in configs
217 configs[keys.Config.key_log_path.value] = os.environ[_ENV_ACTS_LOGPATH]
[all …]
Drecords.py239 keys = [TestResultEnums.RECORD_NAME,
243 keys = [TestResultEnums.RECORD_DETAILS,
247 l.append({k: record.to_dict()[k] for k in keys})
/tools/test/connectivity/acts/framework/tests/event/
Dsubscription_bundle_test.py71 self.assertTrue(mock_subscription in package.subscriptions.keys())
82 self.assertTrue(mock_subscription not in package.subscriptions.keys())
161 keys = bundle.subscriptions.keys()
162 self.assertIn(cls.static_listener_1.subscription, keys)
163 self.assertIn(cls.static_listener_2.subscription, keys)
170 keys = bundle.subscriptions.keys()
171 self.assertIn(self.instance_listener_1.subscription, keys)
172 self.assertIn(self.instance_listener_2.subscription, keys)
187 keys = bundle.subscriptions.keys()
188 self.assertIn(static_listener_1.subscription, keys)
Devent_bus_test.py81 self.assertTrue(mock_type in bus._subscriptions.keys())
83 self.assertTrue(reg_id in bus._registration_id_map.keys())
97 self.assertTrue(reg_id in bus._registration_id_map.keys())
167 for sub_type in bus._subscriptions.keys():
189 for sub_type in bus._subscriptions.keys():
/tools/test/connectivity/acts_tests/tests/google/ble/api/
DBleScanApiTest.py59 if 'ScanSettings' not in input.keys():
64 if 'ScanFilterManufacturerDataId' not in input.keys():
66 if 'ScanFilterDeviceName' not in input.keys():
68 if 'ScanFilterDeviceAddress' not in input.keys():
70 if 'ScanFilterManufacturerData' not in input.keys():
82 if 'ScanSettings' in input.keys():
92 if 'ScanFilterDeviceName' in input.keys():
99 if 'ScanFilterDeviceAddress' in input.keys():
107 if ('ScanFilterManufacturerDataId' in input.keys()
108 and 'ScanFilterManufacturerDataMask' in input.keys()):
[all …]
/tools/security/remote_provisioning/hwtrust/src/dice/
Dchain.rs60 let mut keys = HashSet::with_capacity(1 + payloads.len()); in validate() localVariable
61 keys.insert(root_public_key.to_pem()); in validate()
77 if keys.replace(payload.subject_public_key().to_pem()).is_some() { in validate()
196 let keys = P256_KEY_PEM[1..4].iter().copied().enumerate(); in chain_validate_valid() localVariable
197 let payloads = keys.map(|(n, key)| valid_payload(n, key).build().unwrap()).collect(); in chain_validate_valid()
204 let keys = [P256_KEY_PEM[0], P384_KEY_PEM[0]].into_iter().enumerate(); in chain_validate_valid_with_mixed_kinds_of_key() localVariable
205 let payloads = keys.map(|(n, key)| valid_payload(n, key).build().unwrap()).collect(); in chain_validate_valid_with_mixed_kinds_of_key()
240 let keys = &P256_KEY_PEM[..3]; in chain_validate_fails_with_repeated_subjects() localVariable
244 valid_payload(0, keys[0]).subject(repeated).build().unwrap(), in chain_validate_fails_with_repeated_subjects()
245 valid_payload(1, keys[1]).issuer(repeated).build().unwrap(), in chain_validate_fails_with_repeated_subjects()
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_retail_ap/
Dgoogle_wifi.py96 for setting in self.default_settings.keys():
106 for setting in self.default_settings[interface].keys():
144 (set(dict_settings.keys()).intersection(
145 set(named_settings.keys())))))
147 updating_2G = '2G' in settings_to_update.keys()
148 updating_5G_1 = '5G_1' in settings_to_update.keys()
Dbrcm_ref.py171 for key in self.config_page_fields.keys():
208 (set(dict_settings.keys()).intersection(
209 set(named_settings.keys())))))
211 updating_6G = '6G' in settings_to_update.keys()
212 updating_2G_5G = '2G_5G' in settings_to_update.keys()
D__init__.py554 if 'power' not in self.ap_settings[network].keys():
598 if key not in new_settings.keys():
626 (set(dict_settings.keys()).intersection(
627 set(named_settings.keys())))))
651 if 'ssh_config' in self.ap_settings.keys():
/tools/test/connectivity/acts/framework/acts/bin/
Dact.py28 from acts import keys
199 tp_key = keys.Config.key_test_paths.value
204 ti_key = keys.Config.key_test_case_iterations.value
208 testpath_key = keys.Config.key_test_paths.value
219 keys.Config.key_log_path.value)
/tools/security/remote_provisioning/hwtrust/src/cbor/dice/
Dchain.rs207 let keys: Vec<_> = P256_KEY_PEM[..4].iter().copied().map(PrivateKey::from_pem).collect(); in chain_from_cbor_valid() localVariable
208 let mut pub_keys = keys.iter().map(PrivateKey::public_key); in chain_from_cbor_valid()
213 entry.sign(&keys[n]).to_cbor_value().unwrap() in chain_from_cbor_valid()
221 let keys = [ED25519_KEY_PEM[0], P256_KEY_PEM[0], P384_KEY_PEM[0]]; in chain_from_cbor_valid_with_mixed_key_types() localVariable
222 let keys: Vec<_> = keys.iter().copied().map(PrivateKey::from_pem).collect(); in chain_from_cbor_valid_with_mixed_key_types() localVariable
223 let mut pub_keys = keys.iter().map(PrivateKey::public_key); in chain_from_cbor_valid_with_mixed_key_types()
228 entry.sign(&keys[n]).to_cbor_value().unwrap() in chain_from_cbor_valid_with_mixed_key_types()
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/keystore/
DJSONFileKeyStoreFactory.java158 for (Iterator<String> keys = hostKeyStore.keys(); keys.hasNext(); ) { in overrideClientWithHostKeyStoreFromFile()
159 String key = keys.next(); in overrideClientWithHostKeyStoreFromFile()
180 for (Iterator<String> patternStrings = jsonKeyStore.keys(); patternStrings.hasNext(); ) { in getHostKeyStoreFromFile()
/tools/asuite/atest/
Dbug_detector_unittest.py118 keys = ['test1', '9', '8']
119 for key in keys:
127 keys = ['test1', '4', '3', '2', '1', '0']
128 for key in keys:
/tools/test/connectivity/acts_tests/tests/google/tel/config/
DREADME.md2 …configs that require additional keys to be defined in order to run nearly all tests. Below are det…
3 #### Generally-applicable test keys:
11 #### Call-Server test specific keys (TelLiveStressCallTest):
/tools/test/connectivity/acts_tests/tests/google/tel/etc/
Dmanage_sim.py119 for iccid in active_sims.keys():
151 simconf_list = list(simconf.keys())
152 active_list = get_active_sim_list().keys()
183 for iccid in active_list.keys():
/tools/test/connectivity/acts_tests/tests/google/bt/sar/
DBtSarSanityTest.py43 for key in self.reg_domain_dict.keys():
62 for key in self.reg_domain_dict.keys():
97 for key in enforced_state.keys():
144 for country_code_tuple in self.REG_DOMAIN_DICT.keys():
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DAoaTargetPreparer.java97 List<AoaKey> keys = in ACTIONS.put() local
101 device.pressKeys(keys); in ACTIONS.put()
106 List<AoaKey> keys = new ArrayList<>(); in ACTIONS.put() local
111 keys.addAll(Collections.nCopies(count, key)); in ACTIONS.put()
113 device.pressKeys(keys); in ACTIONS.put()
/tools/test/connectivity/acts/framework/tests/
Dacts_test_runner_test.py25 from acts import keys
61 tb_key = keys.Config.key_testbed.value
105 tb_key = keys.Config.key_testbed.value
/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/functional/
DWifiP2pGroupTest.py45 if not "network_name" in self.user_params.keys():
48 if not "passphrase" in self.user_params.keys():
51 if not "group_band" in self.user_params.keys():
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py605 if identifier not in list(self._aps.keys()):
632 for ap in list(self._aps.keys()):
884 if identifier not in list(self._aps.keys()):
892 if identifier not in list(self._aps.keys()):
899 if identifier not in list(self._aps.keys()):
907 if identifier not in list(self._aps.keys()):
916 if identifier not in list(self._aps.keys()):
/tools/tradefederation/core/aoa_helper/src/com/android/helper/aoa/
DAoaDevice.java281 public void pressKeys(AoaKey... keys) { in pressKeys() argument
282 pressKeys(Arrays.asList(keys)); in pressKeys()
290 public void pressKeys(@Nonnull List<AoaKey> keys) { in pressKeys() argument
291 Iterator<AoaKey> it = keys.stream().filter(Objects::nonNull).iterator(); in pressKeys()
/tools/treble/split/
Dmanifest_split.py502 input_projects = set(get_input_projects(repo_projects, inputs).keys())
514 input_projects = input_projects.union(kati_makefiles_projects.keys())
524 input_projects = input_projects.union(config.add_projects.keys())
531 input_projects = input_projects.difference(config.remove_projects.keys())
578 get_input_projects(repo_projects, inputs).keys())
591 config.remove_projects.keys())
/tools/test/connectivity/acts/framework/acts/event/
Devent_bus.py91 if subscription.event_type in self._subscriptions.keys():
114 if current_type not in self._subscriptions.keys():
144 elif registration_id in self._registration_id_map.keys():
/tools/tradefederation/core/src/com/android/tradefed/result/
DLUCIResultReporter.java275 Iterator<String> keys = (Iterator<String>) jsonObject.keys(); in isValidJSONObject() local
276 while (keys.hasNext()) { in isValidJSONObject()
277 String subKey = keys.next(); in isValidJSONObject()
/tools/asuite/aidegen/lib/
Dmodule_info_util.py288 for module in mk_dict.keys():
290 for key in mk_dict[module].keys():
310 for module in bp_dict.keys():

12345678