/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | TestActivity.java | 37 public final class TestActivity extends Activity { class 39 private static final AtomicReference<Function<TestActivity, View>> sInitializer = 42 private Function<TestActivity, View> mInitializer = null; 73 public static TestActivity startSync( in startSync() argument 74 @NonNull Function<TestActivity, View> activityInitializer) { in startSync() 90 public static TestActivity startSync( in startSync() argument 91 @NonNull Function<TestActivity, View> activityInitializer, in startSync() 96 .setClass(InstrumentationRegistry.getContext(), TestActivity.class) in startSync() 100 return (TestActivity) InstrumentationRegistry in startSync()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | TestActivity.java | 37 public final class TestActivity extends Activity { class 39 private static final AtomicReference<Function<TestActivity, View>> sInitializer = 42 private Function<TestActivity, View> mInitializer = null; 108 public static TestActivity startSync( in startSync() argument 109 @NonNull Function<TestActivity, View> activityInitializer) { in startSync() 125 public static TestActivity startSync( in startSync() argument 126 @NonNull Function<TestActivity, View> activityInitializer, in startSync() 131 .setClass(InstrumentationRegistry.getContext(), TestActivity.class) in startSync() 135 return (TestActivity) InstrumentationRegistry in startSync()
|
D | NavigationBarInfo.java | 90 TestActivity.startSync(activity -> { in getInstance() 154 final TestActivity testActivity = TestActivity.startSync(activity -> { in getBottomNavigationBarBitmapForActivity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/ |
D | PhaseStartFragment.java | 19 import com.android.cts.verifier.sensors.sixdof.Activities.TestActivity; 39 TestActivity.CTSTest mPhase; 40 TestActivity mActivity; 42 public static PhaseStartFragment newInstance(TestActivity.CTSTest phase) { in newInstance() 56 mActivity = (TestActivity) getActivity(); in onCreateView() 58 mPhase = (TestActivity.CTSTest) getArguments().getSerializable(ARG_PHASE); in onCreateView() 63 …getActivity().setTitle(getResources().getStringArray(R.array.phase)[TestActivity.CTSTest.ACCURACY.… in onCreateView() 67 …getActivity().setTitle(getResources().getStringArray(R.array.phase)[TestActivity.CTSTest.ROBUSTNES… in onCreateView() 71 …getActivity().setTitle(getResources().getStringArray(R.array.phase)[TestActivity.CTSTest.COMPLEX_M… in onCreateView()
|
D | BaseUiFragment.java | 20 import com.android.cts.verifier.sensors.sixdof.Activities.TestActivity; 54 protected TestActivity mActivity; 68 mActivity = (TestActivity) getActivity(); in onAttach() 81 protected void setupButtons(View fragmentView, TestActivity.CTSTest currentPhase) { in setupButtons() 111 resultIntent.putExtra(TestActivity.EXTRA_REPORT, report); in setupButtons() 112 … resultIntent.putExtra(TestActivity.EXTRA_RESULT_ID, StartActivity.ResultCode.FAILED); in setupButtons()
|
D | ComplexMovementFragment.java | 21 import com.android.cts.verifier.sensors.sixdof.Activities.TestActivity; 93 …getActivity().setTitle(getResources().getStringArray(R.array.phase)[TestActivity.CTSTest.COMPLEX_M… in onCreateView() 96 setupButtons(view, TestActivity.CTSTest.COMPLEX_MOVEMENT); in onCreateView() 179 ….setTitle(getResources().getStringArray(R.array.phase)[TestActivity.CTSTest.COMPLEX_MOVEMENT.ordin… in showInitialDialog() 223 resultIntent.putExtra(TestActivity.EXTRA_REPORT, report); in finishTest() 224 resultIntent.putExtra(TestActivity.EXTRA_RESULT_ID, StartActivity.ResultCode.PASSED); in finishTest()
|
D | RobustnessFragment.java | 20 import com.android.cts.verifier.sensors.sixdof.Activities.TestActivity; 95 …getActivity().setTitle(getResources().getStringArray(R.array.phase)[TestActivity.CTSTest.ROBUSTNES… in onCreateView() 98 setupButtons(view, TestActivity.CTSTest.ROBUSTNESS); in onCreateView() 189 … .setTitle(getResources().getStringArray(R.array.phase)[TestActivity.CTSTest.ROBUSTNESS.ordinal()]) in showInitialDialog() 221 mActivity.switchToStartFragment(TestActivity.CTSTest.COMPLEX_MOVEMENT); in onReadyForPhase3()
|
D | DataFragment.java | 19 import com.android.cts.verifier.sensors.sixdof.Activities.TestActivity; 167 synchronized (TestActivity.POSE_LOCK) { in onWaypointPlacementAttempt() 194 public void startTest(TestActivity.CTSTest newTest) { in startTest()
|
D | AccuracyFragment.java | 20 import com.android.cts.verifier.sensors.sixdof.Activities.TestActivity; 105 …getActivity().setTitle(getResources().getStringArray(R.array.phase)[TestActivity.CTSTest.ACCURACY.… in onCreateView() 132 setupButtons(view, TestActivity.CTSTest.ACCURACY); in onCreateView() 293 mActivity.switchToStartFragment(TestActivity.CTSTest.ROBUSTNESS); in onReadyForPhase2()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInsetsPolicyTest.java | 73 public final ActivityTestRule<TestActivity> mTestActivity = 74 new ActivityTestRule<>(TestActivity.class, false /* initialTouchMode */, 91 mTestActivityComponentName = new ComponentName(mContext, TestActivity.class); in setUp() 96 final TestActivity activity = launchAndWait(mTestActivity); in testWindowInsets_dispatched() 106 final TestActivity activity = launchAndWait(mTestActivity); in testWindowInsets_root() 132 final TestActivity activity = launchAndWait(mTestActivity); in testForcedConsumedTopInsets() 149 final TestActivity fullscreenActivity = launchAndWait(mFullscreenTestActivity); in testForcedConsumedTopInsets() 156 final TestActivity fullscreenWmFlagsActivity = in testForcedConsumedTopInsets() 238 public static class TestActivity extends Activity { 267 public static class FullscreenTestActivity extends TestActivity { [all …]
|
D | LayoutTests.java | 91 final TestActivity activity = startActivity(TestActivity.class); in testLayoutAfterRemovingFocus() 104 private void doTestLayoutAfterRemovingFocus(TestActivity activity, in doTestLayoutAfterRemovingFocus() 138 final TestActivity activity = startActivity(TestActivity.class); in testAddingImmersiveWindow() 171 final TestActivity activity = startActivity(TestActivity.class); in testChangingFocusableFlag() 217 public static class TestActivity extends FocusableActivity { class in LayoutTests
|
D | LocationOnScreenTests.java | 19 import static android.server.wm.LocationOnScreenTests.TestActivity.COLOR_TOLERANCE; 20 import static android.server.wm.LocationOnScreenTests.TestActivity.EXTRA_LAYOUT_PARAMS; 21 import static android.server.wm.LocationOnScreenTests.TestActivity.TEST_COLOR_1; 22 import static android.server.wm.LocationOnScreenTests.TestActivity.TEST_COLOR_2; 76 public final ActivityTestRule<TestActivity> mDisplayCutoutActivity = 77 new ActivityTestRule<>(TestActivity.class, false /* initialTouchMode */, 124 final TestActivity activity = launchAndWait(mDisplayCutoutActivity, lp); in runTest() 200 public static class TestActivity extends Activity { class in LocationOnScreenTests
|
D | DisplayCutoutTests.java | 19 import static android.server.wm.DisplayCutoutTests.TestActivity.EXTRA_CUTOUT_MODE; 86 public final ActivityTestRule<TestActivity> mDisplayCutoutActivity = 87 new ActivityTestRule<>(TestActivity.class, false /* initialTouchMode */, 151 final TestActivity activity = launchAndWait(mDisplayCutoutActivity, in runTest() 176 private void commonAsserts(TestActivity activity, WindowInsets insets, DisplayCutout cutout) { in commonAsserts() 216 private void assertCutoutsAreWithinSafeInsets(TestActivity a, DisplayCutout cutout) { in assertCutoutsAreWithinSafeInsets() 226 private void assertAtMostOneCutoutPerEdge(TestActivity a, DisplayCutout cutout) { in assertAtMostOneCutoutPerEdge() 246 private void assertOnlyShortEdgeHasInsets(TestActivity activity, in assertOnlyShortEdgeHasInsets() 266 private void assertOnlyShortEdgeHasBounds(TestActivity activity, WindowInsets insets, in assertOnlyShortEdgeHasBounds() 306 private Rect getSafeRect(TestActivity a, DisplayCutout cutout) { in getSafeRect() [all …]
|
D | EnsureBarContrastTest.java | 20 import static android.server.wm.EnsureBarContrastTest.TestActivity.EXTRA_ENSURE_CONTRAST; 21 import static android.server.wm.EnsureBarContrastTest.TestActivity.EXTRA_LIGHT_BARS; 22 import static android.server.wm.EnsureBarContrastTest.TestActivity.backgroundForBar; 70 private final ActivityTestRule<TestActivity> mTestActivity = 71 new ActivityTestRule<>(TestActivity.class, false /* initialTouchMode */, 94 TestActivity activity = launchAndWait(mTestActivity, lightBars, true /* ensureContrast */); in runTestEnsureContrast() 130 TestActivity activity = launchAndWait(mTestActivity, lightBars, false /* ensureContrast */); in runTestDontEnsureContrast() 223 private <T extends TestActivity> T launchAndWait(ActivityTestRule<T> rule, boolean lightBars, 240 public static class TestActivity extends Activity {
|
D | LocationInWindowTests.java | 19 import static android.server.wm.LocationOnScreenTests.TestActivity.EXTRA_LAYOUT_PARAMS; 65 public final ActivityTestRule<TestActivity> mActivity = 66 new ActivityTestRule<>(TestActivity.class, false /* initialTouchMode */, 111 final TestActivity activity = launchAndWait(mActivity, lp); in runTest() 169 public static class TestActivity extends Activity { class in LocationInWindowTests
|
/cts/tests/JobSchedulerSharedUid/JobSharedUidTestApp/src/android/jobscheduler/cts/jobtestapp/ |
D | TestActivity.java | 32 public class TestActivity extends Activity { class 33 private static final String TAG = TestActivity.class.getSimpleName(); 45 Log.d(TAG, "Finishing test activity: " + TestActivity.class.getCanonicalName()); 62 Log.d(TAG, "Started test activity: " + TestActivity.class.getCanonicalName()); in onCreate()
|
/cts/tests/JobScheduler/JobTestApp/src/android/jobscheduler/cts/jobtestapp/ |
D | TestActivity.java | 32 public class TestActivity extends Activity { class 33 private static final String TAG = TestActivity.class.getSimpleName(); 45 Log.d(TAG, "Finishing test activity: " + TestActivity.class.getCanonicalName()); 62 Log.d(TAG, "Started test activity: " + TestActivity.class.getCanonicalName()); in onCreate()
|
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/ |
D | TestActivity.java | 19 import static android.server.wm.app.Components.TestActivity.EXTRA_CONFIG_ASSETS_SEQ; 20 import static android.server.wm.app.Components.TestActivity.EXTRA_FIXED_ORIENTATION; 21 import static android.server.wm.app.Components.TestActivity.TEST_ACTIVITY_ACTION_FINISH_SELF; 30 public class TestActivity extends AbstractLifecycleLogActivity { class
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/ |
D | StartActivity.java | 73 Intent startPhase1 = new Intent(this, TestActivity.class); in startPhase1() 84 … ResultCode result = (ResultCode) data.getSerializableExtra(TestActivity.EXTRA_RESULT_ID); in onActivityResult() 93 String testReport = data.getStringExtra(TestActivity.EXTRA_REPORT); in onActivityResult()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | TestActivity.java | 28 public class TestActivity extends Activity { class 29 private static final String TAG = TestActivity.class.getName();
|
D | PrimaryUserTest.java | 37 public class PrimaryUserTest extends ActivityInstrumentationTestCase2<TestActivity> { 42 super(TestActivity.class); in PrimaryUserTest()
|
D | SettingsIntentsTest.java | 29 public class SettingsIntentsTest extends ActivityInstrumentationTestCase2<TestActivity> { 34 super(TestActivity.class); in SettingsIntentsTest()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodServiceTest.java | 49 import android.view.inputmethod.cts.util.TestActivity; 104 private TestActivity createTestActivity(final int windowFlags) { 105 return TestActivity.startSync(activity -> { 126 final TestActivity testActivity = createTestActivity(SOFT_INPUT_STATE_ALWAYS_VISIBLE); 243 TestActivity.startSync(activity -> { 312 TestActivity.startSync(activity -> {
|
D | InputMethodManagerTest.java | 41 import android.view.inputmethod.cts.util.TestActivity; 79 TestActivity.startSync(activity -> { in testIsActive() 103 TestActivity.startSync(activity -> { in testIsAcceptingText() 176 TestActivity.startSync(activity -> { in testShowInputMethodPicker()
|
D | FocusHandlingTest.java | 42 import android.view.inputmethod.cts.util.TestActivity; 78 TestActivity.startSync(activity-> { in launchTestActivity() 137 final TestActivity testActivity = TestActivity.startSync(activity -> { in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() 180 TestActivity.startSync(activity -> { in testEditorStartsInput() 205 TestActivity.startSync(activity -> { in testSoftInputStateAlwaysVisibleFocusedEditorView()
|