/trusty/device/arm/generic-arm64/project/qemu/ |
D | lldb_support.py | 13 KERNEL_ELF_FILE = f"{TRUSTY_PROJECT_FOLDER}/lk.elf" 56 f"target modules load -f {lk_elf} -s {hex(offset)}" 64 f"{uuid_bytes[3]:02x}{uuid_bytes[2]:02x}{uuid_bytes[1]:02x}{uuid_bytes[0]:02x}-" 65 f"{uuid_bytes[5]:02x}{uuid_bytes[4]:02x}-" 66 f"{uuid_bytes[7]:02x}{uuid_bytes[6]:02x}-" 67 f"{uuid_bytes[8]:02x}{uuid_bytes[9]:02x}-" 68 …f"{uuid_bytes[10]:02x}{uuid_bytes[11]:02x}{uuid_bytes[12]:02x}{uuid_bytes[13]:02x}{uuid_bytes[14]:… 87 f"{time_low:08x}-" 88 f"{time_mid:04x}-" 89 f"{time_hi_and_version:04x}-" [all …]
|
D | qemu_options.py | 28 return f"{self.config.atf}/RPMB_DATA" 34 "-chardev", f"socket,id=rpmb0,path={sock}"] 41 f"{self.MACHINE},dumpdtb={dtb_gen.name}" 46 f"dumping dtb failed with {returncode}") 47 dtc = f"{self.config.linux}/scripts/dtc/dtc" 56 f"dtb_to_dts failed with {dtb_to_dts.returncode}") 58 firmware = f"{self.config.atf}/firmware.android.dts" 73 raise RunnerGenericError(f"dts_to_dtb failed with {dts_to_dtb_ret}") 79 image_dir = f"{self.config.android}/target/product/trusty" 83 … f"file={image_dir}/{image}.img,index={index},if=none,id=hd{index_letter},format=raw,snapshot=on", [all …]
|
D | qemu_arm64_options.py | 28 return f"{self.config.atf}/RPMB_DATA" 34 "-chardev", f"socket,id=rpmb0,path={sock}"] 41 f"{self.MACHINE},dumpdtb={dtb_gen.name}" 46 f"dumping dtb failed with {returncode}") 47 dtc = f"{self.config.linux}/scripts/dtc/dtc" 56 f"dtb_to_dts failed with {dtb_to_dts.returncode}") 58 firmware = f"{self.config.atf}/firmware.android.dts" 73 raise RunnerGenericError(f"dts_to_dtb failed with {dts_to_dtb_ret}") 79 image_dir = f"{self.config.android}/target/product/trusty" 83 … f"file={image_dir}/{image}.img,index={index},if=none,id=hd{index_letter},format=raw,snapshot=on", [all …]
|
D | qemu.py | 30 if os.path.exists(f"{android}/target/product/trusty"): 32 if os.path.exists(f"{android}/out/target/product/trusty"): 33 return f"{android}/out" 35 print(f"{android} not an Android source or build directory") 149 forwards += f",hostfwd=tcp::{port}-:{remap_port}" 163 os.mkfifo(f"{self.command_dir}/com.in") 164 os.mkfifo(f"{self.command_dir}/com.out") 167 f"pipe,id=command0,path={self.command_dir}/com", "-mon", 175 self.com_pipe_in = open(f"{self.command_dir}/com.in", "w", 177 self.com_pipe_out = open(f"{self.command_dir}/com.out", "r", [all …]
|
D | run.py | 22 with open(f"{TRUSTY_PROJECT_FOLDER}/config.json", encoding="utf-8") as json:
|
/trusty/host/common/scripts/metrics_atoms_protoc_plugin/ |
D | metrics_atoms_protoc_plugin.py | 107 return f"stats_{snake_case(self.name)}" 122 f"repeated fields are not supported in Android" 123 f" please fix {type_name}({type_})") 148 f"boolean fields are not supported in Android" 149 f" please fix {type_name}({type_})") 158 f"byte[] fields are not supported in Android" 159 f" please fix {type_name}({type_})") 161 f"field type {type_name}({type_}) cannot be an atom field") 184 return f"enum {self.enum.c_name} " 195 raise StatsLogGenerationError(f"unknown tag {self.tag}") [all …]
|
/trusty/vendor/google/aosp/scripts/ |
D | build.py | 64 with open(path, "r", encoding="utf-8") as f: 65 num = int(f.read()) + 1 68 with open(path, "w", encoding="utf-8") as f: 69 f.write(str(num)) 70 f.truncate() 181 for f in files: 182 file_path = os.path.join(root, f) 220 print(f"Adding SDK project... ({project})") 263 cmd = f"source {envsetup} && echo $CLANG_BINDIR" 271 cmd = f"cd {clang_dir}; git rev-parse HEAD" [all …]
|
D | run_tests.py | 73 return f"{self.test:s} returned {self.status:d}" 129 f"There were {test_count} defined for project {self.project}.\n" 130 f"{test_attempted} ran and {self.skipped_count} were skipped." 136 out.write(f"[ FAILED ] {result.test}\n") 138 out.write(f"[ SKIPPED ] {result.test}\n") 140 out.write(f"[ OK ] {result.test}\n") 143 f"WARNING: {result.test} was re-run and " 148 f"[==========] {test_count} tests ran for project " 149 f"{self.project}.\n" 152 out.write(f"[ PASSED ] {self.passed_count} tests.\n") [all …]
|
D | genReport.py | 45 with(open(out+".html", "w")) as f: 46 output = subprocess.call(subprocess_cmd, stdout=f) 54 with(open(out+".json", "w")) as f: 55 output = subprocess.call(subprocess_cmd, stdout=f) 104 profrawFiles = [str(os.path.join(args.profraw_dir, f)) 105 for f in os.listdir(args.profraw_dir) if f.endswith('.profraw')]
|
D | log_processor.py | 233 f'{start_time:3.1f}s done', self.color.green) 237 f'{running_time:3.1f}s', self.color.yellow) 239 print(f'{module}: {status} {message}') 246 print(f'\033[{nerase}A', end = '') 329 self.log_file.write(f'{module}: {status} {message}\n')
|
D | trusty_build_config.py | 321 cmd.append(f"--gtest_repeat={repeat}") 399 with open(path, encoding="utf8") as f: 400 code = compile(f.read(), path, "eval")
|
/trusty/user/base/lib/libc-trusty/ |
D | time_stubs.c | 30 const char* restrict f, in strftime_l() argument 41 const char* restrict f, in strftime() argument 43 return strftime_l(s, n, f, tm, 0); in strftime()
|
/trusty/user/base/tools/ |
D | manifest_compiler.py | 302 sys.stderr.write(f"Error: {msg}\n") 327 log.error(f"{key} constant type mismatch, expected type is {type_}") 340 log.error(f"Manifest is missing required attribute - {key}") 359 f" {key} - \"{value}\", Valid string value is expected") 372 log.error(f"Manifest is missing required attribute - {key}") 390 log.error(f"Invalid value for {key} - \"{value}\", " + 395 f" {key} - \"{value}\", valid integer value is expected") 405 log.error(f"Manifest is missing required attribute - {key}") 414 f" {key} - \"{value}\", valid list is expected") 426 log.error(f"Manifest is missing required attribute - {key}") [all …]
|
/trusty/user/app/storage/ |
D | debug.h | 30 #define TRACEFF(f, str, x...) \ argument 32 fprintf(f, "%s():%d: " str, __func__, __LINE__, ##x); \
|
/trusty/user/base/lib/unittest-rust/src/ |
D | lib.rs | 207 StaticTestFn(f) => f(), in on_connect() 293 StaticTestFn(f) => TestDescAndFn { testfn: StaticTestFn(f), desc: test.desc.clone() }, in make_owned_test() 294 StaticBenchFn(f) => TestDescAndFn { testfn: StaticBenchFn(f), desc: test.desc.clone() }, in make_owned_test()
|
D | types.rs | 105 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 106 fmt::Display::fmt(self.as_slice(), f) in fmt() 138 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 139 f.write_str(match *self { in fmt()
|
/trusty/kernel/lib/libc-trusty/ |
D | fflush.c | 19 int fflush(FILE* f) { in fflush() argument
|
/trusty/user/base/lib/tipc/rust/src/ |
D | err.rs | 98 pub fn map<U, F: FnOnce(T) -> U>(self, f: F) -> ConnectResult<U> { in map() 100 Self::Accept(c) => ConnectResult::Accept(f(c)), in map()
|
D | service.rs | 145 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 146 writeln!(f, "Channel {{")?; in fmt() 147 writeln!(f, " handle: {:?},", self.handle)?; in fmt() 148 writeln!(f, " ty: {:?},", self.ty)?; in fmt() 149 write!(f, "}}") in fmt() 162 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 164 ChannelTy::Port(cfg) => write!(f, "ChannelTy::Port({:?})", cfg), in fmt() 165 ChannelTy::Connection(_) => write!(f, "ChannelTy::Connection"), in fmt() 344 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 346 f, in fmt() [all …]
|
/trusty/user/app/sample/stats-test/include/ |
D | consumer_ctl.h | 39 float f; member
|
/trusty/user/base/lib/tipc/rust/src/service/ |
D | handle_set.rs | 207 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 208 write!(f, "HandleSet: [{:?}", self.ports) in fmt()
|
/trusty/user/app/secretkeeper/ |
D | store.rs | 83 Ok(f) => f, in get()
|
/trusty/user/app/keymint/ |
D | keymaster_attributes.rs | 236 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { in fmt() 237 ::protobuf::text_format::fmt(self, f) in fmt() 821 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { in fmt() 822 ::protobuf::text_format::fmt(self, f) in fmt() 1039 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { in fmt() 1040 ::protobuf::text_format::fmt(self, f) in fmt() 1211 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { in fmt() 1212 ::protobuf::text_format::fmt(self, f) in fmt()
|
/trusty/kernel/lib/syscall/stubgen/ |
D | stubgen.py | 205 f"to handle double indirection in arg: {arg}")
|
/trusty/user/app/keymaster/ |
D | trusty_secure_deletion_secret_storage.cpp | 403 OnExit(F f) : f_(f) {} in OnExit() argument
|