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.cpp695 static const char log_namespace[] = "persist.log.tag."; in TEST() local
698 char key[sizeof(log_namespace) + sizeof(tag) - 1]; in TEST()
716 snprintf(key, sizeof(key), "%s%s", log_namespace, tag); in TEST()
721 strcpy(key, log_namespace); in TEST()
722 key[sizeof(log_namespace) - 2] = '\0'; in TEST()
759 snprintf(key, sizeof(key), "%s%s", log_namespace, tag); in TEST()
790 strcpy(key, log_namespace); in TEST()
791 key[sizeof(log_namespace) - 2] = '\0'; in TEST()
825 strcpy(key, log_namespace); in TEST()
826 key[sizeof(log_namespace) - 2] = '\0'; in TEST()
[all …]