blob: caeecf5d544d43727197a6a948504fcc6eb13905 [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
Svetoslavc6d1c342015-02-26 14:44:43 -080018package android.content.pm {
19
20 public class PackageInfo implements android.os.Parcelable {
21 field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1
22 }
23
24}
25
Jeff Brown8faab362015-04-09 18:52:52 -070026package android.database {
27
28 public abstract class AbstractCursor implements android.database.CrossProcessCursor {
29 field protected java.lang.Long mCurrentRowID;
30 field protected int mRowIdColumnIndex;
31 field protected java.util.HashMap<java.lang.Long, java.util.Map<java.lang.String, java.lang.Object>> mUpdatedRows;
32 }
33
34}
35
Derek Sollenberger51e78052016-03-11 09:10:27 -050036package android.graphics {
37
38 public deprecated class AvoidXfermode extends android.graphics.Xfermode {
39 ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode);
40 }
41
42 public static final class AvoidXfermode.Mode extends java.lang.Enum {
43 method public static android.graphics.AvoidXfermode.Mode valueOf(java.lang.String);
44 method public static final android.graphics.AvoidXfermode.Mode[] values();
45 enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID;
46 enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET;
47 }
48
49 public deprecated class PixelXorXfermode extends android.graphics.Xfermode {
50 ctor public PixelXorXfermode(int);
51 }
52
53}
54
Ying Wang02937eb2015-01-09 11:51:26 -080055package android.media {
56
Jeff Sharkey50d1c042016-02-29 16:34:46 -070057 public final class AudioFormat implements android.os.Parcelable {
Ying Wang02937eb2015-01-09 11:51:26 -080058 ctor public AudioFormat();
59 }
60
61}
62
Dongwon Kange12d8102016-03-04 16:45:39 -080063package android.media.tv {
64
65 public class TvView extends android.view.ViewGroup {
66 method public void requestUnblockContent(android.media.tv.TvContentRating);
67 }
68
69}
70
Narayan Kamath406e1ed2014-12-10 18:55:12 +000071package android.net {
72
73 public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
74 method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache);
75 }
76
77}
78
Ying Wang02937eb2015-01-09 11:51:26 -080079package android.os {
80
Jeff Brown6e539312015-02-24 18:53:21 -080081 public class BatteryManager {
82 ctor public BatteryManager();
83 }
84
Ying Wang02937eb2015-01-09 11:51:26 -080085 public final class PowerManager {
86 method public void goToSleep(long);
87 method public deprecated void userActivity(long, boolean);
88 method public void wakeUp(long);
89 }
90
Andreas Gampe70e21e62015-03-18 16:13:33 -070091 public class RecoverySystem {
92 ctor public RecoverySystem();
93 }
94
Ying Wang02937eb2015-01-09 11:51:26 -080095 public class UserManager {
96 method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
97 method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
98 method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle);
99 }
100
101}
102
Svetoslavdbbeeb32015-02-18 19:16:25 -0800103package android.provider {
104
Svetoslavbfa216a2015-06-05 14:20:50 -0700105 public class Browser {
106 method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String);
107 method public static final boolean canClearHistory(android.content.ContentResolver);
108 method public static final void clearHistory(android.content.ContentResolver);
109 method public static final void clearSearches(android.content.ContentResolver);
110 method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String);
111 method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long);
112 method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException;
113 method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException;
114 method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener);
115 method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String);
116 method public static final void truncateHistory(android.content.ContentResolver);
117 method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean);
118 field public static final android.net.Uri BOOKMARKS_URI;
119 field public static final java.lang.String[] HISTORY_PROJECTION;
120 field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4
121 field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3
122 field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6
123 field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
124 field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5
125 field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1
126 field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2
127 field public static final java.lang.String[] SEARCHES_PROJECTION;
128 field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2
129 field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1
130 field public static final android.net.Uri SEARCHES_URI;
131 field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION;
132 field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
133 field public static final int TRUNCATE_N_OLDEST = 5; // 0x5
134 }
135
136 public static class Browser.BookmarkColumns implements android.provider.BaseColumns {
137 ctor public Browser.BookmarkColumns();
138 field public static final java.lang.String BOOKMARK = "bookmark";
139 field public static final java.lang.String CREATED = "created";
140 field public static final java.lang.String DATE = "date";
141 field public static final java.lang.String FAVICON = "favicon";
142 field public static final java.lang.String THUMBNAIL = "thumbnail";
143 field public static final java.lang.String TITLE = "title";
144 field public static final java.lang.String TOUCH_ICON = "touch_icon";
145 field public static final java.lang.String URL = "url";
146 field public static final java.lang.String USER_ENTERED = "user_entered";
147 field public static final java.lang.String VISITS = "visits";
148 }
149
150 public static class Browser.SearchColumns implements android.provider.BaseColumns {
151 ctor public Browser.SearchColumns();
152 field public static final java.lang.String DATE = "date";
153 field public static final java.lang.String SEARCH = "search";
154 field public static final deprecated java.lang.String URL = "url";
155 }
156
Svetoslav Ganov6d2c0e52015-06-23 16:33:36 +0000157 public static final deprecated class ContactsContract.Contacts.StreamItems {
158 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
159 }
160
161 public static final deprecated class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns {
162 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items";
163 }
164
165 public static final deprecated class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns {
166 field public static final deprecated java.lang.String PHOTO = "photo";
167 }
168
169 protected static abstract deprecated interface ContactsContract.StreamItemPhotosColumns {
170 field public static final deprecated java.lang.String PHOTO_FILE_ID = "photo_file_id";
171 field public static final deprecated java.lang.String PHOTO_URI = "photo_uri";
172 field public static final deprecated java.lang.String SORT_INDEX = "sort_index";
173 field public static final deprecated java.lang.String STREAM_ITEM_ID = "stream_item_id";
174 field public static final deprecated java.lang.String SYNC1 = "stream_item_photo_sync1";
175 field public static final deprecated java.lang.String SYNC2 = "stream_item_photo_sync2";
176 field public static final deprecated java.lang.String SYNC3 = "stream_item_photo_sync3";
177 field public static final deprecated java.lang.String SYNC4 = "stream_item_photo_sync4";
178 }
179
180 public static final deprecated class ContactsContract.StreamItems implements android.provider.BaseColumns {
181 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item";
182 field public static final deprecated android.net.Uri CONTENT_LIMIT_URI;
183 field public static final deprecated android.net.Uri CONTENT_PHOTO_URI;
184 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item";
185 field public static final deprecated android.net.Uri CONTENT_URI;
186 field public static final deprecated java.lang.String MAX_ITEMS = "max_items";
187 }
188
189 public static final deprecated class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns {
190 field public static final deprecated java.lang.String CONTENT_DIRECTORY = "photo";
191 field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo";
192 field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo";
193 }
194
195 protected static abstract deprecated interface ContactsContract.StreamItemsColumns {
196 field public static final deprecated java.lang.String ACCOUNT_NAME = "account_name";
197 field public static final deprecated java.lang.String ACCOUNT_TYPE = "account_type";
198 field public static final deprecated java.lang.String COMMENTS = "comments";
199 field public static final deprecated java.lang.String CONTACT_ID = "contact_id";
200 field public static final deprecated java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup";
201 field public static final deprecated java.lang.String DATA_SET = "data_set";
202 field public static final deprecated java.lang.String RAW_CONTACT_ID = "raw_contact_id";
203 field public static final deprecated java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id";
204 field public static final deprecated java.lang.String RES_ICON = "icon";
205 field public static final deprecated java.lang.String RES_LABEL = "label";
206 field public static final deprecated java.lang.String RES_PACKAGE = "res_package";
207 field public static final deprecated java.lang.String SYNC1 = "stream_item_sync1";
208 field public static final deprecated java.lang.String SYNC2 = "stream_item_sync2";
209 field public static final deprecated java.lang.String SYNC3 = "stream_item_sync3";
210 field public static final deprecated java.lang.String SYNC4 = "stream_item_sync4";
211 field public static final deprecated java.lang.String TEXT = "text";
212 field public static final deprecated java.lang.String TIMESTAMP = "timestamp";
213 }
214
Svetoslavdbbeeb32015-02-18 19:16:25 -0800215 public static final class Settings.System extends android.provider.Settings.NameValueTable {
216 field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible";
217 field public static final java.lang.String VOLUME_ALARM = "volume_alarm";
218 field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco";
219 field public static final java.lang.String VOLUME_MUSIC = "volume_music";
220 field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification";
221 field public static final java.lang.String VOLUME_RING = "volume_ring";
222 field public static final java.lang.String[] VOLUME_SETTINGS;
223 field public static final java.lang.String VOLUME_SYSTEM = "volume_system";
224 field public static final java.lang.String VOLUME_VOICE = "volume_voice";
225 }
226
227}
228
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700229package android.test.mock {
230
Stephan Linznerb51617f2016-01-27 18:09:50 -0800231 public deprecated class MockPackageManager extends android.content.pm.PackageManager {
Jeff Sharkeye06b4d12016-01-06 14:51:50 -0700232 method public deprecated java.lang.String getDefaultBrowserPackageName(int);
233 method public deprecated boolean setDefaultBrowserPackageName(java.lang.String, int);
234 }
235
236}
237
Ying Wang02937eb2015-01-09 11:51:26 -0800238package android.text.format {
239
240 public class DateFormat {
241 field public static final deprecated char AM_PM = 97; // 0x0061 'a'
242 field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A'
243 field public static final deprecated char DATE = 100; // 0x0064 'd'
244 field public static final deprecated char DAY = 69; // 0x0045 'E'
245 field public static final deprecated char HOUR = 104; // 0x0068 'h'
246 field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k'
247 field public static final deprecated char MINUTE = 109; // 0x006d 'm'
248 field public static final deprecated char MONTH = 77; // 0x004d 'M'
249 field public static final deprecated char QUOTE = 39; // 0x0027 '\''
250 field public static final deprecated char SECONDS = 115; // 0x0073 's'
251 field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L'
252 field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z'
253 field public static final deprecated char YEAR = 121; // 0x0079 'y'
254 }
255
256}
257
Neil Fullerd6a21352015-02-12 10:13:45 +0000258package android.util {
259
260 public deprecated class FloatMath {
261 method public static float ceil(float);
262 method public static float cos(float);
263 method public static float exp(float);
264 method public static float floor(float);
265 method public static float hypot(float, float);
266 method public static float pow(float, float);
267 method public static float sin(float);
268 method public static float sqrt(float);
269 }
270
271}
272
Ying Wang02937eb2015-01-09 11:51:26 -0800273package android.view {
274
275 public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
276 method protected void initializeFadingEdge(android.content.res.TypedArray);
277 method protected void initializeScrollbars(android.content.res.TypedArray);
278 }
279
280 public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
281 field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
282 }
283
284}
285
286package android.widget {
287
288 public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
289 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
290 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
291 }
292
293}
294