/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | EventLogWriter.java | 34 final LogMaker logMaker = new LogMaker(category) in visible() local 39 MetricsLogger.action(logMaker); in visible() 44 final LogMaker logMaker = new LogMaker(category) in hidden() local 48 MetricsLogger.action(logMaker); in hidden() 53 final LogMaker logMaker = new LogMaker(MetricsProto.MetricsEvent.ACTION_SETTINGS_TILE_CLICK) in clicked() local 56 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, sourceCategory); in clicked() 59 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_SETTINGS_PREFERENCE_CHANGE_NAME, in clicked() 62 MetricsLogger.action(logMaker); in clicked() 67 final LogMaker logMaker = new LogMaker( in changed() local 71 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, category); in changed() [all …]
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | StatusBarNotificationTest.java | 90 final LogMaker logMaker = getNotification(PKG, GROUP_ID_1, CHANNEL_ID).getLogMaker(); in testLogMaker() local 92 (String) logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_ID)); in testLogMaker() 93 assertEquals(PKG, logMaker.getPackageName()); in testLogMaker() 94 assertEquals(ID, logMaker.getTaggedData(MetricsEvent.NOTIFICATION_ID)); in testLogMaker() 95 assertEquals(TAG, logMaker.getTaggedData(MetricsEvent.NOTIFICATION_TAG)); in testLogMaker() 97 logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_ID)); in testLogMaker() 99 logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_GROUP_SUMMARY)); in testLogMaker() 100 assertNull(logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_CATEGORY)); in testLogMaker() 101 assertNull(logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_STYLE)); in testLogMaker() 102 assertNull(logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_PEOPLE)); in testLogMaker() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordTest.java | 636 final LogMaker logMaker = record.getLogMaker(timestamp); in testLogMaker() local 638 assertNull(logMaker.getTaggedData(MetricsEvent.NOTIFICATION_SHADE_INDEX)); in testLogMaker() 640 (String) logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_ID)); in testLogMaker() 642 logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_CHANNEL_IMPORTANCE)); in testLogMaker() 644 (int) logMaker.getTaggedData(MetricsEvent.NOTIFICATION_SINCE_CREATE_MILLIS)); in testLogMaker() 646 (int) logMaker.getTaggedData(MetricsEvent.NOTIFICATION_SINCE_UPDATE_MILLIS)); in testLogMaker() 648 (int) logMaker.getTaggedData(MetricsEvent.NOTIFICATION_SINCE_VISIBLE_MILLIS)); in testLogMaker() 650 (int) logMaker.getTaggedData(MetricsEvent.NOTIFICATION_SINCE_INTERRUPTION_MILLIS)); in testLogMaker() 652 assertNull(logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_EXPLANATION)); in testLogMaker() 653 assertNull(logMaker.getTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_INITIAL)); in testLogMaker() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | StatsdHiddenApiUsageLogger.java | 73 LogMaker logMaker = new LogMaker(MetricsEvent.ACTION_HIDDEN_API_ACCESSED) in logUsage() local 80 logMaker.addTaggedData(MetricsEvent.FIELD_HIDDEN_API_ACCESS_DENIED, 1); in logUsage() 83 mMetricsLogger.write(logMaker); in logUsage()
|
/frameworks/base/core/java/android/service/notification/ |
D | StatusBarNotification.java | 497 LogMaker logMaker = new LogMaker(MetricsEvent.VIEW_UNKNOWN).setPackageName(getPackageName()) in getLogMaker() local 511 logMaker.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_STYLE, in getLogMaker() 517 logMaker.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_PEOPLE, people.size()); in getLogMaker() 520 return logMaker; in getLogMaker()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | NightDisplayTile.java | 216 public LogMaker populate(LogMaker logMaker) { in populate() argument 217 return super.populate(logMaker) in populate()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutUser.java | 655 final LogMaker logMaker = new LogMaker(MetricsEvent.ACTION_SHORTCUTS_CHANGED); in logSharingShortcutStats() local 656 logger.write(logMaker.setType(MetricsEvent.SHORTCUTS_CHANGED_USER_ID) in logSharingShortcutStats() 658 logger.write(logMaker.setType(MetricsEvent.SHORTCUTS_CHANGED_PACKAGE_COUNT) in logSharingShortcutStats() 660 logger.write(logMaker.setType(MetricsEvent.SHORTCUTS_CHANGED_SHORTCUT_COUNT) in logSharingShortcutStats()
|
D | InstantAppResolver.java | 548 final LogMaker logMaker = new LogMaker(action) in logMetrics() local 554 getLogger().write(logMaker); in logMetrics()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QSTile.java | 97 default LogMaker populate(LogMaker logMaker) { in populate() argument 98 return logMaker; in populate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImpl.java | 329 public LogMaker populate(LogMaker logMaker) { in populate() argument 331 logMaker.addTaggedData(FIELD_QS_VALUE, ((BooleanState) mState).value ? 1 : 0); in populate() 333 return logMaker.setSubtype(getMetricsCategory()) in populate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 270 public LogMaker populate(LogMaker logMaker) { in populate() argument 271 return super.populate(logMaker).setComponentName(mComponent); in populate()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 1592 LogMaker logMaker = r.getLogMaker() 1606 mMetricsLogger.write(logMaker); 1821 LogMaker logMaker = r.getLogMaker() in logSmartSuggestionsVisible() local 1836 mMetricsLogger.write(logMaker); in logSmartSuggestionsVisible() 9779 final LogMaker logMaker = r.getItemLogMaker() 9783 logMaker.addTaggedData(MetricsEvent.NOTIFICATION_SHADE_INDEX, rank) 9786 MetricsLogger.action(logMaker);
|