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