Home
last modified time | relevance | path

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

12345678910>>...17

/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/
DbuildPolicyCriterionTypes.py23 import logging
90 logging.info("Importing criterionTypesFile {}".format(criterionTypesFile))
139 logging.info("Checking Audio Policy Configuration file {}".format(audiopolicyconfigurationfile))
169 logging.info("{}: <{}>".format(key, device.get('address')))
174 logging.info("{}: <{}>".format(criteria, values))
213 logging.info("Checking Android Header file {}".format(androidaudiobaseheaderFile))
218 logging.debug("The following line is VALID: {}:{}\n{}".format(
235 logging.info("value {}:{} for criterion {} is not a number, ignoring"
244 logging.info("OutputDevicesMaskType skipping {}".format(criterion_literal))
250 logging.info("The value {}:{} is for criterion {} is not a number, ignoring"
[all …]
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 …]
DbuildCommonTypesStructureFile.py22 import logging
65logging.info("Device:{} which has multiple bits set is skipped. b/168065706".format(decimal))
71 logging.info("Importing structureTypesFile {}".format(structureTypesFile))
133 logging.info("Checking Android Header file {}".format(androidaudiobaseheaderFile))
138 logging.debug("The following line is VALID: {}:{}\n{}".format(
158logging.info("The value {}:{} is duplicated for criterion {}, KEEPING LATEST".format(component_typ…
165logging.debug("type:{}, literal:{}, values:{}.".format(component_type_name, component_type_literal…
169 logging.info("added stub output device mask")
172 logging.info("added stub input device mask")
177 logging.info("{}: <{}>".format(component_types, values))
[all …]
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/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/tools/protologtool/
DREADME.md19 In this mode ProtoLogTool transforms every ProtoLog logging call in form of:
33 logging method. The transformation is done on the source level. A hash is generated from the format
83 ProtoLog is a generic logging system created for the WindowManager project. It allows both binary a…
85 * logging system built-in the Android app,
90 for logging. This is achieved by replacing log message strings with their hashes and only loading t…
93 ### Text logging
98 ### Binary logging
105 ### Adding a new logging group or log statement
109 To add a new logging statement just add a new call to ProtoLog.x where x is a log level.
111 After doing any changes to logging groups or statements you should build the project and follow ins…
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java19 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_ACTIVITY_START;
20 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION;
21 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_BIND_APPLI…
22 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_CALLING_PA…
23 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_CANCELLED;
24 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_DELAY_MS;
25 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_DEVICE_UPT…
26 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_IS_EPHEMER…
27 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_PROCESS_RU…
28 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.APP_TRANSITION_REPORTED_D…
[all …]
/frameworks/base/core/java/com/android/internal/app/
DChooserActivityLoggerImpl.java19 import com.android.internal.logging.InstanceId;
20 import com.android.internal.logging.InstanceIdSequence;
21 import com.android.internal.logging.UiEventLogger;
22 import com.android.internal.logging.UiEventLoggerImpl;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenGestureLogger.java22 import com.android.internal.logging.MetricsLogger;
23 import com.android.internal.logging.UiEvent;
24 import com.android.internal.logging.UiEventLogger;
25 import com.android.internal.logging.UiEventLoggerImpl;
26 import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSEvents.kt19 import com.android.internal.logging.UiEvent
20 import com.android.internal.logging.UiEventLogger
21 import com.android.internal.logging.UiEventLoggerImpl
22 import com.android.internal.logging.testing.UiEventLoggerFake
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java21 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_QS_CLICK;
22 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_QS_LONG_PRESS;
23 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_QS_SECONDARY_CLICK;
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;
57 import com.android.internal.logging.InstanceId;
58 import com.android.internal.logging.MetricsLogger;
59 import com.android.internal.logging.UiEventLogger;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationPanelLogger.java17 package com.android.systemui.statusbar.notification.logging;
29 import com.android.internal.logging.UiEvent;
30 import com.android.internal.logging.UiEventLogger;
32 import com.android.systemui.statusbar.notification.logging.nano.Notifications;
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyChipEvent.kt19 import com.android.internal.logging.UiEvent
20 import com.android.internal.logging.UiEventLogger
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecordLoggerImpl.java19 import com.android.internal.logging.InstanceId;
20 import com.android.internal.logging.UiEventLogger;
21 import com.android.internal.logging.UiEventLoggerImpl;
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DEvents.java19 import com.android.internal.logging.UiEvent;
20 import com.android.internal.logging.UiEventLogger;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationControlsEvent.java19 import com.android.internal.logging.UiEvent;
20 import com.android.internal.logging.UiEventLogger;
DNotificationAppOpsEvent.java19 import com.android.internal.logging.UiEvent;
20 import com.android.internal.logging.UiEventLogger;
/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/src/com/android/systemui/assist/
DAssistantSessionEvent.kt19 import com.android.internal.logging.UiEvent
20 import com.android.internal.logging.UiEventLogger
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletUiEvent.java19 import com.android.internal.logging.UiEvent;
20 import com.android.internal.logging.UiEventLogger;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java22 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_QS_CLICK;
23 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_QS_LONG_PRESS;
24 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_QS_SECONDARY_CLICK;
25 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_IS_FULL_QS;
26 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_QS_POSITION;
27 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_QS_VALUE;
28 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.FIELD_STATUS_BAR_STATE;
29 import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.TYPE_ACTION;
54 import com.android.internal.logging.InstanceId;
55 import com.android.internal.logging.MetricsLogger;
[all …]
/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

12345678910>>...17