blob: 36c8ce5cdf50c6929965b3c784ae16829626854c [file] [log] [blame]
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001package 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
9package 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);
Michael Wrightb2b2c0e2015-11-06 15:21:13 +000014 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
Michael Wrightb2b2c0e2015-11-06 15:21:13 +000035package 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
Michael Wrightb2b2c0e2015-11-06 15:21:13 +000046 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
Michael Wrightb2b2c0e2015-11-06 15:21:13 +000056}
57
58package 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
Michael Wrightb2b2c0e2015-11-06 15:21:13 +000087package android.media {
88
Jeff Sharkey50d1c042016-02-29 16:34:46 -070089 public final class AudioFormat implements android.os.Parcelable {
Michael Wrightb2b2c0e2015-11-06 15:21:13 +000090 ctor public AudioFormat();
91 }
92
93}
94
Dongwon Kange12d8102016-03-04 16:45:39 -080095package android.media.tv {
96
97 public class TvView extends android.view.ViewGroup {
98 method public void requestUnblockContent(android.media.tv.TvContentRating);
99 }
100
101}
102
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000103package android.net {
104
105 public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
106 method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache);
107 }
108
109}
110
111package android.os {
112
113 public class BatteryManager {
114 ctor public BatteryManager();
115 }
116
117 public final class PowerManager {
118 method public void goToSleep(long);
119 method public deprecated void userActivity(long, boolean);
120 method public void wakeUp(long);
121 }
122
123 public class RecoverySystem {
124 ctor public RecoverySystem();
125 }
126
127 public class UserManager {
128 method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
129 method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
130 method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle);
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600131 method public deprecated boolean isUserRunningAndLocked();
132 method public deprecated boolean isUserRunningAndLocked(android.os.UserHandle);
133 method public deprecated boolean isUserRunningAndUnlocked();
134 method public deprecated boolean isUserRunningAndUnlocked(android.os.UserHandle);
135 }
136
137}
138
139package android.preference {
140
141 public class PreferenceManager {
142 method public deprecated void setStorageCredentialEncrypted();
143 method public deprecated void setStorageDeviceEncrypted();
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000144 }
145
146}
147
148package android.provider {
149
150 public class Browser {
151 method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String);
152 method public static final boolean canClearHistory(android.content.ContentResolver);
153 method public static final void clearHistory(android.content.ContentResolver);
154 method public static final void clearSearches(android.content.ContentResolver);
155 method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String);
156 method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long);
157 method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException;
158 method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException;
159 method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener);
160 method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String);
161 method public static final void truncateHistory(android.content.ContentResolver);
162 method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean);
163 field public static final android.net.Uri BOOKMARKS_URI;
164 field public static final java.lang.String[] HISTORY_PROJECTION;
165 field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4
166 field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3
167 field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6
168 field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
169 field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5
170 field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1
171 field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2
172 field public static final java.lang.String[] SEARCHES_PROJECTION;
173 field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2
174 field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1
175 field public static final android.net.Uri SEARCHES_URI;
176 field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION;
177 field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
178 field public static final int TRUNCATE_N_OLDEST = 5; // 0x5
179 }
180
181 public static class Browser.BookmarkColumns implements android.provider.BaseColumns {
182 ctor public Browser.BookmarkColumns();
183 field public static final java.lang.String BOOKMARK = "bookmark";
184 field public static final java.lang.String CREATED = "created";
185 field public static final java.lang.String DATE = "date";
186 field public static final java.lang.String FAVICON = "favicon";
187 field public static final java.lang.String THUMBNAIL = "thumbnail";
188 field public static final java.lang.String TITLE = "title";
189 field public static final java.lang.String TOUCH_ICON = "touch_icon";
190 field public static final java.lang.String URL = "url";
191 field public static final java.lang.String USER_ENTERED = "user_entered";
192 field public static final java.lang.String VISITS = "visits";
193 }
194
195 public static class Browser.SearchColumns implements android.provider.BaseColumns {
196 ctor public Browser.SearchColumns();
197 field public static final java.lang.String DATE = "date";
198 field public static final java.lang.String SEARCH = "search";
199 field public static final deprecated java.lang.String URL = "url";
200 }
201
202 public static final deprecated class ContactsContract.Contacts.StreamItems {
203 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
204 }
205
206 public static final deprecated class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns {
207 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
208 }
209
210 public static final deprecated class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns {
211 field public static final deprecated java.lang.String PHOTO = "photo";
212 }
213
214 protected static abstract deprecated interface ContactsContract.StreamItemPhotosColumns {
215 field public static final deprecated java.lang.String PHOTO_FILE_ID = "photo_file_id";
216 field public static final deprecated java.lang.String PHOTO_URI = "photo_uri";
217 field public static final deprecated java.lang.String SORT_INDEX = "sort_index";
218 field public static final deprecated java.lang.String STREAM_ITEM_ID = "stream_item_id";
219 field public static final deprecated java.lang.String SYNC1 = "stream_item_photo_sync1";
220 field public static final deprecated java.lang.String SYNC2 = "stream_item_photo_sync2";
221 field public static final deprecated java.lang.String SYNC3 = "stream_item_photo_sync3";
222 field public static final deprecated java.lang.String SYNC4 = "stream_item_photo_sync4";
223 }
224
225 public static final deprecated class ContactsContract.StreamItems implements android.provider.BaseColumns {
226 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item";
227 field public static final deprecated android.net.Uri CONTENT_LIMIT_URI;
228 field public static final deprecated android.net.Uri CONTENT_PHOTO_URI;
229 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item";
230 field public static final deprecated android.net.Uri CONTENT_URI;
231 field public static final deprecated java.lang.String MAX_ITEMS = "max_items";
232 }
233
234 public static final deprecated class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns {
235 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "photo";
236 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo";
237 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo";
238 }
239
240 protected static abstract deprecated interface ContactsContract.StreamItemsColumns {
241 field public static final deprecated java.lang.String ACCOUNT_NAME = "account_name";
242 field public static final deprecated java.lang.String ACCOUNT_TYPE = "account_type";
243 field public static final deprecated java.lang.String COMMENTS = "comments";
244 field public static final deprecated java.lang.String CONTACT_ID = "contact_id";
245 field public static final deprecated java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup";
246 field public static final deprecated java.lang.String DATA_SET = "data_set";
247 field public static final deprecated java.lang.String RAW_CONTACT_ID = "raw_contact_id";
248 field public static final deprecated java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id";
249 field public static final deprecated java.lang.String RES_ICON = "icon";
250 field public static final deprecated java.lang.String RES_LABEL = "label";
251 field public static final deprecated java.lang.String RES_PACKAGE = "res_package";
252 field public static final deprecated java.lang.String SYNC1 = "stream_item_sync1";
253 field public static final deprecated java.lang.String SYNC2 = "stream_item_sync2";
254 field public static final deprecated java.lang.String SYNC3 = "stream_item_sync3";
255 field public static final deprecated java.lang.String SYNC4 = "stream_item_sync4";
256 field public static final deprecated java.lang.String TEXT = "text";
257 field public static final deprecated java.lang.String TIMESTAMP = "timestamp";
258 }
259
260 public static final class Settings.System extends android.provider.Settings.NameValueTable {
261 field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible";
262 field public static final java.lang.String VOLUME_ALARM = "volume_alarm";
263 field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco";
264 field public static final java.lang.String VOLUME_MUSIC = "volume_music";
265 field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification";
266 field public static final java.lang.String VOLUME_RING = "volume_ring";
267 field public static final java.lang.String[] VOLUME_SETTINGS;
268 field public static final java.lang.String VOLUME_SYSTEM = "volume_system";
269 field public static final java.lang.String VOLUME_VOICE = "volume_voice";
270 }
271
272}
273
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700274package android.test.mock {
275
Stephan Linznerb51617f2016-01-27 18:09:50 -0800276 public deprecated class MockPackageManager extends android.content.pm.PackageManager {
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700277 method public deprecated java.lang.String getDefaultBrowserPackageName(int);
278 method public deprecated boolean setDefaultBrowserPackageName(java.lang.String, int);
279 }
280
281}
282
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000283package android.text.format {
284
285 public class DateFormat {
286 field public static final deprecated char AM_PM = 97; // 0x0061 'a'
287 field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A'
288 field public static final deprecated char DATE = 100; // 0x0064 'd'
289 field public static final deprecated char DAY = 69; // 0x0045 'E'
290 field public static final deprecated char HOUR = 104; // 0x0068 'h'
291 field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k'
292 field public static final deprecated char MINUTE = 109; // 0x006d 'm'
293 field public static final deprecated char MONTH = 77; // 0x004d 'M'
294 field public static final deprecated char QUOTE = 39; // 0x0027 '\''
295 field public static final deprecated char SECONDS = 115; // 0x0073 's'
296 field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L'
297 field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z'
298 field public static final deprecated char YEAR = 121; // 0x0079 'y'
299 }
300
301}
302
303package android.util {
304
305 public deprecated class FloatMath {
306 method public static float ceil(float);
307 method public static float cos(float);
308 method public static float exp(float);
309 method public static float floor(float);
310 method public static float hypot(float, float);
311 method public static float pow(float, float);
312 method public static float sin(float);
313 method public static float sqrt(float);
314 }
315
316}
317
318package android.view {
319
320 public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
321 method protected void initializeFadingEdge(android.content.res.TypedArray);
322 method protected void initializeScrollbars(android.content.res.TypedArray);
323 }
324
325 public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
326 field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
327 }
328
329}
330
331package android.widget {
332
333 public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
334 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
335 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
336 }
337
338}
339