summaryrefslogtreecommitdiff
path: root/light/aidl/default/main.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@google.com>2020-01-24 14:13:52 -0800
committerEnrico Granata <egranata@google.com>2020-02-03 14:01:37 -0800
commitc44909ded80bbc1bc0517043de668bd3a254a13f (patch)
tree79e6e7592270b623f643e67bd8ef3b585d6e5e42 /light/aidl/default/main.cpp
parent6154258cae5a3f57df687bb24f07c5402425d799 (diff)
Centralize creation and error handling for VsockServerInfo
Provide helper functions that create VsockServerInfo objects from either the command line or the property storage, and have them return optional instead of relying on default values. Also, avoid atoi() since it has the potential for undefined behavior. Test: build Change-Id: I0aab6b7d84e5084580e25217ac5ba4f5a1db6e2a
Diffstat (limited to 'light/aidl/default/main.cpp')
0 files changed, 0 insertions, 0 deletions