/trusty/user/base/tools/ |
D | test_manifest_compiler.py | 23 def test_get_string_1(self): argument 32 def test_get_string_2(self): argument 43 def test_get_string_3(self): argument 53 def test_get_string_4(self): argument 63 def test_get_string_5(self): argument 73 def test_get_string_6(self): argument 82 def test_get_int_when_valid_values_given(self): argument 102 def test_get_int_when_invalid_values_given(self): argument 122 def test_get_int_missing_required_field(self): argument 131 def test_get_int_missing_optional_field(self): argument [all …]
|
/trusty/device/arm/generic-arm64/project/qemu/ |
D | qemu_arm64_options.py | 23 def __init__(self, config): argument 27 def rpmb_data_path(self): argument 30 def rpmb_options(self, sock): argument 36 def gen_dtb(self, args, dtb_tmp_file): argument 76 def drive_args(self, image, index): argument 88 def android_drives_args(self): argument 97 def machine_options(self): argument 100 def basic_options(self): argument 103 def bios_options(self): argument 106 def linux_options(self): argument [all …]
|
D | qemu_options.py | 23 def __init__(self, config): argument 27 def rpmb_data_path(self): argument 30 def rpmb_options(self, sock): argument 36 def gen_dtb(self, args, dtb_tmp_file): argument 76 def drive_args(self, image, index): argument 88 def android_drives_args(self): argument 97 def machine_options(self): argument 100 def basic_options(self): argument 103 def bios_options(self): argument 106 def linux_options(self): argument [all …]
|
D | qemu.py | 55 def __init__(self, config=None): argument 88 def check_config(self, interactive: bool, boot_tests=(), argument 160 def __init__(self): argument 173 def open(self): argument 181 def close(self): argument 208 def qmp_command(self, qmp_command): argument 232 def qmp_execute(self, execute, arguments=None): argument 239 def monitor_command(self, monitor_command): argument 303 def __init__(self): argument 312 def get_qemu_arg_temp_file(self): argument [all …]
|
D | qemu_error.py | 11 def __init__(self, msg): argument 15 def __str__(self): argument 22 def __init__(self, msg): argument 26 def __str__(self): argument 33 def __init__(self, adb_args, code): argument 38 def __str__(self): argument 45 def __init__(self, step, timeout): argument 50 def __str__(self): argument
|
/trusty/vendor/google/aosp/scripts/ |
D | log_processor.py | 68 def __init__(self): argument 72 def done(self): argument 75 def __init__(self): argument 79 def len(self): argument 84 def insert(self, key, val: tuple[str, bool]): argument 122 def pop_front(self): argument 189 def __init__(self, stream, err, pinned, lock, colored, log_file): argument 202 def colorize(self, string, color): argument 206 def display(self, module_status, entry, pinned): argument 241 def erase_pinned(self): argument [all …]
|
D | trusty_build_config.py | 46 def __init__(self): argument 61 def __init__(self, **flags): argument 65 def set(self, **flags): argument 76 def match_provide(self, provide): argument 82 def __init__(self, src, dest, optional): argument 90 def __init__(self, name, command, enabled, port_type = PortType.TEST): argument 96 def type(self, port_type): argument 118 def __init__(self, name, command, need=None, argument 134 def needs(self, **need): argument 142 def __init__(self, port, port_type=PortType.TEST, enabled=True, argument [all …]
|
D | run_tests.py | 59 def __init__(self, test: str, status: Optional[int], retried: bool): argument 64 def test_status(self) -> TEST_STATUS: argument 69 def failed(self) -> bool: argument 72 def __format__(self, _format_spec: str) -> str: argument 89 def __init__(self, project): argument 100 def add_result(self, result: TestResult): argument 116 def print_results(self, print_failed_only=False): argument 181 def __init__(self, test_results: list[TestResults]): argument 204 def print_results(self): argument
|
/trusty/user/base/lib/storage/rust/src/ |
D | transaction.rs | 33 fn end_transaction(self, complete: bool) -> Result<(), Error> { in end_transaction() argument 62 pub fn open_file(&mut self, name: &str, mode: OpenMode) -> Result<SecureFile, Error> { in open_file() 83 &mut self, in read_all() 105 &mut self, in read_at() 118 pub fn write_all(&mut self, file: &mut SecureFile, buf: &[u8]) -> Result<(), Error> { in write_all() 128 &mut self, in write_at() 137 pub fn get_size(&mut self, file: &SecureFile) -> Result<usize, Error> { in get_size() 147 pub fn set_size(&mut self, file: &mut SecureFile, size: usize) -> Result<(), Error> { in set_size() 162 pub fn rename(&mut self, from: &str, to: &str) -> Result<(), Error> { in rename() 175 pub fn remove(&mut self, name: &str) -> Result<(), Error> { in remove() [all …]
|
D | lib.rs | 215 pub fn close(self) { in close() argument 234 pub fn open_file(&mut self, name: &str, mode: OpenMode) -> Result<SecureFile, Error> { in open_file() 249 &mut self, in open_file_impl() 301 pub fn read<'buf>(&mut self, path: &str, buf: &'buf mut [u8]) -> Result<&'buf [u8], Error> { in read() 322 pub fn write(&mut self, path: &str, buf: &[u8]) -> Result<(), Error> { in write() 344 &mut self, in read_all() 374 &mut self, in read_at() 402 pub fn write_all(&mut self, file: &mut SecureFile, buf: &[u8]) -> Result<(), Error> { in write_all() 410 &mut self, in write_all_impl() 436 &mut self, in write_at() [all …]
|
/trusty/user/base/lib/tipc/rust/src/service/ |
D | handle_set.rs | 84 pub fn add_connection(&mut self, connection: Rc<Channel<D>>) -> Result<()> { in add_connection() 112 pub fn wait(&self, timeout: Option<u32>) -> Result<trusty_sys::uevent> { in wait() 119 pub fn close(&mut self, connection: Rc<Channel<D>>) { in close() 143 fn mask_all_ports(&self) { in mask_all_ports() 149 fn unmask_all_ports(&self) { in unmask_all_ports() 156 fn do_set_ctrl(&self, cmd: u32, event: u32, channel: &Rc<Channel<D>>) -> Result<()> { in do_set_ctrl() 207 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
|
/trusty/host/common/scripts/metrics_atoms_protoc_plugin/ |
D | metrics_atoms_protoc_plugin.py | 92 def name_len(self): argument 102 def values_name_len(self): argument 106 def c_name(self): argument 172 def c_name(self): argument 176 def is_string(self): argument 182 def c_type(self): argument 198 def default_value(self): argument 223 def stats_setter_name(self): argument 244 def c_name(self): argument
|
/trusty/user/base/lib/stats/ |
D | stats.cpp | 84 int stats_istats_report_vendor_atom(struct stats_istats* self, in stats_istats_report_vendor_atom() 114 int stats_vendor_atom_set_reverse_domain_name(struct stats_vendor_atom* self, in stats_vendor_atom_set_reverse_domain_name() 122 int stats_vendor_atom_set_atom_id(struct stats_vendor_atom* self, int atom_id) { in stats_vendor_atom_set_atom_id() 128 int stats_vendor_atom_set_int_value_at(struct stats_vendor_atom* self, in stats_vendor_atom_set_int_value_at() 134 int stats_vendor_atom_set_long_value_at(struct stats_vendor_atom* self, in stats_vendor_atom_set_long_value_at() 140 int stats_vendor_atom_set_float_value_at(struct stats_vendor_atom* self, in stats_vendor_atom_set_float_value_at() 146 int stats_vendor_atom_set_string_value_at(struct stats_vendor_atom* self, in stats_vendor_atom_set_string_value_at()
|
/trusty/user/app/keymint/ |
D | keymaster_attributes.rs | 56 pub fn clear_uuid(&mut self) { in clear_uuid() 65 pub fn set_uuid(&mut self, v: ::std::vec::Vec<u8>) { in set_uuid() 92 pub fn clear_product_id(&mut self) { in clear_product_id() 101 pub fn set_product_id(&mut self, v: ::std::vec::Vec<u8>) { in set_product_id() 125 …fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<… in merge_from() 158 …fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Pr… in write_to_with_cached_sizes() 228 fn clear(&mut self) { in clear() 236 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { in fmt() 284 pub fn clear_brand(&mut self) { in clear_brand() 293 pub fn set_brand(&mut self, v: ::std::vec::Vec<u8>) { in set_brand() [all …]
|
D | rng.rs | 25 fn add_entropy(&mut self, data: &[u8]) { in add_entropy() 28 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes()
|
D | rpc.rs | 36 &self, in derive_bytes_from_hbk() 53 fn get_dice_info<'a>(&self, _test_mode: rpc::TestMode) -> Result<DiceInfo, Error> { in get_dice_info() 71 &self, in sign_data() 81 &self, in sign_data_in_cose_sign1()
|
D | key_wrapper.rs | 45 fn ephemeral_wrap(&self, key_material: &KeyMaterial) -> Result<Vec<u8>, Error> { in ephemeral_wrap() 77 &self, in create_storage_key() 129 &self, in generate_key() 142 &self, in import_key() 157 &self, in begin() 171 &self, in begin_aead()
|
D | secure_deletion_secret_manager.rs | 134 &mut self, in read_block() 164 fn find_empty_slot(&mut self, is_upgrade: bool) -> Result<Option<usize>, Error> { in find_empty_slot() 203 fn write_block(&mut self, start: usize, buffer: &[u8]) -> Result<(), Error> { in write_block() 231 fn resize(&mut self, new_size: usize) -> Result<(), Error> { in resize() 243 fn zero_entries(&mut self, begin: usize, end: usize) -> Result<(), Error> { in zero_entries() 290 &'a self, in get_factory_reset_secret_impl() 344 &mut self, in get_or_create_factory_reset_secret_impl() 376 fn read_slot_data(&self, slot: SecureDeletionSlot, buffer: &mut [u8]) -> Result<(), Error> { in read_slot_data() 438 fn drop(&mut self) { in drop() 447 &mut self, in get_or_create_factory_reset_secret() [all …]
|
/trusty/user/base/lib/trusty-std/src/ |
D | alloc.rs | 96 fn try_push(&mut self, value: T) -> Result<(), TryReserveError>; in try_push() 103 fn try_push(&mut self, value: T) -> Result<(), TryReserveError> { in try_push() 203 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() 222 &self, in grow_impl() 272 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() 277 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() 282 unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) { in deallocate() 292 &self, in grow() 303 &self, in grow_zeroed() 314 &self, in shrink() [all …]
|
/trusty/user/base/lib/unittest-rust/src/ |
D | lib.rs | 100 fn serialize<'a: 's, S: Serializer<'s>>( in serialize() 134 fn connect(&self, handle: &Handle) -> tipc::Result<()> { in connect() 142 fn disconnect(&self) { in disconnect() 148 fn enabled(&self, metadata: &Metadata) -> bool { in enabled() 152 fn log(&self, record: &Record) { in log() 171 fn flush(&self) { in flush() 191 &self, in on_connect() 245 &self, in on_message() 253 fn on_disconnect(&self, _connection: &Self::Connection) { in on_disconnect()
|
D | context.rs | 37 pub fn fail(&self, hard_fail: bool) { in fail() 42 pub fn skip(&self) { in skip() 46 pub(crate) fn reset(&self) { in reset()
|
/trusty/user/base/lib/tipc/rust/src/ |
D | handle.rs | 121 pub fn send<'s, T: Serialize<'s>>(&self, msg: &'s T) -> crate::Result<()> { in send() 136 pub fn recv<T: Deserialize>(&self, buffer: &mut [u8]) -> Result<T, T::Error> { in recv() 149 &self, in recv_vectored() 209 pub fn send_vectored(&self, buffers: &[&[u8]], handles: &[Handle]) -> crate::Result<()> { in send_vectored() 282 pub(crate) fn wait(&self, timeout: Option<u32>) -> crate::Result<trusty_sys::uevent> { in wait() 303 fn get_msg<F, R>(&self, mut func: F) -> crate::Result<R> in get_msg() 338 pub fn mmap(&self, size: usize, flags: MMapFlags) -> crate::Result<UnsafeSharedBuf> { in mmap() 367 fn drop(&mut self) { in drop() 386 fn serialize_bytes(&mut self, bytes: &'a [u8]) -> Result<Self::Ok, Self::Error> { in serialize_bytes() 390 fn serialize_handle(&mut self, handle: &'a Handle) -> Result<Self::Ok, Self::Error> { in serialize_handle() [all …]
|
D | service.rs | 101 pub fn msg_queue_len(self, msg_queue_len: u32) -> Self { in msg_queue_len() argument 106 pub fn msg_max_size(self, msg_max_size: u32) -> Self { in msg_max_size() argument 137 fn eq(&self, other: &Self) -> bool { in eq() 145 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 162 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 344 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 384 &self, in on_connect() 398 &self, in on_message() 405 fn on_disconnect(&self, _connection: &Self::Connection) {} in on_disconnect() 418 &self, in on_connect() [all …]
|
D | serialization.rs | 19 fn serialize_bytes(&mut self, bytes: &'s [u8]) -> Result<Self::Ok, Self::Error>; in serialize_bytes() 28 unsafe fn serialize_as_bytes<T: Sized>(&mut self, obj: &'s T) -> Result<Self::Ok, Self::Error> { in serialize_as_bytes() 41 fn serialize_handle(&mut self, handle: &'s Handle) -> Result<Self::Ok, Self::Error>; in serialize_handle() 49 fn serialize<'a: 's, S: Serializer<'s>>( in serialize() 56 fn serialize<'a: 's, S: Serializer<'s>>( in serialize()
|
/trusty/user/base/lib/trusty-log/src/ |
D | lib.rs | 67 pub fn with_min_level(mut self, level: log::Level) -> Self { in with_min_level() 72 pub fn format<F>(mut self, format: F) -> Self in format() 100 fn enabled(&self, metadata: &Metadata) -> bool { in enabled() 104 fn log(&self, record: &Record) { in log() 114 fn flush(&self) {} in flush()
|