Home
last modified time | relevance | path

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

/system/core/liblog/
Dproperties.cpp94 static const char log_namespace[] = "persist.log.tag."; in __android_log_level() local
99 char key[sizeof(log_namespace) + taglen]; in __android_log_level()
123 strcpy(key, log_namespace); in __android_log_level()
178 strncpy(key + sizeof(log_namespace) - 1, tag, len); in __android_log_level()
179 key[sizeof(log_namespace) - 1 + len] = '\0'; in __android_log_level()
217 key[sizeof(log_namespace) - 2] = '\0'; in __android_log_level()
/system/core/liblog/tests/
Dliblog_test.cpp1420 static const char log_namespace[] = "persist.log.tag."; in TEST() local
1423 char key[sizeof(log_namespace) + sizeof(tag) - 1]; in TEST()
1441 snprintf(key, sizeof(key), "%s%s", log_namespace, tag); in TEST()
1446 strcpy(key, log_namespace); in TEST()
1447 key[sizeof(log_namespace) - 2] = '\0'; in TEST()
1497 snprintf(key, sizeof(key), "%s%s", log_namespace, tag); in TEST()
1555 strcpy(key, log_namespace); in TEST()
1556 key[sizeof(log_namespace) - 2] = '\0'; in TEST()
1616 strcpy(key, log_namespace); in TEST()
1617 key[sizeof(log_namespace) - 2] = '\0'; in TEST()
[all …]