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