Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 1 | package android.app { |
| 2 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 3 | public class Activity extends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.view.KeyEvent.Callback android.view.LayoutInflater.Factory2 android.view.View.OnCreateContextMenuListener android.view.Window.Callback { |
| 4 | method public deprecated boolean enterPictureInPictureMode(android.app.PictureInPictureArgs); |
| 5 | method public deprecated void setPictureInPictureArgs(android.app.PictureInPictureArgs); |
| 6 | } |
| 7 | |
| 8 | public class ActivityManager { |
| 9 | method public static deprecated int getMaxNumPictureInPictureActions(); |
| 10 | } |
| 11 | |
| 12 | public class KeyguardManager { |
| 13 | method public deprecated void dismissKeyguard(android.app.Activity, android.app.KeyguardManager.KeyguardDismissCallback, android.os.Handler); |
| 14 | } |
| 15 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 16 | public class Notification implements android.os.Parcelable { |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 17 | method public deprecated java.lang.String getChannel(); |
Julia Reynolds | 7ca3307 | 2017-06-29 13:58:24 -0400 | [diff] [blame] | 18 | method public static java.lang.Class<? extends android.app.Notification.Style> getNotificationStyleClass(java.lang.String); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 19 | method public deprecated long getTimeout(); |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 20 | method public deprecated void setLatestEventInfo(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, android.app.PendingIntent); |
| 21 | } |
| 22 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 23 | public static class Notification.Builder { |
| 24 | method public deprecated android.app.Notification.Builder setChannel(java.lang.String); |
| 25 | method public deprecated android.app.Notification.Builder setTimeout(long); |
| 26 | } |
| 27 | |
| 28 | public static final class Notification.TvExtender implements android.app.Notification.Extender { |
| 29 | method public deprecated java.lang.String getChannel(); |
| 30 | } |
| 31 | |
| 32 | public final deprecated class PictureInPictureArgs implements android.os.Parcelable { |
Winson Chung | ca75478 | 2017-05-02 15:14:23 -0700 | [diff] [blame] | 33 | ctor public deprecated PictureInPictureArgs(); |
| 34 | ctor public deprecated PictureInPictureArgs(float, java.util.List<android.app.RemoteAction>); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 35 | method public static android.app.PictureInPictureArgs convert(android.app.PictureInPictureParams); |
| 36 | method public static android.app.PictureInPictureParams convert(android.app.PictureInPictureArgs); |
| 37 | method public void copyOnlySet(android.app.PictureInPictureArgs); |
| 38 | method public java.util.List<android.app.RemoteAction> getActions(); |
| 39 | method public float getAspectRatio(); |
| 40 | method public android.util.Rational getAspectRatioRational(); |
| 41 | method public android.graphics.Rect getSourceRectHint(); |
| 42 | method public android.graphics.Rect getSourceRectHintInsets(); |
| 43 | method public boolean hasSetActions(); |
| 44 | method public boolean hasSetAspectRatio(); |
| 45 | method public boolean hasSourceBoundsHint(); |
| 46 | method public boolean hasSourceBoundsHintInsets(); |
Winson Chung | ca75478 | 2017-05-02 15:14:23 -0700 | [diff] [blame] | 47 | method public deprecated void setActions(java.util.List<android.app.RemoteAction>); |
| 48 | method public deprecated void setAspectRatio(float); |
| 49 | method public deprecated void setSourceRectHint(android.graphics.Rect); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 50 | method public deprecated void setSourceRectHintInsets(android.graphics.Rect); |
| 51 | method public void truncateActions(int); |
| 52 | field public static final android.os.Parcelable.Creator<android.app.PictureInPictureArgs> CREATOR; |
| 53 | } |
| 54 | |
| 55 | public static class PictureInPictureArgs.Builder { |
| 56 | ctor public PictureInPictureArgs.Builder(); |
| 57 | method public android.app.PictureInPictureArgs build(); |
| 58 | method public android.app.PictureInPictureArgs.Builder setActions(java.util.List<android.app.RemoteAction>); |
| 59 | method public android.app.PictureInPictureArgs.Builder setAspectRatio(android.util.Rational); |
| 60 | method public android.app.PictureInPictureArgs.Builder setSourceRectHint(android.graphics.Rect); |
| 61 | } |
| 62 | |
Jeff Sharkey | 780861f | 2017-03-20 14:38:04 -0600 | [diff] [blame] | 63 | public final class RecoverableSecurityException extends java.lang.SecurityException implements android.os.Parcelable { |
| 64 | method public deprecated void showAsNotification(android.content.Context); |
| 65 | } |
| 66 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 67 | } |
| 68 | |
| 69 | package android.app.admin { |
| 70 | |
| 71 | public class DevicePolicyManager { |
phweiss | 27ee334 | 2016-02-08 16:40:45 +0100 | [diff] [blame] | 72 | method public deprecated android.os.UserHandle createAndInitializeUser(android.content.ComponentName, java.lang.String, java.lang.String, android.content.ComponentName, android.os.Bundle); |
| 73 | method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang.String); |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 74 | method public deprecated java.lang.String getDeviceInitializerApp(); |
| 75 | method public deprecated android.content.ComponentName getDeviceInitializerComponent(); |
| 76 | } |
| 77 | |
| 78 | } |
| 79 | |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 80 | package android.app.usage { |
| 81 | |
Jeff Sharkey | a4d34d9 | 2017-04-27 11:21:41 -0600 | [diff] [blame] | 82 | public final class StorageStats implements android.os.Parcelable { |
| 83 | method public deprecated long getCodeBytes(); |
| 84 | } |
| 85 | |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 86 | public class StorageStatsManager { |
| 87 | method public deprecated long getFreeBytes(java.lang.String) throws java.io.IOException; |
| 88 | method public deprecated long getTotalBytes(java.lang.String) throws java.io.IOException; |
| 89 | method public deprecated boolean isQuotaSupported(java.lang.String); |
| 90 | method public deprecated android.app.usage.ExternalStorageStats queryExternalStatsForUser(java.lang.String, android.os.UserHandle) throws java.io.IOException; |
| 91 | method public deprecated android.app.usage.StorageStats queryStatsForPackage(java.lang.String, java.lang.String, android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException; |
| 92 | method public deprecated android.app.usage.StorageStats queryStatsForUid(java.lang.String, int) throws java.io.IOException; |
| 93 | method public deprecated android.app.usage.StorageStats queryStatsForUser(java.lang.String, android.os.UserHandle) throws java.io.IOException; |
| 94 | } |
| 95 | |
| 96 | } |
| 97 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 98 | package android.content { |
| 99 | |
Vladislav Kaznacheev | c35c02f | 2017-04-20 08:38:21 -0700 | [diff] [blame] | 100 | public class ClipData implements android.os.Parcelable { |
| 101 | method public deprecated void addItem(android.content.ClipData.Item, android.content.ContentResolver); |
| 102 | } |
| 103 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 104 | public abstract class Context { |
Jeff Sharkey | cf3f0a1 | 2016-03-17 19:57:58 -0600 | [diff] [blame] | 105 | method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int); |
| 106 | method public abstract java.io.File getSharedPreferencesPath(java.lang.String); |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 107 | } |
| 108 | |
Garfield Tan | ce1d0e9 | 2017-03-23 10:52:48 -0700 | [diff] [blame] | 109 | public class Intent implements java.lang.Cloneable android.os.Parcelable { |
| 110 | field public static final deprecated java.lang.String EXTRA_QUICK_VIEW_ADVANCED = "android.intent.extra.QUICK_VIEW_ADVANCED"; |
| 111 | } |
| 112 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 113 | } |
| 114 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 115 | package android.content.pm { |
| 116 | |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 117 | public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { |
| 118 | field public deprecated java.lang.String volumeUuid; |
| 119 | } |
| 120 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 121 | public class ComponentInfo extends android.content.pm.PackageItemInfo { |
| 122 | field public deprecated boolean encryptionAware; |
| 123 | } |
| 124 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 125 | public class PackageInfo implements android.os.Parcelable { |
| 126 | field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1 |
| 127 | } |
| 128 | |
Svetoslav Ganov | 345ffa5 | 2017-04-18 16:08:41 -0700 | [diff] [blame] | 129 | public abstract class PackageManager { |
| 130 | method public abstract boolean setInstantAppCookie(byte[]); |
| 131 | } |
| 132 | |
Jeff Sharkey | f29d196 | 2017-05-01 15:09:11 -0600 | [diff] [blame] | 133 | public class ResolveInfo implements android.os.Parcelable { |
| 134 | field public deprecated boolean instantAppAvailable; |
| 135 | } |
| 136 | |
Svetoslav Ganov | 0cb43ef | 2017-04-18 14:28:35 -0700 | [diff] [blame] | 137 | public final class SharedLibraryInfo implements android.os.Parcelable { |
| 138 | method public boolean isBuiltin(); |
| 139 | method public boolean isDynamic(); |
| 140 | method public boolean isStatic(); |
| 141 | } |
| 142 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 143 | } |
| 144 | |
| 145 | package android.database { |
| 146 | |
| 147 | public abstract class AbstractCursor implements android.database.CrossProcessCursor { |
| 148 | field protected java.lang.Long mCurrentRowID; |
| 149 | field protected int mRowIdColumnIndex; |
| 150 | field protected java.util.HashMap<java.lang.Long, java.util.Map<java.lang.String, java.lang.Object>> mUpdatedRows; |
| 151 | } |
| 152 | |
| 153 | } |
| 154 | |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 155 | package android.graphics { |
| 156 | |
| 157 | public deprecated class AvoidXfermode extends android.graphics.Xfermode { |
| 158 | ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode); |
| 159 | } |
| 160 | |
| 161 | public static final class AvoidXfermode.Mode extends java.lang.Enum { |
| 162 | method public static android.graphics.AvoidXfermode.Mode valueOf(java.lang.String); |
| 163 | method public static final android.graphics.AvoidXfermode.Mode[] values(); |
| 164 | enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID; |
| 165 | enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET; |
| 166 | } |
| 167 | |
Derek Sollenberger | b29b16e | 2017-01-04 14:57:43 -0500 | [diff] [blame] | 168 | public class Canvas { |
| 169 | method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op); |
| 170 | method public deprecated boolean clipRegion(android.graphics.Region); |
| 171 | } |
| 172 | |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 173 | public deprecated class LayerRasterizer extends android.graphics.Rasterizer { |
| 174 | ctor public LayerRasterizer(); |
| 175 | method public void addLayer(android.graphics.Paint, float, float); |
| 176 | method public void addLayer(android.graphics.Paint); |
| 177 | } |
| 178 | |
| 179 | public class Paint { |
| 180 | method public deprecated android.graphics.Rasterizer getRasterizer(); |
| 181 | method public deprecated android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer); |
| 182 | } |
| 183 | |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 184 | public deprecated class PixelXorXfermode extends android.graphics.Xfermode { |
| 185 | ctor public PixelXorXfermode(int); |
| 186 | } |
| 187 | |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 188 | public class Rasterizer { |
| 189 | ctor public Rasterizer(); |
| 190 | } |
| 191 | |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 192 | } |
| 193 | |
Peng Xu | 3c8c6a4 | 2017-04-06 18:37:56 -0700 | [diff] [blame] | 194 | package android.hardware { |
| 195 | |
Craig Donner | fd5d331 | 2017-04-19 18:33:36 -0700 | [diff] [blame] | 196 | public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable { |
| 197 | method public deprecated void destroy(); |
| 198 | method public deprecated boolean isDestroyed(); |
| 199 | } |
| 200 | |
Peng Xu | 3c8c6a4 | 2017-04-06 18:37:56 -0700 | [diff] [blame] | 201 | public final class SensorDirectChannel implements java.nio.channels.Channel { |
| 202 | method public deprecated boolean isValid(); |
| 203 | } |
| 204 | |
| 205 | public abstract class SensorManager { |
| 206 | method public deprecated int configureDirectChannel(android.hardware.SensorDirectChannel, android.hardware.Sensor, int); |
| 207 | } |
| 208 | |
| 209 | } |
| 210 | |
Yu Liu | b87243c | 2017-04-18 16:08:29 -0700 | [diff] [blame] | 211 | package android.location { |
| 212 | |
| 213 | public class Location implements android.os.Parcelable { |
| 214 | method public deprecated void removeBearingAccuracy(); |
| 215 | method public deprecated void removeSpeedAccuracy(); |
| 216 | method public deprecated void removeVerticalAccuracy(); |
| 217 | } |
| 218 | |
| 219 | } |
| 220 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 221 | package android.media { |
| 222 | |
Jeff Sharkey | 50d1c04 | 2016-02-29 16:34:46 -0700 | [diff] [blame] | 223 | public final class AudioFormat implements android.os.Parcelable { |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 224 | ctor public AudioFormat(); |
| 225 | } |
| 226 | |
| 227 | } |
| 228 | |
Dongwon Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 229 | package android.media.tv { |
| 230 | |
Dongwon Kang | 0632d8a | 2016-03-18 07:42:04 -0700 | [diff] [blame] | 231 | public final class TvInputManager { |
| 232 | method public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, android.media.tv.TvInputManager.HardwareCallback, android.media.tv.TvInputInfo); |
| 233 | } |
| 234 | |
Dongwon Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 235 | public class TvView extends android.view.ViewGroup { |
| 236 | method public void requestUnblockContent(android.media.tv.TvContentRating); |
| 237 | } |
| 238 | |
| 239 | } |
| 240 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 241 | package android.net { |
| 242 | |
Lorenzo Colitti | 2187df7 | 2016-12-09 18:39:30 +0900 | [diff] [blame] | 243 | public class ConnectivityManager { |
| 244 | method public deprecated boolean requestRouteToHost(int, int); |
| 245 | method public deprecated int startUsingNetworkFeature(int, java.lang.String); |
| 246 | method public deprecated int stopUsingNetworkFeature(int, java.lang.String); |
| 247 | } |
| 248 | |
Joe LaPenna | 2c60ef0 | 2017-05-01 09:46:01 -0700 | [diff] [blame] | 249 | public deprecated class NetworkBadging { |
| 250 | method public static android.graphics.drawable.Drawable getWifiIcon(int, int, android.content.res.Resources.Theme); |
| 251 | field public static final int BADGING_4K = 30; // 0x1e |
| 252 | field public static final int BADGING_HD = 20; // 0x14 |
| 253 | field public static final int BADGING_NONE = 0; // 0x0 |
| 254 | field public static final int BADGING_SD = 10; // 0xa |
| 255 | } |
| 256 | |
Alex Klyubin | 5e86d95 | 2016-09-21 14:17:26 -0700 | [diff] [blame] | 257 | public abstract class PskKeyManager { |
| 258 | ctor public PskKeyManager(); |
| 259 | field public static final int MAX_IDENTITY_HINT_LENGTH_BYTES = 128; // 0x80 |
| 260 | field public static final int MAX_IDENTITY_LENGTH_BYTES = 128; // 0x80 |
| 261 | field public static final int MAX_KEY_LENGTH_BYTES = 256; // 0x100 |
| 262 | } |
| 263 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 264 | public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory { |
| 265 | method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache); |
| 266 | } |
| 267 | |
| 268 | } |
| 269 | |
Rebecca Silberstein | e6edaa9 | 2017-07-10 11:34:55 -0700 | [diff] [blame] | 270 | package android.net.wifi { |
| 271 | |
| 272 | public class WifiManager { |
| 273 | method public deprecated boolean setWifiApEnabled(android.net.wifi.WifiConfiguration, boolean); |
| 274 | } |
| 275 | |
| 276 | } |
| 277 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 278 | package android.os { |
| 279 | |
| 280 | public class BatteryManager { |
| 281 | ctor public BatteryManager(); |
| 282 | } |
| 283 | |
Svet Ganov | 77df6f3 | 2016-08-17 11:46:34 -0700 | [diff] [blame] | 284 | public class Build { |
| 285 | field public static final boolean PERMISSIONS_REVIEW_REQUIRED; |
| 286 | } |
| 287 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 288 | public final class PowerManager { |
| 289 | method public void goToSleep(long); |
| 290 | method public deprecated void userActivity(long, boolean); |
| 291 | method public void wakeUp(long); |
| 292 | } |
| 293 | |
| 294 | public class RecoverySystem { |
| 295 | ctor public RecoverySystem(); |
| 296 | } |
| 297 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 298 | public class TestLooperManager { |
| 299 | method public deprecated android.os.MessageQueue getQueue(); |
| 300 | } |
| 301 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 302 | public class UserManager { |
| 303 | method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int); |
| 304 | method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle); |
| 305 | method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle); |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 306 | } |
| 307 | |
| 308 | } |
| 309 | |
Jeff Sharkey | c02bfae | 2016-03-27 15:06:53 -0600 | [diff] [blame] | 310 | package android.os.storage { |
| 311 | |
| 312 | public class StorageManager { |
| 313 | method public android.os.storage.StorageVolume getPrimaryVolume(); |
| 314 | method public android.os.storage.StorageVolume[] getVolumeList(); |
| 315 | } |
| 316 | |
| 317 | } |
| 318 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 319 | package android.provider { |
| 320 | |
| 321 | public class Browser { |
| 322 | method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String); |
| 323 | method public static final boolean canClearHistory(android.content.ContentResolver); |
| 324 | method public static final void clearHistory(android.content.ContentResolver); |
| 325 | method public static final void clearSearches(android.content.ContentResolver); |
| 326 | method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String); |
| 327 | method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long); |
| 328 | method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException; |
| 329 | method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException; |
| 330 | method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener); |
| 331 | method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String); |
| 332 | method public static final void truncateHistory(android.content.ContentResolver); |
| 333 | method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean); |
| 334 | field public static final android.net.Uri BOOKMARKS_URI; |
| 335 | field public static final java.lang.String[] HISTORY_PROJECTION; |
| 336 | field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4 |
| 337 | field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3 |
| 338 | field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6 |
| 339 | field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 340 | field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5 |
| 341 | field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1 |
| 342 | field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2 |
| 343 | field public static final java.lang.String[] SEARCHES_PROJECTION; |
| 344 | field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2 |
| 345 | field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1 |
| 346 | field public static final android.net.Uri SEARCHES_URI; |
| 347 | field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION; |
| 348 | field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 349 | field public static final int TRUNCATE_N_OLDEST = 5; // 0x5 |
| 350 | } |
| 351 | |
| 352 | public static class Browser.BookmarkColumns implements android.provider.BaseColumns { |
| 353 | ctor public Browser.BookmarkColumns(); |
| 354 | field public static final java.lang.String BOOKMARK = "bookmark"; |
| 355 | field public static final java.lang.String CREATED = "created"; |
| 356 | field public static final java.lang.String DATE = "date"; |
| 357 | field public static final java.lang.String FAVICON = "favicon"; |
| 358 | field public static final java.lang.String THUMBNAIL = "thumbnail"; |
| 359 | field public static final java.lang.String TITLE = "title"; |
| 360 | field public static final java.lang.String TOUCH_ICON = "touch_icon"; |
| 361 | field public static final java.lang.String URL = "url"; |
| 362 | field public static final java.lang.String USER_ENTERED = "user_entered"; |
| 363 | field public static final java.lang.String VISITS = "visits"; |
| 364 | } |
| 365 | |
| 366 | public static class Browser.SearchColumns implements android.provider.BaseColumns { |
| 367 | ctor public Browser.SearchColumns(); |
| 368 | field public static final java.lang.String DATE = "date"; |
| 369 | field public static final java.lang.String SEARCH = "search"; |
| 370 | field public static final deprecated java.lang.String URL = "url"; |
| 371 | } |
| 372 | |
| 373 | public static final deprecated class ContactsContract.Contacts.StreamItems { |
| 374 | field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items"; |
| 375 | } |
| 376 | |
| 377 | public static final deprecated class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns { |
| 378 | field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items"; |
| 379 | } |
| 380 | |
| 381 | public static final deprecated class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns { |
| 382 | field public static final deprecated java.lang.String PHOTO = "photo"; |
| 383 | } |
| 384 | |
| 385 | protected static abstract deprecated interface ContactsContract.StreamItemPhotosColumns { |
| 386 | field public static final deprecated java.lang.String PHOTO_FILE_ID = "photo_file_id"; |
| 387 | field public static final deprecated java.lang.String PHOTO_URI = "photo_uri"; |
| 388 | field public static final deprecated java.lang.String SORT_INDEX = "sort_index"; |
| 389 | field public static final deprecated java.lang.String STREAM_ITEM_ID = "stream_item_id"; |
| 390 | field public static final deprecated java.lang.String SYNC1 = "stream_item_photo_sync1"; |
| 391 | field public static final deprecated java.lang.String SYNC2 = "stream_item_photo_sync2"; |
| 392 | field public static final deprecated java.lang.String SYNC3 = "stream_item_photo_sync3"; |
| 393 | field public static final deprecated java.lang.String SYNC4 = "stream_item_photo_sync4"; |
| 394 | } |
| 395 | |
| 396 | public static final deprecated class ContactsContract.StreamItems implements android.provider.BaseColumns { |
| 397 | field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item"; |
| 398 | field public static final deprecated android.net.Uri CONTENT_LIMIT_URI; |
| 399 | field public static final deprecated android.net.Uri CONTENT_PHOTO_URI; |
| 400 | field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item"; |
| 401 | field public static final deprecated android.net.Uri CONTENT_URI; |
| 402 | field public static final deprecated java.lang.String MAX_ITEMS = "max_items"; |
| 403 | } |
| 404 | |
| 405 | public static final deprecated class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns { |
| 406 | field public static final deprecated java.lang.String CONTENT_DIRECTORY = "photo"; |
| 407 | field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo"; |
| 408 | field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo"; |
| 409 | } |
| 410 | |
| 411 | protected static abstract deprecated interface ContactsContract.StreamItemsColumns { |
| 412 | field public static final deprecated java.lang.String ACCOUNT_NAME = "account_name"; |
| 413 | field public static final deprecated java.lang.String ACCOUNT_TYPE = "account_type"; |
| 414 | field public static final deprecated java.lang.String COMMENTS = "comments"; |
| 415 | field public static final deprecated java.lang.String CONTACT_ID = "contact_id"; |
| 416 | field public static final deprecated java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup"; |
| 417 | field public static final deprecated java.lang.String DATA_SET = "data_set"; |
| 418 | field public static final deprecated java.lang.String RAW_CONTACT_ID = "raw_contact_id"; |
| 419 | field public static final deprecated java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id"; |
| 420 | field public static final deprecated java.lang.String RES_ICON = "icon"; |
| 421 | field public static final deprecated java.lang.String RES_LABEL = "label"; |
| 422 | field public static final deprecated java.lang.String RES_PACKAGE = "res_package"; |
| 423 | field public static final deprecated java.lang.String SYNC1 = "stream_item_sync1"; |
| 424 | field public static final deprecated java.lang.String SYNC2 = "stream_item_sync2"; |
| 425 | field public static final deprecated java.lang.String SYNC3 = "stream_item_sync3"; |
| 426 | field public static final deprecated java.lang.String SYNC4 = "stream_item_sync4"; |
| 427 | field public static final deprecated java.lang.String TEXT = "text"; |
| 428 | field public static final deprecated java.lang.String TIMESTAMP = "timestamp"; |
| 429 | } |
| 430 | |
Tingting Wang | e0cbda4 | 2016-05-10 15:39:37 -0700 | [diff] [blame] | 431 | public static final class Settings.Global extends android.provider.Settings.NameValueTable { |
| 432 | field public static final deprecated java.lang.String CONTACT_METADATA_SYNC = "contact_metadata_sync"; |
| 433 | } |
| 434 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 435 | public static final class Settings.System extends android.provider.Settings.NameValueTable { |
| 436 | field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible"; |
| 437 | field public static final java.lang.String VOLUME_ALARM = "volume_alarm"; |
| 438 | field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco"; |
| 439 | field public static final java.lang.String VOLUME_MUSIC = "volume_music"; |
| 440 | field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification"; |
| 441 | field public static final java.lang.String VOLUME_RING = "volume_ring"; |
| 442 | field public static final java.lang.String[] VOLUME_SETTINGS; |
| 443 | field public static final java.lang.String VOLUME_SYSTEM = "volume_system"; |
| 444 | field public static final java.lang.String VOLUME_VOICE = "volume_voice"; |
| 445 | } |
| 446 | |
Amit Mahajan | a895559 | 2016-05-02 14:45:46 -0700 | [diff] [blame] | 447 | public static final class Telephony.Sms.Intents { |
| 448 | field public static final java.lang.String SMS_EMERGENCY_CB_RECEIVED_ACTION = "android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED"; |
| 449 | } |
| 450 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 451 | } |
| 452 | |
Julia Reynolds | 7ca3307 | 2017-06-29 13:58:24 -0400 | [diff] [blame] | 453 | package android.service.notification { |
| 454 | |
| 455 | public abstract class NotificationListenerService extends android.app.Service { |
| 456 | method public android.service.notification.StatusBarNotification[] getActiveNotifications(int); |
| 457 | method public android.service.notification.StatusBarNotification[] getActiveNotifications(java.lang.String[], int); |
| 458 | method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException; |
| 459 | method public final void setOnNotificationPostedTrim(int); |
| 460 | method public final void snoozeNotification(java.lang.String, java.lang.String); |
| 461 | method public void unregisterAsSystemService() throws android.os.RemoteException; |
| 462 | field public static final int TRIM_FULL = 0; // 0x0 |
| 463 | field public static final int TRIM_LIGHT = 1; // 0x1 |
| 464 | } |
| 465 | |
| 466 | public static class NotificationListenerService.Ranking { |
| 467 | method public java.util.List<java.lang.String> getAdditionalPeople(); |
| 468 | method public java.util.List<android.service.notification.SnoozeCriterion> getSnoozeCriteria(); |
| 469 | } |
| 470 | |
| 471 | } |
| 472 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 473 | package android.speech.tts { |
| 474 | |
| 475 | public abstract class UtteranceProgressListener { |
| 476 | method public deprecated void onUtteranceRangeStart(java.lang.String, int, int); |
| 477 | } |
| 478 | |
| 479 | } |
| 480 | |
Jeff Sharkey | e06b4d1 | 2016-01-06 14:51:50 -0700 | [diff] [blame] | 481 | package android.test.mock { |
| 482 | |
Stephan Linzner | b51617f | 2016-01-27 18:09:50 -0800 | [diff] [blame] | 483 | public deprecated class MockPackageManager extends android.content.pm.PackageManager { |
Jeff Sharkey | e06b4d1 | 2016-01-06 14:51:50 -0700 | [diff] [blame] | 484 | method public deprecated java.lang.String getDefaultBrowserPackageName(int); |
| 485 | method public deprecated boolean setDefaultBrowserPackageName(java.lang.String, int); |
| 486 | } |
| 487 | |
| 488 | } |
| 489 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 490 | package android.text.format { |
| 491 | |
| 492 | public class DateFormat { |
| 493 | field public static final deprecated char AM_PM = 97; // 0x0061 'a' |
| 494 | field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A' |
| 495 | field public static final deprecated char DATE = 100; // 0x0064 'd' |
| 496 | field public static final deprecated char DAY = 69; // 0x0045 'E' |
| 497 | field public static final deprecated char HOUR = 104; // 0x0068 'h' |
| 498 | field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k' |
| 499 | field public static final deprecated char MINUTE = 109; // 0x006d 'm' |
| 500 | field public static final deprecated char MONTH = 77; // 0x004d 'M' |
| 501 | field public static final deprecated char QUOTE = 39; // 0x0027 '\'' |
| 502 | field public static final deprecated char SECONDS = 115; // 0x0073 's' |
| 503 | field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L' |
| 504 | field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z' |
| 505 | field public static final deprecated char YEAR = 121; // 0x0079 'y' |
| 506 | } |
| 507 | |
| 508 | } |
| 509 | |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 510 | package android.text.style { |
| 511 | |
| 512 | public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance { |
| 513 | ctor public RasterizerSpan(android.graphics.Rasterizer); |
| 514 | method public android.graphics.Rasterizer getRasterizer(); |
| 515 | } |
| 516 | |
| 517 | } |
| 518 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 519 | package android.util { |
| 520 | |
| 521 | public deprecated class FloatMath { |
| 522 | method public static float ceil(float); |
| 523 | method public static float cos(float); |
| 524 | method public static float exp(float); |
| 525 | method public static float floor(float); |
| 526 | method public static float hypot(float, float); |
| 527 | method public static float pow(float, float); |
| 528 | method public static float sin(float); |
| 529 | method public static float sqrt(float); |
| 530 | } |
| 531 | |
| 532 | } |
| 533 | |
| 534 | package android.view { |
| 535 | |
| 536 | public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback { |
| 537 | method protected void initializeFadingEdge(android.content.res.TypedArray); |
| 538 | method protected void initializeScrollbars(android.content.res.TypedArray); |
| 539 | } |
| 540 | |
Aaron Whyte | f830652 | 2017-03-22 16:30:58 -0700 | [diff] [blame] | 541 | public class ViewConfiguration { |
| 542 | method public int getScaledScrollFactor(); |
| 543 | } |
| 544 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 545 | public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable { |
| 546 | field public static final int TYPE_KEYGUARD = 2004; // 0x7d4 |
| 547 | } |
| 548 | |
| 549 | } |
| 550 | |
Phil Weaver | be2922f | 2017-04-28 14:58:35 -0700 | [diff] [blame] | 551 | package android.view.accessibility { |
| 552 | |
| 553 | public final class AccessibilityWindowInfo implements android.os.Parcelable { |
| 554 | method public boolean inPictureInPicture(); |
| 555 | } |
| 556 | |
| 557 | } |
| 558 | |
Michael Wright | 1ad3955 | 2016-04-27 13:07:18 -0400 | [diff] [blame] | 559 | package android.webkit { |
| 560 | |
| 561 | public class WebViewClient { |
| 562 | method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent); |
| 563 | } |
| 564 | |
| 565 | } |
| 566 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 567 | package android.widget { |
| 568 | |
| 569 | public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener { |
| 570 | method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int); |
| 571 | method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray); |
| 572 | } |
| 573 | |
| 574 | } |
| 575 | |