/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/ |
D | FlagsParameterizationTest.java | 35 FlagsParameterization params1 = new FlagsParameterization(Map.of("a", true, "b", false)); in toStringIsOrderIndependent() 36 FlagsParameterization params2 = new FlagsParameterization(Map.of("b", false, "a", true)); in toStringIsOrderIndependent() 43 FlagsParameterization params1 = new FlagsParameterization(Map.of("a", true, "b", false)); in toStringIsDifferent() 44 FlagsParameterization params2 = new FlagsParameterization(Map.of("a", true, "b", true)); in toStringIsDifferent() 51 FlagsParameterization params = new FlagsParameterization(Map.of()); in toStringIsNotEmpty() 75 List<FlagsParameterization> expected = List.of(new FlagsParameterization(Map.of())); in allCombinationsWith0Flags() 83 List.of( in allCombinationsWith1Flags() 84 new FlagsParameterization(Map.of("a", false)), in allCombinationsWith1Flags() 85 new FlagsParameterization(Map.of("a", true))); in allCombinationsWith1Flags() 93 List.of( in allCombinationsWith2Flags() [all …]
|
D | AnnotationsRetrieverTest.java | 75 assertEquals(Map.of(), flagAnnotations.mRequiredFlagValues); in noAnnotation() 85 assertEquals(Map.of("flag5", true), flagAnnotations1.mRequiredFlagValues); in oneAnnotationFromMethod() 86 assertEquals(Map.of("flag6", false), flagAnnotations2.mRequiredFlagValues); in oneAnnotationFromMethod() 97 Map.of("flag1", true, "flag2", true, "flag5", true), in methodAnnotationsMergeWithClass() 100 Map.of("flag3", false, "flag4", false, "flag6", false), in methodAnnotationsMergeWithClass() 111 assertEquals(Map.of("flag1", true, "flag2", true), flagAnnotations1.mRequiredFlagValues); in getFlagAnnotations_oneAnnotationFromClass() 112 assertEquals(Map.of("flag3", false, "flag4", false), flagAnnotations2.mRequiredFlagValues); in getFlagAnnotations_oneAnnotationFromClass() 123 assertEquals(Map.of("flag5", true, "flag6", false), flagAnnotations.mRequiredFlagValues); in bothAnnotationsFromMethod() 135 Map.of( in bothAnnotationsFromMethodMergesWithClass() 147 Map.of("flag1", true, "flag2", true, "flag3", false, "flag4", false), in bothAnnotationsFromClass() [all …]
|
D | SetFlagsRuleTestCommon.java | 411 new FlagsParameterization(Map.of(Flags.FLAG_FLAG_NAME3, true)); in paramEnabledFlagsGetEnabled() 424 new FlagsParameterization(Map.of(Flags.FLAG_FLAG_NAME3, false)); in paramDisabledFlagsGetDisabled() 438 Map.of(Flags.FLAG_FLAG_NAME3, true, Flags.FLAG_FLAG_NAME4, false)); in paramSetFlagsGetSet() 452 new FlagsParameterization(Map.of(Flags.FLAG_FLAG_NAME3, true)); in settingParameterizedFlagFails() 466 new FlagsParameterization(Map.of(Flags.FLAG_FLAG_NAME3, true)); in settingNonParameterizedFlagDirectlyWorks() 482 new FlagsParameterization(Map.of(Flags.FLAG_FLAG_NAME3, true)); in settingNonParameterizedFlagByAnnotationWorks() 497 new FlagsParameterization(Map.of(Flags.FLAG_FLAG_NAME3, true)); in paramEnabledFlagsCantBeRequiredEnabledByAnnotation() 507 new FlagsParameterization(Map.of(Flags.FLAG_FLAG_NAME3, false)); in paramDisabledFlagsCantBeRequiredEnabledByAnnotation() 517 new FlagsParameterization(Map.of(Flags.FLAG_FLAG_NAME3, true)); in paramEnabledFlagsRunWhenAnnotationEnablesFlag() 531 new FlagsParameterization(Map.of(Flags.FLAG_FLAG_NAME3, false)); in paramDisabledFlagsRunWhenAnnotationDisablesFlag() [all …]
|
/platform_testing/libraries/collectors-helper/lyric/test/src/com/android/helpers/ |
D | LyricCpuUtilizationHelperTest.java | 64 .of(2994); in testProcessOutput() 67 .of(0.6984612); in testProcessOutput() 70 .of(0.6984612); in testProcessOutput() 73 .of(2.023); in testProcessOutput() 76 .of(0); in testProcessOutput() 79 .of(0.222601); in testProcessOutput() 82 .of(1.819); in testProcessOutput() 85 .of(0); in testProcessOutput() 88 .of(50.36290575); in testProcessOutput() 91 .of(61.2205); in testProcessOutput() [all …]
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/ |
D | CaptureChunkStreamObserverOutputStreamTests.java | 93 testName, writtenBytes, ImmutableList.of(expectedByteArray)); in write_writesAsExpected_singleByte() 134 {"Test Case One", ImmutableList.of(testBytes[0])}, in getByteArrayParams() 137 ImmutableList.of(testBytes[0], testBytes[1], testBytes[2], testBytes[3]) in getByteArrayParams() 139 {"Test Case Three", ImmutableList.of(testBytes[3], testBytes[1])}, in getByteArrayParams() 180 /* byteArraysToWrite= */ ImmutableList.of(testBytes[0]), in getByteArrayParamsWithOffsetsAndLengths() 181 /* offsets= */ ImmutableList.of(0), in getByteArrayParamsWithOffsetsAndLengths() 182 /* lengths= */ ImmutableList.of(8), in getByteArrayParamsWithOffsetsAndLengths() 183 /* expectedByteArrays= */ ImmutableList.of(testBytes[0]) in getByteArrayParamsWithOffsetsAndLengths() 187 /* byteArraysToWrite= */ ImmutableList.of( in getByteArrayParamsWithOffsetsAndLengths() 189 /* offsets= */ ImmutableList.of(0, 0, 0, 0), in getByteArrayParamsWithOffsetsAndLengths() [all …]
|
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/settings/ |
D | README.md | 3 This package defines interfaces of app-helper libraries in Settings. 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, 10 `Night Light`, please create a file `ISettingsNightLightHelper.java` under the folder of 14 The following is an example of the interface files:
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/mobile-bytes-transfer/ |
D | README.md | 3 …obile networks(sum of foreground and background usage)on the device as defined in the MobileBytesT…
|
/platform_testing/libraries/audio-test-harness/proto/ |
D | audio_device.proto | 6 * You may obtain a copy of the License at 33 // The name of the device. 36 // The serial number of the device, if available. 39 // The capabilities of the device.
|
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. 28 // The desired size of each sample, by default 16. 31 // The desired number of channels to capture, by default 1.
|
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/ |
D | MSSIMMatcherTest.kt | 115 assertThat(result.SSIM).isWithin(0.001).of(0.490) in performDiff_checkedAgainstUnchecked() 134 assertThat(result.SSIM).isWithin(0.001).of(0.951) in performDiff_differentBorders() 153 assertThat(result.SSIM).isWithin(0.001).of(0.990) in performDiff_fullscreen_differentBorders_dark() 172 assertThat(result.SSIM).isWithin(0.001).of(0.960) in performDiff_differentBorders_dark() 191 assertThat(result.SSIM).isWithin(0.001).of(0.695) in performDiff_fullscreen_movedToRight() 210 assertThat(result.SSIM).isWithin(0.001).of(0.921) in performDiff_fullscreen_checkboxes_differentRadius()
|
/platform_testing/libraries/flicker/collector/trace_config/ |
D | trace_config.textproto | 5 # You may obtain a copy of the License at 17 # Enable periodic flushing of the trace buffer into the output file. 23 # See b/126487238 - we need to guarantee ordering of events. 26 # The trace buffers needs to be big enough to hold |file_write_period_ms| of 27 # trace data. The trace buffer sizing depends on the number of trace categories
|
/platform_testing/libraries/flicker/utils/test/trace_config/ |
D | trace_config.textproto | 5 # You may obtain a copy of the License at 17 # Enable periodic flushing of the trace buffer into the output file. 23 # See b/126487238 - we need to guarantee ordering of events. 26 # The trace buffers needs to be big enough to hold |file_write_period_ms| of 27 # trace data. The trace buffer sizing depends on the number of trace categories
|
/platform_testing/libraries/flicker/test/trace_config/ |
D | trace_config.textproto | 5 # You may obtain a copy of the License at 17 # Enable periodic flushing of the trace buffer into the output file. 23 # See b/126487238 - we need to guarantee ordering of events. 26 # The trace buffers needs to be big enough to hold |file_write_period_ms| of 27 # trace data. The trace buffer sizing depends on the number of trace categories
|
/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… 8 Examples of flickers are: 10 * Empty areas on the screen (e.g., not all areas of the screen covered during rotation) 38 // This is the part of the transition that will be tested. 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. 57 Each `TransitionResult` can be tested using an extension of the Google Truth library, `LayersTraceS… 60 Each trace can be represented as a ordered collection of trace entries, with an associated timestam… 62 The trace subjects expose methods to filter the range of entries and test for changing assertions. 71 // check a range of entries [all …]
|
/platform_testing/libraries/motion/tests/src/platform/test/motion/view/ |
D | DataPointTypesTest.kt | 44 val dataPoint = DataPoint.of(native, point) in point_dataPoint_isImmutable() 71 val dataPoint = DataPoint.of(native, rect) in rect_dataPoint_isImmutable() 97 val dataPoint = DataPoint.of(CornerRadii(native), cornerRadii) in cornerRadii_dataPoint_isImmutable()
|
/platform_testing/tests/bettertogether/betocq/ |
D | CHANGELOG.md | 19 * Fix the bug that it can not run the test cases of eSIM and Quick Share. 31 * Add the STA and medium info of failed iterations. 36 * Improve the format of common triaging tips. 38 * Fix the format of triaging tips. 48 * Add the support of BLE scan throttling during 2G transfer (enabled by default) 54 * Fix the missing data of failed test cases by replacing all "sponge_properties" 57 * Add the check of AP connection. If AP is disconnected or connect to a wrong 87 * Disable GMS auto-updates for the duration of the test.
|
/platform_testing/libraries/flicker/utils/src/android/tools/helpers/ |
D | RotationUtils.kt | 38 Insets.of(insets.top, insets.right, insets.bottom, insets.left) in rotateInsets() 40 Insets.of(insets.right, insets.bottom, insets.left, insets.top) in rotateInsets() 42 Insets.of(insets.bottom, insets.left, insets.top, insets.right) in rotateInsets()
|
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/ |
D | CrashUtilsTest.java | 68 ImmutableList.of( in testGetAllCrashes() 91 ImmutableList.of( in testGetAllCrashes() 134 ImmutableList.of( in testGetAllCrashes() 177 ImmutableList.of( in testGetAllCrashes() 220 ImmutableList.of( in testGetAllCrashes() 243 ImmutableList.of( in testGetAllCrashes() 255 ImmutableList.of( in testGetAllCrashes() 335 ImmutableList.of( in testGetAllCrashes() 408 ImmutableList.of( in testGetAllCrashes() 431 ImmutableList.of( in testGetAllCrashes() [all …]
|
/platform_testing/libraries/rdroidtest/ |
D | README.md | 6 characteristics of the device on which the test is being run, which are not known at build time. 84 The initial argument to the `rdroidtest` attribute is an expression that generates the set of 85 parameters to invoke the test with. This expression should evaluate to a vector of `(String, T)` 98 The test method will be invoked with each of the parameter values in turn, passed in as the single 99 argument of type `T`. 102 the argument is an expression that emits a boolean when invoked with a single argument, of type
|
/platform_testing/libraries/sts-common-util/sts-sdk/package/native-poc/src/ |
D | CMakeLists.txt | 10 find_library( # Sets the name of the path variable.
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | BetterFling.kt | 39 private val DEFAULT_FLING_DURATION = Duration.of(100, ChronoUnit.MILLIS) 40 private val DEFAULT_WAIT_TIMEOUT = Duration.of(5, ChronoUnit.SECONDS)
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/process-cpu-time/ |
D | README.md | 3 These configs are used to collect the cpu stats at the start and end of tests or test run.
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/wifi-bytes-transfer/ |
D | README.md | 3 The configs here collects the WiFi bytes transferred on the start and end of tests or test run,
|
/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/flag-helpers/junit/src_base/android/platform/test/flag/junit/ |
D | AnnotationsRetriever.java | 58 Set.of(Test.class, Retention.class, Target.class, Documented.class); 74 collectUsedFlagsClasses(List.of(testClass.getAnnotations()), result); in collectUsedFlagsClasses() 99 collectAnnotationSetFlags(List.of(testClass.getAnnotations()), result); in collectAnnotationSetFlags() 149 List.of(testClass.getAnnotations())); in getMergedFlagValues() 219 annotationQueue.addAll(List.of(annotation.annotationType().getAnnotations())); in getFlagsForAnnotation() 308 return flags == null ? Set.of() : Set.of(flags); in getFlagsSet() 351 return Set.of();
|