summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuy Truong <duytruong@google.com>2023-04-11 03:25:05 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-04-11 03:25:05 +0000
commit687986e8cf76ad92c9d0cac44b9ec6279bfabf68 (patch)
treed33377d01bc1f73802f9ff7982942999e00042c2
parent5586fb1022f97f00191f3fe3e6d7b72277c27e4c (diff)
parent09599f1f8a4c036e8ec1d4f6d190b7035a1911d8 (diff)
downloadplatform_testing-687986e8cf76ad92c9d0cac44b9ec6279bfabf68.tar.gz
Merge "Update documentation for utilities to find files loaded by a process." into rvc-dev am: 91bd44c678 am: 0451dc6e6e am: d3c43303bc am: 09599f1f8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/platform_testing/+/21727300 Change-Id: I5e1efcb0b8d1ab56330bb7851cf88a9a1adb8f88 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