Home
last modified time | relevance | path

Searched refs:sInstrumentation (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java120 private static Instrumentation sInstrumentation = InstrumentationRegistry.getInstrumentation(); field in ViewRootImplTest
138 sContext = sInstrumentation.getTargetContext(); in setUpClass()
145 sInstrumentation.setInTouchMode(sOriginalTouchMode); in tearDownClass()
150 sInstrumentation.setInTouchMode(true); in setUp()
151 sInstrumentation.runOnMainSync(() -> in setUp()
166 sInstrumentation.runOnMainSync(() -> { in teardown()
338 sInstrumentation.runOnMainSync(() -> { in requestScrollCapture_timeout()
536 sInstrumentation.runOnMainSync(() -> { in votePreferredFrameRate_voteFrameRateCategory_visibility_bySize()
541 sInstrumentation.waitForIdleSync(); in votePreferredFrameRate_voteFrameRateCategory_visibility_bySize()
544 sInstrumentation.runOnMainSync(() -> { in votePreferredFrameRate_voteFrameRateCategory_visibility_bySize()
[all …]
DAccessibilityInteractionControllerTest.java58 private static Instrumentation sInstrumentation; field in AccessibilityInteractionControllerTest
71 sInstrumentation = InstrumentationRegistry.getInstrumentation(); in oneTimeSetup()
72 sUiAutomation = sInstrumentation.getUiAutomation(); in oneTimeSetup()
104 sInstrumentation.waitForIdleSync(); in clearAccessibilityFocus_shouldClearFocus()
114 sInstrumentation.runOnMainSync(() -> in clearAccessibilityFocus_uiThread_shouldClearFocus()
130 sInstrumentation.runOnMainSync(() -> in clearAccessibilityFocus_sensitiveRootView_shouldClearFocus()
158 sInstrumentation.runOnMainSync(() -> { in launchActivity()
163 sInstrumentation.waitForIdleSync(); in launchActivity()
190 (AccessibilityManager) sInstrumentation.getContext().getSystemService( in enableTouchExploration()
/frameworks/opt/car/services/builtInServices/tests/src/com/android/server/inputmethod/
DImeSmokeTest.java66 private static Instrumentation sInstrumentation; field in ImeSmokeTest
74 sInstrumentation = InstrumentationRegistry.getInstrumentation(); in setUpClass()
75 sDevice = UiDevice.getInstance(sInstrumentation); in setUpClass()
76 sContext = sInstrumentation.getContext(); in setUpClass()
126 Intent intent = sInstrumentation in canOpenIME()
143 for (AccessibilityWindowInfo window : sInstrumentation.getUiAutomation().getWindows()) { in isKeyboardOpened()
/frameworks/base/apct-tests/perftests/core/src/android/accessibility/
DAccessibilityPerfTest.java62 private static Instrumentation sInstrumentation; field in AccessibilityPerfTest
68 sInstrumentation.runOnMainSync(() -> { in createTestViewGroup()
82 sInstrumentation = InstrumentationRegistry.getInstrumentation(); in setUpClass()
125 UiAutomation uiAutomation = sInstrumentation.getUiAutomation(); in testPrefetching()
150 UiAutomation uiAutomation = sInstrumentation.getUiAutomation(); in testConnectUiAutomation()
162 sInstrumentation.getUiAutomation(); in testConnectUiAutomation()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/tests/src/com/android/systemui/accessibility/accessibilitymenu/tests/
DAccessibilityMenuServiceTest.java89 private static Instrumentation sInstrumentation; field in AccessibilityMenuServiceTest
105 sInstrumentation = InstrumentationRegistry.getInstrumentation(); in classSetup()
106 sUiAutomation = sInstrumentation.getUiAutomation( in classSetup()
110 sUiDevice = UiDevice.getInstance(sInstrumentation); in classSetup()
117 final Context context = sInstrumentation.getTargetContext(); in classSetup()
166 Settings.Secure.putString(sInstrumentation.getTargetContext().getContentResolver(), in classTeardown()
211 sInstrumentation.getTargetContext().sendBroadcast(INTENT_OPEN_MENU); in openMenu()
223 sInstrumentation.getContext().sendBroadcast(intent); in closeMenu()
256 Context context = sInstrumentation.getTargetContext(); in testAdjustBrightness()
306 Context context = sInstrumentation.getTargetContext(); in testAdjustVolume()
[all …]
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
DAbstractContentCapturePerfTestCase.java61 protected static final Instrumentation sInstrumentation = getInstrumentation(); field in AbstractContentCapturePerfTestCase
62 protected static final Context sContext = sInstrumentation.getTargetContext();
227 mEntryActivity = sInstrumentation.startActivitySync( in setUp()
228 PerfTestActivity.createLaunchIntent(sInstrumentation.getContext())); in setUp()
287 return (CustomTestActivity) sInstrumentation.startActivitySync(intent); in launchActivity()
DLoginTest.java137 sInstrumentation.waitForIdleSync(); in testActivityLaunchTime()
169 sInstrumentation.waitForIdleSync(); in testSendEventLatency()
221 sInstrumentation.runOnMainSync(() -> { in testOnVisibilityAggregated()
226 sInstrumentation.runOnMainSync(() -> { in testOnVisibilityAggregated()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowTest.java68 private static Instrumentation sInstrumentation = field in PhoneWindowTest
180 sInstrumentation.runOnMainSync(() -> { in testWindowFrameRateHint_disabled()
184 sInstrumentation.waitForIdleSync(); in testWindowFrameRateHint_disabled()
202 sInstrumentation.runOnMainSync(() -> { in testWindowFrameRateHint_enabled()
206 sInstrumentation.waitForIdleSync(); in testWindowFrameRateHint_enabled()
/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/
DExternalStorageProviderTest.java47 private static final Instrumentation sInstrumentation = field in ExternalStorageProviderTest
50 private static final Context sTargetContext = sInstrumentation.getTargetContext();
69 sInstrumentation.runOnMainSync(() -> in onCreate_shouldUpdateVolumes()