Home
last modified time | relevance | path

Searched refs:addStatsConfig (Results 1 – 2 of 2) sorted by relevance

/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/
DStatsdListenerTest.java113 doNothing().when(mListener).addStatsConfig(anyLong(), any()); in setUp()
141 verify(mListener, times(1)).addStatsConfig(eq(CONFIG_ID_1), eq(serialize(CONFIG_1))); in testRunLevelCollection_statsdInteraction()
142 verify(mListener, times(1)).addStatsConfig(eq(CONFIG_ID_2), eq(serialize(CONFIG_2))); in testRunLevelCollection_statsdInteraction()
228 verify(mListener, times(1)).addStatsConfig(eq(CONFIG_ID_1), eq(serialize(CONFIG_1))); in testTestLevelCollection_statsdInteraction()
229 verify(mListener, times(1)).addStatsConfig(eq(CONFIG_ID_2), eq(serialize(CONFIG_2))); in testTestLevelCollection_statsdInteraction()
542 verify(mListener, never()).addStatsConfig(anyLong(), any()); in testNoConfigArguments()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java190 addStatsConfig(configId, serialize(newConfig)); in registerConfigsWithStatsManager()
350 protected void addStatsConfig(long configKey, byte[] config) throws StatsUnavailableException { in addStatsConfig() method in StatsdListener