blob: 1bafe96c1e6e470bbc23af576fd3fa9efa332582 [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
Julia Reynoldse071abd2017-03-22 10:52:11 -04008 public static class Notification.Builder {
9 method public deprecated android.app.Notification.Builder chooseBadgeIcon(int);
10 }
11
Jeff Sharkey780861f2017-03-20 14:38:04 -060012 public final class RecoverableSecurityException extends java.lang.SecurityException implements android.os.Parcelable {
13 method public deprecated void showAsNotification(android.content.Context);
14 }
15
Chris Wrena05db382015-06-24 15:18:34 -040016}
17
phweiss27ee3342016-02-08 16:40:45 +010018package android.app.admin {
19
20 public class DevicePolicyManager {
21 method public deprecated android.os.UserHandle createAndInitializeUser(android.content.ComponentName, java.lang.String, java.lang.String, android.content.ComponentName, android.os.Bundle);
22 method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang.String);
23 }
24
25}
26
Jeff Sharkey8a372a02016-03-16 16:25:45 -060027package android.content {
28
29 public abstract class Context {
Jeff Sharkeycf3f0a12016-03-17 19:57:58 -060030 method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
31 method public abstract java.io.File getSharedPreferencesPath(java.lang.String);
Jeff Sharkey8a372a02016-03-16 16:25:45 -060032 }
33
Garfield Tance1d0e92017-03-23 10:52:48 -070034 public class Intent implements java.lang.Cloneable android.os.Parcelable {
35 field public static final deprecated java.lang.String EXTRA_QUICK_VIEW_ADVANCED = "android.intent.extra.QUICK_VIEW_ADVANCED";
36 }
37
Jeff Sharkey8a372a02016-03-16 16:25:45 -060038}
39
Svetoslavc6d1c342015-02-26 14:44:43 -080040package android.content.pm {
41
Jeff Sharkey8a372a02016-03-16 16:25:45 -060042 public class ComponentInfo extends android.content.pm.PackageItemInfo {
43 field public deprecated boolean encryptionAware;
44 }
45
Svetoslavc6d1c342015-02-26 14:44:43 -080046 public class PackageInfo implements android.os.Parcelable {
47 field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1
48 }
49
50}
51
Jeff Brown8faab362015-04-09 18:52:52 -070052package android.database {
53
54 public abstract class AbstractCursor implements android.database.CrossProcessCursor {
55 field protected java.lang.Long mCurrentRowID;
56 field protected int mRowIdColumnIndex;
57 field protected java.util.HashMap<java.lang.Long, java.util.Map<java.lang.String, java.lang.Object>> mUpdatedRows;
58 }
59
60}
61
Derek Sollenberger51e78052016-03-11 09:10:27 -050062package android.graphics {
63
64 public deprecated class AvoidXfermode extends android.graphics.Xfermode {
65 ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode);
66 }
67
68 public static final class AvoidXfermode.Mode extends java.lang.Enum {
69 method public static android.graphics.AvoidXfermode.Mode valueOf(java.lang.String);
70 method public static final android.graphics.AvoidXfermode.Mode[] values();
71 enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID;
72 enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET;
73 }
74
Derek Sollenbergerb29b16e2017-01-04 14:57:43 -050075 public class Canvas {
76 method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op);
77 method public deprecated boolean clipRegion(android.graphics.Region);
78 }
79
Derek Sollenbergerdcc36302016-12-09 15:10:39 -050080 public deprecated class LayerRasterizer extends android.graphics.Rasterizer {
81 ctor public LayerRasterizer();
82 method public void addLayer(android.graphics.Paint, float, float);
83 method public void addLayer(android.graphics.Paint);
84 }
85
86 public class Paint {
87 method public deprecated android.graphics.Rasterizer getRasterizer();
88 method public deprecated android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer);
89 }
90
Derek Sollenberger51e78052016-03-11 09:10:27 -050091 public deprecated class PixelXorXfermode extends android.graphics.Xfermode {
92 ctor public PixelXorXfermode(int);
93 }
94
Derek Sollenbergerdcc36302016-12-09 15:10:39 -050095 public class Rasterizer {
96 ctor public Rasterizer();
97 }
98
Derek Sollenberger51e78052016-03-11 09:10:27 -050099}
100
Ying Wang02937eb2015-01-09 11:51:26 -0800101package android.media {
102
Jeff Sharkey50d1c042016-02-29 16:34:46 -0700103 public final class AudioFormat implements android.os.Parcelable {
Ying Wang02937eb2015-01-09 11:51:26 -0800104 ctor public AudioFormat();
105 }
106
107}
108
Dongwon Kange12d8102016-03-04 16:45:39 -0800109package android.media.tv {
110
Dongwon Kang0632d8a2016-03-18 07:42:04 -0700111 public final class TvInputManager {
112 method public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, android.media.tv.TvInputManager.HardwareCallback, android.media.tv.TvInputInfo);
113 }
114
Dongwon Kange12d8102016-03-04 16:45:39 -0800115 public class TvView extends android.view.ViewGroup {
116 method public void requestUnblockContent(android.media.tv.TvContentRating);
117 }
118
119}
120
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000121package android.net {
122
Lorenzo Colitti2187df72016-12-09 18:39:30 +0900123 public class ConnectivityManager {
124 method public deprecated boolean requestRouteToHost(int, int);
125 method public deprecated int startUsingNetworkFeature(int, java.lang.String);
126 method public deprecated int stopUsingNetworkFeature(int, java.lang.String);
127 }
128
Alex Klyubin5e86d952016-09-21 14:17:26 -0700129 public abstract class PskKeyManager {
130 ctor public PskKeyManager();
131 field public static final int MAX_IDENTITY_HINT_LENGTH_BYTES = 128; // 0x80
132 field public static final int MAX_IDENTITY_LENGTH_BYTES = 128; // 0x80
133 field public static final int MAX_KEY_LENGTH_BYTES = 256; // 0x100
134 }
135
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000136 public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
137 method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache);
138 }
139
140}
141
Ying Wang02937eb2015-01-09 11:51:26 -0800142package android.os {
143
Jeff Brown6e539312015-02-24 18:53:21 -0800144 public class BatteryManager {
145 ctor public BatteryManager();
146 }
147
Ying Wang02937eb2015-01-09 11:51:26 -0800148 public final class PowerManager {
149 method public void goToSleep(long);
150 method public deprecated void userActivity(long, boolean);
151 method public void wakeUp(long);
152 }
153
Andreas Gampe70e21e62015-03-18 16:13:33 -0700154 public class RecoverySystem {
155 ctor public RecoverySystem();
156 }
157
Ying Wang02937eb2015-01-09 11:51:26 -0800158 public class UserManager {
159 method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
160 method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
161 method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle);
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600162 }
163
164}
165
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600166package android.os.storage {
167
168 public class StorageManager {
Jeff Sharkeyd5d5e9262017-02-21 10:51:23 -0700169 method public deprecated long getCacheQuotaBytes();
170 method public deprecated long getCacheSizeBytes();
171 method public deprecated long getExternalCacheQuotaBytes();
172 method public deprecated long getExternalCacheSizeBytes();
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600173 method public android.os.storage.StorageVolume getPrimaryVolume();
174 method public android.os.storage.StorageVolume[] getVolumeList();
Jeff Sharkeyb5a35b82017-03-22 21:30:19 -0600175 method public deprecated boolean isCacheBehaviorAtomic(java.io.File) throws java.io.IOException;
176 method public deprecated void setCacheBehaviorAtomic(java.io.File, boolean) throws java.io.IOException;
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600177 }
178
179}
180
Svetoslavdbbeeb32015-02-18 19:16:25 -0800181package android.provider {
182
Svetoslavbfa216a2015-06-05 14:20:50 -0700183 public class Browser {
184 method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String);
185 method public static final boolean canClearHistory(android.content.ContentResolver);
186 method public static final void clearHistory(android.content.ContentResolver);
187 method public static final void clearSearches(android.content.ContentResolver);
188 method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String);
189 method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long);
190 method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException;
191 method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException;
192 method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener);
193 method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String);
194 method public static final void truncateHistory(android.content.ContentResolver);
195 method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean);
196 field public static final android.net.Uri BOOKMARKS_URI;
197 field public static final java.lang.String[] HISTORY_PROJECTION;
198 field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4
199 field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3
200 field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6
201 field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
202 field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5
203 field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1
204 field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2
205 field public static final java.lang.String[] SEARCHES_PROJECTION;
206 field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2
207 field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1
208 field public static final android.net.Uri SEARCHES_URI;
209 field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION;
210 field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
211 field public static final int TRUNCATE_N_OLDEST = 5; // 0x5
212 }
213
214 public static class Browser.BookmarkColumns implements android.provider.BaseColumns {
215 ctor public Browser.BookmarkColumns();
216 field public static final java.lang.String BOOKMARK = "bookmark";
217 field public static final java.lang.String CREATED = "created";
218 field public static final java.lang.String DATE = "date";
219 field public static final java.lang.String FAVICON = "favicon";
220 field public static final java.lang.String THUMBNAIL = "thumbnail";
221 field public static final java.lang.String TITLE = "title";
222 field public static final java.lang.String TOUCH_ICON = "touch_icon";
223 field public static final java.lang.String URL = "url";
224 field public static final java.lang.String USER_ENTERED = "user_entered";
225 field public static final java.lang.String VISITS = "visits";
226 }
227
228 public static class Browser.SearchColumns implements android.provider.BaseColumns {
229 ctor public Browser.SearchColumns();
230 field public static final java.lang.String DATE = "date";
231 field public static final java.lang.String SEARCH = "search";
232 field public static final deprecated java.lang.String URL = "url";
233 }
234
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000235 public static final deprecated class ContactsContract.Contacts.StreamItems {
236 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
237 }
238
239 public static final deprecated class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns {
240 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
241 }
242
243 public static final deprecated class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns {
244 field public static final deprecated java.lang.String PHOTO = "photo";
245 }
246
247 protected static abstract deprecated interface ContactsContract.StreamItemPhotosColumns {
248 field public static final deprecated java.lang.String PHOTO_FILE_ID = "photo_file_id";
249 field public static final deprecated java.lang.String PHOTO_URI = "photo_uri";
250 field public static final deprecated java.lang.String SORT_INDEX = "sort_index";
251 field public static final deprecated java.lang.String STREAM_ITEM_ID = "stream_item_id";
252 field public static final deprecated java.lang.String SYNC1 = "stream_item_photo_sync1";
253 field public static final deprecated java.lang.String SYNC2 = "stream_item_photo_sync2";
254 field public static final deprecated java.lang.String SYNC3 = "stream_item_photo_sync3";
255 field public static final deprecated java.lang.String SYNC4 = "stream_item_photo_sync4";
256 }
257
258 public static final deprecated class ContactsContract.StreamItems implements android.provider.BaseColumns {
259 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item";
260 field public static final deprecated android.net.Uri CONTENT_LIMIT_URI;
261 field public static final deprecated android.net.Uri CONTENT_PHOTO_URI;
262 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item";
263 field public static final deprecated android.net.Uri CONTENT_URI;
264 field public static final deprecated java.lang.String MAX_ITEMS = "max_items";
265 }
266
267 public static final deprecated class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns {
268 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "photo";
269 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo";
270 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo";
271 }
272
273 protected static abstract deprecated interface ContactsContract.StreamItemsColumns {
274 field public static final deprecated java.lang.String ACCOUNT_NAME = "account_name";
275 field public static final deprecated java.lang.String ACCOUNT_TYPE = "account_type";
276 field public static final deprecated java.lang.String COMMENTS = "comments";
277 field public static final deprecated java.lang.String CONTACT_ID = "contact_id";
278 field public static final deprecated java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup";
279 field public static final deprecated java.lang.String DATA_SET = "data_set";
280 field public static final deprecated java.lang.String RAW_CONTACT_ID = "raw_contact_id";
281 field public static final deprecated java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id";
282 field public static final deprecated java.lang.String RES_ICON = "icon";
283 field public static final deprecated java.lang.String RES_LABEL = "label";
284 field public static final deprecated java.lang.String RES_PACKAGE = "res_package";
285 field public static final deprecated java.lang.String SYNC1 = "stream_item_sync1";
286 field public static final deprecated java.lang.String SYNC2 = "stream_item_sync2";
287 field public static final deprecated java.lang.String SYNC3 = "stream_item_sync3";
288 field public static final deprecated java.lang.String SYNC4 = "stream_item_sync4";
289 field public static final deprecated java.lang.String TEXT = "text";
290 field public static final deprecated java.lang.String TIMESTAMP = "timestamp";
291 }
292
Tingting Wange0cbda42016-05-10 15:39:37 -0700293 public static final class Settings.Global extends android.provider.Settings.NameValueTable {
294 field public static final deprecated java.lang.String CONTACT_METADATA_SYNC = "contact_metadata_sync";
295 }
296
Svetoslavdbbeeb32015-02-18 19:16:25 -0800297 public static final class Settings.System extends android.provider.Settings.NameValueTable {
298 field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible";
299 field public static final java.lang.String VOLUME_ALARM = "volume_alarm";
300 field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco";
301 field public static final java.lang.String VOLUME_MUSIC = "volume_music";
302 field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification";
303 field public static final java.lang.String VOLUME_RING = "volume_ring";
304 field public static final java.lang.String[] VOLUME_SETTINGS;
305 field public static final java.lang.String VOLUME_SYSTEM = "volume_system";
306 field public static final java.lang.String VOLUME_VOICE = "volume_voice";
307 }
308
Amit Mahajana8955592016-05-02 14:45:46 -0700309 public static final class Telephony.Sms.Intents {
310 field public static final java.lang.String SMS_EMERGENCY_CB_RECEIVED_ACTION = "android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED";
311 }
312
Svetoslavdbbeeb32015-02-18 19:16:25 -0800313}
314
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700315package android.test.mock {
316
Stephan Linznerb51617f2016-01-27 18:09:50 -0800317 public deprecated class MockPackageManager extends android.content.pm.PackageManager {
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700318 method public deprecated java.lang.String getDefaultBrowserPackageName(int);
319 method public deprecated boolean setDefaultBrowserPackageName(java.lang.String, int);
320 }
321
322}
323
Ying Wang02937eb2015-01-09 11:51:26 -0800324package android.text.format {
325
326 public class DateFormat {
327 field public static final deprecated char AM_PM = 97; // 0x0061 'a'
328 field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A'
329 field public static final deprecated char DATE = 100; // 0x0064 'd'
330 field public static final deprecated char DAY = 69; // 0x0045 'E'
331 field public static final deprecated char HOUR = 104; // 0x0068 'h'
332 field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k'
333 field public static final deprecated char MINUTE = 109; // 0x006d 'm'
334 field public static final deprecated char MONTH = 77; // 0x004d 'M'
335 field public static final deprecated char QUOTE = 39; // 0x0027 '\''
336 field public static final deprecated char SECONDS = 115; // 0x0073 's'
337 field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L'
338 field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z'
339 field public static final deprecated char YEAR = 121; // 0x0079 'y'
340 }
341
342}
343
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500344package android.text.style {
345
346 public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance {
347 ctor public RasterizerSpan(android.graphics.Rasterizer);
348 method public android.graphics.Rasterizer getRasterizer();
349 }
350
351}
352
Neil Fullerd6a21352015-02-12 10:13:45 +0000353package android.util {
354
355 public deprecated class FloatMath {
356 method public static float ceil(float);
357 method public static float cos(float);
358 method public static float exp(float);
359 method public static float floor(float);
360 method public static float hypot(float, float);
361 method public static float pow(float, float);
362 method public static float sin(float);
363 method public static float sqrt(float);
364 }
365
366}
367
Ying Wang02937eb2015-01-09 11:51:26 -0800368package android.view {
369
370 public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
371 method protected void initializeFadingEdge(android.content.res.TypedArray);
372 method protected void initializeScrollbars(android.content.res.TypedArray);
373 }
374
Aaron Whytef8306522017-03-22 16:30:58 -0700375 public class ViewConfiguration {
376 method public int getScaledScrollFactor();
377 }
378
Ying Wang02937eb2015-01-09 11:51:26 -0800379 public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
380 field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
381 }
382
383}
384
Michael Wright1ad39552016-04-27 13:07:18 -0400385package android.webkit {
386
387 public class WebViewClient {
388 method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
389 }
390
391}
392
Ying Wang02937eb2015-01-09 11:51:26 -0800393package android.widget {
394
395 public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
396 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
397 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
398 }
399
400}
401