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 ActivityManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 5 | method @Deprecated public static int getMaxNumPictureInPictureActions(); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 6 | } |
| 7 | |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 8 | public class Notification implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 9 | method @Deprecated public String getChannel(); |
| 10 | method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String); |
| 11 | method @Deprecated public long getTimeout(); |
| 12 | 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] | 13 | } |
| 14 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 15 | public static class Notification.Builder { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 16 | method @Deprecated public android.app.Notification.Builder setChannel(String); |
| 17 | method @Deprecated public android.app.Notification.Builder setTimeout(long); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 18 | } |
| 19 | |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 20 | } |
| 21 | |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 22 | package android.app.slice { |
| 23 | |
| 24 | public final class Slice implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 25 | field @Deprecated public static final String EXTRA_SLIDER_VALUE = "android.app.slice.extra.SLIDER_VALUE"; |
| 26 | field @Deprecated public static final String SUBTYPE_SLIDER = "slider"; |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | public static class Slice.Builder { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 30 | ctor @Deprecated public Slice.Builder(@NonNull android.net.Uri); |
| 31 | method @Deprecated public android.app.slice.Slice.Builder addTimestamp(long, @Nullable String, java.util.List<java.lang.String>); |
| 32 | 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] | 33 | } |
| 34 | |
| 35 | public final class SliceItem implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 36 | method @Deprecated public long getTimestamp(); |
| 37 | field @Deprecated public static final String FORMAT_TIMESTAMP = "long"; |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 38 | } |
| 39 | |
| 40 | public class SliceManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 41 | method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>); |
| 42 | method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.content.Intent, @NonNull java.util.List<android.app.slice.SliceSpec>); |
| 43 | 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] | 44 | } |
| 45 | |
| 46 | public abstract class SliceProvider extends android.content.ContentProvider { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 47 | 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] | 48 | } |
| 49 | |
| 50 | } |
| 51 | |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 52 | package android.app.usage { |
| 53 | |
Jeff Sharkey | a4d34d9 | 2017-04-27 11:21:41 -0600 | [diff] [blame] | 54 | public final class StorageStats implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 55 | method @Deprecated public long getCodeBytes(); |
Jeff Sharkey | a4d34d9 | 2017-04-27 11:21:41 -0600 | [diff] [blame] | 56 | } |
| 57 | |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 58 | public class StorageStatsManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 59 | method @Deprecated public long getFreeBytes(String) throws java.io.IOException; |
| 60 | method @Deprecated public long getTotalBytes(String) throws java.io.IOException; |
| 61 | method @Deprecated public boolean isQuotaSupported(String); |
| 62 | method @Deprecated public android.app.usage.ExternalStorageStats queryExternalStatsForUser(String, android.os.UserHandle) throws java.io.IOException; |
| 63 | method @Deprecated public android.app.usage.StorageStats queryStatsForPackage(String, String, android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException; |
| 64 | method @Deprecated public android.app.usage.StorageStats queryStatsForUid(String, int) throws java.io.IOException; |
| 65 | 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] | 66 | } |
| 67 | |
| 68 | } |
| 69 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 70 | package android.content { |
| 71 | |
| 72 | public abstract class Context { |
Jeff Sharkey | cf3f0a1 | 2016-03-17 19:57:58 -0600 | [diff] [blame] | 73 | method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 74 | method public abstract java.io.File getSharedPreferencesPath(String); |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 75 | } |
| 76 | |
Jeff Sharkey | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 77 | public class ContextWrapper extends android.content.Context { |
| 78 | method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 79 | method public java.io.File getSharedPreferencesPath(String); |
Jeff Sharkey | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 80 | } |
| 81 | |
Garfield Tan | ce1d0e9 | 2017-03-23 10:52:48 -0700 | [diff] [blame] | 82 | public class Intent implements java.lang.Cloneable android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 83 | 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] | 84 | } |
| 85 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 86 | } |
| 87 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 88 | package android.content.pm { |
| 89 | |
| 90 | public class PackageInfo implements android.os.Parcelable { |
| 91 | field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1 |
| 92 | } |
| 93 | |
Svetoslav Ganov | 345ffa5 | 2017-04-18 16:08:41 -0700 | [diff] [blame] | 94 | public abstract class PackageManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 95 | method public abstract boolean setInstantAppCookie(@Nullable byte[]); |
Svetoslav Ganov | 345ffa5 | 2017-04-18 16:08:41 -0700 | [diff] [blame] | 96 | } |
| 97 | |
Svetoslav Ganov | 0cb43ef | 2017-04-18 14:28:35 -0700 | [diff] [blame] | 98 | public final class SharedLibraryInfo implements android.os.Parcelable { |
| 99 | method public boolean isBuiltin(); |
| 100 | method public boolean isDynamic(); |
| 101 | method public boolean isStatic(); |
| 102 | } |
| 103 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 104 | } |
| 105 | |
Jeff Brown | 8faab36 | 2015-04-09 18:52:52 -0700 | [diff] [blame] | 106 | package android.database { |
| 107 | |
| 108 | public abstract class AbstractCursor implements android.database.CrossProcessCursor { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 109 | field protected Long mCurrentRowID; |
Jeff Brown | 8faab36 | 2015-04-09 18:52:52 -0700 | [diff] [blame] | 110 | field protected int mRowIdColumnIndex; |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 111 | 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] | 112 | } |
| 113 | |
| 114 | } |
| 115 | |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 116 | package android.graphics { |
| 117 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 118 | @Deprecated public class AvoidXfermode extends android.graphics.Xfermode { |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 119 | ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode); |
| 120 | } |
| 121 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 122 | public enum AvoidXfermode.Mode { |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 123 | enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID; |
| 124 | enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET; |
| 125 | } |
| 126 | |
Derek Sollenberger | b29b16e | 2017-01-04 14:57:43 -0500 | [diff] [blame] | 127 | public class Canvas { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 128 | method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region, @NonNull android.graphics.Region.Op); |
| 129 | method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region); |
| 130 | method @Deprecated public int save(int); |
| 131 | field @Deprecated public static final int CLIP_SAVE_FLAG = 2; // 0x2 |
| 132 | field @Deprecated public static final int CLIP_TO_LAYER_SAVE_FLAG = 16; // 0x10 |
| 133 | field @Deprecated public static final int FULL_COLOR_LAYER_SAVE_FLAG = 8; // 0x8 |
| 134 | field @Deprecated public static final int HAS_ALPHA_LAYER_SAVE_FLAG = 4; // 0x4 |
| 135 | field @Deprecated public static final int MATRIX_SAVE_FLAG = 1; // 0x1 |
Derek Sollenberger | b29b16e | 2017-01-04 14:57:43 -0500 | [diff] [blame] | 136 | } |
| 137 | |
Leon Scroggins III | 746a9fe | 2018-03-08 10:32:10 -0500 | [diff] [blame] | 138 | public final class ImageDecoder implements java.lang.AutoCloseable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 139 | method @Deprecated public boolean getAsAlphaMask(); |
| 140 | method @Deprecated public boolean getConserveMemory(); |
| 141 | method @Deprecated public boolean getDecodeAsAlphaMask(); |
| 142 | method @Deprecated public boolean getMutable(); |
| 143 | method @Deprecated public boolean getRequireUnpremultiplied(); |
| 144 | method @Deprecated public android.graphics.ImageDecoder setAsAlphaMask(boolean); |
| 145 | method @Deprecated public void setConserveMemory(boolean); |
| 146 | method @Deprecated public android.graphics.ImageDecoder setDecodeAsAlphaMask(boolean); |
| 147 | method @Deprecated public android.graphics.ImageDecoder setMutable(boolean); |
| 148 | method @Deprecated public android.graphics.ImageDecoder setRequireUnpremultiplied(boolean); |
| 149 | method @Deprecated public android.graphics.ImageDecoder setResize(int, int); |
| 150 | method @Deprecated public android.graphics.ImageDecoder setResize(int); |
| 151 | field @Deprecated public static final int ERROR_SOURCE_ERROR = 3; // 0x3 |
| 152 | field @Deprecated public static final int ERROR_SOURCE_EXCEPTION = 1; // 0x1 |
| 153 | field @Deprecated public static final int ERROR_SOURCE_INCOMPLETE = 2; // 0x2 |
Leon Scroggins III | 746a9fe | 2018-03-08 10:32:10 -0500 | [diff] [blame] | 154 | } |
| 155 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 156 | @Deprecated public static class ImageDecoder.IncompleteException extends java.io.IOException { |
Leon Scroggins III | 1d2bf2b | 2018-03-14 16:07:43 -0400 | [diff] [blame] | 157 | ctor public ImageDecoder.IncompleteException(); |
| 158 | } |
| 159 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 160 | @Deprecated public class LayerRasterizer extends android.graphics.Rasterizer { |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 161 | ctor public LayerRasterizer(); |
| 162 | method public void addLayer(android.graphics.Paint, float, float); |
| 163 | method public void addLayer(android.graphics.Paint); |
| 164 | } |
| 165 | |
| 166 | public class Paint { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 167 | method @Deprecated public android.graphics.Rasterizer getRasterizer(); |
| 168 | method @Deprecated public android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer); |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 169 | } |
| 170 | |
Mike Reed | 99a83d2 | 2018-02-26 15:42:00 -0500 | [diff] [blame] | 171 | public class Picture { |
John Reck | 5cca8f2 | 2018-12-10 17:06:22 -0800 | [diff] [blame] | 172 | method @Deprecated public static android.graphics.Picture createFromStream(@NonNull java.io.InputStream); |
| 173 | method @Deprecated public void writeToStream(@NonNull java.io.OutputStream); |
Mike Reed | 99a83d2 | 2018-02-26 15:42:00 -0500 | [diff] [blame] | 174 | } |
| 175 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 176 | @Deprecated public class PixelXorXfermode extends android.graphics.Xfermode { |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 177 | ctor public PixelXorXfermode(int); |
| 178 | } |
| 179 | |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 180 | public class Rasterizer { |
| 181 | ctor public Rasterizer(); |
| 182 | } |
| 183 | |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 184 | } |
| 185 | |
Leon Scroggins III | 6de55b8 | 2018-02-23 16:11:37 -0500 | [diff] [blame] | 186 | package android.graphics.drawable { |
| 187 | |
| 188 | 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] | 189 | method @Deprecated public int getLoopCount(int); |
| 190 | method @Deprecated public void setLoopCount(int); |
| 191 | field @Deprecated public static final int LOOP_INFINITE = -1; // 0xffffffff |
Leon Scroggins III | 6de55b8 | 2018-02-23 16:11:37 -0500 | [diff] [blame] | 192 | } |
| 193 | |
| 194 | } |
| 195 | |
Peng Xu | 3c8c6a4 | 2017-04-06 18:37:56 -0700 | [diff] [blame] | 196 | package android.hardware { |
| 197 | |
| 198 | public final class SensorDirectChannel implements java.nio.channels.Channel { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 199 | method @Deprecated public boolean isValid(); |
Peng Xu | 3c8c6a4 | 2017-04-06 18:37:56 -0700 | [diff] [blame] | 200 | } |
| 201 | |
Peng Xu | 3c8c6a4 | 2017-04-06 18:37:56 -0700 | [diff] [blame] | 202 | } |
| 203 | |
Victor Chang | 8d69313 | 2019-05-03 14:28:20 +0100 | [diff] [blame] | 204 | package android.icu.util { |
| 205 | |
| 206 | public class JapaneseCalendar extends android.icu.util.GregorianCalendar { |
Nikita Iashchenko | 476db6e | 2019-07-25 19:14:24 +0100 | [diff] [blame] | 207 | field @Deprecated public static final int CURRENT_ERA; |
Victor Chang | 8d69313 | 2019-05-03 14:28:20 +0100 | [diff] [blame] | 208 | } |
| 209 | |
| 210 | } |
| 211 | |
Yu Liu | b87243c | 2017-04-18 16:08:29 -0700 | [diff] [blame] | 212 | package android.location { |
| 213 | |
| 214 | public class Location implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 215 | method @Deprecated public void removeBearingAccuracy(); |
| 216 | method @Deprecated public void removeSpeedAccuracy(); |
| 217 | method @Deprecated public void removeVerticalAccuracy(); |
Yu Liu | b87243c | 2017-04-18 16:08:29 -0700 | [diff] [blame] | 218 | } |
| 219 | |
| 220 | } |
| 221 | |
Glenn Kasten | 1aa74e4 | 2014-05-19 10:11:19 -0700 | [diff] [blame] | 222 | package android.media { |
| 223 | |
Jeff Sharkey | 50d1c04 | 2016-02-29 16:34:46 -0700 | [diff] [blame] | 224 | public final class AudioFormat implements android.os.Parcelable { |
Glenn Kasten | 1aa74e4 | 2014-05-19 10:11:19 -0700 | [diff] [blame] | 225 | ctor public AudioFormat(); |
| 226 | } |
| 227 | |
| 228 | } |
| 229 | |
Dongwon Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 230 | package android.media.tv { |
| 231 | |
| 232 | public class TvView extends android.view.ViewGroup { |
| 233 | method public void requestUnblockContent(android.media.tv.TvContentRating); |
| 234 | } |
| 235 | |
| 236 | } |
| 237 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 238 | package android.net { |
| 239 | |
Lorenzo Colitti | 2187df7 | 2016-12-09 18:39:30 +0900 | [diff] [blame] | 240 | public class ConnectivityManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 241 | method @Deprecated public boolean requestRouteToHost(int, int); |
| 242 | method @Deprecated public int startUsingNetworkFeature(int, String); |
| 243 | method @Deprecated public int stopUsingNetworkFeature(int, String); |
Lorenzo Colitti | 2187df7 | 2016-12-09 18:39:30 +0900 | [diff] [blame] | 244 | } |
| 245 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 246 | @Deprecated public class NetworkBadging { |
| 247 | 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] | 248 | field public static final int BADGING_4K = 30; // 0x1e |
| 249 | field public static final int BADGING_HD = 20; // 0x14 |
| 250 | field public static final int BADGING_NONE = 0; // 0x0 |
| 251 | field public static final int BADGING_SD = 10; // 0xa |
| 252 | } |
| 253 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 254 | @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] | 255 | } |
| 256 | |
Adam Vartanian | 6caa816 | 2019-01-18 15:42:43 +0000 | [diff] [blame] | 257 | @Deprecated public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 258 | 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] | 259 | } |
| 260 | |
Jeff Sharkey | 121d565 | 2018-03-26 13:11:33 -0600 | [diff] [blame] | 261 | public class TrafficStats { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 262 | method @Deprecated public static void setThreadStatsUidSelf(); |
Jeff Sharkey | 121d565 | 2018-03-26 13:11:33 -0600 | [diff] [blame] | 263 | } |
| 264 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 265 | } |
| 266 | |
Jeff Brown | 7d82751 | 2014-08-21 21:56:02 -0700 | [diff] [blame] | 267 | package android.os { |
| 268 | |
Jeff Brown | 6e53931 | 2015-02-24 18:53:21 -0800 | [diff] [blame] | 269 | public class BatteryManager { |
| 270 | ctor public BatteryManager(); |
| 271 | } |
| 272 | |
Jeff Brown | 7d82751 | 2014-08-21 21:56:02 -0700 | [diff] [blame] | 273 | public final class PowerManager { |
| 274 | method public void goToSleep(long); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 275 | method @Deprecated public void userActivity(long, boolean); |
Michael Wright | e300104 | 2019-02-05 00:13:14 +0000 | [diff] [blame] | 276 | method @Deprecated public void wakeUp(long); |
Jeff Brown | 7d82751 | 2014-08-21 21:56:02 -0700 | [diff] [blame] | 277 | } |
| 278 | |
Andreas Gampe | 70e21e6 | 2015-03-18 16:13:33 -0700 | [diff] [blame] | 279 | public class RecoverySystem { |
| 280 | ctor public RecoverySystem(); |
| 281 | } |
| 282 | |
Kurt Nelson | 72534b7 | 2018-02-22 11:21:15 -0800 | [diff] [blame] | 283 | public static final class StrictMode.ThreadPolicy.Builder { |
Jeff Sharkey | a30e5c3 | 2019-02-28 12:02:10 -0700 | [diff] [blame] | 284 | 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] | 285 | } |
| 286 | |
| 287 | public static final class StrictMode.VmPolicy.Builder { |
Jeff Sharkey | a30e5c3 | 2019-02-28 12:02:10 -0700 | [diff] [blame] | 288 | 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] | 289 | } |
| 290 | |
Jeff Sharkey | 9911a28 | 2018-02-14 22:29:11 -0700 | [diff] [blame] | 291 | public final class SystemClock { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 292 | method @NonNull public static java.time.Clock elapsedRealtimeClock(); |
| 293 | method @NonNull public static java.time.Clock uptimeClock(); |
Jeff Sharkey | 9911a28 | 2018-02-14 22:29:11 -0700 | [diff] [blame] | 294 | } |
| 295 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 296 | public class TestLooperManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 297 | method @Deprecated public android.os.MessageQueue getQueue(); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 298 | } |
| 299 | |
Svetoslav | c7d62f0 | 2014-09-04 15:39:54 -0700 | [diff] [blame] | 300 | public class UserManager { |
| 301 | method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int); |
| 302 | 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] | 303 | method public CharSequence getBadgedLabelForUser(CharSequence, android.os.UserHandle); |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 304 | } |
| 305 | |
| 306 | } |
| 307 | |
Jeff Sharkey | c02bfae | 2016-03-27 15:06:53 -0600 | [diff] [blame] | 308 | package android.os.storage { |
| 309 | |
| 310 | public class StorageManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 311 | method @NonNull public android.os.storage.StorageVolume getPrimaryVolume(); |
| 312 | method @NonNull public android.os.storage.StorageVolume[] getVolumeList(); |
Jeff Sharkey | c02bfae | 2016-03-27 15:06:53 -0600 | [diff] [blame] | 313 | } |
| 314 | |
| 315 | } |
| 316 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 317 | package android.provider { |
| 318 | |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 319 | public class Browser { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 320 | 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); |
| 321 | method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final boolean canClearHistory(android.content.ContentResolver); |
| 322 | method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearHistory(android.content.ContentResolver); |
| 323 | method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearSearches(android.content.ContentResolver); |
| 324 | method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteFromHistory(android.content.ContentResolver, String); |
| 325 | method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long); |
| 326 | 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; |
| 327 | 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; |
| 328 | 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); |
| 329 | method public static final void saveBookmark(android.content.Context, String, String); |
| 330 | 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); |
| 331 | 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); |
| 332 | 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; |
| 333 | field public static final String[] HISTORY_PROJECTION; |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 334 | field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4 |
| 335 | field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3 |
| 336 | field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6 |
| 337 | field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 338 | field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5 |
| 339 | field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1 |
| 340 | field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2 |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 341 | field public static final String[] SEARCHES_PROJECTION; |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 342 | field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2 |
| 343 | field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1 |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 344 | 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; |
| 345 | field public static final String[] TRUNCATE_HISTORY_PROJECTION; |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 346 | field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 347 | field public static final int TRUNCATE_N_OLDEST = 5; // 0x5 |
| 348 | } |
| 349 | |
| 350 | public static class Browser.BookmarkColumns implements android.provider.BaseColumns { |
| 351 | ctor public Browser.BookmarkColumns(); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 352 | field public static final String BOOKMARK = "bookmark"; |
| 353 | field public static final String CREATED = "created"; |
| 354 | field public static final String DATE = "date"; |
| 355 | field public static final String FAVICON = "favicon"; |
| 356 | field public static final String TITLE = "title"; |
| 357 | field public static final String URL = "url"; |
| 358 | field public static final String VISITS = "visits"; |
| 359 | field public static final String _COUNT = "_count"; |
| 360 | field public static final String _ID = "_id"; |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 361 | } |
| 362 | |
| 363 | public static class Browser.SearchColumns implements android.provider.BaseColumns { |
| 364 | ctor public Browser.SearchColumns(); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 365 | field public static final String DATE = "date"; |
| 366 | field public static final String SEARCH = "search"; |
| 367 | field @Deprecated public static final String URL = "url"; |
| 368 | field public static final String _COUNT = "_count"; |
| 369 | field public static final String _ID = "_id"; |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 370 | } |
| 371 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 372 | @Deprecated public static final class ContactsContract.Contacts.StreamItems implements android.provider.ContactsContract.StreamItemsColumns { |
| 373 | field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 374 | } |
| 375 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 376 | @Deprecated public static final class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns { |
| 377 | field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items"; |
| 378 | field public static final String _COUNT = "_count"; |
| 379 | field public static final String _ID = "_id"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 380 | } |
| 381 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 382 | @Deprecated public static final class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns { |
| 383 | field @Deprecated public static final String PHOTO = "photo"; |
| 384 | field public static final String _COUNT = "_count"; |
| 385 | field public static final String _ID = "_id"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 386 | } |
| 387 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 388 | @Deprecated protected static interface ContactsContract.StreamItemPhotosColumns { |
| 389 | field @Deprecated public static final String PHOTO_FILE_ID = "photo_file_id"; |
| 390 | field @Deprecated public static final String PHOTO_URI = "photo_uri"; |
| 391 | field @Deprecated public static final String SORT_INDEX = "sort_index"; |
| 392 | field @Deprecated public static final String STREAM_ITEM_ID = "stream_item_id"; |
| 393 | field @Deprecated public static final String SYNC1 = "stream_item_photo_sync1"; |
| 394 | field @Deprecated public static final String SYNC2 = "stream_item_photo_sync2"; |
| 395 | field @Deprecated public static final String SYNC3 = "stream_item_photo_sync3"; |
| 396 | field @Deprecated public static final String SYNC4 = "stream_item_photo_sync4"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 397 | } |
| 398 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 399 | @Deprecated public static final class ContactsContract.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns { |
| 400 | field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item"; |
| 401 | field @Deprecated public static final android.net.Uri CONTENT_LIMIT_URI; |
| 402 | field @Deprecated public static final android.net.Uri CONTENT_PHOTO_URI; |
| 403 | field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item"; |
| 404 | field @Deprecated public static final android.net.Uri CONTENT_URI; |
| 405 | field @Deprecated public static final String MAX_ITEMS = "max_items"; |
| 406 | field public static final String _COUNT = "_count"; |
| 407 | field public static final String _ID = "_id"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 408 | } |
| 409 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 410 | @Deprecated public static final class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns { |
| 411 | field @Deprecated public static final String CONTENT_DIRECTORY = "photo"; |
| 412 | field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo"; |
| 413 | field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo"; |
| 414 | field public static final String _COUNT = "_count"; |
| 415 | field public static final String _ID = "_id"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 416 | } |
| 417 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 418 | @Deprecated protected static interface ContactsContract.StreamItemsColumns { |
| 419 | field @Deprecated public static final String ACCOUNT_NAME = "account_name"; |
| 420 | field @Deprecated public static final String ACCOUNT_TYPE = "account_type"; |
| 421 | field @Deprecated public static final String COMMENTS = "comments"; |
| 422 | field @Deprecated public static final String CONTACT_ID = "contact_id"; |
| 423 | field @Deprecated public static final String CONTACT_LOOKUP_KEY = "contact_lookup"; |
| 424 | field @Deprecated public static final String DATA_SET = "data_set"; |
| 425 | field @Deprecated public static final String RAW_CONTACT_ID = "raw_contact_id"; |
| 426 | field @Deprecated public static final String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id"; |
| 427 | field @Deprecated public static final String RES_ICON = "icon"; |
| 428 | field @Deprecated public static final String RES_LABEL = "label"; |
| 429 | field @Deprecated public static final String RES_PACKAGE = "res_package"; |
| 430 | field @Deprecated public static final String SYNC1 = "stream_item_sync1"; |
| 431 | field @Deprecated public static final String SYNC2 = "stream_item_sync2"; |
| 432 | field @Deprecated public static final String SYNC3 = "stream_item_sync3"; |
| 433 | field @Deprecated public static final String SYNC4 = "stream_item_sync4"; |
| 434 | field @Deprecated public static final String TEXT = "text"; |
| 435 | field @Deprecated public static final String TIMESTAMP = "timestamp"; |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 436 | } |
| 437 | |
Jeff Sharkey | fc24615 | 2019-04-12 11:52:16 -0600 | [diff] [blame] | 438 | public static interface MediaStore.Audio.AudioColumns extends android.provider.MediaStore.MediaColumns { |
Jeff Sharkey | 7b75fe5 | 2019-10-18 18:55:36 -0600 | [diff] [blame] | 439 | field public static final String ALBUM = "album"; |
| 440 | field public static final String ARTIST = "artist"; |
| 441 | field public static final String COMPOSER = "composer"; |
Jeff Sharkey | fc24615 | 2019-04-12 11:52:16 -0600 | [diff] [blame] | 442 | field public static final String DURATION = "duration"; |
| 443 | } |
| 444 | |
Sudheer Shanka | 3c60d28 | 2019-04-12 15:05:33 -0700 | [diff] [blame] | 445 | public static interface MediaStore.DownloadColumns extends android.provider.MediaStore.MediaColumns { |
| 446 | field @Deprecated public static final String DESCRIPTION = "description"; |
| 447 | } |
| 448 | |
Jeff Sharkey | 7b75fe5 | 2019-10-18 18:55:36 -0600 | [diff] [blame] | 449 | public static interface MediaStore.Files.FileColumns extends android.provider.MediaStore.MediaColumns { |
| 450 | field public static final String TITLE = "title"; |
| 451 | } |
| 452 | |
Jeff Sharkey | fc24615 | 2019-04-12 11:52:16 -0600 | [diff] [blame] | 453 | public static interface MediaStore.Images.ImageColumns extends android.provider.MediaStore.MediaColumns { |
| 454 | field public static final String BUCKET_DISPLAY_NAME = "bucket_display_name"; |
| 455 | field public static final String BUCKET_ID = "bucket_id"; |
| 456 | field public static final String DATE_TAKEN = "datetaken"; |
| 457 | field public static final String GROUP_ID = "group_id"; |
| 458 | field public static final String ORIENTATION = "orientation"; |
| 459 | } |
| 460 | |
Jeff Sharkey | c62b0ac | 2019-02-07 16:17:13 -0700 | [diff] [blame] | 461 | public static interface MediaStore.MediaColumns extends android.provider.BaseColumns { |
Jeff Sharkey | 5e1ca0e | 2019-04-17 13:34:44 -0600 | [diff] [blame] | 462 | field @Deprecated public static final String GROUP_ID = "group_id"; |
Jeff Sharkey | c62b0ac | 2019-02-07 16:17:13 -0700 | [diff] [blame] | 463 | } |
| 464 | |
Jeff Sharkey | fc24615 | 2019-04-12 11:52:16 -0600 | [diff] [blame] | 465 | public static interface MediaStore.Video.VideoColumns extends android.provider.MediaStore.MediaColumns { |
Jeff Sharkey | 7b75fe5 | 2019-10-18 18:55:36 -0600 | [diff] [blame] | 466 | field public static final String ALBUM = "album"; |
| 467 | field public static final String ARTIST = "artist"; |
Jeff Sharkey | fc24615 | 2019-04-12 11:52:16 -0600 | [diff] [blame] | 468 | field public static final String BUCKET_DISPLAY_NAME = "bucket_display_name"; |
| 469 | field public static final String BUCKET_ID = "bucket_id"; |
| 470 | field public static final String DATE_TAKEN = "datetaken"; |
| 471 | field public static final String DURATION = "duration"; |
| 472 | field public static final String GROUP_ID = "group_id"; |
Jeff Sharkey | 7b75fe5 | 2019-10-18 18:55:36 -0600 | [diff] [blame] | 473 | field public static final String RESOLUTION = "resolution"; |
Jeff Sharkey | fc24615 | 2019-04-12 11:52:16 -0600 | [diff] [blame] | 474 | } |
| 475 | |
Tingting Wang | e0cbda4 | 2016-05-10 15:39:37 -0700 | [diff] [blame] | 476 | public static final class Settings.Global extends android.provider.Settings.NameValueTable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 477 | field @Deprecated public static final String CONTACT_METADATA_SYNC = "contact_metadata_sync"; |
Tingting Wang | e0cbda4 | 2016-05-10 15:39:37 -0700 | [diff] [blame] | 478 | } |
| 479 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 480 | public static final class Settings.System extends android.provider.Settings.NameValueTable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 481 | field public static final String APPEND_FOR_LAST_AUDIBLE = "_last_audible"; |
| 482 | field public static final String VOLUME_ALARM = "volume_alarm"; |
| 483 | field public static final String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco"; |
| 484 | field public static final String VOLUME_MUSIC = "volume_music"; |
| 485 | field public static final String VOLUME_NOTIFICATION = "volume_notification"; |
| 486 | field public static final String VOLUME_RING = "volume_ring"; |
| 487 | field public static final String[] VOLUME_SETTINGS; |
| 488 | field public static final String VOLUME_SYSTEM = "volume_system"; |
| 489 | field public static final String VOLUME_VOICE = "volume_voice"; |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 490 | } |
| 491 | |
| 492 | } |
| 493 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 494 | package android.speech.tts { |
| 495 | |
| 496 | public abstract class UtteranceProgressListener { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 497 | method @Deprecated public void onUtteranceRangeStart(String, int, int); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 498 | } |
| 499 | |
| 500 | } |
| 501 | |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 502 | package android.telephony { |
| 503 | |
| 504 | public class NetworkScan { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 505 | method @Deprecated public void stop() throws android.os.RemoteException; |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 506 | } |
| 507 | |
| 508 | public class TelephonyManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 509 | 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] | 510 | 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] | 511 | } |
| 512 | |
| 513 | } |
| 514 | |
Narayan Kamath | 9d68b3c | 2014-10-22 12:55:58 +0100 | [diff] [blame] | 515 | package android.text.format { |
| 516 | |
| 517 | public class DateFormat { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 518 | field @Deprecated public static final char AM_PM = 97; // 0x0061 'a' |
| 519 | field @Deprecated public static final char CAPITAL_AM_PM = 65; // 0x0041 'A' |
| 520 | field @Deprecated public static final char DATE = 100; // 0x0064 'd' |
| 521 | field @Deprecated public static final char DAY = 69; // 0x0045 'E' |
| 522 | field @Deprecated public static final char HOUR = 104; // 0x0068 'h' |
| 523 | field @Deprecated public static final char HOUR_OF_DAY = 107; // 0x006b 'k' |
| 524 | field @Deprecated public static final char MINUTE = 109; // 0x006d 'm' |
| 525 | field @Deprecated public static final char MONTH = 77; // 0x004d 'M' |
| 526 | field @Deprecated public static final char QUOTE = 39; // 0x0027 '\'' |
| 527 | field @Deprecated public static final char SECONDS = 115; // 0x0073 's' |
| 528 | field @Deprecated public static final char STANDALONE_MONTH = 76; // 0x004c 'L' |
| 529 | field @Deprecated public static final char TIME_ZONE = 122; // 0x007a 'z' |
| 530 | field @Deprecated public static final char YEAR = 121; // 0x0079 'y' |
Narayan Kamath | 9d68b3c | 2014-10-22 12:55:58 +0100 | [diff] [blame] | 531 | } |
| 532 | |
| 533 | } |
| 534 | |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 535 | package android.text.style { |
| 536 | |
| 537 | public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance { |
| 538 | ctor public RasterizerSpan(android.graphics.Rasterizer); |
| 539 | method public android.graphics.Rasterizer getRasterizer(); |
Jeff Sharkey | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 540 | method public void updateDrawState(android.text.TextPaint); |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 541 | } |
| 542 | |
| 543 | } |
| 544 | |
Neil Fuller | d6a2135 | 2015-02-12 10:13:45 +0000 | [diff] [blame] | 545 | package android.util { |
| 546 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 547 | @Deprecated public class FloatMath { |
Neil Fuller | d6a2135 | 2015-02-12 10:13:45 +0000 | [diff] [blame] | 548 | method public static float ceil(float); |
| 549 | method public static float cos(float); |
| 550 | method public static float exp(float); |
| 551 | method public static float floor(float); |
| 552 | method public static float hypot(float, float); |
| 553 | method public static float pow(float, float); |
| 554 | method public static float sin(float); |
| 555 | method public static float sqrt(float); |
| 556 | } |
| 557 | |
| 558 | } |
| 559 | |
Jorim Jaggi | e411fdf | 2014-07-28 23:00:44 +0200 | [diff] [blame] | 560 | package android.view { |
| 561 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 562 | @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] | 563 | method protected void initializeFadingEdge(android.content.res.TypedArray); |
| 564 | method protected void initializeScrollbars(android.content.res.TypedArray); |
| 565 | } |
| 566 | |
Aaron Whyte | f830652 | 2017-03-22 16:30:58 -0700 | [diff] [blame] | 567 | public class ViewConfiguration { |
| 568 | method public int getScaledScrollFactor(); |
| 569 | } |
| 570 | |
Jorim Jaggi | e411fdf | 2014-07-28 23:00:44 +0200 | [diff] [blame] | 571 | public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable { |
| 572 | field public static final int TYPE_KEYGUARD = 2004; // 0x7d4 |
| 573 | } |
| 574 | |
| 575 | } |
| 576 | |
Michael Wright | 1ad3955 | 2016-04-27 13:07:18 -0400 | [diff] [blame] | 577 | package android.webkit { |
| 578 | |
| 579 | public class WebViewClient { |
| 580 | method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent); |
| 581 | } |
| 582 | |
| 583 | } |
| 584 | |
Alan Viverette | 5171dee | 2014-09-11 16:33:01 -0700 | [diff] [blame] | 585 | package android.widget { |
| 586 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 587 | @android.widget.RemoteViews.RemoteView public class ListView extends android.widget.AbsListView { |
| 588 | method protected <T extends android.view.View> T findViewTraversal(@IdRes int); |
| 589 | method protected <T extends android.view.View> T findViewWithTagTraversal(Object); |
Jeff Sharkey | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 590 | } |
| 591 | |
Ian Pedowitz | cece8d3 | 2019-05-12 19:44:49 +0000 | [diff] [blame] | 592 | public class PopupWindow { |
| 593 | method @Deprecated public boolean isClipToScreenEnabled(); |
| 594 | method @Deprecated public boolean isLayoutInScreenEnabled(); |
| 595 | method @Deprecated public void setClipToScreenEnabled(boolean); |
| 596 | method @Deprecated public void setLayoutInScreenEnabled(boolean); |
| 597 | } |
| 598 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 599 | @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] | 600 | method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int); |
| 601 | method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray); |
| 602 | } |
| 603 | |
| 604 | } |
| 605 | |