Home
last modified time | relevance | path

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

/system/core/liblog/
Dlog_is_loggable.c57 static const char log_namespace[] = "persist.log.tag."; in __android_log_level() local
62 char key[sizeof(log_namespace) + taglen]; in __android_log_level()
87 strcpy(key, log_namespace); in __android_log_level()
110 strcpy(key + sizeof(log_namespace) - 1, tag); in __android_log_level()
139 key[sizeof(log_namespace) - 2] = '\0'; in __android_log_level()
/system/core/liblog/tests/
Dliblog_test.cpp696 static const char log_namespace[] = "persist.log.tag."; in TEST() local
699 char key[sizeof(log_namespace) + sizeof(tag) - 1]; in TEST()
717 snprintf(key, sizeof(key), "%s%s", log_namespace, tag); in TEST()
722 strcpy(key, log_namespace); in TEST()
723 key[sizeof(log_namespace) - 2] = '\0'; in TEST()
760 snprintf(key, sizeof(key), "%s%s", log_namespace, tag); in TEST()
791 strcpy(key, log_namespace); in TEST()
792 key[sizeof(log_namespace) - 2] = '\0'; in TEST()
826 strcpy(key, log_namespace); in TEST()
827 key[sizeof(log_namespace) - 2] = '\0'; in TEST()
[all …]