Home
last modified time | relevance | path

Searched refs:getAtomId (Results 1 – 8 of 8) sorted by relevance

/aosp12/packages/modules/StatsD/statsd/tools/localtools/test/com/android/statsd/shelltools/testdrive/
H A DConfigurationTest.java86 .getSimpleAtomMatcher().getAtomId()); in testOnePushed()
133 .getSimpleAtomMatcher().getAtomId()); in testOnePulled()
136 .getSimpleAtomMatcher().getAtomId()); in testOnePulled()
211 .getSimpleAtomMatcher().getAtomId()); in testOnePulledTwoPushed()
214 .getSimpleAtomMatcher().getAtomId()); in testOnePulledTwoPushed()
218 .getSimpleAtomMatcher().getAtomId(), in testOnePulledTwoPushed()
220 .getSimpleAtomMatcher().getAtomId()}; in testOnePulledTwoPushed()
304 .getSimpleAtomMatcher().getAtomId()); in testOnePulledTwoPushedTogether()
307 .getSimpleAtomMatcher().getAtomId()); in testOnePulledTwoPushedTogether()
317 .getSimpleAtomMatcher().getAtomId(), in testOnePulledTwoPushedTogether()
[all …]
/aosp12/packages/modules/StatsD/framework/test/src/android/util/
H A DStatsEventTest.java52 assertThat(statsEvent.getAtomId()).isEqualTo(expectedAtomId); in testNoFields()
99 assertThat(statsEvent.getAtomId()).isEqualTo(expectedAtomId); in testOnlyAtomId()
146 assertThat(statsEvent.getAtomId()).isEqualTo(expectedAtomId); in testIntBooleanIntInt()
215 assertThat(statsEvent.getAtomId()).isEqualTo(expectedAtomId); in testStringFloatByteArray()
279 assertThat(statsEvent.getAtomId()).isEqualTo(expectedAtomId); in testAttributionChainLong()
349 assertThat(statsEvent.getAtomId()).isEqualTo(expectedAtomId); in testKeyValuePairs()
443 assertThat(statsEvent.getAtomId()).isEqualTo(expectedAtomId); in testSingleAnnotations()
527 assertThat(statsEvent.getAtomId()).isEqualTo(expectedAtomId); in testAtomIdAnnotations()
612 assertThat(statsEvent.getAtomId()).isEqualTo(expectedAtomId); in testSetAtomIdNotCalledImmediately()
659 assertThat(statsEvent.getAtomId()).isEqualTo(expectedAtomId); in testLargePulledEvent()
[all …]
/aosp12/packages/modules/StatsD/framework/java/android/util/
H A DStatsLog.java250 writeImpl(statsEvent.getBytes(), statsEvent.getNumBytes(), statsEvent.getAtomId()); in write()
H A DStatsEvent.java259 public int getAtomId() { in getAtomId() method in StatsEvent
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DWrappedSysUiStatsEvent.java124 public int getAtomId() { in getAtomId() method in WrappedSysUiStatsEvent.WrappedBuilder
H A DZenModeHelperTest.java892 if (builder.getAtomId() == DND_MODE_RULE) { in testProto()
903 fail("unexpected atom id: " + builder.getAtomId()); in testProto()
920 if (builder.getAtomId() == DND_MODE_RULE) { in testProtoWithAutoRule()
927 fail("unexpected atom id: " + builder.getAtomId()); in testProtoWithAutoRule()
984 if (builder.getAtomId() == DND_MODE_RULE in testProtoRedactsIds()
1004 if (builder.getAtomId() == DND_MODE_RULE in testProtoWithManualRule()
H A DPreferencesHelperTest.java3868 if (builder.getAtomId() == PACKAGE_NOTIFICATION_CHANNEL_PREFERENCES in testPullPackageChannelPreferencesStats()
3899 if (builder.getAtomId() == PACKAGE_NOTIFICATION_CHANNEL_PREFERENCES) { in testPullPackageChannelPreferencesStats_one_to_one()
3928 if (builder.getAtomId() == PACKAGE_NOTIFICATION_CHANNEL_PREFERENCES in testPullPackageChannelPreferencesStats_conversation()
3957 if (builder.getAtomId() == PACKAGE_NOTIFICATION_CHANNEL_PREFERENCES in testPullPackageChannelPreferencesStats_conversation_demoted()
3986 if (builder.getAtomId() == PACKAGE_NOTIFICATION_CHANNEL_PREFERENCES in testPullPackageChannelPreferencesStats_conversation_priority()
/aosp12/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
H A DCountMetricsTests.java418 assertThat(data.getSliceByState(0).getAtomId())
428 assertThat(data.getSliceByState(0).getAtomId())