/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/ |
ClassHandler.java | 10 void instrument(CtClass ctClass); method in interface:ClassHandler
|
ShadowWrangler.java | 55 public void instrument(CtClass ctClass) { method in class:ShadowWrangler
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
Am.java | 124 if (op.equals("instrument")) { 196 Instrument instrument = new Instrument(mAm, mPm); local 201 instrument.profileFile = nextArgRequired(); 203 instrument.wait = true; 205 instrument.rawMode = true; 207 instrument.proto = true; 211 instrument.args.putString(argKey, argValue); 214 instrument.noWindowAnimation = true [all...] |
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/ |
InstrumentMojo.java | 41 * @goal instrument 69 "Unable to get list of files to instrument.", e1); 84 instrumenter.instrument(input, output, source.getPath()); 87 "Unable to instrument file.", e2);
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
racewalk.go | 12 // The instrument pass modifies the code tree for instrumentation. 29 // TODO(dvyukov): do not instrument initialization as writes: 32 // Do not instrument the following packages at all, 52 func instrument(fn *Node) { func 79 s := fmt.Sprintf("after instrument %v", fn.Func.Nname.Sym) 112 Dump("instrument-before", n) 116 Fatalf("instrument: bad init list") 136 Fatalf("instrument: unknown node type %v", n.Op) 177 // Instrument dst argument of runtime.writebarrier* calls 178 // as we do not instrument runtime code [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
racewalk.go | 12 // The instrument pass modifies the code tree for instrumentation. 29 // TODO(dvyukov): do not instrument initialization as writes: 32 // Do not instrument the following packages at all, 52 func instrument(fn *Node) { func 79 s := fmt.Sprintf("after instrument %v", fn.Func.Nname.Sym) 112 Dump("instrument-before", n) 116 Fatalf("instrument: bad init list") 136 Fatalf("instrument: unknown node type %v", n.Op) 177 // Instrument dst argument of runtime.writebarrier* calls 178 // as we do not instrument runtime code [all...] |
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/ |
InstrumentTask.java | 88 total += instrument(instrumenter, resource); 94 private int instrument(final Instrumenter instrumenter, method in class:InstrumentTask
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GlAppSwitchTest.java | 69 Instrumentation instrument = getInstrumentation(); local 70 Context context = instrument.getContext(); 79 instrument.waitForIdleSync();
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
ExperimentingRunnerModule.java | 25 import com.google.caliper.runner.Instrument.Instrumentation; 153 * {@link Instrument instruments} passed to {@link #provideInstruments}, 157 Class<? extends Instrument> value(); 162 static Instrument provideArbitraryMeasurementInstrument() { 168 static Instrument provideAllocationInstrument() { 174 static Instrument provideRuntimeInstrument( 180 static ImmutableSet<Instrument> provideInstruments( 183 Map<Class<? extends Instrument>, Provider<Instrument>> availableInstruments, 188 ImmutableSet.Builder<Instrument> builder = ImmutableSet.builder() 208 Instrument instrument = instrumentProvider.get(); local [all...] |
Instrument.java | 43 public abstract class Instrument { 70 * Indicates that trials using this instrument can be run in parallel with other trials. 75 * The application of an instrument to a particular benchmark method. 77 // TODO(gak): consider passing in Instrument explicitly for DI 85 Instrument instrument() { method in class:Instrument.Instrumentation 86 return Instrument.this; 99 return Instrument.this.equals(that.instrument()) 107 return Objects.hashCode(Instrument.this, benchmarkMethod) [all...] |
WorkerProcess.java | 24 import com.google.caliper.runner.Instrument.Instrumentation; 151 Instrument instrument = instrumentation.instrument(); local 168 Iterable<String> instrumentJvmOptions = instrument.getExtraCommandLineArgs(vmConfig); 169 logger.fine(String.format("Instrument(%s) Java args: %s", instrument.getClass().getName(),
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
ApkInstrumentationPreparer.java | 44 @Option(name = "apk", description = "Name of the apk to instrument", mandatory = true) 54 @Option(name = "when", description = "When to instrument the apk", mandatory = true) 74 if (instrument(device, buildInfo)) { 81 throw new TargetSetupError("Couldn't find apk to instrument", e, 99 instrument(device, buildInfo); method 101 logError("Couldn't find apk to instrument"); 106 private boolean instrument(ITestDevice device, IBuildInfo buildInfo) method in class:ApkInstrumentationPreparer
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
AllocationInstrumentTest.java | 50 AllocationInstrument instrument = new AllocationInstrument(); local 53 instrument.setOptions(ImmutableMap.of("allocationAgentJar", fakeJar.getAbsolutePath())); 64 assertEquals(expected, instrument.getExtraCommandLineArgs(vmConfig)); 71 .instrument("allocation")
|
CaliperTestWatcher.java | 50 private String instrument; field in class:CaliperTestWatcher 59 CaliperTestWatcher instrument(String instrument) { method in class:CaliperTestWatcher 60 this.instrument = instrument; 78 if (instrument != null) { 80 options.add(instrument);
|
RuntimeInstrumentTest.java | 28 import com.google.caliper.runner.Instrument.Instrumentation; 55 private RuntimeInstrument instrument; field in class:RuntimeInstrumentTest 58 this.instrument = new RuntimeInstrument(ShortDuration.of(100, NANOSECONDS)); 67 return instrument.isBenchmarkMethod(input); 80 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod); 82 assertEquals(instrument, instrumentation.instrument()); 88 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod); 90 assertEquals(instrument, instrumentation.instrument()); [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/ |
ModifiedSystemClassRuntime.java | 16 import java.lang.instrument.ClassFileTransformer; 17 import java.lang.instrument.IllegalClassFormatException; 18 import java.lang.instrument.Instrumentation; 128 return instrument(source, accessFieldName); 155 public static byte[] instrument(final byte[] source, method in class:ModifiedSystemClassRuntime
|
/external/llvm/lib/Transforms/Instrumentation/ |
BoundsChecking.cpp | 64 bool instrument(Value *Ptr, Value *Val, const DataLayout &DL); 121 /// instrument - adds run-time bounds checks to memory accessing instructions. 126 bool BoundsChecking::instrument(Value *Ptr, Value *InstVal, function in class:BoundsChecking 129 DEBUG(dbgs() << "Instrument " << *Ptr << " for " << Twine(NeededSize) 193 MadeChange |= instrument(LI->getPointerOperand(), LI, DL); 196 instrument(SI->getPointerOperand(), SI->getValueOperand(), DL); 199 instrument(AI->getPointerOperand(), AI->getCompareOperand(), DL); 202 instrument(AI->getPointerOperand(), AI->getValOperand(), DL);
|
/packages/apps/TV/tests/input/src/com/android/tv/testinput/instrument/ |
TestSetupInstrumentation.java | 17 package com.android.tv.testinput.instrument; 34 * adb shell am instrument \ 36 * -w com.android.tv.testinput/.instrument.TestSetupInstrumentation
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/instr/ |
Instrumenter.java | 37 * Several APIs to instrument Java class definitions for coverage tracing. 77 public byte[] instrument(final ClassReader reader) { method in class:Instrumenter 98 public byte[] instrument(final byte[] buffer, final String name) method in class:Instrumenter 101 return instrument(new ClassReader(buffer)); 119 public byte[] instrument(final InputStream input, final String name) method in class:Instrumenter 122 return instrument(new ClassReader(input)); 141 public void instrument(final InputStream input, final OutputStream output, method in class:Instrumenter 144 output.write(instrument(new ClassReader(input))); method 179 instrument(detector.getInputStream(), output, name);
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/instr/ |
InstrumenterTest.java | 86 byte[] bytes = instrumenter.instrument( 100 instrumenter.instrument(brokenclass, "Broken"); 114 instrumenter.instrument(new ByteArrayInputStream(brokenclass), 126 byte[] bytes = instrumenter.instrument(
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/ |
CyclomaticComplexityTest.java | 73 instrument(Simple.class); 80 instrument(Simple.class); 96 instrument(If.class); 103 instrument(If.class); 111 instrument(If.class); 131 instrument(TwoIf.class); 138 instrument(TwoIf.class); 146 instrument(TwoIf.class); 155 instrument(TwoIf.class); 175 instrument(NestedIf.class) 254 private void instrument(final Class<? extends Target> clazz) method in class:CyclomaticComplexityTest [all...] |
/external/javassist/sample/evolve/ |
Evolution.java | 57 clazz.instrument(converter);
183 cs[i].instrument(converter);
method 187 ms[i].instrument(converter);
method
|
/external/valgrind/drd/ |
drd_load_store.c | 350 * Instrument the client code to trace a memory load (--trace-addr). 374 * Instrument the client code to trace a memory store (--trace-addr). 593 IRSB* DRD_(instrument)(VgCallbackClosure* const closure, function 605 Bool instrument = True; local 629 instrument = VG_(DebugInfo_sect_kind)(NULL, st->Ist.IMark.addr) 648 if (instrument) 658 if (instrument) 682 if (instrument) { 699 if (instrument) { 737 if (instrument) { [all...] |
/external/javassist/src/main/javassist/ |
CtClass.java | 1069 public void instrument(CodeConverter converter) method in class:CtClass 1083 public void instrument(ExprEditor editor) method in class:CtClass [all...] |
/external/caliper/lib/ |
java-allocation-instrumenter-2.0.jar | |