/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/services/core/java/com/android/server/wm/ |
D | ActivityMetricsLogger.java | 648 builder.addTaggedData(FIELD_CLASS_NAME, info.launchedActivity.info.name); in logAppTransitionCancel() 699 builder.addTaggedData(FIELD_CLASS_NAME, info.launchedActivityName); in logAppTransition() 702 builder.addTaggedData(APP_TRANSITION_CALLING_PACKAGE_NAME, in logAppTransition() 707 builder.addTaggedData(FIELD_INSTANT_APP_LAUNCH_TOKEN, launchToken); in logAppTransition() 709 builder.addTaggedData(APP_TRANSITION_IS_EPHEMERAL, isInstantApp ? 1 : 0); in logAppTransition() 710 builder.addTaggedData(APP_TRANSITION_DEVICE_UPTIME_SECONDS, in logAppTransition() 712 builder.addTaggedData(APP_TRANSITION_DELAY_MS, currentTransitionDelayMs); in logAppTransition() 715 builder.addTaggedData(APP_TRANSITION_STARTING_WINDOW_DELAY_MS, in logAppTransition() 719 builder.addTaggedData(APP_TRANSITION_BIND_APPLICATION_DELAY_MS, in logAppTransition() 722 builder.addTaggedData(APP_TRANSITION_WINDOWS_DRAWN_DELAY_MS, info.windowsDrawnDelayMs); in logAppTransition() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | SelectionSessionLogger.java | 78 .addTaggedData(START_EVENT_DELTA, event.getDurationSinceSessionStart()) in writeEvent() 79 .addTaggedData(PREV_EVENT_DELTA, event.getDurationSincePreviousEvent()) in writeEvent() 80 .addTaggedData(INDEX, event.getEventIndex()) in writeEvent() 81 .addTaggedData(WIDGET_TYPE, event.getWidgetType()) in writeEvent() 82 .addTaggedData(WIDGET_VERSION, event.getWidgetVersion()) in writeEvent() 83 .addTaggedData(ENTITY_TYPE, event.getEntityType()) in writeEvent() 84 .addTaggedData(EVENT_START, event.getStart()) in writeEvent() 85 .addTaggedData(EVENT_END, event.getEnd()); in writeEvent() 89 log.addTaggedData(MODEL_NAME, SignatureParser.getModelName(event.getResultId())) in writeEvent() 90 .addTaggedData(SMART_START, event.getSmartStart()) in writeEvent() [all …]
|
D | TextClassifierEventTronLogger.java | 67 .addTaggedData(FIELD_TEXT_CLASSIFIER_SESSION_ID, event.getResultId()) in writeEvent() 68 .addTaggedData(FIELD_TEXTCLASSIFIER_MODEL, getModelName(event)); in writeEvent() 70 log.addTaggedData(FIELD_TEXT_CLASSIFIER_SCORE, event.getScores()[0]); in writeEvent() 76 log.addTaggedData(FIELD_TEXT_CLASSIFIER_FIRST_ENTITY_TYPE, entityTypes[0]); in writeEvent() 79 log.addTaggedData(FIELD_TEXT_CLASSIFIER_SECOND_ENTITY_TYPE, entityTypes[1]); in writeEvent() 82 log.addTaggedData(FIELD_TEXT_CLASSIFIER_THIRD_ENTITY_TYPE, entityTypes[2]); in writeEvent() 86 log.addTaggedData(FIELD_TEXT_CLASSIFIER_WIDGET_TYPE, eventContext.getWidgetType()); in writeEvent() 87 log.addTaggedData(FIELD_TEXT_CLASSIFIER_WIDGET_VERSION, in writeEvent()
|
D | GenerateLinksLogger.java | 117 .addTaggedData(MetricsEvent.FIELD_LINKIFY_CALL_ID, callId) in writeStats() 118 .addTaggedData(MetricsEvent.FIELD_LINKIFY_NUM_LINKS, stats.mNumLinks) in writeStats() 119 .addTaggedData(MetricsEvent.FIELD_LINKIFY_LINK_LENGTH, stats.mNumLinksTextLength) in writeStats() 120 .addTaggedData(MetricsEvent.FIELD_LINKIFY_TEXT_LENGTH, text.length()) in writeStats() 121 .addTaggedData(MetricsEvent.FIELD_LINKIFY_LATENCY, latencyMs); in writeStats() 123 log.addTaggedData(MetricsEvent.FIELD_LINKIFY_ENTITY_TYPE, entityType); in writeStats()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenGestureLogger.java | 53 .addTaggedData(MetricsEvent.FIELD_GESTURE_LENGTH, length) in write() 54 .addTaggedData(MetricsEvent.FIELD_GESTURE_VELOCITY, velocity)); in write() 69 .addTaggedData(MetricsEvent.FIELD_GESTURE_X_PERCENT, xPercent) in writeAtFractionalPosition() 70 .addTaggedData(MetricsEvent.FIELD_GESTURE_Y_PERCENT, yPercent) in writeAtFractionalPosition() 71 .addTaggedData(MetricsEvent.FIELD_DEVICE_ROTATION, rotation)); in writeAtFractionalPosition()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | EventLogWriter.java | 36 .addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, source); in visible() 51 logMaker.addTaggedData(pair.first, pair.second); in action() 81 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, pageId); in action() 84 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_SETTINGS_PREFERENCE_CHANGE_NAME, in action() 86 logMaker.addTaggedData( in action()
|
/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/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/view/textclassifier/logging/ |
D | SmartSelectionEventTracker.java | 167 .addTaggedData(START_EVENT_DELTA, now - mSessionStartTime) in writeEvent() 168 .addTaggedData(PREV_EVENT_DELTA, prevEventDelta) in writeEvent() 169 .addTaggedData(INDEX, mIndex) in writeEvent() 170 .addTaggedData(WIDGET_TYPE, getWidgetTypeName()) in writeEvent() 171 .addTaggedData(WIDGET_VERSION, mWidgetVersion) in writeEvent() 172 .addTaggedData(MODEL_NAME, mModelName) in writeEvent() 173 .addTaggedData(ENTITY_TYPE, event.mEntityType) in writeEvent() 174 .addTaggedData(SMART_START, getSmartRangeDelta(mSmartIndices[0])) in writeEvent() 175 .addTaggedData(SMART_END, getSmartRangeDelta(mSmartIndices[1])) in writeEvent() 176 .addTaggedData(EVENT_START, getRangeDelta(event.mStart)) in writeEvent() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | StatusBarNotification.java | 416 .addTaggedData(MetricsEvent.NOTIFICATION_ID, getId()) in getLogMaker() 417 .addTaggedData(MetricsEvent.NOTIFICATION_TAG, getTag()) in getLogMaker() 418 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_ID, getChannelIdLogTag()) in getLogMaker() 419 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_ID, getGroupLogTag()) in getLogMaker() 420 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_SUMMARY, in getLogMaker() 422 .addTaggedData(MetricsProto.MetricsEvent.FIELD_NOTIFICATION_CATEGORY, in getLogMaker() 429 logMaker.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_STYLE, in getLogMaker() 435 logMaker.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_PEOPLE, people.size()); in getLogMaker()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImplTest.java | 147 when(maker.addTaggedData(anyInt(), any())).thenReturn(maker); in testPopulateWithLockedScreen() 150 verify(maker).addTaggedData(eq(FIELD_QS_VALUE), eq(1)); in testPopulateWithLockedScreen() 151 verify(maker).addTaggedData(eq(FIELD_QS_POSITION), eq(POSITION)); in testPopulateWithLockedScreen() 158 when(maker.addTaggedData(anyInt(), any())).thenReturn(maker); in testPopulateWithUnlockedScreen() 161 verify(maker).addTaggedData(eq(FIELD_QS_VALUE), eq(1)); in testPopulateWithUnlockedScreen() 162 verify(maker).addTaggedData(eq(FIELD_QS_POSITION), eq(POSITION)); in testPopulateWithUnlockedScreen()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | StatsdHiddenApiUsageLogger.java | 79 .addTaggedData(MetricsEvent.FIELD_HIDDEN_API_SIGNATURE, signature) in logUsage() 80 .addTaggedData(MetricsEvent.FIELD_HIDDEN_API_ACCESS_METHOD, in logUsage() 84 logMaker.addTaggedData(MetricsEvent.FIELD_HIDDEN_API_ACCESS_DENIED, 1); in logUsage()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 888 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_INDEX, rank) in setVisibility() 889 .addTaggedData(MetricsEvent.NOTIFICATION_SHADE_COUNT, count)); in setVisibility() 1020 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_INTERRUPTION_MILLIS, in setInterruptive() 1247 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_IMPORTANCE, mImportance) in getLogMaker() 1248 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_CREATE_MILLIS, getLifespanMs(now)) in getLogMaker() 1249 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_UPDATE_MILLIS, getFreshnessMs(now)) in getLogMaker() 1250 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_VISIBLE_MILLIS, getExposureMs(now)) in getLogMaker() 1251 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_INTERRUPTION_MILLIS, in getLogMaker() 1255 lm.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_EXPLANATION, in getLogMaker() 1263 lm.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_INITIAL_EXPLANATION, in getLogMaker() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImpl.java | 201 .addTaggedData(FIELD_STATUS_BAR_STATE, in click() 208 .addTaggedData(FIELD_STATUS_BAR_STATE, in secondaryClick() 215 .addTaggedData(FIELD_STATUS_BAR_STATE, in longClick() 227 logMaker.addTaggedData(FIELD_QS_VALUE, ((BooleanState) mState).value ? 1 : 0); in populate() 230 .addTaggedData(FIELD_IS_FULL_QS, mIsFullQs) in populate() 231 .addTaggedData(FIELD_QS_POSITION, mHost.indexOf(mTileSpec)); in populate()
|
/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 | AutofillManagerServiceImpl.java | 525 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, getServicePackageName()) in assertCallerLocked() 526 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FORGED_COMPONENT_NAME, in assertCallerLocked() 529 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_COMPAT_MODE, 1); in assertCallerLocked() 839 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_MATCH_SCORE, in logContextCommittedLocked() 897 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_VALUES, numberFields)); in setUserData() 1221 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, serviceName); in setAugmentedAutofillWhitelistLocked() 1223 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUMBER_PACKAGES, packages.size()); in setAugmentedAutofillWhitelistLocked() 1226 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUMBER_ACTIVITIES, activities.size()); in setAugmentedAutofillWhitelistLocked() 1372 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, intDuration)); in disableAutofillForApp() 1398 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, getServicePackageName()) in disableAutofillForActivity() [all …]
|
D | Session.java | 599 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_REQUEST_ORDINAL, ordinal); in requestNewFillResponseLocked() 601 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_FLAGS, flags); in requestNewFillResponseLocked() 666 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FLAGS, flags)); in Session() 756 requestLog.addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, -1); in onFillRequestSuccess() 811 requestLog.addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, in onFillRequestSuccess() 814 requestLog.addTaggedData( in onFillRequestSuccess() 865 requestLog.addTaggedData(MetricsEvent.FIELD_AUTOFILL_TEXT_LEN, in onFillRequestFailureOrTimeout() 929 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_TEXT_LEN, message.length()); in onSaveRequestFailure() 2356 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_PREVIOUS_LENGTH, length); in updateLocked() 3278 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUMBER_REQUESTS, totalRequests); in destroyLocked() [all …]
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | AutoFillUI.java | 189 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_FILTERTEXT_LEN, in showFillUi() 191 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_DATASETS, in showFillUi() 289 .addTaggedData(MetricsEvent.FIELD_AUTOFILL_NUM_IDS, numIds); in showSaveUi() 291 log.addTaggedData(MetricsEvent.FIELD_AUTOFILL_UPDATE, 1); in showSaveUi()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstantAppResolver.java | 509 .addTaggedData(FIELD_INSTANT_APP_RESOLUTION_DELAY_MS, in logMetrics() 511 .addTaggedData(FIELD_INSTANT_APP_LAUNCH_TOKEN, token) in logMetrics() 512 .addTaggedData(FIELD_INSTANT_APP_RESOLUTION_STATUS, new Integer(status)); in logMetrics()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BatteryService.java | 526 builder.addTaggedData(MetricsEvent.FIELD_PLUG_TYPE, mPlugType); in processValuesLocked() 527 builder.addTaggedData(MetricsEvent.FIELD_BATTERY_LEVEL_START, in processValuesLocked() 550 builder.addTaggedData(MetricsEvent.FIELD_PLUG_TYPE, mLastPlugType); in processValuesLocked() 551 builder.addTaggedData(MetricsEvent.FIELD_CHARGING_DURATION_MILLIS, in processValuesLocked() 553 builder.addTaggedData(MetricsEvent.FIELD_BATTERY_LEVEL_START, in processValuesLocked() 555 builder.addTaggedData(MetricsEvent.FIELD_BATTERY_LEVEL_END, in processValuesLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonView.java | 333 .addTaggedData(MetricsEvent.FIELD_NAV_ACTION, action) in sendEvent() 334 .addTaggedData(MetricsEvent.FIELD_FLAGS, flags)); in sendEvent()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverRankerServiceResolverComparator.java | 311 log.addTaggedData(MetricsEvent.FIELD_IS_CATEGORY_USED, isCategoryUsed); in logMetrics() 312 log.addTaggedData(MetricsEvent.FIELD_RANKED_POSITION, selectedPos); in logMetrics()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationSnooze.java | 355 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_SNOOZE_INDEX, index) in logOptionSelection() 356 .addTaggedData(MetricsEvent.FIELD_NOTIFICATION_SNOOZE_DURATION_MS, duration)); in logOptionSelection()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | NightDisplayTile.java | 183 .addTaggedData(FIELD_QS_MODE, mManager.getNightDisplayAutoModeRaw()); in populate()
|