Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 1 | package android.content.pm { |
| 2 | |
| 3 | public class PackageInfo implements android.os.Parcelable { |
| 4 | field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1 |
| 5 | } |
| 6 | |
| 7 | } |
| 8 | |
Jeff Brown | 8faab36 | 2015-04-09 18:52:52 -0700 | [diff] [blame] | 9 | package android.database { |
| 10 | |
| 11 | public abstract class AbstractCursor implements android.database.CrossProcessCursor { |
| 12 | field protected java.lang.Long mCurrentRowID; |
| 13 | field protected int mRowIdColumnIndex; |
| 14 | field protected java.util.HashMap<java.lang.Long, java.util.Map<java.lang.String, java.lang.Object>> mUpdatedRows; |
| 15 | } |
| 16 | |
| 17 | } |
| 18 | |
Glenn Kasten | 1aa74e4 | 2014-05-19 10:11:19 -0700 | [diff] [blame] | 19 | package android.media { |
| 20 | |
| 21 | public class AudioFormat { |
| 22 | ctor public AudioFormat(); |
| 23 | } |
| 24 | |
| 25 | } |
| 26 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 27 | package android.net { |
| 28 | |
Lorenzo Colitti | e285b43 | 2015-04-23 15:32:42 +0900 | [diff] [blame] | 29 | public class ConnectivityManager { |
| 30 | method public deprecated boolean requestRouteToHost(int, int); |
| 31 | method public deprecated boolean requestRouteToHostAddress(int, java.net.InetAddress); |
| 32 | method public deprecated int startUsingNetworkFeature(int, java.lang.String); |
| 33 | method public deprecated int stopUsingNetworkFeature(int, java.lang.String); |
| 34 | } |
| 35 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 36 | public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory { |
| 37 | method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache); |
| 38 | } |
| 39 | |
| 40 | } |
| 41 | |
Jeff Brown | 7d82751 | 2014-08-21 21:56:02 -0700 | [diff] [blame] | 42 | package android.os { |
| 43 | |
Jeff Brown | 6e53931 | 2015-02-24 18:53:21 -0800 | [diff] [blame] | 44 | public class BatteryManager { |
| 45 | ctor public BatteryManager(); |
| 46 | } |
| 47 | |
Jeff Brown | 7d82751 | 2014-08-21 21:56:02 -0700 | [diff] [blame] | 48 | public final class PowerManager { |
| 49 | method public void goToSleep(long); |
| 50 | method public deprecated void userActivity(long, boolean); |
| 51 | method public void wakeUp(long); |
| 52 | } |
| 53 | |
Andreas Gampe | 70e21e6 | 2015-03-18 16:13:33 -0700 | [diff] [blame] | 54 | public class RecoverySystem { |
| 55 | ctor public RecoverySystem(); |
| 56 | } |
| 57 | |
Svetoslav | c7d62f0 | 2014-09-04 15:39:54 -0700 | [diff] [blame] | 58 | public class UserManager { |
| 59 | method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int); |
| 60 | method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle); |
| 61 | method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle); |
| 62 | } |
| 63 | |
Jeff Brown | 7d82751 | 2014-08-21 21:56:02 -0700 | [diff] [blame] | 64 | } |
| 65 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 66 | package android.provider { |
| 67 | |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 68 | public class Browser { |
| 69 | method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String); |
| 70 | method public static final boolean canClearHistory(android.content.ContentResolver); |
| 71 | method public static final void clearHistory(android.content.ContentResolver); |
| 72 | method public static final void clearSearches(android.content.ContentResolver); |
| 73 | method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String); |
| 74 | method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long); |
| 75 | method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException; |
| 76 | method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException; |
| 77 | method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener); |
| 78 | method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String); |
| 79 | method public static final void truncateHistory(android.content.ContentResolver); |
| 80 | method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean); |
| 81 | field public static final android.net.Uri BOOKMARKS_URI; |
| 82 | field public static final java.lang.String[] HISTORY_PROJECTION; |
| 83 | field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4 |
| 84 | field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3 |
| 85 | field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6 |
| 86 | field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 87 | field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5 |
| 88 | field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1 |
| 89 | field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2 |
| 90 | field public static final java.lang.String[] SEARCHES_PROJECTION; |
| 91 | field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2 |
| 92 | field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1 |
| 93 | field public static final android.net.Uri SEARCHES_URI; |
| 94 | field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION; |
| 95 | field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 96 | field public static final int TRUNCATE_N_OLDEST = 5; // 0x5 |
| 97 | } |
| 98 | |
| 99 | public static class Browser.BookmarkColumns implements android.provider.BaseColumns { |
| 100 | ctor public Browser.BookmarkColumns(); |
| 101 | field public static final java.lang.String BOOKMARK = "bookmark"; |
| 102 | field public static final java.lang.String CREATED = "created"; |
| 103 | field public static final java.lang.String DATE = "date"; |
| 104 | field public static final java.lang.String FAVICON = "favicon"; |
| 105 | field public static final java.lang.String THUMBNAIL = "thumbnail"; |
| 106 | field public static final java.lang.String TITLE = "title"; |
| 107 | field public static final java.lang.String TOUCH_ICON = "touch_icon"; |
| 108 | field public static final java.lang.String URL = "url"; |
| 109 | field public static final java.lang.String USER_ENTERED = "user_entered"; |
| 110 | field public static final java.lang.String VISITS = "visits"; |
| 111 | } |
| 112 | |
| 113 | public static class Browser.SearchColumns implements android.provider.BaseColumns { |
| 114 | ctor public Browser.SearchColumns(); |
| 115 | field public static final java.lang.String DATE = "date"; |
| 116 | field public static final java.lang.String SEARCH = "search"; |
| 117 | field public static final deprecated java.lang.String URL = "url"; |
| 118 | } |
| 119 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 120 | public static final class Settings.System extends android.provider.Settings.NameValueTable { |
| 121 | field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible"; |
| 122 | field public static final java.lang.String VOLUME_ALARM = "volume_alarm"; |
| 123 | field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco"; |
| 124 | field public static final java.lang.String VOLUME_MUSIC = "volume_music"; |
| 125 | field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification"; |
| 126 | field public static final java.lang.String VOLUME_RING = "volume_ring"; |
| 127 | field public static final java.lang.String[] VOLUME_SETTINGS; |
| 128 | field public static final java.lang.String VOLUME_SYSTEM = "volume_system"; |
| 129 | field public static final java.lang.String VOLUME_VOICE = "volume_voice"; |
| 130 | } |
| 131 | |
| 132 | } |
| 133 | |
Narayan Kamath | 9d68b3c | 2014-10-22 12:55:58 +0100 | [diff] [blame] | 134 | package android.text.format { |
| 135 | |
| 136 | public class DateFormat { |
| 137 | field public static final deprecated char AM_PM = 97; // 0x0061 'a' |
| 138 | field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A' |
| 139 | field public static final deprecated char DATE = 100; // 0x0064 'd' |
| 140 | field public static final deprecated char DAY = 69; // 0x0045 'E' |
| 141 | field public static final deprecated char HOUR = 104; // 0x0068 'h' |
| 142 | field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k' |
| 143 | field public static final deprecated char MINUTE = 109; // 0x006d 'm' |
| 144 | field public static final deprecated char MONTH = 77; // 0x004d 'M' |
| 145 | field public static final deprecated char QUOTE = 39; // 0x0027 '\'' |
| 146 | field public static final deprecated char SECONDS = 115; // 0x0073 's' |
| 147 | field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L' |
| 148 | field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z' |
| 149 | field public static final deprecated char YEAR = 121; // 0x0079 'y' |
| 150 | } |
| 151 | |
| 152 | } |
| 153 | |
Neil Fuller | d6a2135 | 2015-02-12 10:13:45 +0000 | [diff] [blame] | 154 | package android.util { |
| 155 | |
| 156 | public deprecated class FloatMath { |
| 157 | method public static float ceil(float); |
| 158 | method public static float cos(float); |
| 159 | method public static float exp(float); |
| 160 | method public static float floor(float); |
| 161 | method public static float hypot(float, float); |
| 162 | method public static float pow(float, float); |
| 163 | method public static float sin(float); |
| 164 | method public static float sqrt(float); |
| 165 | } |
| 166 | |
| 167 | } |
| 168 | |
Jorim Jaggi | e411fdf | 2014-07-28 23:00:44 +0200 | [diff] [blame] | 169 | package android.view { |
| 170 | |
Adam Powell | 5eb3ffc | 2014-09-11 15:38:55 -0700 | [diff] [blame] | 171 | public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback { |
| 172 | method protected void initializeFadingEdge(android.content.res.TypedArray); |
| 173 | method protected void initializeScrollbars(android.content.res.TypedArray); |
| 174 | } |
| 175 | |
Jorim Jaggi | e411fdf | 2014-07-28 23:00:44 +0200 | [diff] [blame] | 176 | public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable { |
| 177 | field public static final int TYPE_KEYGUARD = 2004; // 0x7d4 |
| 178 | } |
| 179 | |
| 180 | } |
| 181 | |
Alan Viverette | 5171dee | 2014-09-11 16:33:01 -0700 | [diff] [blame] | 182 | package android.widget { |
| 183 | |
| 184 | public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener { |
| 185 | method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int); |
| 186 | method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray); |
| 187 | } |
| 188 | |
| 189 | } |
| 190 | |