HomeSort by relevance Sort by last modified time
    Searched defs:instrumentation (Results 76 - 100 of 214) sorted by null

1 2 34 5 6 7 8 9

  /frameworks/base/test-base/src/android/test/
InstrumentationTestCase.java 20 import android.app.Instrumentation;
34 * A test case that has access to {@link Instrumentation}.
44 private Instrumentation mInstrumentation;
47 * Injects instrumentation into this test case. This method is
50 * @param instrumentation the instrumentation to use with this instance
52 public void injectInstrumentation(Instrumentation instrumentation) {
53 mInstrumentation = instrumentation;
57 * Injects instrumentation into this test case. This method i
257 final Instrumentation instrumentation = getInstrumentation(); local
307 final Instrumentation instrumentation = getInstrumentation(); local
336 final Instrumentation instrumentation = getInstrumentation(); local
    [all...]
  /frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
FragmentTransactionTest.java 26 import android.app.Instrumentation;
302 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local
305 instrumentation.callActivityOnSaveInstanceState(activity, outState);
427 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local
431 (NewIntentActivity) instrumentation.startActivitySync(intent1);
436 Activity coveringActivity = instrumentation.startActivitySync(intent2);
ViewModelTest.java 27 import android.app.Instrumentation;
264 Instrumentation.ActivityMonitor monitor = new Instrumentation.ActivityMonitor(
266 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local
267 instrumentation.addMonitor(monitor);
  /cts/tests/tests/text/src/android/text/style/cts/
URLSpanTest.java 23 import android.app.Instrumentation;
24 import android.app.Instrumentation.ActivityMonitor;
83 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local
84 ActivityMonitor am = instrumentation.addMonitor(MockURLSpanTestActivity.class.getName(),
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
WorkerProcess.java 24 import com.google.caliper.runner.Instrument.Instrumentation;
150 Instrumentation instrumentation = experiment.instrumentation(); local
151 Instrument instrument = instrumentation.instrument();
154 instrumentation.workerClass(),
155 instrumentation.workerOptions(),
157 ImmutableList.copyOf(instrumentation.benchmarkMethod.getParameterTypes()),
  /external/droiddriver/src/io/appium/droiddriver/util/
InstrumentationUtils.java 19 import android.app.Instrumentation;
33 /** Static utility methods pertaining to {@link Instrumentation}. */
41 private static Instrumentation instrumentation; field in class:InstrumentationUtils
50 public static synchronized void init(Instrumentation instrumentation, Bundle arguments) {
51 if (InstrumentationUtils.instrumentation != null) {
54 InstrumentationUtils.instrumentation = instrumentation;
62 if (instrumentation == null)
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
MetricsFeatureProvider.java 16 package com.android.settingslib.core.instrumentation;
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
MetricsFeatureProviderTest.java 16 package com.android.settingslib.core.instrumentation;
SharedPreferenceLoggerTest.java 16 package com.android.settingslib.core.instrumentation;
VisibilityLoggerMixinTest.java 16 package com.android.settingslib.core.instrumentation;
18 import static com.android.settingslib.core.instrumentation.Instrumentable.METRICS_CATEGORY_UNKNOWN;
  /frameworks/base/tools/bit/
aapt.cpp 247 // Instrumentation runner
248 vector<Element*> instrumentation; local
249 root->FindElements("", "instrumentation", &instrumentation, true);
250 if (instrumentation.size() > 0) {
251 // TODO: How could we deal with multiple instrumentation tags?
253 apk->runner = instrumentation[0]->GetAttr(ANDROID_NS, "name");
  /frameworks/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/
ViewModelTest.java 26 import android.app.Instrumentation;
152 Instrumentation.ActivityMonitor monitor = new Instrumentation.ActivityMonitor(
154 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local
155 instrumentation.addMonitor(monitor);
  /frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
LiveDataOnSaveInstanceStateTest.java 22 import android.app.Instrumentation;
164 Instrumentation.ActivityMonitor monitor = new Instrumentation.ActivityMonitor(
166 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local
167 instrumentation.addMonitor(monitor);
PartiallyCoveredActivityTest.java 38 import android.app.Instrumentation;
185 Instrumentation.ActivityMonitor monitor = new Instrumentation.ActivityMonitor(
187 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local
188 instrumentation.addMonitor(monitor);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
MoreKeySpecStringReferenceTests.java 19 import android.app.Instrumentation;
38 final Instrumentation instrumentation = getInstrumentation(); local
39 final Context testContext = instrumentation.getContext();
  /platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DataCollector.java 19 import android.app.Instrumentation;
36 private final Instrumentation instrumentation; field in class:DataCollector
54 long bugreportzInterval, File outputLocation, Instrumentation instr) {
57 instrumentation = instr;
129 entry.getKey().save(instrumentation, resultsDirectory);
  /cts/tests/tests/animation/src/android/animation/cts/
AnimatorTest.java 28 import android.app.Instrumentation;
151 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local
168 instrumentation.waitForIdleSync();
172 instrumentation.waitForIdleSync();
  /development/apps/Development/src/com/android/development/
PackageSummary.java 167 LinearLayout instrumentation = (LinearLayout)findViewById(R.id.instrumentation); local
228 if (info.instrumentation != null) {
229 final int N = info.instrumentation.length;
231 InstrumentationInfo ii = info.instrumentation[i];
235 instrumentation.addView(view, lp);
238 instrumentation.setVisibility(View.GONE);
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
PackageParserTest.java 248 assertEquals(a.instrumentation.size(), b.instrumentation.size());
249 for (int i = 0; i < a.instrumentation.size(); ++i) {
250 assertInstrumentationEqual(a.instrumentation.get(i), b.instrumentation.get(i));
340 private static void assertInstrumentationEqual(PackageParser.Instrumentation a,
341 PackageParser.Instrumentation b) {
460 pkg.instrumentation.add(new PackageParser.Instrumentation(dummy, new InstrumentationInfo()));
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
ActivityTestBase.java 18 import android.app.Instrumentation;
72 protected Instrumentation getInstrumentation() {
78 Instrumentation instrumentation = getInstrumentation(); local
79 instrumentation.setInTouchMode(true);
81 intent.setClass(instrumentation.getTargetContext(), DrawActivity.class);
84 sActivity = (DrawActivity) instrumentation.startActivitySync(intent);
  /frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/
CoordinatorLayoutTest.java 40 import android.app.Instrumentation;
77 private Instrumentation mInstrumentation;
91 final Instrumentation instrumentation = getInstrumentation(); local
114 instrumentation.waitForIdleSync();
123 instrumentation.waitForIdleSync();
136 instrumentation.waitForIdleSync();
145 final Instrumentation instrumentation = getInstrumentation(); local
154 instrumentation.waitForIdleSync()
251 final Instrumentation instrumentation = getInstrumentation(); local
304 final Instrumentation instrumentation = getInstrumentation(); local
350 final Instrumentation instrumentation = getInstrumentation(); local
384 final Instrumentation instrumentation = getInstrumentation(); local
    [all...]
  /frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
ListPopupWindowTest.java 42 import android.app.Instrumentation;
210 // The logic below uses Instrumentation to emulate a tap outside the bounds of the
216 // of Instrumentation is necessary here since Espresso's actions operate at the level
220 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local
226 instrumentation.sendPointerSync(eventDown);
232 instrumentation.sendPointerSync(eventMove);
238 instrumentation.sendPointerSync(eventUp);
241 instrumentation.waitForIdleSync();
322 * Emulates a drag-down gestures by injecting ACTION events with {@link Instrumentation}
330 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local
    [all...]
  /art/openjdkjvmti/
deopt_manager.cc 204 auto instrumentation = art::Runtime::Current()->GetInstrumentation(); local
205 if (instrumentation->IsForcedInterpretOnly()) {
240 auto instrumentation = art::Runtime::Current()->GetInstrumentation(); local
241 if (UNLIKELY(instrumentation->IsForcedInterpretOnly())) {
  /art/runtime/
instrumentation.h 45 namespace instrumentation { namespace in namespace:art
49 kMainHandlerTable = 0, // Main handler table: no suspend check, no instrumentation.
50 kAlternativeHandlerTable = 1, // Alternative handler table: suspend check and/or instrumentation
60 // Instrumentation event listener API. Registered listeners will get the appropriate call back for
154 // either return or exceptions. Normally instrumentation listeners should ensure that there are
161 // Instrumentation is a catch-all for when extra information is required from the runtime. The
162 // typical use for instrumentation is for profiling and debugging. Instrumentation may add stubs
165 class Instrumentation {
182 kInstrumentNothing, // execute without instrumentation
    [all...]
instrumentation_test.cc 17 #include "instrumentation.h"
37 namespace instrumentation { namespace in namespace:art
39 class TestInstrumentationListener FINAL : public instrumentation::InstrumentationListener {
199 // Unique keys used to test Instrumentation::ConfigureStubs.
203 void CheckConfigureStubs(const char* key, Instrumentation::InstrumentationLevel level) {
205 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation();
210 ScopedSuspendAll ssa("Instrumentation::ConfigureStubs");
214 Instrumentation::InstrumentationLevel GetCurrentInstrumentationLevel() {
232 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation()
281 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); local
297 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); local
312 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); local
327 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); local
342 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); local
354 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); local
    [all...]

Completed in 838 milliseconds

1 2 34 5 6 7 8 9