Home
last modified time | relevance | path

Searched refs:TestHelpers (Results 1 – 22 of 22) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/primers/
DAoaPrimerTest.java20 import com.android.server.uwb.correction.TestHelpers;
37 TestHelpers.assertClose(result.azimuth, toRadians(35)); in conversionTest()
45 TestHelpers.assertClose(result.azimuth, toRadians(90)); in conversionTest()
46 TestHelpers.assertClose(result.elevation, toRadians(45)); in conversionTest()
DElevationPrimerTest.java18 import static com.android.server.uwb.correction.TestHelpers.assertClose;
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DFallbackRecentsTest.java23 import static com.android.launcher3.tapl.TestHelpers.getHomeIntentInPackage;
24 import static com.android.launcher3.tapl.TestHelpers.getLauncherInMyProcess;
56 import com.android.launcher3.tapl.TestHelpers;
118 if (TestHelpers.isInLauncherProcess()) { in FallbackRecentsTest()
159 if (TestHelpers.isInLauncherProcess()) { in FallbackRecentsTest()
208 if (!TestHelpers.isInLauncherProcess()) return null; in getFromRecents()
283 assertTrue("Test activity didn't open from Overview", TestHelpers.wait(Until.hasObject( in testOverview()
300 assertTrue("Fallback Launcher not visible", TestHelpers.wait(Until.hasObject(By.pkg( in testOverview()
DTaskbarModeSwitchRule.java29 import com.android.launcher3.tapl.TestHelpers;
73 if (TestHelpers.isInLauncherProcess() in apply()
DNavigationModeSwitchRule.java34 import com.android.launcher3.tapl.TestHelpers;
84 if (TestHelpers.isInLauncherProcess() && in apply()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java63 import com.android.launcher3.tapl.TestHelpers;
175 if (TestHelpers.isInLauncherProcess()) { in dumpHprofData()
202 if (TestHelpers.isInLauncherProcess()) { in AbstractLauncherUiTest()
259 return TestHelpers.isInLauncherProcess() in getRulesInsideActivityMonitor()
347 TestHelpers.wait( in aggressivelyUnlockSysUi()
365 final boolean wizardDismissed = TestHelpers.wait( in waitForSetupWizardDismissal()
377 || !TestHelpers.wait( in verifyKeyguardInvisible()
431 if (!TestHelpers.isInLauncherProcess()) return null; in getFromLauncher()
488 if (!TestHelpers.isInLauncherProcess()) return; in waitForLauncherCondition()
495 if (!TestHelpers.isInLauncherProcess()) return null; in getOnceNotNull()
[all …]
DPortraitLandscapeRunner.java7 import com.android.launcher3.tapl.TestHelpers;
37 if (!TestHelpers.isInLauncherProcess() in apply()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/math/
DMatrixTest.java22 import com.android.server.uwb.correction.TestHelpers;
64 TestHelpers.assertClose(transformed, initial); in transformPoint_identityKeepsVector()
75 TestHelpers.assertClose(transformed, expected); in transformPoint_rotate180AroundOrthogonalFlipsVector()
89 TestHelpers.assertClose(transformed, expected); in transformPoint_isConsistentWithPoseTransformPoint()
DQuaternionTest.java19 import static com.android.server.uwb.correction.TestHelpers.assertClose;
DVector3Test.java18 import static com.android.server.uwb.correction.TestHelpers.assertClose;
DMathHelperTest.java19 import static com.android.server.uwb.correction.TestHelpers.assertClose;
DAoaVectorTest.java19 import static com.android.server.uwb.correction.TestHelpers.assertClose;
DSphericalVectorTest.java18 import static com.android.server.uwb.correction.TestHelpers.assertClose;
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/
DTestHelpers.java27 public final class TestHelpers { class
28 private TestHelpers() {} in TestHelpers() method in TestHelpers
DUwbFilterEngineTest.java18 import static com.android.server.uwb.correction.TestHelpers.assertClose;
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbControleeTest.java32 import com.android.server.uwb.correction.TestHelpers;
91 TestHelpers.assertClose(newMeasure.getAngleOfArrivalMeasurement().getAzimuth() in testFilterMeasurement()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTestCommandProvider.java41 import com.android.launcher3.tapl.TestHelpers;
104 TestHelpers.getSystemHealthMessage(getContext(), Long.parseLong(arg))); in call()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DViewCaptureRule.kt27 import com.android.launcher3.tapl.TestHelpers in <lambda>()
126 if (!TestHelpers.isInLauncherProcess()) return in <lambda>()
DShellCommandRule.java20 import static com.android.launcher3.tapl.TestHelpers.getLauncherInMyProcess;
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/filtering/
DMedAvgRotationFilterFilterTest.java18 import static com.android.server.uwb.correction.TestHelpers.assertClose;
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DTestHelpers.java41 public class TestHelpers { class
DLauncherInstrumentation.java30 import static com.android.launcher3.tapl.TestHelpers.getOverviewPackageName;
256 TestHelpers.isInLauncherProcess() || ActivityManager.isRunningInTestHarness()); in LauncherInstrumentation()
286 if (TestHelpers.isInLauncherProcess()) { in LauncherInstrumentation()
698 : TestHelpers.getSystemHealthMessage(getContext(), mTestStartTime); in formatSystemHealthMessage()
1394 final UiObject2 object = TestHelpers.wait( in waitForSystemUiObject()
1575 final UiObject2 object = TestHelpers.wait( in waitForAndroidObject()