diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-06-21 14:48:57 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-06-21 14:48:57 +0000 |
commit | 5d0d61d04be09c2d07494aa4e6a05ce7fd9ef436 (patch) | |
tree | f7819440046e4556adeb2aa7070035cb19c2b962 /libnos/include/nos/NuggetClientInterface.h | |
parent | 0b785820a0a0e12c006d9edd829080f5dff33f6f (diff) | |
parent | 42c9a8b6aaece2868a7f23c36278f7a51f856778 (diff) | |
download | generic-android12-mainline-extservices-release.tar.gz |
Snap for 7478067 from 42c9a8b6aaece2868a7f23c36278f7a51f856778 to mainline-extservices-releaseandroid-mainline-12.0.0_r9android-mainline-12.0.0_r87android-mainline-12.0.0_r72android-mainline-12.0.0_r44android-mainline-12.0.0_r27android-mainline-12.0.0_r117android-mainline-12.0.0_r102android12-mainline-extservices-release
Change-Id: Iafa06927a72554f94ee49fdf6f2def983fe97ae2
Diffstat (limited to 'libnos/include/nos/NuggetClientInterface.h')
-rw-r--r-- | libnos/include/nos/NuggetClientInterface.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libnos/include/nos/NuggetClientInterface.h b/libnos/include/nos/NuggetClientInterface.h index f7db0d1..8d78185 100644 --- a/libnos/include/nos/NuggetClientInterface.h +++ b/libnos/include/nos/NuggetClientInterface.h @@ -47,7 +47,7 @@ public: virtual bool IsOpen() const = 0; /** - * Call into and app running on Nugget. + * Call into an app running on Nugget. * * @param app_id The ID of the app to call. * @param arg Argument to pass to the app. @@ -58,6 +58,10 @@ public: virtual uint32_t CallApp(uint32_t appId, uint16_t arg, const std::vector<uint8_t>& request, std::vector<uint8_t>* response) = 0; + /** + * Reset the device. Use with caution; context may be lost. + */ + virtual uint32_t Reset() const = 0; }; } // namespace nos |