summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuy Truong <duytruong@google.com>2023-04-11 01:19:35 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2023-04-11 01:19:35 +0000
commit91bd44c6781b9f8d1d5fe7257ebfe54d06ac349a (patch)
treea3c83d2a49839d27f83f0e574a469c2e07646968
parent83236b4f91cb954fba79af1b2a681839a3c14c3d (diff)
parente691eedd36a3bff5d578a300e795535ecc4229d5 (diff)
downloadplatform_testing-91bd44c6781b9f8d1d5fe7257ebfe54d06ac349a.tar.gz
Merge "Update documentation for utilities to find files loaded by a process." into rvc-dev
-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