/cts/tests/tests/widget/src/android/widget/cts/ |
ZoomButtonTest.java | 24 import android.app.Instrumentation; 52 private Instrumentation mInstrumentation;
|
TabHost_TabSpecTest.java | 26 import android.app.Instrumentation; 27 import android.app.Instrumentation.ActivityMonitor; 198 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 199 ActivityMonitor am = instrumentation.addMonitor(MockURLSpanTestActivity.class.getName(),
|
/cts/tools/cts-media-preparer-app/src/android/mediastress/cts/preconditions/app/ |
MediaPreparerAppTest.java | 18 import android.app.Instrumentation; 50 /** Instrumentation status code used to write resolution to metrics */ 113 Instrumentation inst = InstrumentationRegistry.getInstrumentation();
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
ArbitraryMeasurementInstrument.java | 52 public Instrumentation createInstrumentation(Method benchmarkMethod) 85 private final class ArbitraryMeasurementInstrumentation extends Instrumentation {
|
AllocationInstrument.java | 36 import com.google.monitoring.runtime.instrumentation.AllocationInstrumenter; 71 public Instrumentation createInstrumentation(Method benchmarkMethod) 91 private final class MicroAllocationInstrumentation extends Instrumentation { 132 private final class MacroAllocationInstrumentation extends Instrumentation { 220 // we just run in interpreted mode to ensure that intrinsics don't break the instrumentation
|
ExperimentingRunnerModule.java | 25 import com.google.caliper.runner.Instrument.Instrumentation; 236 @Provides static ImmutableSet<Instrumentation> provideInstrumentations(CaliperOptions options, 239 ImmutableSet.Builder<Instrumentation> builder = ImmutableSet.builder();
|
/external/deqp/android/package/src/com/drawelements/deqp/testercore/ |
DeqpInstrumentation.java | 21 * \brief dEQP instrumentation 26 import android.app.Instrumentation; 32 public class DeqpInstrumentation extends Instrumentation 34 private static final String LOG_TAG = "dEQP/Instrumentation";
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
BenchmarkState.java | 20 import android.app.Instrumentation; 234 public void sendFullStatusReport(Instrumentation instrumentation, String key) { 241 instrumentation.sendStatus(Activity.RESULT_OK, status);
|
/art/runtime/ |
trace.cc | 40 #include "instrumentation.h" 77 // The key identifying the tracer to update instrumentation. 245 LogMethodTraceEvent(thread, *rit, instrumentation::Instrumentation::kMethodEntered, 260 LogMethodTraceEvent(thread, *old_it, instrumentation::Instrumentation::kMethodExited, 265 LogMethodTraceEvent(thread, *rit, instrumentation::Instrumentation::kMethodEntered, 397 // Since we need to hold the method entrypoint across a suspend to ensure instrumentation 424 instrumentation::Instrumentation::kMethodEntered [all...] |
instrumentation.h | 48 namespace instrumentation { namespace in namespace:art 52 kMainHandlerTable = 0, // Main handler table: no suspend check, no instrumentation. 53 kAlternativeHandlerTable = 1, // Alternative handler table: suspend check and/or instrumentation 63 // Instrumentation event listener API. Registered listeners will get the appropriate call back for 149 // either return or exceptions. Normally instrumentation listeners should ensure that there are 156 class Instrumentation; 157 // A helper to send instrumentation events while popping the stack in a safe way. 171 Instrumentation* instrumentation_; 175 // Instrumentation is a catch-all for when extra information is required from the runtime. The 176 // typical use for instrumentation is for profiling and debugging. Instrumentation may add stub [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimatorInflaterTest.java | 30 import android.app.Instrumentation; 61 private Instrumentation mInstrumentation; 163 Instrumentation.ActivityMonitor monitor = new Instrumentation.ActivityMonitor(
|
/art/tools/tracefast-plugin/ |
tracefast.cc | 18 #include "instrumentation.h" 41 class Tracer final : public art::instrumentation::InstrumentationListener { 134 art::instrumentation::Instrumentation::kMethodEntered | 135 art::instrumentation::Instrumentation::kMethodExited | 136 art::instrumentation::Instrumentation::kMethodUnwind);
|
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/ |
SyncAdapterSettingsTest.java | 26 import android.app.Instrumentation; 69 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); 71 instrumentation.getUiAutomation().executeShellCommand(command); 78 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 79 mContext = instrumentation.getTargetContext();
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
InstrumentedAccessibilityService.java | 26 import android.app.Instrumentation; 170 Instrumentation instrumentation, Class<T> clazz) { 172 final Context context = instrumentation.getContext(); 186 ShellCommandBuilder.create(instrumentation) 194 ShellCommandBuilder.create(instrumentation) 231 public static void disableAllServices(Instrumentation instrumentation) { 233 final Context context = instrumentation.getContext(); 244 final UiAutomation uiAutomation = instrumentation.getUiAutomation [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
ActivityLaunchUtils.java | 25 import android.app.Instrumentation; 63 Instrumentation instrumentation, UiAutomation uiAutomation, 73 homeScreenOrBust(instrumentation.getContext(), uiAutomation); 78 instrumentation.runOnMainSync(() -> { 82 instrumentation.waitForIdleSync(); 83 activityTitle.append(getActivityTitle(instrumentation, mTempActivity)); 102 Instrumentation instrumentation, Activity activity) { 104 instrumentation.runOnMainSync(() -> titleBuilder.append(activity.getTitle())) [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
CtsRoleManagerAdapter.java | 26 import android.app.Instrumentation; 53 private Instrumentation mInstrumentation; 56 public CtsRoleManagerAdapter(Instrumentation instrumentation) { 57 mInstrumentation = instrumentation; 58 mContext = instrumentation.getContext();
|
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
InlineByteBuddyMockMaker.java | 22 import java.lang.instrument.Instrumentation; 34 * This mock maker which uses a combination of the Java instrumentation API and sub-classing rather than creating 92 private static final Instrumentation INSTRUMENTATION; 97 Instrumentation instrumentation; external variable declarations 101 instrumentation = ByteBuddyAgent.install(); 102 if (!instrumentation.isRetransformClassesSupported()) { 135 instrumentation.appendToBootstrapClassLoaderSearch(new JarFile(boot)); 148 "It seems like your current VM does not support the instrumentation API correctly."), cnfe) [all...] |
InlineBytecodeGenerator.java | 34 import java.lang.instrument.Instrumentation; 62 private final Instrumentation instrumentation; field in class:InlineBytecodeGenerator 74 public InlineBytecodeGenerator(Instrumentation instrumentation, WeakConcurrentMap<Object, MockMethodInterceptor> mocks) { 76 this.instrumentation = instrumentation; 102 instrumentation.addTransformer(this, true); 161 instrumentation.retransformClasses(types.toArray(new Class<?>[types.size()]));
|
/cts/tests/tests/display/src/android/display/cts/ |
DisplayTest.java | 22 import android.app.Instrumentation; 428 Instrumentation.ActivityResult result = 429 new Instrumentation.ActivityResult(0, new Intent()); 430 Instrumentation.ActivityMonitor monitor = 431 new Instrumentation.ActivityMonitor(clazz.getName(), result, false);
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
LegacyNotificationManagerTest.java | 32 import android.app.Instrumentation; 357 Instrumentation instrumentation, boolean on) throws IOException { 361 runCommand(command, instrumentation); 370 Instrumentation instrumentation, boolean suspend) throws IOException { 374 runCommand(command, instrumentation); 377 private void toggleListenerAccess(String componentName, Instrumentation instrumentation, 383 runCommand(command, instrumentation); [all...] |
ConditionProviderServiceTest.java | 33 import android.app.Instrumentation; 283 Instrumentation instrumentation, boolean on) throws IOException { 287 runCommand(command, instrumentation); 295 private void runCommand(String command, Instrumentation instrumentation) throws IOException { 296 UiAutomation uiAutomation = instrumentation.getUiAutomation();
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
LaunchRunner.java | 30 import android.app.Instrumentation; 244 Instrumentation.ActivityMonitor monitor = getInstrumentation() 255 Instrumentation.ActivityMonitor monitor = getInstrumentation()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
ActivityTestBase.java | 18 import android.app.Instrumentation; 73 protected Instrumentation getInstrumentation() { 79 Instrumentation instrumentation = getInstrumentation(); local 80 instrumentation.setInTouchMode(true); 82 intent.setClass(instrumentation.getTargetContext(), DrawActivity.class); 86 sActivity = (DrawActivity) instrumentation.startActivitySync(intent);
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
ActivityTestBase.java | 18 import android.app.Instrumentation; 73 protected Instrumentation getInstrumentation() { 79 Instrumentation instrumentation = getInstrumentation(); local 80 instrumentation.setInTouchMode(true); 82 intent.setClass(instrumentation.getTargetContext(), DrawActivity.class); 86 sActivity = (DrawActivity) instrumentation.startActivitySync(intent);
|
/external/llvm/utils/ |
GenLibDeps.pl | 101 $libpath =~ s/^Instrumentation/Transforms\/Instrumentation/; 141 $libpath =~ s/^Instrumentation/Transforms\/Instrumentation/;
|