OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:InstrumentationRegistry
(Results
1 - 25
of
57
) sorted by null
1
2
3
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
TestMenuInflater.java
20
import android.support.test.
InstrumentationRegistry
;
30
super(
InstrumentationRegistry
.getContext());
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
PrimaryUserTest.java
23
import android.support.test.
InstrumentationRegistry
;
50
injectInstrumentation(
InstrumentationRegistry
.getInstrumentation());
ManagedProfileTest.java
23
import android.support.test.
InstrumentationRegistry
;
50
injectInstrumentation(
InstrumentationRegistry
.getInstrumentation());
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
SearchViewTest.java
24
import android.support.test.
InstrumentationRegistry
;
78
InstrumentationRegistry
.getContext(),
79
InstrumentationRegistry
.getInstrumentation().getUiAutomation(),
87
InstrumentationRegistry
.getInstrumentation(), searchView);
99
InstrumentationRegistry
.getInstrumentation().runOnMainSync(
OnScreenPositionTest.java
29
import android.support.test.
InstrumentationRegistry
;
85
InstrumentationRegistry
.getContext(),
86
InstrumentationRegistry
.getInstrumentation().getUiAutomation(),
98
InstrumentationRegistry
.getInstrumentation(), editText);
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
PerfManualStatusReporter.java
19
import android.support.test.
InstrumentationRegistry
;
67
mState.sendFullStatusReport(
InstrumentationRegistry
.getInstrumentation(),
PerfStatusReporter.java
19
import android.support.test.
InstrumentationRegistry
;
89
mState.sendFullStatusReport(
InstrumentationRegistry
.getInstrumentation(),
/external/droiddriver/src/io/appium/droiddriver/util/
InstrumentationUtils.java
23
import android.support.test.
InstrumentationRegistry
;
47
* runner that supports {link
InstrumentationRegistry
}, you need to call this method
63
// Assume android.support.test.runner.
InstrumentationRegistry
is valid
64
init(
InstrumentationRegistry
.getInstrumentation(),
InstrumentationRegistry
.getArguments());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
SysuiBaseFragmentTest.java
22
import android.support.test.
InstrumentationRegistry
;
58
mRealInstrumentation =
InstrumentationRegistry
.getInstrumentation();
64
InstrumentationRegistry
.registerInstance(inst,
InstrumentationRegistry
.getArguments());
69
InstrumentationRegistry
.registerInstance(mRealInstrumentation,
70
InstrumentationRegistry
.getArguments());
75
return new SysuiTestableContext(
InstrumentationRegistry
.getContext(), mLeakCheck);
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
SyncSettingsTest.java
21
import android.support.test.
InstrumentationRegistry
;
46
mDevice = UiDevice.getInstance(
InstrumentationRegistry
.getInstrumentation());
65
InstrumentationRegistry
.getContext(), Settings.ACTION_SYNC_SETTINGS);
BatterySettingsUITest.java
21
import android.support.test.
InstrumentationRegistry
;
49
mDevice = UiDevice.getInstance(
InstrumentationRegistry
.getInstrumentation());
68
InstrumentationRegistry
.getTargetContext(), Intent.ACTION_POWER_USAGE_SUMMARY);
HomepageDisplayTests.java
25
import android.support.test.
InstrumentationRegistry
;
65
mDevice = UiDevice.getInstance(
InstrumentationRegistry
.getInstrumentation());
84
InstrumentationRegistry
.getContext(), Settings.ACTION_SETTINGS);
SecuritySettingsLaunchTest.java
21
import android.support.test.
InstrumentationRegistry
;
50
mDevice = UiDevice.getInstance(
InstrumentationRegistry
.getInstrumentation());
69
InstrumentationRegistry
.getTargetContext(), Settings.ACTION_SECURITY_SETTINGS);
StorageSettingsUITest.java
21
import android.support.test.
InstrumentationRegistry
;
53
mDevice = UiDevice.getInstance(
InstrumentationRegistry
.getInstrumentation());
72
InstrumentationRegistry
.getTargetContext(),
/frameworks/base/core/tests/coretests/src/android/view/
ScaleGestureDetectorTest.java
21
import android.support.test.
InstrumentationRegistry
;
51
injectInstrumentation(
InstrumentationRegistry
.getInstrumentation());
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/
RestoreDbTaskTest.java
6
import android.support.test.
InstrumentationRegistry
;
69
super(
InstrumentationRegistry
.getContext(), null, null);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
TelecomTestCase.java
23
import android.support.test.
InstrumentationRegistry
;
38
mMockitoHelper.setUp(
InstrumentationRegistry
.getContext(), getClass());
/cts/tests/camera/src/android/hardware/camera2/cts/
IdleUidTest.java
36
import android.support.test.
InstrumentationRegistry
;
77
final CameraManager cameraManager =
InstrumentationRegistry
.getTargetContext()
90
final CameraManager cameraManager =
InstrumentationRegistry
.getTargetContext()
199
+
InstrumentationRegistry
.getTargetContext().getPackageName();
200
SystemUtil.runShellCommand(
InstrumentationRegistry
.getInstrumentation(), command);
205
+
InstrumentationRegistry
.getTargetContext().getPackageName() + " idle";
206
SystemUtil.runShellCommand(
InstrumentationRegistry
.getInstrumentation(), command);
/cts/tests/tests/text/src/android/text/method/cts/
KeyListenerTestCase.java
26
import android.support.test.
InstrumentationRegistry
;
59
mInstrumentation =
InstrumentationRegistry
.getInstrumentation();
68
final Instrumentation instrumentation =
InstrumentationRegistry
.getInstrumentation();
85
final Instrumentation instrumentation =
InstrumentationRegistry
.getInstrumentation();
114
SystemUtil.runShellCommand(
InstrumentationRegistry
.getInstrumentation(),
/cts/tests/tests/widget/src/android/widget/cts/
TextClockTest.java
29
import android.support.test.
InstrumentationRegistry
;
175
InstrumentationRegistry
.getInstrumentation().waitForIdleSync();
210
SystemUtil.runShellCommand(
InstrumentationRegistry
.getInstrumentation(),
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/trackers/
BatteryChargingTrackerTest.java
38
import android.support.test.
InstrumentationRegistry
;
143
InstrumentationRegistry
.getTargetContext(),
/packages/apps/Contacts/tests/src/com/android/contacts/
RunMethodInstrumentation.java
23
import android.support.test.
InstrumentationRegistry
;
56
InstrumentationRegistry
.registerInstance(this, arguments);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
AccountsTestHelper.java
29
import android.support.test.
InstrumentationRegistry
;
52
this(
InstrumentationRegistry
.getContext());
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/
BluetoothAnomalyTest.java
22
import android.support.test.
InstrumentationRegistry
;
51
final Instrumentation instrumentation =
InstrumentationRegistry
.getInstrumentation();
63
TestUtils.tearDown(
InstrumentationRegistry
.getInstrumentation());
80
Instrumentation instrumentation =
InstrumentationRegistry
.getInstrumentation();
101
Instrumentation instrumentation =
InstrumentationRegistry
.getInstrumentation();
WakelockAnomalyTest.java
22
import android.support.test.
InstrumentationRegistry
;
51
final Instrumentation instrumentation =
InstrumentationRegistry
.getInstrumentation();
63
TestUtils.tearDown(
InstrumentationRegistry
.getInstrumentation());
81
Instrumentation instrumentation =
InstrumentationRegistry
.getInstrumentation();
102
Instrumentation instrumentation =
InstrumentationRegistry
.getInstrumentation();
125
Instrumentation instrumentation =
InstrumentationRegistry
.getInstrumentation();
Completed in 384 milliseconds
1
2
3