summaryrefslogtreecommitdiff
path: root/transport
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2021-03-29 17:07:27 +0000
committerSteven Moreland <smoreland@google.com>2021-03-29 17:12:30 +0000
commite5f8f7c02c3744378a759143573b1e74f65ad32f (patch)
treef9fc1055dcdf2de5defc5365dbaa192e945f52d6 /transport
parent70260b5a12859fa81c5745ada5a65eceb3782ad1 (diff)
downloadlibhidl-e5f8f7c02c3744378a759143573b1e74f65ad32f.tar.gz
clarify getRawServiceInternal 'retry' docs
This will only retry for VINTF manifest services. Bug: 183154648 Test: N/A Change-Id: I9bdf2448ca8c4fe910c27539e0847156acb7bb6a
Diffstat (limited to 'transport')
-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