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

Commit 3a6cbf9a authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Adds documentation for a test echo endpoint service" into main

parents a7847e3d 39087718
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -16,6 +16,17 @@

package android.hardware.contexthub;

/**
 * Services that are provided by an endpoint.
 *
 * To support testing, the following service is defined here:
 *  1. Test echo service:
 *     - This service responds to a received message back to the sender with a
 *       message with identical content as the received message.
 *     - Format:                Service::RpcFormat::CUSTOM
 *     - Service descriptor:    android.hardware.contexthub.test.EchoService
 *     - Major version:         1
 */
@VintfStability
parcelable Service {
    /**
+1 −1
Original line number Diff line number Diff line
@@ -245,7 +245,7 @@ ScopedAStatus ContextHub::getEndpoints(std::vector<EndpointInfo>* _aidl_return)

    Service echoService;
    echoService.format = Service::RpcFormat::CUSTOM;
    echoService.serviceDescriptor = "ECHO";
    echoService.serviceDescriptor = "android.hardware.contexthub.test.EchoService";
    echoService.majorVersion = 1;
    echoService.minorVersion = 0;