OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LAST_KMSG_FILE
(Results
1 - 3
of
3
) sorted by null
/bootable/recovery/
recovery-persist.cpp
51
constexpr const char*
LAST_KMSG_FILE
= "/data/misc/recovery/last_kmsg";
109
rotate_logs(LAST_LOG_FILE,
LAST_KMSG_FILE
);
193
copy_file(LAST_CONSOLE_FILE,
LAST_KMSG_FILE
);
195
copy_file(ALT_LAST_CONSOLE_FILE,
LAST_KMSG_FILE
);
recovery.cpp
67
static constexpr const char*
LAST_KMSG_FILE
= "/cache/recovery/last_kmsg";
401
// Add
LAST_KMSG_FILE
+
LAST_KMSG_FILE
.x
402
add_to_entries(
LAST_KMSG_FILE
);
[
all
...]
/bootable/recovery/otautil/
logging.cpp
45
constexpr const char*
LAST_KMSG_FILE
= "/cache/recovery/last_kmsg";
136
void rotate_logs(const char* last_log_file, const char*
last_kmsg_file
) {
153
std::string old_kmsg = android::base::StringPrintf("%s",
last_kmsg_file
);
157
std::string new_kmsg = android::base::StringPrintf("%s.%d",
last_kmsg_file
, i + 1);
224
ensure_path_mounted(
LAST_KMSG_FILE
);
225
rotate_logs(LAST_LOG_FILE,
LAST_KMSG_FILE
);
231
save_kernel_log(
LAST_KMSG_FILE
);
234
chmod(
LAST_KMSG_FILE
, 0600);
235
chown(
LAST_KMSG_FILE
, AID_SYSTEM, AID_SYSTEM);
Completed in 2873 milliseconds