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

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

Merge "Make all aidl callbacks oneway to avoid blocking binder threads" into main

parents 901acbcd f719ebc9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ import android.os.PersistableBundle;
 *
 * @hide
 */
interface IDownloadCallback {
oneway interface IDownloadCallback {
  void onDownloadStarted(long bytesToDownload) = 1;
  void onDownloadProgress(long bytesDownloaded) = 2;
  void onDownloadFailed(int failureStatus, String errorMessage, in PersistableBundle errorParams) = 3;
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ import android.os.PersistableBundle;
  *
  * @hide
  */
interface IFeatureCallback {
oneway interface IFeatureCallback {
    void onSuccess(in Feature result) = 1;
    void onFailure(int errorCode, in String errorMessage, in PersistableBundle errorParams) = 2;
}
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ import android.os.PersistableBundle;
  *
  * @hide
  */
interface IFeatureDetailsCallback {
oneway interface IFeatureDetailsCallback {
    void onSuccess(in FeatureDetails result) = 1;
    void onFailure(int errorCode, in String errorMessage, in PersistableBundle errorParams) = 2;
}
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ import android.os.PersistableBundle;
  *
  * @hide
  */
interface IListFeaturesCallback {
oneway interface IListFeaturesCallback {
    void onSuccess(in List<Feature> result) = 1;
    void onFailure(int errorCode, in String errorMessage, in PersistableBundle errorParams) = 2;
}
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ import android.os.RemoteCallback;
  *
  * @hide
  */
interface IResponseCallback {
oneway interface IResponseCallback {
    void onSuccess(in Bundle resultBundle) = 1;
    void onFailure(int errorCode, in String errorMessage, in PersistableBundle errorParams) = 2;
    void onDataAugmentRequest(in Bundle processedContent, in RemoteCallback responseCallback) = 3;
Loading