| // Signature format: 2.0 |
| package android { |
| |
| public static final class Manifest.permission { |
| field public static final String GET_INTENT_SENDER_INTENT = "android.permission.GET_INTENT_SENDER_INTENT"; |
| } |
| |
| } |
| |
| package android.app { |
| |
| public class ActivityManager { |
| method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void addHomeVisibilityListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.HomeVisibilityListener); |
| method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void removeHomeVisibilityListener(@NonNull android.app.HomeVisibilityListener); |
| method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public boolean updateMccMncConfiguration(@NonNull String, @NonNull String); |
| } |
| |
| public class AppOpsManager { |
| field public static final String OPSTR_NO_ISOLATED_STORAGE = "android:no_isolated_storage"; |
| } |
| |
| public class BroadcastOptions { |
| method public int getMaxManifestReceiverApiLevel(); |
| method public void setMaxManifestReceiverApiLevel(int); |
| } |
| |
| public abstract class HomeVisibilityListener { |
| ctor public HomeVisibilityListener(); |
| method public abstract void onHomeVisibilityChanged(boolean); |
| } |
| |
| public class NotificationManager { |
| method public boolean hasEnabledNotificationListener(@NonNull String, @NonNull android.os.UserHandle); |
| field public static final String ACTION_NOTIFICATION_LISTENER_ENABLED_CHANGED = "android.app.action.NOTIFICATION_LISTENER_ENABLED_CHANGED"; |
| } |
| |
| public final class PendingIntent implements android.os.Parcelable { |
| method public boolean addCancelListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.PendingIntent.CancelListener); |
| method @RequiresPermission(android.Manifest.permission.GET_INTENT_SENDER_INTENT) public boolean intentFilterEquals(@Nullable android.app.PendingIntent); |
| method @NonNull @RequiresPermission(android.Manifest.permission.GET_INTENT_SENDER_INTENT) public java.util.List<android.content.pm.ResolveInfo> queryIntentComponents(int); |
| method public void removeCancelListener(@NonNull android.app.PendingIntent.CancelListener); |
| } |
| |
| public static interface PendingIntent.CancelListener { |
| method public void onCanceled(@NonNull android.app.PendingIntent); |
| } |
| |
| public class StatusBarManager { |
| method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setExpansionDisabledForSimNetworkLock(boolean); |
| } |
| |
| } |
| |
| package android.app.usage { |
| |
| public class NetworkStatsManager { |
| method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void notifyNetworkStatus(@NonNull java.util.List<android.net.Network>, @NonNull java.util.List<android.net.NetworkStateSnapshot>, @Nullable String, @NonNull java.util.List<android.net.UnderlyingNetworkInfo>); |
| } |
| |
| } |
| |
| package android.content { |
| |
| public abstract class ContentProvider implements android.content.ComponentCallbacks2 { |
| method @NonNull public static android.net.Uri createContentUriForUser(@NonNull android.net.Uri, @NonNull android.os.UserHandle); |
| } |
| |
| public abstract class Context { |
| method @NonNull public android.os.UserHandle getUser(); |
| field public static final String PAC_PROXY_SERVICE = "pac_proxy"; |
| field public static final String TEST_NETWORK_SERVICE = "test_network"; |
| } |
| |
| } |
| |
| package android.content.pm { |
| |
| public abstract class PackageManager { |
| method @NonNull public String getPermissionControllerPackageName(); |
| } |
| |
| } |
| |
| package android.hardware.usb { |
| |
| public class UsbManager { |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int getGadgetHalVersion(); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int getUsbBandwidthMbps(); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int getUsbHalVersion(); |
| field public static final int GADGET_HAL_NOT_SUPPORTED = -1; // 0xffffffff |
| field public static final int GADGET_HAL_V1_0 = 10; // 0xa |
| field public static final int GADGET_HAL_V1_1 = 11; // 0xb |
| field public static final int GADGET_HAL_V1_2 = 12; // 0xc |
| field public static final int USB_DATA_TRANSFER_RATE_10G = 10240; // 0x2800 |
| field public static final int USB_DATA_TRANSFER_RATE_20G = 20480; // 0x5000 |
| field public static final int USB_DATA_TRANSFER_RATE_40G = 40960; // 0xa000 |
| field public static final int USB_DATA_TRANSFER_RATE_5G = 5120; // 0x1400 |
| field public static final int USB_DATA_TRANSFER_RATE_FULL_SPEED = 12; // 0xc |
| field public static final int USB_DATA_TRANSFER_RATE_HIGH_SPEED = 480; // 0x1e0 |
| field public static final int USB_DATA_TRANSFER_RATE_LOW_SPEED = 2; // 0x2 |
| field public static final int USB_DATA_TRANSFER_RATE_UNKNOWN = -1; // 0xffffffff |
| field public static final int USB_HAL_NOT_SUPPORTED = -1; // 0xffffffff |
| field public static final int USB_HAL_V1_0 = 10; // 0xa |
| field public static final int USB_HAL_V1_1 = 11; // 0xb |
| field public static final int USB_HAL_V1_2 = 12; // 0xc |
| field public static final int USB_HAL_V1_3 = 13; // 0xd |
| } |
| |
| } |
| |
| package android.media { |
| |
| public class AudioManager { |
| method public void adjustStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); |
| method public void adjustSuggestedStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); |
| method @NonNull public java.util.List<android.bluetooth.BluetoothCodecConfig> getHwOffloadFormatsSupportedForA2dp(); |
| method @NonNull public java.util.List<android.bluetooth.BluetoothLeAudioCodecConfig> getHwOffloadFormatsSupportedForLeAudio(); |
| method @RequiresPermission("android.permission.BLUETOOTH_STACK") public void handleBluetoothActiveDeviceChanged(@Nullable android.bluetooth.BluetoothDevice, @Nullable android.bluetooth.BluetoothDevice, @NonNull android.media.BtProfileConnectionInfo); |
| method @RequiresPermission("android.permission.BLUETOOTH_STACK") public void setA2dpSuspended(boolean); |
| method @RequiresPermission("android.permission.BLUETOOTH_STACK") public void setBluetoothHeadsetProperties(@NonNull String, boolean, boolean); |
| method @RequiresPermission("android.permission.BLUETOOTH_STACK") public void setHfpEnabled(boolean); |
| method @RequiresPermission("android.permission.BLUETOOTH_STACK") public void setHfpSamplingRate(int); |
| method @RequiresPermission("android.permission.BLUETOOTH_STACK") public void setHfpVolume(int); |
| method public void setStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); |
| field public static final int FLAG_FROM_KEY = 4096; // 0x1000 |
| } |
| |
| public final class BtProfileConnectionInfo implements android.os.Parcelable { |
| method @NonNull public static android.media.BtProfileConnectionInfo a2dpInfo(boolean, int); |
| method public int describeContents(); |
| method public boolean getIsLeOutput(); |
| method public int getProfile(); |
| method public boolean getSuppressNoisyIntent(); |
| method public int getVolume(); |
| method @NonNull public static android.media.BtProfileConnectionInfo hearingAidInfo(boolean); |
| method @NonNull public static android.media.BtProfileConnectionInfo leAudio(boolean, boolean); |
| method public void writeToParcel(@NonNull android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.media.BtProfileConnectionInfo> CREATOR; |
| } |
| |
| public class MediaMetadataRetriever implements java.lang.AutoCloseable { |
| field public static final int METADATA_KEY_VIDEO_CODEC_MIME_TYPE = 40; // 0x28 |
| } |
| |
| public class MediaServiceManager { |
| method @NonNull public android.media.MediaServiceManager.ServiceRegisterer getMediaCommunicationServiceRegisterer(); |
| method @NonNull public android.media.MediaServiceManager.ServiceRegisterer getMediaSessionServiceRegisterer(); |
| method @NonNull public android.media.MediaServiceManager.ServiceRegisterer getMediaTranscodingServiceRegisterer(); |
| } |
| |
| public static final class MediaServiceManager.ServiceRegisterer { |
| method @Nullable public android.os.IBinder get(); |
| } |
| |
| } |
| |
| package android.media.session { |
| |
| public static final class MediaController.PlaybackInfo implements android.os.Parcelable { |
| ctor public MediaController.PlaybackInfo(int, int, @IntRange(from=0) int, @IntRange(from=0) int, @NonNull android.media.AudioAttributes, @Nullable String); |
| } |
| |
| public final class MediaSession { |
| field public static final int FLAG_EXCLUSIVE_GLOBAL_PRIORITY = 65536; // 0x10000 |
| } |
| |
| public static final class MediaSession.Token implements android.os.Parcelable { |
| method public int getUid(); |
| } |
| |
| public final class MediaSessionManager { |
| method public void addOnActiveSessionsChangedListener(@Nullable android.content.ComponentName, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.OnActiveSessionsChangedListener); |
| method public void dispatchMediaKeyEvent(@NonNull android.view.KeyEvent, boolean); |
| method public void dispatchMediaKeyEventAsSystemService(@NonNull android.view.KeyEvent); |
| method public boolean dispatchMediaKeyEventToSessionAsSystemService(@NonNull android.view.KeyEvent, @NonNull android.media.session.MediaSession.Token); |
| method public void dispatchVolumeKeyEvent(@NonNull android.view.KeyEvent, int, boolean); |
| method public void dispatchVolumeKeyEventAsSystemService(@NonNull android.view.KeyEvent, int); |
| method public void dispatchVolumeKeyEventToSessionAsSystemService(@NonNull android.view.KeyEvent, @NonNull android.media.session.MediaSession.Token); |
| method @NonNull public java.util.List<android.media.session.MediaController> getActiveSessionsForUser(@Nullable android.content.ComponentName, @NonNull android.os.UserHandle); |
| method public void registerRemoteSessionCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.RemoteSessionCallback); |
| method public void unregisterRemoteSessionCallback(@NonNull android.media.session.MediaSessionManager.RemoteSessionCallback); |
| field public static final int RESULT_MEDIA_KEY_HANDLED = 1; // 0x1 |
| field public static final int RESULT_MEDIA_KEY_NOT_HANDLED = 0; // 0x0 |
| } |
| |
| public static interface MediaSessionManager.RemoteSessionCallback { |
| method public void onDefaultRemoteSessionChanged(@Nullable android.media.session.MediaSession.Token); |
| method public void onVolumeChanged(@NonNull android.media.session.MediaSession.Token, int); |
| } |
| |
| } |
| |
| package android.net { |
| |
| public final class ConnectivityFrameworkInitializerTiramisu { |
| method public static void registerServiceWrappers(); |
| } |
| |
| public final class EthernetNetworkSpecifier extends android.net.NetworkSpecifier implements android.os.Parcelable { |
| ctor public EthernetNetworkSpecifier(@NonNull String); |
| method public int describeContents(); |
| method @Nullable public String getInterfaceName(); |
| method public void writeToParcel(@NonNull android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.net.EthernetNetworkSpecifier> CREATOR; |
| } |
| |
| public final class IpSecManager { |
| field public static final int DIRECTION_FWD = 2; // 0x2 |
| } |
| |
| public static final class IpSecManager.UdpEncapsulationSocket implements java.lang.AutoCloseable { |
| method public int getResourceId(); |
| } |
| |
| public class NetworkPolicyManager { |
| method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public int getMultipathPreference(@NonNull android.net.Network); |
| method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public int getRestrictBackgroundStatus(int); |
| method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public boolean isUidNetworkingBlocked(int, boolean); |
| method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public boolean isUidRestrictedOnMeteredNetworks(int); |
| method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public void registerNetworkPolicyCallback(@Nullable java.util.concurrent.Executor, @NonNull android.net.NetworkPolicyManager.NetworkPolicyCallback); |
| method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public void unregisterNetworkPolicyCallback(@NonNull android.net.NetworkPolicyManager.NetworkPolicyCallback); |
| } |
| |
| public static interface NetworkPolicyManager.NetworkPolicyCallback { |
| method public default void onUidBlockedReasonChanged(int, int); |
| } |
| |
| public final class NetworkStateSnapshot implements android.os.Parcelable { |
| ctor public NetworkStateSnapshot(@NonNull android.net.Network, @NonNull android.net.NetworkCapabilities, @NonNull android.net.LinkProperties, @Nullable String, int); |
| method public int describeContents(); |
| method public int getLegacyType(); |
| method @NonNull public android.net.LinkProperties getLinkProperties(); |
| method @NonNull public android.net.Network getNetwork(); |
| method @NonNull public android.net.NetworkCapabilities getNetworkCapabilities(); |
| method @Nullable public String getSubscriberId(); |
| method public void writeToParcel(@NonNull android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkStateSnapshot> CREATOR; |
| } |
| |
| public class NetworkWatchlistManager { |
| method @Nullable public byte[] getWatchlistConfigHash(); |
| } |
| |
| public class PacProxyManager { |
| method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void addPacProxyInstalledListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.PacProxyManager.PacProxyInstalledListener); |
| method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void removePacProxyInstalledListener(@NonNull android.net.PacProxyManager.PacProxyInstalledListener); |
| method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void setCurrentProxyScriptUrl(@Nullable android.net.ProxyInfo); |
| } |
| |
| public static interface PacProxyManager.PacProxyInstalledListener { |
| method public void onPacProxyInstalled(@Nullable android.net.Network, @NonNull android.net.ProxyInfo); |
| } |
| |
| public final class Proxy { |
| method public static void setHttpProxyConfiguration(@Nullable android.net.ProxyInfo); |
| } |
| |
| public final class UnderlyingNetworkInfo implements android.os.Parcelable { |
| ctor public UnderlyingNetworkInfo(int, @NonNull String, @NonNull java.util.List<java.lang.String>); |
| method public int describeContents(); |
| method @NonNull public String getInterface(); |
| method public int getOwnerUid(); |
| method @NonNull public java.util.List<java.lang.String> getUnderlyingInterfaces(); |
| method public void writeToParcel(@NonNull android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.net.UnderlyingNetworkInfo> CREATOR; |
| } |
| |
| public class VpnManager { |
| field public static final int TYPE_VPN_LEGACY = 3; // 0x3 |
| field public static final int TYPE_VPN_NONE = -1; // 0xffffffff |
| field public static final int TYPE_VPN_OEM = 4; // 0x4 |
| field public static final int TYPE_VPN_PLATFORM = 2; // 0x2 |
| field public static final int TYPE_VPN_SERVICE = 1; // 0x1 |
| } |
| |
| } |
| |
| package android.os { |
| |
| public final class BatteryStatsManager { |
| method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void reportNetworkInterfaceForTransports(@NonNull String, @NonNull int[]) throws java.lang.RuntimeException; |
| } |
| |
| public class Binder implements android.os.IBinder { |
| method public final void markVintfStability(); |
| } |
| |
| public class Build { |
| method public static boolean isDebuggable(); |
| } |
| |
| public static class Build.VERSION { |
| field public static final int DEVICE_INITIAL_SDK_INT; |
| } |
| |
| public interface Parcelable { |
| method public default int getStability(); |
| } |
| |
| public class Process { |
| field public static final int VPN_UID = 1016; // 0x3f8 |
| } |
| |
| public final class ServiceManager { |
| method public static boolean isDeclared(@NonNull String); |
| method @Nullable public static android.os.IBinder waitForDeclaredService(@NonNull String); |
| } |
| |
| 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; |
| } |
| |
| public class SystemConfigManager { |
| method @NonNull public java.util.List<android.content.ComponentName> getEnabledComponentOverrides(@NonNull String); |
| } |
| |
| } |
| |
| package android.os.storage { |
| |
| public class StorageManager { |
| method public void notifyAppIoBlocked(@NonNull java.util.UUID, int, int, int); |
| method public void notifyAppIoResumed(@NonNull java.util.UUID, int, int, int); |
| field public static final int APP_IO_BLOCKED_REASON_TRANSCODING = 1; // 0x1 |
| field public static final int APP_IO_BLOCKED_REASON_UNKNOWN = 0; // 0x0 |
| } |
| |
| public final class StorageVolume implements android.os.Parcelable { |
| method @NonNull public android.os.UserHandle getOwner(); |
| } |
| |
| } |
| |
| package android.provider { |
| |
| public static final class ContactsContract.RawContactsEntity implements android.provider.BaseColumns android.provider.ContactsContract.DataColumns android.provider.ContactsContract.RawContactsColumns { |
| method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public static java.util.Map<java.lang.String,java.util.List<android.content.ContentValues>> queryRawContactEntity(@NonNull android.content.ContentResolver, long); |
| } |
| |
| public final class DeviceConfig { |
| field public static final String NAMESPACE_ALARM_MANAGER = "alarm_manager"; |
| field public static final String NAMESPACE_APP_STANDBY = "app_standby"; |
| field public static final String NAMESPACE_DEVICE_IDLE = "device_idle"; |
| } |
| |
| } |
| |
| package android.telephony { |
| |
| public abstract class CellSignalStrength { |
| method public static int getNumSignalStrengthLevels(); |
| } |
| |
| public class SubscriptionManager { |
| method public void addSubscriptionInfoRecord(@NonNull String, @Nullable String, int, int); |
| method public void removeSubscriptionInfoRecord(@NonNull String, int); |
| } |
| |
| public class TelephonyManager { |
| method @NonNull public static int[] getAllNetworkTypes(); |
| } |
| |
| } |
| |
| package android.util { |
| |
| public class AtomicFile { |
| ctor public AtomicFile(@NonNull java.io.File, @Nullable android.util.SystemConfigFileCommitEventLogger); |
| } |
| |
| public final class Log { |
| method public static int logToRadioBuffer(int, @Nullable String, @Nullable String); |
| } |
| |
| public class SystemConfigFileCommitEventLogger { |
| ctor public SystemConfigFileCommitEventLogger(@NonNull String); |
| method public void setStartTime(long); |
| } |
| |
| } |
| |