Home
last modified time | relevance | path

Searched refs:insert (Results 1 – 25 of 98) sorted by relevance

1234

/tools/security/remote_provisioning/hwtrust/src/cbor/dice/
Dentry.rs410 entry.insert(value); in config_desc_from_slice()
556 fields.insert(CODE_HASH, Value::Bytes(vec![1; 32])); in valid_payload_sha256()
557 fields.insert(CONFIG_DESC, Value::Bytes(config_desc)); in valid_payload_sha256()
558 fields.insert(CONFIG_HASH, Value::Bytes(config_hash)); in valid_payload_sha256()
559 fields.insert(AUTHORITY_HASH, Value::Bytes(vec![2; 32])); in valid_payload_sha256()
570 fields.insert(CODE_HASH, Value::Bytes(vec![1; 48])); in valid_payload_sha384()
571 fields.insert(CONFIG_DESC, Value::Bytes(config_desc)); in valid_payload_sha384()
572 fields.insert(CONFIG_HASH, Value::Bytes(config_hash)); in valid_payload_sha384()
573 fields.insert(AUTHORITY_HASH, Value::Bytes(vec![2; 48])); in valid_payload_sha384()
590 fields.insert(KEY_USAGE, Value::Bytes(vec![0x20])); in key_usage_only_key_cert_sign()
[all …]
/tools/netsim/rust/common/src/util/
Dini_file.rs68 self.data.insert(key.to_owned(), value.to_owned()); in read()
107 fn insert(&mut self, key: &str, value: &str) { in insert() method
108 self.data.insert(key.to_owned(), value.to_owned()); in insert()
126 ini_file.insert("web.port", &num.to_string()); in create_ini()
128 ini_file.insert("grpc.port", &grpc_port.to_string()); in create_ini()
307 inifile.insert("port", "123"); in test_insert_and_contains_key()
315 inifile.insert("port", "234"); in test_insert_and_contains_key()
332 inifile.insert("port", "123"); in test_write()
362 inifile.insert("port", "123"); in test_write_and_read()
363 inifile.insert("port2", "456"); in test_write_and_read()
/tools/asuite/atest/logstorage/
Dlogstorage_utils.py174 return self.client.build().insert(buildType='local', body=body).execute()
188 .insert(
235 return self.client.invocation().insert(body=invocation).execute()
286 return self.client.workunit().insert(body=workunit).execute()
/tools/netsim/rust/daemon/src/http_server/
Dhttp_request.rs108 headers.insert("Host", http::HeaderValue::from_static("example.com")); in test_parse()
109 headers.insert("Content-Length", http::HeaderValue::from_static("13")); in test_parse()
123 headers.insert("Host", http::HeaderValue::from_static("example.com")); in test_parse_without_body()
138 headers.insert("Host", http::HeaderValue::from_static("example.com")); in test_parse_without_content_length()
Dhttp_handlers.rs62 if result.insert(&word[..equal], &word[equal + 1..]).is_some() { in collect_query()
77 valid_files.insert(entry.path().to_str().unwrap().to_string()); in create_filename_hash_set()
204 expected.insert("name", "hello"); in test_collect_query()
209 expected.insert("name", "hello"); in test_collect_query()
210 expected.insert("kind", "bt"); in test_collect_query()
/tools/netsim/testing/netsim-grpc/src/netsim_grpc/
D__init__.py6 sys.path.insert(
9 sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
/tools/acloud/internal/lib/
Dgcompute_client_test.py221 resource_mock.insert = mock.MagicMock()
225 resource_mock.insert.assert_called_with(
246 resource_mock.insert = mock.MagicMock()
250 resource_mock.insert.assert_called_with(
272 resource_mock.insert = mock.MagicMock()
276 resource_mock.insert.assert_called_with(
336 resource_mock.insert = mock.MagicMock()
350 resource_mock.insert.assert_called_with(
569 resource_mock.insert = mock.MagicMock()
617 resource_mock.insert.assert_called_with(
[all …]
Dgstorage_client_test.py78 resource_mock.insert = mock.MagicMock(return_value=mock_api)
90 resource_mock.insert.assert_called_with(
/tools/tradefederation/core/util_apps/ContentProvider/androidTest/src/android/tradefed/contentprovider/
DManagedFileContentProviderTest.java117 Uri uriResult = mResolver.insert(mTestFileUri, mCv); in testDelete()
123 Uri reInsert = mResolver.insert(mTestFileUri, mCv); in testDelete()
140 uriResult = mResolver.insert(mTestFileUri, mCv); in testDelete()
/tools/netsim/rust/daemon/src/captures/
Dcapture.rs219 pub fn insert(&mut self, capture: CaptureInfo) { in insert() method
222 self.chip_id_to_capture.insert(chip_id, arc_capture.clone()); in insert()
280 clone_captures().write().unwrap().insert(capture_info); in spawn_capture_event_subscriber()
/tools/dexter/slicer/export/slicer/
Dintrusive_list.h78 insert(end(), p); in push_back()
81 Iterator insert(Iterator it, T* p) { in insert() function
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
DCoexPerformanceBaseTest.py311 y_label.insert(0, 'Throughput (Mbps)')
312 legends[bt_atten].insert(
321 legends[bt_atten].insert(
327 y_label.insert(0, "Packets Dropped")
371 legends[bt_atten].insert(
Dcoex_test_utils.py1207 data[0].insert(0, data_sets[i]["attenuation"])
1208 data[1].insert(0, data_sets[i]["throughput_received"])
1209 legend.insert(0, legends[i][j + 1])
1259 data[0].insert(0, data_sets[i]["attenuation"])
1260 data[1].insert(0, data_sets[i]["throughput_received"])
1261 legend.insert(0, legends[i][j])
1277 plot.insert(0, all_plot)
/tools/security/gdb/gdb_json_printer/
Dgdbinit4 sys.path.insert(0, '<path_to_gdb_json_printer>')
/tools/netsim/rust/daemon/src/uwb/
Dranging_estimator.rs46 pub fn insert(&self, pica_id: Handle, chip_id: ChipIdentifier) { in insert() method
47 self.lock().insert(pica_id, chip_id); in insert()
/tools/repohooks/rh/
Dsignals.py23 sys.path.insert(0, _path)
Dshell.py23 sys.path.insert(0, _path)
/tools/security/remote_provisioning/hwtrust/src/rkp/
Dfactory_csr.rs113 .insert("google-test".to_string(), UdsCertsEntry::new_x509_chain(chain).unwrap()); in from_json_valid_v2_ed25519()
288 value.insert("name".to_string(), Value::Object(Map::default())); in from_json_name_is_wrong_type()
311 value.insert("extra".to_string(), Value::Bool(true)); in from_json_extra_tag_is_ignored()
/tools/netsim/rust/daemon/src/wireless/
Dpacket.rs84 if self.transports.write().unwrap().insert(chip_id, tx).is_some() { in register_transport()
155 packet_vec.insert(0, packet_type); in handle_request()
/tools/asuite/experiments/a/tools/
Dupdate_utils.py30 result.insert(0, 'm ' + m_command.strip())
/tools/asuite/adevice/src/
Dcommands.rs89 commands.upserts.insert( in compose()
103 commands.deletes.insert( in compose()
/tools/netsim/src/hci/
Dasync_manager.cc433 tasks_by_user_id_[task->user_id].insert(task->task_id); in scheduleTask()
434 task_queue_.insert(task); in scheduleTask()
485 task_queue_.insert(task_p); in ThreadRoutine()
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py215 new_signal.extras[k].insert(0, v)
255 extras[k].insert(0, v)
/tools/repohooks/tools/
Dcheck_aosp_license.py27 sys.path.insert(0, _path)
/tools/netsim/rust/http-proxy/src/
Ddns_manager.rs64 self.map.lock().unwrap().insert(ip_addr, name.clone()); in add_from_packet_headers()

1234