Home
last modified time | relevance | path

Searched refs:console (Results 1 – 25 of 40) sorted by relevance

12

/packages/modules/Virtualization/vmbase/src/
Dconsole.rs77 () => ($crate::console::write_str("\n"));
79 $crate::console::write_args(format_args!($($arg)*))};
80 $crate::console::write_str("\n");
91 ($($arg:tt)*) => ($crate::console::emergency_write_args(format_args!($($arg)*)));
100 () => ($crate::console::emergency_write_str("\n"));
102 $crate::console::emergency_write_args(format_args!($($arg)*))};
103 $crate::console::emergency_write_str("\n");
Dbionic.rs24 use crate::console;
107 console::write_str(s); in fputs()
123 console::write_str(s); in fwrite()
Dentry.rs17 use crate::{console, power::shutdown};
22 console::init(); in rust_entry()
Dlib.rs20 pub mod console; module
Dlogger.rs23 use crate::console::println;
/packages/modules/Virtualization/vm/src/
Dmain.rs75 console: Option<PathBuf>,
135 console: Option<PathBuf>,
186 console: Option<PathBuf>,
271 console, in main()
290 console.as_deref(), in main()
305 console, in main()
319 console.as_deref(), in main()
328 Opt::Run { name, config, cpu_topology, task_profiles, console, log, gdb } => { in main()
333 console.as_deref(), in main()
Drun.rs283 let console = if let Some(console_path) = console_path { in run() localVariable
301 let vm = VmInstance::create(service, config, console, log, Some(callback)) in run()
/packages/modules/Virtualization/vmbase/example/src/
Dpci.rs23 device::{blk::VirtIOBlk, console::VirtIOConsole},
81 let mut console = VirtIOConsole::<HalImpl, _>::new(transport) in check_virtio_device() localVariable
83 info!("Found console device: {:?}", console.info()); in check_virtio_device()
85 console.send(c).expect("Failed to send character to VirtIO console device"); in check_virtio_device()
/packages/modules/Virtualization/microdroid/
DREADME.md141 --console $TEST_ROOT/console.txt \
148 The last command lets you know the CID assigned to the VM. The console output
149 from the VM is stored to `$TEST_ROOT/console.txt` and logcat is stored to
151 `--console` option, they will be emitted to the current console.
161 the console where the `vm run-app` command was invoked.
169 - console output
Dinit.rc156 service console /system/bin/sh
158 console
163 setenv HOSTNAME console
Dbootconfig.normal6 kernel.console=ttynull
Dbootconfig.debuggable6 kernel.console=hvc0
Dueventd.rc28 # Virtual console for logcat
/packages/modules/Virtualization/pvmfw/src/
Dentry.rs37 use vmbase::{console, layout, logger, main, power::reboot};
204 get_hypervisor().mmio_guard_map(console::BASE_ADDRESS).map_err(|e| { in main_wrapper()
223 let uart_range = console::BASE_ADDRESS..(console::BASE_ADDRESS + CONSOLE_LEN); in main_wrapper()
271 get_hypervisor().mmio_guard_unmap(console::BASE_ADDRESS).map_err(|e| { in main_wrapper()
Dexceptions.rs19 use vmbase::console;
23 const UART_PAGE: usize = page_4kb_of(console::BASE_ADDRESS);
/packages/modules/Virtualization/vmclient/src/
Dlib.rs178 console: Option<File>, in create()
182 let console = console.map(ParcelFileDescriptor::new); in create() localVariable
185 let vm = service.createVm(config, console.as_ref(), log.as_ref())?; in create()
/packages/modules/adb/
Dsysdeps_win32.cpp1525 static bool _get_key_event_record(const HANDLE console, INPUT_RECORD* const input_record) { in _get_key_event_record() argument
1529 if (!ReadConsoleInputA(console, input_record, 1, &read_count)) { in _get_key_event_record()
1917 static int _console_read(const HANDLE console, void* buf, size_t len) { in _console_read() argument
1935 if (!_get_key_event_record(console, &input_record)) { in _console_read()
2681 HANDLE console) { in _console_write_utf8() argument
2731 if (!WriteConsoleW(console, utf16.c_str(), utf16.length(), &written, nullptr)) { in _console_write_utf8()
2744 static int _console_vfprintf(const HANDLE console, FILE* stream, const char* format, va_list ap)
2749 static int _console_vfprintf(const HANDLE console, FILE* stream, in _console_vfprintf() argument
2759 console); in _console_vfprintf()
2771 const HANDLE console = _get_console_handle(stream); in adb_vfprintf() local
[all …]
/packages/modules/Virtualization/rialto/tests/
Dtest.rs74 let console = android_log_fd()?; in boot_rialto_successfully() localVariable
117 let vm = VmInstance::create(service.as_ref(), &config, Some(console), Some(log), None) in boot_rialto_successfully()
/packages/modules/Virtualization/vmbase/example/tests/
Dtest.rs93 let (handle, console) = android_log_fd()?; in test_run_example_vm()
95 let vm = VmInstance::create(service.as_ref(), &config, Some(console), Some(log_writer), None) in test_run_example_vm()
/packages/modules/Virtualization/vmbase/
DREADME.md12 - A UART driver and `println!` macro for early console logging.
65 vmbase adds a wrapper around your main function to initialise the console driver first (with the
79 use vmbase::{console::emergency_write_str, power::reboot};
/packages/apps/Car/DebuggingRestrictionController/soong/
DREADME.md4 from `google-services.json`, which can be downloaded from the Firebase console.
/packages/modules/Virtualization/demo/java/com/android/microdroid/demo/
DMainActivity.java266 InputStream console = mVirtualMachine.getConsoleOutput(); in run() local
268 mExecutorService.execute(new Reader("console", mConsoleOutput, console)); in run()
/packages/modules/Virtualization/rialto/src/
Dexceptions.rs18 use vmbase::{console::emergency_write_str, eprintln, power::reboot};
Dmain.rs108 Ok(()) => get_hypervisor().mmio_guard_map(vmbase::console::BASE_ADDRESS)?, in try_init_logger()
/packages/modules/Virtualization/demo/
DREADME.md27 start a VM. You can see console output from the VM on the screen. You can stop

12