/packages/modules/AdServices/adservices/framework/java/com/android/adservices/ |
D | LoggerFactory.java | 42 private static final Logger sLogger = new Logger(TAG); 43 private static final Logger sTopicsLogger = new Logger(TOPICS_TAG); 44 private static final Logger sFledgeLogger = new Logger(FLEDGE_TAG); 45 private static final Logger sKAnonLogger = new Logger(KANON_TAG); 46 private static final Logger sMeasurementLogger = new Logger(MEASUREMENT_TAG); 47 private static final Logger sUILogger = new Logger(UI_TAG); 48 private static final Logger sAdIDLogger = new Logger(ADID_TAG); 49 private static final Logger sAppSetIDLogger = new Logger(APPSETID_TAG); 51 public static Logger getLogger() { in getLogger() 55 public static Logger getTopicsLogger() { in getTopicsLogger() [all …]
|
/packages/apps/Camera2/src/com/android/camera/debug/ |
D | Loggers.java | 32 public static Logger.Factory noOpFactory() { in noOpFactory() 40 public static Logger.Factory tagFactory() { in tagFactory() 47 public static Logger.Factory factoryFor(final Logger logger) { in factoryFor() 48 return new Logger.Factory() { in factoryFor() 50 public Logger create(Tag tag) { in factoryFor() 59 private static class NoOpLoggerFactory implements Logger.Factory { 75 public Logger create(Tag tag) { 84 private static class TagLoggerFactory implements Logger.Factory { 94 public Logger create(Tag tag) { 102 private static class NoOpLogger implements Logger { [all …]
|
/packages/modules/AdServices/shared/libraries/host-side/java/com/android/adservices/shared/meta_testing/ |
D | FakeDdmLibLogger.java | 19 import com.android.adservices.shared.testing.Logger; 67 private static Logger.LogLevel convertLevel(Log.LogLevel level) { in convertLevel() 70 return Logger.LogLevel.WTF; in convertLevel() 72 return Logger.LogLevel.ERROR; in convertLevel() 74 return Logger.LogLevel.WARNING; in convertLevel() 76 return Logger.LogLevel.INFO; in convertLevel() 78 return Logger.LogLevel.DEBUG; in convertLevel() 80 return Logger.LogLevel.VERBOSE; in convertLevel()
|
/packages/apps/Camera2/src/com/android/camera/device/ |
D | PortabilityCameraActions.java | 26 import com.android.camera.debug.Logger; 51 private final Logger mLogger; 59 Logger.Factory logFactory) { in PortabilityCameraActions() 99 private final Logger mLogger; 102 public CameraAgentRecycler(CameraApi cameraApi, Logger logger) { in CameraAgentRecycler() 125 private final Logger mLogger; 129 Logger logger) { in OpenCameraRunnable() 156 private final Logger mLogger; 159 SingleDeviceCloseListener closeListener, Logger logger) { in CloseCameraRunnable() 183 private final Logger mLogger; [all …]
|
D | Camera2Actions.java | 29 import com.android.camera.debug.Logger; 47 private final Logger mLogger; 53 Logger.Factory logFactory) { in Camera2Actions() 91 private final Logger mLogger; 95 Logger logger) { in OpenCameraRunnable() 122 private final Logger mLogger; 126 Logger logger) { in CloseCameraRunnable() 150 private final Logger mLogger; 154 Logger logger) { in OpenCameraStateCallback()
|
D | LegacyCameraActions.java | 25 import com.android.camera.debug.Logger; 40 private final Logger mLogger; 46 Logger.Factory logFactory) { in LegacyCameraActions() 87 private final Logger mLogger; 91 Logger logger) { in OpenCameraRunnable() 117 private final Logger mLogger; 122 Logger logger) { in CloseCameraRunnable()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | BlockReportSpamListener.java | 31 import com.android.dialer.logging.Logger; 79 Logger.get(context) in onBlockReportSpam() 92 Logger.get(context) in onBlockReportSpam() 120 Logger.get(context) in onBlock() 133 Logger.get(context) in onBlock() 160 Logger.get(context) in onUnblock() 171 Logger.get(context) in onUnblock() 193 Logger.get(context) in onReportNotSpam() 213 Logger.get(context).logImpression(DialerImpression.Type.SPAM_BLOCKING_CALL_LOG_PROMO_SHOWN); in showSpamBlockingPromoDialog() 217 Logger.get(context) in showSpamBlockingPromoDialog() [all …]
|
D | CallLogListItemViewHolder.java | 84 import com.android.dialer.logging.Logger; 291 Logger.get(this.context) in CallLogListItemViewHolder() 296 Logger.get(this.context) in CallLogListItemViewHolder() 301 Logger.get(this.context) in CallLogListItemViewHolder() 407 Logger.get(context) in onMenuItemClick() 418 Logger.get(context).logImpression(DialerImpression.Type.CALL_LOG_CONTEXT_MENU_BLOCK_NUMBER); in onMenuItemClick() 428 Logger.get(context).logImpression(DialerImpression.Type.CALL_LOG_CONTEXT_MENU_UNBLOCK_NUMBER); in onMenuItemClick() 432 Logger.get(context) in onMenuItemClick() 437 Logger.get(context).logImpression(DialerImpression.Type.USER_DELETED_CALL_LOG_ITEM); in onMenuItemClick() 717 Logger.get(context).logImpression(DialerImpression.Type.DUO_CALL_LOG_INVITE_SHOWN); in bindActionButtons() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
D | TranscriptionTask.java | 29 import com.android.dialer.logging.Logger; 106 Logger.get(context) in run() 109 Logger.get(context) in run() 140 Logger.get(context).logImpression(getRequestSentImpression()); in sendRequest() 142 Logger.get(context).logImpression(DialerImpression.Type.VVM_TRANSCRIPTION_REQUEST_RETRY); in sendRequest() 150 Logger.get(context) in sendRequest() 158 Logger.get(context) in sendRequest() 199 Logger.get(context).logImpression(DialerImpression.Type.VVM_TRANSCRIPTION_RESPONSE_SUCCESS); in recordResult() 205 Logger.get(context) in recordResult() 211 Logger.get(context) in recordResult() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/logging/ |
D | Logger.java | 26 public abstract class Logger { class 29 private static Logger getInstance() { in getInstance() 47 final Logger logger = getInstance(); in logScreenView() 57 final Logger logger = getInstance(); in logSearchEvent() 76 final Logger logger = getInstance(); in logListEvent() 87 final Logger logger = getInstance(); in logQuickContactEvent() 100 final Logger logger = getInstance(); in logEditorEvent()
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | RandomGraphGeneratorUtils.h | 40 #define NN_FUZZER_LOG_INIT(filename) Logger::get()->init((filename)) 43 #define NN_FUZZER_LOG_CLOSE Logger::get()->close() 45 if (!Logger::get()->enabled()) \ 57 class Logger { 59 static Logger* get() { in get() 60 static Logger instance; in get() 76 Logger() = default; 77 Logger(const Logger&) = delete; 78 Logger& operator=(const Logger&) = delete; 89 Logger::get()->log(ss.str() + '\n'); in ~LoggerStream()
|
/packages/modules/Virtualization/vmbase/src/ |
D | logger.rs | 25 struct Logger { struct 29 static LOGGER: Logger = Logger::new(); argument 31 impl Logger { implementation 41 impl Log for Logger { implementation
|
/packages/apps/Dialer/java/com/android/dialer/backup/ |
D | DialerPersistentBackupAgent.java | 27 import com.android.dialer.logging.Logger; 46 Logger.get(this).logImpression(DialerImpression.Type.BACKUP_KEY_VALUE_BACKUP_AGENT_CONSTRUCTOR); in DialerPersistentBackupAgent() 56 Logger.get(this).logImpression(DialerImpression.Type.BACKUP_KEY_VALUE_ON_RESTORE); in onRestore() 65 Logger.get(this).logImpression(DialerImpression.Type.BACKUP_KEY_VALUE_ON_BACKUP); in onBackup() 72 Logger.get(this).logImpression(DialerImpression.Type.BACKUP_KEY_VALUE_GET_BACKUP_SPECIFICATION); in getBackupSpecification() 88 Logger.get(this).logImpression(DialerImpression.Type.BACKUP_KEY_VALUE_ON_RESTORE_FINISHED); in onRestoreFinished()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/ |
D | DeviceSideDynamicLoggerTest.java | 18 import static com.android.adservices.shared.testing.Logger.LogLevel.DEBUG; 19 import static com.android.adservices.shared.testing.Logger.LogLevel.ERROR; 20 import static com.android.adservices.shared.testing.Logger.LogLevel.INFO; 21 import static com.android.adservices.shared.testing.Logger.LogLevel.VERBOSE; 22 import static com.android.adservices.shared.testing.Logger.LogLevel.WARNING; 23 import static com.android.adservices.shared.testing.Logger.LogLevel.WTF;
|
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/ |
D | Utils.java | 39 import java.util.logging.Logger; 60 public static void runCommand(File outputFile, Logger logger, String... commands) in runCommand() 98 boolean useShellUid, Logger logger, String deviceSerial) in getReportList() 137 public static void logAppBreadcrumb(int label, int state, Logger logger, String deviceSerial) in logAppBreadcrumb() 151 public static void setUpLogger(Logger logger, boolean debug) { in setUpLogger() 168 public static boolean isAcceptableStatsd(Logger logger, int minSdk, String minCodename, in isAcceptableStatsd() 221 public static List<String> getDeviceSerials(Logger logger) { in getDeviceSerials() 248 public static String getDefaultDevice(Logger logger) { in getDefaultDevice() 268 String defaultDevice, Logger logger) { in chooseDevice()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/experimental/ |
D | DeviceConfigFlagsRouletteRunner.java | 22 import com.android.adservices.shared.testing.Logger; 42 private static final Logger sLogger = 43 new Logger(AndroidLogger.getInstance(), DeviceConfigFlagsRouletteRunner.class); 55 protected Logger log() { in log()
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/meta_testing/ |
D | FakeLogger.java | 20 import com.android.adservices.shared.testing.Logger; 21 import com.android.adservices.shared.testing.Logger.LogLevel; 22 import com.android.adservices.shared.testing.Logger.RealLogger; 40 private static final Logger sRealLogger = 41 new Logger(DynamicLogger.getInstance(), FakeLogger.class);
|
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/ |
D | BlockReportSpamModules.java | 23 import com.android.dialer.logging.Logger; 52 impression.ifPresent(Logger.get(context)::logImpression); in moduleForMarkingNumberAsNotSpam() 79 impression.ifPresent(Logger.get(context)::logImpression); 106 impression.ifPresent(Logger.get(context)::logImpression); 133 impression.ifPresent(Logger.get(context)::logImpression);
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/ |
D | VoicemailErrorMessage.java | 33 import com.android.dialer.logging.Logger; 135 Logger.get(context) in createChangeAirplaneModeAction() 151 Logger.get(context) 168 Logger.get(context).logImpression(DialerImpression.Type.VVM_CALL_VOICEMAIL_CLICKED); 184 Logger.get(context).logImpression(DialerImpression.Type.VVM_USER_SYNC); 199 Logger.get(context).logImpression(DialerImpression.Type.VVM_USER_RETRY); 224 Logger.get(context).logImpression(impressionToLog); 250 Logger.get(context).logImpression(impressionToLog);
|
/packages/apps/Dialer/java/com/android/dialer/main/impl/ |
D | MainSearchController.java | 45 import com.android.dialer.logging.Logger; 152 Logger.get(activity).logScreenView(ScreenEvent.Type.MAIN_DIALPAD, activity); in showDialpad() 272 Logger.get(activity) in onSearchListTouch() 277 Logger.get(activity) in onSearchListTouch() 283 Logger.get(activity) in onSearchListTouch() 287 Logger.get(activity) in onSearchListTouch() 302 Logger.get(activity) in onBackPressed() 308 Logger.get(activity) in onBackPressed() 400 Logger.get(activity).logImpression(DialerImpression.Type.MAIN_CLICK_SEARCH_BAR); in onSearchBarClicked() 407 Logger.get(activity).logScreenView(ScreenEvent.Type.MAIN_SEARCH, activity); in openSearch() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/ |
D | VoicemailSettingsFragment.java | 41 import com.android.dialer.logging.Logger; 96 Logger.get(getContext()).logImpression(DialerImpression.Type.VVM_SETTINGS_VIEWED); in onResume() 285 Logger.get(getContext()).logImpression(DialerImpression.Type.VVM_CHANGE_PIN_CLICKED); in setupVoicemailChangePinPreference() 305 Logger.get(getContext()) in setupNotificationsPreference() 349 Logger.get(getContext()) in setupAdvancedSettingsPreference() 405 Logger.get(getContext()).logImpression(DialerImpression.Type.VVM_USER_ENABLED_IN_SETTINGS); in updateVoicemailEnabled() 407 Logger.get(getContext()).logImpression(DialerImpression.Type.VVM_USER_DISABLED_IN_SETTINGS); in updateVoicemailEnabled() 431 Logger.get(getContext()) in logArchiveToggle() 434 Logger.get(getContext()) in logArchiveToggle() 441 Logger.get(getContext()) in logTranscribeToggle() [all …]
|
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/ |
D | AbstractSdkSandboxDeviceSupportedRule.java | 18 import com.android.adservices.shared.testing.Logger; 19 import com.android.adservices.shared.testing.Logger.RealLogger; 38 protected final Logger mLog; 42 mLog = new Logger(Objects.requireNonNull(logger), "SdkSandboxDeviceSupportedRule"); in AbstractSdkSandboxDeviceSupportedRule()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ReturnToCallActionReceiver.java | 26 import com.android.dialer.logging.Logger; 67 Logger.get(context) in returnToCall() 94 Logger.get(context) in toggleSpeaker() 101 Logger.get(context) in toggleSpeaker() 119 Logger.get(context) in toggleMute() 132 Logger.get(context) in endCall()
|
/packages/apps/Dialer/java/com/android/dialer/preferredsim/impl/ |
D | PreferredAccountWorkerImpl.java | 50 import com.android.dialer.logging.Logger; 145 Logger.get(appContext).logImpression(Type.DUAL_SIM_SELECTION_PREFERRED_USED); in usePreferredSim() 148 Logger.get(appContext).logImpression(Type.DUAL_SIM_SELECTION_PREFERRED_NOT_SELECTABLE); in usePreferredSim() 161 Logger.get(appContext).logImpression(Type.DUAL_SIM_SELECTION_GLOBAL_USED); in useDefaultSim() 164 Logger.get(appContext).logImpression(Type.DUAL_SIM_SELECTION_GLOBAL_NOT_SELECTABLE); in useDefaultSim() 176 Logger.get(appContext).logImpression(Type.DUAL_SIM_SELECTION_SUGGESTION_AUTO_SELECTED); in useSuggestedSim() 178 Logger.get(appContext).logImpression(Type.DUAL_SIM_SELECTION_SUGGESTION_AUTO_NOT_SELECTABLE); in useSuggestedSim() 191 Logger.get(appContext).logImpression(Type.DUAL_SIM_SELECTION_SHOWN); in createDialogOptionsBuilder() 193 Logger.get(appContext).logImpression(Type.DUAL_SIM_SELECTION_IN_CONTACTS); in createDialogOptionsBuilder() 196 Logger.get(appContext).logImpression(Type.DUAL_SIM_SELECTION_SUGGESTION_AVAILABLE); in createDialogOptionsBuilder() [all …]
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/concurrency/ |
D | ConcurrencyHelper.java | 18 import com.android.adservices.shared.testing.Logger; 19 import com.android.adservices.shared.testing.Logger.RealLogger; 29 private final Logger mLogger; 32 mLogger = new Logger(realLogger, ConcurrencyHelper.class); in ConcurrencyHelper()
|