summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuy Truong <duytruong@google.com>2023-03-02 13:08:21 -0800
committerDuy Truong <duytruong@google.com>2023-03-02 13:15:39 -0800
commite691eedd36a3bff5d578a300e795535ecc4229d5 (patch)
tree1e2aa869676e47b56abd860f54a6d1f79adeaa4b
parent3b0ae35d3b82bb80ada4cdab12dbd7e1b55ee44d (diff)
downloadplatform_testing-e691eedd36a3bff5d578a300e795535ecc4229d5.tar.gz
Update documentation for utilities to find files loaded by a process.
Bug: 271464692 Test: m sts Change-Id: Icfd0607020284ecd904bf5915698de11aab920d6
-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 fca00cd26..0f8841838 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
@@ -426,7 +428,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