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

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

Merge "contexthub: IEndpointCallback should be oneway" into main

parents e43952db 96f8b978
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -34,11 +34,11 @@
package android.hardware.contexthub;
@VintfStability
interface IEndpointCallback {
  void onEndpointStarted(in android.hardware.contexthub.EndpointInfo[] endpointInfos);
  void onEndpointStopped(in android.hardware.contexthub.EndpointId[] endpointIds, android.hardware.contexthub.Reason reason);
  void onMessageReceived(int sessionId, in android.hardware.contexthub.Message msg);
  void onMessageDeliveryStatusReceived(int sessionId, in android.hardware.contexthub.MessageDeliveryStatus msgStatus);
  void onEndpointSessionOpenRequest(int sessionId, in android.hardware.contexthub.EndpointId destination, in android.hardware.contexthub.EndpointId initiator, in @nullable String serviceDescriptor);
  void onCloseEndpointSession(int sessionId, in android.hardware.contexthub.Reason reason);
  void onEndpointSessionOpenComplete(int sessionId);
  oneway void onEndpointStarted(in android.hardware.contexthub.EndpointInfo[] endpointInfos);
  oneway void onEndpointStopped(in android.hardware.contexthub.EndpointId[] endpointIds, android.hardware.contexthub.Reason reason);
  oneway void onMessageReceived(int sessionId, in android.hardware.contexthub.Message msg);
  oneway void onMessageDeliveryStatusReceived(int sessionId, in android.hardware.contexthub.MessageDeliveryStatus msgStatus);
  oneway void onEndpointSessionOpenRequest(int sessionId, in android.hardware.contexthub.EndpointId destination, in android.hardware.contexthub.EndpointId initiator, in @nullable String serviceDescriptor);
  oneway void onCloseEndpointSession(int sessionId, in android.hardware.contexthub.Reason reason);
  oneway void onEndpointSessionOpenComplete(int sessionId);
}
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ import android.hardware.contexthub.Reason;
import android.hardware.contexthub.Service;

@VintfStability
interface IEndpointCallback {
oneway interface IEndpointCallback {
    /**
     * Lifecycle event notification for endpoint starting from remote side. There is no need to
     * report already started endpoint prior to the registration of an EndpointLifecycleCallbacks