Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 1 | package 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 | |
phweiss | 27ee334 | 2016-02-08 16:40:45 +0100 | [diff] [blame] | 9 | package 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 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 18 | package android.content { |
| 19 | |
| 20 | public abstract class Context { |
| 21 | method public deprecated android.content.Context createCredentialEncryptedStorageContext(); |
| 22 | method public deprecated android.content.Context createDeviceEncryptedStorageContext(); |
Jeff Sharkey | cf3f0a1 | 2016-03-17 19:57:58 -0600 | [diff] [blame] | 23 | method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int); |
| 24 | method public abstract java.io.File getSharedPreferencesPath(java.lang.String); |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 25 | method public deprecated boolean isCredentialEncryptedStorage(); |
| 26 | method public deprecated boolean isDeviceEncryptedStorage(); |
| 27 | method public deprecated boolean migrateDatabaseFrom(android.content.Context, java.lang.String); |
| 28 | method public deprecated boolean migrateSharedPreferencesFrom(android.content.Context, java.lang.String); |
| 29 | } |
| 30 | |
| 31 | } |
| 32 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 33 | package android.content.pm { |
| 34 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 35 | public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { |
| 36 | field public deprecated java.lang.String credentialEncryptedDataDir; |
| 37 | field public deprecated java.lang.String deviceEncryptedDataDir; |
| 38 | } |
| 39 | |
| 40 | public class ComponentInfo extends android.content.pm.PackageItemInfo { |
| 41 | field public deprecated boolean encryptionAware; |
| 42 | } |
| 43 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 44 | public class PackageInfo implements android.os.Parcelable { |
| 45 | field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1 |
| 46 | } |
| 47 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 48 | public abstract class PackageManager { |
| 49 | field public static final deprecated int MATCH_ENCRYPTION_AWARE = 524288; // 0x80000 |
| 50 | field public static final deprecated int MATCH_ENCRYPTION_AWARE_AND_UNAWARE = 786432; // 0xc0000 |
| 51 | field public static final deprecated int MATCH_ENCRYPTION_UNAWARE = 262144; // 0x40000 |
| 52 | } |
| 53 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 54 | } |
| 55 | |
Jeff Brown | 8faab36 | 2015-04-09 18:52:52 -0700 | [diff] [blame] | 56 | package android.database { |
| 57 | |
| 58 | public abstract class AbstractCursor implements android.database.CrossProcessCursor { |
| 59 | field protected java.lang.Long mCurrentRowID; |
| 60 | field protected int mRowIdColumnIndex; |
| 61 | field protected java.util.HashMap<java.lang.Long, java.util.Map<java.lang.String, java.lang.Object>> mUpdatedRows; |
| 62 | } |
| 63 | |
| 64 | } |
| 65 | |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 66 | package android.graphics { |
| 67 | |
| 68 | public deprecated class AvoidXfermode extends android.graphics.Xfermode { |
| 69 | ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode); |
| 70 | } |
| 71 | |
| 72 | public static final class AvoidXfermode.Mode extends java.lang.Enum { |
| 73 | method public static android.graphics.AvoidXfermode.Mode valueOf(java.lang.String); |
| 74 | method public static final android.graphics.AvoidXfermode.Mode[] values(); |
| 75 | enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID; |
| 76 | enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET; |
| 77 | } |
| 78 | |
| 79 | public deprecated class PixelXorXfermode extends android.graphics.Xfermode { |
| 80 | ctor public PixelXorXfermode(int); |
| 81 | } |
| 82 | |
| 83 | } |
| 84 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 85 | package android.media { |
| 86 | |
Jeff Sharkey | 50d1c04 | 2016-02-29 16:34:46 -0700 | [diff] [blame] | 87 | public final class AudioFormat implements android.os.Parcelable { |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 88 | ctor public AudioFormat(); |
| 89 | } |
| 90 | |
| 91 | } |
| 92 | |
Dongwon Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 93 | package android.media.tv { |
| 94 | |
| 95 | public class TvView extends android.view.ViewGroup { |
| 96 | method public void requestUnblockContent(android.media.tv.TvContentRating); |
| 97 | } |
| 98 | |
| 99 | } |
| 100 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 101 | package android.net { |
| 102 | |
| 103 | public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory { |
| 104 | method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache); |
| 105 | } |
| 106 | |
| 107 | } |
| 108 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 109 | package android.os { |
| 110 | |
Jeff Brown | 6e53931 | 2015-02-24 18:53:21 -0800 | [diff] [blame] | 111 | public class BatteryManager { |
| 112 | ctor public BatteryManager(); |
| 113 | } |
| 114 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 115 | public final class PowerManager { |
| 116 | method public void goToSleep(long); |
| 117 | method public deprecated void userActivity(long, boolean); |
| 118 | method public void wakeUp(long); |
| 119 | } |
| 120 | |
Andreas Gampe | 70e21e6 | 2015-03-18 16:13:33 -0700 | [diff] [blame] | 121 | public class RecoverySystem { |
| 122 | ctor public RecoverySystem(); |
| 123 | } |
| 124 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 125 | public class UserManager { |
| 126 | method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int); |
| 127 | method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle); |
| 128 | method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle); |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 129 | method public deprecated boolean isUserRunningAndLocked(); |
| 130 | method public deprecated boolean isUserRunningAndLocked(android.os.UserHandle); |
| 131 | method public deprecated boolean isUserRunningAndUnlocked(); |
| 132 | method public deprecated boolean isUserRunningAndUnlocked(android.os.UserHandle); |
| 133 | } |
| 134 | |
| 135 | } |
| 136 | |
| 137 | package android.preference { |
| 138 | |
| 139 | public class PreferenceManager { |
| 140 | method public deprecated void setStorageCredentialEncrypted(); |
| 141 | method public deprecated void setStorageDeviceEncrypted(); |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 142 | } |
| 143 | |
| 144 | } |
| 145 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 146 | package android.provider { |
| 147 | |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 148 | public class Browser { |
| 149 | method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String); |
| 150 | method public static final boolean canClearHistory(android.content.ContentResolver); |
| 151 | method public static final void clearHistory(android.content.ContentResolver); |
| 152 | method public static final void clearSearches(android.content.ContentResolver); |
| 153 | method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String); |
| 154 | method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long); |
| 155 | method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException; |
| 156 | method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException; |
| 157 | method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener); |
| 158 | method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String); |
| 159 | method public static final void truncateHistory(android.content.ContentResolver); |
| 160 | method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean); |
| 161 | field public static final android.net.Uri BOOKMARKS_URI; |
| 162 | field public static final java.lang.String[] HISTORY_PROJECTION; |
| 163 | field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4 |
| 164 | field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3 |
| 165 | field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6 |
| 166 | field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 167 | field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5 |
| 168 | field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1 |
| 169 | field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2 |
| 170 | field public static final java.lang.String[] SEARCHES_PROJECTION; |
| 171 | field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2 |
| 172 | field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1 |
| 173 | field public static final android.net.Uri SEARCHES_URI; |
| 174 | field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION; |
| 175 | field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 176 | field public static final int TRUNCATE_N_OLDEST = 5; // 0x5 |
| 177 | } |
| 178 | |
| 179 | public static class Browser.BookmarkColumns implements android.provider.BaseColumns { |
| 180 | ctor public Browser.BookmarkColumns(); |
| 181 | field public static final java.lang.String BOOKMARK = "bookmark"; |
| 182 | field public static final java.lang.String CREATED = "created"; |
| 183 | field public static final java.lang.String DATE = "date"; |
| 184 | field public static final java.lang.String FAVICON = "favicon"; |
| 185 | field public static final java.lang.String THUMBNAIL = "thumbnail"; |
| 186 | field public static final java.lang.String TITLE = "title"; |
| 187 | field public static final java.lang.String TOUCH_ICON = "touch_icon"; |
| 188 | field public static final java.lang.String URL = "url"; |
| 189 | field public static final java.lang.String USER_ENTERED = "user_entered"; |
| 190 | field public static final java.lang.String VISITS = "visits"; |
| 191 | } |
| 192 | |
| 193 | public static class Browser.SearchColumns implements android.provider.BaseColumns { |
| 194 | ctor public Browser.SearchColumns(); |
| 195 | field public static final java.lang.String DATE = "date"; |
| 196 | field public static final java.lang.String SEARCH = "search"; |
| 197 | field public static final deprecated java.lang.String URL = "url"; |
| 198 | } |
| 199 | |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 200 | public static final deprecated class ContactsContract.Contacts.StreamItems { |
| 201 | field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items"; |
| 202 | } |
| 203 | |
| 204 | public static final deprecated class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns { |
| 205 | field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items"; |
| 206 | } |
| 207 | |
| 208 | public static final deprecated class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns { |
| 209 | field public static final deprecated java.lang.String PHOTO = "photo"; |
| 210 | } |
| 211 | |
| 212 | protected static abstract deprecated interface ContactsContract.StreamItemPhotosColumns { |
| 213 | field public static final deprecated java.lang.String PHOTO_FILE_ID = "photo_file_id"; |
| 214 | field public static final deprecated java.lang.String PHOTO_URI = "photo_uri"; |
| 215 | field public static final deprecated java.lang.String SORT_INDEX = "sort_index"; |
| 216 | field public static final deprecated java.lang.String STREAM_ITEM_ID = "stream_item_id"; |
| 217 | field public static final deprecated java.lang.String SYNC1 = "stream_item_photo_sync1"; |
| 218 | field public static final deprecated java.lang.String SYNC2 = "stream_item_photo_sync2"; |
| 219 | field public static final deprecated java.lang.String SYNC3 = "stream_item_photo_sync3"; |
| 220 | field public static final deprecated java.lang.String SYNC4 = "stream_item_photo_sync4"; |
| 221 | } |
| 222 | |
| 223 | public static final deprecated class ContactsContract.StreamItems implements android.provider.BaseColumns { |
| 224 | field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item"; |
| 225 | field public static final deprecated android.net.Uri CONTENT_LIMIT_URI; |
| 226 | field public static final deprecated android.net.Uri CONTENT_PHOTO_URI; |
| 227 | field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item"; |
| 228 | field public static final deprecated android.net.Uri CONTENT_URI; |
| 229 | field public static final deprecated java.lang.String MAX_ITEMS = "max_items"; |
| 230 | } |
| 231 | |
| 232 | public static final deprecated class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns { |
| 233 | field public static final deprecated java.lang.String CONTENT_DIRECTORY = "photo"; |
| 234 | field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo"; |
| 235 | field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo"; |
| 236 | } |
| 237 | |
| 238 | protected static abstract deprecated interface ContactsContract.StreamItemsColumns { |
| 239 | field public static final deprecated java.lang.String ACCOUNT_NAME = "account_name"; |
| 240 | field public static final deprecated java.lang.String ACCOUNT_TYPE = "account_type"; |
| 241 | field public static final deprecated java.lang.String COMMENTS = "comments"; |
| 242 | field public static final deprecated java.lang.String CONTACT_ID = "contact_id"; |
| 243 | field public static final deprecated java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup"; |
| 244 | field public static final deprecated java.lang.String DATA_SET = "data_set"; |
| 245 | field public static final deprecated java.lang.String RAW_CONTACT_ID = "raw_contact_id"; |
| 246 | field public static final deprecated java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id"; |
| 247 | field public static final deprecated java.lang.String RES_ICON = "icon"; |
| 248 | field public static final deprecated java.lang.String RES_LABEL = "label"; |
| 249 | field public static final deprecated java.lang.String RES_PACKAGE = "res_package"; |
| 250 | field public static final deprecated java.lang.String SYNC1 = "stream_item_sync1"; |
| 251 | field public static final deprecated java.lang.String SYNC2 = "stream_item_sync2"; |
| 252 | field public static final deprecated java.lang.String SYNC3 = "stream_item_sync3"; |
| 253 | field public static final deprecated java.lang.String SYNC4 = "stream_item_sync4"; |
| 254 | field public static final deprecated java.lang.String TEXT = "text"; |
| 255 | field public static final deprecated java.lang.String TIMESTAMP = "timestamp"; |
| 256 | } |
| 257 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 258 | public static final class Settings.System extends android.provider.Settings.NameValueTable { |
| 259 | field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible"; |
| 260 | field public static final java.lang.String VOLUME_ALARM = "volume_alarm"; |
| 261 | field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco"; |
| 262 | field public static final java.lang.String VOLUME_MUSIC = "volume_music"; |
| 263 | field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification"; |
| 264 | field public static final java.lang.String VOLUME_RING = "volume_ring"; |
| 265 | field public static final java.lang.String[] VOLUME_SETTINGS; |
| 266 | field public static final java.lang.String VOLUME_SYSTEM = "volume_system"; |
| 267 | field public static final java.lang.String VOLUME_VOICE = "volume_voice"; |
| 268 | } |
| 269 | |
| 270 | } |
| 271 | |
Jeff Sharkey | e06b4d1 | 2016-01-06 14:51:50 -0700 | [diff] [blame] | 272 | package android.test.mock { |
| 273 | |
Stephan Linzner | b51617f | 2016-01-27 18:09:50 -0800 | [diff] [blame] | 274 | public deprecated class MockPackageManager extends android.content.pm.PackageManager { |
Jeff Sharkey | e06b4d1 | 2016-01-06 14:51:50 -0700 | [diff] [blame] | 275 | method public deprecated java.lang.String getDefaultBrowserPackageName(int); |
| 276 | method public deprecated boolean setDefaultBrowserPackageName(java.lang.String, int); |
| 277 | } |
| 278 | |
| 279 | } |
| 280 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 281 | package android.text.format { |
| 282 | |
| 283 | public class DateFormat { |
| 284 | field public static final deprecated char AM_PM = 97; // 0x0061 'a' |
| 285 | field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A' |
| 286 | field public static final deprecated char DATE = 100; // 0x0064 'd' |
| 287 | field public static final deprecated char DAY = 69; // 0x0045 'E' |
| 288 | field public static final deprecated char HOUR = 104; // 0x0068 'h' |
| 289 | field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k' |
| 290 | field public static final deprecated char MINUTE = 109; // 0x006d 'm' |
| 291 | field public static final deprecated char MONTH = 77; // 0x004d 'M' |
| 292 | field public static final deprecated char QUOTE = 39; // 0x0027 '\'' |
| 293 | field public static final deprecated char SECONDS = 115; // 0x0073 's' |
| 294 | field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L' |
| 295 | field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z' |
| 296 | field public static final deprecated char YEAR = 121; // 0x0079 'y' |
| 297 | } |
| 298 | |
| 299 | } |
| 300 | |
Neil Fuller | d6a2135 | 2015-02-12 10:13:45 +0000 | [diff] [blame] | 301 | package android.util { |
| 302 | |
| 303 | public deprecated class FloatMath { |
| 304 | method public static float ceil(float); |
| 305 | method public static float cos(float); |
| 306 | method public static float exp(float); |
| 307 | method public static float floor(float); |
| 308 | method public static float hypot(float, float); |
| 309 | method public static float pow(float, float); |
| 310 | method public static float sin(float); |
| 311 | method public static float sqrt(float); |
| 312 | } |
| 313 | |
| 314 | } |
| 315 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 316 | package android.view { |
| 317 | |
| 318 | public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback { |
| 319 | method protected void initializeFadingEdge(android.content.res.TypedArray); |
| 320 | method protected void initializeScrollbars(android.content.res.TypedArray); |
| 321 | } |
| 322 | |
| 323 | public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable { |
| 324 | field public static final int TYPE_KEYGUARD = 2004; // 0x7d4 |
| 325 | } |
| 326 | |
| 327 | } |
| 328 | |
| 329 | package android.widget { |
| 330 | |
| 331 | public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener { |
| 332 | method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int); |
| 333 | method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray); |
| 334 | } |
| 335 | |
| 336 | } |
| 337 | |