diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 994 |
1 files changed, 276 insertions, 718 deletions
diff --git a/api/current.txt b/api/current.txt index 158dbb1..eabf599 100644 --- a/api/current.txt +++ b/api/current.txt @@ -23,7 +23,6 @@ package android { field public static final java.lang.String BIND_DEVICE_ADMIN = "android.permission.BIND_DEVICE_ADMIN"; field public static final java.lang.String BIND_DREAM_SERVICE = "android.permission.BIND_DREAM_SERVICE"; field public static final java.lang.String BIND_INPUT_METHOD = "android.permission.BIND_INPUT_METHOD"; - field public static final java.lang.String BIND_MEDIA_ROUTE_SERVICE = "android.permission.BIND_MEDIA_ROUTE_SERVICE"; field public static final java.lang.String BIND_NFC_SERVICE = "android.permission.BIND_NFC_SERVICE"; field public static final java.lang.String BIND_NOTIFICATION_LISTENER_SERVICE = "android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"; field public static final java.lang.String BIND_PRINT_SERVICE = "android.permission.BIND_PRINT_SERVICE"; @@ -114,7 +113,6 @@ package android { field public static final java.lang.String RECEIVE_SMS = "android.permission.RECEIVE_SMS"; field public static final java.lang.String RECEIVE_WAP_PUSH = "android.permission.RECEIVE_WAP_PUSH"; field public static final java.lang.String RECORD_AUDIO = "android.permission.RECORD_AUDIO"; - field public static final java.lang.String RECOVERY = "android.permission.RECOVERY"; field public static final java.lang.String REORDER_TASKS = "android.permission.REORDER_TASKS"; field public static final deprecated java.lang.String RESTART_PACKAGES = "android.permission.RESTART_PACKAGES"; field public static final java.lang.String SEND_RESPOND_VIA_MESSAGE = "android.permission.SEND_RESPOND_VIA_MESSAGE"; @@ -465,7 +463,6 @@ package android { field public static final int contentInsetLeft = 16843861; // 0x1010455 field public static final int contentInsetRight = 16843862; // 0x1010456 field public static final int contentInsetStart = 16843859; // 0x1010453 - field public static final int contentRatingSystemXml = 16843955; // 0x10104b3 field public static final int controlX1 = 16843798; // 0x1010416 field public static final int controlX2 = 16843800; // 0x1010418 field public static final int controlY1 = 16843799; // 0x1010417 @@ -932,6 +929,7 @@ package android { field public static final int orderingFromXml = 16843239; // 0x10101e7 field public static final int orientation = 16842948; // 0x10100c4 field public static final int outAnimation = 16843128; // 0x1010178 + field public static final int outlineProvider = 16843961; // 0x10104b9 field public static final int overScrollFooter = 16843459; // 0x10102c3 field public static final int overScrollHeader = 16843458; // 0x10102c2 field public static final int overScrollMode = 16843457; // 0x10102c1 @@ -1039,7 +1037,6 @@ package android { field public static final int required = 16843406; // 0x101028e field public static final int requiredAccountType = 16843734; // 0x10103d6 field public static final int requiredForAllUsers = 16843728; // 0x10103d0 - field public static final int requiredForProfile = 16843816; // 0x1010428 field public static final int requiresFadingEdge = 16843685; // 0x10103a5 field public static final int requiresSmallestWidthDp = 16843620; // 0x1010364 field public static final int resizeMode = 16843619; // 0x1010363 @@ -1356,6 +1353,7 @@ package android { field public static final int trimPathEnd = 16843811; // 0x1010423 field public static final int trimPathOffset = 16843812; // 0x1010424 field public static final int trimPathStart = 16843810; // 0x1010422 + field public static final int tvContentRatingDescription = 16843955; // 0x10104b3 field public static final int type = 16843169; // 0x10101a1 field public static final int typeface = 16842902; // 0x1010096 field public static final int uiOptions = 16843672; // 0x1010398 @@ -2049,6 +2047,8 @@ package android { field public static final int TextAppearance_Material_Widget_TextView = 16974381; // 0x103022d field public static final int TextAppearance_Material_Widget_TextView_PopupMenu = 16974382; // 0x103022e field public static final int TextAppearance_Material_Widget_TextView_SpinnerItem = 16974383; // 0x103022f + field public static final int TextAppearance_Material_Widget_Toolbar_Subtitle = 16974569; // 0x10302e9 + field public static final int TextAppearance_Material_Widget_Toolbar_Title = 16974568; // 0x10302e8 field public static final int TextAppearance_Material_WindowTitle = 16974361; // 0x1030219 field public static final int TextAppearance_Medium = 16973892; // 0x1030044 field public static final int TextAppearance_Medium_Inverse = 16973893; // 0x1030045 @@ -2559,6 +2559,7 @@ package android { field public static final int Widget_Material_Light_SeekBar = 16974534; // 0x10302c6 field public static final int Widget_Material_Light_SegmentedButton = 16974535; // 0x10302c7 field public static final int Widget_Material_Light_Spinner = 16974537; // 0x10302c9 + field public static final int Widget_Material_Light_Spinner_Form = 16974567; // 0x10302e7 field public static final int Widget_Material_Light_StackView = 16974536; // 0x10302c8 field public static final int Widget_Material_Light_Tab = 16974538; // 0x10302ca field public static final int Widget_Material_Light_TabWidget = 16974539; // 0x10302cb @@ -2585,6 +2586,7 @@ package android { field public static final int Widget_Material_SeekBar = 16974471; // 0x1030287 field public static final int Widget_Material_SegmentedButton = 16974472; // 0x1030288 field public static final int Widget_Material_Spinner = 16974474; // 0x103028a + field public static final int Widget_Material_Spinner_Form = 16974566; // 0x10302e6 field public static final int Widget_Material_StackView = 16974473; // 0x1030289 field public static final int Widget_Material_Tab = 16974475; // 0x103028b field public static final int Widget_Material_TabWidget = 16974476; // 0x103028c @@ -3438,7 +3440,6 @@ package android.app { method public void onAttachFragment(android.app.Fragment); method public void onAttachedToWindow(); method public void onBackPressed(); - method public void onBackgroundMediaPlayingChanged(boolean); method protected void onChildTitleChanged(android.app.Activity, java.lang.CharSequence); method public void onConfigurationChanged(android.content.res.Configuration); method public void onContentChanged(); @@ -3495,13 +3496,13 @@ package android.app { method public boolean onSearchRequested(); method protected void onStart(); method protected void onStop(); - method public void onStopMediaPlaying(); method protected void onTitleChanged(java.lang.CharSequence, int); method public boolean onTouchEvent(android.view.MotionEvent); method public boolean onTrackballEvent(android.view.MotionEvent); method public void onTrimMemory(int); method public void onUserInteraction(); method protected void onUserLeaveHint(); + method public void onVisibleBehindCancelled(); method public void onWindowAttributesChanged(android.view.WindowManager.LayoutParams); method public void onWindowFocusChanged(boolean); method public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode.Callback); @@ -3513,6 +3514,7 @@ package android.app { method public void registerForContextMenu(android.view.View); method public final deprecated void removeDialog(int); method public void reportFullyDrawn(); + method public boolean requestVisibleBehind(boolean); method public final boolean requestWindowFeature(int); method public final void runOnUiThread(java.lang.Runnable); method public void setActionBar(android.widget.Toolbar); @@ -3531,7 +3533,6 @@ package android.app { method public void setImmersive(boolean); method public void setIntent(android.content.Intent); method public final void setMediaController(android.media.session.MediaController); - method public boolean setMediaPlaying(boolean); method public final void setProgress(int); method public final void setProgressBarIndeterminate(boolean); method public final void setProgressBarIndeterminateVisibility(boolean); @@ -3772,20 +3773,11 @@ package android.app { method public void update(android.app.ActivityOptions); } - public class AlarmClockInfo implements android.os.Parcelable { - ctor public AlarmClockInfo(long, android.app.PendingIntent); - method public int describeContents(); - method public android.app.PendingIntent getShowIntent(); - method public long getTriggerTime(); - method public void writeToParcel(android.os.Parcel, int); - field public static final android.os.Parcelable.Creator CREATOR; - } - public class AlarmManager { method public void cancel(android.app.PendingIntent); - method public android.app.AlarmClockInfo getNextAlarmClock(); + method public android.app.AlarmManager.AlarmClockInfo getNextAlarmClock(); method public void set(int, long, android.app.PendingIntent); - method public void setAlarmClock(android.app.AlarmClockInfo, android.app.PendingIntent); + method public void setAlarmClock(android.app.AlarmManager.AlarmClockInfo, android.app.PendingIntent); method public void setExact(int, long, android.app.PendingIntent); method public void setInexactRepeating(int, long, long, android.app.PendingIntent); method public void setRepeating(int, long, long, android.app.PendingIntent); @@ -3804,6 +3796,15 @@ package android.app { field public static final int RTC_WAKEUP = 0; // 0x0 } + public static final class AlarmManager.AlarmClockInfo implements android.os.Parcelable { + ctor public AlarmManager.AlarmClockInfo(long, android.app.PendingIntent); + method public int describeContents(); + method public android.app.PendingIntent getShowIntent(); + method public long getTriggerTime(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator CREATOR; + } + public class AlertDialog extends android.app.Dialog implements android.content.DialogInterface { ctor protected AlertDialog(android.content.Context); ctor protected AlertDialog(android.content.Context, int); @@ -4492,6 +4493,7 @@ package android.app { public class KeyguardManager { method public deprecated void exitKeyguardSecurely(android.app.KeyguardManager.OnKeyguardExitResult); + method public android.content.Intent getConfirmDeviceCredentialIntent(java.lang.CharSequence, java.lang.CharSequence); method public boolean inKeyguardRestrictedInputMode(); method public boolean isKeyguardLocked(); method public boolean isKeyguardSecure(); @@ -5238,8 +5240,8 @@ package android.app { field public static java.lang.String ACTION_EXIT_CAR_MODE; field public static java.lang.String ACTION_EXIT_DESK_MODE; field public static final int DISABLE_CAR_MODE_GO_HOME = 1; // 0x1 + field public static final int ENABLE_CAR_MODE_ALLOW_SLEEP = 2; // 0x2 field public static final int ENABLE_CAR_MODE_GO_CAR_HOME = 1; // 0x1 - field public static final int ENABLE_CAR_MODE_NO_WAKE_LOCK = 2; // 0x2 field public static final int MODE_NIGHT_AUTO = 0; // 0x0 field public static final int MODE_NIGHT_NO = 1; // 0x1 field public static final int MODE_NIGHT_YES = 2; // 0x2 @@ -5369,7 +5371,8 @@ package android.app.admin { method public java.lang.CharSequence onDisableRequested(android.content.Context, android.content.Intent); method public void onDisabled(android.content.Context, android.content.Intent); method public void onEnabled(android.content.Context, android.content.Intent); - method public void onLockTaskModeChanged(android.content.Context, android.content.Intent, boolean, java.lang.String); + method public void onLockTaskModeEntering(android.content.Context, android.content.Intent, java.lang.String); + method public void onLockTaskModeExiting(android.content.Context, android.content.Intent); method public void onPasswordChanged(android.content.Context, android.content.Intent); method public void onPasswordExpiring(android.content.Context, android.content.Intent); method public void onPasswordFailed(android.content.Context, android.content.Intent); @@ -5379,7 +5382,8 @@ package android.app.admin { field public static final java.lang.String ACTION_DEVICE_ADMIN_DISABLED = "android.app.action.DEVICE_ADMIN_DISABLED"; field public static final java.lang.String ACTION_DEVICE_ADMIN_DISABLE_REQUESTED = "android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED"; field public static final java.lang.String ACTION_DEVICE_ADMIN_ENABLED = "android.app.action.DEVICE_ADMIN_ENABLED"; - field public static final java.lang.String ACTION_LOCK_TASK_CHANGED = "android.app.action.ACTION_LOCK_TASK_CHANGED"; + field public static final java.lang.String ACTION_LOCK_TASK_ENTERING = "android.app.action.ACTION_LOCK_TASK_ENTERING"; + field public static final java.lang.String ACTION_LOCK_TASK_EXITING = "android.app.action.ACTION_LOCK_TASK_EXITING"; field public static final java.lang.String ACTION_PASSWORD_CHANGED = "android.app.action.ACTION_PASSWORD_CHANGED"; field public static final java.lang.String ACTION_PASSWORD_EXPIRING = "android.app.action.ACTION_PASSWORD_EXPIRING"; field public static final java.lang.String ACTION_PASSWORD_FAILED = "android.app.action.ACTION_PASSWORD_FAILED"; @@ -5387,7 +5391,6 @@ package android.app.admin { field public static final java.lang.String ACTION_PROFILE_PROVISIONING_COMPLETE = "android.app.action.ACTION_PROFILE_PROVISIONING_COMPLETE"; field public static final java.lang.String DEVICE_ADMIN_META_DATA = "android.app.device_admin"; field public static final java.lang.String EXTRA_DISABLE_WARNING = "android.app.extra.DISABLE_WARNING"; - field public static final java.lang.String EXTRA_LOCK_TASK_ENTERING = "android.app.extra.LOCK_TASK_ENTERING"; field public static final java.lang.String EXTRA_LOCK_TASK_PACKAGE = "android.app.extra.LOCK_TASK_PACKAGE"; } @@ -5456,7 +5459,7 @@ package android.app.admin { method public void setCrossProfileCallerIdDisabled(android.content.ComponentName, boolean); method public void setGlobalSetting(android.content.ComponentName, java.lang.String, java.lang.String); method public void setKeyguardDisabledFeatures(android.content.ComponentName, int); - method public void setLockTaskPackages(java.lang.String[]) throws java.lang.SecurityException; + method public void setLockTaskPackages(android.content.ComponentName, java.lang.String[]) throws java.lang.SecurityException; method public void setMasterVolumeMuted(android.content.ComponentName, boolean); method public void setMaximumFailedPasswordsForWipe(android.content.ComponentName, int); method public void setMaximumTimeToLock(android.content.ComponentName, long); @@ -6752,12 +6755,6 @@ package android.bluetooth.le { package android.content { - public abstract class AbstractRestrictionsProvider extends android.content.BroadcastReceiver { - ctor public AbstractRestrictionsProvider(); - method public void onReceive(android.content.Context, android.content.Intent); - method public abstract void requestPermission(android.content.Context, java.lang.String, java.lang.String, java.lang.String, android.os.PersistableBundle); - } - public abstract class AbstractThreadedSyncAdapter { ctor public AbstractThreadedSyncAdapter(android.content.Context, boolean); ctor public AbstractThreadedSyncAdapter(android.content.Context, boolean, boolean); @@ -7682,7 +7679,6 @@ package android.content { field public static final java.lang.String ACTION_CHOOSER = "android.intent.action.CHOOSER"; field public static final java.lang.String ACTION_CLOSE_SYSTEM_DIALOGS = "android.intent.action.CLOSE_SYSTEM_DIALOGS"; field public static final java.lang.String ACTION_CONFIGURATION_CHANGED = "android.intent.action.CONFIGURATION_CHANGED"; - field public static final java.lang.String ACTION_CONFIRM_DEVICE_CREDENTIAL = "android.intent.action.CONFIRM_DEVICE_CREDENTIAL"; field public static final java.lang.String ACTION_CREATE_DOCUMENT = "android.intent.action.CREATE_DOCUMENT"; field public static final java.lang.String ACTION_CREATE_SHORTCUT = "android.intent.action.CREATE_SHORTCUT"; field public static final java.lang.String ACTION_DATE_CHANGED = "android.intent.action.DATE_CHANGED"; @@ -7702,6 +7698,7 @@ package android.content { field public static final java.lang.String ACTION_GET_RESTRICTION_ENTRIES = "android.intent.action.GET_RESTRICTION_ENTRIES"; field public static final java.lang.String ACTION_GTALK_SERVICE_CONNECTED = "android.intent.action.GTALK_CONNECTED"; field public static final java.lang.String ACTION_GTALK_SERVICE_DISCONNECTED = "android.intent.action.GTALK_DISCONNECTED"; + field public static final java.lang.String ACTION_HDMI_AUDIO_PLUG = "android.intent.action.HDMI_AUDIO_PLUG"; field public static final java.lang.String ACTION_HEADSET_PLUG = "android.intent.action.HEADSET_PLUG"; field public static final java.lang.String ACTION_INPUT_METHOD_CHANGED = "android.intent.action.INPUT_METHOD_CHANGED"; field public static final java.lang.String ACTION_INSERT = "android.intent.action.INSERT"; @@ -7825,7 +7822,6 @@ package android.content { field public static final java.lang.String EXTRA_CHANGED_PACKAGE_LIST = "android.intent.extra.changed_package_list"; field public static final java.lang.String EXTRA_CHANGED_UID_LIST = "android.intent.extra.changed_uid_list"; field public static final java.lang.String EXTRA_DATA_REMOVED = "android.intent.extra.DATA_REMOVED"; - field public static final java.lang.String EXTRA_DETAILS = "android.intent.extra.DETAILS"; field public static final java.lang.String EXTRA_DOCK_STATE = "android.intent.extra.DOCK_STATE"; field public static final int EXTRA_DOCK_STATE_CAR = 2; // 0x2 field public static final int EXTRA_DOCK_STATE_DESK = 1; // 0x1 @@ -8528,6 +8524,15 @@ package android.content.pm { field public int reqTouchScreen; } + public final class FeatureGroupInfo implements android.os.Parcelable { + ctor public FeatureGroupInfo(); + ctor public FeatureGroupInfo(android.content.pm.FeatureGroupInfo); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator CREATOR; + field public android.content.pm.FeatureInfo[] features; + } + public class FeatureInfo implements android.os.Parcelable { ctor public FeatureInfo(); ctor public FeatureInfo(android.content.pm.FeatureInfo); @@ -8542,36 +8547,6 @@ package android.content.pm { field public int reqGlEsVersion; } - public class InstallSessionInfo implements android.os.Parcelable { - method public int describeContents(); - method public android.graphics.Bitmap getAppIcon(); - method public java.lang.CharSequence getAppLabel(); - method public java.lang.String getAppPackageName(); - method public android.content.Intent getDetailsIntent(); - method public java.lang.String getInstallerPackageName(); - method public float getProgress(); - method public int getSessionId(); - method public boolean isOpen(); - method public void writeToParcel(android.os.Parcel, int); - field public static final android.os.Parcelable.Creator CREATOR; - } - - public class InstallSessionParams implements android.os.Parcelable { - ctor public InstallSessionParams(int); - method public int describeContents(); - method public void setAppIcon(android.graphics.Bitmap); - method public void setAppLabel(java.lang.CharSequence); - method public void setAppPackageName(java.lang.String); - method public void setInstallLocation(int); - method public void setOriginatingUri(android.net.Uri); - method public void setReferrerUri(android.net.Uri); - method public void setSize(long); - method public void writeToParcel(android.os.Parcel, int); - field public static final android.os.Parcelable.Creator CREATOR; - field public static final int MODE_FULL_INSTALL = 1; // 0x1 - field public static final int MODE_INHERIT_EXISTING = 2; // 0x2 - } - public class InstrumentationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { ctor public InstrumentationInfo(); ctor public InstrumentationInfo(android.content.pm.InstrumentationInfo); @@ -8616,19 +8591,26 @@ package android.content.pm { } public class LauncherApps { + method public void addCallback(android.content.pm.LauncherApps.Callback); + method public void addCallback(android.content.pm.LauncherApps.Callback, android.os.Handler); method public void addOnAppsChangedCallback(android.content.pm.LauncherApps.OnAppsChangedCallback); method public void addOnAppsChangedCallback(android.content.pm.LauncherApps.OnAppsChangedCallback, android.os.Handler); method public java.util.List<android.content.pm.LauncherActivityInfo> getActivityList(java.lang.String, android.os.UserHandle); + method public boolean isActivityEnabled(android.content.ComponentName, android.os.UserHandle); method public boolean isActivityEnabledForProfile(android.content.ComponentName, android.os.UserHandle); + method public boolean isPackageEnabled(java.lang.String, android.os.UserHandle); method public boolean isPackageEnabledForProfile(java.lang.String, android.os.UserHandle); + method public void removeCallback(android.content.pm.LauncherApps.Callback); method public void removeOnAppsChangedCallback(android.content.pm.LauncherApps.OnAppsChangedCallback); method public android.content.pm.LauncherActivityInfo resolveActivity(android.content.Intent, android.os.UserHandle); method public void showAppDetailsForProfile(android.content.ComponentName, android.os.UserHandle, android.graphics.Rect, android.os.Bundle); method public void startActivityForProfile(android.content.ComponentName, android.os.UserHandle, android.graphics.Rect, android.os.Bundle); + method public void startAppDetailsActivity(android.content.ComponentName, android.os.UserHandle, android.graphics.Rect, android.os.Bundle); + method public void startMainActivity(android.content.ComponentName, android.os.UserHandle, android.graphics.Rect, android.os.Bundle); } - public static abstract class LauncherApps.OnAppsChangedCallback { - ctor public LauncherApps.OnAppsChangedCallback(); + public static abstract class LauncherApps.Callback { + ctor public LauncherApps.Callback(); method public abstract void onPackageAdded(java.lang.String, android.os.UserHandle); method public abstract void onPackageChanged(java.lang.String, android.os.UserHandle); method public abstract void onPackageRemoved(java.lang.String, android.os.UserHandle); @@ -8636,6 +8618,10 @@ package android.content.pm { method public abstract void onPackagesUnavailable(java.lang.String[], android.os.UserHandle, boolean); } + public static abstract class LauncherApps.OnAppsChangedCallback extends android.content.pm.LauncherApps.Callback { + ctor public LauncherApps.OnAppsChangedCallback(); + } + public class PackageInfo implements android.os.Parcelable { ctor public PackageInfo(); method public int describeContents(); @@ -8649,6 +8635,7 @@ package android.content.pm { field public android.content.pm.ActivityInfo[] activities; field public android.content.pm.ApplicationInfo applicationInfo; field public android.content.pm.ConfigurationInfo[] configPreferences; + field public android.content.pm.FeatureGroupInfo[] featureGroups; field public long firstInstallTime; field public int[] gids; field public int installLocation; @@ -8673,37 +8660,35 @@ package android.content.pm { public class PackageInstaller { method public void addSessionCallback(android.content.pm.PackageInstaller.SessionCallback); method public void addSessionCallback(android.content.pm.PackageInstaller.SessionCallback, android.os.Handler); - method public int createSession(android.content.pm.InstallSessionParams) throws java.io.IOException; - method public java.util.List<android.content.pm.InstallSessionInfo> getAllSessions(); - method public java.util.List<android.content.pm.InstallSessionInfo> getMySessions(); - method public android.content.pm.InstallSessionInfo getSessionInfo(int); + method public int createSession(android.content.pm.PackageInstaller.SessionParams) throws java.io.IOException; + method public java.util.List<android.content.pm.PackageInstaller.SessionInfo> getAllSessions(); + method public java.util.List<android.content.pm.PackageInstaller.SessionInfo> getMySessions(); + method public android.content.pm.PackageInstaller.SessionInfo getSessionInfo(int); method public android.content.pm.PackageInstaller.Session openSession(int); method public void removeSessionCallback(android.content.pm.PackageInstaller.SessionCallback); - method public void uninstall(java.lang.String, android.content.pm.PackageInstaller.UninstallCallback); + method public void uninstall(java.lang.String, android.content.IntentSender); field public static final java.lang.String ACTION_SESSION_DETAILS = "android.content.pm.action.SESSION_DETAILS"; + field public static final java.lang.String EXTRA_PACKAGE_NAMES = "android.content.pm.extra.PACKAGE_NAMES"; field public static final java.lang.String EXTRA_SESSION_ID = "android.content.pm.extra.SESSION_ID"; - } - - public static abstract class PackageInstaller.CommitCallback { - ctor public PackageInstaller.CommitCallback(); - method public abstract void onFailure(int, java.lang.String, android.os.Bundle); - method public abstract void onSuccess(); - method public abstract void onUserActionRequired(android.content.Intent); - field public static final java.lang.String EXTRA_PACKAGE_NAME = "android.content.pm.extra.PACKAGE_NAME"; - field public static final int FAILURE_ABORTED = 5; // 0x5 - field public static final int FAILURE_CONFLICT = 2; // 0x2 - field public static final int FAILURE_INCOMPATIBLE = 4; // 0x4 - field public static final int FAILURE_INVALID = 1; // 0x1 - field public static final int FAILURE_STORAGE = 3; // 0x3 - field public static final int FAILURE_UNKNOWN = 0; // 0x0 + field public static final java.lang.String EXTRA_STATUS = "android.content.pm.extra.STATUS"; + field public static final java.lang.String EXTRA_STATUS_MESSAGE = "android.content.pm.extra.STATUS_MESSAGE"; + field public static final int STATUS_FAILURE = 1; // 0x1 + field public static final int STATUS_FAILURE_ABORTED = 3; // 0x3 + field public static final int STATUS_FAILURE_BLOCKED = 2; // 0x2 + field public static final int STATUS_FAILURE_CONFLICT = 5; // 0x5 + field public static final int STATUS_FAILURE_INCOMPATIBLE = 7; // 0x7 + field public static final int STATUS_FAILURE_INVALID = 4; // 0x4 + field public static final int STATUS_FAILURE_STORAGE = 6; // 0x6 + field public static final int STATUS_PENDING_USER_ACTION = -1; // 0xffffffff + field public static final int STATUS_SUCCESS = 0; // 0x0 } public static class PackageInstaller.Session implements java.io.Closeable { method public void abandon(); method public void close(); - method public void commit(android.content.pm.PackageInstaller.CommitCallback); + method public void commit(android.content.IntentSender); method public void fsync(java.io.OutputStream) throws java.io.IOException; - method public java.lang.String[] list(); + method public java.lang.String[] getNames() throws java.io.IOException; method public java.io.InputStream openRead(java.lang.String) throws java.io.IOException; method public java.io.OutputStream openWrite(java.lang.String, long, long) throws java.io.IOException; method public void setProgress(float); @@ -8718,14 +8703,34 @@ package android.content.pm { method public abstract void onProgressChanged(int, float); } - public static abstract class PackageInstaller.UninstallCallback { - ctor public PackageInstaller.UninstallCallback(); - method public abstract void onFailure(int, java.lang.String, android.os.Bundle); - method public abstract void onSuccess(); - method public abstract void onUserActionRequired(android.content.Intent); - field public static final int FAILURE_ABORTED = 2; // 0x2 - field public static final int FAILURE_BLOCKED = 1; // 0x1 - field public static final int FAILURE_UNKNOWN = 0; // 0x0 + public static class PackageInstaller.SessionInfo implements android.os.Parcelable { + method public int describeContents(); + method public android.graphics.Bitmap getAppIcon(); + method public java.lang.CharSequence getAppLabel(); + method public java.lang.String getAppPackageName(); + method public android.content.Intent getDetailsIntent(); + method public java.lang.String getInstallerPackageName(); + method public float getProgress(); + method public int getSessionId(); + method public boolean isOpen(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator CREATOR; + } + + public static class PackageInstaller.SessionParams implements android.os.Parcelable { + ctor public PackageInstaller.SessionParams(int); + method public int describeContents(); + method public void setAppIcon(android.graphics.Bitmap); + method public void setAppLabel(java.lang.CharSequence); + method public void setAppPackageName(java.lang.String); + method public void setInstallLocation(int); + method public void setOriginatingUri(android.net.Uri); + method public void setReferrerUri(android.net.Uri); + method public void setSize(long); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator CREATOR; + field public static final int MODE_FULL_INSTALL = 1; // 0x1 + field public static final int MODE_INHERIT_EXISTING = 2; // 0x2 } public class PackageItemInfo { @@ -11656,7 +11661,7 @@ package android.graphics.drawable { public class AnimatedStateListDrawable extends android.graphics.drawable.StateListDrawable { ctor public AnimatedStateListDrawable(); method public void addState(int[], android.graphics.drawable.Drawable, int); - method public void addTransition(int, int, android.graphics.drawable.Drawable, boolean); + method public void addTransition(int, int, T, boolean); } public class AnimatedVectorDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Animatable { @@ -13306,85 +13311,6 @@ package android.hardware.input { } -package android.hardware.location { - - public final class GeofenceHardware { - method public boolean addGeofence(int, int, android.hardware.location.GeofenceHardwareRequest, android.hardware.location.GeofenceHardwareCallback); - method public int[] getMonitoringTypes(); - method public int getStatusOfMonitoringType(int); - method public boolean pauseGeofence(int, int); - method public boolean registerForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback); - method public boolean removeGeofence(int, int); - method public boolean resumeGeofence(int, int, int); - method public boolean unregisterForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback); - field public static final int GEOFENCE_ENTERED = 1; // 0x1 - field public static final int GEOFENCE_ERROR_ID_EXISTS = 2; // 0x2 - field public static final int GEOFENCE_ERROR_ID_UNKNOWN = 3; // 0x3 - field public static final int GEOFENCE_ERROR_INSUFFICIENT_MEMORY = 6; // 0x6 - field public static final int GEOFENCE_ERROR_INVALID_TRANSITION = 4; // 0x4 - field public static final int GEOFENCE_ERROR_TOO_MANY_GEOFENCES = 1; // 0x1 - field public static final int GEOFENCE_EXITED = 2; // 0x2 - field public static final int GEOFENCE_FAILURE = 5; // 0x5 - field public static final int GEOFENCE_SUCCESS = 0; // 0x0 - field public static final int GEOFENCE_UNCERTAIN = 4; // 0x4 - field public static final int MONITORING_TYPE_FUSED_HARDWARE = 1; // 0x1 - field public static final int MONITORING_TYPE_GPS_HARDWARE = 0; // 0x0 - field public static final int MONITOR_CURRENTLY_AVAILABLE = 0; // 0x0 - field public static final int MONITOR_CURRENTLY_UNAVAILABLE = 1; // 0x1 - field public static final int MONITOR_UNSUPPORTED = 2; // 0x2 - field public static final int SOURCE_TECHNOLOGY_BLUETOOTH = 16; // 0x10 - field public static final int SOURCE_TECHNOLOGY_CELL = 8; // 0x8 - field public static final int SOURCE_TECHNOLOGY_GNSS = 1; // 0x1 - field public static final int SOURCE_TECHNOLOGY_SENSORS = 4; // 0x4 - field public static final int SOURCE_TECHNOLOGY_WIFI = 2; // 0x2 - } - - public abstract class GeofenceHardwareCallback { - ctor public GeofenceHardwareCallback(); - method public void onGeofenceAdd(int, int); - method public void onGeofencePause(int, int); - method public void onGeofenceRemove(int, int); - method public void onGeofenceResume(int, int); - method public void onGeofenceTransition(int, int, android.location.Location, long, int); - } - - public abstract class GeofenceHardwareMonitorCallback { - ctor public GeofenceHardwareMonitorCallback(); - method public deprecated void onMonitoringSystemChange(int, boolean, android.location.Location); - method public void onMonitoringSystemChange(android.hardware.location.GeofenceHardwareMonitorEvent); - } - - public class GeofenceHardwareMonitorEvent implements android.os.Parcelable { - ctor public GeofenceHardwareMonitorEvent(int, int, int, android.location.Location); - method public int describeContents(); - method public android.location.Location getLocation(); - method public int getMonitoringStatus(); - method public int getMonitoringType(); - method public int getSourceTechnologies(); - method public void writeToParcel(android.os.Parcel, int); - field public static final android.os.Parcelable.Creator CREATOR; - } - - public final class GeofenceHardwareRequest { - ctor public GeofenceHardwareRequest(); - method public static android.hardware.location.GeofenceHardwareRequest createCircularGeofence(double, double, double); - method public int getLastTransition(); - method public double getLatitude(); - method public double getLongitude(); - method public int getMonitorTransitions(); - method public int getNotificationResponsiveness(); - method public double getRadius(); - method public int getSourceTechnologies(); - method public int getUnknownTimer(); - method public void setLastTransition(int); - method public void setMonitorTransitions(int); - method public void setNotificationResponsiveness(int); - method public void setSourceTechnologies(int); - method public void setUnknownTimer(int); - } - -} - package android.hardware.usb { public class UsbAccessory implements android.os.Parcelable { @@ -13587,7 +13513,7 @@ package android.inputmethodservice { public class InputMethodService extends android.inputmethodservice.AbstractInputMethodService { ctor public InputMethodService(); - method public boolean enableHardwareAcceleration(); + method public deprecated boolean enableHardwareAcceleration(); method public int getBackDisposition(); method public int getCandidatesHiddenVisibility(); method public android.view.inputmethod.InputBinding getCurrentInputBinding(); @@ -15761,11 +15687,12 @@ package android.media { } public class Ringtone { - method public int getStreamType(); + method public deprecated int getStreamType(); method public java.lang.String getTitle(android.content.Context); method public boolean isPlaying(); method public void play(); - method public void setStreamType(int); + method public void setAudioAttributes(android.media.AudioAttributes) throws java.lang.IllegalArgumentException; + method public deprecated void setStreamType(int); method public void stop(); } @@ -16430,7 +16357,6 @@ package android.media.projection { public final class MediaProjection { method public void addCallback(android.media.projection.MediaProjection.Callback, android.os.Handler); - method public android.media.AudioRecord createAudioRecord(int, int, int, int); method public android.hardware.display.VirtualDisplay createVirtualDisplay(java.lang.String, int, int, int, int, android.view.Surface, android.hardware.display.VirtualDisplay.Callbacks, android.os.Handler); method public void removeCallback(android.media.projection.MediaProjection.Callback); method public void stop(); @@ -16448,242 +16374,6 @@ package android.media.projection { } -package android.media.routing { - - public final class MediaRouteSelector implements android.os.Parcelable { - method public boolean containsProtocol(java.lang.Class<?>); - method public boolean containsProtocol(java.lang.String); - method public int describeContents(); - method public android.os.Bundle getExtras(); - method public int getOptionalFeatures(); - method public java.util.List<java.lang.String> getOptionalProtocols(); - method public int getRequiredFeatures(); - method public java.util.List<java.lang.String> getRequiredProtocols(); - method public java.lang.String getServicePackageName(); - method public void writeToParcel(android.os.Parcel, int); - field public static final android.os.Parcelable.Creator CREATOR; - } - - public static final class MediaRouteSelector.Builder { - ctor public MediaRouteSelector.Builder(); - method public android.media.routing.MediaRouteSelector.Builder addOptionalProtocol(java.lang.Class<?>); - method public android.media.routing.MediaRouteSelector.Builder addOptionalProtocol(java.lang.String); - method public android.media.routing.MediaRouteSelector.Builder addRequiredProtocol(java.lang.Class<?>); - method public android.media.routing.MediaRouteSelector.Builder addRequiredProtocol(java.lang.String); - method public android.media.routing.MediaRouteSelector build(); - method public android.media.routing.MediaRouteSelector.Builder setExtras(android.os.Bundle); - method public android.media.routing.MediaRouteSelector.Builder setOptionalFeatures(int); - method public android.media.routing.MediaRouteSelector.Builder setRequiredFeatures(int); - method public android.media.routing.MediaRouteSelector.Builder setServicePackageName(java.lang.String); - } - - public abstract class MediaRouteService extends android.app.Service { - ctor public MediaRouteService(); - method public android.media.routing.MediaRouter.ServiceMetadata getServiceMetadata(); - method public android.os.IBinder onBind(android.content.Intent); - method public abstract android.media.routing.MediaRouteService.ClientSession onCreateClientSession(android.media.routing.MediaRouteService.ClientInfo); - field public static final java.lang.String SERVICE_INTERFACE = "android.media.routing.MediaRouteService"; - } - - public static final class MediaRouteService.ClientInfo { - method public java.lang.String getPackageName(); - method public int getUid(); - } - - public static abstract class MediaRouteService.ClientSession { - ctor public MediaRouteService.ClientSession(); - method public abstract boolean onConnect(android.media.routing.MediaRouter.ConnectionRequest, android.media.routing.MediaRouteService.ConnectionCallback); - method public abstract void onDisconnect(); - method public void onPauseStream(); - method public void onRelease(); - method public void onResumeStream(); - method public abstract boolean onStartDiscovery(android.media.routing.MediaRouter.DiscoveryRequest, android.media.routing.MediaRouteService.DiscoveryCallback); - method public abstract void onStopDiscovery(); - } - - public final class MediaRouteService.ConnectionCallback { - method public void onConnected(android.media.routing.MediaRouter.ConnectionInfo); - method public void onConnectionFailed(int, java.lang.CharSequence, android.os.Bundle); - method public void onDisconnected(); - } - - public final class MediaRouteService.DiscoveryCallback { - method public void onDestinationFound(android.media.routing.MediaRouter.DestinationInfo, java.util.List<android.media.routing.MediaRouter.RouteInfo>); - method public void onDestinationLost(android.media.routing.MediaRouter.DestinationInfo); - method public void onDiscoveryFailed(int, java.lang.CharSequence, android.os.Bundle); - } - - public final class MediaRouter { - ctor public MediaRouter(android.content.Context); - method public void addSelector(android.media.routing.MediaRouteSelector); - method public void clearSelectors(); - method public android.media.routing.MediaRouter.Delegate createDelegate(); - method public android.media.routing.MediaRouter.ConnectionInfo getConnection(); - method public int getConnectionState(); - method public java.util.List<android.media.routing.MediaRouter.DestinationInfo> getDiscoveredDestinations(); - method public java.util.List<android.media.routing.MediaRouter.RouteInfo> getDiscoveredRoutes(android.media.routing.MediaRouter.DestinationInfo); - method public int getDiscoveryState(); - method public android.media.AudioAttributes getPreferredAudioAttributes(); - method public android.view.Display getPreferredPresentationDisplay(); - method public android.media.VolumeProvider getPreferredVolumeProvider(); - method public android.media.routing.MediaRouter.DestinationInfo getSelectedDestination(); - method public android.media.routing.MediaRouter.RouteInfo getSelectedRoute(); - method public java.util.List<android.media.routing.MediaRouteSelector> getSelectors(); - method public boolean isReleased(); - method public void pauseStream(); - method public void release(); - method public void removeSelector(android.media.routing.MediaRouteSelector); - method public void resumeStream(); - method public void setRoutingCallback(android.media.routing.MediaRouter.RoutingCallback, android.os.Handler); - field public static final int CONNECTION_ERROR_ABORTED = 1; // 0x1 - field public static final int CONNECTION_ERROR_BARGED = 7; // 0x7 - field public static final int CONNECTION_ERROR_BROKEN = 6; // 0x6 - field public static final int CONNECTION_ERROR_BUSY = 4; // 0x4 - field public static final int CONNECTION_ERROR_TIMEOUT = 5; // 0x5 - field public static final int CONNECTION_ERROR_UNAUTHORIZED = 2; // 0x2 - field public static final int CONNECTION_ERROR_UNKNOWN = 0; // 0x0 - field public static final int CONNECTION_ERROR_UNREACHABLE = 3; // 0x3 - field public static final int CONNECTION_FLAG_BARGE = 1; // 0x1 - field public static final int CONNECTION_STATE_CONNECTED = 2; // 0x2 - field public static final int CONNECTION_STATE_CONNECTING = 1; // 0x1 - field public static final int CONNECTION_STATE_DISCONNECTED = 0; // 0x0 - field public static final int DISCONNECTION_REASON_APPLICATION_REQUEST = 0; // 0x0 - field public static final int DISCONNECTION_REASON_ERROR = 2; // 0x2 - field public static final int DISCONNECTION_REASON_USER_REQUEST = 1; // 0x1 - field public static final int DISCOVERY_ERROR_ABORTED = 1; // 0x1 - field public static final int DISCOVERY_ERROR_NO_CONNECTIVITY = 2; // 0x2 - field public static final int DISCOVERY_ERROR_UNKNOWN = 0; // 0x0 - field public static final int DISCOVERY_FLAG_BACKGROUND = 1; // 0x1 - field public static final int DISCOVERY_STATE_STARTED = 1; // 0x1 - field public static final int DISCOVERY_STATE_STOPPED = 0; // 0x0 - field public static final int ROUTE_FEATURE_LIVE_AUDIO = 1; // 0x1 - field public static final int ROUTE_FEATURE_LIVE_VIDEO = 2; // 0x2 - } - - public static final class MediaRouter.ConnectionInfo { - method public android.media.AudioAttributes getAudioAttributes(); - method public android.os.Bundle getExtras(); - method public int getFeatures(); - method public android.view.Display getPresentationDisplay(); - method public android.os.IBinder getProtocolBinder(java.lang.String); - method public android.os.IBinder getProtocolBinder(int); - method public T getProtocolObject(java.lang.Class<T>); - method public java.util.List<java.lang.String> getProtocols(); - method public android.media.routing.MediaRouter.RouteInfo getRoute(); - method public android.media.VolumeProvider getVolumeProvider(); - } - - public static final class MediaRouter.ConnectionInfo.Builder { - ctor public MediaRouter.ConnectionInfo.Builder(android.media.routing.MediaRouter.RouteInfo); - method public android.media.routing.MediaRouter.ConnectionInfo build(); - method public android.media.routing.MediaRouter.ConnectionInfo.Builder setAudioAttributes(android.media.AudioAttributes); - method public android.media.routing.MediaRouter.ConnectionInfo.Builder setExtras(android.os.Bundle); - method public android.media.routing.MediaRouter.ConnectionInfo.Builder setPresentationDisplay(android.view.Display); - method public android.media.routing.MediaRouter.ConnectionInfo.Builder setProtocolBinder(java.lang.String, android.os.IBinder); - method public android.media.routing.MediaRouter.ConnectionInfo.Builder setProtocolStub(java.lang.Class<?>, android.os.IInterface); - method public android.media.routing.MediaRouter.ConnectionInfo.Builder setVolumeProvider(android.media.VolumeProvider); - } - - public static final class MediaRouter.ConnectionRequest { - method public android.os.Bundle getExtras(); - method public int getFlags(); - method public android.media.routing.MediaRouter.RouteInfo getRoute(); - method public void setExtras(android.os.Bundle); - method public void setFlags(int); - method public void setRoute(android.media.routing.MediaRouter.RouteInfo); - } - - public static final class MediaRouter.Delegate { - ctor public MediaRouter.Delegate(); - method public void addStateCallback(android.media.routing.MediaRouter.StateCallback, android.os.Handler); - method public void connect(android.media.routing.MediaRouter.DestinationInfo, int); - method public void disconnect(int); - method public int getConnectionState(); - method public java.util.List<android.media.routing.MediaRouter.DestinationInfo> getDiscoveredDestinations(); - method public int getDiscoveryState(); - method public android.media.routing.MediaRouter.DestinationInfo getSelectedDestination(); - method public boolean isReleased(); - method public void removeStateCallback(android.media.routing.MediaRouter.StateCallback); - method public void startDiscovery(int); - method public void stopDiscovery(); - } - - public static final class MediaRouter.DestinationInfo { - method public java.lang.CharSequence getDescription(); - method public android.os.Bundle getExtras(); - method public int getIconResourceId(); - method public java.lang.String getId(); - method public java.lang.CharSequence getName(); - method public android.media.routing.MediaRouter.ServiceMetadata getServiceMetadata(); - method public android.graphics.drawable.Drawable loadIcon(android.content.pm.PackageManager); - } - - public static final class MediaRouter.DestinationInfo.Builder { - ctor public MediaRouter.DestinationInfo.Builder(java.lang.String, android.media.routing.MediaRouter.ServiceMetadata, java.lang.CharSequence); - method public android.media.routing.MediaRouter.DestinationInfo build(); - method public android.media.routing.MediaRouter.DestinationInfo.Builder setDescription(java.lang.CharSequence); - method public android.media.routing.MediaRouter.DestinationInfo.Builder setExtras(android.os.Bundle); - method public android.media.routing.MediaRouter.DestinationInfo.Builder setIconResourceId(int); - } - - public static final class MediaRouter.DiscoveryRequest { - method public int getFlags(); - method public java.util.List<android.media.routing.MediaRouteSelector> getSelectors(); - method public void setFlags(int); - method public void setSelectors(java.util.List<android.media.routing.MediaRouteSelector>); - } - - public static final class MediaRouter.RouteInfo { - method public android.media.routing.MediaRouter.DestinationInfo getDestination(); - method public android.os.Bundle getExtras(); - method public int getFeatures(); - method public java.lang.String getId(); - method public java.util.List<java.lang.String> getProtocols(); - method public android.media.routing.MediaRouteSelector getSelector(); - } - - public static final class MediaRouter.RouteInfo.Builder { - ctor public MediaRouter.RouteInfo.Builder(java.lang.String, android.media.routing.MediaRouter.DestinationInfo, android.media.routing.MediaRouteSelector); - method public android.media.routing.MediaRouter.RouteInfo.Builder addProtocol(java.lang.Class<T>); - method public android.media.routing.MediaRouter.RouteInfo.Builder addProtocol(java.lang.String); - method public android.media.routing.MediaRouter.RouteInfo build(); - method public android.media.routing.MediaRouter.RouteInfo.Builder setExtras(android.os.Bundle); - method public android.media.routing.MediaRouter.RouteInfo.Builder setFeatures(int); - } - - public static abstract class MediaRouter.RoutingCallback extends android.media.routing.MediaRouter.StateCallback { - ctor public MediaRouter.RoutingCallback(); - method public boolean onPrepareConnectionRequest(android.media.routing.MediaRouter.ConnectionRequest, android.media.routing.MediaRouter.DestinationInfo, java.util.List<android.media.routing.MediaRouter.RouteInfo>); - method public boolean onPrepareDiscoveryRequest(android.media.routing.MediaRouter.DiscoveryRequest, java.util.List<android.media.routing.MediaRouteSelector>); - } - - public static final class MediaRouter.ServiceMetadata { - method public android.content.ComponentName getComponentName(); - method public android.graphics.drawable.Drawable getIcon(android.content.pm.PackageManager); - method public java.lang.CharSequence getLabel(android.content.pm.PackageManager); - method public java.lang.String getPackageName(); - method public android.content.pm.ServiceInfo getService(); - } - - public static abstract class MediaRouter.StateCallback { - ctor public MediaRouter.StateCallback(); - method public void onConnected(); - method public void onConnecting(); - method public void onConnectionFailed(int, java.lang.CharSequence, android.os.Bundle); - method public void onConnectionStateChanged(int); - method public void onDestinationFound(android.media.routing.MediaRouter.DestinationInfo); - method public void onDestinationLost(android.media.routing.MediaRouter.DestinationInfo); - method public void onDisconnected(); - method public void onDiscoveryFailed(int, java.lang.CharSequence, android.os.Bundle); - method public void onDiscoveryStarted(); - method public void onDiscoveryStateChanged(int); - method public void onDiscoveryStopped(); - method public void onReleased(); - method public void onSelectedDestinationChanged(android.media.routing.MediaRouter.DestinationInfo); - } - -} - package android.media.session { public final class MediaController { @@ -16691,34 +16381,42 @@ package android.media.session { method public void addCallback(android.media.session.MediaController.Callback); method public void addCallback(android.media.session.MediaController.Callback, android.os.Handler); method public void adjustVolume(int, int); - method public android.media.routing.MediaRouter.Delegate createMediaRouterDelegate(); method public boolean dispatchMediaButtonEvent(android.view.KeyEvent); + method public android.media.session.MediaController.AudioInfo getAudioInfo(); method public android.os.Bundle getExtras(); method public long getFlags(); method public android.app.PendingIntent getLaunchActivity(); method public android.media.MediaMetadata getMetadata(); method public java.lang.String getPackageName(); method public android.media.session.PlaybackState getPlaybackState(); - method public java.util.List<android.media.session.MediaSession.Track> getQueue(); + method public java.util.List<android.media.session.MediaSession.Item> getQueue(); method public java.lang.CharSequence getQueueTitle(); method public int getRatingType(); method public android.media.session.MediaSession.Token getSessionToken(); method public android.media.session.MediaController.TransportControls getTransportControls(); - method public android.media.session.MediaController.VolumeInfo getVolumeInfo(); method public void removeCallback(android.media.session.MediaController.Callback); method public void sendCommand(java.lang.String, android.os.Bundle, android.os.ResultReceiver); method public void setVolumeTo(int, int); } + public static final class MediaController.AudioInfo { + method public android.media.AudioAttributes getAudioAttributes(); + method public int getCurrentVolume(); + method public int getMaxVolume(); + method public int getVolumeControl(); + method public int getVolumeType(); + } + public static abstract class MediaController.Callback { ctor public MediaController.Callback(); + method public void onAudioInfoChanged(android.media.session.MediaController.AudioInfo); method public void onExtrasChanged(android.os.Bundle); method public void onMetadataChanged(android.media.MediaMetadata); method public void onPlaybackStateChanged(android.media.session.PlaybackState); - method public void onQueueChanged(java.util.List<android.media.session.MediaSession.Track>); + method public void onQueueChanged(java.util.List<android.media.session.MediaSession.Item>); method public void onQueueTitleChanged(java.lang.CharSequence); + method public void onSessionDestroyed(); method public void onSessionEvent(java.lang.String, android.os.Bundle); - method public void onVolumeInfoChanged(android.media.session.MediaController.VolumeInfo); } public final class MediaController.TransportControls { @@ -16732,20 +16430,12 @@ package android.media.session { method public void sendCustomAction(android.media.session.PlaybackState.CustomAction, android.os.Bundle); method public void sendCustomAction(java.lang.String, android.os.Bundle); method public void setRating(android.media.Rating); + method public void skipToItem(long); method public void skipToNext(); method public void skipToPrevious(); - method public void skipToTrack(long); method public void stop(); } - public static final class MediaController.VolumeInfo { - method public android.media.AudioAttributes getAudioAttributes(); - method public int getCurrentVolume(); - method public int getMaxVolume(); - method public int getVolumeControl(); - method public int getVolumeType(); - } - public final class MediaSession { ctor public MediaSession(android.content.Context, java.lang.String); method public android.media.session.MediaController getController(); @@ -16760,12 +16450,11 @@ package android.media.session { method public void setFlags(int); method public void setLaunchActivity(android.app.PendingIntent); method public void setMediaButtonReceiver(android.app.PendingIntent); - method public void setMediaRouter(android.media.routing.MediaRouter); method public void setMetadata(android.media.MediaMetadata); method public void setPlaybackState(android.media.session.PlaybackState); method public void setPlaybackToLocal(android.media.AudioAttributes); method public void setPlaybackToRemote(android.media.VolumeProvider); - method public void setQueue(java.util.List<android.media.session.MediaSession.Track>); + method public void setQueue(java.util.List<android.media.session.MediaSession.Item>); method public void setQueueTitle(java.lang.CharSequence); field public static final int FLAG_HANDLES_MEDIA_BUTTONS = 1; // 0x1 field public static final int FLAG_HANDLES_TRANSPORT_CONTROLS = 2; // 0x2 @@ -16786,19 +16475,13 @@ package android.media.session { method public void onRewind(); method public void onSeekTo(long); method public void onSetRating(android.media.Rating); + method public void onSkipToItem(long); method public void onSkipToNext(); method public void onSkipToPrevious(); - method public void onSkipToTrack(long); method public void onStop(); } - public static final class MediaSession.Token implements android.os.Parcelable { - method public int describeContents(); - method public void writeToParcel(android.os.Parcel, int); - field public static final android.os.Parcelable.Creator CREATOR; - } - - public static final class MediaSession.Track implements android.os.Parcelable { + public static final class MediaSession.Item implements android.os.Parcelable { method public int describeContents(); method public android.os.Bundle getExtras(); method public long getId(); @@ -16809,20 +16492,25 @@ package android.media.session { field public static final int UNKNOWN_ID = -1; // 0xffffffff } - public static final class MediaSession.Track.Builder { - ctor public MediaSession.Track.Builder(android.media.MediaMetadata, long, android.net.Uri); - method public android.media.session.MediaSession.Track build(); - method public android.media.session.MediaSession.Track.Builder setExtras(android.os.Bundle); + public static final class MediaSession.Item.Builder { + ctor public MediaSession.Item.Builder(android.media.MediaMetadata, long, android.net.Uri); + method public android.media.session.MediaSession.Item build(); + method public android.media.session.MediaSession.Item.Builder setExtras(android.os.Bundle); + } + + public static final class MediaSession.Token implements android.os.Parcelable { + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator CREATOR; } public final class MediaSessionManager { - method public void addActiveSessionsListener(android.media.session.MediaSessionManager.SessionListener, android.content.ComponentName); + method public void addOnActiveSessionsChangedListener(android.media.session.MediaSessionManager.OnActiveSessionsChangedListener, android.content.ComponentName); method public java.util.List<android.media.session.MediaController> getActiveSessions(android.content.ComponentName); - method public void removeActiveSessionsListener(android.media.session.MediaSessionManager.SessionListener); + method public void removeOnActiveSessionsChangedListener(android.media.session.MediaSessionManager.OnActiveSessionsChangedListener); } - public static abstract class MediaSessionManager.SessionListener { - ctor public MediaSessionManager.SessionListener(android.content.Context); + public static abstract interface MediaSessionManager.OnActiveSessionsChangedListener { method public abstract void onActiveSessionsChanged(java.util.List<android.media.session.MediaController>); } @@ -16846,9 +16534,9 @@ package android.media.session { field public static final long ACTION_REWIND = 8L; // 0x8L field public static final long ACTION_SEEK_TO = 256L; // 0x100L field public static final long ACTION_SET_RATING = 128L; // 0x80L + field public static final long ACTION_SKIP_TO_ITEM = 4096L; // 0x1000L field public static final long ACTION_SKIP_TO_NEXT = 32L; // 0x20L field public static final long ACTION_SKIP_TO_PREVIOUS = 16L; // 0x10L - field public static final long ACTION_SKIP_TO_TRACK = 4096L; // 0x1000L field public static final long ACTION_STOP = 1L; // 0x1L field public static final android.os.Parcelable.Creator CREATOR; field public static final long PLAYBACK_POSITION_UNKNOWN = -1L; // 0xffffffffffffffffL @@ -16872,7 +16560,7 @@ package android.media.session { method public android.media.session.PlaybackState.Builder addCustomAction(android.media.session.PlaybackState.CustomAction); method public android.media.session.PlaybackState build(); method public android.media.session.PlaybackState.Builder setActions(long); - method public android.media.session.PlaybackState.Builder setActiveTrack(long); + method public android.media.session.PlaybackState.Builder setActiveItem(long); method public android.media.session.PlaybackState.Builder setBufferPosition(long); method public android.media.session.PlaybackState.Builder setErrorMessage(java.lang.CharSequence); method public android.media.session.PlaybackState.Builder setState(int, long, float, long); @@ -16913,7 +16601,7 @@ package android.media.tv { method public static final android.net.Uri buildChannelLogoUri(long); method public static final android.net.Uri buildChannelLogoUri(android.net.Uri); method public static final android.net.Uri buildChannelUri(long); - method public static final android.net.Uri buildChannelUriForPassthroughTvInput(java.lang.String); + method public static final android.net.Uri buildChannelUriForPassthroughInput(java.lang.String); method public static final android.net.Uri buildChannelsUriForInput(java.lang.String); method public static final java.lang.String buildInputId(android.content.ComponentName); method public static final android.net.Uri buildProgramUri(long); @@ -17045,7 +16733,7 @@ package android.media.tv { method public java.lang.String getParentId(); method public android.content.pm.ServiceInfo getServiceInfo(); method public int getType(); - method public boolean isPassthroughInputType(); + method public boolean isPassthroughInput(); method public android.graphics.drawable.Drawable loadIcon(android.content.Context); method public java.lang.CharSequence loadLabel(android.content.Context); method public void writeToParcel(android.os.Parcel, int); @@ -17140,6 +16828,7 @@ package android.media.tv { method public final java.lang.String getId(); method public final java.lang.String getLanguage(); method public final int getType(); + method public final float getVideoFrameRate(); method public final int getVideoHeight(); method public final int getVideoWidth(); method public void writeToParcel(android.os.Parcel, int); @@ -17156,6 +16845,7 @@ package android.media.tv { method public final android.media.tv.TvTrackInfo.Builder setAudioSampleRate(int); method public final android.media.tv.TvTrackInfo.Builder setExtra(android.os.Bundle); method public final android.media.tv.TvTrackInfo.Builder setLanguage(java.lang.String); + method public final android.media.tv.TvTrackInfo.Builder setVideoFrameRate(float); method public final android.media.tv.TvTrackInfo.Builder setVideoHeight(int); method public final android.media.tv.TvTrackInfo.Builder setVideoWidth(int); } @@ -17176,8 +16866,6 @@ package android.media.tv { method public void setStreamVolume(float); method public void setTvInputListener(android.media.tv.TvView.TvInputListener); method public void tune(java.lang.String, android.net.Uri); - field public static final int ERROR_INPUT_DISCONNECTED = 1; // 0x1 - field public static final int ERROR_INPUT_NOT_CONNECTED = 0; // 0x0 } public static abstract interface TvView.OnUnhandledInputEventListener { @@ -17187,9 +16875,10 @@ package android.media.tv { public static abstract class TvView.TvInputListener { ctor public TvView.TvInputListener(); method public void onChannelRetuned(java.lang.String, android.net.Uri); + method public void onConnectionFailed(java.lang.String); method public void onContentAllowed(java.lang.String); method public void onContentBlocked(java.lang.String, android.media.tv.TvContentRating); - method public void onError(java.lang.String, int); + method public void onDisconnected(java.lang.String); method public void onTrackSelected(java.lang.String, int, java.lang.String); method public void onTracksChanged(java.lang.String, java.util.List<android.media.tv.TvTrackInfo>); method public void onVideoAvailable(java.lang.String); @@ -22781,7 +22470,6 @@ package android.os { field public static final deprecated int FULL_WAKE_LOCK = 26; // 0x1a field public static final int ON_AFTER_RELEASE = 536870912; // 0x20000000 field public static final int PARTIAL_WAKE_LOCK = 1; // 0x1 - field public static final java.lang.String REBOOT_RECOVERY = "recovery"; field public static final deprecated int SCREEN_BRIGHT_WAKE_LOCK = 10; // 0xa field public static final deprecated int SCREEN_DIM_WAKE_LOCK = 6; // 0x6 } @@ -22999,9 +22687,9 @@ package android.os { method public boolean isUserRunning(android.os.UserHandle); method public boolean isUserRunningOrStopping(android.os.UserHandle); method public boolean setRestrictionsChallenge(java.lang.String); - method public void setUserRestriction(java.lang.String, boolean); - method public void setUserRestrictions(android.os.Bundle); - method public void setUserRestrictions(android.os.Bundle, android.os.UserHandle); + method public deprecated void setUserRestriction(java.lang.String, boolean); + method public deprecated void setUserRestrictions(android.os.Bundle); + method public deprecated void setUserRestrictions(android.os.Bundle, android.os.UserHandle); field public static final java.lang.String DISALLOW_ADD_USER = "no_add_user"; field public static final java.lang.String DISALLOW_ADJUST_VOLUME = "no_adjust_volume"; field public static final java.lang.String DISALLOW_APPS_CONTROL = "no_control_apps"; @@ -25857,8 +25545,10 @@ package android.provider { field public static final java.lang.String ACTION_SHOW_REGULATORY_INFO = "android.settings.SHOW_REGULATORY_INFO"; field public static final java.lang.String ACTION_SOUND_SETTINGS = "android.settings.SOUND_SETTINGS"; field public static final java.lang.String ACTION_SYNC_SETTINGS = "android.settings.SYNC_SETTINGS"; + field public static final java.lang.String ACTION_USAGE_ACCESS_SETTINGS = "android.settings.USAGE_ACCESS_SETTINGS"; field public static final java.lang.String ACTION_USER_DICTIONARY_SETTINGS = "android.settings.USER_DICTIONARY_SETTINGS"; field public static final java.lang.String ACTION_VOICE_CONTROL_AIRPLANE_MODE = "android.settings.VOICE_CONTROL_AIRPLANE_MODE"; + field public static final java.lang.String ACTION_VOICE_INPUT_SETTINGS = "android.settings.VOICE_INPUT_SETTINGS"; field public static final java.lang.String ACTION_WIFI_IP_SETTINGS = "android.settings.WIFI_IP_SETTINGS"; field public static final java.lang.String ACTION_WIFI_SETTINGS = "android.settings.WIFI_SETTINGS"; field public static final java.lang.String ACTION_WIRELESS_SETTINGS = "android.settings.WIRELESS_SETTINGS"; @@ -27696,6 +27386,16 @@ package android.service.notification { } +package android.service.restrictions { + + public abstract class RestrictionsReceiver extends android.content.BroadcastReceiver { + ctor public RestrictionsReceiver(); + method public void onReceive(android.content.Context, android.content.Intent); + method public abstract void onRequestPermission(android.content.Context, java.lang.String, java.lang.String, java.lang.String, android.os.PersistableBundle); + } + +} + package android.service.textservice { public abstract class SpellCheckerService extends android.app.Service { @@ -28783,70 +28483,9 @@ package android.system { package android.telecomm { - public final class Call { - method public void addListener(android.telecomm.Call.Listener); - method public void answer(int); - method public void conference(android.telecomm.Call); - method public void disconnect(); - method public java.util.List<java.lang.String> getCannedTextResponses(); - method public java.util.List<android.telecomm.Call> getChildren(); - method public java.util.List<android.telecomm.Call> getConferenceableCalls(); - method public android.telecomm.Call.Details getDetails(); - method public android.telecomm.Call getParent(); - method public java.lang.String getRemainingPostDialSequence(); - method public int getState(); - method public android.telecomm.InCallService.VideoCall getVideoCall(); - method public void hold(); - method public void phoneAccountClicked(); - method public void phoneAccountSelected(android.telecomm.PhoneAccountHandle); - method public void playDtmfTone(char); - method public void postDialContinue(boolean); - method public void reject(boolean, java.lang.String); - method public void removeListener(android.telecomm.Call.Listener); - method public void splitFromConference(); - method public void stopDtmfTone(); - method public void swapWithBackgroundCall(); - method public void unhold(); - field public static final int STATE_ACTIVE = 4; // 0x4 - field public static final int STATE_CONNECTING = 9; // 0x9 - field public static final int STATE_DIALING = 1; // 0x1 - field public static final int STATE_DISCONNECTED = 7; // 0x7 - field public static final int STATE_HOLDING = 3; // 0x3 - field public static final int STATE_NEW = 0; // 0x0 - field public static final int STATE_PRE_DIAL_WAIT = 8; // 0x8 - field public static final int STATE_RINGING = 2; // 0x2 - } - - public static class Call.Details { - method public android.telecomm.PhoneAccountHandle getAccountHandle(); - method public int getCallCapabilities(); - method public java.lang.String getCallerDisplayName(); - method public int getCallerDisplayNamePresentation(); - method public long getConnectTimeMillis(); - method public int getDisconnectCauseCode(); - method public java.lang.String getDisconnectCauseMsg(); - method public android.telecomm.GatewayInfo getGatewayInfo(); - method public android.net.Uri getHandle(); - method public int getHandlePresentation(); - method public android.telecomm.StatusHints getStatusHints(); - method public int getVideoState(); - } - - public static abstract class Call.Listener { - ctor public Call.Listener(); - method public void onCallDestroyed(android.telecomm.Call); - method public void onCannedTextResponsesLoaded(android.telecomm.Call, java.util.List<java.lang.String>); - method public void onChildrenChanged(android.telecomm.Call, java.util.List<android.telecomm.Call>); - method public void onConferenceableCallsChanged(android.telecomm.Call, java.util.List<android.telecomm.Call>); - method public void onDetailsChanged(android.telecomm.Call, android.telecomm.Call.Details); - method public void onParentChanged(android.telecomm.Call, android.telecomm.Call); - method public void onPostDialWait(android.telecomm.Call, java.lang.String); - method public void onStartActivity(android.telecomm.Call, android.app.PendingIntent); - method public void onStateChanged(android.telecomm.Call, int); - method public void onVideoCallChanged(android.telecomm.Call, android.telecomm.InCallService.VideoCall); - } - - public final class CallAudioState implements android.os.Parcelable { + public final class AudioState implements android.os.Parcelable { + ctor public AudioState(boolean, int, int); + ctor public AudioState(android.telecomm.AudioState); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; @@ -28861,8 +28500,8 @@ package android.telecomm { field public final int supportedRouteMask; } - public final class CallCameraCapabilities implements android.os.Parcelable { - ctor public CallCameraCapabilities(boolean, float, int, int); + public final class CameraCapabilities implements android.os.Parcelable { + ctor public CameraCapabilities(boolean, float, int, int); method public int describeContents(); method public int getHeight(); method public float getMaxZoom(); @@ -28872,69 +28511,48 @@ package android.telecomm { field public static final android.os.Parcelable.Creator CREATOR; } - public final class CallCapabilities { - method public static java.lang.String toString(int); - field public static final int ADD_CALL = 16; // 0x10 - field public static final int ALL = 3327; // 0xcff - field public static final int GENERIC_CONFERENCE = 128; // 0x80 - field public static final int HOLD = 1; // 0x1 - field public static final int MERGE_CALLS = 4; // 0x4 - field public static final int MUTE = 64; // 0x40 - field public static final int RESPOND_VIA_TEXT = 32; // 0x20 - field public static final int SUPPORTS_VT_LOCAL = 256; // 0x100 - field public static final int SUPPORTS_VT_REMOTE = 512; // 0x200 - field public static final int SUPPORT_HOLD = 2; // 0x2 - field public static final int SWAP_CALLS = 8; // 0x8 - field public static final int VoLTE = 1024; // 0x400 - field public static final int VoWIFI = 2048; // 0x800 - } - - public class CallPropertyPresentation { - ctor public CallPropertyPresentation(); - field public static final int ALLOWED = 1; // 0x1 - field public static final int PAYPHONE = 4; // 0x4 - field public static final int RESTRICTED = 2; // 0x2 - field public static final int UNKNOWN = 3; // 0x3 - } - - public final class CallState extends java.lang.Enum { - method public static android.telecomm.CallState valueOf(java.lang.String); - method public static final android.telecomm.CallState[] values(); - enum_constant public static final android.telecomm.CallState ACTIVE; - enum_constant public static final android.telecomm.CallState CONNECTING; - enum_constant public static final android.telecomm.CallState DIALING; - enum_constant public static final android.telecomm.CallState DISCONNECTED; - enum_constant public static final android.telecomm.CallState NEW; - enum_constant public static final android.telecomm.CallState ON_HOLD; - enum_constant public static final android.telecomm.CallState PRE_DIAL_WAIT; - enum_constant public static final android.telecomm.CallState RINGING; + public abstract class Conference { + ctor public Conference(android.telecomm.PhoneAccountHandle); + method public boolean addConnection(android.telecomm.Connection); + method public void destroy(); + method public final int getCapabilities(); + method public final java.util.List<android.telecomm.Connection> getConnections(); + method public final android.telecomm.PhoneAccountHandle getPhoneAccount(); + method public final int getState(); + method public void onDisconnect(); + method public void onHold(); + method public void onSeparate(android.telecomm.Connection); + method public void onUnhold(); + method public void removeConnection(android.telecomm.Connection); + method public final void setActive(); + method public final void setCapabilities(int); + method public final void setDisconnected(int, java.lang.String); + method public final void setOnHold(); } public abstract class Connection { ctor public Connection(); + method public static android.telecomm.Connection createCanceledConnection(); + method public static android.telecomm.Connection createFailedConnection(int, java.lang.String); method public final void destroy(); method public final boolean getAudioModeIsVoip(); - method public final android.telecomm.CallAudioState getCallAudioState(); + method public final android.telecomm.AudioState getAudioState(); method public final int getCallCapabilities(); method public final java.lang.String getCallerDisplayName(); method public final int getCallerDisplayNamePresentation(); - method public static android.telecomm.Connection getCanceledConnection(); - method public final java.util.List<android.telecomm.Connection> getChildConnections(); - method public static android.telecomm.Connection getFailedConnection(int, java.lang.String); + method public final android.telecomm.Conference getConference(); + method public final java.util.List<android.telecomm.Connection> getConferenceableConnections(); method public final int getFailureCode(); method public final java.lang.String getFailureMessage(); method public final android.net.Uri getHandle(); method public final int getHandlePresentation(); - method public final android.telecomm.Connection getParentConnection(); method public final int getState(); method public final android.telecomm.StatusHints getStatusHints(); - method public final android.telecomm.ConnectionService.VideoCallProvider getVideoCallProvider(); + method public final android.telecomm.Connection.VideoProvider getVideoProvider(); method public final int getVideoState(); - method public final boolean isConferenceConnection(); method public final boolean isRequestingRingback(); method public void onAbort(); method public void onAnswer(int); - method public void onChildrenChanged(java.util.List<android.telecomm.Connection>); method public void onConferenceWith(android.telecomm.Connection); method public void onDisconnect(); method public void onHold(); @@ -28943,53 +28561,72 @@ package android.telecomm { method public void onPostDialContinue(boolean); method public void onReject(); method public void onSeparate(); - method public void onSetAudioState(android.telecomm.CallAudioState); + method public void onSetAudioState(android.telecomm.AudioState); method public void onSetState(int); method public void onStopDtmfTone(); - method public void onSwapWithBackgroundCall(); method public void onUnhold(); method public final void setActive(); method public final void setAudioModeIsVoip(boolean); method public final void setCallCapabilities(int); method public final void setCallerDisplayName(java.lang.String, int); - method public final void setCanceled(); method public final void setConferenceableConnections(java.util.List<android.telecomm.Connection>); + method public final void setConnectionService(android.telecomm.ConnectionService); method public final void setDialing(); method public final void setDisconnected(int, java.lang.String); - method public final void setFailed(int, java.lang.String); method public final void setHandle(android.net.Uri, int); method public final void setInitialized(); method public final void setInitializing(); method public final void setOnHold(); - method public final void setParentConnection(android.telecomm.Connection); method public final void setPostDialWait(java.lang.String); method public final void setRequestingRingback(boolean); method public final void setRinging(); - method public final void setSignal(android.os.Bundle); method public final void setStatusHints(android.telecomm.StatusHints); - method public final void setVideoCallProvider(android.telecomm.ConnectionService.VideoCallProvider); + method public final void setVideoProvider(android.telecomm.Connection.VideoProvider); method public final void setVideoState(int); method public final void startActivityFromInCall(android.app.PendingIntent); method public static java.lang.String stateToString(int); + field public static final int STATE_ACTIVE = 4; // 0x4 + field public static final int STATE_DIALING = 3; // 0x3 + field public static final int STATE_DISCONNECTED = 6; // 0x6 + field public static final int STATE_HOLDING = 5; // 0x5 + field public static final int STATE_INITIALIZING = 0; // 0x0 + field public static final int STATE_NEW = 1; // 0x1 + field public static final int STATE_RINGING = 2; // 0x2 } - public final class Connection.State { - field public static final int ACTIVE = 4; // 0x4 - field public static final int CANCELED = 8; // 0x8 - field public static final int DIALING = 3; // 0x3 - field public static final int DISCONNECTED = 6; // 0x6 - field public static final int FAILED = 7; // 0x7 - field public static final int HOLDING = 5; // 0x5 - field public static final int INITIALIZING = 0; // 0x0 - field public static final int NEW = 1; // 0x1 - field public static final int RINGING = 2; // 0x2 + public static abstract class Connection.VideoProvider { + ctor public Connection.VideoProvider(); + method public void changeCallDataUsage(int); + method public void changeCameraCapabilities(android.telecomm.CameraCapabilities); + method public void changePeerDimensions(int, int); + method public void handleCallSessionEvent(int); + method public abstract void onRequestCallDataUsage(); + method public abstract void onRequestCameraCapabilities(); + method public abstract void onSendSessionModifyRequest(android.telecomm.VideoProfile); + method public abstract void onSendSessionModifyResponse(android.telecomm.VideoProfile); + method public abstract void onSetCamera(java.lang.String); + method public abstract void onSetDeviceOrientation(int); + method public abstract void onSetDisplaySurface(android.view.Surface); + method public abstract void onSetPauseImage(java.lang.String); + method public abstract void onSetPreviewSurface(android.view.Surface); + method public abstract void onSetZoom(float); + method public void receiveSessionModifyRequest(android.telecomm.VideoProfile); + method public void receiveSessionModifyResponse(int, android.telecomm.VideoProfile, android.telecomm.VideoProfile); + field public static final int SESSION_EVENT_CAMERA_FAILURE = 5; // 0x5 + field public static final int SESSION_EVENT_CAMERA_READY = 6; // 0x6 + field public static final int SESSION_EVENT_RX_PAUSE = 1; // 0x1 + field public static final int SESSION_EVENT_RX_RESUME = 2; // 0x2 + field public static final int SESSION_EVENT_TX_START = 3; // 0x3 + field public static final int SESSION_EVENT_TX_STOP = 4; // 0x4 + field public static final int SESSION_MODIFY_REQUEST_FAIL = 2; // 0x2 + field public static final int SESSION_MODIFY_REQUEST_INVALID = 3; // 0x3 + field public static final int SESSION_MODIFY_REQUEST_SUCCESS = 1; // 0x1 } public final class ConnectionRequest implements android.os.Parcelable { - ctor public ConnectionRequest(android.telecomm.PhoneAccountHandle, java.lang.String, android.net.Uri, int, android.os.Bundle, int); + ctor public ConnectionRequest(android.telecomm.PhoneAccountHandle, android.net.Uri, int, android.os.Bundle, int); method public int describeContents(); method public android.telecomm.PhoneAccountHandle getAccountHandle(); - method public java.lang.String getCallId(); method public android.os.Bundle getExtras(); method public android.net.Uri getHandle(); method public int getHandlePresentation(); @@ -29000,44 +28637,19 @@ package android.telecomm { public abstract class ConnectionService extends android.app.Service { ctor public ConnectionService(); + method public final void addConference(android.telecomm.Conference); method public final android.telecomm.RemoteConnection createRemoteIncomingConnection(android.telecomm.PhoneAccountHandle, android.telecomm.ConnectionRequest); method public final android.telecomm.RemoteConnection createRemoteOutgoingConnection(android.telecomm.PhoneAccountHandle, android.telecomm.ConnectionRequest); method public final java.util.Collection<android.telecomm.Connection> getAllConnections(); method public final android.os.IBinder onBind(android.content.Intent); + method public void onConference(android.telecomm.Connection, android.telecomm.Connection); method public void onConnectionAdded(android.telecomm.Connection); method public void onConnectionRemoved(android.telecomm.Connection); - method public void onCreateConferenceConnection(java.lang.String, android.telecomm.Connection, android.telecomm.Response<java.lang.String, android.telecomm.Connection>); method public android.telecomm.Connection onCreateIncomingConnection(android.telecomm.PhoneAccountHandle, android.telecomm.ConnectionRequest); method public android.telecomm.Connection onCreateOutgoingConnection(android.telecomm.PhoneAccountHandle, android.telecomm.ConnectionRequest); field public static final java.lang.String SERVICE_INTERFACE = "android.telecomm.ConnectionService"; } - public static abstract interface ConnectionService.CreateConnectionResponse { - method public abstract void onCancel(android.telecomm.ConnectionRequest); - method public abstract void onFailure(android.telecomm.ConnectionRequest, int, java.lang.String); - method public abstract void onSuccess(android.telecomm.ConnectionRequest, CONNECTION); - } - - public static abstract class ConnectionService.VideoCallProvider { - ctor public ConnectionService.VideoCallProvider(); - method public void changeCallDataUsage(int); - method public void changeCameraCapabilities(android.telecomm.CallCameraCapabilities); - method public void changePeerDimensions(int, int); - method public void handleCallSessionEvent(int); - method public void onRequestCallDataUsage(); - method public void onRequestCameraCapabilities(); - method public void onSendSessionModifyRequest(android.telecomm.VideoCallProfile); - method public void onSendSessionModifyResponse(android.telecomm.VideoCallProfile); - method public void onSetCamera(java.lang.String); - method public void onSetDeviceOrientation(int); - method public void onSetDisplaySurface(android.view.Surface); - method public void onSetPauseImage(java.lang.String); - method public void onSetPreviewSurface(android.view.Surface); - method public void onSetZoom(float); - method public void receiveSessionModifyRequest(android.telecomm.VideoCallProfile); - method public void receiveSessionModifyResponse(int, android.telecomm.VideoCallProfile, android.telecomm.VideoCallProfile); - } - public class GatewayInfo implements android.os.Parcelable { method public int describeContents(); method public android.net.Uri getGatewayHandle(); @@ -29048,87 +28660,8 @@ package android.telecomm { field public static final android.os.Parcelable.Creator CREATOR; } - public final class InCallAdapter { - method public void answerCall(java.lang.String, int); - method public void disconnectCall(java.lang.String); - method public void holdCall(java.lang.String); - method public void mute(boolean); - method public void phoneAccountClicked(java.lang.String); - method public void phoneAccountSelected(java.lang.String, android.telecomm.PhoneAccountHandle); - method public void playDtmfTone(java.lang.String, char); - method public void postDialContinue(java.lang.String, boolean); - method public void rejectCall(java.lang.String, boolean, java.lang.String); - method public void setAudioRoute(int); - method public void stopDtmfTone(java.lang.String); - method public void swapWithBackgroundCall(java.lang.String); - method public void turnProximitySensorOff(boolean); - method public void turnProximitySensorOn(); - method public void unholdCall(java.lang.String); - } - - public abstract class InCallService extends android.app.Service { - ctor public InCallService(); - method public android.telecomm.Phone getPhone(); - method public android.os.IBinder onBind(android.content.Intent); - method public void onPhoneCreated(android.telecomm.Phone); - method public void onPhoneDestroyed(android.telecomm.Phone); - } - - public static abstract class InCallService.VideoCall { - ctor public InCallService.VideoCall(); - method public abstract void requestCallDataUsage(); - method public abstract void requestCameraCapabilities(); - method public abstract void sendSessionModifyRequest(android.telecomm.VideoCallProfile); - method public abstract void sendSessionModifyResponse(android.telecomm.VideoCallProfile); - method public abstract void setCamera(java.lang.String); - method public abstract void setDeviceOrientation(int); - method public abstract void setDisplaySurface(android.view.Surface); - method public abstract void setPauseImage(java.lang.String); - method public abstract void setPreviewSurface(android.view.Surface); - method public abstract void setVideoCallListener(android.telecomm.InCallService.VideoCall.Listener); - method public abstract void setZoom(float); - field public static final int SESSION_EVENT_CAMERA_FAILURE = 5; // 0x5 - field public static final int SESSION_EVENT_CAMERA_READY = 6; // 0x6 - field public static final int SESSION_EVENT_RX_PAUSE = 1; // 0x1 - field public static final int SESSION_EVENT_RX_RESUME = 2; // 0x2 - field public static final int SESSION_EVENT_TX_START = 3; // 0x3 - field public static final int SESSION_EVENT_TX_STOP = 4; // 0x4 - field public static final int SESSION_MODIFY_REQUEST_FAIL = 2; // 0x2 - field public static final int SESSION_MODIFY_REQUEST_INVALID = 3; // 0x3 - field public static final int SESSION_MODIFY_REQUEST_SUCCESS = 1; // 0x1 - } - - public static abstract class InCallService.VideoCall.Listener { - ctor public InCallService.VideoCall.Listener(); - method public abstract void onCallDataUsageChanged(int); - method public abstract void onCallSessionEvent(int); - method public abstract void onCameraCapabilitiesChanged(android.telecomm.CallCameraCapabilities); - method public abstract void onPeerDimensionsChanged(int, int); - method public abstract void onSessionModifyRequestReceived(android.telecomm.VideoCallProfile); - method public abstract void onSessionModifyResponseReceived(int, android.telecomm.VideoCallProfile, android.telecomm.VideoCallProfile); - } - - public final class Phone { - method public final void addListener(android.telecomm.Phone.Listener); - method public final android.telecomm.CallAudioState getAudioState(); - method public final java.util.List<android.telecomm.Call> getCalls(); - method public final void removeListener(android.telecomm.Phone.Listener); - method public final void setAudioRoute(int); - method public final void setMuted(boolean); - method public final void setProximitySensorOff(boolean); - method public final void setProximitySensorOn(); - } - - public static abstract class Phone.Listener { - ctor public Phone.Listener(); - method public void onAudioStateChanged(android.telecomm.Phone, android.telecomm.CallAudioState); - method public void onBringToForeground(android.telecomm.Phone, boolean); - method public void onCallAdded(android.telecomm.Phone, android.telecomm.Call); - method public void onCallRemoved(android.telecomm.Phone, android.telecomm.Call); - } - public class PhoneAccount implements android.os.Parcelable { - ctor public PhoneAccount(android.telecomm.PhoneAccountHandle, android.net.Uri, java.lang.String, int, int, java.lang.CharSequence, java.lang.CharSequence); + method public static android.telecomm.PhoneAccount.Builder builder(); method public int describeContents(); method public android.telecomm.PhoneAccountHandle getAccountHandle(); method public int getCapabilities(); @@ -29145,6 +28678,17 @@ package android.telecomm { field public static final android.os.Parcelable.Creator CREATOR; } + public static class PhoneAccount.Builder { + method public android.telecomm.PhoneAccount build(); + method public android.telecomm.PhoneAccount.Builder withAccountHandle(android.telecomm.PhoneAccountHandle); + method public android.telecomm.PhoneAccount.Builder withCapabilities(int); + method public android.telecomm.PhoneAccount.Builder withHandle(android.net.Uri); + method public android.telecomm.PhoneAccount.Builder withIconResId(int); + method public android.telecomm.PhoneAccount.Builder withLabel(java.lang.CharSequence); + method public android.telecomm.PhoneAccount.Builder withShortDescription(java.lang.CharSequence); + method public android.telecomm.PhoneAccount.Builder withSubscriptionNumber(java.lang.String); + } + public class PhoneAccountHandle implements android.os.Parcelable { ctor public PhoneAccountHandle(android.content.ComponentName, java.lang.String); method public int describeContents(); @@ -29154,6 +28698,31 @@ package android.telecomm { field public static final android.os.Parcelable.Creator CREATOR; } + public final class PhoneCapabilities { + method public static java.lang.String toString(int); + field public static final int ADD_CALL = 16; // 0x10 + field public static final int ALL = 3327; // 0xcff + field public static final int GENERIC_CONFERENCE = 128; // 0x80 + field public static final int HOLD = 1; // 0x1 + field public static final int MERGE_CALLS = 4; // 0x4 + field public static final int MUTE = 64; // 0x40 + field public static final int RESPOND_VIA_TEXT = 32; // 0x20 + field public static final int SUPPORTS_VT_LOCAL = 256; // 0x100 + field public static final int SUPPORTS_VT_REMOTE = 512; // 0x200 + field public static final int SUPPORT_HOLD = 2; // 0x2 + field public static final int SWAP_CALLS = 8; // 0x8 + field public static final int VoLTE = 1024; // 0x400 + field public static final int VoWIFI = 2048; // 0x800 + } + + public class PropertyPresentation { + ctor public PropertyPresentation(); + field public static final int ALLOWED = 1; // 0x1 + field public static final int PAYPHONE = 4; // 0x4 + field public static final int RESTRICTED = 2; // 0x2 + field public static final int UNKNOWN = 3; // 0x3 + } + public final class RemoteConnection { method public void abort(); method public void addListener(android.telecomm.RemoteConnection.Listener); @@ -29180,9 +28749,8 @@ package android.telecomm { method public void postDialContinue(boolean); method public void reject(); method public void removeListener(android.telecomm.RemoteConnection.Listener); - method public void setAudioState(android.telecomm.CallAudioState); + method public void setAudioState(android.telecomm.AudioState); method public void stopDtmfTone(); - method public void swapWithBackgroundCall(); method public void unhold(); } @@ -29210,18 +28778,13 @@ package android.telecomm { method public abstract void onResult(IN, OUT...); } - public abstract interface SimpleResponse { - method public abstract void onError(IN); - method public abstract void onResult(IN, OUT); - } - public final class StatusHints implements android.os.Parcelable { ctor public StatusHints(android.content.ComponentName, java.lang.CharSequence, int, android.os.Bundle); method public int describeContents(); method public android.content.ComponentName getComponentName(); method public android.os.Bundle getExtras(); method public android.graphics.drawable.Drawable getIcon(android.content.Context); - method public int getIconId(); + method public int getIconResId(); method public java.lang.CharSequence getLabel(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; @@ -29249,23 +28812,9 @@ package android.telecomm { field public static final java.lang.String EXTRA_START_CALL_WITH_VIDEO_STATE = "android.intent.extra.START_CALL_WITH_VIDEO_STATE"; } - public class VideoCallImpl extends android.telecomm.InCallService.VideoCall { - method public void requestCallDataUsage(); - method public void requestCameraCapabilities(); - method public void sendSessionModifyRequest(android.telecomm.VideoCallProfile); - method public void sendSessionModifyResponse(android.telecomm.VideoCallProfile); - method public void setCamera(java.lang.String); - method public void setDeviceOrientation(int); - method public void setDisplaySurface(android.view.Surface); - method public void setPauseImage(java.lang.String); - method public void setPreviewSurface(android.view.Surface); - method public void setVideoCallListener(android.telecomm.InCallService.VideoCall.Listener); - method public void setZoom(float); - } - - public class VideoCallProfile implements android.os.Parcelable { - ctor public VideoCallProfile(int); - ctor public VideoCallProfile(int, int); + public class VideoProfile implements android.os.Parcelable { + ctor public VideoProfile(int); + ctor public VideoProfile(int, int); method public int describeContents(); method public int getQuality(); method public int getVideoState(); @@ -29277,8 +28826,8 @@ package android.telecomm { field public static final int QUALITY_MEDIUM = 2; // 0x2 } - public static class VideoCallProfile.VideoState { - ctor public VideoCallProfile.VideoState(); + public static class VideoProfile.VideoState { + ctor public VideoProfile.VideoState(); method public static boolean isAudioOnly(int); method public static boolean isBidirectional(int); method public static boolean isPaused(int); @@ -29828,6 +29377,7 @@ package android.telephony { method public int hasCarrierPrivileges(); method public boolean hasIccCard(); method public boolean iccCloseLogicalChannel(int); + method public byte[] iccExchangeSimIO(int, int, int, int, int, java.lang.String); method public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannel(java.lang.String); method public java.lang.String iccTransmitApduBasicChannel(int, int, int, int, int, java.lang.String); method public java.lang.String iccTransmitApduLogicalChannel(int, int, int, int, int, int, java.lang.String); @@ -30784,6 +30334,7 @@ package android.text { public static class InputFilter.LengthFilter implements android.text.InputFilter { ctor public InputFilter.LengthFilter(int); method public java.lang.CharSequence filter(java.lang.CharSequence, int, int, android.text.Spanned, int, int); + method public int getMax(); } public abstract interface InputType { @@ -32428,6 +31979,8 @@ package android.transition { method public void captureEndValues(android.transition.TransitionValues); method public void captureStartValues(android.transition.TransitionValues); method public int getOrdering(); + method public android.transition.Transition getTransitionAt(int); + method public int getTransitionCount(); method public android.transition.TransitionSet removeTransition(android.transition.Transition); method public android.transition.TransitionSet setOrdering(int); field public static final int ORDERING_SEQUENTIAL = 1; // 0x1 @@ -32592,6 +32145,7 @@ package android.util { method public void setTo(android.util.DisplayMetrics); method public void setToDefaults(); field public static final int DENSITY_400 = 400; // 0x190 + field public static final int DENSITY_560 = 560; // 0x230 field public static final int DENSITY_DEFAULT = 160; // 0xa0 field public static final int DENSITY_HIGH = 240; // 0xf0 field public static final int DENSITY_LOW = 120; // 0x78 @@ -35377,6 +34931,8 @@ package android.view { ctor public ViewOutlineProvider(); method public abstract void getOutline(android.view.View, android.graphics.Outline); field public static final android.view.ViewOutlineProvider BACKGROUND; + field public static final android.view.ViewOutlineProvider BOUNDS; + field public static final android.view.ViewOutlineProvider PADDED_BOUNDS; } public class ViewOverlay { @@ -36017,6 +35573,7 @@ package android.view.accessibility { method public android.view.accessibility.AccessibilityNodeInfo getLabelFor(); method public android.view.accessibility.AccessibilityNodeInfo getLabeledBy(); method public int getLiveRegion(); + method public int getMaxTextLength(); method public int getMovementGranularities(); method public java.lang.CharSequence getPackageName(); method public android.view.accessibility.AccessibilityNodeInfo getParent(); @@ -36080,6 +35637,7 @@ package android.view.accessibility { method public void setLabeledBy(android.view.View, int); method public void setLiveRegion(int); method public void setLongClickable(boolean); + method public void setMaxTextLength(int); method public void setMovementGranularities(int); method public void setMultiLine(boolean); method public void setPackageName(java.lang.CharSequence); |