/frameworks/base/core/tests/coretests/src/android/metrics/ |
D | LogMakerTest.java | 29 builder.addTaggedData(1, "one"); in testSerialize() 30 builder.addTaggedData(2, "two"); in testSerialize() 56 builder.addTaggedData(1, "one"); in testSerializeDeserialize() 57 builder.addTaggedData(2, "two"); in testSerializeDeserialize() 93 builder.addTaggedData(0, new Object()); in testInvalidInputThrows() 103 builder.addTaggedData(1, "onetwothree"); in testValidInputTypes() 104 builder.addTaggedData(2, 123); in testValidInputTypes() 105 builder.addTaggedData(3, 123L); in testValidInputTypes() 106 builder.addTaggedData(4, 123.0F); in testValidInputTypes() 107 builder.addTaggedData(5, null); in testValidInputTypes() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | SelectionSessionLogger.java | 79 .addTaggedData(START_EVENT_DELTA, event.getDurationSinceSessionStart()) in writeEvent() 80 .addTaggedData(PREV_EVENT_DELTA, event.getDurationSincePreviousEvent()) in writeEvent() 81 .addTaggedData(INDEX, event.getEventIndex()) in writeEvent() 82 .addTaggedData(WIDGET_TYPE, event.getWidgetType()) in writeEvent() 83 .addTaggedData(WIDGET_VERSION, event.getWidgetVersion()) in writeEvent() 84 .addTaggedData(MODEL_NAME, SignatureParser.getModelName(event.getResultId())) in writeEvent() 85 .addTaggedData(ENTITY_TYPE, event.getEntityType()) in writeEvent() 86 .addTaggedData(SMART_START, event.getSmartStart()) in writeEvent() 87 .addTaggedData(SMART_END, event.getSmartEnd()) in writeEvent() 88 .addTaggedData(EVENT_START, event.getStart()) in writeEvent() [all …]
|
D | GenerateLinksLogger.java | 118 .addTaggedData(MetricsEvent.FIELD_LINKIFY_CALL_ID, callId) in writeStats() 119 .addTaggedData(MetricsEvent.FIELD_LINKIFY_NUM_LINKS, stats.mNumLinks) in writeStats() 120 .addTaggedData(MetricsEvent.FIELD_LINKIFY_LINK_LENGTH, stats.mNumLinksTextLength) in writeStats() 121 .addTaggedData(MetricsEvent.FIELD_LINKIFY_TEXT_LENGTH, text.length()) in writeStats() 122 .addTaggedData(MetricsEvent.FIELD_LINKIFY_LATENCY, latencyMs); in writeStats() 124 log.addTaggedData(MetricsEvent.FIELD_LINKIFY_ENTITY_TYPE, entityType); in writeStats()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenGestureLogger.java | 49 .addTaggedData(MetricsEvent.FIELD_GESTURE_LENGTH, length) in write() 50 .addTaggedData(MetricsEvent.FIELD_GESTURE_VELOCITY, velocity)); in write() 65 .addTaggedData(MetricsEvent.FIELD_GESTURE_X_PERCENT, xPercent) in writeAtFractionalPosition() 66 .addTaggedData(MetricsEvent.FIELD_GESTURE_Y_PERCENT, yPercent) in writeAtFractionalPosition() 67 .addTaggedData(MetricsEvent.FIELD_DEVICE_ROTATION, rotation)); in writeAtFractionalPosition()
|
/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/services/core/java/com/android/server/am/ |
D | ActivityMetricsLogger.java | 489 builder.addTaggedData(FIELD_CLASS_NAME, info.launchedActivity.info.name); in logAppTransitionCancel() 527 builder.addTaggedData(FIELD_CLASS_NAME, info.launchedActivityName); in logAppTransition() 530 builder.addTaggedData(APP_TRANSITION_CALLING_PACKAGE_NAME, in logAppTransition() 535 builder.addTaggedData(FIELD_INSTANT_APP_LAUNCH_TOKEN, launchToken); in logAppTransition() 537 builder.addTaggedData(APP_TRANSITION_IS_EPHEMERAL, isInstantApp ? 1 : 0); in logAppTransition() 538 builder.addTaggedData(APP_TRANSITION_DEVICE_UPTIME_SECONDS, in logAppTransition() 540 builder.addTaggedData(APP_TRANSITION_DELAY_MS, currentTransitionDelayMs); in logAppTransition() 543 builder.addTaggedData(APP_TRANSITION_STARTING_WINDOW_DELAY_MS, in logAppTransition() 547 builder.addTaggedData(APP_TRANSITION_BIND_APPLICATION_DELAY_MS, in logAppTransition() 550 builder.addTaggedData(APP_TRANSITION_WINDOWS_DRAWN_DELAY_MS, info.windowsDrawnDelayMs); in logAppTransition() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/logging/ |
D | SmartSelectionEventTracker.java | 164 .addTaggedData(START_EVENT_DELTA, now - mSessionStartTime) in writeEvent() 165 .addTaggedData(PREV_EVENT_DELTA, prevEventDelta) in writeEvent() 166 .addTaggedData(INDEX, mIndex) in writeEvent() 167 .addTaggedData(WIDGET_TYPE, getWidgetTypeName()) in writeEvent() 168 .addTaggedData(WIDGET_VERSION, mWidgetVersion) in writeEvent() 169 .addTaggedData(MODEL_NAME, mModelName) in writeEvent() 170 .addTaggedData(ENTITY_TYPE, event.mEntityType) in writeEvent() 171 .addTaggedData(SMART_START, getSmartRangeDelta(mSmartIndices[0])) in writeEvent() 172 .addTaggedData(SMART_END, getSmartRangeDelta(mSmartIndices[1])) in writeEvent() 173 .addTaggedData(EVENT_START, getRangeDelta(event.mStart)) in writeEvent() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | EventLogWriter.java | 37 .addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, source); in visible() 53 logMaker.addTaggedData(pair.first, pair.second); in action() 71 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, source); in actionWithSource() 97 logMaker.addTaggedData(pair.first, pair.second); in action()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySavingStats.java | 519 .addTaggedData(MetricsEvent.FIELD_INTERACTIVE, interactive ? 1 : 0) in reportLocked() 520 .addTaggedData(MetricsEvent.FIELD_DURATION_MILLIS, deltaTimeMs) in reportLocked() 521 .addTaggedData(MetricsEvent.FIELD_START_BATTERY_UA, startBatteryLevelUa) in reportLocked() 522 .addTaggedData(MetricsEvent.FIELD_START_BATTERY_PERCENT, in reportLocked() 524 .addTaggedData(MetricsEvent.FIELD_END_BATTERY_UA, endBatteryLevelUa) in reportLocked() 525 .addTaggedData(MetricsEvent.FIELD_END_BATTERY_PERCENT, endBatteryLevelPercent); in reportLocked()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | Helper.java | 116 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, servicePackageName) in newLogMaker() 117 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SESSION_ID, Integer.toString(sessionId)); in newLogMaker() 119 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_COMPAT_MODE, 1); in newLogMaker()
|
D | AutofillManagerServiceImpl.java | 544 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, getServicePackageName()) in assertCallerLocked() 545 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FORGED_COMPONENT_NAME, in assertCallerLocked() 548 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_COMPAT_MODE, 1); in assertCallerLocked() 846 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_MATCH_SCORE, in logContextCommittedLocked() 904 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_VALUES, numberFields)); in setUserData() 1157 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, intDuration)); in disableAutofillForApp() 1183 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, getServicePackageName()) in disableAutofillForActivity() 1184 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, intDuration) in disableAutofillForActivity() 1185 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SESSION_ID, sessionId); in disableAutofillForActivity() 1187 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_COMPAT_MODE, 1); in disableAutofillForActivity()
|
D | Session.java | 287 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FORGED_COMPONENT_NAME, 496 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_REQUEST_ORDINAL, ordinal); in requestNewFillResponseLocked() 498 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_FLAGS, flags); in requestNewFillResponseLocked() 557 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FLAGS, flags)); in Session() 645 requestLog.addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, -1); in onFillRequestSuccess() 691 requestLog.addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, in onFillRequestSuccess() 694 requestLog.addTaggedData( in onFillRequestSuccess() 2035 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_PREVIOUS_LENGTH, length); in updateLocked() 2727 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUMBER_REQUESTS, totalRequests)); in destroyLocked() 2856 requestLog.addTaggedData(tag, value); in addTaggedDataToRequestLogLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | IconLoggerImpl.java | 92 .addTaggedData(FIELD_NUM_STATUS_ICONS, icons.size()) in doLog() 93 .addTaggedData(FIELD_STATUS_ICONS, getBitField(icons))); in doLog()
|
D | KeyButtonView.java | 303 .addTaggedData(MetricsEvent.FIELD_NAV_ACTION, action) in sendEvent() 304 .addTaggedData(MetricsEvent.FIELD_FLAGS, flags)); in sendEvent()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 799 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_INDEX, rank) in setVisibility() 800 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_COUNT, count)); in setVisibility() 1103 .addTaggedData(MetricsEvent.NOTIFICATION_ID, sbn.getId()) in getLogMaker() 1104 .addTaggedData(MetricsEvent.NOTIFICATION_TAG, sbn.getTag()) in getLogMaker() 1105 … .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_ID, getChannelIdLogTag()); in getLogMaker() 1113 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_IMPORTANCE, mImportance) in getLogMaker() 1114 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_ID, getGroupLogTag()) in getLogMaker() 1115 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_SUMMARY, in getLogMaker() 1117 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_CREATE_MILLIS, getLifespanMs(now)) in getLogMaker() 1118 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_UPDATE_MILLIS, getFreshnessMs(now)) in getLogMaker() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImplTest.java | 106 when(maker.addTaggedData(anyInt(), any())).thenReturn(maker); in testPopulate() 109 verify(maker).addTaggedData(eq(FIELD_QS_VALUE), eq(1)); in testPopulate() 110 verify(maker).addTaggedData(eq(FIELD_QS_POSITION), eq(POSITION)); in testPopulate()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | AutoFillUI.java | 185 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FILTERTEXT_LEN, in showFillUi() 187 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, in showFillUi() 282 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_IDS, numIds); in showSaveUi()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImpl.java | 195 logMaker.addTaggedData(FIELD_QS_VALUE, ((BooleanState) mState).value ? 1 : 0); in populate() 198 .addTaggedData(FIELD_CONTEXT, mIsFullQs) in populate() 199 .addTaggedData(FIELD_QS_POSITION, mHost.indexOf(mTileSpec)); in populate()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstantAppResolver.java | 516 .addTaggedData(FIELD_INSTANT_APP_RESOLUTION_DELAY_MS, in logMetrics() 518 .addTaggedData(FIELD_INSTANT_APP_LAUNCH_TOKEN, token) in logMetrics() 519 .addTaggedData(FIELD_INSTANT_APP_RESOLUTION_STATUS, new Integer(status)); in logMetrics()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BatteryService.java | 492 builder.addTaggedData(MetricsEvent.FIELD_PLUG_TYPE, mPlugType); in processValuesLocked() 493 builder.addTaggedData(MetricsEvent.FIELD_BATTERY_LEVEL_START, in processValuesLocked() 516 builder.addTaggedData(MetricsEvent.FIELD_PLUG_TYPE, mLastPlugType); in processValuesLocked() 517 builder.addTaggedData(MetricsEvent.FIELD_CHARGING_DURATION_MILLIS, in processValuesLocked() 519 builder.addTaggedData(MetricsEvent.FIELD_BATTERY_LEVEL_START, in processValuesLocked() 521 builder.addTaggedData(MetricsEvent.FIELD_BATTERY_LEVEL_END, in processValuesLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | NightDisplayTile.java | 162 return super.populate(logMaker).addTaggedData(FIELD_QS_MODE, mController.getAutoModeRaw()); in populate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationSnooze.java | 351 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_SNOOZE_INDEX, index) in logOptionSelection() 352 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_SNOOZE_DURATION_MS, duration)); in logOptionSelection()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverComparator.java | 429 log.addTaggedData(MetricsEvent.FIELD_IS_CATEGORY_USED, isCategoryUsed); in logMetrics() 430 log.addTaggedData(MetricsEvent.FIELD_RANKED_POSITION, selectedPos); in logMetrics()
|
/frameworks/base/core/java/android/metrics/ |
D | LogMaker.java | 242 public LogMaker addTaggedData(int tag, Object value) { in addTaggedData() method in LogMaker
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillManager.java | 1896 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_VALUES, itemCount) in autofill() 1897 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_VIEWS_FILLED, numApplied)); in autofill() 1903 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SESSION_ID, mSessionId); in newLog() 1906 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_COMPAT_MODE, 1); in newLog()
|