Home
last modified time | relevance | path

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

/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DStatsdHelper.java61 long configId = System.currentTimeMillis(); in addEventConfig() local
62 StatsdConfigProto.StatsdConfig config = getSimpleSources(configId); in addEventConfig()
77 getStatsManager().addConfig(configId, toByteArray(config)); in addEventConfig()
78 if (!pollForRegisteredConfig(configId)) { in addEventConfig()
87 Log.i(LOG_TAG, "Successfully added config with config-id:" + configId); in addEventConfig()
88 setConfigId(configId); in addEventConfig()
103 long configId = System.currentTimeMillis(); in addGaugeConfig() local
104 StatsdConfigProto.StatsdConfig config = getSimpleSources(configId); in addGaugeConfig()
135 getStatsManager().addConfig(configId, toByteArray(config)); in addGaugeConfig()
136 if (!pollForRegisteredConfig(configId)) { in addGaugeConfig()
[all …]
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java193 long configId = getUniqueIdForConfig(configs.get(configName)); in registerConfigsWithStatsManager() local
195 newConfig.id = configId; in registerConfigsWithStatsManager()
196 Log.i(LOG_TAG, String.format("Adding config %s with ID %d.", configName, configId)); in registerConfigsWithStatsManager()
197 addStatsConfig(configId, serialize(newConfig)); in registerConfigsWithStatsManager()
198 configIds.put(configName, configId); in registerConfigsWithStatsManager()