blob: cddccb3e68bb804ed7e3ccd6258ddda32e287d53 [file] [log] [blame]
Tor Norbye68ea0c32018-12-26 19:55:07 -08001// Signature format: 2.0
Philip P. Moltmann12ac3f42020-03-05 15:01:29 -08002package android {
3
4 public static final class R.attr {
5 field public static final int featureId = 16844301; // 0x101060d
6 }
7
8}
9
Chris Wrena05db382015-06-24 15:18:34 -040010package android.app {
11
Jeff Sharkey000ce802017-04-29 13:13:27 -060012 public class ActivityManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -080013 method @Deprecated public static int getMaxNumPictureInPictureActions();
Jeff Sharkey000ce802017-04-29 13:13:27 -060014 }
15
Chris Wrena05db382015-06-24 15:18:34 -040016 public class Notification implements android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -080017 method @Deprecated public String getChannel();
18 method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String);
19 method @Deprecated public long getTimeout();
20 method @Deprecated public void setLatestEventInfo(android.content.Context, CharSequence, CharSequence, android.app.PendingIntent);
Chris Wrena05db382015-06-24 15:18:34 -040021 }
22
Michael Wrightb6ffb222020-03-30 17:19:16 +010023 public static final class Notification.BubbleMetadata implements android.os.Parcelable {
24 method @Deprecated @Nullable public android.graphics.drawable.Icon getBubbleIcon();
25 method @Deprecated @Nullable public android.app.PendingIntent getBubbleIntent();
26 }
27
28 public static final class Notification.BubbleMetadata.Builder {
29 method @Deprecated @NonNull public android.app.Notification.BubbleMetadata.Builder createIntentBubble(@NonNull android.app.PendingIntent, @NonNull android.graphics.drawable.Icon);
30 method @Deprecated @NonNull public android.app.Notification.BubbleMetadata.Builder createShortcutBubble(@NonNull String);
31 }
32
Jeff Sharkey000ce802017-04-29 13:13:27 -060033 public static class Notification.Builder {
Tor Norbye68ea0c32018-12-26 19:55:07 -080034 method @Deprecated public android.app.Notification.Builder setChannel(String);
35 method @Deprecated public android.app.Notification.Builder setTimeout(long);
Jeff Sharkey000ce802017-04-29 13:13:27 -060036 }
37
Chris Wrena05db382015-06-24 15:18:34 -040038}
39
Jeff Sharkey3990ee12018-04-11 10:19:55 -060040package android.app.slice {
41
42 public final class Slice implements android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -080043 field @Deprecated public static final String EXTRA_SLIDER_VALUE = "android.app.slice.extra.SLIDER_VALUE";
44 field @Deprecated public static final String SUBTYPE_SLIDER = "slider";
Jeff Sharkey3990ee12018-04-11 10:19:55 -060045 }
46
47 public static class Slice.Builder {
Tor Norbye68ea0c32018-12-26 19:55:07 -080048 ctor @Deprecated public Slice.Builder(@NonNull android.net.Uri);
49 method @Deprecated public android.app.slice.Slice.Builder addTimestamp(long, @Nullable String, java.util.List<java.lang.String>);
50 method @Deprecated public android.app.slice.Slice.Builder setSpec(android.app.slice.SliceSpec);
Jeff Sharkey3990ee12018-04-11 10:19:55 -060051 }
52
53 public final class SliceItem implements android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -080054 method @Deprecated public long getTimestamp();
55 field @Deprecated public static final String FORMAT_TIMESTAMP = "long";
Jeff Sharkey3990ee12018-04-11 10:19:55 -060056 }
57
58 public class SliceManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -080059 method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>);
60 method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.content.Intent, @NonNull java.util.List<android.app.slice.SliceSpec>);
61 method @Deprecated public void pinSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>);
Jeff Sharkey3990ee12018-04-11 10:19:55 -060062 }
63
64 public abstract class SliceProvider extends android.content.ContentProvider {
Tor Norbye68ea0c32018-12-26 19:55:07 -080065 method @Deprecated public android.app.slice.Slice onBindSlice(android.net.Uri, java.util.List<android.app.slice.SliceSpec>);
Jeff Sharkey3990ee12018-04-11 10:19:55 -060066 }
67
68}
69
Jeff Sharkey789a8fc2017-04-16 13:18:35 -060070package android.app.usage {
71
Jeff Sharkeya4d34d92017-04-27 11:21:41 -060072 public final class StorageStats implements android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -080073 method @Deprecated public long getCodeBytes();
Jeff Sharkeya4d34d92017-04-27 11:21:41 -060074 }
75
Jeff Sharkey789a8fc2017-04-16 13:18:35 -060076 public class StorageStatsManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -080077 method @Deprecated public long getFreeBytes(String) throws java.io.IOException;
78 method @Deprecated public long getTotalBytes(String) throws java.io.IOException;
79 method @Deprecated public boolean isQuotaSupported(String);
80 method @Deprecated public android.app.usage.ExternalStorageStats queryExternalStatsForUser(String, android.os.UserHandle) throws java.io.IOException;
81 method @Deprecated public android.app.usage.StorageStats queryStatsForPackage(String, String, android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException;
82 method @Deprecated public android.app.usage.StorageStats queryStatsForUid(String, int) throws java.io.IOException;
83 method @Deprecated public android.app.usage.StorageStats queryStatsForUser(String, android.os.UserHandle) throws java.io.IOException;
Jeff Sharkey789a8fc2017-04-16 13:18:35 -060084 }
85
86}
87
Jeff Sharkey8a372a02016-03-16 16:25:45 -060088package android.content {
89
Philip P. Moltmann12ac3f42020-03-05 15:01:29 -080090 public abstract class ContentProvider implements android.content.ComponentCallbacks2 {
91 method @Deprecated @Nullable public final String getCallingFeatureId();
92 }
93
Jeff Sharkey8b0cff72020-03-09 15:49:01 -060094 public abstract class ContentResolver {
95 method @Deprecated public void notifyChange(@NonNull Iterable<android.net.Uri>, @Nullable android.database.ContentObserver, int);
96 }
97
Jeff Sharkey8a372a02016-03-16 16:25:45 -060098 public abstract class Context {
Philip P. Moltmann12ac3f42020-03-05 15:01:29 -080099 method @Deprecated @NonNull public android.content.Context createFeatureContext(@Nullable String);
100 method @Deprecated @Nullable public String getFeatureId();
Jeff Sharkeycf3f0a12016-03-17 19:57:58 -0600101 method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
Tor Norbye68ea0c32018-12-26 19:55:07 -0800102 method public abstract java.io.File getSharedPreferencesPath(String);
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600103 }
104
Jeff Sharkeyb8b579e2017-11-22 12:34:08 -0700105 public class ContextWrapper extends android.content.Context {
106 method public android.content.SharedPreferences getSharedPreferences(java.io.File, int);
Tor Norbye68ea0c32018-12-26 19:55:07 -0800107 method public java.io.File getSharedPreferencesPath(String);
Jeff Sharkeyb8b579e2017-11-22 12:34:08 -0700108 }
109
Garfield Tance1d0e92017-03-23 10:52:48 -0700110 public class Intent implements java.lang.Cloneable android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800111 field @Deprecated public static final String EXTRA_QUICK_VIEW_ADVANCED = "android.intent.extra.QUICK_VIEW_ADVANCED";
Garfield Tance1d0e92017-03-23 10:52:48 -0700112 }
113
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600114}
115
Svetoslavc6d1c342015-02-26 14:44:43 -0800116package android.content.pm {
117
118 public class PackageInfo implements android.os.Parcelable {
119 field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1
120 }
121
Svetoslav Ganov345ffa52017-04-18 16:08:41 -0700122 public abstract class PackageManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800123 method public abstract boolean setInstantAppCookie(@Nullable byte[]);
Svetoslav Ganov345ffa52017-04-18 16:08:41 -0700124 }
125
Svetoslav Ganov0cb43ef2017-04-18 14:28:35 -0700126 public final class SharedLibraryInfo implements android.os.Parcelable {
127 method public boolean isBuiltin();
128 method public boolean isDynamic();
129 method public boolean isStatic();
130 }
131
Svetoslavc6d1c342015-02-26 14:44:43 -0800132}
133
Jeff Brown8faab362015-04-09 18:52:52 -0700134package android.database {
135
136 public abstract class AbstractCursor implements android.database.CrossProcessCursor {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800137 field protected Long mCurrentRowID;
Jeff Brown8faab362015-04-09 18:52:52 -0700138 field protected int mRowIdColumnIndex;
Tor Norbye68ea0c32018-12-26 19:55:07 -0800139 field protected java.util.HashMap<java.lang.Long,java.util.Map<java.lang.String,java.lang.Object>> mUpdatedRows;
Jeff Brown8faab362015-04-09 18:52:52 -0700140 }
141
142}
143
Derek Sollenberger51e78052016-03-11 09:10:27 -0500144package android.graphics {
145
Tor Norbye68ea0c32018-12-26 19:55:07 -0800146 @Deprecated public class AvoidXfermode extends android.graphics.Xfermode {
Derek Sollenberger51e78052016-03-11 09:10:27 -0500147 ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode);
148 }
149
Tor Norbye68ea0c32018-12-26 19:55:07 -0800150 public enum AvoidXfermode.Mode {
Derek Sollenberger51e78052016-03-11 09:10:27 -0500151 enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID;
152 enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET;
153 }
154
Derek Sollenbergerb29b16e2017-01-04 14:57:43 -0500155 public class Canvas {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800156 method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region, @NonNull android.graphics.Region.Op);
157 method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region);
158 method @Deprecated public int save(int);
159 field @Deprecated public static final int CLIP_SAVE_FLAG = 2; // 0x2
160 field @Deprecated public static final int CLIP_TO_LAYER_SAVE_FLAG = 16; // 0x10
161 field @Deprecated public static final int FULL_COLOR_LAYER_SAVE_FLAG = 8; // 0x8
162 field @Deprecated public static final int HAS_ALPHA_LAYER_SAVE_FLAG = 4; // 0x4
163 field @Deprecated public static final int MATRIX_SAVE_FLAG = 1; // 0x1
Derek Sollenbergerb29b16e2017-01-04 14:57:43 -0500164 }
165
Leon Scroggins III746a9fe2018-03-08 10:32:10 -0500166 public final class ImageDecoder implements java.lang.AutoCloseable {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800167 method @Deprecated public boolean getAsAlphaMask();
168 method @Deprecated public boolean getConserveMemory();
169 method @Deprecated public boolean getDecodeAsAlphaMask();
170 method @Deprecated public boolean getMutable();
171 method @Deprecated public boolean getRequireUnpremultiplied();
172 method @Deprecated public android.graphics.ImageDecoder setAsAlphaMask(boolean);
173 method @Deprecated public void setConserveMemory(boolean);
174 method @Deprecated public android.graphics.ImageDecoder setDecodeAsAlphaMask(boolean);
175 method @Deprecated public android.graphics.ImageDecoder setMutable(boolean);
176 method @Deprecated public android.graphics.ImageDecoder setRequireUnpremultiplied(boolean);
177 method @Deprecated public android.graphics.ImageDecoder setResize(int, int);
178 method @Deprecated public android.graphics.ImageDecoder setResize(int);
179 field @Deprecated public static final int ERROR_SOURCE_ERROR = 3; // 0x3
180 field @Deprecated public static final int ERROR_SOURCE_EXCEPTION = 1; // 0x1
181 field @Deprecated public static final int ERROR_SOURCE_INCOMPLETE = 2; // 0x2
Leon Scroggins III746a9fe2018-03-08 10:32:10 -0500182 }
183
Tor Norbye68ea0c32018-12-26 19:55:07 -0800184 @Deprecated public static class ImageDecoder.IncompleteException extends java.io.IOException {
Leon Scroggins III1d2bf2b2018-03-14 16:07:43 -0400185 ctor public ImageDecoder.IncompleteException();
186 }
187
Tor Norbye68ea0c32018-12-26 19:55:07 -0800188 @Deprecated public class LayerRasterizer extends android.graphics.Rasterizer {
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500189 ctor public LayerRasterizer();
190 method public void addLayer(android.graphics.Paint, float, float);
191 method public void addLayer(android.graphics.Paint);
192 }
193
194 public class Paint {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800195 method @Deprecated public android.graphics.Rasterizer getRasterizer();
196 method @Deprecated public android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer);
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500197 }
198
Mike Reed99a83d22018-02-26 15:42:00 -0500199 public class Picture {
John Reck5cca8f22018-12-10 17:06:22 -0800200 method @Deprecated public static android.graphics.Picture createFromStream(@NonNull java.io.InputStream);
201 method @Deprecated public void writeToStream(@NonNull java.io.OutputStream);
Mike Reed99a83d22018-02-26 15:42:00 -0500202 }
203
Tor Norbye68ea0c32018-12-26 19:55:07 -0800204 @Deprecated public class PixelXorXfermode extends android.graphics.Xfermode {
Derek Sollenberger51e78052016-03-11 09:10:27 -0500205 ctor public PixelXorXfermode(int);
206 }
207
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500208 public class Rasterizer {
209 ctor public Rasterizer();
210 }
211
Derek Sollenberger51e78052016-03-11 09:10:27 -0500212}
213
Leon Scroggins III6de55b82018-02-23 16:11:37 -0500214package android.graphics.drawable {
215
216 public class AnimatedImageDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Animatable2 {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800217 method @Deprecated public int getLoopCount(int);
218 method @Deprecated public void setLoopCount(int);
219 field @Deprecated public static final int LOOP_INFINITE = -1; // 0xffffffff
Leon Scroggins III6de55b82018-02-23 16:11:37 -0500220 }
221
222}
223
Peng Xu3c8c6a42017-04-06 18:37:56 -0700224package android.hardware {
225
226 public final class SensorDirectChannel implements java.nio.channels.Channel {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800227 method @Deprecated public boolean isValid();
Peng Xu3c8c6a42017-04-06 18:37:56 -0700228 }
229
Peng Xu3c8c6a42017-04-06 18:37:56 -0700230}
231
Victor Chang8d693132019-05-03 14:28:20 +0100232package android.icu.util {
233
234 public class JapaneseCalendar extends android.icu.util.GregorianCalendar {
Nikita Iashchenko476db6e2019-07-25 19:14:24 +0100235 field @Deprecated public static final int CURRENT_ERA;
Victor Chang8d693132019-05-03 14:28:20 +0100236 }
237
238}
239
Yu Liub87243c2017-04-18 16:08:29 -0700240package android.location {
241
242 public class Location implements android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800243 method @Deprecated public void removeBearingAccuracy();
244 method @Deprecated public void removeSpeedAccuracy();
245 method @Deprecated public void removeVerticalAccuracy();
Yu Liub87243c2017-04-18 16:08:29 -0700246 }
247
248}
249
Glenn Kasten1aa74e42014-05-19 10:11:19 -0700250package android.media {
251
Jeff Sharkey50d1c042016-02-29 16:34:46 -0700252 public final class AudioFormat implements android.os.Parcelable {
Glenn Kasten1aa74e42014-05-19 10:11:19 -0700253 ctor public AudioFormat();
254 }
255
256}
257
Dongwon Kange12d8102016-03-04 16:45:39 -0800258package android.media.tv {
259
260 public class TvView extends android.view.ViewGroup {
261 method public void requestUnblockContent(android.media.tv.TvContentRating);
262 }
263
264}
265
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000266package android.net {
267
Lorenzo Colitti2187df72016-12-09 18:39:30 +0900268 public class ConnectivityManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800269 method @Deprecated public boolean requestRouteToHost(int, int);
270 method @Deprecated public int startUsingNetworkFeature(int, String);
271 method @Deprecated public int stopUsingNetworkFeature(int, String);
Lorenzo Colitti2187df72016-12-09 18:39:30 +0900272 }
273
Tor Norbye68ea0c32018-12-26 19:55:07 -0800274 @Deprecated public class NetworkBadging {
275 method @NonNull public static android.graphics.drawable.Drawable getWifiIcon(@IntRange(from=0, to=4) int, int, @Nullable android.content.res.Resources.Theme);
Joe LaPenna2c60ef02017-05-01 09:46:01 -0700276 field public static final int BADGING_4K = 30; // 0x1e
277 field public static final int BADGING_HD = 20; // 0x14
278 field public static final int BADGING_NONE = 0; // 0x0
279 field public static final int BADGING_SD = 10; // 0xa
280 }
281
Tor Norbye68ea0c32018-12-26 19:55:07 -0800282 @IntDef({0x0, 0xa, 0x14, 0x1e}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface NetworkBadging.Badging {
Jeff Sharkeyb8b579e2017-11-22 12:34:08 -0700283 }
284
Adam Vartanian6caa8162019-01-18 15:42:43 +0000285 @Deprecated public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800286 method @Deprecated public static org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache);
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000287 }
288
Jeff Sharkey121d5652018-03-26 13:11:33 -0600289 public class TrafficStats {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800290 method @Deprecated public static void setThreadStatsUidSelf();
Jeff Sharkey121d5652018-03-26 13:11:33 -0600291 }
292
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000293}
294
Jeff Brown7d827512014-08-21 21:56:02 -0700295package android.os {
296
Jeff Brown6e539312015-02-24 18:53:21 -0800297 public class BatteryManager {
298 ctor public BatteryManager();
299 }
300
Jeff Brown7d827512014-08-21 21:56:02 -0700301 public final class PowerManager {
302 method public void goToSleep(long);
Tor Norbye68ea0c32018-12-26 19:55:07 -0800303 method @Deprecated public void userActivity(long, boolean);
Michael Wrighte3001042019-02-05 00:13:14 +0000304 method @Deprecated public void wakeUp(long);
Jeff Brown7d827512014-08-21 21:56:02 -0700305 }
306
Andreas Gampe70e21e62015-03-18 16:13:33 -0700307 public class RecoverySystem {
308 ctor public RecoverySystem();
309 }
310
Kurt Nelson72534b72018-02-22 11:21:15 -0800311 public static final class StrictMode.ThreadPolicy.Builder {
Jeff Sharkeya30e5c32019-02-28 12:02:10 -0700312 method @NonNull public android.os.StrictMode.ThreadPolicy.Builder penaltyListener(@NonNull android.os.StrictMode.OnThreadViolationListener, @NonNull java.util.concurrent.Executor);
Kurt Nelson72534b72018-02-22 11:21:15 -0800313 }
314
315 public static final class StrictMode.VmPolicy.Builder {
Jeff Sharkeya30e5c32019-02-28 12:02:10 -0700316 method @NonNull public android.os.StrictMode.VmPolicy.Builder penaltyListener(@NonNull android.os.StrictMode.OnVmViolationListener, @NonNull java.util.concurrent.Executor);
Kurt Nelson72534b72018-02-22 11:21:15 -0800317 }
318
Jeff Sharkey9911a282018-02-14 22:29:11 -0700319 public final class SystemClock {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800320 method @NonNull public static java.time.Clock elapsedRealtimeClock();
321 method @NonNull public static java.time.Clock uptimeClock();
Jeff Sharkey9911a282018-02-14 22:29:11 -0700322 }
323
Jeff Sharkey000ce802017-04-29 13:13:27 -0600324 public class TestLooperManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800325 method @Deprecated public android.os.MessageQueue getQueue();
Jeff Sharkey000ce802017-04-29 13:13:27 -0600326 }
327
Svetoslavc7d62f02014-09-04 15:39:54 -0700328 public class UserManager {
329 method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
330 method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
Tor Norbye68ea0c32018-12-26 19:55:07 -0800331 method public CharSequence getBadgedLabelForUser(CharSequence, android.os.UserHandle);
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600332 }
333
334}
335
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600336package android.os.storage {
337
338 public class StorageManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800339 method @NonNull public android.os.storage.StorageVolume getPrimaryVolume();
340 method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600341 }
342
343}
344
Svetoslavdbbeeb32015-02-18 19:16:25 -0800345package android.provider {
346
Svetoslavbfa216a2015-06-05 14:20:50 -0700347 public class Browser {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800348 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);
349 method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final boolean canClearHistory(android.content.ContentResolver);
350 method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearHistory(android.content.ContentResolver);
351 method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearSearches(android.content.ContentResolver);
352 method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteFromHistory(android.content.ContentResolver, String);
353 method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long);
354 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;
355 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;
356 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);
357 method public static final void saveBookmark(android.content.Context, String, String);
358 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);
359 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);
360 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;
361 field public static final String[] HISTORY_PROJECTION;
Svetoslavbfa216a2015-06-05 14:20:50 -0700362 field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4
363 field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3
364 field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6
365 field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
366 field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5
367 field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1
368 field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2
Tor Norbye68ea0c32018-12-26 19:55:07 -0800369 field public static final String[] SEARCHES_PROJECTION;
Svetoslavbfa216a2015-06-05 14:20:50 -0700370 field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2
371 field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1
Tor Norbye68ea0c32018-12-26 19:55:07 -0800372 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;
373 field public static final String[] TRUNCATE_HISTORY_PROJECTION;
Svetoslavbfa216a2015-06-05 14:20:50 -0700374 field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
375 field public static final int TRUNCATE_N_OLDEST = 5; // 0x5
376 }
377
378 public static class Browser.BookmarkColumns implements android.provider.BaseColumns {
379 ctor public Browser.BookmarkColumns();
Tor Norbye68ea0c32018-12-26 19:55:07 -0800380 field public static final String BOOKMARK = "bookmark";
381 field public static final String CREATED = "created";
382 field public static final String DATE = "date";
383 field public static final String FAVICON = "favicon";
384 field public static final String TITLE = "title";
385 field public static final String URL = "url";
386 field public static final String VISITS = "visits";
387 field public static final String _COUNT = "_count";
388 field public static final String _ID = "_id";
Svetoslavbfa216a2015-06-05 14:20:50 -0700389 }
390
391 public static class Browser.SearchColumns implements android.provider.BaseColumns {
392 ctor public Browser.SearchColumns();
Tor Norbye68ea0c32018-12-26 19:55:07 -0800393 field public static final String DATE = "date";
394 field public static final String SEARCH = "search";
395 field @Deprecated public static final String URL = "url";
396 field public static final String _COUNT = "_count";
397 field public static final String _ID = "_id";
Svetoslavbfa216a2015-06-05 14:20:50 -0700398 }
399
Tor Norbye68ea0c32018-12-26 19:55:07 -0800400 @Deprecated public static final class ContactsContract.Contacts.StreamItems implements android.provider.ContactsContract.StreamItemsColumns {
401 field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000402 }
403
Tor Norbye68ea0c32018-12-26 19:55:07 -0800404 @Deprecated public static final class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns {
405 field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items";
406 field public static final String _COUNT = "_count";
407 field public static final String _ID = "_id";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000408 }
409
Tor Norbye68ea0c32018-12-26 19:55:07 -0800410 @Deprecated public static final class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns {
411 field @Deprecated public static final String PHOTO = "photo";
412 field public static final String _COUNT = "_count";
413 field public static final String _ID = "_id";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000414 }
415
Tor Norbye68ea0c32018-12-26 19:55:07 -0800416 @Deprecated protected static interface ContactsContract.StreamItemPhotosColumns {
417 field @Deprecated public static final String PHOTO_FILE_ID = "photo_file_id";
418 field @Deprecated public static final String PHOTO_URI = "photo_uri";
419 field @Deprecated public static final String SORT_INDEX = "sort_index";
420 field @Deprecated public static final String STREAM_ITEM_ID = "stream_item_id";
421 field @Deprecated public static final String SYNC1 = "stream_item_photo_sync1";
422 field @Deprecated public static final String SYNC2 = "stream_item_photo_sync2";
423 field @Deprecated public static final String SYNC3 = "stream_item_photo_sync3";
424 field @Deprecated public static final String SYNC4 = "stream_item_photo_sync4";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000425 }
426
Tor Norbye68ea0c32018-12-26 19:55:07 -0800427 @Deprecated public static final class ContactsContract.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns {
428 field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item";
429 field @Deprecated public static final android.net.Uri CONTENT_LIMIT_URI;
430 field @Deprecated public static final android.net.Uri CONTENT_PHOTO_URI;
431 field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item";
432 field @Deprecated public static final android.net.Uri CONTENT_URI;
433 field @Deprecated public static final String MAX_ITEMS = "max_items";
434 field public static final String _COUNT = "_count";
435 field public static final String _ID = "_id";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000436 }
437
Tor Norbye68ea0c32018-12-26 19:55:07 -0800438 @Deprecated public static final class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns {
439 field @Deprecated public static final String CONTENT_DIRECTORY = "photo";
440 field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo";
441 field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo";
442 field public static final String _COUNT = "_count";
443 field public static final String _ID = "_id";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000444 }
445
Tor Norbye68ea0c32018-12-26 19:55:07 -0800446 @Deprecated protected static interface ContactsContract.StreamItemsColumns {
447 field @Deprecated public static final String ACCOUNT_NAME = "account_name";
448 field @Deprecated public static final String ACCOUNT_TYPE = "account_type";
449 field @Deprecated public static final String COMMENTS = "comments";
450 field @Deprecated public static final String CONTACT_ID = "contact_id";
451 field @Deprecated public static final String CONTACT_LOOKUP_KEY = "contact_lookup";
452 field @Deprecated public static final String DATA_SET = "data_set";
453 field @Deprecated public static final String RAW_CONTACT_ID = "raw_contact_id";
454 field @Deprecated public static final String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id";
455 field @Deprecated public static final String RES_ICON = "icon";
456 field @Deprecated public static final String RES_LABEL = "label";
457 field @Deprecated public static final String RES_PACKAGE = "res_package";
458 field @Deprecated public static final String SYNC1 = "stream_item_sync1";
459 field @Deprecated public static final String SYNC2 = "stream_item_sync2";
460 field @Deprecated public static final String SYNC3 = "stream_item_sync3";
461 field @Deprecated public static final String SYNC4 = "stream_item_sync4";
462 field @Deprecated public static final String TEXT = "text";
463 field @Deprecated public static final String TIMESTAMP = "timestamp";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000464 }
465
Jeff Sharkeyfc246152019-04-12 11:52:16 -0600466 public static interface MediaStore.Audio.AudioColumns extends android.provider.MediaStore.MediaColumns {
Jeff Sharkey7b75fe52019-10-18 18:55:36 -0600467 field public static final String ALBUM = "album";
468 field public static final String ARTIST = "artist";
469 field public static final String COMPOSER = "composer";
Jeff Sharkeyfc246152019-04-12 11:52:16 -0600470 field public static final String DURATION = "duration";
471 }
472
Sudheer Shanka3c60d282019-04-12 15:05:33 -0700473 public static interface MediaStore.DownloadColumns extends android.provider.MediaStore.MediaColumns {
474 field @Deprecated public static final String DESCRIPTION = "description";
475 }
476
Jeff Sharkey7b75fe52019-10-18 18:55:36 -0600477 public static interface MediaStore.Files.FileColumns extends android.provider.MediaStore.MediaColumns {
478 field public static final String TITLE = "title";
479 }
480
Jeff Sharkeyfc246152019-04-12 11:52:16 -0600481 public static interface MediaStore.Images.ImageColumns extends android.provider.MediaStore.MediaColumns {
482 field public static final String BUCKET_DISPLAY_NAME = "bucket_display_name";
483 field public static final String BUCKET_ID = "bucket_id";
484 field public static final String DATE_TAKEN = "datetaken";
485 field public static final String GROUP_ID = "group_id";
486 field public static final String ORIENTATION = "orientation";
487 }
488
Jeff Sharkeyc62b0ac2019-02-07 16:17:13 -0700489 public static interface MediaStore.MediaColumns extends android.provider.BaseColumns {
Jeff Sharkey5e1ca0e2019-04-17 13:34:44 -0600490 field @Deprecated public static final String GROUP_ID = "group_id";
Jeff Sharkeyc62b0ac2019-02-07 16:17:13 -0700491 }
492
Jeff Sharkeyfc246152019-04-12 11:52:16 -0600493 public static interface MediaStore.Video.VideoColumns extends android.provider.MediaStore.MediaColumns {
Jeff Sharkey7b75fe52019-10-18 18:55:36 -0600494 field public static final String ALBUM = "album";
495 field public static final String ARTIST = "artist";
Jeff Sharkeyfc246152019-04-12 11:52:16 -0600496 field public static final String BUCKET_DISPLAY_NAME = "bucket_display_name";
497 field public static final String BUCKET_ID = "bucket_id";
498 field public static final String DATE_TAKEN = "datetaken";
499 field public static final String DURATION = "duration";
500 field public static final String GROUP_ID = "group_id";
Jeff Sharkey7b75fe52019-10-18 18:55:36 -0600501 field public static final String RESOLUTION = "resolution";
Jeff Sharkeyfc246152019-04-12 11:52:16 -0600502 }
503
Tingting Wange0cbda42016-05-10 15:39:37 -0700504 public static final class Settings.Global extends android.provider.Settings.NameValueTable {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800505 field @Deprecated public static final String CONTACT_METADATA_SYNC = "contact_metadata_sync";
Tingting Wange0cbda42016-05-10 15:39:37 -0700506 }
507
Svetoslavdbbeeb32015-02-18 19:16:25 -0800508 public static final class Settings.System extends android.provider.Settings.NameValueTable {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800509 field public static final String APPEND_FOR_LAST_AUDIBLE = "_last_audible";
510 field public static final String VOLUME_ALARM = "volume_alarm";
511 field public static final String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco";
512 field public static final String VOLUME_MUSIC = "volume_music";
513 field public static final String VOLUME_NOTIFICATION = "volume_notification";
514 field public static final String VOLUME_RING = "volume_ring";
515 field public static final String[] VOLUME_SETTINGS;
516 field public static final String VOLUME_SYSTEM = "volume_system";
517 field public static final String VOLUME_VOICE = "volume_voice";
Svetoslavdbbeeb32015-02-18 19:16:25 -0800518 }
519
520}
521
Jeff Sharkey000ce802017-04-29 13:13:27 -0600522package android.speech.tts {
523
524 public abstract class UtteranceProgressListener {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800525 method @Deprecated public void onUtteranceRangeStart(String, int, int);
Jeff Sharkey000ce802017-04-29 13:13:27 -0600526 }
527
528}
529
Jeff Sharkey3990ee12018-04-11 10:19:55 -0600530package android.telephony {
531
532 public class NetworkScan {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800533 method @Deprecated public void stop() throws android.os.RemoteException;
Jeff Sharkey3990ee12018-04-11 10:19:55 -0600534 }
535
536 public class TelephonyManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800537 method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) public java.util.List<android.telephony.NeighboringCellInfo> getNeighboringCellInfo();
Hall Liuee313732018-11-27 14:36:51 -0800538 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 Sharkey3990ee12018-04-11 10:19:55 -0600539 }
540
541}
542
Narayan Kamath9d68b3c2014-10-22 12:55:58 +0100543package android.text.format {
544
545 public class DateFormat {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800546 field @Deprecated public static final char AM_PM = 97; // 0x0061 'a'
547 field @Deprecated public static final char CAPITAL_AM_PM = 65; // 0x0041 'A'
548 field @Deprecated public static final char DATE = 100; // 0x0064 'd'
549 field @Deprecated public static final char DAY = 69; // 0x0045 'E'
550 field @Deprecated public static final char HOUR = 104; // 0x0068 'h'
551 field @Deprecated public static final char HOUR_OF_DAY = 107; // 0x006b 'k'
552 field @Deprecated public static final char MINUTE = 109; // 0x006d 'm'
553 field @Deprecated public static final char MONTH = 77; // 0x004d 'M'
554 field @Deprecated public static final char QUOTE = 39; // 0x0027 '\''
555 field @Deprecated public static final char SECONDS = 115; // 0x0073 's'
556 field @Deprecated public static final char STANDALONE_MONTH = 76; // 0x004c 'L'
557 field @Deprecated public static final char TIME_ZONE = 122; // 0x007a 'z'
558 field @Deprecated public static final char YEAR = 121; // 0x0079 'y'
Narayan Kamath9d68b3c2014-10-22 12:55:58 +0100559 }
560
561}
562
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500563package android.text.style {
564
565 public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance {
566 ctor public RasterizerSpan(android.graphics.Rasterizer);
567 method public android.graphics.Rasterizer getRasterizer();
Jeff Sharkeyb8b579e2017-11-22 12:34:08 -0700568 method public void updateDrawState(android.text.TextPaint);
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500569 }
570
571}
572
Neil Fullerd6a21352015-02-12 10:13:45 +0000573package android.util {
574
Tor Norbye68ea0c32018-12-26 19:55:07 -0800575 @Deprecated public class FloatMath {
Neil Fullerd6a21352015-02-12 10:13:45 +0000576 method public static float ceil(float);
577 method public static float cos(float);
578 method public static float exp(float);
579 method public static float floor(float);
580 method public static float hypot(float, float);
581 method public static float pow(float, float);
582 method public static float sin(float);
583 method public static float sqrt(float);
584 }
585
586}
587
Jorim Jaggie411fdf2014-07-28 23:00:44 +0200588package android.view {
589
Tor Norbye68ea0c32018-12-26 19:55:07 -0800590 @UiThread public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
Adam Powell5eb3ffc2014-09-11 15:38:55 -0700591 method protected void initializeFadingEdge(android.content.res.TypedArray);
592 method protected void initializeScrollbars(android.content.res.TypedArray);
593 }
594
Aaron Whytef8306522017-03-22 16:30:58 -0700595 public class ViewConfiguration {
596 method public int getScaledScrollFactor();
597 }
598
Jorim Jaggie411fdf2014-07-28 23:00:44 +0200599 public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
600 field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
601 }
602
603}
604
Michael Wright1ad39552016-04-27 13:07:18 -0400605package android.webkit {
606
607 public class WebViewClient {
608 method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
609 }
610
611}
612
Alan Viverette5171dee2014-09-11 16:33:01 -0700613package android.widget {
614
Tor Norbye68ea0c32018-12-26 19:55:07 -0800615 @android.widget.RemoteViews.RemoteView public class ListView extends android.widget.AbsListView {
616 method protected <T extends android.view.View> T findViewTraversal(@IdRes int);
617 method protected <T extends android.view.View> T findViewWithTagTraversal(Object);
Jeff Sharkeyb8b579e2017-11-22 12:34:08 -0700618 }
619
Ian Pedowitzcece8d32019-05-12 19:44:49 +0000620 public class PopupWindow {
621 method @Deprecated public boolean isClipToScreenEnabled();
622 method @Deprecated public boolean isLayoutInScreenEnabled();
623 method @Deprecated public void setClipToScreenEnabled(boolean);
624 method @Deprecated public void setLayoutInScreenEnabled(boolean);
625 }
626
Tor Norbye68ea0c32018-12-26 19:55:07 -0800627 @android.widget.RemoteViews.RemoteView public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
Alan Viverette5171dee2014-09-11 16:33:01 -0700628 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
629 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
630 }
631
632}
633