Home
last modified time | relevance | path

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

/system/logging/liblog/
Dproperties.cpp120 static const char* log_namespace = "persist.log.tag."; in __android_log_level() local
121 char key[strlen(log_namespace) + tag_len + 1]; in __android_log_level()
122 strcpy(key, log_namespace); in __android_log_level()
162 *stpncpy(key + strlen(log_namespace), tag, tag_len) = '\0'; in __android_log_level()
197 key[strlen(log_namespace) - 1] = '\0'; in __android_log_level()
/system/logging/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 …]