| 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 |  | 
| Hall Liu | ed473f4 | 2020-10-06 13:52:21 -0700 | [diff] [blame] | 4 | public class ActivityManager { | 
|  | 5 | method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void addHomeVisibilityListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.HomeVisibilityListener); | 
|  | 6 | method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void removeHomeVisibilityListener(@NonNull android.app.HomeVisibilityListener); | 
|  | 7 | } | 
|  | 8 |  | 
| Nikita Ioffe | 89f7de1 | 2020-06-30 01:31:43 +0100 | [diff] [blame] | 9 | public class AppOpsManager { | 
|  | 10 | field public static final String OPSTR_NO_ISOLATED_STORAGE = "android:no_isolated_storage"; | 
|  | 11 | } | 
|  | 12 |  | 
| Hall Liu | ed473f4 | 2020-10-06 13:52:21 -0700 | [diff] [blame] | 13 | public abstract class HomeVisibilityListener { | 
|  | 14 | ctor public HomeVisibilityListener(); | 
|  | 15 | method public abstract void onHomeVisibilityChanged(boolean); | 
|  | 16 | } | 
|  | 17 |  | 
| Jin Seok Park | e1f4d51 | 2020-07-14 21:15:44 +0900 | [diff] [blame] | 18 | public class NotificationManager { | 
|  | 19 | method public boolean hasEnabledNotificationListener(@NonNull String, @NonNull android.os.UserHandle); | 
| Jin Seok Park | 643f3e4 | 2020-07-29 17:21:36 +0900 | [diff] [blame] | 20 | 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] | 21 | } | 
|  | 22 |  | 
| Hall Liu | 3dbee7e | 2020-09-15 15:25:46 -0700 | [diff] [blame] | 23 | public class StatusBarManager { | 
| Hall Liu | 409c989 | 2020-09-22 16:39:19 -0700 | [diff] [blame] | 24 | method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setExpansionDisabledForSimNetworkLock(boolean); | 
| Hall Liu | 3dbee7e | 2020-09-15 15:25:46 -0700 | [diff] [blame] | 25 | } | 
|  | 26 |  | 
| Nikita Ioffe | 89f7de1 | 2020-06-30 01:31:43 +0100 | [diff] [blame] | 27 | } | 
|  | 28 |  | 
| Hall Liu | eb0af20 | 2020-09-24 13:56:54 -0700 | [diff] [blame] | 29 | package android.app.role { | 
|  | 30 |  | 
|  | 31 | public final class RoleManager { | 
| Hall Liu | 0b7bf46 | 2020-09-25 17:56:43 -0700 | [diff] [blame] | 32 | method @Nullable public String getSmsRoleHolder(int); | 
| Hall Liu | eb0af20 | 2020-09-24 13:56:54 -0700 | [diff] [blame] | 33 | } | 
|  | 34 |  | 
|  | 35 | } | 
|  | 36 |  | 
| JW Wang | 5ea50ff | 2020-02-27 15:25:09 +0800 | [diff] [blame] | 37 | package android.content.rollback { | 
|  | 38 |  | 
|  | 39 | public class RollbackManagerFrameworkInitializer { | 
|  | 40 | method public static void initialize(); | 
|  | 41 | } | 
|  | 42 |  | 
|  | 43 | } | 
|  | 44 |  | 
| Leon Scroggins III | 97eacc3 | 2020-03-24 15:38:35 -0400 | [diff] [blame] | 45 | package android.graphics { | 
|  | 46 |  | 
| Leon Scroggins III | 143dfef | 2020-03-30 14:03:37 -0400 | [diff] [blame] | 47 | public final class Compatibility { | 
|  | 48 | method public static void setTargetSdkVersion(int); | 
|  | 49 | } | 
|  | 50 |  | 
| Leon Scroggins III | 97eacc3 | 2020-03-24 15:38:35 -0400 | [diff] [blame] | 51 | public final class ImageDecoder implements java.lang.AutoCloseable { | 
|  | 52 | method @AnyThread @NonNull public static android.graphics.ImageDecoder.Source createSource(@NonNull android.content.ContentResolver, @NonNull android.net.Uri, @Nullable android.content.res.Resources); | 
|  | 53 | } | 
|  | 54 |  | 
|  | 55 | } | 
|  | 56 |  | 
| Jin Seok Park | 4abc23e | 2020-07-30 22:28:50 +0900 | [diff] [blame] | 57 | package android.media { | 
|  | 58 |  | 
|  | 59 | public class AudioManager { | 
| Jin Seok Park | 16aeba38 | 2020-08-06 12:52:54 +0900 | [diff] [blame] | 60 | method public void adjustStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); | 
|  | 61 | method public void adjustSuggestedStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); | 
|  | 62 | 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] | 63 | field public static final int FLAG_FROM_KEY = 4096; // 0x1000 | 
|  | 64 | } | 
|  | 65 |  | 
| Chong Zhang | 9fc0e10 | 2020-08-24 17:30:15 -0700 | [diff] [blame] | 66 | public class MediaMetadataRetriever implements java.lang.AutoCloseable { | 
|  | 67 | field public static final int METADATA_KEY_VIDEO_CODEC_MIME_TYPE = 40; // 0x28 | 
|  | 68 | } | 
|  | 69 |  | 
| Hyundo Moon | 4a681f2 | 2020-10-05 10:10:37 +0900 | [diff] [blame] | 70 | @Deprecated public final class MediaParceledListSlice<T extends android.os.Parcelable> implements android.os.Parcelable { | 
|  | 71 | ctor @Deprecated public MediaParceledListSlice(@NonNull java.util.List<T>); | 
|  | 72 | method @Deprecated public int describeContents(); | 
|  | 73 | method @Deprecated @NonNull public static <T extends android.os.Parcelable> android.media.MediaParceledListSlice<T> emptyList(); | 
|  | 74 | method @Deprecated public java.util.List<T> getList(); | 
|  | 75 | method @Deprecated public void setInlineCountLimit(int); | 
|  | 76 | method @Deprecated public void writeToParcel(android.os.Parcel, int); | 
|  | 77 | field @Deprecated @NonNull public static final android.os.Parcelable.ClassLoaderCreator<android.media.MediaParceledListSlice> CREATOR; | 
| Hyundo Moon | 5272516 | 2020-09-25 19:26:00 +0900 | [diff] [blame] | 78 | } | 
|  | 79 |  | 
| Jin Seok Park | 4abc23e | 2020-07-30 22:28:50 +0900 | [diff] [blame] | 80 | } | 
|  | 81 |  | 
| Kyunglyul Hyun | c9857cf | 2020-08-03 11:39:45 +0900 | [diff] [blame] | 82 | package android.media.session { | 
|  | 83 |  | 
| Hyundo Moon | fc7d49f | 2020-09-03 11:48:11 +0900 | [diff] [blame] | 84 | public static final class MediaController.PlaybackInfo implements android.os.Parcelable { | 
|  | 85 | ctor public MediaController.PlaybackInfo(int, int, @IntRange(from=0) int, @IntRange(from=0) int, @NonNull android.media.AudioAttributes, @Nullable String); | 
|  | 86 | } | 
|  | 87 |  | 
| Kyunglyul Hyun | c9857cf | 2020-08-03 11:39:45 +0900 | [diff] [blame] | 88 | public final class MediaSession { | 
|  | 89 | field public static final int FLAG_EXCLUSIVE_GLOBAL_PRIORITY = 65536; // 0x10000 | 
|  | 90 | } | 
|  | 91 |  | 
| Hyundo Moon | 672620b0 | 2020-09-10 07:23:09 +0900 | [diff] [blame] | 92 | public static final class MediaSession.Token implements android.os.Parcelable { | 
|  | 93 | method public int getUid(); | 
|  | 94 | } | 
|  | 95 |  | 
| Jin Seok Park | a729a81 | 2020-08-07 12:48:32 +0900 | [diff] [blame] | 96 | public final class MediaSessionManager { | 
| Jin Seok Park | 1d038a3 | 2020-09-11 15:52:07 +0900 | [diff] [blame] | 97 | 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] | 98 | method public void dispatchMediaKeyEventAsSystemService(@NonNull android.view.KeyEvent); | 
| Jin Seok Park | 5287e24 | 2020-09-01 21:56:27 +0900 | [diff] [blame] | 99 | method public boolean dispatchMediaKeyEventToSessionAsSystemService(@NonNull android.view.KeyEvent, @NonNull android.media.session.MediaSession.Token); | 
| Jin Seok Park | a729a81 | 2020-08-07 12:48:32 +0900 | [diff] [blame] | 100 | method public void dispatchVolumeKeyEventAsSystemService(@NonNull android.view.KeyEvent, int); | 
| Jin Seok Park | 5287e24 | 2020-09-01 21:56:27 +0900 | [diff] [blame] | 101 | method public void dispatchVolumeKeyEventToSessionAsSystemService(@NonNull android.view.KeyEvent, @NonNull android.media.session.MediaSession.Token); | 
| Hyundo Moon | f8bedc9 | 2020-09-10 07:44:30 +0900 | [diff] [blame] | 102 | field public static final int RESULT_MEDIA_KEY_HANDLED = 1; // 0x1 | 
|  | 103 | 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] | 104 | } | 
|  | 105 |  | 
| Kyunglyul Hyun | 278ec96 | 2020-08-20 23:10:30 +0900 | [diff] [blame] | 106 | public final class PlaybackState implements android.os.Parcelable { | 
|  | 107 | method public boolean isActiveState(); | 
|  | 108 | } | 
|  | 109 |  | 
| Kyunglyul Hyun | c9857cf | 2020-08-03 11:39:45 +0900 | [diff] [blame] | 110 | } | 
|  | 111 |  | 
| markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 112 | package android.net { | 
|  | 113 |  | 
| Automerger Merge Worker | 54a8599 | 2020-03-16 06:21:59 +0000 | [diff] [blame] | 114 | public final class TetheringConstants { | 
| markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 115 | field public static final String EXTRA_ADD_TETHER_TYPE = "extraAddTetherType"; | 
|  | 116 | field public static final String EXTRA_PROVISION_CALLBACK = "extraProvisionCallback"; | 
|  | 117 | field public static final String EXTRA_REM_TETHER_TYPE = "extraRemTetherType"; | 
|  | 118 | field public static final String EXTRA_RUN_PROVISION = "extraRunProvision"; | 
|  | 119 | field public static final String EXTRA_SET_ALARM = "extraSetAlarm"; | 
|  | 120 | } | 
|  | 121 |  | 
|  | 122 | public class TetheringManager { | 
|  | 123 | ctor public TetheringManager(@NonNull android.content.Context, @NonNull java.util.function.Supplier<android.os.IBinder>); | 
|  | 124 | method public int getLastTetherError(@NonNull String); | 
|  | 125 | method @NonNull public String[] getTetherableBluetoothRegexs(); | 
|  | 126 | method @NonNull public String[] getTetherableIfaces(); | 
|  | 127 | method @NonNull public String[] getTetherableUsbRegexs(); | 
|  | 128 | method @NonNull public String[] getTetherableWifiRegexs(); | 
|  | 129 | method @NonNull public String[] getTetheredIfaces(); | 
|  | 130 | method @NonNull public String[] getTetheringErroredIfaces(); | 
|  | 131 | method public boolean isTetheringSupported(); | 
| Automerger Merge Worker | fcf74d1 | 2020-03-03 12:51:02 +0000 | [diff] [blame] | 132 | method public boolean isTetheringSupported(@NonNull String); | 
| markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 133 | method public void requestLatestTetheringEntitlementResult(int, @NonNull android.os.ResultReceiver, boolean); | 
|  | 134 | method @Deprecated public int setUsbTethering(boolean); | 
| Makoto Onuki | 41ccbfb | 2020-07-10 12:05:21 -0700 | [diff] [blame] | 135 | 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] | 136 | method @Deprecated public int tether(@NonNull String); | 
| markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 137 | method @Deprecated public int untether(@NonNull String); | 
| markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 138 | } | 
|  | 139 |  | 
| markchien | 62a625d | 2020-03-19 13:37:43 +0800 | [diff] [blame] | 140 | public static interface TetheringManager.TetheringEventCallback { | 
| markchien | 62a625d | 2020-03-19 13:37:43 +0800 | [diff] [blame] | 141 | method public default void onTetherableInterfaceRegexpsChanged(@NonNull android.net.TetheringManager.TetheringInterfaceRegexps); | 
| markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 142 | } | 
|  | 143 |  | 
| markchien | 62a625d | 2020-03-19 13:37:43 +0800 | [diff] [blame] | 144 | public static class TetheringManager.TetheringInterfaceRegexps { | 
|  | 145 | method @NonNull public java.util.List<java.lang.String> getTetherableBluetoothRegexs(); | 
|  | 146 | method @NonNull public java.util.List<java.lang.String> getTetherableUsbRegexs(); | 
|  | 147 | method @NonNull public java.util.List<java.lang.String> getTetherableWifiRegexs(); | 
| markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 148 | } | 
|  | 149 |  | 
| markchien | 2c15370 | 2020-02-06 19:23:26 +0800 | [diff] [blame] | 150 | } | 
|  | 151 |  | 
| Makoto Onuki | 553df30 | 2020-02-06 14:35:52 -0800 | [diff] [blame] | 152 | package android.os { | 
|  | 153 |  | 
| Steven Moreland | 95dd53b | 2020-07-23 21:22:18 +0000 | [diff] [blame] | 154 | public class Binder implements android.os.IBinder { | 
|  | 155 | method public final void markVintfStability(); | 
|  | 156 | } | 
|  | 157 |  | 
| Steven Moreland | e5bd46e | 2020-07-28 01:18:42 +0000 | [diff] [blame] | 158 | public interface Parcelable { | 
| Steven Moreland | 7542475 | 2020-08-05 19:42:15 +0000 | [diff] [blame] | 159 | method public default int getStability(); | 
| Steven Moreland | e5bd46e | 2020-07-28 01:18:42 +0000 | [diff] [blame] | 160 | } | 
|  | 161 |  | 
| Makoto Onuki | 553df30 | 2020-02-06 14:35:52 -0800 | [diff] [blame] | 162 | public class StatsFrameworkInitializer { | 
|  | 163 | method public static void registerServiceWrappers(); | 
|  | 164 | method public static void setStatsServiceManager(@NonNull android.os.StatsServiceManager); | 
|  | 165 | } | 
|  | 166 |  | 
|  | 167 | public class StatsServiceManager { | 
|  | 168 | method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsCompanionServiceRegisterer(); | 
|  | 169 | method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsManagerServiceRegisterer(); | 
|  | 170 | method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsdServiceRegisterer(); | 
|  | 171 | } | 
|  | 172 |  | 
|  | 173 | public static class StatsServiceManager.ServiceNotFoundException extends java.lang.Exception { | 
|  | 174 | ctor public StatsServiceManager.ServiceNotFoundException(@NonNull String); | 
|  | 175 | } | 
|  | 176 |  | 
|  | 177 | public static final class StatsServiceManager.ServiceRegisterer { | 
|  | 178 | method @Nullable public android.os.IBinder get(); | 
|  | 179 | method @Nullable public android.os.IBinder getOrThrow() throws android.os.StatsServiceManager.ServiceNotFoundException; | 
|  | 180 | } | 
|  | 181 |  | 
|  | 182 | } | 
|  | 183 |  | 
| Kweku Adams | 1e55861 | 2020-08-24 10:13:15 -0700 | [diff] [blame] | 184 | package android.provider { | 
|  | 185 |  | 
|  | 186 | public final class DeviceConfig { | 
| Kweku Adams | 1e7a69c | 2020-08-28 12:47:06 -0700 | [diff] [blame] | 187 | field public static final String NAMESPACE_ALARM_MANAGER = "alarm_manager"; | 
| Kweku Adams | 01e36ae | 2020-10-19 14:45:33 -0700 | [diff] [blame] | 188 | field public static final String NAMESPACE_APP_STANDBY = "app_standby"; | 
| Kweku Adams | 1e55861 | 2020-08-24 10:13:15 -0700 | [diff] [blame] | 189 | field public static final String NAMESPACE_DEVICE_IDLE = "device_idle"; | 
|  | 190 | } | 
|  | 191 |  | 
|  | 192 | } | 
|  | 193 |  | 
| Hall Liu | 57d7090 | 2020-10-13 19:19:12 -0700 | [diff] [blame] | 194 | package android.telephony { | 
|  | 195 |  | 
|  | 196 | public abstract class CellSignalStrength { | 
|  | 197 | method public static int getNumSignalStrengthLevels(); | 
|  | 198 | } | 
|  | 199 |  | 
|  | 200 | public class TelephonyManager { | 
|  | 201 | method @NonNull public static int[] getAllNetworkTypes(); | 
|  | 202 | } | 
|  | 203 |  | 
|  | 204 | } | 
|  | 205 |  | 
| Meng Wang | aa2ba8e | 2020-01-13 09:43:21 -0800 | [diff] [blame] | 206 | package android.util { | 
|  | 207 |  | 
| Dmitri Plotnikov | 81bc3bd | 2020-05-12 18:02:03 -0700 | [diff] [blame] | 208 | public class AtomicFile { | 
|  | 209 | ctor public AtomicFile(@NonNull java.io.File, @Nullable android.util.SystemConfigFileCommitEventLogger); | 
|  | 210 | } | 
|  | 211 |  | 
| Meng Wang | aa2ba8e | 2020-01-13 09:43:21 -0800 | [diff] [blame] | 212 | public final class Log { | 
|  | 213 | method public static int logToRadioBuffer(int, @Nullable String, @Nullable String); | 
|  | 214 | } | 
|  | 215 |  | 
| Dmitri Plotnikov | 81bc3bd | 2020-05-12 18:02:03 -0700 | [diff] [blame] | 216 | public class SystemConfigFileCommitEventLogger { | 
|  | 217 | ctor public SystemConfigFileCommitEventLogger(@NonNull String); | 
|  | 218 | method public void setStartTime(long); | 
|  | 219 | } | 
|  | 220 |  | 
| Meng Wang | aa2ba8e | 2020-01-13 09:43:21 -0800 | [diff] [blame] | 221 | } | 
|  | 222 |  |