/external/python/mobly/mobly/ |
D | base_instrumentation_test.py | 28 Android instrumentation generally follows the following format: 48 the output of the instrumentation command into the different 67 """Commonly used keys used in instrumentation output for listing 68 instrumentation test method result properties. 85 android.app.Instrumentation 97 """A mapping of instrumentation status codes to test method results. 99 When instrumentation runs, at various points output is created in a series 107 the progression of a particular instrumentation test method. When the 108 corresponding instrumentation test method finishes, there is generally a 112 represent that a status code has not yet been read for an instrumentation [all …]
|
/external/accompanist/permissions/src/androidTest/java/com/google/accompanist/permissions/ |
D | TestUtils.kt | 19 import android.app.Instrumentation 40 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation() in grantPermissionProgrammatically() 43 val fileDescriptor = instrumentation.uiAutomation.executeShellCommand( in grantPermissionProgrammatically() 44 "pm grant ${instrumentation.targetContext.packageName} $permission" in grantPermissionProgrammatically() 49 instrumentation.uiAutomation.grantRuntimePermission( in grantPermissionProgrammatically() 50 instrumentation.targetContext.packageName, permission in grantPermissionProgrammatically() 56 instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation() in grantPermissionInDialog() 58 val uiDevice = UiDevice.getInstance(instrumentation) in grantPermissionInDialog() 65 ).clickForPermission(instrumentation) in grantPermissionInDialog() 74 ).clickForPermission(instrumentation) in grantPermissionInDialog() [all …]
|
D | MultipleAndSinglePermissionsTest.kt | 50 private val instrumentation by lazy { in <lambda>() constant in com.google.accompanist.permissions.MultipleAndSinglePermissionsTest 55 UiDevice.getInstance(instrumentation) in <lambda>() 70 instrumentation.waitForIdleSync() in singlePermission_granted() 87 instrumentation.waitForIdleSync() in singlePermission_deniedAndGrantedInSecondActivity() 94 instrumentation.waitForIdleSync() in singlePermission_deniedAndGrantedInSecondActivity() 111 instrumentation.waitForIdleSync() in singlePermission_deniedAndGrantedInFirstActivity() 115 instrumentation.waitForIdleSync() in singlePermission_deniedAndGrantedInFirstActivity() 121 instrumentation.waitForIdleSync() in singlePermission_deniedAndGrantedInFirstActivity() 141 instrumentation.waitForIdleSync() in singlePermission_deniedAndGrantedInFirstActivity_singlePermission() 145 instrumentation.waitForIdleSync() in singlePermission_deniedAndGrantedInFirstActivity_singlePermission() [all …]
|
/external/AFLplusplus/docs/ |
D | features.md | 7 ## Features and instrumentation 9 | Feature/Instrumentation | afl-gcc | llvm | gcc_plugin | FRIDA mode(9) | QEMU mode(10… 16 | Selective Instrumentation [F] | | x | x | x | x … 27 see [instrumentation/README.llvm.md](../instrumentation/README.llvm.md) 31 [instrumentation/README.llvm.md](../instrumentation/README.llvm.md). 36 [instrumentation/README.persistent_mode.md](../instrumentation/README.persistent_mode.md) 39 [instrumentation/README.laf-intel.md](../instrumentation/README.laf-intel.md) 44 [instrumentation/README.cmplog.md](../instrumentation/README.cmplog.md) 49 [instrumentation/README.instrument_list.md](../instrumentation/README.instrument_list.md) 52 bytes the larger the target is. Our default instrumentation in LTO and [all …]
|
D | best_practices.md | 29 instrumentation is used (PCGUARD (which is the default), or LTO), then this 37 For PCGUARD instrumentation `abort()` is called if this is detected, for LTO 43 instrumentation. 77 [instrumentation/README.persistent_mode.md](../instrumentation/README.persistent_mode.md) 97 1. Use [llvm_mode](../instrumentation/README.llvm.md): afl-clang-lto (llvm >= 99 2. Use [persistent mode](../instrumentation/README.persistent_mode.md) (x2-x20 102 [instrumentation/README.instrument_list.md](../instrumentation/README.instrument_list.md). 141 `PCGUARD` and `afl-clang-lto` `LTO` instrumentation. 151 `instrumentation/afl-llvm-rt.o.c` to write a backtrace to a file if the 161 c) In other instrumentation types, this is not possible. So just recompile [all …]
|
/external/python/mobly/docs/ |
D | instrumentation_tutorial.md | 1 # Running Android instrumentation tests with Mobly 4 instrumentation tests. For more details about instrumentation tests, please refer to 13 * Your instrumentation and applications apks for installing. 24 * The instrumentation apk : `instrumentation_test.apk` 25 * The instrumentation test package : `com.example.package.test` 27 ## Example 1: Running Instrumentation Tests 30 instrumentation test class and run against your package. 70 The output from normally running your instrumentation tests along with a summary 73 ## Example 2: Specifying Instrumentation Options 75 If your instrumentation tests use instrumentation options for controlling [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | IceInstrumentation.h | 1 //===- subzero/src/IceInstrumentation.h - ICE instrumentation ---*- C++ -*-===// 11 /// \brief Declares the Ice::Instrumentation class. 13 /// Instrumentation is an abstract class used to drive the instrumentation 16 /// Cfg. Although Instrumentation is an abstract class, each of its virtual 20 /// If instrumentation is required by the command line arguments, a single 21 /// Instrumentation subclass is instantiated and installed in the 22 /// GlobalContext. If multiple types of instrumentation are requested, a single 23 /// subclass is still responsible for driving the instrumentation, but it can 24 /// use other Instrumentation subclasses however it needs to. 39 class Instrumentation { [all …]
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | Experiment.java | 21 import com.google.caliper.runner.Instrument.Instrumentation; 35 private final Instrumentation instrumentation; field in Experiment 40 Instrumentation instrumentation, in Experiment() argument 43 this.instrumentation = checkNotNull(instrumentation); in Experiment() 48 Instrumentation instrumentation() { in instrumentation() method in Experiment 49 return instrumentation; in instrumentation() 63 return this.instrumentation.equals(that.instrumentation) in equals() 71 return Objects.hashCode(instrumentation, vm, userParameters); in hashCode() 76 .add("instrument", instrumentation.instrument()) in toString() 77 .add("benchmarkMethod", instrumentation.benchmarkMethod.getName()) in toString()
|
/external/angle/build/android/incremental_install/java/org/chromium/incrementalinstall/ |
D | BootstrapApplication.java | 9 import android.app.Instrumentation; 38 "incremental-install-instrumentation-0"; 40 "incremental-install-instrumentation-1"; 46 private Instrumentation mOrigInstrumentation; 47 private Instrumentation mRealInstrumentation; 62 (Instrumentation) Reflect.getField(mActivityThread, "mInstrumentation"); in attachBaseContext() 68 // When running with an instrumentation that lives in a different package from the in attachBaseContext() 70 // This logic likely won't work when the instrumentation is incremental, but the app is in attachBaseContext() 143 // instrumentation is active. in attachBaseContext() 152 Log.i(TAG, "No instrumentation active."); in attachBaseContext() [all …]
|
/external/cronet/stable/build/android/incremental_install/java/org/chromium/incrementalinstall/ |
D | BootstrapApplication.java | 9 import android.app.Instrumentation; 38 "incremental-install-instrumentation-0"; 40 "incremental-install-instrumentation-1"; 46 private Instrumentation mOrigInstrumentation; 47 private Instrumentation mRealInstrumentation; 62 (Instrumentation) Reflect.getField(mActivityThread, "mInstrumentation"); in attachBaseContext() 68 // When running with an instrumentation that lives in a different package from the in attachBaseContext() 70 // This logic likely won't work when the instrumentation is incremental, but the app is in attachBaseContext() 143 // instrumentation is active. in attachBaseContext() 152 Log.i(TAG, "No instrumentation active."); in attachBaseContext() [all …]
|
/external/cronet/tot/build/android/incremental_install/java/org/chromium/incrementalinstall/ |
D | BootstrapApplication.java | 9 import android.app.Instrumentation; 38 "incremental-install-instrumentation-0"; 40 "incremental-install-instrumentation-1"; 46 private Instrumentation mOrigInstrumentation; 47 private Instrumentation mRealInstrumentation; 62 (Instrumentation) Reflect.getField(mActivityThread, "mInstrumentation"); in attachBaseContext() 68 // When running with an instrumentation that lives in a different package from the in attachBaseContext() 70 // This logic likely won't work when the instrumentation is incremental, but the app is in attachBaseContext() 143 // instrumentation is active. in attachBaseContext() 152 Log.i(TAG, "No instrumentation active."); in attachBaseContext() [all …]
|
/external/jazzer-api/src/main/java/com/code_intelligence/jazzer/agent/ |
D | Agent.kt | 27 import java.lang.instrument.Instrumentation in <lambda>() 32 fun install(instrumentation: Instrumentation) { in <lambda>() 33 installInternal(instrumentation) in <lambda>() 37 instrumentation: Instrumentation, in installInternal() 70 // Disable GEP instrumentation by default as it appears to negatively affect fuzzing in installInternal() 71 // performance. Our current GEP instrumentation only reports constant indices, but even in installInternal() 76 println("WARN: Skipping unknown instrumentation type $it") in installInternal() 117 Hooks.appendHooksToBootstrapClassLoaderSearch(instrumentation, customHookNames.toSet()) in installInternal() 121 instrumentation, in installInternal() 135 val classesToRetransform = instrumentation.allLoadedClasses in installInternal() [all …]
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | _Activity_.java | 7 import android.app.Instrumentation; 35 Instrumentation instrumentation, in attach() argument 53 Instrumentation instrumentation, in attach() argument 72 Instrumentation instrumentation, in attach() argument 92 Instrumentation instrumentation, in attach() argument 113 Instrumentation instrumentation, in attach() argument 135 Instrumentation instrumentation, in attach() argument 158 Instrumentation instrumentation, in callAttach() argument 172 instrumentation, in callAttach() 188 instrumentation, in callAttach() [all …]
|
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/ |
D | AgentMain.java | 25 import io.opencensus.contrib.agent.instrumentation.Instrumenter; 26 import java.lang.instrument.Instrumentation; 45 …//github.com/census-instrumentation/instrumentation-java/tree/master/agent">https://github.com/cen… 58 * @param instrumentation the {@link Instrumentation} object provided by the JVM for instrumenting 64 public static void premain(String agentArgs, Instrumentation instrumentation) throws Exception { in premain() argument 65 checkNotNull(instrumentation, "instrumentation"); in premain() 72 instrumentation.appendToBootstrapClassLoaderSearch( in premain() 88 agentBuilder.installOn(instrumentation); in premain()
|
/external/AFLplusplus/ |
D | GNUmakefile.llvm | 1 # american fuzzy lop++ - LLVM instrumentation 268 -I ./include/ -I ./instrumentation/ \ 398 instrumentation/afl-common.o: ./src/afl-common.c 401 ./afl-cc: src/afl-cc.c instrumentation/afl-common.o 402 …$(CC) $(CLANG_CFL) $(CFLAGS) $(CPPFLAGS) $< instrumentation/afl-common.o -o $@ -DLLVM_MINOR=$(LLVM… 419 instrumentation/afl-llvm-common.o: instrumentation/afl-llvm-common.cc instrumentation/afl-llvm-comm… 422 ./afl-llvm-pass.so: instrumentation/afl-llvm-pass.so.cc instrumentation/afl-llvm-common.o | test_de… 424 $(info [!] N-gram branch coverage instrumentation is not available for llvm version $(LLVMVER)) 426 …ed -fno-rtti -fPIC -std=$(LLVM_STDCXX) -shared $< -o $@ $(CLANG_LFL) instrumentation/afl-llvm-comm… 428 ./SanitizerCoveragePCGUARD.so: instrumentation/SanitizerCoveragePCGUARD.so.cc instrumentation/afl-l… [all …]
|
/external/cronet/tot/build/android/pylib/instrumentation/ |
D | instrumentation_parser.py | 40 """An incremental parser for the output of Android instrumentation tests. 48 # do something with each instrumentation status 51 # do something with the final instrumentation result 57 instrumentation test (e.g. by |am instrument -r|). 64 """Iterate over statuses as they are produced by the instrumentation test. 67 A tuple (code, bundle) for each instrumentation status found in the 99 """Return the final instrumentation result. 102 A pair (code, bundle) with the final instrumentation result. The |code| 103 may be None if no instrumentation result was found in the output. 106 AssertionError if attempting to get the instrumentation result before [all …]
|
/external/angle/build/android/pylib/instrumentation/ |
D | instrumentation_parser.py | 40 """An incremental parser for the output of Android instrumentation tests. 48 # do something with each instrumentation status 51 # do something with the final instrumentation result 57 instrumentation test (e.g. by |am instrument -r|). 64 """Iterate over statuses as they are produced by the instrumentation test. 67 A tuple (code, bundle) for each instrumentation status found in the 99 """Return the final instrumentation result. 102 A pair (code, bundle) with the final instrumentation result. The |code| 103 may be None if no instrumentation result was found in the output. 106 AssertionError if attempting to get the instrumentation result before [all …]
|
/external/cronet/stable/build/android/pylib/instrumentation/ |
D | instrumentation_parser.py | 40 """An incremental parser for the output of Android instrumentation tests. 48 # do something with each instrumentation status 51 # do something with the final instrumentation result 57 instrumentation test (e.g. by |am instrument -r|). 64 """Iterate over statuses as they are produced by the instrumentation test. 67 A tuple (code, bundle) for each instrumentation status found in the 99 """Return the final instrumentation result. 102 A pair (code, bundle) with the final instrumentation result. The |code| 103 may be None if no instrumentation result was found in the output. 106 AssertionError if attempting to get the instrumentation result before [all …]
|
/external/llvm/include/llvm/Transforms/ |
D | Instrumentation.h | 1 //===- Transforms/Instrumentation.h - Instrumentation passes ----*- C++ -*-===// 10 // This file defines constructor functions for instrumentation passes. 39 /// Instrumentation passes often insert conditional checks into entry blocks. 50 // Insert GCOV profiling instrumentation 88 /// Options for the frontend instrumentation based profiling pass. 99 /// Insert frontend instrumentation based profiling. 103 // Insert AddressSanitizer (address sanity checking) instrumentation 110 // Insert MemorySanitizer instrumentation (detection of uninitialized reads) 113 // Insert ThreadSanitizer (race detection) instrumentation 116 // Insert DataFlowSanitizer (dynamic data flow analysis) instrumentation [all …]
|
/external/opencensus-java/ |
D | README.md | 5 …s Github repositories, except [census-instrumentation/opencensus-python](https://github.com/census… 7 > To help you gradually migrate your instrumentation to OpenTelemetry, bridges are available in Jav… 17 …opencensus-contrib-log-correlation-log4j2](https://github.com/census-instrumentation/opencensus-ja… 35 Please join [gitter](https://gitter.im/census-instrumentation/Lobby) for help or feedback on this 43 …n please see [Quickstart for Applications](https://github.com/census-instrumentation/opencensus-ja… 121 [here](https://github.com/census-instrumentation/opencensus-java/blob/master/examples/src/main/java… 195 setup exporters, and debugging [Z-Pages](https://github.com/census-instrumentation/opencensus-java/… 239 see this [link](https://github.com/census-instrumentation/opencensus-java/tree/master/contrib/zpage… 257 [travis-image]: https://travis-ci.org/census-instrumentation/opencensus-java.svg?branch=master 258 [travis-url]: https://travis-ci.org/census-instrumentation/opencensus-java [all …]
|
/external/ow2-asm/asm-commons/src/test/java/org/objectweb/asm/commons/ |
D | AdviceAdapterTest.java | 86 // After instrumentation, expect a before advice here, before instruction #2. in testAllMethods_simpleConstructor() 87 // After instrumentation, expect an after advice here, before instruction #2. in testAllMethods_simpleConstructor() 113 // After instrumentation, expect a before advice here, before instruction #7. in testAllMethods_constructorWithTwoSuperInitInTwoBranches() 118 // After instrumentation, expect a before advice here, before instruction #11. in testAllMethods_constructorWithTwoSuperInitInTwoBranches() 123 // After instrumentation, expect an after advice here, before instruction #15. in testAllMethods_constructorWithTwoSuperInitInTwoBranches() 155 // After instrumentation, expect a before advice here, before instruction #8. in testAllMethods_constructorWithTwoSuperInitInTwoSwitchBranches() 160 // After instrumentation, expect a before advice here, before instruction #12. in testAllMethods_constructorWithTwoSuperInitInTwoSwitchBranches() 166 // After instrumentation, expect an after advice here, before instruction #17. in testAllMethods_constructorWithTwoSuperInitInTwoSwitchBranches() 196 // After instrumentation, expect a before advice here, before instruction #5. in testAllMethods_constructorWithSuperInitsInNormalAndHandlerBranches() 202 // After instrumentation, expect a before advice here, before instruction #10. in testAllMethods_constructorWithSuperInitsInNormalAndHandlerBranches() [all …]
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
D | RuntimeInstrumentTest.java | 28 import com.google.caliper.runner.Instrument.Instrumentation; 80 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod); in createInstrumentation_macrobenchmark() local 81 assertEquals(benchmarkMethod, instrumentation.benchmarkMethod()); in createInstrumentation_macrobenchmark() 82 assertEquals(instrument, instrumentation.instrument()); in createInstrumentation_macrobenchmark() 83 assertEquals(MacrobenchmarkWorker.class, instrumentation.workerClass()); in createInstrumentation_macrobenchmark() 88 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod); in createInstrumentation_microbenchmark() local 89 assertEquals(benchmarkMethod, instrumentation.benchmarkMethod()); in createInstrumentation_microbenchmark() 90 assertEquals(instrument, instrumentation.instrument()); in createInstrumentation_microbenchmark() 91 assertEquals(RuntimeWorker.Micro.class, instrumentation.workerClass()); in createInstrumentation_microbenchmark() 96 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod); in createInstrumentation_picobenchmark() local [all …]
|
/external/javassist/src/main/javassist/util/ |
D | HotSwapAgent.java | 22 import java.lang.instrument.Instrumentation; 44 * {@code java.lang.instrument.Instrumentation}. For details 46 * see the {@code Instrumentation} interface. 81 private static Instrumentation instrumentation = null; field in HotSwapAgent 84 * Obtains the {@code Instrumentation} object. 88 public Instrumentation instrumentation() { return instrumentation; } in instrumentation() method in HotSwapAgent 93 public static void premain(String agentArgs, Instrumentation inst) throws Throwable { in premain() 100 public static void agentmain(String agentArgs, Instrumentation inst) throws Throwable { in agentmain() 104 instrumentation = inst; in agentmain() 130 instrumentation.redefineClasses(defs); in redefine() [all …]
|
/external/llvm/docs/HistoricalNotes/ |
D | 2003-06-25-Reoptimizer1.txt | 3 First-level instrumentation 6 We use opt to do Bytecode-to-bytecode instrumentation. Look at 8 no arguments and no return value. This instrumentation is designed to 15 instrumentation on the hot loop region (the instructions between the 20 Second-level instrumentation 23 We remove the first-level instrumentation by overwriting the CALL to 59 instrumentation, by making sure that the number of times we took an 78 with a time when we will next turn instrumentation back on for that 80 that off the prio. queue and turn instrumentation back on for that 90 optimized trace does not have instrumentation. The original code and [all …]
|
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/opencensus-proto/ |
D | README.md | 22 $ go get -u github.com/census-instrumentation/opencensus-proto 27 See [PR/132](https://github.com/census-instrumentation/opencensus-proto/pull/132) 47 [travis-image]: https://travis-ci.org/census-instrumentation/opencensus-proto.svg?branch=master 48 [travis-url]: https://travis-ci.org/census-instrumentation/opencensus-proto 51 [gitter-image]: https://badges.gitter.im/census-instrumentation/lobby.svg 52 [gitter-url]: https://gitter.im/census-instrumentation/lobby 55 [godoc-image]: https://godoc.org/github.com/census-instrumentation/opencensus-proto?status.svg 56 [godoc-url]: https://godoc.org/github.com/census-instrumentation/opencensus-proto 68 remote = "https://github.com/census-instrumentation/opencensus-proto", 77 urls = ["https://github.com/census-instrumentation/opencensus-proto/archive/master.zip"],
|