summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2017-03-09 09:28:29 -0600
committerMark Salyzyn2017-03-09 11:36:34 -0600
commit81321a7980903fbdb42f6bd838445c651fd7996e (patch)
tree18b42df23d875912af263931c6d3a1308771cf76 /liblog/config_read.c
parent04bbc8ea4584b14c21e0c63f8dc4c6b4beb7bd47 (diff)
downloadplatform-system-core-81321a7980903fbdb42f6bd838445c651fd7996e.tar.gz
platform-system-core-81321a7980903fbdb42f6bd838445c651fd7996e.tar.xz
platform-system-core-81321a7980903fbdb42f6bd838445c651fd7996e.zip
liblog: replace "frontend" with "transport"
We still do not have any users of the 'frontend' interface, let's right a wrong and rename it to 'transport' as it makes more sense. Renames android_log_set_frontend, android_log_get_frontend and include/log/log_frontend.h. SideEffects: None Test: gTest liblog-unit-tests Bug: 27405083 Change-Id: I7c1c0f3dfdc7cf047285403e306edbd16ad1324d
Diffstat (limited to 'liblog/config_read.c')
-rw-r--r--liblog/config_read.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/liblog/config_read.c b/liblog/config_read.c
index 718b77991..ca80c8046 100644
--- a/liblog/config_read.c
+++ b/liblog/config_read.c
@@ -14,7 +14,7 @@
14 * limitations under the License. 14 * limitations under the License.
15 */ 15 */
16 16
17#include <log/log_frontend.h> 17#include <log/log_transport.h>
18 18
19#include "config_read.h" 19#include "config_read.h"
20#include "logger.h" 20#include "logger.h"
@@ -55,15 +55,15 @@ static void __android_log_add_transport(
55} 55}
56 56
57LIBLOG_HIDDEN void __android_log_config_read() { 57LIBLOG_HIDDEN void __android_log_config_read() {
58 if (__android_log_frontend & LOGGER_LOCAL) { 58 if (__android_log_transport & LOGGER_LOCAL) {
59 extern struct android_log_transport_read localLoggerRead; 59 extern struct android_log_transport_read localLoggerRead;
60 60
61 __android_log_add_transport(&__android_log_transport_read, &localLoggerRead); 61 __android_log_add_transport(&__android_log_transport_read, &localLoggerRead);
62 } 62 }
63 63
64#if (FAKE_LOG_DEVICE == 0) 64#if (FAKE_LOG_DEVICE == 0)
65 if ((__android_log_frontend == LOGGER_DEFAULT) || 65 if ((__android_log_transport == LOGGER_DEFAULT) ||
66 (__android_log_frontend & LOGGER_LOGD)) { 66 (__android_log_transport & LOGGER_LOGD)) {
67 extern struct android_log_transport_read logdLoggerRead; 67 extern struct android_log_transport_read logdLoggerRead;
68 extern struct android_log_transport_read pmsgLoggerRead; 68 extern struct android_log_transport_read pmsgLoggerRead;
69 69