blob: 077c915ef2dd1591b993c5ffe9174be6970f69b3 [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
Jeff Sharkey000ce802017-04-29 13:13:27 -060023 public static class Notification.Builder {
Tor Norbye68ea0c32018-12-26 19:55:07 -080024 method @Deprecated public android.app.Notification.Builder setChannel(String);
25 method @Deprecated public android.app.Notification.Builder setTimeout(long);
Jeff Sharkey000ce802017-04-29 13:13:27 -060026 }
27
Chris Wrena05db382015-06-24 15:18:34 -040028}
29
Jeff Sharkey3990ee12018-04-11 10:19:55 -060030package android.app.slice {
31
32 public final class Slice implements android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -080033 field @Deprecated public static final String EXTRA_SLIDER_VALUE = "android.app.slice.extra.SLIDER_VALUE";
34 field @Deprecated public static final String SUBTYPE_SLIDER = "slider";
Jeff Sharkey3990ee12018-04-11 10:19:55 -060035 }
36
37 public static class Slice.Builder {
Tor Norbye68ea0c32018-12-26 19:55:07 -080038 ctor @Deprecated public Slice.Builder(@NonNull android.net.Uri);
39 method @Deprecated public android.app.slice.Slice.Builder addTimestamp(long, @Nullable String, java.util.List<java.lang.String>);
40 method @Deprecated public android.app.slice.Slice.Builder setSpec(android.app.slice.SliceSpec);
Jeff Sharkey3990ee12018-04-11 10:19:55 -060041 }
42
43 public final class SliceItem implements android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -080044 method @Deprecated public long getTimestamp();
45 field @Deprecated public static final String FORMAT_TIMESTAMP = "long";
Jeff Sharkey3990ee12018-04-11 10:19:55 -060046 }
47
48 public class SliceManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -080049 method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>);
50 method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.content.Intent, @NonNull java.util.List<android.app.slice.SliceSpec>);
51 method @Deprecated public void pinSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>);
Jeff Sharkey3990ee12018-04-11 10:19:55 -060052 }
53
54 public abstract class SliceProvider extends android.content.ContentProvider {
Tor Norbye68ea0c32018-12-26 19:55:07 -080055 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 -060056 }
57
58}
59
Jeff Sharkey789a8fc2017-04-16 13:18:35 -060060package android.app.usage {
61
Jeff Sharkeya4d34d92017-04-27 11:21:41 -060062 public final class StorageStats implements android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -080063 method @Deprecated public long getCodeBytes();
Jeff Sharkeya4d34d92017-04-27 11:21:41 -060064 }
65
Jeff Sharkey789a8fc2017-04-16 13:18:35 -060066 public class StorageStatsManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -080067 method @Deprecated public long getFreeBytes(String) throws java.io.IOException;
68 method @Deprecated public long getTotalBytes(String) throws java.io.IOException;
69 method @Deprecated public boolean isQuotaSupported(String);
70 method @Deprecated public android.app.usage.ExternalStorageStats queryExternalStatsForUser(String, android.os.UserHandle) throws java.io.IOException;
71 method @Deprecated public android.app.usage.StorageStats queryStatsForPackage(String, String, android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException;
72 method @Deprecated public android.app.usage.StorageStats queryStatsForUid(String, int) throws java.io.IOException;
73 method @Deprecated public android.app.usage.StorageStats queryStatsForUser(String, android.os.UserHandle) throws java.io.IOException;
Jeff Sharkey789a8fc2017-04-16 13:18:35 -060074 }
75
76}
77
Jeff Sharkey8a372a02016-03-16 16:25:45 -060078package android.content {
79
Philip P. Moltmann12ac3f42020-03-05 15:01:29 -080080 public abstract class ContentProvider implements android.content.ComponentCallbacks2 {
81 method @Deprecated @Nullable public final String getCallingFeatureId();
82 }
83
Jeff Sharkey8b0cff72020-03-09 15:49:01 -060084 public abstract class ContentResolver {
85 method @Deprecated public void notifyChange(@NonNull Iterable<android.net.Uri>, @Nullable android.database.ContentObserver, int);
86 }
87
Jeff Sharkey8a372a02016-03-16 16:25:45 -060088 public abstract class Context {
Philip P. Moltmann12ac3f42020-03-05 15:01:29 -080089 method @Deprecated @NonNull public android.content.Context createFeatureContext(@Nullable String);
90 method @Deprecated @Nullable public String getFeatureId();
Jeff Sharkeycf3f0a12016-03-17 19:57:58 -060091 method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
Tor Norbye68ea0c32018-12-26 19:55:07 -080092 method public abstract java.io.File getSharedPreferencesPath(String);
Jeff Sharkey8a372a02016-03-16 16:25:45 -060093 }
94
Jeff Sharkeyb8b579e2017-11-22 12:34:08 -070095 public class ContextWrapper extends android.content.Context {
96 method public android.content.SharedPreferences getSharedPreferences(java.io.File, int);
Tor Norbye68ea0c32018-12-26 19:55:07 -080097 method public java.io.File getSharedPreferencesPath(String);
Jeff Sharkeyb8b579e2017-11-22 12:34:08 -070098 }
99
Garfield Tance1d0e92017-03-23 10:52:48 -0700100 public class Intent implements java.lang.Cloneable android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800101 field @Deprecated public static final String EXTRA_QUICK_VIEW_ADVANCED = "android.intent.extra.QUICK_VIEW_ADVANCED";
Garfield Tance1d0e92017-03-23 10:52:48 -0700102 }
103
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600104}
105
Svetoslavc6d1c342015-02-26 14:44:43 -0800106package android.content.pm {
107
108 public class PackageInfo implements android.os.Parcelable {
109 field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1
110 }
111
Svetoslav Ganov345ffa52017-04-18 16:08:41 -0700112 public abstract class PackageManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800113 method public abstract boolean setInstantAppCookie(@Nullable byte[]);
Svetoslav Ganov345ffa52017-04-18 16:08:41 -0700114 }
115
Svetoslav Ganov0cb43ef2017-04-18 14:28:35 -0700116 public final class SharedLibraryInfo implements android.os.Parcelable {
117 method public boolean isBuiltin();
118 method public boolean isDynamic();
119 method public boolean isStatic();
120 }
121
Svetoslavc6d1c342015-02-26 14:44:43 -0800122}
123
Jeff Brown8faab362015-04-09 18:52:52 -0700124package android.database {
125
126 public abstract class AbstractCursor implements android.database.CrossProcessCursor {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800127 field protected Long mCurrentRowID;
Jeff Brown8faab362015-04-09 18:52:52 -0700128 field protected int mRowIdColumnIndex;
Tor Norbye68ea0c32018-12-26 19:55:07 -0800129 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 -0700130 }
131
132}
133
Derek Sollenberger51e78052016-03-11 09:10:27 -0500134package android.graphics {
135
Tor Norbye68ea0c32018-12-26 19:55:07 -0800136 @Deprecated public class AvoidXfermode extends android.graphics.Xfermode {
Derek Sollenberger51e78052016-03-11 09:10:27 -0500137 ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode);
138 }
139
Tor Norbye68ea0c32018-12-26 19:55:07 -0800140 public enum AvoidXfermode.Mode {
Derek Sollenberger51e78052016-03-11 09:10:27 -0500141 enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID;
142 enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET;
143 }
144
Derek Sollenbergerb29b16e2017-01-04 14:57:43 -0500145 public class Canvas {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800146 method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region, @NonNull android.graphics.Region.Op);
147 method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region);
148 method @Deprecated public int save(int);
149 field @Deprecated public static final int CLIP_SAVE_FLAG = 2; // 0x2
150 field @Deprecated public static final int CLIP_TO_LAYER_SAVE_FLAG = 16; // 0x10
151 field @Deprecated public static final int FULL_COLOR_LAYER_SAVE_FLAG = 8; // 0x8
152 field @Deprecated public static final int HAS_ALPHA_LAYER_SAVE_FLAG = 4; // 0x4
153 field @Deprecated public static final int MATRIX_SAVE_FLAG = 1; // 0x1
Derek Sollenbergerb29b16e2017-01-04 14:57:43 -0500154 }
155
Leon Scroggins III746a9fe2018-03-08 10:32:10 -0500156 public final class ImageDecoder implements java.lang.AutoCloseable {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800157 method @Deprecated public boolean getAsAlphaMask();
158 method @Deprecated public boolean getConserveMemory();
159 method @Deprecated public boolean getDecodeAsAlphaMask();
160 method @Deprecated public boolean getMutable();
161 method @Deprecated public boolean getRequireUnpremultiplied();
162 method @Deprecated public android.graphics.ImageDecoder setAsAlphaMask(boolean);
163 method @Deprecated public void setConserveMemory(boolean);
164 method @Deprecated public android.graphics.ImageDecoder setDecodeAsAlphaMask(boolean);
165 method @Deprecated public android.graphics.ImageDecoder setMutable(boolean);
166 method @Deprecated public android.graphics.ImageDecoder setRequireUnpremultiplied(boolean);
167 method @Deprecated public android.graphics.ImageDecoder setResize(int, int);
168 method @Deprecated public android.graphics.ImageDecoder setResize(int);
169 field @Deprecated public static final int ERROR_SOURCE_ERROR = 3; // 0x3
170 field @Deprecated public static final int ERROR_SOURCE_EXCEPTION = 1; // 0x1
171 field @Deprecated public static final int ERROR_SOURCE_INCOMPLETE = 2; // 0x2
Leon Scroggins III746a9fe2018-03-08 10:32:10 -0500172 }
173
Tor Norbye68ea0c32018-12-26 19:55:07 -0800174 @Deprecated public static class ImageDecoder.IncompleteException extends java.io.IOException {
Leon Scroggins III1d2bf2b2018-03-14 16:07:43 -0400175 ctor public ImageDecoder.IncompleteException();
176 }
177
Tor Norbye68ea0c32018-12-26 19:55:07 -0800178 @Deprecated public class LayerRasterizer extends android.graphics.Rasterizer {
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500179 ctor public LayerRasterizer();
180 method public void addLayer(android.graphics.Paint, float, float);
181 method public void addLayer(android.graphics.Paint);
182 }
183
184 public class Paint {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800185 method @Deprecated public android.graphics.Rasterizer getRasterizer();
186 method @Deprecated public android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer);
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500187 }
188
Mike Reed99a83d22018-02-26 15:42:00 -0500189 public class Picture {
John Reck5cca8f22018-12-10 17:06:22 -0800190 method @Deprecated public static android.graphics.Picture createFromStream(@NonNull java.io.InputStream);
191 method @Deprecated public void writeToStream(@NonNull java.io.OutputStream);
Mike Reed99a83d22018-02-26 15:42:00 -0500192 }
193
Tor Norbye68ea0c32018-12-26 19:55:07 -0800194 @Deprecated public class PixelXorXfermode extends android.graphics.Xfermode {
Derek Sollenberger51e78052016-03-11 09:10:27 -0500195 ctor public PixelXorXfermode(int);
196 }
197
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500198 public class Rasterizer {
199 ctor public Rasterizer();
200 }
201
Derek Sollenberger51e78052016-03-11 09:10:27 -0500202}
203
Leon Scroggins III6de55b82018-02-23 16:11:37 -0500204package android.graphics.drawable {
205
206 public class AnimatedImageDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Animatable2 {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800207 method @Deprecated public int getLoopCount(int);
208 method @Deprecated public void setLoopCount(int);
209 field @Deprecated public static final int LOOP_INFINITE = -1; // 0xffffffff
Leon Scroggins III6de55b82018-02-23 16:11:37 -0500210 }
211
212}
213
Peng Xu3c8c6a42017-04-06 18:37:56 -0700214package android.hardware {
215
216 public final class SensorDirectChannel implements java.nio.channels.Channel {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800217 method @Deprecated public boolean isValid();
Peng Xu3c8c6a42017-04-06 18:37:56 -0700218 }
219
Peng Xu3c8c6a42017-04-06 18:37:56 -0700220}
221
Victor Chang8d693132019-05-03 14:28:20 +0100222package android.icu.util {
223
224 public class JapaneseCalendar extends android.icu.util.GregorianCalendar {
Nikita Iashchenko476db6e2019-07-25 19:14:24 +0100225 field @Deprecated public static final int CURRENT_ERA;
Victor Chang8d693132019-05-03 14:28:20 +0100226 }
227
228}
229
Yu Liub87243c2017-04-18 16:08:29 -0700230package android.location {
231
232 public class Location implements android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800233 method @Deprecated public void removeBearingAccuracy();
234 method @Deprecated public void removeSpeedAccuracy();
235 method @Deprecated public void removeVerticalAccuracy();
Yu Liub87243c2017-04-18 16:08:29 -0700236 }
237
238}
239
Glenn Kasten1aa74e42014-05-19 10:11:19 -0700240package android.media {
241
Jeff Sharkey50d1c042016-02-29 16:34:46 -0700242 public final class AudioFormat implements android.os.Parcelable {
Glenn Kasten1aa74e42014-05-19 10:11:19 -0700243 ctor public AudioFormat();
244 }
245
246}
247
Dongwon Kange12d8102016-03-04 16:45:39 -0800248package android.media.tv {
249
250 public class TvView extends android.view.ViewGroup {
251 method public void requestUnblockContent(android.media.tv.TvContentRating);
252 }
253
254}
255
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000256package android.net {
257
Lorenzo Colitti2187df72016-12-09 18:39:30 +0900258 public class ConnectivityManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800259 method @Deprecated public boolean requestRouteToHost(int, int);
260 method @Deprecated public int startUsingNetworkFeature(int, String);
261 method @Deprecated public int stopUsingNetworkFeature(int, String);
Lorenzo Colitti2187df72016-12-09 18:39:30 +0900262 }
263
Tor Norbye68ea0c32018-12-26 19:55:07 -0800264 @Deprecated public class NetworkBadging {
265 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 -0700266 field public static final int BADGING_4K = 30; // 0x1e
267 field public static final int BADGING_HD = 20; // 0x14
268 field public static final int BADGING_NONE = 0; // 0x0
269 field public static final int BADGING_SD = 10; // 0xa
270 }
271
Tor Norbye68ea0c32018-12-26 19:55:07 -0800272 @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 -0700273 }
274
Adam Vartanian6caa8162019-01-18 15:42:43 +0000275 @Deprecated public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800276 method @Deprecated public static org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache);
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000277 }
278
Jeff Sharkey121d5652018-03-26 13:11:33 -0600279 public class TrafficStats {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800280 method @Deprecated public static void setThreadStatsUidSelf();
Jeff Sharkey121d5652018-03-26 13:11:33 -0600281 }
282
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000283}
284
Jeff Brown7d827512014-08-21 21:56:02 -0700285package android.os {
286
Jeff Brown6e539312015-02-24 18:53:21 -0800287 public class BatteryManager {
288 ctor public BatteryManager();
289 }
290
Jeff Brown7d827512014-08-21 21:56:02 -0700291 public final class PowerManager {
292 method public void goToSleep(long);
Tor Norbye68ea0c32018-12-26 19:55:07 -0800293 method @Deprecated public void userActivity(long, boolean);
Michael Wrighte3001042019-02-05 00:13:14 +0000294 method @Deprecated public void wakeUp(long);
Jeff Brown7d827512014-08-21 21:56:02 -0700295 }
296
Andreas Gampe70e21e62015-03-18 16:13:33 -0700297 public class RecoverySystem {
298 ctor public RecoverySystem();
299 }
300
Kurt Nelson72534b72018-02-22 11:21:15 -0800301 public static final class StrictMode.ThreadPolicy.Builder {
Jeff Sharkeya30e5c32019-02-28 12:02:10 -0700302 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 -0800303 }
304
305 public static final class StrictMode.VmPolicy.Builder {
Jeff Sharkeya30e5c32019-02-28 12:02:10 -0700306 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 -0800307 }
308
Jeff Sharkey9911a282018-02-14 22:29:11 -0700309 public final class SystemClock {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800310 method @NonNull public static java.time.Clock elapsedRealtimeClock();
311 method @NonNull public static java.time.Clock uptimeClock();
Jeff Sharkey9911a282018-02-14 22:29:11 -0700312 }
313
Jeff Sharkey000ce802017-04-29 13:13:27 -0600314 public class TestLooperManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800315 method @Deprecated public android.os.MessageQueue getQueue();
Jeff Sharkey000ce802017-04-29 13:13:27 -0600316 }
317
Svetoslavc7d62f02014-09-04 15:39:54 -0700318 public class UserManager {
319 method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
320 method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
Tor Norbye68ea0c32018-12-26 19:55:07 -0800321 method public CharSequence getBadgedLabelForUser(CharSequence, android.os.UserHandle);
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600322 }
323
324}
325
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600326package android.os.storage {
327
328 public class StorageManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800329 method @NonNull public android.os.storage.StorageVolume getPrimaryVolume();
330 method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600331 }
332
333}
334
Svetoslavdbbeeb32015-02-18 19:16:25 -0800335package android.provider {
336
Svetoslavbfa216a2015-06-05 14:20:50 -0700337 public class Browser {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800338 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);
339 method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final boolean canClearHistory(android.content.ContentResolver);
340 method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearHistory(android.content.ContentResolver);
341 method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearSearches(android.content.ContentResolver);
342 method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteFromHistory(android.content.ContentResolver, String);
343 method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long);
344 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;
345 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;
346 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);
347 method public static final void saveBookmark(android.content.Context, String, String);
348 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);
349 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);
350 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;
351 field public static final String[] HISTORY_PROJECTION;
Svetoslavbfa216a2015-06-05 14:20:50 -0700352 field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4
353 field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3
354 field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6
355 field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
356 field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5
357 field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1
358 field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2
Tor Norbye68ea0c32018-12-26 19:55:07 -0800359 field public static final String[] SEARCHES_PROJECTION;
Svetoslavbfa216a2015-06-05 14:20:50 -0700360 field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2
361 field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1
Tor Norbye68ea0c32018-12-26 19:55:07 -0800362 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;
363 field public static final String[] TRUNCATE_HISTORY_PROJECTION;
Svetoslavbfa216a2015-06-05 14:20:50 -0700364 field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
365 field public static final int TRUNCATE_N_OLDEST = 5; // 0x5
366 }
367
368 public static class Browser.BookmarkColumns implements android.provider.BaseColumns {
369 ctor public Browser.BookmarkColumns();
Tor Norbye68ea0c32018-12-26 19:55:07 -0800370 field public static final String BOOKMARK = "bookmark";
371 field public static final String CREATED = "created";
372 field public static final String DATE = "date";
373 field public static final String FAVICON = "favicon";
374 field public static final String TITLE = "title";
375 field public static final String URL = "url";
376 field public static final String VISITS = "visits";
377 field public static final String _COUNT = "_count";
378 field public static final String _ID = "_id";
Svetoslavbfa216a2015-06-05 14:20:50 -0700379 }
380
381 public static class Browser.SearchColumns implements android.provider.BaseColumns {
382 ctor public Browser.SearchColumns();
Tor Norbye68ea0c32018-12-26 19:55:07 -0800383 field public static final String DATE = "date";
384 field public static final String SEARCH = "search";
385 field @Deprecated public static final String URL = "url";
386 field public static final String _COUNT = "_count";
387 field public static final String _ID = "_id";
Svetoslavbfa216a2015-06-05 14:20:50 -0700388 }
389
Tor Norbye68ea0c32018-12-26 19:55:07 -0800390 @Deprecated public static final class ContactsContract.Contacts.StreamItems implements android.provider.ContactsContract.StreamItemsColumns {
391 field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000392 }
393
Tor Norbye68ea0c32018-12-26 19:55:07 -0800394 @Deprecated public static final class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns {
395 field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items";
396 field public static final String _COUNT = "_count";
397 field public static final String _ID = "_id";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000398 }
399
Tor Norbye68ea0c32018-12-26 19:55:07 -0800400 @Deprecated public static final class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns {
401 field @Deprecated public static final String PHOTO = "photo";
402 field public static final String _COUNT = "_count";
403 field public static final String _ID = "_id";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000404 }
405
Tor Norbye68ea0c32018-12-26 19:55:07 -0800406 @Deprecated protected static interface ContactsContract.StreamItemPhotosColumns {
407 field @Deprecated public static final String PHOTO_FILE_ID = "photo_file_id";
408 field @Deprecated public static final String PHOTO_URI = "photo_uri";
409 field @Deprecated public static final String SORT_INDEX = "sort_index";
410 field @Deprecated public static final String STREAM_ITEM_ID = "stream_item_id";
411 field @Deprecated public static final String SYNC1 = "stream_item_photo_sync1";
412 field @Deprecated public static final String SYNC2 = "stream_item_photo_sync2";
413 field @Deprecated public static final String SYNC3 = "stream_item_photo_sync3";
414 field @Deprecated public static final String SYNC4 = "stream_item_photo_sync4";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000415 }
416
Tor Norbye68ea0c32018-12-26 19:55:07 -0800417 @Deprecated public static final class ContactsContract.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns {
418 field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item";
419 field @Deprecated public static final android.net.Uri CONTENT_LIMIT_URI;
420 field @Deprecated public static final android.net.Uri CONTENT_PHOTO_URI;
421 field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item";
422 field @Deprecated public static final android.net.Uri CONTENT_URI;
423 field @Deprecated public static final String MAX_ITEMS = "max_items";
424 field public static final String _COUNT = "_count";
425 field public static final String _ID = "_id";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000426 }
427
Tor Norbye68ea0c32018-12-26 19:55:07 -0800428 @Deprecated public static final class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns {
429 field @Deprecated public static final String CONTENT_DIRECTORY = "photo";
430 field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo";
431 field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo";
432 field public static final String _COUNT = "_count";
433 field public static final String _ID = "_id";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000434 }
435
Tor Norbye68ea0c32018-12-26 19:55:07 -0800436 @Deprecated protected static interface ContactsContract.StreamItemsColumns {
437 field @Deprecated public static final String ACCOUNT_NAME = "account_name";
438 field @Deprecated public static final String ACCOUNT_TYPE = "account_type";
439 field @Deprecated public static final String COMMENTS = "comments";
440 field @Deprecated public static final String CONTACT_ID = "contact_id";
441 field @Deprecated public static final String CONTACT_LOOKUP_KEY = "contact_lookup";
442 field @Deprecated public static final String DATA_SET = "data_set";
443 field @Deprecated public static final String RAW_CONTACT_ID = "raw_contact_id";
444 field @Deprecated public static final String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id";
445 field @Deprecated public static final String RES_ICON = "icon";
446 field @Deprecated public static final String RES_LABEL = "label";
447 field @Deprecated public static final String RES_PACKAGE = "res_package";
448 field @Deprecated public static final String SYNC1 = "stream_item_sync1";
449 field @Deprecated public static final String SYNC2 = "stream_item_sync2";
450 field @Deprecated public static final String SYNC3 = "stream_item_sync3";
451 field @Deprecated public static final String SYNC4 = "stream_item_sync4";
452 field @Deprecated public static final String TEXT = "text";
453 field @Deprecated public static final String TIMESTAMP = "timestamp";
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000454 }
455
Jeff Sharkeyfc246152019-04-12 11:52:16 -0600456 public static interface MediaStore.Audio.AudioColumns extends android.provider.MediaStore.MediaColumns {
Jeff Sharkey7b75fe52019-10-18 18:55:36 -0600457 field public static final String ALBUM = "album";
458 field public static final String ARTIST = "artist";
459 field public static final String COMPOSER = "composer";
Jeff Sharkeyfc246152019-04-12 11:52:16 -0600460 field public static final String DURATION = "duration";
461 }
462
Sudheer Shanka3c60d282019-04-12 15:05:33 -0700463 public static interface MediaStore.DownloadColumns extends android.provider.MediaStore.MediaColumns {
464 field @Deprecated public static final String DESCRIPTION = "description";
465 }
466
Jeff Sharkey7b75fe52019-10-18 18:55:36 -0600467 public static interface MediaStore.Files.FileColumns extends android.provider.MediaStore.MediaColumns {
468 field public static final String TITLE = "title";
469 }
470
Jeff Sharkeyfc246152019-04-12 11:52:16 -0600471 public static interface MediaStore.Images.ImageColumns extends android.provider.MediaStore.MediaColumns {
472 field public static final String BUCKET_DISPLAY_NAME = "bucket_display_name";
473 field public static final String BUCKET_ID = "bucket_id";
474 field public static final String DATE_TAKEN = "datetaken";
475 field public static final String GROUP_ID = "group_id";
476 field public static final String ORIENTATION = "orientation";
477 }
478
Jeff Sharkeyc62b0ac2019-02-07 16:17:13 -0700479 public static interface MediaStore.MediaColumns extends android.provider.BaseColumns {
Jeff Sharkey5e1ca0e2019-04-17 13:34:44 -0600480 field @Deprecated public static final String GROUP_ID = "group_id";
Jeff Sharkeyc62b0ac2019-02-07 16:17:13 -0700481 }
482
Jeff Sharkeyfc246152019-04-12 11:52:16 -0600483 public static interface MediaStore.Video.VideoColumns extends android.provider.MediaStore.MediaColumns {
Jeff Sharkey7b75fe52019-10-18 18:55:36 -0600484 field public static final String ALBUM = "album";
485 field public static final String ARTIST = "artist";
Jeff Sharkeyfc246152019-04-12 11:52:16 -0600486 field public static final String BUCKET_DISPLAY_NAME = "bucket_display_name";
487 field public static final String BUCKET_ID = "bucket_id";
488 field public static final String DATE_TAKEN = "datetaken";
489 field public static final String DURATION = "duration";
490 field public static final String GROUP_ID = "group_id";
Jeff Sharkey7b75fe52019-10-18 18:55:36 -0600491 field public static final String RESOLUTION = "resolution";
Jeff Sharkeyfc246152019-04-12 11:52:16 -0600492 }
493
Tingting Wange0cbda42016-05-10 15:39:37 -0700494 public static final class Settings.Global extends android.provider.Settings.NameValueTable {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800495 field @Deprecated public static final String CONTACT_METADATA_SYNC = "contact_metadata_sync";
Tingting Wange0cbda42016-05-10 15:39:37 -0700496 }
497
Svetoslavdbbeeb32015-02-18 19:16:25 -0800498 public static final class Settings.System extends android.provider.Settings.NameValueTable {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800499 field public static final String APPEND_FOR_LAST_AUDIBLE = "_last_audible";
500 field public static final String VOLUME_ALARM = "volume_alarm";
501 field public static final String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco";
502 field public static final String VOLUME_MUSIC = "volume_music";
503 field public static final String VOLUME_NOTIFICATION = "volume_notification";
504 field public static final String VOLUME_RING = "volume_ring";
505 field public static final String[] VOLUME_SETTINGS;
506 field public static final String VOLUME_SYSTEM = "volume_system";
507 field public static final String VOLUME_VOICE = "volume_voice";
Svetoslavdbbeeb32015-02-18 19:16:25 -0800508 }
509
510}
511
Jeff Sharkey000ce802017-04-29 13:13:27 -0600512package android.speech.tts {
513
514 public abstract class UtteranceProgressListener {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800515 method @Deprecated public void onUtteranceRangeStart(String, int, int);
Jeff Sharkey000ce802017-04-29 13:13:27 -0600516 }
517
518}
519
Jeff Sharkey3990ee12018-04-11 10:19:55 -0600520package android.telephony {
521
522 public class NetworkScan {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800523 method @Deprecated public void stop() throws android.os.RemoteException;
Jeff Sharkey3990ee12018-04-11 10:19:55 -0600524 }
525
526 public class TelephonyManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800527 method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) public java.util.List<android.telephony.NeighboringCellInfo> getNeighboringCellInfo();
Hall Liuee313732018-11-27 14:36:51 -0800528 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 -0600529 }
530
531}
532
Narayan Kamath9d68b3c2014-10-22 12:55:58 +0100533package android.text.format {
534
535 public class DateFormat {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800536 field @Deprecated public static final char AM_PM = 97; // 0x0061 'a'
537 field @Deprecated public static final char CAPITAL_AM_PM = 65; // 0x0041 'A'
538 field @Deprecated public static final char DATE = 100; // 0x0064 'd'
539 field @Deprecated public static final char DAY = 69; // 0x0045 'E'
540 field @Deprecated public static final char HOUR = 104; // 0x0068 'h'
541 field @Deprecated public static final char HOUR_OF_DAY = 107; // 0x006b 'k'
542 field @Deprecated public static final char MINUTE = 109; // 0x006d 'm'
543 field @Deprecated public static final char MONTH = 77; // 0x004d 'M'
544 field @Deprecated public static final char QUOTE = 39; // 0x0027 '\''
545 field @Deprecated public static final char SECONDS = 115; // 0x0073 's'
546 field @Deprecated public static final char STANDALONE_MONTH = 76; // 0x004c 'L'
547 field @Deprecated public static final char TIME_ZONE = 122; // 0x007a 'z'
548 field @Deprecated public static final char YEAR = 121; // 0x0079 'y'
Narayan Kamath9d68b3c2014-10-22 12:55:58 +0100549 }
550
551}
552
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500553package android.text.style {
554
555 public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance {
556 ctor public RasterizerSpan(android.graphics.Rasterizer);
557 method public android.graphics.Rasterizer getRasterizer();
Jeff Sharkeyb8b579e2017-11-22 12:34:08 -0700558 method public void updateDrawState(android.text.TextPaint);
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500559 }
560
561}
562
Neil Fullerd6a21352015-02-12 10:13:45 +0000563package android.util {
564
Tor Norbye68ea0c32018-12-26 19:55:07 -0800565 @Deprecated public class FloatMath {
Neil Fullerd6a21352015-02-12 10:13:45 +0000566 method public static float ceil(float);
567 method public static float cos(float);
568 method public static float exp(float);
569 method public static float floor(float);
570 method public static float hypot(float, float);
571 method public static float pow(float, float);
572 method public static float sin(float);
573 method public static float sqrt(float);
574 }
575
576}
577
Jorim Jaggie411fdf2014-07-28 23:00:44 +0200578package android.view {
579
Tor Norbye68ea0c32018-12-26 19:55:07 -0800580 @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 -0700581 method protected void initializeFadingEdge(android.content.res.TypedArray);
582 method protected void initializeScrollbars(android.content.res.TypedArray);
583 }
584
Aaron Whytef8306522017-03-22 16:30:58 -0700585 public class ViewConfiguration {
586 method public int getScaledScrollFactor();
587 }
588
Jorim Jaggie411fdf2014-07-28 23:00:44 +0200589 public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
590 field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
591 }
592
593}
594
Michael Wright1ad39552016-04-27 13:07:18 -0400595package android.webkit {
596
597 public class WebViewClient {
598 method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
599 }
600
601}
602
Alan Viverette5171dee2014-09-11 16:33:01 -0700603package android.widget {
604
Tor Norbye68ea0c32018-12-26 19:55:07 -0800605 @android.widget.RemoteViews.RemoteView public class ListView extends android.widget.AbsListView {
606 method protected <T extends android.view.View> T findViewTraversal(@IdRes int);
607 method protected <T extends android.view.View> T findViewWithTagTraversal(Object);
Jeff Sharkeyb8b579e2017-11-22 12:34:08 -0700608 }
609
Ian Pedowitzcece8d32019-05-12 19:44:49 +0000610 public class PopupWindow {
611 method @Deprecated public boolean isClipToScreenEnabled();
612 method @Deprecated public boolean isLayoutInScreenEnabled();
613 method @Deprecated public void setClipToScreenEnabled(boolean);
614 method @Deprecated public void setLayoutInScreenEnabled(boolean);
615 }
616
Tor Norbye68ea0c32018-12-26 19:55:07 -0800617 @android.widget.RemoteViews.RemoteView public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
Alan Viverette5171dee2014-09-11 16:33:01 -0700618 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
619 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
620 }
621
622}
623