Searched defs:logging (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/logging/
H A DAndroidConfig.java17 package com.android.internal.logging;
19 import java.util.logging.Level;
20 import java.util.logging.Logger;
23 * Implements the java.util.logging configuration for Android. Activates a log
29 * This looks a bit weird, but it's the way the logging config works: A
41 // Turn down logging in Apache libraries.
H A DAndroidHandler.java17 package com.android.internal.logging;
26 import java.util.logging.Formatter;
27 import java.util.logging.Handler;
28 import java.util.logging.Level;
29 import java.util.logging.LogRecord;
30 import java.util.logging.Logger;
33 * Implements a {@link java.util.logging.Logger} handler that writes to the Android log. The
136 Log.e("AndroidHandler", "Error logging message.", e);
150 Log.e("AndroidHandler", "Error logging message.", e);
155 * Converts a {@link java.util.logging
[all...]
H A DMetricsLogger.java16 package com.android.internal.logging;
23 import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
/frameworks/base/core/java/com/android/internal/logging/testing/
H A DFakeMetricsLogger.java1 package com.android.internal.logging.testing;
5 import com.android.internal.logging.MetricsLogger;
/frameworks/rs/tests/lldb/tests/harness/
H A Dutil_log.py15 '''Initialise the Python logging facility for the test suite.
19 It provides the function to initialise the logging facility and retrieve an
27 import logging namespace
33 def initialise(identifier, level=logging.INFO, print_to_stdout=False,
35 '''Initialise the logging facility for the test suite.
44 Valid values are those recognised by the python logging module:
45 https://docs.python.org/2/library/logging.html#levels .
55 RuntimeError: If the logging has already been initialised
64 # set the logging class
65 old_logger_class = logging
[all...]
H A Dtest_base.py19 import logging namespace
228 if log.getEffectiveLevel() > logging.DEBUG:
H A Dutil_android.py20 import logging namespace
174 if is_warning and threshold > logging.DEBUG:
177 level = logging.WARNING if is_warning else logging.DEBUG
/frameworks/rs/tests/lldb/tests/
H A Drun_test.py24 import logging namespace
298 level=logging.INFO if not args.verbose else logging.DEBUG,
/frameworks/rs/tests/lldb/
H A Drun_tests.py20 import logging namespace
94 help='Print all logging information to standard out.',
224 # initialise the logging facility
225 log_level = logging.INFO if not self.verbose else logging.DEBUG
635 # Even if we are logging the error, it may be helpful and more
638 % expt.message, logging.ERROR)
781 # logging is initialised in State()
786 log.log_and_print('Unable to deduce PYTHONPATH', logging.WARN)
826 logging
[all...]
/frameworks/base/core/java/android/view/textclassifier/logging/
H A DSmartSelectionEventTracker.java17 package android.view.textclassifier.logging;
29 import com.android.internal.logging.MetricsLogger;
30 import com.android.internal.logging.nano.MetricsProto.MetricsEvent;

Completed in 202 milliseconds