Home
last modified time | relevance | path

Searched refs:config (Results 1 – 21 of 21) sorted by relevance

/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/
DREADME.md3 This directory hosts binary statsd config protos.
7 A config tells statsd what metrics to collect from the device during a test. For example,
10 ## Checking in a config
12 To check in config(s) for a new set of metrics, follow these steps:
15 2. Put the new config(s) in the subdirectory using the directory name and optionally with additional
17 This ensures that each config has a unique name.
18 3. Write a README file explaining what the config(s) in the new subdirectory does and put it under
21 # (Internal only) Creating a config
25 To create a config, follow these steps:
28 [Add your metrics to a config](http://go/westworld-modulefooding#add-your-metrics-to-a-config)
[all …]
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DStatsdHelper.java59 StatsdConfigProto.StatsdConfig config = getSimpleSources(configId); in addEventConfig() local
70 config.eventMetric = metrics.toArray(new StatsdConfigProto.EventMetric[0]); in addEventConfig()
71 config.atomMatcher = atomMatchers.toArray(new StatsdConfigProto.AtomMatcher[0]); in addEventConfig()
74 getStatsManager().addConfig(configId, toByteArray(config)); in addEventConfig()
97 StatsdConfigProto.StatsdConfig config = getSimpleSources(configId); in addGaugeConfig() local
99 config.whitelistedAtomIds = in addGaugeConfig()
124 config.atomMatcher = matchers.toArray(new StatsdConfigProto.AtomMatcher[0]); in addGaugeConfig()
125 config.gaugeMetric = gaugeMetrics.toArray(new StatsdConfigProto.GaugeMetric[0]); in addGaugeConfig()
128 getStatsManager().addConfig(configId, toByteArray(config)); in addGaugeConfig()
160 StatsdConfigProto.StatsdConfig config = new StatsdConfigProto.StatsdConfig(); in getSimpleSources() local
[all …]
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/
DAutoJsonUtility.java81 public String getApplicationConfig(String config) { in getApplicationConfig() argument
82 return mApplicationConfigMap.get(config); in getApplicationConfig()
87 String application, String config, String resource) { in getResourceFromConfig() argument
92 return configUtilityMap.get(application).getResourceConfiguration(config, resource); in getResourceFromConfig()
222 String appName, String configName, JSONObject config) throws JSONException { in parseJsonAndUpdateApplicationConfigMap() argument
223 Iterator<String> configKeys = config.keys(); in parseJsonAndUpdateApplicationConfigMap()
229 Object applicationConfig = config.get(configKey); in parseJsonAndUpdateApplicationConfigMap()
240 String appName, String configName, JSONObject config) throws JSONException { in parseJsonAndUpdateApplicationResources() argument
241 Iterator<String> resourceNames = config.keys(); in parseJsonAndUpdateApplicationResources()
245 parseJsonAndUpdateConfigPath(appName, configName, config); in parseJsonAndUpdateApplicationResources()
[all …]
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DFlickerTestParameter.kt34 @JvmField val config: MutableMap<String, Any?>, constant in com.android.server.wm.flicker.FlickerTestParameter
35 @JvmField val name: String = defaultName(config)
40 get() = config.startRotation == Surface.ROTATION_90 ||
41 config.startRotation == Surface.ROTATION_270
95 fun defaultName(config: Map<String, Any?>) = buildString { in toString()
96 append(config.startRotationName) in toString()
97 if (config.endRotation != config.startRotation) { in toString()
100 if (config.navBarMode.isNotEmpty()) { in toString()
DFlickerBlockJUnit4ClassRunner.kt109 repeat { flickerTestParameter.config.repetitions } in injectFlickerOnTestParams()
110 }.build(TransitionRunnerWithRules(flickerTestParameter.config)) in injectFlickerOnTestParams()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DCrashUtils.java91 public static boolean securityCrashDetected(JSONArray crashes, Config config) { in securityCrashDetected() argument
92 return matchSecurityCrashes(crashes, config).length() > 0; in securityCrashDetected()
115 public static JSONArray matchSecurityCrashes(JSONArray crashes, Config config) { in matchSecurityCrashes() argument
122 if (!matchesAny(getProcessFileName(crash), config.processPatterns)) { in matchSecurityCrashes()
128 if (!config.signals.contains(crashSignal)) { in matchSecurityCrashes()
134 if (!config.abortMessageIncludes.isEmpty()) { in matchSecurityCrashes()
135 if (!config.abortMessageIncludes.stream() in matchSecurityCrashes()
142 if (config.abortMessageExcludes.stream() in matchSecurityCrashes()
151 if (config.checkMinAddress) { in matchSecurityCrashes()
154 && faultAddress.compareTo(config.minCrashAddress) < 0) { in matchSecurityCrashes()
DDynamicConfig.java105 File config = getConfigFileUnchecked(configFolder, moduleName); in getConfigFile() local
106 if (!config.exists()) { in getConfigFile()
109 return config; in getConfigFile()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/app-start/
DREADME.md3 This statsd config collects app startup metrics.
/platform_testing/libraries/device-collectors/src/main/platform-collectors/
DAndroid.bp21 name: "statsd-config-protos",
26 out: ["statsd-config-protos.jar"],
33 * If a config fails to parse, an error is thrown and the build will fail.
54 "statsd-config-protos",
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/app-compact/
DREADME.md3 This config collects app compaction metrics. Please see the `AppCompacted` atom in statsd's
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/wifi-health-stat-reported/
DREADME.md3 This config is used to log all changes in WiFi strength and sufficiency during a test, as defined by
/platform_testing/emu_test/
Drun_test_suite.sh148 $TRADEFED_MAKE_DIR/make-config \
149 $TRADEFED_MAKE_DIR/config.yaml \
152 config.tradefed.ape_api_key=/home/android-build/gts-android-emulator.json \
174 $TRADEFED_MAKE_DIR/make-config \
178 config.emulator.command_prefix='vglrun +v -c proxy' \
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java350 protected void addStatsConfig(long configKey, byte[] config) throws StatsUnavailableException { in addStatsConfig() argument
351 getStatsManager().addConfig(configKey, config); in addStatsConfig()
402 protected long getUniqueIdForConfig(StatsdConfigProto.StatsdConfig config) { in getUniqueIdForConfig() argument
494 private StatsdConfigProto.StatsdConfig fixPermissions(StatsdConfigProto.StatsdConfig config) in fixPermissions() argument
496 StatsdConfigProto.StatsdConfig newConfig = clone(config); in fixPermissions()
498 concat(config.defaultPullPackages, new String[] {"AID_SYSTEM"}); in fixPermissions()
501 config.whitelistedAtomIds, in fixPermissions()
516 private static StatsdConfigProto.StatsdConfig clone(StatsdConfigProto.StatsdConfig config) in clone() argument
518 byte[] output = serialize(config); in clone()
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
DSimpleGLRenderer.java52 public void onSurfaceCreated(GL10 unused, EGLConfig config) { in onSurfaceCreated() argument
/platform_testing/tests/example/mobly/
Dhello_world_test.py151 if not args.config:
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/
DScreenshotOnFailureCollectorHostTest.java25 import com.android.tradefed.config.OptionSetter;
DLogcatCollectorHostTest.java24 import com.android.tradefed.config.OptionSetter;
DBatterystatsCollectorHostTest.java27 import com.android.tradefed.config.OptionSetter;
/platform_testing/build/tasks/tests/
Dnative_test_list.mk99 kernel-config-unit-tests \
/platform_testing/libraries/automotive-helpers/standard-app-helper/src/android/platform/helpers/
DAbstractAutoStandardAppHelper.java405 protected String getApplicationConfig(String config) { in getApplicationConfig() argument
406 return mAutoJsonUtil.getApplicationConfig(config); in getApplicationConfig()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfile.java142 Configuration config, List<Runner> input) { in getTestSequenceFromConfiguration() argument