Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 44) sorted by relevance

12

/trusty/user/app/storage/test/storage-unittest-aidl/unittests/
Dhelpers.rs28 return Err(format!( in ensure_deleted()
39 return Err(format!( in ensure_deleted()
44 ss.commitChanges().map_err(|e| format!("commitChanges failed with: {}", e))?; in ensure_deleted()
48 return Err(format!("deleteFile failed (for {}) with unexpected error: {}", fname, e)) in ensure_deleted()
51 ss.commitChanges().map_err(|e| format!("commitChanges failed with: {}", e))?; in ensure_deleted()
55 .map_err(|s| format!("while ensuring non-existence, {}", s)) in ensure_deleted()
66 return Err(format!("Expected to read {}, but found {}", pattern, actual)); in check_pattern32()
74 return Err(format!( in check_pattern32()
98 return Err(format!("Chunk size ({}) not 32-bit aligned.", chunk_len)); in check_valid_size()
117 .map_err(|e| format!("Encountered error calling write (chunk {}): {}", i, e))?; in write_pattern()
[all …]
Dmod.rs128 let fnames: [String; 100] = from_fn(|i| format!("test_file_list_{:02}_file", i)); in file_list()
/trusty/user/base/lib/trusty-log/src/
Dlib.rs72 pub fn format<F>(mut self, format: F) -> Self in format() method
76 self.custom_format = Some(Box::new(format)); in format()
118 format!("{} - {}\n", record.level(), record.args()) in default_log_function()
/trusty/user/app/sample/hwcryptohal/common/
Derr.rs35 message: alloc::format!("{}",std::format_args!($($arg)+)),
91 let msg = CString::new(format!("KM error {:?}", e).as_str()).unwrap(); in from()
96 format!("HWCrypto error on {}:{}: {}", file, line, message).as_str(), in from()
103 CString::new(format!("CBOR serialization error {:?}", e).as_str()).unwrap(); in from()
/trusty/device/arm/generic-arm64/project/qemu/
Drun-qemu-helper57 -drive file=${ANDROID_BUILD_DIR}/userdata.img,index=2,if=none,id=hdc,format=raw
59 -drive file=${ANDROID_BUILD_DIR}/vendor.img,index=1,if=none,id=hdb,format=raw
61 -drive file=${ANDROID_BUILD_DIR}/system.img,index=0,if=none,id=hda,format=raw
/trusty/kernel/lib/libc-trusty/test/
Drules.mk28 MODULE_COMPILEFLAGS := -ffreestanding -Wno-format-invalid-specifier
/trusty/user/base/lib/libc-trusty/test/
Drules.mk34 MODULE_COMPILEFLAGS := -ffreestanding -Wno-format-invalid-specifier
/trusty/vendor/google/aosp/scripts/
DgenReport.py111 if (args.format == "html"):
114 elif (args.format == "json"):
Dbuild-config16 # those projects in the following format:
/trusty/user/app/keymint/secure_storage_manager/
Dsoftware.rs414 return Err(format!("hex string not even length: {}", hex.len())); in hex_decode()
436 _ => return Err(format!("char {} '{}' not a hex digit", idx, c)), in hex_decode()
/trusty/user/app/keymint/keys/
Dlegacy.rs100 encrypted_keyblob.format.requires_secure_deletion(), in convert_key()
126 encrypted_keyblob.format in convert_key()
160 encrypted_keyblob.format.is_versioned(), in convert_key()
320 if !encrypted_keyblob.format.requires_secure_deletion() { in delete_legacy_key()
324 encrypted_keyblob.format, in delete_legacy_key()
/trusty/user/base/lib/tipc/rust/src/
Dservice.rs362 format!("{:?}", self) in to_string()
1199 use trusty_std::format;
1250 let mut path = format!("{}.port", SRV_PATH_BASE); in port_create_negative()
1297 let path = format!("{}.port.{}{}", SRV_PATH_BASE, "test", i); in port_create()
1311 let path = format!("{}.port.{}{}", SRV_PATH_BASE, "test", MAX_USER_HANDLES - 1); in port_create()
1326 let path = format!("{}.port.{}{}", SRV_PATH_BASE, "test", MAX_USER_HANDLES); in port_create()
1340 let path = format!("{}.port.{}{}", SRV_PATH_BASE, "test", i); in wait_on_port()
1478 let path1 = format!("{}.port.{}", SRV_PATH_BASE, "testService1"); in multiple_services()
1482 let path2 = format!("{}.port.{}", SRV_PATH_BASE, "testService2"); in multiple_services()
1486 let path = format!("{}.port.{}", SRV_PATH_BASE, "testService3"); in multiple_services()
[all …]
/trusty/user/app/keymint/
Dmain.rs39 format!("{}: {}:{} {}\n", record.level(), file, line, record.args()) in log_formatter()
45 .format(&log_formatter); in main()
Dsecure_storage_manager.rs19 use alloc::{format, string::String, vec::Vec};
57 format!("{}.{}", KM_ATTESTATION_KEY_CERT_PREFIX, suffix) in get_key_slot_file_name()
DLICENSE184 comment syntax for the file format. We also recommend that a
/trusty/user/base/lib/trusty-std/src/
Dlib.rs54 pub use alloc_crate::{borrow, boxed, fmt, format, rc, slice, str, string, vec};
/trusty/vendor/google/aosp/
Dpylintrc101 # Set the output format. Available formats are text, parseable, colorized, msvs
104 output-format=text
119 # Template used to display messages. This is a python new-style format string
120 # used to format the message information. See doc for all details
181 # Logging modules to check that the string format arguments are in logging
182 # function parameter format
226 # Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
227 expected-line-ending-format=LF
251 # Include a hint for the correct naming format with invalid-name
/trusty/device/arm/generic-arm64/project/
Dqemu-qemu-inc.mk67 -Wno-format-truncation \
/trusty/user/app/secretkeeper/
Dlib.rs62 format!("{}: {}:{} {}\n", record.level(), file, line, record.args()) in log_formatter()
256 .format(log_formatter); in inner_main()
Dstore.rs37 result += &format!("{:02x}", byte); in filename()
/trusty/user/app/keymaster/
Dtrusty_keymaster_context.cpp399 info->format = AES_GCM_WITH_SW_ENFORCED_VERSIONED; in GetKdfState()
690 deserialized_key->encrypted_key.format); in ParseKeyBlob()
705 if (deserialized_key->encrypted_key.format == in ParseKeyBlob()
707 deserialized_key->encrypted_key.format == in ParseKeyBlob()
715 deserialized_key->encrypted_key.format); in ParseKeyBlob()
743 deserialized_key->encrypted_key.format); in DeleteKey()
819 if (enc_key.format < AES_GCM_WITH_SW_ENFORCED_VERSIONED) { in DeriveMasterKey()
/trusty/user/app/sample/rust-hello-world/
Dlib.rs140 let outputmsg = format!("Hello, {}!", inputmsg); in on_message()
/trusty/user/base/lib/unittest-rust/src/
Dlib.rs162 let msg = format!("{}\n", record.args()); in log()
/trusty/user/app/storage/
DREADME.md64 Both file systems use the same basic storage format but are configured to use
92 complete it uses three block sets (the same storage format as the free set
/trusty/user/app/sample/
DLICENSE184 comment syntax for the file format. We also recommend that a

12