OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:getInstrumentation
(Results
1 - 25
of
178
) sorted by null
1
2
3
4
5
6
7
8
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
PrimaryUserTest.java
50
injectInstrumentation(InstrumentationRegistry.
getInstrumentation
());
ManagedProfileTest.java
50
injectInstrumentation(InstrumentationRegistry.
getInstrumentation
());
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
ShortcutManagerPostUpgradeTest.java
54
Launcher.setAsDefaultLauncher(
getInstrumentation
(), getContext());
ShortcutManagerPreUpgradeTest.java
61
Launcher.setAsDefaultLauncher(
getInstrumentation
(), getContext());
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
SearchViewTest.java
79
InstrumentationRegistry.
getInstrumentation
().getUiAutomation(),
87
InstrumentationRegistry.
getInstrumentation
(), searchView);
99
InstrumentationRegistry.
getInstrumentation
().runOnMainSync(
/cts/tests/tests/location/src/android/location/cts/
BaseMockLocationTest.java
32
LocationUtils.registerMockLocationProvider(
getInstrumentation
(), true);
37
LocationUtils.registerMockLocationProvider(
getInstrumentation
(), false);
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerMaxCountTest.java
278
setDefaultLauncher(
getInstrumentation
(), mLauncherContext1);
ShortcutManagerMultiLauncherTest.java
86
setDefaultLauncher(
getInstrumentation
(), mLauncherContext1);
97
setDefaultLauncher(
getInstrumentation
(), mLauncherContext2);
175
setDefaultLauncher(
getInstrumentation
(), mLauncherContext1);
225
setDefaultLauncher(
getInstrumentation
(), mLauncherContext2);
ShortcutManagerSpoofingTest.java
92
setDefaultLauncher(
getInstrumentation
(), mLauncherContext2);
94
dumpsysShortcut(
getInstrumentation
());
/external/robolectric-shadows/integration_tests/android_support_test/src/test/java/org/robolectric/integration_tests/atsl/
InstrumentationRegistryTest.java
25
public void
getInstrumentation
() {
26
assertThat(InstrumentationRegistry.
getInstrumentation
()).isNotNull();
53
priorInstrumentation = InstrumentationRegistry.
getInstrumentation
();
56
assertThat(priorInstrumentation).isNotEqualTo(InstrumentationRegistry.
getInstrumentation
());
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
PerfManualStatusReporter.java
67
mState.sendFullStatusReport(InstrumentationRegistry.
getInstrumentation
(),
PerfStatusReporter.java
89
mState.sendFullStatusReport(InstrumentationRegistry.
getInstrumentation
(),
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
FullscreenRotationTest.java
34
Utils.startElementLayout(
getInstrumentation
(), 100);
40
Utils.rotateDevice(
getInstrumentation
(), Utils.ROTATION_MODE_NATURAL);
48
Utils.rotateDevice(
getInstrumentation
(),
49
Utils.getDeviceRotation(
getInstrumentation
()) == Utils.ROTATION_MODE_LEFT ?
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
WebActivityTest.java
44
Intent intent = WebActivity.createIntent(
getInstrumentation
().getTargetContext(), null,
50
startActivityOnMainSync(WebActivity.createIntent(
getInstrumentation
().getTargetContext(),
54
getInstrumentation
().runOnMainSync(() ->
62
getInstrumentation
().runOnMainSync(() -> startActivity(intent, null, null));
66
public Instrumentation
getInstrumentation
() {
67
return InstrumentationRegistry.
getInstrumentation
();
/platform_testing/libraries/device-collectors/src/main/java/android/device/loggers/
LogFileLogger.java
40
getInstrumentation
(), log.mDataName, log.mLogFile);
/external/droiddriver/src/io/appium/droiddriver/util/
InstrumentationUtils.java
64
init(InstrumentationRegistry.
getInstrumentation
(), InstrumentationRegistry.getArguments());
68
public static Instrumentation
getInstrumentation
() {
74
return
getInstrumentation
().getTargetContext();
108
getInstrumentation
().waitForIdle(emptyTask);
195
getInstrumentation
().runOnMainSync(this);
/cts/tests/app/src/android/app/cts/
ApplicationTest.java
40
SystemUtil.runShellCommand(
getInstrumentation
(), ERASE_FONT_SCALE_CMD);
45
final Instrumentation instrumentation =
getInstrumentation
();
62
SystemUtil.runShellCommand(
getInstrumentation
(), ERASE_FONT_SCALE_CMD);
63
getInstrumentation
().waitForIdleSync();
64
SystemUtil.runShellCommand(
getInstrumentation
(), PUT_FONT_SCALE_CMD);
65
getInstrumentation
().waitForIdleSync();
66
SystemUtil.runShellCommand(
getInstrumentation
(), ERASE_FONT_SCALE_CMD);
/cts/tests/filesystem/src/android/filesystem/cts/
RandomRWTest.java
20
import static android.support.test.InstrumentationRegistry.
getInstrumentation
;
55
report.submit(
getInstrumentation
());
74
report.submit(
getInstrumentation
());
/cts/tests/sample/src/android/sample/cts/
SampleDeviceResultTest.java
93
reportLog.submit(
getInstrumentation
());
/external/droiddriver/src/io/appium/droiddriver/base/
DroidDriverContext.java
40
public Instrumentation
getInstrumentation
() {
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/test/
RecyclerViewTest.java
73
getInstrumentation
().waitForIdleSync();
145
private Instrumentation
getInstrumentation
() {
146
return InstrumentationRegistry.
getInstrumentation
();
/cts/common/device-side/util/src/com/android/compatibility/common/util/
BusinessLogicTestCase.java
82
protected static Instrumentation
getInstrumentation
() {
83
return InstrumentationRegistry.
getInstrumentation
();
87
return
getInstrumentation
().getTargetContext();
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/
ShortcutManagerPostBackupTest.java
293
setDefaultLauncher(
getInstrumentation
(),
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/
ShortcutManagerManagedUserTest.java
34
Launcher.setAsDefaultLauncher(
getInstrumentation
(), getContext());
66
Launcher.setAsDefaultLauncher(
getInstrumentation
(), getContext());
100
Launcher.setAsDefaultLauncher(
getInstrumentation
(), getContext());
ShortcutManagerSecondaryUserTest.java
36
Launcher.setAsDefaultLauncher(
getInstrumentation
(), getContext());
75
Launcher.setAsDefaultLauncher(
getInstrumentation
(), getContext());
Completed in 661 milliseconds
1
2
3
4
5
6
7
8