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.java58 long configId = System.currentTimeMillis(); in addEventConfig() local
59 StatsdConfigProto.StatsdConfig config = getSimpleSources(configId); in addEventConfig()
74 getStatsManager().addConfig(configId, toByteArray(config)); in addEventConfig()
80 Log.i(LOG_TAG, "Successfully added config with config-id:" + configId); in addEventConfig()
81 setConfigId(configId); in addEventConfig()
96 long configId = System.currentTimeMillis(); in addGaugeConfig() local
97 StatsdConfigProto.StatsdConfig config = getSimpleSources(configId); in addGaugeConfig()
128 getStatsManager().addConfig(configId, toByteArray(config)); in addGaugeConfig()
138 Log.i(LOG_TAG, "Successfully added config with config-id:" + configId); in addGaugeConfig()
139 setConfigId(configId); in addGaugeConfig()
[all …]
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java186 long configId = getUniqueIdForConfig(configs.get(configName)); in registerConfigsWithStatsManager() local
188 newConfig.id = configId; in registerConfigsWithStatsManager()
189 Log.i(LOG_TAG, String.format("Adding config %s with ID %d.", configName, configId)); in registerConfigsWithStatsManager()
190 addStatsConfig(configId, serialize(newConfig)); in registerConfigsWithStatsManager()
191 configIds.put(configName, configId); in registerConfigsWithStatsManager()