Lines Matching refs:f
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",
218 sys.stderr.write(f"Command {qmp_command} failed: {err}\n")
399 rpmb_sock = f"{self.rpmb_sock_dir}/rpmb"
442 msg_sock_file = f"{self.msg_sock_dir}/msg"
451 "-chardev", f"socket,id=testrunner0,path={msg_sock_file}"]
607 print(f"adb Timed out ({test_timeout} s)")
623 return f"{self.config.android}/host/linux-x86/bin/adb"
628 on_timeout=lambda timeout: print(f"Timed out ({timeout} s)"),
709 f"Failed to find transport for port {port} in \n{output}")
729 self.check_adb(["connect", f"localhost:{port}"])
757 self.check_adb(["disconnect", f"localhost:{port}"])
861 f"DEVICE_SERIAL: localhost:{self.session.ports[1]}\n")
882 print(f"Debug with: lldb --source {script_dir}/lldbinit")