blob: de8a7244d388e3c06d65bd311c09cbb4d4551f64 [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
7}
8
Craig Lafayettee7ee54e2015-09-21 13:48:53 -04009package android.app.admin {
10
11 public class DevicePolicyManager {
phweiss27ee3342016-02-08 16:40:45 +010012 method public deprecated android.os.UserHandle createAndInitializeUser(android.content.ComponentName, java.lang.String, java.lang.String, android.content.ComponentName, android.os.Bundle);
13 method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang.String);
Craig Lafayettee7ee54e2015-09-21 13:48:53 -040014 method public deprecated java.lang.String getDeviceInitializerApp();
15 method public deprecated android.content.ComponentName getDeviceInitializerComponent();
16 }
17
18}
19
Jeff Sharkey8a372a02016-03-16 16:25:45 -060020package android.content {
21
22 public abstract class Context {
23 method public deprecated android.content.Context createCredentialEncryptedStorageContext();
24 method public deprecated android.content.Context createDeviceEncryptedStorageContext();
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 method public deprecated boolean isCredentialEncryptedStorage();
28 method public deprecated boolean isDeviceEncryptedStorage();
29 method public deprecated boolean migrateDatabaseFrom(android.content.Context, java.lang.String);
30 method public deprecated boolean migrateSharedPreferencesFrom(android.content.Context, java.lang.String);
31 }
32
33}
34
Svetoslavc6d1c342015-02-26 14:44:43 -080035package android.content.pm {
36
Jeff Sharkey8a372a02016-03-16 16:25:45 -060037 public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
38 field public deprecated java.lang.String credentialEncryptedDataDir;
39 field public deprecated java.lang.String deviceEncryptedDataDir;
40 }
41
42 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
Jeff Sharkey8a372a02016-03-16 16:25:45 -060050 public abstract class PackageManager {
51 field public static final deprecated int MATCH_ENCRYPTION_AWARE = 524288; // 0x80000
52 field public static final deprecated int MATCH_ENCRYPTION_AWARE_AND_UNAWARE = 786432; // 0xc0000
53 field public static final deprecated int MATCH_ENCRYPTION_UNAWARE = 262144; // 0x40000
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
81 public deprecated class PixelXorXfermode extends android.graphics.Xfermode {
82 ctor public PixelXorXfermode(int);
83 }
84
85}
86
Lifu Tange8abe8e2016-04-01 10:32:05 -070087package android.location {
88
89 public final class GnssMeasurement implements android.os.Parcelable {
90 field public static final int MULTIPATH_INDICATOR_NOT_USED = 2; // 0x2
91 }
92
93 public final class GnssMeasurementsEvent implements android.os.Parcelable {
94 field public static final int STATUS_GNSS_LOCATION_DISABLED = 2; // 0x2
95 field public static final int STATUS_NOT_SUPPORTED = 0; // 0x0
96 field public static final int STATUS_READY = 1; // 0x1
97 }
98
99 public final class GnssNavigationMessageEvent implements android.os.Parcelable {
100 ctor public GnssNavigationMessageEvent(android.location.GnssNavigationMessage);
101 method public int describeContents();
102 method public android.location.GnssNavigationMessage getNavigationMessage();
103 method public void writeToParcel(android.os.Parcel, int);
104 field public static final android.os.Parcelable.Creator<android.location.GnssNavigationMessageEvent> CREATOR;
105 field public static final int STATUS_GNSS_LOCATION_DISABLED = 2; // 0x2
106 field public static final int STATUS_NOT_SUPPORTED = 0; // 0x0
107 field public static final int STATUS_READY = 1; // 0x1
108 }
109
110 public static abstract class GnssNavigationMessageEvent.Callback {
111 ctor public GnssNavigationMessageEvent.Callback();
112 method public void onGnssNavigationMessageReceived(android.location.GnssNavigationMessageEvent);
113 method public void onStatusChanged(int);
114 }
115
116 public abstract interface GnssNmeaListener {
117 method public abstract void onNmeaReceived(long, java.lang.String);
118 }
119
120 public final class GnssStatus {
121 method public int getNumSatellites();
122 method public boolean hasAlmanac(int);
123 method public boolean hasEphemeris(int);
124 }
125
126 public abstract class GnssStatusCallback {
127 ctor public GnssStatusCallback();
128 method public void onFirstFix(int);
129 method public void onSatelliteStatusChanged(android.location.GnssStatus);
130 method public void onStarted();
131 method public void onStopped();
132 }
133
134 public class LocationManager {
135 method public boolean addNmeaListener(android.location.GnssNmeaListener);
136 method public boolean addNmeaListener(android.location.GnssNmeaListener, android.os.Handler);
137 method public boolean registerGnssNavigationMessageCallback(android.location.GnssNavigationMessageEvent.Callback);
138 method public boolean registerGnssNavigationMessageCallback(android.location.GnssNavigationMessageEvent.Callback, android.os.Handler);
139 method public boolean registerGnssStatusCallback(android.location.GnssStatusCallback);
140 method public boolean registerGnssStatusCallback(android.location.GnssStatusCallback, android.os.Handler);
141 method public void removeNmeaListener(android.location.GnssNmeaListener);
142 method public void unregisterGnssNavigationMessageCallback(android.location.GnssNavigationMessageEvent.Callback);
143 method public void unregisterGnssStatusCallback(android.location.GnssStatusCallback);
144 }
145
146}
147
Glenn Kasten1aa74e42014-05-19 10:11:19 -0700148package android.media {
149
Jeff Sharkey50d1c042016-02-29 16:34:46 -0700150 public final class AudioFormat implements android.os.Parcelable {
Glenn Kasten1aa74e42014-05-19 10:11:19 -0700151 ctor public AudioFormat();
152 }
153
154}
155
Dongwon Kange12d8102016-03-04 16:45:39 -0800156package android.media.tv {
157
Dongwon Kang0632d8a2016-03-18 07:42:04 -0700158 public final class TvInputManager {
159 method public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, android.media.tv.TvInputManager.HardwareCallback, android.media.tv.TvInputInfo);
160 }
161
Dongwon Kange12d8102016-03-04 16:45:39 -0800162 public class TvView extends android.view.ViewGroup {
163 method public void requestUnblockContent(android.media.tv.TvContentRating);
164 }
165
166}
167
Daichi Hirono399df702016-04-13 11:07:44 +0900168package android.mtp {
169
170 public final class MtpConstants {
171 field public static final int EVENT_CANCEL_TRANSACTION = 16385; // 0x4001
172 field public static final int EVENT_CAPTURE_COMPLETE = 16397; // 0x400d
173 field public static final int EVENT_DEVICE_INFO_CHANGED = 16392; // 0x4008
174 field public static final int EVENT_DEVICE_PROP_CHANGED = 16390; // 0x4006
175 field public static final int EVENT_DEVICE_RESET = 16395; // 0x400b
176 field public static final int EVENT_OBJECT_ADDED = 16386; // 0x4002
177 field public static final int EVENT_OBJECT_INFO_CHANGED = 16391; // 0x4007
178 field public static final int EVENT_OBJECT_PROP_CHANGED = 51201; // 0xc801
179 field public static final int EVENT_OBJECT_PROP_DESC_CHANGED = 51202; // 0xc802
180 field public static final int EVENT_OBJECT_REFERENCES_CHANGED = 51203; // 0xc803
181 field public static final int EVENT_OBJECT_REMOVED = 16387; // 0x4003
182 field public static final int EVENT_REQUEST_OBJECT_TRANSFER = 16393; // 0x4009
183 field public static final int EVENT_STORAGE_INFO_CHANGED = 16396; // 0x400c
184 field public static final int EVENT_STORE_ADDED = 16388; // 0x4004
185 field public static final int EVENT_STORE_FULL = 16394; // 0x400a
186 field public static final int EVENT_STORE_REMOVED = 16389; // 0x4005
187 field public static final int EVENT_UNDEFINED = 16384; // 0x4000
188 field public static final int EVENT_UNREPORTED_STATUS = 16398; // 0x400e
189 }
190
191}
192
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000193package android.net {
194
195 public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
196 method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache);
197 }
198
199}
200
Jeff Brown7d827512014-08-21 21:56:02 -0700201package android.os {
202
Jeff Brown6e539312015-02-24 18:53:21 -0800203 public class BatteryManager {
204 ctor public BatteryManager();
205 }
206
Jeff Brown7d827512014-08-21 21:56:02 -0700207 public final class PowerManager {
208 method public void goToSleep(long);
209 method public deprecated void userActivity(long, boolean);
210 method public void wakeUp(long);
211 }
212
Andreas Gampe70e21e62015-03-18 16:13:33 -0700213 public class RecoverySystem {
214 ctor public RecoverySystem();
215 }
216
Svetoslavc7d62f02014-09-04 15:39:54 -0700217 public class UserManager {
218 method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
219 method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
220 method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle);
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600221 method public deprecated boolean isUserRunningAndLocked();
222 method public deprecated boolean isUserRunningAndLocked(android.os.UserHandle);
223 method public deprecated boolean isUserRunningAndUnlocked();
224 method public deprecated boolean isUserRunningAndUnlocked(android.os.UserHandle);
225 }
226
227}
228
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600229package android.os.storage {
230
231 public class StorageManager {
232 method public android.os.storage.StorageVolume getPrimaryVolume();
233 method public android.os.storage.StorageVolume[] getVolumeList();
234 }
235
236}
237
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600238package android.preference {
239
240 public class PreferenceManager {
241 method public deprecated void setStorageCredentialEncrypted();
242 method public deprecated void setStorageDeviceEncrypted();
Svetoslavc7d62f02014-09-04 15:39:54 -0700243 }
244
Jeff Brown7d827512014-08-21 21:56:02 -0700245}
246
Svetoslavdbbeeb32015-02-18 19:16:25 -0800247package android.provider {
248
Svetoslavbfa216a2015-06-05 14:20:50 -0700249 public class Browser {
250 method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String);
251 method public static final boolean canClearHistory(android.content.ContentResolver);
252 method public static final void clearHistory(android.content.ContentResolver);
253 method public static final void clearSearches(android.content.ContentResolver);
254 method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String);
255 method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long);
256 method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException;
257 method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException;
258 method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener);
259 method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String);
260 method public static final void truncateHistory(android.content.ContentResolver);
261 method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean);
262 field public static final android.net.Uri BOOKMARKS_URI;
263 field public static final java.lang.String[] HISTORY_PROJECTION;
264 field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4
265 field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3
266 field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6
267 field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
268 field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5
269 field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1
270 field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2
271 field public static final java.lang.String[] SEARCHES_PROJECTION;
272 field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2
273 field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1
274 field public static final android.net.Uri SEARCHES_URI;
275 field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION;
276 field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
277 field public static final int TRUNCATE_N_OLDEST = 5; // 0x5
278 }
279
280 public static class Browser.BookmarkColumns implements android.provider.BaseColumns {
281 ctor public Browser.BookmarkColumns();
282 field public static final java.lang.String BOOKMARK = "bookmark";
283 field public static final java.lang.String CREATED = "created";
284 field public static final java.lang.String DATE = "date";
285 field public static final java.lang.String FAVICON = "favicon";
286 field public static final java.lang.String THUMBNAIL = "thumbnail";
287 field public static final java.lang.String TITLE = "title";
288 field public static final java.lang.String TOUCH_ICON = "touch_icon";
289 field public static final java.lang.String URL = "url";
290 field public static final java.lang.String USER_ENTERED = "user_entered";
291 field public static final java.lang.String VISITS = "visits";
292 }
293
294 public static class Browser.SearchColumns implements android.provider.BaseColumns {
295 ctor public Browser.SearchColumns();
296 field public static final java.lang.String DATE = "date";
297 field public static final java.lang.String SEARCH = "search";
298 field public static final deprecated java.lang.String URL = "url";
299 }
300
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000301 public static final deprecated class ContactsContract.Contacts.StreamItems {
302 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
303 }
304
305 public static final deprecated class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns {
306 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
307 }
308
309 public static final deprecated class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns {
310 field public static final deprecated java.lang.String PHOTO = "photo";
311 }
312
313 protected static abstract deprecated interface ContactsContract.StreamItemPhotosColumns {
314 field public static final deprecated java.lang.String PHOTO_FILE_ID = "photo_file_id";
315 field public static final deprecated java.lang.String PHOTO_URI = "photo_uri";
316 field public static final deprecated java.lang.String SORT_INDEX = "sort_index";
317 field public static final deprecated java.lang.String STREAM_ITEM_ID = "stream_item_id";
318 field public static final deprecated java.lang.String SYNC1 = "stream_item_photo_sync1";
319 field public static final deprecated java.lang.String SYNC2 = "stream_item_photo_sync2";
320 field public static final deprecated java.lang.String SYNC3 = "stream_item_photo_sync3";
321 field public static final deprecated java.lang.String SYNC4 = "stream_item_photo_sync4";
322 }
323
324 public static final deprecated class ContactsContract.StreamItems implements android.provider.BaseColumns {
325 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item";
326 field public static final deprecated android.net.Uri CONTENT_LIMIT_URI;
327 field public static final deprecated android.net.Uri CONTENT_PHOTO_URI;
328 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item";
329 field public static final deprecated android.net.Uri CONTENT_URI;
330 field public static final deprecated java.lang.String MAX_ITEMS = "max_items";
331 }
332
333 public static final deprecated class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns {
334 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "photo";
335 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo";
336 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo";
337 }
338
339 protected static abstract deprecated interface ContactsContract.StreamItemsColumns {
340 field public static final deprecated java.lang.String ACCOUNT_NAME = "account_name";
341 field public static final deprecated java.lang.String ACCOUNT_TYPE = "account_type";
342 field public static final deprecated java.lang.String COMMENTS = "comments";
343 field public static final deprecated java.lang.String CONTACT_ID = "contact_id";
344 field public static final deprecated java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup";
345 field public static final deprecated java.lang.String DATA_SET = "data_set";
346 field public static final deprecated java.lang.String RAW_CONTACT_ID = "raw_contact_id";
347 field public static final deprecated java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id";
348 field public static final deprecated java.lang.String RES_ICON = "icon";
349 field public static final deprecated java.lang.String RES_LABEL = "label";
350 field public static final deprecated java.lang.String RES_PACKAGE = "res_package";
351 field public static final deprecated java.lang.String SYNC1 = "stream_item_sync1";
352 field public static final deprecated java.lang.String SYNC2 = "stream_item_sync2";
353 field public static final deprecated java.lang.String SYNC3 = "stream_item_sync3";
354 field public static final deprecated java.lang.String SYNC4 = "stream_item_sync4";
355 field public static final deprecated java.lang.String TEXT = "text";
356 field public static final deprecated java.lang.String TIMESTAMP = "timestamp";
357 }
358
Svetoslavdbbeeb32015-02-18 19:16:25 -0800359 public static final class Settings.System extends android.provider.Settings.NameValueTable {
360 field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible";
361 field public static final java.lang.String VOLUME_ALARM = "volume_alarm";
362 field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco";
363 field public static final java.lang.String VOLUME_MUSIC = "volume_music";
364 field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification";
365 field public static final java.lang.String VOLUME_RING = "volume_ring";
366 field public static final java.lang.String[] VOLUME_SETTINGS;
367 field public static final java.lang.String VOLUME_SYSTEM = "volume_system";
368 field public static final java.lang.String VOLUME_VOICE = "volume_voice";
369 }
370
371}
372
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700373package android.test.mock {
374
Stephan Linznerb51617f2016-01-27 18:09:50 -0800375 public deprecated class MockPackageManager extends android.content.pm.PackageManager {
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700376 method public deprecated java.lang.String getDefaultBrowserPackageName(int);
377 method public deprecated boolean setDefaultBrowserPackageName(java.lang.String, int);
378 }
379
380}
381
Narayan Kamath9d68b3c2014-10-22 12:55:58 +0100382package android.text.format {
383
384 public class DateFormat {
385 field public static final deprecated char AM_PM = 97; // 0x0061 'a'
386 field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A'
387 field public static final deprecated char DATE = 100; // 0x0064 'd'
388 field public static final deprecated char DAY = 69; // 0x0045 'E'
389 field public static final deprecated char HOUR = 104; // 0x0068 'h'
390 field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k'
391 field public static final deprecated char MINUTE = 109; // 0x006d 'm'
392 field public static final deprecated char MONTH = 77; // 0x004d 'M'
393 field public static final deprecated char QUOTE = 39; // 0x0027 '\''
394 field public static final deprecated char SECONDS = 115; // 0x0073 's'
395 field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L'
396 field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z'
397 field public static final deprecated char YEAR = 121; // 0x0079 'y'
398 }
399
400}
401
Neil Fullerd6a21352015-02-12 10:13:45 +0000402package android.util {
403
404 public deprecated class FloatMath {
405 method public static float ceil(float);
406 method public static float cos(float);
407 method public static float exp(float);
408 method public static float floor(float);
409 method public static float hypot(float, float);
410 method public static float pow(float, float);
411 method public static float sin(float);
412 method public static float sqrt(float);
413 }
414
415}
416
Jorim Jaggie411fdf2014-07-28 23:00:44 +0200417package android.view {
418
Adam Powell5eb3ffc2014-09-11 15:38:55 -0700419 public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
420 method protected void initializeFadingEdge(android.content.res.TypedArray);
421 method protected void initializeScrollbars(android.content.res.TypedArray);
422 }
423
Jorim Jaggie411fdf2014-07-28 23:00:44 +0200424 public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
425 field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
426 }
427
428}
429
Alan Viverette5171dee2014-09-11 16:33:01 -0700430package android.widget {
431
432 public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
433 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
434 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
435 }
436
437}
438