/frameworks/base/core/java/com/android/internal/protolog/ |
D | ProtoLogImpl.java | 57 public static void d(IProtoLogGroup group, long messageHash, int paramsMask, in d() argument 61 .log(LogLevel.DEBUG, group, messageHash, paramsMask, messageString, args); in d() 65 public static void v(IProtoLogGroup group, long messageHash, int paramsMask, in v() argument 68 getSingleInstance().log(LogLevel.VERBOSE, group, messageHash, paramsMask, messageString, in v() 73 public static void i(IProtoLogGroup group, long messageHash, int paramsMask, in i() argument 76 getSingleInstance().log(LogLevel.INFO, group, messageHash, paramsMask, messageString, args); in i() 80 public static void w(IProtoLogGroup group, long messageHash, int paramsMask, in w() argument 83 getSingleInstance().log(LogLevel.WARN, group, messageHash, paramsMask, messageString, args); in w() 87 public static void e(IProtoLogGroup group, long messageHash, int paramsMask, in e() argument 91 .log(LogLevel.ERROR, group, messageHash, paramsMask, messageString, args); in e() [all …]
|
D | LegacyProtoLogImpl.java | 99 public void log(LogLevel level, IProtoLogGroup group, long messageHash, int paramsMask, in log() argument 102 logToProto(messageHash, paramsMask, args); in log() 105 logToLogcat(group.getTag(), level, messageHash, messageString, args); in log() local 109 private void logToLogcat(String tag, LogLevel level, long messageHash, in logToLogcat() argument 113 messageString = mViewerConfig.getViewerString(messageHash); in logToLogcat() 127 StringBuilder builder = new StringBuilder("UNKNOWN MESSAGE (" + messageHash + ")"); in logToLogcat() 163 private void logToProto(long messageHash, int paramsMask, Object[] args) { in logToProto() argument 170 os.write(MESSAGE_HASH, messageHash); in logToProto()
|
D | PerfettoProtoLogImpl.java | 152 public void log(LogLevel level, IProtoLogGroup group, long messageHash, int paramsMask, in log() argument 159 logToProto(level, group.name(), messageHash, paramsMask, args, tsNanos)); in log() 161 logToLogcat(group.getTag(), level, messageHash, messageString, args); in log() local 259 private void logToLogcat(String tag, LogLevel level, long messageHash, in logToLogcat() argument 263 doLogToLogcat(tag, level, messageHash, messageString, args); in logToLogcat() 269 private void doLogToLogcat(String tag, LogLevel level, long messageHash, in doLogToLogcat() argument 273 messageString = mViewerConfigReader.getViewerString(messageHash); in doLogToLogcat() 287 StringBuilder builder = new StringBuilder("UNKNOWN MESSAGE (" + messageHash + ")"); in doLogToLogcat() 323 private void logToProto(LogLevel level, String groupName, long messageHash, int paramsMask, in logToProto() argument 331 doLogToProto(level, groupName, messageHash, paramsMask, args, tsNanos); in logToProto() [all …]
|
D | ProtoLogViewerConfigReader.java | 28 public synchronized String getViewerString(long messageHash) { in getViewerString() argument 30 return mLogMessageMap.get(messageHash); in getViewerString()
|
D | LegacyProtoLogViewerConfigReader.java | 44 public synchronized String getViewerString(long messageHash) { in getViewerString() argument 46 return mLogMessageMap.get(messageHash); in getViewerString()
|
/frameworks/base/core/java/com/android/internal/protolog/common/ |
D | IProtoLog.java | 33 void log(LogLevel logLevel, IProtoLogGroup group, long messageHash, int paramsMask, in log() argument
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | LogParser.kt | 102 if (log.messageHash !in config) { in <lambda>() 105 val conf = config.getValue(log.messageHash) in <lambda>()
|
/frameworks/base/tests/Internal/src/com/android/internal/protolog/ |
D | PerfettoProtoLogImplTest.java | 413 final long messageHash = addMessageToConfig( in log_protoEnabled() local 427 LogLevel.INFO, TestProtoLogGroup.TEST_GROUP, messageHash, in log_protoEnabled() 461 final long messageHash = addMessageToConfig( in log_invalidParamsMask() local 472 LogLevel.INFO, TestProtoLogGroup.TEST_GROUP, messageHash, in log_invalidParamsMask()
|