blob: 9f1d1a98ac6b6776ea8b106a35ab93cda3c28ed2 [file] [log] [blame]
Chris Wrena05db382015-06-24 15:18:34 -04001package android.app {
2
3 public class Notification implements android.os.Parcelable {
Julia Reynoldse071abd2017-03-22 10:52:11 -04004 method public deprecated int getBadgeIcon();
Chris Wrena05db382015-06-24 15:18:34 -04005 method public deprecated void setLatestEventInfo(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, android.app.PendingIntent);
6 }
7
Jeff Sharkey780861f2017-03-20 14:38:04 -06008 public final class RecoverableSecurityException extends java.lang.SecurityException implements android.os.Parcelable {
9 method public deprecated void showAsNotification(android.content.Context);
10 }
11
Chris Wrena05db382015-06-24 15:18:34 -040012}
13
phweiss27ee3342016-02-08 16:40:45 +010014package android.app.admin {
15
16 public class DevicePolicyManager {
17 method public deprecated android.os.UserHandle createAndInitializeUser(android.content.ComponentName, java.lang.String, java.lang.String, android.content.ComponentName, android.os.Bundle);
18 method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang.String);
19 }
20
21}
22
Jeff Sharkey8a372a02016-03-16 16:25:45 -060023package android.content {
24
25 public abstract class Context {
Jeff Sharkeycf3f0a12016-03-17 19:57:58 -060026 method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
27 method public abstract java.io.File getSharedPreferencesPath(java.lang.String);
Jeff Sharkey8a372a02016-03-16 16:25:45 -060028 }
29
Garfield Tance1d0e92017-03-23 10:52:48 -070030 public class Intent implements java.lang.Cloneable android.os.Parcelable {
31 field public static final deprecated java.lang.String EXTRA_QUICK_VIEW_ADVANCED = "android.intent.extra.QUICK_VIEW_ADVANCED";
32 }
33
Jeff Sharkey8a372a02016-03-16 16:25:45 -060034}
35
Svetoslavc6d1c342015-02-26 14:44:43 -080036package android.content.pm {
37
Jeff Sharkey8a372a02016-03-16 16:25:45 -060038 public class ComponentInfo extends android.content.pm.PackageItemInfo {
39 field public deprecated boolean encryptionAware;
40 }
41
Svetoslavc6d1c342015-02-26 14:44:43 -080042 public class PackageInfo implements android.os.Parcelable {
43 field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1
44 }
45
Svetoslav Ganov345ffa52017-04-18 16:08:41 -070046 public abstract class PackageManager {
47 method public abstract boolean setInstantAppCookie(byte[]);
48 }
49
Svetoslav Ganov0cb43ef2017-04-18 14:28:35 -070050 public final class SharedLibraryInfo implements android.os.Parcelable {
51 method public boolean isBuiltin();
52 method public boolean isDynamic();
53 method public boolean isStatic();
54 }
55
Svetoslavc6d1c342015-02-26 14:44:43 -080056}
57
Jeff Brown8faab362015-04-09 18:52:52 -070058package android.database {
59
60 public abstract class AbstractCursor implements android.database.CrossProcessCursor {
61 field protected java.lang.Long mCurrentRowID;
62 field protected int mRowIdColumnIndex;
63 field protected java.util.HashMap<java.lang.Long, java.util.Map<java.lang.String, java.lang.Object>> mUpdatedRows;
64 }
65
66}
67
Derek Sollenberger51e78052016-03-11 09:10:27 -050068package android.graphics {
69
70 public deprecated class AvoidXfermode extends android.graphics.Xfermode {
71 ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode);
72 }
73
74 public static final class AvoidXfermode.Mode extends java.lang.Enum {
75 method public static android.graphics.AvoidXfermode.Mode valueOf(java.lang.String);
76 method public static final android.graphics.AvoidXfermode.Mode[] values();
77 enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID;
78 enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET;
79 }
80
Derek Sollenbergerb29b16e2017-01-04 14:57:43 -050081 public class Canvas {
82 method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op);
83 method public deprecated boolean clipRegion(android.graphics.Region);
84 }
85
Derek Sollenbergerdcc36302016-12-09 15:10:39 -050086 public deprecated class LayerRasterizer extends android.graphics.Rasterizer {
87 ctor public LayerRasterizer();
88 method public void addLayer(android.graphics.Paint, float, float);
89 method public void addLayer(android.graphics.Paint);
90 }
91
92 public class Paint {
93 method public deprecated android.graphics.Rasterizer getRasterizer();
94 method public deprecated android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer);
95 }
96
Derek Sollenberger51e78052016-03-11 09:10:27 -050097 public deprecated class PixelXorXfermode extends android.graphics.Xfermode {
98 ctor public PixelXorXfermode(int);
99 }
100
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500101 public class Rasterizer {
102 ctor public Rasterizer();
103 }
104
Derek Sollenberger51e78052016-03-11 09:10:27 -0500105}
106
Peng Xu3c8c6a42017-04-06 18:37:56 -0700107package android.hardware {
108
109 public final class SensorDirectChannel implements java.nio.channels.Channel {
110 method public deprecated boolean isValid();
111 }
112
113 public abstract class SensorManager {
114 method public deprecated int configureDirectChannel(android.hardware.SensorDirectChannel, android.hardware.Sensor, int);
115 }
116
117}
118
Ying Wang02937eb2015-01-09 11:51:26 -0800119package android.media {
120
Jeff Sharkey50d1c042016-02-29 16:34:46 -0700121 public final class AudioFormat implements android.os.Parcelable {
Ying Wang02937eb2015-01-09 11:51:26 -0800122 ctor public AudioFormat();
123 }
124
125}
126
Dongwon Kange12d8102016-03-04 16:45:39 -0800127package android.media.tv {
128
Dongwon Kang0632d8a2016-03-18 07:42:04 -0700129 public final class TvInputManager {
130 method public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, android.media.tv.TvInputManager.HardwareCallback, android.media.tv.TvInputInfo);
131 }
132
Dongwon Kange12d8102016-03-04 16:45:39 -0800133 public class TvView extends android.view.ViewGroup {
134 method public void requestUnblockContent(android.media.tv.TvContentRating);
135 }
136
137}
138
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000139package android.net {
140
Lorenzo Colitti2187df72016-12-09 18:39:30 +0900141 public class ConnectivityManager {
142 method public deprecated boolean requestRouteToHost(int, int);
143 method public deprecated int startUsingNetworkFeature(int, java.lang.String);
144 method public deprecated int stopUsingNetworkFeature(int, java.lang.String);
145 }
146
Alex Klyubin5e86d952016-09-21 14:17:26 -0700147 public abstract class PskKeyManager {
148 ctor public PskKeyManager();
149 field public static final int MAX_IDENTITY_HINT_LENGTH_BYTES = 128; // 0x80
150 field public static final int MAX_IDENTITY_LENGTH_BYTES = 128; // 0x80
151 field public static final int MAX_KEY_LENGTH_BYTES = 256; // 0x100
152 }
153
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000154 public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
155 method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache);
156 }
157
158}
159
Ying Wang02937eb2015-01-09 11:51:26 -0800160package android.os {
161
Jeff Brown6e539312015-02-24 18:53:21 -0800162 public class BatteryManager {
163 ctor public BatteryManager();
164 }
165
Ying Wang02937eb2015-01-09 11:51:26 -0800166 public final class PowerManager {
167 method public void goToSleep(long);
168 method public deprecated void userActivity(long, boolean);
169 method public void wakeUp(long);
170 }
171
Andreas Gampe70e21e62015-03-18 16:13:33 -0700172 public class RecoverySystem {
173 ctor public RecoverySystem();
174 }
175
Ying Wang02937eb2015-01-09 11:51:26 -0800176 public class UserManager {
177 method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
178 method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
179 method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle);
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600180 }
181
182}
183
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600184package android.os.storage {
185
186 public class StorageManager {
Jeff Sharkeyd5d5e922017-02-21 10:51:23 -0700187 method public deprecated long getCacheQuotaBytes();
188 method public deprecated long getCacheSizeBytes();
189 method public deprecated long getExternalCacheQuotaBytes();
190 method public deprecated long getExternalCacheSizeBytes();
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600191 method public android.os.storage.StorageVolume getPrimaryVolume();
192 method public android.os.storage.StorageVolume[] getVolumeList();
Jeff Sharkeyb5a35b82017-03-22 21:30:19 -0600193 method public deprecated boolean isCacheBehaviorAtomic(java.io.File) throws java.io.IOException;
194 method public deprecated void setCacheBehaviorAtomic(java.io.File, boolean) throws java.io.IOException;
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600195 }
196
197}
198
Svetoslavdbbeeb32015-02-18 19:16:25 -0800199package android.provider {
200
Svetoslavbfa216a2015-06-05 14:20:50 -0700201 public class Browser {
202 method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String);
203 method public static final boolean canClearHistory(android.content.ContentResolver);
204 method public static final void clearHistory(android.content.ContentResolver);
205 method public static final void clearSearches(android.content.ContentResolver);
206 method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String);
207 method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long);
208 method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException;
209 method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException;
210 method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener);
211 method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String);
212 method public static final void truncateHistory(android.content.ContentResolver);
213 method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean);
214 field public static final android.net.Uri BOOKMARKS_URI;
215 field public static final java.lang.String[] HISTORY_PROJECTION;
216 field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4
217 field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3
218 field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6
219 field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
220 field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5
221 field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1
222 field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2
223 field public static final java.lang.String[] SEARCHES_PROJECTION;
224 field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2
225 field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1
226 field public static final android.net.Uri SEARCHES_URI;
227 field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION;
228 field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
229 field public static final int TRUNCATE_N_OLDEST = 5; // 0x5
230 }
231
232 public static class Browser.BookmarkColumns implements android.provider.BaseColumns {
233 ctor public Browser.BookmarkColumns();
234 field public static final java.lang.String BOOKMARK = "bookmark";
235 field public static final java.lang.String CREATED = "created";
236 field public static final java.lang.String DATE = "date";
237 field public static final java.lang.String FAVICON = "favicon";
238 field public static final java.lang.String THUMBNAIL = "thumbnail";
239 field public static final java.lang.String TITLE = "title";
240 field public static final java.lang.String TOUCH_ICON = "touch_icon";
241 field public static final java.lang.String URL = "url";
242 field public static final java.lang.String USER_ENTERED = "user_entered";
243 field public static final java.lang.String VISITS = "visits";
244 }
245
246 public static class Browser.SearchColumns implements android.provider.BaseColumns {
247 ctor public Browser.SearchColumns();
248 field public static final java.lang.String DATE = "date";
249 field public static final java.lang.String SEARCH = "search";
250 field public static final deprecated java.lang.String URL = "url";
251 }
252
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000253 public static final deprecated class ContactsContract.Contacts.StreamItems {
254 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
255 }
256
257 public static final deprecated class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns {
258 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
259 }
260
261 public static final deprecated class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns {
262 field public static final deprecated java.lang.String PHOTO = "photo";
263 }
264
265 protected static abstract deprecated interface ContactsContract.StreamItemPhotosColumns {
266 field public static final deprecated java.lang.String PHOTO_FILE_ID = "photo_file_id";
267 field public static final deprecated java.lang.String PHOTO_URI = "photo_uri";
268 field public static final deprecated java.lang.String SORT_INDEX = "sort_index";
269 field public static final deprecated java.lang.String STREAM_ITEM_ID = "stream_item_id";
270 field public static final deprecated java.lang.String SYNC1 = "stream_item_photo_sync1";
271 field public static final deprecated java.lang.String SYNC2 = "stream_item_photo_sync2";
272 field public static final deprecated java.lang.String SYNC3 = "stream_item_photo_sync3";
273 field public static final deprecated java.lang.String SYNC4 = "stream_item_photo_sync4";
274 }
275
276 public static final deprecated class ContactsContract.StreamItems implements android.provider.BaseColumns {
277 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item";
278 field public static final deprecated android.net.Uri CONTENT_LIMIT_URI;
279 field public static final deprecated android.net.Uri CONTENT_PHOTO_URI;
280 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item";
281 field public static final deprecated android.net.Uri CONTENT_URI;
282 field public static final deprecated java.lang.String MAX_ITEMS = "max_items";
283 }
284
285 public static final deprecated class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns {
286 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "photo";
287 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo";
288 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo";
289 }
290
291 protected static abstract deprecated interface ContactsContract.StreamItemsColumns {
292 field public static final deprecated java.lang.String ACCOUNT_NAME = "account_name";
293 field public static final deprecated java.lang.String ACCOUNT_TYPE = "account_type";
294 field public static final deprecated java.lang.String COMMENTS = "comments";
295 field public static final deprecated java.lang.String CONTACT_ID = "contact_id";
296 field public static final deprecated java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup";
297 field public static final deprecated java.lang.String DATA_SET = "data_set";
298 field public static final deprecated java.lang.String RAW_CONTACT_ID = "raw_contact_id";
299 field public static final deprecated java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id";
300 field public static final deprecated java.lang.String RES_ICON = "icon";
301 field public static final deprecated java.lang.String RES_LABEL = "label";
302 field public static final deprecated java.lang.String RES_PACKAGE = "res_package";
303 field public static final deprecated java.lang.String SYNC1 = "stream_item_sync1";
304 field public static final deprecated java.lang.String SYNC2 = "stream_item_sync2";
305 field public static final deprecated java.lang.String SYNC3 = "stream_item_sync3";
306 field public static final deprecated java.lang.String SYNC4 = "stream_item_sync4";
307 field public static final deprecated java.lang.String TEXT = "text";
308 field public static final deprecated java.lang.String TIMESTAMP = "timestamp";
309 }
310
Seigo Nonakafe04aa82017-04-01 16:28:11 -0700311 public static final class FontsContract.Columns implements android.provider.BaseColumns {
312 field public static final java.lang.String STYLE = "font_style";
313 }
314
Tingting Wange0cbda42016-05-10 15:39:37 -0700315 public static final class Settings.Global extends android.provider.Settings.NameValueTable {
316 field public static final deprecated java.lang.String CONTACT_METADATA_SYNC = "contact_metadata_sync";
317 }
318
Svetoslavdbbeeb32015-02-18 19:16:25 -0800319 public static final class Settings.System extends android.provider.Settings.NameValueTable {
320 field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible";
321 field public static final java.lang.String VOLUME_ALARM = "volume_alarm";
322 field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco";
323 field public static final java.lang.String VOLUME_MUSIC = "volume_music";
324 field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification";
325 field public static final java.lang.String VOLUME_RING = "volume_ring";
326 field public static final java.lang.String[] VOLUME_SETTINGS;
327 field public static final java.lang.String VOLUME_SYSTEM = "volume_system";
328 field public static final java.lang.String VOLUME_VOICE = "volume_voice";
329 }
330
Amit Mahajana8955592016-05-02 14:45:46 -0700331 public static final class Telephony.Sms.Intents {
332 field public static final java.lang.String SMS_EMERGENCY_CB_RECEIVED_ACTION = "android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED";
333 }
334
Svetoslavdbbeeb32015-02-18 19:16:25 -0800335}
336
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700337package android.test.mock {
338
Stephan Linznerb51617f2016-01-27 18:09:50 -0800339 public deprecated class MockPackageManager extends android.content.pm.PackageManager {
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700340 method public deprecated java.lang.String getDefaultBrowserPackageName(int);
341 method public deprecated boolean setDefaultBrowserPackageName(java.lang.String, int);
342 }
343
344}
345
Ying Wang02937eb2015-01-09 11:51:26 -0800346package android.text.format {
347
348 public class DateFormat {
349 field public static final deprecated char AM_PM = 97; // 0x0061 'a'
350 field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A'
351 field public static final deprecated char DATE = 100; // 0x0064 'd'
352 field public static final deprecated char DAY = 69; // 0x0045 'E'
353 field public static final deprecated char HOUR = 104; // 0x0068 'h'
354 field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k'
355 field public static final deprecated char MINUTE = 109; // 0x006d 'm'
356 field public static final deprecated char MONTH = 77; // 0x004d 'M'
357 field public static final deprecated char QUOTE = 39; // 0x0027 '\''
358 field public static final deprecated char SECONDS = 115; // 0x0073 's'
359 field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L'
360 field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z'
361 field public static final deprecated char YEAR = 121; // 0x0079 'y'
362 }
363
364}
365
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500366package android.text.style {
367
368 public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance {
369 ctor public RasterizerSpan(android.graphics.Rasterizer);
370 method public android.graphics.Rasterizer getRasterizer();
371 }
372
373}
374
Neil Fullerd6a21352015-02-12 10:13:45 +0000375package android.util {
376
377 public deprecated class FloatMath {
378 method public static float ceil(float);
379 method public static float cos(float);
380 method public static float exp(float);
381 method public static float floor(float);
382 method public static float hypot(float, float);
383 method public static float pow(float, float);
384 method public static float sin(float);
385 method public static float sqrt(float);
386 }
387
388}
389
Ying Wang02937eb2015-01-09 11:51:26 -0800390package android.view {
391
392 public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
393 method protected void initializeFadingEdge(android.content.res.TypedArray);
394 method protected void initializeScrollbars(android.content.res.TypedArray);
395 }
396
Aaron Whytef8306522017-03-22 16:30:58 -0700397 public class ViewConfiguration {
398 method public int getScaledScrollFactor();
399 }
400
Ying Wang02937eb2015-01-09 11:51:26 -0800401 public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
402 field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
403 }
404
405}
406
Michael Wright1ad39552016-04-27 13:07:18 -0400407package android.webkit {
408
409 public class WebViewClient {
410 method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
411 }
412
413}
414
Ying Wang02937eb2015-01-09 11:51:26 -0800415package android.widget {
416
417 public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
418 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
419 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
420 }
421
422}
423