/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/ |
D | Utils.java | 53 public static void runCommand(File outputFile, Logger logger, String... commands) in runCommand() argument 67 logger.severe(err.toString()); in runCommand() 71 logger.fine("Adb command successful."); in runCommand() 73 logger.severe("Abnormal adb shell termination for: " + String.join(",", commands)); in runCommand() 90 boolean useShellUid, Logger logger, String deviceSerial) in getReportList() argument 97 logger, in getReportList() 112 logger.severe("Failed to fetch and parse the statsd output report. " in getReportList() 130 public static void logAppBreadcrumb(int label, int state, Logger logger, String deviceSerial) in logAppBreadcrumb() argument 134 logger, in logAppBreadcrumb() 143 public static void setUpLogger(Logger logger, boolean debug) { in setUpLogger() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/logging/ |
D | Logger.java | 47 final Logger logger = getInstance(); in logScreenView() local 48 if (logger != null) { in logScreenView() 49 logger.logScreenViewImpl(screenType, previousScreenType); in logScreenView() 57 final Logger logger = getInstance(); in logSearchEvent() local 58 if (logger != null) { in logSearchEvent() 59 logger.logSearchEventImpl(searchState); in logSearchEvent() 76 final Logger logger = getInstance(); in logListEvent() local 77 if (logger != null) { in logListEvent() 78 logger.logListEventImpl(event); in logListEvent() 87 final Logger logger = getInstance(); in logQuickContactEvent() local [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DailyLoggingAlarmReceiver.java | 55 UserEventLogger logger = injector.getUserEventLogger(appContext); in onReceive() local 58 logger.logNumDailyWallpaperRotationsInLastWeek(); in onReceive() 59 logger.logNumDailyWallpaperRotationsPreviousDay(); in onReceive() 60 logger.logWallpaperPresentationMode(); in onReceive() 61 logger.logSnapshot(); in onReceive() 125 UserEventLogger logger = injector.getUserEventLogger(appContext); in logDailyWallpaperRotationStatus() 133 logger.logDailyWallpaperRotationStatus(lastDailyWallpaperRotationStatus); in logDailyWallpaperRotationStatus() 139 … logger.logNumDaysDailyRotationFailed(preferences.getNumDaysDailyRotationFailed()); in logDailyWallpaperRotationStatus() 148 … logger.logDailyWallpaperRotationStatus(UserEventLogger.ROTATION_STATUS_NOT_ATTEMPTED); in logDailyWallpaperRotationStatus() 153 logger.logNumDaysDailyRotationNotAttempted( in logDailyWallpaperRotationStatus()
|
/packages/modules/NetworkStack/src/com/android/networkstack/util/ |
D | DnsUtils.java | 64 @NonNull final DnsLogFunc logger) throws UnknownHostException { in getAllByName() argument 71 timeout, logger))); in getAllByName() 79 timeout, logger))); in getAllByName() 86 logger.log("FAIL: " + errorMsg.toString()); in getAllByName() 89 logger.log("OK: " + host + " " + result.toString()); in getAllByName() 100 int timeoutMs, @Nullable final DnsLogFunc logger) throws UnknownHostException { in getAllByName() argument 150 logDnsResult(result, watch.stop() / 1000 /* latencyMs */, logger, type, errorMsg); in getAllByName() 159 final long latencyMs, @Nullable final DnsLogFunc logger, int type, in logDnsResult() argument 161 if (logger == null) { in logDnsResult() 170 logger.log(String.format("%dms OK %s", latencyMs, builder.substring(1))); in logDnsResult() [all …]
|
/packages/modules/Gki/ |
D | download_boot_prebuilt.py | 43 logger = logging.getLogger(__name__) variable 62 logger.info("Downloading %s -> %s", url, dest_filename) 88 logger.info("Calling: %s", " ".join(args)) 101 logger.info("Creating commit for %s", arch_dir) 123 logger.info("===============") 124 logger.info("Summary:") 127 logger.error("%s/%s: %s", ver, arch, future.exception()) 129 logger.info("%s/%s: Updated.", ver, arch) 135 logger.info(" ".join(args))
|
D | extract_img_from_apex.py | 33 logger = logging.getLogger(__name__) variable 85 logger.info("done.") 93 logger.exception("\n ERROR:\n")
|
/packages/modules/Connectivity/tests/common/java/android/net/metrics/ |
D | IpConnectivityLogTest.java | 67 IpConnectivityLog logger = new IpConnectivityLog(mMockService); in testLoggingEvents() local 69 assertTrue(logger.log(FAKE_EV)); in testLoggingEvents() 70 assertTrue(logger.log(FAKE_TIME_STAMP, FAKE_EV)); in testLoggingEvents() 71 assertTrue(logger.log(FAKE_NET_ID, FAKE_TRANSPORT_TYPES, FAKE_EV)); in testLoggingEvents() 72 assertTrue(logger.log(new Network(FAKE_NET_ID), FAKE_TRANSPORT_TYPES, FAKE_EV)); in testLoggingEvents() 73 assertTrue(logger.log(FAKE_INTERFACE_NAME, FAKE_EV)); in testLoggingEvents() 74 assertTrue(logger.log(makeExpectedEvent(FAKE_TIME_STAMP, FAKE_NET_ID, TRANSPORT_WIFI, in testLoggingEvents() 92 IpConnectivityLog logger = new IpConnectivityLog(mMockService); in testLoggingEventsWithMultipleCallers() local 101 assertTrue(logger.log(makeExpectedEvent( in testLoggingEventsWithMultipleCallers()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderTask.java | 194 TimingLogger logger = new TimingLogger(TAG, "run"); in run() local 198 logASplit(logger, "loadWorkspace"); in run() 207 logASplit(logger, "sanitizeData"); in run() 212 logASplit(logger, "bindWorkspace"); in run() 217 logASplit(logger, "sendFirstScreenActiveInstallsBroadcast"); in run() 221 logASplit(logger, "step 1 complete"); in run() 226 logASplit(logger, "loadAllApps"); in run() 230 logASplit(logger, "bindAllApps"); in run() 238 logASplit(logger, "update icon cache"); in run() 242 logASplit(logger, "save shortcuts in icon cache"); in run() [all …]
|
/packages/apps/Camera2/src/com/android/camera/device/ |
D | PortabilityCameraActions.java | 102 public CameraAgentRecycler(CameraApi cameraApi, Logger logger) { in CameraAgentRecycler() argument 104 mLogger = logger; in CameraAgentRecycler() 129 Logger logger) { in OpenCameraRunnable() argument 134 mLogger = logger; in OpenCameraRunnable() 159 SingleDeviceCloseListener closeListener, Logger logger) { in CloseCameraRunnable() argument 163 mLogger = logger; in CloseCameraRunnable() 187 Logger logger) { in OpenCameraStateCallback() argument 189 mLogger = logger; in OpenCameraStateCallback()
|
D | Camera2Actions.java | 95 Logger logger) { in OpenCameraRunnable() argument 100 mLogger = logger; in OpenCameraRunnable() 126 Logger logger) { in CloseCameraRunnable() argument 129 mLogger = logger; in CloseCameraRunnable() 154 Logger logger) { in OpenCameraStateCallback() argument 156 mLogger = logger; in OpenCameraStateCallback()
|
D | LegacyCameraActions.java | 91 Logger logger) { in OpenCameraRunnable() argument 94 mLogger = logger; in OpenCameraRunnable() 122 Logger logger) { in CloseCameraRunnable() argument 126 mLogger = logger; in CloseCameraRunnable()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | ItemInfo.java | 35 import static com.android.launcher3.logger.LauncherAtom.ContainerInfo.ContainerCase.CONTAINER_NOT_S… 49 import com.android.launcher3.logger.LauncherAtom; 50 import com.android.launcher3.logger.LauncherAtom.AllAppsContainer; 51 import com.android.launcher3.logger.LauncherAtom.ContainerInfo; 52 import com.android.launcher3.logger.LauncherAtom.PredictionContainer; 53 import com.android.launcher3.logger.LauncherAtom.SearchResultContainer; 54 import com.android.launcher3.logger.LauncherAtom.SettingsContainer; 55 import com.android.launcher3.logger.LauncherAtom.Shortcut; 56 import com.android.launcher3.logger.LauncherAtom.ShortcutsContainer; 57 import com.android.launcher3.logger.LauncherAtom.TaskSwitcherContainer; [all …]
|
D | FolderInfo.java | 23 import static com.android.launcher3.logger.LauncherAtom.Attribute.EMPTY_LABEL; 24 import static com.android.launcher3.logger.LauncherAtom.Attribute.MANUAL_LABEL; 25 import static com.android.launcher3.logger.LauncherAtom.Attribute.SUGGESTED_LABEL; 35 import com.android.launcher3.logger.LauncherAtom; 36 import com.android.launcher3.logger.LauncherAtom.Attribute; 37 import com.android.launcher3.logger.LauncherAtom.FolderIcon; 38 import com.android.launcher3.logger.LauncherAtom.FromState; 39 import com.android.launcher3.logger.LauncherAtom.ToState;
|
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/ |
D | ImsVideoTech.java | 39 private final LoggingBindings logger; field in ImsVideoTech 55 public ImsVideoTech(LoggingBindings logger, VideoTechListener listener, Call call) { in ImsVideoTech() argument 56 this.logger = logger; in ImsVideoTech() 132 callback = new ImsVideoCallCallback(logger, call, this, listener, context); in onCallStateChanged() 185 logger.logImpression(DialerImpression.Type.IMS_VIDEO_UPGRADE_REQUESTED); in upgradeToVideo() 196 logger.logImpression(DialerImpression.Type.IMS_VIDEO_REQUEST_ACCEPTED); in acceptVideoRequest() 203 logger.logImpression(DialerImpression.Type.IMS_VIDEO_REQUEST_ACCEPTED_AS_AUDIO); in acceptVideoRequestAsAudio() 212 logger.logImpression(DialerImpression.Type.IMS_VIDEO_REQUEST_DECLINED); in declineVideoRequest()
|
D | ImsVideoCallCallback.java | 37 private final LoggingBindings logger; field in ImsVideoCallCallback 45 final LoggingBindings logger, in ImsVideoCallCallback() argument 50 this.logger = logger; in ImsVideoCallCallback() 77 logger.logImpression(DialerImpression.Type.IMS_VIDEO_REQUEST_RECEIVED); in onSessionModifyRequestReceived()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/ |
D | SettingsChangeLogger.java | 143 StatsLogger logger = StatsLogManager.newInstance(mContext).logger() in dispatchUserEvent() local 146 logger.log(mNotificationDotsEnabled in dispatchUserEvent() 149 logger.log(mNavMode.launcherEvent); in dispatchUserEvent() 150 logger.log(getDevicePrefs(mContext).getBoolean(LAST_PREDICTION_ENABLED_STATE, true) in dispatchUserEvent() 175 logger.log(gridSizeChangedEvent); in dispatchUserEvent() 179 logger.log(prefs.getBoolean(KEY_THEMED_ICONS, false) in dispatchUserEvent() 184 mLoggablePrefs.forEach((key, lp) -> logger.log(() -> in dispatchUserEvent()
|
D | StatsLogCompatManager.java | 22 import static com.android.launcher3.logger.LauncherAtom.ContainerInfo.ContainerCase.EXTENDED_CONTAI… 23 import static com.android.launcher3.logger.LauncherAtom.ContainerInfo.ContainerCase.FOLDER; 24 import static com.android.launcher3.logger.LauncherAtom.ContainerInfo.ContainerCase.SEARCH_RESULT_C… 25 import static com.android.launcher3.logger.LauncherAtomExtensions.ExtendedContainers.ContainerCase.… 42 import com.android.launcher3.logger.LauncherAtom; 43 import com.android.launcher3.logger.LauncherAtom.ContainerInfo; 44 import com.android.launcher3.logger.LauncherAtom.FolderContainer.ParentContainerCase; 45 import com.android.launcher3.logger.LauncherAtom.FolderIcon; 46 import com.android.launcher3.logger.LauncherAtom.FromState; 47 import com.android.launcher3.logger.LauncherAtom.ToState; [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | StatsLogManager.java | 30 import com.android.launcher3.logger.LauncherAtom; 31 import com.android.launcher3.logger.LauncherAtom.ContainerInfo; 32 import com.android.launcher3.logger.LauncherAtom.FromState; 33 import com.android.launcher3.logger.LauncherAtom.ToState; 627 public StatsLogger logger() { in logger() method in StatsLogManager 628 StatsLogger logger = createLogger(); in logger() local 630 return logger.withInstanceId(mInstanceId); in logger() 632 return logger; in logger()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | SecondaryDropTarget.java | 210 StatsLogger logger = mStatsLogManager.logger().withInstanceId(logInstanceId); in doLog() local 212 logger.withItemInfo(itemInfo); in doLog() 215 logger.log(LAUNCHER_ITEM_DROPPED_ON_UNINSTALL); in doLog() 217 logger.log(LAUNCHER_ITEM_DROPPED_ON_DONT_SUGGEST); in doLog() 339 mStatsLogManager.logger().withInstanceId(mDragObject.logInstanceId) in onLauncherResume() 343 mStatsLogManager.logger().withInstanceId(mDragObject.logInstanceId) in onLauncherResume()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | QuickstepInteractionHandler.java | 91 StatsLogManager.StatsLogger logger = mLauncher.getStatsLogManager().logger(); in logAppLaunch() local 93 logger.withItemInfo((ItemInfo) itemInfo); in logAppLaunch() 95 logger.log(LAUNCHER_APP_LAUNCH_TAP); in logAppLaunch()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | ItemLongClickListener.java | 91 StatsLogger logger = launcher.getStatsLogManager().logger(); in onAllAppsItemLongClick() 93 logger.withItemInfo((ItemInfo) v.getTag()); in onAllAppsItemLongClick() 95 logger.log(LAUNCHER_ALLAPPS_ITEM_LONG_PRESSED); in onAllAppsItemLongClick()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | LauncherDelegate.java | 134 StatsLogger logger = mLauncher.getStatsLogManager().logger() in replaceFolderWithFinalItem() 137 .map(logger::withInstanceId) in replaceFolderWithFinalItem() 138 .orElse(logger) in replaceFolderWithFinalItem()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | AppEventProducer.java | 58 import com.android.launcher3.logger.LauncherAtom; 59 import com.android.launcher3.logger.LauncherAtom.ContainerInfo; 60 import com.android.launcher3.logger.LauncherAtom.FolderContainer; 61 import com.android.launcher3.logger.LauncherAtom.HotseatContainer; 62 import com.android.launcher3.logger.LauncherAtom.WorkspaceContainer;
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | LogSaver.java | 190 private static void clearDefaultHandlers(Logger logger) { in clearDefaultHandlers() argument 191 Assert.notNull(logger); in clearDefaultHandlers() 192 for (Handler handler : logger.getHandlers()) { in clearDefaultHandlers() 193 logger.removeHandler(handler); in clearDefaultHandlers()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 118 final IpConnectivityLog logger = new IpConnectivityLog(mService.impl); in testRateLimiting() local 124 logger.log(ev); in testRateLimiting() 131 assertFalse("expected event to be dropped", logger.log(fakeTimestamp, ev)); in testRateLimiting() 275 IpConnectivityLog logger = new IpConnectivityLog(mService.impl); in testEndToEndLogging() local 313 logger.log(ev); in testEndToEndLogging()
|