Home
last modified time | relevance | path

Searched refs:formatString (Results 1 – 2 of 2) sorted by relevance

/system/core/liblog/
Dlogprint.c240 AndroidLogPrintFormat android_log_formatFromString(const char * formatString) in android_log_formatFromString() argument
244 if (strcmp(formatString, "brief") == 0) format = FORMAT_BRIEF; in android_log_formatFromString()
245 else if (strcmp(formatString, "process") == 0) format = FORMAT_PROCESS; in android_log_formatFromString()
246 else if (strcmp(formatString, "tag") == 0) format = FORMAT_TAG; in android_log_formatFromString()
247 else if (strcmp(formatString, "thread") == 0) format = FORMAT_THREAD; in android_log_formatFromString()
248 else if (strcmp(formatString, "raw") == 0) format = FORMAT_RAW; in android_log_formatFromString()
249 else if (strcmp(formatString, "time") == 0) format = FORMAT_TIME; in android_log_formatFromString()
250 else if (strcmp(formatString, "threadtime") == 0) format = FORMAT_THREADTIME; in android_log_formatFromString()
251 else if (strcmp(formatString, "long") == 0) format = FORMAT_LONG; in android_log_formatFromString()
252 else if (strcmp(formatString, "color") == 0) format = FORMAT_MODIFIER_COLOR; in android_log_formatFromString()
[all …]
/system/core/logcat/
Dlogcat.cpp308 static int setLogFormat(const char * formatString) in setLogFormat() argument
312 format = android_log_formatFromString(formatString); in setLogFormat()