Searched refs:logging (Results 1 - 20 of 20) 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;
25 import java.util.logging.Formatter;
26 import java.util.logging.Handler;
27 import java.util.logging.Level;
28 import java.util.logging.LogRecord;
29 import java.util.logging.Logger;
32 * Implements a {@link java.util.logging.Logger} handler that writes to the Android log. The
135 Log.e("AndroidHandler", "Error logging message.", e);
149 Log.e("AndroidHandler", "Error logging message.", e);
154 * Converts a {@link java.util.logging
[all...]
/frameworks/base/tests/DumpRenderTree2/assets/
H A Drun_layout_tests.py12 import logging namespace
44 logging.info("Running the tests...")
45 logging.debug("Command = %s" % cmd)
48 logging.info("Failed to start tests:\n%s", stderrdata)
51 logging.info("Failed to run the tests. Is DumpRenderTree2 installed on the device?")
54 logging.info("DumpRenderTree2 failed to run correctly:\n%s", stdoutdata)
57 logging.info("Downloading the summaries...")
72 logging.info("All done.\n")
75 logging.info("")
90 logging
[all...]
H A Drun_apache2.py28 import logging namespace
33 # Setup logging class
34 logging.basicConfig(level=logging.INFO, format='%(message)s')
37 logging.info("illegal argument: " + run_cmd)
38 logging.info("Usage: python run_apache2.py start|stop|restart")
106 logging.info("Will " + run_cmd + " apache2 server.")
111 logging.info("First will stop...")
114 logging.info("Failed to stop Apache2")
116 logging
[all...]
/frameworks/base/tests/DumpRenderTree/assets/
H A Drun_page_cycler.py12 import logging namespace
26 # Set up logging format.
27 log_level = logging.INFO
29 log_level = logging.DEBUG
30 logging.basicConfig(level=log_level,
50 logging.info("Running the test ...")
101 logging.error("Error happened : " + adb_output)
104 logging.info(adb_output);
105 logging.info(adb_error);
106 logging
[all...]
H A Drun_reliability_tests.py11 import logging namespace
76 logging.info("Line has more than one '|': " + line)
83 logging.info("Lins has non-numeric load time: " + line)
107 # Set up logging format.
108 log_level = logging.INFO
110 log_level = logging.DEBUG
111 logging.basicConfig(level=log_level,
145 logging.error("Cannot create results dir: " + bugreport_dir)
159 logging.error("failed to push url list to device.")
160 logging
[all...]
H A Drun_layout_tests.py32 import logging namespace
107 logging.info(marker + " >>> " + str(params["new"][0]) + " new, " +
124 logging.info("Comparing results to " + ref_dir)
136 logging.info("Detailed diffs are in " + diff_result)
146 # Set up logging format.
147 log_level = logging.INFO
149 log_level = logging.DEBUG
150 logging.basicConfig(level=log_level,
165 logging.info("Generating test list.");
170 logging
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DMiscRegressionTest.java20 import java.util.logging.Logger;
29 Logger.global.severe("This has logging Level.SEVERE, should become ERROR");
30 Logger.global.warning("This has logging Level.WARNING, should become WARN");
31 Logger.global.info("This has logging Level.INFO, should become INFO");
32 Logger.global.config("This has logging Level.CONFIG, should become DEBUG");
33 Logger.global.fine("This has logging Level.FINE, should become VERBOSE");
34 Logger.global.finer("This has logging Level.FINER, should become VERBOSE");
35 Logger.global.finest("This has logging Level.FINEST, should become VERBOSE");
/frameworks/base/core/java/android/os/
H A DLooper.java131 Printer logging = me.mLogging;
132 if (logging != null) {
133 logging.println(">>>>> Dispatching to " + msg.target + " " +
139 if (logging != null) {
140 logging.println("<<<<< Finished to " + msg.target + " " + msg.callback);
167 * Control logging of messages as they are processed by this Looper. If
173 * null to disable message logging.
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DStringPart.java37 import org.apache.commons.logging.Log;
38 import org.apache.commons.logging.LogFactory;
H A DFilePart.java39 import org.apache.commons.logging.Log;
40 import org.apache.commons.logging.LogFactory;
H A DMultipartEntity.java46 import org.apache.commons.logging.Log;
47 import org.apache.commons.logging.LogFactory;
H A DPart.java38 import org.apache.commons.logging.Log;
39 import org.apache.commons.logging.LogFactory;
/frameworks/base/services/common_time/
H A DAndroid.mk20 # Uncomment to enable vesbose logging and debug service.
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DCookiesTest.java26 import java.util.logging.Logger;
27 import java.util.logging.SimpleFormatter;
28 import java.util.logging.StreamHandler;
/frameworks/av/media/libstagefright/chromium_http/
H A Dsupport.cpp26 #include "base/logging.h"
58 case logging::LOG_FATAL:
61 case logging::LOG_ERROR_REPORT:
62 case logging::LOG_ERROR:
65 case logging::LOG_WARNING:
114 logging::SetLogMessageHandler(logMessageHandler);
/frameworks/wilhelm/src/
H A DAndroid.mk44 # enable API logging; details are set separately by SL_TRACE_DEFAULT below
46 # or -UUSE_TRACE to disable API logging
58 # or -DUSE_LOG=SLAndroidLogLevel_Verbose for verbose logging
/frameworks/base/core/java/com/android/internal/os/
H A DRuntimeInit.java28 import com.android.internal.logging.AndroidConfig;
34 import java.util.logging.LogManager;
110 * Sets handler for java.util.logging to use Android log facilities.
112 * the "java.util.logging.config.class" system property works. We
/frameworks/base/core/jni/
H A Dandroid_util_Binder.cpp1042 #warning no gettid(), so not logging Binder calls...
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java94 import java.util.logging.Handler;

Completed in 473 milliseconds