blob: 86085c8ded67d1c437dea09264508dd36b1a1160 [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
Jeff Sharkeyc02bfae2016-03-27 15:06:53 -0600139package android.os.storage {
140
141 public class StorageManager {
142 method public android.os.storage.StorageVolume getPrimaryVolume();
143 method public android.os.storage.StorageVolume[] getVolumeList();
144 }
145
146}
147
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600148package android.preference {
149
150 public class PreferenceManager {
151 method public deprecated void setStorageCredentialEncrypted();
152 method public deprecated void setStorageDeviceEncrypted();
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000153 }
154
155}
156
157package android.provider {
158
159 public class Browser {
160 method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String);
161 method public static final boolean canClearHistory(android.content.ContentResolver);
162 method public static final void clearHistory(android.content.ContentResolver);
163 method public static final void clearSearches(android.content.ContentResolver);
164 method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String);
165 method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long);
166 method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException;
167 method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException;
168 method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener);
169 method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String);
170 method public static final void truncateHistory(android.content.ContentResolver);
171 method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean);
172 field public static final android.net.Uri BOOKMARKS_URI;
173 field public static final java.lang.String[] HISTORY_PROJECTION;
174 field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4
175 field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3
176 field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6
177 field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
178 field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5
179 field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1
180 field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2
181 field public static final java.lang.String[] SEARCHES_PROJECTION;
182 field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2
183 field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1
184 field public static final android.net.Uri SEARCHES_URI;
185 field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION;
186 field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
187 field public static final int TRUNCATE_N_OLDEST = 5; // 0x5
188 }
189
190 public static class Browser.BookmarkColumns implements android.provider.BaseColumns {
191 ctor public Browser.BookmarkColumns();
192 field public static final java.lang.String BOOKMARK = "bookmark";
193 field public static final java.lang.String CREATED = "created";
194 field public static final java.lang.String DATE = "date";
195 field public static final java.lang.String FAVICON = "favicon";
196 field public static final java.lang.String THUMBNAIL = "thumbnail";
197 field public static final java.lang.String TITLE = "title";
198 field public static final java.lang.String TOUCH_ICON = "touch_icon";
199 field public static final java.lang.String URL = "url";
200 field public static final java.lang.String USER_ENTERED = "user_entered";
201 field public static final java.lang.String VISITS = "visits";
202 }
203
204 public static class Browser.SearchColumns implements android.provider.BaseColumns {
205 ctor public Browser.SearchColumns();
206 field public static final java.lang.String DATE = "date";
207 field public static final java.lang.String SEARCH = "search";
208 field public static final deprecated java.lang.String URL = "url";
209 }
210
211 public static final deprecated class ContactsContract.Contacts.StreamItems {
212 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
213 }
214
215 public static final deprecated class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns {
216 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
217 }
218
219 public static final deprecated class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns {
220 field public static final deprecated java.lang.String PHOTO = "photo";
221 }
222
223 protected static abstract deprecated interface ContactsContract.StreamItemPhotosColumns {
224 field public static final deprecated java.lang.String PHOTO_FILE_ID = "photo_file_id";
225 field public static final deprecated java.lang.String PHOTO_URI = "photo_uri";
226 field public static final deprecated java.lang.String SORT_INDEX = "sort_index";
227 field public static final deprecated java.lang.String STREAM_ITEM_ID = "stream_item_id";
228 field public static final deprecated java.lang.String SYNC1 = "stream_item_photo_sync1";
229 field public static final deprecated java.lang.String SYNC2 = "stream_item_photo_sync2";
230 field public static final deprecated java.lang.String SYNC3 = "stream_item_photo_sync3";
231 field public static final deprecated java.lang.String SYNC4 = "stream_item_photo_sync4";
232 }
233
234 public static final deprecated class ContactsContract.StreamItems implements android.provider.BaseColumns {
235 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item";
236 field public static final deprecated android.net.Uri CONTENT_LIMIT_URI;
237 field public static final deprecated android.net.Uri CONTENT_PHOTO_URI;
238 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item";
239 field public static final deprecated android.net.Uri CONTENT_URI;
240 field public static final deprecated java.lang.String MAX_ITEMS = "max_items";
241 }
242
243 public static final deprecated class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns {
244 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "photo";
245 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo";
246 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo";
247 }
248
249 protected static abstract deprecated interface ContactsContract.StreamItemsColumns {
250 field public static final deprecated java.lang.String ACCOUNT_NAME = "account_name";
251 field public static final deprecated java.lang.String ACCOUNT_TYPE = "account_type";
252 field public static final deprecated java.lang.String COMMENTS = "comments";
253 field public static final deprecated java.lang.String CONTACT_ID = "contact_id";
254 field public static final deprecated java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup";
255 field public static final deprecated java.lang.String DATA_SET = "data_set";
256 field public static final deprecated java.lang.String RAW_CONTACT_ID = "raw_contact_id";
257 field public static final deprecated java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id";
258 field public static final deprecated java.lang.String RES_ICON = "icon";
259 field public static final deprecated java.lang.String RES_LABEL = "label";
260 field public static final deprecated java.lang.String RES_PACKAGE = "res_package";
261 field public static final deprecated java.lang.String SYNC1 = "stream_item_sync1";
262 field public static final deprecated java.lang.String SYNC2 = "stream_item_sync2";
263 field public static final deprecated java.lang.String SYNC3 = "stream_item_sync3";
264 field public static final deprecated java.lang.String SYNC4 = "stream_item_sync4";
265 field public static final deprecated java.lang.String TEXT = "text";
266 field public static final deprecated java.lang.String TIMESTAMP = "timestamp";
267 }
268
269 public static final class Settings.System extends android.provider.Settings.NameValueTable {
270 field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible";
271 field public static final java.lang.String VOLUME_ALARM = "volume_alarm";
272 field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco";
273 field public static final java.lang.String VOLUME_MUSIC = "volume_music";
274 field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification";
275 field public static final java.lang.String VOLUME_RING = "volume_ring";
276 field public static final java.lang.String[] VOLUME_SETTINGS;
277 field public static final java.lang.String VOLUME_SYSTEM = "volume_system";
278 field public static final java.lang.String VOLUME_VOICE = "volume_voice";
279 }
280
281}
282
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700283package android.test.mock {
284
Stephan Linznerb51617f2016-01-27 18:09:50 -0800285 public deprecated class MockPackageManager extends android.content.pm.PackageManager {
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700286 method public deprecated java.lang.String getDefaultBrowserPackageName(int);
287 method public deprecated boolean setDefaultBrowserPackageName(java.lang.String, int);
288 }
289
290}
291
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000292package android.text.format {
293
294 public class DateFormat {
295 field public static final deprecated char AM_PM = 97; // 0x0061 'a'
296 field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A'
297 field public static final deprecated char DATE = 100; // 0x0064 'd'
298 field public static final deprecated char DAY = 69; // 0x0045 'E'
299 field public static final deprecated char HOUR = 104; // 0x0068 'h'
300 field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k'
301 field public static final deprecated char MINUTE = 109; // 0x006d 'm'
302 field public static final deprecated char MONTH = 77; // 0x004d 'M'
303 field public static final deprecated char QUOTE = 39; // 0x0027 '\''
304 field public static final deprecated char SECONDS = 115; // 0x0073 's'
305 field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L'
306 field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z'
307 field public static final deprecated char YEAR = 121; // 0x0079 'y'
308 }
309
310}
311
312package android.util {
313
314 public deprecated class FloatMath {
315 method public static float ceil(float);
316 method public static float cos(float);
317 method public static float exp(float);
318 method public static float floor(float);
319 method public static float hypot(float, float);
320 method public static float pow(float, float);
321 method public static float sin(float);
322 method public static float sqrt(float);
323 }
324
325}
326
327package android.view {
328
329 public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
330 method protected void initializeFadingEdge(android.content.res.TypedArray);
331 method protected void initializeScrollbars(android.content.res.TypedArray);
332 }
333
334 public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
335 field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
336 }
337
338}
339
340package android.widget {
341
342 public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
343 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
344 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
345 }
346
347}
348