Searched refs:getInstrumentation (Results 26 - 50 of 188) sorted by relevance

12345678

/frameworks/support/v4/tests/java/android/support/v4/view/
H A DViewPropertyAnimatorCompatTest.java55 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
71 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
91 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
107 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java74 public Instrumentation getInstrumentation() { method in class:InstrumentationTestCase
125 T activity = (T) getInstrumentation().startActivitySync(intent);
126 getInstrumentation().waitForIdleSync();
141 getInstrumentation().runOnMainSync(new Runnable() {
192 getInstrumentation().runOnMainSync(new Runnable() {
234 getInstrumentation().sendStatus(2, iterations);
257 final Instrumentation instrumentation = getInstrumentation();
307 final Instrumentation instrumentation = getInstrumentation();
336 final Instrumentation instrumentation = getInstrumentation();
/frameworks/base/core/tests/coretests/src/android/view/
H A DDisabledTest.java82 getInstrumentation().waitForIdleSync();
90 getInstrumentation().waitForIdleSync();
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
H A DServicesTests.java38 File targetFilesDir = getInstrumentation().getTargetContext().getFilesDir();
50 getInstrumentation().getContext().startService(new Intent(SERVICE_BASE_ACTION + i));
/frameworks/base/test-runner/src/android/test/
H A DActivityInstrumentationTestCase2.java100 getInstrumentation().setInTouchMode(mInitialTouchMode);
101 final String targetPackage = getInstrumentation().getTargetContext().getPackageName();
H A DSingleLaunchActivityTestCase.java72 getInstrumentation().setInTouchMode(false);
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DItemInflaterTest.java31 ItemInflater inflater = new ItemInflater(getInstrumentation().getContext());
38 ItemInflater inflater = new ItemInflater(getInstrumentation().getContext());
/frameworks/base/core/tests/coretests/src/android/widget/
H A DAutoCompleteTextViewPopup.java48 final Instrumentation instrumentation = getInstrumentation();
80 final Instrumentation instrumentation = getInstrumentation();
107 final Instrumentation instrumentation = getInstrumentation();
140 final Instrumentation instrumentation = getInstrumentation();
174 final Instrumentation instrumentation = getInstrumentation();
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListFocusableTest.java194 getInstrumentation().waitForIdleSync();
203 getInstrumentation().waitForIdleSync();
212 getInstrumentation().waitForIdleSync();
221 getInstrumentation().waitForIdleSync();
230 getInstrumentation().waitForIdleSync();
H A DListEmptyViewTest.java55 Instrumentation inst = getInstrumentation();
65 Instrumentation inst = getInstrumentation();
87 Instrumentation inst = getInstrumentation();
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DScrollViewButtonsAndLabelsTest.java75 getInstrumentation().waitForIdleSync();
111 getInstrumentation().waitForIdleSync();
133 getInstrumentation().waitForIdleSync();
153 getInstrumentation().waitForIdleSync();
173 getInstrumentation().waitForIdleSync();
H A DButtonAboveTallInternalSelectionViewTest.java54 getInstrumentation().waitForIdleSync();
/frameworks/base/core/tests/coretests/src/android/print/
H A DBasePrintTest.java84 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation()
105 runShellCommand(getInstrumentation(), disableImeCommand);
112 runShellCommand(getInstrumentation(), enableImeCommand);
138 System.setProperty("dexmaker.dexcache", getInstrumentation()
142 Resources resources = getInstrumentation().getTargetContext().getResources();
172 Resources resources = getInstrumentation().getTargetContext().getResources();
189 getInstrumentation().runOnMainSync(new Runnable() {
231 mActivity = launchActivity(getInstrumentation().getTargetContext().getPackageName(),
251 runShellCommand(getInstrumentation(), String.format(
360 return getInstrumentation()
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListSetSelectionTest.java71 getInstrumentation().waitForIdleSync();
101 getInstrumentation().waitForIdleSync();
137 getInstrumentation().waitForIdleSync();
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothRebootStressTest.java39 Context context = getInstrumentation().getTargetContext();
/frameworks/base/core/tests/coretests/src/android/text/method/
H A DKeyListenerTestCase.java44 mInstrumentation = getInstrumentation();
/frameworks/base/core/tests/coretests/src/android/util/
H A DOrientationUtil.java52 return new OrientationUtil(testCase.getActivity(), testCase.getInstrumentation());
/frameworks/base/core/tests/coretests/src/android/view/menu/
H A DMenuWith1ItemTest.java55 getInstrumentation().waitForIdleSync();
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
H A DExternalSharedPermsTest.java38 LocationManager locationManager = (LocationManager)getInstrumentation().getContext(
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
H A DExternalSharedPermsDiffKeyTest.java36 LocationManager locationManager = (LocationManager)getInstrumentation().getContext(
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DTest.java44 getInstrumentation().sendStatus(0, mBundle);
/frameworks/support/design/tests/src/android/support/design/widget/
H A DBottomSheetDialogTest.java50 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
73 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
85 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
101 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
H A DTabLayoutPoolingTest.java37 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
H A DTabLayoutTest.java41 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
77 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
98 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
120 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridScrollListenerTest.java61 Instrumentation inst = getInstrumentation();
93 Instrumentation inst = getInstrumentation();

Completed in 654 milliseconds

12345678