| // Signature format: 2.0 |
| package android.app { |
| |
| public class ActivityManager { |
| method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void addHomeVisibilityListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.HomeVisibilityListener); |
| method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void removeHomeVisibilityListener(@NonNull android.app.HomeVisibilityListener); |
| } |
| |
| public class AppOpsManager { |
| field public static final String OPSTR_NO_ISOLATED_STORAGE = "android:no_isolated_storage"; |
| } |
| |
| public abstract class HomeVisibilityListener { |
| ctor public HomeVisibilityListener(); |
| method public abstract void onHomeVisibilityChanged(boolean); |
| } |
| |
| public class NotificationManager { |
| method public boolean hasEnabledNotificationListener(@NonNull String, @NonNull android.os.UserHandle); |
| field public static final String ACTION_NOTIFICATION_LISTENER_ENABLED_CHANGED = "android.app.action.NOTIFICATION_LISTENER_ENABLED_CHANGED"; |
| } |
| |
| public class StatusBarManager { |
| method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setExpansionDisabledForSimNetworkLock(boolean); |
| } |
| |
| } |
| |
| package android.app.role { |
| |
| public final class RoleManager { |
| method @Nullable public String getSmsRoleHolder(int); |
| } |
| |
| } |
| |
| package android.content.rollback { |
| |
| public class RollbackManagerFrameworkInitializer { |
| method public static void initialize(); |
| } |
| |
| } |
| |
| package android.graphics { |
| |
| public final class Compatibility { |
| method public static void setTargetSdkVersion(int); |
| } |
| |
| public final class ImageDecoder implements java.lang.AutoCloseable { |
| method @AnyThread @NonNull public static android.graphics.ImageDecoder.Source createSource(@NonNull android.content.ContentResolver, @NonNull android.net.Uri, @Nullable android.content.res.Resources); |
| } |
| |
| } |
| |
| package android.media { |
| |
| public class AudioManager { |
| method public void adjustStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); |
| method public void adjustSuggestedStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); |
| method public void setStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); |
| field public static final int FLAG_FROM_KEY = 4096; // 0x1000 |
| } |
| |
| public class MediaMetadataRetriever implements java.lang.AutoCloseable { |
| field public static final int METADATA_KEY_VIDEO_CODEC_MIME_TYPE = 40; // 0x28 |
| } |
| |
| @Deprecated public final class MediaParceledListSlice<T extends android.os.Parcelable> implements android.os.Parcelable { |
| ctor @Deprecated public MediaParceledListSlice(@NonNull java.util.List<T>); |
| method @Deprecated public int describeContents(); |
| method @Deprecated @NonNull public static <T extends android.os.Parcelable> android.media.MediaParceledListSlice<T> emptyList(); |
| method @Deprecated public java.util.List<T> getList(); |
| method @Deprecated public void setInlineCountLimit(int); |
| method @Deprecated public void writeToParcel(android.os.Parcel, int); |
| field @Deprecated @NonNull public static final android.os.Parcelable.ClassLoaderCreator<android.media.MediaParceledListSlice> CREATOR; |
| } |
| |
| } |
| |
| package android.media.session { |
| |
| public static final class MediaController.PlaybackInfo implements android.os.Parcelable { |
| ctor public MediaController.PlaybackInfo(int, int, @IntRange(from=0) int, @IntRange(from=0) int, @NonNull android.media.AudioAttributes, @Nullable String); |
| } |
| |
| public final class MediaSession { |
| field public static final int FLAG_EXCLUSIVE_GLOBAL_PRIORITY = 65536; // 0x10000 |
| } |
| |
| public static final class MediaSession.Token implements android.os.Parcelable { |
| method public int getUid(); |
| } |
| |
| public final class MediaSessionManager { |
| method public void addOnActiveSessionsChangedListener(@NonNull android.media.session.MediaSessionManager.OnActiveSessionsChangedListener, @Nullable android.content.ComponentName, int, @Nullable android.os.Handler); |
| method public void dispatchMediaKeyEventAsSystemService(@NonNull android.view.KeyEvent); |
| method public boolean dispatchMediaKeyEventToSessionAsSystemService(@NonNull android.view.KeyEvent, @NonNull android.media.session.MediaSession.Token); |
| method public void dispatchVolumeKeyEventAsSystemService(@NonNull android.view.KeyEvent, int); |
| method public void dispatchVolumeKeyEventToSessionAsSystemService(@NonNull android.view.KeyEvent, @NonNull android.media.session.MediaSession.Token); |
| field public static final int RESULT_MEDIA_KEY_HANDLED = 1; // 0x1 |
| field public static final int RESULT_MEDIA_KEY_NOT_HANDLED = 0; // 0x0 |
| } |
| |
| } |
| |
| package android.net { |
| |
| public final class TetheringConstants { |
| field public static final String EXTRA_ADD_TETHER_TYPE = "extraAddTetherType"; |
| field public static final String EXTRA_PROVISION_CALLBACK = "extraProvisionCallback"; |
| field public static final String EXTRA_REM_TETHER_TYPE = "extraRemTetherType"; |
| field public static final String EXTRA_RUN_PROVISION = "extraRunProvision"; |
| field public static final String EXTRA_SET_ALARM = "extraSetAlarm"; |
| } |
| |
| public class TetheringManager { |
| ctor public TetheringManager(@NonNull android.content.Context, @NonNull java.util.function.Supplier<android.os.IBinder>); |
| method public int getLastTetherError(@NonNull String); |
| method @NonNull public String[] getTetherableBluetoothRegexs(); |
| method @NonNull public String[] getTetherableIfaces(); |
| method @NonNull public String[] getTetherableUsbRegexs(); |
| method @NonNull public String[] getTetherableWifiRegexs(); |
| method @NonNull public String[] getTetheredIfaces(); |
| method @NonNull public String[] getTetheringErroredIfaces(); |
| method public boolean isTetheringSupported(); |
| method public boolean isTetheringSupported(@NonNull String); |
| method public void requestLatestTetheringEntitlementResult(int, @NonNull android.os.ResultReceiver, boolean); |
| method @Deprecated public int setUsbTethering(boolean); |
| method @RequiresPermission(anyOf={android.Manifest.permission.TETHER_PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public void startTethering(int, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.StartTetheringCallback); |
| method @Deprecated public int tether(@NonNull String); |
| method @Deprecated public int untether(@NonNull String); |
| } |
| |
| public static interface TetheringManager.TetheringEventCallback { |
| method public default void onTetherableInterfaceRegexpsChanged(@NonNull android.net.TetheringManager.TetheringInterfaceRegexps); |
| } |
| |
| public static class TetheringManager.TetheringInterfaceRegexps { |
| method @NonNull public java.util.List<java.lang.String> getTetherableBluetoothRegexs(); |
| method @NonNull public java.util.List<java.lang.String> getTetherableUsbRegexs(); |
| method @NonNull public java.util.List<java.lang.String> getTetherableWifiRegexs(); |
| } |
| |
| } |
| |
| package android.os { |
| |
| public class Binder implements android.os.IBinder { |
| method public final void markVintfStability(); |
| } |
| |
| public interface Parcelable { |
| method public default int getStability(); |
| field public static final int PARCELABLE_STABILITY_LOCAL = 0; // 0x0 |
| field public static final int PARCELABLE_STABILITY_VINTF = 1; // 0x1 |
| } |
| |
| public class StatsFrameworkInitializer { |
| method public static void registerServiceWrappers(); |
| method public static void setStatsServiceManager(@NonNull android.os.StatsServiceManager); |
| } |
| |
| public class StatsServiceManager { |
| method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsCompanionServiceRegisterer(); |
| method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsManagerServiceRegisterer(); |
| method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsdServiceRegisterer(); |
| } |
| |
| public static class StatsServiceManager.ServiceNotFoundException extends java.lang.Exception { |
| ctor public StatsServiceManager.ServiceNotFoundException(@NonNull String); |
| } |
| |
| public static final class StatsServiceManager.ServiceRegisterer { |
| method @Nullable public android.os.IBinder get(); |
| method @Nullable public android.os.IBinder getOrThrow() throws android.os.StatsServiceManager.ServiceNotFoundException; |
| } |
| |
| } |
| |
| package android.provider { |
| |
| public final class DeviceConfig { |
| field public static final String NAMESPACE_ALARM_MANAGER = "alarm_manager"; |
| field public static final String NAMESPACE_DEVICE_IDLE = "device_idle"; |
| } |
| |
| } |
| |
| package android.util { |
| |
| public class AtomicFile { |
| ctor public AtomicFile(@NonNull java.io.File, @Nullable android.util.SystemConfigFileCommitEventLogger); |
| } |
| |
| public final class Log { |
| method public static int logToRadioBuffer(int, @Nullable String, @Nullable String); |
| } |
| |
| public class SystemConfigFileCommitEventLogger { |
| ctor public SystemConfigFileCommitEventLogger(@NonNull String); |
| method public void setStartTime(long); |
| } |
| |
| } |
| |