summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuy Truong <duytruong@google.com>2023-04-11 04:54:39 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-04-11 04:54:39 +0000
commit269382399ba658bb8a74f3cd051faf9a8e322956 (patch)
treeb8ba93be2dc9e5a9683792d7c414359bd3040d2b
parentc356139bb561403bf8574553a7dbc35e8aee4452 (diff)
parent5e3c93d5a8c6c1edb8327c9bbdbb5a0c37606fd0 (diff)
downloadplatform_testing-269382399ba658bb8a74f3cd051faf9a8e322956.tar.gz
Original change: https://googleplex-android-review.googlesource.com/c/platform/platform_testing/+/21727300 Change-Id: I14331ffd7524f4bbe02593d912ebdd3271679136 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