summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuy Truong <duytruong@google.com>2023-04-11 02:54:41 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-04-11 02:54:41 +0000
commit09599f1f8a4c036e8ec1d4f6d190b7035a1911d8 (patch)
treed89dbb791999a82975759b8decfc084fcbc53197
parentdd1b8f2a3f94aa216ecd198dfa9973af51510b62 (diff)
parentd3c43303bcf0f86e5c200beea55f8f394cd88fe3 (diff)
downloadplatform_testing-09599f1f8a4c036e8ec1d4f6d190b7035a1911d8.tar.gz
Merge "Update documentation for utilities to find files loaded by a process." into rvc-dev am: 91bd44c678 am: 0451dc6e6e am: d3c43303bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/platform_testing/+/21727300 Change-Id: I51d40fa9bc4b3c09848fa939e0e80df8e704d6e2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--libraries/sts-common-util/host-side/src/com/android/sts/common/ProcessUtil.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/sts-common-util/host-side/src/com/android/sts/common/ProcessUtil.java b/libraries/sts-common-util/host-side/src/com/android/sts/common/ProcessUtil.java
index 55f47ac77..87551a658 100644
--- a/libraries/sts-common-util/host-side/src/com/android/sts/common/ProcessUtil.java
+++ b/libraries/sts-common-util/host-side/src/com/android/sts/common/ProcessUtil.java
@@ -375,7 +375,8 @@ public final class ProcessUtil {
}
/**
- * Returns the currently open file names of the specified process.
+ * Returns the currently open file names of the specified process. This does not include shared
+ * libraries linked by the linker.
*
* @param device device to be run on
* @param pid the id of the process to search
@@ -403,7 +404,8 @@ public final class ProcessUtil {
}
/**
- * Returns file names of the specified file, loaded by the specified process.
+ * Returns file names of the specified file, loaded by the specified process. This does not
+ * include shared libraries linked.
*
* @param device device to be run on
* @param pid the id of the process to search
@@ -425,7 +427,8 @@ public final class ProcessUtil {
}
/**
- * Returns file entry of the first file loaded by the specified process with specified name
+ * Returns file entry of the first file loaded by the specified process with specified name.
+ * This includes shared libraries linked.
*
* @param device device to be run on
* @param process pgrep pattern of process to look for