/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/ |
D | TraceParserTest.kt | 42 val to = mockTraceForSliceTests.entries.last().elapsedTimestamp + 20 in canSliceWithAllAfter() constant 48 Timestamps.from(elapsedNanos = to), in canSliceWithAllAfter() 58 Timestamps.from(elapsedNanos = to), in canSliceWithAllAfter() 149 private fun testSliceUsingElapsedTimestamp(from: Long, to: Long, expected: List<Timestamp>) { in testSliceUsingElapsedTimestamp() 150 return testSliceUsingElapsedTimestamp(from, to, expected.map { it.elapsedNanos }) in testSliceUsingElapsedTimestamp() 156 to: Long, in testSliceUsingElapsedTimestamp() 159 return testSliceUsingElapsedTimestamp(from, to, expected.map { it.elapsedNanos }) in testSliceUsingElapsedTimestamp() 164 to: Timestamp?, in testSliceUsingElapsedTimestamp() 167 return testSliceUsingElapsedTimestamp(from, to, expected.map { it.elapsedNanos }) in testSliceUsingElapsedTimestamp() 171 private fun testSliceUsingElapsedTimestamp(from: Long, to: Timestamp?, expected: List<Long>) { in testSliceUsingElapsedTimestamp() [all …]
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/ |
D | MaterialYouColorsSimulationUtils.kt | 23 -11640468 to -15111342, 24 -986893 to -1641480, 29 -16750965 to -12075112, 30 -16749487 to -10036302, 31 -15590111 to -1, 32 -15556945 to -11612698, 33 -15131618 to -15590111, 34 -14079187 to -1, 35 -11640468 to -8128307, 36 -4994349 to -13350318, [all …]
|
/platform_testing/libraries/flicker/utils/src/android/tools/parsers/ |
D | AbstractTraceParser.kt | 40 to = Timestamps.max(), in getEntries() 50 to = Timestamps.max(), in parse() 60 to = Timestamps.max(), in doParse() 76 to: Timestamp, in doParse() 84 getTimestampsInRange(allInputTimestamps, from, to, addInitialEntry) in doParse() 108 to: Timestamp, in parse() 114 doParse(input, from, to, addInitialEntry) in parse() 135 to: Timestamp, in parse() 140 return parse(input, from, to, addInitialEntry, clearCache) in parse()
|
D | AbstractParser.kt | 62 to: Timestamp, in getTimestampsInRange() 65 require(from <= to) { "`from` must be smaller or equal to `to` but was $from and $to" } in getTimestampsInRange() 71 to < entries.first() -> { in getTimestampsInRange() 93 val last = entries.lastIndex - entries.reversed().indexOfFirst { it <= to } in getTimestampsInRange()
|
/platform_testing/libraries/flicker/ |
D | README.md | 4 …discontinuous, or unpredictable behavior seen during UI transitions that is not due to performance. 5 …f a logic error in the code and difficult to identify because the issue is transient and at times … 6 …ate integration tests between `SurfaceFlinger`, `WindowManager` and `SystemUI` to identify flicker. 24 // Specify a tag to identify the transition (optional) 27 // Specify preconditions to setup the device 28 // Wake up device and go to home screen 32 // Press the home button and close the app to test a cold start 37 // Open the app and wait for UI to be idle 46 // Number of times to repeat the transition to catch any flaky issues 50 Run the transition to get a list of `TransitionResult` for each time the transition is repeated. [all …]
|
/platform_testing/libraries/rdroidtest/ |
D | README.md | 3 This is a custom Rust test harness which allows tests to be ignored at runtime based on arbitrary 4 criteria. The built-in Rust test harness only allows tests to be ignored at compile time, but this 5 is often not enough on Android, where we want to ignore tests based on system properties or other 10 Unfortunately without the built-in support that rustc provides to the standard test harness, this 11 one is slightly more cumbersome to use. Firstly, add it to the `rust_test` build rule in your 22 If you are testing a binary that has a `main` function, you'll need to remove it from the test 33 to worry about this.) 48 evaluates to a boolean: 60 Somewhere in your main module, you need to use the `test_main` macro to generate an entry point for 72 To run the same test multiple times with different parameter values, add an argument to the [all …]
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/ |
D | LegacyTransitionTraceParser.kt | 31 to: Timestamp = Timestamps.max(), in parse() 33 val wmTransitionTrace = wmTransitionTraceParser.parse(wmSideTraceData, from, to) in parse() 34 val shellTransitionTrace = shellTransitionTraceParser.parse(shellSideTraceData, from, to) in parse()
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | profile.proto | 9 // Unless required by applicable law or agreed to in writing, software 23 // Schedule used to run the profile. 34 string at = 1; // A timestamp (HH:MM:SS) for when to run the scenario. 37 // Reference to the CUJ (<package>.<class>). 39 // Extra arguments to pass to the CUJ. 45 // For app-based scenarios, whether to stay in the app after the tested action is performed.
|
/platform_testing/tests/bettertogether/betocq/ |
D | CHANGELOG.md | 7 * Add MCC Aware test case with STAs connected to 2G/5G. 9 * Allow the two devices connect to different SSIDs. 10 * Raise NC speed bar back to 40MB/s except for WLAN. 13 * Report the suite name to the test summary. 17 * Add 10s delay after sta connection to allow scan, DHCP and internet 18 validation to complete. 23 * Reduce wait time between iteration from 13s to 3s. 40 * Fall back to use "adb shell cmd wifi status" when wifiGetConnectionInfo() fails. 49 * Change the success rate target to 98%. 57 * Add the check of AP connection. If AP is disconnected or connect to a wrong [all …]
|
D | ReadMe.md | 4 Android to test the cross-device connectivity performance that isn't covered 11 BeToCQ is designed to catch connectivity software and hardware performance 15 Depending on the device capabilities, the test takes two to six hours to 34 fixed wireless mediums. This helps isolate the issue to an individual medium 46 term `compound_test` refers to the fact that it uses multiple radios in a 50 transfer. We plan to add more CUJs in later releases. 58 device-to-device connection in parallel and thus can support higher 59 device-to-device transfer speed. 62 inputs to customize the test case and set the right performance expectations. 67 test cases are defined to cover: [all …]
|
/platform_testing/scripts/map_tests/ |
D | Android.bp | 5 // Script to run to easily populate TEST_MAPPING from build information.
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | SwipeUtils.kt | 29 Point(bounds.right, centerY) to in calculateStartEndPoint() 33 Point(bounds.left, centerY) to in calculateStartEndPoint() 37 Point(centerX, bounds.bottom) to in calculateStartEndPoint() 41 Point(centerX, bounds.top) to in calculateStartEndPoint()
|
/platform_testing/libraries/flicker/utils/src/android/tools/scripts/ |
D | ProtoDefToKotlinVals.kt | 33 mapOf("bool" to "Boolean", "int32" to "Int", "string" to "String") in mapProtoTypeToKotlinType()
|
/platform_testing/tests/example/devcodelab/ |
D | README | 4 developers to fix and run locally as they learn how to Android.
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/remaining-battery-capacity/ |
D | README.md | 3 These configs are used to collect the remaining battery capacity on the device as defined in the 4 RemainingBatteryCapacity (Colomb counter) atom. Also includes configs with uid to package name mapp…
|
/platform_testing/libraries/sts-common-util/sts-sdk/package/ |
D | build.gradle | 34 // To add another Android apk to the test, copy the block above and rename 35 // the project name to your submodule as well as the APK output filename. 36 // Remember to use that APK file name in your `sts-test`. 60 // To add another Android apk to the test, copy the block above and rename 61 // the project name to your new submodule 80 // To add another Android apk to the test, copy the block above and rename 81 // the project name to your new submodule
|
/platform_testing/libraries/flicker/utils/src/android/tools/ |
D | Timestamp.kt | 197 "d" to DAY_AS_NANOSECONDS, in formatElapsedTimestamp() 198 "h" to HOUR_AS_NANOSECONDS, in formatElapsedTimestamp() 199 "m" to MINUTE_AS_NANOSECONDS, in formatElapsedTimestamp() 200 "s" to SECOND_AS_NANOSECONDS, in formatElapsedTimestamp() 201 "ms" to MILLISECOND_AS_NANOSECONDS, in formatElapsedTimestamp() 202 "ns" to 1, in formatElapsedTimestamp()
|
/platform_testing/libraries/audio-test-harness/proto/ |
D | audio_test_harness_service.proto | 10 * Unless required by applicable law or agreed to in writing, software 23 // The device-host Audio Test Harness service that allows devices-under-test to 29 // raw audio samples to the device. 33 // A request from the client to start a new capture. 39 // A chunk of capture data sent by the host to the client.
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/ |
D | .gitignore | 6 # We need the built .class files to load custom views and R class. 7 # The only way to negate an exclusion is by including every single parent
|
/platform_testing/libraries/health/runners/longevity/platform/tests/assets/ |
D | testExtraArgs_unregisteredAfterTest.textpb | 13 key: "arg-to-check" 27 key: "arg-to-check" 41 key: "arg-to-check"
|
/platform_testing/emu_test/ |
D | run_android_bridge_test.cmd | 4 REM It is to be used with BYOB setup to run tests on cloud VMs. 9 REM It will return 0 if it is able to execute tests, otherwise 17 REM $ADT_INFRA has to be set on the build machine. It should have absolute path 18 REM where adt-infra needs to be checked out.
|
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/settings/ |
D | README.md | 5 ## Follow the rules to create the new folders and interface files: 7 - If you would like to add a new page in the first layer of Settings, for example, `Display`, please 9 - If you would like to add a new page **not** in the first layer of Settings, for example, 26 ## Follow the rules to create the methods and variables:
|
/platform_testing/tests/bettertogether/quickstart/performance_test/ |
D | CHANGELOG.md | 9 * Change discovery medium to BLE only. 10 * Increase 1G file transfer timeout to 400s.
|
/platform_testing/libraries/compatibility-common-util/tests/ |
D | Android.bp | 9 // Unless required by applicable law or agreed to in writing, software 22 // Restrict visibility to only those targets that need to access it.
|
/platform_testing/utils/shell-as/ |
D | README.md | 3 shell-as is a utility that can be used to execute a binary in a less privileged 10 running on the device, or set to a predefined profile. 28 The "untrusted-app" profile can be used to execute a binary with all the
|