/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() 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/ |
D | SliceMetrics.java | 52 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/ |
D | LockscreenGestureLogger.java | 107 .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/ |
D | Helper.java | 41 .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/ |
D | ActivityMetricsLogger.java | 1096 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/ |
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/core/java/android/service/notification/ |
D | StatusBarNotification.java | 498 .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/ |
D | NotificationRecord.java | 1074 .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/ |
D | AutoFillUI.java | 223 .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/ |
D | QSTileImpl.java | 289 .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/ |
D | QSTileImplTest.java | 312 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/ |
D | Helper.java | 163 .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()
|
D | AutofillManagerServiceImpl.java | 632 .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()
|
D | Session.java | 1344 .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/ |
D | InstantAppResolver.java | 550 .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/ |
D | BatteryService.java | 568 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/ |
D | KeyButtonView.java | 427 .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/ |
D | NotificationSnooze.java | 413 .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/ |
D | LogMaker.java | 244 public LogMaker addTaggedData(int tag, Object value) { in addTaggedData() method in LogMaker
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | NightDisplayTile.java | 218 .addTaggedData(FIELD_QS_MODE, mManager.getNightDisplayAutoModeRaw()); in populate()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverRankerServiceResolverComparator.java | 641 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/ |
D | StatusBarNotificationTest.java | 113 logMaker.addTaggedData(extraTag, 1); in testLogMakerNoStaleData()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillManager.java | 3218 .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/ |
D | Notifier.java | 605 log.addTaggedData(MetricsEvent.FIELD_SCREEN_WAKE_REASON, in handleLateGlobalInteractiveChange() 633 log.addTaggedData(MetricsEvent.FIELD_SCREEN_SLEEP_REASON, in handleLateGlobalInteractiveChange()
|