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

Commit 2ca2a529 authored by Roshan Pius's avatar Roshan Pius
Browse files

supplicant(interface): Remove redundant callbacks

The information broadcast via these callbacks are already available via
other callbacks.

1. All of the onProvisionDiscovery* callback data can be retrieved via the
|onProvisionDiscoveryCompleted| callback.
2. OnAssociated & onConnected callbacks data can retrieved via the
onStateChanges callback.

Bug: 34221586
Test: ./hardware/interfaces/update-makefiles.sh

Change-Id: Ieee26013dfda7a9be41a80e98ff1537da16b3466
parent 742bb977
Loading
Loading
Loading
Loading
+0 −37
Original line number Diff line number Diff line
@@ -194,43 +194,6 @@ interface ISupplicantP2pIfaceCallback {
   */
  oneway onInvitationResult(Bssid bssid, P2pStatusCode status);

  /**
   * Used to indicate a push-button request generated during provision discovery.
   *
   * @param p2pDeviceAddress P2P device address.
   */
  oneway onProvisionDiscoveryPbcRequest(MacAddress p2pDeviceAddress);

  /**
   * Used to indicate a push-button response generated during provision discovery.
   *
   * @param p2pDeviceAddress P2P device address.
   */
  oneway onProvisionDiscoveryPbcResponse(MacAddress p2pDeviceAddress);

  /**
   * Used to indicate the pin generated during provision discovery.
   *
   * @param p2pDeviceAddress P2P device address.
   * @param generatedPin 8 digit pin generated.
   */
  oneway onProvisionDiscoveryShowPin(
      MacAddress p2pDeviceAddress, string generatedPin);

  /**
   * Used to indicate that a pin needs to be entered during provision discovery.
   *
   * @param p2pDeviceAddress P2P device address.
   */
  oneway onProvisionDiscoveryEnterPin(MacAddress p2pDeviceAddress);

  /**
   * Used to indicate a provision discovery failure.
   *
   * @param p2pDeviceAddress P2P device address.
   */
  oneway onProvisionDiscoveryFailure(MacAddress p2pDeviceAddress);

  /**
   * Used to indicate the completion of a P2P provision discovery request.
   *
+0 −14
Original line number Diff line number Diff line
@@ -256,13 +256,6 @@ interface ISupplicantStaIfaceCallback {
                                    uint32_t reAuthDelayInSec,
                                    string url);

  /**
   * Used to indicate the connection to a new network on this iface.
   *
   * @param bssid BSSID of the AP to which we connected.
   */
  oneway onConnected(Bssid bssid);

  /**
   * Used to indicate the disconnection from the currently connected
   * network on this iface.
@@ -276,13 +269,6 @@ interface ISupplicantStaIfaceCallback {
  oneway onDisconnected(
          Bssid bssid, bool locallyGenerated, uint32_t reasonCode);

  /**
   * Used to indicate the completion of association to an AP.
   *
   * @param bssid BSSID of the corresponding AP.
   */
  oneway onAssociationCompleted(Bssid bssid);

  /**
   * Used to indicate an association rejection recieved from the AP
   * to which the connection is being attempted.