summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2021-03-29 22:55:06 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-29 22:55:06 +0000
commitdbebcc1af2bbb2118167b40d541823b267a3083e (patch)
treef9fc1055dcdf2de5defc5365dbaa192e945f52d6
parent5be905655a92a55c688fa06c73455b5cf94fb2b3 (diff)
parent70ecfbf0920969625b5a0e321d468d680f48c146 (diff)
downloadlibhidl-dbebcc1af2bbb2118167b40d541823b267a3083e.tar.gz
clarify getRawServiceInternal 'retry' docs am: e5f8f7c02c am: ec1e232221 am: 70ecfbf092
Original change: https://android-review.googlesource.com/c/platform/system/libhidl/+/1656229 Change-Id: I77a45e3fecc2a80afc614a123378009f7116baf6
-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