/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/ |
D | Color.kt | 19 data class Color(val r: Float, val g: Float, val b: Float, val a: Float) { constant in com.android.server.wm.traces.common.Color 21 get() = a == 0f || r < 0 || g < 0 || b < 0 37 if (a != other.a) return false in prettyPrint() 46 result = 31 * result + a.hashCode() in hashCode() 51 val EMPTY = Color(r = -1f, g = -1f, b = -1f, a = 0f) 57 val a = FloatFormatter.format(color.a) in prettyPrint() constant 58 return "r:$r g:$g b:$b a:$a" in prettyPrint()
|
D | WindowManagerConditionsFactory.kt | 60 ?.color?.a ?: 0f == 1f in <lambda>() 91 ?.color?.a ?: 0f == 1f in <lambda>() 181 layers.any { layer -> layer.color.a == 1.0f } in <lambda>() 189 layer?.color?.a == 1.0f in <lambda>()
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/ |
D | README.md | 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: 14 1. Create a directory under this directory for the new metrics (e.g. `app-start`). 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) 29 section (and this section only) in the Android Metrics documentation to create a new config file. [all …]
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/loggers/ |
D | LogFileLogger.java | 35 for (Annotation a : child.getAnnotations()) { in onTestEnd() 36 if (a instanceof TestLogData.LogAnnotation) { in onTestEnd() 38 for (TestLogData.LogHolder log : ((TestLogData.LogAnnotation) a).mLogs) { in onTestEnd() 42 ((TestLogData.LogAnnotation) a).mLogs.clear(); in onTestEnd()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | Scheduler.java | 101 int a = _a; 106 b = a % b; 107 a = tmp; 110 return a; 142 final int a = randomRelPrime(cases.size()); 153 return cases.get((a * (count++) + b) % cases.size());
|
D | DataCollector.java | 160 private long gcd(long a, long b) { in gcd() argument 161 if (a == 0) { in gcd() 164 return a; in gcd() 165 } else if (a > b) { in gcd() 166 return gcd(b, a % b); in gcd() 168 return gcd(a, b % a); in gcd()
|
/platform_testing/libraries/flicker/ |
D | README.md | 5 This is often the result of a logic error in the code and difficult to identify because the issue i… 18 ## Building a transition 22 // Example: Build a transition that cold launches an app from launcher 24 // Specify a tag to identify the transition (optional) 32 // Press the home button and close the app to test a cold start 50 Run the transition to get a list of `TransitionResult` for each time the transition is repeated. 60 Each trace can be represented as a ordered collection of trace entries, with an associated timestam… 71 // check a range of entries 80 // check a change in assertions, e.g. wallpaper window is visible, 89 All assertions return `Result` which contains a `success` flag, `assertionName` string identifier, … [all …]
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/wifi-controller-energy/ |
D | README.md | 3 These configs are used to gauge the amount of energy consumed by the WiFi controller throughout a 4 test or a test run, as defined by the WifiActivityInfo atom.
|
/platform_testing/libraries/audio-test-harness/proto/ |
D | audio_test_harness_service.proto | 6 * You may obtain a copy of the License at 28 // Initiates a capture from a host audio device and streams back the resulting 33 // A request from the client to start a new capture. 35 // If the capture is started successfully, the host will return a series of
|
D | audio_device.proto | 6 * You may obtain a copy of the License at 29 // Indicates that a given device can capture audio.
|
D | audio_format.proto | 6 * You may obtain a copy of the License at 23 // Models the low-level audio-format of a given raw audio stream.
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/greenday-power-smaller/ |
D | README.md | 3 Configs for a smaller set of power metrics : CPUTimePerFreq, MobileBytesTransfer, RemainingBatteryC…
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/wifi-health-stat-reported/ |
D | README.md | 3 This config is used to log all changes in WiFi strength and sufficiency during a test, as defined by
|
/platform_testing/tests/example/devcodelab/ |
D | README | 3 This test is a purposely broken instrumentation apk test meant for new
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/on-device-power-measurement/ |
D | README.md | 3 These configs are used to pull the on-device power measurement before and after a test and test run…
|
/platform_testing/libraries/device-collectors/src/hostsidetests/ |
D | Android.bp | 5 // You may obtain a copy of the License at 34 // tag this module as a test artifact
|
/platform_testing/tests/example/native/ |
D | Android.bp | 5 // You may obtain a copy of the License at 30 // Do not mark as unit tests, to use as a validation in test mapping
|
/platform_testing/libraries/health/runners/longevity/ |
D | README.md | 3 This library serves as a test runner for longevity suites, which exercise test cases repeatedly in 4 order to exercise or stress the device under test. Annotate a collection of JUnit test classes with 5 a subclass of LongevitySuite, and voila...you now have longevity tests! 56 **Run a suite using the sample profile under assets/** 68 * `timeout_msec <long>` - a timeout for individual test methods. 70 * `profile <string>` - use a profile under assets/ or at your own path.
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/ |
D | Android.bp | 5 // You may obtain a copy of the License at 29 * an assets/statsd-configs/ directory, which gets packed into a .jar file and ends up under the 33 * If a config fails to parse, an error is thrown and the build will fail.
|
/platform_testing/libraries/metrics-helper/tests/src/android/support/test/metricshelper/ |
D | MetricsAssertsTest.java | 41 private LogMaker a; field in MetricsAssertsTest 55 a = new LogMaker(MetricsEvent.SCREEN) in setUp() 76 .thenReturn(a) in setUp()
|
/platform_testing/libraries/health/runners/longevity/platform/samples/ |
D | Android.bp | 6 // You may obtain a copy of the License at 33 * directory, which gets packed into a .jar file and ends up under the assets/ 36 * If a profile fails to parse, an error is thrown and the build will fail.
|
/platform_testing/libraries/health/runners/longevity/platform/tests/ |
D | Android.bp | 6 // You may obtain a copy of the License at 33 * directory, which gets packed into a .jar file and ends up under the assets/ 36 * If a profile fails to parse, an error is thrown and the build will fail.
|
/platform_testing/tests/health/scenarios/tests/ |
D | Android.bp | 5 // You may obtain a copy of the License at 33 * directory, which gets packed into a .jar file and ends up under the assets/ 36 * If a profile fails to parse, an error is thrown and the build will fail.
|
/platform_testing/libraries/junitxml/ |
D | Android.bp | 6 // You may obtain a copy of the License at
|
/platform_testing/utils/wifistrengthscanner/ |
D | Android.bp | 6 // You may obtain a copy of the License at
|