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