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