Home
last modified time | relevance | path

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

/system/core/liblog/
Dproperties.cpp98 static const char log_namespace[] = "persist.log.tag."; in __android_log_level() local
108 char key[sizeof(log_namespace) + len]; in __android_log_level()
132 strcpy(key, log_namespace); in __android_log_level()
187 strncpy(key + sizeof(log_namespace) - 1, tag, len); in __android_log_level()
188 key[sizeof(log_namespace) - 1 + len] = '\0'; in __android_log_level()
226 key[sizeof(log_namespace) - 2] = '\0'; in __android_log_level()
/system/core/liblog/tests/
Dliblog_test.cpp1240 static const char log_namespace[] = "persist.log.tag."; in TEST() local
1243 char key[sizeof(log_namespace) + sizeof(tag) - 1]; in TEST()
1257 snprintf(key, sizeof(key), "%s%s", log_namespace, tag); in TEST()
1262 strcpy(key, log_namespace); in TEST()
1263 key[sizeof(log_namespace) - 2] = '\0'; in TEST()
1313 snprintf(key, sizeof(key), "%s%s", log_namespace, tag); in TEST()
1371 strcpy(key, log_namespace); in TEST()
1372 key[sizeof(log_namespace) - 2] = '\0'; in TEST()
1432 strcpy(key, log_namespace); in TEST()
1433 key[sizeof(log_namespace) - 2] = '\0'; in TEST()
[all …]