Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/metrics/
DLogMakerTest.java30 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/
DEventLogWriter.java36 .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()
56 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, sourceCategory); in clicked()
59 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_SETTINGS_PREFERENCE_CHANGE_NAME, in clicked()
71 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, category); in changed()
74 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_SETTINGS_PREFERENCE_CHANGE_NAME, in changed()
76 logMaker.addTaggedData( in changed()
89 logMaker.addTaggedData(pair.first, pair.second); in action()
119 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, pageId); in action()
[all …]
/frameworks/base/core/java/android/app/slice/
DSliceMetrics.java52 mLogMaker.addTaggedData(MetricsEvent.FIELD_SLICE_AUTHORITY, uri.getAuthority()); in SliceMetrics()
53 mLogMaker.addTaggedData(MetricsEvent.FIELD_SLICE_PATH, uri.getPath()); in SliceMetrics()
95 .addTaggedData(MetricsEvent.FIELD_SUBSLICE_AUTHORITY, subSlice.getAuthority()) in logTouch()
96 .addTaggedData(MetricsEvent.FIELD_SUBSLICE_PATH, subSlice.getPath()); in logTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenGestureLogger.java107 .addTaggedData(MetricsEvent.FIELD_GESTURE_LENGTH, length) in write()
108 .addTaggedData(MetricsEvent.FIELD_GESTURE_VELOCITY, velocity)); in write()
130 .addTaggedData(MetricsEvent.FIELD_GESTURE_X_PERCENT, xPercent) in writeAtFractionalPosition()
131 .addTaggedData(MetricsEvent.FIELD_GESTURE_Y_PERCENT, yPercent) in writeAtFractionalPosition()
132 .addTaggedData(MetricsEvent.FIELD_DEVICE_ROTATION, rotation)); in writeAtFractionalPosition()
/frameworks/base/core/java/android/service/autofill/augmented/
DHelper.java41 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SESSION_ID, mSessionId) in logResponse()
42 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, servicePackageName) in logResponse()
43 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, durationMs); in logResponse()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java1096 builder.addTaggedData(FIELD_CLASS_NAME, activity.info.name); in logAppTransitionCancel()
1150 builder.addTaggedData(FIELD_CLASS_NAME, info.launchedActivityName); in logAppTransition()
1153 builder.addTaggedData(APP_TRANSITION_CALLING_PACKAGE_NAME, in logAppTransition()
1158 builder.addTaggedData(FIELD_INSTANT_APP_LAUNCH_TOKEN, launchToken); in logAppTransition()
1160 builder.addTaggedData(APP_TRANSITION_IS_EPHEMERAL, isInstantApp ? 1 : 0); in logAppTransition()
1161 builder.addTaggedData(APP_TRANSITION_DEVICE_UPTIME_SECONDS, in logAppTransition()
1163 builder.addTaggedData(APP_TRANSITION_DELAY_MS, currentTransitionDelayMs); in logAppTransition()
1166 builder.addTaggedData(APP_TRANSITION_STARTING_WINDOW_DELAY_MS, in logAppTransition()
1170 builder.addTaggedData(APP_TRANSITION_BIND_APPLICATION_DELAY_MS, in logAppTransition()
1173 builder.addTaggedData(APP_TRANSITION_WINDOWS_DRAWN_DELAY_MS, info.windowsDrawnDelayMs); in logAppTransition()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DStatsdHiddenApiUsageLogger.java75 .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/core/java/android/service/notification/
DStatusBarNotification.java498 .addTaggedData(MetricsEvent.NOTIFICATION_ID, getId()) in getLogMaker()
499 .addTaggedData(MetricsEvent.NOTIFICATION_TAG, getTag()) in getLogMaker()
500 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_ID, getChannelIdLogTag()) in getLogMaker()
501 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_ID, getGroupLogTag()) in getLogMaker()
502 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_SUMMARY, in getLogMaker()
504 .addTaggedData(MetricsProto.MetricsEvent.FIELD_NOTIFICATION_CATEGORY, in getLogMaker()
511 logMaker.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_STYLE, in getLogMaker()
517 logMaker.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_PEOPLE, people.size()); in getLogMaker()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java1074 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_INDEX, rank) in setVisibility()
1075 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_COUNT, count)); in setVisibility()
1228 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_INTERRUPTION_MILLIS, in setInterruptive()
1515 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_IMPORTANCE, mImportance) in getLogMaker()
1516 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_CREATE_MILLIS, getLifespanMs(now)) in getLogMaker()
1517 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_UPDATE_MILLIS, getFreshnessMs(now)) in getLogMaker()
1518 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_VISIBLE_MILLIS, getExposureMs(now)) in getLogMaker()
1519 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_INTERRUPTION_MILLIS, in getLogMaker()
1523 lm.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_EXPLANATION, in getLogMaker()
1531 lm.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_INITIAL_EXPLANATION, in getLogMaker()
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DAutoFillUI.java223 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FILTERTEXT_LEN, in showFillUi()
225 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, in showFillUi()
354 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_IDS, numIds); in showSaveUi()
356 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_UPDATE, 1); in showSaveUi()
438 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FILTERTEXT_LEN, in showFillDialog()
440 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, in showFillDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java289 .addTaggedData(FIELD_STATUS_BAR_STATE, in click()
304 .addTaggedData(FIELD_STATUS_BAR_STATE, in secondaryClick()
317 .addTaggedData(FIELD_STATUS_BAR_STATE, in longClick()
331 logMaker.addTaggedData(FIELD_QS_VALUE, ((BooleanState) mState).value ? 1 : 0); in populate()
334 .addTaggedData(FIELD_IS_FULL_QS, mIsFullQs) in populate()
335 .addTaggedData(FIELD_QS_POSITION, mHost.indexOf(mTileSpec)); in populate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java312 when(maker.addTaggedData(anyInt(), any())).thenReturn(maker); in testPopulateWithLockedScreen()
315 verify(maker).addTaggedData(eq(FIELD_QS_VALUE), eq(1)); in testPopulateWithLockedScreen()
316 verify(maker).addTaggedData(eq(FIELD_QS_POSITION), eq(POSITION)); in testPopulateWithLockedScreen()
323 when(maker.addTaggedData(anyInt(), any())).thenReturn(maker); in testPopulateWithUnlockedScreen()
326 verify(maker).addTaggedData(eq(FIELD_QS_VALUE), eq(1)); in testPopulateWithUnlockedScreen()
327 verify(maker).addTaggedData(eq(FIELD_QS_POSITION), eq(POSITION)); in testPopulateWithUnlockedScreen()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DHelper.java163 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, servicePackageName) in newLogMaker()
164 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SESSION_ID, Integer.toString(sessionId)); in newLogMaker()
166 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_COMPAT_MODE, 1); in newLogMaker()
DAutofillManagerServiceImpl.java632 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, getServicePackageName()) in assertCallerLocked()
633 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FORGED_COMPONENT_NAME, in assertCallerLocked()
636 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_COMPAT_MODE, 1); in assertCallerLocked()
1051 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_MATCH_SCORE, in logContextCommittedLocked()
1113 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_VALUES, numberFields)); in setUserData()
1488 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, serviceName); in setAugmentedAutofillWhitelistLocked()
1490 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUMBER_PACKAGES, packages.size()); in setAugmentedAutofillWhitelistLocked()
1493 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUMBER_ACTIVITIES, activities.size()); in setAugmentedAutofillWhitelistLocked()
1653 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, intDuration)); in disableAutofillForApp()
1675 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, intDuration); in disableAutofillForActivity()
DSession.java1344 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_REQUEST_ORDINAL, ordinal); in requestNewFillResponseLocked()
1346 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_FLAGS, flags); in requestNewFillResponseLocked()
1570 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FLAGS, flags)); in Session()
1709 requestLog.addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, -1); in onFillRequestSuccess()
1796 requestLog.addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, in onFillRequestSuccess()
1799 requestLog.addTaggedData( in onFillRequestSuccess()
2402 requestLog.addTaggedData(MetricsEvent.FIELD_AUTOFILL_TEXT_LEN, in onFillRequestFailure()
2492 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_TEXT_LEN, message.length()); in onSaveRequestFailure()
4798 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_PREVIOUS_LENGTH, length); in logIfViewClearedLocked()
6782 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUMBER_REQUESTS, totalRequests); in destroyLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolver.java550 .addTaggedData(FIELD_INSTANT_APP_RESOLUTION_DELAY_MS, in logMetrics()
552 .addTaggedData(FIELD_INSTANT_APP_LAUNCH_TOKEN, token) in logMetrics()
553 .addTaggedData(FIELD_INSTANT_APP_RESOLUTION_STATUS, new Integer(status)); in logMetrics()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java568 builder.addTaggedData(MetricsEvent.FIELD_PLUG_TYPE, mPlugType); in processValuesLocked()
569 builder.addTaggedData(MetricsEvent.FIELD_BATTERY_LEVEL_START, in processValuesLocked()
592 builder.addTaggedData(MetricsEvent.FIELD_PLUG_TYPE, mLastPlugType); in processValuesLocked()
593 builder.addTaggedData(MetricsEvent.FIELD_CHARGING_DURATION_MILLIS, in processValuesLocked()
595 builder.addTaggedData(MetricsEvent.FIELD_BATTERY_LEVEL_START, in processValuesLocked()
597 builder.addTaggedData(MetricsEvent.FIELD_BATTERY_LEVEL_END, in processValuesLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java427 .addTaggedData(MetricsEvent.FIELD_NAV_ACTION, action) in sendEvent()
428 .addTaggedData(MetricsEvent.FIELD_FLAGS, flags)); in sendEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationSnooze.java413 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_SNOOZE_INDEX, index) in logOptionSelection()
414 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_SNOOZE_DURATION_MS, duration)); in logOptionSelection()
/frameworks/base/core/java/android/metrics/
DLogMaker.java244 public LogMaker addTaggedData(int tag, Object value) { in addTaggedData() method in LogMaker
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNightDisplayTile.java218 .addTaggedData(FIELD_QS_MODE, mManager.getNightDisplayAutoModeRaw()); in populate()
/frameworks/base/core/java/com/android/internal/app/
DResolverRankerServiceResolverComparator.java641 log.addTaggedData(MetricsEvent.FIELD_IS_CATEGORY_USED, mAnnotationsUsed ? 1 : 0); in logMetrics()
642 log.addTaggedData(MetricsEvent.FIELD_RANKED_POSITION, selectedPos); in logMetrics()
/frameworks/base/core/tests/coretests/src/android/service/notification/
DStatusBarNotificationTest.java113 logMaker.addTaggedData(extraTag, 1); in testLogMakerNoStaleData()
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java3218 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_VALUES, itemCount) in autofill()
3219 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_VIEWS_FILLED, numApplied)); in autofill()
3250 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_VALUES, 1) in autofillContent()
3251 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_VIEWS_FILLED, 1)); in autofillContent()
3266 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SESSION_ID, mSessionId); in newLog()
3269 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_COMPAT_MODE, 1); in newLog()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java605 log.addTaggedData(MetricsEvent.FIELD_SCREEN_WAKE_REASON, in handleLateGlobalInteractiveChange()
633 log.addTaggedData(MetricsEvent.FIELD_SCREEN_SLEEP_REASON, in handleLateGlobalInteractiveChange()

12