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 | |
Craig Lafayette | e7ee54e | 2015-09-21 13:48:53 -0400 | [diff] [blame] | 9 | package android.app.admin { |
| 10 | |
| 11 | public class DevicePolicyManager { |
phweiss | 27ee334 | 2016-02-08 16:40:45 +0100 | [diff] [blame] | 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); |
Craig Lafayette | e7ee54e | 2015-09-21 13:48:53 -0400 | [diff] [blame] | 14 | method public deprecated java.lang.String getDeviceInitializerApp(); |
| 15 | method public deprecated android.content.ComponentName getDeviceInitializerComponent(); |
| 16 | } |
| 17 | |
| 18 | } |
| 19 | |
Antonio Cansado | 6965c18 | 2016-03-30 11:37:18 -0700 | [diff] [blame] | 20 | package android.app.usage { |
| 21 | |
| 22 | public class DataUsagePolicy { |
| 23 | field public final int networkType; |
| 24 | field public final java.lang.String[] subscriberIds; |
| 25 | field public final long thresholdInBytes; |
| 26 | field public final int[] uids; |
| 27 | } |
| 28 | |
| 29 | public static class DataUsagePolicy.Builder { |
| 30 | ctor public DataUsagePolicy.Builder(); |
| 31 | method public android.app.usage.DataUsagePolicy.Builder addSubscriberId(java.lang.String); |
| 32 | method public android.app.usage.DataUsagePolicy.Builder addUid(int); |
| 33 | method public android.app.usage.DataUsagePolicy build(); |
| 34 | method public android.app.usage.DataUsagePolicy.Builder setNetworkType(int); |
| 35 | method public android.app.usage.DataUsagePolicy.Builder setThreshold(long); |
| 36 | } |
| 37 | |
| 38 | public class NetworkStatsManager { |
| 39 | method public void registerDataUsageCallback(android.app.usage.DataUsagePolicy, android.app.usage.NetworkStatsManager.DataUsageCallback, android.os.Handler); |
| 40 | method public void registerDataUsageCallback(android.app.usage.DataUsagePolicy, android.app.usage.NetworkStatsManager.UsageCallback, android.os.Handler); |
| 41 | method public void unregisterDataUsageCallback(android.app.usage.NetworkStatsManager.DataUsageCallback); |
| 42 | } |
| 43 | |
| 44 | public static abstract class NetworkStatsManager.DataUsageCallback { |
| 45 | ctor public NetworkStatsManager.DataUsageCallback(); |
| 46 | method public deprecated void onLimitReached(); |
| 47 | } |
| 48 | |
| 49 | } |
| 50 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 51 | package android.content { |
| 52 | |
| 53 | public abstract class Context { |
| 54 | method public deprecated android.content.Context createCredentialEncryptedStorageContext(); |
| 55 | method public deprecated android.content.Context createDeviceEncryptedStorageContext(); |
Jeff Sharkey | cf3f0a1 | 2016-03-17 19:57:58 -0600 | [diff] [blame] | 56 | method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int); |
| 57 | method public abstract java.io.File getSharedPreferencesPath(java.lang.String); |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 58 | method public deprecated boolean isCredentialEncryptedStorage(); |
| 59 | method public deprecated boolean isDeviceEncryptedStorage(); |
| 60 | method public deprecated boolean migrateDatabaseFrom(android.content.Context, java.lang.String); |
| 61 | method public deprecated boolean migrateSharedPreferencesFrom(android.content.Context, java.lang.String); |
| 62 | } |
| 63 | |
| 64 | } |
| 65 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 66 | package android.content.pm { |
| 67 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 68 | public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { |
| 69 | field public deprecated java.lang.String credentialEncryptedDataDir; |
| 70 | field public deprecated java.lang.String deviceEncryptedDataDir; |
| 71 | } |
| 72 | |
| 73 | public class ComponentInfo extends android.content.pm.PackageItemInfo { |
| 74 | field public deprecated boolean encryptionAware; |
| 75 | } |
| 76 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 77 | public class PackageInfo implements android.os.Parcelable { |
| 78 | field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1 |
| 79 | } |
| 80 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 81 | public abstract class PackageManager { |
| 82 | field public static final deprecated int MATCH_ENCRYPTION_AWARE = 524288; // 0x80000 |
| 83 | field public static final deprecated int MATCH_ENCRYPTION_AWARE_AND_UNAWARE = 786432; // 0xc0000 |
| 84 | field public static final deprecated int MATCH_ENCRYPTION_UNAWARE = 262144; // 0x40000 |
| 85 | } |
| 86 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 87 | } |
| 88 | |
Jeff Brown | 8faab36 | 2015-04-09 18:52:52 -0700 | [diff] [blame] | 89 | package android.database { |
| 90 | |
| 91 | public abstract class AbstractCursor implements android.database.CrossProcessCursor { |
| 92 | field protected java.lang.Long mCurrentRowID; |
| 93 | field protected int mRowIdColumnIndex; |
| 94 | field protected java.util.HashMap<java.lang.Long, java.util.Map<java.lang.String, java.lang.Object>> mUpdatedRows; |
| 95 | } |
| 96 | |
| 97 | } |
| 98 | |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 99 | package android.graphics { |
| 100 | |
| 101 | public deprecated class AvoidXfermode extends android.graphics.Xfermode { |
| 102 | ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode); |
| 103 | } |
| 104 | |
| 105 | public static final class AvoidXfermode.Mode extends java.lang.Enum { |
| 106 | method public static android.graphics.AvoidXfermode.Mode valueOf(java.lang.String); |
| 107 | method public static final android.graphics.AvoidXfermode.Mode[] values(); |
| 108 | enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID; |
| 109 | enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET; |
| 110 | } |
| 111 | |
| 112 | public deprecated class PixelXorXfermode extends android.graphics.Xfermode { |
| 113 | ctor public PixelXorXfermode(int); |
| 114 | } |
| 115 | |
| 116 | } |
| 117 | |
Lifu Tang | e8abe8e | 2016-04-01 10:32:05 -0700 | [diff] [blame] | 118 | package android.location { |
| 119 | |
| 120 | public final class GnssMeasurement implements android.os.Parcelable { |
| 121 | field public static final int MULTIPATH_INDICATOR_NOT_USED = 2; // 0x2 |
| 122 | } |
| 123 | |
| 124 | public final class GnssMeasurementsEvent implements android.os.Parcelable { |
| 125 | field public static final int STATUS_GNSS_LOCATION_DISABLED = 2; // 0x2 |
| 126 | field public static final int STATUS_NOT_SUPPORTED = 0; // 0x0 |
| 127 | field public static final int STATUS_READY = 1; // 0x1 |
| 128 | } |
| 129 | |
| 130 | public final class GnssNavigationMessageEvent implements android.os.Parcelable { |
| 131 | ctor public GnssNavigationMessageEvent(android.location.GnssNavigationMessage); |
| 132 | method public int describeContents(); |
| 133 | method public android.location.GnssNavigationMessage getNavigationMessage(); |
| 134 | method public void writeToParcel(android.os.Parcel, int); |
| 135 | field public static final android.os.Parcelable.Creator<android.location.GnssNavigationMessageEvent> CREATOR; |
| 136 | field public static final int STATUS_GNSS_LOCATION_DISABLED = 2; // 0x2 |
| 137 | field public static final int STATUS_NOT_SUPPORTED = 0; // 0x0 |
| 138 | field public static final int STATUS_READY = 1; // 0x1 |
| 139 | } |
| 140 | |
| 141 | public static abstract class GnssNavigationMessageEvent.Callback { |
| 142 | ctor public GnssNavigationMessageEvent.Callback(); |
| 143 | method public void onGnssNavigationMessageReceived(android.location.GnssNavigationMessageEvent); |
| 144 | method public void onStatusChanged(int); |
| 145 | } |
| 146 | |
| 147 | public abstract interface GnssNmeaListener { |
| 148 | method public abstract void onNmeaReceived(long, java.lang.String); |
| 149 | } |
| 150 | |
| 151 | public final class GnssStatus { |
| 152 | method public int getNumSatellites(); |
| 153 | method public boolean hasAlmanac(int); |
| 154 | method public boolean hasEphemeris(int); |
| 155 | } |
| 156 | |
| 157 | public abstract class GnssStatusCallback { |
| 158 | ctor public GnssStatusCallback(); |
| 159 | method public void onFirstFix(int); |
| 160 | method public void onSatelliteStatusChanged(android.location.GnssStatus); |
| 161 | method public void onStarted(); |
| 162 | method public void onStopped(); |
| 163 | } |
| 164 | |
| 165 | public class LocationManager { |
| 166 | method public boolean addNmeaListener(android.location.GnssNmeaListener); |
| 167 | method public boolean addNmeaListener(android.location.GnssNmeaListener, android.os.Handler); |
| 168 | method public boolean registerGnssNavigationMessageCallback(android.location.GnssNavigationMessageEvent.Callback); |
| 169 | method public boolean registerGnssNavigationMessageCallback(android.location.GnssNavigationMessageEvent.Callback, android.os.Handler); |
| 170 | method public boolean registerGnssStatusCallback(android.location.GnssStatusCallback); |
| 171 | method public boolean registerGnssStatusCallback(android.location.GnssStatusCallback, android.os.Handler); |
| 172 | method public void removeNmeaListener(android.location.GnssNmeaListener); |
| 173 | method public void unregisterGnssNavigationMessageCallback(android.location.GnssNavigationMessageEvent.Callback); |
| 174 | method public void unregisterGnssStatusCallback(android.location.GnssStatusCallback); |
| 175 | } |
| 176 | |
| 177 | } |
| 178 | |
Glenn Kasten | 1aa74e4 | 2014-05-19 10:11:19 -0700 | [diff] [blame] | 179 | package android.media { |
| 180 | |
Jeff Sharkey | 50d1c04 | 2016-02-29 16:34:46 -0700 | [diff] [blame] | 181 | public final class AudioFormat implements android.os.Parcelable { |
Glenn Kasten | 1aa74e4 | 2014-05-19 10:11:19 -0700 | [diff] [blame] | 182 | ctor public AudioFormat(); |
| 183 | } |
| 184 | |
| 185 | } |
| 186 | |
Dongwon Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 187 | package android.media.tv { |
| 188 | |
Dongwon Kang | 0632d8a | 2016-03-18 07:42:04 -0700 | [diff] [blame] | 189 | public final class TvInputManager { |
| 190 | method public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, android.media.tv.TvInputManager.HardwareCallback, android.media.tv.TvInputInfo); |
| 191 | } |
| 192 | |
Dongwon Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 193 | public class TvView extends android.view.ViewGroup { |
| 194 | method public void requestUnblockContent(android.media.tv.TvContentRating); |
| 195 | } |
| 196 | |
| 197 | } |
| 198 | |
Daichi Hirono | 399df70 | 2016-04-13 11:07:44 +0900 | [diff] [blame] | 199 | package android.mtp { |
| 200 | |
| 201 | public final class MtpConstants { |
| 202 | field public static final int EVENT_CANCEL_TRANSACTION = 16385; // 0x4001 |
| 203 | field public static final int EVENT_CAPTURE_COMPLETE = 16397; // 0x400d |
| 204 | field public static final int EVENT_DEVICE_INFO_CHANGED = 16392; // 0x4008 |
| 205 | field public static final int EVENT_DEVICE_PROP_CHANGED = 16390; // 0x4006 |
| 206 | field public static final int EVENT_DEVICE_RESET = 16395; // 0x400b |
| 207 | field public static final int EVENT_OBJECT_ADDED = 16386; // 0x4002 |
| 208 | field public static final int EVENT_OBJECT_INFO_CHANGED = 16391; // 0x4007 |
| 209 | field public static final int EVENT_OBJECT_PROP_CHANGED = 51201; // 0xc801 |
| 210 | field public static final int EVENT_OBJECT_PROP_DESC_CHANGED = 51202; // 0xc802 |
| 211 | field public static final int EVENT_OBJECT_REFERENCES_CHANGED = 51203; // 0xc803 |
| 212 | field public static final int EVENT_OBJECT_REMOVED = 16387; // 0x4003 |
| 213 | field public static final int EVENT_REQUEST_OBJECT_TRANSFER = 16393; // 0x4009 |
| 214 | field public static final int EVENT_STORAGE_INFO_CHANGED = 16396; // 0x400c |
| 215 | field public static final int EVENT_STORE_ADDED = 16388; // 0x4004 |
| 216 | field public static final int EVENT_STORE_FULL = 16394; // 0x400a |
| 217 | field public static final int EVENT_STORE_REMOVED = 16389; // 0x4005 |
| 218 | field public static final int EVENT_UNDEFINED = 16384; // 0x4000 |
| 219 | field public static final int EVENT_UNREPORTED_STATUS = 16398; // 0x400e |
| 220 | } |
| 221 | |
| 222 | } |
| 223 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 224 | package android.net { |
| 225 | |
| 226 | public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory { |
| 227 | method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache); |
| 228 | } |
| 229 | |
| 230 | } |
| 231 | |
Jeff Brown | 7d82751 | 2014-08-21 21:56:02 -0700 | [diff] [blame] | 232 | package android.os { |
| 233 | |
Jeff Brown | 6e53931 | 2015-02-24 18:53:21 -0800 | [diff] [blame] | 234 | public class BatteryManager { |
| 235 | ctor public BatteryManager(); |
| 236 | } |
| 237 | |
Jeff Brown | 7d82751 | 2014-08-21 21:56:02 -0700 | [diff] [blame] | 238 | public final class PowerManager { |
| 239 | method public void goToSleep(long); |
| 240 | method public deprecated void userActivity(long, boolean); |
| 241 | method public void wakeUp(long); |
| 242 | } |
| 243 | |
Andreas Gampe | 70e21e6 | 2015-03-18 16:13:33 -0700 | [diff] [blame] | 244 | public class RecoverySystem { |
| 245 | ctor public RecoverySystem(); |
| 246 | } |
| 247 | |
Svetoslav | c7d62f0 | 2014-09-04 15:39:54 -0700 | [diff] [blame] | 248 | public class UserManager { |
| 249 | method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int); |
| 250 | method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle); |
| 251 | method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle); |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 252 | method public deprecated boolean isUserRunningAndLocked(); |
| 253 | method public deprecated boolean isUserRunningAndLocked(android.os.UserHandle); |
| 254 | method public deprecated boolean isUserRunningAndUnlocked(); |
| 255 | method public deprecated boolean isUserRunningAndUnlocked(android.os.UserHandle); |
| 256 | } |
| 257 | |
| 258 | } |
| 259 | |
Jeff Sharkey | c02bfae | 2016-03-27 15:06:53 -0600 | [diff] [blame] | 260 | package android.os.storage { |
| 261 | |
| 262 | public class StorageManager { |
| 263 | method public android.os.storage.StorageVolume getPrimaryVolume(); |
| 264 | method public android.os.storage.StorageVolume[] getVolumeList(); |
| 265 | } |
| 266 | |
| 267 | } |
| 268 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 269 | package android.preference { |
| 270 | |
| 271 | public class PreferenceManager { |
| 272 | method public deprecated void setStorageCredentialEncrypted(); |
| 273 | method public deprecated void setStorageDeviceEncrypted(); |
Svetoslav | c7d62f0 | 2014-09-04 15:39:54 -0700 | [diff] [blame] | 274 | } |
| 275 | |
Jeff Brown | 7d82751 | 2014-08-21 21:56:02 -0700 | [diff] [blame] | 276 | } |
| 277 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 278 | package android.provider { |
| 279 | |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 280 | public class Browser { |
| 281 | method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String); |
| 282 | method public static final boolean canClearHistory(android.content.ContentResolver); |
| 283 | method public static final void clearHistory(android.content.ContentResolver); |
| 284 | method public static final void clearSearches(android.content.ContentResolver); |
| 285 | method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String); |
| 286 | method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long); |
| 287 | method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException; |
| 288 | method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException; |
| 289 | method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener); |
| 290 | method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String); |
| 291 | method public static final void truncateHistory(android.content.ContentResolver); |
| 292 | method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean); |
| 293 | field public static final android.net.Uri BOOKMARKS_URI; |
| 294 | field public static final java.lang.String[] HISTORY_PROJECTION; |
| 295 | field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4 |
| 296 | field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3 |
| 297 | field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6 |
| 298 | field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 299 | field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5 |
| 300 | field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1 |
| 301 | field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2 |
| 302 | field public static final java.lang.String[] SEARCHES_PROJECTION; |
| 303 | field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2 |
| 304 | field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1 |
| 305 | field public static final android.net.Uri SEARCHES_URI; |
| 306 | field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION; |
| 307 | field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 308 | field public static final int TRUNCATE_N_OLDEST = 5; // 0x5 |
| 309 | } |
| 310 | |
| 311 | public static class Browser.BookmarkColumns implements android.provider.BaseColumns { |
| 312 | ctor public Browser.BookmarkColumns(); |
| 313 | field public static final java.lang.String BOOKMARK = "bookmark"; |
| 314 | field public static final java.lang.String CREATED = "created"; |
| 315 | field public static final java.lang.String DATE = "date"; |
| 316 | field public static final java.lang.String FAVICON = "favicon"; |
| 317 | field public static final java.lang.String THUMBNAIL = "thumbnail"; |
| 318 | field public static final java.lang.String TITLE = "title"; |
| 319 | field public static final java.lang.String TOUCH_ICON = "touch_icon"; |
| 320 | field public static final java.lang.String URL = "url"; |
| 321 | field public static final java.lang.String USER_ENTERED = "user_entered"; |
| 322 | field public static final java.lang.String VISITS = "visits"; |
| 323 | } |
| 324 | |
| 325 | public static class Browser.SearchColumns implements android.provider.BaseColumns { |
| 326 | ctor public Browser.SearchColumns(); |
| 327 | field public static final java.lang.String DATE = "date"; |
| 328 | field public static final java.lang.String SEARCH = "search"; |
| 329 | field public static final deprecated java.lang.String URL = "url"; |
| 330 | } |
| 331 | |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 332 | public static final deprecated class ContactsContract.Contacts.StreamItems { |
| 333 | field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items"; |
| 334 | } |
| 335 | |
| 336 | public static final deprecated class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns { |
| 337 | field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items"; |
| 338 | } |
| 339 | |
| 340 | public static final deprecated class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns { |
| 341 | field public static final deprecated java.lang.String PHOTO = "photo"; |
| 342 | } |
| 343 | |
| 344 | protected static abstract deprecated interface ContactsContract.StreamItemPhotosColumns { |
| 345 | field public static final deprecated java.lang.String PHOTO_FILE_ID = "photo_file_id"; |
| 346 | field public static final deprecated java.lang.String PHOTO_URI = "photo_uri"; |
| 347 | field public static final deprecated java.lang.String SORT_INDEX = "sort_index"; |
| 348 | field public static final deprecated java.lang.String STREAM_ITEM_ID = "stream_item_id"; |
| 349 | field public static final deprecated java.lang.String SYNC1 = "stream_item_photo_sync1"; |
| 350 | field public static final deprecated java.lang.String SYNC2 = "stream_item_photo_sync2"; |
| 351 | field public static final deprecated java.lang.String SYNC3 = "stream_item_photo_sync3"; |
| 352 | field public static final deprecated java.lang.String SYNC4 = "stream_item_photo_sync4"; |
| 353 | } |
| 354 | |
| 355 | public static final deprecated class ContactsContract.StreamItems implements android.provider.BaseColumns { |
| 356 | field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item"; |
| 357 | field public static final deprecated android.net.Uri CONTENT_LIMIT_URI; |
| 358 | field public static final deprecated android.net.Uri CONTENT_PHOTO_URI; |
| 359 | field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item"; |
| 360 | field public static final deprecated android.net.Uri CONTENT_URI; |
| 361 | field public static final deprecated java.lang.String MAX_ITEMS = "max_items"; |
| 362 | } |
| 363 | |
| 364 | public static final deprecated class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns { |
| 365 | field public static final deprecated java.lang.String CONTENT_DIRECTORY = "photo"; |
| 366 | field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo"; |
| 367 | field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo"; |
| 368 | } |
| 369 | |
| 370 | protected static abstract deprecated interface ContactsContract.StreamItemsColumns { |
| 371 | field public static final deprecated java.lang.String ACCOUNT_NAME = "account_name"; |
| 372 | field public static final deprecated java.lang.String ACCOUNT_TYPE = "account_type"; |
| 373 | field public static final deprecated java.lang.String COMMENTS = "comments"; |
| 374 | field public static final deprecated java.lang.String CONTACT_ID = "contact_id"; |
| 375 | field public static final deprecated java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup"; |
| 376 | field public static final deprecated java.lang.String DATA_SET = "data_set"; |
| 377 | field public static final deprecated java.lang.String RAW_CONTACT_ID = "raw_contact_id"; |
| 378 | field public static final deprecated java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id"; |
| 379 | field public static final deprecated java.lang.String RES_ICON = "icon"; |
| 380 | field public static final deprecated java.lang.String RES_LABEL = "label"; |
| 381 | field public static final deprecated java.lang.String RES_PACKAGE = "res_package"; |
| 382 | field public static final deprecated java.lang.String SYNC1 = "stream_item_sync1"; |
| 383 | field public static final deprecated java.lang.String SYNC2 = "stream_item_sync2"; |
| 384 | field public static final deprecated java.lang.String SYNC3 = "stream_item_sync3"; |
| 385 | field public static final deprecated java.lang.String SYNC4 = "stream_item_sync4"; |
| 386 | field public static final deprecated java.lang.String TEXT = "text"; |
| 387 | field public static final deprecated java.lang.String TIMESTAMP = "timestamp"; |
| 388 | } |
| 389 | |
Tingting Wang | e0cbda4 | 2016-05-10 15:39:37 -0700 | [diff] [blame] | 390 | public static final class Settings.Global extends android.provider.Settings.NameValueTable { |
| 391 | field public static final deprecated java.lang.String CONTACT_METADATA_SYNC = "contact_metadata_sync"; |
| 392 | } |
| 393 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 394 | public static final class Settings.System extends android.provider.Settings.NameValueTable { |
| 395 | field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible"; |
| 396 | field public static final java.lang.String VOLUME_ALARM = "volume_alarm"; |
| 397 | field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco"; |
| 398 | field public static final java.lang.String VOLUME_MUSIC = "volume_music"; |
| 399 | field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification"; |
| 400 | field public static final java.lang.String VOLUME_RING = "volume_ring"; |
| 401 | field public static final java.lang.String[] VOLUME_SETTINGS; |
| 402 | field public static final java.lang.String VOLUME_SYSTEM = "volume_system"; |
| 403 | field public static final java.lang.String VOLUME_VOICE = "volume_voice"; |
| 404 | } |
| 405 | |
Amit Mahajan | a895559 | 2016-05-02 14:45:46 -0700 | [diff] [blame] | 406 | public static final class Telephony.Sms.Intents { |
| 407 | field public static final java.lang.String SMS_EMERGENCY_CB_RECEIVED_ACTION = "android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED"; |
| 408 | } |
| 409 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 410 | } |
| 411 | |
Jeff Sharkey | e06b4d1 | 2016-01-06 14:51:50 -0700 | [diff] [blame] | 412 | package android.test.mock { |
| 413 | |
Stephan Linzner | b51617f | 2016-01-27 18:09:50 -0800 | [diff] [blame] | 414 | public deprecated class MockPackageManager extends android.content.pm.PackageManager { |
Jeff Sharkey | e06b4d1 | 2016-01-06 14:51:50 -0700 | [diff] [blame] | 415 | method public deprecated java.lang.String getDefaultBrowserPackageName(int); |
| 416 | method public deprecated boolean setDefaultBrowserPackageName(java.lang.String, int); |
| 417 | } |
| 418 | |
| 419 | } |
| 420 | |
Narayan Kamath | 9d68b3c | 2014-10-22 12:55:58 +0100 | [diff] [blame] | 421 | package android.text.format { |
| 422 | |
| 423 | public class DateFormat { |
| 424 | field public static final deprecated char AM_PM = 97; // 0x0061 'a' |
| 425 | field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A' |
| 426 | field public static final deprecated char DATE = 100; // 0x0064 'd' |
| 427 | field public static final deprecated char DAY = 69; // 0x0045 'E' |
| 428 | field public static final deprecated char HOUR = 104; // 0x0068 'h' |
| 429 | field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k' |
| 430 | field public static final deprecated char MINUTE = 109; // 0x006d 'm' |
| 431 | field public static final deprecated char MONTH = 77; // 0x004d 'M' |
| 432 | field public static final deprecated char QUOTE = 39; // 0x0027 '\'' |
| 433 | field public static final deprecated char SECONDS = 115; // 0x0073 's' |
| 434 | field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L' |
| 435 | field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z' |
| 436 | field public static final deprecated char YEAR = 121; // 0x0079 'y' |
| 437 | } |
| 438 | |
| 439 | } |
| 440 | |
Neil Fuller | d6a2135 | 2015-02-12 10:13:45 +0000 | [diff] [blame] | 441 | package android.util { |
| 442 | |
| 443 | public deprecated class FloatMath { |
| 444 | method public static float ceil(float); |
| 445 | method public static float cos(float); |
| 446 | method public static float exp(float); |
| 447 | method public static float floor(float); |
| 448 | method public static float hypot(float, float); |
| 449 | method public static float pow(float, float); |
| 450 | method public static float sin(float); |
| 451 | method public static float sqrt(float); |
| 452 | } |
| 453 | |
| 454 | } |
| 455 | |
Jorim Jaggi | e411fdf | 2014-07-28 23:00:44 +0200 | [diff] [blame] | 456 | package android.view { |
| 457 | |
Adam Powell | 5eb3ffc | 2014-09-11 15:38:55 -0700 | [diff] [blame] | 458 | public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback { |
| 459 | method protected void initializeFadingEdge(android.content.res.TypedArray); |
| 460 | method protected void initializeScrollbars(android.content.res.TypedArray); |
| 461 | } |
| 462 | |
Jorim Jaggi | e411fdf | 2014-07-28 23:00:44 +0200 | [diff] [blame] | 463 | public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable { |
| 464 | field public static final int TYPE_KEYGUARD = 2004; // 0x7d4 |
| 465 | } |
| 466 | |
| 467 | } |
| 468 | |
Michael Wright | 1ad3955 | 2016-04-27 13:07:18 -0400 | [diff] [blame] | 469 | package android.webkit { |
| 470 | |
| 471 | public class WebViewClient { |
| 472 | method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent); |
| 473 | } |
| 474 | |
| 475 | } |
| 476 | |
Alan Viverette | 5171dee | 2014-09-11 16:33:01 -0700 | [diff] [blame] | 477 | package android.widget { |
| 478 | |
| 479 | public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener { |
| 480 | method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int); |
| 481 | method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray); |
| 482 | } |
| 483 | |
| 484 | } |
| 485 | |