blob: 642d3480d73672a9fefb364c75a20a76c58314c3 [file] [log] [blame]
Chris Wrena05db382015-06-24 15:18:34 -04001package 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
Chris Wrena05db382015-06-24 15:18:34 -040011}
12
phweiss27ee3342016-02-08 16:40:45 +010013package android.app.admin {
14
15 public class DevicePolicyManager {
16 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);
18 }
19
20}
21
Jeff Sharkey8a372a02016-03-16 16:25:45 -060022package android.content {
23
24 public abstract class Context {
Jeff Sharkeycf3f0a12016-03-17 19:57:58 -060025 method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
26 method public abstract java.io.File getSharedPreferencesPath(java.lang.String);
Jeff Sharkey8a372a02016-03-16 16:25:45 -060027 }
28
29}
30
Svetoslavc6d1c342015-02-26 14:44:43 -080031package android.content.pm {
32
Jeff Sharkey8a372a02016-03-16 16:25:45 -060033 public class ComponentInfo extends android.content.pm.PackageItemInfo {
34 field public deprecated boolean encryptionAware;
35 }
36
Svetoslavc6d1c342015-02-26 14:44:43 -080037 public class PackageInfo implements android.os.Parcelable {
38 field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1
39 }
40
41}
42
Jeff Brown8faab362015-04-09 18:52:52 -070043package android.database {
44
45 public abstract class AbstractCursor implements android.database.CrossProcessCursor {
46 field protected java.lang.Long mCurrentRowID;
47 field protected int mRowIdColumnIndex;
48 field protected java.util.HashMap<java.lang.Long, java.util.Map<java.lang.String, java.lang.Object>> mUpdatedRows;
49 }
50
51}
52
Derek Sollenberger51e78052016-03-11 09:10:27 -050053package android.graphics {
54
55 public deprecated class AvoidXfermode extends android.graphics.Xfermode {
56 ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode);
57 }
58
59 public static final class AvoidXfermode.Mode extends java.lang.Enum {
60 method public static android.graphics.AvoidXfermode.Mode valueOf(java.lang.String);
61 method public static final android.graphics.AvoidXfermode.Mode[] values();
62 enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID;
63 enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET;
64 }
65
Derek Sollenbergerb29b16e2017-01-04 14:57:43 -050066 public class Canvas {
67 method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op);
68 method public deprecated boolean clipRegion(android.graphics.Region);
69 }
70
Derek Sollenbergerdcc36302016-12-09 15:10:39 -050071 public deprecated class LayerRasterizer extends android.graphics.Rasterizer {
72 ctor public LayerRasterizer();
73 method public void addLayer(android.graphics.Paint, float, float);
74 method public void addLayer(android.graphics.Paint);
75 }
76
77 public class Paint {
78 method public deprecated android.graphics.Rasterizer getRasterizer();
79 method public deprecated android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer);
80 }
81
Derek Sollenberger51e78052016-03-11 09:10:27 -050082 public deprecated class PixelXorXfermode extends android.graphics.Xfermode {
83 ctor public PixelXorXfermode(int);
84 }
85
Derek Sollenbergerdcc36302016-12-09 15:10:39 -050086 public class Rasterizer {
87 ctor public Rasterizer();
88 }
89
Derek Sollenberger51e78052016-03-11 09:10:27 -050090}
91
Ying Wang02937eb2015-01-09 11:51:26 -080092package android.media {
93
Jeff Sharkey50d1c042016-02-29 16:34:46 -070094 public final class AudioFormat implements android.os.Parcelable {
Ying Wang02937eb2015-01-09 11:51:26 -080095 ctor public AudioFormat();
96 }
97
98}
99
Dongwon Kange12d8102016-03-04 16:45:39 -0800100package android.media.tv {
101
Dongwon Kang0632d8a2016-03-18 07:42:04 -0700102 public final class TvInputManager {
103 method public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, android.media.tv.TvInputManager.HardwareCallback, android.media.tv.TvInputInfo);
104 }
105
Dongwon Kange12d8102016-03-04 16:45:39 -0800106 public class TvView extends android.view.ViewGroup {
107 method public void requestUnblockContent(android.media.tv.TvContentRating);
108 }
109
110}
111
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000112package android.net {
113
Lorenzo Colitti2187df72016-12-09 18:39:30 +0900114 public class ConnectivityManager {
115 method public deprecated boolean requestRouteToHost(int, int);
116 method public deprecated int startUsingNetworkFeature(int, java.lang.String);
117 method public deprecated int stopUsingNetworkFeature(int, java.lang.String);
118 }
119
Alex Klyubin5e86d952016-09-21 14:17:26 -0700120 public abstract class PskKeyManager {
121 ctor public PskKeyManager();
122 field public static final int MAX_IDENTITY_HINT_LENGTH_BYTES = 128; // 0x80
123 field public static final int MAX_IDENTITY_LENGTH_BYTES = 128; // 0x80
124 field public static final int MAX_KEY_LENGTH_BYTES = 256; // 0x100
125 }
126
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000127 public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
128 method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache);
129 }
130
131}
132
Ying Wang02937eb2015-01-09 11:51:26 -0800133package android.os {
134
Jeff Brown6e539312015-02-24 18:53:21 -0800135 public class BatteryManager {
136 ctor public BatteryManager();
137 }
138
Ying Wang02937eb2015-01-09 11:51:26 -0800139 public final class PowerManager {
140 method public void goToSleep(long);
141 method public deprecated void userActivity(long, boolean);
142 method public void wakeUp(long);
143 }
144
Andreas Gampe70e21e62015-03-18 16:13:33 -0700145 public class RecoverySystem {
146 ctor public RecoverySystem();
147 }
148
Ying Wang02937eb2015-01-09 11:51:26 -0800149 public class UserManager {
150 method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
151 method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
152 method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle);
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600153 }
154
155}
156
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600157package android.os.storage {
158
159 public class StorageManager {
Jeff Sharkeyd5d5e922017-02-21 10:51:23 -0700160 method public deprecated long getCacheQuotaBytes();
161 method public deprecated long getCacheSizeBytes();
162 method public deprecated long getExternalCacheQuotaBytes();
163 method public deprecated long getExternalCacheSizeBytes();
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600164 method public android.os.storage.StorageVolume getPrimaryVolume();
165 method public android.os.storage.StorageVolume[] getVolumeList();
Jeff Sharkeyb5a35b82017-03-22 21:30:19 -0600166 method public deprecated boolean isCacheBehaviorAtomic(java.io.File) throws java.io.IOException;
167 method public deprecated void setCacheBehaviorAtomic(java.io.File, boolean) throws java.io.IOException;
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600168 }
169
170}
171
Svetoslavdbbeeb32015-02-18 19:16:25 -0800172package android.provider {
173
Svetoslavbfa216a2015-06-05 14:20:50 -0700174 public class Browser {
175 method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String);
176 method public static final boolean canClearHistory(android.content.ContentResolver);
177 method public static final void clearHistory(android.content.ContentResolver);
178 method public static final void clearSearches(android.content.ContentResolver);
179 method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String);
180 method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long);
181 method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException;
182 method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException;
183 method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener);
184 method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String);
185 method public static final void truncateHistory(android.content.ContentResolver);
186 method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean);
187 field public static final android.net.Uri BOOKMARKS_URI;
188 field public static final java.lang.String[] HISTORY_PROJECTION;
189 field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4
190 field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3
191 field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6
192 field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
193 field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5
194 field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1
195 field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2
196 field public static final java.lang.String[] SEARCHES_PROJECTION;
197 field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2
198 field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1
199 field public static final android.net.Uri SEARCHES_URI;
200 field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION;
201 field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
202 field public static final int TRUNCATE_N_OLDEST = 5; // 0x5
203 }
204
205 public static class Browser.BookmarkColumns implements android.provider.BaseColumns {
206 ctor public Browser.BookmarkColumns();
207 field public static final java.lang.String BOOKMARK = "bookmark";
208 field public static final java.lang.String CREATED = "created";
209 field public static final java.lang.String DATE = "date";
210 field public static final java.lang.String FAVICON = "favicon";
211 field public static final java.lang.String THUMBNAIL = "thumbnail";
212 field public static final java.lang.String TITLE = "title";
213 field public static final java.lang.String TOUCH_ICON = "touch_icon";
214 field public static final java.lang.String URL = "url";
215 field public static final java.lang.String USER_ENTERED = "user_entered";
216 field public static final java.lang.String VISITS = "visits";
217 }
218
219 public static class Browser.SearchColumns implements android.provider.BaseColumns {
220 ctor public Browser.SearchColumns();
221 field public static final java.lang.String DATE = "date";
222 field public static final java.lang.String SEARCH = "search";
223 field public static final deprecated java.lang.String URL = "url";
224 }
225
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000226 public static final deprecated class ContactsContract.Contacts.StreamItems {
227 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
228 }
229
230 public static final deprecated class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns {
231 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
232 }
233
234 public static final deprecated class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns {
235 field public static final deprecated java.lang.String PHOTO = "photo";
236 }
237
238 protected static abstract deprecated interface ContactsContract.StreamItemPhotosColumns {
239 field public static final deprecated java.lang.String PHOTO_FILE_ID = "photo_file_id";
240 field public static final deprecated java.lang.String PHOTO_URI = "photo_uri";
241 field public static final deprecated java.lang.String SORT_INDEX = "sort_index";
242 field public static final deprecated java.lang.String STREAM_ITEM_ID = "stream_item_id";
243 field public static final deprecated java.lang.String SYNC1 = "stream_item_photo_sync1";
244 field public static final deprecated java.lang.String SYNC2 = "stream_item_photo_sync2";
245 field public static final deprecated java.lang.String SYNC3 = "stream_item_photo_sync3";
246 field public static final deprecated java.lang.String SYNC4 = "stream_item_photo_sync4";
247 }
248
249 public static final deprecated class ContactsContract.StreamItems implements android.provider.BaseColumns {
250 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item";
251 field public static final deprecated android.net.Uri CONTENT_LIMIT_URI;
252 field public static final deprecated android.net.Uri CONTENT_PHOTO_URI;
253 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item";
254 field public static final deprecated android.net.Uri CONTENT_URI;
255 field public static final deprecated java.lang.String MAX_ITEMS = "max_items";
256 }
257
258 public static final deprecated class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns {
259 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "photo";
260 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo";
261 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo";
262 }
263
264 protected static abstract deprecated interface ContactsContract.StreamItemsColumns {
265 field public static final deprecated java.lang.String ACCOUNT_NAME = "account_name";
266 field public static final deprecated java.lang.String ACCOUNT_TYPE = "account_type";
267 field public static final deprecated java.lang.String COMMENTS = "comments";
268 field public static final deprecated java.lang.String CONTACT_ID = "contact_id";
269 field public static final deprecated java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup";
270 field public static final deprecated java.lang.String DATA_SET = "data_set";
271 field public static final deprecated java.lang.String RAW_CONTACT_ID = "raw_contact_id";
272 field public static final deprecated java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id";
273 field public static final deprecated java.lang.String RES_ICON = "icon";
274 field public static final deprecated java.lang.String RES_LABEL = "label";
275 field public static final deprecated java.lang.String RES_PACKAGE = "res_package";
276 field public static final deprecated java.lang.String SYNC1 = "stream_item_sync1";
277 field public static final deprecated java.lang.String SYNC2 = "stream_item_sync2";
278 field public static final deprecated java.lang.String SYNC3 = "stream_item_sync3";
279 field public static final deprecated java.lang.String SYNC4 = "stream_item_sync4";
280 field public static final deprecated java.lang.String TEXT = "text";
281 field public static final deprecated java.lang.String TIMESTAMP = "timestamp";
282 }
283
Tingting Wange0cbda42016-05-10 15:39:37 -0700284 public static final class Settings.Global extends android.provider.Settings.NameValueTable {
285 field public static final deprecated java.lang.String CONTACT_METADATA_SYNC = "contact_metadata_sync";
286 }
287
Svetoslavdbbeeb32015-02-18 19:16:25 -0800288 public static final class Settings.System extends android.provider.Settings.NameValueTable {
289 field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible";
290 field public static final java.lang.String VOLUME_ALARM = "volume_alarm";
291 field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco";
292 field public static final java.lang.String VOLUME_MUSIC = "volume_music";
293 field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification";
294 field public static final java.lang.String VOLUME_RING = "volume_ring";
295 field public static final java.lang.String[] VOLUME_SETTINGS;
296 field public static final java.lang.String VOLUME_SYSTEM = "volume_system";
297 field public static final java.lang.String VOLUME_VOICE = "volume_voice";
298 }
299
Amit Mahajana8955592016-05-02 14:45:46 -0700300 public static final class Telephony.Sms.Intents {
301 field public static final java.lang.String SMS_EMERGENCY_CB_RECEIVED_ACTION = "android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED";
302 }
303
Svetoslavdbbeeb32015-02-18 19:16:25 -0800304}
305
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700306package android.test.mock {
307
Stephan Linznerb51617f2016-01-27 18:09:50 -0800308 public deprecated class MockPackageManager extends android.content.pm.PackageManager {
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700309 method public deprecated java.lang.String getDefaultBrowserPackageName(int);
310 method public deprecated boolean setDefaultBrowserPackageName(java.lang.String, int);
311 }
312
313}
314
Ying Wang02937eb2015-01-09 11:51:26 -0800315package android.text.format {
316
317 public class DateFormat {
318 field public static final deprecated char AM_PM = 97; // 0x0061 'a'
319 field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A'
320 field public static final deprecated char DATE = 100; // 0x0064 'd'
321 field public static final deprecated char DAY = 69; // 0x0045 'E'
322 field public static final deprecated char HOUR = 104; // 0x0068 'h'
323 field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k'
324 field public static final deprecated char MINUTE = 109; // 0x006d 'm'
325 field public static final deprecated char MONTH = 77; // 0x004d 'M'
326 field public static final deprecated char QUOTE = 39; // 0x0027 '\''
327 field public static final deprecated char SECONDS = 115; // 0x0073 's'
328 field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L'
329 field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z'
330 field public static final deprecated char YEAR = 121; // 0x0079 'y'
331 }
332
333}
334
Derek Sollenbergerdcc36302016-12-09 15:10:39 -0500335package android.text.style {
336
337 public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance {
338 ctor public RasterizerSpan(android.graphics.Rasterizer);
339 method public android.graphics.Rasterizer getRasterizer();
340 }
341
342}
343
Neil Fullerd6a21352015-02-12 10:13:45 +0000344package android.util {
345
346 public deprecated class FloatMath {
347 method public static float ceil(float);
348 method public static float cos(float);
349 method public static float exp(float);
350 method public static float floor(float);
351 method public static float hypot(float, float);
352 method public static float pow(float, float);
353 method public static float sin(float);
354 method public static float sqrt(float);
355 }
356
357}
358
Ying Wang02937eb2015-01-09 11:51:26 -0800359package android.view {
360
361 public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
362 method protected void initializeFadingEdge(android.content.res.TypedArray);
363 method protected void initializeScrollbars(android.content.res.TypedArray);
364 }
365
366 public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
367 field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
368 }
369
370}
371
Abodunrinwa Toki4cfda0b2017-02-28 18:56:47 +0000372package android.view.textclassifier {
373
374 public abstract interface TextClassifier {
375 method public abstract android.view.textclassifier.LinksInfo getLinks(java.lang.CharSequence, int);
376 method public abstract android.view.textclassifier.TextClassificationResult getTextClassificationResult(java.lang.CharSequence, int, int);
377 method public abstract android.view.textclassifier.TextSelection suggestSelection(java.lang.CharSequence, int, int);
378 }
379
380}
381
Michael Wright1ad39552016-04-27 13:07:18 -0400382package android.webkit {
383
384 public class WebViewClient {
385 method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
386 }
387
388}
389
Ying Wang02937eb2015-01-09 11:51:26 -0800390package android.widget {
391
392 public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
393 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
394 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
395 }
396
397}
398