Home
last modified time | relevance | path

Searched refs:addTaggedData (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/metrics/
DLogMakerTest.java25 builder.addTaggedData(1, "one"); in testSerialize()
26 builder.addTaggedData(2, "two"); in testSerialize()
52 builder.addTaggedData(1, "one"); in testSerializeDeserialize()
53 builder.addTaggedData(2, "two"); in testSerializeDeserialize()
89 builder.addTaggedData(0, new Object()); in testInvalidInputThrows()
99 builder.addTaggedData(1, "onetwothree"); in testValidInputTypes()
100 builder.addTaggedData(2, 123); in testValidInputTypes()
101 builder.addTaggedData(3, 123L); in testValidInputTypes()
102 builder.addTaggedData(4, 123.0F); in testValidInputTypes()
103 builder.addTaggedData(5, null); in testValidInputTypes()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityMetricsLogger.java371 builder.addTaggedData(FIELD_CLASS_NAME, info.launchedActivity.info.name); in logAppTransitionMultiEvents()
374 builder.addTaggedData(APP_TRANSITION_CALLING_PACKAGE_NAME, in logAppTransitionMultiEvents()
378 builder.addTaggedData(FIELD_INSTANT_APP_LAUNCH_TOKEN, in logAppTransitionMultiEvents()
382 builder.addTaggedData(APP_TRANSITION_IS_EPHEMERAL, isInstantApp ? 1 : 0); in logAppTransitionMultiEvents()
383 builder.addTaggedData(APP_TRANSITION_DEVICE_UPTIME_SECONDS, in logAppTransitionMultiEvents()
385 builder.addTaggedData(APP_TRANSITION_DELAY_MS, mCurrentTransitionDelayMs); in logAppTransitionMultiEvents()
388 builder.addTaggedData(APP_TRANSITION_STARTING_WINDOW_DELAY_MS, in logAppTransitionMultiEvents()
392 builder.addTaggedData(APP_TRANSITION_BIND_APPLICATION_DELAY_MS, in logAppTransitionMultiEvents()
395 builder.addTaggedData(APP_TRANSITION_WINDOWS_DRAWN_DELAY_MS, info.windowsDrawnDelayMs); in logAppTransitionMultiEvents()
407 builder.addTaggedData(FIELD_CLASS_NAME, r.info.name); in logAppTransitionReportedDrawn()
[all …]
DActivityManagerService.java8224 lm.addTaggedData(MetricsEvent.PICTURE_IN_PICTURE_ASPECT_RATIO, params.getAspectRatio()); in logPictureInPictureArgs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenGestureLogger.java49 .addTaggedData(MetricsEvent.FIELD_GESTURE_LENGTH, length) in write()
50 .addTaggedData(MetricsEvent.FIELD_GESTURE_VELOCITY, velocity)); in write()
/frameworks/base/core/java/android/view/textclassifier/logging/
DSmartSelectionEventTracker.java143 .addTaggedData(START_EVENT_DELTA, now - mSessionStartTime) in writeEvent()
144 .addTaggedData(PREV_EVENT_DELTA, prevEventDelta) in writeEvent()
145 .addTaggedData(INDEX, mIndex) in writeEvent()
146 .addTaggedData(VERSION_TAG, mVersionTag) in writeEvent()
147 .addTaggedData(SMART_INDICES, getSmartDelta()) in writeEvent()
148 .addTaggedData(EVENT_INDICES, getEventDelta(event)) in writeEvent()
149 .addTaggedData(SESSION_ID, mSessionId); in writeEvent()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java741 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_INDEX, rank)); in setVisibility()
891 .addTaggedData(MetricsEvent.NOTIFICATION_ID, sbn.getId()) in getLogMaker()
892 .addTaggedData(MetricsEvent.NOTIFICATION_TAG, sbn.getTag()) in getLogMaker()
893 … .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_ID, getChannelIdLogTag()); in getLogMaker()
901 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_IMPORTANCE, mImportance) in getLogMaker()
902 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_ID, getGroupLogTag()) in getLogMaker()
903 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_SUMMARY, in getLogMaker()
905 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_CREATE_MILLIS, getLifespanMs(now)) in getLogMaker()
906 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_UPDATE_MILLIS, getFreshnessMs(now)) in getLogMaker()
907 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_VISIBLE_MILLIS, getExposureMs(now)); in getLogMaker()
DRankingHelper.java1158 .addTaggedData(MetricsProto.MetricsEvent.FIELD_NOTIFICATION_CHANNEL_ID, in getChannelLog()
1160 .addTaggedData(MetricsProto.MetricsEvent.FIELD_NOTIFICATION_CHANNEL_IMPORTANCE, in getChannelLog()
1167 .addTaggedData(MetricsProto.MetricsEvent.FIELD_NOTIFICATION_CHANNEL_GROUP_ID, in getChannelGroupLog()
DNotificationManagerService.java3773 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_SNOOZE_DURATION_MS,
3775 .addTaggedData(MetricsEvent.NOTIFICATION_SNOOZED_CRITERIA,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java103 when(maker.addTaggedData(anyInt(), any())).thenReturn(maker); in testPopulate()
106 verify(maker).addTaggedData(eq(FIELD_QS_VALUE), eq(1)); in testPopulate()
107 verify(maker).addTaggedData(eq(FIELD_QS_POSITION), eq(POSITION)); in testPopulate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DIconLoggerImpl.java92 .addTaggedData(FIELD_NUM_STATUS_ICONS, icons.size()) in doLog()
93 .addTaggedData(FIELD_STATUS_ICONS, getBitField(icons))); in doLog()
DKeyButtonView.java273 .addTaggedData(MetricsEvent.FIELD_NAV_ACTION, action) in sendEvent()
274 .addTaggedData(MetricsEvent.FIELD_FLAGS, flags)); in sendEvent()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DAutoFillUI.java175 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FILTERTEXT_LEN, in showFillUi()
177 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, in showFillUi()
261 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_IDS, numIds); in showSaveUi()
DSaveUi.java338 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SAVE_TYPE, saveType); in newLogMaker()
344 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, mServicePackageName); in newLogMaker()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolver.java394 .addTaggedData(FIELD_INSTANT_APP_RESOLUTION_DELAY_MS, in logMetrics()
396 .addTaggedData(FIELD_INSTANT_APP_LAUNCH_TOKEN, token) in logMetrics()
397 .addTaggedData(FIELD_INSTANT_APP_RESOLUTION_STATUS, new Integer(status)); in logMetrics()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java198 logMaker.addTaggedData(FIELD_QS_VALUE, ((BooleanState) mState).value ? 1 : 0); in populate()
201 .addTaggedData(FIELD_CONTEXT, isFullQs()) in populate()
202 .addTaggedData(FIELD_QS_POSITION, mHost.indexOf(mTileSpec)); in populate()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DHelper.java111 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, servicePackageName); in newLogMaker()
DAutofillManagerServiceImpl.java439 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, getServicePackageName()) in assertCallerLocked()
440 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FORGED_COMPONENT_NAME, in assertCallerLocked()
DSession.java236 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FORGED_COMPONENT_NAME,
505 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, in onFillRequestSuccess()
1298 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_PREVIOUS_LENGTH, length); in updateLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationSnooze.java367 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_SNOOZE_INDEX, index) in logOptionSelection()
368 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_SNOOZE_DURATION_MS, duration)); in logOptionSelection()
/frameworks/base/core/java/com/android/internal/app/
DResolverComparator.java426 log.addTaggedData(MetricsEvent.FIELD_IS_CATEGORY_USED, isCategoryUsed); in logMetrics()
427 log.addTaggedData(MetricsEvent.FIELD_RANKED_POSITION, selectedPos); in logMetrics()
/frameworks/base/core/java/android/metrics/
DLogMaker.java242 public LogMaker addTaggedData(int tag, Object value) { in addTaggedData() method in LogMaker
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java1306 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_VALUES, itemCount) in autofill()
1307 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_VIEWS_FILLED, numApplied); in autofill()
/frameworks/base/config/
Dboot-image-profile.txt27047 HSPLandroid/metrics/LogMaker;->addTaggedData(ILjava/lang/Object;)Landroid/metrics/LogMaker;
/frameworks/base/api/
Dsystem-current.txt27391 method public android.metrics.LogMaker addTaggedData(int, java.lang.Object);