/external/droiddriver/src/io/appium/droiddriver/instrumentation/ |
InstrumentationInputInjector.java | 17 package io.appium.droiddriver.instrumentation; 19 import android.app.Instrumentation; 28 private final Instrumentation instrumentation; field in class:InstrumentationInputInjector 30 public InstrumentationInputInjector(Instrumentation instrumentation) { 31 this.instrumentation = instrumentation; 37 instrumentation.sendPointerSync((MotionEvent) event); 39 instrumentation.sendKeySync((KeyEvent) event) [all...] |
/packages/apps/Settings/tests/unit/src/com/android/settings/tests/ |
PrivateVolumeSettingsTest.java | 18 import android.app.Instrumentation; 36 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 37 instrumentation.startActivitySync(
|
KeepOnScreenTest.java | 19 import android.app.Instrumentation; 46 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 47 instrumentation.startActivitySync(new Intent(android.provider.Settings 50 final Context targetContext = instrumentation.getTargetContext();
|
DrawOverlayDetailsTest.java | 19 import android.app.Instrumentation; 49 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 50 instrumentation.startActivitySync(new Intent(android.provider.Settings 53 final Context targetContext = instrumentation.getTargetContext(); 59 final UiDevice device = UiDevice.getInstance(instrumentation);
|
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/instrumentation/ |
ToStringHelperTest.java | 25 package org.slf4j.instrumentation;
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/instrumentation/ |
InstrumentationTest.java | 17 package android.test.suitebuilder.examples.instrumentation;
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/instrumentation/ |
EventLogger.java | 17 package com.android.settings.intelligence.instrumentation;
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
TestUtils.java | 19 import android.app.Instrumentation; 35 * <p>A simple wrapper for {@link Instrumentation#runOnMainSync(Runnable)}.</p> 54 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 55 instrumentation.runOnMainSync(() -> result.set(supplier.get())); 73 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 78 instrumentation.runOnMainSync(() -> {
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
AutoCompleteTextViewCallbacks.java | 19 import android.app.Instrumentation; 39 final Instrumentation instrumentation = getInstrumentation(); local 43 instrumentation.waitForIdleSync(); 45 instrumentation.waitForIdleSync(); 64 final Instrumentation instrumentation = getInstrumentation(); local 68 instrumentation.waitForIdleSync(); 79 instrumentation.waitForIdleSync(); 97 instrumentation.waitForIdleSync(); 113 final Instrumentation instrumentation = getInstrumentation(); local [all...] |
AutoCompleteTextViewPopup.java | 19 import android.app.Instrumentation; 48 final Instrumentation instrumentation = getInstrumentation(); local 52 instrumentation.waitForIdleSync(); 64 instrumentation.waitForIdleSync(); 80 final Instrumentation instrumentation = getInstrumentation(); local 84 instrumentation.waitForIdleSync(); 107 final Instrumentation instrumentation = getInstrumentation() local 140 final Instrumentation instrumentation = getInstrumentation(); local 174 final Instrumentation instrumentation = getInstrumentation(); local [all...] |
/frameworks/support/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/ |
EmbeddedXmlTest.java | 19 import android.app.Instrumentation; 39 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 40 Intent intent = new Intent(instrumentation.getContext(), 44 instrumentation.waitForIdleSync();
|
ImmediateNavigationTest.java | 22 import android.app.Instrumentation; 44 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 45 Intent intent = new Intent(instrumentation.getContext(), 49 instrumentation.waitForIdleSync();
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/ |
BaseKeyboardShortcutsTestCase.java | 22 import android.app.Instrumentation; 57 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 61 instrumentation.sendKeySync(downEvent); 62 instrumentation.waitForIdleSync(); 66 instrumentation.sendKeySync(upEvent); 67 instrumentation.waitForIdleSync();
|
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/ |
PowerUsageSummaryTest.java | 23 import android.app.Instrumentation; 42 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 43 instrumentation.startActivitySync(new Intent(BATTERY_INTENT));
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
NativeMediaTest.java | 18 import android.app.Instrumentation; 69 final Instrumentation instrumentation = getInstrumentation(); local 73 instrumentation.runOnMainSync(() -> { 74 instrumentation.callActivityOnPause(activity); 76 instrumentation.waitForIdleSync(); 78 instrumentation.runOnMainSync(() -> { 79 instrumentation.callActivityOnResume(activity);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
Instrumentable.java | 17 package com.android.settingslib.core.instrumentation;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/core/instrumentation/ |
InstrumentedActivity.java | 17 package com.android.tv.settings.core.instrumentation; 22 import com.android.settingslib.core.instrumentation.Instrumentable; 23 import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; 24 import com.android.settingslib.core.instrumentation.VisibilityLoggerMixin;
|
/cts/tests/tests/text/src/android/text/method/cts/ |
KeyListenerTestCase.java | 22 import android.app.Instrumentation; 49 protected Instrumentation mInstrumentation; 68 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 69 final Context context = instrumentation.getContext(); 70 instrumentation.runOnMainSync(() -> { 80 instrumentation.waitForIdleSync(); 85 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 86 final Context context = instrumentation.getContext() [all...] |
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/ |
DrawingTestHelper.java | 21 import android.app.Instrumentation; 42 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 45 final Activity activity = instrumentation.newActivity( 56 instrumentation.callActivityOnCreate(activity, null);
|
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/util/ |
KeyboardUtil.java | 18 import android.app.Instrumentation; 77 public static void setComposingTextInBatch(final Instrumentation instrumentation, 81 instrumentation.runOnMainSync(new Runnable() { 92 instrumentation.waitForIdleSync(); 95 public static void deleteSurroundingText(final Instrumentation instrumentation, 99 instrumentation.runOnMainSync(new Runnable() { 109 instrumentation.waitForIdleSync(); 112 public static void setSelection(Instrumentation instrumentation, final Spannable spannable [all...] |
/art/runtime/ |
common_dex_operations.h | 29 #include "instrumentation.h" 96 // Report this field access to instrumentation if needed. 97 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); local 98 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { 106 instrumentation->FieldReadEvent(self, 154 // Report this field access to instrumentation if needed. Since we only have the offset of 156 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation() local [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityButtonTest.java | 18 import android.app.Instrumentation; 55 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 56 mService = StubAccessibilityButtonService.enableSelf(instrumentation);
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
RunOnMainUtils.java | 19 import android.app.Instrumentation; 25 * Utilities to return values from {@link Instrumentation#runOnMainSync()} 32 Instrumentation instrumentation, Callable<T> callable) { 35 instrumentation.runOnMainSync(() -> {
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationTestUtils.java | 19 import android.app.Instrumentation; 46 * @param instrumentation to run animation. 52 public static void assertRunAnimation(final Instrumentation instrumentation, 55 assertRunAnimation(instrumentation, activityTestRule, view, animation, 62 * @param instrumentation to run animation. 69 public static void assertRunAnimation(final Instrumentation instrumentation, 81 instrumentation.waitForIdleSync();
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
Experiment.java | 21 import com.google.caliper.runner.Instrument.Instrumentation; 35 private final Instrumentation instrumentation; field in class:Experiment 40 Instrumentation instrumentation, 43 this.instrumentation = checkNotNull(instrumentation); 48 Instrumentation instrumentation() { method in class:Experiment 49 return instrumentation; [all...] |