blob: f3152b63b37c1a47ff5e1fa56a0a7995437f5981 [file] [log] [blame]
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001package android.app {
2
3 public class Notification implements android.os.Parcelable {
4 method public deprecated void setLatestEventInfo(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, android.app.PendingIntent);
5 }
6
Jeff Sharkey780861f2017-03-20 14:38:04 -06007 public final class RecoverableSecurityException extends java.lang.SecurityException implements android.os.Parcelable {
8 method public deprecated void showAsNotification(android.content.Context);
9 }
10
Michael Wrightb2b2c0e2015-11-06 15:21:13 +000011}
12
13package android.app.admin {
14
15 public class DevicePolicyManager {
phweiss27ee3342016-02-08 16:40:45 +010016 method public deprecated android.os.UserHandle createAndInitializeUser(android.content.ComponentName, java.lang.String, java.lang.String, android.content.ComponentName, android.os.Bundle);
17 method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang.String);
Michael Wrightb2b2c0e2015-11-06 15:21:13 +000018 method public deprecated java.lang.String getDeviceInitializerApp();
19 method public deprecated android.content.ComponentName getDeviceInitializerComponent();
20 }
21
22}
23
Jeff Sharkey8a372a02016-03-16 16:25:45 -060024package android.content {
25
26 public abstract class Context {
Jeff Sharkeycf3f0a12016-03-17 19:57:58 -060027 method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
28 method public abstract java.io.File getSharedPreferencesPath(java.lang.String);
Jeff Sharkey8a372a02016-03-16 16:25:45 -060029 }
30
31}
32
Michael Wrightb2b2c0e2015-11-06 15:21:13 +000033package android.content.pm {
34
Jeff Sharkey8a372a02016-03-16 16:25:45 -060035 public class ComponentInfo extends android.content.pm.PackageItemInfo {
36 field public deprecated boolean encryptionAware;
37 }
38
Michael Wrightb2b2c0e2015-11-06 15:21:13 +000039 public class PackageInfo implements android.os.Parcelable {
40 field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1
41 }
42
43}
44
45package android.database {
46
47 public abstract class AbstractCursor implements android.database.CrossProcessCursor {
48 field protected java.lang.Long mCurrentRowID;
49 field protected int mRowIdColumnIndex;
50 field protected java.util.HashMap<java.lang.Long, java.util.Map<java.lang.String, java.lang.Object>> mUpdatedRows;
51 }
52
53}
54
Derek Sollenberger51e78052016-03-11 09:10:27 -050055package android.graphics {
56
57 public deprecated class AvoidXfermode extends android.graphics.Xfermode {
58 ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode);
59 }
60
61 public static final class AvoidXfermode.Mode extends java.lang.Enum {
62 method public static android.graphics.AvoidXfermode.Mode valueOf(java.lang.String);
63 method public static final android.graphics.AvoidXfermode.Mode[] values();
64 enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID;
65 enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET;
66 }
67
Derek Sollenbergerb29b16e2017-01-04 14:57:43 -050068 public class Canvas {
69 method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op);
70 method public deprecated boolean clipRegion(android.graphics.Region);
71 }
72
Derek Sollenbergerdcc36302016-12-09 15:10:39 -050073 public deprecated class LayerRasterizer extends android.graphics.Rasterizer {
74 ctor public LayerRasterizer();
75 method public void addLayer(android.graphics.Paint, float, float);
76 method public void addLayer(android.graphics.Paint);
77 }
78
79 public class Paint {
80 method public deprecated android.graphics.Rasterizer getRasterizer();
81 method public deprecated android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer);
82 }
83
Derek Sollenberger51e78052016-03-11 09:10:27 -050084 public deprecated class PixelXorXfermode extends android.graphics.Xfermode {
85 ctor public PixelXorXfermode(int);
86 }
87
Derek Sollenbergerdcc36302016-12-09 15:10:39 -050088 public class Rasterizer {
89 ctor public Rasterizer();
90 }
91
Derek Sollenberger51e78052016-03-11 09:10:27 -050092}
93
Michael Wrightb2b2c0e2015-11-06 15:21:13 +000094package android.media {
95
Jeff Sharkey50d1c042016-02-29 16:34:46 -070096 public final class AudioFormat implements android.os.Parcelable {
Michael Wrightb2b2c0e2015-11-06 15:21:13 +000097 ctor public AudioFormat();
98 }
99
100}
101
Dongwon Kange12d8102016-03-04 16:45:39 -0800102package android.media.tv {
103
Dongwon Kang0632d8a2016-03-18 07:42:04 -0700104 public final class TvInputManager {
105 method public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, android.media.tv.TvInputManager.HardwareCallback, android.media.tv.TvInputInfo);
106 }
107
Dongwon Kange12d8102016-03-04 16:45:39 -0800108 public class TvView extends android.view.ViewGroup {
109 method public void requestUnblockContent(android.media.tv.TvContentRating);
110 }
111
112}
113
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000114package android.net {
115
Lorenzo Colitti2187df72016-12-09 18:39:30 +0900116 public class ConnectivityManager {
117 method public deprecated boolean requestRouteToHost(int, int);
118 method public deprecated int startUsingNetworkFeature(int, java.lang.String);
119 method public deprecated int stopUsingNetworkFeature(int, java.lang.String);
120 }
121
Alex Klyubin5e86d952016-09-21 14:17:26 -0700122 public abstract class PskKeyManager {
123 ctor public PskKeyManager();
124 field public static final int MAX_IDENTITY_HINT_LENGTH_BYTES = 128; // 0x80
125 field public static final int MAX_IDENTITY_LENGTH_BYTES = 128; // 0x80
126 field public static final int MAX_KEY_LENGTH_BYTES = 256; // 0x100
127 }
128
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000129 public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
130 method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache);
131 }
132
133}
134
135package android.os {
136
137 public class BatteryManager {
138 ctor public BatteryManager();
139 }
140
Svet Ganov77df6f32016-08-17 11:46:34 -0700141 public class Build {
142 field public static final boolean PERMISSIONS_REVIEW_REQUIRED;
143 }
144
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000145 public final class PowerManager {
146 method public void goToSleep(long);
147 method public deprecated void userActivity(long, boolean);
148 method public void wakeUp(long);
149 }
150
151 public class RecoverySystem {
152 ctor public RecoverySystem();
153 }
154
155 public class UserManager {
156 method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
157 method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
158 method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle);
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600159 }
160
161}
162
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600163package android.os.storage {
164
165 public class StorageManager {
Jeff Sharkeyd5d5e922017-02-21 10:51:23 -0700166 method public deprecated long getCacheQuotaBytes();
167 method public deprecated long getCacheSizeBytes();
168 method public deprecated long getExternalCacheQuotaBytes();
169 method public deprecated long getExternalCacheSizeBytes();
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600170 method public android.os.storage.StorageVolume getPrimaryVolume();
171 method public android.os.storage.StorageVolume[] getVolumeList();
Jeff Sharkeyb5a35b82017-03-22 21:30:19 -0600172 method public deprecated boolean isCacheBehaviorAtomic(java.io.File) throws java.io.IOException;
173 method public deprecated void setCacheBehaviorAtomic(java.io.File, boolean) throws java.io.IOException;
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600174 }
175
176}
177
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000178package android.provider {
179
180 public class Browser {
181 method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String);
182 method public static final boolean canClearHistory(android.content.ContentResolver);
183 method public static final void clearHistory(android.content.ContentResolver);
184 method public static final void clearSearches(android.content.ContentResolver);
185 method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String);
186 method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long);
187 method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException;
188 method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException;
189 method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener);
190 method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String);
191 method public static final void truncateHistory(android.content.ContentResolver);
192 method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean);
193 field public static final android.net.Uri BOOKMARKS_URI;
194 field public static final java.lang.String[] HISTORY_PROJECTION;
195 field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4
196 field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3
197 field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6
198 field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
199 field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5
200 field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1
201 field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2
202 field public static final java.lang.String[] SEARCHES_PROJECTION;
203 field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2
204 field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1
205 field public static final android.net.Uri SEARCHES_URI;
206 field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION;
207 field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
208 field public static final int TRUNCATE_N_OLDEST = 5; // 0x5
209 }
210
211 public static class Browser.BookmarkColumns implements android.provider.BaseColumns {
212 ctor public Browser.BookmarkColumns();
213 field public static final java.lang.String BOOKMARK = "bookmark";
214 field public static final java.lang.String CREATED = "created";
215 field public static final java.lang.String DATE = "date";
216 field public static final java.lang.String FAVICON = "favicon";
217 field public static final java.lang.String THUMBNAIL = "thumbnail";
218 field public static final java.lang.String TITLE = "title";
219 field public static final java.lang.String TOUCH_ICON = "touch_icon";
220 field public static final java.lang.String URL = "url";
221 field public static final java.lang.String USER_ENTERED = "user_entered";
222 field public static final java.lang.String VISITS = "visits";
223 }
224
225 public static class Browser.SearchColumns implements android.provider.BaseColumns {
226 ctor public Browser.SearchColumns();
227 field public static final java.lang.String DATE = "date";
228 field public static final java.lang.String SEARCH = "search";
229 field public static final deprecated java.lang.String URL = "url";
230 }
231
232 public static final deprecated class ContactsContract.Contacts.StreamItems {
233 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
234 }
235
236 public static final deprecated class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns {
237 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
238 }
239
240 public static final deprecated class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns {
241 field public static final deprecated java.lang.String PHOTO = "photo";
242 }
243
244 protected static abstract deprecated interface ContactsContract.StreamItemPhotosColumns {
245 field public static final deprecated java.lang.String PHOTO_FILE_ID = "photo_file_id";
246 field public static final deprecated java.lang.String PHOTO_URI = "photo_uri";
247 field public static final deprecated java.lang.String SORT_INDEX = "sort_index";
248 field public static final deprecated java.lang.String STREAM_ITEM_ID = "stream_item_id";
249 field public static final deprecated java.lang.String SYNC1 = "stream_item_photo_sync1";
250 field public static final deprecated java.lang.String SYNC2 = "stream_item_photo_sync2";
251 field public static final deprecated java.lang.String SYNC3 = "stream_item_photo_sync3";
252 field public static final deprecated java.lang.String SYNC4 = "stream_item_photo_sync4";
253 }
254
255 public static final deprecated class ContactsContract.StreamItems implements android.provider.BaseColumns {
256 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item";
257 field public static final deprecated android.net.Uri CONTENT_LIMIT_URI;
258 field public static final deprecated android.net.Uri CONTENT_PHOTO_URI;
259 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item";
260 field public static final deprecated android.net.Uri CONTENT_URI;
261 field public static final deprecated java.lang.String MAX_ITEMS = "max_items";
262 }
263
264 public static final deprecated class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns {
265 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "photo";
266 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo";
267 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo";
268 }
269
270 protected static abstract deprecated interface ContactsContract.StreamItemsColumns {
271 field public static final deprecated java.lang.String ACCOUNT_NAME = "account_name";
272 field public static final deprecated java.lang.String ACCOUNT_TYPE = "account_type";
273 field public static final deprecated java.lang.String COMMENTS = "comments";
274 field public static final deprecated java.lang.String CONTACT_ID = "contact_id";
275 field public static final deprecated java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup";
276 field public static final deprecated java.lang.String DATA_SET = "data_set";
277 field public static final deprecated java.lang.String RAW_CONTACT_ID = "raw_contact_id";
278 field public static final deprecated java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id";
279 field public static final deprecated java.lang.String RES_ICON = "icon";
280 field public static final deprecated java.lang.String RES_LABEL = "label";
281 field public static final deprecated java.lang.String RES_PACKAGE = "res_package";
282 field public static final deprecated java.lang.String SYNC1 = "stream_item_sync1";
283 field public static final deprecated java.lang.String SYNC2 = "stream_item_sync2";
284 field public static final deprecated java.lang.String SYNC3 = "stream_item_sync3";
285 field public static final deprecated java.lang.String SYNC4 = "stream_item_sync4";
286 field public static final deprecated java.lang.String TEXT = "text";
287 field public static final deprecated java.lang.String TIMESTAMP = "timestamp";
288 }
289
Tingting Wange0cbda42016-05-10 15:39:37 -0700290 public static final class Settings.Global extends android.provider.Settings.NameValueTable {
291 field public static final deprecated java.lang.String CONTACT_METADATA_SYNC = "contact_metadata_sync";
292 }
293
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000294 public static final class Settings.System extends android.provider.Settings.NameValueTable {
295 field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible";
296 field public static final java.lang.String VOLUME_ALARM = "volume_alarm";
297 field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco";
298 field public static final java.lang.String VOLUME_MUSIC = "volume_music";
299 field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification";
300 field public static final java.lang.String VOLUME_RING = "volume_ring";
301 field public static final java.lang.String[] VOLUME_SETTINGS;
302 field public static final java.lang.String VOLUME_SYSTEM = "volume_system";
303 field public static final java.lang.String VOLUME_VOICE = "volume_voice";
304 }
305
Amit Mahajana8955592016-05-02 14:45:46 -0700306 public static final class Telephony.Sms.Intents {
307 field public static final java.lang.String SMS_EMERGENCY_CB_RECEIVED_ACTION = "android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED";
308 }
309
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000310}
311
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700312package android.test.mock {
313
Stephan Linznerb51617f2016-01-27 18:09:50 -0800314 public deprecated class MockPackageManager extends android.content.pm.PackageManager {
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700315 method public deprecated java.lang.String getDefaultBrowserPackageName(int);
316 method public deprecated boolean setDefaultBrowserPackageName(java.lang.String, int);
317 }
318
319}
320
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000321package android.text.format {
322
323 public class DateFormat {
324 field public static final deprecated char AM_PM = 97; // 0x0061 'a'
325 field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A'
326 field public static final deprecated char DATE = 100; // 0x0064 'd'
327 field public static final deprecated char DAY = 69; // 0x0045 'E'
328 field public static final deprecated char HOUR = 104; // 0x0068 'h'
329 field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k'
330 field public static final deprecated char MINUTE = 109; // 0x006d 'm'
331 field public static final deprecated char MONTH = 77; // 0x004d 'M'
332 field public static final deprecated char QUOTE = 39; // 0x0027 '\''
333 field public static final deprecated char SECONDS = 115; // 0x0073 's'
334 field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L'
335 field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z'
336 field public static final deprecated char YEAR = 121; // 0x0079 'y'
337 }
338
339}
340
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500341package android.text.style {
342
343 public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance {
344 ctor public RasterizerSpan(android.graphics.Rasterizer);
345 method public android.graphics.Rasterizer getRasterizer();
346 }
347
348}
349
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000350package android.util {
351
352 public deprecated class FloatMath {
353 method public static float ceil(float);
354 method public static float cos(float);
355 method public static float exp(float);
356 method public static float floor(float);
357 method public static float hypot(float, float);
358 method public static float pow(float, float);
359 method public static float sin(float);
360 method public static float sqrt(float);
361 }
362
363}
364
365package android.view {
366
367 public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
368 method protected void initializeFadingEdge(android.content.res.TypedArray);
369 method protected void initializeScrollbars(android.content.res.TypedArray);
370 }
371
372 public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
373 field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
374 }
375
376}
377
Abodunrinwa Toki4cfda0b2017-02-28 18:56:47 +0000378package android.view.textclassifier {
379
380 public abstract interface TextClassifier {
381 method public abstract android.view.textclassifier.LinksInfo getLinks(java.lang.CharSequence, int);
382 method public abstract android.view.textclassifier.TextClassificationResult getTextClassificationResult(java.lang.CharSequence, int, int);
383 method public abstract android.view.textclassifier.TextSelection suggestSelection(java.lang.CharSequence, int, int);
384 }
385
386}
387
Michael Wright1ad39552016-04-27 13:07:18 -0400388package android.webkit {
389
390 public class WebViewClient {
391 method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
392 }
393
394}
395
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000396package android.widget {
397
398 public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
399 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
400 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
401 }
402
403}
404