Merge "NetworkCapabilities: fix describeImmutableDifferences" am: 7575ec2240
am: f6346af47e
Change-Id: Ieccad46fcffcaf748f5644b04617e9a82527000e
diff --git a/Android.mk b/Android.mk
index b221309..122c597 100644
--- a/Android.mk
+++ b/Android.mk
@@ -991,7 +991,7 @@
-since $(SRC_API_DIR)/23.txt 23 \
-since $(SRC_API_DIR)/24.txt 24 \
-since $(SRC_API_DIR)/25.txt 25 \
- -since ./frameworks/base/api/current.txt O \
+ -since $(SRC_API_DIR)/26.txt 26 \
-werror -hide 111 -hide 113 -hide 121 \
-overview $(LOCAL_PATH)/core/java/overview.html \
diff --git a/api/current.txt b/api/current.txt
index 83448ae..e4084e5 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -3163,7 +3163,6 @@
public final class AnimatorSet extends android.animation.Animator {
ctor public AnimatorSet();
- method public android.animation.AnimatorSet clone();
method public java.util.ArrayList<android.animation.Animator> getChildAnimations();
method public long getCurrentPlayTime();
method public long getDuration();
@@ -3282,7 +3281,6 @@
public final class ObjectAnimator extends android.animation.ValueAnimator {
ctor public ObjectAnimator();
- method public android.animation.ObjectAnimator clone();
method public java.lang.String getPropertyName();
method public java.lang.Object getTarget();
method public static android.animation.ObjectAnimator ofArgb(java.lang.Object, java.lang.String, int...);
@@ -3308,7 +3306,6 @@
method public static <T, V> android.animation.ObjectAnimator ofObject(T, android.util.Property<T, V>, android.animation.TypeConverter<android.graphics.PointF, V>, android.graphics.Path);
method public static android.animation.ObjectAnimator ofPropertyValuesHolder(java.lang.Object, android.animation.PropertyValuesHolder...);
method public void setAutoCancel(boolean);
- method public android.animation.ObjectAnimator setDuration(long);
method public void setProperty(android.util.Property);
method public void setPropertyName(java.lang.String);
}
@@ -3390,7 +3387,6 @@
ctor public ValueAnimator();
method public void addUpdateListener(android.animation.ValueAnimator.AnimatorUpdateListener);
method public static boolean areAnimatorsEnabled();
- method public android.animation.ValueAnimator clone();
method public float getAnimatedFraction();
method public java.lang.Object getAnimatedValue();
method public java.lang.Object getAnimatedValue(java.lang.String);
@@ -4964,7 +4960,6 @@
ctor public IntentService(java.lang.String);
method public android.os.IBinder onBind(android.content.Intent);
method protected abstract void onHandleIntent(android.content.Intent);
- method public void onStart(android.content.Intent, int);
method public void setIntentRedelivery(boolean);
}
@@ -11046,7 +11041,6 @@
public static class AssetFileDescriptor.AutoCloseInputStream extends android.os.ParcelFileDescriptor.AutoCloseInputStream {
ctor public AssetFileDescriptor.AutoCloseInputStream(android.content.res.AssetFileDescriptor) throws java.io.IOException;
- method public void mark(int);
}
public static class AssetFileDescriptor.AutoCloseOutputStream extends android.os.ParcelFileDescriptor.AutoCloseOutputStream {
@@ -11354,7 +11348,6 @@
method public void copyStringToBuffer(int, android.database.CharArrayBuffer);
method public void deactivate();
method public void fillWindow(int, android.database.CursorWindow);
- method protected void finalize();
method public byte[] getBlob(int);
method public int getColumnCount();
method public int getColumnIndex(java.lang.String);
@@ -13829,7 +13822,6 @@
method public void scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long);
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setOpacity(int);
method public void unscheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable);
}
@@ -13910,7 +13902,6 @@
method public void setAlpha(int);
method public void setAntiAlias(boolean);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setGravity(int);
method public void setMipMap(boolean);
method public void setTargetDensity(android.graphics.Canvas);
@@ -14036,7 +14027,6 @@
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
method protected void setConstantState(android.graphics.drawable.DrawableContainer.DrawableContainerState);
- method public void setDither(boolean);
method public void setEnterFadeDuration(int);
method public void setExitFadeDuration(int);
method public void unscheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable);
@@ -14103,7 +14093,6 @@
method public void setColors(int[]);
method public void setCornerRadii(float[]);
method public void setCornerRadius(float);
- method public void setDither(boolean);
method public void setGradientCenter(float, float);
method public void setGradientRadius(float);
method public void setGradientType(int);
@@ -14198,7 +14187,6 @@
method public void scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long);
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setDrawable(int, android.graphics.drawable.Drawable);
method public boolean setDrawableByLayerId(int, android.graphics.drawable.Drawable);
method public void setId(int, int);
@@ -14239,7 +14227,6 @@
method public android.graphics.Paint getPaint();
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setTargetDensity(android.graphics.Canvas);
method public void setTargetDensity(android.util.DisplayMetrics);
method public void setTargetDensity(int);
@@ -14302,7 +14289,6 @@
method protected void onDraw(android.graphics.drawable.shapes.Shape, android.graphics.Canvas, android.graphics.Paint);
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setIntrinsicHeight(int);
method public void setIntrinsicWidth(int);
method public void setPadding(int, int, int, int);
@@ -14344,32 +14330,27 @@
public class ArcShape extends android.graphics.drawable.shapes.RectShape {
ctor public ArcShape(float, float);
- method public android.graphics.drawable.shapes.ArcShape clone() throws java.lang.CloneNotSupportedException;
method public final float getStartAngle();
method public final float getSweepAngle();
}
public class OvalShape extends android.graphics.drawable.shapes.RectShape {
ctor public OvalShape();
- method public android.graphics.drawable.shapes.OvalShape clone() throws java.lang.CloneNotSupportedException;
}
public class PathShape extends android.graphics.drawable.shapes.Shape {
ctor public PathShape(android.graphics.Path, float, float);
- method public android.graphics.drawable.shapes.PathShape clone() throws java.lang.CloneNotSupportedException;
method public void draw(android.graphics.Canvas, android.graphics.Paint);
}
public class RectShape extends android.graphics.drawable.shapes.Shape {
ctor public RectShape();
- method public android.graphics.drawable.shapes.RectShape clone() throws java.lang.CloneNotSupportedException;
method public void draw(android.graphics.Canvas, android.graphics.Paint);
method protected final android.graphics.RectF rect();
}
public class RoundRectShape extends android.graphics.drawable.shapes.RectShape {
ctor public RoundRectShape(float[], android.graphics.RectF, float[]);
- method public android.graphics.drawable.shapes.RoundRectShape clone() throws java.lang.CloneNotSupportedException;
}
public abstract class Shape implements java.lang.Cloneable {
@@ -14454,7 +14435,6 @@
method public final void autoFocus(android.hardware.Camera.AutoFocusCallback);
method public final void cancelAutoFocus();
method public final boolean enableShutterSound(boolean);
- method protected void finalize();
method public static void getCameraInfo(int, android.hardware.Camera.CameraInfo);
method public static int getNumberOfCameras();
method public android.hardware.Camera.Parameters getParameters();
@@ -15064,7 +15044,6 @@
method public <T> T get(android.hardware.camera2.CameraCharacteristics.Key<T>);
method public java.util.List<android.hardware.camera2.CaptureRequest.Key<?>> getAvailableCaptureRequestKeys();
method public java.util.List<android.hardware.camera2.CaptureResult.Key<?>> getAvailableCaptureResultKeys();
- method public java.util.List<android.hardware.camera2.CameraCharacteristics.Key<?>> getKeys();
field public static final android.hardware.camera2.CameraCharacteristics.Key<int[]> COLOR_CORRECTION_AVAILABLE_ABERRATION_MODES;
field public static final android.hardware.camera2.CameraCharacteristics.Key<int[]> CONTROL_AE_AVAILABLE_ANTIBANDING_MODES;
field public static final android.hardware.camera2.CameraCharacteristics.Key<int[]> CONTROL_AE_AVAILABLE_MODES;
@@ -15421,7 +15400,6 @@
public final class CaptureRequest extends android.hardware.camera2.CameraMetadata implements android.os.Parcelable {
method public int describeContents();
method public <T> T get(android.hardware.camera2.CaptureRequest.Key<T>);
- method public java.util.List<android.hardware.camera2.CaptureRequest.Key<?>> getKeys();
method public java.lang.Object getTag();
method public boolean isReprocess();
method public void writeToParcel(android.os.Parcel, int);
@@ -15500,7 +15478,6 @@
public class CaptureResult extends android.hardware.camera2.CameraMetadata {
method public <T> T get(android.hardware.camera2.CaptureResult.Key<T>);
method public long getFrameNumber();
- method public java.util.List<android.hardware.camera2.CaptureResult.Key<?>> getKeys();
method public android.hardware.camera2.CaptureRequest getRequest();
method public int getSequenceId();
field public static final android.hardware.camera2.CaptureResult.Key<java.lang.Boolean> BLACK_LEVEL_LOCK;
@@ -17934,7 +17911,6 @@
}
public class DateIntervalFormat extends android.icu.text.UFormat {
- method public synchronized java.lang.Object clone();
method public final java.lang.StringBuffer format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition);
method public final synchronized java.lang.StringBuffer format(android.icu.util.DateInterval, java.lang.StringBuffer, java.text.FieldPosition);
method public final synchronized java.lang.StringBuffer format(android.icu.util.Calendar, android.icu.util.Calendar, java.lang.StringBuffer, java.text.FieldPosition);
@@ -18718,7 +18694,6 @@
public final class RuleBasedCollator extends android.icu.text.Collator {
ctor public RuleBasedCollator(java.lang.String) throws java.lang.Exception;
- method public android.icu.text.RuleBasedCollator cloneAsThawed();
method public int compare(java.lang.String, java.lang.String);
method public android.icu.text.CollationElementIterator getCollationElementIterator(java.lang.String);
method public android.icu.text.CollationElementIterator getCollationElementIterator(java.text.CharacterIterator);
@@ -18745,7 +18720,6 @@
method public void setFrenchCollation(boolean);
method public void setFrenchCollationDefault();
method public void setLowerCaseFirst(boolean);
- method public android.icu.text.RuleBasedCollator setMaxVariable(int);
method public void setNumericCollation(boolean);
method public void setNumericCollationDefault();
method public void setStrengthDefault();
@@ -21266,7 +21240,6 @@
ctor public AudioRecord(int, int, int, int, int) throws java.lang.IllegalArgumentException;
method public void addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler);
method public deprecated void addOnRoutingChangedListener(android.media.AudioRecord.OnRoutingChangedListener, android.os.Handler);
- method protected void finalize();
method public int getAudioFormat();
method public int getAudioSessionId();
method public int getAudioSource();
@@ -21371,7 +21344,6 @@
method public deprecated void addOnRoutingChangedListener(android.media.AudioTrack.OnRoutingChangedListener, android.os.Handler);
method public int attachAuxEffect(int);
method public android.media.VolumeShaper createVolumeShaper(android.media.VolumeShaper.Configuration);
- method protected void finalize();
method public void flush();
method public int getAudioFormat();
method public int getAudioSessionId();
@@ -21770,7 +21742,6 @@
method public boolean clearQueue();
method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
method public boolean closeJetFile();
- method protected void finalize();
method public static android.media.JetPlayer getJetPlayer();
method public static int getMaxTracks();
method public boolean loadJetFile(java.lang.String);
@@ -21810,7 +21781,6 @@
ctor public MediaCas(int) throws android.media.MediaCasException.UnsupportedCasException;
method public void close();
method public static android.media.MediaCas.PluginDescriptor[] enumeratePlugins();
- method protected void finalize();
method public static boolean isSystemIdSupported(int);
method public android.media.MediaCas.Session openSession() throws android.media.MediaCasException;
method public void processEmm(byte[], int, int) throws android.media.MediaCasException;
@@ -21867,7 +21837,6 @@
method public static android.view.Surface createPersistentInputSurface();
method public final int dequeueInputBuffer(long);
method public final int dequeueOutputBuffer(android.media.MediaCodec.BufferInfo, long);
- method protected void finalize();
method public final void flush();
method public android.media.MediaCodecInfo getCodecInfo();
method public java.nio.ByteBuffer getInputBuffer(int);
@@ -22279,7 +22248,6 @@
public final class MediaCrypto {
ctor public MediaCrypto(java.util.UUID, byte[]) throws android.media.MediaCryptoException;
- method protected void finalize();
method public static final boolean isCryptoSchemeSupported(java.util.UUID);
method public final void release();
method public final boolean requiresSecureDecoderComponent(java.lang.String);
@@ -22300,7 +22268,6 @@
ctor public MediaDescrambler(int) throws android.media.MediaCasException.UnsupportedCasException;
method public void close();
method public final int descramble(java.nio.ByteBuffer, java.nio.ByteBuffer, android.media.MediaCodec.CryptoInfo);
- method protected void finalize();
method public final boolean requiresSecureDecoderComponent(java.lang.String);
method public final void setMediaCasSession(android.media.MediaCas.Session);
}
@@ -22343,7 +22310,6 @@
public final class MediaDrm {
ctor public MediaDrm(java.util.UUID) throws android.media.UnsupportedSchemeException;
method public void closeSession(byte[]);
- method protected void finalize();
method public android.media.MediaDrm.CryptoSession getCryptoSession(byte[], java.lang.String, java.lang.String);
method public android.media.MediaDrm.KeyRequest getKeyRequest(byte[], byte[], java.lang.String, int, java.util.HashMap<java.lang.String, java.lang.String>) throws android.media.NotProvisionedException;
method public byte[] getPropertyByteArray(java.lang.String);
@@ -22440,7 +22406,6 @@
public final class MediaExtractor {
ctor public MediaExtractor();
method public boolean advance();
- method protected void finalize();
method public long getCachedDuration();
method public android.media.MediaExtractor.CasInfo getCasInfo(int);
method public android.media.DrmInitData getDrmInitData();
@@ -22742,7 +22707,6 @@
method public static android.media.MediaPlayer create(android.content.Context, int, android.media.AudioAttributes, int);
method public android.media.VolumeShaper createVolumeShaper(android.media.VolumeShaper.Configuration);
method public void deselectTrack(int) throws java.lang.IllegalStateException;
- method protected void finalize();
method public int getAudioSessionId();
method public int getCurrentPosition();
method public android.media.MediaPlayer.DrmInfo getDrmInfo();
@@ -22938,7 +22902,6 @@
public class MediaRecorder {
ctor public MediaRecorder();
- method protected void finalize();
method public static final int getAudioSourceMax();
method public int getMaxAmplitude() throws java.lang.IllegalStateException;
method public android.os.PersistableBundle getMetrics();
@@ -23210,7 +23173,6 @@
public final class MediaSync {
ctor public MediaSync();
method public final android.view.Surface createInputSurface();
- method protected void finalize();
method public void flush();
method public android.media.PlaybackParams getPlaybackParams();
method public android.media.SyncParams getSyncParams();
@@ -23330,10 +23292,6 @@
public deprecated class RemoteControlClient.MetadataEditor extends android.media.MediaMetadataEditor {
method public synchronized void apply();
- method public synchronized android.media.RemoteControlClient.MetadataEditor putBitmap(int, android.graphics.Bitmap) throws java.lang.IllegalArgumentException;
- method public synchronized android.media.RemoteControlClient.MetadataEditor putLong(int, long) throws java.lang.IllegalArgumentException;
- method public synchronized android.media.RemoteControlClient.MetadataEditor putObject(int, java.lang.Object) throws java.lang.IllegalArgumentException;
- method public synchronized android.media.RemoteControlClient.MetadataEditor putString(int, java.lang.String) throws java.lang.IllegalArgumentException;
field public static final int BITMAP_KEY_ARTWORK = 100; // 0x64
}
@@ -23380,7 +23338,6 @@
}
public class Ringtone {
- method protected void finalize();
method public android.media.AudioAttributes getAudioAttributes();
method public deprecated int getStreamType();
method public java.lang.String getTitle(android.content.Context);
@@ -23434,7 +23391,6 @@
ctor public deprecated SoundPool(int, int, int);
method public final void autoPause();
method public final void autoResume();
- method protected void finalize();
method public int load(java.lang.String, int);
method public int load(android.content.Context, int, int);
method public int load(android.content.res.AssetFileDescriptor, int);
@@ -23503,7 +23459,6 @@
public class ToneGenerator {
ctor public ToneGenerator(int, int);
- method protected void finalize();
method public final int getAudioSessionId();
method public void release();
method public boolean startTone(int);
@@ -23636,7 +23591,6 @@
public final class VolumeShaper implements java.lang.AutoCloseable {
method public void apply(android.media.VolumeShaper.Operation);
method public void close();
- method protected void finalize();
method public float getVolume();
method public void replace(android.media.VolumeShaper.Configuration, android.media.VolumeShaper.Operation, boolean);
}
@@ -23691,7 +23645,6 @@
}
public class AudioEffect {
- method protected void finalize();
method public android.media.audiofx.AudioEffect.Descriptor getDescriptor() throws java.lang.IllegalStateException;
method public boolean getEnabled() throws java.lang.IllegalStateException;
method public int getId() throws java.lang.IllegalStateException;
@@ -23944,7 +23897,6 @@
public class Visualizer {
ctor public Visualizer(int) throws java.lang.RuntimeException, java.lang.UnsupportedOperationException;
- method protected void finalize();
method public int getCaptureSize() throws java.lang.IllegalStateException;
method public static int[] getCaptureSizeRange();
method public boolean getEnabled();
@@ -30608,7 +30560,6 @@
method public void putStringArrayList(java.lang.String, java.util.ArrayList<java.lang.String>);
method public void readFromParcel(android.os.Parcel);
method public void setClassLoader(java.lang.ClassLoader);
- method public synchronized java.lang.String toString();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.Bundle> CREATOR;
field public static final android.os.Bundle EMPTY;
@@ -30839,7 +30790,6 @@
public abstract class FileObserver {
ctor public FileObserver(java.lang.String);
ctor public FileObserver(java.lang.String, int);
- method protected void finalize();
method public abstract void onEvent(int, java.lang.String);
method public void startWatching();
method public void stopWatching();
@@ -30993,7 +30943,6 @@
ctor public MemoryFile(java.lang.String, int) throws java.io.IOException;
method public synchronized boolean allowPurging(boolean) throws java.io.IOException;
method public void close();
- method protected void finalize();
method public java.io.InputStream getInputStream();
method public java.io.OutputStream getOutputStream();
method public boolean isPurgingAllowed();
@@ -31293,7 +31242,6 @@
method public int describeContents();
method public android.os.PersistableBundle getPersistableBundle(java.lang.String);
method public void putPersistableBundle(java.lang.String, android.os.PersistableBundle);
- method public synchronized java.lang.String toString();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.PersistableBundle> CREATOR;
field public static final android.os.PersistableBundle EMPTY;
@@ -35616,7 +35564,6 @@
method public static android.renderscript.AllocationAdapter create1D(android.renderscript.RenderScript, android.renderscript.Allocation);
method public static android.renderscript.AllocationAdapter create2D(android.renderscript.RenderScript, android.renderscript.Allocation);
method public static android.renderscript.AllocationAdapter createTyped(android.renderscript.RenderScript, android.renderscript.Allocation, android.renderscript.Type);
- method public synchronized void resize(int);
method public void setFace(android.renderscript.Type.CubemapFace);
method public void setLOD(int);
method public void setX(int);
@@ -40325,7 +40272,6 @@
public static deprecated class SmsMessage.SubmitPdu {
ctor public deprecated SmsMessage.SubmitPdu();
- method public deprecated java.lang.String toString();
field public deprecated byte[] encodedMessage;
field public deprecated byte[] encodedScAddress;
}
@@ -40478,7 +40424,6 @@
method public java.util.List<junit.framework.TestCase> getTestCases();
method public java.lang.String getTestClassName();
method public junit.framework.TestResult getTestResult();
- method protected java.lang.Class loadSuiteClass(java.lang.String) throws java.lang.ClassNotFoundException;
method protected void runFailed(java.lang.String);
method public void runTest();
method public void runTest(junit.framework.TestResult);
@@ -40739,12 +40684,10 @@
ctor protected MockContentProvider();
ctor public MockContentProvider(android.content.Context);
ctor public MockContentProvider(android.content.Context, java.lang.String, java.lang.String, android.content.pm.PathPermission[]);
- method public android.content.ContentProviderResult[] applyBatch(java.util.ArrayList<android.content.ContentProviderOperation>);
method public int delete(android.net.Uri, java.lang.String, java.lang.String[]);
method public java.lang.String getType(android.net.Uri);
method public android.net.Uri insert(android.net.Uri, android.content.ContentValues);
method public boolean onCreate();
- method public android.content.res.AssetFileDescriptor openTypedAssetFile(android.net.Uri, java.lang.String, android.os.Bundle);
method public android.database.Cursor query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String);
method public int update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]);
}
@@ -41014,10 +40957,6 @@
public deprecated class MockResources extends android.content.res.Resources {
ctor public MockResources();
- method public int getColor(int) throws android.content.res.Resources.NotFoundException;
- method public android.content.res.ColorStateList getColorStateList(int) throws android.content.res.Resources.NotFoundException;
- method public android.graphics.drawable.Drawable getDrawable(int) throws android.content.res.Resources.NotFoundException;
- method public void updateConfiguration(android.content.res.Configuration, android.util.DisplayMetrics);
}
}
@@ -42265,7 +42204,6 @@
public abstract class MetricAffectingSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateLayout {
ctor public MetricAffectingSpan();
- method public android.text.style.MetricAffectingSpan getUnderlying();
method public abstract void updateMeasureState(android.text.TextPaint);
}
@@ -42946,28 +42884,14 @@
public class TransitionSet extends android.transition.Transition {
ctor public TransitionSet();
ctor public TransitionSet(android.content.Context, android.util.AttributeSet);
- method public android.transition.TransitionSet addListener(android.transition.Transition.TransitionListener);
- method public android.transition.TransitionSet addTarget(android.view.View);
- method public android.transition.TransitionSet addTarget(int);
- method public android.transition.TransitionSet addTarget(java.lang.String);
- method public android.transition.TransitionSet addTarget(java.lang.Class);
method public android.transition.TransitionSet addTransition(android.transition.Transition);
method public void captureEndValues(android.transition.TransitionValues);
method public void captureStartValues(android.transition.TransitionValues);
- method public android.transition.TransitionSet clone();
method public int getOrdering();
method public android.transition.Transition getTransitionAt(int);
method public int getTransitionCount();
- method public android.transition.TransitionSet removeListener(android.transition.Transition.TransitionListener);
- method public android.transition.TransitionSet removeTarget(int);
- method public android.transition.TransitionSet removeTarget(android.view.View);
- method public android.transition.TransitionSet removeTarget(java.lang.Class);
- method public android.transition.TransitionSet removeTarget(java.lang.String);
method public android.transition.TransitionSet removeTransition(android.transition.Transition);
- method public android.transition.TransitionSet setDuration(long);
- method public android.transition.TransitionSet setInterpolator(android.animation.TimeInterpolator);
method public android.transition.TransitionSet setOrdering(int);
- method public android.transition.TransitionSet setStartDelay(long);
field public static final int ORDERING_SEQUENTIAL = 1; // 0x1
field public static final int ORDERING_TOGETHER = 0; // 0x0
}
@@ -43132,9 +43056,6 @@
public class Base64InputStream extends java.io.FilterInputStream {
ctor public Base64InputStream(java.io.InputStream, int);
- method public int available();
- method public void mark(int);
- method public void reset();
}
public class Base64OutputStream extends java.io.FilterOutputStream {
@@ -45248,7 +45169,6 @@
method public android.graphics.Canvas lockCanvas();
method public android.graphics.Canvas lockCanvas(android.graphics.Rect);
method protected final void onDraw(android.graphics.Canvas);
- method public void setBackgroundDrawable(android.graphics.drawable.Drawable);
method public void setOpaque(boolean);
method public void setSurfaceTexture(android.graphics.SurfaceTexture);
method public void setSurfaceTextureListener(android.view.TextureView.SurfaceTextureListener);
@@ -46272,7 +46192,6 @@
method public int getLayoutMode();
method public android.animation.LayoutTransition getLayoutTransition();
method public int getNestedScrollAxes();
- method public android.view.ViewGroupOverlay getOverlay();
method public int getPersistentDrawingCache();
method public boolean getTouchscreenBlocksFocus();
method public int indexOfChild(android.view.View);
@@ -47542,7 +47461,6 @@
ctor public Animation(android.content.Context, android.util.AttributeSet);
method protected void applyTransformation(float, android.view.animation.Transformation);
method public void cancel();
- method protected android.view.animation.Animation clone() throws java.lang.CloneNotSupportedException;
method public long computeDurationHint();
method protected void ensureInterpolator();
method public int getBackgroundColor();
@@ -47614,7 +47532,6 @@
ctor public AnimationSet(android.content.Context, android.util.AttributeSet);
ctor public AnimationSet(boolean);
method public void addAnimation(android.view.animation.Animation);
- method protected android.view.animation.AnimationSet clone() throws java.lang.CloneNotSupportedException;
method public java.util.List<android.view.animation.Animation> getAnimations();
}
@@ -48465,10 +48382,6 @@
public final deprecated class CookieSyncManager extends android.webkit.WebSyncManager {
method public static android.webkit.CookieSyncManager createInstance(android.content.Context);
method public static android.webkit.CookieSyncManager getInstance();
- method public deprecated void resetSync();
- method public deprecated void startSync();
- method public deprecated void stopSync();
- method public deprecated void sync();
method protected deprecated void syncFromRamToFlash();
field protected static final java.lang.String LOGTAG = "websync";
field protected android.webkit.WebViewDatabase mDataBase;
@@ -49020,7 +48933,6 @@
method public void setWebChromeClient(android.webkit.WebChromeClient);
method public static void setWebContentsDebuggingEnabled(boolean);
method public void setWebViewClient(android.webkit.WebViewClient);
- method public deprecated boolean shouldDelayChildPressedState();
method public deprecated boolean showFindDialog(java.lang.String, boolean);
method public void stopLoading();
method public void zoomBy(float);
@@ -49144,7 +49056,6 @@
method public void clearTextFilter();
method public void deferNotifyDataSetChanged();
method public void fling(int);
- method public android.widget.AbsListView.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public int getCacheColorHint();
method public int getCheckedItemCount();
method public long[] getCheckedItemIds();
@@ -49311,9 +49222,6 @@
ctor public ActionMenuView(android.content.Context);
ctor public ActionMenuView(android.content.Context, android.util.AttributeSet);
method public void dismissPopupMenus();
- method protected android.widget.ActionMenuView.LayoutParams generateDefaultLayoutParams();
- method public android.widget.ActionMenuView.LayoutParams generateLayoutParams(android.util.AttributeSet);
- method protected android.widget.ActionMenuView.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public android.view.Menu getMenu();
method public android.graphics.drawable.Drawable getOverflowIcon();
method public int getPopupTheme();
@@ -49489,6 +49397,7 @@
method public void addAll(T...);
method public void clear();
method public static android.widget.ArrayAdapter<java.lang.CharSequence> createFromResource(android.content.Context, int, int);
+ method public java.lang.CharSequence[] getAutofillOptions();
method public android.content.Context getContext();
method public int getCount();
method public android.content.res.Resources.Theme getDropDownViewTheme();
@@ -49856,7 +49765,6 @@
ctor public EditText(android.content.Context, android.util.AttributeSet, int);
ctor public EditText(android.content.Context, android.util.AttributeSet, int, int);
method public void extendSelection(int);
- method public android.text.Editable getText();
method public void selectAll();
method public void setSelection(int, int);
method public void setSelection(int);
@@ -49978,8 +49886,6 @@
ctor public FrameLayout(android.content.Context, android.util.AttributeSet);
ctor public FrameLayout(android.content.Context, android.util.AttributeSet, int);
ctor public FrameLayout(android.content.Context, android.util.AttributeSet, int, int);
- method protected android.widget.FrameLayout.LayoutParams generateDefaultLayoutParams();
- method public android.widget.FrameLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public deprecated boolean getConsiderGoneChildrenWhenMeasuring();
method public boolean getMeasureAllChildren();
method protected void onLayout(boolean, int, int, int, int);
@@ -50026,9 +49932,6 @@
ctor public GridLayout(android.content.Context, android.util.AttributeSet);
ctor public GridLayout(android.content.Context, android.util.AttributeSet, int);
ctor public GridLayout(android.content.Context, android.util.AttributeSet, int, int);
- method protected android.widget.GridLayout.LayoutParams generateDefaultLayoutParams();
- method public android.widget.GridLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
- method protected android.widget.GridLayout.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public int getAlignmentMode();
method public int getColumnCount();
method public int getOrientation();
@@ -50241,9 +50144,6 @@
ctor public LinearLayout(android.content.Context, android.util.AttributeSet);
ctor public LinearLayout(android.content.Context, android.util.AttributeSet, int);
ctor public LinearLayout(android.content.Context, android.util.AttributeSet, int, int);
- method protected android.widget.LinearLayout.LayoutParams generateDefaultLayoutParams();
- method public android.widget.LinearLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
- method protected android.widget.LinearLayout.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public int getBaselineAlignedChildIndex();
method public android.graphics.drawable.Drawable getDividerDrawable();
method public int getDividerPadding();
@@ -50630,8 +50530,6 @@
method public final synchronized void incrementSecondaryProgressBy(int);
method public boolean isAnimating();
method public synchronized boolean isIndeterminate();
- method protected synchronized void onDraw(android.graphics.Canvas);
- method protected synchronized void onMeasure(int, int);
method public void onRestoreInstanceState(android.os.Parcelable);
method public android.os.Parcelable onSaveInstanceState();
method public synchronized void setIndeterminate(boolean);
@@ -50687,7 +50585,6 @@
ctor public RadioGroup(android.content.Context, android.util.AttributeSet);
method public void check(int);
method public void clearCheck();
- method public android.widget.RadioGroup.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public int getCheckedRadioButtonId();
method public void setOnCheckedChangeListener(android.widget.RadioGroup.OnCheckedChangeListener);
}
@@ -50730,7 +50627,6 @@
ctor public RelativeLayout(android.content.Context, android.util.AttributeSet);
ctor public RelativeLayout(android.content.Context, android.util.AttributeSet, int);
ctor public RelativeLayout(android.content.Context, android.util.AttributeSet, int, int);
- method public android.widget.RelativeLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public int getGravity();
method protected void onLayout(boolean, int, int, int, int);
method public void setGravity(int);
@@ -51274,7 +51170,6 @@
public class TableLayout extends android.widget.LinearLayout {
ctor public TableLayout(android.content.Context);
ctor public TableLayout(android.content.Context, android.util.AttributeSet);
- method public android.widget.TableLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public boolean isColumnCollapsed(int);
method public boolean isColumnShrinkable(int);
method public boolean isColumnStretchable(int);
@@ -51299,7 +51194,6 @@
public class TableRow extends android.widget.LinearLayout {
ctor public TableRow(android.content.Context);
ctor public TableRow(android.content.Context, android.util.AttributeSet);
- method public android.widget.TableRow.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public android.view.View getVirtualChildAt(int);
method public int getVirtualChildCount();
}
@@ -51641,7 +51535,6 @@
ctor public ToggleButton(android.content.Context);
method public java.lang.CharSequence getTextOff();
method public java.lang.CharSequence getTextOn();
- method public void setBackgroundDrawable(android.graphics.drawable.Drawable);
method public void setTextOff(java.lang.CharSequence);
method public void setTextOn(java.lang.CharSequence);
}
@@ -51653,9 +51546,6 @@
ctor public Toolbar(android.content.Context, android.util.AttributeSet, int, int);
method public void collapseActionView();
method public void dismissPopupMenus();
- method protected android.widget.Toolbar.LayoutParams generateDefaultLayoutParams();
- method public android.widget.Toolbar.LayoutParams generateLayoutParams(android.util.AttributeSet);
- method protected android.widget.Toolbar.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public int getContentInsetEnd();
method public int getContentInsetEndWithActions();
method public int getContentInsetLeft();
@@ -52177,8 +52067,6 @@
public class BaseDexClassLoader extends java.lang.ClassLoader {
ctor public BaseDexClassLoader(java.lang.String, java.io.File, java.lang.String, java.lang.ClassLoader);
method public java.lang.String findLibrary(java.lang.String);
- method protected java.util.Enumeration<java.net.URL> findResources(java.lang.String);
- method protected synchronized java.lang.Package getPackage(java.lang.String);
}
public class DexClassLoader extends dalvik.system.BaseDexClassLoader {
@@ -52401,10 +52289,6 @@
public class BufferedInputStream extends java.io.FilterInputStream {
ctor public BufferedInputStream(java.io.InputStream);
ctor public BufferedInputStream(java.io.InputStream, int);
- method public synchronized int available() throws java.io.IOException;
- method public synchronized int read() throws java.io.IOException;
- method public synchronized int read(byte[], int, int) throws java.io.IOException;
- method public synchronized long skip(long) throws java.io.IOException;
field protected volatile byte[] buf;
field protected int count;
field protected int marklimit;
@@ -52415,9 +52299,6 @@
public class BufferedOutputStream extends java.io.FilterOutputStream {
ctor public BufferedOutputStream(java.io.OutputStream);
ctor public BufferedOutputStream(java.io.OutputStream, int);
- method public synchronized void flush() throws java.io.IOException;
- method public synchronized void write(int) throws java.io.IOException;
- method public synchronized void write(byte[], int, int) throws java.io.IOException;
field protected byte[] buf;
field protected int count;
}
@@ -52443,12 +52324,7 @@
public class ByteArrayInputStream extends java.io.InputStream {
ctor public ByteArrayInputStream(byte[]);
ctor public ByteArrayInputStream(byte[], int, int);
- method public synchronized int available();
- method public void mark(int);
method public synchronized int read();
- method public synchronized int read(byte[], int, int);
- method public synchronized void reset();
- method public synchronized long skip(long);
field protected byte[] buf;
field protected int count;
field protected int mark;
@@ -52461,11 +52337,9 @@
method public synchronized void reset();
method public synchronized int size();
method public synchronized byte[] toByteArray();
- method public synchronized java.lang.String toString();
method public synchronized java.lang.String toString(java.lang.String) throws java.io.UnsupportedEncodingException;
method public deprecated synchronized java.lang.String toString(int);
method public synchronized void write(int);
- method public synchronized void write(byte[], int, int);
method public synchronized void writeTo(java.io.OutputStream) throws java.io.IOException;
field protected byte[] buf;
field protected int count;
@@ -52485,17 +52359,12 @@
public class CharArrayWriter extends java.io.Writer {
ctor public CharArrayWriter();
ctor public CharArrayWriter(int);
- method public java.io.CharArrayWriter append(java.lang.CharSequence);
- method public java.io.CharArrayWriter append(java.lang.CharSequence, int, int);
- method public java.io.CharArrayWriter append(char);
method public void close();
method public void flush();
method public void reset();
method public int size();
method public char[] toCharArray();
- method public void write(int);
method public void write(char[], int, int);
- method public void write(java.lang.String, int, int);
method public void writeTo(java.io.Writer) throws java.io.IOException;
field protected char[] buf;
field protected int count;
@@ -52582,8 +52451,6 @@
public class DataOutputStream extends java.io.FilterOutputStream implements java.io.DataOutput {
ctor public DataOutputStream(java.io.OutputStream);
method public final int size();
- method public synchronized void write(int) throws java.io.IOException;
- method public synchronized void write(byte[], int, int) throws java.io.IOException;
method public final void writeBoolean(boolean) throws java.io.IOException;
method public final void writeByte(int) throws java.io.IOException;
method public final void writeBytes(java.lang.String) throws java.io.IOException;
@@ -52683,7 +52550,6 @@
ctor public FileInputStream(java.lang.String) throws java.io.FileNotFoundException;
ctor public FileInputStream(java.io.File) throws java.io.FileNotFoundException;
ctor public FileInputStream(java.io.FileDescriptor);
- method protected void finalize() throws java.io.IOException;
method public java.nio.channels.FileChannel getChannel();
method public final java.io.FileDescriptor getFD() throws java.io.IOException;
method public int read() throws java.io.IOException;
@@ -52700,7 +52566,6 @@
ctor public FileOutputStream(java.io.File) throws java.io.FileNotFoundException;
ctor public FileOutputStream(java.io.File, boolean) throws java.io.FileNotFoundException;
ctor public FileOutputStream(java.io.FileDescriptor);
- method protected void finalize() throws java.io.IOException;
method public java.nio.channels.FileChannel getChannel();
method public final java.io.FileDescriptor getFD() throws java.io.IOException;
method public void write(int) throws java.io.IOException;
@@ -52814,8 +52679,6 @@
public deprecated class LineNumberInputStream extends java.io.FilterInputStream {
ctor public LineNumberInputStream(java.io.InputStream);
method public int getLineNumber();
- method public void mark(int);
- method public void reset() throws java.io.IOException;
method public void setLineNumber(int);
}
@@ -53045,10 +52908,8 @@
ctor public PipedInputStream(java.io.PipedOutputStream, int) throws java.io.IOException;
ctor public PipedInputStream();
ctor public PipedInputStream(int);
- method public synchronized int available() throws java.io.IOException;
method public void connect(java.io.PipedOutputStream) throws java.io.IOException;
method public synchronized int read() throws java.io.IOException;
- method public synchronized int read(byte[], int, int) throws java.io.IOException;
method protected synchronized void receive(int) throws java.io.IOException;
field protected static final int PIPE_SIZE = 1024; // 0x400
field protected byte[] buffer;
@@ -53060,7 +52921,6 @@
ctor public PipedOutputStream(java.io.PipedInputStream) throws java.io.IOException;
ctor public PipedOutputStream();
method public synchronized void connect(java.io.PipedInputStream) throws java.io.IOException;
- method public synchronized void flush() throws java.io.IOException;
method public void write(int) throws java.io.IOException;
}
@@ -53071,9 +52931,7 @@
ctor public PipedReader(int);
method public void close() throws java.io.IOException;
method public void connect(java.io.PipedWriter) throws java.io.IOException;
- method public synchronized int read() throws java.io.IOException;
method public synchronized int read(char[], int, int) throws java.io.IOException;
- method public synchronized boolean ready() throws java.io.IOException;
}
public class PipedWriter extends java.io.Writer {
@@ -53098,8 +52956,6 @@
method public java.io.PrintStream append(char);
method public boolean checkError();
method protected void clearError();
- method public void close();
- method public void flush();
method public java.io.PrintStream format(java.lang.String, java.lang.Object...);
method public java.io.PrintStream format(java.util.Locale, java.lang.String, java.lang.Object...);
method public void print(boolean);
@@ -53124,8 +52980,6 @@
method public void println(java.lang.String);
method public void println(java.lang.Object);
method protected void setError();
- method public void write(int);
- method public void write(byte[], int, int);
}
public class PrintWriter extends java.io.Writer {
@@ -53137,9 +52991,6 @@
ctor public PrintWriter(java.lang.String, java.lang.String) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException;
ctor public PrintWriter(java.io.File) throws java.io.FileNotFoundException;
ctor public PrintWriter(java.io.File, java.lang.String) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException;
- method public java.io.PrintWriter append(java.lang.CharSequence);
- method public java.io.PrintWriter append(java.lang.CharSequence, int, int);
- method public java.io.PrintWriter append(char);
method public boolean checkError();
method protected void clearError();
method public void close();
@@ -53168,18 +53019,13 @@
method public void println(java.lang.String);
method public void println(java.lang.Object);
method protected void setError();
- method public void write(int);
method public void write(char[], int, int);
- method public void write(char[]);
- method public void write(java.lang.String, int, int);
- method public void write(java.lang.String);
field protected java.io.Writer out;
}
public class PushbackInputStream extends java.io.FilterInputStream {
ctor public PushbackInputStream(java.io.InputStream, int);
ctor public PushbackInputStream(java.io.InputStream);
- method public synchronized void close() throws java.io.IOException;
method public void unread(int) throws java.io.IOException;
method public void unread(byte[], int, int) throws java.io.IOException;
method public void unread(byte[]) throws java.io.IOException;
@@ -53303,11 +53149,7 @@
public deprecated class StringBufferInputStream extends java.io.InputStream {
ctor public StringBufferInputStream(java.lang.String);
- method public synchronized int available();
method public synchronized int read();
- method public synchronized int read(byte[], int, int);
- method public synchronized void reset();
- method public synchronized long skip(long);
field protected java.lang.String buffer;
field protected int count;
field protected int pos;
@@ -53322,16 +53164,10 @@
public class StringWriter extends java.io.Writer {
ctor public StringWriter();
ctor public StringWriter(int);
- method public java.io.StringWriter append(java.lang.CharSequence);
- method public java.io.StringWriter append(java.lang.CharSequence, int, int);
- method public java.io.StringWriter append(char);
method public void close() throws java.io.IOException;
method public void flush();
method public java.lang.StringBuffer getBuffer();
- method public void write(int);
method public void write(char[], int, int);
- method public void write(java.lang.String);
- method public void write(java.lang.String, int, int);
}
public class SyncFailedException extends java.io.IOException {
@@ -53346,7 +53182,6 @@
public class UncheckedIOException extends java.lang.RuntimeException {
ctor public UncheckedIOException(java.lang.String, java.io.IOException);
ctor public UncheckedIOException(java.io.IOException);
- method public java.io.IOException getCause();
}
public class UnsupportedEncodingException extends java.io.IOException {
@@ -53356,7 +53191,6 @@
public class WriteAbortedException extends java.io.ObjectStreamException {
ctor public WriteAbortedException(java.lang.String, java.lang.Exception);
- method public java.lang.Throwable getCause();
field public java.lang.Exception detail;
}
@@ -54124,7 +53958,6 @@
ctor public ClassNotFoundException();
ctor public ClassNotFoundException(java.lang.String);
ctor public ClassNotFoundException(java.lang.String, java.lang.Throwable);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getException();
}
@@ -54229,7 +54062,6 @@
ctor public ExceptionInInitializerError();
ctor public ExceptionInInitializerError(java.lang.Throwable);
ctor public ExceptionInInitializerError(java.lang.String);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getException();
}
@@ -55017,16 +54849,8 @@
method public synchronized java.lang.StringBuffer append(float);
method public synchronized java.lang.StringBuffer append(double);
method public synchronized java.lang.StringBuffer appendCodePoint(int);
- method public synchronized int capacity();
- method public synchronized char charAt(int);
- method public synchronized int codePointAt(int);
- method public synchronized int codePointBefore(int);
- method public synchronized int codePointCount(int, int);
method public synchronized java.lang.StringBuffer delete(int, int);
method public synchronized java.lang.StringBuffer deleteCharAt(int);
- method public synchronized void ensureCapacity(int);
- method public synchronized void getChars(int, int, char[], int);
- method public synchronized int indexOf(java.lang.String, int);
method public synchronized java.lang.StringBuffer insert(int, char[], int, int);
method public synchronized java.lang.StringBuffer insert(int, java.lang.Object);
method public synchronized java.lang.StringBuffer insert(int, java.lang.String);
@@ -55039,18 +54863,9 @@
method public java.lang.StringBuffer insert(int, long);
method public java.lang.StringBuffer insert(int, float);
method public java.lang.StringBuffer insert(int, double);
- method public synchronized int lastIndexOf(java.lang.String, int);
- method public synchronized int length();
- method public synchronized int offsetByCodePoints(int, int);
method public synchronized java.lang.StringBuffer replace(int, int, java.lang.String);
method public synchronized java.lang.StringBuffer reverse();
- method public synchronized void setCharAt(int, char);
- method public synchronized void setLength(int);
- method public synchronized java.lang.CharSequence subSequence(int, int);
- method public synchronized java.lang.String substring(int);
- method public synchronized java.lang.String substring(int, int);
method public synchronized java.lang.String toString();
- method public synchronized void trimToSize();
}
public final class StringBuilder extends java.lang.AbstractStringBuilder implements java.lang.CharSequence java.io.Serializable {
@@ -55705,7 +55520,6 @@
ctor protected InvocationTargetException();
ctor public InvocationTargetException(java.lang.Throwable);
ctor public InvocationTargetException(java.lang.Throwable, java.lang.String);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getTargetException();
}
@@ -55821,7 +55635,6 @@
public class UndeclaredThrowableException extends java.lang.RuntimeException {
ctor public UndeclaredThrowableException(java.lang.Throwable);
ctor public UndeclaredThrowableException(java.lang.Throwable, java.lang.String);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getUndeclaredThrowable();
}
@@ -56719,7 +56532,6 @@
method public java.lang.String getQuery();
method public java.lang.String getRef();
method public java.lang.String getUserInfo();
- method public synchronized int hashCode();
method public java.net.URLConnection openConnection() throws java.io.IOException;
method public java.net.URLConnection openConnection(java.net.Proxy) throws java.io.IOException;
method public final java.io.InputStream openStream() throws java.io.IOException;
@@ -56949,6 +56761,7 @@
method public final int arrayOffset();
method public abstract java.nio.CharBuffer asReadOnlyBuffer();
method public final char charAt(int);
+ method public java.util.stream.IntStream chars();
method public abstract java.nio.CharBuffer compact();
method public int compareTo(java.nio.CharBuffer);
method public abstract java.nio.CharBuffer duplicate();
@@ -57805,7 +57618,6 @@
public final class DirectoryIteratorException extends java.util.ConcurrentModificationException {
ctor public DirectoryIteratorException(java.io.IOException);
- method public java.io.IOException getCause();
}
public class DirectoryNotEmptyException extends java.nio.file.FileSystemException {
@@ -58771,11 +58583,9 @@
public static class KeyStore.PasswordProtection implements javax.security.auth.Destroyable java.security.KeyStore.ProtectionParameter {
ctor public KeyStore.PasswordProtection(char[]);
ctor public KeyStore.PasswordProtection(char[], java.lang.String, java.security.spec.AlgorithmParameterSpec);
- method public synchronized void destroy() throws javax.security.auth.DestroyFailedException;
method public synchronized char[] getPassword();
method public java.lang.String getProtectionAlgorithm();
method public java.security.spec.AlgorithmParameterSpec getProtectionParameters();
- method public synchronized boolean isDestroyed();
}
public static final class KeyStore.PrivateKeyEntry implements java.security.KeyStore.Entry {
@@ -58955,7 +58765,6 @@
public class PrivilegedActionException extends java.lang.Exception {
ctor public PrivilegedActionException(java.lang.Exception);
- method public java.lang.Throwable getCause();
method public java.lang.Exception getException();
}
@@ -58978,30 +58787,22 @@
method public synchronized java.lang.Object compute(java.lang.Object, java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>);
method public synchronized java.lang.Object computeIfAbsent(java.lang.Object, java.util.function.Function<? super java.lang.Object, ? extends java.lang.Object>);
method public synchronized java.lang.Object computeIfPresent(java.lang.Object, java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>);
- method public java.util.Enumeration<java.lang.Object> elements();
- method public synchronized java.util.Set<java.util.Map.Entry<java.lang.Object, java.lang.Object>> entrySet();
method public synchronized void forEach(java.util.function.BiConsumer<? super java.lang.Object, ? super java.lang.Object>);
- method public java.lang.Object get(java.lang.Object);
method public java.lang.String getInfo();
method public java.lang.String getName();
method public synchronized java.lang.Object getOrDefault(java.lang.Object, java.lang.Object);
method public synchronized java.security.Provider.Service getService(java.lang.String, java.lang.String);
method public synchronized java.util.Set<java.security.Provider.Service> getServices();
method public double getVersion();
- method public java.util.Set<java.lang.Object> keySet();
- method public java.util.Enumeration<java.lang.Object> keys();
method public synchronized java.lang.Object merge(java.lang.Object, java.lang.Object, java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>);
method public synchronized java.lang.Object put(java.lang.Object, java.lang.Object);
method public synchronized void putAll(java.util.Map<?, ?>);
method public synchronized java.lang.Object putIfAbsent(java.lang.Object, java.lang.Object);
method protected synchronized void putService(java.security.Provider.Service);
- method public synchronized java.lang.Object remove(java.lang.Object);
method protected synchronized void removeService(java.security.Provider.Service);
method public synchronized boolean replace(java.lang.Object, java.lang.Object, java.lang.Object);
method public synchronized java.lang.Object replace(java.lang.Object, java.lang.Object);
method public synchronized void replaceAll(java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>);
- method public java.lang.String toString();
- method public java.util.Collection<java.lang.Object> values();
}
public static class Provider.Service {
@@ -59047,9 +58848,7 @@
method public final java.security.Provider getProvider();
method public static byte[] getSeed(int);
method protected final int next(int);
- method public synchronized void nextBytes(byte[]);
method public synchronized void setSeed(byte[]);
- method public void setSeed(long);
}
public abstract class SecureRandomSpi implements java.io.Serializable {
@@ -59596,7 +59395,6 @@
public abstract class PKIXRevocationChecker extends java.security.cert.PKIXCertPathChecker {
ctor protected PKIXRevocationChecker();
- method public java.security.cert.PKIXRevocationChecker clone();
method public java.util.List<java.security.cert.Extension> getOcspExtensions();
method public java.net.URI getOcspResponder();
method public java.security.cert.X509Certificate getOcspResponderCert();
@@ -61849,6 +61647,7 @@
public final class DayOfWeek extends java.lang.Enum implements java.time.temporal.TemporalAccessor java.time.temporal.TemporalAdjuster {
method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal);
method public static java.time.DayOfWeek from(java.time.temporal.TemporalAccessor);
+ method public int get(java.time.temporal.TemporalField);
method public java.lang.String getDisplayName(java.time.format.TextStyle, java.util.Locale);
method public long getLong(java.time.temporal.TemporalField);
method public int getValue();
@@ -61856,6 +61655,8 @@
method public java.time.DayOfWeek minus(long);
method public static java.time.DayOfWeek of(int);
method public java.time.DayOfWeek plus(long);
+ method public <R> R query(java.time.temporal.TemporalQuery<R>);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
method public static java.time.DayOfWeek valueOf(java.lang.String);
method public static final java.time.DayOfWeek[] values();
enum_constant public static final java.time.DayOfWeek FRIDAY;
@@ -61931,8 +61732,6 @@
method public boolean isBefore(java.time.Instant);
method public boolean isSupported(java.time.temporal.TemporalField);
method public boolean isSupported(java.time.temporal.TemporalUnit);
- method public java.time.Instant minus(java.time.temporal.TemporalAmount);
- method public java.time.Instant minus(long, java.time.temporal.TemporalUnit);
method public java.time.Instant minusMillis(long);
method public java.time.Instant minusNanos(long);
method public java.time.Instant minusSeconds(long);
@@ -61942,7 +61741,6 @@
method public static java.time.Instant ofEpochSecond(long);
method public static java.time.Instant ofEpochSecond(long, long);
method public static java.time.Instant parse(java.lang.CharSequence);
- method public java.time.Instant plus(java.time.temporal.TemporalAmount);
method public java.time.Instant plus(long, java.time.temporal.TemporalUnit);
method public java.time.Instant plusMillis(long);
method public java.time.Instant plusNanos(long);
@@ -61950,7 +61748,6 @@
method public long toEpochMilli();
method public java.time.Instant truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.Instant with(java.time.temporal.TemporalAdjuster);
method public java.time.Instant with(java.time.temporal.TemporalField, long);
field public static final java.time.Instant EPOCH;
field public static final java.time.Instant MAX;
@@ -61960,7 +61757,6 @@
public final class LocalDate implements java.time.chrono.ChronoLocalDate java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster {
method public java.time.LocalDateTime atStartOfDay();
method public java.time.ZonedDateTime atStartOfDay(java.time.ZoneId);
- method public java.time.LocalDateTime atTime(java.time.LocalTime);
method public java.time.LocalDateTime atTime(int, int);
method public java.time.LocalDateTime atTime(int, int, int);
method public java.time.LocalDateTime atTime(int, int, int, int);
@@ -61975,8 +61771,6 @@
method public int getMonthValue();
method public int getYear();
method public int lengthOfMonth();
- method public java.time.LocalDate minus(java.time.temporal.TemporalAmount);
- method public java.time.LocalDate minus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalDate minusDays(long);
method public java.time.LocalDate minusMonths(long);
method public java.time.LocalDate minusWeeks(long);
@@ -61990,16 +61784,12 @@
method public static java.time.LocalDate ofYearDay(int, int);
method public static java.time.LocalDate parse(java.lang.CharSequence);
method public static java.time.LocalDate parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.LocalDate plus(java.time.temporal.TemporalAmount);
- method public java.time.LocalDate plus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalDate plusDays(long);
method public java.time.LocalDate plusMonths(long);
method public java.time.LocalDate plusWeeks(long);
method public java.time.LocalDate plusYears(long);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
method public java.time.Period until(java.time.chrono.ChronoLocalDate);
- method public java.time.LocalDate with(java.time.temporal.TemporalAdjuster);
- method public java.time.LocalDate with(java.time.temporal.TemporalField, long);
method public java.time.LocalDate withDayOfMonth(int);
method public java.time.LocalDate withDayOfYear(int);
method public java.time.LocalDate withMonth(int);
@@ -62024,8 +61814,6 @@
method public int getSecond();
method public int getYear();
method public boolean isSupported(java.time.temporal.TemporalField);
- method public java.time.LocalDateTime minus(java.time.temporal.TemporalAmount);
- method public java.time.LocalDateTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalDateTime minusDays(long);
method public java.time.LocalDateTime minusHours(long);
method public java.time.LocalDateTime minusMinutes(long);
@@ -62048,7 +61836,6 @@
method public static java.time.LocalDateTime ofInstant(java.time.Instant, java.time.ZoneId);
method public static java.time.LocalDateTime parse(java.lang.CharSequence);
method public static java.time.LocalDateTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.LocalDateTime plus(java.time.temporal.TemporalAmount);
method public java.time.LocalDateTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalDateTime plusDays(long);
method public java.time.LocalDateTime plusHours(long);
@@ -62062,7 +61849,6 @@
method public java.time.LocalTime toLocalTime();
method public java.time.LocalDateTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.LocalDateTime with(java.time.temporal.TemporalAdjuster);
method public java.time.LocalDateTime with(java.time.temporal.TemporalField, long);
method public java.time.LocalDateTime withDayOfMonth(int);
method public java.time.LocalDateTime withDayOfYear(int);
@@ -62092,8 +61878,6 @@
method public boolean isBefore(java.time.LocalTime);
method public boolean isSupported(java.time.temporal.TemporalField);
method public boolean isSupported(java.time.temporal.TemporalUnit);
- method public java.time.LocalTime minus(java.time.temporal.TemporalAmount);
- method public java.time.LocalTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalTime minusHours(long);
method public java.time.LocalTime minusMinutes(long);
method public java.time.LocalTime minusNanos(long);
@@ -62108,7 +61892,6 @@
method public static java.time.LocalTime ofSecondOfDay(long);
method public static java.time.LocalTime parse(java.lang.CharSequence);
method public static java.time.LocalTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.LocalTime plus(java.time.temporal.TemporalAmount);
method public java.time.LocalTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalTime plusHours(long);
method public java.time.LocalTime plusMinutes(long);
@@ -62118,7 +61901,6 @@
method public int toSecondOfDay();
method public java.time.LocalTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.LocalTime with(java.time.temporal.TemporalAdjuster);
method public java.time.LocalTime with(java.time.temporal.TemporalField, long);
method public java.time.LocalTime withHour(int);
method public java.time.LocalTime withMinute(int);
@@ -62135,6 +61917,7 @@
method public int firstDayOfYear(boolean);
method public java.time.Month firstMonthOfQuarter();
method public static java.time.Month from(java.time.temporal.TemporalAccessor);
+ method public int get(java.time.temporal.TemporalField);
method public java.lang.String getDisplayName(java.time.format.TextStyle, java.util.Locale);
method public long getLong(java.time.temporal.TemporalField);
method public int getValue();
@@ -62145,6 +61928,8 @@
method public java.time.Month minus(long);
method public static java.time.Month of(int);
method public java.time.Month plus(long);
+ method public <R> R query(java.time.temporal.TemporalQuery<R>);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
method public static java.time.Month valueOf(java.lang.String);
method public static final java.time.Month[] values();
enum_constant public static final java.time.Month APRIL;
@@ -62211,8 +61996,6 @@
method public boolean isEqual(java.time.OffsetDateTime);
method public boolean isSupported(java.time.temporal.TemporalField);
method public boolean isSupported(java.time.temporal.TemporalUnit);
- method public java.time.OffsetDateTime minus(java.time.temporal.TemporalAmount);
- method public java.time.OffsetDateTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.OffsetDateTime minusDays(long);
method public java.time.OffsetDateTime minusHours(long);
method public java.time.OffsetDateTime minusMinutes(long);
@@ -62230,7 +62013,6 @@
method public static java.time.OffsetDateTime ofInstant(java.time.Instant, java.time.ZoneId);
method public static java.time.OffsetDateTime parse(java.lang.CharSequence);
method public static java.time.OffsetDateTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.OffsetDateTime plus(java.time.temporal.TemporalAmount);
method public java.time.OffsetDateTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.OffsetDateTime plusDays(long);
method public java.time.OffsetDateTime plusHours(long);
@@ -62250,7 +62032,6 @@
method public java.time.ZonedDateTime toZonedDateTime();
method public java.time.OffsetDateTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.OffsetDateTime with(java.time.temporal.TemporalAdjuster);
method public java.time.OffsetDateTime with(java.time.temporal.TemporalField, long);
method public java.time.OffsetDateTime withDayOfMonth(int);
method public java.time.OffsetDateTime withDayOfYear(int);
@@ -62283,8 +62064,6 @@
method public boolean isEqual(java.time.OffsetTime);
method public boolean isSupported(java.time.temporal.TemporalField);
method public boolean isSupported(java.time.temporal.TemporalUnit);
- method public java.time.OffsetTime minus(java.time.temporal.TemporalAmount);
- method public java.time.OffsetTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.OffsetTime minusHours(long);
method public java.time.OffsetTime minusMinutes(long);
method public java.time.OffsetTime minusNanos(long);
@@ -62297,7 +62076,6 @@
method public static java.time.OffsetTime ofInstant(java.time.Instant, java.time.ZoneId);
method public static java.time.OffsetTime parse(java.lang.CharSequence);
method public static java.time.OffsetTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.OffsetTime plus(java.time.temporal.TemporalAmount);
method public java.time.OffsetTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.OffsetTime plusHours(long);
method public java.time.OffsetTime plusMinutes(long);
@@ -62306,7 +62084,6 @@
method public java.time.LocalTime toLocalTime();
method public java.time.OffsetTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.OffsetTime with(java.time.temporal.TemporalAdjuster);
method public java.time.OffsetTime with(java.time.temporal.TemporalField, long);
method public java.time.OffsetTime withHour(int);
method public java.time.OffsetTime withMinute(int);
@@ -62333,7 +62110,6 @@
method public java.time.Period minusMonths(long);
method public java.time.Period minusYears(long);
method public java.time.Period multipliedBy(int);
- method public java.time.Period negated();
method public java.time.Period normalized();
method public static java.time.Period of(int, int, int);
method public static java.time.Period ofDays(int);
@@ -62372,8 +62148,6 @@
method public boolean isSupported(java.time.temporal.TemporalUnit);
method public boolean isValidMonthDay(java.time.MonthDay);
method public int length();
- method public java.time.Year minus(java.time.temporal.TemporalAmount);
- method public java.time.Year minus(long, java.time.temporal.TemporalUnit);
method public java.time.Year minusYears(long);
method public static java.time.Year now();
method public static java.time.Year now(java.time.ZoneId);
@@ -62381,11 +62155,9 @@
method public static java.time.Year of(int);
method public static java.time.Year parse(java.lang.CharSequence);
method public static java.time.Year parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.Year plus(java.time.temporal.TemporalAmount);
method public java.time.Year plus(long, java.time.temporal.TemporalUnit);
method public java.time.Year plusYears(long);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.Year with(java.time.temporal.TemporalAdjuster);
method public java.time.Year with(java.time.temporal.TemporalField, long);
field public static final int MAX_VALUE = 999999999; // 0x3b9ac9ff
field public static final int MIN_VALUE = -999999999; // 0xc4653601
@@ -62410,8 +62182,6 @@
method public boolean isValidDay(int);
method public int lengthOfMonth();
method public int lengthOfYear();
- method public java.time.YearMonth minus(java.time.temporal.TemporalAmount);
- method public java.time.YearMonth minus(long, java.time.temporal.TemporalUnit);
method public java.time.YearMonth minusMonths(long);
method public java.time.YearMonth minusYears(long);
method public static java.time.YearMonth now();
@@ -62421,12 +62191,10 @@
method public static java.time.YearMonth of(int, int);
method public static java.time.YearMonth parse(java.lang.CharSequence);
method public static java.time.YearMonth parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.YearMonth plus(java.time.temporal.TemporalAmount);
method public java.time.YearMonth plus(long, java.time.temporal.TemporalUnit);
method public java.time.YearMonth plusMonths(long);
method public java.time.YearMonth plusYears(long);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.YearMonth with(java.time.temporal.TemporalAdjuster);
method public java.time.YearMonth with(java.time.temporal.TemporalField, long);
method public java.time.YearMonth withMonth(int);
method public java.time.YearMonth withYear(int);
@@ -62450,6 +62218,7 @@
method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal);
method public int compareTo(java.time.ZoneOffset);
method public static java.time.ZoneOffset from(java.time.temporal.TemporalAccessor);
+ method public int get(java.time.temporal.TemporalField);
method public java.lang.String getId();
method public long getLong(java.time.temporal.TemporalField);
method public java.time.zone.ZoneRules getRules();
@@ -62460,6 +62229,8 @@
method public static java.time.ZoneOffset ofHoursMinutes(int, int);
method public static java.time.ZoneOffset ofHoursMinutesSeconds(int, int, int);
method public static java.time.ZoneOffset ofTotalSeconds(int);
+ method public <R> R query(java.time.temporal.TemporalQuery<R>);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
field public static final java.time.ZoneOffset MAX;
field public static final java.time.ZoneOffset MIN;
field public static final java.time.ZoneOffset UTC;
@@ -62480,8 +62251,6 @@
method public int getYear();
method public java.time.ZoneId getZone();
method public boolean isSupported(java.time.temporal.TemporalField);
- method public java.time.ZonedDateTime minus(java.time.temporal.TemporalAmount);
- method public java.time.ZonedDateTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.ZonedDateTime minusDays(long);
method public java.time.ZonedDateTime minusHours(long);
method public java.time.ZonedDateTime minusMinutes(long);
@@ -62502,7 +62271,6 @@
method public static java.time.ZonedDateTime ofStrict(java.time.LocalDateTime, java.time.ZoneOffset, java.time.ZoneId);
method public static java.time.ZonedDateTime parse(java.lang.CharSequence);
method public static java.time.ZonedDateTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.ZonedDateTime plus(java.time.temporal.TemporalAmount);
method public java.time.ZonedDateTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.ZonedDateTime plusDays(long);
method public java.time.ZonedDateTime plusHours(long);
@@ -62512,12 +62280,10 @@
method public java.time.ZonedDateTime plusSeconds(long);
method public java.time.ZonedDateTime plusWeeks(long);
method public java.time.ZonedDateTime plusYears(long);
- method public java.time.LocalDate toLocalDate();
method public java.time.LocalDateTime toLocalDateTime();
method public java.time.OffsetDateTime toOffsetDateTime();
method public java.time.ZonedDateTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.ZonedDateTime with(java.time.temporal.TemporalAdjuster);
method public java.time.ZonedDateTime with(java.time.temporal.TemporalField, long);
method public java.time.ZonedDateTime withDayOfMonth(int);
method public java.time.ZonedDateTime withDayOfYear(int);
@@ -62562,27 +62328,17 @@
method public default boolean isSupported(java.time.temporal.TemporalUnit);
method public abstract int lengthOfMonth();
method public default int lengthOfYear();
- method public default java.time.chrono.ChronoLocalDate minus(java.time.temporal.TemporalAmount);
- method public default java.time.chrono.ChronoLocalDate minus(long, java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoLocalDate plus(java.time.temporal.TemporalAmount);
method public default java.time.chrono.ChronoLocalDate plus(long, java.time.temporal.TemporalUnit);
method public static java.util.Comparator<java.time.chrono.ChronoLocalDate> timeLineOrder();
method public default long toEpochDay();
method public abstract java.lang.String toString();
method public abstract long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
method public abstract java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public default java.time.chrono.ChronoLocalDate with(java.time.temporal.TemporalAdjuster);
method public default java.time.chrono.ChronoLocalDate with(java.time.temporal.TemporalField, long);
}
abstract class ChronoLocalDateImpl<D extends java.time.chrono.ChronoLocalDate> implements java.time.chrono.ChronoLocalDate java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster {
- method public D minus(java.time.temporal.TemporalAmount);
- method public D minus(long, java.time.temporal.TemporalUnit);
- method public D plus(java.time.temporal.TemporalAmount);
- method public D plus(long, java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public D with(java.time.temporal.TemporalAdjuster);
- method public D with(java.time.temporal.TemporalField, long);
}
public abstract interface ChronoLocalDateTime<D extends java.time.chrono.ChronoLocalDate> implements java.lang.Comparable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster {
@@ -62599,9 +62355,6 @@
method public default boolean isEqual(java.time.chrono.ChronoLocalDateTime<?>);
method public abstract boolean isSupported(java.time.temporal.TemporalField);
method public default boolean isSupported(java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoLocalDateTime<D> minus(java.time.temporal.TemporalAmount);
- method public default java.time.chrono.ChronoLocalDateTime<D> minus(long, java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoLocalDateTime<D> plus(java.time.temporal.TemporalAmount);
method public abstract java.time.chrono.ChronoLocalDateTime<D> plus(long, java.time.temporal.TemporalUnit);
method public static java.util.Comparator<java.time.chrono.ChronoLocalDateTime<?>> timeLineOrder();
method public default long toEpochSecond(java.time.ZoneOffset);
@@ -62609,7 +62362,6 @@
method public abstract D toLocalDate();
method public abstract java.time.LocalTime toLocalTime();
method public abstract java.lang.String toString();
- method public default java.time.chrono.ChronoLocalDateTime<D> with(java.time.temporal.TemporalAdjuster);
method public abstract java.time.chrono.ChronoLocalDateTime<D> with(java.time.temporal.TemporalField, long);
}
@@ -62647,9 +62399,6 @@
method public default boolean isEqual(java.time.chrono.ChronoZonedDateTime<?>);
method public abstract boolean isSupported(java.time.temporal.TemporalField);
method public default boolean isSupported(java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoZonedDateTime<D> minus(java.time.temporal.TemporalAmount);
- method public default java.time.chrono.ChronoZonedDateTime<D> minus(long, java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoZonedDateTime<D> plus(java.time.temporal.TemporalAmount);
method public abstract java.time.chrono.ChronoZonedDateTime<D> plus(long, java.time.temporal.TemporalUnit);
method public static java.util.Comparator<java.time.chrono.ChronoZonedDateTime<?>> timeLineOrder();
method public default long toEpochSecond();
@@ -62658,7 +62407,6 @@
method public abstract java.time.chrono.ChronoLocalDateTime<D> toLocalDateTime();
method public default java.time.LocalTime toLocalTime();
method public abstract java.lang.String toString();
- method public default java.time.chrono.ChronoZonedDateTime<D> with(java.time.temporal.TemporalAdjuster);
method public abstract java.time.chrono.ChronoZonedDateTime<D> with(java.time.temporal.TemporalField, long);
method public abstract java.time.chrono.ChronoZonedDateTime<D> withEarlierOffsetAtOverlap();
method public abstract java.time.chrono.ChronoZonedDateTime<D> withLaterOffsetAtOverlap();
@@ -62725,7 +62473,6 @@
method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.HijrahDate> localDateTime(java.time.temporal.TemporalAccessor);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.chrono.HijrahDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.HijrahDate> zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.HijrahDate> zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.HijrahChronology INSTANCE;
@@ -62737,24 +62484,23 @@
method public java.time.chrono.HijrahChronology getChronology();
method public java.time.chrono.HijrahEra getEra();
method public long getLong(java.time.temporal.TemporalField);
+ method public boolean isLeapYear();
method public int lengthOfMonth();
- method public java.time.chrono.HijrahDate minus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.HijrahDate minus(long, java.time.temporal.TemporalUnit);
+ method public int lengthOfYear();
method public static java.time.chrono.HijrahDate now();
method public static java.time.chrono.HijrahDate now(java.time.ZoneId);
method public static java.time.chrono.HijrahDate now(java.time.Clock);
method public static java.time.chrono.HijrahDate of(int, int, int);
- method public java.time.chrono.HijrahDate plus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.HijrahDate plus(long, java.time.temporal.TemporalUnit);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
+ method public long toEpochDay();
method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public java.time.chrono.HijrahDate with(java.time.temporal.TemporalField, long);
- method public java.time.chrono.HijrahDate with(java.time.temporal.TemporalAdjuster);
method public java.time.chrono.HijrahDate withVariant(java.time.chrono.HijrahChronology);
}
public final class HijrahEra extends java.lang.Enum implements java.time.chrono.Era {
method public int getValue();
method public static java.time.chrono.HijrahEra of(int);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
method public static java.time.chrono.HijrahEra valueOf(java.lang.String);
method public static final java.time.chrono.HijrahEra[] values();
enum_constant public static final java.time.chrono.HijrahEra AH;
@@ -62779,7 +62525,6 @@
method public java.time.Period period(int, int, int);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.LocalDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.ZonedDateTime zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.ZonedDateTime zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.IsoChronology INSTANCE;
@@ -62812,7 +62557,6 @@
method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.JapaneseDate> localDateTime(java.time.temporal.TemporalAccessor);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.chrono.JapaneseDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.JapaneseDate> zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.JapaneseDate> zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.JapaneseChronology INSTANCE;
@@ -62824,19 +62568,17 @@
method public java.time.chrono.JapaneseChronology getChronology();
method public java.time.chrono.JapaneseEra getEra();
method public long getLong(java.time.temporal.TemporalField);
+ method public boolean isSupported(java.time.temporal.TemporalField);
method public int lengthOfMonth();
- method public java.time.chrono.JapaneseDate minus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.JapaneseDate minus(long, java.time.temporal.TemporalUnit);
+ method public int lengthOfYear();
method public static java.time.chrono.JapaneseDate now();
method public static java.time.chrono.JapaneseDate now(java.time.ZoneId);
method public static java.time.chrono.JapaneseDate now(java.time.Clock);
method public static java.time.chrono.JapaneseDate of(java.time.chrono.JapaneseEra, int, int, int);
method public static java.time.chrono.JapaneseDate of(int, int, int);
- method public java.time.chrono.JapaneseDate plus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.JapaneseDate plus(long, java.time.temporal.TemporalUnit);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
+ method public long toEpochDay();
method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public java.time.chrono.JapaneseDate with(java.time.temporal.TemporalField, long);
- method public java.time.chrono.JapaneseDate with(java.time.temporal.TemporalAdjuster);
}
public final class JapaneseEra implements java.time.chrono.Era java.io.Serializable {
@@ -62868,7 +62610,6 @@
method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.MinguoDate> localDateTime(java.time.temporal.TemporalAccessor);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.chrono.MinguoDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.MinguoDate> zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.MinguoDate> zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.MinguoChronology INSTANCE;
@@ -62881,17 +62622,13 @@
method public java.time.chrono.MinguoEra getEra();
method public long getLong(java.time.temporal.TemporalField);
method public int lengthOfMonth();
- method public java.time.chrono.MinguoDate minus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.MinguoDate minus(long, java.time.temporal.TemporalUnit);
method public static java.time.chrono.MinguoDate now();
method public static java.time.chrono.MinguoDate now(java.time.ZoneId);
method public static java.time.chrono.MinguoDate now(java.time.Clock);
method public static java.time.chrono.MinguoDate of(int, int, int);
- method public java.time.chrono.MinguoDate plus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.MinguoDate plus(long, java.time.temporal.TemporalUnit);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
+ method public long toEpochDay();
method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public java.time.chrono.MinguoDate with(java.time.temporal.TemporalField, long);
- method public java.time.chrono.MinguoDate with(java.time.temporal.TemporalAdjuster);
}
public final class MinguoEra extends java.lang.Enum implements java.time.chrono.Era {
@@ -62921,7 +62658,6 @@
method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.ThaiBuddhistDate> localDateTime(java.time.temporal.TemporalAccessor);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.chrono.ThaiBuddhistDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.ThaiBuddhistDate> zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.ThaiBuddhistDate> zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.ThaiBuddhistChronology INSTANCE;
@@ -62934,17 +62670,13 @@
method public java.time.chrono.ThaiBuddhistEra getEra();
method public long getLong(java.time.temporal.TemporalField);
method public int lengthOfMonth();
- method public java.time.chrono.ThaiBuddhistDate minus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.ThaiBuddhistDate minus(long, java.time.temporal.TemporalUnit);
method public static java.time.chrono.ThaiBuddhistDate now();
method public static java.time.chrono.ThaiBuddhistDate now(java.time.ZoneId);
method public static java.time.chrono.ThaiBuddhistDate now(java.time.Clock);
method public static java.time.chrono.ThaiBuddhistDate of(int, int, int);
- method public java.time.chrono.ThaiBuddhistDate plus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.ThaiBuddhistDate plus(long, java.time.temporal.TemporalUnit);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
+ method public long toEpochDay();
method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public java.time.chrono.ThaiBuddhistDate with(java.time.temporal.TemporalField, long);
- method public java.time.chrono.ThaiBuddhistDate with(java.time.temporal.TemporalAdjuster);
}
public final class ThaiBuddhistEra extends java.lang.Enum implements java.time.chrono.Era {
@@ -63123,6 +62855,7 @@
method public int checkValidIntValue(long);
method public long checkValidValue(long);
method public java.time.temporal.TemporalUnit getBaseUnit();
+ method public java.lang.String getDisplayName(java.util.Locale);
method public long getFrom(java.time.temporal.TemporalAccessor);
method public java.time.temporal.TemporalUnit getRangeUnit();
method public boolean isDateBased();
@@ -63170,6 +62903,7 @@
method public java.time.Duration getDuration();
method public boolean isDateBased();
method public boolean isDurationEstimated();
+ method public boolean isSupportedBy(java.time.temporal.Temporal);
method public boolean isTimeBased();
method public static java.time.temporal.ChronoUnit valueOf(java.lang.String);
method public static final java.time.temporal.ChronoUnit[] values();
@@ -63509,6 +63243,7 @@
method public E removeLast();
method public boolean removeLastOccurrence(java.lang.Object);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public class ArrayList<E> extends java.util.AbstractList implements java.lang.Cloneable java.util.List java.util.RandomAccess java.io.Serializable {
@@ -63519,7 +63254,11 @@
method public void ensureCapacity(int);
method public void forEach(java.util.function.Consumer<? super E>);
method public E get(int);
+ method public boolean removeIf(java.util.function.Predicate<? super E>);
+ method public void replaceAll(java.util.function.UnaryOperator<E>);
method public int size();
+ method public void sort(java.util.Comparator<? super E>);
+ method public java.util.Spliterator<E> spliterator();
method public void trimToSize();
}
@@ -63890,7 +63629,6 @@
method public default boolean removeIf(java.util.function.Predicate<? super E>);
method public abstract boolean retainAll(java.util.Collection<?>);
method public abstract int size();
- method public default java.util.Spliterator<E> spliterator();
method public default java.util.stream.Stream<E> stream();
method public abstract java.lang.Object[] toArray();
method public abstract <T> T[] toArray(T[]);
@@ -64231,7 +63969,18 @@
ctor public HashMap();
ctor public HashMap(java.util.Map<? extends K, ? extends V>);
method public java.lang.Object clone();
+ method public V compute(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
+ method public V computeIfAbsent(K, java.util.function.Function<? super K, ? extends V>);
+ method public V computeIfPresent(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
+ method public V getOrDefault(java.lang.Object, V);
+ method public V merge(K, V, java.util.function.BiFunction<? super V, ? super V, ? extends V>);
+ method public V putIfAbsent(K, V);
+ method public boolean remove(java.lang.Object, java.lang.Object);
+ method public boolean replace(K, V, V);
+ method public V replace(K, V);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
}
public class HashSet<E> extends java.util.AbstractSet implements java.lang.Cloneable java.io.Serializable java.util.Set {
@@ -64242,6 +63991,7 @@
method public java.lang.Object clone();
method public java.util.Iterator<E> iterator();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public class Hashtable<K, V> extends java.util.Dictionary implements java.lang.Cloneable java.util.Map java.io.Serializable {
@@ -64259,11 +64009,9 @@
method public boolean containsValue(java.lang.Object);
method public synchronized java.util.Enumeration<V> elements();
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
- method public synchronized boolean equals(java.lang.Object);
method public synchronized void forEach(java.util.function.BiConsumer<? super K, ? super V>);
method public synchronized V get(java.lang.Object);
method public synchronized V getOrDefault(java.lang.Object, V);
- method public synchronized int hashCode();
method public synchronized boolean isEmpty();
method public java.util.Set<K> keySet();
method public synchronized java.util.Enumeration<K> keys();
@@ -64278,7 +64026,6 @@
method public synchronized V replace(K, V);
method public synchronized void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public synchronized int size();
- method public synchronized java.lang.String toString();
method public java.util.Collection<V> values();
}
@@ -64288,6 +64035,8 @@
ctor public IdentityHashMap(java.util.Map<? extends K, ? extends V>);
method public java.lang.Object clone();
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
}
public class IllegalFormatCodePointException extends java.util.IllegalFormatException {
@@ -64398,6 +64147,7 @@
method public E removeLast();
method public boolean removeLastOccurrence(java.lang.Object);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public abstract interface List<E> implements java.util.Collection {
@@ -65020,7 +64770,6 @@
ctor public SimpleTimeZone(int, java.lang.String, int, int, int, int, int, int, int, int, int, int, int);
method public int getOffset(int, int, int, int, int, int);
method public int getRawOffset();
- method public synchronized int hashCode();
method public boolean inDaylightTime(java.util.Date);
method public void setDSTSavings(int);
method public void setEndRule(int, int, int, int);
@@ -65293,6 +65042,7 @@
method public K firstKey();
method public java.util.Map.Entry<K, V> floorEntry(K);
method public K floorKey(K);
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
method public java.util.NavigableMap<K, V> headMap(K, boolean);
method public java.util.SortedMap<K, V> headMap(K);
method public java.util.Map.Entry<K, V> higherEntry(K);
@@ -65304,6 +65054,9 @@
method public java.util.NavigableSet<K> navigableKeySet();
method public java.util.Map.Entry<K, V> pollFirstEntry();
method public java.util.Map.Entry<K, V> pollLastEntry();
+ method public boolean replace(K, V, V);
+ method public V replace(K, V);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public java.util.NavigableMap<K, V> subMap(K, boolean, K, boolean);
method public java.util.SortedMap<K, V> subMap(K, K);
method public java.util.NavigableMap<K, V> tailMap(K, boolean);
@@ -65331,6 +65084,7 @@
method public E pollFirst();
method public E pollLast();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public java.util.NavigableSet<E> subSet(E, boolean, E, boolean);
method public java.util.SortedSet<E> subSet(E, E);
method public java.util.NavigableSet<E> tailSet(E, boolean);
@@ -65367,49 +65121,30 @@
ctor public Vector(int);
ctor public Vector();
ctor public Vector(java.util.Collection<? extends E>);
- method public synchronized boolean add(E);
- method public synchronized boolean addAll(java.util.Collection<? extends E>);
- method public synchronized boolean addAll(int, java.util.Collection<? extends E>);
method public synchronized void addElement(E);
method public synchronized int capacity();
method public synchronized java.lang.Object clone();
- method public synchronized boolean containsAll(java.util.Collection<?>);
method public synchronized void copyInto(java.lang.Object[]);
method public synchronized E elementAt(int);
method public java.util.Enumeration<E> elements();
method public synchronized void ensureCapacity(int);
- method public synchronized boolean equals(java.lang.Object);
method public synchronized E firstElement();
method public synchronized void forEach(java.util.function.Consumer<? super E>);
method public synchronized E get(int);
- method public synchronized int hashCode();
method public synchronized int indexOf(java.lang.Object, int);
method public synchronized void insertElementAt(E, int);
- method public synchronized boolean isEmpty();
- method public synchronized java.util.Iterator<E> iterator();
method public synchronized E lastElement();
- method public synchronized int lastIndexOf(java.lang.Object);
method public synchronized int lastIndexOf(java.lang.Object, int);
- method public synchronized java.util.ListIterator<E> listIterator(int);
- method public synchronized java.util.ListIterator<E> listIterator();
- method public synchronized E remove(int);
- method public synchronized boolean removeAll(java.util.Collection<?>);
method public synchronized void removeAllElements();
method public synchronized boolean removeElement(java.lang.Object);
method public synchronized void removeElementAt(int);
method public synchronized boolean removeIf(java.util.function.Predicate<? super E>);
- method protected synchronized void removeRange(int, int);
method public synchronized void replaceAll(java.util.function.UnaryOperator<E>);
- method public synchronized boolean retainAll(java.util.Collection<?>);
- method public synchronized E set(int, E);
method public synchronized void setElementAt(E, int);
method public synchronized void setSize(int);
method public synchronized int size();
method public synchronized void sort(java.util.Comparator<? super E>);
- method public synchronized java.util.List<E> subList(int, int);
- method public synchronized java.lang.Object[] toArray();
- method public synchronized <T> T[] toArray(T[]);
- method public synchronized java.lang.String toString();
+ method public java.util.Spliterator<E> spliterator();
method public synchronized void trimToSize();
field protected int capacityIncrement;
field protected int elementCount;
@@ -65422,6 +65157,8 @@
ctor public WeakHashMap();
ctor public WeakHashMap(java.util.Map<? extends K, ? extends V>);
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
}
}
@@ -65456,6 +65193,7 @@
method public void put(E) throws java.lang.InterruptedException;
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
}
@@ -65646,9 +65384,13 @@
ctor public ConcurrentHashMap(java.util.Map<? extends K, ? extends V>);
ctor public ConcurrentHashMap(int, float);
ctor public ConcurrentHashMap(int, float, int);
+ method public V compute(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
+ method public V computeIfAbsent(K, java.util.function.Function<? super K, ? extends V>);
+ method public V computeIfPresent(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public boolean contains(java.lang.Object);
method public java.util.Enumeration<V> elements();
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
method public void forEach(long, java.util.function.BiConsumer<? super K, ? super V>);
method public <U> void forEach(long, java.util.function.BiFunction<? super K, ? super V, ? extends U>, java.util.function.Consumer<? super U>);
method public void forEachEntry(long, java.util.function.Consumer<? super java.util.Map.Entry<K, V>>);
@@ -65657,11 +65399,14 @@
method public <U> void forEachKey(long, java.util.function.Function<? super K, ? extends U>, java.util.function.Consumer<? super U>);
method public void forEachValue(long, java.util.function.Consumer<? super V>);
method public <U> void forEachValue(long, java.util.function.Function<? super V, ? extends U>, java.util.function.Consumer<? super U>);
+ method public V getOrDefault(java.lang.Object, V);
method public java.util.concurrent.ConcurrentHashMap.KeySetView<K, V> keySet(V);
method public java.util.Enumeration<K> keys();
method public long mappingCount();
+ method public V merge(K, V, java.util.function.BiFunction<? super V, ? super V, ? extends V>);
method public static <K> java.util.concurrent.ConcurrentHashMap.KeySetView<K, java.lang.Boolean> newKeySet();
method public static <K> java.util.concurrent.ConcurrentHashMap.KeySetView<K, java.lang.Boolean> newKeySet(int);
+ method public V putIfAbsent(K, V);
method public <U> U reduce(long, java.util.function.BiFunction<? super K, ? super V, ? extends U>, java.util.function.BiFunction<? super U, ? super U, ? extends U>);
method public java.util.Map.Entry<K, V> reduceEntries(long, java.util.function.BiFunction<java.util.Map.Entry<K, V>, java.util.Map.Entry<K, V>, ? extends java.util.Map.Entry<K, V>>);
method public <U> U reduceEntries(long, java.util.function.Function<java.util.Map.Entry<K, V>, ? extends U>, java.util.function.BiFunction<? super U, ? super U, ? extends U>);
@@ -65681,6 +65426,10 @@
method public double reduceValuesToDouble(long, java.util.function.ToDoubleFunction<? super V>, double, java.util.function.DoubleBinaryOperator);
method public int reduceValuesToInt(long, java.util.function.ToIntFunction<? super V>, int, java.util.function.IntBinaryOperator);
method public long reduceValuesToLong(long, java.util.function.ToLongFunction<? super V>, long, java.util.function.LongBinaryOperator);
+ method public boolean remove(java.lang.Object, java.lang.Object);
+ method public boolean replace(K, V, V);
+ method public V replace(K, V);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public <U> U search(long, java.util.function.BiFunction<? super K, ? super V, ? extends U>);
method public <U> U searchEntries(long, java.util.function.Function<java.util.Map.Entry<K, V>, ? extends U>);
method public <U> U searchKeys(long, java.util.function.Function<? super K, ? extends U>);
@@ -65741,6 +65490,7 @@
method public E removeLast();
method public boolean removeLastOccurrence(java.lang.Object);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public class ConcurrentLinkedQueue<E> extends java.util.AbstractQueue implements java.util.Queue java.io.Serializable {
@@ -65751,6 +65501,7 @@
method public E peek();
method public E poll();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public abstract interface ConcurrentMap<K, V> implements java.util.Map {
@@ -65782,6 +65533,9 @@
method public K ceilingKey(K);
method public java.util.concurrent.ConcurrentSkipListMap<K, V> clone();
method public java.util.Comparator<? super K> comparator();
+ method public V compute(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
+ method public V computeIfAbsent(K, java.util.function.Function<? super K, ? extends V>);
+ method public V computeIfPresent(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public java.util.NavigableSet<K> descendingKeySet();
method public java.util.concurrent.ConcurrentNavigableMap<K, V> descendingMap();
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
@@ -65789,18 +65543,25 @@
method public K firstKey();
method public java.util.Map.Entry<K, V> floorEntry(K);
method public K floorKey(K);
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
+ method public V getOrDefault(java.lang.Object, V);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> headMap(K, boolean);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> headMap(K);
method public java.util.Map.Entry<K, V> higherEntry(K);
method public K higherKey(K);
- method public java.util.NavigableSet<K> keySet();
method public java.util.Map.Entry<K, V> lastEntry();
method public K lastKey();
method public java.util.Map.Entry<K, V> lowerEntry(K);
method public K lowerKey(K);
+ method public V merge(K, V, java.util.function.BiFunction<? super V, ? super V, ? extends V>);
method public java.util.NavigableSet<K> navigableKeySet();
method public java.util.Map.Entry<K, V> pollFirstEntry();
method public java.util.Map.Entry<K, V> pollLastEntry();
+ method public V putIfAbsent(K, V);
+ method public boolean remove(java.lang.Object, java.lang.Object);
+ method public boolean replace(K, V, V);
+ method public V replace(K, V);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> subMap(K, boolean, K, boolean);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> subMap(K, K);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> tailMap(K, boolean);
@@ -65828,6 +65589,7 @@
method public E pollFirst();
method public E pollLast();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public java.util.NavigableSet<E> subSet(E, boolean, E, boolean);
method public java.util.NavigableSet<E> subSet(E, E);
method public java.util.NavigableSet<E> tailSet(E, boolean);
@@ -65874,7 +65636,9 @@
ctor public CopyOnWriteArraySet(java.util.Collection<? extends E>);
method public void forEach(java.util.function.Consumer<? super E>);
method public java.util.Iterator<E> iterator();
+ method public boolean removeIf(java.util.function.Predicate<? super E>);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public class CountDownLatch {
@@ -66033,7 +65797,6 @@
method public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler();
method public boolean hasQueuedSubmissions();
method public <T> T invoke(java.util.concurrent.ForkJoinTask<T>);
- method public <T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>);
method public boolean isQuiescent();
method public boolean isShutdown();
method public boolean isTerminated();
@@ -66043,9 +65806,6 @@
method public void shutdown();
method public java.util.List<java.lang.Runnable> shutdownNow();
method public <T> java.util.concurrent.ForkJoinTask<T> submit(java.util.concurrent.ForkJoinTask<T>);
- method public <T> java.util.concurrent.ForkJoinTask<T> submit(java.util.concurrent.Callable<T>);
- method public <T> java.util.concurrent.ForkJoinTask<T> submit(java.lang.Runnable, T);
- method public java.util.concurrent.ForkJoinTask<?> submit(java.lang.Runnable);
field public static final java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory defaultForkJoinWorkerThreadFactory;
}
@@ -66169,6 +65929,7 @@
method public E removeLast();
method public boolean removeLastOccurrence(java.lang.Object);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
method public E takeFirst() throws java.lang.InterruptedException;
method public E takeLast() throws java.lang.InterruptedException;
@@ -66189,6 +65950,7 @@
method public void put(E) throws java.lang.InterruptedException;
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
}
@@ -66208,6 +65970,7 @@
method public void put(E);
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
method public void transfer(E) throws java.lang.InterruptedException;
method public boolean tryTransfer(E);
@@ -66255,6 +66018,7 @@
method public void put(E);
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
}
@@ -66358,6 +66122,7 @@
method public void put(E) throws java.lang.InterruptedException;
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
}
@@ -66369,11 +66134,9 @@
method public static java.util.concurrent.ThreadLocalRandom current();
method public double nextDouble(double);
method public double nextDouble(double, double);
- method public double nextGaussian();
method public int nextInt(int, int);
method public long nextLong(long);
method public long nextLong(long, long);
- method public void setSeed(long);
}
public class ThreadPoolExecutor extends java.util.concurrent.AbstractExecutorService {
@@ -66387,7 +66150,6 @@
method public boolean awaitTermination(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException;
method protected void beforeExecute(java.lang.Thread, java.lang.Runnable);
method public void execute(java.lang.Runnable);
- method protected void finalize();
method public int getActiveCount();
method public long getCompletedTaskCount();
method public int getCorePoolSize();
@@ -67258,11 +67020,8 @@
ctor public JarFile(java.io.File) throws java.io.IOException;
ctor public JarFile(java.io.File, boolean) throws java.io.IOException;
ctor public JarFile(java.io.File, boolean, int) throws java.io.IOException;
- method public java.util.Enumeration<java.util.jar.JarEntry> entries();
- method public synchronized java.io.InputStream getInputStream(java.util.zip.ZipEntry) throws java.io.IOException;
method public java.util.jar.JarEntry getJarEntry(java.lang.String);
method public java.util.jar.Manifest getManifest() throws java.io.IOException;
- method public java.util.stream.Stream<java.util.jar.JarEntry> stream();
field public static final java.lang.String MANIFEST_NAME = "META-INF/MANIFEST.MF";
}
@@ -67342,8 +67101,6 @@
public class ConsoleHandler extends java.util.logging.StreamHandler {
ctor public ConsoleHandler();
- method public void close();
- method public void publish(java.util.logging.LogRecord);
}
public class ErrorManager {
@@ -68133,7 +67890,6 @@
method public int deflate(byte[]);
method public int deflate(byte[], int, int, int);
method public void end();
- method protected void finalize();
method public void finish();
method public boolean finished();
method public int getAdler();
@@ -68166,8 +67922,6 @@
ctor public DeflaterInputStream(java.io.InputStream);
ctor public DeflaterInputStream(java.io.InputStream, java.util.zip.Deflater);
ctor public DeflaterInputStream(java.io.InputStream, java.util.zip.Deflater, int);
- method public void mark(int);
- method public void reset() throws java.io.IOException;
field protected final byte[] buf;
field protected final java.util.zip.Deflater def;
}
@@ -68198,7 +67952,6 @@
ctor public GZIPOutputStream(java.io.OutputStream, int, boolean) throws java.io.IOException;
ctor public GZIPOutputStream(java.io.OutputStream) throws java.io.IOException;
ctor public GZIPOutputStream(java.io.OutputStream, boolean) throws java.io.IOException;
- method public synchronized void write(byte[], int, int) throws java.io.IOException;
field protected java.util.zip.CRC32 crc;
}
@@ -68206,7 +67959,6 @@
ctor public Inflater(boolean);
ctor public Inflater();
method public void end();
- method protected void finalize();
method public boolean finished();
method public int getAdler();
method public long getBytesRead();
@@ -68333,7 +68085,6 @@
ctor public ZipFile(java.io.File, java.nio.charset.Charset) throws java.io.IOException;
method public void close() throws java.io.IOException;
method public java.util.Enumeration<? extends java.util.zip.ZipEntry> entries();
- method protected void finalize() throws java.io.IOException;
method public java.lang.String getComment();
method public java.util.zip.ZipEntry getEntry(java.lang.String);
method public java.io.InputStream getInputStream(java.util.zip.ZipEntry) throws java.io.IOException;
@@ -68440,7 +68191,6 @@
method public void setComment(java.lang.String);
method public void setLevel(int);
method public void setMethod(int);
- method public synchronized void write(byte[], int, int) throws java.io.IOException;
field public static final int CENATT = 36; // 0x24
field public static final int CENATX = 38; // 0x26
field public static final int CENCOM = 32; // 0x20
@@ -68597,7 +68347,6 @@
public class ExemptionMechanism {
ctor protected ExemptionMechanism(javax.crypto.ExemptionMechanismSpi, java.security.Provider, java.lang.String);
- method protected void finalize();
method public final byte[] genExemptionBlob() throws javax.crypto.ExemptionMechanismException, java.lang.IllegalStateException;
method public final int genExemptionBlob(byte[]) throws javax.crypto.ExemptionMechanismException, java.lang.IllegalStateException, javax.crypto.ShortBufferException;
method public final int genExemptionBlob(byte[], int) throws javax.crypto.ExemptionMechanismException, java.lang.IllegalStateException, javax.crypto.ShortBufferException;
@@ -70987,7 +70736,6 @@
ctor public TransformerException(java.lang.String, java.lang.Throwable);
ctor public TransformerException(java.lang.String, javax.xml.transform.SourceLocator);
ctor public TransformerException(java.lang.String, javax.xml.transform.SourceLocator, java.lang.Throwable);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getException();
method public java.lang.String getLocationAsString();
method public javax.xml.transform.SourceLocator getLocator();
@@ -71258,7 +71006,6 @@
public class XPathException extends java.lang.Exception {
ctor public XPathException(java.lang.String);
ctor public XPathException(java.lang.Throwable);
- method public java.lang.Throwable getCause();
}
public abstract interface XPathExpression {
diff --git a/api/system-current.txt b/api/system-current.txt
index 4859be3..bb5c81e 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -3294,7 +3294,6 @@
public final class AnimatorSet extends android.animation.Animator {
ctor public AnimatorSet();
- method public android.animation.AnimatorSet clone();
method public java.util.ArrayList<android.animation.Animator> getChildAnimations();
method public long getCurrentPlayTime();
method public long getDuration();
@@ -3413,7 +3412,6 @@
public final class ObjectAnimator extends android.animation.ValueAnimator {
ctor public ObjectAnimator();
- method public android.animation.ObjectAnimator clone();
method public java.lang.String getPropertyName();
method public java.lang.Object getTarget();
method public static android.animation.ObjectAnimator ofArgb(java.lang.Object, java.lang.String, int...);
@@ -3439,7 +3437,6 @@
method public static <T, V> android.animation.ObjectAnimator ofObject(T, android.util.Property<T, V>, android.animation.TypeConverter<android.graphics.PointF, V>, android.graphics.Path);
method public static android.animation.ObjectAnimator ofPropertyValuesHolder(java.lang.Object, android.animation.PropertyValuesHolder...);
method public void setAutoCancel(boolean);
- method public android.animation.ObjectAnimator setDuration(long);
method public void setProperty(android.util.Property);
method public void setPropertyName(java.lang.String);
}
@@ -3521,7 +3518,6 @@
ctor public ValueAnimator();
method public void addUpdateListener(android.animation.ValueAnimator.AnimatorUpdateListener);
method public static boolean areAnimatorsEnabled();
- method public android.animation.ValueAnimator clone();
method public float getAnimatedFraction();
method public java.lang.Object getAnimatedValue();
method public java.lang.Object getAnimatedValue(java.lang.String);
@@ -5146,7 +5142,6 @@
ctor public IntentService(java.lang.String);
method public android.os.IBinder onBind(android.content.Intent);
method protected abstract void onHandleIntent(android.content.Intent);
- method public void onStart(android.content.Intent, int);
method public void setIntentRedelivery(boolean);
}
@@ -11826,7 +11821,6 @@
public static class AssetFileDescriptor.AutoCloseInputStream extends android.os.ParcelFileDescriptor.AutoCloseInputStream {
ctor public AssetFileDescriptor.AutoCloseInputStream(android.content.res.AssetFileDescriptor) throws java.io.IOException;
- method public void mark(int);
}
public static class AssetFileDescriptor.AutoCloseOutputStream extends android.os.ParcelFileDescriptor.AutoCloseOutputStream {
@@ -12134,7 +12128,6 @@
method public void copyStringToBuffer(int, android.database.CharArrayBuffer);
method public void deactivate();
method public void fillWindow(int, android.database.CursorWindow);
- method protected void finalize();
method public byte[] getBlob(int);
method public int getColumnCount();
method public int getColumnIndex(java.lang.String);
@@ -14609,7 +14602,6 @@
method public void scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long);
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setOpacity(int);
method public void unscheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable);
}
@@ -14690,7 +14682,6 @@
method public void setAlpha(int);
method public void setAntiAlias(boolean);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setGravity(int);
method public void setMipMap(boolean);
method public void setTargetDensity(android.graphics.Canvas);
@@ -14816,7 +14807,6 @@
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
method protected void setConstantState(android.graphics.drawable.DrawableContainer.DrawableContainerState);
- method public void setDither(boolean);
method public void setEnterFadeDuration(int);
method public void setExitFadeDuration(int);
method public void unscheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable);
@@ -14883,7 +14873,6 @@
method public void setColors(int[]);
method public void setCornerRadii(float[]);
method public void setCornerRadius(float);
- method public void setDither(boolean);
method public void setGradientCenter(float, float);
method public void setGradientRadius(float);
method public void setGradientType(int);
@@ -14978,7 +14967,6 @@
method public void scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long);
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setDrawable(int, android.graphics.drawable.Drawable);
method public boolean setDrawableByLayerId(int, android.graphics.drawable.Drawable);
method public void setId(int, int);
@@ -15019,7 +15007,6 @@
method public android.graphics.Paint getPaint();
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setTargetDensity(android.graphics.Canvas);
method public void setTargetDensity(android.util.DisplayMetrics);
method public void setTargetDensity(int);
@@ -15082,7 +15069,6 @@
method protected void onDraw(android.graphics.drawable.shapes.Shape, android.graphics.Canvas, android.graphics.Paint);
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setIntrinsicHeight(int);
method public void setIntrinsicWidth(int);
method public void setPadding(int, int, int, int);
@@ -15124,32 +15110,27 @@
public class ArcShape extends android.graphics.drawable.shapes.RectShape {
ctor public ArcShape(float, float);
- method public android.graphics.drawable.shapes.ArcShape clone() throws java.lang.CloneNotSupportedException;
method public final float getStartAngle();
method public final float getSweepAngle();
}
public class OvalShape extends android.graphics.drawable.shapes.RectShape {
ctor public OvalShape();
- method public android.graphics.drawable.shapes.OvalShape clone() throws java.lang.CloneNotSupportedException;
}
public class PathShape extends android.graphics.drawable.shapes.Shape {
ctor public PathShape(android.graphics.Path, float, float);
- method public android.graphics.drawable.shapes.PathShape clone() throws java.lang.CloneNotSupportedException;
method public void draw(android.graphics.Canvas, android.graphics.Paint);
}
public class RectShape extends android.graphics.drawable.shapes.Shape {
ctor public RectShape();
- method public android.graphics.drawable.shapes.RectShape clone() throws java.lang.CloneNotSupportedException;
method public void draw(android.graphics.Canvas, android.graphics.Paint);
method protected final android.graphics.RectF rect();
}
public class RoundRectShape extends android.graphics.drawable.shapes.RectShape {
ctor public RoundRectShape(float[], android.graphics.RectF, float[]);
- method public android.graphics.drawable.shapes.RoundRectShape clone() throws java.lang.CloneNotSupportedException;
}
public abstract class Shape implements java.lang.Cloneable {
@@ -15234,7 +15215,6 @@
method public final void autoFocus(android.hardware.Camera.AutoFocusCallback);
method public final void cancelAutoFocus();
method public final boolean enableShutterSound(boolean);
- method protected void finalize();
method public static void getCameraInfo(int, android.hardware.Camera.CameraInfo);
method public static int getNumberOfCameras();
method public android.hardware.Camera.Parameters getParameters();
@@ -15852,7 +15832,6 @@
method public <T> T get(android.hardware.camera2.CameraCharacteristics.Key<T>);
method public java.util.List<android.hardware.camera2.CaptureRequest.Key<?>> getAvailableCaptureRequestKeys();
method public java.util.List<android.hardware.camera2.CaptureResult.Key<?>> getAvailableCaptureResultKeys();
- method public java.util.List<android.hardware.camera2.CameraCharacteristics.Key<?>> getKeys();
field public static final android.hardware.camera2.CameraCharacteristics.Key<int[]> COLOR_CORRECTION_AVAILABLE_ABERRATION_MODES;
field public static final android.hardware.camera2.CameraCharacteristics.Key<int[]> CONTROL_AE_AVAILABLE_ANTIBANDING_MODES;
field public static final android.hardware.camera2.CameraCharacteristics.Key<int[]> CONTROL_AE_AVAILABLE_MODES;
@@ -16213,7 +16192,6 @@
public final class CaptureRequest extends android.hardware.camera2.CameraMetadata implements android.os.Parcelable {
method public int describeContents();
method public <T> T get(android.hardware.camera2.CaptureRequest.Key<T>);
- method public java.util.List<android.hardware.camera2.CaptureRequest.Key<?>> getKeys();
method public java.lang.Object getTag();
method public boolean isReprocess();
method public void writeToParcel(android.os.Parcel, int);
@@ -16292,7 +16270,6 @@
public class CaptureResult extends android.hardware.camera2.CameraMetadata {
method public <T> T get(android.hardware.camera2.CaptureResult.Key<T>);
method public long getFrameNumber();
- method public java.util.List<android.hardware.camera2.CaptureResult.Key<?>> getKeys();
method public android.hardware.camera2.CaptureRequest getRequest();
method public int getSequenceId();
field public static final android.hardware.camera2.CaptureResult.Key<java.lang.Boolean> BLACK_LEVEL_LOCK;
@@ -19442,7 +19419,6 @@
}
public class DateIntervalFormat extends android.icu.text.UFormat {
- method public synchronized java.lang.Object clone();
method public final java.lang.StringBuffer format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition);
method public final synchronized java.lang.StringBuffer format(android.icu.util.DateInterval, java.lang.StringBuffer, java.text.FieldPosition);
method public final synchronized java.lang.StringBuffer format(android.icu.util.Calendar, android.icu.util.Calendar, java.lang.StringBuffer, java.text.FieldPosition);
@@ -20226,7 +20202,6 @@
public final class RuleBasedCollator extends android.icu.text.Collator {
ctor public RuleBasedCollator(java.lang.String) throws java.lang.Exception;
- method public android.icu.text.RuleBasedCollator cloneAsThawed();
method public int compare(java.lang.String, java.lang.String);
method public android.icu.text.CollationElementIterator getCollationElementIterator(java.lang.String);
method public android.icu.text.CollationElementIterator getCollationElementIterator(java.text.CharacterIterator);
@@ -20253,7 +20228,6 @@
method public void setFrenchCollation(boolean);
method public void setFrenchCollationDefault();
method public void setLowerCaseFirst(boolean);
- method public android.icu.text.RuleBasedCollator setMaxVariable(int);
method public void setNumericCollation(boolean);
method public void setNumericCollationDefault();
method public void setStrengthDefault();
@@ -23106,7 +23080,6 @@
ctor public AudioRecord(android.media.AudioAttributes, android.media.AudioFormat, int, int) throws java.lang.IllegalArgumentException;
method public void addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler);
method public deprecated void addOnRoutingChangedListener(android.media.AudioRecord.OnRoutingChangedListener, android.os.Handler);
- method protected void finalize();
method public int getAudioFormat();
method public int getAudioSessionId();
method public int getAudioSource();
@@ -23213,7 +23186,6 @@
method public deprecated void addOnRoutingChangedListener(android.media.AudioTrack.OnRoutingChangedListener, android.os.Handler);
method public int attachAuxEffect(int);
method public android.media.VolumeShaper createVolumeShaper(android.media.VolumeShaper.Configuration);
- method protected void finalize();
method public void flush();
method public int getAudioFormat();
method public int getAudioSessionId();
@@ -23612,7 +23584,6 @@
method public boolean clearQueue();
method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
method public boolean closeJetFile();
- method protected void finalize();
method public static android.media.JetPlayer getJetPlayer();
method public static int getMaxTracks();
method public boolean loadJetFile(java.lang.String);
@@ -23652,7 +23623,6 @@
ctor public MediaCas(int) throws android.media.MediaCasException.UnsupportedCasException;
method public void close();
method public static android.media.MediaCas.PluginDescriptor[] enumeratePlugins();
- method protected void finalize();
method public static boolean isSystemIdSupported(int);
method public android.media.MediaCas.Session openSession() throws android.media.MediaCasException;
method public void processEmm(byte[], int, int) throws android.media.MediaCasException;
@@ -23709,7 +23679,6 @@
method public static android.view.Surface createPersistentInputSurface();
method public final int dequeueInputBuffer(long);
method public final int dequeueOutputBuffer(android.media.MediaCodec.BufferInfo, long);
- method protected void finalize();
method public final void flush();
method public android.media.MediaCodecInfo getCodecInfo();
method public java.nio.ByteBuffer getInputBuffer(int);
@@ -24121,7 +24090,6 @@
public final class MediaCrypto {
ctor public MediaCrypto(java.util.UUID, byte[]) throws android.media.MediaCryptoException;
- method protected void finalize();
method public static final boolean isCryptoSchemeSupported(java.util.UUID);
method public final void release();
method public final boolean requiresSecureDecoderComponent(java.lang.String);
@@ -24142,7 +24110,6 @@
ctor public MediaDescrambler(int) throws android.media.MediaCasException.UnsupportedCasException;
method public void close();
method public final int descramble(java.nio.ByteBuffer, java.nio.ByteBuffer, android.media.MediaCodec.CryptoInfo);
- method protected void finalize();
method public final boolean requiresSecureDecoderComponent(java.lang.String);
method public final void setMediaCasSession(android.media.MediaCas.Session);
}
@@ -24185,7 +24152,6 @@
public final class MediaDrm {
ctor public MediaDrm(java.util.UUID) throws android.media.UnsupportedSchemeException;
method public void closeSession(byte[]);
- method protected void finalize();
method public android.media.MediaDrm.CryptoSession getCryptoSession(byte[], java.lang.String, java.lang.String);
method public android.media.MediaDrm.KeyRequest getKeyRequest(byte[], byte[], java.lang.String, int, java.util.HashMap<java.lang.String, java.lang.String>) throws android.media.NotProvisionedException;
method public byte[] getPropertyByteArray(java.lang.String);
@@ -24282,7 +24248,6 @@
public final class MediaExtractor {
ctor public MediaExtractor();
method public boolean advance();
- method protected void finalize();
method public long getCachedDuration();
method public android.media.MediaExtractor.CasInfo getCasInfo(int);
method public android.media.DrmInitData getDrmInitData();
@@ -24584,7 +24549,6 @@
method public static android.media.MediaPlayer create(android.content.Context, int, android.media.AudioAttributes, int);
method public android.media.VolumeShaper createVolumeShaper(android.media.VolumeShaper.Configuration);
method public void deselectTrack(int) throws java.lang.IllegalStateException;
- method protected void finalize();
method public int getAudioSessionId();
method public int getCurrentPosition();
method public android.media.MediaPlayer.DrmInfo getDrmInfo();
@@ -24780,7 +24744,6 @@
public class MediaRecorder {
ctor public MediaRecorder();
- method protected void finalize();
method public static final int getAudioSourceMax();
method public int getMaxAmplitude() throws java.lang.IllegalStateException;
method public android.os.PersistableBundle getMetrics();
@@ -25054,7 +25017,6 @@
public final class MediaSync {
ctor public MediaSync();
method public final android.view.Surface createInputSurface();
- method protected void finalize();
method public void flush();
method public android.media.PlaybackParams getPlaybackParams();
method public android.media.SyncParams getSyncParams();
@@ -25183,10 +25145,6 @@
public deprecated class RemoteControlClient.MetadataEditor extends android.media.MediaMetadataEditor {
method public synchronized void apply();
- method public synchronized android.media.RemoteControlClient.MetadataEditor putBitmap(int, android.graphics.Bitmap) throws java.lang.IllegalArgumentException;
- method public synchronized android.media.RemoteControlClient.MetadataEditor putLong(int, long) throws java.lang.IllegalArgumentException;
- method public synchronized android.media.RemoteControlClient.MetadataEditor putObject(int, java.lang.Object) throws java.lang.IllegalArgumentException;
- method public synchronized android.media.RemoteControlClient.MetadataEditor putString(int, java.lang.String) throws java.lang.IllegalArgumentException;
field public static final int BITMAP_KEY_ARTWORK = 100; // 0x64
}
@@ -25233,7 +25191,6 @@
}
public class Ringtone {
- method protected void finalize();
method public android.media.AudioAttributes getAudioAttributes();
method public deprecated int getStreamType();
method public java.lang.String getTitle(android.content.Context);
@@ -25287,7 +25244,6 @@
ctor public deprecated SoundPool(int, int, int);
method public final void autoPause();
method public final void autoResume();
- method protected void finalize();
method public int load(java.lang.String, int);
method public int load(android.content.Context, int, int);
method public int load(android.content.res.AssetFileDescriptor, int);
@@ -25356,7 +25312,6 @@
public class ToneGenerator {
ctor public ToneGenerator(int, int);
- method protected void finalize();
method public final int getAudioSessionId();
method public void release();
method public boolean startTone(int);
@@ -25489,7 +25444,6 @@
public final class VolumeShaper implements java.lang.AutoCloseable {
method public void apply(android.media.VolumeShaper.Operation);
method public void close();
- method protected void finalize();
method public float getVolume();
method public void replace(android.media.VolumeShaper.Configuration, android.media.VolumeShaper.Operation, boolean);
}
@@ -25544,7 +25498,6 @@
}
public class AudioEffect {
- method protected void finalize();
method public android.media.audiofx.AudioEffect.Descriptor getDescriptor() throws java.lang.IllegalStateException;
method public boolean getEnabled() throws java.lang.IllegalStateException;
method public int getId() throws java.lang.IllegalStateException;
@@ -25797,7 +25750,6 @@
public class Visualizer {
ctor public Visualizer(int) throws java.lang.RuntimeException, java.lang.UnsupportedOperationException;
- method protected void finalize();
method public int getCaptureSize() throws java.lang.IllegalStateException;
method public static int[] getCaptureSizeRange();
method public boolean getEnabled();
@@ -33318,7 +33270,6 @@
method public void putStringArrayList(java.lang.String, java.util.ArrayList<java.lang.String>);
method public void readFromParcel(android.os.Parcel);
method public void setClassLoader(java.lang.ClassLoader);
- method public synchronized java.lang.String toString();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.Bundle> CREATOR;
field public static final android.os.Bundle EMPTY;
@@ -33560,7 +33511,6 @@
public abstract class FileObserver {
ctor public FileObserver(java.lang.String);
ctor public FileObserver(java.lang.String, int);
- method protected void finalize();
method public abstract void onEvent(int, java.lang.String);
method public void startWatching();
method public void stopWatching();
@@ -33735,7 +33685,6 @@
ctor public MemoryFile(java.lang.String, int) throws java.io.IOException;
method public synchronized boolean allowPurging(boolean) throws java.io.IOException;
method public void close();
- method protected void finalize();
method public java.io.InputStream getInputStream();
method public java.io.OutputStream getOutputStream();
method public boolean isPurgingAllowed();
@@ -34035,7 +33984,6 @@
method public int describeContents();
method public android.os.PersistableBundle getPersistableBundle(java.lang.String);
method public void putPersistableBundle(java.lang.String, android.os.PersistableBundle);
- method public synchronized java.lang.String toString();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.PersistableBundle> CREATOR;
field public static final android.os.PersistableBundle EMPTY;
@@ -38673,7 +38621,6 @@
method public static android.renderscript.AllocationAdapter create1D(android.renderscript.RenderScript, android.renderscript.Allocation);
method public static android.renderscript.AllocationAdapter create2D(android.renderscript.RenderScript, android.renderscript.Allocation);
method public static android.renderscript.AllocationAdapter createTyped(android.renderscript.RenderScript, android.renderscript.Allocation, android.renderscript.Type);
- method public synchronized void resize(int);
method public void setFace(android.renderscript.Type.CubemapFace);
method public void setLOD(int);
method public void setX(int);
@@ -43830,7 +43777,6 @@
public static deprecated class SmsMessage.SubmitPdu {
ctor public deprecated SmsMessage.SubmitPdu();
- method public deprecated java.lang.String toString();
field public deprecated byte[] encodedMessage;
field public deprecated byte[] encodedScAddress;
}
@@ -44008,7 +43954,6 @@
method public java.util.List<junit.framework.TestCase> getTestCases();
method public java.lang.String getTestClassName();
method public junit.framework.TestResult getTestResult();
- method protected java.lang.Class loadSuiteClass(java.lang.String) throws java.lang.ClassNotFoundException;
method protected void runFailed(java.lang.String);
method public void runTest();
method public void runTest(junit.framework.TestResult);
@@ -44269,12 +44214,10 @@
ctor protected MockContentProvider();
ctor public MockContentProvider(android.content.Context);
ctor public MockContentProvider(android.content.Context, java.lang.String, java.lang.String, android.content.pm.PathPermission[]);
- method public android.content.ContentProviderResult[] applyBatch(java.util.ArrayList<android.content.ContentProviderOperation>);
method public int delete(android.net.Uri, java.lang.String, java.lang.String[]);
method public java.lang.String getType(android.net.Uri);
method public android.net.Uri insert(android.net.Uri, android.content.ContentValues);
method public boolean onCreate();
- method public android.content.res.AssetFileDescriptor openTypedAssetFile(android.net.Uri, java.lang.String, android.os.Bundle);
method public android.database.Cursor query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String);
method public int update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]);
}
@@ -44568,10 +44511,6 @@
public deprecated class MockResources extends android.content.res.Resources {
ctor public MockResources();
- method public int getColor(int) throws android.content.res.Resources.NotFoundException;
- method public android.content.res.ColorStateList getColorStateList(int) throws android.content.res.Resources.NotFoundException;
- method public android.graphics.drawable.Drawable getDrawable(int) throws android.content.res.Resources.NotFoundException;
- method public void updateConfiguration(android.content.res.Configuration, android.util.DisplayMetrics);
}
}
@@ -45819,7 +45758,6 @@
public abstract class MetricAffectingSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateLayout {
ctor public MetricAffectingSpan();
- method public android.text.style.MetricAffectingSpan getUnderlying();
method public abstract void updateMeasureState(android.text.TextPaint);
}
@@ -46500,28 +46438,14 @@
public class TransitionSet extends android.transition.Transition {
ctor public TransitionSet();
ctor public TransitionSet(android.content.Context, android.util.AttributeSet);
- method public android.transition.TransitionSet addListener(android.transition.Transition.TransitionListener);
- method public android.transition.TransitionSet addTarget(android.view.View);
- method public android.transition.TransitionSet addTarget(int);
- method public android.transition.TransitionSet addTarget(java.lang.String);
- method public android.transition.TransitionSet addTarget(java.lang.Class);
method public android.transition.TransitionSet addTransition(android.transition.Transition);
method public void captureEndValues(android.transition.TransitionValues);
method public void captureStartValues(android.transition.TransitionValues);
- method public android.transition.TransitionSet clone();
method public int getOrdering();
method public android.transition.Transition getTransitionAt(int);
method public int getTransitionCount();
- method public android.transition.TransitionSet removeListener(android.transition.Transition.TransitionListener);
- method public android.transition.TransitionSet removeTarget(int);
- method public android.transition.TransitionSet removeTarget(android.view.View);
- method public android.transition.TransitionSet removeTarget(java.lang.Class);
- method public android.transition.TransitionSet removeTarget(java.lang.String);
method public android.transition.TransitionSet removeTransition(android.transition.Transition);
- method public android.transition.TransitionSet setDuration(long);
- method public android.transition.TransitionSet setInterpolator(android.animation.TimeInterpolator);
method public android.transition.TransitionSet setOrdering(int);
- method public android.transition.TransitionSet setStartDelay(long);
field public static final int ORDERING_SEQUENTIAL = 1; // 0x1
field public static final int ORDERING_TOGETHER = 0; // 0x0
}
@@ -46686,9 +46610,6 @@
public class Base64InputStream extends java.io.FilterInputStream {
ctor public Base64InputStream(java.io.InputStream, int);
- method public int available();
- method public void mark(int);
- method public void reset();
}
public class Base64OutputStream extends java.io.FilterOutputStream {
@@ -48804,7 +48725,6 @@
method public android.graphics.Canvas lockCanvas();
method public android.graphics.Canvas lockCanvas(android.graphics.Rect);
method protected final void onDraw(android.graphics.Canvas);
- method public void setBackgroundDrawable(android.graphics.drawable.Drawable);
method public void setOpaque(boolean);
method public void setSurfaceTexture(android.graphics.SurfaceTexture);
method public void setSurfaceTextureListener(android.view.TextureView.SurfaceTextureListener);
@@ -49828,7 +49748,6 @@
method public int getLayoutMode();
method public android.animation.LayoutTransition getLayoutTransition();
method public int getNestedScrollAxes();
- method public android.view.ViewGroupOverlay getOverlay();
method public int getPersistentDrawingCache();
method public boolean getTouchscreenBlocksFocus();
method public int indexOfChild(android.view.View);
@@ -51102,7 +51021,6 @@
ctor public Animation(android.content.Context, android.util.AttributeSet);
method protected void applyTransformation(float, android.view.animation.Transformation);
method public void cancel();
- method protected android.view.animation.Animation clone() throws java.lang.CloneNotSupportedException;
method public long computeDurationHint();
method protected void ensureInterpolator();
method public int getBackgroundColor();
@@ -51174,7 +51092,6 @@
ctor public AnimationSet(android.content.Context, android.util.AttributeSet);
ctor public AnimationSet(boolean);
method public void addAnimation(android.view.animation.Animation);
- method protected android.view.animation.AnimationSet clone() throws java.lang.CloneNotSupportedException;
method public java.util.List<android.view.animation.Animation> getAnimations();
}
@@ -52030,10 +51947,6 @@
public final deprecated class CookieSyncManager extends android.webkit.WebSyncManager {
method public static android.webkit.CookieSyncManager createInstance(android.content.Context);
method public static android.webkit.CookieSyncManager getInstance();
- method public deprecated void resetSync();
- method public deprecated void startSync();
- method public deprecated void stopSync();
- method public deprecated void sync();
method protected deprecated void syncFromRamToFlash();
field protected static final java.lang.String LOGTAG = "websync";
field protected android.webkit.WebViewDatabase mDataBase;
@@ -52674,7 +52587,6 @@
method public void setWebChromeClient(android.webkit.WebChromeClient);
method public static void setWebContentsDebuggingEnabled(boolean);
method public void setWebViewClient(android.webkit.WebViewClient);
- method public deprecated boolean shouldDelayChildPressedState();
method public deprecated boolean showFindDialog(java.lang.String, boolean);
method public void stopLoading();
method public void zoomBy(float);
@@ -53069,7 +52981,6 @@
method public void clearTextFilter();
method public void deferNotifyDataSetChanged();
method public void fling(int);
- method public android.widget.AbsListView.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public int getCacheColorHint();
method public int getCheckedItemCount();
method public long[] getCheckedItemIds();
@@ -53236,9 +53147,6 @@
ctor public ActionMenuView(android.content.Context);
ctor public ActionMenuView(android.content.Context, android.util.AttributeSet);
method public void dismissPopupMenus();
- method protected android.widget.ActionMenuView.LayoutParams generateDefaultLayoutParams();
- method public android.widget.ActionMenuView.LayoutParams generateLayoutParams(android.util.AttributeSet);
- method protected android.widget.ActionMenuView.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public android.view.Menu getMenu();
method public android.graphics.drawable.Drawable getOverflowIcon();
method public int getPopupTheme();
@@ -53414,6 +53322,7 @@
method public void addAll(T...);
method public void clear();
method public static android.widget.ArrayAdapter<java.lang.CharSequence> createFromResource(android.content.Context, int, int);
+ method public java.lang.CharSequence[] getAutofillOptions();
method public android.content.Context getContext();
method public int getCount();
method public android.content.res.Resources.Theme getDropDownViewTheme();
@@ -53781,7 +53690,6 @@
ctor public EditText(android.content.Context, android.util.AttributeSet, int);
ctor public EditText(android.content.Context, android.util.AttributeSet, int, int);
method public void extendSelection(int);
- method public android.text.Editable getText();
method public void selectAll();
method public void setSelection(int, int);
method public void setSelection(int);
@@ -53903,8 +53811,6 @@
ctor public FrameLayout(android.content.Context, android.util.AttributeSet);
ctor public FrameLayout(android.content.Context, android.util.AttributeSet, int);
ctor public FrameLayout(android.content.Context, android.util.AttributeSet, int, int);
- method protected android.widget.FrameLayout.LayoutParams generateDefaultLayoutParams();
- method public android.widget.FrameLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public deprecated boolean getConsiderGoneChildrenWhenMeasuring();
method public boolean getMeasureAllChildren();
method protected void onLayout(boolean, int, int, int, int);
@@ -53951,9 +53857,6 @@
ctor public GridLayout(android.content.Context, android.util.AttributeSet);
ctor public GridLayout(android.content.Context, android.util.AttributeSet, int);
ctor public GridLayout(android.content.Context, android.util.AttributeSet, int, int);
- method protected android.widget.GridLayout.LayoutParams generateDefaultLayoutParams();
- method public android.widget.GridLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
- method protected android.widget.GridLayout.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public int getAlignmentMode();
method public int getColumnCount();
method public int getOrientation();
@@ -54166,9 +54069,6 @@
ctor public LinearLayout(android.content.Context, android.util.AttributeSet);
ctor public LinearLayout(android.content.Context, android.util.AttributeSet, int);
ctor public LinearLayout(android.content.Context, android.util.AttributeSet, int, int);
- method protected android.widget.LinearLayout.LayoutParams generateDefaultLayoutParams();
- method public android.widget.LinearLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
- method protected android.widget.LinearLayout.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public int getBaselineAlignedChildIndex();
method public android.graphics.drawable.Drawable getDividerDrawable();
method public int getDividerPadding();
@@ -54555,8 +54455,6 @@
method public final synchronized void incrementSecondaryProgressBy(int);
method public boolean isAnimating();
method public synchronized boolean isIndeterminate();
- method protected synchronized void onDraw(android.graphics.Canvas);
- method protected synchronized void onMeasure(int, int);
method public void onRestoreInstanceState(android.os.Parcelable);
method public android.os.Parcelable onSaveInstanceState();
method public synchronized void setIndeterminate(boolean);
@@ -54612,7 +54510,6 @@
ctor public RadioGroup(android.content.Context, android.util.AttributeSet);
method public void check(int);
method public void clearCheck();
- method public android.widget.RadioGroup.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public int getCheckedRadioButtonId();
method public void setOnCheckedChangeListener(android.widget.RadioGroup.OnCheckedChangeListener);
}
@@ -54655,7 +54552,6 @@
ctor public RelativeLayout(android.content.Context, android.util.AttributeSet);
ctor public RelativeLayout(android.content.Context, android.util.AttributeSet, int);
ctor public RelativeLayout(android.content.Context, android.util.AttributeSet, int, int);
- method public android.widget.RelativeLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public int getGravity();
method protected void onLayout(boolean, int, int, int, int);
method public void setGravity(int);
@@ -55199,7 +55095,6 @@
public class TableLayout extends android.widget.LinearLayout {
ctor public TableLayout(android.content.Context);
ctor public TableLayout(android.content.Context, android.util.AttributeSet);
- method public android.widget.TableLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public boolean isColumnCollapsed(int);
method public boolean isColumnShrinkable(int);
method public boolean isColumnStretchable(int);
@@ -55224,7 +55119,6 @@
public class TableRow extends android.widget.LinearLayout {
ctor public TableRow(android.content.Context);
ctor public TableRow(android.content.Context, android.util.AttributeSet);
- method public android.widget.TableRow.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public android.view.View getVirtualChildAt(int);
method public int getVirtualChildCount();
}
@@ -55566,7 +55460,6 @@
ctor public ToggleButton(android.content.Context);
method public java.lang.CharSequence getTextOff();
method public java.lang.CharSequence getTextOn();
- method public void setBackgroundDrawable(android.graphics.drawable.Drawable);
method public void setTextOff(java.lang.CharSequence);
method public void setTextOn(java.lang.CharSequence);
}
@@ -55578,9 +55471,6 @@
ctor public Toolbar(android.content.Context, android.util.AttributeSet, int, int);
method public void collapseActionView();
method public void dismissPopupMenus();
- method protected android.widget.Toolbar.LayoutParams generateDefaultLayoutParams();
- method public android.widget.Toolbar.LayoutParams generateLayoutParams(android.util.AttributeSet);
- method protected android.widget.Toolbar.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public int getContentInsetEnd();
method public int getContentInsetEndWithActions();
method public int getContentInsetLeft();
@@ -56102,8 +55992,6 @@
public class BaseDexClassLoader extends java.lang.ClassLoader {
ctor public BaseDexClassLoader(java.lang.String, java.io.File, java.lang.String, java.lang.ClassLoader);
method public java.lang.String findLibrary(java.lang.String);
- method protected java.util.Enumeration<java.net.URL> findResources(java.lang.String);
- method protected synchronized java.lang.Package getPackage(java.lang.String);
}
public class DexClassLoader extends dalvik.system.BaseDexClassLoader {
@@ -56326,10 +56214,6 @@
public class BufferedInputStream extends java.io.FilterInputStream {
ctor public BufferedInputStream(java.io.InputStream);
ctor public BufferedInputStream(java.io.InputStream, int);
- method public synchronized int available() throws java.io.IOException;
- method public synchronized int read() throws java.io.IOException;
- method public synchronized int read(byte[], int, int) throws java.io.IOException;
- method public synchronized long skip(long) throws java.io.IOException;
field protected volatile byte[] buf;
field protected int count;
field protected int marklimit;
@@ -56340,9 +56224,6 @@
public class BufferedOutputStream extends java.io.FilterOutputStream {
ctor public BufferedOutputStream(java.io.OutputStream);
ctor public BufferedOutputStream(java.io.OutputStream, int);
- method public synchronized void flush() throws java.io.IOException;
- method public synchronized void write(int) throws java.io.IOException;
- method public synchronized void write(byte[], int, int) throws java.io.IOException;
field protected byte[] buf;
field protected int count;
}
@@ -56368,12 +56249,7 @@
public class ByteArrayInputStream extends java.io.InputStream {
ctor public ByteArrayInputStream(byte[]);
ctor public ByteArrayInputStream(byte[], int, int);
- method public synchronized int available();
- method public void mark(int);
method public synchronized int read();
- method public synchronized int read(byte[], int, int);
- method public synchronized void reset();
- method public synchronized long skip(long);
field protected byte[] buf;
field protected int count;
field protected int mark;
@@ -56386,11 +56262,9 @@
method public synchronized void reset();
method public synchronized int size();
method public synchronized byte[] toByteArray();
- method public synchronized java.lang.String toString();
method public synchronized java.lang.String toString(java.lang.String) throws java.io.UnsupportedEncodingException;
method public deprecated synchronized java.lang.String toString(int);
method public synchronized void write(int);
- method public synchronized void write(byte[], int, int);
method public synchronized void writeTo(java.io.OutputStream) throws java.io.IOException;
field protected byte[] buf;
field protected int count;
@@ -56410,17 +56284,12 @@
public class CharArrayWriter extends java.io.Writer {
ctor public CharArrayWriter();
ctor public CharArrayWriter(int);
- method public java.io.CharArrayWriter append(java.lang.CharSequence);
- method public java.io.CharArrayWriter append(java.lang.CharSequence, int, int);
- method public java.io.CharArrayWriter append(char);
method public void close();
method public void flush();
method public void reset();
method public int size();
method public char[] toCharArray();
- method public void write(int);
method public void write(char[], int, int);
- method public void write(java.lang.String, int, int);
method public void writeTo(java.io.Writer) throws java.io.IOException;
field protected char[] buf;
field protected int count;
@@ -56507,8 +56376,6 @@
public class DataOutputStream extends java.io.FilterOutputStream implements java.io.DataOutput {
ctor public DataOutputStream(java.io.OutputStream);
method public final int size();
- method public synchronized void write(int) throws java.io.IOException;
- method public synchronized void write(byte[], int, int) throws java.io.IOException;
method public final void writeBoolean(boolean) throws java.io.IOException;
method public final void writeByte(int) throws java.io.IOException;
method public final void writeBytes(java.lang.String) throws java.io.IOException;
@@ -56608,7 +56475,6 @@
ctor public FileInputStream(java.lang.String) throws java.io.FileNotFoundException;
ctor public FileInputStream(java.io.File) throws java.io.FileNotFoundException;
ctor public FileInputStream(java.io.FileDescriptor);
- method protected void finalize() throws java.io.IOException;
method public java.nio.channels.FileChannel getChannel();
method public final java.io.FileDescriptor getFD() throws java.io.IOException;
method public int read() throws java.io.IOException;
@@ -56625,7 +56491,6 @@
ctor public FileOutputStream(java.io.File) throws java.io.FileNotFoundException;
ctor public FileOutputStream(java.io.File, boolean) throws java.io.FileNotFoundException;
ctor public FileOutputStream(java.io.FileDescriptor);
- method protected void finalize() throws java.io.IOException;
method public java.nio.channels.FileChannel getChannel();
method public final java.io.FileDescriptor getFD() throws java.io.IOException;
method public void write(int) throws java.io.IOException;
@@ -56739,8 +56604,6 @@
public deprecated class LineNumberInputStream extends java.io.FilterInputStream {
ctor public LineNumberInputStream(java.io.InputStream);
method public int getLineNumber();
- method public void mark(int);
- method public void reset() throws java.io.IOException;
method public void setLineNumber(int);
}
@@ -56970,10 +56833,8 @@
ctor public PipedInputStream(java.io.PipedOutputStream, int) throws java.io.IOException;
ctor public PipedInputStream();
ctor public PipedInputStream(int);
- method public synchronized int available() throws java.io.IOException;
method public void connect(java.io.PipedOutputStream) throws java.io.IOException;
method public synchronized int read() throws java.io.IOException;
- method public synchronized int read(byte[], int, int) throws java.io.IOException;
method protected synchronized void receive(int) throws java.io.IOException;
field protected static final int PIPE_SIZE = 1024; // 0x400
field protected byte[] buffer;
@@ -56985,7 +56846,6 @@
ctor public PipedOutputStream(java.io.PipedInputStream) throws java.io.IOException;
ctor public PipedOutputStream();
method public synchronized void connect(java.io.PipedInputStream) throws java.io.IOException;
- method public synchronized void flush() throws java.io.IOException;
method public void write(int) throws java.io.IOException;
}
@@ -56996,9 +56856,7 @@
ctor public PipedReader(int);
method public void close() throws java.io.IOException;
method public void connect(java.io.PipedWriter) throws java.io.IOException;
- method public synchronized int read() throws java.io.IOException;
method public synchronized int read(char[], int, int) throws java.io.IOException;
- method public synchronized boolean ready() throws java.io.IOException;
}
public class PipedWriter extends java.io.Writer {
@@ -57023,8 +56881,6 @@
method public java.io.PrintStream append(char);
method public boolean checkError();
method protected void clearError();
- method public void close();
- method public void flush();
method public java.io.PrintStream format(java.lang.String, java.lang.Object...);
method public java.io.PrintStream format(java.util.Locale, java.lang.String, java.lang.Object...);
method public void print(boolean);
@@ -57049,8 +56905,6 @@
method public void println(java.lang.String);
method public void println(java.lang.Object);
method protected void setError();
- method public void write(int);
- method public void write(byte[], int, int);
}
public class PrintWriter extends java.io.Writer {
@@ -57062,9 +56916,6 @@
ctor public PrintWriter(java.lang.String, java.lang.String) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException;
ctor public PrintWriter(java.io.File) throws java.io.FileNotFoundException;
ctor public PrintWriter(java.io.File, java.lang.String) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException;
- method public java.io.PrintWriter append(java.lang.CharSequence);
- method public java.io.PrintWriter append(java.lang.CharSequence, int, int);
- method public java.io.PrintWriter append(char);
method public boolean checkError();
method protected void clearError();
method public void close();
@@ -57093,18 +56944,13 @@
method public void println(java.lang.String);
method public void println(java.lang.Object);
method protected void setError();
- method public void write(int);
method public void write(char[], int, int);
- method public void write(char[]);
- method public void write(java.lang.String, int, int);
- method public void write(java.lang.String);
field protected java.io.Writer out;
}
public class PushbackInputStream extends java.io.FilterInputStream {
ctor public PushbackInputStream(java.io.InputStream, int);
ctor public PushbackInputStream(java.io.InputStream);
- method public synchronized void close() throws java.io.IOException;
method public void unread(int) throws java.io.IOException;
method public void unread(byte[], int, int) throws java.io.IOException;
method public void unread(byte[]) throws java.io.IOException;
@@ -57228,11 +57074,7 @@
public deprecated class StringBufferInputStream extends java.io.InputStream {
ctor public StringBufferInputStream(java.lang.String);
- method public synchronized int available();
method public synchronized int read();
- method public synchronized int read(byte[], int, int);
- method public synchronized void reset();
- method public synchronized long skip(long);
field protected java.lang.String buffer;
field protected int count;
field protected int pos;
@@ -57247,16 +57089,10 @@
public class StringWriter extends java.io.Writer {
ctor public StringWriter();
ctor public StringWriter(int);
- method public java.io.StringWriter append(java.lang.CharSequence);
- method public java.io.StringWriter append(java.lang.CharSequence, int, int);
- method public java.io.StringWriter append(char);
method public void close() throws java.io.IOException;
method public void flush();
method public java.lang.StringBuffer getBuffer();
- method public void write(int);
method public void write(char[], int, int);
- method public void write(java.lang.String);
- method public void write(java.lang.String, int, int);
}
public class SyncFailedException extends java.io.IOException {
@@ -57271,7 +57107,6 @@
public class UncheckedIOException extends java.lang.RuntimeException {
ctor public UncheckedIOException(java.lang.String, java.io.IOException);
ctor public UncheckedIOException(java.io.IOException);
- method public java.io.IOException getCause();
}
public class UnsupportedEncodingException extends java.io.IOException {
@@ -57281,7 +57116,6 @@
public class WriteAbortedException extends java.io.ObjectStreamException {
ctor public WriteAbortedException(java.lang.String, java.lang.Exception);
- method public java.lang.Throwable getCause();
field public java.lang.Exception detail;
}
@@ -58049,7 +57883,6 @@
ctor public ClassNotFoundException();
ctor public ClassNotFoundException(java.lang.String);
ctor public ClassNotFoundException(java.lang.String, java.lang.Throwable);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getException();
}
@@ -58154,7 +57987,6 @@
ctor public ExceptionInInitializerError();
ctor public ExceptionInInitializerError(java.lang.Throwable);
ctor public ExceptionInInitializerError(java.lang.String);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getException();
}
@@ -58942,16 +58774,8 @@
method public synchronized java.lang.StringBuffer append(float);
method public synchronized java.lang.StringBuffer append(double);
method public synchronized java.lang.StringBuffer appendCodePoint(int);
- method public synchronized int capacity();
- method public synchronized char charAt(int);
- method public synchronized int codePointAt(int);
- method public synchronized int codePointBefore(int);
- method public synchronized int codePointCount(int, int);
method public synchronized java.lang.StringBuffer delete(int, int);
method public synchronized java.lang.StringBuffer deleteCharAt(int);
- method public synchronized void ensureCapacity(int);
- method public synchronized void getChars(int, int, char[], int);
- method public synchronized int indexOf(java.lang.String, int);
method public synchronized java.lang.StringBuffer insert(int, char[], int, int);
method public synchronized java.lang.StringBuffer insert(int, java.lang.Object);
method public synchronized java.lang.StringBuffer insert(int, java.lang.String);
@@ -58964,18 +58788,9 @@
method public java.lang.StringBuffer insert(int, long);
method public java.lang.StringBuffer insert(int, float);
method public java.lang.StringBuffer insert(int, double);
- method public synchronized int lastIndexOf(java.lang.String, int);
- method public synchronized int length();
- method public synchronized int offsetByCodePoints(int, int);
method public synchronized java.lang.StringBuffer replace(int, int, java.lang.String);
method public synchronized java.lang.StringBuffer reverse();
- method public synchronized void setCharAt(int, char);
- method public synchronized void setLength(int);
- method public synchronized java.lang.CharSequence subSequence(int, int);
- method public synchronized java.lang.String substring(int);
- method public synchronized java.lang.String substring(int, int);
method public synchronized java.lang.String toString();
- method public synchronized void trimToSize();
}
public final class StringBuilder extends java.lang.AbstractStringBuilder implements java.lang.CharSequence java.io.Serializable {
@@ -59630,7 +59445,6 @@
ctor protected InvocationTargetException();
ctor public InvocationTargetException(java.lang.Throwable);
ctor public InvocationTargetException(java.lang.Throwable, java.lang.String);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getTargetException();
}
@@ -59746,7 +59560,6 @@
public class UndeclaredThrowableException extends java.lang.RuntimeException {
ctor public UndeclaredThrowableException(java.lang.Throwable);
ctor public UndeclaredThrowableException(java.lang.Throwable, java.lang.String);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getUndeclaredThrowable();
}
@@ -60644,7 +60457,6 @@
method public java.lang.String getQuery();
method public java.lang.String getRef();
method public java.lang.String getUserInfo();
- method public synchronized int hashCode();
method public java.net.URLConnection openConnection() throws java.io.IOException;
method public java.net.URLConnection openConnection(java.net.Proxy) throws java.io.IOException;
method public final java.io.InputStream openStream() throws java.io.IOException;
@@ -60874,6 +60686,7 @@
method public final int arrayOffset();
method public abstract java.nio.CharBuffer asReadOnlyBuffer();
method public final char charAt(int);
+ method public java.util.stream.IntStream chars();
method public abstract java.nio.CharBuffer compact();
method public int compareTo(java.nio.CharBuffer);
method public abstract java.nio.CharBuffer duplicate();
@@ -61730,7 +61543,6 @@
public final class DirectoryIteratorException extends java.util.ConcurrentModificationException {
ctor public DirectoryIteratorException(java.io.IOException);
- method public java.io.IOException getCause();
}
public class DirectoryNotEmptyException extends java.nio.file.FileSystemException {
@@ -62696,11 +62508,9 @@
public static class KeyStore.PasswordProtection implements javax.security.auth.Destroyable java.security.KeyStore.ProtectionParameter {
ctor public KeyStore.PasswordProtection(char[]);
ctor public KeyStore.PasswordProtection(char[], java.lang.String, java.security.spec.AlgorithmParameterSpec);
- method public synchronized void destroy() throws javax.security.auth.DestroyFailedException;
method public synchronized char[] getPassword();
method public java.lang.String getProtectionAlgorithm();
method public java.security.spec.AlgorithmParameterSpec getProtectionParameters();
- method public synchronized boolean isDestroyed();
}
public static final class KeyStore.PrivateKeyEntry implements java.security.KeyStore.Entry {
@@ -62880,7 +62690,6 @@
public class PrivilegedActionException extends java.lang.Exception {
ctor public PrivilegedActionException(java.lang.Exception);
- method public java.lang.Throwable getCause();
method public java.lang.Exception getException();
}
@@ -62903,30 +62712,22 @@
method public synchronized java.lang.Object compute(java.lang.Object, java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>);
method public synchronized java.lang.Object computeIfAbsent(java.lang.Object, java.util.function.Function<? super java.lang.Object, ? extends java.lang.Object>);
method public synchronized java.lang.Object computeIfPresent(java.lang.Object, java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>);
- method public java.util.Enumeration<java.lang.Object> elements();
- method public synchronized java.util.Set<java.util.Map.Entry<java.lang.Object, java.lang.Object>> entrySet();
method public synchronized void forEach(java.util.function.BiConsumer<? super java.lang.Object, ? super java.lang.Object>);
- method public java.lang.Object get(java.lang.Object);
method public java.lang.String getInfo();
method public java.lang.String getName();
method public synchronized java.lang.Object getOrDefault(java.lang.Object, java.lang.Object);
method public synchronized java.security.Provider.Service getService(java.lang.String, java.lang.String);
method public synchronized java.util.Set<java.security.Provider.Service> getServices();
method public double getVersion();
- method public java.util.Set<java.lang.Object> keySet();
- method public java.util.Enumeration<java.lang.Object> keys();
method public synchronized java.lang.Object merge(java.lang.Object, java.lang.Object, java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>);
method public synchronized java.lang.Object put(java.lang.Object, java.lang.Object);
method public synchronized void putAll(java.util.Map<?, ?>);
method public synchronized java.lang.Object putIfAbsent(java.lang.Object, java.lang.Object);
method protected synchronized void putService(java.security.Provider.Service);
- method public synchronized java.lang.Object remove(java.lang.Object);
method protected synchronized void removeService(java.security.Provider.Service);
method public synchronized boolean replace(java.lang.Object, java.lang.Object, java.lang.Object);
method public synchronized java.lang.Object replace(java.lang.Object, java.lang.Object);
method public synchronized void replaceAll(java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>);
- method public java.lang.String toString();
- method public java.util.Collection<java.lang.Object> values();
}
public static class Provider.Service {
@@ -62972,9 +62773,7 @@
method public final java.security.Provider getProvider();
method public static byte[] getSeed(int);
method protected final int next(int);
- method public synchronized void nextBytes(byte[]);
method public synchronized void setSeed(byte[]);
- method public void setSeed(long);
}
public abstract class SecureRandomSpi implements java.io.Serializable {
@@ -63521,7 +63320,6 @@
public abstract class PKIXRevocationChecker extends java.security.cert.PKIXCertPathChecker {
ctor protected PKIXRevocationChecker();
- method public java.security.cert.PKIXRevocationChecker clone();
method public java.util.List<java.security.cert.Extension> getOcspExtensions();
method public java.net.URI getOcspResponder();
method public java.security.cert.X509Certificate getOcspResponderCert();
@@ -65774,6 +65572,7 @@
public final class DayOfWeek extends java.lang.Enum implements java.time.temporal.TemporalAccessor java.time.temporal.TemporalAdjuster {
method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal);
method public static java.time.DayOfWeek from(java.time.temporal.TemporalAccessor);
+ method public int get(java.time.temporal.TemporalField);
method public java.lang.String getDisplayName(java.time.format.TextStyle, java.util.Locale);
method public long getLong(java.time.temporal.TemporalField);
method public int getValue();
@@ -65781,6 +65580,8 @@
method public java.time.DayOfWeek minus(long);
method public static java.time.DayOfWeek of(int);
method public java.time.DayOfWeek plus(long);
+ method public <R> R query(java.time.temporal.TemporalQuery<R>);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
method public static java.time.DayOfWeek valueOf(java.lang.String);
method public static final java.time.DayOfWeek[] values();
enum_constant public static final java.time.DayOfWeek FRIDAY;
@@ -65856,8 +65657,6 @@
method public boolean isBefore(java.time.Instant);
method public boolean isSupported(java.time.temporal.TemporalField);
method public boolean isSupported(java.time.temporal.TemporalUnit);
- method public java.time.Instant minus(java.time.temporal.TemporalAmount);
- method public java.time.Instant minus(long, java.time.temporal.TemporalUnit);
method public java.time.Instant minusMillis(long);
method public java.time.Instant minusNanos(long);
method public java.time.Instant minusSeconds(long);
@@ -65867,7 +65666,6 @@
method public static java.time.Instant ofEpochSecond(long);
method public static java.time.Instant ofEpochSecond(long, long);
method public static java.time.Instant parse(java.lang.CharSequence);
- method public java.time.Instant plus(java.time.temporal.TemporalAmount);
method public java.time.Instant plus(long, java.time.temporal.TemporalUnit);
method public java.time.Instant plusMillis(long);
method public java.time.Instant plusNanos(long);
@@ -65875,7 +65673,6 @@
method public long toEpochMilli();
method public java.time.Instant truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.Instant with(java.time.temporal.TemporalAdjuster);
method public java.time.Instant with(java.time.temporal.TemporalField, long);
field public static final java.time.Instant EPOCH;
field public static final java.time.Instant MAX;
@@ -65885,7 +65682,6 @@
public final class LocalDate implements java.time.chrono.ChronoLocalDate java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster {
method public java.time.LocalDateTime atStartOfDay();
method public java.time.ZonedDateTime atStartOfDay(java.time.ZoneId);
- method public java.time.LocalDateTime atTime(java.time.LocalTime);
method public java.time.LocalDateTime atTime(int, int);
method public java.time.LocalDateTime atTime(int, int, int);
method public java.time.LocalDateTime atTime(int, int, int, int);
@@ -65900,8 +65696,6 @@
method public int getMonthValue();
method public int getYear();
method public int lengthOfMonth();
- method public java.time.LocalDate minus(java.time.temporal.TemporalAmount);
- method public java.time.LocalDate minus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalDate minusDays(long);
method public java.time.LocalDate minusMonths(long);
method public java.time.LocalDate minusWeeks(long);
@@ -65915,16 +65709,12 @@
method public static java.time.LocalDate ofYearDay(int, int);
method public static java.time.LocalDate parse(java.lang.CharSequence);
method public static java.time.LocalDate parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.LocalDate plus(java.time.temporal.TemporalAmount);
- method public java.time.LocalDate plus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalDate plusDays(long);
method public java.time.LocalDate plusMonths(long);
method public java.time.LocalDate plusWeeks(long);
method public java.time.LocalDate plusYears(long);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
method public java.time.Period until(java.time.chrono.ChronoLocalDate);
- method public java.time.LocalDate with(java.time.temporal.TemporalAdjuster);
- method public java.time.LocalDate with(java.time.temporal.TemporalField, long);
method public java.time.LocalDate withDayOfMonth(int);
method public java.time.LocalDate withDayOfYear(int);
method public java.time.LocalDate withMonth(int);
@@ -65949,8 +65739,6 @@
method public int getSecond();
method public int getYear();
method public boolean isSupported(java.time.temporal.TemporalField);
- method public java.time.LocalDateTime minus(java.time.temporal.TemporalAmount);
- method public java.time.LocalDateTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalDateTime minusDays(long);
method public java.time.LocalDateTime minusHours(long);
method public java.time.LocalDateTime minusMinutes(long);
@@ -65973,7 +65761,6 @@
method public static java.time.LocalDateTime ofInstant(java.time.Instant, java.time.ZoneId);
method public static java.time.LocalDateTime parse(java.lang.CharSequence);
method public static java.time.LocalDateTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.LocalDateTime plus(java.time.temporal.TemporalAmount);
method public java.time.LocalDateTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalDateTime plusDays(long);
method public java.time.LocalDateTime plusHours(long);
@@ -65987,7 +65774,6 @@
method public java.time.LocalTime toLocalTime();
method public java.time.LocalDateTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.LocalDateTime with(java.time.temporal.TemporalAdjuster);
method public java.time.LocalDateTime with(java.time.temporal.TemporalField, long);
method public java.time.LocalDateTime withDayOfMonth(int);
method public java.time.LocalDateTime withDayOfYear(int);
@@ -66017,8 +65803,6 @@
method public boolean isBefore(java.time.LocalTime);
method public boolean isSupported(java.time.temporal.TemporalField);
method public boolean isSupported(java.time.temporal.TemporalUnit);
- method public java.time.LocalTime minus(java.time.temporal.TemporalAmount);
- method public java.time.LocalTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalTime minusHours(long);
method public java.time.LocalTime minusMinutes(long);
method public java.time.LocalTime minusNanos(long);
@@ -66033,7 +65817,6 @@
method public static java.time.LocalTime ofSecondOfDay(long);
method public static java.time.LocalTime parse(java.lang.CharSequence);
method public static java.time.LocalTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.LocalTime plus(java.time.temporal.TemporalAmount);
method public java.time.LocalTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalTime plusHours(long);
method public java.time.LocalTime plusMinutes(long);
@@ -66043,7 +65826,6 @@
method public int toSecondOfDay();
method public java.time.LocalTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.LocalTime with(java.time.temporal.TemporalAdjuster);
method public java.time.LocalTime with(java.time.temporal.TemporalField, long);
method public java.time.LocalTime withHour(int);
method public java.time.LocalTime withMinute(int);
@@ -66060,6 +65842,7 @@
method public int firstDayOfYear(boolean);
method public java.time.Month firstMonthOfQuarter();
method public static java.time.Month from(java.time.temporal.TemporalAccessor);
+ method public int get(java.time.temporal.TemporalField);
method public java.lang.String getDisplayName(java.time.format.TextStyle, java.util.Locale);
method public long getLong(java.time.temporal.TemporalField);
method public int getValue();
@@ -66070,6 +65853,8 @@
method public java.time.Month minus(long);
method public static java.time.Month of(int);
method public java.time.Month plus(long);
+ method public <R> R query(java.time.temporal.TemporalQuery<R>);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
method public static java.time.Month valueOf(java.lang.String);
method public static final java.time.Month[] values();
enum_constant public static final java.time.Month APRIL;
@@ -66136,8 +65921,6 @@
method public boolean isEqual(java.time.OffsetDateTime);
method public boolean isSupported(java.time.temporal.TemporalField);
method public boolean isSupported(java.time.temporal.TemporalUnit);
- method public java.time.OffsetDateTime minus(java.time.temporal.TemporalAmount);
- method public java.time.OffsetDateTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.OffsetDateTime minusDays(long);
method public java.time.OffsetDateTime minusHours(long);
method public java.time.OffsetDateTime minusMinutes(long);
@@ -66155,7 +65938,6 @@
method public static java.time.OffsetDateTime ofInstant(java.time.Instant, java.time.ZoneId);
method public static java.time.OffsetDateTime parse(java.lang.CharSequence);
method public static java.time.OffsetDateTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.OffsetDateTime plus(java.time.temporal.TemporalAmount);
method public java.time.OffsetDateTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.OffsetDateTime plusDays(long);
method public java.time.OffsetDateTime plusHours(long);
@@ -66175,7 +65957,6 @@
method public java.time.ZonedDateTime toZonedDateTime();
method public java.time.OffsetDateTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.OffsetDateTime with(java.time.temporal.TemporalAdjuster);
method public java.time.OffsetDateTime with(java.time.temporal.TemporalField, long);
method public java.time.OffsetDateTime withDayOfMonth(int);
method public java.time.OffsetDateTime withDayOfYear(int);
@@ -66208,8 +65989,6 @@
method public boolean isEqual(java.time.OffsetTime);
method public boolean isSupported(java.time.temporal.TemporalField);
method public boolean isSupported(java.time.temporal.TemporalUnit);
- method public java.time.OffsetTime minus(java.time.temporal.TemporalAmount);
- method public java.time.OffsetTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.OffsetTime minusHours(long);
method public java.time.OffsetTime minusMinutes(long);
method public java.time.OffsetTime minusNanos(long);
@@ -66222,7 +66001,6 @@
method public static java.time.OffsetTime ofInstant(java.time.Instant, java.time.ZoneId);
method public static java.time.OffsetTime parse(java.lang.CharSequence);
method public static java.time.OffsetTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.OffsetTime plus(java.time.temporal.TemporalAmount);
method public java.time.OffsetTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.OffsetTime plusHours(long);
method public java.time.OffsetTime plusMinutes(long);
@@ -66231,7 +66009,6 @@
method public java.time.LocalTime toLocalTime();
method public java.time.OffsetTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.OffsetTime with(java.time.temporal.TemporalAdjuster);
method public java.time.OffsetTime with(java.time.temporal.TemporalField, long);
method public java.time.OffsetTime withHour(int);
method public java.time.OffsetTime withMinute(int);
@@ -66258,7 +66035,6 @@
method public java.time.Period minusMonths(long);
method public java.time.Period minusYears(long);
method public java.time.Period multipliedBy(int);
- method public java.time.Period negated();
method public java.time.Period normalized();
method public static java.time.Period of(int, int, int);
method public static java.time.Period ofDays(int);
@@ -66297,8 +66073,6 @@
method public boolean isSupported(java.time.temporal.TemporalUnit);
method public boolean isValidMonthDay(java.time.MonthDay);
method public int length();
- method public java.time.Year minus(java.time.temporal.TemporalAmount);
- method public java.time.Year minus(long, java.time.temporal.TemporalUnit);
method public java.time.Year minusYears(long);
method public static java.time.Year now();
method public static java.time.Year now(java.time.ZoneId);
@@ -66306,11 +66080,9 @@
method public static java.time.Year of(int);
method public static java.time.Year parse(java.lang.CharSequence);
method public static java.time.Year parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.Year plus(java.time.temporal.TemporalAmount);
method public java.time.Year plus(long, java.time.temporal.TemporalUnit);
method public java.time.Year plusYears(long);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.Year with(java.time.temporal.TemporalAdjuster);
method public java.time.Year with(java.time.temporal.TemporalField, long);
field public static final int MAX_VALUE = 999999999; // 0x3b9ac9ff
field public static final int MIN_VALUE = -999999999; // 0xc4653601
@@ -66335,8 +66107,6 @@
method public boolean isValidDay(int);
method public int lengthOfMonth();
method public int lengthOfYear();
- method public java.time.YearMonth minus(java.time.temporal.TemporalAmount);
- method public java.time.YearMonth minus(long, java.time.temporal.TemporalUnit);
method public java.time.YearMonth minusMonths(long);
method public java.time.YearMonth minusYears(long);
method public static java.time.YearMonth now();
@@ -66346,12 +66116,10 @@
method public static java.time.YearMonth of(int, int);
method public static java.time.YearMonth parse(java.lang.CharSequence);
method public static java.time.YearMonth parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.YearMonth plus(java.time.temporal.TemporalAmount);
method public java.time.YearMonth plus(long, java.time.temporal.TemporalUnit);
method public java.time.YearMonth plusMonths(long);
method public java.time.YearMonth plusYears(long);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.YearMonth with(java.time.temporal.TemporalAdjuster);
method public java.time.YearMonth with(java.time.temporal.TemporalField, long);
method public java.time.YearMonth withMonth(int);
method public java.time.YearMonth withYear(int);
@@ -66375,6 +66143,7 @@
method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal);
method public int compareTo(java.time.ZoneOffset);
method public static java.time.ZoneOffset from(java.time.temporal.TemporalAccessor);
+ method public int get(java.time.temporal.TemporalField);
method public java.lang.String getId();
method public long getLong(java.time.temporal.TemporalField);
method public java.time.zone.ZoneRules getRules();
@@ -66385,6 +66154,8 @@
method public static java.time.ZoneOffset ofHoursMinutes(int, int);
method public static java.time.ZoneOffset ofHoursMinutesSeconds(int, int, int);
method public static java.time.ZoneOffset ofTotalSeconds(int);
+ method public <R> R query(java.time.temporal.TemporalQuery<R>);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
field public static final java.time.ZoneOffset MAX;
field public static final java.time.ZoneOffset MIN;
field public static final java.time.ZoneOffset UTC;
@@ -66405,8 +66176,6 @@
method public int getYear();
method public java.time.ZoneId getZone();
method public boolean isSupported(java.time.temporal.TemporalField);
- method public java.time.ZonedDateTime minus(java.time.temporal.TemporalAmount);
- method public java.time.ZonedDateTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.ZonedDateTime minusDays(long);
method public java.time.ZonedDateTime minusHours(long);
method public java.time.ZonedDateTime minusMinutes(long);
@@ -66427,7 +66196,6 @@
method public static java.time.ZonedDateTime ofStrict(java.time.LocalDateTime, java.time.ZoneOffset, java.time.ZoneId);
method public static java.time.ZonedDateTime parse(java.lang.CharSequence);
method public static java.time.ZonedDateTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.ZonedDateTime plus(java.time.temporal.TemporalAmount);
method public java.time.ZonedDateTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.ZonedDateTime plusDays(long);
method public java.time.ZonedDateTime plusHours(long);
@@ -66437,12 +66205,10 @@
method public java.time.ZonedDateTime plusSeconds(long);
method public java.time.ZonedDateTime plusWeeks(long);
method public java.time.ZonedDateTime plusYears(long);
- method public java.time.LocalDate toLocalDate();
method public java.time.LocalDateTime toLocalDateTime();
method public java.time.OffsetDateTime toOffsetDateTime();
method public java.time.ZonedDateTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.ZonedDateTime with(java.time.temporal.TemporalAdjuster);
method public java.time.ZonedDateTime with(java.time.temporal.TemporalField, long);
method public java.time.ZonedDateTime withDayOfMonth(int);
method public java.time.ZonedDateTime withDayOfYear(int);
@@ -66487,27 +66253,17 @@
method public default boolean isSupported(java.time.temporal.TemporalUnit);
method public abstract int lengthOfMonth();
method public default int lengthOfYear();
- method public default java.time.chrono.ChronoLocalDate minus(java.time.temporal.TemporalAmount);
- method public default java.time.chrono.ChronoLocalDate minus(long, java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoLocalDate plus(java.time.temporal.TemporalAmount);
method public default java.time.chrono.ChronoLocalDate plus(long, java.time.temporal.TemporalUnit);
method public static java.util.Comparator<java.time.chrono.ChronoLocalDate> timeLineOrder();
method public default long toEpochDay();
method public abstract java.lang.String toString();
method public abstract long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
method public abstract java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public default java.time.chrono.ChronoLocalDate with(java.time.temporal.TemporalAdjuster);
method public default java.time.chrono.ChronoLocalDate with(java.time.temporal.TemporalField, long);
}
abstract class ChronoLocalDateImpl<D extends java.time.chrono.ChronoLocalDate> implements java.time.chrono.ChronoLocalDate java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster {
- method public D minus(java.time.temporal.TemporalAmount);
- method public D minus(long, java.time.temporal.TemporalUnit);
- method public D plus(java.time.temporal.TemporalAmount);
- method public D plus(long, java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public D with(java.time.temporal.TemporalAdjuster);
- method public D with(java.time.temporal.TemporalField, long);
}
public abstract interface ChronoLocalDateTime<D extends java.time.chrono.ChronoLocalDate> implements java.lang.Comparable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster {
@@ -66524,9 +66280,6 @@
method public default boolean isEqual(java.time.chrono.ChronoLocalDateTime<?>);
method public abstract boolean isSupported(java.time.temporal.TemporalField);
method public default boolean isSupported(java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoLocalDateTime<D> minus(java.time.temporal.TemporalAmount);
- method public default java.time.chrono.ChronoLocalDateTime<D> minus(long, java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoLocalDateTime<D> plus(java.time.temporal.TemporalAmount);
method public abstract java.time.chrono.ChronoLocalDateTime<D> plus(long, java.time.temporal.TemporalUnit);
method public static java.util.Comparator<java.time.chrono.ChronoLocalDateTime<?>> timeLineOrder();
method public default long toEpochSecond(java.time.ZoneOffset);
@@ -66534,7 +66287,6 @@
method public abstract D toLocalDate();
method public abstract java.time.LocalTime toLocalTime();
method public abstract java.lang.String toString();
- method public default java.time.chrono.ChronoLocalDateTime<D> with(java.time.temporal.TemporalAdjuster);
method public abstract java.time.chrono.ChronoLocalDateTime<D> with(java.time.temporal.TemporalField, long);
}
@@ -66572,9 +66324,6 @@
method public default boolean isEqual(java.time.chrono.ChronoZonedDateTime<?>);
method public abstract boolean isSupported(java.time.temporal.TemporalField);
method public default boolean isSupported(java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoZonedDateTime<D> minus(java.time.temporal.TemporalAmount);
- method public default java.time.chrono.ChronoZonedDateTime<D> minus(long, java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoZonedDateTime<D> plus(java.time.temporal.TemporalAmount);
method public abstract java.time.chrono.ChronoZonedDateTime<D> plus(long, java.time.temporal.TemporalUnit);
method public static java.util.Comparator<java.time.chrono.ChronoZonedDateTime<?>> timeLineOrder();
method public default long toEpochSecond();
@@ -66583,7 +66332,6 @@
method public abstract java.time.chrono.ChronoLocalDateTime<D> toLocalDateTime();
method public default java.time.LocalTime toLocalTime();
method public abstract java.lang.String toString();
- method public default java.time.chrono.ChronoZonedDateTime<D> with(java.time.temporal.TemporalAdjuster);
method public abstract java.time.chrono.ChronoZonedDateTime<D> with(java.time.temporal.TemporalField, long);
method public abstract java.time.chrono.ChronoZonedDateTime<D> withEarlierOffsetAtOverlap();
method public abstract java.time.chrono.ChronoZonedDateTime<D> withLaterOffsetAtOverlap();
@@ -66650,7 +66398,6 @@
method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.HijrahDate> localDateTime(java.time.temporal.TemporalAccessor);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.chrono.HijrahDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.HijrahDate> zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.HijrahDate> zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.HijrahChronology INSTANCE;
@@ -66662,24 +66409,23 @@
method public java.time.chrono.HijrahChronology getChronology();
method public java.time.chrono.HijrahEra getEra();
method public long getLong(java.time.temporal.TemporalField);
+ method public boolean isLeapYear();
method public int lengthOfMonth();
- method public java.time.chrono.HijrahDate minus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.HijrahDate minus(long, java.time.temporal.TemporalUnit);
+ method public int lengthOfYear();
method public static java.time.chrono.HijrahDate now();
method public static java.time.chrono.HijrahDate now(java.time.ZoneId);
method public static java.time.chrono.HijrahDate now(java.time.Clock);
method public static java.time.chrono.HijrahDate of(int, int, int);
- method public java.time.chrono.HijrahDate plus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.HijrahDate plus(long, java.time.temporal.TemporalUnit);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
+ method public long toEpochDay();
method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public java.time.chrono.HijrahDate with(java.time.temporal.TemporalField, long);
- method public java.time.chrono.HijrahDate with(java.time.temporal.TemporalAdjuster);
method public java.time.chrono.HijrahDate withVariant(java.time.chrono.HijrahChronology);
}
public final class HijrahEra extends java.lang.Enum implements java.time.chrono.Era {
method public int getValue();
method public static java.time.chrono.HijrahEra of(int);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
method public static java.time.chrono.HijrahEra valueOf(java.lang.String);
method public static final java.time.chrono.HijrahEra[] values();
enum_constant public static final java.time.chrono.HijrahEra AH;
@@ -66704,7 +66450,6 @@
method public java.time.Period period(int, int, int);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.LocalDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.ZonedDateTime zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.ZonedDateTime zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.IsoChronology INSTANCE;
@@ -66737,7 +66482,6 @@
method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.JapaneseDate> localDateTime(java.time.temporal.TemporalAccessor);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.chrono.JapaneseDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.JapaneseDate> zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.JapaneseDate> zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.JapaneseChronology INSTANCE;
@@ -66749,19 +66493,17 @@
method public java.time.chrono.JapaneseChronology getChronology();
method public java.time.chrono.JapaneseEra getEra();
method public long getLong(java.time.temporal.TemporalField);
+ method public boolean isSupported(java.time.temporal.TemporalField);
method public int lengthOfMonth();
- method public java.time.chrono.JapaneseDate minus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.JapaneseDate minus(long, java.time.temporal.TemporalUnit);
+ method public int lengthOfYear();
method public static java.time.chrono.JapaneseDate now();
method public static java.time.chrono.JapaneseDate now(java.time.ZoneId);
method public static java.time.chrono.JapaneseDate now(java.time.Clock);
method public static java.time.chrono.JapaneseDate of(java.time.chrono.JapaneseEra, int, int, int);
method public static java.time.chrono.JapaneseDate of(int, int, int);
- method public java.time.chrono.JapaneseDate plus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.JapaneseDate plus(long, java.time.temporal.TemporalUnit);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
+ method public long toEpochDay();
method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public java.time.chrono.JapaneseDate with(java.time.temporal.TemporalField, long);
- method public java.time.chrono.JapaneseDate with(java.time.temporal.TemporalAdjuster);
}
public final class JapaneseEra implements java.time.chrono.Era java.io.Serializable {
@@ -66793,7 +66535,6 @@
method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.MinguoDate> localDateTime(java.time.temporal.TemporalAccessor);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.chrono.MinguoDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.MinguoDate> zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.MinguoDate> zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.MinguoChronology INSTANCE;
@@ -66806,17 +66547,13 @@
method public java.time.chrono.MinguoEra getEra();
method public long getLong(java.time.temporal.TemporalField);
method public int lengthOfMonth();
- method public java.time.chrono.MinguoDate minus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.MinguoDate minus(long, java.time.temporal.TemporalUnit);
method public static java.time.chrono.MinguoDate now();
method public static java.time.chrono.MinguoDate now(java.time.ZoneId);
method public static java.time.chrono.MinguoDate now(java.time.Clock);
method public static java.time.chrono.MinguoDate of(int, int, int);
- method public java.time.chrono.MinguoDate plus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.MinguoDate plus(long, java.time.temporal.TemporalUnit);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
+ method public long toEpochDay();
method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public java.time.chrono.MinguoDate with(java.time.temporal.TemporalField, long);
- method public java.time.chrono.MinguoDate with(java.time.temporal.TemporalAdjuster);
}
public final class MinguoEra extends java.lang.Enum implements java.time.chrono.Era {
@@ -66846,7 +66583,6 @@
method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.ThaiBuddhistDate> localDateTime(java.time.temporal.TemporalAccessor);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.chrono.ThaiBuddhistDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.ThaiBuddhistDate> zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.ThaiBuddhistDate> zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.ThaiBuddhistChronology INSTANCE;
@@ -66859,17 +66595,13 @@
method public java.time.chrono.ThaiBuddhistEra getEra();
method public long getLong(java.time.temporal.TemporalField);
method public int lengthOfMonth();
- method public java.time.chrono.ThaiBuddhistDate minus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.ThaiBuddhistDate minus(long, java.time.temporal.TemporalUnit);
method public static java.time.chrono.ThaiBuddhistDate now();
method public static java.time.chrono.ThaiBuddhistDate now(java.time.ZoneId);
method public static java.time.chrono.ThaiBuddhistDate now(java.time.Clock);
method public static java.time.chrono.ThaiBuddhistDate of(int, int, int);
- method public java.time.chrono.ThaiBuddhistDate plus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.ThaiBuddhistDate plus(long, java.time.temporal.TemporalUnit);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
+ method public long toEpochDay();
method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public java.time.chrono.ThaiBuddhistDate with(java.time.temporal.TemporalField, long);
- method public java.time.chrono.ThaiBuddhistDate with(java.time.temporal.TemporalAdjuster);
}
public final class ThaiBuddhistEra extends java.lang.Enum implements java.time.chrono.Era {
@@ -67048,6 +66780,7 @@
method public int checkValidIntValue(long);
method public long checkValidValue(long);
method public java.time.temporal.TemporalUnit getBaseUnit();
+ method public java.lang.String getDisplayName(java.util.Locale);
method public long getFrom(java.time.temporal.TemporalAccessor);
method public java.time.temporal.TemporalUnit getRangeUnit();
method public boolean isDateBased();
@@ -67095,6 +66828,7 @@
method public java.time.Duration getDuration();
method public boolean isDateBased();
method public boolean isDurationEstimated();
+ method public boolean isSupportedBy(java.time.temporal.Temporal);
method public boolean isTimeBased();
method public static java.time.temporal.ChronoUnit valueOf(java.lang.String);
method public static final java.time.temporal.ChronoUnit[] values();
@@ -67434,6 +67168,7 @@
method public E removeLast();
method public boolean removeLastOccurrence(java.lang.Object);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public class ArrayList<E> extends java.util.AbstractList implements java.lang.Cloneable java.util.List java.util.RandomAccess java.io.Serializable {
@@ -67444,7 +67179,11 @@
method public void ensureCapacity(int);
method public void forEach(java.util.function.Consumer<? super E>);
method public E get(int);
+ method public boolean removeIf(java.util.function.Predicate<? super E>);
+ method public void replaceAll(java.util.function.UnaryOperator<E>);
method public int size();
+ method public void sort(java.util.Comparator<? super E>);
+ method public java.util.Spliterator<E> spliterator();
method public void trimToSize();
}
@@ -67815,7 +67554,6 @@
method public default boolean removeIf(java.util.function.Predicate<? super E>);
method public abstract boolean retainAll(java.util.Collection<?>);
method public abstract int size();
- method public default java.util.Spliterator<E> spliterator();
method public default java.util.stream.Stream<E> stream();
method public abstract java.lang.Object[] toArray();
method public abstract <T> T[] toArray(T[]);
@@ -68156,7 +67894,18 @@
ctor public HashMap();
ctor public HashMap(java.util.Map<? extends K, ? extends V>);
method public java.lang.Object clone();
+ method public V compute(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
+ method public V computeIfAbsent(K, java.util.function.Function<? super K, ? extends V>);
+ method public V computeIfPresent(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
+ method public V getOrDefault(java.lang.Object, V);
+ method public V merge(K, V, java.util.function.BiFunction<? super V, ? super V, ? extends V>);
+ method public V putIfAbsent(K, V);
+ method public boolean remove(java.lang.Object, java.lang.Object);
+ method public boolean replace(K, V, V);
+ method public V replace(K, V);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
}
public class HashSet<E> extends java.util.AbstractSet implements java.lang.Cloneable java.io.Serializable java.util.Set {
@@ -68167,6 +67916,7 @@
method public java.lang.Object clone();
method public java.util.Iterator<E> iterator();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public class Hashtable<K, V> extends java.util.Dictionary implements java.lang.Cloneable java.util.Map java.io.Serializable {
@@ -68184,11 +67934,9 @@
method public boolean containsValue(java.lang.Object);
method public synchronized java.util.Enumeration<V> elements();
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
- method public synchronized boolean equals(java.lang.Object);
method public synchronized void forEach(java.util.function.BiConsumer<? super K, ? super V>);
method public synchronized V get(java.lang.Object);
method public synchronized V getOrDefault(java.lang.Object, V);
- method public synchronized int hashCode();
method public synchronized boolean isEmpty();
method public java.util.Set<K> keySet();
method public synchronized java.util.Enumeration<K> keys();
@@ -68203,7 +67951,6 @@
method public synchronized V replace(K, V);
method public synchronized void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public synchronized int size();
- method public synchronized java.lang.String toString();
method public java.util.Collection<V> values();
}
@@ -68213,6 +67960,8 @@
ctor public IdentityHashMap(java.util.Map<? extends K, ? extends V>);
method public java.lang.Object clone();
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
}
public class IllegalFormatCodePointException extends java.util.IllegalFormatException {
@@ -68323,6 +68072,7 @@
method public E removeLast();
method public boolean removeLastOccurrence(java.lang.Object);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public abstract interface List<E> implements java.util.Collection {
@@ -68945,7 +68695,6 @@
ctor public SimpleTimeZone(int, java.lang.String, int, int, int, int, int, int, int, int, int, int, int);
method public int getOffset(int, int, int, int, int, int);
method public int getRawOffset();
- method public synchronized int hashCode();
method public boolean inDaylightTime(java.util.Date);
method public void setDSTSavings(int);
method public void setEndRule(int, int, int, int);
@@ -69218,6 +68967,7 @@
method public K firstKey();
method public java.util.Map.Entry<K, V> floorEntry(K);
method public K floorKey(K);
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
method public java.util.NavigableMap<K, V> headMap(K, boolean);
method public java.util.SortedMap<K, V> headMap(K);
method public java.util.Map.Entry<K, V> higherEntry(K);
@@ -69229,6 +68979,9 @@
method public java.util.NavigableSet<K> navigableKeySet();
method public java.util.Map.Entry<K, V> pollFirstEntry();
method public java.util.Map.Entry<K, V> pollLastEntry();
+ method public boolean replace(K, V, V);
+ method public V replace(K, V);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public java.util.NavigableMap<K, V> subMap(K, boolean, K, boolean);
method public java.util.SortedMap<K, V> subMap(K, K);
method public java.util.NavigableMap<K, V> tailMap(K, boolean);
@@ -69256,6 +69009,7 @@
method public E pollFirst();
method public E pollLast();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public java.util.NavigableSet<E> subSet(E, boolean, E, boolean);
method public java.util.SortedSet<E> subSet(E, E);
method public java.util.NavigableSet<E> tailSet(E, boolean);
@@ -69292,49 +69046,30 @@
ctor public Vector(int);
ctor public Vector();
ctor public Vector(java.util.Collection<? extends E>);
- method public synchronized boolean add(E);
- method public synchronized boolean addAll(java.util.Collection<? extends E>);
- method public synchronized boolean addAll(int, java.util.Collection<? extends E>);
method public synchronized void addElement(E);
method public synchronized int capacity();
method public synchronized java.lang.Object clone();
- method public synchronized boolean containsAll(java.util.Collection<?>);
method public synchronized void copyInto(java.lang.Object[]);
method public synchronized E elementAt(int);
method public java.util.Enumeration<E> elements();
method public synchronized void ensureCapacity(int);
- method public synchronized boolean equals(java.lang.Object);
method public synchronized E firstElement();
method public synchronized void forEach(java.util.function.Consumer<? super E>);
method public synchronized E get(int);
- method public synchronized int hashCode();
method public synchronized int indexOf(java.lang.Object, int);
method public synchronized void insertElementAt(E, int);
- method public synchronized boolean isEmpty();
- method public synchronized java.util.Iterator<E> iterator();
method public synchronized E lastElement();
- method public synchronized int lastIndexOf(java.lang.Object);
method public synchronized int lastIndexOf(java.lang.Object, int);
- method public synchronized java.util.ListIterator<E> listIterator(int);
- method public synchronized java.util.ListIterator<E> listIterator();
- method public synchronized E remove(int);
- method public synchronized boolean removeAll(java.util.Collection<?>);
method public synchronized void removeAllElements();
method public synchronized boolean removeElement(java.lang.Object);
method public synchronized void removeElementAt(int);
method public synchronized boolean removeIf(java.util.function.Predicate<? super E>);
- method protected synchronized void removeRange(int, int);
method public synchronized void replaceAll(java.util.function.UnaryOperator<E>);
- method public synchronized boolean retainAll(java.util.Collection<?>);
- method public synchronized E set(int, E);
method public synchronized void setElementAt(E, int);
method public synchronized void setSize(int);
method public synchronized int size();
method public synchronized void sort(java.util.Comparator<? super E>);
- method public synchronized java.util.List<E> subList(int, int);
- method public synchronized java.lang.Object[] toArray();
- method public synchronized <T> T[] toArray(T[]);
- method public synchronized java.lang.String toString();
+ method public java.util.Spliterator<E> spliterator();
method public synchronized void trimToSize();
field protected int capacityIncrement;
field protected int elementCount;
@@ -69347,6 +69082,8 @@
ctor public WeakHashMap();
ctor public WeakHashMap(java.util.Map<? extends K, ? extends V>);
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
}
}
@@ -69381,6 +69118,7 @@
method public void put(E) throws java.lang.InterruptedException;
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
}
@@ -69571,9 +69309,13 @@
ctor public ConcurrentHashMap(java.util.Map<? extends K, ? extends V>);
ctor public ConcurrentHashMap(int, float);
ctor public ConcurrentHashMap(int, float, int);
+ method public V compute(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
+ method public V computeIfAbsent(K, java.util.function.Function<? super K, ? extends V>);
+ method public V computeIfPresent(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public boolean contains(java.lang.Object);
method public java.util.Enumeration<V> elements();
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
method public void forEach(long, java.util.function.BiConsumer<? super K, ? super V>);
method public <U> void forEach(long, java.util.function.BiFunction<? super K, ? super V, ? extends U>, java.util.function.Consumer<? super U>);
method public void forEachEntry(long, java.util.function.Consumer<? super java.util.Map.Entry<K, V>>);
@@ -69582,11 +69324,14 @@
method public <U> void forEachKey(long, java.util.function.Function<? super K, ? extends U>, java.util.function.Consumer<? super U>);
method public void forEachValue(long, java.util.function.Consumer<? super V>);
method public <U> void forEachValue(long, java.util.function.Function<? super V, ? extends U>, java.util.function.Consumer<? super U>);
+ method public V getOrDefault(java.lang.Object, V);
method public java.util.concurrent.ConcurrentHashMap.KeySetView<K, V> keySet(V);
method public java.util.Enumeration<K> keys();
method public long mappingCount();
+ method public V merge(K, V, java.util.function.BiFunction<? super V, ? super V, ? extends V>);
method public static <K> java.util.concurrent.ConcurrentHashMap.KeySetView<K, java.lang.Boolean> newKeySet();
method public static <K> java.util.concurrent.ConcurrentHashMap.KeySetView<K, java.lang.Boolean> newKeySet(int);
+ method public V putIfAbsent(K, V);
method public <U> U reduce(long, java.util.function.BiFunction<? super K, ? super V, ? extends U>, java.util.function.BiFunction<? super U, ? super U, ? extends U>);
method public java.util.Map.Entry<K, V> reduceEntries(long, java.util.function.BiFunction<java.util.Map.Entry<K, V>, java.util.Map.Entry<K, V>, ? extends java.util.Map.Entry<K, V>>);
method public <U> U reduceEntries(long, java.util.function.Function<java.util.Map.Entry<K, V>, ? extends U>, java.util.function.BiFunction<? super U, ? super U, ? extends U>);
@@ -69606,6 +69351,10 @@
method public double reduceValuesToDouble(long, java.util.function.ToDoubleFunction<? super V>, double, java.util.function.DoubleBinaryOperator);
method public int reduceValuesToInt(long, java.util.function.ToIntFunction<? super V>, int, java.util.function.IntBinaryOperator);
method public long reduceValuesToLong(long, java.util.function.ToLongFunction<? super V>, long, java.util.function.LongBinaryOperator);
+ method public boolean remove(java.lang.Object, java.lang.Object);
+ method public boolean replace(K, V, V);
+ method public V replace(K, V);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public <U> U search(long, java.util.function.BiFunction<? super K, ? super V, ? extends U>);
method public <U> U searchEntries(long, java.util.function.Function<java.util.Map.Entry<K, V>, ? extends U>);
method public <U> U searchKeys(long, java.util.function.Function<? super K, ? extends U>);
@@ -69666,6 +69415,7 @@
method public E removeLast();
method public boolean removeLastOccurrence(java.lang.Object);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public class ConcurrentLinkedQueue<E> extends java.util.AbstractQueue implements java.util.Queue java.io.Serializable {
@@ -69676,6 +69426,7 @@
method public E peek();
method public E poll();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public abstract interface ConcurrentMap<K, V> implements java.util.Map {
@@ -69707,6 +69458,9 @@
method public K ceilingKey(K);
method public java.util.concurrent.ConcurrentSkipListMap<K, V> clone();
method public java.util.Comparator<? super K> comparator();
+ method public V compute(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
+ method public V computeIfAbsent(K, java.util.function.Function<? super K, ? extends V>);
+ method public V computeIfPresent(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public java.util.NavigableSet<K> descendingKeySet();
method public java.util.concurrent.ConcurrentNavigableMap<K, V> descendingMap();
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
@@ -69714,18 +69468,25 @@
method public K firstKey();
method public java.util.Map.Entry<K, V> floorEntry(K);
method public K floorKey(K);
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
+ method public V getOrDefault(java.lang.Object, V);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> headMap(K, boolean);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> headMap(K);
method public java.util.Map.Entry<K, V> higherEntry(K);
method public K higherKey(K);
- method public java.util.NavigableSet<K> keySet();
method public java.util.Map.Entry<K, V> lastEntry();
method public K lastKey();
method public java.util.Map.Entry<K, V> lowerEntry(K);
method public K lowerKey(K);
+ method public V merge(K, V, java.util.function.BiFunction<? super V, ? super V, ? extends V>);
method public java.util.NavigableSet<K> navigableKeySet();
method public java.util.Map.Entry<K, V> pollFirstEntry();
method public java.util.Map.Entry<K, V> pollLastEntry();
+ method public V putIfAbsent(K, V);
+ method public boolean remove(java.lang.Object, java.lang.Object);
+ method public boolean replace(K, V, V);
+ method public V replace(K, V);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> subMap(K, boolean, K, boolean);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> subMap(K, K);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> tailMap(K, boolean);
@@ -69753,6 +69514,7 @@
method public E pollFirst();
method public E pollLast();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public java.util.NavigableSet<E> subSet(E, boolean, E, boolean);
method public java.util.NavigableSet<E> subSet(E, E);
method public java.util.NavigableSet<E> tailSet(E, boolean);
@@ -69799,7 +69561,9 @@
ctor public CopyOnWriteArraySet(java.util.Collection<? extends E>);
method public void forEach(java.util.function.Consumer<? super E>);
method public java.util.Iterator<E> iterator();
+ method public boolean removeIf(java.util.function.Predicate<? super E>);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public class CountDownLatch {
@@ -69958,7 +69722,6 @@
method public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler();
method public boolean hasQueuedSubmissions();
method public <T> T invoke(java.util.concurrent.ForkJoinTask<T>);
- method public <T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>);
method public boolean isQuiescent();
method public boolean isShutdown();
method public boolean isTerminated();
@@ -69968,9 +69731,6 @@
method public void shutdown();
method public java.util.List<java.lang.Runnable> shutdownNow();
method public <T> java.util.concurrent.ForkJoinTask<T> submit(java.util.concurrent.ForkJoinTask<T>);
- method public <T> java.util.concurrent.ForkJoinTask<T> submit(java.util.concurrent.Callable<T>);
- method public <T> java.util.concurrent.ForkJoinTask<T> submit(java.lang.Runnable, T);
- method public java.util.concurrent.ForkJoinTask<?> submit(java.lang.Runnable);
field public static final java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory defaultForkJoinWorkerThreadFactory;
}
@@ -70094,6 +69854,7 @@
method public E removeLast();
method public boolean removeLastOccurrence(java.lang.Object);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
method public E takeFirst() throws java.lang.InterruptedException;
method public E takeLast() throws java.lang.InterruptedException;
@@ -70114,6 +69875,7 @@
method public void put(E) throws java.lang.InterruptedException;
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
}
@@ -70133,6 +69895,7 @@
method public void put(E);
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
method public void transfer(E) throws java.lang.InterruptedException;
method public boolean tryTransfer(E);
@@ -70180,6 +69943,7 @@
method public void put(E);
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
}
@@ -70283,6 +70047,7 @@
method public void put(E) throws java.lang.InterruptedException;
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
}
@@ -70294,11 +70059,9 @@
method public static java.util.concurrent.ThreadLocalRandom current();
method public double nextDouble(double);
method public double nextDouble(double, double);
- method public double nextGaussian();
method public int nextInt(int, int);
method public long nextLong(long);
method public long nextLong(long, long);
- method public void setSeed(long);
}
public class ThreadPoolExecutor extends java.util.concurrent.AbstractExecutorService {
@@ -70312,7 +70075,6 @@
method public boolean awaitTermination(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException;
method protected void beforeExecute(java.lang.Thread, java.lang.Runnable);
method public void execute(java.lang.Runnable);
- method protected void finalize();
method public int getActiveCount();
method public long getCompletedTaskCount();
method public int getCorePoolSize();
@@ -71183,11 +70945,8 @@
ctor public JarFile(java.io.File) throws java.io.IOException;
ctor public JarFile(java.io.File, boolean) throws java.io.IOException;
ctor public JarFile(java.io.File, boolean, int) throws java.io.IOException;
- method public java.util.Enumeration<java.util.jar.JarEntry> entries();
- method public synchronized java.io.InputStream getInputStream(java.util.zip.ZipEntry) throws java.io.IOException;
method public java.util.jar.JarEntry getJarEntry(java.lang.String);
method public java.util.jar.Manifest getManifest() throws java.io.IOException;
- method public java.util.stream.Stream<java.util.jar.JarEntry> stream();
field public static final java.lang.String MANIFEST_NAME = "META-INF/MANIFEST.MF";
}
@@ -71267,8 +71026,6 @@
public class ConsoleHandler extends java.util.logging.StreamHandler {
ctor public ConsoleHandler();
- method public void close();
- method public void publish(java.util.logging.LogRecord);
}
public class ErrorManager {
@@ -72058,7 +71815,6 @@
method public int deflate(byte[]);
method public int deflate(byte[], int, int, int);
method public void end();
- method protected void finalize();
method public void finish();
method public boolean finished();
method public int getAdler();
@@ -72091,8 +71847,6 @@
ctor public DeflaterInputStream(java.io.InputStream);
ctor public DeflaterInputStream(java.io.InputStream, java.util.zip.Deflater);
ctor public DeflaterInputStream(java.io.InputStream, java.util.zip.Deflater, int);
- method public void mark(int);
- method public void reset() throws java.io.IOException;
field protected final byte[] buf;
field protected final java.util.zip.Deflater def;
}
@@ -72123,7 +71877,6 @@
ctor public GZIPOutputStream(java.io.OutputStream, int, boolean) throws java.io.IOException;
ctor public GZIPOutputStream(java.io.OutputStream) throws java.io.IOException;
ctor public GZIPOutputStream(java.io.OutputStream, boolean) throws java.io.IOException;
- method public synchronized void write(byte[], int, int) throws java.io.IOException;
field protected java.util.zip.CRC32 crc;
}
@@ -72131,7 +71884,6 @@
ctor public Inflater(boolean);
ctor public Inflater();
method public void end();
- method protected void finalize();
method public boolean finished();
method public int getAdler();
method public long getBytesRead();
@@ -72258,7 +72010,6 @@
ctor public ZipFile(java.io.File, java.nio.charset.Charset) throws java.io.IOException;
method public void close() throws java.io.IOException;
method public java.util.Enumeration<? extends java.util.zip.ZipEntry> entries();
- method protected void finalize() throws java.io.IOException;
method public java.lang.String getComment();
method public java.util.zip.ZipEntry getEntry(java.lang.String);
method public java.io.InputStream getInputStream(java.util.zip.ZipEntry) throws java.io.IOException;
@@ -72365,7 +72116,6 @@
method public void setComment(java.lang.String);
method public void setLevel(int);
method public void setMethod(int);
- method public synchronized void write(byte[], int, int) throws java.io.IOException;
field public static final int CENATT = 36; // 0x24
field public static final int CENATX = 38; // 0x26
field public static final int CENCOM = 32; // 0x20
@@ -72522,7 +72272,6 @@
public class ExemptionMechanism {
ctor protected ExemptionMechanism(javax.crypto.ExemptionMechanismSpi, java.security.Provider, java.lang.String);
- method protected void finalize();
method public final byte[] genExemptionBlob() throws javax.crypto.ExemptionMechanismException, java.lang.IllegalStateException;
method public final int genExemptionBlob(byte[]) throws javax.crypto.ExemptionMechanismException, java.lang.IllegalStateException, javax.crypto.ShortBufferException;
method public final int genExemptionBlob(byte[], int) throws javax.crypto.ExemptionMechanismException, java.lang.IllegalStateException, javax.crypto.ShortBufferException;
@@ -74912,7 +74661,6 @@
ctor public TransformerException(java.lang.String, java.lang.Throwable);
ctor public TransformerException(java.lang.String, javax.xml.transform.SourceLocator);
ctor public TransformerException(java.lang.String, javax.xml.transform.SourceLocator, java.lang.Throwable);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getException();
method public java.lang.String getLocationAsString();
method public javax.xml.transform.SourceLocator getLocator();
@@ -75183,7 +74931,6 @@
public class XPathException extends java.lang.Exception {
ctor public XPathException(java.lang.String);
ctor public XPathException(java.lang.Throwable);
- method public java.lang.Throwable getCause();
}
public abstract interface XPathExpression {
diff --git a/api/test-current.txt b/api/test-current.txt
index b5a30ea..cc78d4d 100644
--- a/api/test-current.txt
+++ b/api/test-current.txt
@@ -3163,7 +3163,6 @@
public final class AnimatorSet extends android.animation.Animator {
ctor public AnimatorSet();
- method public android.animation.AnimatorSet clone();
method public java.util.ArrayList<android.animation.Animator> getChildAnimations();
method public long getCurrentPlayTime();
method public long getDuration();
@@ -3282,7 +3281,6 @@
public final class ObjectAnimator extends android.animation.ValueAnimator {
ctor public ObjectAnimator();
- method public android.animation.ObjectAnimator clone();
method public java.lang.String getPropertyName();
method public java.lang.Object getTarget();
method public static android.animation.ObjectAnimator ofArgb(java.lang.Object, java.lang.String, int...);
@@ -3308,7 +3306,6 @@
method public static <T, V> android.animation.ObjectAnimator ofObject(T, android.util.Property<T, V>, android.animation.TypeConverter<android.graphics.PointF, V>, android.graphics.Path);
method public static android.animation.ObjectAnimator ofPropertyValuesHolder(java.lang.Object, android.animation.PropertyValuesHolder...);
method public void setAutoCancel(boolean);
- method public android.animation.ObjectAnimator setDuration(long);
method public void setProperty(android.util.Property);
method public void setPropertyName(java.lang.String);
}
@@ -3390,7 +3387,6 @@
ctor public ValueAnimator();
method public void addUpdateListener(android.animation.ValueAnimator.AnimatorUpdateListener);
method public static boolean areAnimatorsEnabled();
- method public android.animation.ValueAnimator clone();
method public float getAnimatedFraction();
method public java.lang.Object getAnimatedValue();
method public java.lang.Object getAnimatedValue(java.lang.String);
@@ -4977,7 +4973,6 @@
ctor public IntentService(java.lang.String);
method public android.os.IBinder onBind(android.content.Intent);
method protected abstract void onHandleIntent(android.content.Intent);
- method public void onStart(android.content.Intent, int);
method public void setIntentRedelivery(boolean);
}
@@ -11088,7 +11083,6 @@
public static class AssetFileDescriptor.AutoCloseInputStream extends android.os.ParcelFileDescriptor.AutoCloseInputStream {
ctor public AssetFileDescriptor.AutoCloseInputStream(android.content.res.AssetFileDescriptor) throws java.io.IOException;
- method public void mark(int);
}
public static class AssetFileDescriptor.AutoCloseOutputStream extends android.os.ParcelFileDescriptor.AutoCloseOutputStream {
@@ -11396,7 +11390,6 @@
method public void copyStringToBuffer(int, android.database.CharArrayBuffer);
method public void deactivate();
method public void fillWindow(int, android.database.CursorWindow);
- method protected void finalize();
method public byte[] getBlob(int);
method public int getColumnCount();
method public int getColumnIndex(java.lang.String);
@@ -13872,7 +13865,6 @@
method public void scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long);
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setOpacity(int);
method public void unscheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable);
field public static final float MASK_SIZE = 100.0f;
@@ -13954,7 +13946,6 @@
method public void setAlpha(int);
method public void setAntiAlias(boolean);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setGravity(int);
method public void setMipMap(boolean);
method public void setTargetDensity(android.graphics.Canvas);
@@ -14082,7 +14073,6 @@
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
method protected void setConstantState(android.graphics.drawable.DrawableContainer.DrawableContainerState);
- method public void setDither(boolean);
method public void setEnterFadeDuration(int);
method public void setExitFadeDuration(int);
method public void unscheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable);
@@ -14149,7 +14139,6 @@
method public void setColors(int[]);
method public void setCornerRadii(float[]);
method public void setCornerRadius(float);
- method public void setDither(boolean);
method public void setGradientCenter(float, float);
method public void setGradientRadius(float);
method public void setGradientType(int);
@@ -14244,7 +14233,6 @@
method public void scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long);
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setDrawable(int, android.graphics.drawable.Drawable);
method public boolean setDrawableByLayerId(int, android.graphics.drawable.Drawable);
method public void setId(int, int);
@@ -14285,7 +14273,6 @@
method public android.graphics.Paint getPaint();
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setTargetDensity(android.graphics.Canvas);
method public void setTargetDensity(android.util.DisplayMetrics);
method public void setTargetDensity(int);
@@ -14348,7 +14335,6 @@
method protected void onDraw(android.graphics.drawable.shapes.Shape, android.graphics.Canvas, android.graphics.Paint);
method public void setAlpha(int);
method public void setColorFilter(android.graphics.ColorFilter);
- method public void setDither(boolean);
method public void setIntrinsicHeight(int);
method public void setIntrinsicWidth(int);
method public void setPadding(int, int, int, int);
@@ -14391,32 +14377,27 @@
public class ArcShape extends android.graphics.drawable.shapes.RectShape {
ctor public ArcShape(float, float);
- method public android.graphics.drawable.shapes.ArcShape clone() throws java.lang.CloneNotSupportedException;
method public final float getStartAngle();
method public final float getSweepAngle();
}
public class OvalShape extends android.graphics.drawable.shapes.RectShape {
ctor public OvalShape();
- method public android.graphics.drawable.shapes.OvalShape clone() throws java.lang.CloneNotSupportedException;
}
public class PathShape extends android.graphics.drawable.shapes.Shape {
ctor public PathShape(android.graphics.Path, float, float);
- method public android.graphics.drawable.shapes.PathShape clone() throws java.lang.CloneNotSupportedException;
method public void draw(android.graphics.Canvas, android.graphics.Paint);
}
public class RectShape extends android.graphics.drawable.shapes.Shape {
ctor public RectShape();
- method public android.graphics.drawable.shapes.RectShape clone() throws java.lang.CloneNotSupportedException;
method public void draw(android.graphics.Canvas, android.graphics.Paint);
method protected final android.graphics.RectF rect();
}
public class RoundRectShape extends android.graphics.drawable.shapes.RectShape {
ctor public RoundRectShape(float[], android.graphics.RectF, float[]);
- method public android.graphics.drawable.shapes.RoundRectShape clone() throws java.lang.CloneNotSupportedException;
}
public abstract class Shape implements java.lang.Cloneable {
@@ -14501,7 +14482,6 @@
method public final void autoFocus(android.hardware.Camera.AutoFocusCallback);
method public final void cancelAutoFocus();
method public final boolean enableShutterSound(boolean);
- method protected void finalize();
method public static void getCameraInfo(int, android.hardware.Camera.CameraInfo);
method public static int getNumberOfCameras();
method public android.hardware.Camera.Parameters getParameters();
@@ -15111,7 +15091,6 @@
method public <T> T get(android.hardware.camera2.CameraCharacteristics.Key<T>);
method public java.util.List<android.hardware.camera2.CaptureRequest.Key<?>> getAvailableCaptureRequestKeys();
method public java.util.List<android.hardware.camera2.CaptureResult.Key<?>> getAvailableCaptureResultKeys();
- method public java.util.List<android.hardware.camera2.CameraCharacteristics.Key<?>> getKeys();
field public static final android.hardware.camera2.CameraCharacteristics.Key<int[]> COLOR_CORRECTION_AVAILABLE_ABERRATION_MODES;
field public static final android.hardware.camera2.CameraCharacteristics.Key<int[]> CONTROL_AE_AVAILABLE_ANTIBANDING_MODES;
field public static final android.hardware.camera2.CameraCharacteristics.Key<int[]> CONTROL_AE_AVAILABLE_MODES;
@@ -15472,7 +15451,6 @@
public final class CaptureRequest extends android.hardware.camera2.CameraMetadata implements android.os.Parcelable {
method public int describeContents();
method public <T> T get(android.hardware.camera2.CaptureRequest.Key<T>);
- method public java.util.List<android.hardware.camera2.CaptureRequest.Key<?>> getKeys();
method public java.lang.Object getTag();
method public boolean isReprocess();
method public void writeToParcel(android.os.Parcel, int);
@@ -15551,7 +15529,6 @@
public class CaptureResult extends android.hardware.camera2.CameraMetadata {
method public <T> T get(android.hardware.camera2.CaptureResult.Key<T>);
method public long getFrameNumber();
- method public java.util.List<android.hardware.camera2.CaptureResult.Key<?>> getKeys();
method public android.hardware.camera2.CaptureRequest getRequest();
method public int getSequenceId();
field public static final android.hardware.camera2.CaptureResult.Key<java.lang.Boolean> BLACK_LEVEL_LOCK;
@@ -17985,7 +17962,6 @@
}
public class DateIntervalFormat extends android.icu.text.UFormat {
- method public synchronized java.lang.Object clone();
method public final java.lang.StringBuffer format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition);
method public final synchronized java.lang.StringBuffer format(android.icu.util.DateInterval, java.lang.StringBuffer, java.text.FieldPosition);
method public final synchronized java.lang.StringBuffer format(android.icu.util.Calendar, android.icu.util.Calendar, java.lang.StringBuffer, java.text.FieldPosition);
@@ -18769,7 +18745,6 @@
public final class RuleBasedCollator extends android.icu.text.Collator {
ctor public RuleBasedCollator(java.lang.String) throws java.lang.Exception;
- method public android.icu.text.RuleBasedCollator cloneAsThawed();
method public int compare(java.lang.String, java.lang.String);
method public android.icu.text.CollationElementIterator getCollationElementIterator(java.lang.String);
method public android.icu.text.CollationElementIterator getCollationElementIterator(java.text.CharacterIterator);
@@ -18796,7 +18771,6 @@
method public void setFrenchCollation(boolean);
method public void setFrenchCollationDefault();
method public void setLowerCaseFirst(boolean);
- method public android.icu.text.RuleBasedCollator setMaxVariable(int);
method public void setNumericCollation(boolean);
method public void setNumericCollationDefault();
method public void setStrengthDefault();
@@ -21375,7 +21349,6 @@
ctor public AudioRecord(int, int, int, int, int) throws java.lang.IllegalArgumentException;
method public void addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler);
method public deprecated void addOnRoutingChangedListener(android.media.AudioRecord.OnRoutingChangedListener, android.os.Handler);
- method protected void finalize();
method public int getAudioFormat();
method public int getAudioSessionId();
method public int getAudioSource();
@@ -21480,7 +21453,6 @@
method public deprecated void addOnRoutingChangedListener(android.media.AudioTrack.OnRoutingChangedListener, android.os.Handler);
method public int attachAuxEffect(int);
method public android.media.VolumeShaper createVolumeShaper(android.media.VolumeShaper.Configuration);
- method protected void finalize();
method public void flush();
method public int getAudioFormat();
method public int getAudioSessionId();
@@ -21879,7 +21851,6 @@
method public boolean clearQueue();
method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
method public boolean closeJetFile();
- method protected void finalize();
method public static android.media.JetPlayer getJetPlayer();
method public static int getMaxTracks();
method public boolean loadJetFile(java.lang.String);
@@ -21919,7 +21890,6 @@
ctor public MediaCas(int) throws android.media.MediaCasException.UnsupportedCasException;
method public void close();
method public static android.media.MediaCas.PluginDescriptor[] enumeratePlugins();
- method protected void finalize();
method public static boolean isSystemIdSupported(int);
method public android.media.MediaCas.Session openSession() throws android.media.MediaCasException;
method public void processEmm(byte[], int, int) throws android.media.MediaCasException;
@@ -21976,7 +21946,6 @@
method public static android.view.Surface createPersistentInputSurface();
method public final int dequeueInputBuffer(long);
method public final int dequeueOutputBuffer(android.media.MediaCodec.BufferInfo, long);
- method protected void finalize();
method public final void flush();
method public android.media.MediaCodecInfo getCodecInfo();
method public java.nio.ByteBuffer getInputBuffer(int);
@@ -22388,7 +22357,6 @@
public final class MediaCrypto {
ctor public MediaCrypto(java.util.UUID, byte[]) throws android.media.MediaCryptoException;
- method protected void finalize();
method public static final boolean isCryptoSchemeSupported(java.util.UUID);
method public final void release();
method public final boolean requiresSecureDecoderComponent(java.lang.String);
@@ -22409,7 +22377,6 @@
ctor public MediaDescrambler(int) throws android.media.MediaCasException.UnsupportedCasException;
method public void close();
method public final int descramble(java.nio.ByteBuffer, java.nio.ByteBuffer, android.media.MediaCodec.CryptoInfo);
- method protected void finalize();
method public final boolean requiresSecureDecoderComponent(java.lang.String);
method public final void setMediaCasSession(android.media.MediaCas.Session);
}
@@ -22452,7 +22419,6 @@
public final class MediaDrm {
ctor public MediaDrm(java.util.UUID) throws android.media.UnsupportedSchemeException;
method public void closeSession(byte[]);
- method protected void finalize();
method public android.media.MediaDrm.CryptoSession getCryptoSession(byte[], java.lang.String, java.lang.String);
method public android.media.MediaDrm.KeyRequest getKeyRequest(byte[], byte[], java.lang.String, int, java.util.HashMap<java.lang.String, java.lang.String>) throws android.media.NotProvisionedException;
method public byte[] getPropertyByteArray(java.lang.String);
@@ -22549,7 +22515,6 @@
public final class MediaExtractor {
ctor public MediaExtractor();
method public boolean advance();
- method protected void finalize();
method public long getCachedDuration();
method public android.media.MediaExtractor.CasInfo getCasInfo(int);
method public android.media.DrmInitData getDrmInitData();
@@ -22851,7 +22816,6 @@
method public static android.media.MediaPlayer create(android.content.Context, int, android.media.AudioAttributes, int);
method public android.media.VolumeShaper createVolumeShaper(android.media.VolumeShaper.Configuration);
method public void deselectTrack(int) throws java.lang.IllegalStateException;
- method protected void finalize();
method public int getAudioSessionId();
method public int getCurrentPosition();
method public android.media.MediaPlayer.DrmInfo getDrmInfo();
@@ -23047,7 +23011,6 @@
public class MediaRecorder {
ctor public MediaRecorder();
- method protected void finalize();
method public static final int getAudioSourceMax();
method public int getMaxAmplitude() throws java.lang.IllegalStateException;
method public android.os.PersistableBundle getMetrics();
@@ -23319,7 +23282,6 @@
public final class MediaSync {
ctor public MediaSync();
method public final android.view.Surface createInputSurface();
- method protected void finalize();
method public void flush();
method public android.media.PlaybackParams getPlaybackParams();
method public android.media.SyncParams getSyncParams();
@@ -23439,10 +23401,6 @@
public deprecated class RemoteControlClient.MetadataEditor extends android.media.MediaMetadataEditor {
method public synchronized void apply();
- method public synchronized android.media.RemoteControlClient.MetadataEditor putBitmap(int, android.graphics.Bitmap) throws java.lang.IllegalArgumentException;
- method public synchronized android.media.RemoteControlClient.MetadataEditor putLong(int, long) throws java.lang.IllegalArgumentException;
- method public synchronized android.media.RemoteControlClient.MetadataEditor putObject(int, java.lang.Object) throws java.lang.IllegalArgumentException;
- method public synchronized android.media.RemoteControlClient.MetadataEditor putString(int, java.lang.String) throws java.lang.IllegalArgumentException;
field public static final int BITMAP_KEY_ARTWORK = 100; // 0x64
}
@@ -23489,7 +23447,6 @@
}
public class Ringtone {
- method protected void finalize();
method public android.media.AudioAttributes getAudioAttributes();
method public deprecated int getStreamType();
method public java.lang.String getTitle(android.content.Context);
@@ -23543,7 +23500,6 @@
ctor public deprecated SoundPool(int, int, int);
method public final void autoPause();
method public final void autoResume();
- method protected void finalize();
method public int load(java.lang.String, int);
method public int load(android.content.Context, int, int);
method public int load(android.content.res.AssetFileDescriptor, int);
@@ -23612,7 +23568,6 @@
public class ToneGenerator {
ctor public ToneGenerator(int, int);
- method protected void finalize();
method public final int getAudioSessionId();
method public void release();
method public boolean startTone(int);
@@ -23745,7 +23700,6 @@
public final class VolumeShaper implements java.lang.AutoCloseable {
method public void apply(android.media.VolumeShaper.Operation);
method public void close();
- method protected void finalize();
method public float getVolume();
method public void replace(android.media.VolumeShaper.Configuration, android.media.VolumeShaper.Operation, boolean);
}
@@ -23800,7 +23754,6 @@
}
public class AudioEffect {
- method protected void finalize();
method public android.media.audiofx.AudioEffect.Descriptor getDescriptor() throws java.lang.IllegalStateException;
method public boolean getEnabled() throws java.lang.IllegalStateException;
method public int getId() throws java.lang.IllegalStateException;
@@ -24053,7 +24006,6 @@
public class Visualizer {
ctor public Visualizer(int) throws java.lang.RuntimeException, java.lang.UnsupportedOperationException;
- method protected void finalize();
method public int getCaptureSize() throws java.lang.IllegalStateException;
method public static int[] getCaptureSizeRange();
method public boolean getEnabled();
@@ -30717,7 +30669,6 @@
method public void putStringArrayList(java.lang.String, java.util.ArrayList<java.lang.String>);
method public void readFromParcel(android.os.Parcel);
method public void setClassLoader(java.lang.ClassLoader);
- method public synchronized java.lang.String toString();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.Bundle> CREATOR;
field public static final android.os.Bundle EMPTY;
@@ -30948,7 +30899,6 @@
public abstract class FileObserver {
ctor public FileObserver(java.lang.String);
ctor public FileObserver(java.lang.String, int);
- method protected void finalize();
method public abstract void onEvent(int, java.lang.String);
method public void startWatching();
method public void stopWatching();
@@ -31123,7 +31073,6 @@
ctor public MemoryFile(java.lang.String, int) throws java.io.IOException;
method public synchronized boolean allowPurging(boolean) throws java.io.IOException;
method public void close();
- method protected void finalize();
method public java.io.InputStream getInputStream();
method public java.io.OutputStream getOutputStream();
method public boolean isPurgingAllowed();
@@ -31423,7 +31372,6 @@
method public int describeContents();
method public android.os.PersistableBundle getPersistableBundle(java.lang.String);
method public void putPersistableBundle(java.lang.String, android.os.PersistableBundle);
- method public synchronized java.lang.String toString();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.PersistableBundle> CREATOR;
field public static final android.os.PersistableBundle EMPTY;
@@ -35769,7 +35717,6 @@
method public static android.renderscript.AllocationAdapter create1D(android.renderscript.RenderScript, android.renderscript.Allocation);
method public static android.renderscript.AllocationAdapter create2D(android.renderscript.RenderScript, android.renderscript.Allocation);
method public static android.renderscript.AllocationAdapter createTyped(android.renderscript.RenderScript, android.renderscript.Allocation, android.renderscript.Type);
- method public synchronized void resize(int);
method public void setFace(android.renderscript.Type.CubemapFace);
method public void setLOD(int);
method public void setX(int);
@@ -40547,7 +40494,6 @@
public static deprecated class SmsMessage.SubmitPdu {
ctor public deprecated SmsMessage.SubmitPdu();
- method public deprecated java.lang.String toString();
field public deprecated byte[] encodedMessage;
field public deprecated byte[] encodedScAddress;
}
@@ -40700,7 +40646,6 @@
method public java.util.List<junit.framework.TestCase> getTestCases();
method public java.lang.String getTestClassName();
method public junit.framework.TestResult getTestResult();
- method protected java.lang.Class loadSuiteClass(java.lang.String) throws java.lang.ClassNotFoundException;
method protected void runFailed(java.lang.String);
method public void runTest();
method public void runTest(junit.framework.TestResult);
@@ -40961,12 +40906,10 @@
ctor protected MockContentProvider();
ctor public MockContentProvider(android.content.Context);
ctor public MockContentProvider(android.content.Context, java.lang.String, java.lang.String, android.content.pm.PathPermission[]);
- method public android.content.ContentProviderResult[] applyBatch(java.util.ArrayList<android.content.ContentProviderOperation>);
method public int delete(android.net.Uri, java.lang.String, java.lang.String[]);
method public java.lang.String getType(android.net.Uri);
method public android.net.Uri insert(android.net.Uri, android.content.ContentValues);
method public boolean onCreate();
- method public android.content.res.AssetFileDescriptor openTypedAssetFile(android.net.Uri, java.lang.String, android.os.Bundle);
method public android.database.Cursor query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String);
method public int update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]);
}
@@ -41240,10 +41183,6 @@
public deprecated class MockResources extends android.content.res.Resources {
ctor public MockResources();
- method public int getColor(int) throws android.content.res.Resources.NotFoundException;
- method public android.content.res.ColorStateList getColorStateList(int) throws android.content.res.Resources.NotFoundException;
- method public android.graphics.drawable.Drawable getDrawable(int) throws android.content.res.Resources.NotFoundException;
- method public void updateConfiguration(android.content.res.Configuration, android.util.DisplayMetrics);
}
}
@@ -42491,7 +42430,6 @@
public abstract class MetricAffectingSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateLayout {
ctor public MetricAffectingSpan();
- method public android.text.style.MetricAffectingSpan getUnderlying();
method public abstract void updateMeasureState(android.text.TextPaint);
}
@@ -43173,28 +43111,14 @@
public class TransitionSet extends android.transition.Transition {
ctor public TransitionSet();
ctor public TransitionSet(android.content.Context, android.util.AttributeSet);
- method public android.transition.TransitionSet addListener(android.transition.Transition.TransitionListener);
- method public android.transition.TransitionSet addTarget(android.view.View);
- method public android.transition.TransitionSet addTarget(int);
- method public android.transition.TransitionSet addTarget(java.lang.String);
- method public android.transition.TransitionSet addTarget(java.lang.Class);
method public android.transition.TransitionSet addTransition(android.transition.Transition);
method public void captureEndValues(android.transition.TransitionValues);
method public void captureStartValues(android.transition.TransitionValues);
- method public android.transition.TransitionSet clone();
method public int getOrdering();
method public android.transition.Transition getTransitionAt(int);
method public int getTransitionCount();
- method public android.transition.TransitionSet removeListener(android.transition.Transition.TransitionListener);
- method public android.transition.TransitionSet removeTarget(int);
- method public android.transition.TransitionSet removeTarget(android.view.View);
- method public android.transition.TransitionSet removeTarget(java.lang.Class);
- method public android.transition.TransitionSet removeTarget(java.lang.String);
method public android.transition.TransitionSet removeTransition(android.transition.Transition);
- method public android.transition.TransitionSet setDuration(long);
- method public android.transition.TransitionSet setInterpolator(android.animation.TimeInterpolator);
method public android.transition.TransitionSet setOrdering(int);
- method public android.transition.TransitionSet setStartDelay(long);
field public static final int ORDERING_SEQUENTIAL = 1; // 0x1
field public static final int ORDERING_TOGETHER = 0; // 0x0
}
@@ -43359,9 +43283,6 @@
public class Base64InputStream extends java.io.FilterInputStream {
ctor public Base64InputStream(java.io.InputStream, int);
- method public int available();
- method public void mark(int);
- method public void reset();
}
public class Base64OutputStream extends java.io.FilterOutputStream {
@@ -45642,7 +45563,6 @@
method public android.graphics.Canvas lockCanvas();
method public android.graphics.Canvas lockCanvas(android.graphics.Rect);
method protected final void onDraw(android.graphics.Canvas);
- method public void setBackgroundDrawable(android.graphics.drawable.Drawable);
method public void setOpaque(boolean);
method public void setSurfaceTexture(android.graphics.SurfaceTexture);
method public void setSurfaceTextureListener(android.view.TextureView.SurfaceTextureListener);
@@ -46675,7 +46595,6 @@
method public int getLayoutMode();
method public android.animation.LayoutTransition getLayoutTransition();
method public int getNestedScrollAxes();
- method public android.view.ViewGroupOverlay getOverlay();
method public int getPersistentDrawingCache();
method public boolean getTouchscreenBlocksFocus();
method public int indexOfChild(android.view.View);
@@ -47951,7 +47870,6 @@
ctor public Animation(android.content.Context, android.util.AttributeSet);
method protected void applyTransformation(float, android.view.animation.Transformation);
method public void cancel();
- method protected android.view.animation.Animation clone() throws java.lang.CloneNotSupportedException;
method public long computeDurationHint();
method protected void ensureInterpolator();
method public int getBackgroundColor();
@@ -48023,7 +47941,6 @@
ctor public AnimationSet(android.content.Context, android.util.AttributeSet);
ctor public AnimationSet(boolean);
method public void addAnimation(android.view.animation.Animation);
- method protected android.view.animation.AnimationSet clone() throws java.lang.CloneNotSupportedException;
method public java.util.List<android.view.animation.Animation> getAnimations();
}
@@ -48874,10 +48791,6 @@
public final deprecated class CookieSyncManager extends android.webkit.WebSyncManager {
method public static android.webkit.CookieSyncManager createInstance(android.content.Context);
method public static android.webkit.CookieSyncManager getInstance();
- method public deprecated void resetSync();
- method public deprecated void startSync();
- method public deprecated void stopSync();
- method public deprecated void sync();
method protected deprecated void syncFromRamToFlash();
field protected static final java.lang.String LOGTAG = "websync";
field protected android.webkit.WebViewDatabase mDataBase;
@@ -49429,7 +49342,6 @@
method public void setWebChromeClient(android.webkit.WebChromeClient);
method public static void setWebContentsDebuggingEnabled(boolean);
method public void setWebViewClient(android.webkit.WebViewClient);
- method public deprecated boolean shouldDelayChildPressedState();
method public deprecated boolean showFindDialog(java.lang.String, boolean);
method public void stopLoading();
method public void zoomBy(float);
@@ -49553,7 +49465,6 @@
method public void clearTextFilter();
method public void deferNotifyDataSetChanged();
method public void fling(int);
- method public android.widget.AbsListView.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public int getCacheColorHint();
method public int getCheckedItemCount();
method public long[] getCheckedItemIds();
@@ -49720,9 +49631,6 @@
ctor public ActionMenuView(android.content.Context);
ctor public ActionMenuView(android.content.Context, android.util.AttributeSet);
method public void dismissPopupMenus();
- method protected android.widget.ActionMenuView.LayoutParams generateDefaultLayoutParams();
- method public android.widget.ActionMenuView.LayoutParams generateLayoutParams(android.util.AttributeSet);
- method protected android.widget.ActionMenuView.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public android.view.Menu getMenu();
method public android.graphics.drawable.Drawable getOverflowIcon();
method public int getPopupTheme();
@@ -49898,6 +49806,7 @@
method public void addAll(T...);
method public void clear();
method public static android.widget.ArrayAdapter<java.lang.CharSequence> createFromResource(android.content.Context, int, int);
+ method public java.lang.CharSequence[] getAutofillOptions();
method public android.content.Context getContext();
method public int getCount();
method public android.content.res.Resources.Theme getDropDownViewTheme();
@@ -50269,7 +50178,6 @@
ctor public EditText(android.content.Context, android.util.AttributeSet, int);
ctor public EditText(android.content.Context, android.util.AttributeSet, int, int);
method public void extendSelection(int);
- method public android.text.Editable getText();
method public void selectAll();
method public void setSelection(int, int);
method public void setSelection(int);
@@ -50391,8 +50299,6 @@
ctor public FrameLayout(android.content.Context, android.util.AttributeSet);
ctor public FrameLayout(android.content.Context, android.util.AttributeSet, int);
ctor public FrameLayout(android.content.Context, android.util.AttributeSet, int, int);
- method protected android.widget.FrameLayout.LayoutParams generateDefaultLayoutParams();
- method public android.widget.FrameLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public deprecated boolean getConsiderGoneChildrenWhenMeasuring();
method public boolean getMeasureAllChildren();
method protected void onLayout(boolean, int, int, int, int);
@@ -50439,9 +50345,6 @@
ctor public GridLayout(android.content.Context, android.util.AttributeSet);
ctor public GridLayout(android.content.Context, android.util.AttributeSet, int);
ctor public GridLayout(android.content.Context, android.util.AttributeSet, int, int);
- method protected android.widget.GridLayout.LayoutParams generateDefaultLayoutParams();
- method public android.widget.GridLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
- method protected android.widget.GridLayout.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public int getAlignmentMode();
method public int getColumnCount();
method public int getOrientation();
@@ -50654,9 +50557,6 @@
ctor public LinearLayout(android.content.Context, android.util.AttributeSet);
ctor public LinearLayout(android.content.Context, android.util.AttributeSet, int);
ctor public LinearLayout(android.content.Context, android.util.AttributeSet, int, int);
- method protected android.widget.LinearLayout.LayoutParams generateDefaultLayoutParams();
- method public android.widget.LinearLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
- method protected android.widget.LinearLayout.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public int getBaselineAlignedChildIndex();
method public android.graphics.drawable.Drawable getDividerDrawable();
method public int getDividerPadding();
@@ -51045,8 +50945,6 @@
method public final synchronized void incrementSecondaryProgressBy(int);
method public boolean isAnimating();
method public synchronized boolean isIndeterminate();
- method protected synchronized void onDraw(android.graphics.Canvas);
- method protected synchronized void onMeasure(int, int);
method public void onRestoreInstanceState(android.os.Parcelable);
method public android.os.Parcelable onSaveInstanceState();
method public synchronized void setIndeterminate(boolean);
@@ -51102,7 +51000,6 @@
ctor public RadioGroup(android.content.Context, android.util.AttributeSet);
method public void check(int);
method public void clearCheck();
- method public android.widget.RadioGroup.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public int getCheckedRadioButtonId();
method public void setOnCheckedChangeListener(android.widget.RadioGroup.OnCheckedChangeListener);
}
@@ -51145,7 +51042,6 @@
ctor public RelativeLayout(android.content.Context, android.util.AttributeSet);
ctor public RelativeLayout(android.content.Context, android.util.AttributeSet, int);
ctor public RelativeLayout(android.content.Context, android.util.AttributeSet, int, int);
- method public android.widget.RelativeLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public int getGravity();
method protected void onLayout(boolean, int, int, int, int);
method public void setGravity(int);
@@ -51690,7 +51586,6 @@
public class TableLayout extends android.widget.LinearLayout {
ctor public TableLayout(android.content.Context);
ctor public TableLayout(android.content.Context, android.util.AttributeSet);
- method public android.widget.TableLayout.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public boolean isColumnCollapsed(int);
method public boolean isColumnShrinkable(int);
method public boolean isColumnStretchable(int);
@@ -51715,7 +51610,6 @@
public class TableRow extends android.widget.LinearLayout {
ctor public TableRow(android.content.Context);
ctor public TableRow(android.content.Context, android.util.AttributeSet);
- method public android.widget.TableRow.LayoutParams generateLayoutParams(android.util.AttributeSet);
method public android.view.View getVirtualChildAt(int);
method public int getVirtualChildCount();
}
@@ -52064,7 +51958,6 @@
ctor public ToggleButton(android.content.Context);
method public java.lang.CharSequence getTextOff();
method public java.lang.CharSequence getTextOn();
- method public void setBackgroundDrawable(android.graphics.drawable.Drawable);
method public void setTextOff(java.lang.CharSequence);
method public void setTextOn(java.lang.CharSequence);
}
@@ -52076,9 +51969,6 @@
ctor public Toolbar(android.content.Context, android.util.AttributeSet, int, int);
method public void collapseActionView();
method public void dismissPopupMenus();
- method protected android.widget.Toolbar.LayoutParams generateDefaultLayoutParams();
- method public android.widget.Toolbar.LayoutParams generateLayoutParams(android.util.AttributeSet);
- method protected android.widget.Toolbar.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public int getContentInsetEnd();
method public int getContentInsetEndWithActions();
method public int getContentInsetLeft();
@@ -52601,8 +52491,6 @@
public class BaseDexClassLoader extends java.lang.ClassLoader {
ctor public BaseDexClassLoader(java.lang.String, java.io.File, java.lang.String, java.lang.ClassLoader);
method public java.lang.String findLibrary(java.lang.String);
- method protected java.util.Enumeration<java.net.URL> findResources(java.lang.String);
- method protected synchronized java.lang.Package getPackage(java.lang.String);
}
public class DexClassLoader extends dalvik.system.BaseDexClassLoader {
@@ -52825,10 +52713,6 @@
public class BufferedInputStream extends java.io.FilterInputStream {
ctor public BufferedInputStream(java.io.InputStream);
ctor public BufferedInputStream(java.io.InputStream, int);
- method public synchronized int available() throws java.io.IOException;
- method public synchronized int read() throws java.io.IOException;
- method public synchronized int read(byte[], int, int) throws java.io.IOException;
- method public synchronized long skip(long) throws java.io.IOException;
field protected volatile byte[] buf;
field protected int count;
field protected int marklimit;
@@ -52839,9 +52723,6 @@
public class BufferedOutputStream extends java.io.FilterOutputStream {
ctor public BufferedOutputStream(java.io.OutputStream);
ctor public BufferedOutputStream(java.io.OutputStream, int);
- method public synchronized void flush() throws java.io.IOException;
- method public synchronized void write(int) throws java.io.IOException;
- method public synchronized void write(byte[], int, int) throws java.io.IOException;
field protected byte[] buf;
field protected int count;
}
@@ -52867,12 +52748,7 @@
public class ByteArrayInputStream extends java.io.InputStream {
ctor public ByteArrayInputStream(byte[]);
ctor public ByteArrayInputStream(byte[], int, int);
- method public synchronized int available();
- method public void mark(int);
method public synchronized int read();
- method public synchronized int read(byte[], int, int);
- method public synchronized void reset();
- method public synchronized long skip(long);
field protected byte[] buf;
field protected int count;
field protected int mark;
@@ -52885,11 +52761,9 @@
method public synchronized void reset();
method public synchronized int size();
method public synchronized byte[] toByteArray();
- method public synchronized java.lang.String toString();
method public synchronized java.lang.String toString(java.lang.String) throws java.io.UnsupportedEncodingException;
method public deprecated synchronized java.lang.String toString(int);
method public synchronized void write(int);
- method public synchronized void write(byte[], int, int);
method public synchronized void writeTo(java.io.OutputStream) throws java.io.IOException;
field protected byte[] buf;
field protected int count;
@@ -52909,17 +52783,12 @@
public class CharArrayWriter extends java.io.Writer {
ctor public CharArrayWriter();
ctor public CharArrayWriter(int);
- method public java.io.CharArrayWriter append(java.lang.CharSequence);
- method public java.io.CharArrayWriter append(java.lang.CharSequence, int, int);
- method public java.io.CharArrayWriter append(char);
method public void close();
method public void flush();
method public void reset();
method public int size();
method public char[] toCharArray();
- method public void write(int);
method public void write(char[], int, int);
- method public void write(java.lang.String, int, int);
method public void writeTo(java.io.Writer) throws java.io.IOException;
field protected char[] buf;
field protected int count;
@@ -53006,8 +52875,6 @@
public class DataOutputStream extends java.io.FilterOutputStream implements java.io.DataOutput {
ctor public DataOutputStream(java.io.OutputStream);
method public final int size();
- method public synchronized void write(int) throws java.io.IOException;
- method public synchronized void write(byte[], int, int) throws java.io.IOException;
method public final void writeBoolean(boolean) throws java.io.IOException;
method public final void writeByte(int) throws java.io.IOException;
method public final void writeBytes(java.lang.String) throws java.io.IOException;
@@ -53107,7 +52974,6 @@
ctor public FileInputStream(java.lang.String) throws java.io.FileNotFoundException;
ctor public FileInputStream(java.io.File) throws java.io.FileNotFoundException;
ctor public FileInputStream(java.io.FileDescriptor);
- method protected void finalize() throws java.io.IOException;
method public java.nio.channels.FileChannel getChannel();
method public final java.io.FileDescriptor getFD() throws java.io.IOException;
method public int read() throws java.io.IOException;
@@ -53124,7 +52990,6 @@
ctor public FileOutputStream(java.io.File) throws java.io.FileNotFoundException;
ctor public FileOutputStream(java.io.File, boolean) throws java.io.FileNotFoundException;
ctor public FileOutputStream(java.io.FileDescriptor);
- method protected void finalize() throws java.io.IOException;
method public java.nio.channels.FileChannel getChannel();
method public final java.io.FileDescriptor getFD() throws java.io.IOException;
method public void write(int) throws java.io.IOException;
@@ -53238,8 +53103,6 @@
public deprecated class LineNumberInputStream extends java.io.FilterInputStream {
ctor public LineNumberInputStream(java.io.InputStream);
method public int getLineNumber();
- method public void mark(int);
- method public void reset() throws java.io.IOException;
method public void setLineNumber(int);
}
@@ -53469,10 +53332,8 @@
ctor public PipedInputStream(java.io.PipedOutputStream, int) throws java.io.IOException;
ctor public PipedInputStream();
ctor public PipedInputStream(int);
- method public synchronized int available() throws java.io.IOException;
method public void connect(java.io.PipedOutputStream) throws java.io.IOException;
method public synchronized int read() throws java.io.IOException;
- method public synchronized int read(byte[], int, int) throws java.io.IOException;
method protected synchronized void receive(int) throws java.io.IOException;
field protected static final int PIPE_SIZE = 1024; // 0x400
field protected byte[] buffer;
@@ -53484,7 +53345,6 @@
ctor public PipedOutputStream(java.io.PipedInputStream) throws java.io.IOException;
ctor public PipedOutputStream();
method public synchronized void connect(java.io.PipedInputStream) throws java.io.IOException;
- method public synchronized void flush() throws java.io.IOException;
method public void write(int) throws java.io.IOException;
}
@@ -53495,9 +53355,7 @@
ctor public PipedReader(int);
method public void close() throws java.io.IOException;
method public void connect(java.io.PipedWriter) throws java.io.IOException;
- method public synchronized int read() throws java.io.IOException;
method public synchronized int read(char[], int, int) throws java.io.IOException;
- method public synchronized boolean ready() throws java.io.IOException;
}
public class PipedWriter extends java.io.Writer {
@@ -53522,8 +53380,6 @@
method public java.io.PrintStream append(char);
method public boolean checkError();
method protected void clearError();
- method public void close();
- method public void flush();
method public java.io.PrintStream format(java.lang.String, java.lang.Object...);
method public java.io.PrintStream format(java.util.Locale, java.lang.String, java.lang.Object...);
method public void print(boolean);
@@ -53548,8 +53404,6 @@
method public void println(java.lang.String);
method public void println(java.lang.Object);
method protected void setError();
- method public void write(int);
- method public void write(byte[], int, int);
}
public class PrintWriter extends java.io.Writer {
@@ -53561,9 +53415,6 @@
ctor public PrintWriter(java.lang.String, java.lang.String) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException;
ctor public PrintWriter(java.io.File) throws java.io.FileNotFoundException;
ctor public PrintWriter(java.io.File, java.lang.String) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException;
- method public java.io.PrintWriter append(java.lang.CharSequence);
- method public java.io.PrintWriter append(java.lang.CharSequence, int, int);
- method public java.io.PrintWriter append(char);
method public boolean checkError();
method protected void clearError();
method public void close();
@@ -53592,18 +53443,13 @@
method public void println(java.lang.String);
method public void println(java.lang.Object);
method protected void setError();
- method public void write(int);
method public void write(char[], int, int);
- method public void write(char[]);
- method public void write(java.lang.String, int, int);
- method public void write(java.lang.String);
field protected java.io.Writer out;
}
public class PushbackInputStream extends java.io.FilterInputStream {
ctor public PushbackInputStream(java.io.InputStream, int);
ctor public PushbackInputStream(java.io.InputStream);
- method public synchronized void close() throws java.io.IOException;
method public void unread(int) throws java.io.IOException;
method public void unread(byte[], int, int) throws java.io.IOException;
method public void unread(byte[]) throws java.io.IOException;
@@ -53727,11 +53573,7 @@
public deprecated class StringBufferInputStream extends java.io.InputStream {
ctor public StringBufferInputStream(java.lang.String);
- method public synchronized int available();
method public synchronized int read();
- method public synchronized int read(byte[], int, int);
- method public synchronized void reset();
- method public synchronized long skip(long);
field protected java.lang.String buffer;
field protected int count;
field protected int pos;
@@ -53746,16 +53588,10 @@
public class StringWriter extends java.io.Writer {
ctor public StringWriter();
ctor public StringWriter(int);
- method public java.io.StringWriter append(java.lang.CharSequence);
- method public java.io.StringWriter append(java.lang.CharSequence, int, int);
- method public java.io.StringWriter append(char);
method public void close() throws java.io.IOException;
method public void flush();
method public java.lang.StringBuffer getBuffer();
- method public void write(int);
method public void write(char[], int, int);
- method public void write(java.lang.String);
- method public void write(java.lang.String, int, int);
}
public class SyncFailedException extends java.io.IOException {
@@ -53770,7 +53606,6 @@
public class UncheckedIOException extends java.lang.RuntimeException {
ctor public UncheckedIOException(java.lang.String, java.io.IOException);
ctor public UncheckedIOException(java.io.IOException);
- method public java.io.IOException getCause();
}
public class UnsupportedEncodingException extends java.io.IOException {
@@ -53780,7 +53615,6 @@
public class WriteAbortedException extends java.io.ObjectStreamException {
ctor public WriteAbortedException(java.lang.String, java.lang.Exception);
- method public java.lang.Throwable getCause();
field public java.lang.Exception detail;
}
@@ -54548,7 +54382,6 @@
ctor public ClassNotFoundException();
ctor public ClassNotFoundException(java.lang.String);
ctor public ClassNotFoundException(java.lang.String, java.lang.Throwable);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getException();
}
@@ -54653,7 +54486,6 @@
ctor public ExceptionInInitializerError();
ctor public ExceptionInInitializerError(java.lang.Throwable);
ctor public ExceptionInInitializerError(java.lang.String);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getException();
}
@@ -55441,16 +55273,8 @@
method public synchronized java.lang.StringBuffer append(float);
method public synchronized java.lang.StringBuffer append(double);
method public synchronized java.lang.StringBuffer appendCodePoint(int);
- method public synchronized int capacity();
- method public synchronized char charAt(int);
- method public synchronized int codePointAt(int);
- method public synchronized int codePointBefore(int);
- method public synchronized int codePointCount(int, int);
method public synchronized java.lang.StringBuffer delete(int, int);
method public synchronized java.lang.StringBuffer deleteCharAt(int);
- method public synchronized void ensureCapacity(int);
- method public synchronized void getChars(int, int, char[], int);
- method public synchronized int indexOf(java.lang.String, int);
method public synchronized java.lang.StringBuffer insert(int, char[], int, int);
method public synchronized java.lang.StringBuffer insert(int, java.lang.Object);
method public synchronized java.lang.StringBuffer insert(int, java.lang.String);
@@ -55463,18 +55287,9 @@
method public java.lang.StringBuffer insert(int, long);
method public java.lang.StringBuffer insert(int, float);
method public java.lang.StringBuffer insert(int, double);
- method public synchronized int lastIndexOf(java.lang.String, int);
- method public synchronized int length();
- method public synchronized int offsetByCodePoints(int, int);
method public synchronized java.lang.StringBuffer replace(int, int, java.lang.String);
method public synchronized java.lang.StringBuffer reverse();
- method public synchronized void setCharAt(int, char);
- method public synchronized void setLength(int);
- method public synchronized java.lang.CharSequence subSequence(int, int);
- method public synchronized java.lang.String substring(int);
- method public synchronized java.lang.String substring(int, int);
method public synchronized java.lang.String toString();
- method public synchronized void trimToSize();
}
public final class StringBuilder extends java.lang.AbstractStringBuilder implements java.lang.CharSequence java.io.Serializable {
@@ -56129,7 +55944,6 @@
ctor protected InvocationTargetException();
ctor public InvocationTargetException(java.lang.Throwable);
ctor public InvocationTargetException(java.lang.Throwable, java.lang.String);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getTargetException();
}
@@ -56245,7 +56059,6 @@
public class UndeclaredThrowableException extends java.lang.RuntimeException {
ctor public UndeclaredThrowableException(java.lang.Throwable);
ctor public UndeclaredThrowableException(java.lang.Throwable, java.lang.String);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getUndeclaredThrowable();
}
@@ -57143,7 +56956,6 @@
method public java.lang.String getQuery();
method public java.lang.String getRef();
method public java.lang.String getUserInfo();
- method public synchronized int hashCode();
method public java.net.URLConnection openConnection() throws java.io.IOException;
method public java.net.URLConnection openConnection(java.net.Proxy) throws java.io.IOException;
method public final java.io.InputStream openStream() throws java.io.IOException;
@@ -57373,6 +57185,7 @@
method public final int arrayOffset();
method public abstract java.nio.CharBuffer asReadOnlyBuffer();
method public final char charAt(int);
+ method public java.util.stream.IntStream chars();
method public abstract java.nio.CharBuffer compact();
method public int compareTo(java.nio.CharBuffer);
method public abstract java.nio.CharBuffer duplicate();
@@ -58229,7 +58042,6 @@
public final class DirectoryIteratorException extends java.util.ConcurrentModificationException {
ctor public DirectoryIteratorException(java.io.IOException);
- method public java.io.IOException getCause();
}
public class DirectoryNotEmptyException extends java.nio.file.FileSystemException {
@@ -59195,11 +59007,9 @@
public static class KeyStore.PasswordProtection implements javax.security.auth.Destroyable java.security.KeyStore.ProtectionParameter {
ctor public KeyStore.PasswordProtection(char[]);
ctor public KeyStore.PasswordProtection(char[], java.lang.String, java.security.spec.AlgorithmParameterSpec);
- method public synchronized void destroy() throws javax.security.auth.DestroyFailedException;
method public synchronized char[] getPassword();
method public java.lang.String getProtectionAlgorithm();
method public java.security.spec.AlgorithmParameterSpec getProtectionParameters();
- method public synchronized boolean isDestroyed();
}
public static final class KeyStore.PrivateKeyEntry implements java.security.KeyStore.Entry {
@@ -59379,7 +59189,6 @@
public class PrivilegedActionException extends java.lang.Exception {
ctor public PrivilegedActionException(java.lang.Exception);
- method public java.lang.Throwable getCause();
method public java.lang.Exception getException();
}
@@ -59402,30 +59211,22 @@
method public synchronized java.lang.Object compute(java.lang.Object, java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>);
method public synchronized java.lang.Object computeIfAbsent(java.lang.Object, java.util.function.Function<? super java.lang.Object, ? extends java.lang.Object>);
method public synchronized java.lang.Object computeIfPresent(java.lang.Object, java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>);
- method public java.util.Enumeration<java.lang.Object> elements();
- method public synchronized java.util.Set<java.util.Map.Entry<java.lang.Object, java.lang.Object>> entrySet();
method public synchronized void forEach(java.util.function.BiConsumer<? super java.lang.Object, ? super java.lang.Object>);
- method public java.lang.Object get(java.lang.Object);
method public java.lang.String getInfo();
method public java.lang.String getName();
method public synchronized java.lang.Object getOrDefault(java.lang.Object, java.lang.Object);
method public synchronized java.security.Provider.Service getService(java.lang.String, java.lang.String);
method public synchronized java.util.Set<java.security.Provider.Service> getServices();
method public double getVersion();
- method public java.util.Set<java.lang.Object> keySet();
- method public java.util.Enumeration<java.lang.Object> keys();
method public synchronized java.lang.Object merge(java.lang.Object, java.lang.Object, java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>);
method public synchronized java.lang.Object put(java.lang.Object, java.lang.Object);
method public synchronized void putAll(java.util.Map<?, ?>);
method public synchronized java.lang.Object putIfAbsent(java.lang.Object, java.lang.Object);
method protected synchronized void putService(java.security.Provider.Service);
- method public synchronized java.lang.Object remove(java.lang.Object);
method protected synchronized void removeService(java.security.Provider.Service);
method public synchronized boolean replace(java.lang.Object, java.lang.Object, java.lang.Object);
method public synchronized java.lang.Object replace(java.lang.Object, java.lang.Object);
method public synchronized void replaceAll(java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Object, ? extends java.lang.Object>);
- method public java.lang.String toString();
- method public java.util.Collection<java.lang.Object> values();
}
public static class Provider.Service {
@@ -59471,9 +59272,7 @@
method public final java.security.Provider getProvider();
method public static byte[] getSeed(int);
method protected final int next(int);
- method public synchronized void nextBytes(byte[]);
method public synchronized void setSeed(byte[]);
- method public void setSeed(long);
}
public abstract class SecureRandomSpi implements java.io.Serializable {
@@ -60020,7 +59819,6 @@
public abstract class PKIXRevocationChecker extends java.security.cert.PKIXCertPathChecker {
ctor protected PKIXRevocationChecker();
- method public java.security.cert.PKIXRevocationChecker clone();
method public java.util.List<java.security.cert.Extension> getOcspExtensions();
method public java.net.URI getOcspResponder();
method public java.security.cert.X509Certificate getOcspResponderCert();
@@ -62273,6 +62071,7 @@
public final class DayOfWeek extends java.lang.Enum implements java.time.temporal.TemporalAccessor java.time.temporal.TemporalAdjuster {
method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal);
method public static java.time.DayOfWeek from(java.time.temporal.TemporalAccessor);
+ method public int get(java.time.temporal.TemporalField);
method public java.lang.String getDisplayName(java.time.format.TextStyle, java.util.Locale);
method public long getLong(java.time.temporal.TemporalField);
method public int getValue();
@@ -62280,6 +62079,8 @@
method public java.time.DayOfWeek minus(long);
method public static java.time.DayOfWeek of(int);
method public java.time.DayOfWeek plus(long);
+ method public <R> R query(java.time.temporal.TemporalQuery<R>);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
method public static java.time.DayOfWeek valueOf(java.lang.String);
method public static final java.time.DayOfWeek[] values();
enum_constant public static final java.time.DayOfWeek FRIDAY;
@@ -62355,8 +62156,6 @@
method public boolean isBefore(java.time.Instant);
method public boolean isSupported(java.time.temporal.TemporalField);
method public boolean isSupported(java.time.temporal.TemporalUnit);
- method public java.time.Instant minus(java.time.temporal.TemporalAmount);
- method public java.time.Instant minus(long, java.time.temporal.TemporalUnit);
method public java.time.Instant minusMillis(long);
method public java.time.Instant minusNanos(long);
method public java.time.Instant minusSeconds(long);
@@ -62366,7 +62165,6 @@
method public static java.time.Instant ofEpochSecond(long);
method public static java.time.Instant ofEpochSecond(long, long);
method public static java.time.Instant parse(java.lang.CharSequence);
- method public java.time.Instant plus(java.time.temporal.TemporalAmount);
method public java.time.Instant plus(long, java.time.temporal.TemporalUnit);
method public java.time.Instant plusMillis(long);
method public java.time.Instant plusNanos(long);
@@ -62374,7 +62172,6 @@
method public long toEpochMilli();
method public java.time.Instant truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.Instant with(java.time.temporal.TemporalAdjuster);
method public java.time.Instant with(java.time.temporal.TemporalField, long);
field public static final java.time.Instant EPOCH;
field public static final java.time.Instant MAX;
@@ -62384,7 +62181,6 @@
public final class LocalDate implements java.time.chrono.ChronoLocalDate java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster {
method public java.time.LocalDateTime atStartOfDay();
method public java.time.ZonedDateTime atStartOfDay(java.time.ZoneId);
- method public java.time.LocalDateTime atTime(java.time.LocalTime);
method public java.time.LocalDateTime atTime(int, int);
method public java.time.LocalDateTime atTime(int, int, int);
method public java.time.LocalDateTime atTime(int, int, int, int);
@@ -62399,8 +62195,6 @@
method public int getMonthValue();
method public int getYear();
method public int lengthOfMonth();
- method public java.time.LocalDate minus(java.time.temporal.TemporalAmount);
- method public java.time.LocalDate minus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalDate minusDays(long);
method public java.time.LocalDate minusMonths(long);
method public java.time.LocalDate minusWeeks(long);
@@ -62414,16 +62208,12 @@
method public static java.time.LocalDate ofYearDay(int, int);
method public static java.time.LocalDate parse(java.lang.CharSequence);
method public static java.time.LocalDate parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.LocalDate plus(java.time.temporal.TemporalAmount);
- method public java.time.LocalDate plus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalDate plusDays(long);
method public java.time.LocalDate plusMonths(long);
method public java.time.LocalDate plusWeeks(long);
method public java.time.LocalDate plusYears(long);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
method public java.time.Period until(java.time.chrono.ChronoLocalDate);
- method public java.time.LocalDate with(java.time.temporal.TemporalAdjuster);
- method public java.time.LocalDate with(java.time.temporal.TemporalField, long);
method public java.time.LocalDate withDayOfMonth(int);
method public java.time.LocalDate withDayOfYear(int);
method public java.time.LocalDate withMonth(int);
@@ -62448,8 +62238,6 @@
method public int getSecond();
method public int getYear();
method public boolean isSupported(java.time.temporal.TemporalField);
- method public java.time.LocalDateTime minus(java.time.temporal.TemporalAmount);
- method public java.time.LocalDateTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalDateTime minusDays(long);
method public java.time.LocalDateTime minusHours(long);
method public java.time.LocalDateTime minusMinutes(long);
@@ -62472,7 +62260,6 @@
method public static java.time.LocalDateTime ofInstant(java.time.Instant, java.time.ZoneId);
method public static java.time.LocalDateTime parse(java.lang.CharSequence);
method public static java.time.LocalDateTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.LocalDateTime plus(java.time.temporal.TemporalAmount);
method public java.time.LocalDateTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalDateTime plusDays(long);
method public java.time.LocalDateTime plusHours(long);
@@ -62486,7 +62273,6 @@
method public java.time.LocalTime toLocalTime();
method public java.time.LocalDateTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.LocalDateTime with(java.time.temporal.TemporalAdjuster);
method public java.time.LocalDateTime with(java.time.temporal.TemporalField, long);
method public java.time.LocalDateTime withDayOfMonth(int);
method public java.time.LocalDateTime withDayOfYear(int);
@@ -62516,8 +62302,6 @@
method public boolean isBefore(java.time.LocalTime);
method public boolean isSupported(java.time.temporal.TemporalField);
method public boolean isSupported(java.time.temporal.TemporalUnit);
- method public java.time.LocalTime minus(java.time.temporal.TemporalAmount);
- method public java.time.LocalTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalTime minusHours(long);
method public java.time.LocalTime minusMinutes(long);
method public java.time.LocalTime minusNanos(long);
@@ -62532,7 +62316,6 @@
method public static java.time.LocalTime ofSecondOfDay(long);
method public static java.time.LocalTime parse(java.lang.CharSequence);
method public static java.time.LocalTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.LocalTime plus(java.time.temporal.TemporalAmount);
method public java.time.LocalTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.LocalTime plusHours(long);
method public java.time.LocalTime plusMinutes(long);
@@ -62542,7 +62325,6 @@
method public int toSecondOfDay();
method public java.time.LocalTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.LocalTime with(java.time.temporal.TemporalAdjuster);
method public java.time.LocalTime with(java.time.temporal.TemporalField, long);
method public java.time.LocalTime withHour(int);
method public java.time.LocalTime withMinute(int);
@@ -62559,6 +62341,7 @@
method public int firstDayOfYear(boolean);
method public java.time.Month firstMonthOfQuarter();
method public static java.time.Month from(java.time.temporal.TemporalAccessor);
+ method public int get(java.time.temporal.TemporalField);
method public java.lang.String getDisplayName(java.time.format.TextStyle, java.util.Locale);
method public long getLong(java.time.temporal.TemporalField);
method public int getValue();
@@ -62569,6 +62352,8 @@
method public java.time.Month minus(long);
method public static java.time.Month of(int);
method public java.time.Month plus(long);
+ method public <R> R query(java.time.temporal.TemporalQuery<R>);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
method public static java.time.Month valueOf(java.lang.String);
method public static final java.time.Month[] values();
enum_constant public static final java.time.Month APRIL;
@@ -62635,8 +62420,6 @@
method public boolean isEqual(java.time.OffsetDateTime);
method public boolean isSupported(java.time.temporal.TemporalField);
method public boolean isSupported(java.time.temporal.TemporalUnit);
- method public java.time.OffsetDateTime minus(java.time.temporal.TemporalAmount);
- method public java.time.OffsetDateTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.OffsetDateTime minusDays(long);
method public java.time.OffsetDateTime minusHours(long);
method public java.time.OffsetDateTime minusMinutes(long);
@@ -62654,7 +62437,6 @@
method public static java.time.OffsetDateTime ofInstant(java.time.Instant, java.time.ZoneId);
method public static java.time.OffsetDateTime parse(java.lang.CharSequence);
method public static java.time.OffsetDateTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.OffsetDateTime plus(java.time.temporal.TemporalAmount);
method public java.time.OffsetDateTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.OffsetDateTime plusDays(long);
method public java.time.OffsetDateTime plusHours(long);
@@ -62674,7 +62456,6 @@
method public java.time.ZonedDateTime toZonedDateTime();
method public java.time.OffsetDateTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.OffsetDateTime with(java.time.temporal.TemporalAdjuster);
method public java.time.OffsetDateTime with(java.time.temporal.TemporalField, long);
method public java.time.OffsetDateTime withDayOfMonth(int);
method public java.time.OffsetDateTime withDayOfYear(int);
@@ -62707,8 +62488,6 @@
method public boolean isEqual(java.time.OffsetTime);
method public boolean isSupported(java.time.temporal.TemporalField);
method public boolean isSupported(java.time.temporal.TemporalUnit);
- method public java.time.OffsetTime minus(java.time.temporal.TemporalAmount);
- method public java.time.OffsetTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.OffsetTime minusHours(long);
method public java.time.OffsetTime minusMinutes(long);
method public java.time.OffsetTime minusNanos(long);
@@ -62721,7 +62500,6 @@
method public static java.time.OffsetTime ofInstant(java.time.Instant, java.time.ZoneId);
method public static java.time.OffsetTime parse(java.lang.CharSequence);
method public static java.time.OffsetTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.OffsetTime plus(java.time.temporal.TemporalAmount);
method public java.time.OffsetTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.OffsetTime plusHours(long);
method public java.time.OffsetTime plusMinutes(long);
@@ -62730,7 +62508,6 @@
method public java.time.LocalTime toLocalTime();
method public java.time.OffsetTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.OffsetTime with(java.time.temporal.TemporalAdjuster);
method public java.time.OffsetTime with(java.time.temporal.TemporalField, long);
method public java.time.OffsetTime withHour(int);
method public java.time.OffsetTime withMinute(int);
@@ -62757,7 +62534,6 @@
method public java.time.Period minusMonths(long);
method public java.time.Period minusYears(long);
method public java.time.Period multipliedBy(int);
- method public java.time.Period negated();
method public java.time.Period normalized();
method public static java.time.Period of(int, int, int);
method public static java.time.Period ofDays(int);
@@ -62796,8 +62572,6 @@
method public boolean isSupported(java.time.temporal.TemporalUnit);
method public boolean isValidMonthDay(java.time.MonthDay);
method public int length();
- method public java.time.Year minus(java.time.temporal.TemporalAmount);
- method public java.time.Year minus(long, java.time.temporal.TemporalUnit);
method public java.time.Year minusYears(long);
method public static java.time.Year now();
method public static java.time.Year now(java.time.ZoneId);
@@ -62805,11 +62579,9 @@
method public static java.time.Year of(int);
method public static java.time.Year parse(java.lang.CharSequence);
method public static java.time.Year parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.Year plus(java.time.temporal.TemporalAmount);
method public java.time.Year plus(long, java.time.temporal.TemporalUnit);
method public java.time.Year plusYears(long);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.Year with(java.time.temporal.TemporalAdjuster);
method public java.time.Year with(java.time.temporal.TemporalField, long);
field public static final int MAX_VALUE = 999999999; // 0x3b9ac9ff
field public static final int MIN_VALUE = -999999999; // 0xc4653601
@@ -62834,8 +62606,6 @@
method public boolean isValidDay(int);
method public int lengthOfMonth();
method public int lengthOfYear();
- method public java.time.YearMonth minus(java.time.temporal.TemporalAmount);
- method public java.time.YearMonth minus(long, java.time.temporal.TemporalUnit);
method public java.time.YearMonth minusMonths(long);
method public java.time.YearMonth minusYears(long);
method public static java.time.YearMonth now();
@@ -62845,12 +62615,10 @@
method public static java.time.YearMonth of(int, int);
method public static java.time.YearMonth parse(java.lang.CharSequence);
method public static java.time.YearMonth parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.YearMonth plus(java.time.temporal.TemporalAmount);
method public java.time.YearMonth plus(long, java.time.temporal.TemporalUnit);
method public java.time.YearMonth plusMonths(long);
method public java.time.YearMonth plusYears(long);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.YearMonth with(java.time.temporal.TemporalAdjuster);
method public java.time.YearMonth with(java.time.temporal.TemporalField, long);
method public java.time.YearMonth withMonth(int);
method public java.time.YearMonth withYear(int);
@@ -62874,6 +62642,7 @@
method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal);
method public int compareTo(java.time.ZoneOffset);
method public static java.time.ZoneOffset from(java.time.temporal.TemporalAccessor);
+ method public int get(java.time.temporal.TemporalField);
method public java.lang.String getId();
method public long getLong(java.time.temporal.TemporalField);
method public java.time.zone.ZoneRules getRules();
@@ -62884,6 +62653,8 @@
method public static java.time.ZoneOffset ofHoursMinutes(int, int);
method public static java.time.ZoneOffset ofHoursMinutesSeconds(int, int, int);
method public static java.time.ZoneOffset ofTotalSeconds(int);
+ method public <R> R query(java.time.temporal.TemporalQuery<R>);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
field public static final java.time.ZoneOffset MAX;
field public static final java.time.ZoneOffset MIN;
field public static final java.time.ZoneOffset UTC;
@@ -62904,8 +62675,6 @@
method public int getYear();
method public java.time.ZoneId getZone();
method public boolean isSupported(java.time.temporal.TemporalField);
- method public java.time.ZonedDateTime minus(java.time.temporal.TemporalAmount);
- method public java.time.ZonedDateTime minus(long, java.time.temporal.TemporalUnit);
method public java.time.ZonedDateTime minusDays(long);
method public java.time.ZonedDateTime minusHours(long);
method public java.time.ZonedDateTime minusMinutes(long);
@@ -62926,7 +62695,6 @@
method public static java.time.ZonedDateTime ofStrict(java.time.LocalDateTime, java.time.ZoneOffset, java.time.ZoneId);
method public static java.time.ZonedDateTime parse(java.lang.CharSequence);
method public static java.time.ZonedDateTime parse(java.lang.CharSequence, java.time.format.DateTimeFormatter);
- method public java.time.ZonedDateTime plus(java.time.temporal.TemporalAmount);
method public java.time.ZonedDateTime plus(long, java.time.temporal.TemporalUnit);
method public java.time.ZonedDateTime plusDays(long);
method public java.time.ZonedDateTime plusHours(long);
@@ -62936,12 +62704,10 @@
method public java.time.ZonedDateTime plusSeconds(long);
method public java.time.ZonedDateTime plusWeeks(long);
method public java.time.ZonedDateTime plusYears(long);
- method public java.time.LocalDate toLocalDate();
method public java.time.LocalDateTime toLocalDateTime();
method public java.time.OffsetDateTime toOffsetDateTime();
method public java.time.ZonedDateTime truncatedTo(java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public java.time.ZonedDateTime with(java.time.temporal.TemporalAdjuster);
method public java.time.ZonedDateTime with(java.time.temporal.TemporalField, long);
method public java.time.ZonedDateTime withDayOfMonth(int);
method public java.time.ZonedDateTime withDayOfYear(int);
@@ -62986,27 +62752,17 @@
method public default boolean isSupported(java.time.temporal.TemporalUnit);
method public abstract int lengthOfMonth();
method public default int lengthOfYear();
- method public default java.time.chrono.ChronoLocalDate minus(java.time.temporal.TemporalAmount);
- method public default java.time.chrono.ChronoLocalDate minus(long, java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoLocalDate plus(java.time.temporal.TemporalAmount);
method public default java.time.chrono.ChronoLocalDate plus(long, java.time.temporal.TemporalUnit);
method public static java.util.Comparator<java.time.chrono.ChronoLocalDate> timeLineOrder();
method public default long toEpochDay();
method public abstract java.lang.String toString();
method public abstract long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
method public abstract java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public default java.time.chrono.ChronoLocalDate with(java.time.temporal.TemporalAdjuster);
method public default java.time.chrono.ChronoLocalDate with(java.time.temporal.TemporalField, long);
}
abstract class ChronoLocalDateImpl<D extends java.time.chrono.ChronoLocalDate> implements java.time.chrono.ChronoLocalDate java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster {
- method public D minus(java.time.temporal.TemporalAmount);
- method public D minus(long, java.time.temporal.TemporalUnit);
- method public D plus(java.time.temporal.TemporalAmount);
- method public D plus(long, java.time.temporal.TemporalUnit);
method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit);
- method public D with(java.time.temporal.TemporalAdjuster);
- method public D with(java.time.temporal.TemporalField, long);
}
public abstract interface ChronoLocalDateTime<D extends java.time.chrono.ChronoLocalDate> implements java.lang.Comparable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster {
@@ -63023,9 +62779,6 @@
method public default boolean isEqual(java.time.chrono.ChronoLocalDateTime<?>);
method public abstract boolean isSupported(java.time.temporal.TemporalField);
method public default boolean isSupported(java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoLocalDateTime<D> minus(java.time.temporal.TemporalAmount);
- method public default java.time.chrono.ChronoLocalDateTime<D> minus(long, java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoLocalDateTime<D> plus(java.time.temporal.TemporalAmount);
method public abstract java.time.chrono.ChronoLocalDateTime<D> plus(long, java.time.temporal.TemporalUnit);
method public static java.util.Comparator<java.time.chrono.ChronoLocalDateTime<?>> timeLineOrder();
method public default long toEpochSecond(java.time.ZoneOffset);
@@ -63033,7 +62786,6 @@
method public abstract D toLocalDate();
method public abstract java.time.LocalTime toLocalTime();
method public abstract java.lang.String toString();
- method public default java.time.chrono.ChronoLocalDateTime<D> with(java.time.temporal.TemporalAdjuster);
method public abstract java.time.chrono.ChronoLocalDateTime<D> with(java.time.temporal.TemporalField, long);
}
@@ -63071,9 +62823,6 @@
method public default boolean isEqual(java.time.chrono.ChronoZonedDateTime<?>);
method public abstract boolean isSupported(java.time.temporal.TemporalField);
method public default boolean isSupported(java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoZonedDateTime<D> minus(java.time.temporal.TemporalAmount);
- method public default java.time.chrono.ChronoZonedDateTime<D> minus(long, java.time.temporal.TemporalUnit);
- method public default java.time.chrono.ChronoZonedDateTime<D> plus(java.time.temporal.TemporalAmount);
method public abstract java.time.chrono.ChronoZonedDateTime<D> plus(long, java.time.temporal.TemporalUnit);
method public static java.util.Comparator<java.time.chrono.ChronoZonedDateTime<?>> timeLineOrder();
method public default long toEpochSecond();
@@ -63082,7 +62831,6 @@
method public abstract java.time.chrono.ChronoLocalDateTime<D> toLocalDateTime();
method public default java.time.LocalTime toLocalTime();
method public abstract java.lang.String toString();
- method public default java.time.chrono.ChronoZonedDateTime<D> with(java.time.temporal.TemporalAdjuster);
method public abstract java.time.chrono.ChronoZonedDateTime<D> with(java.time.temporal.TemporalField, long);
method public abstract java.time.chrono.ChronoZonedDateTime<D> withEarlierOffsetAtOverlap();
method public abstract java.time.chrono.ChronoZonedDateTime<D> withLaterOffsetAtOverlap();
@@ -63149,7 +62897,6 @@
method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.HijrahDate> localDateTime(java.time.temporal.TemporalAccessor);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.chrono.HijrahDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.HijrahDate> zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.HijrahDate> zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.HijrahChronology INSTANCE;
@@ -63161,24 +62908,23 @@
method public java.time.chrono.HijrahChronology getChronology();
method public java.time.chrono.HijrahEra getEra();
method public long getLong(java.time.temporal.TemporalField);
+ method public boolean isLeapYear();
method public int lengthOfMonth();
- method public java.time.chrono.HijrahDate minus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.HijrahDate minus(long, java.time.temporal.TemporalUnit);
+ method public int lengthOfYear();
method public static java.time.chrono.HijrahDate now();
method public static java.time.chrono.HijrahDate now(java.time.ZoneId);
method public static java.time.chrono.HijrahDate now(java.time.Clock);
method public static java.time.chrono.HijrahDate of(int, int, int);
- method public java.time.chrono.HijrahDate plus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.HijrahDate plus(long, java.time.temporal.TemporalUnit);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
+ method public long toEpochDay();
method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public java.time.chrono.HijrahDate with(java.time.temporal.TemporalField, long);
- method public java.time.chrono.HijrahDate with(java.time.temporal.TemporalAdjuster);
method public java.time.chrono.HijrahDate withVariant(java.time.chrono.HijrahChronology);
}
public final class HijrahEra extends java.lang.Enum implements java.time.chrono.Era {
method public int getValue();
method public static java.time.chrono.HijrahEra of(int);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
method public static java.time.chrono.HijrahEra valueOf(java.lang.String);
method public static final java.time.chrono.HijrahEra[] values();
enum_constant public static final java.time.chrono.HijrahEra AH;
@@ -63203,7 +62949,6 @@
method public java.time.Period period(int, int, int);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.LocalDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.ZonedDateTime zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.ZonedDateTime zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.IsoChronology INSTANCE;
@@ -63236,7 +62981,6 @@
method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.JapaneseDate> localDateTime(java.time.temporal.TemporalAccessor);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.chrono.JapaneseDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.JapaneseDate> zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.JapaneseDate> zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.JapaneseChronology INSTANCE;
@@ -63248,19 +62992,17 @@
method public java.time.chrono.JapaneseChronology getChronology();
method public java.time.chrono.JapaneseEra getEra();
method public long getLong(java.time.temporal.TemporalField);
+ method public boolean isSupported(java.time.temporal.TemporalField);
method public int lengthOfMonth();
- method public java.time.chrono.JapaneseDate minus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.JapaneseDate minus(long, java.time.temporal.TemporalUnit);
+ method public int lengthOfYear();
method public static java.time.chrono.JapaneseDate now();
method public static java.time.chrono.JapaneseDate now(java.time.ZoneId);
method public static java.time.chrono.JapaneseDate now(java.time.Clock);
method public static java.time.chrono.JapaneseDate of(java.time.chrono.JapaneseEra, int, int, int);
method public static java.time.chrono.JapaneseDate of(int, int, int);
- method public java.time.chrono.JapaneseDate plus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.JapaneseDate plus(long, java.time.temporal.TemporalUnit);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
+ method public long toEpochDay();
method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public java.time.chrono.JapaneseDate with(java.time.temporal.TemporalField, long);
- method public java.time.chrono.JapaneseDate with(java.time.temporal.TemporalAdjuster);
}
public final class JapaneseEra implements java.time.chrono.Era java.io.Serializable {
@@ -63292,7 +63034,6 @@
method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.MinguoDate> localDateTime(java.time.temporal.TemporalAccessor);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.chrono.MinguoDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.MinguoDate> zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.MinguoDate> zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.MinguoChronology INSTANCE;
@@ -63305,17 +63046,13 @@
method public java.time.chrono.MinguoEra getEra();
method public long getLong(java.time.temporal.TemporalField);
method public int lengthOfMonth();
- method public java.time.chrono.MinguoDate minus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.MinguoDate minus(long, java.time.temporal.TemporalUnit);
method public static java.time.chrono.MinguoDate now();
method public static java.time.chrono.MinguoDate now(java.time.ZoneId);
method public static java.time.chrono.MinguoDate now(java.time.Clock);
method public static java.time.chrono.MinguoDate of(int, int, int);
- method public java.time.chrono.MinguoDate plus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.MinguoDate plus(long, java.time.temporal.TemporalUnit);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
+ method public long toEpochDay();
method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public java.time.chrono.MinguoDate with(java.time.temporal.TemporalField, long);
- method public java.time.chrono.MinguoDate with(java.time.temporal.TemporalAdjuster);
}
public final class MinguoEra extends java.lang.Enum implements java.time.chrono.Era {
@@ -63345,7 +63082,6 @@
method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.ThaiBuddhistDate> localDateTime(java.time.temporal.TemporalAccessor);
method public int prolepticYear(java.time.chrono.Era, int);
method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField);
- method public java.time.chrono.ThaiBuddhistDate resolveDate(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.format.ResolverStyle);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.ThaiBuddhistDate> zonedDateTime(java.time.temporal.TemporalAccessor);
method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.ThaiBuddhistDate> zonedDateTime(java.time.Instant, java.time.ZoneId);
field public static final java.time.chrono.ThaiBuddhistChronology INSTANCE;
@@ -63358,17 +63094,13 @@
method public java.time.chrono.ThaiBuddhistEra getEra();
method public long getLong(java.time.temporal.TemporalField);
method public int lengthOfMonth();
- method public java.time.chrono.ThaiBuddhistDate minus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.ThaiBuddhistDate minus(long, java.time.temporal.TemporalUnit);
method public static java.time.chrono.ThaiBuddhistDate now();
method public static java.time.chrono.ThaiBuddhistDate now(java.time.ZoneId);
method public static java.time.chrono.ThaiBuddhistDate now(java.time.Clock);
method public static java.time.chrono.ThaiBuddhistDate of(int, int, int);
- method public java.time.chrono.ThaiBuddhistDate plus(java.time.temporal.TemporalAmount);
- method public java.time.chrono.ThaiBuddhistDate plus(long, java.time.temporal.TemporalUnit);
+ method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField);
+ method public long toEpochDay();
method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate);
- method public java.time.chrono.ThaiBuddhistDate with(java.time.temporal.TemporalField, long);
- method public java.time.chrono.ThaiBuddhistDate with(java.time.temporal.TemporalAdjuster);
}
public final class ThaiBuddhistEra extends java.lang.Enum implements java.time.chrono.Era {
@@ -63547,6 +63279,7 @@
method public int checkValidIntValue(long);
method public long checkValidValue(long);
method public java.time.temporal.TemporalUnit getBaseUnit();
+ method public java.lang.String getDisplayName(java.util.Locale);
method public long getFrom(java.time.temporal.TemporalAccessor);
method public java.time.temporal.TemporalUnit getRangeUnit();
method public boolean isDateBased();
@@ -63594,6 +63327,7 @@
method public java.time.Duration getDuration();
method public boolean isDateBased();
method public boolean isDurationEstimated();
+ method public boolean isSupportedBy(java.time.temporal.Temporal);
method public boolean isTimeBased();
method public static java.time.temporal.ChronoUnit valueOf(java.lang.String);
method public static final java.time.temporal.ChronoUnit[] values();
@@ -63933,6 +63667,7 @@
method public E removeLast();
method public boolean removeLastOccurrence(java.lang.Object);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public class ArrayList<E> extends java.util.AbstractList implements java.lang.Cloneable java.util.List java.util.RandomAccess java.io.Serializable {
@@ -63943,7 +63678,11 @@
method public void ensureCapacity(int);
method public void forEach(java.util.function.Consumer<? super E>);
method public E get(int);
+ method public boolean removeIf(java.util.function.Predicate<? super E>);
+ method public void replaceAll(java.util.function.UnaryOperator<E>);
method public int size();
+ method public void sort(java.util.Comparator<? super E>);
+ method public java.util.Spliterator<E> spliterator();
method public void trimToSize();
}
@@ -64314,7 +64053,6 @@
method public default boolean removeIf(java.util.function.Predicate<? super E>);
method public abstract boolean retainAll(java.util.Collection<?>);
method public abstract int size();
- method public default java.util.Spliterator<E> spliterator();
method public default java.util.stream.Stream<E> stream();
method public abstract java.lang.Object[] toArray();
method public abstract <T> T[] toArray(T[]);
@@ -64655,7 +64393,18 @@
ctor public HashMap();
ctor public HashMap(java.util.Map<? extends K, ? extends V>);
method public java.lang.Object clone();
+ method public V compute(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
+ method public V computeIfAbsent(K, java.util.function.Function<? super K, ? extends V>);
+ method public V computeIfPresent(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
+ method public V getOrDefault(java.lang.Object, V);
+ method public V merge(K, V, java.util.function.BiFunction<? super V, ? super V, ? extends V>);
+ method public V putIfAbsent(K, V);
+ method public boolean remove(java.lang.Object, java.lang.Object);
+ method public boolean replace(K, V, V);
+ method public V replace(K, V);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
}
public class HashSet<E> extends java.util.AbstractSet implements java.lang.Cloneable java.io.Serializable java.util.Set {
@@ -64666,6 +64415,7 @@
method public java.lang.Object clone();
method public java.util.Iterator<E> iterator();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public class Hashtable<K, V> extends java.util.Dictionary implements java.lang.Cloneable java.util.Map java.io.Serializable {
@@ -64683,11 +64433,9 @@
method public boolean containsValue(java.lang.Object);
method public synchronized java.util.Enumeration<V> elements();
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
- method public synchronized boolean equals(java.lang.Object);
method public synchronized void forEach(java.util.function.BiConsumer<? super K, ? super V>);
method public synchronized V get(java.lang.Object);
method public synchronized V getOrDefault(java.lang.Object, V);
- method public synchronized int hashCode();
method public synchronized boolean isEmpty();
method public java.util.Set<K> keySet();
method public synchronized java.util.Enumeration<K> keys();
@@ -64702,7 +64450,6 @@
method public synchronized V replace(K, V);
method public synchronized void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public synchronized int size();
- method public synchronized java.lang.String toString();
method public java.util.Collection<V> values();
}
@@ -64712,6 +64459,8 @@
ctor public IdentityHashMap(java.util.Map<? extends K, ? extends V>);
method public java.lang.Object clone();
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
}
public class IllegalFormatCodePointException extends java.util.IllegalFormatException {
@@ -64822,6 +64571,7 @@
method public E removeLast();
method public boolean removeLastOccurrence(java.lang.Object);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public abstract interface List<E> implements java.util.Collection {
@@ -65444,7 +65194,6 @@
ctor public SimpleTimeZone(int, java.lang.String, int, int, int, int, int, int, int, int, int, int, int);
method public int getOffset(int, int, int, int, int, int);
method public int getRawOffset();
- method public synchronized int hashCode();
method public boolean inDaylightTime(java.util.Date);
method public void setDSTSavings(int);
method public void setEndRule(int, int, int, int);
@@ -65717,6 +65466,7 @@
method public K firstKey();
method public java.util.Map.Entry<K, V> floorEntry(K);
method public K floorKey(K);
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
method public java.util.NavigableMap<K, V> headMap(K, boolean);
method public java.util.SortedMap<K, V> headMap(K);
method public java.util.Map.Entry<K, V> higherEntry(K);
@@ -65728,6 +65478,9 @@
method public java.util.NavigableSet<K> navigableKeySet();
method public java.util.Map.Entry<K, V> pollFirstEntry();
method public java.util.Map.Entry<K, V> pollLastEntry();
+ method public boolean replace(K, V, V);
+ method public V replace(K, V);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public java.util.NavigableMap<K, V> subMap(K, boolean, K, boolean);
method public java.util.SortedMap<K, V> subMap(K, K);
method public java.util.NavigableMap<K, V> tailMap(K, boolean);
@@ -65755,6 +65508,7 @@
method public E pollFirst();
method public E pollLast();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public java.util.NavigableSet<E> subSet(E, boolean, E, boolean);
method public java.util.SortedSet<E> subSet(E, E);
method public java.util.NavigableSet<E> tailSet(E, boolean);
@@ -65791,49 +65545,30 @@
ctor public Vector(int);
ctor public Vector();
ctor public Vector(java.util.Collection<? extends E>);
- method public synchronized boolean add(E);
- method public synchronized boolean addAll(java.util.Collection<? extends E>);
- method public synchronized boolean addAll(int, java.util.Collection<? extends E>);
method public synchronized void addElement(E);
method public synchronized int capacity();
method public synchronized java.lang.Object clone();
- method public synchronized boolean containsAll(java.util.Collection<?>);
method public synchronized void copyInto(java.lang.Object[]);
method public synchronized E elementAt(int);
method public java.util.Enumeration<E> elements();
method public synchronized void ensureCapacity(int);
- method public synchronized boolean equals(java.lang.Object);
method public synchronized E firstElement();
method public synchronized void forEach(java.util.function.Consumer<? super E>);
method public synchronized E get(int);
- method public synchronized int hashCode();
method public synchronized int indexOf(java.lang.Object, int);
method public synchronized void insertElementAt(E, int);
- method public synchronized boolean isEmpty();
- method public synchronized java.util.Iterator<E> iterator();
method public synchronized E lastElement();
- method public synchronized int lastIndexOf(java.lang.Object);
method public synchronized int lastIndexOf(java.lang.Object, int);
- method public synchronized java.util.ListIterator<E> listIterator(int);
- method public synchronized java.util.ListIterator<E> listIterator();
- method public synchronized E remove(int);
- method public synchronized boolean removeAll(java.util.Collection<?>);
method public synchronized void removeAllElements();
method public synchronized boolean removeElement(java.lang.Object);
method public synchronized void removeElementAt(int);
method public synchronized boolean removeIf(java.util.function.Predicate<? super E>);
- method protected synchronized void removeRange(int, int);
method public synchronized void replaceAll(java.util.function.UnaryOperator<E>);
- method public synchronized boolean retainAll(java.util.Collection<?>);
- method public synchronized E set(int, E);
method public synchronized void setElementAt(E, int);
method public synchronized void setSize(int);
method public synchronized int size();
method public synchronized void sort(java.util.Comparator<? super E>);
- method public synchronized java.util.List<E> subList(int, int);
- method public synchronized java.lang.Object[] toArray();
- method public synchronized <T> T[] toArray(T[]);
- method public synchronized java.lang.String toString();
+ method public java.util.Spliterator<E> spliterator();
method public synchronized void trimToSize();
field protected int capacityIncrement;
field protected int elementCount;
@@ -65846,6 +65581,8 @@
ctor public WeakHashMap();
ctor public WeakHashMap(java.util.Map<? extends K, ? extends V>);
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
}
}
@@ -65880,6 +65617,7 @@
method public void put(E) throws java.lang.InterruptedException;
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
}
@@ -66070,9 +65808,13 @@
ctor public ConcurrentHashMap(java.util.Map<? extends K, ? extends V>);
ctor public ConcurrentHashMap(int, float);
ctor public ConcurrentHashMap(int, float, int);
+ method public V compute(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
+ method public V computeIfAbsent(K, java.util.function.Function<? super K, ? extends V>);
+ method public V computeIfPresent(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public boolean contains(java.lang.Object);
method public java.util.Enumeration<V> elements();
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
method public void forEach(long, java.util.function.BiConsumer<? super K, ? super V>);
method public <U> void forEach(long, java.util.function.BiFunction<? super K, ? super V, ? extends U>, java.util.function.Consumer<? super U>);
method public void forEachEntry(long, java.util.function.Consumer<? super java.util.Map.Entry<K, V>>);
@@ -66081,11 +65823,14 @@
method public <U> void forEachKey(long, java.util.function.Function<? super K, ? extends U>, java.util.function.Consumer<? super U>);
method public void forEachValue(long, java.util.function.Consumer<? super V>);
method public <U> void forEachValue(long, java.util.function.Function<? super V, ? extends U>, java.util.function.Consumer<? super U>);
+ method public V getOrDefault(java.lang.Object, V);
method public java.util.concurrent.ConcurrentHashMap.KeySetView<K, V> keySet(V);
method public java.util.Enumeration<K> keys();
method public long mappingCount();
+ method public V merge(K, V, java.util.function.BiFunction<? super V, ? super V, ? extends V>);
method public static <K> java.util.concurrent.ConcurrentHashMap.KeySetView<K, java.lang.Boolean> newKeySet();
method public static <K> java.util.concurrent.ConcurrentHashMap.KeySetView<K, java.lang.Boolean> newKeySet(int);
+ method public V putIfAbsent(K, V);
method public <U> U reduce(long, java.util.function.BiFunction<? super K, ? super V, ? extends U>, java.util.function.BiFunction<? super U, ? super U, ? extends U>);
method public java.util.Map.Entry<K, V> reduceEntries(long, java.util.function.BiFunction<java.util.Map.Entry<K, V>, java.util.Map.Entry<K, V>, ? extends java.util.Map.Entry<K, V>>);
method public <U> U reduceEntries(long, java.util.function.Function<java.util.Map.Entry<K, V>, ? extends U>, java.util.function.BiFunction<? super U, ? super U, ? extends U>);
@@ -66105,6 +65850,10 @@
method public double reduceValuesToDouble(long, java.util.function.ToDoubleFunction<? super V>, double, java.util.function.DoubleBinaryOperator);
method public int reduceValuesToInt(long, java.util.function.ToIntFunction<? super V>, int, java.util.function.IntBinaryOperator);
method public long reduceValuesToLong(long, java.util.function.ToLongFunction<? super V>, long, java.util.function.LongBinaryOperator);
+ method public boolean remove(java.lang.Object, java.lang.Object);
+ method public boolean replace(K, V, V);
+ method public V replace(K, V);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public <U> U search(long, java.util.function.BiFunction<? super K, ? super V, ? extends U>);
method public <U> U searchEntries(long, java.util.function.Function<java.util.Map.Entry<K, V>, ? extends U>);
method public <U> U searchKeys(long, java.util.function.Function<? super K, ? extends U>);
@@ -66165,6 +65914,7 @@
method public E removeLast();
method public boolean removeLastOccurrence(java.lang.Object);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public class ConcurrentLinkedQueue<E> extends java.util.AbstractQueue implements java.util.Queue java.io.Serializable {
@@ -66175,6 +65925,7 @@
method public E peek();
method public E poll();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public abstract interface ConcurrentMap<K, V> implements java.util.Map {
@@ -66206,6 +65957,9 @@
method public K ceilingKey(K);
method public java.util.concurrent.ConcurrentSkipListMap<K, V> clone();
method public java.util.Comparator<? super K> comparator();
+ method public V compute(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
+ method public V computeIfAbsent(K, java.util.function.Function<? super K, ? extends V>);
+ method public V computeIfPresent(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public java.util.NavigableSet<K> descendingKeySet();
method public java.util.concurrent.ConcurrentNavigableMap<K, V> descendingMap();
method public java.util.Set<java.util.Map.Entry<K, V>> entrySet();
@@ -66213,18 +65967,25 @@
method public K firstKey();
method public java.util.Map.Entry<K, V> floorEntry(K);
method public K floorKey(K);
+ method public void forEach(java.util.function.BiConsumer<? super K, ? super V>);
+ method public V getOrDefault(java.lang.Object, V);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> headMap(K, boolean);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> headMap(K);
method public java.util.Map.Entry<K, V> higherEntry(K);
method public K higherKey(K);
- method public java.util.NavigableSet<K> keySet();
method public java.util.Map.Entry<K, V> lastEntry();
method public K lastKey();
method public java.util.Map.Entry<K, V> lowerEntry(K);
method public K lowerKey(K);
+ method public V merge(K, V, java.util.function.BiFunction<? super V, ? super V, ? extends V>);
method public java.util.NavigableSet<K> navigableKeySet();
method public java.util.Map.Entry<K, V> pollFirstEntry();
method public java.util.Map.Entry<K, V> pollLastEntry();
+ method public V putIfAbsent(K, V);
+ method public boolean remove(java.lang.Object, java.lang.Object);
+ method public boolean replace(K, V, V);
+ method public V replace(K, V);
+ method public void replaceAll(java.util.function.BiFunction<? super K, ? super V, ? extends V>);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> subMap(K, boolean, K, boolean);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> subMap(K, K);
method public java.util.concurrent.ConcurrentNavigableMap<K, V> tailMap(K, boolean);
@@ -66252,6 +66013,7 @@
method public E pollFirst();
method public E pollLast();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public java.util.NavigableSet<E> subSet(E, boolean, E, boolean);
method public java.util.NavigableSet<E> subSet(E, E);
method public java.util.NavigableSet<E> tailSet(E, boolean);
@@ -66298,7 +66060,9 @@
ctor public CopyOnWriteArraySet(java.util.Collection<? extends E>);
method public void forEach(java.util.function.Consumer<? super E>);
method public java.util.Iterator<E> iterator();
+ method public boolean removeIf(java.util.function.Predicate<? super E>);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
}
public class CountDownLatch {
@@ -66457,7 +66221,6 @@
method public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler();
method public boolean hasQueuedSubmissions();
method public <T> T invoke(java.util.concurrent.ForkJoinTask<T>);
- method public <T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>);
method public boolean isQuiescent();
method public boolean isShutdown();
method public boolean isTerminated();
@@ -66467,9 +66230,6 @@
method public void shutdown();
method public java.util.List<java.lang.Runnable> shutdownNow();
method public <T> java.util.concurrent.ForkJoinTask<T> submit(java.util.concurrent.ForkJoinTask<T>);
- method public <T> java.util.concurrent.ForkJoinTask<T> submit(java.util.concurrent.Callable<T>);
- method public <T> java.util.concurrent.ForkJoinTask<T> submit(java.lang.Runnable, T);
- method public java.util.concurrent.ForkJoinTask<?> submit(java.lang.Runnable);
field public static final java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory defaultForkJoinWorkerThreadFactory;
}
@@ -66593,6 +66353,7 @@
method public E removeLast();
method public boolean removeLastOccurrence(java.lang.Object);
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
method public E takeFirst() throws java.lang.InterruptedException;
method public E takeLast() throws java.lang.InterruptedException;
@@ -66613,6 +66374,7 @@
method public void put(E) throws java.lang.InterruptedException;
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
}
@@ -66632,6 +66394,7 @@
method public void put(E);
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
method public void transfer(E) throws java.lang.InterruptedException;
method public boolean tryTransfer(E);
@@ -66679,6 +66442,7 @@
method public void put(E);
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
}
@@ -66782,6 +66546,7 @@
method public void put(E) throws java.lang.InterruptedException;
method public int remainingCapacity();
method public int size();
+ method public java.util.Spliterator<E> spliterator();
method public E take() throws java.lang.InterruptedException;
}
@@ -66793,11 +66558,9 @@
method public static java.util.concurrent.ThreadLocalRandom current();
method public double nextDouble(double);
method public double nextDouble(double, double);
- method public double nextGaussian();
method public int nextInt(int, int);
method public long nextLong(long);
method public long nextLong(long, long);
- method public void setSeed(long);
}
public class ThreadPoolExecutor extends java.util.concurrent.AbstractExecutorService {
@@ -66811,7 +66574,6 @@
method public boolean awaitTermination(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException;
method protected void beforeExecute(java.lang.Thread, java.lang.Runnable);
method public void execute(java.lang.Runnable);
- method protected void finalize();
method public int getActiveCount();
method public long getCompletedTaskCount();
method public int getCorePoolSize();
@@ -67682,11 +67444,8 @@
ctor public JarFile(java.io.File) throws java.io.IOException;
ctor public JarFile(java.io.File, boolean) throws java.io.IOException;
ctor public JarFile(java.io.File, boolean, int) throws java.io.IOException;
- method public java.util.Enumeration<java.util.jar.JarEntry> entries();
- method public synchronized java.io.InputStream getInputStream(java.util.zip.ZipEntry) throws java.io.IOException;
method public java.util.jar.JarEntry getJarEntry(java.lang.String);
method public java.util.jar.Manifest getManifest() throws java.io.IOException;
- method public java.util.stream.Stream<java.util.jar.JarEntry> stream();
field public static final java.lang.String MANIFEST_NAME = "META-INF/MANIFEST.MF";
}
@@ -67766,8 +67525,6 @@
public class ConsoleHandler extends java.util.logging.StreamHandler {
ctor public ConsoleHandler();
- method public void close();
- method public void publish(java.util.logging.LogRecord);
}
public class ErrorManager {
@@ -68557,7 +68314,6 @@
method public int deflate(byte[]);
method public int deflate(byte[], int, int, int);
method public void end();
- method protected void finalize();
method public void finish();
method public boolean finished();
method public int getAdler();
@@ -68590,8 +68346,6 @@
ctor public DeflaterInputStream(java.io.InputStream);
ctor public DeflaterInputStream(java.io.InputStream, java.util.zip.Deflater);
ctor public DeflaterInputStream(java.io.InputStream, java.util.zip.Deflater, int);
- method public void mark(int);
- method public void reset() throws java.io.IOException;
field protected final byte[] buf;
field protected final java.util.zip.Deflater def;
}
@@ -68622,7 +68376,6 @@
ctor public GZIPOutputStream(java.io.OutputStream, int, boolean) throws java.io.IOException;
ctor public GZIPOutputStream(java.io.OutputStream) throws java.io.IOException;
ctor public GZIPOutputStream(java.io.OutputStream, boolean) throws java.io.IOException;
- method public synchronized void write(byte[], int, int) throws java.io.IOException;
field protected java.util.zip.CRC32 crc;
}
@@ -68630,7 +68383,6 @@
ctor public Inflater(boolean);
ctor public Inflater();
method public void end();
- method protected void finalize();
method public boolean finished();
method public int getAdler();
method public long getBytesRead();
@@ -68757,7 +68509,6 @@
ctor public ZipFile(java.io.File, java.nio.charset.Charset) throws java.io.IOException;
method public void close() throws java.io.IOException;
method public java.util.Enumeration<? extends java.util.zip.ZipEntry> entries();
- method protected void finalize() throws java.io.IOException;
method public java.lang.String getComment();
method public java.util.zip.ZipEntry getEntry(java.lang.String);
method public java.io.InputStream getInputStream(java.util.zip.ZipEntry) throws java.io.IOException;
@@ -68864,7 +68615,6 @@
method public void setComment(java.lang.String);
method public void setLevel(int);
method public void setMethod(int);
- method public synchronized void write(byte[], int, int) throws java.io.IOException;
field public static final int CENATT = 36; // 0x24
field public static final int CENATX = 38; // 0x26
field public static final int CENCOM = 32; // 0x20
@@ -69021,7 +68771,6 @@
public class ExemptionMechanism {
ctor protected ExemptionMechanism(javax.crypto.ExemptionMechanismSpi, java.security.Provider, java.lang.String);
- method protected void finalize();
method public final byte[] genExemptionBlob() throws javax.crypto.ExemptionMechanismException, java.lang.IllegalStateException;
method public final int genExemptionBlob(byte[]) throws javax.crypto.ExemptionMechanismException, java.lang.IllegalStateException, javax.crypto.ShortBufferException;
method public final int genExemptionBlob(byte[], int) throws javax.crypto.ExemptionMechanismException, java.lang.IllegalStateException, javax.crypto.ShortBufferException;
@@ -71411,7 +71160,6 @@
ctor public TransformerException(java.lang.String, java.lang.Throwable);
ctor public TransformerException(java.lang.String, javax.xml.transform.SourceLocator);
ctor public TransformerException(java.lang.String, javax.xml.transform.SourceLocator, java.lang.Throwable);
- method public java.lang.Throwable getCause();
method public java.lang.Throwable getException();
method public java.lang.String getLocationAsString();
method public javax.xml.transform.SourceLocator getLocator();
@@ -71682,7 +71430,6 @@
public class XPathException extends java.lang.Exception {
ctor public XPathException(java.lang.String);
ctor public XPathException(java.lang.Throwable);
- method public java.lang.Throwable getCause();
}
public abstract interface XPathExpression {
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index bc6e9cd..0ff3215 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -6416,17 +6416,7 @@
*/
@Deprecated
public boolean requestVisibleBehind(boolean visible) {
- if (!mResumed) {
- // Do not permit paused or stopped activities to do this.
- visible = false;
- }
- try {
- mVisibleBehind = ActivityManager.getService()
- .requestVisibleBehind(mToken, visible) && visible;
- } catch (RemoteException e) {
- mVisibleBehind = false;
- }
- return mVisibleBehind;
+ return false;
}
/**
diff --git a/core/java/android/app/ActivityManager.java b/core/java/android/app/ActivityManager.java
index f398c8d..aca2d91 100644
--- a/core/java/android/app/ActivityManager.java
+++ b/core/java/android/app/ActivityManager.java
@@ -360,6 +360,13 @@
FIRST_START_NON_FATAL_ERROR_CODE + 1;
/**
+ * Result for IActivityManaqer.startActivity: a new activity start was aborted. Never returned
+ * externally.
+ * @hide
+ */
+ public static final int START_ABORTED = FIRST_START_NON_FATAL_ERROR_CODE + 2;
+
+ /**
* Flag for IActivityManaqer.startActivity: do special start mode where
* a new activity is launched only if it is needed.
* @hide
diff --git a/core/java/android/app/ApplicationPackageManager.java b/core/java/android/app/ApplicationPackageManager.java
index e5c4208..4df633f 100644
--- a/core/java/android/app/ApplicationPackageManager.java
+++ b/core/java/android/app/ApplicationPackageManager.java
@@ -281,7 +281,8 @@
public PermissionInfo getPermissionInfo(String name, int flags)
throws NameNotFoundException {
try {
- PermissionInfo pi = mPM.getPermissionInfo(name, flags);
+ PermissionInfo pi = mPM.getPermissionInfo(name,
+ mContext.getOpPackageName(), flags);
if (pi != null) {
return pi;
}
diff --git a/core/java/android/app/IntentService.java b/core/java/android/app/IntentService.java
index e4a22c4..95ec24c 100644
--- a/core/java/android/app/IntentService.java
+++ b/core/java/android/app/IntentService.java
@@ -43,6 +43,13 @@
* long as necessary (and will not block the application's main loop), but
* only one request will be processed at a time.
*
+ * <p class="note"><b>Note:</b> IntentService is subject to all the
+ * <a href="/preview/features/background.html">background execution limits</a>
+ * imposed with Android 8.0 (API level 26). In most cases, you are better off
+ * using {@link android.support.v4.app.JobIntentService}, which uses jobs
+ * instead of services when running on Android 8.0 or higher.
+ * </p>
+ *
* <div class="special reference">
* <h3>Developer Guides</h3>
* <p>For a detailed discussion about how to create services, read the
@@ -50,6 +57,7 @@
* guide.</p>
* </div>
*
+ * @see android.support.v4.app.JobIntentService
* @see android.os.AsyncTask
*/
public abstract class IntentService extends Service {
diff --git a/core/java/android/app/ProgressDialog.java b/core/java/android/app/ProgressDialog.java
index 8ec9622..8a083eb 100644
--- a/core/java/android/app/ProgressDialog.java
+++ b/core/java/android/app/ProgressDialog.java
@@ -42,8 +42,12 @@
*
* <p>The progress range is 0 to {@link #getMax() max}.</p>
*
- * @deprecated Use a progress indicator such as ProgressBar inline inside of
- * an activity rather than using this modal dialog.
+ * @deprecated <code>ProgressDialog</code> is a modal dialog, which prevents the
+ * user from interacting with the app. Instead of using this class, you should
+ * use a progress indicator like {@link android.widget.ProgressBar}, which can
+ * be embedded in your app's UI. Alternatively, you can use a
+ * <a href="/guide/topics/ui/notifiers/notifications.html">notification</a>
+ * to inform the user of the task's progress.
*/
@Deprecated
public class ProgressDialog extends AlertDialog {
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index 6c62f5e..48fa3a8 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -127,8 +127,8 @@
* File creation mode: allow all other applications to have read access to
* the created file.
* <p>
- * As of {@link android.os.Build.VERSION_CODES#N} attempting to use this
- * mode will throw a {@link SecurityException}.
+ * Starting from {@link android.os.Build.VERSION_CODES#N}, attempting to use this
+ * mode throws a {@link SecurityException}.
*
* @deprecated Creating world-readable files is very dangerous, and likely
* to cause security holes in applications. It is strongly
@@ -147,7 +147,7 @@
* File creation mode: allow all other applications to have write access to
* the created file.
* <p>
- * As of {@link android.os.Build.VERSION_CODES#N} attempting to use this
+ * Starting from {@link android.os.Build.VERSION_CODES#N}, attempting to use this
* mode will throw a {@link SecurityException}.
*
* @deprecated Creating world-writable files is very dangerous, and likely
@@ -1127,13 +1127,47 @@
* </ul>
* <p>
* Starting in {@link android.os.Build.VERSION_CODES#KITKAT}, no permissions
- * are required to read or write to the returned path; it's always
- * accessible to the calling app. This only applies to paths generated for
- * package name of the calling application. To access paths belonging to
- * other packages,
- * {@link android.Manifest.permission#WRITE_EXTERNAL_STORAGE} and/or
- * {@link android.Manifest.permission#READ_EXTERNAL_STORAGE} are required.
+ * are required to read or write to the path that this method returns.
+ * However, starting from {@link android.os.Build.VERSION_CODES#M},
+ * to read the OBB expansion files, you must declare the
+ * {@link android.Manifest.permission#READ_EXTERNAL_STORAGE} permission in the app manifest and ask for
+ * permission at runtime as follows:
+ * </p>
* <p>
+ * {@code <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
+ * android:maxSdkVersion="23" />}
+ * </p>
+ * <p>
+ * Starting from {@link android.os.Build.VERSION_CODES#N},
+ * {@link android.Manifest.permission#READ_EXTERNAL_STORAGE}
+ * permission is not required, so don’t ask for this
+ * permission at runtime. To handle both cases, your app must first try to read the OBB file,
+ * and if it fails, you must request
+ * {@link android.Manifest.permission#READ_EXTERNAL_STORAGE} permission at runtime.
+ * </p>
+ *
+ * <p>
+ * The following code snippet shows how to do this:
+ * </p>
+ *
+ * <pre>
+ * File obb = new File(obb_filename);
+ * boolean open_failed = false;
+ *
+ * try {
+ * BufferedReader br = new BufferedReader(new FileReader(obb));
+ * open_failed = false;
+ * ReadObbFile(br);
+ * } catch (IOException e) {
+ * open_failed = true;
+ * }
+ *
+ * if (open_failed) {
+ * // request READ_EXTERNAL_STORAGE permission before reading OBB file
+ * ReadObbFileWithPermission();
+ * }
+ * </pre>
+ *
* On devices with multiple users (as described by {@link UserManager}),
* multiple users may share the same OBB storage location. Applications
* should ensure that multiple instances running under different users don't
diff --git a/core/java/android/content/pm/IPackageManager.aidl b/core/java/android/content/pm/IPackageManager.aidl
index e8e0eb3..126a775 100644
--- a/core/java/android/content/pm/IPackageManager.aidl
+++ b/core/java/android/content/pm/IPackageManager.aidl
@@ -71,7 +71,7 @@
String[] currentToCanonicalPackageNames(in String[] names);
String[] canonicalToCurrentPackageNames(in String[] names);
- PermissionInfo getPermissionInfo(String name, int flags);
+ PermissionInfo getPermissionInfo(String name, String packageName, int flags);
ParceledListSlice queryPermissionsByGroup(String group, int flags);
diff --git a/core/java/android/content/pm/LauncherActivityInfo.java b/core/java/android/content/pm/LauncherActivityInfo.java
index 358787e..e9c9588 100644
--- a/core/java/android/content/pm/LauncherActivityInfo.java
+++ b/core/java/android/content/pm/LauncherActivityInfo.java
@@ -20,12 +20,10 @@
import android.content.Context;
import android.content.pm.PackageManager.NameNotFoundException;
import android.content.res.Resources;
-import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.UserHandle;
import android.os.UserManager;
import android.util.DisplayMetrics;
-import android.util.Log;
/**
* A representation of an activity that can belong to this user or a managed
@@ -173,12 +171,6 @@
public Drawable getBadgedIcon(int density) {
Drawable originalIcon = getIcon(density);
- if (originalIcon instanceof BitmapDrawable) {
- // TODO: Go through LauncherAppsService
- return mPm.getUserBadgedIcon(originalIcon, mUser);
- } else {
- Log.e(TAG, "Unable to create badged icon for " + mActivityInfo);
- }
- return originalIcon;
+ return mPm.getUserBadgedIcon(originalIcon, mUser);
}
}
diff --git a/core/java/android/content/pm/LauncherApps.java b/core/java/android/content/pm/LauncherApps.java
index ed41e79..aa9562f 100644
--- a/core/java/android/content/pm/LauncherApps.java
+++ b/core/java/android/content/pm/LauncherApps.java
@@ -608,15 +608,15 @@
}
/**
- * Get {@link ApplicationInfo} for a profile
+ * Returns {@link ApplicationInfo} about an application installed for a specific user profile.
*
* @param packageName The package name of the application
* @param flags Additional option flags {@link PackageManager#getApplicationInfo}
* @param user The UserHandle of the profile.
*
- * @return An {@link ApplicationInfo} containing information about the package or
- * null if the package isn't installed for the given user, or the target user
- * is not enabled.
+ * @return {@link ApplicationInfo} containing information about the package. Returns
+ * {@code null} if the package isn't installed for the given profile, or the profile
+ * isn't enabled.
*/
public ApplicationInfo getApplicationInfo(@NonNull String packageName,
@ApplicationInfoFlags int flags, @NonNull UserHandle user)
diff --git a/core/java/android/hardware/SensorManager.java b/core/java/android/hardware/SensorManager.java
index 4bc62b1..e1cd451 100644
--- a/core/java/android/hardware/SensorManager.java
+++ b/core/java/android/hardware/SensorManager.java
@@ -894,8 +894,9 @@
* to free up resource in sensor system associated with the direct channel.
*
* @param mem A {@link android.os.MemoryFile} shared memory object.
- * @return A {@link android.hardware.SensorDirectChannel} object if successful, null otherwise.
+ * @return A {@link android.hardware.SensorDirectChannel} object.
* @throws NullPointerException when mem is null.
+ * @throws UncheckedIOException if not able to create channel.
* @see SensorDirectChannel#close()
* @see #configureDirectChannel(SensorDirectChannel, Sensor, int)
*/
@@ -916,9 +917,9 @@
* to free up resource in sensor system associated with the direct channel.
*
* @param mem A {@link android.hardware.HardwareBuffer} shared memory object.
- * @return A {@link android.hardware.SensorDirectChannel} object if successful,
- * null otherwise.
+ * @return A {@link android.hardware.SensorDirectChannel} object.
* @throws NullPointerException when mem is null.
+ * @throws UncheckedIOException if not able to create channel.
* @see SensorDirectChannel#close()
* @see #configureDirectChannel(SensorDirectChannel, Sensor, int)
*/
diff --git a/core/java/android/hardware/camera2/CameraDevice.java b/core/java/android/hardware/camera2/CameraDevice.java
index 63eedf5..55343a2 100644
--- a/core/java/android/hardware/camera2/CameraDevice.java
+++ b/core/java/android/hardware/camera2/CameraDevice.java
@@ -73,8 +73,10 @@
* Create a request suitable for still image capture. Specifically, this
* means prioritizing image quality over frame rate. These requests would
* commonly be used with the {@link CameraCaptureSession#capture} method.
- * This template is guaranteed to be supported on all camera devices.
- *
+ * This template is guaranteed to be supported on all camera devices except
+ * {@link CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT DEPTH_OUTPUT} devices
+ * that are not {@link CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE
+ * BACKWARD_COMPATIBLE}.
* @see #createCaptureRequest
*/
public static final int TEMPLATE_STILL_CAPTURE = 2;
@@ -84,7 +86,10 @@
* that a stable frame rate is used, and post-processing is set for
* recording quality. These requests would commonly be used with the
* {@link CameraCaptureSession#setRepeatingRequest} method.
- * This template is guaranteed to be supported on all camera devices.
+ * This template is guaranteed to be supported on all camera devices except
+ * {@link CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT DEPTH_OUTPUT} devices
+ * that are not {@link CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE
+ * BACKWARD_COMPATIBLE}.
*
* @see #createCaptureRequest
*/
@@ -98,7 +103,10 @@
* {@link #TEMPLATE_RECORD} is is in use with {@link CameraCaptureSession#setRepeatingRequest}.
* This template is guaranteed to be supported on all camera devices except
* legacy devices ({@link CameraCharacteristics#INFO_SUPPORTED_HARDWARE_LEVEL}
- * {@code == }{@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY LEGACY})
+ * {@code == }{@link CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY LEGACY}) and
+ * {@link CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT DEPTH_OUTPUT} devices
+ * that are not {@link CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE
+ * BACKWARD_COMPATIBLE}.
*
* @see #createCaptureRequest
*/
diff --git a/core/java/android/net/VpnService.java b/core/java/android/net/VpnService.java
index 2d9860c..4b79cbb 100644
--- a/core/java/android/net/VpnService.java
+++ b/core/java/android/net/VpnService.java
@@ -99,7 +99,7 @@
* shut down the tunnel gracefully.</li>
* </ol>
*
- * <p>Services extended this class need to be declared with appropriate
+ * <p>Services extending this class need to be declared with an appropriate
* permission and intent filter. Their access must be secured by
* {@link android.Manifest.permission#BIND_VPN_SERVICE} permission, and
* their intent filter must match {@link #SERVICE_INTERFACE} action. Here
@@ -112,6 +112,13 @@
* </intent-filter>
* </service></pre>
*
+ * <p> The Android system starts a VPN in the background by calling
+ * {@link android.content.Context#startService startService()}. In Android 8.0
+ * (API level 26) and higher, the system places VPN apps on the temporary
+ * whitelist for a short period so the app can start in the background. The VPN
+ * app must promote itself to the foreground after it's launched or the system
+ * will shut down the app.
+ *
* @see Builder
*/
public class VpnService extends Service {
diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java
index a7fc2e7..de0d5d76 100644
--- a/core/java/android/os/UserManager.java
+++ b/core/java/android/os/UserManager.java
@@ -303,10 +303,12 @@
public static final String DISALLOW_DEBUGGING_FEATURES = "no_debugging_features";
/**
- * Specifies if a user is disallowed from configuring VPN.
- * The default value is <code>false</code>.
- * This restriction has an effect in a managed profile only from
- * {@link android.os.Build.VERSION_CODES#M}
+ * Specifies if a user is disallowed from configuring a VPN. The default value is
+ * <code>false</code>. This restriction has an effect when set by device owners and, in Android
+ * 6.0 ({@linkplain android.os.Build.VERSION_CODES#M API level 23}) or higher, profile owners.
+ * <p>This restriction also prevents VPNs from starting. However, in Android 7.0
+ * ({@linkplain android.os.Build.VERSION_CODES#N API level 24}) or higher, the system does
+ * start always-on VPNs created by the device or profile owner.
*
* <p>Key for user restrictions.
* <p>Type: Boolean
@@ -389,10 +391,13 @@
public static final String DISALLOW_ADD_MANAGED_PROFILE = "no_add_managed_profile";
/**
- * Specifies if a user is disallowed from disabling application verification.
- * Starting from {@link android.os.Build.VERSION_CODES#O}, application verification
- * is enforced across all users on the device if a profile owner or device owner sets
- * this restriction to <code>true</code>. The default value is <code>false</code>.
+ * Specifies if a user is disallowed from disabling application verification. The default
+ * value is <code>false</code>.
+ *
+ * <p>In Android 8.0 ({@linkplain android.os.Build.VERSION_CODES#O API level 26}) and higher,
+ * this is a global user restriction. If a device owner or profile owner sets this restriction,
+ * the system enforces app verification across all users on the device. Running in earlier
+ * Android versions, this restriction affects only the profile that sets it.
*
* <p>Key for user restrictions.
* <p>Type: Boolean
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index a82127c..ca7f179 100755
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -1422,10 +1422,10 @@
* to the caller package.
*
* <p>
- * <b>NOTE: </b> applications should call
+ * <b>NOTE: </b> Applications should call
* {@link android.view.autofill.AutofillManager#hasEnabledAutofillServices()} and
- * {@link android.view.autofill.AutofillManager#isAutofillSupported()} first, and only
- * broadcast this intent if they return {@code false} and {@code true} respectively.
+ * {@link android.view.autofill.AutofillManager#isAutofillSupported()}, and only use this action
+ * to start an activity if they return {@code false} and {@code true} respectively.
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_REQUEST_SET_AUTOFILL_SERVICE =
diff --git a/core/java/android/service/autofill/AutofillService.java b/core/java/android/service/autofill/AutofillService.java
index a80ef03..c068e6a 100644
--- a/core/java/android/service/autofill/AutofillService.java
+++ b/core/java/android/service/autofill/AutofillService.java
@@ -179,11 +179,18 @@
* should not contain fields for username, password, and credit card information. The reason for
* this rule is that a malicious app could draft a view structure where the credit card fields
* are not visible, so when the user selects a dataset from the username UI, the credit card info is
- * released to the application without the user knowledge. Similar, it's recommended to always
+ * released to the application without the user knowledge. Similarly, it's recommended to always
* protect a dataset that contains sensitive information by requiring dataset authentication
- * (see {@link Dataset.Builder#setAuthentication(android.content.IntentSender)}).
+ * (see {@link Dataset.Builder#setAuthentication(android.content.IntentSender)}), and to include
+ * info about the "primary" field of the partition in the custom presentation for "secondary"
+ * fields — that would prevent a malicious app from getting the "primary" fields without the
+ * user realizing they're being released (for example, a malicious app could have fields for a
+ * credit card number, verification code, and expiration date crafted in a way that just the latter
+ * is visible; by explicitly indicating the expiration date is related to a given credit card
+ * number, the service would be providing a visual clue for the users to check what would be
+ * released upon selecting that field).
*
- * <p>When the service detects that a screen have multiple partitions, it should return a
+ * <p>When the service detects that a screen has multiple partitions, it should return a
* {@link FillResponse} with just the datasets for the partition that originated the request (i.e.,
* the partition that has the {@link android.app.assist.AssistStructure.ViewNode} whose
* {@link android.app.assist.AssistStructure.ViewNode#isFocused()} returns {@code true}); then if
@@ -236,6 +243,36 @@
* <p>When the service returns multiple {@link FillResponse}, the last one overrides the previous;
* that's why the {@link SaveInfo} in the 2nd request above has the info for both partitions.
*
+ * <h3>Package verification</h3>
+ *
+ * <p>When autofilling app-specific data (like username and password), the service must verify
+ * the authenticity of the request by obtaining all signing certificates of the app being
+ * autofilled, and only fulfilling the request when they match the values that were
+ * obtained when the data was first saved — such verification is necessary to avoid phishing
+ * attempts by apps that were sideloaded in the device with the same package name of another app.
+ * Here's an example on how to achieve that by hashing the signing certificates:
+ *
+ * <pre class="prettyprint">
+ * private String getCertificatesHash(String packageName) throws Exception {
+ * PackageManager pm = mContext.getPackageManager();
+ * PackageInfo info = pm.getPackageInfo(packageName, PackageManager.GET_SIGNATURES);
+ * ArrayList<String> hashes = new ArrayList<>(info.signatures.length);
+ * for (Signature sig : info.signatures) {
+ * byte[] cert = sig.toByteArray();
+ * MessageDigest md = MessageDigest.getInstance("SHA-256");
+ * md.update(cert);
+ * hashes.add(toHexString(md.digest()));
+ * }
+ * Collections.sort(hashes);
+ * StringBuilder hash = new StringBuilder();
+ * for (int i = 0; i < hashes.size(); i++) {
+ * hash.append(hashes.get(i));
+ * }
+ * return hash.toString();
+ * }
+ *
+ * </pre>
+ *
* <h3>Ignoring views</h3>
*
* <p>If the service find views that cannot be autofilled (for example, a text field representing
diff --git a/core/java/android/service/autofill/FillResponse.java b/core/java/android/service/autofill/FillResponse.java
index e13fdf6..80ef3aa 100644
--- a/core/java/android/service/autofill/FillResponse.java
+++ b/core/java/android/service/autofill/FillResponse.java
@@ -205,6 +205,13 @@
/**
* Adds a new {@link Dataset} to this response.
*
+ * <p><b>Note: </b> the total number of datasets is limited by the Binder transaction size,
+ * so it's recommended to keep it small (in the range of 10-20 at most) and use pagination
+ * by adding a fake
+ * {@link Dataset.Builder#setAuthentication(IntentSender) authenticated dataset}
+ * at the end with a presentation string like "Next 10" that would return a new
+ * {@link FillResponse} with the next 10 datasets, and so on.
+ *
* @return This builder.
*/
public @NonNull Builder addDataset(@Nullable Dataset dataset) {
diff --git a/core/java/android/util/Log.java b/core/java/android/util/Log.java
index 951aa8d..8691136 100644
--- a/core/java/android/util/Log.java
+++ b/core/java/android/util/Log.java
@@ -30,8 +30,9 @@
/**
* API for sending log output.
*
- * <p>Generally, use the Log.v() Log.d() Log.i() Log.w() and Log.e()
- * methods.
+ * <p>Generally, you should use the {@link #v Log.v()}, {@link #d Log.d()},
+ * {@link #i Log.i()}, {@link #w Log.w()}, and {@link #e Log.e()} methods to write logs.
+ * You can then <a href="{@docRoot}studio/debug/am-logcat.html">view the logs in logcat</a>.
*
* <p>The order in terms of verbosity, from least to most is
* ERROR, WARN, INFO, DEBUG, VERBOSE. Verbose should never be compiled
diff --git a/core/java/android/view/SurfaceView.java b/core/java/android/view/SurfaceView.java
index b035b7f..a19f05c 100644
--- a/core/java/android/view/SurfaceView.java
+++ b/core/java/android/view/SurfaceView.java
@@ -491,10 +491,10 @@
if (myHeight <= 0) myHeight = getHeight();
final boolean formatChanged = mFormat != mRequestedFormat;
- final boolean creating = (mSurfaceControl == null || formatChanged)
+ final boolean visibleChanged = mVisible != mRequestedVisible;
+ final boolean creating = (mSurfaceControl == null || formatChanged || visibleChanged)
&& mRequestedVisible;
final boolean sizeChanged = mSurfaceWidth != myWidth || mSurfaceHeight != myHeight;
- final boolean visibleChanged = mVisible != mRequestedVisible;
final boolean windowVisibleChanged = mWindowVisibility != mLastWindowVisibility;
boolean redrawNeeded = false;
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index 4882165..25c02d1 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -724,6 +724,8 @@
* @attr ref android.R.styleable#View_nextFocusUp
* @attr ref android.R.styleable#View_onClick
* @attr ref android.R.styleable#View_padding
+ * @attr ref android.R.styleable#View_paddingHorizontal
+ * @attr ref android.R.styleable#View_paddingVertical
* @attr ref android.R.styleable#View_paddingBottom
* @attr ref android.R.styleable#View_paddingLeft
* @attr ref android.R.styleable#View_paddingRight
diff --git a/core/java/android/view/ViewGroup.java b/core/java/android/view/ViewGroup.java
index 66df335..1dbc1ac 100644
--- a/core/java/android/view/ViewGroup.java
+++ b/core/java/android/view/ViewGroup.java
@@ -7608,6 +7608,16 @@
* See
* {@link android.R.styleable#ViewGroup_MarginLayout ViewGroup Margin Layout Attributes}
* for a list of all child view attributes that this class supports.
+ *
+ * @attr ref android.R.styleable#ViewGroup_MarginLayout_layout_margin
+ * @attr ref android.R.styleable#ViewGroup_MarginLayout_layout_marginHorizontal
+ * @attr ref android.R.styleable#ViewGroup_MarginLayout_layout_marginVertical
+ * @attr ref android.R.styleable#ViewGroup_MarginLayout_layout_marginLeft
+ * @attr ref android.R.styleable#ViewGroup_MarginLayout_layout_marginTop
+ * @attr ref android.R.styleable#ViewGroup_MarginLayout_layout_marginRight
+ * @attr ref android.R.styleable#ViewGroup_MarginLayout_layout_marginBottom
+ * @attr ref android.R.styleable#ViewGroup_MarginLayout_layout_marginStart
+ * @attr ref android.R.styleable#ViewGroup_MarginLayout_layout_marginEnd
*/
public static class MarginLayoutParams extends ViewGroup.LayoutParams {
/**
diff --git a/core/java/android/view/autofill/AutofillManager.java b/core/java/android/view/autofill/AutofillManager.java
index 5b04f41..3505c29 100644
--- a/core/java/android/view/autofill/AutofillManager.java
+++ b/core/java/android/view/autofill/AutofillManager.java
@@ -671,8 +671,13 @@
/**
* Called to indicate the current autofill context should be commited.
*
- * <p>For example, when a virtual view is rendering an {@code HTML} page with a form, it should
- * call this method after the form is submitted and another page is rendered.
+ * <p>This method is typically called by {@link View Views} that manage virtual views; for
+ * example, when the view is rendering an {@code HTML} page with a form and virtual views
+ * that represent the HTML elements, it should call this method after the form is submitted and
+ * another page is rendered.
+ *
+ * <p><b>Note:</b> This method does not need to be called on regular application lifecycle
+ * methods such as {@link android.app.Activity#finish()}.
*/
public void commit() {
if (!hasAutofillFeature()) {
@@ -690,8 +695,13 @@
/**
* Called to indicate the current autofill context should be cancelled.
*
- * <p>For example, when a virtual view is rendering an {@code HTML} page with a form, it should
- * call this method if the user does not post the form but moves to another form in this page.
+ * <p>This method is typically called by {@link View Views} that manage virtual views; for
+ * example, when the view is rendering an {@code HTML} page with a form and virtual views
+ * that represent the HTML elements, it should call this method if the user does not post the
+ * form but moves to another form in this page.
+ *
+ * <p><b>Note:</b> This method does not need to be called on regular application lifecycle
+ * methods such as {@link android.app.Activity#finish()}.
*/
public void cancel() {
if (!hasAutofillFeature()) {
@@ -741,7 +751,8 @@
}
/**
- * Returns {@code true} if Autofill is supported for this user.
+ * Returns {@code true} if autofill is supported by the current device and
+ * is supported for this user.
*
* <p>Autofill is typically supported, but it could be unsupported in cases like:
* <ol>
diff --git a/core/java/com/android/internal/backup/package.html b/core/java/com/android/internal/backup/package.html
new file mode 100644
index 0000000..db6f78b
--- /dev/null
+++ b/core/java/com/android/internal/backup/package.html
@@ -0,0 +1,3 @@
+<body>
+{@hide}
+</body>
\ No newline at end of file
diff --git a/core/java/com/android/internal/inputmethod/package.html b/core/java/com/android/internal/inputmethod/package.html
new file mode 100644
index 0000000..db6f78b
--- /dev/null
+++ b/core/java/com/android/internal/inputmethod/package.html
@@ -0,0 +1,3 @@
+<body>
+{@hide}
+</body>
\ No newline at end of file
diff --git a/core/java/com/android/internal/logging/package.html b/core/java/com/android/internal/logging/package.html
new file mode 100644
index 0000000..db6f78b
--- /dev/null
+++ b/core/java/com/android/internal/logging/package.html
@@ -0,0 +1,3 @@
+<body>
+{@hide}
+</body>
\ No newline at end of file
diff --git a/core/java/com/android/internal/os/package.html b/core/java/com/android/internal/os/package.html
new file mode 100644
index 0000000..db6f78b
--- /dev/null
+++ b/core/java/com/android/internal/os/package.html
@@ -0,0 +1,3 @@
+<body>
+{@hide}
+</body>
\ No newline at end of file
diff --git a/core/java/com/android/internal/policy/PhoneWindow.java b/core/java/com/android/internal/policy/PhoneWindow.java
index 8fe9100..544afd9 100644
--- a/core/java/com/android/internal/policy/PhoneWindow.java
+++ b/core/java/com/android/internal/policy/PhoneWindow.java
@@ -3103,12 +3103,29 @@
}
/**
+ * Check if Setup or Post-Setup update is completed on TV
+ * @return true if completed
+ */
+ private boolean isTvUserSetupComplete() {
+ boolean isTvSetupComplete = Settings.Secure.getInt(getContext().getContentResolver(),
+ Settings.Secure.USER_SETUP_COMPLETE, 0) != 0;
+ isTvSetupComplete &= Settings.Secure.getInt(getContext().getContentResolver(),
+ Settings.Secure.TV_USER_SETUP_COMPLETE, 0) != 0;
+ return isTvSetupComplete;
+ }
+
+ /**
* Helper method for adding launch-search to most applications. Opens the
* search window using default settings.
*
* @return true if search window opened
*/
private boolean launchDefaultSearch(KeyEvent event) {
+ if (getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK)
+ && !isTvUserSetupComplete()) {
+ // If we are in Setup or Post-Setup update mode on TV, consume the search key
+ return false;
+ }
boolean result;
final Callback cb = getCallback();
if (cb == null || isDestroyed()) {
diff --git a/core/java/com/android/internal/statusbar/package.html b/core/java/com/android/internal/statusbar/package.html
new file mode 100644
index 0000000..db6f78b
--- /dev/null
+++ b/core/java/com/android/internal/statusbar/package.html
@@ -0,0 +1,3 @@
+<body>
+{@hide}
+</body>
\ No newline at end of file
diff --git a/core/java/com/android/internal/widget/package.html b/core/java/com/android/internal/widget/package.html
new file mode 100644
index 0000000..db6f78b
--- /dev/null
+++ b/core/java/com/android/internal/widget/package.html
@@ -0,0 +1,3 @@
+<body>
+{@hide}
+</body>
\ No newline at end of file
diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml
index 4797dd9..3eebe7e 100644
--- a/core/res/res/values/strings.xml
+++ b/core/res/res/values/strings.xml
@@ -3476,13 +3476,6 @@
<string name="tethered_notification_title">Tethering or hotspot active</string>
<string name="tethered_notification_message">Tap to set up.</string>
- <!-- Strings for tether disabling notification -->
- <!-- This notification is shown when tethering has been disabled on a user's device.
- The device is managed by the user's employer. Tethering can't be turned on unless the
- IT administrator allows it. The noun "admin" is another reference for "IT administrator." -->
- <string name="disable_tether_notification_title">Tethering is disabled</string>
- <string name="disable_tether_notification_message">Contact your admin for details</string>
-
<!-- Strings for possible PreferenceActivity Back/Next buttons -->
<string name="back_button_label">Back</string>
<string name="next_button_label">Next</string>
diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml
index c527501..2977040 100644
--- a/core/res/res/values/symbols.xml
+++ b/core/res/res/values/symbols.xml
@@ -1957,8 +1957,6 @@
<java-symbol type="string" name="smv_process" />
<java-symbol type="string" name="tethered_notification_message" />
<java-symbol type="string" name="tethered_notification_title" />
- <java-symbol type="string" name="disable_tether_notification_message" />
- <java-symbol type="string" name="disable_tether_notification_title" />
<java-symbol type="string" name="adb_debugging_notification_channel_tv" />
<java-symbol type="string" name="usb_accessory_notification_title" />
<java-symbol type="string" name="usb_mtp_notification_title" />
diff --git a/libs/hwui/GlopBuilder.cpp b/libs/hwui/GlopBuilder.cpp
index 2e9a6e8..c19c1a1 100644
--- a/libs/hwui/GlopBuilder.cpp
+++ b/libs/hwui/GlopBuilder.cpp
@@ -457,11 +457,13 @@
return *this;
}
-GlopBuilder& GlopBuilder::setFillExternalTexture(Texture& texture, Matrix4& textureTransform) {
+GlopBuilder& GlopBuilder::setFillExternalTexture(Texture& texture, Matrix4& textureTransform,
+ bool requiresFilter) {
TRIGGER_STAGE(kFillStage);
REQUIRE_STAGES(kMeshStage | kRoundRectClipStage);
- mOutGlop->fill.texture = { &texture, GL_LINEAR, GL_CLAMP_TO_EDGE, &textureTransform };
+ GLenum filter = requiresFilter ? GL_LINEAR : GL_NEAREST;
+ mOutGlop->fill.texture = { &texture, filter, GL_CLAMP_TO_EDGE, &textureTransform };
setFill(SK_ColorWHITE, 1.0f, SkBlendMode::kSrc, Blend::ModeOrderSwap::NoSwap,
nullptr, nullptr);
diff --git a/libs/hwui/GlopBuilder.h b/libs/hwui/GlopBuilder.h
index 87b1568..6d11da1 100644
--- a/libs/hwui/GlopBuilder.h
+++ b/libs/hwui/GlopBuilder.h
@@ -75,7 +75,8 @@
GlopBuilder& setFillTextureLayer(GlLayer& layer, float alpha);
// TODO: setFillLayer normally forces its own wrap & filter mode,
// which isn't always correct.
- GlopBuilder& setFillExternalTexture(Texture& texture, Matrix4& textureTransform);
+ GlopBuilder& setFillExternalTexture(Texture& texture, Matrix4& textureTransform,
+ bool requiresFilter);
GlopBuilder& setTransform(const Matrix4& canvas, const int transformFlags);
diff --git a/libs/hwui/OpenGLReadback.cpp b/libs/hwui/OpenGLReadback.cpp
index c460c0d..51927d5 100644
--- a/libs/hwui/OpenGLReadback.cpp
+++ b/libs/hwui/OpenGLReadback.cpp
@@ -191,6 +191,7 @@
GL_TEXTURE_2D, texture, 0);
{
+ bool requiresFilter;
// Draw & readback
renderState.setViewport(destWidth, destHeight);
renderState.scissor().setEnabled(false);
@@ -208,12 +209,17 @@
croppedTexTransform.scale(srcRect.getWidth() / sourceTexture.width(),
srcRect.getHeight() / sourceTexture.height(), 1);
croppedTexTransform.multiply(sFlipV);
+ requiresFilter = srcRect.getWidth() != (float) destWidth
+ || srcRect.getHeight() != (float) destHeight;
+ } else {
+ requiresFilter = sourceTexture.width() != (uint32_t) destWidth
+ || sourceTexture.height() != (uint32_t) destHeight;
}
Glop glop;
GlopBuilder(renderState, caches, &glop)
.setRoundRectClipState(nullptr)
.setMeshTexturedUnitQuad(nullptr)
- .setFillExternalTexture(sourceTexture, croppedTexTransform)
+ .setFillExternalTexture(sourceTexture, croppedTexTransform, requiresFilter)
.setTransform(Matrix4::identity(), TransformFlags::None)
.setModelViewMapUnitToRect(Rect(destWidth, destHeight))
.build();
diff --git a/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java b/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java
index 3b29a6c..1e26231 100644
--- a/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java
+++ b/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java
@@ -77,7 +77,7 @@
private BluetoothAdapter mBluetoothAdapter;
private WifiManager mWifiManager;
- private BluetoothLeScanner mBLEScanner;
+ @Nullable private BluetoothLeScanner mBLEScanner;
private ScanSettings mDefaultScanSettings = new ScanSettings.Builder().build();
private List<DeviceFilter<?>> mFilters;
@@ -185,7 +185,7 @@
mBluetoothAdapter.startDiscovery();
}
- if (shouldScan(mBLEFilters)) {
+ if (shouldScan(mBLEFilters) && mBLEScanner != null) {
mBLEScanCallback = new BLEScanCallback();
mBLEScanner.startScan(mBLEScanFilters, mDefaultScanSettings, mBLEScanCallback);
}
@@ -224,7 +224,7 @@
unregisterReceiver(mBluetoothBroadcastReceiver);
mBluetoothBroadcastReceiver = null;
}
- mBLEScanner.stopScan(mBLEScanCallback);
+ if (mBLEScanner != null) mBLEScanner.stopScan(mBLEScanCallback);
if (mWifiBroadcastReceiver != null) {
unregisterReceiver(mWifiBroadcastReceiver);
mWifiBroadcastReceiver = null;
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml
index f66a09e..4245b11 100644
--- a/packages/SystemUI/res/values/dimens.xml
+++ b/packages/SystemUI/res/values/dimens.xml
@@ -776,7 +776,4 @@
<dimen name="qs_gutter_height">6dp</dimen>
- <!-- Width of the hollow triangle for empty signal state -->
- <dimen name="mobile_signal_empty_strokewidth">2dp</dimen>
-
</resources>
diff --git a/packages/SystemUI/src/com/android/keyguard/PasswordTextView.java b/packages/SystemUI/src/com/android/keyguard/PasswordTextView.java
index c43820d..f5c82a7 100644
--- a/packages/SystemUI/src/com/android/keyguard/PasswordTextView.java
+++ b/packages/SystemUI/src/com/android/keyguard/PasswordTextView.java
@@ -28,10 +28,8 @@
import android.graphics.Typeface;
import android.os.PowerManager;
import android.os.SystemClock;
-import android.os.UserHandle;
import android.provider.Settings;
import android.text.InputType;
-import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.View;
@@ -248,9 +246,9 @@
mText = mText.substring(0, length - 1);
CharState charState = mTextChars.get(length - 1);
charState.startRemoveAnimation(0, 0);
+ sendAccessibilityEventTypeViewTextChanged(textbefore, textbefore.length() - 1, 1, 0);
}
userActivity();
- sendAccessibilityEventTypeViewTextChanged(textbefore, textbefore.length() - 1, 1, 0);
}
public String getText() {
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationMenuRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationMenuRow.java
index c09da21..bd4a1df 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationMenuRow.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationMenuRow.java
@@ -417,7 +417,7 @@
@Override
public void onHeightUpdate() {
- if (mParent == null || mMenuItems.size() == 0) {
+ if (mParent == null || mMenuItems.size() == 0 || mMenuContainer == null) {
return;
}
int parentHeight = mParent.getCollapsedHeight();
@@ -477,7 +477,7 @@
private void setMenuLocation() {
boolean showOnLeft = mTranslation > 0;
- if ((mIconsPlaced && showOnLeft == mOnLeft) || mSnapping
+ if ((mIconsPlaced && showOnLeft == mOnLeft) || mSnapping || mMenuContainer == null
|| !mMenuContainer.isAttachedToWindow()) {
// Do nothing
return;
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/SignalDrawable.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/SignalDrawable.java
index 983a796..1c34b7d 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/SignalDrawable.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/SignalDrawable.java
@@ -85,12 +85,8 @@
{-1.9f / VIEWPORT, -1.9f / VIEWPORT},
};
- // The easiest way to understand this is as if we set Style.STROKE and draw the triangle,
- // but that is only theoretically right. Instead, draw the triangle and clip out a smaller
- // one inset by this amount.
- private final float mEmptyStrokeWidth;
private static final float INV_TAN = 1f / (float) Math.tan(Math.PI / 8f);
- private final float mEmptyDiagInset; // == mEmptyStrokeWidth * INV_TAN
+ private static final float CUT_WIDTH_DP = 1f / 12f;
private final Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
private final Paint mForegroundPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
@@ -126,11 +122,6 @@
Utils.getDefaultColor(context, R.color.light_mode_icon_color_dual_tone_fill);
mIntrinsicSize = context.getResources().getDimensionPixelSize(R.dimen.signal_icon_size);
- // mCutPath parameters
- mEmptyStrokeWidth = context.getResources()
- .getDimensionPixelSize(R.dimen.mobile_signal_empty_strokewidth);
- mEmptyDiagInset = mEmptyStrokeWidth * INV_TAN;
-
mHandler = new Handler();
setDarkIntensity(0);
}
@@ -262,20 +253,22 @@
}
if (mState == STATE_EMPTY) {
+ final float cutWidth = CUT_WIDTH_DP * height;
+ final float cutDiagInset = cutWidth * INV_TAN;
+
// Cut out a smaller triangle from the center of mFullPath
mCutPath.reset();
mCutPath.setFillType(FillType.WINDING);
- mCutPath.moveTo(width - padding - mEmptyStrokeWidth,
- height - padding - mEmptyStrokeWidth);
- mCutPath.lineTo(width - padding - mEmptyStrokeWidth, padding + mEmptyDiagInset);
- mCutPath.lineTo(padding + mEmptyDiagInset, height - padding - mEmptyStrokeWidth);
- mCutPath.lineTo(width - padding - mEmptyStrokeWidth,
- height - padding - mEmptyStrokeWidth);
+ mCutPath.moveTo(width - padding - cutWidth,
+ height - padding - cutWidth);
+ mCutPath.lineTo(width - padding - cutWidth, padding + cutDiagInset);
+ mCutPath.lineTo(padding + cutDiagInset, height - padding - cutWidth);
+ mCutPath.lineTo(width - padding - cutWidth,
+ height - padding - cutWidth);
- // In empty state, draw the full path as the foreground paint
- mForegroundPath.set(mFullPath);
- mFullPath.reset();
- mForegroundPath.op(mCutPath, Path.Op.DIFFERENCE);
+ // Draw empty state as only background
+ mForegroundPath.reset();
+ mFullPath.op(mCutPath, Path.Op.DIFFERENCE);
} else if (mState == STATE_AIRPLANE) {
// Airplane mode is slashed, full-signal
mForegroundPath.set(mFullPath);
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java
index efce871..14868e0 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java
@@ -334,6 +334,10 @@
}
private boolean isRoaming() {
+ // During a carrier change, roaming indications need to be supressed.
+ if (isCarrierNetworkChangeActive()) {
+ return false;
+ }
if (isCdma()) {
final int iconMode = mServiceState.getCdmaEriIconMode();
return mServiceState.getCdmaEriIconIndex() != EriInfo.ROAMING_INDICATOR_OFF
diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationMenuRowTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationMenuRowTest.java
index e0d8042..4aa9877 100644
--- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationMenuRowTest.java
+++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationMenuRowTest.java
@@ -57,4 +57,10 @@
row.createMenu(null);
assertTrue(row.getMenuView() != null);
}
+
+ @Test
+ public void testResetUncreatedMenu() {
+ NotificationMenuRowPlugin row = new NotificationMenuRow(mContext);
+ row.resetMenu();
+ }
}
diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
index 1627925..15186dc 100644
--- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
+++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
@@ -496,6 +496,79 @@
DEFAULT_ICON /* typeIcon */);
}
+ @Test
+ public void testCarrierNetworkChange_roamingBeforeNetworkChange() {
+ int strength = SignalStrength.SIGNAL_STRENGTH_GREAT;
+
+ setupDefaultSignal();
+ setLevel(strength);
+ setGsmRoaming(true);
+
+ // Verify baseline
+ verifyLastMobileDataIndicators(true /* visible */,
+ strength /* strengthIcon */,
+ DEFAULT_ICON /* typeIcon */,
+ true /* roaming */);
+
+ // API call is made
+ setCarrierNetworkChange(true /* enabled */);
+
+ // Carrier network change is true, show special indicator, no roaming.
+ verifyLastMobileDataIndicators(true /* visible */,
+ SignalDrawable.getCarrierChangeState(SignalStrength.NUM_SIGNAL_STRENGTH_BINS),
+ 0 /* typeIcon */,
+ false /* roaming */);
+
+ // Revert back
+ setCarrierNetworkChange(false /* enabled */);
+
+ // Verify back in previous state
+ verifyLastMobileDataIndicators(true /* visible */,
+ strength /* strengthIcon */,
+ DEFAULT_ICON /* typeIcon */,
+ true /* roaming */);
+ }
+
+ @Test
+ public void testCarrierNetworkChange_roamingAfterNetworkChange() {
+ int strength = SignalStrength.SIGNAL_STRENGTH_GREAT;
+
+ setupDefaultSignal();
+ setLevel(strength);
+
+ // Verify baseline
+ verifyLastMobileDataIndicators(true /* visible */,
+ strength /* strengthIcon */,
+ DEFAULT_ICON /* typeIcon */,
+ false /* roaming */);
+
+ // API call is made
+ setCarrierNetworkChange(true /* enabled */);
+
+ // Carrier network change is true, show special indicator, no roaming.
+ verifyLastMobileDataIndicators(true /* visible */,
+ SignalDrawable.getCarrierChangeState(SignalStrength.NUM_SIGNAL_STRENGTH_BINS),
+ 0 /* typeIcon */,
+ false /* roaming */);
+
+ setGsmRoaming(true);
+
+ // Roaming should not show.
+ verifyLastMobileDataIndicators(true /* visible */,
+ SignalDrawable.getCarrierChangeState(SignalStrength.NUM_SIGNAL_STRENGTH_BINS),
+ 0 /* typeIcon */,
+ false /* roaming */);
+
+ // Revert back
+ setCarrierNetworkChange(false /* enabled */);
+
+ // Verify back in previous state
+ verifyLastMobileDataIndicators(true /* visible */,
+ strength /* strengthIcon */,
+ DEFAULT_ICON /* typeIcon */,
+ true /* roaming */);
+ }
+
private void verifyEmergencyOnly(boolean isEmergencyOnly) {
ArgumentCaptor<Boolean> emergencyOnly = ArgumentCaptor.forClass(Boolean.class);
Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setEmergencyCallsOnly(
diff --git a/services/accessibility/java/com/android/server/accessibility/AccessibilityInputFilter.java b/services/accessibility/java/com/android/server/accessibility/AccessibilityInputFilter.java
index 9e4d89c..0e42e6d 100644
--- a/services/accessibility/java/com/android/server/accessibility/AccessibilityInputFilter.java
+++ b/services/accessibility/java/com/android/server/accessibility/AccessibilityInputFilter.java
@@ -271,6 +271,7 @@
private void processKeyEvent(EventStreamState state, KeyEvent event, int policyFlags) {
if (!state.shouldProcessKeyEvent(event)) {
+ super.onInputEvent(event, policyFlags);
return;
}
mEventHandler.onKeyEvent(event, policyFlags);
diff --git a/services/backup/java/com/android/server/backup/BackupManagerService.java b/services/backup/java/com/android/server/backup/BackupManagerService.java
index 30de4ba..6f6e1b7 100644
--- a/services/backup/java/com/android/server/backup/BackupManagerService.java
+++ b/services/backup/java/com/android/server/backup/BackupManagerService.java
@@ -5666,13 +5666,15 @@
PerformFullTransportBackupTask pftbt = null;
synchronized (mQueueLock) {
if (mRunningFullBackupTask != null) {
- if (DEBUG_SCHEDULING) {
- Slog.i(TAG, "Telling running backup to stop");
- }
pftbt = mRunningFullBackupTask;
}
}
- pftbt.handleCancel(true);
+ if (pftbt != null) {
+ if (DEBUG_SCHEDULING) {
+ Slog.i(TAG, "Telling running backup to stop");
+ }
+ pftbt.handleCancel(true);
+ }
}
};
new Thread(endFullBackupRunnable, "end-full-backup").start();
diff --git a/services/companion/java/com/android/server/companion/CompanionDeviceManagerService.java b/services/companion/java/com/android/server/companion/CompanionDeviceManagerService.java
index 4810f4f..f47b0d3 100644
--- a/services/companion/java/com/android/server/companion/CompanionDeviceManagerService.java
+++ b/services/companion/java/com/android/server/companion/CompanionDeviceManagerService.java
@@ -383,7 +383,7 @@
findDeviceCallback,
getServiceCallback());
} catch (RemoteException e) {
- throw new RuntimeException(e);
+ Log.e(LOG_TAG, "Error while initiating device discovery", e);
}
}
diff --git a/services/core/java/com/android/server/BluetoothManagerService.java b/services/core/java/com/android/server/BluetoothManagerService.java
index 61057dd..75206e4 100644
--- a/services/core/java/com/android/server/BluetoothManagerService.java
+++ b/services/core/java/com/android/server/BluetoothManagerService.java
@@ -86,6 +86,8 @@
private static final int ACTIVE_LOG_MAX_SIZE = 20;
private static final int CRASH_LOG_MAX_SIZE = 100;
private static final String REASON_AIRPLANE_MODE = "airplane mode";
+ private static final String REASON_DISALLOWED = "disallowed by system";
+ private static final String REASON_SHARING_DISALLOWED = "sharing disallowed by system";
private static final String REASON_RESTARTED = "automatic restart";
private static final String REASON_START_CRASH = "turn-on crash";
private static final String REASON_SYSTEM_BOOT = "system boot";
@@ -227,25 +229,26 @@
@Override
public void onUserRestrictionsChanged(int userId, Bundle newRestrictions,
Bundle prevRestrictions) {
- if (!UserRestrictionsUtils.restrictionsChanged(prevRestrictions, newRestrictions,
- UserManager.DISALLOW_BLUETOOTH, UserManager.DISALLOW_BLUETOOTH_SHARING)) {
- return; // No relevant changes, nothing to do.
+
+ if (UserRestrictionsUtils.restrictionsChanged(prevRestrictions, newRestrictions,
+ UserManager.DISALLOW_BLUETOOTH_SHARING)) {
+ updateOppLauncherComponentState(userId, newRestrictions.getBoolean(
+ UserManager.DISALLOW_BLUETOOTH_SHARING));
}
- final boolean disallowed = newRestrictions.getBoolean(UserManager.DISALLOW_BLUETOOTH);
-
- // DISALLOW_BLUETOOTH is a global restriction that can only be set by DO or PO on the
- // system user, so we only look at the system user.
- if (userId == UserHandle.USER_SYSTEM && disallowed && (mEnable || mEnableExternal)) {
- try {
- disable(null /* packageName */, true /* persist */);
- } catch (RemoteException e) {
- Slog.w(TAG, "Exception when disabling Bluetooth", e);
+ // DISALLOW_BLUETOOTH can only be set by DO or PO on the system user.
+ if (userId == UserHandle.USER_SYSTEM &&
+ UserRestrictionsUtils.restrictionsChanged(
+ prevRestrictions, newRestrictions, UserManager.DISALLOW_BLUETOOTH)) {
+ if (userId == UserHandle.USER_SYSTEM && newRestrictions.getBoolean(
+ UserManager.DISALLOW_BLUETOOTH)) {
+ updateOppLauncherComponentState(userId, true); // Sharing disallowed
+ sendDisableMsg(REASON_DISALLOWED);
+ } else {
+ updateOppLauncherComponentState(userId, newRestrictions.getBoolean(
+ UserManager.DISALLOW_BLUETOOTH_SHARING));
}
}
- final boolean sharingDisallowed = disallowed
- || newRestrictions.getBoolean(UserManager.DISALLOW_BLUETOOTH_SHARING);
- updateOppLauncherComponentState(userId, sharingDisallowed);
}
};
@@ -2118,7 +2121,8 @@
: PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
try {
final IPackageManager imp = AppGlobals.getPackageManager();
- imp.setComponentEnabledSetting(oppLauncherComponent, newState, 0 /* flags */, userId);
+ imp.setComponentEnabledSetting(oppLauncherComponent, newState,
+ PackageManager.DONT_KILL_APP, userId);
} catch (Exception e) {
// The component was not found, do nothing.
}
diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java
index 5f679db..904059a 100644
--- a/services/core/java/com/android/server/am/ActivityManagerService.java
+++ b/services/core/java/com/android/server/am/ActivityManagerService.java
@@ -20,6 +20,7 @@
import static android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST;
import static android.Manifest.permission.INTERACT_ACROSS_USERS;
import static android.Manifest.permission.INTERACT_ACROSS_USERS_FULL;
+import static android.Manifest.permission.INTERNAL_SYSTEM_WINDOW;
import static android.Manifest.permission.MANAGE_ACTIVITY_STACKS;
import static android.Manifest.permission.READ_FRAME_BUFFER;
import static android.Manifest.permission.START_TASKS_FROM_RECENTS;
@@ -10228,7 +10229,7 @@
@Override
public void moveStackToDisplay(int stackId, int displayId) {
- enforceCallingPermission(MANAGE_ACTIVITY_STACKS, "moveStackToDisplay()");
+ enforceCallingPermission(INTERNAL_SYSTEM_WINDOW, "moveStackToDisplay()");
synchronized (this) {
final long ident = Binder.clearCallingIdentity();
diff --git a/services/core/java/com/android/server/am/ActivityStackSupervisor.java b/services/core/java/com/android/server/am/ActivityStackSupervisor.java
index fe0e07e..3de2036 100644
--- a/services/core/java/com/android/server/am/ActivityStackSupervisor.java
+++ b/services/core/java/com/android/server/am/ActivityStackSupervisor.java
@@ -16,6 +16,7 @@
package com.android.server.am;
+import static android.Manifest.permission.INTERNAL_SYSTEM_WINDOW;
import static android.Manifest.permission.MANAGE_ACTIVITY_STACKS;
import static android.Manifest.permission.START_ANY_ACTIVITY;
import static android.Manifest.permission.START_TASKS_FROM_RECENTS;
@@ -38,11 +39,13 @@
import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
import static android.content.pm.PackageManager.PERMISSION_GRANTED;
+import static android.os.Process.SYSTEM_UID;
import static android.os.Trace.TRACE_TAG_ACTIVITY_MANAGER;
import static android.view.Display.DEFAULT_DISPLAY;
import static android.view.Display.FLAG_PRIVATE;
import static android.view.Display.INVALID_DISPLAY;
import static android.view.Display.REMOVE_MODE_DESTROY_CONTENT;
+import static android.view.Display.TYPE_VIRTUAL;
import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_PICTURE_IN_PICTURE_EXPANDED_TO_FULLSCREEN;
import static com.android.server.am.ActivityManagerDebugConfig.DEBUG_ALL;
@@ -1678,6 +1681,24 @@
return false;
}
+ // Check if the caller can manage activity stacks.
+ final int startAnyPerm = mService.checkPermission(INTERNAL_SYSTEM_WINDOW, callingPid,
+ callingUid);
+ if (startAnyPerm == PERMISSION_GRANTED) {
+ if (DEBUG_TASKS) Slog.d(TAG, "Launch on display check:"
+ + " allow launch any on display");
+ return true;
+ }
+
+ if (activityDisplay.mDisplay.getType() == TYPE_VIRTUAL
+ && activityDisplay.mDisplay.getOwnerUid() != SYSTEM_UID) {
+ // Limit launching on virtual displays, because their contents can be read from Surface
+ // by apps that created them.
+ if (DEBUG_TASKS) Slog.d(TAG, "Launch on display check:"
+ + " disallow launch on virtual display for not-embedded activity");
+ return false;
+ }
+
if (!activityDisplay.isPrivate()) {
// Anyone can launch on a public display.
if (DEBUG_TASKS) Slog.d(TAG, "Launch on display check:"
@@ -1699,15 +1720,6 @@
return true;
}
- // Check if the caller can manage activity stacks.
- final int startAnyPerm = mService.checkPermission(MANAGE_ACTIVITY_STACKS, callingPid,
- callingUid);
- if (startAnyPerm == PERMISSION_GRANTED) {
- if (DEBUG_TASKS) Slog.d(TAG, "Launch on display check:"
- + " allow launch any on display");
- return true;
- }
-
Slog.w(TAG, "Launch on display check: denied");
return false;
}
diff --git a/services/core/java/com/android/server/am/ActivityStarter.java b/services/core/java/com/android/server/am/ActivityStarter.java
index a145435..a31c33e 100644
--- a/services/core/java/com/android/server/am/ActivityStarter.java
+++ b/services/core/java/com/android/server/am/ActivityStarter.java
@@ -17,6 +17,7 @@
package com.android.server.am;
import static android.app.Activity.RESULT_CANCELED;
+import static android.app.ActivityManager.START_ABORTED;
import static android.app.ActivityManager.START_CANCELED;
import static android.app.ActivityManager.START_CLASS_NOT_FOUND;
import static android.app.ActivityManager.START_DELIVERED_TO_TOP;
@@ -279,7 +280,9 @@
// mLastStartActivityRecord[0] is set in the call to startActivity above.
outActivity[0] = mLastStartActivityRecord[0];
}
- return mLastStartActivityResult;
+
+ // Aborted results are treated as successes externally, but we must track them internally.
+ return mLastStartActivityResult != START_ABORTED ? mLastStartActivityResult : START_SUCCESS;
}
/** DO NOT call this method directly. Use {@link #startActivityLocked} instead. */
@@ -465,7 +468,7 @@
// We pretend to the caller that it was really started, but
// they will just get a cancel result.
ActivityOptions.abort(options);
- return START_SUCCESS;
+ return START_ABORTED;
}
// If permissions need a review before any of the app components can run, we
diff --git a/services/core/java/com/android/server/am/BroadcastQueue.java b/services/core/java/com/android/server/am/BroadcastQueue.java
index b3a2c29..2142c94 100644
--- a/services/core/java/com/android/server/am/BroadcastQueue.java
+++ b/services/core/java/com/android/server/am/BroadcastQueue.java
@@ -802,7 +802,7 @@
IPackageManager pm = AppGlobals.getPackageManager();
for (int i = perms.length-1; i >= 0; i--) {
try {
- PermissionInfo pi = pm.getPermissionInfo(perms[i], 0);
+ PermissionInfo pi = pm.getPermissionInfo(perms[i], "android", 0);
if ((pi.protectionLevel & (PermissionInfo.PROTECTION_MASK_BASE
| PermissionInfo.PROTECTION_FLAG_PRIVILEGED))
!= PermissionInfo.PROTECTION_SIGNATURE) {
diff --git a/services/core/java/com/android/server/connectivity/Tethering.java b/services/core/java/com/android/server/connectivity/Tethering.java
index dfc2db5..b0be8f7 100644
--- a/services/core/java/com/android/server/connectivity/Tethering.java
+++ b/services/core/java/com/android/server/connectivity/Tethering.java
@@ -70,9 +70,6 @@
import android.os.RemoteException;
import android.os.ResultReceiver;
import android.os.UserHandle;
-import android.os.UserManager;
-import android.os.UserManagerInternal;
-import android.os.UserManagerInternal.UserRestrictionsListener;
import android.provider.Settings;
import android.telephony.CarrierConfigManager;
import android.telephony.TelephonyManager;
@@ -92,7 +89,6 @@
import com.android.internal.util.Protocol;
import com.android.internal.util.State;
import com.android.internal.util.StateMachine;
-import com.android.server.LocalServices;
import com.android.server.connectivity.tethering.IControlsTethering;
import com.android.server.connectivity.tethering.IPv6TetheringCoordinator;
import com.android.server.connectivity.tethering.OffloadController;
@@ -240,13 +236,6 @@
filter.addDataScheme("file");
mContext.registerReceiver(mStateReceiver, filter, null, smHandler);
- UserManagerInternal userManager = LocalServices.getService(UserManagerInternal.class);
-
- // this check is useful only for some unit tests; example: ConnectivityServiceTest
- if (userManager != null) {
- userManager.addUserRestrictionsListener(new TetheringUserRestrictionListener(this));
- }
-
// load device config info
updateConfiguration();
}
@@ -721,11 +710,6 @@
}
private void showTetheredNotification(int id) {
- showTetheredNotification(id, true);
- }
-
- @VisibleForTesting
- protected void showTetheredNotification(int id, boolean tetheringOn) {
NotificationManager notificationManager =
(NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
if (notificationManager == null) {
@@ -762,16 +746,9 @@
null, UserHandle.CURRENT);
Resources r = Resources.getSystem();
- final CharSequence title;
- final CharSequence message;
-
- if (tetheringOn) {
- title = r.getText(com.android.internal.R.string.tethered_notification_title);
- message = r.getText(com.android.internal.R.string.tethered_notification_message);
- } else {
- title = r.getText(com.android.internal.R.string.disable_tether_notification_title);
- message = r.getText(com.android.internal.R.string.disable_tether_notification_message);
- }
+ CharSequence title = r.getText(com.android.internal.R.string.tethered_notification_title);
+ CharSequence message = r.getText(com.android.internal.R.string.
+ tethered_notification_message);
if (mTetheredNotificationBuilder == null) {
mTetheredNotificationBuilder =
@@ -793,8 +770,7 @@
mTetheredNotificationBuilder.buildInto(new Notification()), UserHandle.ALL);
}
- @VisibleForTesting
- protected void clearTetheredNotification() {
+ private void clearTetheredNotification() {
NotificationManager notificationManager =
(NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
if (notificationManager != null && mLastNotificationId != 0) {
@@ -898,38 +874,6 @@
}
}
- @VisibleForTesting
- protected static class TetheringUserRestrictionListener implements UserRestrictionsListener {
- private final Tethering mWrapper;
-
- public TetheringUserRestrictionListener(Tethering wrapper) {
- mWrapper = wrapper;
- }
-
- public void onUserRestrictionsChanged(int userId,
- Bundle newRestrictions,
- Bundle prevRestrictions) {
- final boolean newlyDisallowed =
- newRestrictions.getBoolean(UserManager.DISALLOW_CONFIG_TETHERING);
- final boolean previouslyDisallowed =
- prevRestrictions.getBoolean(UserManager.DISALLOW_CONFIG_TETHERING);
- final boolean tetheringDisallowedChanged = (newlyDisallowed != previouslyDisallowed);
-
- if (!tetheringDisallowedChanged) {
- return;
- }
-
- mWrapper.clearTetheredNotification();
- final boolean isTetheringActiveOnDevice = (mWrapper.getTetheredIfaces().length != 0);
-
- if (newlyDisallowed && isTetheringActiveOnDevice) {
- mWrapper.showTetheredNotification(
- com.android.internal.R.drawable.stat_sys_tether_general, false);
- mWrapper.untetherAll();
- }
- }
- }
-
private void disableWifiIpServingLocked(String ifname, int apState) {
mLog.log("Canceling WiFi tethering request - AP_STATE=" + apState);
diff --git a/services/core/java/com/android/server/location/GpsXtraDownloader.java b/services/core/java/com/android/server/location/GpsXtraDownloader.java
index 62332c9..c012ee4 100644
--- a/services/core/java/com/android/server/location/GpsXtraDownloader.java
+++ b/services/core/java/com/android/server/location/GpsXtraDownloader.java
@@ -41,6 +41,7 @@
private static final long MAXIMUM_CONTENT_LENGTH_BYTES = 1000000; // 1MB.
private static final String DEFAULT_USER_AGENT = "Android";
private static final int CONNECTION_TIMEOUT_MS = (int) TimeUnit.SECONDS.toMillis(30);
+ private static final int READ_TIMEOUT_MS = (int) TimeUnit.SECONDS.toMillis(60);
private final String[] mXtraServers;
// to load balance our server requests
@@ -123,6 +124,7 @@
"x-wap-profile",
"http://www.openmobilealliance.org/tech/profiles/UAPROF/ccppschema-20021212#");
connection.setConnectTimeout(CONNECTION_TIMEOUT_MS);
+ connection.setReadTimeout(READ_TIMEOUT_MS);
connection.connect();
int statusCode = connection.getResponseCode();
diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java
index 9f518c3..d5f059e 100644
--- a/services/core/java/com/android/server/pm/PackageManagerService.java
+++ b/services/core/java/com/android/server/pm/PackageManagerService.java
@@ -3996,20 +3996,69 @@
}
@Override
- public PermissionInfo getPermissionInfo(String name, int flags) {
- if (getInstantAppPackageName(Binder.getCallingUid()) != null) {
+ public PermissionInfo getPermissionInfo(String name, String packageName, int flags) {
+ final int callingUid = Binder.getCallingUid();
+ if (getInstantAppPackageName(callingUid) != null) {
return null;
}
// reader
synchronized (mPackages) {
final BasePermission p = mSettings.mPermissions.get(name);
- if (p != null) {
- return generatePermissionInfo(p, flags);
+ if (p == null) {
+ return null;
}
- return null;
+ // If the caller is an app that targets pre 26 SDK drop protection flags.
+ final PermissionInfo permissionInfo = generatePermissionInfo(p, flags);
+ if (permissionInfo != null) {
+ permissionInfo.protectionLevel = adjustPermissionProtectionFlagsLPr(
+ permissionInfo.protectionLevel, packageName, callingUid);
+ }
+ return permissionInfo;
}
}
+ private int adjustPermissionProtectionFlagsLPr(int protectionLevel,
+ String packageName, int uid) {
+ // Signature permission flags area always reported
+ final int protectionLevelMasked = protectionLevel
+ & (PermissionInfo.PROTECTION_NORMAL
+ | PermissionInfo.PROTECTION_DANGEROUS
+ | PermissionInfo.PROTECTION_SIGNATURE);
+ if (protectionLevelMasked == PermissionInfo.PROTECTION_SIGNATURE) {
+ return protectionLevel;
+ }
+
+ // System sees all flags.
+ final int appId = UserHandle.getAppId(uid);
+ if (appId == Process.SYSTEM_UID || appId == Process.ROOT_UID
+ || appId == Process.SHELL_UID) {
+ return protectionLevel;
+ }
+
+ // Normalize package name to handle renamed packages and static libs
+ packageName = resolveInternalPackageNameLPr(packageName,
+ PackageManager.VERSION_CODE_HIGHEST);
+
+ // Apps that target O see flags for all protection levels.
+ final PackageSetting ps = mSettings.mPackages.get(packageName);
+ if (ps == null) {
+ return protectionLevel;
+ }
+ if (ps.appId != appId) {
+ return protectionLevel;
+ }
+
+ final PackageParser.Package pkg = mPackages.get(packageName);
+ if (pkg == null) {
+ return protectionLevel;
+ }
+ if (pkg.applicationInfo.targetSdkVersion < Build.VERSION_CODES.O) {
+ return protectionLevelMasked;
+ }
+
+ return protectionLevel;
+ }
+
@Override
public @Nullable ParceledListSlice<PermissionInfo> queryPermissionsByGroup(String group,
int flags) {
diff --git a/services/core/java/com/android/server/pm/PackageManagerShellCommand.java b/services/core/java/com/android/server/pm/PackageManagerShellCommand.java
index f3a292b..20d7b28 100644
--- a/services/core/java/com/android/server/pm/PackageManagerShellCommand.java
+++ b/services/core/java/com/android/server/pm/PackageManagerShellCommand.java
@@ -1018,7 +1018,7 @@
throw new RuntimeException(e.getMessage(), e);
}
try {
- ResolveInfo ri = mInterface.resolveIntent(intent, null, 0, mTargetUser);
+ ResolveInfo ri = mInterface.resolveIntent(intent, intent.getType(), 0, mTargetUser);
PrintWriter pw = getOutPrintWriter();
if (ri == null) {
pw.println("No activity found");
@@ -1040,7 +1040,7 @@
throw new RuntimeException(e.getMessage(), e);
}
try {
- List<ResolveInfo> result = mInterface.queryIntentActivities(intent, null, 0,
+ List<ResolveInfo> result = mInterface.queryIntentActivities(intent, intent.getType(), 0,
mTargetUser).getList();
PrintWriter pw = getOutPrintWriter();
if (result == null || result.size() <= 0) {
@@ -1074,7 +1074,7 @@
throw new RuntimeException(e.getMessage(), e);
}
try {
- List<ResolveInfo> result = mInterface.queryIntentServices(intent, null, 0,
+ List<ResolveInfo> result = mInterface.queryIntentServices(intent, intent.getType(), 0,
mTargetUser).getList();
PrintWriter pw = getOutPrintWriter();
if (result == null || result.size() <= 0) {
@@ -1108,7 +1108,7 @@
throw new RuntimeException(e.getMessage(), e);
}
try {
- List<ResolveInfo> result = mInterface.queryIntentReceivers(intent, null, 0,
+ List<ResolveInfo> result = mInterface.queryIntentReceivers(intent, intent.getType(), 0,
mTargetUser).getList();
PrintWriter pw = getOutPrintWriter();
if (result == null || result.size() <= 0) {
diff --git a/services/core/java/com/android/server/policy/PhoneWindowManager.java b/services/core/java/com/android/server/policy/PhoneWindowManager.java
index 8112f99..4477e5a 100644
--- a/services/core/java/com/android/server/policy/PhoneWindowManager.java
+++ b/services/core/java/com/android/server/policy/PhoneWindowManager.java
@@ -1689,8 +1689,17 @@
}
boolean isUserSetupComplete() {
- return Settings.Secure.getIntForUser(mContext.getContentResolver(),
+ boolean isSetupComplete = Settings.Secure.getIntForUser(mContext.getContentResolver(),
Settings.Secure.USER_SETUP_COMPLETE, 0, UserHandle.USER_CURRENT) != 0;
+ if (mHasFeatureLeanback) {
+ isSetupComplete &= isTvUserSetupComplete();
+ }
+ return isSetupComplete;
+ }
+
+ private boolean isTvUserSetupComplete() {
+ return Settings.Secure.getIntForUser(mContext.getContentResolver(),
+ Settings.Secure.TV_USER_SETUP_COMPLETE, 0, UserHandle.USER_CURRENT) != 0;
}
private void handleShortPressOnHome() {
diff --git a/services/core/java/com/android/server/wm/AppWindowContainerController.java b/services/core/java/com/android/server/wm/AppWindowContainerController.java
index 5f34c60..4e4398e 100644
--- a/services/core/java/com/android/server/wm/AppWindowContainerController.java
+++ b/services/core/java/com/android/server/wm/AppWindowContainerController.java
@@ -614,7 +614,7 @@
return STARTING_WINDOW_TYPE_SPLASH_SCREEN;
} else if (taskSwitch && allowTaskSnapshot) {
return snapshot == null ? STARTING_WINDOW_TYPE_NONE
- : snapshotOrientationSameAsDisplay(snapshot) || fromRecents
+ : snapshotOrientationSameAsTask(snapshot) || fromRecents
? STARTING_WINDOW_TYPE_SNAPSHOT : STARTING_WINDOW_TYPE_SPLASH_SCREEN;
} else {
return STARTING_WINDOW_TYPE_NONE;
@@ -640,24 +640,11 @@
return true;
}
- private boolean snapshotOrientationSameAsDisplay(TaskSnapshot snapshot) {
+ private boolean snapshotOrientationSameAsTask(TaskSnapshot snapshot) {
if (snapshot == null) {
return false;
}
- final Rect rect = new Rect(0, 0, snapshot.getSnapshot().getWidth(),
- snapshot.getSnapshot().getHeight());
- rect.inset(snapshot.getContentInsets());
- final Rect taskBoundsWithoutInsets = new Rect();
- mContainer.getTask().getBounds(taskBoundsWithoutInsets);
- final DisplayInfo di = mContainer.getDisplayContent().getDisplayInfo();
- final Rect displayBounds = new Rect(0, 0, di.logicalWidth, di.logicalHeight);
- final Rect stableInsets = new Rect();
- mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
- stableInsets);
- displayBounds.inset(stableInsets);
- final boolean snapshotInLandscape = rect.width() >= rect.height();
- final boolean displayInLandscape = displayBounds.width() >= displayBounds.height();
- return snapshotInLandscape == displayInLandscape;
+ return mContainer.getTask().getConfiguration().orientation == snapshot.getOrientation();
}
public void removeStartingWindow() {
diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/NetworkLoggingHandler.java b/services/devicepolicy/java/com/android/server/devicepolicy/NetworkLoggingHandler.java
index 70c7e58..6086354 100644
--- a/services/devicepolicy/java/com/android/server/devicepolicy/NetworkLoggingHandler.java
+++ b/services/devicepolicy/java/com/android/server/devicepolicy/NetworkLoggingHandler.java
@@ -25,8 +25,8 @@
import android.os.Looper;
import android.os.Message;
import android.os.SystemClock;
-import android.util.Log;
import android.util.LongSparseArray;
+import android.util.Slog;
import com.android.internal.annotations.GuardedBy;
@@ -60,16 +60,21 @@
/** Delay after which older batches get discarded after a retrieval. */
private static final long RETRIEVED_BATCH_DISCARD_DELAY_MS = 5 * 60 * 1000; // 5m
+ /** Do not call into mDpm with locks held */
private final DevicePolicyManagerService mDpm;
private final AlarmManager mAlarmManager;
private final OnAlarmListener mBatchTimeoutAlarmListener = new OnAlarmListener() {
@Override
public void onAlarm() {
- Log.d(TAG, "Received a batch finalization timeout alarm, finalizing "
+ Slog.d(TAG, "Received a batch finalization timeout alarm, finalizing "
+ mNetworkEvents.size() + " pending events.");
+ Bundle notificationExtras = null;
synchronized (NetworkLoggingHandler.this) {
- finalizeBatchAndNotifyDeviceOwnerLocked();
+ notificationExtras = finalizeBatchAndBuildDeviceOwnerMessageLocked();
+ }
+ if (notificationExtras != null) {
+ notifyDeviceOwner(notificationExtras);
}
}
};
@@ -110,17 +115,21 @@
case LOG_NETWORK_EVENT_MSG: {
final NetworkEvent networkEvent = msg.getData().getParcelable(NETWORK_EVENT_KEY);
if (networkEvent != null) {
+ Bundle notificationExtras = null;
synchronized (NetworkLoggingHandler.this) {
mNetworkEvents.add(networkEvent);
if (mNetworkEvents.size() >= MAX_EVENTS_PER_BATCH) {
- finalizeBatchAndNotifyDeviceOwnerLocked();
+ notificationExtras = finalizeBatchAndBuildDeviceOwnerMessageLocked();
}
}
+ if (notificationExtras != null) {
+ notifyDeviceOwner(notificationExtras);
+ }
}
break;
}
default: {
- Log.d(TAG, "NetworkLoggingHandler received an unknown of message.");
+ Slog.d(TAG, "NetworkLoggingHandler received an unknown of message.");
break;
}
}
@@ -133,40 +142,48 @@
mAlarmManager.setWindow(AlarmManager.ELAPSED_REALTIME_WAKEUP, when,
BATCH_FINALIZATION_TIMEOUT_ALARM_INTERVAL_MS, NETWORK_LOGGING_TIMEOUT_ALARM_TAG,
mBatchTimeoutAlarmListener, this);
- Log.d(TAG, "Scheduled a new batch finalization alarm " + BATCH_FINALIZATION_TIMEOUT_MS
+ Slog.d(TAG, "Scheduled a new batch finalization alarm " + BATCH_FINALIZATION_TIMEOUT_MS
+ "ms from now.");
}
synchronized void pause() {
- Log.d(TAG, "Paused network logging");
+ Slog.d(TAG, "Paused network logging");
mPaused = true;
}
- synchronized void resume() {
- if (!mPaused) {
- Log.d(TAG, "Attempted to resume network logging, but logging is not paused.");
- return;
+ void resume() {
+ Bundle notificationExtras = null;
+ synchronized (this) {
+ if (!mPaused) {
+ Slog.d(TAG, "Attempted to resume network logging, but logging is not paused.");
+ return;
+ }
+
+ Slog.d(TAG, "Resumed network logging. Current batch=" + mCurrentBatchToken
+ + ", LastRetrievedBatch=" + mLastRetrievedBatchToken);
+ mPaused = false;
+
+ // If there is a batch ready that the device owner hasn't been notified about, do it now.
+ if (mBatches.size() > 0 && mLastRetrievedBatchToken != mCurrentBatchToken) {
+ scheduleBatchFinalization();
+ notificationExtras = buildDeviceOwnerMessageLocked();
+ }
}
-
- Log.d(TAG, "Resumed network logging. Current batch=" + mCurrentBatchToken
- + ", LastRetrievedBatch=" + mLastRetrievedBatchToken);
- mPaused = false;
-
- // If there is a batch ready that the device owner hasn't been notified about, do it now.
- if (mBatches.size() > 0 && mLastRetrievedBatchToken != mCurrentBatchToken) {
- scheduleBatchFinalization();
- notifyDeviceOwnerLocked();
+ if (notificationExtras != null) {
+ notifyDeviceOwner(notificationExtras);
}
}
synchronized void discardLogs() {
mBatches.clear();
mNetworkEvents = new ArrayList<>();
- Log.d(TAG, "Discarded all network logs");
+ Slog.d(TAG, "Discarded all network logs");
}
@GuardedBy("this")
- private void finalizeBatchAndNotifyDeviceOwnerLocked() {
+ /** @returns extras if a message should be sent to the device owner */
+ private Bundle finalizeBatchAndBuildDeviceOwnerMessageLocked() {
+ Bundle notificationExtras = null;
if (mNetworkEvents.size() > 0) {
// Finalize the batch and start a new one from scratch.
if (mBatches.size() >= MAX_BATCHES) {
@@ -177,27 +194,39 @@
mBatches.append(mCurrentBatchToken, mNetworkEvents);
mNetworkEvents = new ArrayList<>();
if (!mPaused) {
- notifyDeviceOwnerLocked();
+ notificationExtras = buildDeviceOwnerMessageLocked();
}
} else {
// Don't notify the DO, since there are no events; DPC can still retrieve
// the last full batch if not paused.
- Log.d(TAG, "Was about to finalize the batch, but there were no events to send to"
+ Slog.d(TAG, "Was about to finalize the batch, but there were no events to send to"
+ " the DPC, the batchToken of last available batch: " + mCurrentBatchToken);
}
// Regardless of whether the batch was non-empty schedule a new finalization after timeout.
scheduleBatchFinalization();
+ return notificationExtras;
}
- /** Sends a notification to the DO. Should only be called when there is a batch available. */
@GuardedBy("this")
- private void notifyDeviceOwnerLocked() {
+ /** Build extras notification to the DO. Should only be called when there
+ is a batch available. */
+ private Bundle buildDeviceOwnerMessageLocked() {
final Bundle extras = new Bundle();
final int lastBatchSize = mBatches.valueAt(mBatches.size() - 1).size();
extras.putLong(DeviceAdminReceiver.EXTRA_NETWORK_LOGS_TOKEN, mCurrentBatchToken);
extras.putInt(DeviceAdminReceiver.EXTRA_NETWORK_LOGS_COUNT, lastBatchSize);
- Log.d(TAG, "Sending network logging batch broadcast to device owner, batchToken: "
- + mCurrentBatchToken);
+ return extras;
+ }
+
+ /** Sends a notification to the DO. Should not hold locks as DevicePolicyManagerService may
+ call into NetworkLoggingHandler. */
+ private void notifyDeviceOwner(Bundle extras) {
+ Slog.d(TAG, "Sending network logging batch broadcast to device owner, batchToken: "
+ + extras.getLong(DeviceAdminReceiver.EXTRA_NETWORK_LOGS_TOKEN, -1));
+ if (Thread.holdsLock(this)) {
+ Slog.wtfStack(TAG, "Shouldn't be called with NetworkLoggingHandler lock held");
+ return;
+ }
mDpm.sendDeviceOwnerCommand(DeviceAdminReceiver.ACTION_NETWORK_LOGS_AVAILABLE, extras);
}
diff --git a/tests/net/java/com/android/server/connectivity/TetheringTest.java b/tests/net/java/com/android/server/connectivity/TetheringTest.java
index 212f477..3f0eacf 100644
--- a/tests/net/java/com/android/server/connectivity/TetheringTest.java
+++ b/tests/net/java/com/android/server/connectivity/TetheringTest.java
@@ -40,7 +40,6 @@
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoMoreInteractions;
import static org.mockito.Mockito.when;
-import static org.mockito.Mockito.mock;
import android.content.BroadcastReceiver;
import android.content.ContentResolver;
@@ -60,14 +59,12 @@
import android.net.util.SharedLog;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiManager;
-import android.os.Bundle;
import android.os.Handler;
import android.os.INetworkManagementService;
import android.os.PersistableBundle;
import android.os.RemoteException;
import android.os.test.TestLooper;
import android.os.UserHandle;
-import android.os.UserManager;
import android.provider.Settings;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
@@ -410,7 +407,7 @@
when(mWifiManager.startSoftAp(any(WifiConfiguration.class))).thenReturn(true);
// Emulate pressing the WiFi tethering button.
- mTethering.startTethering(ConnectivityManager.TETHERING_WIFI, null, false);
+ mTethering.startTethering(TETHERING_WIFI, null, false);
mLooper.dispatchAll();
verify(mWifiManager, times(1)).startSoftAp(null);
verifyNoMoreInteractions(mWifiManager);
@@ -561,90 +558,6 @@
verifyNoMoreInteractions(mNMService);
}
- private void userRestrictionsListenerBehaviour(
- boolean currentDisallow, boolean nextDisallow, String[] activeTetheringIfacesList,
- int expectedInteractionsWithShowNotification) throws Exception {
- final int userId = 0;
- final Bundle currRestrictions = new Bundle();
- final Bundle newRestrictions = new Bundle();
- Tethering tethering = mock(Tethering.class);
- Tethering.TetheringUserRestrictionListener turl =
- new Tethering.TetheringUserRestrictionListener(tethering);
-
- currRestrictions.putBoolean(UserManager.DISALLOW_CONFIG_TETHERING, currentDisallow);
- newRestrictions.putBoolean(UserManager.DISALLOW_CONFIG_TETHERING, nextDisallow);
- when(tethering.getTetheredIfaces()).thenReturn(activeTetheringIfacesList);
-
- turl.onUserRestrictionsChanged(userId, newRestrictions, currRestrictions);
-
- verify(tethering, times(expectedInteractionsWithShowNotification))
- .showTetheredNotification(anyInt(), eq(false));
-
- verify(tethering, times(expectedInteractionsWithShowNotification)).untetherAll();
- }
-
- @Test
- public void testDisallowTetheringWhenNoTetheringInterfaceIsActive() throws Exception {
- final String[] emptyActiveIfacesList = new String[]{};
- final boolean currDisallow = false;
- final boolean nextDisallow = true;
- final int expectedInteractionsWithShowNotification = 0;
-
- userRestrictionsListenerBehaviour(currDisallow, nextDisallow, emptyActiveIfacesList,
- expectedInteractionsWithShowNotification);
- }
-
- @Test
- public void testDisallowTetheringWhenAtLeastOneTetheringInterfaceIsActive() throws Exception {
- final String[] nonEmptyActiveIfacesList = new String[]{mTestIfname};
- final boolean currDisallow = false;
- final boolean nextDisallow = true;
- final int expectedInteractionsWithShowNotification = 1;
-
- userRestrictionsListenerBehaviour(currDisallow, nextDisallow, nonEmptyActiveIfacesList,
- expectedInteractionsWithShowNotification);
- }
-
- @Test
- public void testAllowTetheringWhenNoTetheringInterfaceIsActive() throws Exception {
- final String[] nonEmptyActiveIfacesList = new String[]{};
- final boolean currDisallow = true;
- final boolean nextDisallow = false;
- final int expectedInteractionsWithShowNotification = 0;
-
- userRestrictionsListenerBehaviour(currDisallow, nextDisallow, nonEmptyActiveIfacesList,
- expectedInteractionsWithShowNotification);
- }
-
- @Test
- public void testAllowTetheringWhenAtLeastOneTetheringInterfaceIsActive() throws Exception {
- final String[] nonEmptyActiveIfacesList = new String[]{mTestIfname};
- final boolean currDisallow = true;
- final boolean nextDisallow = false;
- final int expectedInteractionsWithShowNotification = 0;
-
- userRestrictionsListenerBehaviour(currDisallow, nextDisallow, nonEmptyActiveIfacesList,
- expectedInteractionsWithShowNotification);
- }
-
- @Test
- public void testDisallowTetheringUnchanged() throws Exception {
- final String[] nonEmptyActiveIfacesList = new String[]{mTestIfname};
- final int expectedInteractionsWithShowNotification = 0;
- boolean currDisallow = true;
- boolean nextDisallow = true;
-
- userRestrictionsListenerBehaviour(currDisallow, nextDisallow, nonEmptyActiveIfacesList,
- expectedInteractionsWithShowNotification);
-
- currDisallow = false;
- nextDisallow = false;
-
- userRestrictionsListenerBehaviour(currDisallow, nextDisallow, nonEmptyActiveIfacesList,
- expectedInteractionsWithShowNotification);
- }
-
-
// TODO: Test that a request for hotspot mode doesn't interfere with an
// already operating tethering mode interface.
}