Home
last modified time | relevance | path

Searched refs:getTaggedData (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/service/notification/
DStatusBarNotificationTest.java82 (String) logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_ID)); in testLogMaker()
84 assertEquals(ID, logMaker.getTaggedData(MetricsEvent.NOTIFICATION_ID)); in testLogMaker()
85 assertEquals(TAG, logMaker.getTaggedData(MetricsEvent.NOTIFICATION_TAG)); in testLogMaker()
87 logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_ID)); in testLogMaker()
89 logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_SUMMARY)); in testLogMaker()
90 assertNull(logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_CATEGORY)); in testLogMaker()
91 assertNull(logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_STYLE)); in testLogMaker()
92 assertNull(logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_PEOPLE)); in testLogMaker()
104 assertNull(sbn.getLogMaker().getTaggedData(extraTag)); in testLogMakerNoStaleData()
113 logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_CATEGORY)); in testLogMakerWithCategory()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java440 assertNull(logMaker.getTaggedData(MetricsEvent.NOTIFICATION_SHADE_INDEX)); in testLogMaker()
442 (String) logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_ID)); in testLogMaker()
444 logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_IMPORTANCE)); in testLogMaker()
446 (int) logMaker.getTaggedData(MetricsEvent.NOTIFICATION_SINCE_CREATE_MILLIS)); in testLogMaker()
448 (int) logMaker.getTaggedData(MetricsEvent.NOTIFICATION_SINCE_UPDATE_MILLIS)); in testLogMaker()
450 (int) logMaker.getTaggedData(MetricsEvent.NOTIFICATION_SINCE_VISIBLE_MILLIS)); in testLogMaker()
452 (int) logMaker.getTaggedData(MetricsEvent.NOTIFICATION_SINCE_INTERRUPTION_MILLIS)); in testLogMaker()
454 assertNull(logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_EXPLANATION)); in testLogMaker()
455 assertNull(logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_INITIAL)); in testLogMaker()
456 assertNull(logMaker.getTaggedData( in testLogMaker()
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierEventTronLogger.java155 final String id = String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_SESSION_ID)); in debugLog()
159 String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_WIDGET_TYPE)); in debugLog()
161 String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_WIDGET_VERSION)); in debugLog()
162 final String model = String.valueOf(log.getTaggedData(FIELD_TEXTCLASSIFIER_MODEL)); in debugLog()
164 String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_FIRST_ENTITY_TYPE)); in debugLog()
166 String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_SECOND_ENTITY_TYPE)); in debugLog()
168 String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_THIRD_ENTITY_TYPE)); in debugLog()
170 String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_SCORE)); in debugLog()
DSelectionSessionLogger.java209 final String widgetType = Objects.toString(log.getTaggedData(WIDGET_TYPE), UNKNOWN); in debugLog()
210 final String widgetVersion = Objects.toString(log.getTaggedData(WIDGET_VERSION), ""); in debugLog()
213 final int index = Integer.parseInt(Objects.toString(log.getTaggedData(INDEX), ZERO)); in debugLog()
215 String sessionId = Objects.toString(log.getTaggedData(SESSION_ID), ""); in debugLog()
220 final String model = Objects.toString(log.getTaggedData(MODEL_NAME), UNKNOWN); in debugLog()
221 final String entity = Objects.toString(log.getTaggedData(ENTITY_TYPE), UNKNOWN); in debugLog()
225 Objects.toString(log.getTaggedData(SMART_START), ZERO)); in debugLog()
227 Objects.toString(log.getTaggedData(SMART_END), ZERO)); in debugLog()
229 Objects.toString(log.getTaggedData(EVENT_START), ZERO)); in debugLog()
231 Objects.toString(log.getTaggedData(EVENT_END), ZERO)); in debugLog()
DGenerateLinksLogger.java134 log.getTaggedData(MetricsEvent.FIELD_LINKIFY_CALL_ID), ""); in debugLog()
136 log.getTaggedData(MetricsEvent.FIELD_LINKIFY_ENTITY_TYPE), "ANY_ENTITY"); in debugLog()
138 Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_NUM_LINKS), ZERO)); in debugLog()
140 Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_LINK_LENGTH), ZERO)); in debugLog()
142 Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_TEXT_LENGTH), ZERO)); in debugLog()
144 Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_LATENCY), ZERO)); in debugLog()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/logging/
DTextClassifierEventTronLoggerTest.java84 assertThat(logMaker.getTaggedData(FIELD_TEXT_CLASSIFIER_FIRST_ENTITY_TYPE)) in testWriteEvent()
86 assertThat((float) logMaker.getTaggedData(FIELD_TEXT_CLASSIFIER_SCORE)) in testWriteEvent()
89 assertThat(logMaker.getTaggedData(FIELD_TEXT_CLASSIFIER_EVENT_TIME)).isNull(); in testWriteEvent()
91 assertThat(logMaker.getTaggedData(FIELD_TEXT_CLASSIFIER_WIDGET_TYPE)) in testWriteEvent()
DGenerateLinksLoggerTest.java99 assertNotNull(Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_CALL_ID))); in assertHasLog()
110 return Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_ENTITY_TYPE), ""); in getEntityType()
114 return Integer.parseInt(Objects.toString(log.getTaggedData(eventField), ZERO)); in getIntValue()
/frameworks/base/core/java/android/view/textclassifier/logging/
DSmartSelectionEventTracker.java328 final String widgetType = Objects.toString(log.getTaggedData(WIDGET_TYPE), UNKNOWN); in debugLog()
329 final String widgetVersion = Objects.toString(log.getTaggedData(WIDGET_VERSION), ""); in debugLog()
332 final int index = Integer.parseInt(Objects.toString(log.getTaggedData(INDEX), ZERO)); in debugLog()
334 String sessionId = Objects.toString(log.getTaggedData(SESSION_ID), ""); in debugLog()
339 final String model = Objects.toString(log.getTaggedData(MODEL_NAME), UNKNOWN); in debugLog()
340 final String entity = Objects.toString(log.getTaggedData(ENTITY_TYPE), UNKNOWN); in debugLog()
343 Objects.toString(log.getTaggedData(SMART_START), ZERO)); in debugLog()
345 Objects.toString(log.getTaggedData(SMART_END), ZERO)); in debugLog()
347 Objects.toString(log.getTaggedData(EVENT_START), ZERO)); in debugLog()
349 Objects.toString(log.getTaggedData(EVENT_END), ZERO)); in debugLog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java92 && checkField("FIELD_FLAGS", argument.getTaggedData(FIELD_FLAGS), flags) in testMetrics()
93 && checkField("FIELD_NAV_ACTION", argument.getTaggedData(FIELD_NAV_ACTION), in testMetrics()
/frameworks/base/core/tests/coretests/src/android/metrics/
DLogMakerTest.java71 assertEquals("one", parsed.getTaggedData(1)); in testSerializeDeserialize()
72 assertEquals("two", parsed.getTaggedData(2)); in testSerializeDeserialize()
127 assertEquals(null, builder.getTaggedData(1)); in testClearData()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java110 .getTaggedData(FIELD_STATUS_BAR_STATE)); in testClick_Metrics_Status_Bar_Status()
125 .getTaggedData(FIELD_STATUS_BAR_STATE)); in testSecondaryClick_Metrics_Status_Bar_Status()
140 .getTaggedData(FIELD_STATUS_BAR_STATE)); in testLongClick_Metrics_Status_Bar_Status()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java577 .getTaggedData(MetricsEvent.FIELD_TIME_TO_APP_TARGETS), in testOnCreateLogging()
581 .getTaggedData(MetricsEvent.FIELD_SHARESHEET_MIMETYPE), in testOnCreateLogging()
603 .getTaggedData(MetricsEvent.FIELD_TIME_TO_APP_TARGETS), in testOnCreateLoggingFromWorkProfile()
607 .getTaggedData(MetricsEvent.FIELD_SHARESHEET_MIMETYPE), in testOnCreateLoggingFromWorkProfile()
973 .getAllValues().get(2).getTaggedData(MetricsEvent.FIELD_HASHED_TARGET_NAME); in testDirectTargetSelectionLogging()
977 .getAllValues().get(2).getTaggedData(MetricsEvent.FIELD_RANKED_POSITION), is(-1)); in testDirectTargetSelectionLogging()
1039 .getAllValues().get(2).getTaggedData(MetricsEvent.FIELD_RANKED_POSITION), is(0)); in testDirectTargetLoggingWithRankedAppTarget()
1100 .getAllValues().get(2).getTaggedData(MetricsEvent.FIELD_RANKED_POSITION), is(-1)); in testDirectTargetLoggingWithAppTargetNotRanked()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DHelper.java202 final Object value = log.getTaggedData(tag); in getNumericValue()
DSession.java3139 .getTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE)); in dumpRequestLog()
3141 .getTaggedData(MetricsEvent.FIELD_AUTOFILL_REQUEST_ORDINAL)); in dumpRequestLog()
/frameworks/base/core/java/android/metrics/
DLogMaker.java281 public Object getTaggedData(int tag) { in getTaggedData() method in LogMaker
/frameworks/base/api/
Dtest-lint-baseline.txt996 MissingNullability: android.metrics.LogMaker#getTaggedData(int):
Dtest-current.txt1379 method public Object getTaggedData(int);
Dsystem-current.txt4270 method public Object getTaggedData(int);
/frameworks/base/non-updatable-api/
Dsystem-current.txt4270 method public Object getTaggedData(int);