Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 1 | // Signature format: 2.0 |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 2 | package android.app { |
| 3 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 4 | public class Activity extends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.view.KeyEvent.Callback android.view.LayoutInflater.Factory2 android.view.View.OnCreateContextMenuListener android.view.Window.Callback { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 5 | method @Deprecated public boolean enterPictureInPictureMode(@NonNull android.app.PictureInPictureArgs); |
| 6 | method @Deprecated public void setPictureInPictureArgs(@NonNull android.app.PictureInPictureArgs); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 7 | } |
| 8 | |
| 9 | public class ActivityManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 10 | method @Deprecated public static int getMaxNumPictureInPictureActions(); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 11 | } |
| 12 | |
| 13 | public class KeyguardManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 14 | method @Deprecated public void dismissKeyguard(@NonNull android.app.Activity, @Nullable android.app.KeyguardManager.KeyguardDismissCallback, @Nullable android.os.Handler); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 15 | } |
| 16 | |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 17 | public class Notification implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 18 | method @Deprecated public String getChannel(); |
| 19 | method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String); |
| 20 | method @Deprecated public long getTimeout(); |
| 21 | method @Deprecated public void setLatestEventInfo(android.content.Context, CharSequence, CharSequence, android.app.PendingIntent); |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 22 | } |
| 23 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 24 | public static class Notification.Builder { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 25 | method @Deprecated public android.app.Notification.Builder setChannel(String); |
| 26 | method @Deprecated public android.app.Notification.Builder setTimeout(long); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 27 | } |
| 28 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 29 | @Deprecated public final class PictureInPictureArgs implements android.os.Parcelable { |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 30 | method public static android.app.PictureInPictureArgs convert(android.app.PictureInPictureParams); |
| 31 | method public static android.app.PictureInPictureParams convert(android.app.PictureInPictureArgs); |
Jeff Sharkey | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 32 | method public int describeContents(); |
| 33 | method public void writeToParcel(android.os.Parcel, int); |
| 34 | field public static final int CONTENTS_FILE_DESCRIPTOR = 1; // 0x1 |
Jeff Sharkey | 9e8f83d | 2019-02-28 12:06:45 -0700 | [diff] [blame] | 35 | field @NonNull public static final android.os.Parcelable.Creator<android.app.PictureInPictureArgs> CREATOR; |
Jeff Sharkey | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 36 | field public static final int PARCELABLE_WRITE_RETURN_VALUE = 1; // 0x1 |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 37 | } |
| 38 | |
| 39 | public static class PictureInPictureArgs.Builder { |
| 40 | ctor public PictureInPictureArgs.Builder(); |
| 41 | method public android.app.PictureInPictureArgs build(); |
| 42 | method public android.app.PictureInPictureArgs.Builder setActions(java.util.List<android.app.RemoteAction>); |
| 43 | method public android.app.PictureInPictureArgs.Builder setAspectRatio(android.util.Rational); |
| 44 | method public android.app.PictureInPictureArgs.Builder setSourceRectHint(android.graphics.Rect); |
| 45 | } |
| 46 | |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 47 | } |
| 48 | |
Craig Lafayette | e7ee54e | 2015-09-21 13:48:53 -0400 | [diff] [blame] | 49 | package android.app.admin { |
| 50 | |
| 51 | public class DevicePolicyManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 52 | method @Deprecated @Nullable public android.os.UserHandle createAndInitializeUser(@NonNull android.content.ComponentName, String, String, @NonNull android.content.ComponentName, android.os.Bundle); |
| 53 | method @Deprecated @Nullable public android.os.UserHandle createUser(@NonNull android.content.ComponentName, String); |
Craig Lafayette | e7ee54e | 2015-09-21 13:48:53 -0400 | [diff] [blame] | 54 | } |
| 55 | |
| 56 | } |
| 57 | |
Jeff Sharkey | 8474ca0 | 2018-03-26 19:10:02 -0600 | [diff] [blame] | 58 | package android.app.job { |
| 59 | |
| 60 | public class JobInfo implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 61 | method @Deprecated public long getEstimatedNetworkBytes(); |
Jeff Sharkey | 8474ca0 | 2018-03-26 19:10:02 -0600 | [diff] [blame] | 62 | } |
| 63 | |
| 64 | public static final class JobInfo.Builder { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 65 | method @Deprecated public android.app.job.JobInfo.Builder setEstimatedNetworkBytes(long); |
| 66 | method @Deprecated public android.app.job.JobInfo.Builder setIsPrefetch(boolean); |
Jeff Sharkey | 8474ca0 | 2018-03-26 19:10:02 -0600 | [diff] [blame] | 67 | } |
| 68 | |
| 69 | public final class JobWorkItem implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 70 | ctor @Deprecated public JobWorkItem(android.content.Intent, long); |
| 71 | method @Deprecated public long getEstimatedNetworkBytes(); |
Jeff Sharkey | 8474ca0 | 2018-03-26 19:10:02 -0600 | [diff] [blame] | 72 | } |
| 73 | |
| 74 | } |
| 75 | |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 76 | package android.app.slice { |
| 77 | |
| 78 | public final class Slice implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 79 | field @Deprecated public static final String EXTRA_SLIDER_VALUE = "android.app.slice.extra.SLIDER_VALUE"; |
| 80 | field @Deprecated public static final String SUBTYPE_SLIDER = "slider"; |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 81 | } |
| 82 | |
| 83 | public static class Slice.Builder { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 84 | ctor @Deprecated public Slice.Builder(@NonNull android.net.Uri); |
| 85 | method @Deprecated public android.app.slice.Slice.Builder addTimestamp(long, @Nullable String, java.util.List<java.lang.String>); |
| 86 | method @Deprecated public android.app.slice.Slice.Builder setSpec(android.app.slice.SliceSpec); |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 87 | } |
| 88 | |
| 89 | public final class SliceItem implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 90 | method @Deprecated public long getTimestamp(); |
| 91 | field @Deprecated public static final String FORMAT_TIMESTAMP = "long"; |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 92 | } |
| 93 | |
| 94 | public class SliceManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 95 | method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>); |
| 96 | method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.content.Intent, @NonNull java.util.List<android.app.slice.SliceSpec>); |
| 97 | method @Deprecated public void pinSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>); |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 98 | } |
| 99 | |
| 100 | public abstract class SliceProvider extends android.content.ContentProvider { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 101 | method @Deprecated public android.app.slice.Slice onBindSlice(android.net.Uri, java.util.List<android.app.slice.SliceSpec>); |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 102 | } |
| 103 | |
| 104 | } |
| 105 | |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 106 | package android.app.usage { |
| 107 | |
Jeff Sharkey | a4d34d9 | 2017-04-27 11:21:41 -0600 | [diff] [blame] | 108 | public final class StorageStats implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 109 | method @Deprecated public long getCodeBytes(); |
Jeff Sharkey | a4d34d9 | 2017-04-27 11:21:41 -0600 | [diff] [blame] | 110 | } |
| 111 | |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 112 | public class StorageStatsManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 113 | method @Deprecated public long getFreeBytes(String) throws java.io.IOException; |
| 114 | method @Deprecated public long getTotalBytes(String) throws java.io.IOException; |
| 115 | method @Deprecated public boolean isQuotaSupported(String); |
| 116 | method @Deprecated public android.app.usage.ExternalStorageStats queryExternalStatsForUser(String, android.os.UserHandle) throws java.io.IOException; |
| 117 | method @Deprecated public android.app.usage.StorageStats queryStatsForPackage(String, String, android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException; |
| 118 | method @Deprecated public android.app.usage.StorageStats queryStatsForUid(String, int) throws java.io.IOException; |
| 119 | method @Deprecated public android.app.usage.StorageStats queryStatsForUser(String, android.os.UserHandle) throws java.io.IOException; |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 120 | } |
| 121 | |
| 122 | } |
| 123 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 124 | package android.content { |
| 125 | |
Vladislav Kaznacheev | c35c02f | 2017-04-20 08:38:21 -0700 | [diff] [blame] | 126 | public class ClipData implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 127 | method @Deprecated public void addItem(android.content.ClipData.Item, android.content.ContentResolver); |
Vladislav Kaznacheev | c35c02f | 2017-04-20 08:38:21 -0700 | [diff] [blame] | 128 | } |
| 129 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 130 | public abstract class Context { |
Jeff Sharkey | cf3f0a1 | 2016-03-17 19:57:58 -0600 | [diff] [blame] | 131 | method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 132 | method public abstract java.io.File getSharedPreferencesPath(String); |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 133 | } |
| 134 | |
Jeff Sharkey | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 135 | public class ContextWrapper extends android.content.Context { |
| 136 | method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 137 | method public java.io.File getSharedPreferencesPath(String); |
Jeff Sharkey | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 138 | } |
| 139 | |
Garfield Tan | ce1d0e9 | 2017-03-23 10:52:48 -0700 | [diff] [blame] | 140 | public class Intent implements java.lang.Cloneable android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 141 | field @Deprecated public static final String EXTRA_QUICK_VIEW_ADVANCED = "android.intent.extra.QUICK_VIEW_ADVANCED"; |
Garfield Tan | ce1d0e9 | 2017-03-23 10:52:48 -0700 | [diff] [blame] | 142 | } |
| 143 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 144 | } |
| 145 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 146 | package android.content.pm { |
| 147 | |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 148 | public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 149 | field @Deprecated public String volumeUuid; |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 150 | } |
| 151 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 152 | public class ComponentInfo extends android.content.pm.PackageItemInfo { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 153 | field @Deprecated public boolean encryptionAware; |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 154 | } |
| 155 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 156 | public class PackageInfo implements android.os.Parcelable { |
| 157 | field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1 |
| 158 | } |
| 159 | |
Svetoslav Ganov | 345ffa5 | 2017-04-18 16:08:41 -0700 | [diff] [blame] | 160 | public abstract class PackageManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 161 | method public abstract boolean setInstantAppCookie(@Nullable byte[]); |
Svetoslav Ganov | 345ffa5 | 2017-04-18 16:08:41 -0700 | [diff] [blame] | 162 | } |
| 163 | |
Jeff Sharkey | f29d196 | 2017-05-01 15:09:11 -0600 | [diff] [blame] | 164 | public class ResolveInfo implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 165 | field @Deprecated public boolean instantAppAvailable; |
Jeff Sharkey | f29d196 | 2017-05-01 15:09:11 -0600 | [diff] [blame] | 166 | } |
| 167 | |
Svetoslav Ganov | 0cb43ef | 2017-04-18 14:28:35 -0700 | [diff] [blame] | 168 | public final class SharedLibraryInfo implements android.os.Parcelable { |
| 169 | method public boolean isBuiltin(); |
| 170 | method public boolean isDynamic(); |
| 171 | method public boolean isStatic(); |
| 172 | } |
| 173 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 174 | } |
| 175 | |
Jeff Brown | 8faab36 | 2015-04-09 18:52:52 -0700 | [diff] [blame] | 176 | package android.database { |
| 177 | |
| 178 | public abstract class AbstractCursor implements android.database.CrossProcessCursor { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 179 | field protected Long mCurrentRowID; |
Jeff Brown | 8faab36 | 2015-04-09 18:52:52 -0700 | [diff] [blame] | 180 | field protected int mRowIdColumnIndex; |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 181 | field protected java.util.HashMap<java.lang.Long,java.util.Map<java.lang.String,java.lang.Object>> mUpdatedRows; |
Jeff Brown | 8faab36 | 2015-04-09 18:52:52 -0700 | [diff] [blame] | 182 | } |
| 183 | |
| 184 | } |
| 185 | |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 186 | package android.graphics { |
| 187 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 188 | @Deprecated public class AvoidXfermode extends android.graphics.Xfermode { |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 189 | ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode); |
| 190 | } |
| 191 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 192 | public enum AvoidXfermode.Mode { |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 193 | enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID; |
| 194 | enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET; |
| 195 | } |
| 196 | |
Derek Sollenberger | b29b16e | 2017-01-04 14:57:43 -0500 | [diff] [blame] | 197 | public class Canvas { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 198 | method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region, @NonNull android.graphics.Region.Op); |
| 199 | method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region); |
| 200 | method @Deprecated public int save(int); |
| 201 | field @Deprecated public static final int CLIP_SAVE_FLAG = 2; // 0x2 |
| 202 | field @Deprecated public static final int CLIP_TO_LAYER_SAVE_FLAG = 16; // 0x10 |
| 203 | field @Deprecated public static final int FULL_COLOR_LAYER_SAVE_FLAG = 8; // 0x8 |
| 204 | field @Deprecated public static final int HAS_ALPHA_LAYER_SAVE_FLAG = 4; // 0x4 |
| 205 | field @Deprecated public static final int MATRIX_SAVE_FLAG = 1; // 0x1 |
Derek Sollenberger | b29b16e | 2017-01-04 14:57:43 -0500 | [diff] [blame] | 206 | } |
| 207 | |
Leon Scroggins III | 746a9fe | 2018-03-08 10:32:10 -0500 | [diff] [blame] | 208 | public final class ImageDecoder implements java.lang.AutoCloseable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 209 | method @Deprecated public boolean getAsAlphaMask(); |
| 210 | method @Deprecated public boolean getConserveMemory(); |
| 211 | method @Deprecated public boolean getDecodeAsAlphaMask(); |
| 212 | method @Deprecated public boolean getMutable(); |
| 213 | method @Deprecated public boolean getRequireUnpremultiplied(); |
| 214 | method @Deprecated public android.graphics.ImageDecoder setAsAlphaMask(boolean); |
| 215 | method @Deprecated public void setConserveMemory(boolean); |
| 216 | method @Deprecated public android.graphics.ImageDecoder setDecodeAsAlphaMask(boolean); |
| 217 | method @Deprecated public android.graphics.ImageDecoder setMutable(boolean); |
| 218 | method @Deprecated public android.graphics.ImageDecoder setRequireUnpremultiplied(boolean); |
| 219 | method @Deprecated public android.graphics.ImageDecoder setResize(int, int); |
| 220 | method @Deprecated public android.graphics.ImageDecoder setResize(int); |
| 221 | field @Deprecated public static final int ERROR_SOURCE_ERROR = 3; // 0x3 |
| 222 | field @Deprecated public static final int ERROR_SOURCE_EXCEPTION = 1; // 0x1 |
| 223 | field @Deprecated public static final int ERROR_SOURCE_INCOMPLETE = 2; // 0x2 |
Leon Scroggins III | 746a9fe | 2018-03-08 10:32:10 -0500 | [diff] [blame] | 224 | } |
| 225 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 226 | @Deprecated public static class ImageDecoder.IncompleteException extends java.io.IOException { |
Leon Scroggins III | 1d2bf2b | 2018-03-14 16:07:43 -0400 | [diff] [blame] | 227 | ctor public ImageDecoder.IncompleteException(); |
| 228 | } |
| 229 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 230 | @Deprecated public class LayerRasterizer extends android.graphics.Rasterizer { |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 231 | ctor public LayerRasterizer(); |
| 232 | method public void addLayer(android.graphics.Paint, float, float); |
| 233 | method public void addLayer(android.graphics.Paint); |
| 234 | } |
| 235 | |
| 236 | public class Paint { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 237 | method @Deprecated public android.graphics.Rasterizer getRasterizer(); |
| 238 | method @Deprecated public android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer); |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 239 | } |
| 240 | |
Mike Reed | 99a83d2 | 2018-02-26 15:42:00 -0500 | [diff] [blame] | 241 | public class Picture { |
John Reck | 5cca8f2 | 2018-12-10 17:06:22 -0800 | [diff] [blame] | 242 | method @Deprecated public static android.graphics.Picture createFromStream(@NonNull java.io.InputStream); |
| 243 | method @Deprecated public void writeToStream(@NonNull java.io.OutputStream); |
Mike Reed | 99a83d2 | 2018-02-26 15:42:00 -0500 | [diff] [blame] | 244 | } |
| 245 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 246 | @Deprecated public class PixelXorXfermode extends android.graphics.Xfermode { |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 247 | ctor public PixelXorXfermode(int); |
| 248 | } |
| 249 | |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 250 | public class Rasterizer { |
| 251 | ctor public Rasterizer(); |
| 252 | } |
| 253 | |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 254 | } |
| 255 | |
Leon Scroggins III | 6de55b8 | 2018-02-23 16:11:37 -0500 | [diff] [blame] | 256 | package android.graphics.drawable { |
| 257 | |
| 258 | public class AnimatedImageDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Animatable2 { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 259 | method @Deprecated public int getLoopCount(int); |
| 260 | method @Deprecated public void setLoopCount(int); |
| 261 | field @Deprecated public static final int LOOP_INFINITE = -1; // 0xffffffff |
Leon Scroggins III | 6de55b8 | 2018-02-23 16:11:37 -0500 | [diff] [blame] | 262 | } |
| 263 | |
| 264 | } |
| 265 | |
Peng Xu | 3c8c6a4 | 2017-04-06 18:37:56 -0700 | [diff] [blame] | 266 | package android.hardware { |
| 267 | |
Craig Donner | fd5d331 | 2017-04-19 18:33:36 -0700 | [diff] [blame] | 268 | public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 269 | method @Deprecated public void destroy(); |
| 270 | method @Deprecated public boolean isDestroyed(); |
Craig Donner | fd5d331 | 2017-04-19 18:33:36 -0700 | [diff] [blame] | 271 | } |
| 272 | |
Peng Xu | 3c8c6a4 | 2017-04-06 18:37:56 -0700 | [diff] [blame] | 273 | public final class SensorDirectChannel implements java.nio.channels.Channel { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 274 | method @Deprecated public boolean isValid(); |
Peng Xu | 3c8c6a4 | 2017-04-06 18:37:56 -0700 | [diff] [blame] | 275 | } |
| 276 | |
| 277 | public abstract class SensorManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 278 | method @Deprecated public int configureDirectChannel(android.hardware.SensorDirectChannel, android.hardware.Sensor, int); |
Peng Xu | 3c8c6a4 | 2017-04-06 18:37:56 -0700 | [diff] [blame] | 279 | } |
| 280 | |
| 281 | } |
| 282 | |
Yu Liu | b87243c | 2017-04-18 16:08:29 -0700 | [diff] [blame] | 283 | package android.location { |
| 284 | |
| 285 | public class Location implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 286 | method @Deprecated public void removeBearingAccuracy(); |
| 287 | method @Deprecated public void removeSpeedAccuracy(); |
| 288 | method @Deprecated public void removeVerticalAccuracy(); |
Yu Liu | b87243c | 2017-04-18 16:08:29 -0700 | [diff] [blame] | 289 | } |
| 290 | |
Soonil Nagarkar | 00fe7e2 | 2019-02-28 13:52:27 -0800 | [diff] [blame] | 291 | public class LocationManager { |
Soonil Nagarkar | 00fe7e2 | 2019-02-28 13:52:27 -0800 | [diff] [blame] | 292 | method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public boolean addNmeaListener(android.location.GpsStatus.NmeaListener); |
Soonil Nagarkar | 00fe7e2 | 2019-02-28 13:52:27 -0800 | [diff] [blame] | 293 | method @Deprecated public void removeNmeaListener(android.location.GpsStatus.NmeaListener); |
| 294 | } |
| 295 | |
Yu Liu | b87243c | 2017-04-18 16:08:29 -0700 | [diff] [blame] | 296 | } |
| 297 | |
Glenn Kasten | 1aa74e4 | 2014-05-19 10:11:19 -0700 | [diff] [blame] | 298 | package android.media { |
| 299 | |
Jeff Sharkey | 50d1c04 | 2016-02-29 16:34:46 -0700 | [diff] [blame] | 300 | public final class AudioFormat implements android.os.Parcelable { |
Glenn Kasten | 1aa74e4 | 2014-05-19 10:11:19 -0700 | [diff] [blame] | 301 | ctor public AudioFormat(); |
| 302 | } |
| 303 | |
| 304 | } |
| 305 | |
Dongwon Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 306 | package android.media.tv { |
| 307 | |
| 308 | public class TvView extends android.view.ViewGroup { |
| 309 | method public void requestUnblockContent(android.media.tv.TvContentRating); |
| 310 | } |
| 311 | |
| 312 | } |
| 313 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 314 | package android.net { |
| 315 | |
Lorenzo Colitti | 2187df7 | 2016-12-09 18:39:30 +0900 | [diff] [blame] | 316 | public class ConnectivityManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 317 | method @Deprecated public boolean requestRouteToHost(int, int); |
| 318 | method @Deprecated public int startUsingNetworkFeature(int, String); |
| 319 | method @Deprecated public int stopUsingNetworkFeature(int, String); |
Lorenzo Colitti | 2187df7 | 2016-12-09 18:39:30 +0900 | [diff] [blame] | 320 | } |
| 321 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 322 | @Deprecated public class NetworkBadging { |
| 323 | method @NonNull public static android.graphics.drawable.Drawable getWifiIcon(@IntRange(from=0, to=4) int, int, @Nullable android.content.res.Resources.Theme); |
Joe LaPenna | 2c60ef0 | 2017-05-01 09:46:01 -0700 | [diff] [blame] | 324 | field public static final int BADGING_4K = 30; // 0x1e |
| 325 | field public static final int BADGING_HD = 20; // 0x14 |
| 326 | field public static final int BADGING_NONE = 0; // 0x0 |
| 327 | field public static final int BADGING_SD = 10; // 0xa |
| 328 | } |
| 329 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 330 | @IntDef({0x0, 0xa, 0x14, 0x1e}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface NetworkBadging.Badging { |
Jeff Sharkey | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 331 | } |
| 332 | |
Adam Vartanian | 6caa816 | 2019-01-18 15:42:43 +0000 | [diff] [blame] | 333 | @Deprecated public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 334 | method @Deprecated public static org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache); |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 335 | } |
| 336 | |
Jeff Sharkey | 121d565 | 2018-03-26 13:11:33 -0600 | [diff] [blame] | 337 | public class TrafficStats { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 338 | method @Deprecated public static void setThreadStatsUidSelf(); |
Jeff Sharkey | 121d565 | 2018-03-26 13:11:33 -0600 | [diff] [blame] | 339 | } |
| 340 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 341 | } |
| 342 | |
Jeff Brown | 7d82751 | 2014-08-21 21:56:02 -0700 | [diff] [blame] | 343 | package android.os { |
| 344 | |
Jeff Brown | 6e53931 | 2015-02-24 18:53:21 -0800 | [diff] [blame] | 345 | public class BatteryManager { |
| 346 | ctor public BatteryManager(); |
| 347 | } |
| 348 | |
Jeff Brown | 7d82751 | 2014-08-21 21:56:02 -0700 | [diff] [blame] | 349 | public final class PowerManager { |
| 350 | method public void goToSleep(long); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 351 | method @Deprecated public void userActivity(long, boolean); |
Michael Wright | e300104 | 2019-02-05 00:13:14 +0000 | [diff] [blame] | 352 | method @Deprecated public void wakeUp(long); |
Jeff Brown | 7d82751 | 2014-08-21 21:56:02 -0700 | [diff] [blame] | 353 | } |
| 354 | |
Andreas Gampe | 70e21e6 | 2015-03-18 16:13:33 -0700 | [diff] [blame] | 355 | public class RecoverySystem { |
| 356 | ctor public RecoverySystem(); |
| 357 | } |
| 358 | |
Kurt Nelson | 72534b7 | 2018-02-22 11:21:15 -0800 | [diff] [blame] | 359 | public static final class StrictMode.ThreadPolicy.Builder { |
Jeff Sharkey | a30e5c3 | 2019-02-28 12:02:10 -0700 | [diff] [blame] | 360 | method @NonNull public android.os.StrictMode.ThreadPolicy.Builder penaltyListener(@NonNull android.os.StrictMode.OnThreadViolationListener, @NonNull java.util.concurrent.Executor); |
Kurt Nelson | 72534b7 | 2018-02-22 11:21:15 -0800 | [diff] [blame] | 361 | } |
| 362 | |
| 363 | public static final class StrictMode.VmPolicy.Builder { |
Jeff Sharkey | a30e5c3 | 2019-02-28 12:02:10 -0700 | [diff] [blame] | 364 | method @NonNull public android.os.StrictMode.VmPolicy.Builder penaltyListener(@NonNull android.os.StrictMode.OnVmViolationListener, @NonNull java.util.concurrent.Executor); |
Kurt Nelson | 72534b7 | 2018-02-22 11:21:15 -0800 | [diff] [blame] | 365 | } |
| 366 | |
Jeff Sharkey | 9911a28 | 2018-02-14 22:29:11 -0700 | [diff] [blame] | 367 | public final class SystemClock { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 368 | method @NonNull public static java.time.Clock elapsedRealtimeClock(); |
| 369 | method @NonNull public static java.time.Clock uptimeClock(); |
| 370 | method @Deprecated @NonNull public static java.time.Clock uptimeMillisClock(); |
Jeff Sharkey | 9911a28 | 2018-02-14 22:29:11 -0700 | [diff] [blame] | 371 | } |
| 372 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 373 | public class TestLooperManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 374 | method @Deprecated public android.os.MessageQueue getQueue(); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 375 | } |
| 376 | |
Svetoslav | c7d62f0 | 2014-09-04 15:39:54 -0700 | [diff] [blame] | 377 | public class UserManager { |
| 378 | method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int); |
| 379 | method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 380 | method public CharSequence getBadgedLabelForUser(CharSequence, android.os.UserHandle); |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 381 | } |
| 382 | |
| 383 | } |
| 384 | |
Jeff Sharkey | c02bfae | 2016-03-27 15:06:53 -0600 | [diff] [blame] | 385 | package android.os.storage { |
| 386 | |
| 387 | public class StorageManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 388 | method @NonNull public android.os.storage.StorageVolume getPrimaryVolume(); |
| 389 | method @NonNull public android.os.storage.StorageVolume[] getVolumeList(); |
Jeff Sharkey | c02bfae | 2016-03-27 15:06:53 -0600 | [diff] [blame] | 390 | } |
| 391 | |
| 392 | } |
| 393 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 394 | package android.provider { |
| 395 | |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 396 | public class Browser { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 397 | method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"}, apis="..22") public static final void addSearchUrl(android.content.ContentResolver, String); |
| 398 | method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final boolean canClearHistory(android.content.ContentResolver); |
| 399 | method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearHistory(android.content.ContentResolver); |
| 400 | method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearSearches(android.content.ContentResolver); |
| 401 | method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteFromHistory(android.content.ContentResolver, String); |
| 402 | method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long); |
| 403 | method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException; |
| 404 | method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException; |
| 405 | method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final void requestAllIcons(android.content.ContentResolver, String, android.webkit.WebIconDatabase.IconListener); |
| 406 | method public static final void saveBookmark(android.content.Context, String, String); |
| 407 | method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"}, apis="..22") public static final void truncateHistory(android.content.ContentResolver); |
| 408 | method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"}, apis="..22") public static final void updateVisitedHistory(android.content.ContentResolver, String, boolean); |
| 409 | field @RequiresPermission.Read(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") @RequiresPermission.Write(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final android.net.Uri BOOKMARKS_URI; |
| 410 | field public static final String[] HISTORY_PROJECTION; |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 411 | field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4 |
| 412 | field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3 |
| 413 | field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6 |
| 414 | field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 415 | field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5 |
| 416 | field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1 |
| 417 | field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2 |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 418 | field public static final String[] SEARCHES_PROJECTION; |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 419 | field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2 |
| 420 | field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1 |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 421 | field @RequiresPermission.Read(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") @RequiresPermission.Write(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final android.net.Uri SEARCHES_URI; |
| 422 | field public static final String[] TRUNCATE_HISTORY_PROJECTION; |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 423 | field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 424 | field public static final int TRUNCATE_N_OLDEST = 5; // 0x5 |
| 425 | } |
| 426 | |
| 427 | public static class Browser.BookmarkColumns implements android.provider.BaseColumns { |
| 428 | ctor public Browser.BookmarkColumns(); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 429 | field public static final String BOOKMARK = "bookmark"; |
| 430 | field public static final String CREATED = "created"; |
| 431 | field public static final String DATE = "date"; |
| 432 | field public static final String FAVICON = "favicon"; |
| 433 | field public static final String TITLE = "title"; |
| 434 | field public static final String URL = "url"; |
| 435 | field public static final String VISITS = "visits"; |
| 436 | field public static final String _COUNT = "_count"; |
| 437 | field public static final String _ID = "_id"; |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 438 | } |
| 439 | |
| 440 | public static class Browser.SearchColumns implements android.provider.BaseColumns { |
| 441 | ctor public Browser.SearchColumns(); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 442 | field public static final String DATE = "date"; |
| 443 | field public static final String SEARCH = "search"; |
| 444 | field @Deprecated public static final String URL = "url"; |
| 445 | field public static final String _COUNT = "_count"; |
| 446 | field public static final String _ID = "_id"; |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 447 | } |
| 448 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 449 | @Deprecated public static final class ContactsContract.Contacts.StreamItems implements android.provider.ContactsContract.StreamItemsColumns { |
| 450 | field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 451 | } |
| 452 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 453 | @Deprecated public static final class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns { |
| 454 | field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items"; |
| 455 | field public static final String _COUNT = "_count"; |
| 456 | field public static final String _ID = "_id"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 457 | } |
| 458 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 459 | @Deprecated public static final class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns { |
| 460 | field @Deprecated public static final String PHOTO = "photo"; |
| 461 | field public static final String _COUNT = "_count"; |
| 462 | field public static final String _ID = "_id"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 463 | } |
| 464 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 465 | @Deprecated protected static interface ContactsContract.StreamItemPhotosColumns { |
| 466 | field @Deprecated public static final String PHOTO_FILE_ID = "photo_file_id"; |
| 467 | field @Deprecated public static final String PHOTO_URI = "photo_uri"; |
| 468 | field @Deprecated public static final String SORT_INDEX = "sort_index"; |
| 469 | field @Deprecated public static final String STREAM_ITEM_ID = "stream_item_id"; |
| 470 | field @Deprecated public static final String SYNC1 = "stream_item_photo_sync1"; |
| 471 | field @Deprecated public static final String SYNC2 = "stream_item_photo_sync2"; |
| 472 | field @Deprecated public static final String SYNC3 = "stream_item_photo_sync3"; |
| 473 | field @Deprecated public static final String SYNC4 = "stream_item_photo_sync4"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 474 | } |
| 475 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 476 | @Deprecated public static final class ContactsContract.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns { |
| 477 | field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item"; |
| 478 | field @Deprecated public static final android.net.Uri CONTENT_LIMIT_URI; |
| 479 | field @Deprecated public static final android.net.Uri CONTENT_PHOTO_URI; |
| 480 | field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item"; |
| 481 | field @Deprecated public static final android.net.Uri CONTENT_URI; |
| 482 | field @Deprecated public static final String MAX_ITEMS = "max_items"; |
| 483 | field public static final String _COUNT = "_count"; |
| 484 | field public static final String _ID = "_id"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 485 | } |
| 486 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 487 | @Deprecated public static final class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns { |
| 488 | field @Deprecated public static final String CONTENT_DIRECTORY = "photo"; |
| 489 | field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo"; |
| 490 | field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo"; |
| 491 | field public static final String _COUNT = "_count"; |
| 492 | field public static final String _ID = "_id"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 493 | } |
| 494 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 495 | @Deprecated protected static interface ContactsContract.StreamItemsColumns { |
| 496 | field @Deprecated public static final String ACCOUNT_NAME = "account_name"; |
| 497 | field @Deprecated public static final String ACCOUNT_TYPE = "account_type"; |
| 498 | field @Deprecated public static final String COMMENTS = "comments"; |
| 499 | field @Deprecated public static final String CONTACT_ID = "contact_id"; |
| 500 | field @Deprecated public static final String CONTACT_LOOKUP_KEY = "contact_lookup"; |
| 501 | field @Deprecated public static final String DATA_SET = "data_set"; |
| 502 | field @Deprecated public static final String RAW_CONTACT_ID = "raw_contact_id"; |
| 503 | field @Deprecated public static final String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id"; |
| 504 | field @Deprecated public static final String RES_ICON = "icon"; |
| 505 | field @Deprecated public static final String RES_LABEL = "label"; |
| 506 | field @Deprecated public static final String RES_PACKAGE = "res_package"; |
| 507 | field @Deprecated public static final String SYNC1 = "stream_item_sync1"; |
| 508 | field @Deprecated public static final String SYNC2 = "stream_item_sync2"; |
| 509 | field @Deprecated public static final String SYNC3 = "stream_item_sync3"; |
| 510 | field @Deprecated public static final String SYNC4 = "stream_item_sync4"; |
| 511 | field @Deprecated public static final String TEXT = "text"; |
| 512 | field @Deprecated public static final String TIMESTAMP = "timestamp"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 513 | } |
| 514 | |
Jeff Sharkey | c62b0ac | 2019-02-07 16:17:13 -0700 | [diff] [blame] | 515 | public final class MediaStore { |
Jeff Sharkey | d0d2695 | 2019-02-27 22:49:21 -0700 | [diff] [blame] | 516 | method @Deprecated @NonNull public static android.net.Uri createPending(@NonNull android.content.Context, @NonNull android.provider.MediaStore.PendingParams); |
Jeff Sharkey | 586d3c0 | 2019-04-09 23:46:48 -0600 | [diff] [blame] | 517 | method @Deprecated @NonNull public static java.util.Set<java.lang.String> getAllVolumeNames(@NonNull android.content.Context); |
Jeff Sharkey | d0d2695 | 2019-02-27 22:49:21 -0700 | [diff] [blame] | 518 | method @Deprecated @NonNull public static android.provider.MediaStore.PendingSession openPending(@NonNull android.content.Context, @NonNull android.net.Uri); |
Jeff Sharkey | c62b0ac | 2019-02-07 16:17:13 -0700 | [diff] [blame] | 519 | method @Deprecated @NonNull public static android.net.Uri setIncludeTrashed(@NonNull android.net.Uri); |
| 520 | method @Deprecated public static void trash(@NonNull android.content.Context, @NonNull android.net.Uri); |
| 521 | method @Deprecated public static void trash(@NonNull android.content.Context, @NonNull android.net.Uri, long); |
| 522 | method @Deprecated public static void untrash(@NonNull android.content.Context, @NonNull android.net.Uri); |
| 523 | } |
| 524 | |
Jeff Sharkey | fc24615 | 2019-04-12 11:52:16 -0600 | [diff] [blame] | 525 | public static interface MediaStore.Audio.AudioColumns extends android.provider.MediaStore.MediaColumns { |
| 526 | field public static final String DURATION = "duration"; |
| 527 | } |
| 528 | |
Sudheer Shanka | 3c60d28 | 2019-04-12 15:05:33 -0700 | [diff] [blame] | 529 | public static interface MediaStore.DownloadColumns extends android.provider.MediaStore.MediaColumns { |
| 530 | field @Deprecated public static final String DESCRIPTION = "description"; |
| 531 | } |
| 532 | |
Jeff Sharkey | fc24615 | 2019-04-12 11:52:16 -0600 | [diff] [blame] | 533 | public static interface MediaStore.Images.ImageColumns extends android.provider.MediaStore.MediaColumns { |
| 534 | field public static final String BUCKET_DISPLAY_NAME = "bucket_display_name"; |
| 535 | field public static final String BUCKET_ID = "bucket_id"; |
| 536 | field public static final String DATE_TAKEN = "datetaken"; |
| 537 | field public static final String GROUP_ID = "group_id"; |
| 538 | field public static final String ORIENTATION = "orientation"; |
| 539 | } |
| 540 | |
Jeff Sharkey | c62b0ac | 2019-02-07 16:17:13 -0700 | [diff] [blame] | 541 | public static interface MediaStore.MediaColumns extends android.provider.BaseColumns { |
Jeff Sharkey | 5e1ca0e | 2019-04-17 13:34:44 -0600 | [diff] [blame] | 542 | field @Deprecated public static final String GROUP_ID = "group_id"; |
Jeff Sharkey | c62b0ac | 2019-02-07 16:17:13 -0700 | [diff] [blame] | 543 | field @Deprecated public static final String HASH = "_hash"; |
| 544 | field @Deprecated public static final String IS_TRASHED = "is_trashed"; |
Jeff Sharkey | f998670 | 2019-03-20 20:18:51 -0600 | [diff] [blame] | 545 | field @Deprecated public static final String PRIMARY_DIRECTORY = "primary_directory"; |
| 546 | field @Deprecated public static final String SECONDARY_DIRECTORY = "secondary_directory"; |
Jeff Sharkey | c62b0ac | 2019-02-07 16:17:13 -0700 | [diff] [blame] | 547 | } |
| 548 | |
Jeff Sharkey | d0d2695 | 2019-02-27 22:49:21 -0700 | [diff] [blame] | 549 | @Deprecated public static class MediaStore.PendingParams { |
| 550 | ctor public MediaStore.PendingParams(@NonNull android.net.Uri, @NonNull String, @NonNull String); |
| 551 | method public void setDownloadUri(@Nullable android.net.Uri); |
| 552 | method public void setPrimaryDirectory(@Nullable String); |
| 553 | method public void setRefererUri(@Nullable android.net.Uri); |
| 554 | method public void setSecondaryDirectory(@Nullable String); |
| 555 | } |
| 556 | |
| 557 | @Deprecated public static class MediaStore.PendingSession implements java.lang.AutoCloseable { |
| 558 | method public void abandon(); |
| 559 | method public void close(); |
| 560 | method public void notifyProgress(@IntRange(from=0, to=100) int); |
| 561 | method @NonNull public android.os.ParcelFileDescriptor open() throws java.io.FileNotFoundException; |
| 562 | method @NonNull public java.io.OutputStream openOutputStream() throws java.io.FileNotFoundException; |
| 563 | method @NonNull public android.net.Uri publish(); |
| 564 | } |
| 565 | |
Jeff Sharkey | fc24615 | 2019-04-12 11:52:16 -0600 | [diff] [blame] | 566 | public static interface MediaStore.Video.VideoColumns extends android.provider.MediaStore.MediaColumns { |
| 567 | field public static final String BUCKET_DISPLAY_NAME = "bucket_display_name"; |
| 568 | field public static final String BUCKET_ID = "bucket_id"; |
| 569 | field public static final String DATE_TAKEN = "datetaken"; |
| 570 | field public static final String DURATION = "duration"; |
| 571 | field public static final String GROUP_ID = "group_id"; |
| 572 | } |
| 573 | |
Tingting Wang | e0cbda4 | 2016-05-10 15:39:37 -0700 | [diff] [blame] | 574 | public static final class Settings.Global extends android.provider.Settings.NameValueTable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 575 | field @Deprecated public static final String CONTACT_METADATA_SYNC = "contact_metadata_sync"; |
Tingting Wang | e0cbda4 | 2016-05-10 15:39:37 -0700 | [diff] [blame] | 576 | } |
| 577 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 578 | public static final class Settings.System extends android.provider.Settings.NameValueTable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 579 | field public static final String APPEND_FOR_LAST_AUDIBLE = "_last_audible"; |
| 580 | field public static final String VOLUME_ALARM = "volume_alarm"; |
| 581 | field public static final String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco"; |
| 582 | field public static final String VOLUME_MUSIC = "volume_music"; |
| 583 | field public static final String VOLUME_NOTIFICATION = "volume_notification"; |
| 584 | field public static final String VOLUME_RING = "volume_ring"; |
| 585 | field public static final String[] VOLUME_SETTINGS; |
| 586 | field public static final String VOLUME_SYSTEM = "volume_system"; |
| 587 | field public static final String VOLUME_VOICE = "volume_voice"; |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 588 | } |
| 589 | |
Amit Mahajan | a895559 | 2016-05-02 14:45:46 -0700 | [diff] [blame] | 590 | public static final class Telephony.Sms.Intents { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 591 | field public static final String SMS_EMERGENCY_CB_RECEIVED_ACTION = "android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED"; |
Amit Mahajan | a895559 | 2016-05-02 14:45:46 -0700 | [diff] [blame] | 592 | } |
| 593 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 594 | } |
| 595 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 596 | package android.speech.tts { |
| 597 | |
| 598 | public abstract class UtteranceProgressListener { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 599 | method @Deprecated public void onUtteranceRangeStart(String, int, int); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 600 | } |
| 601 | |
| 602 | } |
| 603 | |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 604 | package android.telephony { |
| 605 | |
| 606 | public class NetworkScan { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 607 | method @Deprecated public void stop() throws android.os.RemoteException; |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 608 | } |
| 609 | |
| 610 | public class TelephonyManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 611 | method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) public java.util.List<android.telephony.NeighboringCellInfo> getNeighboringCellInfo(); |
Hall Liu | ee31373 | 2018-11-27 14:36:51 -0800 | [diff] [blame] | 612 | method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.ACCESS_FINE_LOCATION}) public android.telephony.NetworkScan requestNetworkScan(android.telephony.NetworkScanRequest, android.telephony.TelephonyScanManager.NetworkScanCallback); |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 613 | } |
| 614 | |
| 615 | } |
| 616 | |
Narayan Kamath | 9d68b3c | 2014-10-22 12:55:58 +0100 | [diff] [blame] | 617 | package android.text.format { |
| 618 | |
| 619 | public class DateFormat { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 620 | field @Deprecated public static final char AM_PM = 97; // 0x0061 'a' |
| 621 | field @Deprecated public static final char CAPITAL_AM_PM = 65; // 0x0041 'A' |
| 622 | field @Deprecated public static final char DATE = 100; // 0x0064 'd' |
| 623 | field @Deprecated public static final char DAY = 69; // 0x0045 'E' |
| 624 | field @Deprecated public static final char HOUR = 104; // 0x0068 'h' |
| 625 | field @Deprecated public static final char HOUR_OF_DAY = 107; // 0x006b 'k' |
| 626 | field @Deprecated public static final char MINUTE = 109; // 0x006d 'm' |
| 627 | field @Deprecated public static final char MONTH = 77; // 0x004d 'M' |
| 628 | field @Deprecated public static final char QUOTE = 39; // 0x0027 '\'' |
| 629 | field @Deprecated public static final char SECONDS = 115; // 0x0073 's' |
| 630 | field @Deprecated public static final char STANDALONE_MONTH = 76; // 0x004c 'L' |
| 631 | field @Deprecated public static final char TIME_ZONE = 122; // 0x007a 'z' |
| 632 | field @Deprecated public static final char YEAR = 121; // 0x0079 'y' |
Narayan Kamath | 9d68b3c | 2014-10-22 12:55:58 +0100 | [diff] [blame] | 633 | } |
| 634 | |
| 635 | } |
| 636 | |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 637 | package android.text.style { |
| 638 | |
| 639 | public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance { |
| 640 | ctor public RasterizerSpan(android.graphics.Rasterizer); |
| 641 | method public android.graphics.Rasterizer getRasterizer(); |
Jeff Sharkey | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 642 | method public void updateDrawState(android.text.TextPaint); |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 643 | } |
| 644 | |
| 645 | } |
| 646 | |
Neil Fuller | d6a2135 | 2015-02-12 10:13:45 +0000 | [diff] [blame] | 647 | package android.util { |
| 648 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 649 | @Deprecated public class FloatMath { |
Neil Fuller | d6a2135 | 2015-02-12 10:13:45 +0000 | [diff] [blame] | 650 | method public static float ceil(float); |
| 651 | method public static float cos(float); |
| 652 | method public static float exp(float); |
| 653 | method public static float floor(float); |
| 654 | method public static float hypot(float, float); |
| 655 | method public static float pow(float, float); |
| 656 | method public static float sin(float); |
| 657 | method public static float sqrt(float); |
| 658 | } |
| 659 | |
| 660 | } |
| 661 | |
Jorim Jaggi | e411fdf | 2014-07-28 23:00:44 +0200 | [diff] [blame] | 662 | package android.view { |
| 663 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 664 | @UiThread public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback { |
Adam Powell | 5eb3ffc | 2014-09-11 15:38:55 -0700 | [diff] [blame] | 665 | method protected void initializeFadingEdge(android.content.res.TypedArray); |
| 666 | method protected void initializeScrollbars(android.content.res.TypedArray); |
| 667 | } |
| 668 | |
Aaron Whyte | f830652 | 2017-03-22 16:30:58 -0700 | [diff] [blame] | 669 | public class ViewConfiguration { |
| 670 | method public int getScaledScrollFactor(); |
| 671 | } |
| 672 | |
Jorim Jaggi | e411fdf | 2014-07-28 23:00:44 +0200 | [diff] [blame] | 673 | public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable { |
| 674 | field public static final int TYPE_KEYGUARD = 2004; // 0x7d4 |
| 675 | } |
| 676 | |
| 677 | } |
| 678 | |
Michael Wright | 1ad3955 | 2016-04-27 13:07:18 -0400 | [diff] [blame] | 679 | package android.webkit { |
| 680 | |
| 681 | public class WebViewClient { |
| 682 | method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent); |
| 683 | } |
| 684 | |
| 685 | } |
| 686 | |
Alan Viverette | 5171dee | 2014-09-11 16:33:01 -0700 | [diff] [blame] | 687 | package android.widget { |
| 688 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 689 | @android.widget.RemoteViews.RemoteView public class ListView extends android.widget.AbsListView { |
| 690 | method protected <T extends android.view.View> T findViewTraversal(@IdRes int); |
| 691 | method protected <T extends android.view.View> T findViewWithTagTraversal(Object); |
Jeff Sharkey | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 692 | } |
| 693 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 694 | @android.widget.RemoteViews.RemoteView public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener { |
Alan Viverette | 5171dee | 2014-09-11 16:33:01 -0700 | [diff] [blame] | 695 | method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int); |
| 696 | method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray); |
| 697 | } |
| 698 | |
| 699 | } |
| 700 | |