/frameworks/base/core/tests/coretests/src/android/metrics/ |
D | LogMakerTest.java | 30 builder.addTaggedData(1, "one"); in testSerialize() 31 builder.addTaggedData(2, "two"); in testSerialize() 57 builder.addTaggedData(1, "one"); in testSerializeDeserialize() 58 builder.addTaggedData(2, "two"); in testSerializeDeserialize() 94 builder.addTaggedData(0, new Object()); in testInvalidInputThrows() 104 builder.addTaggedData(1, "onetwothree"); in testValidInputTypes() 105 builder.addTaggedData(2, 123); in testValidInputTypes() 106 builder.addTaggedData(3, 123L); in testValidInputTypes() 107 builder.addTaggedData(4, 123.0F); in testValidInputTypes() 108 builder.addTaggedData(5, null); in testValidInputTypes() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | EventLogWriter.java | 36 .addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, source) in visible() 37 .addTaggedData(MetricsProto.MetricsEvent.FIELD_SETTINGS_PREFERENCE_CHANGE_INT_VALUE, in visible() 46 .addTaggedData(MetricsProto.MetricsEvent.FIELD_SETTINGS_PREFERENCE_CHANGE_INT_VALUE, in hidden() 57 logMaker.addTaggedData(pair.first, pair.second); in action() 87 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, pageId); in action() 90 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_SETTINGS_PREFERENCE_CHANGE_NAME, in action() 92 logMaker.addTaggedData( in action()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityMetricsLogger.java | 773 builder.addTaggedData(FIELD_CLASS_NAME, activity.info.name); in logAppTransitionCancel() 815 builder.addTaggedData(FIELD_CLASS_NAME, info.launchedActivityName); in logAppTransition() 818 builder.addTaggedData(APP_TRANSITION_CALLING_PACKAGE_NAME, in logAppTransition() 823 builder.addTaggedData(FIELD_INSTANT_APP_LAUNCH_TOKEN, launchToken); in logAppTransition() 825 builder.addTaggedData(APP_TRANSITION_IS_EPHEMERAL, isInstantApp ? 1 : 0); in logAppTransition() 826 builder.addTaggedData(APP_TRANSITION_DEVICE_UPTIME_SECONDS, in logAppTransition() 828 builder.addTaggedData(APP_TRANSITION_DELAY_MS, currentTransitionDelayMs); in logAppTransition() 831 builder.addTaggedData(APP_TRANSITION_STARTING_WINDOW_DELAY_MS, in logAppTransition() 835 builder.addTaggedData(APP_TRANSITION_BIND_APPLICATION_DELAY_MS, in logAppTransition() 838 builder.addTaggedData(APP_TRANSITION_WINDOWS_DRAWN_DELAY_MS, info.windowsDrawnDelayMs); in logAppTransition() [all …]
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceMetrics.java | 47 mLogMaker.addTaggedData(MetricsEvent.FIELD_SLICE_AUTHORITY, uri.getAuthority()); in SliceMetrics() 48 mLogMaker.addTaggedData(MetricsEvent.FIELD_SLICE_PATH, uri.getPath()); in SliceMetrics() 90 .addTaggedData(MetricsEvent.FIELD_SUBSLICE_AUTHORITY, subSlice.getAuthority()) in logTouch() 91 .addTaggedData(MetricsEvent.FIELD_SUBSLICE_PATH, subSlice.getPath()); in logTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenGestureLogger.java | 104 .addTaggedData(MetricsEvent.FIELD_GESTURE_LENGTH, length) in write() 105 .addTaggedData(MetricsEvent.FIELD_GESTURE_VELOCITY, velocity)); in write() 127 .addTaggedData(MetricsEvent.FIELD_GESTURE_X_PERCENT, xPercent) in writeAtFractionalPosition() 128 .addTaggedData(MetricsEvent.FIELD_GESTURE_Y_PERCENT, yPercent) in writeAtFractionalPosition() 129 .addTaggedData(MetricsEvent.FIELD_DEVICE_ROTATION, rotation)); in writeAtFractionalPosition()
|
/frameworks/base/core/java/android/service/autofill/augmented/ |
D | Helper.java | 38 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SESSION_ID, mSessionId) in logResponse() 39 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, servicePackageName) in logResponse() 40 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, durationMs); in logResponse()
|
/frameworks/base/core/java/android/service/notification/ |
D | StatusBarNotification.java | 461 .addTaggedData(MetricsEvent.NOTIFICATION_ID, getId()) in getLogMaker() 462 .addTaggedData(MetricsEvent.NOTIFICATION_TAG, getTag()) in getLogMaker() 463 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_ID, getChannelIdLogTag()) in getLogMaker() 464 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_ID, getGroupLogTag()) in getLogMaker() 465 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_SUMMARY, in getLogMaker() 467 .addTaggedData(MetricsProto.MetricsEvent.FIELD_NOTIFICATION_CATEGORY, in getLogMaker() 474 logMaker.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_STYLE, in getLogMaker() 480 logMaker.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_PEOPLE, people.size()); in getLogMaker()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | StatsdHiddenApiUsageLogger.java | 75 .addTaggedData(MetricsEvent.FIELD_HIDDEN_API_SIGNATURE, signature) in logUsage() 76 .addTaggedData(MetricsEvent.FIELD_HIDDEN_API_ACCESS_METHOD, in logUsage() 80 logMaker.addTaggedData(MetricsEvent.FIELD_HIDDEN_API_ACCESS_DENIED, 1); in logUsage()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImplTest.java | 208 when(maker.addTaggedData(anyInt(), any())).thenReturn(maker); in testPopulateWithLockedScreen() 211 verify(maker).addTaggedData(eq(FIELD_QS_VALUE), eq(1)); in testPopulateWithLockedScreen() 212 verify(maker).addTaggedData(eq(FIELD_QS_POSITION), eq(POSITION)); in testPopulateWithLockedScreen() 219 when(maker.addTaggedData(anyInt(), any())).thenReturn(maker); in testPopulateWithUnlockedScreen() 222 verify(maker).addTaggedData(eq(FIELD_QS_VALUE), eq(1)); in testPopulateWithUnlockedScreen() 223 verify(maker).addTaggedData(eq(FIELD_QS_POSITION), eq(POSITION)); in testPopulateWithUnlockedScreen()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 945 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_INDEX, rank) in setVisibility() 946 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_COUNT, count)); in setVisibility() 1078 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_INTERRUPTION_MILLIS, in setInterruptive() 1318 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_IMPORTANCE, mImportance) in getLogMaker() 1319 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_CREATE_MILLIS, getLifespanMs(now)) in getLogMaker() 1320 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_UPDATE_MILLIS, getFreshnessMs(now)) in getLogMaker() 1321 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_VISIBLE_MILLIS, getExposureMs(now)) in getLogMaker() 1322 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_INTERRUPTION_MILLIS, in getLogMaker() 1326 lm.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_EXPLANATION, in getLogMaker() 1334 lm.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_INITIAL_EXPLANATION, in getLogMaker() [all …]
|
D | NotificationManagerService.java | 906 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_INDEX, nv.rank) 907 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_COUNT, nv.count)); 940 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_INDEX, nv.rank) 941 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_COUNT, nv.count) 942 .addTaggedData(MetricsEvent.NOTIFICATION_ACTION_IS_SMART, 944 .addTaggedData( 947 .addTaggedData(MetricsEvent.NOTIFICATION_LOCATION, 1146 .addTaggedData( 1149 .addTaggedData(MetricsEvent.NOTIFICATION_LOCATION, 1151 .addTaggedData( [all …]
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | Helper.java | 108 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, servicePackageName) in newLogMaker() 109 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SESSION_ID, Integer.toString(sessionId)); in newLogMaker() 111 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_COMPAT_MODE, 1); in newLogMaker()
|
D | Session.java | 753 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_REQUEST_ORDINAL, ordinal); 755 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_FLAGS, flags); 865 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FLAGS, flags)); 955 requestLog.addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, -1); 1020 requestLog.addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, 1023 requestLog.addTaggedData( 1074 requestLog.addTaggedData(MetricsEvent.FIELD_AUTOFILL_TEXT_LEN, 1138 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_TEXT_LEN, message.length()); 2802 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_PREVIOUS_LENGTH, length); 3859 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUMBER_REQUESTS, totalRequests); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImpl.java | 251 .addTaggedData(FIELD_STATUS_BAR_STATE, in click() 261 .addTaggedData(FIELD_STATUS_BAR_STATE, in secondaryClick() 272 .addTaggedData(FIELD_STATUS_BAR_STATE, in longClick() 287 logMaker.addTaggedData(FIELD_QS_VALUE, ((BooleanState) mState).value ? 1 : 0); in populate() 290 .addTaggedData(FIELD_IS_FULL_QS, mIsFullQs) in populate() 291 .addTaggedData(FIELD_QS_POSITION, mHost.indexOf(mTileSpec)); in populate()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | AutoFillUI.java | 199 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FILTERTEXT_LEN, in showFillUi() 201 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, in showFillUi() 315 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_IDS, numIds); in showSaveUi() 317 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_UPDATE, 1); in showSaveUi()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstantAppResolver.java | 540 .addTaggedData(FIELD_INSTANT_APP_RESOLUTION_DELAY_MS, in logMetrics() 542 .addTaggedData(FIELD_INSTANT_APP_LAUNCH_TOKEN, token) in logMetrics() 543 .addTaggedData(FIELD_INSTANT_APP_RESOLUTION_STATUS, new Integer(status)); in logMetrics()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BatteryService.java | 524 builder.addTaggedData(MetricsEvent.FIELD_PLUG_TYPE, mPlugType); in processValuesLocked() 525 builder.addTaggedData(MetricsEvent.FIELD_BATTERY_LEVEL_START, in processValuesLocked() 548 builder.addTaggedData(MetricsEvent.FIELD_PLUG_TYPE, mLastPlugType); in processValuesLocked() 549 builder.addTaggedData(MetricsEvent.FIELD_CHARGING_DURATION_MILLIS, in processValuesLocked() 551 builder.addTaggedData(MetricsEvent.FIELD_BATTERY_LEVEL_START, in processValuesLocked() 553 builder.addTaggedData(MetricsEvent.FIELD_BATTERY_LEVEL_END, in processValuesLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonView.java | 408 .addTaggedData(MetricsEvent.FIELD_NAV_ACTION, action) in sendEvent() 409 .addTaggedData(MetricsEvent.FIELD_FLAGS, flags)); in sendEvent()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverRankerServiceResolverComparator.java | 321 log.addTaggedData(MetricsEvent.FIELD_IS_CATEGORY_USED, isCategoryUsed); in logMetrics() 322 log.addTaggedData(MetricsEvent.FIELD_RANKED_POSITION, selectedPos); in logMetrics()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationSnooze.java | 357 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_SNOOZE_INDEX, index) in logOptionSelection() 358 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_SNOOZE_DURATION_MS, duration)); in logOptionSelection()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | NightDisplayTile.java | 187 .addTaggedData(FIELD_QS_MODE, mManager.getNightDisplayAutoModeRaw()); in populate()
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | StatusBarNotificationTest.java | 105 logMaker.addTaggedData(extraTag, 1); in testLogMakerNoStaleData()
|
/frameworks/base/core/java/android/metrics/ |
D | LogMaker.java | 244 public LogMaker addTaggedData(int tag, Object value) { in addTaggedData() method in LogMaker
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 502 log.addTaggedData( in handleLateInteractiveChange() 531 log.addTaggedData( in handleLateInteractiveChange()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraServiceProxy.java | 368 .addTaggedData(MetricsEvent.FIELD_CAMERA_API_LEVEL, e.mAPILevel) in dumpUsageEvents()
|