Searched defs:logging (Results 1 - 7 of 7) 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/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_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...]
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...]
/frameworks/base/tests/DumpRenderTree2/assets/
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...]
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...]

Completed in 308 milliseconds