diff options
author | Duy Truong <duytruong@google.com> | 2023-04-11 03:52:04 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-04-11 03:52:04 +0000 |
commit | 0f306d70646e57faa90c7fb1bbe663bf7c4c67b8 (patch) | |
tree | 1b7c0640af2302a923a021f2d7aa6aa49b16dcd0 | |
parent | 5c7573c0bf14d04f31e36f3a43fd264e289c3f9d (diff) | |
parent | 687986e8cf76ad92c9d0cac44b9ec6279bfabf68 (diff) | |
download | platform_testing-0f306d70646e57faa90c7fb1bbe663bf7c4c67b8.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 am: 687986e8cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/platform_testing/+/21727300
Change-Id: I5ca6221b74f3cbbed4404246fe6553baa5a0f8c5
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.java | 9 |
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 |