Anton Hansson | 76d3db4 | 2020-04-09 14:16:37 +0100 | [diff] [blame] | 1 | // Signature format: 2.0 |
Nikita Ioffe | 89f7de1 | 2020-06-30 01:31:43 +0100 | [diff] [blame] | 2 | package android.app { |
| 3 | |
| 4 | public class AppOpsManager { |
| 5 | field public static final String OPSTR_NO_ISOLATED_STORAGE = "android:no_isolated_storage"; |
| 6 | } |
| 7 | |
Jin Seok Park | e1f4d51 | 2020-07-14 21:15:44 +0900 | [diff] [blame] | 8 | public class NotificationManager { |
| 9 | method public boolean hasEnabledNotificationListener(@NonNull String, @NonNull android.os.UserHandle); |
Jin Seok Park | 643f3e4 | 2020-07-29 17:21:36 +0900 | [diff] [blame] | 10 | field public static final String ACTION_NOTIFICATION_LISTENER_ENABLED_CHANGED = "android.app.action.NOTIFICATION_LISTENER_ENABLED_CHANGED"; |
Jin Seok Park | e1f4d51 | 2020-07-14 21:15:44 +0900 | [diff] [blame] | 11 | } |
| 12 | |
Nikita Ioffe | 89f7de1 | 2020-06-30 01:31:43 +0100 | [diff] [blame] | 13 | } |
| 14 | |
Anton Hansson | 76d3db4 | 2020-04-09 14:16:37 +0100 | [diff] [blame] | 15 | package android.content.rollback { |
| 16 | |
| 17 | public class RollbackManagerFrameworkInitializer { |
| 18 | method public static void initialize(); |
| 19 | } |
| 20 | |
| 21 | } |
| 22 | |
| 23 | package android.graphics { |
| 24 | |
| 25 | public final class Compatibility { |
| 26 | method public static void setTargetSdkVersion(int); |
| 27 | } |
| 28 | |
| 29 | public final class ImageDecoder implements java.lang.AutoCloseable { |
| 30 | method @AnyThread @NonNull public static android.graphics.ImageDecoder.Source createSource(@NonNull android.content.ContentResolver, @NonNull android.net.Uri, @Nullable android.content.res.Resources); |
| 31 | } |
| 32 | |
| 33 | } |
| 34 | |
Jin Seok Park | 4abc23e | 2020-07-30 22:28:50 +0900 | [diff] [blame] | 35 | package android.media { |
| 36 | |
| 37 | public class AudioManager { |
Jin Seok Park | 16aeba38 | 2020-08-06 12:52:54 +0900 | [diff] [blame^] | 38 | method public void adjustStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); |
| 39 | method public void adjustSuggestedStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); |
| 40 | method public void setStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); |
Jin Seok Park | 4abc23e | 2020-07-30 22:28:50 +0900 | [diff] [blame] | 41 | field public static final int FLAG_FROM_KEY = 4096; // 0x1000 |
| 42 | } |
| 43 | |
| 44 | } |
| 45 | |
Kyunglyul Hyun | c9857cf | 2020-08-03 11:39:45 +0900 | [diff] [blame] | 46 | package android.media.session { |
| 47 | |
Hyundo Moon | fc7d49f | 2020-09-03 11:48:11 +0900 | [diff] [blame] | 48 | public static final class MediaController.PlaybackInfo implements android.os.Parcelable { |
| 49 | ctor public MediaController.PlaybackInfo(int, int, @IntRange(from=0) int, @IntRange(from=0) int, @NonNull android.media.AudioAttributes, @Nullable String); |
| 50 | } |
| 51 | |
Kyunglyul Hyun | c9857cf | 2020-08-03 11:39:45 +0900 | [diff] [blame] | 52 | public final class MediaSession { |
| 53 | field public static final int FLAG_EXCLUSIVE_GLOBAL_PRIORITY = 65536; // 0x10000 |
| 54 | } |
| 55 | |
Jin Seok Park | a729a81 | 2020-08-07 12:48:32 +0900 | [diff] [blame] | 56 | public final class MediaSessionManager { |
| 57 | method public void dispatchMediaKeyEventAsSystemService(@NonNull android.view.KeyEvent); |
| 58 | method public boolean dispatchMediaKeyEventAsSystemService(@NonNull android.media.session.MediaSession.Token, @NonNull android.view.KeyEvent); |
| 59 | method public void dispatchVolumeKeyEventAsSystemService(@NonNull android.view.KeyEvent, int); |
| 60 | method public void dispatchVolumeKeyEventAsSystemService(@NonNull android.media.session.MediaSession.Token, @NonNull android.view.KeyEvent); |
| 61 | } |
| 62 | |
Kyunglyul Hyun | c9857cf | 2020-08-03 11:39:45 +0900 | [diff] [blame] | 63 | } |
| 64 | |
Anton Hansson | 76d3db4 | 2020-04-09 14:16:37 +0100 | [diff] [blame] | 65 | package android.os { |
| 66 | |
Steven Moreland | 95dd53b | 2020-07-23 21:22:18 +0000 | [diff] [blame] | 67 | public class Binder implements android.os.IBinder { |
| 68 | method public final void markVintfStability(); |
| 69 | } |
| 70 | |
Steven Moreland | e5bd46e | 2020-07-28 01:18:42 +0000 | [diff] [blame] | 71 | public interface Parcelable { |
Steven Moreland | 7542475 | 2020-08-05 19:42:15 +0000 | [diff] [blame] | 72 | method public default int getStability(); |
Steven Moreland | e5bd46e | 2020-07-28 01:18:42 +0000 | [diff] [blame] | 73 | field public static final int PARCELABLE_STABILITY_LOCAL = 0; // 0x0 |
| 74 | field public static final int PARCELABLE_STABILITY_VINTF = 1; // 0x1 |
| 75 | } |
| 76 | |
Anton Hansson | 76d3db4 | 2020-04-09 14:16:37 +0100 | [diff] [blame] | 77 | public class StatsServiceManager { |
| 78 | method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsCompanionServiceRegisterer(); |
| 79 | method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsManagerServiceRegisterer(); |
| 80 | method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsdServiceRegisterer(); |
| 81 | } |
| 82 | |
| 83 | public static class StatsServiceManager.ServiceNotFoundException extends java.lang.Exception { |
| 84 | ctor public StatsServiceManager.ServiceNotFoundException(@NonNull String); |
| 85 | } |
| 86 | |
| 87 | public static final class StatsServiceManager.ServiceRegisterer { |
| 88 | method @Nullable public android.os.IBinder get(); |
| 89 | method @Nullable public android.os.IBinder getOrThrow() throws android.os.StatsServiceManager.ServiceNotFoundException; |
| 90 | } |
| 91 | |
| 92 | } |
| 93 | |
Kweku Adams | 1e55861 | 2020-08-24 10:13:15 -0700 | [diff] [blame] | 94 | package android.provider { |
| 95 | |
| 96 | public final class DeviceConfig { |
| 97 | field public static final String NAMESPACE_DEVICE_IDLE = "device_idle"; |
| 98 | } |
| 99 | |
| 100 | } |
| 101 | |
Anton Hansson | 76d3db4 | 2020-04-09 14:16:37 +0100 | [diff] [blame] | 102 | package android.util { |
| 103 | |
| 104 | public class AtomicFile { |
| 105 | ctor public AtomicFile(@NonNull java.io.File, @Nullable android.util.SystemConfigFileCommitEventLogger); |
| 106 | } |
| 107 | |
| 108 | public final class Log { |
| 109 | method public static int logToRadioBuffer(int, @Nullable String, @Nullable String); |
| 110 | } |
| 111 | |
| 112 | public class SystemConfigFileCommitEventLogger { |
| 113 | ctor public SystemConfigFileCommitEventLogger(@NonNull String); |
| 114 | method public void setStartTime(long); |
| 115 | } |
| 116 | |
| 117 | } |
| 118 | |