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