/system/core/bootstat/ |
D | bootstat.cpp | 542 bool readPstoreConsole(std::string& console) { in readPstoreConsole() argument 543 if (android::base::ReadFileToString("/sys/fs/pstore/console-ramoops-0", &console)) { in readPstoreConsole() 546 return android::base::ReadFileToString("/sys/fs/pstore/console-ramoops", &console); in readPstoreConsole() 554 const std::string& console; member in __anon44f4d30b0111::pstoreConsole 571 const char* l = console.c_str() + pos; in numError() 593 explicit pstoreConsole(const std::string& console) : console(console) {} in pstoreConsole() argument 595 explicit pstoreConsole(const std::string&& console) = delete; 596 explicit pstoreConsole(std::string&& console) = delete; 600 size_t pos = console.rfind(needle); // exact match? in rfind() 604 pos = console.length(); in rfind() [all …]
|
D | README.md | 12 -p, --print Dump the boot event records to the console
|
/system/core/init/ |
D | service_utils.cpp | 138 void OpenConsole(const std::string& console) { in OpenConsole() argument 139 auto fd = unique_fd{open(console.c_str(), O_RDWR | O_CLOEXEC)}; in OpenConsole() 243 if (!attr.console.empty()) { in SetProcessAttributes() 245 OpenConsole(attr.console); in SetProcessAttributes()
|
D | service_utils.h | 75 std::string console; member
|
D | service.cpp | 429 if (proc_attr_.console.empty()) { in Start() 430 proc_attr_.console = "/dev/" + GetProperty("ro.boot.console", "console"); in Start() 435 int console_fd = open(proc_attr_.console.c_str(), O_RDWR | O_CLOEXEC); in Start() 438 return ErrnoError() << "Couldn't open console '" << proc_attr_.console << "'"; in Start()
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | binderservicedomain.te | 9 # Allow dumpsys to work from adb shell or the serial console
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | binderservicedomain.te | 9 # Allow dumpsys to work from adb shell or the serial console
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | binderservicedomain.te | 9 # Allow dumpsys to work from adb shell or the serial console
|
/system/sepolicy/private/ |
D | binderservicedomain.te | 9 # Allow dumpsys to work from adb shell or the serial console
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | binderservicedomain.te | 9 # Allow dumpsys to work from adb shell or the serial console
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | binderservicedomain.te | 9 # Allow dumpsys to work from adb shell or the serial console
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 1360 static bool _get_key_event_record(const HANDLE console, INPUT_RECORD* const input_record) { in _get_key_event_record() argument 1364 if (!ReadConsoleInputA(console, input_record, 1, &read_count)) { in _get_key_event_record() 1752 static int _console_read(const HANDLE console, void* buf, size_t len) { in _console_read() argument 1770 if (!_get_key_event_record(console, &input_record)) { in _console_read() 2488 HANDLE console) { in _console_write_utf8() argument 2538 if (!WriteConsoleW(console, utf16.c_str(), utf16.length(), &written, nullptr)) { in _console_write_utf8() 2551 static int _console_vfprintf(const HANDLE console, FILE* stream, const char* format, va_list ap) 2556 static int _console_vfprintf(const HANDLE console, FILE* stream, in _console_vfprintf() argument 2566 console); in _console_vfprintf() 2578 const HANDLE console = _get_console_handle(stream); in adb_vfprintf() local [all …]
|
/system/sepolicy/public/ |
D | charger.te | 26 # Read /sys/fs/pstore/console-ramoops
|
D | healthd.te | 37 # Read /sys/fs/pstore/console-ramoops
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | charger.te | 26 # Read /sys/fs/pstore/console-ramoops
|
D | healthd.te | 44 # Read /sys/fs/pstore/console-ramoops
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | charger.te | 26 # Read /sys/fs/pstore/console-ramoops
|
D | healthd.te | 37 # Read /sys/fs/pstore/console-ramoops
|
/system/update_engine/client-headers/ |
D | BUILD.gn | 24 # by the update_engine_client console program to interact with update_engine.
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | charger.te | 26 # Read /sys/fs/pstore/console-ramoops
|
D | healthd.te | 44 # Read /sys/fs/pstore/console-ramoops
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | charger.te | 27 # Read /sys/fs/pstore/console-ramoops
|
D | healthd.te | 38 # Read /sys/fs/pstore/console-ramoops
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | charger.te | 26 # Read /sys/fs/pstore/console-ramoops
|
D | healthd.te | 37 # Read /sys/fs/pstore/console-ramoops
|