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