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

Commit e5bd46e6 authored by Steven Moreland's avatar Steven Moreland
Browse files

Allow module libs to use VINTF AIDL (part II)

Allow parcelables to be compiled which report VINTF stability.

Bug: 161501127
Test: atest aidl_integration_test
Change-Id: Idc2acb28ac0475ee69385487c7ef619951f93516
parent 39e245b2
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -45,6 +45,11 @@ package android.os {
    method public final void markVintfStability();
    method public final void markVintfStability();
  }
  }


  public interface Parcelable {
    field public static final int PARCELABLE_STABILITY_LOCAL = 0; // 0x0
    field public static final int PARCELABLE_STABILITY_VINTF = 1; // 0x1
  }

  public class StatsFrameworkInitializer {
  public class StatsFrameworkInitializer {
    method public static void registerServiceWrappers();
    method public static void registerServiceWrappers();
    method public static void setStatsServiceManager(@NonNull android.os.StatsServiceManager);
    method public static void setStatsServiceManager(@NonNull android.os.StatsServiceManager);
+3 −0
Original line number Original line Diff line number Diff line
@@ -17,6 +17,7 @@
package android.os;
package android.os;


import android.annotation.IntDef;
import android.annotation.IntDef;
import android.annotation.SystemApi;


import java.lang.annotation.Retention;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.RetentionPolicy;
@@ -119,6 +120,7 @@ public interface Parcelable {
     * @see ParcelableHolder
     * @see ParcelableHolder
     * @hide
     * @hide
     */
     */
    @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
    public static final int PARCELABLE_STABILITY_LOCAL = 0x0000;
    public static final int PARCELABLE_STABILITY_LOCAL = 0x0000;
    /**
    /**
     * Something that is meant to be used between system and vendor.
     * Something that is meant to be used between system and vendor.
@@ -126,6 +128,7 @@ public interface Parcelable {
     * @see ParcelableHolder
     * @see ParcelableHolder
     * @hide
     * @hide
     */
     */
    @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
    public static final int PARCELABLE_STABILITY_VINTF = 0x0001;
    public static final int PARCELABLE_STABILITY_VINTF = 0x0001;


    /**
    /**
+5 −0
Original line number Original line Diff line number Diff line
@@ -5,6 +5,11 @@ package android.os {
    method public final void markVintfStability();
    method public final void markVintfStability();
  }
  }


  public interface Parcelable {
    field public static final int PARCELABLE_STABILITY_LOCAL = 0; // 0x0
    field public static final int PARCELABLE_STABILITY_VINTF = 1; // 0x1
  }

  public class StatsServiceManager {
  public class StatsServiceManager {
    method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsCompanionServiceRegisterer();
    method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsCompanionServiceRegisterer();
    method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsManagerServiceRegisterer();
    method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsManagerServiceRegisterer();