mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: debug_daemon: run clang-format
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
c4f1f10454
commit
7db5c03bac
3 changed files with 19 additions and 21 deletions
|
|
@ -19,8 +19,8 @@
|
||||||
#define WRITE_KMSG "/data/debug/logs/kmsg.txt"
|
#define WRITE_KMSG "/data/debug/logs/kmsg.txt"
|
||||||
#define LOG_TAG "DebugKmsgDaemon"
|
#define LOG_TAG "DebugKmsgDaemon"
|
||||||
|
|
||||||
#include <fstream>
|
|
||||||
#include <log/log.h>
|
#include <log/log.h>
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
bool check_data() {
|
bool check_data() {
|
||||||
std::ifstream datafile(CHECK_KMSG);
|
std::ifstream datafile(CHECK_KMSG);
|
||||||
|
|
@ -41,4 +41,3 @@ void copy_kmsg(){
|
||||||
writefile << readfile.rdbuf();
|
writefile << readfile.rdbuf();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@
|
||||||
#define WRITE_LOGCAT "/data/debug/logs/logcat.txt"
|
#define WRITE_LOGCAT "/data/debug/logs/logcat.txt"
|
||||||
#define LOG_TAG "DebugLogcatDaemon"
|
#define LOG_TAG "DebugLogcatDaemon"
|
||||||
|
|
||||||
#include <fstream>
|
|
||||||
#include <log/log.h>
|
#include <log/log.h>
|
||||||
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
bool check_data() {
|
bool check_data() {
|
||||||
|
|
@ -39,4 +39,3 @@ void copy_logcat(){
|
||||||
system("/system/bin/logcat -f /data/debug/logs/logcat.txt");
|
system("/system/bin/logcat -f /data/debug/logs/logcat.txt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue