aboutsummaryrefslogtreecommitdiff
path: root/libnos/include/nos/NuggetClientInterface.h
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-06-21 14:48:57 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-06-21 14:48:57 +0000
commit5d0d61d04be09c2d07494aa4e6a05ce7fd9ef436 (patch)
treef7819440046e4556adeb2aa7070035cb19c2b962 /libnos/include/nos/NuggetClientInterface.h
parent0b785820a0a0e12c006d9edd829080f5dff33f6f (diff)
parent42c9a8b6aaece2868a7f23c36278f7a51f856778 (diff)
downloadgeneric-android12-mainline-extservices-release.tar.gz
Change-Id: Iafa06927a72554f94ee49fdf6f2def983fe97ae2
Diffstat (limited to 'libnos/include/nos/NuggetClientInterface.h')
-rw-r--r--libnos/include/nos/NuggetClientInterface.h6
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