/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | TimeZoneSuggesterImplTest.java | 92 Scenario scenario = UNIQUE_US_ZONE_SCENARIO1; in test_emptySuggestionForNullCountryWithNitz() local 94 scenario.createNitzSignal(ARBITRARY_ELAPSED_REALTIME, ARBITRARY_AGE); in test_emptySuggestionForNullCountryWithNitz() 115 Scenario scenario = UNIQUE_US_ZONE_SCENARIO1; in test_uniqueUsZone() local 128 SLOT_INDEX, scenario.getNetworkCountryIsoCode(), null /* nitzSignal */); in test_uniqueUsZone() 135 NitzSignal nitzSignal = scenario.createNitzSignal( in test_uniqueUsZone() 146 NitzSignal nitzSignal = scenario.createNitzSignal( in test_uniqueUsZone() 157 .setZoneId(scenario.getTimeZoneId()) in test_uniqueUsZone() 161 NitzSignal nitzSignal = scenario.createNitzSignal( in test_uniqueUsZone() 164 SLOT_INDEX, scenario.getNetworkCountryIsoCode(), nitzSignal); in test_uniqueUsZone() 176 SLOT_INDEX, scenario.getNetworkCountryIsoCode(), badNitzSignal); in test_uniqueUsZone() [all …]
|
D | NitzStateMachineImplTest.java | 101 Scenario scenario = UNIQUE_US_ZONE_SCENARIO1; in test_countryThenNitz() local 102 String networkCountryIsoCode = scenario.getNetworkCountryIsoCode(); in test_countryThenNitz() 104 scenario.createNitzSignal(mFakeDeviceState.elapsedRealtimeMillis(), ARBITRARY_AGE); in test_countryThenNitz() 145 Scenario scenario = UNIQUE_US_ZONE_SCENARIO1; in test_nitzThenCountry() local 147 scenario.createNitzSignal(mFakeDeviceState.elapsedRealtimeMillis(), ARBITRARY_AGE); in test_nitzThenCountry() 149 String networkCountryIsoCode = scenario.getNetworkCountryIsoCode(); in test_nitzThenCountry() 189 Scenario scenario = UNIQUE_US_ZONE_SCENARIO1; in test_emptyCountryString_countryReceivedFirst() local 191 scenario.createNitzSignal(mFakeDeviceState.elapsedRealtimeMillis(), ARBITRARY_AGE); in test_emptyCountryString_countryReceivedFirst() 233 Scenario scenario = UNIQUE_US_ZONE_SCENARIO1; in test_emptyCountryStringUsTime_nitzReceivedFirst() local 235 scenario.createNitzSignal(mFakeDeviceState.elapsedRealtimeMillis(), ARBITRARY_AGE); in test_emptyCountryStringUsTime_nitzReceivedFirst() [all …]
|
D | NitzSignalInputFilterPredicateFactoryTest.java | 61 Scenario scenario = UNIQUE_US_ZONE_SCENARIO1; in testNitzSignalInputFilterPredicateImpl_nullSecondArgumentRejected() local 63 scenario.createNitzSignal(mFakeDeviceState.elapsedRealtimeMillis(), ARBITRARY_AGE); in testNitzSignalInputFilterPredicateImpl_nullSecondArgumentRejected() 76 Scenario scenario = UNIQUE_US_ZONE_SCENARIO1; in testNitzSignalInputFilterPredicateImpl_defaultIsTrue() local 78 scenario.createNitzSignal(mFakeDeviceState.elapsedRealtimeMillis(), ARBITRARY_AGE); in testNitzSignalInputFilterPredicateImpl_defaultIsTrue() 86 Scenario scenario = UNIQUE_US_ZONE_SCENARIO1; in testNitzSignalInputFilterPredicateImpl_nullIsIgnored() local 88 scenario.createNitzSignal(mFakeDeviceState.elapsedRealtimeMillis(), ARBITRARY_AGE); in testNitzSignalInputFilterPredicateImpl_nullIsIgnored() 98 Scenario scenario = UNIQUE_US_ZONE_SCENARIO1; in testNitzSignalInputFilterPredicateImpl_trueIsHonored() local 100 scenario.createNitzSignal(mFakeDeviceState.elapsedRealtimeMillis(), ARBITRARY_AGE); in testNitzSignalInputFilterPredicateImpl_trueIsHonored() 118 Scenario scenario = UNIQUE_US_ZONE_SCENARIO1; in testNitzSignalInputFilterPredicateImpl_falseIsHonored() local 120 scenario.createNitzSignal(mFakeDeviceState.elapsedRealtimeMillis(), ARBITRARY_AGE); in testNitzSignalInputFilterPredicateImpl_falseIsHonored() [all …]
|
/frameworks/base/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/ |
D | ShowImeWhileEnteringOverviewTest.kt | 48 ImeShownOnAppStartHelper(instrumentation, flicker.scenario.startRotation) 81 flicker.scenario.isLandscapeOrSeascapeAtStart && !flicker.scenario.isTablet -> in waitNavStatusBarVisibility() 96 Assume.assumeFalse(flicker.scenario.isTablet) in navBarLayerIsVisibleAtStartAndEnd3Button() 97 Assume.assumeFalse(flicker.scenario.isGesturalNavigation) in navBarLayerIsVisibleAtStartAndEnd3Button() 108 Assume.assumeFalse(flicker.scenario.isTablet) in navBarLayerIsInvisibleInLandscapeGestural() 109 Assume.assumeTrue(flicker.scenario.isLandscapeOrSeascapeAtStart) in navBarLayerIsInvisibleInLandscapeGestural() 110 Assume.assumeTrue(flicker.scenario.isGesturalNavigation) in navBarLayerIsInvisibleInLandscapeGestural() 122 Assume.assumeTrue(flicker.scenario.isLandscapeOrSeascapeAtStart) in statusBarLayerIsInvisibleInLandscapePhone() 123 Assume.assumeTrue(flicker.scenario.isGesturalNavigation) in statusBarLayerIsInvisibleInLandscapePhone() 124 Assume.assumeFalse(flicker.scenario.isTablet) in statusBarLayerIsInvisibleInLandscapePhone() [all …]
|
D | CloseImeToAppOnPressBackTest.kt | 75 Assume.assumeFalse(flicker.scenario.isTablet) in navBarLayerPositionAtStartAndEnd() 76 Assume.assumeFalse(flicker.scenario.isLandscapeOrSeascapeAtStart) in navBarLayerPositionAtStartAndEnd() 83 Assume.assumeFalse(flicker.scenario.isTablet) in navBarLayerPositionAtStartAndEndLandscapeOrSeascapeAtStart() 84 Assume.assumeTrue(flicker.scenario.isLandscapeOrSeascapeAtStart) in navBarLayerPositionAtStartAndEndLandscapeOrSeascapeAtStart()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/ |
D | EnterPipOnUserLeaveHintTest.kt | 66 Assume.assumeFalse(flicker.scenario.isGesturalNavigation) in pipAppWindowAlwaysVisible() 74 Assume.assumeFalse(flicker.scenario.isGesturalNavigation) in pipAppLayerAlwaysVisible() 82 Assume.assumeFalse(flicker.scenario.isGesturalNavigation) in pipOverlayLayerAppearThenDisappear() 90 Assume.assumeTrue(flicker.scenario.isGesturalNavigation) in pipAppWindowVisibleChanges() 103 Assume.assumeTrue(flicker.scenario.isGesturalNavigation) in pipAppLayerVisibleChanges() 114 Assume.assumeFalse(flicker.scenario.isGesturalNavigation) in pipLayerReduces() 122 Assume.assumeFalse(flicker.scenario.isGesturalNavigation) in focusChanges() 136 Assume.assumeFalse(flicker.scenario.isGesturalNavigation) in pipLayerOrOverlayRemainInsideVisibleBounds() 144 Assume.assumeTrue(flicker.scenario.isGesturalNavigation) in pipLayerRemainInsideVisibleBounds()
|
D | FromSplitScreenEnterPipOnUserLeaveHintTest.kt | 90 flicker.scenario.startRotation in <lambda>() 117 Assume.assumeFalse(flicker.scenario.isGesturalNavigation) in pipLayerReduces() 131 Assume.assumeFalse(flicker.scenario.isGesturalNavigation) in focusChanges() 140 Assume.assumeTrue(flicker.scenario.isGesturalNavigation) in pipAppWindowVisibleChanges() 160 Assume.assumeFalse(flicker.scenario.isGesturalNavigation) in pipAppWindowAlwaysVisible() 173 if (flicker.scenario.isLandscapeOrSeascapeAtStart) { in pipWindowRemainInsideVisibleBounds()
|
D | ShowPipAndRotateDisplay.kt | 63 private val screenBoundsStart = WindowUtils.getDisplayBounds(flicker.scenario.startRotation) 64 private val screenBoundsEnd = WindowUtils.getDisplayBounds(flicker.scenario.endRotation) 69 setRotation(flicker.scenario.startRotation) in <lambda>() 71 transitions { setRotation(flicker.scenario.endRotation) } in <lambda>()
|
D | FromSplitScreenAutoEnterPipOnGoToHomeTest.kt | 89 flicker.scenario.startRotation in <lambda>() 116 Assume.assumeFalse(flicker.scenario.isGesturalNavigation) in pipLayerReduces() 135 if (flicker.scenario.isLandscapeOrSeascapeAtStart) { in pipWindowRemainInsideVisibleBounds()
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ |
D | BaseTest.kt | 74 setup { flicker.scenario.setIsTablet(wmHelper.currentState.wmState.isTablet) } in buildFlicker() 90 Assume.assumeFalse(flicker.scenario.isTablet) in entireScreenCovered() 103 Assume.assumeFalse(flicker.scenario.isTablet) in navBarLayerPositionAtStartAndEnd() 115 Assume.assumeFalse(flicker.scenario.isTablet) in navBarWindowIsAlwaysVisible() 116 Assume.assumeFalse(flicker.scenario.isLandscapeOrSeascapeAtStart) in navBarWindowIsAlwaysVisible() 129 Assume.assumeFalse(flicker.scenario.isTablet) in navBarWindowIsVisibleAtStartAndEnd() 142 Assume.assumeTrue(flicker.scenario.isTablet) in taskBarLayerIsVisibleAtStartAndEnd() 154 Assume.assumeTrue(flicker.scenario.isTablet) in taskBarWindowIsAlwaysVisible()
|
/frameworks/native/cmds/flatland/ |
D | README.txt | 28 in between each benchmark sample run. Regardless of the scenario being 49 The first column is simply a description of the scenario that's being 50 simulated. The second column indicates the resolution at which the scenario 53 scenario takes to complete. 57 fast - This indicates that frames of the scenario completed too fast to be 60 result, the scenario was skipped. 62 slow - This indicates that frames of the scenario took too long to 64 simulating a scenario that is obviously impractical on this device, the 65 scenario was skipped. 67 varies - This indicates that the scenario was measured, but it did not [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/splitscreen/src/com/android/wm/shell/flicker/splitscreen/benchmark/ |
D | SwitchAppByDoubleTapDividerBenchmark.kt | 49 flicker.scenario.startRotation in <lambda>() 76 if (isLandscape(flicker.scenario.endRotation)) { in <lambda>() 77 return@add if (flicker.scenario.isTablet) { in <lambda>() 83 return@add if (flicker.scenario.isTablet) { in <lambda>() 112 if (isLandscape(flicker.scenario.endRotation)) { in <lambda>() 113 return@add if (flicker.scenario.isTablet) { in <lambda>() 119 return@add if (flicker.scenario.isTablet) { in <lambda>()
|
D | SplitScreenBase.kt | 34 setRotation(flicker.scenario.startRotation) in <lambda>() 35 tapl.setExpectedRotation(flicker.scenario.startRotation.value) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/ |
D | ICommonAssertions.kt | 46 Assume.assumeFalse(flicker.scenario.isTablet) in entireScreenCovered() 57 Assume.assumeFalse(flicker.scenario.isTablet) in navBarLayerPositionAtStartAndEnd() 69 Assume.assumeFalse(flicker.scenario.isTablet) in navBarWindowIsAlwaysVisible() 79 Assume.assumeTrue(flicker.scenario.isTablet) in taskBarLayerIsVisibleAtStartAndEnd() 91 Assume.assumeTrue(flicker.scenario.isTablet) in taskBarWindowIsAlwaysVisible()
|
D | CommonAssertions.kt | 148 scenario.endRotation in LegacyFlickerTest() 174 scenario.endRotation in splitAppLayerBoundsBecomesInvisible() 193 scenario.endRotation in splitAppLayerBoundsIsVisibleAtEnd() 208 scenario.endRotation in splitAppLayerBoundsKeepVisible() 224 scenario.endRotation in splitAppLayerBoundsChanges() 231 scenario.endRotation in splitAppLayerBoundsChanges() 240 scenario.endRotation in splitAppLayerBoundsChanges()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/bubble/src/com/android/wm/shell/flicker/bubble/ |
D | OpenActivityFromBubbleOnLocksreenTest.kt | 103 Assume.assumeFalse(flicker.scenario.isTablet) in navBarLayerIsVisibleAtEnd() 110 Assume.assumeFalse(flicker.scenario.isTablet) in navBarLayerPositionAtEnd() 124 Assume.assumeTrue(flicker.scenario.isGesturalNavigation) in visibleLayersShownMoreThanOneConsecutiveEntry() 132 Assume.assumeTrue(flicker.scenario.isGesturalNavigation) in navBarLayerPositionAtStartAndEnd() 140 Assume.assumeTrue(flicker.scenario.isGesturalNavigation) in navBarWindowIsAlwaysVisible() 157 Assume.assumeTrue(flicker.scenario.isTablet) in taskBarLayerIsVisibleAtEnd()
|
/frameworks/base/tests/FlickerTests/AppLaunch/src/com/android/server/wm/flicker/launch/ |
D | OpenAppFromLockscreenViaIntentTest.kt | 78 Assume.assumeFalse(flicker.scenario.isTablet) in navBarLayerVisibilityChanges() 100 Assume.assumeFalse(flicker.scenario.isTablet) in navBarWindowsVisibilityChanges() 115 Assume.assumeTrue(flicker.scenario.isTablet) in taskBarLayerIsVisibleAtEnd() 173 Assume.assumeFalse(flicker.scenario.isTablet) in appWindowBecomesFirstAndOnlyTopWindow() 187 Assume.assumeFalse(flicker.scenario.isTablet) in visibleLayersShownMoreThanOneConsecutiveEntry() 195 Assume.assumeTrue(flicker.scenario.isTablet) in appLayerBecomesVisibleTablet()
|
D | OpenAppFromOverviewTest.kt | 74 if (flicker.scenario.isTablet) { in <lambda>() 75 tapl.setExpectedRotation(flicker.scenario.startRotation.value) in <lambda>() 81 this.setRotation(flicker.scenario.startRotation) in <lambda>()
|
/frameworks/base/tests/FlickerTests/Notification/src/com/android/server/wm/flicker/notification/ |
D | OpenAppFromNotificationWarmTest.kt | 66 this.setRotation(flicker.scenario.startRotation) in <lambda>() 154 Assume.assumeTrue(flicker.scenario.isTablet) in taskBarWindowIsVisibleAtEnd() 166 Assume.assumeTrue(flicker.scenario.isTablet) in taskBarLayerIsVisibleAtEnd() 174 Assume.assumeFalse(flicker.scenario.isTablet) in navBarLayerPositionAtEnd() 182 Assume.assumeFalse(flicker.scenario.isTablet) in navBarLayerIsVisibleAtEnd() 189 Assume.assumeFalse(flicker.scenario.isTablet) in navBarWindowIsVisibleAtEnd()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | FontScaleConverterActivityTest.java | 78 final ActivityScenario<TestActivity> scenario = rule.getScenario(); in testFontsScaleNonLinearly() local 83 scenario.onActivity(activity -> { in testFontsScaleNonLinearly() 109 final ActivityScenario<TestActivity> scenario = rule.getScenario(); in testOnConfigurationChanged_doesNotCrash() local 111 scenario.onActivity(activity -> { in testOnConfigurationChanged_doesNotCrash() 123 final ActivityScenario<TestActivity> scenario = rule.getScenario(); in testUpdateConfiguration_doesNotCrash() local 125 scenario.onActivity(activity -> { in testUpdateConfiguration_doesNotCrash()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | RegisterComponentCallbacksTest.java | 63 final ActivityScenario scenario = rule.getScenario(); in testRegisterComponentCallbacks() local 72 scenario.onActivity(activity -> { in testRegisterComponentCallbacks() 94 final ActivityScenario scenario = rule.getScenario(); in testRegisterComponentCallbacksBeforeT() local 103 scenario.onActivity(activity -> { in testRegisterComponentCallbacksBeforeT()
|
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/rotation/ |
D | RotationTransition.kt | 35 setup { this.setRotation(flicker.scenario.startRotation) } in <lambda>() 38 this.setRotation(flicker.scenario.endRotation) in <lambda>() 39 if (!flicker.scenario.isTablet) { in <lambda>() 41 .add(navBarInPosition(flicker.scenario.isGesturalNavigation)) in <lambda>()
|
/frameworks/base/tests/FlickerTests/AppClose/src/com/android/server/wm/flicker/close/ |
D | CloseAppTransition.kt | 40 tapl.setExpectedRotation(flicker.scenario.startRotation.value) in <lambda>() 42 this.setRotation(flicker.scenario.startRotation) in <lambda>() 74 ignoreEntriesWithRotationLayer = flicker.scenario.isLandscapeOrSeascapeAtStart in launcherLayerReplacesApp()
|
/frameworks/base/tests/FlickerTests/AppLaunch/src/com/android/server/wm/flicker/launch/common/ |
D | OpenAppFromIconTransition.kt | 31 if (flicker.scenario.isTablet) { in <lambda>() 32 tapl.setExpectedRotation(flicker.scenario.startRotation.value) in <lambda>()
|
/frameworks/libs/systemui/motiontoollib/tests/com/android/app/motiontool/ |
D | MotionToolManagerTest.kt | 76 activityScenarioRule.scenario.onActivity { in <lambda>() 85 activityScenarioRule.scenario.onActivity { activity -> in <lambda>() 105 activityScenarioRule.scenario.onActivity { in <lambda>()
|