Home
last modified time | relevance | path

Searched refs:logging (Results 1 – 25 of 270) sorted by relevance

1234567891011

/frameworks/rs/tests/lldb/tests/harness/
Dutil_log.py27 import logging
33 def initialise(identifier, level=logging.INFO, print_to_stdout=False,
65 old_logger_class = logging.getLoggerClass()
66 logging.setLoggerClass(RsLogger)
69 log = logging.getLogger(NAMESPACE)
76 logging.setLoggerClass(old_logger_class)
80 handler_default = logging.StreamHandler(sys.stdout)
85 handler_default = logging.FileHandler(file_path, file_mode)
88 handler_default.setLevel(logging.NOTSET)
92 logging.Formatter(
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DdomainGeneratorPolicy.py23 import logging
115 logging.info("Importing criteriaFile {}".format(criteriaFile))
117 logging.info("Importing criterionTypesFile {}".format(criterionTypesFile))
125 logging.info("Importing criterion_name {}".format(criterion_name))
126 logging.info("Importing type_name {}".format(type_name))
143 logging.info("Importing criterion_type_name {}".format(criterion_type_name))
144 logging.info("Importing criterion_inclusiveness {}".format(criterion_inclusiveness))
145 logging.info("Importing criterion_values {}".format(criterion_values))
166 logging.critical(str(ex))
167 logging.info("EXIT ON FAILURE")
[all …]
DbuildPolicyCriterionTypes.py23 import logging
85 logging.info("Importing criterionTypesFile {}".format(criterionTypesFile))
134 logging.info("Checking Audio Policy Configuration file {}".format(audiopolicyconfigurationfile))
164 logging.info("{}: <{}>".format(key, device.get('address')))
169 logging.info("{}: <{}>".format(criteria, values))
203 logging.info("Checking Android Header file {}".format(androidaudiobaseheaderFile))
208 logging.debug("The following line is VALID: {}:{}\n{}".format(
221 logging.info("criterion {} duplicated values:".format(criterion_name))
222 logging.info("{}:{}".format(numerical_value, literal))
223 logging.info("KEEPING LATEST")
[all …]
DbuildCommonTypesStructureFile.py22 import logging
65 logging.info("Importing structureTypesFile {}".format(structureTypesFile))
125 logging.info("Checking Android Header file {}".format(androidaudiobaseheaderFile))
130 logging.debug("The following line is VALID: {}:{}\n{}".format(
150logging.info("The value {}:{} is duplicated for criterion {}, KEEPING LATEST".format(component_typ…
157logging.debug("type:{}, literal:{}, values:{}.".format(component_type_name, component_type_literal…
162 logging.critical("OutputDevicesMask incompatible with criterion representation on 32 bits")
163 logging.info("EXIT ON FAILURE")
168 logging.info("{}: <{}>".format(component_types, values))
174 logging.root.setLevel(logging.INFO)
DbuildStrategiesStructureFile.py22 import logging
71 logging.info("Importing strategy_structure_in_file {}".format(strategy_structure_in_file))
99 logging.info("Checking Audio Policy Engine Configuration file {}".format(
128 logging.root.setLevel(logging.INFO)
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java16 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_ACTIVITY_START;
17 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION;
18 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_BIND_APPLI…
19 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_CALLING_PA…
20 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_CANCELLED;
21 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_DELAY_MS;
22 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_DEVICE_UPT…
23 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_IS_EPHEMER…
24 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_PROCESS_RU…
25 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_REPORTED_D…
[all …]
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/logging/
DTextClassifierEventTronLoggerTest.java17 package android.view.textclassifier.logging;
19 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_TEXT_SELECTION_SMA…
20 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.CONVERSATION_ACTIONS;
21 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_TEXT_CLASSIFIER_EVE…
22 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_TEXT_CLASSIFIER_FIR…
23 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_TEXT_CLASSIFIER_SCO…
24 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_TEXT_CLASSIFIER_WID…
37 import com.android.internal.logging.MetricsLogger;
DGenerateLinksLoggerTest.java17 package android.view.textclassifier.logging;
34 import com.android.internal.logging.MetricsLogger;
35 import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierEventTronLogger.java18 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_TEXTCLASSIFIER_MODE…
19 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_TEXT_CLASSIFIER_FIR…
20 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_TEXT_CLASSIFIER_SCO…
21 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_TEXT_CLASSIFIER_SEC…
22 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_TEXT_CLASSIFIER_SES…
23 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_TEXT_CLASSIFIER_THI…
24 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_TEXT_CLASSIFIER_WID…
25 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_TEXT_CLASSIFIER_WID…
30 import com.android.internal.logging.MetricsLogger;
31 import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
/frameworks/base/core/java/com/android/internal/logging/
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;
DAndroidConfig.java17 package com.android.internal.logging;
19 import java.util.logging.Level;
20 import java.util.logging.Logger;
DEventLogTags.logtags3 option java_package com.android.internal.logging;
17 # Generic event for logging when we write system files.
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java17 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_QS_CLICK;
18 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_QS_LONG_PRESS;
19 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_QS_SECONDARY_CLICK;
20 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_QS_POSITION;
21 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_QS_VALUE;
22 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_STATUS_BAR_STATE;
23 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.TYPE_ACTION;
47 import com.android.internal.logging.MetricsLogger;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java17 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_NAV_BUTTON_EVENT;
18 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_FLAGS;
19 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_NAV_ACTION;
39 import com.android.internal.logging.MetricsLogger;
40 import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java25 import java.util.logging.ConsoleHandler;
26 import java.util.logging.Formatter;
27 import java.util.logging.Level;
28 import java.util.logging.LogRecord;
29 import java.util.logging.Logger;
/frameworks/base/tests/utils/testutils/java/com/android/test/filters/
DSelectTest.java217 logging("Select package " + selectTestArg, classSet != null, in add()
227 logging("Select package " + packageName + PACKAGE_NAME_SEPARATOR, true, in add()
279 logging("Select class " + selectTestArg, methodSet != null, in add()
289 logging("Select class " + className, true, "; ignore " + selectTestArg); in add()
299 logging("Select method " + selectTestArg, false, null); in add()
332 private static void logging(String infoLog, boolean isWarning, String warningLog) { in logging() method in SelectTest
/frameworks/base/core/java/com/android/internal/logging/testing/
DFakeMetricsLogger.java1 package com.android.internal.logging.testing;
5 import com.android.internal.logging.MetricsLogger;
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DMetricsLoggerCompat.java19 import com.android.internal.logging.MetricsLogger;
20 import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
/frameworks/base/core/java/android/os/
DLooper.java183 final Printer logging = me.mLogging; in loop() local
184 if (logging != null) { in loop()
185 logging.println(">>>>> Dispatching to " + msg.target + " " + in loop()
250 if (logging != null) { in loop()
251 logging.println("<<<<< Finished to " + msg.target + " " + msg.callback); in loop()
/frameworks/base/core/tests/coretests/src/android/net/http/
DCookiesTest.java26 import java.util.logging.Logger;
27 import java.util.logging.SimpleFormatter;
28 import java.util.logging.StreamHandler;
/frameworks/base/core/java/android/service/autofill/augmented/
DHelper.java22 import com.android.internal.logging.MetricsLogger;
23 import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java20 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_QS_CLICK;
21 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_QS_LONG_PRESS;
22 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_QS_SECONDARY_CLICK;
23 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_IS_FULL_QS;
24 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_QS_POSITION;
25 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_QS_VALUE;
26 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_STATUS_BAR_STATE;
27 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.TYPE_ACTION;
50 import com.android.internal.logging.MetricsLogger;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationBlockingHelperManager.java28 import com.android.internal.logging.MetricsLogger;
29 import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
33 import com.android.systemui.statusbar.notification.logging.NotificationCounters;
/frameworks/base/core/java/com/android/internal/os/logging/
DMetricsLoggerWrapper.java17 package com.android.internal.os.logging;
26 import com.android.internal.logging.MetricsLogger;
27 import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
/frameworks/base/core/java/android/app/slice/
DSliceMetrics.java24 import com.android.internal.logging.MetricsLogger;
25 import com.android.internal.logging.nano.MetricsProto.MetricsEvent;

1234567891011