/art/tools/jvmti-agents/field-counts/ |
D | count-fields.py | 71 device = adb.device.get_device(out.serial) 73 device.root() 76 device.shell("setenforce 0".split()) 79 lib32 = device.shell("mktemp".split())[0].strip() 80 lib64 = device.shell("mktemp".split())[0].strip() 83 device.push(out.lib32, lib32) 86 device.push(out.lib64, lib64) 93 new_env["ANDROID_SERIAL"] = device.serial 94 p = subprocess.Popen([device.adb_path, "jdwp"], env=new_env, stdout=subprocess.PIPE) 102 device.shell("logcat -c".split()) [all …]
|
/art/tools/jvmti-agents/field-null-percent/ |
D | check-null-fields.py | 70 device = adb.device.get_device(out.serial) 72 device.root() 75 device.shell("setenforce 0".split()) 78 lib32 = device.shell("mktemp".split())[0].strip() 79 lib64 = device.shell("mktemp".split())[0].strip() 82 device.push(out.lib32, lib32) 85 device.push(out.lib64, lib64) 93 new_env["ANDROID_SERIAL"] = device.serial 94 p = subprocess.Popen([device.adb_path, "jdwp"], env=new_env, stdout=subprocess.PIPE) 102 device.shell("logcat -c".split()) [all …]
|
/art/tools/dexfuzz/src/dexfuzz/executors/ |
D | Executor.java | 40 protected Device device; field in Executor 45 Device device, boolean needsCleanCodeCache, boolean isBisectable) { in Executor() argument 57 this.device = device; in Executor() 78 return device.executeCommand(timeoutString + device.getExecutionShellPrefix() + command, in executeCommandWithTimeout() 108 commandBuilder.append("--boot-image=").append(device.getAndroidProductOut()); in verifyOnHost() 109 if (device.noBootImageAvailable()) { in verifyOnHost() 116 commandBuilder.append("--android-root=").append(device.getAndroidHostOut()).append(" "); in verifyOnHost() 120 ExecutionResult verificationResult = device.executeCommand(commandBuilder.toString(), true, in verifyOnHost() 149 device.executeCommand("rm output.oat", false); in verifyOnHost() 159 device.pushProgramToDevice(programName, testLocation); in prepareProgramForExecution() [all …]
|
D | ArmInterpreterExecutor.java | 23 public ArmInterpreterExecutor(BaseListener listener, Device device) { in ArmInterpreterExecutor() argument 24 super("ARM Interpreter", 30, listener, Architecture.ARM, device, in ArmInterpreterExecutor() 32 if (device.noBootImageAvailable()) { in constructCommand()
|
D | Arm64InterpreterExecutor.java | 23 public Arm64InterpreterExecutor(BaseListener listener, Device device) { in Arm64InterpreterExecutor() argument 24 super("ARM64 Interpreter", 30, listener, Architecture.ARM64, device, in Arm64InterpreterExecutor() 32 if (device.noBootImageAvailable()) { in constructCommand()
|
D | ArmOptimizingBackendExecutor.java | 23 public ArmOptimizingBackendExecutor(BaseListener listener, Device device) { in ArmOptimizingBackendExecutor() argument 24 super("ARM Optimizing Backend", 5, listener, Architecture.ARM, device, in ArmOptimizingBackendExecutor() 35 if (device.noBootImageAvailable()) { in constructCommand()
|
D | Arm64OptimizingBackendExecutor.java | 23 public Arm64OptimizingBackendExecutor(BaseListener listener, Device device) { in Arm64OptimizingBackendExecutor() argument 24 super("ARM64 Optimizing Backend", 5, listener, Architecture.ARM64, device, in Arm64OptimizingBackendExecutor() 35 if (device.noBootImageAvailable()) { in constructCommand()
|
D | X86InterpreterExecutor.java | 24 public X86InterpreterExecutor(BaseListener listener, Device device) { in X86InterpreterExecutor() argument 25 super("x86 Interpreter", 30, listener, Architecture.X86, device, in X86InterpreterExecutor() 34 commandBuilder.append(device.getHostExecutionFlags()).append(" "); in constructCommand()
|
D | X86OptimizingBackendExecutor.java | 24 public X86OptimizingBackendExecutor(BaseListener listener, Device device) { in X86OptimizingBackendExecutor() argument 25 super("x86 Optimizing Backend", 5, listener, Architecture.X86, device, in X86OptimizingBackendExecutor() 37 commandBuilder.append(device.getHostExecutionFlags()).append(" "); in constructCommand()
|
D | X86_64InterpreterExecutor.java | 23 public X86_64InterpreterExecutor(BaseListener listener, Device device) { in X86_64InterpreterExecutor() argument 24 super("x86_64 Interpreter", 30, listener, Architecture.X86_64, device, in X86_64InterpreterExecutor()
|
D | X86_64OptimizingBackendExecutor.java | 23 public X86_64OptimizingBackendExecutor(BaseListener listener, Device device) { in X86_64OptimizingBackendExecutor() argument 24 super("x86_64 Optimizing Backend", 5, listener, Architecture.X86_64, device, in X86_64OptimizingBackendExecutor()
|
/art/tools/ |
D | libcore_failures.txt | 28 modes: [device], 34 modes: [device], 41 777 all directories on path to socket (on device without su).", 43 modes: [device], 56 description: "Issue with incorrect device time (1970)", 58 modes: [device], 65 description: "Issue with incorrect device time (1970). Test assumes that DateTime.now() 68 modes: [device], 74 modes: [device], 88 modes: [device], [all …]
|
D | buildbot-vm.sh | 117 -device virtio-net-device,netdev=usernet \ 145 -device virtio-blk-device,drive=hd0 \ 146 -device virtio-net-device,netdev=usernet \
|
D | libcore_debug_failures.txt | 10 description: "Timeouts with device for debug builds.", 13 modes: [device],
|
/art/test/ |
D | README.chroot.md | 3 This file documents the use of a chroot environment in on-device testing of the 5 a locally built source tree on a device running (almost any) system image and 6 does not interfere with the Runtime installed in the device's system partition. 12 `/data/local` (e.g. `ART_TEST_CHROOT=/data/local/art-test-chroot`) on a device, 14 shell chroot $ART_TEST_CHROOT <command>` to execute commands on the device 20 system") running on the device. This has some benefits: 22 * no need to build and flash a whole device to do ART testing (or "overwriting" 28 functional Android Runtime is necessary to properly boot a device); 32 Note that using this chroot-based approach requires root access to the device 124 4. Clean up the device: [all …]
|
D | README.atest.md | 17 ### Running ART run-tests on device 24 You can run a specific ART run-test on device by passing its Soong module name 45 ### Running ART gtests on device 47 There are three ways to run ART gtests on device: 49 APEX on the device; 51 device); or 52 3. by setting up a `chroot` environment on the device, and "activating" the 56 device (either the original one, located in the "system" partition, or an 61 ART gtests on device, because of build- and link-related limitations (the ART 65 ### Running standalone ART gtests on device [all …]
|
/art/test/odsign/test-src/com/android/tests/odsign/ |
D | CompOsTestUtils.java | 24 import com.android.tradefed.device.DeviceNotAvailableException; 25 import com.android.tradefed.device.ITestDevice; 26 import com.android.tradefed.device.TestDevice; 51 public CompOsTestUtils(ITestDevice device) { in CompOsTestUtils() argument 52 mDevice = device; in CompOsTestUtils()
|
D | CompOsDenialHostTest.java | 24 import com.android.tradefed.device.DeviceNotAvailableException; 25 import com.android.tradefed.device.ITestDevice; 55 ITestDevice device = testInfo.getDevice(); in beforeClassWithDevice() local 57 CompOsTestUtils compOsTestUtils = new CompOsTestUtils(device); in beforeClassWithDevice()
|
/art/test/update-rollback/src/com/android/tests/apex/art/ |
D | BrokenArtApexUpdateRollbackHostTest.java | 23 import com.android.tradefed.device.ITestDevice; 114 public ApexUpdateLogcatEventParser(ITestDevice device) { in ApexUpdateLogcatEventParser() argument 115 super(device); in ApexUpdateLogcatEventParser() 122 public static ApexUpdateLogcatEventParser buildParser(ITestDevice device) { in buildParser() argument 123 ApexUpdateLogcatEventParser parser = new ApexUpdateLogcatEventParser(device); in buildParser()
|
/art/tools/bisection_search/ |
D | README.md | 29 If used in device mode, the command has to exec a dalvikvm instance. Bisection 40 [--64] [--device] [--device-serial DEVICE_SERIAL] 62 --device run on device 63 --device-serial DEVICE_SERIAL device serial number, implies --device
|
/art/tools/dexfuzz/ |
D | README | 18 ADB-connected Android device, and it will fuzz these seed files, and execute the 19 resulting new tests on the Android device. 24 DexFuzz can run its test programs on either an ADB-connected device, or a host-build of 27 Execution on an ADB-connected device 31 2. Make sure you have an Android device connected via ADB, that is capable of 37 5. Create a directory on your device that mutated test files can be pushed to and 40 your device using "adb devices -l". 56 Note that if you wanted to test both ARM and ARM64 on an ARM64 device, you can use 65 Add in --device=<device name, e.g. device:generic> if you want to specify a device. 66 Add in --execute-dir=<dir on device> if you want to specify an execution directory.
|
/art/tools/dexfuzz/src/dexfuzz/fuzzers/ |
D | Fuzzer.java | 114 private void addExecutorsForArchitecture(Device device, Class<? extends Executor> optimizing, in addExecutorsForArchitecture() argument 124 executors.add(constructor.newInstance(listener, device)); in addExecutorsForArchitecture() 129 executors.add(constructor.newInstance(listener, device)); in addExecutorsForArchitecture() 145 Device device = null; in addExecutors() local 147 device = new Device(); in addExecutors() 149 device = new Device(Options.deviceName, Options.noBootImage); in addExecutors() 153 addExecutorsForArchitecture(device, Arm64OptimizingBackendExecutor.class, in addExecutors() 158 addExecutorsForArchitecture(device, ArmOptimizingBackendExecutor.class, in addExecutors() 163 addExecutorsForArchitecture(device, X86_64OptimizingBackendExecutor.class, in addExecutors() 168 addExecutorsForArchitecture(device, X86OptimizingBackendExecutor.class, in addExecutors()
|
/art/tools/jfuzz/ |
D | run_jfuzz_test.py | 45 def GetExecutionModeRunner(dexer, debug_info, device, mode): argument 65 return TestRunnerArtIntOnTarget(dexer, debug_info, device) 67 return TestRunnerArtOptOnTarget(dexer, debug_info, device) 255 def __init__(self, dexer, debug_info, device, extra_args=None): argument 265 self._test_env = DeviceTestEnv('jfuzz_', specific_device=device) 269 self._device = device 298 def __init__(self, dexer, debug_info, device): argument 306 super().__init__(dexer, debug_info, device, ['-Xint']) 323 def __init__(self, dexer, debug_info, device): argument 331 super().__init__(dexer, debug_info, device, None) [all …]
|
/art/test/update-rollback/ |
D | Android.bp | 25 // Add this test to `device-tests` rather than `general-tests` to ensure 28 // with the Android platform used in the device-under-test. 29 test_suites: ["device-tests"],
|
/art/test/175-alloc-big-bignums/ |
D | info.txt | 10 to exhaust device memory, and kill off all processes on the device, including the
|