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

Commit 63ef85b2 authored by Changyeon Jo's avatar Changyeon Jo
Browse files

Update EVS API descriptions

This CL adds comments to clarify the behavior of
IEvsCameraStrea.notify() when the service attempts to deliver an event,
which is originated from AIDL EVS HAL implementation, to the HIDL
recipients.

Bug: 241722031
Test: treehugger
Change-Id: If6648883f982a90ac30a1636258f896272326c3f
parent ed594900
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -33,7 +33,9 @@ parcelable EvsEventDesc {
    @utf8InCpp
    String deviceId;
    /**
     * Possible additional vendor information that is opaque to the EvsManager
     * Possible additional vendor information that is opaque to the EvsManager.
     * The size of the payload must not exceed 16-byte if the HIDL recipients are
     * expected to exist.
     */
    int[] payload;
}
+4 −1
Original line number Diff line number Diff line
@@ -47,7 +47,10 @@ oneway interface IEvsCameraStream {
    /**
     * Receives calls from the HAL each time an event happens.
     *
     * @param in event EVS event with possible event information.
     * @param in event EVS event with possible event information.  If ths HIDL
     *                 recipients are expected to exist, the size of the event
     *                 payload must not exceed 16 bytes; otherwise, a notification
     *                 will not reach them.
     */
    void notify(in EvsEventDesc event);
}