Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3772ded0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update Contexthub HAL 1.0 doc format"

parents 9fcb3589 60016028
Loading
Loading
Loading
Loading
+10 −10
Original line number Original line Diff line number Diff line
@@ -41,7 +41,7 @@ interface IContexthub {
     * registration.
     * registration.
     *
     *
     * @param hubId    identifier for the hub
     * @param hubId    identifier for the hub
     *        callback an implementation of the IContextHubCallbacks
     * @param callback an implementation of the IContextHubCallbacks
     *
     *
     * @return result OK on success
     * @return result OK on success
     *                BAD_VALUE if parameters are not sane
     *                BAD_VALUE if parameters are not sane
@@ -53,7 +53,7 @@ interface IContexthub {
     * Send a message to a hub
     * Send a message to a hub
     *
     *
     * @param hubId identifier for hub to send message to
     * @param hubId identifier for hub to send message to
     *        msg   message to be sent
     * @param msg   message to be sent
     *
     *
     * @return result OK if successful, error code otherwise
     * @return result OK if successful, error code otherwise
     *                BAD_VALUE if parameters are not sane
     *                BAD_VALUE if parameters are not sane
@@ -77,9 +77,9 @@ interface IContexthub {
     * device.
     * device.
     *
     *
     * @param hubId identifer of the contextHub
     * @param hubId identifer of the contextHub
     *        appBinary contains the binary representation of the nanoApp, plus
     * @param appBinary contains the binary representation of the nanoApp, plus
     *                  metadata
     *                  metadata
     *        transactionId transactionId for this call
     * @param transactionId transactionId for this call
     *
     *
     * @return result OK if transation started
     * @return result OK if transation started
     *                BAD_VALUE if parameters are not sane
     *                BAD_VALUE if parameters are not sane
@@ -101,8 +101,8 @@ interface IContexthub {
     * Unloading a nanoapp must not take more than 5 seconds.
     * Unloading a nanoapp must not take more than 5 seconds.
     *
     *
     * @param hubId identifer of the contextHub
     * @param hubId identifer of the contextHub
     *        appId appIdentifier returned by the HAL
     * @param appId appIdentifier returned by the HAL
     *        msg   message to be sent
     * @param msg   message to be sent
     *
     *
     * @return result OK if transation started
     * @return result OK if transation started
     *                BAD_VALUE if parameters are not sane
     *                BAD_VALUE if parameters are not sane
@@ -122,8 +122,8 @@ interface IContexthub {
     * Enabling a nanoapp must not take more than 5 seconds.
     * Enabling a nanoapp must not take more than 5 seconds.
     *
     *
     * @param hubId identifer of the contextHub
     * @param hubId identifer of the contextHub
     *        appId appIdentifier returned by the HAL
     * @param appId appIdentifier returned by the HAL
     *        msg   message to be sent
     * @param msg   message to be sent
     *
     *
     * @return result OK if transation started
     * @return result OK if transation started
     *                BAD_VALUE if parameters are not sane
     *                BAD_VALUE if parameters are not sane
@@ -143,8 +143,8 @@ interface IContexthub {
     * Disabling a nanoapp must not take more than 5 seconds.
     * Disabling a nanoapp must not take more than 5 seconds.
     *
     *
     * @param hubId identifer of the contextHub
     * @param hubId identifer of the contextHub
     *        appId appIdentifier returned by the HAL
     * @param appId appIdentifier returned by the HAL
     *        msg   message to be sent
     * @param msg   message to be sent
     *
     *
     * @return result OK if transation started
     * @return result OK if transation started
     *                BAD_VALUE if parameters are not sane
     *                BAD_VALUE if parameters are not sane
+12 −13
Original line number Original line Diff line number Diff line
@@ -22,7 +22,7 @@ interface IContexthubCallback {
     * implementation to allow the HAL to send asynchronous messages back
     * implementation to allow the HAL to send asynchronous messages back
     * to the service and registered clients of the ContextHub service.
     * to the service and registered clients of the ContextHub service.
     *
     *
     * @params msg : message
     * @param msg message being sent from the contexthub
     *
     *
     */
     */
     handleClientMsg(ContextHubMsg msg);
     handleClientMsg(ContextHubMsg msg);
@@ -32,9 +32,9 @@ interface IContexthubCallback {
     * implementation to allow the HAL to send the response for a
     * implementation to allow the HAL to send the response for a
     * transaction.
     * transaction.
     *
     *
     * @params txnId : transaction id whose result is being sent
     * @param txnId transaction id whose result is being sent
     *              passed in by the service at start of transacation.
     *              passed in by the service at start of transacation.
     *         result: result of transaction.
     * @param result result of transaction.
     *
     *
     */
     */
     handleTxnResult(uint32_t txnId, TransactionResult result);
     handleTxnResult(uint32_t txnId, TransactionResult result);
@@ -44,7 +44,7 @@ interface IContexthubCallback {
     * implementation to allow the HAL to send an asynchronous event
     * implementation to allow the HAL to send an asynchronous event
     * to the ContextHub service.
     * to the ContextHub service.
     *
     *
     * @params msg : message
     * @param evt event being sent from the contexthub
     *
     *
     */
     */
     handleHubEvent(AsyncEventType evt);
     handleHubEvent(AsyncEventType evt);
@@ -55,8 +55,8 @@ interface IContexthubCallback {
     * that a nanp-app has aborted.
     * that a nanp-app has aborted.
     * This method must be called when a nanoapp invokes chreAbort(...)).
     * This method must be called when a nanoapp invokes chreAbort(...)).
     *
     *
     * @params appId : app identifier
     * @param appId app identifier
     *               : abortCode code passed by the nanoApp.
     * @param abortCode code passed by the nanoApp.
     *
     *
     * Also see chreAbort(...)
     * Also see chreAbort(...)
     *
     *
@@ -68,12 +68,11 @@ interface IContexthubCallback {
      * implementation to allow the HAL to send information about the
      * implementation to allow the HAL to send information about the
      * currently loaded and active nanoapps on the hub.
      * currently loaded and active nanoapps on the hub.
      *
      *
      * @params appInfo : vector of HubAppinfo structure for each nanoApp
      * @param appInfo vector of HubAppinfo structure for each nanoApp on the
      *                   on the hub that can be enabled, disabled and
      *                hub that can be enabled, disabled and unloaded by the
      *                   unloaded by the service. Any nanoApps that cannot
      *                service. Any nanoApps that cannot be controlled by the
      *                   be controlled by the service must not be reported.
      *                service must not be reported. All nanoApps that can be
      *                   All nanoApps that can be controlled by the service
      *                controlled by the service must be reported.
      *                   must be reported.
      */
      */
      handleAppsInfo(vec<HubAppInfo> appInfo);
      handleAppsInfo(vec<HubAppInfo> appInfo);
};
};
+2 −0
Original line number Original line Diff line number Diff line
@@ -767,6 +767,8 @@ a64467bae843569f0d465c5be7f0c7a5b987985b55a3ef4794dd5afc68538650 android.hardwar
98592d193a717066facf91428426e5abe211e3bd718bc372e29fb944ddbe6e7c android.hardware.wifi.supplicant@1.3::types
98592d193a717066facf91428426e5abe211e3bd718bc372e29fb944ddbe6e7c android.hardware.wifi.supplicant@1.3::types


# ABI preserving changes to HALs during Android S
# ABI preserving changes to HALs during Android S
e042522daa4b5f7fd4a0a19bcdadb93c79a1b04c09ef2c9813a3a8941032f3f5 android.hardware.contexthub@1.0::IContexthub
c2f64133b83ede65c9939ef97ab5bd867b73faf3dba0e7e69f77c3c43d9e487e android.hardware.contexthub@1.0::IContexthubCallback
1ca372cd67d197df099e87616a613ba6ede6552638a603e18f86c8834302c3d1 android.hardware.gnss@1.0::IGnssMeasurementCallback
1ca372cd67d197df099e87616a613ba6ede6552638a603e18f86c8834302c3d1 android.hardware.gnss@1.0::IGnssMeasurementCallback
6a271e493907e8ba20912e42771bd0d99ae45431a851d5675ef9496d02510a34 android.hardware.gnss@1.1::IGnssMeasurementCallback
6a271e493907e8ba20912e42771bd0d99ae45431a851d5675ef9496d02510a34 android.hardware.gnss@1.1::IGnssMeasurementCallback
2c331a9605f3a08d9c1e0a36169ca57758bc43c11a78ef3f3730509885e52c15 android.hardware.graphics.composer@2.4::IComposerClient
2c331a9605f3a08d9c1e0a36169ca57758bc43c11a78ef3f3730509885e52c15 android.hardware.graphics.composer@2.4::IComposerClient