Compose the main stubs jars from module stubs
This adds stub generation for the non-updatable part of the platform,
and changes the full stub jars to be a combination of multiple jars:
the stubs of the updatable modules and the stubs of the remaining part
of the platform.
Composing the stub jars like this allows overriding the individual parts
with prebuilts rather than building everything from source. This makes
the build safer, as we can make sure that the stub of the apex that is
used is also what is used to build the rest of the platform against.
The monolithic droidstubs rules remain for now, as it has other
functions than generating stub sources (api lint, current.txt,
checklast). It remains a goal to get rid of this, but by submitting this
CL first it can be done in steps.
Bug: 144149403
Test: m android{,_system}_{monolith,merged}_stubs_current
Test: m
Change-Id: I255486112c03f237aa342cfb93f3b473a2f50470
Merged-In: I255486112c03f237aa342cfb93f3b473a2f50470
This commit is contained in:
117
StubLibraries.bp
117
StubLibraries.bp
@@ -84,7 +84,7 @@ stubs_defaults {
|
||||
// finalized stub library to resolve them. If a new class gets added,
|
||||
// this may be need to be revisited to use a manually maintained stub
|
||||
// library with empty classes in order to resolve those references.
|
||||
libs: ["sdk_system_29_android"],
|
||||
libs: ["sdk_system_30_android"],
|
||||
aidl: {
|
||||
local_include_dirs: ["apex/media/aidl/stable"],
|
||||
},
|
||||
@@ -129,6 +129,23 @@ droidstubs {
|
||||
jdiff_enabled: true,
|
||||
}
|
||||
|
||||
droidstubs {
|
||||
name: "api-stubs-docs-non-updatable",
|
||||
defaults: ["metalava-non-updatable-api-stubs-default"],
|
||||
arg_files: ["core/res/AndroidManifest.xml"],
|
||||
args: metalava_framework_docs_args,
|
||||
check_api: {
|
||||
current: {
|
||||
api_file: "non-updatable-api/current.txt",
|
||||
removed_api_file: "non-updatable-api/removed.txt",
|
||||
},
|
||||
api_lint: {
|
||||
enabled: true,
|
||||
new_since: ":android-non-updatable.api.public.latest",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
priv_apps = " " +
|
||||
"--show-annotation android.annotation.SystemApi\\(" +
|
||||
"client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
|
||||
@@ -171,6 +188,24 @@ droidstubs {
|
||||
jdiff_enabled: true,
|
||||
}
|
||||
|
||||
droidstubs {
|
||||
name: "system-api-stubs-docs-non-updatable",
|
||||
defaults: ["metalava-non-updatable-api-stubs-default"],
|
||||
arg_files: ["core/res/AndroidManifest.xml"],
|
||||
args: metalava_framework_docs_args + priv_apps,
|
||||
check_api: {
|
||||
current: {
|
||||
api_file: "non-updatable-api/system-current.txt",
|
||||
removed_api_file: "non-updatable-api/system-removed.txt",
|
||||
},
|
||||
api_lint: {
|
||||
enabled: true,
|
||||
new_since: ":android-non-updatable.api.system.latest",
|
||||
baseline_file: "non-updatable-api/system-lint-baseline.txt",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
droidstubs {
|
||||
name: "test-api-stubs-docs",
|
||||
defaults: ["metalava-full-api-stubs-default"],
|
||||
@@ -234,6 +269,22 @@ droidstubs {
|
||||
},
|
||||
}
|
||||
|
||||
droidstubs {
|
||||
name: "module-lib-api-stubs-docs-non-updatable",
|
||||
defaults: ["metalava-non-updatable-api-stubs-default"],
|
||||
arg_files: ["core/res/AndroidManifest.xml"],
|
||||
args: metalava_framework_docs_args + module_libs,
|
||||
check_api: {
|
||||
current: {
|
||||
api_file: "non-updatable-api/module-lib-current.txt",
|
||||
removed_api_file: "non-updatable-api/module-lib-removed.txt",
|
||||
},
|
||||
api_lint: {
|
||||
enabled: true,
|
||||
new_since: ":android-non-updatable.api.module-lib.latest",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
// The following droidstub module generates source files for the API stub library for
|
||||
// modules. Note that it not only includes its own APIs but also other APIs that have
|
||||
@@ -267,19 +318,65 @@ java_defaults {
|
||||
}
|
||||
|
||||
java_library_static {
|
||||
name: "android_stubs_current",
|
||||
name: "android_monolith_stubs_current",
|
||||
srcs: [ ":api-stubs-docs" ],
|
||||
static_libs: [ "private-stub-annotations-jar" ],
|
||||
defaults: ["android_defaults_stubs_current"],
|
||||
}
|
||||
|
||||
java_library_static {
|
||||
name: "android_system_stubs_current",
|
||||
name: "android_merged_stubs_current",
|
||||
srcs: [ ":api-stubs-docs-non-updatable" ],
|
||||
static_libs: [
|
||||
"conscrypt.module.public.api.stubs",
|
||||
"framework-media-stubs-publicapi",
|
||||
"framework-mediaprovider-stubs-publicapi",
|
||||
"framework-permission-stubs-publicapi",
|
||||
"framework-sdkextensions-stubs-publicapi",
|
||||
"framework-statsd-stubs-publicapi",
|
||||
"framework-tethering-stubs-publicapi",
|
||||
"framework-wifi-stubs-publicapi",
|
||||
"private-stub-annotations-jar",
|
||||
],
|
||||
defaults: ["android_defaults_stubs_current"],
|
||||
}
|
||||
|
||||
java_library_static {
|
||||
name: "android_stubs_current",
|
||||
static_libs: ["android_merged_stubs_current"],
|
||||
defaults: ["android_defaults_stubs_current"],
|
||||
}
|
||||
|
||||
java_library_static {
|
||||
name: "android_system_monolith_stubs_current",
|
||||
srcs: [ ":system-api-stubs-docs" ],
|
||||
static_libs: [ "private-stub-annotations-jar" ],
|
||||
defaults: ["android_defaults_stubs_current"],
|
||||
}
|
||||
|
||||
java_library_static {
|
||||
name: "android_system_merged_stubs_current",
|
||||
srcs: [ ":system-api-stubs-docs-non-updatable" ],
|
||||
static_libs: [
|
||||
"conscrypt.module.public.api.stubs",
|
||||
"framework-media-stubs-systemapi",
|
||||
"framework-mediaprovider-stubs-systemapi",
|
||||
"framework-permission-stubs-systemapi",
|
||||
"framework-sdkextensions-stubs-systemapi",
|
||||
"framework-statsd-stubs-systemapi",
|
||||
"framework-tethering-stubs-systemapi",
|
||||
"framework-wifi-stubs-systemapi",
|
||||
"private-stub-annotations-jar",
|
||||
],
|
||||
defaults: ["android_defaults_stubs_current"],
|
||||
}
|
||||
|
||||
java_library_static {
|
||||
name: "android_system_stubs_current",
|
||||
static_libs: ["android_system_merged_stubs_current"],
|
||||
defaults: ["android_defaults_stubs_current"],
|
||||
}
|
||||
|
||||
java_library_static {
|
||||
name: "android_test_stubs_current",
|
||||
srcs: [ ":test-api-stubs-docs" ],
|
||||
@@ -294,6 +391,20 @@ java_library_static {
|
||||
libs: ["sdk_system_29_android"],
|
||||
}
|
||||
|
||||
java_library_static {
|
||||
name: "android_non_updatable_stubs_current",
|
||||
srcs: [":api-stubs-docs-non-updatable"],
|
||||
defaults: ["android_defaults_stubs_current"],
|
||||
libs: ["sdk_system_29_android"],
|
||||
}
|
||||
|
||||
java_library_static {
|
||||
name: "android_system_non_updatable_stubs_current",
|
||||
srcs: [":system-api-stubs-docs-non-updatable"],
|
||||
defaults: ["android_defaults_stubs_current"],
|
||||
libs: ["sdk_system_29_android"],
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// hwbinder.stubs provides APIs required for building HIDL Java
|
||||
// libraries.
|
||||
|
||||
80388
non-updatable-api/current.txt
Normal file
80388
non-updatable-api/current.txt
Normal file
File diff suppressed because one or more lines are too long
28
non-updatable-api/module-lib-current.txt
Normal file
28
non-updatable-api/module-lib-current.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
// Signature format: 2.0
|
||||
package android.os {
|
||||
|
||||
public class StatsServiceManager {
|
||||
method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsCompanionServiceRegisterer();
|
||||
method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsManagerServiceRegisterer();
|
||||
method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsdServiceRegisterer();
|
||||
}
|
||||
|
||||
public static class StatsServiceManager.ServiceNotFoundException extends java.lang.Exception {
|
||||
ctor public StatsServiceManager.ServiceNotFoundException(@NonNull String);
|
||||
}
|
||||
|
||||
public static final class StatsServiceManager.ServiceRegisterer {
|
||||
method @Nullable public android.os.IBinder get();
|
||||
method @Nullable public android.os.IBinder getOrThrow() throws android.os.StatsServiceManager.ServiceNotFoundException;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.util {
|
||||
|
||||
public final class Log {
|
||||
method public static int logToRadioBuffer(int, @Nullable String, @Nullable String);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
1
non-updatable-api/module-lib-removed.txt
Normal file
1
non-updatable-api/module-lib-removed.txt
Normal file
@@ -0,0 +1 @@
|
||||
// Signature format: 2.0
|
||||
587
non-updatable-api/removed.txt
Normal file
587
non-updatable-api/removed.txt
Normal file
@@ -0,0 +1,587 @@
|
||||
// Signature format: 2.0
|
||||
package android.app {
|
||||
|
||||
public class ActivityManager {
|
||||
method @Deprecated public static int getMaxNumPictureInPictureActions();
|
||||
}
|
||||
|
||||
public class Notification implements android.os.Parcelable {
|
||||
method @Deprecated public String getChannel();
|
||||
method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String);
|
||||
method @Deprecated public long getTimeout();
|
||||
method @Deprecated public void setLatestEventInfo(android.content.Context, CharSequence, CharSequence, android.app.PendingIntent);
|
||||
}
|
||||
|
||||
public static final class Notification.BubbleMetadata implements android.os.Parcelable {
|
||||
method @Deprecated @Nullable public android.graphics.drawable.Icon getBubbleIcon();
|
||||
method @Deprecated @Nullable public android.app.PendingIntent getBubbleIntent();
|
||||
}
|
||||
|
||||
public static final class Notification.BubbleMetadata.Builder {
|
||||
method @Deprecated @NonNull public android.app.Notification.BubbleMetadata.Builder createIntentBubble(@NonNull android.app.PendingIntent, @NonNull android.graphics.drawable.Icon);
|
||||
method @Deprecated @NonNull public android.app.Notification.BubbleMetadata.Builder createShortcutBubble(@NonNull String);
|
||||
}
|
||||
|
||||
public static class Notification.Builder {
|
||||
method @Deprecated public android.app.Notification.Builder setChannel(String);
|
||||
method @Deprecated public android.app.Notification.Builder setTimeout(long);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.app.slice {
|
||||
|
||||
public final class Slice implements android.os.Parcelable {
|
||||
field @Deprecated public static final String EXTRA_SLIDER_VALUE = "android.app.slice.extra.SLIDER_VALUE";
|
||||
field @Deprecated public static final String SUBTYPE_SLIDER = "slider";
|
||||
}
|
||||
|
||||
public static class Slice.Builder {
|
||||
ctor @Deprecated public Slice.Builder(@NonNull android.net.Uri);
|
||||
method @Deprecated public android.app.slice.Slice.Builder addTimestamp(long, @Nullable String, java.util.List<java.lang.String>);
|
||||
method @Deprecated public android.app.slice.Slice.Builder setSpec(android.app.slice.SliceSpec);
|
||||
}
|
||||
|
||||
public final class SliceItem implements android.os.Parcelable {
|
||||
method @Deprecated public long getTimestamp();
|
||||
field @Deprecated public static final String FORMAT_TIMESTAMP = "long";
|
||||
}
|
||||
|
||||
public class SliceManager {
|
||||
method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>);
|
||||
method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.content.Intent, @NonNull java.util.List<android.app.slice.SliceSpec>);
|
||||
method @Deprecated public void pinSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>);
|
||||
}
|
||||
|
||||
public abstract class SliceProvider extends android.content.ContentProvider {
|
||||
method @Deprecated public android.app.slice.Slice onBindSlice(android.net.Uri, java.util.List<android.app.slice.SliceSpec>);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.app.usage {
|
||||
|
||||
public final class StorageStats implements android.os.Parcelable {
|
||||
method @Deprecated public long getCodeBytes();
|
||||
}
|
||||
|
||||
public class StorageStatsManager {
|
||||
method @Deprecated public long getFreeBytes(String) throws java.io.IOException;
|
||||
method @Deprecated public long getTotalBytes(String) throws java.io.IOException;
|
||||
method @Deprecated public boolean isQuotaSupported(String);
|
||||
method @Deprecated public android.app.usage.ExternalStorageStats queryExternalStatsForUser(String, android.os.UserHandle) throws java.io.IOException;
|
||||
method @Deprecated public android.app.usage.StorageStats queryStatsForPackage(String, String, android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException;
|
||||
method @Deprecated public android.app.usage.StorageStats queryStatsForUid(String, int) throws java.io.IOException;
|
||||
method @Deprecated public android.app.usage.StorageStats queryStatsForUser(String, android.os.UserHandle) throws java.io.IOException;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.content {
|
||||
|
||||
public abstract class ContentProvider implements android.content.ComponentCallbacks2 {
|
||||
method @Deprecated @Nullable public final String getCallingFeatureId();
|
||||
}
|
||||
|
||||
public abstract class ContentResolver {
|
||||
method @Deprecated public void notifyChange(@NonNull Iterable<android.net.Uri>, @Nullable android.database.ContentObserver, int);
|
||||
}
|
||||
|
||||
public abstract class Context {
|
||||
method @Deprecated @NonNull public android.content.Context createFeatureContext(@Nullable String);
|
||||
method @Deprecated @Nullable public String getFeatureId();
|
||||
method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
|
||||
method public abstract java.io.File getSharedPreferencesPath(String);
|
||||
}
|
||||
|
||||
public class ContextWrapper extends android.content.Context {
|
||||
method public android.content.SharedPreferences getSharedPreferences(java.io.File, int);
|
||||
method public java.io.File getSharedPreferencesPath(String);
|
||||
}
|
||||
|
||||
public class Intent implements java.lang.Cloneable android.os.Parcelable {
|
||||
field @Deprecated public static final String EXTRA_QUICK_VIEW_ADVANCED = "android.intent.extra.QUICK_VIEW_ADVANCED";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.content.pm {
|
||||
|
||||
public class PackageInfo implements android.os.Parcelable {
|
||||
field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1
|
||||
}
|
||||
|
||||
public abstract class PackageManager {
|
||||
method public abstract boolean setInstantAppCookie(@Nullable byte[]);
|
||||
}
|
||||
|
||||
public final class SharedLibraryInfo implements android.os.Parcelable {
|
||||
method public boolean isBuiltin();
|
||||
method public boolean isDynamic();
|
||||
method public boolean isStatic();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.database {
|
||||
|
||||
public abstract class AbstractCursor implements android.database.CrossProcessCursor {
|
||||
field protected Long mCurrentRowID;
|
||||
field protected int mRowIdColumnIndex;
|
||||
field protected java.util.HashMap<java.lang.Long,java.util.Map<java.lang.String,java.lang.Object>> mUpdatedRows;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.graphics {
|
||||
|
||||
@Deprecated public class AvoidXfermode extends android.graphics.Xfermode {
|
||||
ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode);
|
||||
}
|
||||
|
||||
public enum AvoidXfermode.Mode {
|
||||
enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID;
|
||||
enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET;
|
||||
}
|
||||
|
||||
public class Canvas {
|
||||
method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region, @NonNull android.graphics.Region.Op);
|
||||
method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region);
|
||||
method @Deprecated public int save(int);
|
||||
field @Deprecated public static final int CLIP_SAVE_FLAG = 2; // 0x2
|
||||
field @Deprecated public static final int CLIP_TO_LAYER_SAVE_FLAG = 16; // 0x10
|
||||
field @Deprecated public static final int FULL_COLOR_LAYER_SAVE_FLAG = 8; // 0x8
|
||||
field @Deprecated public static final int HAS_ALPHA_LAYER_SAVE_FLAG = 4; // 0x4
|
||||
field @Deprecated public static final int MATRIX_SAVE_FLAG = 1; // 0x1
|
||||
}
|
||||
|
||||
public final class ImageDecoder implements java.lang.AutoCloseable {
|
||||
method @Deprecated public boolean getAsAlphaMask();
|
||||
method @Deprecated public boolean getConserveMemory();
|
||||
method @Deprecated public boolean getDecodeAsAlphaMask();
|
||||
method @Deprecated public boolean getMutable();
|
||||
method @Deprecated public boolean getRequireUnpremultiplied();
|
||||
method @Deprecated public android.graphics.ImageDecoder setAsAlphaMask(boolean);
|
||||
method @Deprecated public void setConserveMemory(boolean);
|
||||
method @Deprecated public android.graphics.ImageDecoder setDecodeAsAlphaMask(boolean);
|
||||
method @Deprecated public android.graphics.ImageDecoder setMutable(boolean);
|
||||
method @Deprecated public android.graphics.ImageDecoder setRequireUnpremultiplied(boolean);
|
||||
method @Deprecated public android.graphics.ImageDecoder setResize(int, int);
|
||||
method @Deprecated public android.graphics.ImageDecoder setResize(int);
|
||||
field @Deprecated public static final int ERROR_SOURCE_ERROR = 3; // 0x3
|
||||
field @Deprecated public static final int ERROR_SOURCE_EXCEPTION = 1; // 0x1
|
||||
field @Deprecated public static final int ERROR_SOURCE_INCOMPLETE = 2; // 0x2
|
||||
}
|
||||
|
||||
@Deprecated public static class ImageDecoder.IncompleteException extends java.io.IOException {
|
||||
ctor public ImageDecoder.IncompleteException();
|
||||
}
|
||||
|
||||
@Deprecated public class LayerRasterizer extends android.graphics.Rasterizer {
|
||||
ctor public LayerRasterizer();
|
||||
method public void addLayer(android.graphics.Paint, float, float);
|
||||
method public void addLayer(android.graphics.Paint);
|
||||
}
|
||||
|
||||
public class Paint {
|
||||
method @Deprecated public android.graphics.Rasterizer getRasterizer();
|
||||
method @Deprecated public android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer);
|
||||
}
|
||||
|
||||
public class Picture {
|
||||
method @Deprecated public static android.graphics.Picture createFromStream(@NonNull java.io.InputStream);
|
||||
method @Deprecated public void writeToStream(@NonNull java.io.OutputStream);
|
||||
}
|
||||
|
||||
@Deprecated public class PixelXorXfermode extends android.graphics.Xfermode {
|
||||
ctor public PixelXorXfermode(int);
|
||||
}
|
||||
|
||||
public class Rasterizer {
|
||||
ctor public Rasterizer();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.graphics.drawable {
|
||||
|
||||
public class AnimatedImageDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Animatable2 {
|
||||
method @Deprecated public int getLoopCount(int);
|
||||
method @Deprecated public void setLoopCount(int);
|
||||
field @Deprecated public static final int LOOP_INFINITE = -1; // 0xffffffff
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.hardware {
|
||||
|
||||
public final class SensorDirectChannel implements java.nio.channels.Channel {
|
||||
method @Deprecated public boolean isValid();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.icu.util {
|
||||
|
||||
public class JapaneseCalendar extends android.icu.util.GregorianCalendar {
|
||||
field @Deprecated public static final int CURRENT_ERA;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.location {
|
||||
|
||||
public class Location implements android.os.Parcelable {
|
||||
method @Deprecated public void removeBearingAccuracy();
|
||||
method @Deprecated public void removeSpeedAccuracy();
|
||||
method @Deprecated public void removeVerticalAccuracy();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.media {
|
||||
|
||||
public final class AudioFormat implements android.os.Parcelable {
|
||||
ctor public AudioFormat();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.media.tv {
|
||||
|
||||
public class TvView extends android.view.ViewGroup {
|
||||
method public void requestUnblockContent(android.media.tv.TvContentRating);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.net {
|
||||
|
||||
public class ConnectivityManager {
|
||||
method @Deprecated public boolean requestRouteToHost(int, int);
|
||||
method @Deprecated public int startUsingNetworkFeature(int, String);
|
||||
method @Deprecated public int stopUsingNetworkFeature(int, String);
|
||||
}
|
||||
|
||||
@Deprecated public class NetworkBadging {
|
||||
method @NonNull public static android.graphics.drawable.Drawable getWifiIcon(@IntRange(from=0, to=4) int, int, @Nullable android.content.res.Resources.Theme);
|
||||
field public static final int BADGING_4K = 30; // 0x1e
|
||||
field public static final int BADGING_HD = 20; // 0x14
|
||||
field public static final int BADGING_NONE = 0; // 0x0
|
||||
field public static final int BADGING_SD = 10; // 0xa
|
||||
}
|
||||
|
||||
@IntDef({0x0, 0xa, 0x14, 0x1e}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface NetworkBadging.Badging {
|
||||
}
|
||||
|
||||
@Deprecated public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
|
||||
method @Deprecated public static org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache);
|
||||
}
|
||||
|
||||
public class TrafficStats {
|
||||
method @Deprecated public static void setThreadStatsUidSelf();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.os {
|
||||
|
||||
public class BatteryManager {
|
||||
ctor public BatteryManager();
|
||||
}
|
||||
|
||||
public final class PowerManager {
|
||||
method public void goToSleep(long);
|
||||
method @Deprecated public void userActivity(long, boolean);
|
||||
method @Deprecated public void wakeUp(long);
|
||||
}
|
||||
|
||||
public class RecoverySystem {
|
||||
ctor public RecoverySystem();
|
||||
}
|
||||
|
||||
public static final class StrictMode.ThreadPolicy.Builder {
|
||||
method @NonNull public android.os.StrictMode.ThreadPolicy.Builder penaltyListener(@NonNull android.os.StrictMode.OnThreadViolationListener, @NonNull java.util.concurrent.Executor);
|
||||
}
|
||||
|
||||
public static final class StrictMode.VmPolicy.Builder {
|
||||
method @NonNull public android.os.StrictMode.VmPolicy.Builder penaltyListener(@NonNull android.os.StrictMode.OnVmViolationListener, @NonNull java.util.concurrent.Executor);
|
||||
}
|
||||
|
||||
public final class SystemClock {
|
||||
method @NonNull public static java.time.Clock elapsedRealtimeClock();
|
||||
method @NonNull public static java.time.Clock uptimeClock();
|
||||
}
|
||||
|
||||
public class TestLooperManager {
|
||||
method @Deprecated public android.os.MessageQueue getQueue();
|
||||
}
|
||||
|
||||
public class UserManager {
|
||||
method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
|
||||
method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
|
||||
method public CharSequence getBadgedLabelForUser(CharSequence, android.os.UserHandle);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.os.storage {
|
||||
|
||||
public class StorageManager {
|
||||
method @NonNull public android.os.storage.StorageVolume getPrimaryVolume();
|
||||
method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.provider {
|
||||
|
||||
public class Browser {
|
||||
method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"}, apis="..22") public static final void addSearchUrl(android.content.ContentResolver, String);
|
||||
method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final boolean canClearHistory(android.content.ContentResolver);
|
||||
method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearHistory(android.content.ContentResolver);
|
||||
method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearSearches(android.content.ContentResolver);
|
||||
method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteFromHistory(android.content.ContentResolver, String);
|
||||
method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long);
|
||||
method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException;
|
||||
method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException;
|
||||
method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final void requestAllIcons(android.content.ContentResolver, String, android.webkit.WebIconDatabase.IconListener);
|
||||
method public static final void saveBookmark(android.content.Context, String, String);
|
||||
method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"}, apis="..22") public static final void truncateHistory(android.content.ContentResolver);
|
||||
method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"}, apis="..22") public static final void updateVisitedHistory(android.content.ContentResolver, String, boolean);
|
||||
field @RequiresPermission.Read(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") @RequiresPermission.Write(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final android.net.Uri BOOKMARKS_URI;
|
||||
field public static final String[] HISTORY_PROJECTION;
|
||||
field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4
|
||||
field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3
|
||||
field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6
|
||||
field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
|
||||
field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5
|
||||
field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1
|
||||
field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2
|
||||
field public static final String[] SEARCHES_PROJECTION;
|
||||
field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2
|
||||
field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1
|
||||
field @RequiresPermission.Read(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") @RequiresPermission.Write(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final android.net.Uri SEARCHES_URI;
|
||||
field public static final String[] TRUNCATE_HISTORY_PROJECTION;
|
||||
field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0
|
||||
field public static final int TRUNCATE_N_OLDEST = 5; // 0x5
|
||||
}
|
||||
|
||||
public static class Browser.BookmarkColumns implements android.provider.BaseColumns {
|
||||
ctor public Browser.BookmarkColumns();
|
||||
field public static final String BOOKMARK = "bookmark";
|
||||
field public static final String CREATED = "created";
|
||||
field public static final String DATE = "date";
|
||||
field public static final String FAVICON = "favicon";
|
||||
field public static final String TITLE = "title";
|
||||
field public static final String URL = "url";
|
||||
field public static final String VISITS = "visits";
|
||||
field public static final String _COUNT = "_count";
|
||||
field public static final String _ID = "_id";
|
||||
}
|
||||
|
||||
public static class Browser.SearchColumns implements android.provider.BaseColumns {
|
||||
ctor public Browser.SearchColumns();
|
||||
field public static final String DATE = "date";
|
||||
field public static final String SEARCH = "search";
|
||||
field @Deprecated public static final String URL = "url";
|
||||
field public static final String _COUNT = "_count";
|
||||
field public static final String _ID = "_id";
|
||||
}
|
||||
|
||||
@Deprecated public static final class ContactsContract.Contacts.StreamItems implements android.provider.ContactsContract.StreamItemsColumns {
|
||||
field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items";
|
||||
}
|
||||
|
||||
@Deprecated public static final class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns {
|
||||
field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items";
|
||||
field public static final String _COUNT = "_count";
|
||||
field public static final String _ID = "_id";
|
||||
}
|
||||
|
||||
@Deprecated public static final class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns {
|
||||
field @Deprecated public static final String PHOTO = "photo";
|
||||
field public static final String _COUNT = "_count";
|
||||
field public static final String _ID = "_id";
|
||||
}
|
||||
|
||||
@Deprecated protected static interface ContactsContract.StreamItemPhotosColumns {
|
||||
field @Deprecated public static final String PHOTO_FILE_ID = "photo_file_id";
|
||||
field @Deprecated public static final String PHOTO_URI = "photo_uri";
|
||||
field @Deprecated public static final String SORT_INDEX = "sort_index";
|
||||
field @Deprecated public static final String STREAM_ITEM_ID = "stream_item_id";
|
||||
field @Deprecated public static final String SYNC1 = "stream_item_photo_sync1";
|
||||
field @Deprecated public static final String SYNC2 = "stream_item_photo_sync2";
|
||||
field @Deprecated public static final String SYNC3 = "stream_item_photo_sync3";
|
||||
field @Deprecated public static final String SYNC4 = "stream_item_photo_sync4";
|
||||
}
|
||||
|
||||
@Deprecated public static final class ContactsContract.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns {
|
||||
field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item";
|
||||
field @Deprecated public static final android.net.Uri CONTENT_LIMIT_URI;
|
||||
field @Deprecated public static final android.net.Uri CONTENT_PHOTO_URI;
|
||||
field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item";
|
||||
field @Deprecated public static final android.net.Uri CONTENT_URI;
|
||||
field @Deprecated public static final String MAX_ITEMS = "max_items";
|
||||
field public static final String _COUNT = "_count";
|
||||
field public static final String _ID = "_id";
|
||||
}
|
||||
|
||||
@Deprecated public static final class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns {
|
||||
field @Deprecated public static final String CONTENT_DIRECTORY = "photo";
|
||||
field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo";
|
||||
field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo";
|
||||
field public static final String _COUNT = "_count";
|
||||
field public static final String _ID = "_id";
|
||||
}
|
||||
|
||||
@Deprecated protected static interface ContactsContract.StreamItemsColumns {
|
||||
field @Deprecated public static final String ACCOUNT_NAME = "account_name";
|
||||
field @Deprecated public static final String ACCOUNT_TYPE = "account_type";
|
||||
field @Deprecated public static final String COMMENTS = "comments";
|
||||
field @Deprecated public static final String CONTACT_ID = "contact_id";
|
||||
field @Deprecated public static final String CONTACT_LOOKUP_KEY = "contact_lookup";
|
||||
field @Deprecated public static final String DATA_SET = "data_set";
|
||||
field @Deprecated public static final String RAW_CONTACT_ID = "raw_contact_id";
|
||||
field @Deprecated public static final String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id";
|
||||
field @Deprecated public static final String RES_ICON = "icon";
|
||||
field @Deprecated public static final String RES_LABEL = "label";
|
||||
field @Deprecated public static final String RES_PACKAGE = "res_package";
|
||||
field @Deprecated public static final String SYNC1 = "stream_item_sync1";
|
||||
field @Deprecated public static final String SYNC2 = "stream_item_sync2";
|
||||
field @Deprecated public static final String SYNC3 = "stream_item_sync3";
|
||||
field @Deprecated public static final String SYNC4 = "stream_item_sync4";
|
||||
field @Deprecated public static final String TEXT = "text";
|
||||
field @Deprecated public static final String TIMESTAMP = "timestamp";
|
||||
}
|
||||
|
||||
public static final class Settings.Global extends android.provider.Settings.NameValueTable {
|
||||
field @Deprecated public static final String CONTACT_METADATA_SYNC = "contact_metadata_sync";
|
||||
}
|
||||
|
||||
public static final class Settings.System extends android.provider.Settings.NameValueTable {
|
||||
field public static final String APPEND_FOR_LAST_AUDIBLE = "_last_audible";
|
||||
field public static final String VOLUME_ALARM = "volume_alarm";
|
||||
field public static final String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco";
|
||||
field public static final String VOLUME_MUSIC = "volume_music";
|
||||
field public static final String VOLUME_NOTIFICATION = "volume_notification";
|
||||
field public static final String VOLUME_RING = "volume_ring";
|
||||
field public static final String[] VOLUME_SETTINGS;
|
||||
field public static final String VOLUME_SYSTEM = "volume_system";
|
||||
field public static final String VOLUME_VOICE = "volume_voice";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.speech.tts {
|
||||
|
||||
public abstract class UtteranceProgressListener {
|
||||
method @Deprecated public void onUtteranceRangeStart(String, int, int);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.telephony {
|
||||
|
||||
public class NetworkScan {
|
||||
method @Deprecated public void stop() throws android.os.RemoteException;
|
||||
}
|
||||
|
||||
public class TelephonyManager {
|
||||
method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) public java.util.List<android.telephony.NeighboringCellInfo> getNeighboringCellInfo();
|
||||
method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.ACCESS_FINE_LOCATION}) public android.telephony.NetworkScan requestNetworkScan(android.telephony.NetworkScanRequest, android.telephony.TelephonyScanManager.NetworkScanCallback);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.text.format {
|
||||
|
||||
public class DateFormat {
|
||||
field @Deprecated public static final char AM_PM = 97; // 0x0061 'a'
|
||||
field @Deprecated public static final char CAPITAL_AM_PM = 65; // 0x0041 'A'
|
||||
field @Deprecated public static final char DATE = 100; // 0x0064 'd'
|
||||
field @Deprecated public static final char DAY = 69; // 0x0045 'E'
|
||||
field @Deprecated public static final char HOUR = 104; // 0x0068 'h'
|
||||
field @Deprecated public static final char HOUR_OF_DAY = 107; // 0x006b 'k'
|
||||
field @Deprecated public static final char MINUTE = 109; // 0x006d 'm'
|
||||
field @Deprecated public static final char MONTH = 77; // 0x004d 'M'
|
||||
field @Deprecated public static final char QUOTE = 39; // 0x0027 '\''
|
||||
field @Deprecated public static final char SECONDS = 115; // 0x0073 's'
|
||||
field @Deprecated public static final char STANDALONE_MONTH = 76; // 0x004c 'L'
|
||||
field @Deprecated public static final char TIME_ZONE = 122; // 0x007a 'z'
|
||||
field @Deprecated public static final char YEAR = 121; // 0x0079 'y'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.text.style {
|
||||
|
||||
public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance {
|
||||
ctor public RasterizerSpan(android.graphics.Rasterizer);
|
||||
method public android.graphics.Rasterizer getRasterizer();
|
||||
method public void updateDrawState(android.text.TextPaint);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.util {
|
||||
|
||||
@Deprecated public class FloatMath {
|
||||
method public static float ceil(float);
|
||||
method public static float cos(float);
|
||||
method public static float exp(float);
|
||||
method public static float floor(float);
|
||||
method public static float hypot(float, float);
|
||||
method public static float pow(float, float);
|
||||
method public static float sin(float);
|
||||
method public static float sqrt(float);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.view {
|
||||
|
||||
@UiThread public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
|
||||
method protected void initializeFadingEdge(android.content.res.TypedArray);
|
||||
method protected void initializeScrollbars(android.content.res.TypedArray);
|
||||
}
|
||||
|
||||
public class ViewConfiguration {
|
||||
method public int getScaledScrollFactor();
|
||||
}
|
||||
|
||||
public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
|
||||
field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.webkit {
|
||||
|
||||
public class WebViewClient {
|
||||
method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.widget {
|
||||
|
||||
@android.widget.RemoteViews.RemoteView public class ListView extends android.widget.AbsListView {
|
||||
method protected <T extends android.view.View> T findViewTraversal(@IdRes int);
|
||||
method protected <T extends android.view.View> T findViewWithTagTraversal(Object);
|
||||
}
|
||||
|
||||
public class PopupWindow {
|
||||
method @Deprecated public boolean isClipToScreenEnabled();
|
||||
method @Deprecated public boolean isLayoutInScreenEnabled();
|
||||
method @Deprecated public void setClipToScreenEnabled(boolean);
|
||||
method @Deprecated public void setLayoutInScreenEnabled(boolean);
|
||||
}
|
||||
|
||||
@android.widget.RemoteViews.RemoteView public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
|
||||
method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
|
||||
method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
11981
non-updatable-api/system-current.txt
Normal file
11981
non-updatable-api/system-current.txt
Normal file
File diff suppressed because it is too large
Load Diff
231
non-updatable-api/system-lint-baseline.txt
Normal file
231
non-updatable-api/system-lint-baseline.txt
Normal file
@@ -0,0 +1,231 @@
|
||||
// Baseline format: 1.0
|
||||
ArrayReturn: android.view.contentcapture.ViewNode#getAutofillOptions():
|
||||
Method should return Collection<CharSequence> (or subclass) instead of raw array; was `java.lang.CharSequence[]`
|
||||
|
||||
|
||||
GenericException: android.app.prediction.AppPredictor#finalize():
|
||||
Methods must not throw generic exceptions (`java.lang.Throwable`)
|
||||
GenericException: android.hardware.location.ContextHubClient#finalize():
|
||||
Methods must not throw generic exceptions (`java.lang.Throwable`)
|
||||
GenericException: android.net.IpSecManager.IpSecTunnelInterface#finalize():
|
||||
Methods must not throw generic exceptions (`java.lang.Throwable`)
|
||||
GenericException: android.service.autofill.augmented.FillWindow#finalize():
|
||||
Methods must not throw generic exceptions (`java.lang.Throwable`)
|
||||
|
||||
|
||||
KotlinKeyword: android.app.Notification#when:
|
||||
Avoid field names that are Kotlin hard keywords ("when"); see https://android.github.io/kotlin-guides/interop.html#no-hard-keywords
|
||||
|
||||
|
||||
MissingNullability: android.media.soundtrigger.SoundTriggerDetectionService#onUnbind(android.content.Intent) parameter #0:
|
||||
Missing nullability on parameter `intent` in method `onUnbind`
|
||||
MissingNullability: android.media.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #0:
|
||||
Missing nullability on parameter `inputId` in method `onEvent`
|
||||
MissingNullability: android.media.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #1:
|
||||
Missing nullability on parameter `eventType` in method `onEvent`
|
||||
MissingNullability: android.media.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #2:
|
||||
Missing nullability on parameter `eventArgs` in method `onEvent`
|
||||
MissingNullability: android.printservice.recommendation.RecommendationService#attachBaseContext(android.content.Context) parameter #0:
|
||||
Missing nullability on parameter `base` in method `attachBaseContext`
|
||||
MissingNullability: android.provider.ContactsContract.MetadataSync#CONTENT_URI:
|
||||
Missing nullability on field `CONTENT_URI` in class `class android.provider.ContactsContract.MetadataSync`
|
||||
MissingNullability: android.provider.ContactsContract.MetadataSync#METADATA_AUTHORITY_URI:
|
||||
Missing nullability on field `METADATA_AUTHORITY_URI` in class `class android.provider.ContactsContract.MetadataSync`
|
||||
MissingNullability: android.provider.ContactsContract.MetadataSyncState#CONTENT_URI:
|
||||
Missing nullability on field `CONTENT_URI` in class `class android.provider.ContactsContract.MetadataSyncState`
|
||||
MissingNullability: android.provider.SearchIndexablesProvider#attachInfo(android.content.Context, android.content.pm.ProviderInfo) parameter #0:
|
||||
Missing nullability on parameter `context` in method `attachInfo`
|
||||
MissingNullability: android.provider.SearchIndexablesProvider#attachInfo(android.content.Context, android.content.pm.ProviderInfo) parameter #1:
|
||||
Missing nullability on parameter `info` in method `attachInfo`
|
||||
MissingNullability: android.service.autofill.augmented.AugmentedAutofillService#onUnbind(android.content.Intent) parameter #0:
|
||||
Missing nullability on parameter `intent` in method `onUnbind`
|
||||
MissingNullability: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]) parameter #0:
|
||||
Missing nullability on parameter `fd` in method `dump`
|
||||
MissingNullability: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]) parameter #1:
|
||||
Missing nullability on parameter `pw` in method `dump`
|
||||
MissingNullability: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]) parameter #2:
|
||||
Missing nullability on parameter `args` in method `dump`
|
||||
MissingNullability: android.service.notification.NotificationAssistantService#attachBaseContext(android.content.Context) parameter #0:
|
||||
Missing nullability on parameter `base` in method `attachBaseContext`
|
||||
MissingNullability: android.telephony.NetworkService#onUnbind(android.content.Intent) parameter #0:
|
||||
Missing nullability on parameter `intent` in method `onUnbind`
|
||||
MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringDaily(java.time.ZonedDateTime) parameter #0:
|
||||
Missing nullability on parameter `start` in method `createRecurringDaily`
|
||||
MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringMonthly(java.time.ZonedDateTime) parameter #0:
|
||||
Missing nullability on parameter `start` in method `createRecurringMonthly`
|
||||
MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringWeekly(java.time.ZonedDateTime) parameter #0:
|
||||
Missing nullability on parameter `start` in method `createRecurringWeekly`
|
||||
MissingNullability: android.telephony.data.DataService#onUnbind(android.content.Intent) parameter #0:
|
||||
Missing nullability on parameter `intent` in method `onUnbind`
|
||||
MissingNullability: android.telephony.mbms.DownloadRequest.Builder#setServiceId(String):
|
||||
Missing nullability on method `setServiceId` return
|
||||
MissingNullability: android.telephony.mbms.DownloadRequest.Builder#setServiceId(String) parameter #0:
|
||||
Missing nullability on parameter `serviceId` in method `setServiceId`
|
||||
|
||||
|
||||
ProtectedMember: android.printservice.recommendation.RecommendationService#attachBaseContext(android.content.Context):
|
||||
Protected methods not allowed; must be public: method android.printservice.recommendation.RecommendationService.attachBaseContext(android.content.Context)}
|
||||
ProtectedMember: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]):
|
||||
Protected methods not allowed; must be public: method android.service.contentcapture.ContentCaptureService.dump(java.io.FileDescriptor,java.io.PrintWriter,String[])}
|
||||
ProtectedMember: android.service.notification.NotificationAssistantService#attachBaseContext(android.content.Context):
|
||||
Protected methods not allowed; must be public: method android.service.notification.NotificationAssistantService.attachBaseContext(android.content.Context)}
|
||||
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#addAccount(String, String, String[], android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#addOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener, android.os.Handler, boolean):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#addOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener, android.os.Handler, boolean, String[]):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#confirmCredentials(android.accounts.Account, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#editProperties(String, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#finishSession(android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#getAccountsByTypeAndFeatures(String, String[], android.accounts.AccountManagerCallback<android.accounts.Account[]>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#getAuthToken(android.accounts.Account, String, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#getAuthToken(android.accounts.Account, String, android.os.Bundle, boolean, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#getAuthToken(android.accounts.Account, String, boolean, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#getAuthTokenByFeatures(String, String, String[], android.app.Activity, android.os.Bundle, android.os.Bundle, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#hasFeatures(android.accounts.Account, String[], android.accounts.AccountManagerCallback<java.lang.Boolean>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#isCredentialsUpdateSuggested(android.accounts.Account, String, android.accounts.AccountManagerCallback<java.lang.Boolean>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#removeAccount(android.accounts.Account, android.accounts.AccountManagerCallback<java.lang.Boolean>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#removeAccount(android.accounts.Account, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#renameAccount(android.accounts.Account, String, android.accounts.AccountManagerCallback<android.accounts.Account>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#startAddAccountSession(String, String, String[], android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#startUpdateCredentialsSession(android.accounts.Account, String, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#updateCredentials(android.accounts.Account, String, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.app.AlarmManager#set(int, long, String, android.app.AlarmManager.OnAlarmListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.app.AlarmManager#setExact(int, long, String, android.app.AlarmManager.OnAlarmListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.app.AlarmManager#setWindow(int, long, long, String, android.app.AlarmManager.OnAlarmListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.app.WallpaperInfo#dump(android.util.Printer, String):
|
||||
|
||||
SamShouldBeLast: android.app.WallpaperManager#addOnColorsChangedListener(android.app.WallpaperManager.OnColorsChangedListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.app.admin.DevicePolicyManager#installSystemUpdate(android.content.ComponentName, android.net.Uri, java.util.concurrent.Executor, android.app.admin.DevicePolicyManager.InstallSystemUpdateCallback):
|
||||
|
||||
SamShouldBeLast: android.content.IntentFilter#dump(android.util.Printer, String):
|
||||
|
||||
SamShouldBeLast: android.content.pm.ApplicationInfo#dump(android.util.Printer, String):
|
||||
|
||||
SamShouldBeLast: android.content.pm.PackageItemInfo#dumpBack(android.util.Printer, String):
|
||||
|
||||
SamShouldBeLast: android.content.pm.PackageItemInfo#dumpFront(android.util.Printer, String):
|
||||
|
||||
SamShouldBeLast: android.content.pm.ResolveInfo#dump(android.util.Printer, String):
|
||||
|
||||
SamShouldBeLast: android.location.Location#dump(android.util.Printer, String):
|
||||
|
||||
SamShouldBeLast: android.location.LocationManager#addNmeaListener(android.location.OnNmeaMessageListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.location.LocationManager#registerGnssMeasurementsCallback(java.util.concurrent.Executor, android.location.GnssMeasurementsEvent.Callback):
|
||||
|
||||
SamShouldBeLast: android.location.LocationManager#registerGnssNavigationMessageCallback(java.util.concurrent.Executor, android.location.GnssNavigationMessage.Callback):
|
||||
|
||||
SamShouldBeLast: android.location.LocationManager#registerGnssStatusCallback(java.util.concurrent.Executor, android.location.GnssStatus.Callback):
|
||||
|
||||
SamShouldBeLast: android.location.LocationManager#requestLocationUpdates(String, long, float, android.location.LocationListener, android.os.Looper):
|
||||
|
||||
SamShouldBeLast: android.location.LocationManager#requestLocationUpdates(String, long, float, java.util.concurrent.Executor, android.location.LocationListener):
|
||||
|
||||
SamShouldBeLast: android.location.LocationManager#requestLocationUpdates(android.location.LocationRequest, java.util.concurrent.Executor, android.location.LocationListener):
|
||||
|
||||
SamShouldBeLast: android.location.LocationManager#requestLocationUpdates(long, float, android.location.Criteria, android.location.LocationListener, android.os.Looper):
|
||||
|
||||
SamShouldBeLast: android.location.LocationManager#requestLocationUpdates(long, float, android.location.Criteria, java.util.concurrent.Executor, android.location.LocationListener):
|
||||
|
||||
SamShouldBeLast: android.location.LocationManager#requestSingleUpdate(String, android.location.LocationListener, android.os.Looper):
|
||||
|
||||
SamShouldBeLast: android.location.LocationManager#requestSingleUpdate(android.location.Criteria, android.location.LocationListener, android.os.Looper):
|
||||
|
||||
SamShouldBeLast: android.media.AudioFocusRequest.Builder#setOnAudioFocusChangeListener(android.media.AudioManager.OnAudioFocusChangeListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.media.AudioManager#requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, int, int):
|
||||
|
||||
SamShouldBeLast: android.media.AudioRecord#addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.media.AudioRecord#registerAudioRecordingCallback(java.util.concurrent.Executor, android.media.AudioManager.AudioRecordingCallback):
|
||||
|
||||
SamShouldBeLast: android.media.AudioRecordingMonitor#registerAudioRecordingCallback(java.util.concurrent.Executor, android.media.AudioManager.AudioRecordingCallback):
|
||||
|
||||
SamShouldBeLast: android.media.AudioRouting#addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.media.AudioTrack#addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler):
|
||||
SAM-compatible parameters (such as parameter 1, "listener", in android.media.AudioTrack.addOnRoutingChangedListener) should be last to improve Kotlin interoperability; see https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions
|
||||
SamShouldBeLast: android.media.MediaRecorder#addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.media.MediaRecorder#registerAudioRecordingCallback(java.util.concurrent.Executor, android.media.AudioManager.AudioRecordingCallback):
|
||||
|
||||
SamShouldBeLast: android.media.session.MediaSessionManager#addOnActiveSessionsChangedListener(android.media.session.MediaSessionManager.OnActiveSessionsChangedListener, android.content.ComponentName):
|
||||
|
||||
SamShouldBeLast: android.media.session.MediaSessionManager#addOnActiveSessionsChangedListener(android.media.session.MediaSessionManager.OnActiveSessionsChangedListener, android.content.ComponentName, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.media.session.MediaSessionManager#addOnSession2TokensChangedListener(android.media.session.MediaSessionManager.OnSession2TokensChangedListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.media.session.MediaSessionManager#registerCallback(java.util.concurrent.Executor, android.media.session.MediaSessionManager.Callback):
|
||||
|
||||
SamShouldBeLast: android.nfc.NfcAdapter#enableReaderMode(android.app.Activity, android.nfc.NfcAdapter.ReaderCallback, int, android.os.Bundle):
|
||||
|
||||
SamShouldBeLast: android.nfc.NfcAdapter#ignore(android.nfc.Tag, int, android.nfc.NfcAdapter.OnTagRemovedListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.nfc.NfcAdapter#setBeamPushUrisCallback(android.nfc.NfcAdapter.CreateBeamUrisCallback, android.app.Activity):
|
||||
|
||||
SamShouldBeLast: android.nfc.NfcAdapter#setNdefPushMessageCallback(android.nfc.NfcAdapter.CreateNdefMessageCallback, android.app.Activity, android.app.Activity...):
|
||||
|
||||
SamShouldBeLast: android.nfc.NfcAdapter#setOnNdefPushCompleteCallback(android.nfc.NfcAdapter.OnNdefPushCompleteCallback, android.app.Activity, android.app.Activity...):
|
||||
|
||||
SamShouldBeLast: android.os.Binder#attachInterface(android.os.IInterface, String):
|
||||
|
||||
SamShouldBeLast: android.os.Binder#linkToDeath(android.os.IBinder.DeathRecipient, int):
|
||||
|
||||
SamShouldBeLast: android.os.Binder#unlinkToDeath(android.os.IBinder.DeathRecipient, int):
|
||||
|
||||
SamShouldBeLast: android.os.Handler#dump(android.util.Printer, String):
|
||||
|
||||
SamShouldBeLast: android.os.Handler#postAtTime(Runnable, Object, long):
|
||||
|
||||
SamShouldBeLast: android.os.Handler#postAtTime(Runnable, long):
|
||||
|
||||
SamShouldBeLast: android.os.Handler#postDelayed(Runnable, Object, long):
|
||||
|
||||
SamShouldBeLast: android.os.Handler#postDelayed(Runnable, long):
|
||||
|
||||
SamShouldBeLast: android.os.Handler#removeCallbacks(Runnable, Object):
|
||||
|
||||
SamShouldBeLast: android.os.IBinder#linkToDeath(android.os.IBinder.DeathRecipient, int):
|
||||
|
||||
SamShouldBeLast: android.os.IBinder#unlinkToDeath(android.os.IBinder.DeathRecipient, int):
|
||||
|
||||
SamShouldBeLast: android.os.RecoverySystem#verifyPackage(java.io.File, android.os.RecoverySystem.ProgressListener, java.io.File):
|
||||
|
||||
SamShouldBeLast: android.view.View#postDelayed(Runnable, long):
|
||||
|
||||
SamShouldBeLast: android.view.View#postOnAnimationDelayed(Runnable, long):
|
||||
|
||||
SamShouldBeLast: android.view.View#scheduleDrawable(android.graphics.drawable.Drawable, Runnable, long):
|
||||
|
||||
SamShouldBeLast: android.view.Window#addOnFrameMetricsAvailableListener(android.view.Window.OnFrameMetricsAvailableListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.view.accessibility.AccessibilityManager#addAccessibilityStateChangeListener(android.view.accessibility.AccessibilityManager.AccessibilityStateChangeListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.view.accessibility.AccessibilityManager#addTouchExplorationStateChangeListener(android.view.accessibility.AccessibilityManager.TouchExplorationStateChangeListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.webkit.WebChromeClient#onShowFileChooser(android.webkit.WebView, android.webkit.ValueCallback<android.net.Uri[]>, android.webkit.WebChromeClient.FileChooserParams):
|
||||
|
||||
188
non-updatable-api/system-removed.txt
Normal file
188
non-updatable-api/system-removed.txt
Normal file
@@ -0,0 +1,188 @@
|
||||
// Signature format: 2.0
|
||||
package android {
|
||||
|
||||
public static final class Manifest.permission {
|
||||
field public static final String MANAGE_DEVICE_ADMINS = "android.permission.MANAGE_DEVICE_ADMINS";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.app {
|
||||
|
||||
public class AppOpsManager {
|
||||
method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getOpsForPackage(int, @NonNull String, @Nullable int[]);
|
||||
method @Deprecated public void setNotedAppOpsCollector(@Nullable android.app.AppOpsManager.AppOpsCollector);
|
||||
}
|
||||
|
||||
@Deprecated public abstract static class AppOpsManager.AppOpsCollector extends android.app.AppOpsManager.OnOpNotedCallback {
|
||||
ctor public AppOpsManager.AppOpsCollector();
|
||||
method @NonNull public java.util.concurrent.Executor getAsyncNotedExecutor();
|
||||
}
|
||||
|
||||
public class Notification implements android.os.Parcelable {
|
||||
method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String);
|
||||
}
|
||||
|
||||
public static final class Notification.TvExtender implements android.app.Notification.Extender {
|
||||
method @Deprecated public String getChannel();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.app.backup {
|
||||
|
||||
public class RestoreSession {
|
||||
method @Deprecated public int restoreSome(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor, String[]);
|
||||
method @Deprecated public int restoreSome(long, android.app.backup.RestoreObserver, String[]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.app.prediction {
|
||||
|
||||
public static final class AppTarget.Builder {
|
||||
ctor @Deprecated public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId);
|
||||
method @Deprecated @NonNull public android.app.prediction.AppTarget.Builder setTarget(@NonNull String, @NonNull android.os.UserHandle);
|
||||
method @Deprecated @NonNull public android.app.prediction.AppTarget.Builder setTarget(@NonNull android.content.pm.ShortcutInfo);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.content {
|
||||
|
||||
public class Intent implements java.lang.Cloneable android.os.Parcelable {
|
||||
field @Deprecated public static final String ACTION_DEVICE_INITIALIZATION_WIZARD = "android.intent.action.DEVICE_INITIALIZATION_WIZARD";
|
||||
field @Deprecated public static final String ACTION_MASTER_CLEAR = "android.intent.action.MASTER_CLEAR";
|
||||
field @Deprecated public static final String ACTION_SERVICE_STATE = "android.intent.action.SERVICE_STATE";
|
||||
field @Deprecated public static final String EXTRA_CDMA_DEFAULT_ROAMING_INDICATOR = "cdmaDefaultRoamingIndicator";
|
||||
field @Deprecated public static final String EXTRA_CDMA_ROAMING_INDICATOR = "cdmaRoamingIndicator";
|
||||
field @Deprecated public static final String EXTRA_CSS_INDICATOR = "cssIndicator";
|
||||
field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_LONG = "data-operator-alpha-long";
|
||||
field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_SHORT = "data-operator-alpha-short";
|
||||
field @Deprecated public static final String EXTRA_DATA_OPERATOR_NUMERIC = "data-operator-numeric";
|
||||
field @Deprecated public static final String EXTRA_DATA_RADIO_TECH = "dataRadioTechnology";
|
||||
field @Deprecated public static final String EXTRA_DATA_REG_STATE = "dataRegState";
|
||||
field @Deprecated public static final String EXTRA_DATA_ROAMING_TYPE = "dataRoamingType";
|
||||
field @Deprecated public static final String EXTRA_EMERGENCY_ONLY = "emergencyOnly";
|
||||
field @Deprecated public static final String EXTRA_IS_DATA_ROAMING_FROM_REGISTRATION = "isDataRoamingFromRegistration";
|
||||
field @Deprecated public static final String EXTRA_IS_USING_CARRIER_AGGREGATION = "isUsingCarrierAggregation";
|
||||
field @Deprecated public static final String EXTRA_LTE_EARFCN_RSRP_BOOST = "LteEarfcnRsrpBoost";
|
||||
field @Deprecated public static final String EXTRA_MANUAL = "manual";
|
||||
field @Deprecated public static final String EXTRA_NETWORK_ID = "networkId";
|
||||
field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_LONG = "operator-alpha-long";
|
||||
field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_SHORT = "operator-alpha-short";
|
||||
field @Deprecated public static final String EXTRA_OPERATOR_NUMERIC = "operator-numeric";
|
||||
field @Deprecated public static final String EXTRA_SYSTEM_ID = "systemId";
|
||||
field @Deprecated public static final String EXTRA_VOICE_RADIO_TECH = "radioTechnology";
|
||||
field @Deprecated public static final String EXTRA_VOICE_REG_STATE = "voiceRegState";
|
||||
field @Deprecated public static final String EXTRA_VOICE_ROAMING_TYPE = "voiceRoamingType";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.content.pm {
|
||||
|
||||
public class PackageItemInfo {
|
||||
field @Deprecated public static final int SAFE_LABEL_FLAG_FIRST_LINE = 4; // 0x4
|
||||
field @Deprecated public static final int SAFE_LABEL_FLAG_SINGLE_LINE = 2; // 0x2
|
||||
field @Deprecated public static final int SAFE_LABEL_FLAG_TRIM = 1; // 0x1
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.hardware.hdmi {
|
||||
|
||||
public final class HdmiControlManager {
|
||||
method @Deprecated public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getConnectedDevicesList();
|
||||
method @Deprecated public boolean isRemoteDeviceConnected(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
|
||||
method @Deprecated public void powerOffRemoteDevice(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
|
||||
method @Deprecated public void powerOnRemoteDevice(android.hardware.hdmi.HdmiDeviceInfo);
|
||||
method @Deprecated public void requestRemoteDeviceToBecomeActiveSource(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.location {
|
||||
|
||||
public class LocationManager {
|
||||
method @Deprecated public boolean addGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener);
|
||||
method @Deprecated public boolean addGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener);
|
||||
method @Deprecated public void removeGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener);
|
||||
method @Deprecated public void removeGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener);
|
||||
method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setLocationControllerExtraPackage(String);
|
||||
method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setLocationControllerExtraPackageEnabled(boolean);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.media.tv {
|
||||
|
||||
public final class TvInputManager {
|
||||
method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, android.media.tv.TvInputManager.HardwareCallback, android.media.tv.TvInputInfo);
|
||||
}
|
||||
|
||||
public static final class TvInputManager.Hardware {
|
||||
method public boolean dispatchKeyEventToHdmi(android.view.KeyEvent);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.os {
|
||||
|
||||
public class Build {
|
||||
field public static final boolean PERMISSIONS_REVIEW_REQUIRED = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.service.notification {
|
||||
|
||||
public abstract class NotificationListenerService extends android.app.Service {
|
||||
method public android.service.notification.StatusBarNotification[] getActiveNotifications(int);
|
||||
method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int);
|
||||
method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException;
|
||||
method public final void setOnNotificationPostedTrim(int);
|
||||
method public final void snoozeNotification(String, String);
|
||||
method public void unregisterAsSystemService() throws android.os.RemoteException;
|
||||
field public static final int TRIM_FULL = 0; // 0x0
|
||||
field public static final int TRIM_LIGHT = 1; // 0x1
|
||||
}
|
||||
|
||||
public static class NotificationListenerService.Ranking {
|
||||
method public java.util.List<java.lang.String> getAdditionalPeople();
|
||||
method public java.util.List<android.service.notification.SnoozeCriterion> getSnoozeCriteria();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.telecom {
|
||||
|
||||
public class TelecomManager {
|
||||
method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.WRITE_SECURE_SETTINGS}) public boolean setDefaultDialer(@Nullable String);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.telephony {
|
||||
|
||||
public final class PreciseDataConnectionState implements android.os.Parcelable {
|
||||
method @Deprecated @Nullable public android.net.LinkProperties getDataConnectionLinkProperties();
|
||||
method @Deprecated public int getDataConnectionNetworkType();
|
||||
}
|
||||
|
||||
public class TelephonyManager {
|
||||
method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
|
||||
method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();
|
||||
method @Deprecated public void silenceRinger();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.telephony.data {
|
||||
|
||||
public final class DataCallResponse implements android.os.Parcelable {
|
||||
ctor public DataCallResponse(int, int, int, int, int, @Nullable String, @Nullable java.util.List<android.net.LinkAddress>, @Nullable java.util.List<java.net.InetAddress>, @Nullable java.util.List<java.net.InetAddress>, @Nullable java.util.List<java.net.InetAddress>, int);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user