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