/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | BaseMetricListenerInstrumentedTest.java | 140 Bundle check = capturedBundle.get(0); in testReportMetrics() local 141 assertEquals(TEST_START_VALUE + "method", check.getString(TEST_START_KEY)); in testReportMetrics() 142 assertEquals(TEST_END_VALUE + "method", check.getString(TEST_END_KEY)); in testReportMetrics() 143 assertEquals(2, check.size()); in testReportMetrics() 187 Bundle check = capturedBundle.get(0); in testReportMetrics_withIncludeFilters() local 188 assertEquals(TEST_START_VALUE + "method", check.getString(TEST_START_KEY)); in testReportMetrics_withIncludeFilters() 189 assertEquals(TEST_END_VALUE + "method", check.getString(TEST_END_KEY)); in testReportMetrics_withIncludeFilters() 190 assertEquals(2, check.size()); in testReportMetrics_withIncludeFilters() 235 Bundle check = capturedBundle.get(0); in testReportMetrics_withIncludeFilters_multiGroup() local 237 assertEquals(TEST_START_VALUE + "method2", check.getString(TEST_START_KEY)); in testReportMetrics_withIncludeFilters_multiGroup() [all …]
|
D | LogcatCollectorTest.java | 285 Bundle check = capturedBundle.get(0); in testLogcatOnlyOnTestFailureOption() local 287 assertEquals(1, check.size()); in testLogcatOnlyOnTestFailureOption() 289 for (String key: check.keySet()) { in testLogcatOnlyOnTestFailureOption() 332 Bundle check = capturedBundle.get(0); in testRetrievingLogcat() local 334 assertEquals(1, check.size()); in testRetrievingLogcat() 336 for (String key : check.keySet()) { in testRetrievingLogcat() 338 logPath = check.getString(key); in testRetrievingLogcat() 402 Bundle check = capturedBundle.get(0); in testLogcatTimespan() local 404 assertEquals(1, check.size()); in testLogcatTimespan() 406 for (String key : check.keySet()) { in testLogcatTimespan() [all …]
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/ |
D | LayerSubject.kt | 83 check { "Buffer size" }.that(bufferSize).isEqual(expected) in <lambda>() 94 check { "Number of layers" }.that(layerSize).isEqual(expected) in <lambda>() 99 check { "Scaling mode" }.that(layer.effectiveScalingMode).isEqual(expected) in <lambda>() 109 check { "Buffer orientation" }.that(actualOrientation).isEqual(expected) in <lambda>()
|
D | LayerTraceEntrySubject.kt | 80 check { "SF state size" }.that(entry.flattenedLayers.size).isEqual(0) in <lambda>() 85 check { "SF state size" }.that(entry.flattenedLayers.size).isGreater(0) in <lambda>() 195 componentMatcher.check(layers) { componentLayers -> in <lambda>() 289 check { "Displays" }.that(entry.displays.size).isGreater(0) in <lambda>() 298 componentMatcher.check(subjects.map { it.layer }) { in <lambda>()
|
/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/tests/bettertogether/betocq/ |
D | CHANGELOG.md | 32 * Add P2P frequency check for MCC test cases. 37 * Don't check max link speed for the disconnection check. 57 * Add the check of AP connection. If AP is disconnected or connect to a wrong 59 * Consolidate AP connection and speed check codes to one function. 60 * Add P2P frequency check for WFD/HS SCC test cases. 61 * Reduce 2G speed check from 3 to 1 MB/s until it is improved in NC. 62 * Remove AP frequency check for the test cases with empty wifi_ssid. 64 * Skip p2p frequency check if wifi speed check is disabled or it is a DBS test.
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/inputmethod/ |
D | InputMethodServiceEntrySubject.kt | 50 check { "InputMethodServiceEntry" }.that(entry).isNull() in <lambda>() 55 check { "InputMethodServiceEntry" }.that(entry).isNotNull() in <lambda>()
|
D | ImeClientEntrySubject.kt | 50 check { "ImeClientEntry" }.that(entry).isNull() in <lambda>() 55 check { "ImeClientEntry" }.that(entry).isNotNull() in <lambda>()
|
D | InputMethodManagerServiceEntrySubject.kt | 50 check { "InputMethodManagerServiceEntry" }.that(entry).isNull() in <lambda>() 55 check { "InputMethodManagerServiceEntry" }.that(entry).isNotNull() in <lambda>()
|
D | InputMethodManagerServiceTraceSubject.kt | 53 check { "InputMethodManagerServiceTrace" }.that(trace.entries.size).isEqual(0) in <lambda>() 58 check { "InputMethodManagerServiceTrace" }.that(trace.entries.size).isGreater(0) in <lambda>()
|
D | ImeClientTraceSubject.kt | 48 check { "ImeClientTrace" }.that(trace.entries.size).isEqual(0) in <lambda>() 53 check { "ImeClientTrace" }.that(trace.entries.size).isGreater(0) in <lambda>()
|
D | InputMethodServiceTraceSubject.kt | 48 check { "InputMethodServiceTrace" }.that(trace.entries.size).isEqual(0) in <lambda>() 53 check { "InputMethodServiceTrace" }.that(trace.entries.size).isGreater(0) in <lambda>()
|
/platform_testing/libraries/motion/src/platform/test/motion/testing/ |
D | DataPointSubject.kt | 34 check("isUnknown").that(actual).isEqualTo(DataPoint.unknownType<T>()) in <lambda>() 38 check("isNotFound").that(actual).isEqualTo(DataPoint.notFound<T>()) in <lambda>() 44 check("hasNativeValue").that(actual).isInstanceOf(ValueDataPoint::class.java) in <lambda>()
|
D | JsonSubject.kt | 38 check("serializedJson") in <lambda>() 42 check("serializedJson") in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/ |
D | WindowManagerStateSubject.kt | 94 check { "WM state is empty" }.that(subjects.isEmpty()).isEqual(true) in <lambda>() 99 check { "WM state is not empty" }.that(subjects.isEmpty()).isEqual(false) in <lambda>() 328 check { "rotation" }.that(wmState.getRotation(displayId)).isEqual(rotation) in <lambda>() 404 check { "Stacks count" }.that(wmState.stackCount).isGreater(0) in <lambda>() 407 check { "Resumed activity" }.that(wmState.resumedActivitiesCount).isGreater(0) in <lambda>() 409 check { "No focused activity" }.that(wmState.focusedActivity).isNotEqual(null) in <lambda>() 413 check { "Root task Id for stack $aTask" }.that(stackId).isEqual(aTask.rootTaskId) in <lambda>() 416 check { "Front window" }.that(wmState.frontWindow).isNotNull() in <lambda>() 417 check { "Focused window" }.that(wmState.focusedWindow).isNotNull() in <lambda>() 418 check { "Focused app" }.that(wmState.focusedApp.isNotEmpty()).isEqual(true) in <lambda>() [all …]
|
/platform_testing/libraries/motion/src/platform/test/motion/view/ |
D | AnimationSampling.kt | 33 check(sampleAt.all { it in 0.0f..1.0f }) in <lambda>() 34 check(sampleAt.zipWithNext().all { it.first < it.second }) in <lambda>()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/ |
D | FoldableRule.kt | 67 check(!controller.isFolded) { "Trying to fold when already folded" } in fold() 98 check(!controller.isHalfFolded) { "Trying to half-fold when already half-folded" } in halfFold() 122 check(!controller.isUnfolded) { "Trying to unfold when already unfolded" } in unfold() 147 check(!controller.isOnRearDisplay) { "Trying to go to rear display when already there" } in rearDisplay() 178 check(initialized) { "Initialize of FoldableRule needed before this." } in starting()
|
D | SensorInjectionController.kt | 52 check(initialized) { "Trying to set sensor value before initialization" } in setValue() 54 check( in setValue()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/ |
D | OrComponentMatcher.kt | 57 override fun check( in <lambda>() method in android.tools.traces.component.OrComponentMatcher 62 oredComponent.check(layers) { condition(it) } in <lambda>()
|
D | ExactComponentIdMatcher.kt | 53 override fun check( in check() method in android.tools.traces.component.ExactComponentIdMatcher
|
D | EdgeExtensionComponentMatcher.kt | 50 override fun check( in check() method in android.tools.traces.component.EdgeExtensionComponentMatcher
|
/platform_testing/emu_test/ |
D | cts.gpu.module.2 | 12 cts.cts-platform-version-check
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/ |
D | FlickerSubject.kt | 29 fun check(lazyMessage: () -> String): CheckSubjectBuilder { in check() method
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/report/ |
D | DevicelessDevMachineExportStrategy.kt | 76 check(imagePath.endsWith(imageExtension)) in <lambda>() 116 check(!Files.exists(path) || Files.isRegularFile(path)) in <lambda>()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/ |
D | AssertionsCheckerTest.kt | 142 fun isData42() = apply { check { "data is 42" }.that(entry.mData).isEqual(42) } in <lambda>() 144 fun isData0() = apply { check { "data is 0" }.that(entry.mData).isEqual(0) } in <lambda>() 146 fun isData1() = apply { check { "data is 1" }.that(entry.mData).isEqual(1) } in <lambda>()
|