Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [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 { |
| 14 | method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setDisabledForSimNetworkLock(boolean); |
| 15 | } |
| 16 | |
Nikita Ioffe | 89f7de1 | 2020-06-30 01:31:43 +0100 | [diff] [blame] | 17 | } |
| 18 | |
Hall Liu | eb0af20 | 2020-09-24 13:56:54 -0700 | [diff] [blame^] | 19 | package android.app.role { |
| 20 | |
| 21 | public final class RoleManager { |
| 22 | method @Nullable public String getDefaultSmsPackage(int); |
| 23 | } |
| 24 | |
| 25 | } |
| 26 | |
JW Wang | 5ea50ff | 2020-02-27 15:25:09 +0800 | [diff] [blame] | 27 | package android.content.rollback { |
| 28 | |
| 29 | public class RollbackManagerFrameworkInitializer { |
| 30 | method public static void initialize(); |
| 31 | } |
| 32 | |
| 33 | } |
| 34 | |
Leon Scroggins III | 97eacc3 | 2020-03-24 15:38:35 -0400 | [diff] [blame] | 35 | package android.graphics { |
| 36 | |
Leon Scroggins III | 143dfef | 2020-03-30 14:03:37 -0400 | [diff] [blame] | 37 | public final class Compatibility { |
| 38 | method public static void setTargetSdkVersion(int); |
| 39 | } |
| 40 | |
Leon Scroggins III | 97eacc3 | 2020-03-24 15:38:35 -0400 | [diff] [blame] | 41 | public final class ImageDecoder implements java.lang.AutoCloseable { |
| 42 | method @AnyThread @NonNull public static android.graphics.ImageDecoder.Source createSource(@NonNull android.content.ContentResolver, @NonNull android.net.Uri, @Nullable android.content.res.Resources); |
| 43 | } |
| 44 | |
| 45 | } |
| 46 | |
Jin Seok Park | 4abc23e | 2020-07-30 22:28:50 +0900 | [diff] [blame] | 47 | package android.media { |
| 48 | |
| 49 | public class AudioManager { |
Jin Seok Park | 16aeba38 | 2020-08-06 12:52:54 +0900 | [diff] [blame] | 50 | method public void adjustStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); |
| 51 | method public void adjustSuggestedStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); |
| 52 | 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] | 53 | field public static final int FLAG_FROM_KEY = 4096; // 0x1000 |
| 54 | } |
| 55 | |
Hyundo Moon | c4ecd1d | 2020-09-07 13:42:37 +0900 | [diff] [blame] | 56 | public static final class MediaMetadata.Builder { |
| 57 | ctor public MediaMetadata.Builder(@NonNull android.media.MediaMetadata, @IntRange(from=1) int); |
| 58 | } |
| 59 | |
Jin Seok Park | 4abc23e | 2020-07-30 22:28:50 +0900 | [diff] [blame] | 60 | } |
| 61 | |
Kyunglyul Hyun | c9857cf | 2020-08-03 11:39:45 +0900 | [diff] [blame] | 62 | package android.media.session { |
| 63 | |
Hyundo Moon | fc7d49f | 2020-09-03 11:48:11 +0900 | [diff] [blame] | 64 | public static final class MediaController.PlaybackInfo implements android.os.Parcelable { |
| 65 | ctor public MediaController.PlaybackInfo(int, int, @IntRange(from=0) int, @IntRange(from=0) int, @NonNull android.media.AudioAttributes, @Nullable String); |
| 66 | } |
| 67 | |
Kyunglyul Hyun | c9857cf | 2020-08-03 11:39:45 +0900 | [diff] [blame] | 68 | public final class MediaSession { |
| 69 | field public static final int FLAG_EXCLUSIVE_GLOBAL_PRIORITY = 65536; // 0x10000 |
| 70 | } |
| 71 | |
Hyundo Moon | 672620b0 | 2020-09-10 07:23:09 +0900 | [diff] [blame] | 72 | public static final class MediaSession.Token implements android.os.Parcelable { |
| 73 | method public int getUid(); |
| 74 | } |
| 75 | |
Jin Seok Park | a729a81 | 2020-08-07 12:48:32 +0900 | [diff] [blame] | 76 | public final class MediaSessionManager { |
Jin Seok Park | 1d038a3 | 2020-09-11 15:52:07 +0900 | [diff] [blame] | 77 | method public void addOnActiveSessionsChangedListener(@NonNull android.media.session.MediaSessionManager.OnActiveSessionsChangedListener, @Nullable android.content.ComponentName, int, @Nullable android.os.Handler); |
Jin Seok Park | a729a81 | 2020-08-07 12:48:32 +0900 | [diff] [blame] | 78 | method public void dispatchMediaKeyEventAsSystemService(@NonNull android.view.KeyEvent); |
| 79 | method public boolean dispatchMediaKeyEventAsSystemService(@NonNull android.media.session.MediaSession.Token, @NonNull android.view.KeyEvent); |
| 80 | method public void dispatchVolumeKeyEventAsSystemService(@NonNull android.view.KeyEvent, int); |
| 81 | method public void dispatchVolumeKeyEventAsSystemService(@NonNull android.media.session.MediaSession.Token, @NonNull android.view.KeyEvent); |
Hyundo Moon | f8bedc9 | 2020-09-10 07:44:30 +0900 | [diff] [blame] | 82 | field public static final int RESULT_MEDIA_KEY_HANDLED = 1; // 0x1 |
| 83 | field public static final int RESULT_MEDIA_KEY_NOT_HANDLED = 0; // 0x0 |
Jin Seok Park | a729a81 | 2020-08-07 12:48:32 +0900 | [diff] [blame] | 84 | } |
| 85 | |
Kyunglyul Hyun | c9857cf | 2020-08-03 11:39:45 +0900 | [diff] [blame] | 86 | } |
| 87 | |
markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 88 | package android.net { |
| 89 | |
Automerger Merge Worker | 54a8599 | 2020-03-16 06:21:59 +0000 | [diff] [blame] | 90 | public final class TetheringConstants { |
markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 91 | field public static final String EXTRA_ADD_TETHER_TYPE = "extraAddTetherType"; |
| 92 | field public static final String EXTRA_PROVISION_CALLBACK = "extraProvisionCallback"; |
| 93 | field public static final String EXTRA_REM_TETHER_TYPE = "extraRemTetherType"; |
| 94 | field public static final String EXTRA_RUN_PROVISION = "extraRunProvision"; |
| 95 | field public static final String EXTRA_SET_ALARM = "extraSetAlarm"; |
| 96 | } |
| 97 | |
| 98 | public class TetheringManager { |
| 99 | ctor public TetheringManager(@NonNull android.content.Context, @NonNull java.util.function.Supplier<android.os.IBinder>); |
| 100 | method public int getLastTetherError(@NonNull String); |
| 101 | method @NonNull public String[] getTetherableBluetoothRegexs(); |
| 102 | method @NonNull public String[] getTetherableIfaces(); |
| 103 | method @NonNull public String[] getTetherableUsbRegexs(); |
| 104 | method @NonNull public String[] getTetherableWifiRegexs(); |
| 105 | method @NonNull public String[] getTetheredIfaces(); |
| 106 | method @NonNull public String[] getTetheringErroredIfaces(); |
| 107 | method public boolean isTetheringSupported(); |
Automerger Merge Worker | fcf74d1 | 2020-03-03 12:51:02 +0000 | [diff] [blame] | 108 | method public boolean isTetheringSupported(@NonNull String); |
markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 109 | method public void requestLatestTetheringEntitlementResult(int, @NonNull android.os.ResultReceiver, boolean); |
| 110 | method @Deprecated public int setUsbTethering(boolean); |
Makoto Onuki | 41ccbfb | 2020-07-10 12:05:21 -0700 | [diff] [blame] | 111 | 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); |
markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 112 | method @Deprecated public int tether(@NonNull String); |
markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 113 | method @Deprecated public int untether(@NonNull String); |
markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 114 | } |
| 115 | |
markchien | 62a625d | 2020-03-19 13:37:43 +0800 | [diff] [blame] | 116 | public static interface TetheringManager.TetheringEventCallback { |
markchien | 62a625d | 2020-03-19 13:37:43 +0800 | [diff] [blame] | 117 | method public default void onTetherableInterfaceRegexpsChanged(@NonNull android.net.TetheringManager.TetheringInterfaceRegexps); |
markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 118 | } |
| 119 | |
markchien | 62a625d | 2020-03-19 13:37:43 +0800 | [diff] [blame] | 120 | public static class TetheringManager.TetheringInterfaceRegexps { |
| 121 | method @NonNull public java.util.List<java.lang.String> getTetherableBluetoothRegexs(); |
| 122 | method @NonNull public java.util.List<java.lang.String> getTetherableUsbRegexs(); |
| 123 | method @NonNull public java.util.List<java.lang.String> getTetherableWifiRegexs(); |
markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 124 | } |
| 125 | |
markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 126 | } |
| 127 | |
Makoto Onuki | 553df30 | 2020-02-06 14:35:52 -0800 | [diff] [blame] | 128 | package android.os { |
| 129 | |
Steven Moreland | 95dd53b | 2020-07-23 21:22:18 +0000 | [diff] [blame] | 130 | public class Binder implements android.os.IBinder { |
| 131 | method public final void markVintfStability(); |
| 132 | } |
| 133 | |
Steven Moreland | e5bd46e | 2020-07-28 01:18:42 +0000 | [diff] [blame] | 134 | public interface Parcelable { |
Steven Moreland | 7542475 | 2020-08-05 19:42:15 +0000 | [diff] [blame] | 135 | method public default int getStability(); |
Steven Moreland | e5bd46e | 2020-07-28 01:18:42 +0000 | [diff] [blame] | 136 | field public static final int PARCELABLE_STABILITY_LOCAL = 0; // 0x0 |
| 137 | field public static final int PARCELABLE_STABILITY_VINTF = 1; // 0x1 |
| 138 | } |
| 139 | |
Makoto Onuki | 553df30 | 2020-02-06 14:35:52 -0800 | [diff] [blame] | 140 | public class StatsFrameworkInitializer { |
| 141 | method public static void registerServiceWrappers(); |
| 142 | method public static void setStatsServiceManager(@NonNull android.os.StatsServiceManager); |
| 143 | } |
| 144 | |
| 145 | public class StatsServiceManager { |
| 146 | method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsCompanionServiceRegisterer(); |
| 147 | method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsManagerServiceRegisterer(); |
| 148 | method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsdServiceRegisterer(); |
| 149 | } |
| 150 | |
| 151 | public static class StatsServiceManager.ServiceNotFoundException extends java.lang.Exception { |
| 152 | ctor public StatsServiceManager.ServiceNotFoundException(@NonNull String); |
| 153 | } |
| 154 | |
| 155 | public static final class StatsServiceManager.ServiceRegisterer { |
| 156 | method @Nullable public android.os.IBinder get(); |
| 157 | method @Nullable public android.os.IBinder getOrThrow() throws android.os.StatsServiceManager.ServiceNotFoundException; |
| 158 | } |
| 159 | |
| 160 | } |
| 161 | |
Kweku Adams | 1e55861 | 2020-08-24 10:13:15 -0700 | [diff] [blame] | 162 | package android.provider { |
| 163 | |
| 164 | public final class DeviceConfig { |
Kweku Adams | 1e7a69c | 2020-08-28 12:47:06 -0700 | [diff] [blame] | 165 | field public static final String NAMESPACE_ALARM_MANAGER = "alarm_manager"; |
Kweku Adams | 1e55861 | 2020-08-24 10:13:15 -0700 | [diff] [blame] | 166 | field public static final String NAMESPACE_DEVICE_IDLE = "device_idle"; |
| 167 | } |
| 168 | |
| 169 | } |
| 170 | |
Meng Wang | aa2ba8e | 2020-01-13 09:43:21 -0800 | [diff] [blame] | 171 | package android.util { |
| 172 | |
Dmitri Plotnikov | 81bc3bd | 2020-05-12 18:02:03 -0700 | [diff] [blame] | 173 | public class AtomicFile { |
| 174 | ctor public AtomicFile(@NonNull java.io.File, @Nullable android.util.SystemConfigFileCommitEventLogger); |
| 175 | } |
| 176 | |
Meng Wang | aa2ba8e | 2020-01-13 09:43:21 -0800 | [diff] [blame] | 177 | public final class Log { |
| 178 | method public static int logToRadioBuffer(int, @Nullable String, @Nullable String); |
| 179 | } |
| 180 | |
Dmitri Plotnikov | 81bc3bd | 2020-05-12 18:02:03 -0700 | [diff] [blame] | 181 | public class SystemConfigFileCommitEventLogger { |
| 182 | ctor public SystemConfigFileCommitEventLogger(@NonNull String); |
| 183 | method public void setStartTime(long); |
| 184 | } |
| 185 | |
Meng Wang | aa2ba8e | 2020-01-13 09:43:21 -0800 | [diff] [blame] | 186 | } |
| 187 | |