removed.txt 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. // Signature format: 2.0
  2. package android.app {
  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 @Deprecated public boolean enterPictureInPictureMode(@NonNull android.app.PictureInPictureArgs);
  5. method @Deprecated public void setPictureInPictureArgs(@NonNull android.app.PictureInPictureArgs);
  6. }
  7. public class ActivityManager {
  8. method @Deprecated public static int getMaxNumPictureInPictureActions();
  9. }
  10. public class KeyguardManager {
  11. method @Deprecated public void dismissKeyguard(@NonNull android.app.Activity, @Nullable android.app.KeyguardManager.KeyguardDismissCallback, @Nullable android.os.Handler);
  12. }
  13. public class Notification implements android.os.Parcelable {
  14. method @Deprecated public String getChannel();
  15. method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String);
  16. method @Deprecated public long getTimeout();
  17. method @Deprecated public void setLatestEventInfo(android.content.Context, CharSequence, CharSequence, android.app.PendingIntent);
  18. }
  19. public static class Notification.Builder {
  20. method @Deprecated public android.app.Notification.Builder setChannel(String);
  21. method @Deprecated public android.app.Notification.Builder setTimeout(long);
  22. }
  23. @Deprecated public final class PictureInPictureArgs implements android.os.Parcelable {
  24. method public static android.app.PictureInPictureArgs convert(android.app.PictureInPictureParams);
  25. method public static android.app.PictureInPictureParams convert(android.app.PictureInPictureArgs);
  26. method public int describeContents();
  27. method public void writeToParcel(android.os.Parcel, int);
  28. field public static final int CONTENTS_FILE_DESCRIPTOR = 1; // 0x1
  29. field @NonNull public static final android.os.Parcelable.Creator<android.app.PictureInPictureArgs> CREATOR;
  30. field public static final int PARCELABLE_WRITE_RETURN_VALUE = 1; // 0x1
  31. }
  32. public static class PictureInPictureArgs.Builder {
  33. ctor public PictureInPictureArgs.Builder();
  34. method public android.app.PictureInPictureArgs build();
  35. method public android.app.PictureInPictureArgs.Builder setActions(java.util.List<android.app.RemoteAction>);
  36. method public android.app.PictureInPictureArgs.Builder setAspectRatio(android.util.Rational);
  37. method public android.app.PictureInPictureArgs.Builder setSourceRectHint(android.graphics.Rect);
  38. }
  39. }
  40. package android.app.admin {
  41. public class DevicePolicyManager {
  42. method @Deprecated @Nullable public android.os.UserHandle createAndInitializeUser(@NonNull android.content.ComponentName, String, String, @NonNull android.content.ComponentName, android.os.Bundle);
  43. method @Deprecated @Nullable public android.os.UserHandle createUser(@NonNull android.content.ComponentName, String);
  44. }
  45. }
  46. package android.app.job {
  47. public class JobInfo implements android.os.Parcelable {
  48. method @Deprecated public long getEstimatedNetworkBytes();
  49. }
  50. public static final class JobInfo.Builder {
  51. method @Deprecated public android.app.job.JobInfo.Builder setEstimatedNetworkBytes(long);
  52. method @Deprecated public android.app.job.JobInfo.Builder setIsPrefetch(boolean);
  53. }
  54. public final class JobWorkItem implements android.os.Parcelable {
  55. ctor @Deprecated public JobWorkItem(android.content.Intent, long);
  56. method @Deprecated public long getEstimatedNetworkBytes();
  57. }
  58. }
  59. package android.app.slice {
  60. public final class Slice implements android.os.Parcelable {
  61. field @Deprecated public static final String EXTRA_SLIDER_VALUE = "android.app.slice.extra.SLIDER_VALUE";
  62. field @Deprecated public static final String SUBTYPE_SLIDER = "slider";
  63. }
  64. public static class Slice.Builder {
  65. ctor @Deprecated public Slice.Builder(@NonNull android.net.Uri);
  66. method @Deprecated public android.app.slice.Slice.Builder addTimestamp(long, @Nullable String, java.util.List<java.lang.String>);
  67. method @Deprecated public android.app.slice.Slice.Builder setSpec(android.app.slice.SliceSpec);
  68. }
  69. public final class SliceItem implements android.os.Parcelable {
  70. method @Deprecated public long getTimestamp();
  71. field @Deprecated public static final String FORMAT_TIMESTAMP = "long";
  72. }
  73. public class SliceManager {
  74. method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>);
  75. method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.content.Intent, @NonNull java.util.List<android.app.slice.SliceSpec>);
  76. method @Deprecated public void pinSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>);
  77. }
  78. public abstract class SliceProvider extends android.content.ContentProvider {
  79. method @Deprecated public android.app.slice.Slice onBindSlice(android.net.Uri, java.util.List<android.app.slice.SliceSpec>);
  80. }
  81. }
  82. package android.app.usage {
  83. public final class StorageStats implements android.os.Parcelable {
  84. method @Deprecated public long getCodeBytes();
  85. }
  86. public class StorageStatsManager {
  87. method @Deprecated public long getFreeBytes(String) throws java.io.IOException;
  88. method @Deprecated public long getTotalBytes(String) throws java.io.IOException;
  89. method @Deprecated public boolean isQuotaSupported(String);
  90. method @Deprecated public android.app.usage.ExternalStorageStats queryExternalStatsForUser(String, android.os.UserHandle) throws java.io.IOException;
  91. method @Deprecated public android.app.usage.StorageStats queryStatsForPackage(String, String, android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException;
  92. method @Deprecated public android.app.usage.StorageStats queryStatsForUid(String, int) throws java.io.IOException;
  93. method @Deprecated public android.app.usage.StorageStats queryStatsForUser(String, android.os.UserHandle) throws java.io.IOException;
  94. }
  95. }
  96. package android.content {
  97. public class ClipData implements android.os.Parcelable {
  98. method @Deprecated public void addItem(android.content.ClipData.Item, android.content.ContentResolver);
  99. }
  100. public abstract class Context {
  101. method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
  102. method public abstract java.io.File getSharedPreferencesPath(String);
  103. }
  104. public class ContextWrapper extends android.content.Context {
  105. method public android.content.SharedPreferences getSharedPreferences(java.io.File, int);
  106. method public java.io.File getSharedPreferencesPath(String);
  107. }
  108. public class Intent implements java.lang.Cloneable android.os.Parcelable {
  109. field @Deprecated public static final String EXTRA_QUICK_VIEW_ADVANCED = "android.intent.extra.QUICK_VIEW_ADVANCED";
  110. }
  111. }
  112. package android.content.pm {
  113. public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
  114. field @Deprecated public String volumeUuid;
  115. }
  116. public class ComponentInfo extends android.content.pm.PackageItemInfo {
  117. field @Deprecated public boolean encryptionAware;
  118. }
  119. public class PackageInfo implements android.os.Parcelable {
  120. field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1
  121. }
  122. public abstract class PackageManager {
  123. method public abstract boolean setInstantAppCookie(@Nullable byte[]);
  124. }
  125. public class ResolveInfo implements android.os.Parcelable {
  126. field @Deprecated public boolean instantAppAvailable;
  127. }
  128. public final class SharedLibraryInfo implements android.os.Parcelable {
  129. method public boolean isBuiltin();
  130. method public boolean isDynamic();
  131. method public boolean isStatic();
  132. }
  133. }
  134. package android.database {
  135. public abstract class AbstractCursor implements android.database.CrossProcessCursor {
  136. field protected Long mCurrentRowID;
  137. field protected int mRowIdColumnIndex;
  138. field protected java.util.HashMap<java.lang.Long,java.util.Map<java.lang.String,java.lang.Object>> mUpdatedRows;
  139. }
  140. }
  141. package android.graphics {
  142. @Deprecated public class AvoidXfermode extends android.graphics.Xfermode {
  143. ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode);
  144. }
  145. public enum AvoidXfermode.Mode {
  146. enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID;
  147. enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET;
  148. }
  149. public class Canvas {
  150. method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region, @NonNull android.graphics.Region.Op);
  151. method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region);
  152. method @Deprecated public int save(int);
  153. field @Deprecated public static final int CLIP_SAVE_FLAG = 2; // 0x2
  154. field @Deprecated public static final int CLIP_TO_LAYER_SAVE_FLAG = 16; // 0x10
  155. field @Deprecated public static final int FULL_COLOR_LAYER_SAVE_FLAG = 8; // 0x8
  156. field @Deprecated public static final int HAS_ALPHA_LAYER_SAVE_FLAG = 4; // 0x4
  157. field @Deprecated public static final int MATRIX_SAVE_FLAG = 1; // 0x1
  158. }
  159. public final class ImageDecoder implements java.lang.AutoCloseable {
  160. method @Deprecated public boolean getAsAlphaMask();
  161. method @Deprecated public boolean getConserveMemory();
  162. method @Deprecated public boolean getDecodeAsAlphaMask();
  163. method @Deprecated public boolean getMutable();
  164. method @Deprecated public boolean getRequireUnpremultiplied();
  165. method @Deprecated public android.graphics.ImageDecoder setAsAlphaMask(boolean);
  166. method @Deprecated public void setConserveMemory(boolean);
  167. method @Deprecated public android.graphics.ImageDecoder setDecodeAsAlphaMask(boolean);
  168. method @Deprecated public android.graphics.ImageDecoder setMutable(boolean);
  169. method @Deprecated public android.graphics.ImageDecoder setRequireUnpremultiplied(boolean);
  170. method @Deprecated public android.graphics.ImageDecoder setResize(int, int);
  171. method @Deprecated public android.graphics.ImageDecoder setResize(int);
  172. field @Deprecated public static final int ERROR_SOURCE_ERROR = 3; // 0x3
  173. field @Deprecated public static final int ERROR_SOURCE_EXCEPTION = 1; // 0x1
  174. field @Deprecated public static final int ERROR_SOURCE_INCOMPLETE = 2; // 0x2
  175. }
  176. @Deprecated public static class ImageDecoder.IncompleteException extends java.io.IOException {
  177. ctor public ImageDecoder.IncompleteException();
  178. }
  179. @Deprecated public class LayerRasterizer extends android.graphics.Rasterizer {
  180. ctor public LayerRasterizer();
  181. method public void addLayer(android.graphics.Paint, float, float);
  182. method public void addLayer(android.graphics.Paint);
  183. }
  184. public class Paint {
  185. method @Deprecated public android.graphics.Rasterizer getRasterizer();
  186. method @Deprecated public android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer);
  187. }
  188. public class Picture {
  189. method @Deprecated public static android.graphics.Picture createFromStream(@NonNull java.io.InputStream);
  190. method @Deprecated public void writeToStream(@NonNull java.io.OutputStream);
  191. }
  192. @Deprecated public class PixelXorXfermode extends android.graphics.Xfermode {
  193. ctor public PixelXorXfermode(int);
  194. }
  195. public class Rasterizer {
  196. ctor public Rasterizer();
  197. }
  198. }
  199. package android.graphics.drawable {
  200. public class AnimatedImageDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Animatable2 {
  201. method @Deprecated public int getLoopCount(int);
  202. method @Deprecated public void setLoopCount(int);
  203. field @Deprecated public static final int LOOP_INFINITE = -1; // 0xffffffff
  204. }
  205. }
  206. package android.hardware {
  207. public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable {
  208. method @Deprecated public void destroy();
  209. method @Deprecated public boolean isDestroyed();
  210. }
  211. public final class SensorDirectChannel implements java.nio.channels.Channel {
  212. method @Deprecated public boolean isValid();
  213. }
  214. public abstract class SensorManager {
  215. method @Deprecated public int configureDirectChannel(android.hardware.SensorDirectChannel, android.hardware.Sensor, int);
  216. }
  217. }
  218. package android.location {
  219. public class Location implements android.os.Parcelable {
  220. method @Deprecated public void removeBearingAccuracy();
  221. method @Deprecated public void removeSpeedAccuracy();
  222. method @Deprecated public void removeVerticalAccuracy();
  223. }
  224. public class LocationManager {
  225. method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public boolean addNmeaListener(android.location.GpsStatus.NmeaListener);
  226. method @Deprecated public void removeNmeaListener(android.location.GpsStatus.NmeaListener);
  227. }
  228. }
  229. package android.media {
  230. public final class AudioFormat implements android.os.Parcelable {
  231. ctor public AudioFormat();
  232. }
  233. }
  234. package android.media.tv {
  235. public class TvView extends android.view.ViewGroup {
  236. method public void requestUnblockContent(android.media.tv.TvContentRating);
  237. }
  238. }
  239. package android.net {
  240. public class ConnectivityManager {
  241. method @Deprecated public boolean requestRouteToHost(int, int);
  242. method @Deprecated public int startUsingNetworkFeature(int, String);
  243. method @Deprecated public int stopUsingNetworkFeature(int, String);
  244. }
  245. @Deprecated public class NetworkBadging {
  246. method @NonNull public static android.graphics.drawable.Drawable getWifiIcon(@IntRange(from=0, to=4) int, int, @Nullable android.content.res.Resources.Theme);
  247. field public static final int BADGING_4K = 30; // 0x1e
  248. field public static final int BADGING_HD = 20; // 0x14
  249. field public static final int BADGING_NONE = 0; // 0x0
  250. field public static final int BADGING_SD = 10; // 0xa
  251. }
  252. @IntDef({0x0, 0xa, 0x14, 0x1e}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface NetworkBadging.Badging {
  253. }
  254. @Deprecated public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
  255. method @Deprecated public static org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache);
  256. }
  257. public class TrafficStats {
  258. method @Deprecated public static void setThreadStatsUidSelf();
  259. }
  260. }
  261. package android.os {
  262. public class BatteryManager {
  263. ctor public BatteryManager();
  264. }
  265. public final class PowerManager {
  266. method public void goToSleep(long);
  267. method @Deprecated public void userActivity(long, boolean);
  268. method @Deprecated public void wakeUp(long);
  269. }
  270. public class RecoverySystem {
  271. ctor public RecoverySystem();
  272. }
  273. public static final class StrictMode.ThreadPolicy.Builder {
  274. method @NonNull public android.os.StrictMode.ThreadPolicy.Builder penaltyListener(@NonNull android.os.StrictMode.OnThreadViolationListener, @NonNull java.util.concurrent.Executor);
  275. }
  276. public static final class StrictMode.VmPolicy.Builder {
  277. method @NonNull public android.os.StrictMode.VmPolicy.Builder penaltyListener(@NonNull android.os.StrictMode.OnVmViolationListener, @NonNull java.util.concurrent.Executor);
  278. }
  279. public final class SystemClock {
  280. method @NonNull public static java.time.Clock elapsedRealtimeClock();
  281. method @NonNull public static java.time.Clock uptimeClock();
  282. method @Deprecated @NonNull public static java.time.Clock uptimeMillisClock();
  283. }
  284. public class TestLooperManager {
  285. method @Deprecated public android.os.MessageQueue getQueue();
  286. }
  287. public class UserManager {
  288. method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
  289. method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
  290. method public CharSequence getBadgedLabelForUser(CharSequence, android.os.UserHandle);
  291. }
  292. }
  293. package android.os.storage {
  294. public class StorageManager {
  295. method @NonNull public android.os.storage.StorageVolume getPrimaryVolume();
  296. method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
  297. }
  298. }
  299. package android.provider {
  300. public class Browser {
  301. method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"}, apis="..22") public static final void addSearchUrl(android.content.ContentResolver, String);
  302. method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final boolean canClearHistory(android.content.ContentResolver);
  303. method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearHistory(android.content.ContentResolver);
  304. method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearSearches(android.content.ContentResolver);
  305. method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteFromHistory(android.content.ContentResolver, String);
  306. method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long);
  307. method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException;
  308. method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException;
  309. method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final void requestAllIcons(android.content.ContentResolver, String, android.webkit.WebIconDatabase.IconListener);
  310. method public static final void saveBookmark(android.content.Context, String, String);
  311. method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"}, apis="..22") public static final void truncateHistory(android.content.ContentResolver);
  312. method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"}, apis="..22") public static final void updateVisitedHistory(android.content.ContentResolver, String, boolean);
  313. field @RequiresPermission.Read(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") @RequiresPermission.Write(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final android.net.Uri BOOKMARKS_URI;
  314. field public static final String[] HISTORY_PROJECTION;
  315. field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4
  316. field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3
  317. field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6
  318. field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
  319. field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5
  320. field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1
  321. field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2
  322. field public static final String[] SEARCHES_PROJECTION;
  323. field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2
  324. field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1
  325. field @RequiresPermission.Read(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") @RequiresPermission.Write(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final android.net.Uri SEARCHES_URI;
  326. field public static final String[] TRUNCATE_HISTORY_PROJECTION;
  327. field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
  328. field public static final int TRUNCATE_N_OLDEST = 5; // 0x5
  329. }
  330. public static class Browser.BookmarkColumns implements android.provider.BaseColumns {
  331. ctor public Browser.BookmarkColumns();
  332. field public static final String BOOKMARK = "bookmark";
  333. field public static final String CREATED = "created";
  334. field public static final String DATE = "date";
  335. field public static final String FAVICON = "favicon";
  336. field public static final String TITLE = "title";
  337. field public static final String URL = "url";
  338. field public static final String VISITS = "visits";
  339. field public static final String _COUNT = "_count";
  340. field public static final String _ID = "_id";
  341. }
  342. public static class Browser.SearchColumns implements android.provider.BaseColumns {
  343. ctor public Browser.SearchColumns();
  344. field public static final String DATE = "date";
  345. field public static final String SEARCH = "search";
  346. field @Deprecated public static final String URL = "url";
  347. field public static final String _COUNT = "_count";
  348. field public static final String _ID = "_id";
  349. }
  350. @Deprecated public static final class ContactsContract.Contacts.StreamItems implements android.provider.ContactsContract.StreamItemsColumns {
  351. field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items";
  352. }
  353. @Deprecated public static final class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns {
  354. field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items";
  355. field public static final String _COUNT = "_count";
  356. field public static final String _ID = "_id";
  357. }
  358. @Deprecated public static final class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns {
  359. field @Deprecated public static final String PHOTO = "photo";
  360. field public static final String _COUNT = "_count";
  361. field public static final String _ID = "_id";
  362. }
  363. @Deprecated protected static interface ContactsContract.StreamItemPhotosColumns {
  364. field @Deprecated public static final String PHOTO_FILE_ID = "photo_file_id";
  365. field @Deprecated public static final String PHOTO_URI = "photo_uri";
  366. field @Deprecated public static final String SORT_INDEX = "sort_index";
  367. field @Deprecated public static final String STREAM_ITEM_ID = "stream_item_id";
  368. field @Deprecated public static final String SYNC1 = "stream_item_photo_sync1";
  369. field @Deprecated public static final String SYNC2 = "stream_item_photo_sync2";
  370. field @Deprecated public static final String SYNC3 = "stream_item_photo_sync3";
  371. field @Deprecated public static final String SYNC4 = "stream_item_photo_sync4";
  372. }
  373. @Deprecated public static final class ContactsContract.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns {
  374. field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item";
  375. field @Deprecated public static final android.net.Uri CONTENT_LIMIT_URI;
  376. field @Deprecated public static final android.net.Uri CONTENT_PHOTO_URI;
  377. field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item";
  378. field @Deprecated public static final android.net.Uri CONTENT_URI;
  379. field @Deprecated public static final String MAX_ITEMS = "max_items";
  380. field public static final String _COUNT = "_count";
  381. field public static final String _ID = "_id";
  382. }
  383. @Deprecated public static final class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns {
  384. field @Deprecated public static final String CONTENT_DIRECTORY = "photo";
  385. field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo";
  386. field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo";
  387. field public static final String _COUNT = "_count";
  388. field public static final String _ID = "_id";
  389. }
  390. @Deprecated protected static interface ContactsContract.StreamItemsColumns {
  391. field @Deprecated public static final String ACCOUNT_NAME = "account_name";
  392. field @Deprecated public static final String ACCOUNT_TYPE = "account_type";
  393. field @Deprecated public static final String COMMENTS = "comments";
  394. field @Deprecated public static final String CONTACT_ID = "contact_id";
  395. field @Deprecated public static final String CONTACT_LOOKUP_KEY = "contact_lookup";
  396. field @Deprecated public static final String DATA_SET = "data_set";
  397. field @Deprecated public static final String RAW_CONTACT_ID = "raw_contact_id";
  398. field @Deprecated public static final String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id";
  399. field @Deprecated public static final String RES_ICON = "icon";
  400. field @Deprecated public static final String RES_LABEL = "label";
  401. field @Deprecated public static final String RES_PACKAGE = "res_package";
  402. field @Deprecated public static final String SYNC1 = "stream_item_sync1";
  403. field @Deprecated public static final String SYNC2 = "stream_item_sync2";
  404. field @Deprecated public static final String SYNC3 = "stream_item_sync3";
  405. field @Deprecated public static final String SYNC4 = "stream_item_sync4";
  406. field @Deprecated public static final String TEXT = "text";
  407. field @Deprecated public static final String TIMESTAMP = "timestamp";
  408. }
  409. public final class MediaStore {
  410. method @Deprecated @NonNull public static android.net.Uri createPending(@NonNull android.content.Context, @NonNull android.provider.MediaStore.PendingParams);
  411. method @Deprecated @NonNull public static java.util.Set<java.lang.String> getAllVolumeNames(@NonNull android.content.Context);
  412. method @Deprecated @NonNull public static android.provider.MediaStore.PendingSession openPending(@NonNull android.content.Context, @NonNull android.net.Uri);
  413. method @Deprecated @NonNull public static android.net.Uri setIncludeTrashed(@NonNull android.net.Uri);
  414. method @Deprecated public static void trash(@NonNull android.content.Context, @NonNull android.net.Uri);
  415. method @Deprecated public static void trash(@NonNull android.content.Context, @NonNull android.net.Uri, long);
  416. method @Deprecated public static void untrash(@NonNull android.content.Context, @NonNull android.net.Uri);
  417. }
  418. public static interface MediaStore.Audio.AudioColumns extends android.provider.MediaStore.MediaColumns {
  419. field public static final String DURATION = "duration";
  420. }
  421. public static interface MediaStore.DownloadColumns extends android.provider.MediaStore.MediaColumns {
  422. field @Deprecated public static final String DESCRIPTION = "description";
  423. }
  424. public static interface MediaStore.Images.ImageColumns extends android.provider.MediaStore.MediaColumns {
  425. field public static final String BUCKET_DISPLAY_NAME = "bucket_display_name";
  426. field public static final String BUCKET_ID = "bucket_id";
  427. field public static final String DATE_TAKEN = "datetaken";
  428. field public static final String GROUP_ID = "group_id";
  429. field public static final String ORIENTATION = "orientation";
  430. }
  431. public static interface MediaStore.MediaColumns extends android.provider.BaseColumns {
  432. field @Deprecated public static final String GROUP_ID = "group_id";
  433. field @Deprecated public static final String HASH = "_hash";
  434. field @Deprecated public static final String IS_TRASHED = "is_trashed";
  435. field @Deprecated public static final String PRIMARY_DIRECTORY = "primary_directory";
  436. field @Deprecated public static final String SECONDARY_DIRECTORY = "secondary_directory";
  437. }
  438. @Deprecated public static class MediaStore.PendingParams {
  439. ctor public MediaStore.PendingParams(@NonNull android.net.Uri, @NonNull String, @NonNull String);
  440. method public void setDownloadUri(@Nullable android.net.Uri);
  441. method public void setPrimaryDirectory(@Nullable String);
  442. method public void setRefererUri(@Nullable android.net.Uri);
  443. method public void setSecondaryDirectory(@Nullable String);
  444. }
  445. @Deprecated public static class MediaStore.PendingSession implements java.lang.AutoCloseable {
  446. method public void abandon();
  447. method public void close();
  448. method public void notifyProgress(@IntRange(from=0, to=100) int);
  449. method @NonNull public android.os.ParcelFileDescriptor open() throws java.io.FileNotFoundException;
  450. method @NonNull public java.io.OutputStream openOutputStream() throws java.io.FileNotFoundException;
  451. method @NonNull public android.net.Uri publish();
  452. }
  453. public static interface MediaStore.Video.VideoColumns extends android.provider.MediaStore.MediaColumns {
  454. field public static final String BUCKET_DISPLAY_NAME = "bucket_display_name";
  455. field public static final String BUCKET_ID = "bucket_id";
  456. field public static final String DATE_TAKEN = "datetaken";
  457. field public static final String DURATION = "duration";
  458. field public static final String GROUP_ID = "group_id";
  459. }
  460. public static final class Settings.Global extends android.provider.Settings.NameValueTable {
  461. field @Deprecated public static final String CONTACT_METADATA_SYNC = "contact_metadata_sync";
  462. }
  463. public static final class Settings.System extends android.provider.Settings.NameValueTable {
  464. field public static final String APPEND_FOR_LAST_AUDIBLE = "_last_audible";
  465. field public static final String VOLUME_ALARM = "volume_alarm";
  466. field public static final String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco";
  467. field public static final String VOLUME_MUSIC = "volume_music";
  468. field public static final String VOLUME_NOTIFICATION = "volume_notification";
  469. field public static final String VOLUME_RING = "volume_ring";
  470. field public static final String[] VOLUME_SETTINGS;
  471. field public static final String VOLUME_SYSTEM = "volume_system";
  472. field public static final String VOLUME_VOICE = "volume_voice";
  473. }
  474. public static final class Telephony.Sms.Intents {
  475. field public static final String SMS_EMERGENCY_CB_RECEIVED_ACTION = "android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED";
  476. }
  477. }
  478. package android.speech.tts {
  479. public abstract class UtteranceProgressListener {
  480. method @Deprecated public void onUtteranceRangeStart(String, int, int);
  481. }
  482. }
  483. package android.telephony {
  484. public class NetworkScan {
  485. method @Deprecated public void stop() throws android.os.RemoteException;
  486. }
  487. public class TelephonyManager {
  488. method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) public java.util.List<android.telephony.NeighboringCellInfo> getNeighboringCellInfo();
  489. method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.ACCESS_FINE_LOCATION}) public android.telephony.NetworkScan requestNetworkScan(android.telephony.NetworkScanRequest, android.telephony.TelephonyScanManager.NetworkScanCallback);
  490. }
  491. }
  492. package android.text.format {
  493. public class DateFormat {
  494. field @Deprecated public static final char AM_PM = 97; // 0x0061 'a'
  495. field @Deprecated public static final char CAPITAL_AM_PM = 65; // 0x0041 'A'
  496. field @Deprecated public static final char DATE = 100; // 0x0064 'd'
  497. field @Deprecated public static final char DAY = 69; // 0x0045 'E'
  498. field @Deprecated public static final char HOUR = 104; // 0x0068 'h'
  499. field @Deprecated public static final char HOUR_OF_DAY = 107; // 0x006b 'k'
  500. field @Deprecated public static final char MINUTE = 109; // 0x006d 'm'
  501. field @Deprecated public static final char MONTH = 77; // 0x004d 'M'
  502. field @Deprecated public static final char QUOTE = 39; // 0x0027 '\''
  503. field @Deprecated public static final char SECONDS = 115; // 0x0073 's'
  504. field @Deprecated public static final char STANDALONE_MONTH = 76; // 0x004c 'L'
  505. field @Deprecated public static final char TIME_ZONE = 122; // 0x007a 'z'
  506. field @Deprecated public static final char YEAR = 121; // 0x0079 'y'
  507. }
  508. }
  509. package android.text.style {
  510. public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance {
  511. ctor public RasterizerSpan(android.graphics.Rasterizer);
  512. method public android.graphics.Rasterizer getRasterizer();
  513. method public void updateDrawState(android.text.TextPaint);
  514. }
  515. }
  516. package android.util {
  517. @Deprecated public class FloatMath {
  518. method public static float ceil(float);
  519. method public static float cos(float);
  520. method public static float exp(float);
  521. method public static float floor(float);
  522. method public static float hypot(float, float);
  523. method public static float pow(float, float);
  524. method public static float sin(float);
  525. method public static float sqrt(float);
  526. }
  527. }
  528. package android.view {
  529. @UiThread public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
  530. method protected void initializeFadingEdge(android.content.res.TypedArray);
  531. method protected void initializeScrollbars(android.content.res.TypedArray);
  532. }
  533. public class ViewConfiguration {
  534. method public int getScaledScrollFactor();
  535. }
  536. public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
  537. field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
  538. }
  539. }
  540. package android.webkit {
  541. public class WebViewClient {
  542. method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
  543. }
  544. }
  545. package android.widget {
  546. @android.widget.RemoteViews.RemoteView public class ListView extends android.widget.AbsListView {
  547. method protected <T extends android.view.View> T findViewTraversal(@IdRes int);
  548. method protected <T extends android.view.View> T findViewWithTagTraversal(Object);
  549. }
  550. public class PopupWindow {
  551. method @Deprecated public boolean isClipToScreenEnabled();
  552. method @Deprecated public boolean isLayoutInScreenEnabled();
  553. method @Deprecated public void setClipToScreenEnabled(boolean);
  554. method @Deprecated public void setLayoutInScreenEnabled(boolean);
  555. }
  556. @android.widget.RemoteViews.RemoteView public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
  557. method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
  558. method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
  559. }
  560. }