summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2021-03-29 22:04:21 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-29 22:04:21 +0000
commitec1e23222141e8fc738e7edbc6290f5d4bd42997 (patch)
treef9fc1055dcdf2de5defc5365dbaa192e945f52d6
parent70260b5a12859fa81c5745ada5a65eceb3782ad1 (diff)
parente5f8f7c02c3744378a759143573b1e74f65ad32f (diff)
downloadlibhidl-ec1e23222141e8fc738e7edbc6290f5d4bd42997.tar.gz
clarify getRawServiceInternal 'retry' docs am: e5f8f7c02c
Original change: https://android-review.googlesource.com/c/platform/system/libhidl/+/1656229 Change-Id: Ie5acec5527ff810e49697cfeb2167ba5c8865d86
-rw-r--r--transport/include/hidl/ServiceManagement.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/transport/include/hidl/ServiceManagement.h b/transport/include/hidl/ServiceManagement.h
index c8e8f6c..886e816 100644
--- a/transport/include/hidl/ServiceManagement.h
+++ b/transport/include/hidl/ServiceManagement.h
@@ -54,7 +54,10 @@ void setTrebleTestingOverride(bool testingOverride);
void preloadPassthroughService(const std::string &descriptor);
// Returns a service with the following constraints:
-// - retry => service is waited for and returned if available in this process
+// - retry => service is waited for and returned if it is declared in the
+// manifest AND it is available in this process (if errors indicate an
+// sepolicy denial, then this will return - TODO(b/28321379) more precise
+// errors to handle more cases)
// - getStub => internal only. Forces to get the unwrapped (no BsFoo) if available.
// TODO(b/65843592)
// If the service is a remote service, this function returns BpBase. If the service is