Home
last modified time | relevance | path

Searched refs:process (Results 1 – 20 of 20) sorted by relevance

/platform_testing/utils/shell-as/
Dexecute.cpp158 uint8_t ReadChildByte(const pid_t process, const uintptr_t address) { in ReadChildByte() argument
159 uintptr_t data = ptrace(PTRACE_PEEKDATA, process, address, nullptr); in ReadChildByte()
163 void WriteChildByte(const pid_t process, const uintptr_t address, in WriteChildByte() argument
168 uintptr_t data = ptrace(PTRACE_PEEKDATA, process, address, nullptr); in WriteChildByte()
170 ptrace(PTRACE_POKEDATA, process, address, data); in WriteChildByte()
173 void ReadChildMemory(const pid_t process, uintptr_t process_address, in ReadChildMemory() argument
176 *bytes = ReadChildByte(process, process_address); in ReadChildMemory()
180 void WriteChildMemory(const pid_t process, uintptr_t process_address, in WriteChildMemory() argument
183 WriteChildByte(process, process_address, *bytes); in WriteChildMemory()
202 bool ExecuteShellCode(const pid_t process, const uint8_t* shell_code, in ExecuteShellCode() argument
[all …]
DREADME.md4 security context. This can be useful for verifying the capabilities of a process
9 The security context can either be supplied explicitly, inferred from a process
13 context of the init process.
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/
DBinderCollectionHelperTest.java99 String process = "com.breel.wallpapers18"; in testParser_zeroCount() local
100 mHelper.addTrackedProcesses(process); in testParser_zeroCount()
103 assertTrue(result.get("binder_count_" + process) == 0); in testParser_zeroCount()
108 String process = "system"; in testParser_multiCount() local
109 mHelper.addTrackedProcesses(process); in testParser_multiCount()
112 assertTrue(result.get("binder_count_" + process) == 20); in testParser_multiCount()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DFilesystemUtil.java61 Process process = Runtime.getRuntime().exec(command); in saveProcessOutput()
62 pipe(process.getInputStream(), out); in saveProcessOutput()
66 process.waitFor(); in saveProcessOutput()
72 if (process.exitValue() != 0) { in saveProcessOutput()
/platform_testing/libraries/collectors-helper/simpleperf/src/com/android/helpers/
DSimpleperfHelper.java208 String process, Map<String, String> symbols, int testIterations) { in getMetrics() argument
223 String key = String.join("-", process, eventName); in getMetrics()
238 String key = String.join("-", process, matchedSymbol, eventName); in getMetrics()
274 public String getPID(String process) { in getPID() argument
276 return mUiDevice.executeShellCommand("pidof " + process).trim(); in getPID()
278 Log.e(LOG_TAG, "Could not resolve PID for " + process, e); in getPID()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/cpu-cluster-time/
DREADME.md3 These configs are used to pull the process user time and system time at the start and end of tests …
/platform_testing/libraries/flicker/collector/trace_config/
Dtrace_config.textproto40 # polled per-process memory counters and process/thread names.
43 # thread/process naming for ftrace data below.
/platform_testing/libraries/flicker/utils/test/trace_config/
Dtrace_config.textproto40 # polled per-process memory counters and process/thread names.
43 # thread/process naming for ftrace data below.
/platform_testing/libraries/flicker/test/trace_config/
Dtrace_config.textproto40 # polled per-process memory counters and process/thread names.
43 # thread/process naming for ftrace data below.
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DFreeMemHelper.java127 for (String process : cachedProcList) { in getMetrics()
128 Log.i(TAG, "Cached Process" + process); in getMetrics()
130 if ((match = matches(PID_PATTERN, process)) != null) { in getMetrics()
155 Log.i(TAG, "Cached process: " + process + " Private Dirty: " in getMetrics()
/platform_testing/libraries/screenshot/scripts/
Ddeviceless_converter.py68 def process(cfg: Config, successful: list[str], failed: list[str]): function
100 process(cfg, successful, failed)
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DSimpleperfListener.java163 for (String process : individualProcesses) { in onTestRunStart()
164 mProcessToPid.put(process, mSimpleperfHelper.getPID(process)); in onTestRunStart()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DCrashUtilsTest.java508 String process, in createCrashJson() argument
513 pid, tid, name, process, faultaddress, signal, abortMessage, ImmutableList.of()); in createCrashJson()
520 String process, in createCrashJson() argument
530 json.put(CrashUtils.PROCESS, process); in createCrashJson()
/platform_testing/libraries/flicker/
Dgradle.properties20 # Specifies the JVM arguments used for the daemon process.
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DCrashUtils.java236 String process = null; in addAllCrashes() local
252 process = pidtidNameMatcher.group(4).trim(); in addAllCrashes()
317 crash.put(PROCESS, process); in addAllCrashes()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DProcessUtil.java485 String process = matcher.group("name");
486 pidsOf(device, process)
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DSimpleperfListenerTest.java141 for (Map.Entry<String, String> process : processes.entrySet()) { in testSampleReport()
145 process, in testSampleReport()
/platform_testing/tests/bettertogether/betocq/
DReadMe.md35 and makes the debugging process more straightforward.
174 suspend the test snippet process.
/platform_testing/libraries/compatibility-common-util/tests/assets/
Dlogcat.txt187 05-04 21:59:23.695 9363 9363 I crash_dump64: performing dump of process 8373 (target tid = 8414)
360 …073c1e /system/lib64/libinputreader.so (android::MultiTouchInputMapper::process(android::RawEvent…
/platform_testing/libraries/sts-common-util/host-side/tests/res/
Dlogcat.txt190 05-04 21:59:23.695 9363 9363 I crash_dump64: performing dump of process 8373 (target tid = 8414)
364 …073c1e /system/lib64/libinputreader.so (android::MultiTouchInputMapper::process(android::RawEvent…
397 03-04 04:09:01.535 0 0 I init : Sending signal 9 to service 'qvrd' (pid 11980) process g…
398 03-04 04:09:01.536 0 0 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 1…