// Signature format: 2.0 package android { public static final class Manifest.permission { field public static final String ACCESS_AMBIENT_CONTEXT_EVENT = "android.permission.ACCESS_AMBIENT_CONTEXT_EVENT"; field public static final String ACCESS_AMBIENT_LIGHT_STATS = "android.permission.ACCESS_AMBIENT_LIGHT_STATS"; field public static final String ACCESS_BROADCAST_RADIO = "android.permission.ACCESS_BROADCAST_RADIO"; field public static final String ACCESS_BROADCAST_RESPONSE_STATS = "android.permission.ACCESS_BROADCAST_RESPONSE_STATS"; field public static final String ACCESS_CACHE_FILESYSTEM = "android.permission.ACCESS_CACHE_FILESYSTEM"; field public static final String ACCESS_CONTEXT_HUB = "android.permission.ACCESS_CONTEXT_HUB"; field public static final String ACCESS_DRM_CERTIFICATES = "android.permission.ACCESS_DRM_CERTIFICATES"; field @Deprecated public static final String ACCESS_FM_RADIO = "android.permission.ACCESS_FM_RADIO"; field public static final String ACCESS_FPS_COUNTER = "android.permission.ACCESS_FPS_COUNTER"; field public static final String ACCESS_INSTANT_APPS = "android.permission.ACCESS_INSTANT_APPS"; field public static final String ACCESS_LOCUS_ID_USAGE_STATS = "android.permission.ACCESS_LOCUS_ID_USAGE_STATS"; field public static final String ACCESS_MOCK_LOCATION = "android.permission.ACCESS_MOCK_LOCATION"; field public static final String ACCESS_MTP = "android.permission.ACCESS_MTP"; field public static final String ACCESS_NETWORK_CONDITIONS = "android.permission.ACCESS_NETWORK_CONDITIONS"; field public static final String ACCESS_NOTIFICATIONS = "android.permission.ACCESS_NOTIFICATIONS"; field public static final String ACCESS_PDB_STATE = "android.permission.ACCESS_PDB_STATE"; field public static final String ACCESS_RCS_USER_CAPABILITY_EXCHANGE = "android.permission.ACCESS_RCS_USER_CAPABILITY_EXCHANGE"; field public static final String ACCESS_SHARED_LIBRARIES = "android.permission.ACCESS_SHARED_LIBRARIES"; field public static final String ACCESS_SHORTCUTS = "android.permission.ACCESS_SHORTCUTS"; field public static final String ACCESS_SURFACE_FLINGER = "android.permission.ACCESS_SURFACE_FLINGER"; field public static final String ACCESS_TUNED_INFO = "android.permission.ACCESS_TUNED_INFO"; field public static final String ACCESS_TV_DESCRAMBLER = "android.permission.ACCESS_TV_DESCRAMBLER"; field public static final String ACCESS_TV_SHARED_FILTER = "android.permission.ACCESS_TV_SHARED_FILTER"; field public static final String ACCESS_TV_TUNER = "android.permission.ACCESS_TV_TUNER"; field public static final String ACCESS_ULTRASOUND = "android.permission.ACCESS_ULTRASOUND"; field public static final String ACCESS_VIBRATOR_STATE = "android.permission.ACCESS_VIBRATOR_STATE"; field public static final String ACTIVITY_EMBEDDING = "android.permission.ACTIVITY_EMBEDDING"; field public static final String ADD_ALWAYS_UNLOCKED_DISPLAY = "android.permission.ADD_ALWAYS_UNLOCKED_DISPLAY"; field public static final String ADD_TRUSTED_DISPLAY = "android.permission.ADD_TRUSTED_DISPLAY"; field public static final String ADJUST_RUNTIME_PERMISSIONS_POLICY = "android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY"; field public static final String ALLOCATE_AGGRESSIVE = "android.permission.ALLOCATE_AGGRESSIVE"; field public static final String ALLOW_ANY_CODEC_FOR_PLAYBACK = "android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"; field public static final String ALLOW_PLACE_IN_MULTI_PANE_SETTINGS = "android.permission.ALLOW_PLACE_IN_MULTI_PANE_SETTINGS"; field public static final String ALLOW_SLIPPERY_TOUCHES = "android.permission.ALLOW_SLIPPERY_TOUCHES"; field public static final String AMBIENT_WALLPAPER = "android.permission.AMBIENT_WALLPAPER"; field public static final String APPROVE_INCIDENT_REPORTS = "android.permission.APPROVE_INCIDENT_REPORTS"; field public static final String ASSOCIATE_COMPANION_DEVICES = "android.permission.ASSOCIATE_COMPANION_DEVICES"; field public static final String BACKGROUND_CAMERA = "android.permission.BACKGROUND_CAMERA"; field public static final String BACKUP = "android.permission.BACKUP"; field public static final String BATTERY_PREDICTION = "android.permission.BATTERY_PREDICTION"; field public static final String BIND_AMBIENT_CONTEXT_DETECTION_SERVICE = "android.permission.BIND_AMBIENT_CONTEXT_DETECTION_SERVICE"; field public static final String BIND_ATTENTION_SERVICE = "android.permission.BIND_ATTENTION_SERVICE"; field public static final String BIND_AUGMENTED_AUTOFILL_SERVICE = "android.permission.BIND_AUGMENTED_AUTOFILL_SERVICE"; field public static final String BIND_CALL_DIAGNOSTIC_SERVICE = "android.permission.BIND_CALL_DIAGNOSTIC_SERVICE"; field public static final String BIND_CALL_STREAMING_SERVICE = "android.permission.BIND_CALL_STREAMING_SERVICE"; field public static final String BIND_CELL_BROADCAST_SERVICE = "android.permission.BIND_CELL_BROADCAST_SERVICE"; field @Deprecated public static final String BIND_CONNECTION_SERVICE = "android.permission.BIND_CONNECTION_SERVICE"; field public static final String BIND_CONTENT_CAPTURE_SERVICE = "android.permission.BIND_CONTENT_CAPTURE_SERVICE"; field public static final String BIND_CONTENT_SUGGESTIONS_SERVICE = "android.permission.BIND_CONTENT_SUGGESTIONS_SERVICE"; field public static final String BIND_DIRECTORY_SEARCH = "android.permission.BIND_DIRECTORY_SEARCH"; field public static final String BIND_DISPLAY_HASHING_SERVICE = "android.permission.BIND_DISPLAY_HASHING_SERVICE"; field public static final String BIND_DOMAIN_VERIFICATION_AGENT = "android.permission.BIND_DOMAIN_VERIFICATION_AGENT"; field public static final String BIND_EUICC_SERVICE = "android.permission.BIND_EUICC_SERVICE"; field public static final String BIND_EXTERNAL_STORAGE_SERVICE = "android.permission.BIND_EXTERNAL_STORAGE_SERVICE"; field public static final String BIND_FIELD_CLASSIFICATION_SERVICE = "android.permission.BIND_FIELD_CLASSIFICATION_SERVICE"; field public static final String BIND_GBA_SERVICE = "android.permission.BIND_GBA_SERVICE"; field public static final String BIND_HOTWORD_DETECTION_SERVICE = "android.permission.BIND_HOTWORD_DETECTION_SERVICE"; field public static final String BIND_IMS_SERVICE = "android.permission.BIND_IMS_SERVICE"; field public static final String BIND_KEYGUARD_APPWIDGET = "android.permission.BIND_KEYGUARD_APPWIDGET"; field public static final String BIND_MUSIC_RECOGNITION_SERVICE = "android.permission.BIND_MUSIC_RECOGNITION_SERVICE"; field public static final String BIND_NETWORK_RECOMMENDATION_SERVICE = "android.permission.BIND_NETWORK_RECOMMENDATION_SERVICE"; field public static final String BIND_NOTIFICATION_ASSISTANT_SERVICE = "android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE"; field public static final String BIND_PHONE_ACCOUNT_SUGGESTION_SERVICE = "android.permission.BIND_PHONE_ACCOUNT_SUGGESTION_SERVICE"; field public static final String BIND_PRINT_RECOMMENDATION_SERVICE = "android.permission.BIND_PRINT_RECOMMENDATION_SERVICE"; field public static final String BIND_REMOTE_LOCKSCREEN_VALIDATION_SERVICE = "android.permission.BIND_REMOTE_LOCKSCREEN_VALIDATION_SERVICE"; field public static final String BIND_RESOLVER_RANKER_SERVICE = "android.permission.BIND_RESOLVER_RANKER_SERVICE"; field public static final String BIND_RESUME_ON_REBOOT_SERVICE = "android.permission.BIND_RESUME_ON_REBOOT_SERVICE"; field public static final String BIND_ROTATION_RESOLVER_SERVICE = "android.permission.BIND_ROTATION_RESOLVER_SERVICE"; field public static final String BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE = "android.permission.BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE"; field public static final String BIND_SATELLITE_SERVICE = "android.permission.BIND_SATELLITE_SERVICE"; field public static final String BIND_SETTINGS_SUGGESTIONS_SERVICE = "android.permission.BIND_SETTINGS_SUGGESTIONS_SERVICE"; field public static final String BIND_SOUND_TRIGGER_DETECTION_SERVICE = "android.permission.BIND_SOUND_TRIGGER_DETECTION_SERVICE"; field public static final String BIND_TELEPHONY_DATA_SERVICE = "android.permission.BIND_TELEPHONY_DATA_SERVICE"; field public static final String BIND_TELEPHONY_NETWORK_SERVICE = "android.permission.BIND_TELEPHONY_NETWORK_SERVICE"; field public static final String BIND_TEXTCLASSIFIER_SERVICE = "android.permission.BIND_TEXTCLASSIFIER_SERVICE"; field public static final String BIND_TIME_ZONE_PROVIDER_SERVICE = "android.permission.BIND_TIME_ZONE_PROVIDER_SERVICE"; field public static final String BIND_TRACE_REPORT_SERVICE = "android.permission.BIND_TRACE_REPORT_SERVICE"; field public static final String BIND_TRANSLATION_SERVICE = "android.permission.BIND_TRANSLATION_SERVICE"; field public static final String BIND_TRUST_AGENT = "android.permission.BIND_TRUST_AGENT"; field public static final String BIND_TV_REMOTE_SERVICE = "android.permission.BIND_TV_REMOTE_SERVICE"; field public static final String BIND_VISUAL_QUERY_DETECTION_SERVICE = "android.permission.BIND_VISUAL_QUERY_DETECTION_SERVICE"; field public static final String BIND_WALLPAPER_EFFECTS_GENERATION_SERVICE = "android.permission.BIND_WALLPAPER_EFFECTS_GENERATION_SERVICE"; field public static final String BIND_WEARABLE_SENSING_SERVICE = "android.permission.BIND_WEARABLE_SENSING_SERVICE"; field public static final String BLUETOOTH_MAP = "android.permission.BLUETOOTH_MAP"; field public static final String BRICK = "android.permission.BRICK"; field public static final String BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_USAGE"; field public static final String BROADCAST_CLOSE_SYSTEM_DIALOGS = "android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS"; field @Deprecated public static final String BROADCAST_NETWORK_PRIVILEGED = "android.permission.BROADCAST_NETWORK_PRIVILEGED"; field public static final String BYPASS_ROLE_QUALIFICATION = "android.permission.BYPASS_ROLE_QUALIFICATION"; field public static final String CALL_AUDIO_INTERCEPTION = "android.permission.CALL_AUDIO_INTERCEPTION"; field public static final String CAMERA_DISABLE_TRANSMIT_LED = "android.permission.CAMERA_DISABLE_TRANSMIT_LED"; field public static final String CAMERA_OPEN_CLOSE_LISTENER = "android.permission.CAMERA_OPEN_CLOSE_LISTENER"; field public static final String CAPTURE_AUDIO_HOTWORD = "android.permission.CAPTURE_AUDIO_HOTWORD"; field public static final String CAPTURE_CONSENTLESS_BUGREPORT_ON_USERDEBUG_BUILD = "android.permission.CAPTURE_CONSENTLESS_BUGREPORT_ON_USERDEBUG_BUILD"; field public static final String CAPTURE_MEDIA_OUTPUT = "android.permission.CAPTURE_MEDIA_OUTPUT"; field public static final String CAPTURE_TUNER_AUDIO_INPUT = "android.permission.CAPTURE_TUNER_AUDIO_INPUT"; field public static final String CAPTURE_TV_INPUT = "android.permission.CAPTURE_TV_INPUT"; field public static final String CAPTURE_VOICE_COMMUNICATION_OUTPUT = "android.permission.CAPTURE_VOICE_COMMUNICATION_OUTPUT"; field public static final String CHANGE_APP_IDLE_STATE = "android.permission.CHANGE_APP_IDLE_STATE"; field public static final String CHANGE_APP_LAUNCH_TIME_ESTIMATE = "android.permission.CHANGE_APP_LAUNCH_TIME_ESTIMATE"; field public static final String CHANGE_DEVICE_IDLE_TEMP_WHITELIST = "android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"; field public static final String CHECK_REMOTE_LOCKSCREEN = "android.permission.CHECK_REMOTE_LOCKSCREEN"; field public static final String CLEAR_APP_USER_DATA = "android.permission.CLEAR_APP_USER_DATA"; field public static final String COMPANION_APPROVE_WIFI_CONNECTIONS = "android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS"; field public static final String CONFIGURE_DISPLAY_BRIGHTNESS = "android.permission.CONFIGURE_DISPLAY_BRIGHTNESS"; field public static final String CONFIGURE_INTERACT_ACROSS_PROFILES = "android.permission.CONFIGURE_INTERACT_ACROSS_PROFILES"; field @Deprecated public static final String CONNECTIVITY_INTERNAL = "android.permission.CONNECTIVITY_INTERNAL"; field public static final String CONNECTIVITY_USE_RESTRICTED_NETWORKS = "android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"; field public static final String CONTROL_DEVICE_LIGHTS = "android.permission.CONTROL_DEVICE_LIGHTS"; field public static final String CONTROL_DISPLAY_COLOR_TRANSFORMS = "android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS"; field public static final String CONTROL_DISPLAY_SATURATION = "android.permission.CONTROL_DISPLAY_SATURATION"; field public static final String CONTROL_INCALL_EXPERIENCE = "android.permission.CONTROL_INCALL_EXPERIENCE"; field public static final String CONTROL_KEYGUARD_SECURE_NOTIFICATIONS = "android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS"; field public static final String CONTROL_OEM_PAID_NETWORK_PREFERENCE = "android.permission.CONTROL_OEM_PAID_NETWORK_PREFERENCE"; field public static final String CONTROL_VPN = "android.permission.CONTROL_VPN"; field public static final String CREATE_USERS = "android.permission.CREATE_USERS"; field public static final String CREATE_VIRTUAL_DEVICE = "android.permission.CREATE_VIRTUAL_DEVICE"; field public static final String CRYPT_KEEPER = "android.permission.CRYPT_KEEPER"; field public static final String DEVICE_POWER = "android.permission.DEVICE_POWER"; field public static final String DISABLE_SYSTEM_SOUND_EFFECTS = "android.permission.DISABLE_SYSTEM_SOUND_EFFECTS"; field public static final String DISPATCH_PROVISIONING_MESSAGE = "android.permission.DISPATCH_PROVISIONING_MESSAGE"; field public static final String DOMAIN_VERIFICATION_AGENT = "android.permission.DOMAIN_VERIFICATION_AGENT"; field public static final String ENTER_CAR_MODE_PRIORITIZED = "android.permission.ENTER_CAR_MODE_PRIORITIZED"; field public static final String EXEMPT_FROM_AUDIO_RECORD_RESTRICTIONS = "android.permission.EXEMPT_FROM_AUDIO_RECORD_RESTRICTIONS"; field public static final String FORCE_BACK = "android.permission.FORCE_BACK"; field public static final String FORCE_STOP_PACKAGES = "android.permission.FORCE_STOP_PACKAGES"; field public static final String GET_APP_METADATA = "android.permission.GET_APP_METADATA"; field public static final String GET_APP_OPS_STATS = "android.permission.GET_APP_OPS_STATS"; field public static final String GET_HISTORICAL_APP_OPS_STATS = "android.permission.GET_HISTORICAL_APP_OPS_STATS"; field public static final String GET_PROCESS_STATE_AND_OOM_SCORE = "android.permission.GET_PROCESS_STATE_AND_OOM_SCORE"; field public static final String GET_RUNTIME_PERMISSIONS = "android.permission.GET_RUNTIME_PERMISSIONS"; field public static final String GET_TOP_ACTIVITY_INFO = "android.permission.GET_TOP_ACTIVITY_INFO"; field @Deprecated public static final String GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS = "android.permission.GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS"; field public static final String GRANT_RUNTIME_PERMISSIONS = "android.permission.GRANT_RUNTIME_PERMISSIONS"; field public static final String GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS = "android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS"; field public static final String HANDLE_CAR_MODE_CHANGES = "android.permission.HANDLE_CAR_MODE_CHANGES"; field public static final String HARDWARE_TEST = "android.permission.HARDWARE_TEST"; field public static final String HDMI_CEC = "android.permission.HDMI_CEC"; field @Deprecated public static final String HIDE_NON_SYSTEM_OVERLAY_WINDOWS = "android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"; field public static final String INJECT_EVENTS = "android.permission.INJECT_EVENTS"; field public static final String INSTALL_DPC_PACKAGES = "android.permission.INSTALL_DPC_PACKAGES"; field public static final String INSTALL_DYNAMIC_SYSTEM = "android.permission.INSTALL_DYNAMIC_SYSTEM"; field public static final String INSTALL_EXISTING_PACKAGES = "com.android.permission.INSTALL_EXISTING_PACKAGES"; field public static final String INSTALL_GRANT_RUNTIME_PERMISSIONS = "android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS"; field public static final String INSTALL_LOCATION_TIME_ZONE_PROVIDER_SERVICE = "android.permission.INSTALL_LOCATION_TIME_ZONE_PROVIDER_SERVICE"; field public static final String INSTALL_PACKAGE_UPDATES = "android.permission.INSTALL_PACKAGE_UPDATES"; field public static final String INSTALL_SELF_UPDATES = "android.permission.INSTALL_SELF_UPDATES"; field public static final String INTENT_FILTER_VERIFICATION_AGENT = "android.permission.INTENT_FILTER_VERIFICATION_AGENT"; field public static final String INTERACT_ACROSS_USERS = "android.permission.INTERACT_ACROSS_USERS"; field public static final String INTERACT_ACROSS_USERS_FULL = "android.permission.INTERACT_ACROSS_USERS_FULL"; field public static final String INTERNAL_SYSTEM_WINDOW = "android.permission.INTERNAL_SYSTEM_WINDOW"; field public static final String INVOKE_CARRIER_SETUP = "android.permission.INVOKE_CARRIER_SETUP"; field public static final String KILL_ALL_BACKGROUND_PROCESSES = "android.permission.KILL_ALL_BACKGROUND_PROCESSES"; field public static final String KILL_UID = "android.permission.KILL_UID"; field public static final String LAUNCH_DEVICE_MANAGER_SETUP = "android.permission.LAUNCH_DEVICE_MANAGER_SETUP"; field public static final String LOCAL_MAC_ADDRESS = "android.permission.LOCAL_MAC_ADDRESS"; field public static final String LOCATION_BYPASS = "android.permission.LOCATION_BYPASS"; field public static final String LOCK_DEVICE = "android.permission.LOCK_DEVICE"; field public static final String LOG_FOREGROUND_RESOURCE_USE = "android.permission.LOG_FOREGROUND_RESOURCE_USE"; field public static final String LOOP_RADIO = "android.permission.LOOP_RADIO"; field public static final String MANAGE_ACCESSIBILITY = "android.permission.MANAGE_ACCESSIBILITY"; field @Deprecated public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS"; field public static final String MANAGE_ACTIVITY_TASKS = "android.permission.MANAGE_ACTIVITY_TASKS"; field public static final String MANAGE_APP_HIBERNATION = "android.permission.MANAGE_APP_HIBERNATION"; field public static final String MANAGE_APP_OPS_RESTRICTIONS = "android.permission.MANAGE_APP_OPS_RESTRICTIONS"; field public static final String MANAGE_APP_PREDICTIONS = "android.permission.MANAGE_APP_PREDICTIONS"; field public static final String MANAGE_APP_TOKENS = "android.permission.MANAGE_APP_TOKENS"; field public static final String MANAGE_AUTO_FILL = "android.permission.MANAGE_AUTO_FILL"; field public static final String MANAGE_BLUETOOTH_WHEN_WIRELESS_CONSENT_REQUIRED = "android.permission.MANAGE_BLUETOOTH_WHEN_WIRELESS_CONSENT_REQUIRED"; field public static final String MANAGE_CARRIER_OEM_UNLOCK_STATE = "android.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE"; field public static final String MANAGE_CA_CERTIFICATES = "android.permission.MANAGE_CA_CERTIFICATES"; field public static final String MANAGE_CLIPBOARD_ACCESS_NOTIFICATION = "android.permission.MANAGE_CLIPBOARD_ACCESS_NOTIFICATION"; field public static final String MANAGE_CLOUDSEARCH = "android.permission.MANAGE_CLOUDSEARCH"; field public static final String MANAGE_CONTENT_CAPTURE = "android.permission.MANAGE_CONTENT_CAPTURE"; field public static final String MANAGE_CONTENT_SUGGESTIONS = "android.permission.MANAGE_CONTENT_SUGGESTIONS"; field public static final String MANAGE_DEBUGGING = "android.permission.MANAGE_DEBUGGING"; field public static final String MANAGE_DEFAULT_APPLICATIONS = "android.permission.MANAGE_DEFAULT_APPLICATIONS"; field public static final String MANAGE_DEVICE_ADMINS = "android.permission.MANAGE_DEVICE_ADMINS"; field public static final String MANAGE_DEVICE_POLICY_APP_EXEMPTIONS = "android.permission.MANAGE_DEVICE_POLICY_APP_EXEMPTIONS"; field public static final String MANAGE_ETHERNET_NETWORKS = "android.permission.MANAGE_ETHERNET_NETWORKS"; field public static final String MANAGE_FACTORY_RESET_PROTECTION = "android.permission.MANAGE_FACTORY_RESET_PROTECTION"; field public static final String MANAGE_GAME_ACTIVITY = "android.permission.MANAGE_GAME_ACTIVITY"; field public static final String MANAGE_GAME_MODE = "android.permission.MANAGE_GAME_MODE"; field public static final String MANAGE_HOTWORD_DETECTION = "android.permission.MANAGE_HOTWORD_DETECTION"; field public static final String MANAGE_IPSEC_TUNNELS = "android.permission.MANAGE_IPSEC_TUNNELS"; field public static final String MANAGE_LOW_POWER_STANDBY = "android.permission.MANAGE_LOW_POWER_STANDBY"; field public static final String MANAGE_MUSIC_RECOGNITION = "android.permission.MANAGE_MUSIC_RECOGNITION"; field public static final String MANAGE_NOTIFICATION_LISTENERS = "android.permission.MANAGE_NOTIFICATION_LISTENERS"; field public static final String MANAGE_ONE_TIME_PERMISSION_SESSIONS = "android.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS"; field public static final String MANAGE_PROFILE_AND_DEVICE_OWNERS = "android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS"; field public static final String MANAGE_ROLE_HOLDERS = "android.permission.MANAGE_ROLE_HOLDERS"; field public static final String MANAGE_ROLLBACKS = "android.permission.MANAGE_ROLLBACKS"; field public static final String MANAGE_ROTATION_RESOLVER = "android.permission.MANAGE_ROTATION_RESOLVER"; field public static final String MANAGE_SAFETY_CENTER = "android.permission.MANAGE_SAFETY_CENTER"; field public static final String MANAGE_SEARCH_UI = "android.permission.MANAGE_SEARCH_UI"; field public static final String MANAGE_SENSOR_PRIVACY = "android.permission.MANAGE_SENSOR_PRIVACY"; field public static final String MANAGE_SMARTSPACE = "android.permission.MANAGE_SMARTSPACE"; field public static final String MANAGE_SOUND_TRIGGER = "android.permission.MANAGE_SOUND_TRIGGER"; field public static final String MANAGE_SPEECH_RECOGNITION = "android.permission.MANAGE_SPEECH_RECOGNITION"; field public static final String MANAGE_SUBSCRIPTION_PLANS = "android.permission.MANAGE_SUBSCRIPTION_PLANS"; field public static final String MANAGE_SUBSCRIPTION_USER_ASSOCIATION = "android.permission.MANAGE_SUBSCRIPTION_USER_ASSOCIATION"; field public static final String MANAGE_TEST_NETWORKS = "android.permission.MANAGE_TEST_NETWORKS"; field public static final String MANAGE_TIME_AND_ZONE_DETECTION = "android.permission.MANAGE_TIME_AND_ZONE_DETECTION"; field public static final String MANAGE_UI_TRANSLATION = "android.permission.MANAGE_UI_TRANSLATION"; field public static final String MANAGE_USB = "android.permission.MANAGE_USB"; field public static final String MANAGE_USERS = "android.permission.MANAGE_USERS"; field public static final String MANAGE_USER_OEM_UNLOCK_STATE = "android.permission.MANAGE_USER_OEM_UNLOCK_STATE"; field public static final String MANAGE_WALLPAPER_EFFECTS_GENERATION = "android.permission.MANAGE_WALLPAPER_EFFECTS_GENERATION"; field public static final String MANAGE_WEAK_ESCROW_TOKEN = "android.permission.MANAGE_WEAK_ESCROW_TOKEN"; field public static final String MANAGE_WEARABLE_SENSING_SERVICE = "android.permission.MANAGE_WEARABLE_SENSING_SERVICE"; field public static final String MANAGE_WIFI_COUNTRY_CODE = "android.permission.MANAGE_WIFI_COUNTRY_CODE"; field public static final String MARK_DEVICE_ORGANIZATION_OWNED = "android.permission.MARK_DEVICE_ORGANIZATION_OWNED"; field public static final String MEDIA_RESOURCE_OVERRIDE_PID = "android.permission.MEDIA_RESOURCE_OVERRIDE_PID"; field public static final String MIGRATE_HEALTH_CONNECT_DATA = "android.permission.MIGRATE_HEALTH_CONNECT_DATA"; field public static final String MODIFY_APPWIDGET_BIND_PERMISSIONS = "android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"; field public static final String MODIFY_AUDIO_ROUTING = "android.permission.MODIFY_AUDIO_ROUTING"; field public static final String MODIFY_AUDIO_SETTINGS_PRIVILEGED = "android.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED"; field public static final String MODIFY_CELL_BROADCASTS = "android.permission.MODIFY_CELL_BROADCASTS"; field public static final String MODIFY_DAY_NIGHT_MODE = "android.permission.MODIFY_DAY_NIGHT_MODE"; field @Deprecated public static final String MODIFY_NETWORK_ACCOUNTING = "android.permission.MODIFY_NETWORK_ACCOUNTING"; field public static final String MODIFY_PARENTAL_CONTROLS = "android.permission.MODIFY_PARENTAL_CONTROLS"; field public static final String MODIFY_QUIET_MODE = "android.permission.MODIFY_QUIET_MODE"; field public static final String MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE = "android.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE"; field public static final String MONITOR_DEVICE_CONFIG_ACCESS = "android.permission.MONITOR_DEVICE_CONFIG_ACCESS"; field public static final String MOVE_PACKAGE = "android.permission.MOVE_PACKAGE"; field public static final String NETWORK_AIRPLANE_MODE = "android.permission.NETWORK_AIRPLANE_MODE"; field public static final String NETWORK_CARRIER_PROVISIONING = "android.permission.NETWORK_CARRIER_PROVISIONING"; field public static final String NETWORK_FACTORY = "android.permission.NETWORK_FACTORY"; field public static final String NETWORK_MANAGED_PROVISIONING = "android.permission.NETWORK_MANAGED_PROVISIONING"; field public static final String NETWORK_SCAN = "android.permission.NETWORK_SCAN"; field public static final String NETWORK_SETTINGS = "android.permission.NETWORK_SETTINGS"; field public static final String NETWORK_SETUP_WIZARD = "android.permission.NETWORK_SETUP_WIZARD"; field public static final String NETWORK_SIGNAL_STRENGTH_WAKEUP = "android.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP"; field public static final String NETWORK_STACK = "android.permission.NETWORK_STACK"; field public static final String NETWORK_STATS_PROVIDER = "android.permission.NETWORK_STATS_PROVIDER"; field public static final String NFC_SET_CONTROLLER_ALWAYS_ON = "android.permission.NFC_SET_CONTROLLER_ALWAYS_ON"; field public static final String NOTIFICATION_DURING_SETUP = "android.permission.NOTIFICATION_DURING_SETUP"; field public static final String NOTIFY_TV_INPUTS = "android.permission.NOTIFY_TV_INPUTS"; field public static final String OBSERVE_APP_USAGE = "android.permission.OBSERVE_APP_USAGE"; field public static final String OBSERVE_NETWORK_POLICY = "android.permission.OBSERVE_NETWORK_POLICY"; field public static final String OBSERVE_ROLE_HOLDERS = "android.permission.OBSERVE_ROLE_HOLDERS"; field public static final String OBSERVE_SENSOR_PRIVACY = "android.permission.OBSERVE_SENSOR_PRIVACY"; field public static final String OPEN_ACCESSIBILITY_DETAILS_SETTINGS = "android.permission.OPEN_ACCESSIBILITY_DETAILS_SETTINGS"; field public static final String OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD = "android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD"; field public static final String PACKAGE_VERIFICATION_AGENT = "android.permission.PACKAGE_VERIFICATION_AGENT"; field public static final String PACKET_KEEPALIVE_OFFLOAD = "android.permission.PACKET_KEEPALIVE_OFFLOAD"; field public static final String PEERS_MAC_ADDRESS = "android.permission.PEERS_MAC_ADDRESS"; field public static final String PERFORM_CDMA_PROVISIONING = "android.permission.PERFORM_CDMA_PROVISIONING"; field public static final String PERFORM_IMS_SINGLE_REGISTRATION = "android.permission.PERFORM_IMS_SINGLE_REGISTRATION"; field public static final String PERFORM_SIM_ACTIVATION = "android.permission.PERFORM_SIM_ACTIVATION"; field public static final String POWER_SAVER = "android.permission.POWER_SAVER"; field public static final String PROVIDE_DEFAULT_ENABLED_CREDENTIAL_SERVICE = "android.permission.PROVIDE_DEFAULT_ENABLED_CREDENTIAL_SERVICE"; field public static final String PROVIDE_RESOLVER_RANKER_SERVICE = "android.permission.PROVIDE_RESOLVER_RANKER_SERVICE"; field public static final String PROVIDE_TRUST_AGENT = "android.permission.PROVIDE_TRUST_AGENT"; field public static final String PROVISION_DEMO_DEVICE = "android.permission.PROVISION_DEMO_DEVICE"; field public static final String QUERY_ADMIN_POLICY = "android.permission.QUERY_ADMIN_POLICY"; field public static final String QUERY_CLONED_APPS = "android.permission.QUERY_CLONED_APPS"; field @Deprecated public static final String QUERY_TIME_ZONE_RULES = "android.permission.QUERY_TIME_ZONE_RULES"; field public static final String QUERY_USERS = "android.permission.QUERY_USERS"; field public static final String RADIO_SCAN_WITHOUT_LOCATION = "android.permission.RADIO_SCAN_WITHOUT_LOCATION"; field public static final String READ_ACTIVE_EMERGENCY_SESSION = "android.permission.READ_ACTIVE_EMERGENCY_SESSION"; field public static final String READ_APP_SPECIFIC_LOCALES = "android.permission.READ_APP_SPECIFIC_LOCALES"; field public static final String READ_CARRIER_APP_INFO = "android.permission.READ_CARRIER_APP_INFO"; field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS"; field public static final String READ_CLIPBOARD_IN_BACKGROUND = "android.permission.READ_CLIPBOARD_IN_BACKGROUND"; field public static final String READ_CONTENT_RATING_SYSTEMS = "android.permission.READ_CONTENT_RATING_SYSTEMS"; field public static final String READ_DEVICE_CONFIG = "android.permission.READ_DEVICE_CONFIG"; field public static final String READ_DREAM_STATE = "android.permission.READ_DREAM_STATE"; field public static final String READ_GLOBAL_APP_SEARCH_DATA = "android.permission.READ_GLOBAL_APP_SEARCH_DATA"; field public static final String READ_INSTALL_SESSIONS = "android.permission.READ_INSTALL_SESSIONS"; field public static final String READ_NETWORK_USAGE_HISTORY = "android.permission.READ_NETWORK_USAGE_HISTORY"; field public static final String READ_OEM_UNLOCK_STATE = "android.permission.READ_OEM_UNLOCK_STATE"; field public static final String READ_PEOPLE_DATA = "android.permission.READ_PEOPLE_DATA"; field public static final String READ_PRINT_SERVICES = "android.permission.READ_PRINT_SERVICES"; field public static final String READ_PRINT_SERVICE_RECOMMENDATIONS = "android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS"; field public static final String READ_PRIVILEGED_PHONE_STATE = "android.permission.READ_PRIVILEGED_PHONE_STATE"; field public static final String READ_PROJECTION_STATE = "android.permission.READ_PROJECTION_STATE"; field public static final String READ_RESTRICTED_STATS = "android.permission.READ_RESTRICTED_STATS"; field public static final String READ_RUNTIME_PROFILES = "android.permission.READ_RUNTIME_PROFILES"; field public static final String READ_SAFETY_CENTER_STATUS = "android.permission.READ_SAFETY_CENTER_STATUS"; field public static final String READ_SEARCH_INDEXABLES = "android.permission.READ_SEARCH_INDEXABLES"; field public static final String READ_SYSTEM_UPDATE_INFO = "android.permission.READ_SYSTEM_UPDATE_INFO"; field public static final String READ_WALLPAPER_INTERNAL = "android.permission.READ_WALLPAPER_INTERNAL"; field public static final String READ_WIFI_CREDENTIAL = "android.permission.READ_WIFI_CREDENTIAL"; field public static final String READ_WRITE_SYNC_DISABLED_MODE_CONFIG = "android.permission.READ_WRITE_SYNC_DISABLED_MODE_CONFIG"; field public static final String REAL_GET_TASKS = "android.permission.REAL_GET_TASKS"; field public static final String RECEIVE_BLUETOOTH_MAP = "android.permission.RECEIVE_BLUETOOTH_MAP"; field public static final String RECEIVE_DATA_ACTIVITY_CHANGE = "android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"; field public static final String RECEIVE_DEVICE_CUSTOMIZATION_READY = "android.permission.RECEIVE_DEVICE_CUSTOMIZATION_READY"; field public static final String RECEIVE_EMERGENCY_BROADCAST = "android.permission.RECEIVE_EMERGENCY_BROADCAST"; field public static final String RECEIVE_WIFI_CREDENTIAL_CHANGE = "android.permission.RECEIVE_WIFI_CREDENTIAL_CHANGE"; field public static final String RECORD_BACKGROUND_AUDIO = "android.permission.RECORD_BACKGROUND_AUDIO"; field public static final String RECOVERY = "android.permission.RECOVERY"; field public static final String RECOVER_KEYSTORE = "android.permission.RECOVER_KEYSTORE"; field public static final String REGISTER_CALL_PROVIDER = "android.permission.REGISTER_CALL_PROVIDER"; field public static final String REGISTER_CONNECTION_MANAGER = "android.permission.REGISTER_CONNECTION_MANAGER"; field public static final String REGISTER_SIM_SUBSCRIPTION = "android.permission.REGISTER_SIM_SUBSCRIPTION"; field public static final String REGISTER_STATS_PULL_ATOM = "android.permission.REGISTER_STATS_PULL_ATOM"; field public static final String REMOTE_DISPLAY_PROVIDER = "android.permission.REMOTE_DISPLAY_PROVIDER"; field public static final String REMOVE_DRM_CERTIFICATES = "android.permission.REMOVE_DRM_CERTIFICATES"; field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS"; field public static final String RENOUNCE_PERMISSIONS = "android.permission.RENOUNCE_PERMISSIONS"; field @Deprecated public static final String REQUEST_NETWORK_SCORES = "android.permission.REQUEST_NETWORK_SCORES"; field public static final String REQUEST_NOTIFICATION_ASSISTANT_SERVICE = "android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE"; field public static final String RESET_PASSWORD = "android.permission.RESET_PASSWORD"; field public static final String RESTART_WIFI_SUBSYSTEM = "android.permission.RESTART_WIFI_SUBSYSTEM"; field public static final String RESTORE_RUNTIME_PERMISSIONS = "android.permission.RESTORE_RUNTIME_PERMISSIONS"; field public static final String RESTRICTED_VR_ACCESS = "android.permission.RESTRICTED_VR_ACCESS"; field public static final String RETRIEVE_WINDOW_CONTENT = "android.permission.RETRIEVE_WINDOW_CONTENT"; field public static final String REVIEW_ACCESSIBILITY_SERVICES = "android.permission.REVIEW_ACCESSIBILITY_SERVICES"; field public static final String REVOKE_RUNTIME_PERMISSIONS = "android.permission.REVOKE_RUNTIME_PERMISSIONS"; field public static final String ROTATE_SURFACE_FLINGER = "android.permission.ROTATE_SURFACE_FLINGER"; field public static final String SATELLITE_COMMUNICATION = "android.permission.SATELLITE_COMMUNICATION"; field public static final String SCHEDULE_PRIORITIZED_ALARM = "android.permission.SCHEDULE_PRIORITIZED_ALARM"; field @Deprecated public static final String SCORE_NETWORKS = "android.permission.SCORE_NETWORKS"; field public static final String SECURE_ELEMENT_PRIVILEGED_OPERATION = "android.permission.SECURE_ELEMENT_PRIVILEGED_OPERATION"; field public static final String SEND_CATEGORY_CAR_NOTIFICATIONS = "android.permission.SEND_CATEGORY_CAR_NOTIFICATIONS"; field public static final String SEND_DEVICE_CUSTOMIZATION_READY = "android.permission.SEND_DEVICE_CUSTOMIZATION_READY"; field public static final String SEND_SAFETY_CENTER_UPDATE = "android.permission.SEND_SAFETY_CENTER_UPDATE"; field public static final String SEND_SHOW_SUSPENDED_APP_DETAILS = "android.permission.SEND_SHOW_SUSPENDED_APP_DETAILS"; field public static final String SEND_SMS_NO_CONFIRMATION = "android.permission.SEND_SMS_NO_CONFIRMATION"; field public static final String SERIAL_PORT = "android.permission.SERIAL_PORT"; field public static final String SET_ACTIVITY_WATCHER = "android.permission.SET_ACTIVITY_WATCHER"; field public static final String SET_CLIP_SOURCE = "android.permission.SET_CLIP_SOURCE"; field public static final String SET_DEFAULT_ACCOUNT_FOR_CONTACTS = "android.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS"; field public static final String SET_HARMFUL_APP_WARNINGS = "android.permission.SET_HARMFUL_APP_WARNINGS"; field public static final String SET_LOW_POWER_STANDBY_PORTS = "android.permission.SET_LOW_POWER_STANDBY_PORTS"; field public static final String SET_MEDIA_KEY_LISTENER = "android.permission.SET_MEDIA_KEY_LISTENER"; field public static final String SET_ORIENTATION = "android.permission.SET_ORIENTATION"; field public static final String SET_POINTER_SPEED = "android.permission.SET_POINTER_SPEED"; field public static final String SET_SCREEN_COMPATIBILITY = "android.permission.SET_SCREEN_COMPATIBILITY"; field public static final String SET_SYSTEM_AUDIO_CAPTION = "android.permission.SET_SYSTEM_AUDIO_CAPTION"; field public static final String SET_UNRESTRICTED_KEEP_CLEAR_AREAS = "android.permission.SET_UNRESTRICTED_KEEP_CLEAR_AREAS"; field public static final String SET_VOLUME_KEY_LONG_PRESS_LISTENER = "android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER"; field public static final String SET_WALLPAPER_COMPONENT = "android.permission.SET_WALLPAPER_COMPONENT"; field public static final String SET_WALLPAPER_DIM_AMOUNT = "android.permission.SET_WALLPAPER_DIM_AMOUNT"; field public static final String SHOW_KEYGUARD_MESSAGE = "android.permission.SHOW_KEYGUARD_MESSAGE"; field public static final String SHUTDOWN = "android.permission.SHUTDOWN"; field public static final String SIGNAL_REBOOT_READINESS = "android.permission.SIGNAL_REBOOT_READINESS"; field public static final String SOUND_TRIGGER_RUN_IN_BATTERY_SAVER = "android.permission.SOUND_TRIGGER_RUN_IN_BATTERY_SAVER"; field public static final String STAGE_HEALTH_CONNECT_REMOTE_DATA = "android.permission.STAGE_HEALTH_CONNECT_REMOTE_DATA"; field public static final String START_ACTIVITIES_FROM_BACKGROUND = "android.permission.START_ACTIVITIES_FROM_BACKGROUND"; field public static final String START_CROSS_PROFILE_ACTIVITIES = "android.permission.START_CROSS_PROFILE_ACTIVITIES"; field public static final String START_REVIEW_PERMISSION_DECISIONS = "android.permission.START_REVIEW_PERMISSION_DECISIONS"; field public static final String START_TASKS_FROM_RECENTS = "android.permission.START_TASKS_FROM_RECENTS"; field public static final String STATUS_BAR_SERVICE = "android.permission.STATUS_BAR_SERVICE"; field public static final String STOP_APP_SWITCHES = "android.permission.STOP_APP_SWITCHES"; field public static final String SUBSTITUTE_NOTIFICATION_APP_NAME = "android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"; field public static final String SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON = "android.permission.SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON"; field public static final String SUGGEST_EXTERNAL_TIME = "android.permission.SUGGEST_EXTERNAL_TIME"; field public static final String SUSPEND_APPS = "android.permission.SUSPEND_APPS"; field public static final String SYSTEM_APPLICATION_OVERLAY = "android.permission.SYSTEM_APPLICATION_OVERLAY"; field public static final String SYSTEM_CAMERA = "android.permission.SYSTEM_CAMERA"; field public static final String TETHER_PRIVILEGED = "android.permission.TETHER_PRIVILEGED"; field public static final String TIS_EXTENSION_INTERFACE = "android.permission.TIS_EXTENSION_INTERFACE"; field public static final String TOGGLE_AUTOMOTIVE_PROJECTION = "android.permission.TOGGLE_AUTOMOTIVE_PROJECTION"; field public static final String TRIGGER_LOST_MODE = "android.permission.TRIGGER_LOST_MODE"; field public static final String TV_INPUT_HARDWARE = "android.permission.TV_INPUT_HARDWARE"; field public static final String TV_VIRTUAL_REMOTE_CONTROLLER = "android.permission.TV_VIRTUAL_REMOTE_CONTROLLER"; field public static final String UNLIMITED_SHORTCUTS_API_CALLS = "android.permission.UNLIMITED_SHORTCUTS_API_CALLS"; field public static final String UPDATE_APP_OPS_STATS = "android.permission.UPDATE_APP_OPS_STATS"; field public static final String UPDATE_DEVICE_MANAGEMENT_RESOURCES = "android.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES"; field public static final String UPDATE_DOMAIN_VERIFICATION_USER_SELECTION = "android.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION"; field public static final String UPDATE_FONTS = "android.permission.UPDATE_FONTS"; field public static final String UPDATE_LOCK = "android.permission.UPDATE_LOCK"; field @Deprecated public static final String UPDATE_TIME_ZONE_RULES = "android.permission.UPDATE_TIME_ZONE_RULES"; field public static final String UPGRADE_RUNTIME_PERMISSIONS = "android.permission.UPGRADE_RUNTIME_PERMISSIONS"; field public static final String USER_ACTIVITY = "android.permission.USER_ACTIVITY"; field public static final String USE_COLORIZED_NOTIFICATIONS = "android.permission.USE_COLORIZED_NOTIFICATIONS"; field public static final String USE_RESERVED_DISK = "android.permission.USE_RESERVED_DISK"; field public static final String UWB_PRIVILEGED = "android.permission.UWB_PRIVILEGED"; field public static final String WHITELIST_AUTO_REVOKE_PERMISSIONS = "android.permission.WHITELIST_AUTO_REVOKE_PERMISSIONS"; field public static final String WHITELIST_RESTRICTED_PERMISSIONS = "android.permission.WHITELIST_RESTRICTED_PERMISSIONS"; field public static final String WIFI_ACCESS_COEX_UNSAFE_CHANNELS = "android.permission.WIFI_ACCESS_COEX_UNSAFE_CHANNELS"; field public static final String WIFI_SET_DEVICE_MOBILITY_STATE = "android.permission.WIFI_SET_DEVICE_MOBILITY_STATE"; field public static final String WIFI_UPDATE_COEX_UNSAFE_CHANNELS = "android.permission.WIFI_UPDATE_COEX_UNSAFE_CHANNELS"; field public static final String WIFI_UPDATE_USABILITY_STATS_SCORE = "android.permission.WIFI_UPDATE_USABILITY_STATS_SCORE"; field public static final String WRITE_ALLOWLISTED_DEVICE_CONFIG = "android.permission.WRITE_ALLOWLISTED_DEVICE_CONFIG"; field public static final String WRITE_DEVICE_CONFIG = "android.permission.WRITE_DEVICE_CONFIG"; field public static final String WRITE_DREAM_STATE = "android.permission.WRITE_DREAM_STATE"; field public static final String WRITE_EMBEDDED_SUBSCRIPTIONS = "android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"; field @Deprecated public static final String WRITE_MEDIA_STORAGE = "android.permission.WRITE_MEDIA_STORAGE"; field public static final String WRITE_OBB = "android.permission.WRITE_OBB"; field public static final String WRITE_SECURITY_LOG = "android.permission.WRITE_SECURITY_LOG"; field public static final String WRITE_SMS = "android.permission.WRITE_SMS"; } public static final class Manifest.permission_group { field public static final String UNDEFINED = "android.permission-group.UNDEFINED"; } public static final class R.array { field public static final int config_keySystemUuidMapping = 17235973; // 0x1070005 field public static final int config_optionalIpSecAlgorithms = 17235974; // 0x1070006 } public static final class R.attr { field public static final int allowClearUserDataOnFailedRestore = 16844288; // 0x1010600 field public static final int gameSessionService = 16844373; // 0x1010655 field public static final int hotwordDetectionService = 16844326; // 0x1010626 field public static final int isVrOnly = 16844152; // 0x1010578 field public static final int minExtensionVersion = 16844305; // 0x1010611 field public static final int playHomeTransitionSound = 16844358; // 0x1010646 field public static final int requiredSystemPropertyName = 16844133; // 0x1010565 field public static final int requiredSystemPropertyValue = 16844134; // 0x1010566 field public static final int sdkVersion = 16844304; // 0x1010610 field public static final int supportsAmbientMode = 16844173; // 0x101058d field public static final int userRestriction = 16844164; // 0x1010584 field public static final int visualQueryDetectionService = 16844410; // 0x101067a } public static final class R.bool { field public static final int config_enableDefaultNotes = 17891338; // 0x111000a field public static final int config_enableDefaultNotesForWorkProfile = 17891339; // 0x111000b field public static final int config_enableQrCodeScannerOnLockScreen = 17891336; // 0x1110008 field public static final int config_safetyProtectionEnabled = 17891337; // 0x1110009 field public static final int config_sendPackageName = 17891328; // 0x1110000 field public static final int config_showDefaultAssistant = 17891329; // 0x1110001 field public static final int config_showDefaultEmergency = 17891330; // 0x1110002 field public static final int config_showDefaultHome = 17891331; // 0x1110003 } public static final class R.color { field public static final int system_notification_accent_color = 17170460; // 0x106001c } public static final class R.dimen { field public static final int config_restrictedIconSize = 17104903; // 0x1050007 field public static final int config_viewConfigurationHandwritingGestureLineMargin = 17104906; // 0x105000a } public static final class R.drawable { field public static final int ic_info = 17301684; // 0x10800b4 field public static final int ic_safety_protection = 17301685; // 0x10800b5 } public static final class R.raw { field public static final int loaderror = 17825792; // 0x1100000 field public static final int nodomain = 17825793; // 0x1100001 } public static final class R.string { field public static final int config_customMediaKeyDispatcher = 17039404; // 0x104002c field public static final int config_customMediaSessionPolicyProvider = 17039405; // 0x104002d field public static final int config_defaultAssistant = 17039393; // 0x1040021 field public static final int config_defaultAutomotiveNavigation = 17039424; // 0x1040040 field public static final int config_defaultBrowser = 17039394; // 0x1040022 field public static final int config_defaultCallRedirection = 17039397; // 0x1040025 field public static final int config_defaultCallScreening = 17039398; // 0x1040026 field public static final int config_defaultDialer = 17039395; // 0x1040023 field public static final int config_defaultNotes = 17039429; // 0x1040045 field public static final int config_defaultSms = 17039396; // 0x1040024 field public static final int config_devicePolicyManagement = 17039421; // 0x104003d field public static final int config_feedbackIntentExtraKey = 17039391; // 0x104001f field public static final int config_feedbackIntentNameKey = 17039392; // 0x1040020 field public static final int config_helpIntentExtraKey = 17039389; // 0x104001d field public static final int config_helpIntentNameKey = 17039390; // 0x104001e field public static final int config_helpPackageNameKey = 17039387; // 0x104001b field public static final int config_helpPackageNameValue = 17039388; // 0x104001c field public static final int config_systemActivityRecognizer = 17039416; // 0x1040038 field public static final int config_systemAmbientAudioIntelligence = 17039411; // 0x1040033 field public static final int config_systemAppProtectionService = 17039422; // 0x104003e field public static final int config_systemAudioIntelligence = 17039412; // 0x1040034 field public static final int config_systemAutomotiveCalendarSyncManager = 17039423; // 0x104003f field public static final int config_systemAutomotiveCluster = 17039400; // 0x1040028 field public static final int config_systemAutomotiveProjection = 17039401; // 0x1040029 field public static final int config_systemCallStreaming = 17039431; // 0x1040047 field public static final int config_systemCompanionDeviceProvider = 17039417; // 0x1040039 field public static final int config_systemContacts = 17039403; // 0x104002b field public static final int config_systemFinancedDeviceController = 17039430; // 0x1040046 field public static final int config_systemGallery = 17039399; // 0x1040027 field public static final int config_systemNotificationIntelligence = 17039413; // 0x1040035 field public static final int config_systemSettingsIntelligence = 17039426; // 0x1040042 field public static final int config_systemShell = 17039402; // 0x104002a field public static final int config_systemSpeechRecognizer = 17039406; // 0x104002e field public static final int config_systemSupervision = 17039420; // 0x104003c field public static final int config_systemTelevisionNotificationHandler = 17039409; // 0x1040031 field public static final int config_systemTextIntelligence = 17039414; // 0x1040036 field public static final int config_systemUi = 17039418; // 0x104003a field public static final int config_systemUiIntelligence = 17039410; // 0x1040032 field public static final int config_systemVisualIntelligence = 17039415; // 0x1040037 field public static final int config_systemWearHealthService = 17039428; // 0x1040044 field public static final int config_systemWellbeing = 17039408; // 0x1040030 field public static final int config_systemWifiCoexManager = 17039407; // 0x104002f field public static final int safety_protection_display_text = 17039425; // 0x1040041 } public static final class R.style { field public static final int Theme_DeviceDefault_DocumentsUI = 16974562; // 0x10302e2 field public static final int Theme_Leanback_FormWizard = 16974544; // 0x10302d0 } } package android.accessibilityservice { public class AccessibilityServiceInfo implements android.os.Parcelable { method public void setAccessibilityTool(boolean); } } package android.accounts { public class AccountManager { method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public android.accounts.AccountManagerFuture finishSessionAsUser(android.os.Bundle, android.app.Activity, android.os.UserHandle, android.accounts.AccountManagerCallback, android.os.Handler); } } package android.adservices.adid { public abstract class AdIdProviderService extends android.app.Service { ctor public AdIdProviderService(); method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent); method @NonNull public abstract android.adservices.adid.AdId onGetAdId(int, @NonNull String) throws java.io.IOException; field public static final String SERVICE_INTERFACE = "android.adservices.adid.AdIdProviderService"; } } package android.adservices.appsetid { public abstract class AppSetIdProviderService extends android.app.Service { ctor public AppSetIdProviderService(); method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent); method @NonNull public abstract android.adservices.appsetid.AppSetId onGetAppSetId(int, @NonNull String) throws java.io.IOException; field public static final String SERVICE_INTERFACE = "android.adservices.appsetid.AppSetIdProviderService"; } } package android.adservices.common { public class AdServicesCommonManager { method @NonNull public static android.adservices.common.AdServicesCommonManager get(@NonNull android.content.Context); method @RequiresPermission(android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_STATE) public void isAdServicesEnabled(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); method @RequiresPermission(android.adservices.common.AdServicesPermissions.MODIFY_ADSERVICES_STATE) public void setAdServicesEnabled(boolean, boolean); } public class AdServicesPermissions { field public static final String ACCESS_ADSERVICES_STATE = "android.permission.ACCESS_ADSERVICES_STATE"; field public static final String ACCESS_PRIVILEGED_AD_ID = "android.permission.ACCESS_PRIVILEGED_AD_ID"; field public static final String ACCESS_PRIVILEGED_APP_SET_ID = "android.permission.ACCESS_PRIVILEGED_APP_SET_ID"; field public static final String MODIFY_ADSERVICES_STATE = "android.permission.MODIFY_ADSERVICES_STATE"; } } package android.app { @UiContext public class Activity extends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.view.KeyEvent.Callback android.view.LayoutInflater.Factory2 android.view.View.OnCreateContextMenuListener android.view.Window.Callback { method public void convertFromTranslucent(); method public boolean convertToTranslucent(android.app.Activity.TranslucentConversionListener, android.app.ActivityOptions); method @Deprecated public boolean isBackgroundVisibleBehind(); method @Deprecated public void onBackgroundVisibleBehindChanged(boolean); method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void startActivityForResultAsUser(@NonNull android.content.Intent, int, @NonNull android.os.UserHandle); method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void startActivityForResultAsUser(@NonNull android.content.Intent, int, @Nullable android.os.Bundle, @NonNull android.os.UserHandle); method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void startActivityForResultAsUser(@NonNull android.content.Intent, @NonNull String, int, @Nullable android.os.Bundle, @NonNull android.os.UserHandle); } public static interface Activity.TranslucentConversionListener { method public void onTranslucentConversionComplete(boolean); } public class ActivityManager { method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void addOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener, int); method @RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) public void forceStopPackage(String); method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public static int getCurrentUser(); method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String); method @NonNull public java.util.Collection getSupportedLocales(); method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getUidImportance(int); method @RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) public void killProcessesWhenImperceptible(@NonNull int[], @NonNull String); method @RequiresPermission(android.Manifest.permission.KILL_UID) public void killUid(int, String); method @RequiresPermission(android.Manifest.permission.LOG_FOREGROUND_RESOURCE_USE) public void noteForegroundResourceUseBegin(int, int, int) throws java.lang.SecurityException; method @RequiresPermission(android.Manifest.permission.LOG_FOREGROUND_RESOURCE_USE) public void noteForegroundResourceUseEnd(int, int, int) throws java.lang.SecurityException; method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void removeOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener); method public void setDeviceLocales(@NonNull android.os.LocaleList); method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public static void setPersistentVrThread(int); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public boolean startProfile(@NonNull android.os.UserHandle); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public boolean stopProfile(@NonNull android.os.UserHandle); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean switchUser(@NonNull android.os.UserHandle); field public static final int FOREGROUND_SERVICE_API_TYPE_AUDIO = 5; // 0x5 field public static final int FOREGROUND_SERVICE_API_TYPE_BLUETOOTH = 2; // 0x2 field public static final int FOREGROUND_SERVICE_API_TYPE_CAMERA = 1; // 0x1 field public static final int FOREGROUND_SERVICE_API_TYPE_CDM = 9; // 0x9 field public static final int FOREGROUND_SERVICE_API_TYPE_LOCATION = 3; // 0x3 field public static final int FOREGROUND_SERVICE_API_TYPE_MEDIA_PLAYBACK = 4; // 0x4 field public static final int FOREGROUND_SERVICE_API_TYPE_MICROPHONE = 6; // 0x6 field public static final int FOREGROUND_SERVICE_API_TYPE_PHONE_CALL = 7; // 0x7 field public static final int FOREGROUND_SERVICE_API_TYPE_USB = 8; // 0x8 field public static final int PROCESS_CAPABILITY_FOREGROUND_CAMERA = 2; // 0x2 field public static final int PROCESS_CAPABILITY_FOREGROUND_LOCATION = 1; // 0x1 field public static final int PROCESS_CAPABILITY_FOREGROUND_MICROPHONE = 4; // 0x4 field public static final int PROCESS_CAPABILITY_NONE = 0; // 0x0 } public static interface ActivityManager.OnUidImportanceListener { method public void onUidImportance(int, int); } public class ActivityOptions { method public int getLaunchTaskId(); method @RequiresPermission(android.Manifest.permission.START_TASKS_FROM_RECENTS) public void setLaunchTaskId(int); } public class AlarmManager { method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void set(int, long, long, long, @NonNull android.app.PendingIntent, @Nullable android.os.WorkSource); method @Deprecated @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void set(int, long, long, long, @NonNull android.app.AlarmManager.OnAlarmListener, @Nullable android.os.Handler, @Nullable android.os.WorkSource); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void setExact(int, long, @Nullable String, @NonNull java.util.concurrent.Executor, @NonNull android.os.WorkSource, @NonNull android.app.AlarmManager.OnAlarmListener); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void setExactAndAllowWhileIdle(int, long, @Nullable String, @NonNull java.util.concurrent.Executor, @Nullable android.os.WorkSource, @NonNull android.app.AlarmManager.OnAlarmListener); method @RequiresPermission(android.Manifest.permission.SCHEDULE_PRIORITIZED_ALARM) public void setPrioritized(int, long, long, @Nullable String, @NonNull java.util.concurrent.Executor, @NonNull android.app.AlarmManager.OnAlarmListener); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void setWindow(int, long, long, @Nullable String, @NonNull java.util.concurrent.Executor, @Nullable android.os.WorkSource, @NonNull android.app.AlarmManager.OnAlarmListener); } public class AppOpsManager { method @Nullable @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public android.app.RuntimeAppOpAccessMessage collectRuntimeAppOpAccessMessage(); method @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public void getHistoricalOps(@NonNull android.app.AppOpsManager.HistoricalOpsRequest, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method public static String[] getOpStrs(); method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List getOpsForPackage(int, @NonNull String, @Nullable java.lang.String...); method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List getPackagesForOps(@Nullable String[]); method public static int opToDefaultMode(@NonNull String); method @Nullable public static String opToPermission(@NonNull String); method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setMode(@NonNull String, int, @Nullable String, int); method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setUidMode(@NonNull String, int, int); method @RequiresPermission(value="android.permission.WATCH_APPOPS", conditional=true) public void startWatchingNoted(@NonNull String[], @NonNull android.app.AppOpsManager.OnOpNotedListener); method @RequiresPermission(value="android.permission.WATCH_APPOPS", conditional=true) public void startWatchingNoted(@NonNull String[], @NonNull java.util.concurrent.Executor, @NonNull android.app.AppOpsManager.OnOpNotedListener); method public void stopWatchingNoted(@NonNull android.app.AppOpsManager.OnOpNotedListener); field public static final int HISTORY_FLAGS_ALL = 3; // 0x3 field public static final int HISTORY_FLAG_AGGREGATE = 1; // 0x1 field public static final int HISTORY_FLAG_DISCRETE = 2; // 0x2 field public static final int HISTORY_FLAG_GET_ATTRIBUTION_CHAINS = 4; // 0x4 field public static final String OPSTR_ACCEPT_HANDOVER = "android:accept_handover"; field public static final String OPSTR_ACCESS_ACCESSIBILITY = "android:access_accessibility"; field public static final String OPSTR_ACCESS_NOTIFICATIONS = "android:access_notifications"; field public static final String OPSTR_ACTIVATE_PLATFORM_VPN = "android:activate_platform_vpn"; field public static final String OPSTR_ACTIVATE_VPN = "android:activate_vpn"; field public static final String OPSTR_ASSIST_SCREENSHOT = "android:assist_screenshot"; field public static final String OPSTR_ASSIST_STRUCTURE = "android:assist_structure"; field public static final String OPSTR_AUDIO_ACCESSIBILITY_VOLUME = "android:audio_accessibility_volume"; field public static final String OPSTR_AUDIO_ALARM_VOLUME = "android:audio_alarm_volume"; field public static final String OPSTR_AUDIO_BLUETOOTH_VOLUME = "android:audio_bluetooth_volume"; field public static final String OPSTR_AUDIO_MASTER_VOLUME = "android:audio_master_volume"; field public static final String OPSTR_AUDIO_MEDIA_VOLUME = "android:audio_media_volume"; field public static final String OPSTR_AUDIO_NOTIFICATION_VOLUME = "android:audio_notification_volume"; field public static final String OPSTR_AUDIO_RING_VOLUME = "android:audio_ring_volume"; field public static final String OPSTR_AUDIO_VOICE_VOLUME = "android:audio_voice_volume"; field public static final String OPSTR_AUTO_REVOKE_MANAGED_BY_INSTALLER = "android:auto_revoke_managed_by_installer"; field public static final String OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED = "android:auto_revoke_permissions_if_unused"; field public static final String OPSTR_BIND_ACCESSIBILITY_SERVICE = "android:bind_accessibility_service"; field public static final String OPSTR_CAPTURE_CONSENTLESS_BUGREPORT_ON_USERDEBUG_BUILD = "android:capture_consentless_bugreport_on_userdebug_build"; field public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state"; field public static final String OPSTR_ESTABLISH_VPN_MANAGER = "android:establish_vpn_manager"; field public static final String OPSTR_ESTABLISH_VPN_SERVICE = "android:establish_vpn_service"; field public static final String OPSTR_GET_ACCOUNTS = "android:get_accounts"; field public static final String OPSTR_GPS = "android:gps"; field public static final String OPSTR_INSTANT_APP_START_FOREGROUND = "android:instant_app_start_foreground"; field public static final String OPSTR_INTERACT_ACROSS_PROFILES = "android:interact_across_profiles"; field public static final String OPSTR_LEGACY_STORAGE = "android:legacy_storage"; field public static final String OPSTR_LOADER_USAGE_STATS = "android:loader_usage_stats"; field public static final String OPSTR_MANAGE_EXTERNAL_STORAGE = "android:manage_external_storage"; field public static final String OPSTR_MANAGE_IPSEC_TUNNELS = "android:manage_ipsec_tunnels"; field public static final String OPSTR_MANAGE_ONGOING_CALLS = "android:manage_ongoing_calls"; field public static final String OPSTR_MUTE_MICROPHONE = "android:mute_microphone"; field public static final String OPSTR_NEIGHBORING_CELLS = "android:neighboring_cells"; field public static final String OPSTR_PHONE_CALL_CAMERA = "android:phone_call_camera"; field public static final String OPSTR_PHONE_CALL_MICROPHONE = "android:phone_call_microphone"; field public static final String OPSTR_PLAY_AUDIO = "android:play_audio"; field public static final String OPSTR_POST_NOTIFICATION = "android:post_notification"; field public static final String OPSTR_PROJECT_MEDIA = "android:project_media"; field public static final String OPSTR_READ_CLIPBOARD = "android:read_clipboard"; field public static final String OPSTR_READ_ICC_SMS = "android:read_icc_sms"; field public static final String OPSTR_READ_MEDIA_AUDIO = "android:read_media_audio"; field public static final String OPSTR_READ_MEDIA_IMAGES = "android:read_media_images"; field public static final String OPSTR_READ_MEDIA_VIDEO = "android:read_media_video"; field public static final String OPSTR_READ_MEDIA_VISUAL_USER_SELECTED = "android:read_media_visual_user_selected"; field public static final String OPSTR_READ_WRITE_HEALTH_DATA = "android:read_write_health_data"; field public static final String OPSTR_RECEIVE_AMBIENT_TRIGGER_AUDIO = "android:receive_ambient_trigger_audio"; field public static final String OPSTR_RECEIVE_EMERGENCY_BROADCAST = "android:receive_emergency_broadcast"; field public static final String OPSTR_RECEIVE_EXPLICIT_USER_INTERACTION_AUDIO = "android:receive_explicit_user_interaction_audio"; field public static final String OPSTR_REQUEST_DELETE_PACKAGES = "android:request_delete_packages"; field public static final String OPSTR_REQUEST_INSTALL_PACKAGES = "android:request_install_packages"; field public static final String OPSTR_RUN_ANY_IN_BACKGROUND = "android:run_any_in_background"; field public static final String OPSTR_RUN_IN_BACKGROUND = "android:run_in_background"; field public static final String OPSTR_START_FOREGROUND = "android:start_foreground"; field public static final String OPSTR_SYSTEM_EXEMPT_FROM_HIBERNATION = "android:system_exempt_from_hibernation"; field public static final String OPSTR_TAKE_AUDIO_FOCUS = "android:take_audio_focus"; field public static final String OPSTR_TAKE_MEDIA_BUTTONS = "android:take_media_buttons"; field public static final String OPSTR_TOAST_WINDOW = "android:toast_window"; field public static final String OPSTR_TURN_SCREEN_ON = "android:turn_screen_on"; field public static final String OPSTR_VIBRATE = "android:vibrate"; field public static final String OPSTR_WAKE_LOCK = "android:wake_lock"; field public static final String OPSTR_WIFI_SCAN = "android:wifi_scan"; field public static final String OPSTR_WRITE_CLIPBOARD = "android:write_clipboard"; field public static final String OPSTR_WRITE_ICC_SMS = "android:write_icc_sms"; field public static final String OPSTR_WRITE_MEDIA_AUDIO = "android:write_media_audio"; field public static final String OPSTR_WRITE_MEDIA_IMAGES = "android:write_media_images"; field public static final String OPSTR_WRITE_MEDIA_VIDEO = "android:write_media_video"; field public static final String OPSTR_WRITE_SMS = "android:write_sms"; field public static final String OPSTR_WRITE_WALLPAPER = "android:write_wallpaper"; field public static final int OP_FLAGS_ALL = 31; // 0x1f field public static final int OP_FLAGS_ALL_TRUSTED = 13; // 0xd field public static final int OP_FLAG_SELF = 1; // 0x1 field public static final int OP_FLAG_TRUSTED_PROXIED = 8; // 0x8 field public static final int OP_FLAG_TRUSTED_PROXY = 2; // 0x2 field public static final int OP_FLAG_UNTRUSTED_PROXIED = 16; // 0x10 field public static final int OP_FLAG_UNTRUSTED_PROXY = 4; // 0x4 field public static final int UID_STATE_BACKGROUND = 600; // 0x258 field public static final int UID_STATE_CACHED = 700; // 0x2bc field public static final int UID_STATE_FOREGROUND = 500; // 0x1f4 field public static final int UID_STATE_FOREGROUND_SERVICE = 400; // 0x190 field @Deprecated public static final int UID_STATE_FOREGROUND_SERVICE_LOCATION = 300; // 0x12c field public static final int UID_STATE_PERSISTENT = 100; // 0x64 field public static final int UID_STATE_TOP = 200; // 0xc8 } public static final class AppOpsManager.AttributedHistoricalOps implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String); method @NonNull public android.app.AppOpsManager.HistoricalOp getOpAt(@IntRange(from=0) int); method @IntRange(from=0) public int getOpCount(); method @Nullable public String getTag(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AppOpsManager.AttributedOpEntry implements android.os.Parcelable { method public int describeContents(); method public long getLastAccessBackgroundTime(int); method public long getLastAccessForegroundTime(int); method public long getLastAccessTime(int); method public long getLastAccessTime(int, int, int); method public long getLastBackgroundDuration(int); method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastBackgroundProxyInfo(int); method public long getLastDuration(int); method public long getLastDuration(int, int, int); method public long getLastForegroundDuration(int); method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastForegroundProxyInfo(int); method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int); method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int, int, int); method public long getLastRejectBackgroundTime(int); method public long getLastRejectForegroundTime(int); method public long getLastRejectTime(int); method public long getLastRejectTime(int, int, int); method public boolean isRunning(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AppOpsManager.HistoricalOp implements android.os.Parcelable { method public int describeContents(); method public long getAccessCount(int, int, int); method public long getAccessDuration(int, int, int); method public long getBackgroundAccessCount(int); method public long getBackgroundAccessDuration(int); method @NonNull public java.util.List getBackgroundDiscreteAccesses(int); method public long getBackgroundRejectCount(int); method @NonNull public android.app.AppOpsManager.AttributedOpEntry getDiscreteAccessAt(@IntRange(from=0) int); method @IntRange(from=0) public int getDiscreteAccessCount(); method @NonNull public java.util.List getDiscreteAccesses(int, int, int); method public long getForegroundAccessCount(int); method public long getForegroundAccessDuration(int); method @NonNull public java.util.List getForegroundDiscreteAccesses(int); method public long getForegroundRejectCount(int); method @NonNull public String getOpName(); method public long getRejectCount(int, int, int); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AppOpsManager.HistoricalOps implements android.os.Parcelable { method public int describeContents(); method public long getBeginTimeMillis(); method public long getEndTimeMillis(); method @IntRange(from=0) public int getUidCount(); method @Nullable public android.app.AppOpsManager.HistoricalUidOps getUidOps(int); method @NonNull public android.app.AppOpsManager.HistoricalUidOps getUidOpsAt(@IntRange(from=0) int); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AppOpsManager.HistoricalOpsRequest { } public static final class AppOpsManager.HistoricalOpsRequest.Builder { ctor public AppOpsManager.HistoricalOpsRequest.Builder(long, long); method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest build(); method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setAttributionTag(@Nullable String); method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setFlags(int); method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setHistoryFlags(int); method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setOpNames(@Nullable java.util.List); method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setPackageName(@Nullable String); method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setUid(int); } public static final class AppOpsManager.HistoricalPackageOps implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.app.AppOpsManager.AttributedHistoricalOps getAttributedOps(@Nullable String); method @NonNull public android.app.AppOpsManager.AttributedHistoricalOps getAttributedOpsAt(@IntRange(from=0) int); method @IntRange(from=0) public int getAttributedOpsCount(); method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String); method @NonNull public android.app.AppOpsManager.HistoricalOp getOpAt(@IntRange(from=0) int); method @IntRange(from=0) public int getOpCount(); method @NonNull public String getPackageName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AppOpsManager.HistoricalUidOps implements android.os.Parcelable { method public int describeContents(); method @IntRange(from=0) public int getPackageCount(); method @Nullable public android.app.AppOpsManager.HistoricalPackageOps getPackageOps(@NonNull String); method @NonNull public android.app.AppOpsManager.HistoricalPackageOps getPackageOpsAt(@IntRange(from=0) int); method public int getUid(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static interface AppOpsManager.OnOpNotedListener { method public void onOpNoted(@NonNull String, int, @NonNull String, @Nullable String, int, int); } public static final class AppOpsManager.OpEntry implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.Map getAttributedOpEntries(); method @Deprecated public long getDuration(); method public long getLastAccessBackgroundTime(int); method public long getLastAccessForegroundTime(int); method public long getLastAccessTime(int); method public long getLastAccessTime(int, int, int); method public long getLastBackgroundDuration(int); method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastBackgroundProxyInfo(int); method public long getLastDuration(int); method public long getLastDuration(int, int, int); method public long getLastForegroundDuration(int); method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastForegroundProxyInfo(int); method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int); method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int, int, int); method public long getLastRejectBackgroundTime(int); method public long getLastRejectForegroundTime(int); method public long getLastRejectTime(int); method public long getLastRejectTime(int, int, int); method public int getMode(); method @NonNull public String getOpStr(); method @Deprecated @Nullable public String getProxyPackageName(); method @Deprecated @Nullable public String getProxyPackageName(int, int); method @Deprecated public int getProxyUid(); method @Deprecated public int getProxyUid(int, int); method public boolean isRunning(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AppOpsManager.OpEventProxyInfo implements android.os.Parcelable { method public int describeContents(); method @Nullable public String getAttributionTag(); method @Nullable public String getPackageName(); method @IntRange(from=0) public int getUid(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AppOpsManager.PackageOps implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getOps(); method @NonNull public String getPackageName(); method public int getUid(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class BroadcastOptions { method public void clearRequireCompatChange(); method public int getPendingIntentBackgroundActivityStartMode(); method @Deprecated public boolean isPendingIntentBackgroundActivityLaunchAllowed(); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RESPONSE_STATS) public void recordResponseEventWhileInBackground(@IntRange(from=0) long); method @RequiresPermission(android.Manifest.permission.START_ACTIVITIES_FROM_BACKGROUND) public void setBackgroundActivityStartsAllowed(boolean); method public void setDontSendToRestrictedApps(boolean); method @Deprecated public void setPendingIntentBackgroundActivityLaunchAllowed(boolean); method @NonNull public android.app.BroadcastOptions setPendingIntentBackgroundActivityStartMode(int); method public void setRequireAllOfPermissions(@Nullable String[]); method public void setRequireCompatChange(long, boolean); method public void setRequireNoneOfPermissions(@Nullable String[]); method @RequiresPermission(anyOf={android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST, android.Manifest.permission.START_ACTIVITIES_FROM_BACKGROUND, android.Manifest.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND}) public void setTemporaryAppAllowlist(long, int, int, @Nullable String); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST, android.Manifest.permission.START_ACTIVITIES_FROM_BACKGROUND, android.Manifest.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND}) public void setTemporaryAppWhitelistDuration(long); } public class DownloadManager { method @RequiresPermission(android.Manifest.permission.WRITE_MEDIA_STORAGE) public void onMediaStoreDownloadsDeleted(@NonNull android.util.LongSparseArray); field public static final String ACTION_DOWNLOAD_COMPLETED = "android.intent.action.DOWNLOAD_COMPLETED"; } public final class GameManager { method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public android.app.GameModeInfo getGameModeInfo(@NonNull String); method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public void setGameMode(@NonNull String, int); method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public void updateCustomGameModeConfiguration(@NonNull String, @NonNull android.app.GameModeConfiguration); } public final class GameModeConfiguration implements android.os.Parcelable { method public int describeContents(); method public int getFpsOverride(); method public float getScalingFactor(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int FPS_OVERRIDE_NONE = 0; // 0x0 } public static final class GameModeConfiguration.Builder { ctor public GameModeConfiguration.Builder(); ctor public GameModeConfiguration.Builder(@NonNull android.app.GameModeConfiguration); method @NonNull public android.app.GameModeConfiguration build(); method @NonNull public android.app.GameModeConfiguration.Builder setFpsOverride(int); method @NonNull public android.app.GameModeConfiguration.Builder setScalingFactor(float); } public final class GameModeInfo implements android.os.Parcelable { ctor @Deprecated public GameModeInfo(int, @NonNull int[]); method public int describeContents(); method public int getActiveGameMode(); method @NonNull public int[] getAvailableGameModes(); method @Nullable public android.app.GameModeConfiguration getGameModeConfiguration(int); method @NonNull public int[] getOverriddenGameModes(); method public boolean isDownscalingAllowed(); method public boolean isFpsOverrideAllowed(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class GameModeInfo.Builder { ctor public GameModeInfo.Builder(); method @NonNull public android.app.GameModeInfo build(); method @NonNull public android.app.GameModeInfo.Builder setActiveGameMode(@NonNull int); method @NonNull public android.app.GameModeInfo.Builder setAvailableGameModes(@NonNull int[]); method @NonNull public android.app.GameModeInfo.Builder setDownscalingAllowed(boolean); method @NonNull public android.app.GameModeInfo.Builder setFpsOverrideAllowed(boolean); method @NonNull public android.app.GameModeInfo.Builder setGameModeConfiguration(int, @NonNull android.app.GameModeConfiguration); method @NonNull public android.app.GameModeInfo.Builder setOverriddenGameModes(@NonNull int[]); } public abstract class InstantAppResolverService extends android.app.Service { ctor public InstantAppResolverService(); method public final void attachBaseContext(android.content.Context); method public final android.os.IBinder onBind(android.content.Intent); method @Deprecated public void onGetInstantAppIntentFilter(@Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); method @Deprecated public void onGetInstantAppIntentFilter(@NonNull android.content.Intent, @Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); method @Deprecated public void onGetInstantAppIntentFilter(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); method @MainThread public void onGetInstantAppIntentFilter(@NonNull android.content.pm.InstantAppRequestInfo, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); method @Deprecated public void onGetInstantAppResolveInfo(@Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); method @Deprecated public void onGetInstantAppResolveInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); method @Deprecated public void onGetInstantAppResolveInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); method @MainThread public void onGetInstantAppResolveInfo(@NonNull android.content.pm.InstantAppRequestInfo, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); } public static final class InstantAppResolverService.InstantAppResolutionCallback { method public void onInstantAppResolveInfo(java.util.List); } public class KeyguardManager { method @RequiresPermission(android.Manifest.permission.MANAGE_WEAK_ESCROW_TOKEN) public long addWeakEscrowToken(@NonNull byte[], @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull android.app.KeyguardManager.WeakEscrowTokenActivatedListener); method @NonNull @RequiresPermission(android.Manifest.permission.CHECK_REMOTE_LOCKSCREEN) public android.content.Intent createConfirmDeviceCredentialForRemoteValidationIntent(@NonNull android.app.RemoteLockscreenValidationSession, @NonNull android.content.ComponentName, @Nullable CharSequence, @Nullable CharSequence, @Nullable CharSequence, @Nullable CharSequence); method public android.content.Intent createConfirmFactoryResetCredentialIntent(CharSequence, CharSequence, CharSequence); method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public int getMinLockLength(boolean, int); method @RequiresPermission(android.Manifest.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS) public boolean getPrivateNotificationsAllowed(); method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public boolean isValidLockPasswordComplexity(int, @NonNull byte[], int); method @RequiresPermission(android.Manifest.permission.MANAGE_WEAK_ESCROW_TOKEN) public boolean isWeakEscrowTokenActive(long, @NonNull android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.MANAGE_WEAK_ESCROW_TOKEN) public boolean isWeakEscrowTokenValid(long, @NonNull byte[], @NonNull android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.MANAGE_WEAK_ESCROW_TOKEN) public boolean registerWeakEscrowTokenRemovedListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.KeyguardManager.WeakEscrowTokenRemovedListener); method @RequiresPermission(android.Manifest.permission.MANAGE_WEAK_ESCROW_TOKEN) public boolean removeWeakEscrowToken(long, @NonNull android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.SHOW_KEYGUARD_MESSAGE) public void requestDismissKeyguard(@NonNull android.app.Activity, @Nullable CharSequence, @Nullable android.app.KeyguardManager.KeyguardDismissCallback); method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public boolean setLock(int, @NonNull byte[], int); method @RequiresPermission(android.Manifest.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS) public void setPrivateNotificationsAllowed(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.CHECK_REMOTE_LOCKSCREEN) public android.app.RemoteLockscreenValidationSession startRemoteLockscreenValidation(); method @RequiresPermission(android.Manifest.permission.MANAGE_WEAK_ESCROW_TOKEN) public boolean unregisterWeakEscrowTokenRemovedListener(@NonNull android.app.KeyguardManager.WeakEscrowTokenRemovedListener); method @NonNull @RequiresPermission(android.Manifest.permission.CHECK_REMOTE_LOCKSCREEN) public android.app.RemoteLockscreenValidationResult validateRemoteLockscreen(@NonNull byte[]); field public static final int PASSWORD = 0; // 0x0 field public static final int PATTERN = 2; // 0x2 field public static final int PIN = 1; // 0x1 } public static interface KeyguardManager.WeakEscrowTokenActivatedListener { method public void onWeakEscrowTokenActivated(long, @NonNull android.os.UserHandle); } public static interface KeyguardManager.WeakEscrowTokenRemovedListener { method public void onWeakEscrowTokenRemoved(long, @NonNull android.os.UserHandle); } public class LocaleManager { method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public void setApplicationLocales(@NonNull String, @NonNull android.os.LocaleList); } public class Notification implements android.os.Parcelable { field public static final String CATEGORY_CAR_EMERGENCY = "car_emergency"; field public static final String CATEGORY_CAR_INFORMATION = "car_information"; field public static final String CATEGORY_CAR_WARNING = "car_warning"; field @RequiresPermission(android.Manifest.permission.NOTIFICATION_DURING_SETUP) public static final String EXTRA_ALLOW_DURING_SETUP = "android.allowDuringSetup"; field @RequiresPermission(android.Manifest.permission.SUBSTITUTE_NOTIFICATION_APP_NAME) public static final String EXTRA_SUBSTITUTE_APP_NAME = "android.substName"; field public static final int FLAG_AUTOGROUP_SUMMARY = 1024; // 0x400 } public static class Notification.Action implements android.os.Parcelable { field public static final int SEMANTIC_ACTION_CONVERSATION_IS_PHISHING = 12; // 0xc field public static final int SEMANTIC_ACTION_MARK_CONVERSATION_AS_PRIORITY = 11; // 0xb } public static final class Notification.TvExtender implements android.app.Notification.Extender { ctor public Notification.TvExtender(); ctor public Notification.TvExtender(android.app.Notification); method public android.app.Notification.Builder extend(android.app.Notification.Builder); method public String getChannelId(); method public android.app.PendingIntent getContentIntent(); method public android.app.PendingIntent getDeleteIntent(); method public boolean getSuppressShowOverApps(); method public boolean isAvailableOnTv(); method public android.app.Notification.TvExtender setChannel(String); method public android.app.Notification.TvExtender setChannelId(String); method public android.app.Notification.TvExtender setContentIntent(android.app.PendingIntent); method public android.app.Notification.TvExtender setDeleteIntent(android.app.PendingIntent); method public android.app.Notification.TvExtender setSuppressShowOverApps(boolean); } public final class NotificationChannel implements android.os.Parcelable { method public int getUserLockedFields(); method public boolean isDeleted(); method public void populateFromXml(org.xmlpull.v1.XmlPullParser); method public org.json.JSONObject toJson() throws org.json.JSONException; method public void writeXml(org.xmlpull.v1.XmlSerializer) throws java.io.IOException; field public static final int USER_LOCKED_SOUND = 32; // 0x20 } public final class NotificationChannelGroup implements android.os.Parcelable { method public org.json.JSONObject toJson() throws org.json.JSONException; } public class NotificationManager { method @NonNull public java.util.List getAllowedAssistantAdjustments(); method @Nullable public android.content.ComponentName getAllowedNotificationAssistant(); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_NOTIFICATION_LISTENERS) public java.util.List getEnabledNotificationListeners(); method public boolean isNotificationAssistantAccessGranted(@NonNull android.content.ComponentName); method public void setNotificationAssistantAccessGranted(@Nullable android.content.ComponentName, boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_NOTIFICATION_LISTENERS) public void setNotificationListenerAccessGranted(@NonNull android.content.ComponentName, boolean, boolean); field @RequiresPermission(android.Manifest.permission.STATUS_BAR_SERVICE) public static final String ACTION_CLOSE_NOTIFICATION_HANDLER_PANEL = "android.app.action.CLOSE_NOTIFICATION_HANDLER_PANEL"; field @RequiresPermission(android.Manifest.permission.STATUS_BAR_SERVICE) public static final String ACTION_OPEN_NOTIFICATION_HANDLER_PANEL = "android.app.action.OPEN_NOTIFICATION_HANDLER_PANEL"; field @RequiresPermission(android.Manifest.permission.STATUS_BAR_SERVICE) public static final String ACTION_TOGGLE_NOTIFICATION_HANDLER_PANEL = "android.app.action.TOGGLE_NOTIFICATION_HANDLER_PANEL"; } public final class RemoteLockscreenValidationResult implements android.os.Parcelable { method public int describeContents(); method public int getResultCode(); method public long getTimeoutMillis(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int RESULT_GUESS_INVALID = 2; // 0x2 field public static final int RESULT_GUESS_VALID = 1; // 0x1 field public static final int RESULT_LOCKOUT = 3; // 0x3 field public static final int RESULT_NO_REMAINING_ATTEMPTS = 4; // 0x4 field public static final int RESULT_SESSION_EXPIRED = 5; // 0x5 } public static final class RemoteLockscreenValidationResult.Builder { ctor public RemoteLockscreenValidationResult.Builder(); method @NonNull public android.app.RemoteLockscreenValidationResult build(); method @NonNull public android.app.RemoteLockscreenValidationResult.Builder setResultCode(int); method @NonNull public android.app.RemoteLockscreenValidationResult.Builder setTimeoutMillis(long); } public final class RemoteLockscreenValidationSession implements android.os.Parcelable { method public int describeContents(); method public int getLockType(); method public int getRemainingAttempts(); method @NonNull public byte[] getSourcePublicKey(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class RemoteLockscreenValidationSession.Builder { ctor public RemoteLockscreenValidationSession.Builder(); method @NonNull public android.app.RemoteLockscreenValidationSession build(); method @NonNull public android.app.RemoteLockscreenValidationSession.Builder setLockType(int); method @NonNull public android.app.RemoteLockscreenValidationSession.Builder setRemainingAttempts(int); method @NonNull public android.app.RemoteLockscreenValidationSession.Builder setSourcePublicKey(@NonNull byte[]); } public final class RuntimeAppOpAccessMessage implements android.os.Parcelable { ctor public RuntimeAppOpAccessMessage(@IntRange(from=0L) int, @IntRange(from=0L) int, @NonNull String, @Nullable String, @NonNull String, int); method public int describeContents(); method @Nullable public String getAttributionTag(); method @NonNull public String getMessage(); method @NonNull public String getOp(); method @NonNull public String getPackageName(); method public int getSamplingStrategy(); method @IntRange(from=0L) public int getUid(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class SearchManager implements android.content.DialogInterface.OnCancelListener android.content.DialogInterface.OnDismissListener { method public void launchAssist(@Nullable android.os.Bundle); } public class StatsCursor extends android.database.AbstractCursor { method @NonNull public String[] getColumnNames(); method public int getCount(); method public double getDouble(int); method public float getFloat(int); method public int getInt(int); method public long getLong(int); method public short getShort(int); method @NonNull public String getString(int); method public boolean isNull(int); } public final class StatsManager { method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void addConfig(long, byte[]) throws android.app.StatsManager.StatsUnavailableException; method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean addConfiguration(long, byte[]); method @RequiresPermission(android.Manifest.permission.REGISTER_STATS_PULL_ATOM) public void clearPullAtomCallback(int); method @Deprecated @Nullable @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getData(long); method @Deprecated @Nullable @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getMetadata(); method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public long[] getRegisteredExperimentIds() throws android.app.StatsManager.StatsUnavailableException; method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getReports(long) throws android.app.StatsManager.StatsUnavailableException; method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getStatsMetadata() throws android.app.StatsManager.StatsUnavailableException; method @RequiresPermission(android.Manifest.permission.READ_RESTRICTED_STATS) public void query(long, @NonNull String, @NonNull android.app.StatsQuery, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver) throws android.app.StatsManager.StatsUnavailableException; method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void removeConfig(long) throws android.app.StatsManager.StatsUnavailableException; method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean removeConfiguration(long); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public long[] setActiveConfigsChangedOperation(@Nullable android.app.PendingIntent) throws android.app.StatsManager.StatsUnavailableException; method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void setBroadcastSubscriber(android.app.PendingIntent, long, long) throws android.app.StatsManager.StatsUnavailableException; method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean setBroadcastSubscriber(long, long, android.app.PendingIntent); method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean setDataFetchOperation(long, android.app.PendingIntent); method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void setFetchReportsOperation(android.app.PendingIntent, long) throws android.app.StatsManager.StatsUnavailableException; method @RequiresPermission(android.Manifest.permission.REGISTER_STATS_PULL_ATOM) public void setPullAtomCallback(int, @Nullable android.app.StatsManager.PullAtomMetadata, @NonNull java.util.concurrent.Executor, @NonNull android.app.StatsManager.StatsPullAtomCallback); method @NonNull @RequiresPermission(android.Manifest.permission.READ_RESTRICTED_STATS) public long[] setRestrictedMetricsChangedOperation(long, @NonNull String, @Nullable android.app.PendingIntent) throws android.app.StatsManager.StatsUnavailableException; field public static final String ACTION_STATSD_STARTED = "android.app.action.STATSD_STARTED"; field public static final String EXTRA_STATS_ACTIVE_CONFIG_KEYS = "android.app.extra.STATS_ACTIVE_CONFIG_KEYS"; field public static final String EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES = "android.app.extra.STATS_BROADCAST_SUBSCRIBER_COOKIES"; field public static final String EXTRA_STATS_CONFIG_KEY = "android.app.extra.STATS_CONFIG_KEY"; field public static final String EXTRA_STATS_CONFIG_UID = "android.app.extra.STATS_CONFIG_UID"; field public static final String EXTRA_STATS_DIMENSIONS_VALUE = "android.app.extra.STATS_DIMENSIONS_VALUE"; field public static final String EXTRA_STATS_RESTRICTED_METRIC_IDS = "android.app.extra.STATS_RESTRICTED_METRIC_IDS"; field public static final String EXTRA_STATS_SUBSCRIPTION_ID = "android.app.extra.STATS_SUBSCRIPTION_ID"; field public static final String EXTRA_STATS_SUBSCRIPTION_RULE_ID = "android.app.extra.STATS_SUBSCRIPTION_RULE_ID"; field public static final int PULL_SKIP = 1; // 0x1 field public static final int PULL_SUCCESS = 0; // 0x0 } public static class StatsManager.PullAtomMetadata { method @Nullable public int[] getAdditiveFields(); method public long getCoolDownMillis(); method public long getTimeoutMillis(); } public static class StatsManager.PullAtomMetadata.Builder { ctor public StatsManager.PullAtomMetadata.Builder(); method @NonNull public android.app.StatsManager.PullAtomMetadata build(); method @NonNull public android.app.StatsManager.PullAtomMetadata.Builder setAdditiveFields(@NonNull int[]); method @NonNull public android.app.StatsManager.PullAtomMetadata.Builder setCoolDownMillis(long); method @NonNull public android.app.StatsManager.PullAtomMetadata.Builder setTimeoutMillis(long); } public static interface StatsManager.StatsPullAtomCallback { method public int onPullAtom(int, @NonNull java.util.List); } public static class StatsManager.StatsQueryException extends android.util.AndroidException { ctor public StatsManager.StatsQueryException(@NonNull String); ctor public StatsManager.StatsQueryException(@NonNull String, @NonNull Throwable); } public static class StatsManager.StatsUnavailableException extends android.util.AndroidException { ctor public StatsManager.StatsUnavailableException(String); ctor public StatsManager.StatsUnavailableException(String, Throwable); } public final class StatsQuery { method @IntRange(from=0) public int getMinSqlClientVersion(); method @Nullable public byte[] getPolicyConfig(); method @NonNull public String getRawSql(); method public int getSqlDialect(); field public static final int DIALECT_SQLITE = 1; // 0x1 field public static final int DIALECT_UNKNOWN = 0; // 0x0 } public static final class StatsQuery.Builder { ctor public StatsQuery.Builder(@NonNull String); method @NonNull public android.app.StatsQuery build(); method @NonNull public android.app.StatsQuery.Builder setMinSqlClientVersion(@IntRange(from=0) int); method @NonNull public android.app.StatsQuery.Builder setPolicyConfig(@NonNull byte[]); method @NonNull public android.app.StatsQuery.Builder setSqlDialect(int); } public class StatusBarManager { method @NonNull @RequiresPermission(android.Manifest.permission.STATUS_BAR) public android.app.StatusBarManager.DisableInfo getDisableInfo(); method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public int getNavBarMode(); method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void registerNearbyMediaDevicesProvider(@NonNull android.media.NearbyMediaDevicesProvider); method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setDisabledForSetup(boolean); method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setNavBarMode(int); method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void unregisterNearbyMediaDevicesProvider(@NonNull android.media.NearbyMediaDevicesProvider); method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void updateMediaTapToTransferReceiverDisplay(int, @NonNull android.media.MediaRoute2Info, @Nullable android.graphics.drawable.Icon, @Nullable CharSequence); method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void updateMediaTapToTransferSenderDisplay(int, @NonNull android.media.MediaRoute2Info, @Nullable java.util.concurrent.Executor, @Nullable Runnable); field public static final int MEDIA_TRANSFER_RECEIVER_STATE_CLOSE_TO_SENDER = 0; // 0x0 field public static final int MEDIA_TRANSFER_RECEIVER_STATE_FAR_FROM_SENDER = 1; // 0x1 field public static final int MEDIA_TRANSFER_RECEIVER_STATE_TRANSFER_TO_RECEIVER_FAILED = 3; // 0x3 field public static final int MEDIA_TRANSFER_RECEIVER_STATE_TRANSFER_TO_RECEIVER_SUCCEEDED = 2; // 0x2 field public static final int MEDIA_TRANSFER_SENDER_STATE_ALMOST_CLOSE_TO_END_CAST = 1; // 0x1 field public static final int MEDIA_TRANSFER_SENDER_STATE_ALMOST_CLOSE_TO_START_CAST = 0; // 0x0 field public static final int MEDIA_TRANSFER_SENDER_STATE_FAR_FROM_RECEIVER = 8; // 0x8 field public static final int MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_FAILED = 6; // 0x6 field public static final int MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_SUCCEEDED = 4; // 0x4 field public static final int MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_TRIGGERED = 2; // 0x2 field public static final int MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_FAILED = 7; // 0x7 field public static final int MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_SUCCEEDED = 5; // 0x5 field public static final int MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_TRIGGERED = 3; // 0x3 field public static final int NAV_BAR_MODE_DEFAULT = 0; // 0x0 field public static final int NAV_BAR_MODE_KIDS = 1; // 0x1 } public static final class StatusBarManager.DisableInfo { method public boolean areAllComponentsEnabled(); method public boolean isNavigateToHomeDisabled(); method public boolean isNotificationPeekingDisabled(); method public boolean isRecentsDisabled(); method public boolean isSearchDisabled(); method public boolean isStatusBarExpansionDisabled(); } public final class SystemServiceRegistry { method public static void registerContextAwareService(@NonNull String, @NonNull Class, @NonNull android.app.SystemServiceRegistry.ContextAwareServiceProducerWithBinder); method public static void registerContextAwareService(@NonNull String, @NonNull Class, @NonNull android.app.SystemServiceRegistry.ContextAwareServiceProducerWithoutBinder); method public static void registerStaticService(@NonNull String, @NonNull Class, @NonNull android.app.SystemServiceRegistry.StaticServiceProducerWithBinder); method public static void registerStaticService(@NonNull String, @NonNull Class, @NonNull android.app.SystemServiceRegistry.StaticServiceProducerWithoutBinder); } public static interface SystemServiceRegistry.ContextAwareServiceProducerWithBinder { method @NonNull public TServiceClass createService(@NonNull android.content.Context, @NonNull android.os.IBinder); } public static interface SystemServiceRegistry.ContextAwareServiceProducerWithoutBinder { method @NonNull public TServiceClass createService(@NonNull android.content.Context); } public static interface SystemServiceRegistry.StaticServiceProducerWithBinder { method @NonNull public TServiceClass createService(@NonNull android.os.IBinder); } public static interface SystemServiceRegistry.StaticServiceProducerWithoutBinder { method @NonNull public TServiceClass createService(); } public class UiModeManager { method @RequiresPermission(android.Manifest.permission.READ_PROJECTION_STATE) public void addOnProjectionStateChangedListener(int, @NonNull java.util.concurrent.Executor, @NonNull android.app.UiModeManager.OnProjectionStateChangedListener); method @RequiresPermission(android.Manifest.permission.ENTER_CAR_MODE_PRIORITIZED) public void enableCarMode(@IntRange(from=0) int, int); method @RequiresPermission(android.Manifest.permission.READ_PROJECTION_STATE) public int getActiveProjectionTypes(); method @RequiresPermission(android.Manifest.permission.MODIFY_DAY_NIGHT_MODE) public int getNightModeCustomType(); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PROJECTION_STATE) public java.util.Set getProjectingPackages(int); method @RequiresPermission(value=android.Manifest.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean releaseProjection(int); method @RequiresPermission(android.Manifest.permission.READ_PROJECTION_STATE) public void removeOnProjectionStateChangedListener(@NonNull android.app.UiModeManager.OnProjectionStateChangedListener); method @RequiresPermission(value=android.Manifest.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int); method @RequiresPermission(android.Manifest.permission.MODIFY_DAY_NIGHT_MODE) public boolean setNightModeActivatedForCustomMode(int, boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_DAY_NIGHT_MODE) public void setNightModeCustomType(int); field public static final String ACTION_ENTER_CAR_MODE_PRIORITIZED = "android.app.action.ENTER_CAR_MODE_PRIORITIZED"; field public static final String ACTION_EXIT_CAR_MODE_PRIORITIZED = "android.app.action.EXIT_CAR_MODE_PRIORITIZED"; field public static final int DEFAULT_PRIORITY = 0; // 0x0 field public static final String EXTRA_CALLING_PACKAGE = "android.app.extra.CALLING_PACKAGE"; field public static final String EXTRA_PRIORITY = "android.app.extra.PRIORITY"; field public static final int MODE_NIGHT_CUSTOM_TYPE_BEDTIME = 1; // 0x1 field public static final int MODE_NIGHT_CUSTOM_TYPE_SCHEDULE = 0; // 0x0 field public static final int MODE_NIGHT_CUSTOM_TYPE_UNKNOWN = -1; // 0xffffffff field public static final int PROJECTION_TYPE_ALL = -1; // 0xffffffff field public static final int PROJECTION_TYPE_AUTOMOTIVE = 1; // 0x1 field public static final int PROJECTION_TYPE_NONE = 0; // 0x0 } public static interface UiModeManager.OnProjectionStateChangedListener { method public void onProjectionStateChanged(int, @NonNull java.util.Set); } public final class Vr2dDisplayProperties implements android.os.Parcelable { ctor public Vr2dDisplayProperties(int, int, int); method public int describeContents(); method public void dump(@NonNull java.io.PrintWriter, @NonNull String); method public int getAddedFlags(); method public int getDpi(); method public int getHeight(); method public int getRemovedFlags(); method public int getWidth(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int FLAG_VIRTUAL_DISPLAY_ENABLED = 1; // 0x1 } public static final class Vr2dDisplayProperties.Builder { ctor public Vr2dDisplayProperties.Builder(); method @NonNull public android.app.Vr2dDisplayProperties.Builder addFlags(int); method @NonNull public android.app.Vr2dDisplayProperties build(); method @NonNull public android.app.Vr2dDisplayProperties.Builder removeFlags(int); method @NonNull public android.app.Vr2dDisplayProperties.Builder setDimensions(int, int, int); method @NonNull public android.app.Vr2dDisplayProperties.Builder setEnabled(boolean); } public class VrManager { method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public int getVr2dDisplayId(); method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public boolean isPersistentVrModeEnabled(); method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public boolean isVrModeEnabled(); method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public void registerVrStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.app.VrStateCallback); method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setAndBindVrCompositor(android.content.ComponentName); method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setPersistentVrModeEnabled(boolean); method @RequiresPermission("android.permission.ACCESS_VR_MANAGER") public void setStandbyEnabled(boolean); method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setVr2dDisplayProperties(@NonNull android.app.Vr2dDisplayProperties); method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setVrInputMethod(@Nullable android.content.ComponentName); method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public void unregisterVrStateCallback(@NonNull android.app.VrStateCallback); } public abstract class VrStateCallback { ctor public VrStateCallback(); method public void onPersistentVrStateChanged(boolean); method public void onVrStateChanged(boolean); } public final class WallpaperInfo implements android.os.Parcelable { method public boolean supportsAmbientMode(); } public class WallpaperManager { method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public void clearWallpaper(int, int); method @FloatRange(from=0.0f, to=1.0f) @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_DIM_AMOUNT) public float getWallpaperDimAmount(); method public void setDisplayOffset(android.os.IBinder, int, int); method @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_COMPONENT) public boolean setWallpaperComponent(android.content.ComponentName); method @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_COMPONENT) public boolean setWallpaperComponentWithFlags(@NonNull android.content.ComponentName, int); method @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_DIM_AMOUNT) public void setWallpaperDimAmount(@FloatRange(from=0.0f, to=1.0f) float); } } package android.app.admin { public final class AccountTypePolicyKey extends android.app.admin.PolicyKey { method public int describeContents(); method @NonNull public String getAccountType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public abstract class Authority implements android.os.Parcelable { method public int describeContents(); } public final class DeviceAdminAuthority extends android.app.admin.Authority { ctor public DeviceAdminAuthority(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class DevicePolicyDrawableResource implements android.os.Parcelable { ctor public DevicePolicyDrawableResource(@NonNull android.content.Context, @NonNull String, @NonNull String, @NonNull String, @DrawableRes int); ctor public DevicePolicyDrawableResource(@NonNull android.content.Context, @NonNull String, @NonNull String, @DrawableRes int); method public int describeContents(); method @NonNull public String getDrawableId(); method @NonNull public String getDrawableSource(); method @NonNull public String getDrawableStyle(); method @DrawableRes public int getResourceIdInCallingPackage(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class DevicePolicyKeyguardService extends android.app.Service { ctor public DevicePolicyKeyguardService(); method @Nullable public void dismiss(); method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent); method @Nullable public android.view.SurfaceControlViewHost.SurfacePackage onCreateKeyguardSurface(@NonNull android.os.IBinder); } public class DevicePolicyManager { method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public int checkProvisioningPrecondition(@NonNull String, @NonNull String); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public android.os.UserHandle createAndProvisionManagedProfile(@NonNull android.app.admin.ManagedProfileProvisioningParams) throws android.app.admin.ProvisioningException; method @Nullable public android.content.Intent createProvisioningIntentFromNfcIntent(@NonNull android.content.Intent); method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void finalizeWorkProfileProvisioning(@NonNull android.os.UserHandle, @Nullable android.accounts.Account); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_POLICY_APP_EXEMPTIONS) public java.util.Set getApplicationExemptions(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException; method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public boolean getBluetoothContactSharingDisabled(@NonNull android.os.UserHandle); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getDeviceOwner(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}) public android.content.ComponentName getDeviceOwnerComponentOnAnyUser(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}) public String getDeviceOwnerNameOnAnyUser(); method @Nullable public CharSequence getDeviceOwnerOrganizationName(); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.os.UserHandle getDeviceOwnerUser(); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public android.app.admin.DevicePolicyState getDevicePolicyState(); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public String getFinancedDeviceKioskRoleHolder(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_ADMIN_POLICY}) public java.util.List getPermittedAccessibilityServices(int); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_ADMIN_POLICY}) public java.util.List getPermittedInputMethodsForCurrentUser(); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public java.util.List getPolicyManagedProfiles(@NonNull android.os.UserHandle); method @Nullable public android.content.ComponentName getProfileOwner() throws java.lang.IllegalArgumentException; method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}) public String getProfileOwnerNameAsUser(int) throws java.lang.IllegalArgumentException; method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}) public int getUserProvisioningState(); method public boolean isDeviceManaged(); method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isDeviceProvisioned(); method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isDeviceProvisioningConfigApplied(); method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public boolean isDpcDownloaded(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}) public boolean isManagedKiosk(); method public boolean isSecondaryLockscreenEnabled(@NonNull android.os.UserHandle); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}) public boolean isUnattendedManagedKiosk(); method @RequiresPermission("android.permission.NOTIFY_PENDING_SYSTEM_UPDATE") public void notifyPendingSystemUpdate(long); method @RequiresPermission("android.permission.NOTIFY_PENDING_SYSTEM_UPDATE") public void notifyPendingSystemUpdate(long, boolean); method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public boolean packageHasActiveAdmins(String); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS, android.Manifest.permission.PROVISION_DEMO_DEVICE}) public void provisionFullyManagedDevice(@NonNull android.app.admin.FullyManagedDeviceProvisioningParams) throws android.app.admin.ProvisioningException; method @RequiresPermission(android.Manifest.permission.TRIGGER_LOST_MODE) public void sendLostModeLocationUpdate(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_ADMINS) public boolean setActiveProfileOwner(@NonNull android.content.ComponentName, String) throws java.lang.IllegalArgumentException; method @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_POLICY_APP_EXEMPTIONS) public void setApplicationExemptions(@NonNull String, @NonNull java.util.Set) throws android.content.pm.PackageManager.NameNotFoundException; method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setDeviceProvisioningConfigApplied(); method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void setDpcDownloaded(boolean); method @Deprecated @RequiresPermission(value=android.Manifest.permission.GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS, conditional=true) public void setProfileOwnerCanAccessDeviceIds(@NonNull android.content.ComponentName); method public void setSecondaryLockscreenEnabled(@NonNull android.content.ComponentName, boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void setUserProvisioningState(int, @NonNull android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public boolean shouldAllowBypassingDevicePolicyManagementRoleQualification(); field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_ALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED"; field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_DISALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED"; field public static final String ACTION_BIND_SECONDARY_LOCKSCREEN_SERVICE = "android.app.action.BIND_SECONDARY_LOCKSCREEN_SERVICE"; field @RequiresPermission(android.Manifest.permission.DISPATCH_PROVISIONING_MESSAGE) public static final String ACTION_ESTABLISH_NETWORK_CONNECTION = "android.app.action.ESTABLISH_NETWORK_CONNECTION"; field public static final String ACTION_LOST_MODE_LOCATION_UPDATE = "android.app.action.LOST_MODE_LOCATION_UPDATE"; field public static final String ACTION_PROVISION_FINALIZATION = "android.app.action.PROVISION_FINALIZATION"; field public static final String ACTION_PROVISION_FINANCED_DEVICE = "android.app.action.PROVISION_FINANCED_DEVICE"; field public static final String ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE = "android.app.action.PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE"; field @RequiresPermission(android.Manifest.permission.MANAGE_FACTORY_RESET_PROTECTION) public static final String ACTION_RESET_PROTECTION_POLICY_CHANGED = "android.app.action.RESET_PROTECTION_POLICY_CHANGED"; field @RequiresPermission(android.Manifest.permission.LAUNCH_DEVICE_MANAGER_SETUP) public static final String ACTION_ROLE_HOLDER_PROVISION_FINALIZATION = "android.app.action.ROLE_HOLDER_PROVISION_FINALIZATION"; field @RequiresPermission(android.Manifest.permission.LAUNCH_DEVICE_MANAGER_SETUP) public static final String ACTION_ROLE_HOLDER_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE = "android.app.action.ROLE_HOLDER_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE"; field @RequiresPermission(android.Manifest.permission.LAUNCH_DEVICE_MANAGER_SETUP) public static final String ACTION_ROLE_HOLDER_PROVISION_MANAGED_PROFILE = "android.app.action.ROLE_HOLDER_PROVISION_MANAGED_PROFILE"; field public static final String ACTION_SET_PROFILE_OWNER = "android.app.action.SET_PROFILE_OWNER"; field @Deprecated public static final String ACTION_STATE_USER_SETUP_COMPLETE = "android.app.action.STATE_USER_SETUP_COMPLETE"; field @RequiresPermission(android.Manifest.permission.LAUNCH_DEVICE_MANAGER_SETUP) public static final String ACTION_UPDATE_DEVICE_POLICY_MANAGEMENT_ROLE_HOLDER = "android.app.action.UPDATE_DEVICE_POLICY_MANAGEMENT_ROLE_HOLDER"; field public static final int EXEMPT_FROM_ACTIVITY_BG_START_RESTRICTION = 2; // 0x2 field public static final int EXEMPT_FROM_DISMISSIBLE_NOTIFICATIONS = 1; // 0x1 field public static final int EXEMPT_FROM_HIBERNATION = 3; // 0x3 field public static final int EXEMPT_FROM_POWER_RESTRICTIONS = 4; // 0x4 field public static final int EXEMPT_FROM_SUSPENSION = 0; // 0x0 field public static final String EXTRA_FORCE_UPDATE_ROLE_HOLDER = "android.app.extra.FORCE_UPDATE_ROLE_HOLDER"; field public static final String EXTRA_LOST_MODE_LOCATION = "android.app.extra.LOST_MODE_LOCATION"; field public static final String EXTRA_PROFILE_OWNER_NAME = "android.app.extra.PROFILE_OWNER_NAME"; field @Deprecated public static final String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_URI = "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_URI"; field @Deprecated public static final String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL = "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL"; field public static final String EXTRA_PROVISIONING_ORGANIZATION_NAME = "android.app.extra.PROVISIONING_ORGANIZATION_NAME"; field public static final String EXTRA_PROVISIONING_RETURN_BEFORE_POLICY_COMPLIANCE = "android.app.extra.PROVISIONING_RETURN_BEFORE_POLICY_COMPLIANCE"; field public static final String EXTRA_PROVISIONING_ROLE_HOLDER_CUSTOM_USER_CONSENT_INTENT = "android.app.extra.PROVISIONING_ROLE_HOLDER_CUSTOM_USER_CONSENT_INTENT"; field public static final String EXTRA_PROVISIONING_ROLE_HOLDER_EXTRAS_BUNDLE = "android.app.extra.PROVISIONING_ROLE_HOLDER_EXTRAS_BUNDLE"; field public static final String EXTRA_PROVISIONING_ROLE_HOLDER_PACKAGE_DOWNLOAD_COOKIE_HEADER = "android.app.extra.PROVISIONING_ROLE_HOLDER_PACKAGE_DOWNLOAD_COOKIE_HEADER"; field public static final String EXTRA_PROVISIONING_ROLE_HOLDER_PACKAGE_DOWNLOAD_LOCATION = "android.app.extra.PROVISIONING_ROLE_HOLDER_PACKAGE_DOWNLOAD_LOCATION"; field public static final String EXTRA_PROVISIONING_ROLE_HOLDER_SIGNATURE_CHECKSUM = "android.app.extra.PROVISIONING_ROLE_HOLDER_SIGNATURE_CHECKSUM"; field public static final String EXTRA_PROVISIONING_SKIP_OWNERSHIP_DISCLAIMER = "android.app.extra.PROVISIONING_SKIP_OWNERSHIP_DISCLAIMER"; field public static final String EXTRA_PROVISIONING_SUPPORTED_MODES = "android.app.extra.PROVISIONING_SUPPORTED_MODES"; field public static final String EXTRA_PROVISIONING_SUPPORT_URL = "android.app.extra.PROVISIONING_SUPPORT_URL"; field public static final String EXTRA_PROVISIONING_TRIGGER = "android.app.extra.PROVISIONING_TRIGGER"; field public static final String EXTRA_RESTRICTION = "android.app.extra.RESTRICTION"; field public static final String EXTRA_ROLE_HOLDER_PROVISIONING_INITIATOR_PACKAGE = "android.app.extra.ROLE_HOLDER_PROVISIONING_INITIATOR_PACKAGE"; field public static final String EXTRA_ROLE_HOLDER_STATE = "android.app.extra.ROLE_HOLDER_STATE"; field public static final String EXTRA_ROLE_HOLDER_UPDATE_RESULT_CODE = "android.app.extra.ROLE_HOLDER_UPDATE_RESULT_CODE"; field public static final int FLAG_SUPPORTED_MODES_DEVICE_OWNER = 4; // 0x4 field public static final int FLAG_SUPPORTED_MODES_ORGANIZATION_OWNED = 1; // 0x1 field public static final int FLAG_SUPPORTED_MODES_PERSONALLY_OWNED = 2; // 0x2 field public static final int PROVISIONING_TRIGGER_CLOUD_ENROLLMENT = 1; // 0x1 field public static final int PROVISIONING_TRIGGER_MANAGED_ACCOUNT = 4; // 0x4 field public static final int PROVISIONING_TRIGGER_NFC = 5; // 0x5 field @Deprecated public static final int PROVISIONING_TRIGGER_PERSISTENT_DEVICE_OWNER = 3; // 0x3 field public static final int PROVISIONING_TRIGGER_QR_CODE = 2; // 0x2 field public static final int PROVISIONING_TRIGGER_UNSPECIFIED = 0; // 0x0 field public static final String REQUIRED_APP_MANAGED_DEVICE = "android.app.REQUIRED_APP_MANAGED_DEVICE"; field public static final String REQUIRED_APP_MANAGED_PROFILE = "android.app.REQUIRED_APP_MANAGED_PROFILE"; field public static final String REQUIRED_APP_MANAGED_USER = "android.app.REQUIRED_APP_MANAGED_USER"; field public static final int RESULT_DEVICE_OWNER_SET = 123; // 0x7b field public static final int RESULT_UPDATE_DEVICE_POLICY_MANAGEMENT_ROLE_HOLDER_PROVISIONING_DISABLED = 3; // 0x3 field public static final int RESULT_UPDATE_DEVICE_POLICY_MANAGEMENT_ROLE_HOLDER_RECOVERABLE_ERROR = 1; // 0x1 field public static final int RESULT_UPDATE_DEVICE_POLICY_MANAGEMENT_ROLE_HOLDER_UNRECOVERABLE_ERROR = 2; // 0x2 field public static final int RESULT_UPDATE_ROLE_HOLDER = 2; // 0x2 field public static final int RESULT_WORK_PROFILE_CREATED = 122; // 0x7a field public static final int STATE_USER_PROFILE_COMPLETE = 4; // 0x4 field public static final int STATE_USER_PROFILE_FINALIZED = 5; // 0x5 field public static final int STATE_USER_SETUP_COMPLETE = 2; // 0x2 field public static final int STATE_USER_SETUP_FINALIZED = 3; // 0x3 field public static final int STATE_USER_SETUP_INCOMPLETE = 1; // 0x1 field public static final int STATE_USER_UNMANAGED = 0; // 0x0 field public static final int STATUS_ACCOUNTS_NOT_EMPTY = 6; // 0x6 field public static final int STATUS_CANNOT_ADD_MANAGED_PROFILE = 11; // 0xb field public static final int STATUS_DEVICE_ADMIN_NOT_SUPPORTED = 13; // 0xd field public static final int STATUS_HAS_DEVICE_OWNER = 1; // 0x1 field public static final int STATUS_HAS_PAIRED = 8; // 0x8 field public static final int STATUS_HEADLESS_SYSTEM_USER_MODE_NOT_SUPPORTED = 16; // 0x10 field public static final int STATUS_MANAGED_USERS_NOT_SUPPORTED = 9; // 0x9 field public static final int STATUS_NONSYSTEM_USER_EXISTS = 5; // 0x5 field public static final int STATUS_NOT_SYSTEM_USER = 7; // 0x7 field public static final int STATUS_OK = 0; // 0x0 field public static final int STATUS_PROVISIONING_NOT_ALLOWED_FOR_NON_DEVELOPER_USERS = 15; // 0xf field public static final int STATUS_SYSTEM_USER = 10; // 0xa field public static final int STATUS_UNKNOWN_ERROR = -1; // 0xffffffff field public static final int STATUS_USER_HAS_PROFILE_OWNER = 2; // 0x2 field public static final int STATUS_USER_NOT_RUNNING = 3; // 0x3 field public static final int STATUS_USER_SETUP_COMPLETED = 4; // 0x4 } public static final class DevicePolicyResources.Strings { } public static final class DevicePolicyResources.Strings.DefaultAppSettings { field public static final String HOME_MISSING_WORK_PROFILE_SUPPORT_MESSAGE = "DefaultAppSettings.HOME_MISSING_WORK_PROFILE_SUPPORT_MESSAGE"; field public static final String WORK_PROFILE_DEFAULT_APPS_TITLE = "DefaultAppSettings.WORK_PROFILE_DEFAULT_APPS_TITLE"; } public static final class DevicePolicyResources.Strings.PermissionSettings { field public static final String BACKGROUND_ACCESS_DISABLED_BY_ADMIN_MESSAGE = "PermissionSettings.BACKGROUND_ACCESS_DISABLED_BY_ADMIN_MESSAGE"; field public static final String BACKGROUND_ACCESS_ENABLED_BY_ADMIN_MESSAGE = "PermissionSettings.BACKGROUND_ACCESS_ENABLED_BY_ADMIN_MESSAGE"; field public static final String FOREGROUND_ACCESS_ENABLED_BY_ADMIN_MESSAGE = "PermissionSettings.FOREGROUND_ACCESS_ENABLED_BY_ADMIN_MESSAGE"; field public static final String LOCATION_AUTO_GRANTED_MESSAGE = "PermissionSettings.LOCATION_AUTO_GRANTED_MESSAGE"; } public class DevicePolicyResourcesManager { method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES) public void resetDrawables(@NonNull java.util.Set); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES) public void resetStrings(@NonNull java.util.Set); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES) public void setDrawables(@NonNull java.util.Set); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES) public void setStrings(@NonNull java.util.Set); } public final class DevicePolicyState implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.Map>> getPoliciesForAllUsers(); method @NonNull public java.util.Map> getPoliciesForUser(@NonNull android.os.UserHandle); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class DevicePolicyStringResource implements android.os.Parcelable { ctor public DevicePolicyStringResource(@NonNull android.content.Context, @NonNull String, @StringRes int); method public int describeContents(); method public int getResourceIdInCallingPackage(); method @NonNull public String getStringId(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class DpcAuthority extends android.app.admin.Authority { ctor public DpcAuthority(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class EnforcingAdmin implements android.os.Parcelable { ctor public EnforcingAdmin(@NonNull String, @NonNull android.app.admin.Authority, @NonNull android.os.UserHandle); method public int describeContents(); method @NonNull public android.app.admin.Authority getAuthority(); method @NonNull public String getPackageName(); method @NonNull public android.os.UserHandle getUserHandle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class FullyManagedDeviceProvisioningParams implements android.os.Parcelable { method public boolean canDeviceOwnerGrantSensorsPermissions(); method public int describeContents(); method @NonNull public android.os.PersistableBundle getAdminExtras(); method @NonNull public android.content.ComponentName getDeviceAdminComponentName(); method public long getLocalTime(); method @Nullable public java.util.Locale getLocale(); method @NonNull public String getOwnerName(); method @Nullable public String getTimeZone(); method public boolean isDemoDevice(); method public boolean isLeaveAllSystemAppsEnabled(); method public void writeToParcel(@NonNull android.os.Parcel, @Nullable int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class FullyManagedDeviceProvisioningParams.Builder { ctor public FullyManagedDeviceProvisioningParams.Builder(@NonNull android.content.ComponentName, @NonNull String); method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams build(); method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setAdminExtras(@NonNull android.os.PersistableBundle); method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setCanDeviceOwnerGrantSensorsPermissions(boolean); method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setDemoDevice(boolean); method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setLeaveAllSystemAppsEnabled(boolean); method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setLocalTime(long); method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setLocale(@Nullable java.util.Locale); method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setTimeZone(@Nullable String); } public final class IntentFilterPolicyKey extends android.app.admin.PolicyKey { method public int describeContents(); method @NonNull public android.content.IntentFilter getIntentFilter(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class LockTaskPolicy implements android.os.Parcelable { method public int describeContents(); method public int getFlags(); method @NonNull public java.util.Set getPackages(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class ManagedProfileProvisioningParams implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.accounts.Account getAccountToMigrate(); method @NonNull public android.os.PersistableBundle getAdminExtras(); method @NonNull public String getOwnerName(); method @NonNull public android.content.ComponentName getProfileAdminComponentName(); method @Nullable public String getProfileName(); method public boolean isKeepingAccountOnMigration(); method public boolean isLeaveAllSystemAppsEnabled(); method public boolean isOrganizationOwnedProvisioning(); method public void writeToParcel(@NonNull android.os.Parcel, @Nullable int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class ManagedProfileProvisioningParams.Builder { ctor public ManagedProfileProvisioningParams.Builder(@NonNull android.content.ComponentName, @NonNull String); method @NonNull public android.app.admin.ManagedProfileProvisioningParams build(); method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setAccountToMigrate(@Nullable android.accounts.Account); method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setAdminExtras(@NonNull android.os.PersistableBundle); method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setKeepingAccountOnMigration(boolean); method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setLeaveAllSystemAppsEnabled(boolean); method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setOrganizationOwnedProvisioning(boolean); method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setProfileName(@Nullable String); } public final class NoArgsPolicyKey extends android.app.admin.PolicyKey { method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class PackagePermissionPolicyKey extends android.app.admin.PolicyKey { method public int describeContents(); method @NonNull public String getPackageName(); method @NonNull public String getPermissionName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class PackagePolicyKey extends android.app.admin.PolicyKey { method public int describeContents(); method @NonNull public String getPackageName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public abstract class PolicyKey implements android.os.Parcelable { method @NonNull public String getIdentifier(); } public final class PolicyState implements android.os.Parcelable { method public int describeContents(); method @Nullable public V getCurrentResolvedPolicy(); method @NonNull public java.util.LinkedHashMap getPoliciesSetByAdmins(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator> CREATOR; } public class ProvisioningException extends android.util.AndroidException { ctor public ProvisioningException(@NonNull Exception, int); ctor public ProvisioningException(@NonNull Exception, int, @Nullable String); method public int getProvisioningError(); field public static final int ERROR_ADMIN_PACKAGE_INSTALLATION_FAILED = 3; // 0x3 field public static final int ERROR_PRE_CONDITION_FAILED = 1; // 0x1 field public static final int ERROR_PROFILE_CREATION_FAILED = 2; // 0x2 field public static final int ERROR_REMOVE_NON_REQUIRED_APPS_FAILED = 6; // 0x6 field public static final int ERROR_SETTING_PROFILE_OWNER_FAILED = 4; // 0x4 field public static final int ERROR_SET_DEVICE_OWNER_FAILED = 7; // 0x7 field public static final int ERROR_STARTING_PROFILE_FAILED = 5; // 0x5 field public static final int ERROR_UNKNOWN = 0; // 0x0 } public final class RoleAuthority extends android.app.admin.Authority { ctor public RoleAuthority(@NonNull java.util.Set); method @NonNull public java.util.Set getRoles(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class SecurityLog { method @RequiresPermission(android.Manifest.permission.WRITE_SECURITY_LOG) public static int writeEvent(int, @NonNull java.lang.Object...); } public final class SystemUpdatePolicy implements android.os.Parcelable { method public android.app.admin.SystemUpdatePolicy.InstallationOption getInstallationOptionAt(long); field public static final int TYPE_PAUSE = 4; // 0x4 } public static class SystemUpdatePolicy.InstallationOption { method public long getEffectiveTime(); method public int getType(); } public final class UnknownAuthority extends android.app.admin.Authority { ctor public UnknownAuthority(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class UserRestrictionPolicyKey extends android.app.admin.PolicyKey { method public int describeContents(); method @NonNull public String getRestriction(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.app.ambientcontext { public final class AmbientContextEvent implements android.os.Parcelable { method public int describeContents(); method public int getConfidenceLevel(); method public int getDensityLevel(); method @NonNull public java.time.Instant getEndTime(); method public int getEventType(); method @NonNull public java.time.Instant getStartTime(); method @NonNull public android.os.PersistableBundle getVendorData(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int EVENT_BACK_DOUBLE_TAP = 3; // 0x3 field public static final int EVENT_COUGH = 1; // 0x1 field public static final int EVENT_SNORE = 2; // 0x2 field public static final int EVENT_UNKNOWN = 0; // 0x0 field public static final int EVENT_VENDOR_WEARABLE_START = 100000; // 0x186a0 field public static final String KEY_VENDOR_WEARABLE_EVENT_NAME = "wearable_event_name"; field public static final int LEVEL_HIGH = 5; // 0x5 field public static final int LEVEL_LOW = 1; // 0x1 field public static final int LEVEL_MEDIUM = 3; // 0x3 field public static final int LEVEL_MEDIUM_HIGH = 4; // 0x4 field public static final int LEVEL_MEDIUM_LOW = 2; // 0x2 field public static final int LEVEL_UNKNOWN = 0; // 0x0 } public static final class AmbientContextEvent.Builder { ctor public AmbientContextEvent.Builder(); method @NonNull public android.app.ambientcontext.AmbientContextEvent build(); method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setConfidenceLevel(int); method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setDensityLevel(int); method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setEndTime(@NonNull java.time.Instant); method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setEventType(int); method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setStartTime(@NonNull java.time.Instant); method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setVendorData(@NonNull android.os.PersistableBundle); } public final class AmbientContextEventRequest implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.Set getEventTypes(); method @NonNull public android.os.PersistableBundle getOptions(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AmbientContextEventRequest.Builder { ctor public AmbientContextEventRequest.Builder(); method @NonNull public android.app.ambientcontext.AmbientContextEventRequest.Builder addEventType(int); method @NonNull public android.app.ambientcontext.AmbientContextEventRequest build(); method @NonNull public android.app.ambientcontext.AmbientContextEventRequest.Builder setOptions(@NonNull android.os.PersistableBundle); } public final class AmbientContextManager { method @NonNull public static java.util.List getEventsFromIntent(@NonNull android.content.Intent); method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_CONTEXT_EVENT) public void queryAmbientContextServiceStatus(@NonNull java.util.Set, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_CONTEXT_EVENT) public void registerObserver(@NonNull android.app.ambientcontext.AmbientContextEventRequest, @NonNull android.app.PendingIntent, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_CONTEXT_EVENT) public void startConsentActivity(@NonNull java.util.Set); method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_CONTEXT_EVENT) public void unregisterObserver(); field public static final String EXTRA_AMBIENT_CONTEXT_EVENTS = "android.app.ambientcontext.extra.AMBIENT_CONTEXT_EVENTS"; field public static final int STATUS_ACCESS_DENIED = 5; // 0x5 field public static final int STATUS_MICROPHONE_DISABLED = 4; // 0x4 field public static final int STATUS_NOT_SUPPORTED = 2; // 0x2 field public static final int STATUS_SERVICE_UNAVAILABLE = 3; // 0x3 field public static final int STATUS_SUCCESS = 1; // 0x1 field public static final int STATUS_UNKNOWN = 0; // 0x0 } } package android.app.appsearch { public class AppSearchManagerFrameworkInitializer { method public static void initialize(); } } package android.app.assist { public final class ActivityId implements android.os.Parcelable { method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class AssistStructure.ViewNode { ctor public AssistStructure.ViewNode(); } } package android.app.backup { public class BackupDataInput { ctor public BackupDataInput(java.io.FileDescriptor); } public class BackupDataOutput { ctor public BackupDataOutput(java.io.FileDescriptor); ctor public BackupDataOutput(java.io.FileDescriptor, long); } public class BackupManager { method @RequiresPermission(android.Manifest.permission.BACKUP) public void backupNow(); method @RequiresPermission(android.Manifest.permission.BACKUP) public android.app.backup.RestoreSession beginRestoreSession(); method @RequiresPermission(android.Manifest.permission.BACKUP) public void cancelBackups(); method @RequiresPermission(android.Manifest.permission.BACKUP) public void excludeKeysFromRestore(@NonNull String, @NonNull java.util.List); method @RequiresPermission(android.Manifest.permission.BACKUP) public long getAvailableRestoreToken(String); method @NonNull public android.app.backup.BackupRestoreEventLogger getBackupRestoreEventLogger(@NonNull android.app.backup.BackupAgent); method @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.Intent getConfigurationIntent(String); method @RequiresPermission(android.Manifest.permission.BACKUP) public String getCurrentTransport(); method @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.ComponentName getCurrentTransportComponent(); method @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.Intent getDataManagementIntent(String); method @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public CharSequence getDataManagementIntentLabel(@NonNull String); method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public String getDataManagementLabel(@NonNull String); method @NonNull public android.app.backup.BackupRestoreEventLogger getDelayedRestoreLogger(); method @RequiresPermission(android.Manifest.permission.BACKUP) public String getDestinationString(String); method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isAppEligibleForBackup(String); method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isBackupEnabled(); method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isBackupServiceActive(android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.BACKUP) public String[] listAllTransports(); method public void reportDelayedRestoreResult(@NonNull android.app.backup.BackupRestoreEventLogger); method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], android.app.backup.BackupObserver); method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], android.app.backup.BackupObserver, android.app.backup.BackupManagerMonitor, int); method @Deprecated public int requestRestore(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); method @Deprecated @RequiresPermission(android.Manifest.permission.BACKUP) public String selectBackupTransport(String); method @RequiresPermission(android.Manifest.permission.BACKUP) public void selectBackupTransport(android.content.ComponentName, android.app.backup.SelectBackupTransportCallback); method @RequiresPermission(android.Manifest.permission.BACKUP) public void setAncestralSerialNumber(long); method @RequiresPermission(android.Manifest.permission.BACKUP) public void setAutoRestore(boolean); method @RequiresPermission(android.Manifest.permission.BACKUP) public void setBackupEnabled(boolean); method @RequiresPermission(allOf={android.Manifest.permission.BACKUP, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}, conditional=true) public void setFrameworkSchedulingEnabled(boolean); method @Deprecated @RequiresPermission(android.Manifest.permission.BACKUP) public void updateTransportAttributes(@NonNull android.content.ComponentName, @NonNull String, @Nullable android.content.Intent, @NonNull String, @Nullable android.content.Intent, @Nullable String); method @RequiresPermission(android.Manifest.permission.BACKUP) public void updateTransportAttributes(@NonNull android.content.ComponentName, @NonNull String, @Nullable android.content.Intent, @NonNull String, @Nullable android.content.Intent, @Nullable CharSequence); field public static final int ERROR_AGENT_FAILURE = -1003; // 0xfffffc15 field public static final int ERROR_BACKUP_CANCELLED = -2003; // 0xfffff82d field public static final int ERROR_BACKUP_NOT_ALLOWED = -2001; // 0xfffff82f field public static final int ERROR_PACKAGE_NOT_FOUND = -2002; // 0xfffff82e field public static final int ERROR_TRANSPORT_ABORTED = -1000; // 0xfffffc18 field public static final int ERROR_TRANSPORT_INVALID = -2; // 0xfffffffe field public static final int ERROR_TRANSPORT_PACKAGE_REJECTED = -1002; // 0xfffffc16 field public static final int ERROR_TRANSPORT_QUOTA_EXCEEDED = -1005; // 0xfffffc13 field public static final int ERROR_TRANSPORT_UNAVAILABLE = -1; // 0xffffffff field public static final int FLAG_NON_INCREMENTAL_BACKUP = 1; // 0x1 field public static final String PACKAGE_MANAGER_SENTINEL = "@pm@"; field public static final int SUCCESS = 0; // 0x0 } public class BackupManagerMonitor { ctor public BackupManagerMonitor(); method public void onEvent(android.os.Bundle); field public static final String EXTRA_LOG_AGENT_LOGGING_RESULTS = "android.app.backup.extra.LOG_AGENT_LOGGING_RESULTS"; field public static final String EXTRA_LOG_CANCEL_ALL = "android.app.backup.extra.LOG_CANCEL_ALL"; field public static final String EXTRA_LOG_EVENT_CATEGORY = "android.app.backup.extra.LOG_EVENT_CATEGORY"; field public static final String EXTRA_LOG_EVENT_ID = "android.app.backup.extra.LOG_EVENT_ID"; field public static final String EXTRA_LOG_EVENT_PACKAGE_LONG_VERSION = "android.app.backup.extra.LOG_EVENT_PACKAGE_FULL_VERSION"; field public static final String EXTRA_LOG_EVENT_PACKAGE_NAME = "android.app.backup.extra.LOG_EVENT_PACKAGE_NAME"; field @Deprecated public static final String EXTRA_LOG_EVENT_PACKAGE_VERSION = "android.app.backup.extra.LOG_EVENT_PACKAGE_VERSION"; field public static final String EXTRA_LOG_EXCEPTION_FULL_BACKUP = "android.app.backup.extra.LOG_EXCEPTION_FULL_BACKUP"; field public static final String EXTRA_LOG_ILLEGAL_KEY = "android.app.backup.extra.LOG_ILLEGAL_KEY"; field public static final String EXTRA_LOG_MANIFEST_PACKAGE_NAME = "android.app.backup.extra.LOG_MANIFEST_PACKAGE_NAME"; field public static final String EXTRA_LOG_OLD_VERSION = "android.app.backup.extra.LOG_OLD_VERSION"; field public static final String EXTRA_LOG_POLICY_ALLOW_APKS = "android.app.backup.extra.LOG_POLICY_ALLOW_APKS"; field public static final String EXTRA_LOG_PREFLIGHT_ERROR = "android.app.backup.extra.LOG_PREFLIGHT_ERROR"; field public static final String EXTRA_LOG_RESTORE_ANYWAY = "android.app.backup.extra.LOG_RESTORE_ANYWAY"; field public static final String EXTRA_LOG_RESTORE_VERSION = "android.app.backup.extra.LOG_RESTORE_VERSION"; field public static final String EXTRA_LOG_WIDGET_PACKAGE_NAME = "android.app.backup.extra.LOG_WIDGET_PACKAGE_NAME"; field public static final int LOG_EVENT_CATEGORY_AGENT = 2; // 0x2 field public static final int LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY = 3; // 0x3 field public static final int LOG_EVENT_CATEGORY_TRANSPORT = 1; // 0x1 field public static final int LOG_EVENT_ID_AGENT_LOGGING_RESULTS = 52; // 0x34 field public static final int LOG_EVENT_ID_APK_NOT_INSTALLED = 40; // 0x28 field public static final int LOG_EVENT_ID_APP_HAS_NO_AGENT = 28; // 0x1c field public static final int LOG_EVENT_ID_BACKUP_DISABLED = 13; // 0xd field public static final int LOG_EVENT_ID_CANNOT_RESTORE_WITHOUT_APK = 41; // 0x29 field public static final int LOG_EVENT_ID_CANT_FIND_AGENT = 30; // 0x1e field public static final int LOG_EVENT_ID_CORRUPT_MANIFEST = 46; // 0x2e field public static final int LOG_EVENT_ID_DEVICE_NOT_PROVISIONED = 14; // 0xe field public static final int LOG_EVENT_ID_ERROR_PREFLIGHT = 16; // 0x10 field public static final int LOG_EVENT_ID_EXCEPTION_FULL_BACKUP = 19; // 0x13 field public static final int LOG_EVENT_ID_EXPECTED_DIFFERENT_PACKAGE = 43; // 0x2b field public static final int LOG_EVENT_ID_FULL_BACKUP_CANCEL = 4; // 0x4 field public static final int LOG_EVENT_ID_FULL_RESTORE_ALLOW_BACKUP_FALSE = 39; // 0x27 field public static final int LOG_EVENT_ID_FULL_RESTORE_SIGNATURE_MISMATCH = 37; // 0x25 field public static final int LOG_EVENT_ID_FULL_RESTORE_TIMEOUT = 45; // 0x2d field public static final int LOG_EVENT_ID_ILLEGAL_KEY = 5; // 0x5 field public static final int LOG_EVENT_ID_KEY_VALUE_BACKUP_CANCEL = 21; // 0x15 field public static final int LOG_EVENT_ID_KEY_VALUE_RESTORE_TIMEOUT = 31; // 0x1f field public static final int LOG_EVENT_ID_LOST_TRANSPORT = 25; // 0x19 field public static final int LOG_EVENT_ID_MISSING_SIGNATURE = 42; // 0x2a field public static final int LOG_EVENT_ID_NO_DATA_TO_SEND = 7; // 0x7 field public static final int LOG_EVENT_ID_NO_PACKAGES = 49; // 0x31 field public static final int LOG_EVENT_ID_NO_PM_METADATA_RECEIVED = 23; // 0x17 field public static final int LOG_EVENT_ID_NO_RESTORE_METADATA_AVAILABLE = 22; // 0x16 field public static final int LOG_EVENT_ID_PACKAGE_INELIGIBLE = 9; // 0x9 field public static final int LOG_EVENT_ID_PACKAGE_KEY_VALUE_PARTICIPANT = 10; // 0xa field public static final int LOG_EVENT_ID_PACKAGE_NOT_FOUND = 12; // 0xc field public static final int LOG_EVENT_ID_PACKAGE_NOT_PRESENT = 26; // 0x1a field public static final int LOG_EVENT_ID_PACKAGE_STOPPED = 11; // 0xb field public static final int LOG_EVENT_ID_PACKAGE_TRANSPORT_NOT_PRESENT = 15; // 0xf field public static final int LOG_EVENT_ID_PM_AGENT_HAS_NO_METADATA = 24; // 0x18 field public static final int LOG_EVENT_ID_QUOTA_HIT_PREFLIGHT = 18; // 0x12 field public static final int LOG_EVENT_ID_RESTORE_ANY_VERSION = 34; // 0x22 field public static final int LOG_EVENT_ID_RESTORE_VERSION_HIGHER = 27; // 0x1b field public static final int LOG_EVENT_ID_SIGNATURE_MISMATCH = 29; // 0x1d field public static final int LOG_EVENT_ID_SYSTEM_APP_NO_AGENT = 38; // 0x26 field public static final int LOG_EVENT_ID_TRANSPORT_IS_NULL = 50; // 0x32 field public static final int LOG_EVENT_ID_TRANSPORT_NON_INCREMENTAL_BACKUP_REQUIRED = 51; // 0x33 field public static final int LOG_EVENT_ID_UNKNOWN_VERSION = 44; // 0x2c field public static final int LOG_EVENT_ID_VERSIONS_MATCH = 35; // 0x23 field public static final int LOG_EVENT_ID_VERSION_OF_BACKUP_OLDER = 36; // 0x24 field public static final int LOG_EVENT_ID_WIDGET_METADATA_MISMATCH = 47; // 0x2f field public static final int LOG_EVENT_ID_WIDGET_UNKNOWN_VERSION = 48; // 0x30 } public abstract class BackupObserver { ctor public BackupObserver(); method public void backupFinished(int); method public void onResult(String, int); method public void onUpdate(String, android.app.backup.BackupProgress); } public class BackupProgress implements android.os.Parcelable { ctor public BackupProgress(long, long); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public final long bytesExpected; field public final long bytesTransferred; } public final class BackupRestoreEventLogger { method public void logBackupMetadata(@NonNull String, @NonNull String); method public void logItemsBackedUp(@NonNull String, int); method public void logItemsBackupFailed(@NonNull String, int, @Nullable String); method public void logItemsRestoreFailed(@NonNull String, int, @Nullable String); method public void logItemsRestored(@NonNull String, int); method public void logRestoreMetadata(@NonNull String, @NonNull String); } public static final class BackupRestoreEventLogger.DataTypeResult implements android.os.Parcelable { ctor public BackupRestoreEventLogger.DataTypeResult(@NonNull String); method public int describeContents(); method @NonNull public String getDataType(); method @NonNull public java.util.Map getErrors(); method public int getFailCount(); method @Nullable public byte[] getMetadataHash(); method public int getSuccessCount(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class BackupTransport { ctor public BackupTransport(); method public int abortFullRestore(); method public void cancelFullBackup(); method public int checkFullBackupSize(long); method public int clearBackupData(android.content.pm.PackageInfo); method public android.content.Intent configurationIntent(); method public String currentDestinationString(); method public android.content.Intent dataManagementIntent(); method @Nullable public CharSequence dataManagementIntentLabel(); method @Deprecated @Nullable public String dataManagementLabel(); method public int finishBackup(); method public void finishRestore(); method public android.app.backup.RestoreSet[] getAvailableRestoreSets(); method @Nullable public android.app.backup.BackupManagerMonitor getBackupManagerMonitor(); method public long getBackupQuota(String, boolean); method public android.os.IBinder getBinder(); method public long getCurrentRestoreSet(); method public int getNextFullRestoreDataChunk(android.os.ParcelFileDescriptor); method public int getRestoreData(android.os.ParcelFileDescriptor); method public int getTransportFlags(); method public int initializeDevice(); method public boolean isAppEligibleForBackup(android.content.pm.PackageInfo, boolean); method public String name(); method public android.app.backup.RestoreDescription nextRestorePackage(); method public int performBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor, int); method public int performBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor); method public int performFullBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor, int); method public int performFullBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor); method public long requestBackupTime(); method public long requestFullBackupTime(); method public int sendBackupData(int); method public int startRestore(long, android.content.pm.PackageInfo[]); method public String transportDirName(); field public static final int AGENT_ERROR = -1003; // 0xfffffc15 field public static final int AGENT_UNKNOWN = -1004; // 0xfffffc14 field public static final String EXTRA_TRANSPORT_REGISTRATION = "android.app.backup.extra.TRANSPORT_REGISTRATION"; field public static final int FLAG_DATA_NOT_CHANGED = 8; // 0x8 field public static final int FLAG_INCREMENTAL = 2; // 0x2 field public static final int FLAG_NON_INCREMENTAL = 4; // 0x4 field public static final int FLAG_USER_INITIATED = 1; // 0x1 field public static final int NO_MORE_DATA = -1; // 0xffffffff field public static final int TRANSPORT_ERROR = -1000; // 0xfffffc18 field public static final int TRANSPORT_NON_INCREMENTAL_BACKUP_REQUIRED = -1006; // 0xfffffc12 field public static final int TRANSPORT_NOT_INITIALIZED = -1001; // 0xfffffc17 field public static final int TRANSPORT_OK = 0; // 0x0 field public static final int TRANSPORT_PACKAGE_REJECTED = -1002; // 0xfffffc16 field public static final int TRANSPORT_QUOTA_EXCEEDED = -1005; // 0xfffffc13 } public class RestoreDescription implements android.os.Parcelable { ctor public RestoreDescription(String, int); method public int describeContents(); method public int getDataType(); method public String getPackageName(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final android.app.backup.RestoreDescription NO_MORE_PACKAGES; field public static final int TYPE_FULL_STREAM = 2; // 0x2 field public static final int TYPE_KEY_VALUE = 1; // 0x1 } public abstract class RestoreObserver { method public void restoreSetsAvailable(android.app.backup.RestoreSet[]); } public class RestoreSession { method public void endRestoreSession(); method public int getAvailableRestoreSets(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); method public int getAvailableRestoreSets(android.app.backup.RestoreObserver); method public int restoreAll(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); method public int restoreAll(long, android.app.backup.RestoreObserver); method public int restorePackage(String, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); method public int restorePackage(String, android.app.backup.RestoreObserver); method public int restorePackages(long, @Nullable android.app.backup.RestoreObserver, @NonNull java.util.Set, @Nullable android.app.backup.BackupManagerMonitor); method public int restorePackages(long, @Nullable android.app.backup.RestoreObserver, @NonNull java.util.Set); } public class RestoreSet implements android.os.Parcelable { ctor public RestoreSet(); ctor public RestoreSet(@Nullable String, @Nullable String, long); ctor public RestoreSet(@Nullable String, @Nullable String, long, int); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public final int backupTransportFlags; field @Nullable public String device; field @Nullable public String name; field public long token; } public abstract class SelectBackupTransportCallback { ctor public SelectBackupTransportCallback(); method public void onFailure(int); method public void onSuccess(String); } } package android.app.cloudsearch { public class CloudSearchManager { method @RequiresPermission(android.Manifest.permission.MANAGE_CLOUDSEARCH) public void search(@NonNull android.app.cloudsearch.SearchRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.cloudsearch.CloudSearchManager.CallBack); } public static interface CloudSearchManager.CallBack { method public void onSearchFailed(@NonNull android.app.cloudsearch.SearchRequest, @NonNull android.app.cloudsearch.SearchResponse); method public void onSearchSucceeded(@NonNull android.app.cloudsearch.SearchRequest, @NonNull android.app.cloudsearch.SearchResponse); } public final class SearchRequest implements android.os.Parcelable { method public int describeContents(); method @NonNull public String getCallerPackageName(); method public float getMaxLatencyMillis(); method @NonNull public String getQuery(); method @NonNull public String getRequestId(); method public int getResultNumber(); method public int getResultOffset(); method @NonNull public android.os.Bundle getSearchConstraints(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final String CONSTRAINT_IS_PRESUBMIT_SUGGESTION = "android.app.cloudsearch.IS_PRESUBMIT_SUGGESTION"; field public static final String CONSTRAINT_SEARCH_PROVIDER_FILTER = "android.app.cloudsearch.SEARCH_PROVIDER_FILTER"; field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SearchRequest.Builder { ctor public SearchRequest.Builder(@NonNull String); method @NonNull public android.app.cloudsearch.SearchRequest build(); method @NonNull public android.app.cloudsearch.SearchRequest.Builder setMaxLatencyMillis(float); method @NonNull public android.app.cloudsearch.SearchRequest.Builder setQuery(@NonNull String); method @NonNull public android.app.cloudsearch.SearchRequest.Builder setResultNumber(int); method @NonNull public android.app.cloudsearch.SearchRequest.Builder setResultOffset(int); method @NonNull public android.app.cloudsearch.SearchRequest.Builder setSearchConstraints(@Nullable android.os.Bundle); } public final class SearchResponse implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getSearchResults(); method @NonNull public String getSource(); method public int getStatusCode(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int SEARCH_STATUS_NO_INTERNET = 2; // 0x2 field public static final int SEARCH_STATUS_OK = 0; // 0x0 field public static final int SEARCH_STATUS_TIME_OUT = 1; // 0x1 field public static final int SEARCH_STATUS_UNKNOWN = -1; // 0xffffffff } public static final class SearchResponse.Builder { ctor public SearchResponse.Builder(int); method @NonNull public android.app.cloudsearch.SearchResponse build(); method @NonNull public android.app.cloudsearch.SearchResponse.Builder setSearchResults(@NonNull java.util.List); method @NonNull public android.app.cloudsearch.SearchResponse.Builder setStatusCode(int); } public final class SearchResult implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.os.Bundle getExtraInfos(); method public float getScore(); method @NonNull public String getSnippet(); method @NonNull public String getTitle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final String EXTRAINFO_ACTION_APP_CARD = "android.app.cloudsearch.ACTION_APP_CARD"; field public static final String EXTRAINFO_ACTION_BUTTON_IMAGE_PREREGISTERING = "android.app.cloudsearch.ACTION_BUTTON_IMAGE"; field public static final String EXTRAINFO_ACTION_BUTTON_TEXT_PREREGISTERING = "android.app.cloudsearch.ACTION_BUTTON_TEXT"; field public static final String EXTRAINFO_ACTION_INSTALL_BUTTON = "android.app.cloudsearch.ACTION_INSTALL_BUTTON"; field public static final String EXTRAINFO_APP_BADGES = "android.app.cloudsearch.APP_BADGES"; field public static final String EXTRAINFO_APP_CONTAINS_ADS_DISCLAIMER = "android.app.cloudsearch.APP_CONTAINS_ADS_DISCLAIMER"; field public static final String EXTRAINFO_APP_CONTAINS_IAP_DISCLAIMER = "android.app.cloudsearch.APP_CONTAINS_IAP_DISCLAIMER"; field public static final String EXTRAINFO_APP_DEVELOPER_NAME = "android.app.cloudsearch.APP_DEVELOPER_NAME"; field public static final String EXTRAINFO_APP_DOMAIN_URL = "android.app.cloudsearch.APP_DOMAIN_URL"; field public static final String EXTRAINFO_APP_IARC = "android.app.cloudsearch.APP_IARC"; field public static final String EXTRAINFO_APP_ICON = "android.app.cloudsearch.APP_ICON"; field public static final String EXTRAINFO_APP_INSTALL_COUNT = "android.app.cloudsearch.APP_INSTALL_COUNT"; field public static final String EXTRAINFO_APP_PACKAGE_NAME = "android.app.cloudsearch.APP_PACKAGE_NAME"; field public static final String EXTRAINFO_APP_REVIEW_COUNT = "android.app.cloudsearch.APP_REVIEW_COUNT"; field public static final String EXTRAINFO_APP_SIZE_BYTES = "android.app.cloudsearch.APP_SIZE_BYTES"; field public static final String EXTRAINFO_APP_STAR_RATING = "android.app.cloudsearch.APP_STAR_RATING"; field public static final String EXTRAINFO_LONG_DESCRIPTION = "android.app.cloudsearch.LONG_DESCRIPTION"; field public static final String EXTRAINFO_SCREENSHOTS = "android.app.cloudsearch.SCREENSHOTS"; field public static final String EXTRAINFO_SHORT_DESCRIPTION = "android.app.cloudsearch.SHORT_DESCRIPTION"; field public static final String EXTRAINFO_WEB_ICON = "android.app.cloudsearch.WEB_ICON"; field public static final String EXTRAINFO_WEB_URL = "android.app.cloudsearch.WEB_URL"; } public static final class SearchResult.Builder { ctor public SearchResult.Builder(@NonNull String, @NonNull android.os.Bundle); method @NonNull public android.app.cloudsearch.SearchResult build(); method @NonNull public android.app.cloudsearch.SearchResult.Builder setExtraInfos(@NonNull android.os.Bundle); method @NonNull public android.app.cloudsearch.SearchResult.Builder setScore(float); method @NonNull public android.app.cloudsearch.SearchResult.Builder setSnippet(@NonNull String); method @NonNull public android.app.cloudsearch.SearchResult.Builder setTitle(@NonNull String); } } package android.app.compat { public final class CompatChanges { method public static boolean isChangeEnabled(long); method @RequiresPermission(allOf={"android.permission.READ_COMPAT_CHANGE_CONFIG", "android.permission.LOG_COMPAT_CHANGE"}) public static boolean isChangeEnabled(long, @NonNull String, @NonNull android.os.UserHandle); method @RequiresPermission(allOf={"android.permission.READ_COMPAT_CHANGE_CONFIG", "android.permission.LOG_COMPAT_CHANGE"}) public static boolean isChangeEnabled(long, int); method @RequiresPermission(android.Manifest.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD) public static void putAllPackageOverrides(@NonNull java.util.Map>); method @RequiresPermission(android.Manifest.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD) public static void putPackageOverrides(@NonNull String, @NonNull java.util.Map); method @RequiresPermission(android.Manifest.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD) public static void removeAllPackageOverrides(@NonNull java.util.Map>); method @RequiresPermission(android.Manifest.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD) public static void removePackageOverrides(@NonNull String, @NonNull java.util.Set); } public final class PackageOverride { method public long getMaxVersionCode(); method public long getMinVersionCode(); method public boolean isEnabled(); } public static final class PackageOverride.Builder { ctor public PackageOverride.Builder(); method @NonNull public android.app.compat.PackageOverride build(); method @NonNull public android.app.compat.PackageOverride.Builder setEnabled(boolean); method @NonNull public android.app.compat.PackageOverride.Builder setMaxVersionCode(long); method @NonNull public android.app.compat.PackageOverride.Builder setMinVersionCode(long); } } package android.app.contentsuggestions { public final class ClassificationsRequest implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.os.Bundle getExtras(); method @NonNull public java.util.List getSelections(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class ClassificationsRequest.Builder { ctor public ClassificationsRequest.Builder(@NonNull java.util.List); method @NonNull public android.app.contentsuggestions.ClassificationsRequest build(); method @NonNull public android.app.contentsuggestions.ClassificationsRequest.Builder setExtras(@NonNull android.os.Bundle); } public final class ContentClassification implements android.os.Parcelable { ctor public ContentClassification(@NonNull String, @NonNull android.os.Bundle); method public int describeContents(); method @NonNull public android.os.Bundle getExtras(); method @NonNull public String getId(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class ContentSelection implements android.os.Parcelable { ctor public ContentSelection(@NonNull String, @NonNull android.os.Bundle); method public int describeContents(); method @NonNull public android.os.Bundle getExtras(); method @NonNull public String getId(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class ContentSuggestionsManager { method public void classifyContentSelections(@NonNull android.app.contentsuggestions.ClassificationsRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.ClassificationsCallback); method public boolean isEnabled(); method public void notifyInteraction(@NonNull String, @NonNull android.os.Bundle); method public void provideContextImage(@NonNull android.graphics.Bitmap, @NonNull android.os.Bundle); method public void provideContextImage(int, @NonNull android.os.Bundle); method public void suggestContentSelections(@NonNull android.app.contentsuggestions.SelectionsRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.SelectionsCallback); } public static interface ContentSuggestionsManager.ClassificationsCallback { method public void onContentClassificationsAvailable(int, @NonNull java.util.List); } public static interface ContentSuggestionsManager.SelectionsCallback { method public void onContentSelectionsAvailable(int, @NonNull java.util.List); } public final class SelectionsRequest implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.os.Bundle getExtras(); method @Nullable public android.graphics.Point getInterestPoint(); method public int getTaskId(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SelectionsRequest.Builder { ctor public SelectionsRequest.Builder(int); method @NonNull public android.app.contentsuggestions.SelectionsRequest build(); method @NonNull public android.app.contentsuggestions.SelectionsRequest.Builder setExtras(@NonNull android.os.Bundle); method @NonNull public android.app.contentsuggestions.SelectionsRequest.Builder setInterestPoint(@NonNull android.graphics.Point); } } package android.app.job { public abstract class JobScheduler { method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public abstract int scheduleAsPackage(@NonNull android.app.job.JobInfo, @NonNull String, int, String); } public class JobSchedulerFrameworkInitializer { method public static void registerServiceWrappers(); } } package android.app.people { public final class PeopleManager { method @RequiresPermission(android.Manifest.permission.READ_PEOPLE_DATA) public boolean isConversation(@NonNull String, @NonNull String); } } package android.app.prediction { public final class AppPredictionContext implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.os.Bundle getExtras(); method @NonNull public String getPackageName(); method @IntRange(from=0) public int getPredictedTargetCount(); method @NonNull public String getUiSurface(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AppPredictionContext.Builder { ctor public AppPredictionContext.Builder(@NonNull android.content.Context); method @NonNull public android.app.prediction.AppPredictionContext build(); method @NonNull public android.app.prediction.AppPredictionContext.Builder setExtras(@Nullable android.os.Bundle); method @NonNull public android.app.prediction.AppPredictionContext.Builder setPredictedTargetCount(@IntRange(from=0) int); method @NonNull public android.app.prediction.AppPredictionContext.Builder setUiSurface(@NonNull String); } public final class AppPredictionManager { method @NonNull public android.app.prediction.AppPredictor createAppPredictionSession(@NonNull android.app.prediction.AppPredictionContext); } public final class AppPredictionSessionId implements android.os.Parcelable { method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class AppPredictor { method public void destroy(); method public void notifyAppTargetEvent(@NonNull android.app.prediction.AppTargetEvent); method public void notifyLaunchLocationShown(@NonNull String, @NonNull java.util.List); method public void registerPredictionUpdates(@NonNull java.util.concurrent.Executor, @NonNull android.app.prediction.AppPredictor.Callback); method public void requestPredictionUpdate(); method @Nullable public void sortTargets(@NonNull java.util.List, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer>); method public void unregisterPredictionUpdates(@NonNull android.app.prediction.AppPredictor.Callback); } public static interface AppPredictor.Callback { method public void onTargetsAvailable(@NonNull java.util.List); } public final class AppTarget implements android.os.Parcelable { method public int describeContents(); method @Nullable public String getClassName(); method @NonNull public android.app.prediction.AppTargetId getId(); method @NonNull public String getPackageName(); method @IntRange(from=0) public int getRank(); method @Nullable public android.content.pm.ShortcutInfo getShortcutInfo(); method @NonNull public android.os.UserHandle getUser(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AppTarget.Builder { ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull String, @NonNull android.os.UserHandle); ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull android.content.pm.ShortcutInfo); method @NonNull public android.app.prediction.AppTarget build(); method @NonNull public android.app.prediction.AppTarget.Builder setClassName(@NonNull String); method @NonNull public android.app.prediction.AppTarget.Builder setRank(@IntRange(from=0) int); } public final class AppTargetEvent implements android.os.Parcelable { method public int describeContents(); method public int getAction(); method @Nullable public String getLaunchLocation(); method @Nullable public android.app.prediction.AppTarget getTarget(); method public void writeToParcel(android.os.Parcel, int); field public static final int ACTION_DISMISS = 2; // 0x2 field public static final int ACTION_LAUNCH = 1; // 0x1 field public static final int ACTION_PIN = 3; // 0x3 field public static final int ACTION_UNDISMISS = 5; // 0x5 field public static final int ACTION_UNPIN = 4; // 0x4 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AppTargetEvent.Builder { ctor public AppTargetEvent.Builder(@Nullable android.app.prediction.AppTarget, int); method @NonNull public android.app.prediction.AppTargetEvent build(); method @NonNull public android.app.prediction.AppTargetEvent.Builder setLaunchLocation(@Nullable String); } public final class AppTargetId implements android.os.Parcelable { ctor public AppTargetId(@NonNull String); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.app.role { public interface OnRoleHoldersChangedListener { method public void onRoleHoldersChanged(@NonNull String, @NonNull android.os.UserHandle); } @Deprecated public abstract class RoleControllerService extends android.app.Service { ctor @Deprecated public RoleControllerService(); method @Deprecated @WorkerThread public abstract boolean onAddRoleHolder(@NonNull String, @NonNull String, int); method @Deprecated @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent); method @Deprecated @WorkerThread public abstract boolean onClearRoleHolders(@NonNull String, int); method @Deprecated @WorkerThread public abstract boolean onGrantDefaultRoles(); method @Deprecated public abstract boolean onIsApplicationQualifiedForRole(@NonNull String, @NonNull String); method @Deprecated public boolean onIsApplicationVisibleForRole(@NonNull String, @NonNull String); method @Deprecated public abstract boolean onIsRoleVisible(@NonNull String); method @Deprecated @WorkerThread public abstract boolean onRemoveRoleHolder(@NonNull String, @NonNull String, int); field @Deprecated public static final String SERVICE_INTERFACE = "android.app.role.RoleControllerService"; } public final class RoleManager { method @RequiresPermission(android.Manifest.permission.OBSERVE_ROLE_HOLDERS) public void addOnRoleHoldersChangedListenerAsUser(@NonNull java.util.concurrent.Executor, @NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void addRoleHolderAsUser(@NonNull String, @NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @Deprecated @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean addRoleHolderFromController(@NonNull String, @NonNull String); method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void clearRoleHoldersAsUser(@NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_DEFAULT_APPLICATIONS) public String getDefaultApplication(@NonNull String); method @Deprecated @NonNull @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public java.util.List getHeldRolesFromController(@NonNull String); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public java.util.List getRoleHolders(@NonNull String); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public java.util.List getRoleHoldersAsUser(@NonNull String, @NonNull android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void isApplicationVisibleForRole(@NonNull String, @NonNull String, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public boolean isBypassingRoleQualification(); method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void isRoleVisible(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.OBSERVE_ROLE_HOLDERS) public void removeOnRoleHoldersChangedListenerAsUser(@NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void removeRoleHolderAsUser(@NonNull String, @NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @Deprecated @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean removeRoleHolderFromController(@NonNull String, @NonNull String); method @RequiresPermission(android.Manifest.permission.BYPASS_ROLE_QUALIFICATION) public void setBypassingRoleQualification(boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_DEFAULT_APPLICATIONS) public void setDefaultApplication(@NonNull String, @Nullable String, int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @Deprecated @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public void setRoleNamesFromController(@NonNull java.util.List); field public static final int MANAGE_HOLDERS_FLAG_DONT_KILL_APP = 1; // 0x1 field public static final String ROLE_DEVICE_POLICY_MANAGEMENT = "android.app.role.DEVICE_POLICY_MANAGEMENT"; field public static final String ROLE_FINANCED_DEVICE_KIOSK = "android.app.role.FINANCED_DEVICE_KIOSK"; field public static final String ROLE_SYSTEM_ACTIVITY_RECOGNIZER = "android.app.role.SYSTEM_ACTIVITY_RECOGNIZER"; field public static final String ROLE_SYSTEM_CALL_STREAMING = "android.app.role.SYSTEM_CALL_STREAMING"; field public static final String ROLE_SYSTEM_SUPERVISION = "android.app.role.SYSTEM_SUPERVISION"; field public static final String ROLE_SYSTEM_WELLBEING = "android.app.role.SYSTEM_WELLBEING"; } } package android.app.search { public final class Query implements android.os.Parcelable { ctor public Query(@NonNull String, long, @NonNull android.os.Bundle); ctor public Query(@NonNull String, long); method public int describeContents(); method @NonNull public android.os.Bundle getExtras(); method @NonNull public String getInput(); method public long getTimestampMillis(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final String EXTRA_IME_HEIGHT = "android.app.search.extra.IME_HEIGHT"; } public final class SearchAction implements android.os.Parcelable { method public int describeContents(); method @Nullable public CharSequence getContentDescription(); method @Nullable public android.os.Bundle getExtras(); method @Nullable public android.graphics.drawable.Icon getIcon(); method @NonNull public String getId(); method @Nullable public android.content.Intent getIntent(); method @Nullable public android.app.PendingIntent getPendingIntent(); method @Nullable public CharSequence getSubtitle(); method @NonNull public CharSequence getTitle(); method @Nullable public android.os.UserHandle getUserHandle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SearchAction.Builder { ctor public SearchAction.Builder(@NonNull String, @NonNull String); method @NonNull public android.app.search.SearchAction build(); method @NonNull public android.app.search.SearchAction.Builder setContentDescription(@Nullable CharSequence); method @NonNull public android.app.search.SearchAction.Builder setExtras(@Nullable android.os.Bundle); method @NonNull public android.app.search.SearchAction.Builder setIcon(@Nullable android.graphics.drawable.Icon); method @NonNull public android.app.search.SearchAction.Builder setIntent(@Nullable android.content.Intent); method @NonNull public android.app.search.SearchAction.Builder setPendingIntent(@Nullable android.app.PendingIntent); method @NonNull public android.app.search.SearchAction.Builder setSubtitle(@Nullable CharSequence); method @NonNull public android.app.search.SearchAction.Builder setUserHandle(@Nullable android.os.UserHandle); } public final class SearchContext implements android.os.Parcelable { ctor public SearchContext(int, int); ctor public SearchContext(int, int, @NonNull android.os.Bundle); method public int describeContents(); method @NonNull public android.os.Bundle getExtras(); method @Nullable public String getPackageName(); method @NonNull public int getResultTypes(); method @NonNull public int getTimeoutMillis(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SearchSession implements java.lang.AutoCloseable { method public void close(); method protected void finalize(); method public void notifyEvent(@NonNull android.app.search.Query, @NonNull android.app.search.SearchTargetEvent); method @Nullable public void query(@NonNull android.app.search.Query, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer>); method public void registerEmptyQueryResultUpdateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.app.search.SearchSession.Callback); method public void unregisterEmptyQueryResultUpdateCallback(@NonNull android.app.search.SearchSession.Callback); } public static interface SearchSession.Callback { method public void onTargetsAvailable(@NonNull java.util.List); } public final class SearchSessionId implements android.os.Parcelable { method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SearchTarget implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.appwidget.AppWidgetProviderInfo getAppWidgetProviderInfo(); method @NonNull public android.os.Bundle getExtras(); method @NonNull public String getId(); method @NonNull public String getLayoutType(); method @NonNull public String getPackageName(); method @NonNull public String getParentId(); method public int getResultType(); method public float getScore(); method @Nullable public android.app.search.SearchAction getSearchAction(); method @Nullable public android.content.pm.ShortcutInfo getShortcutInfo(); method @Nullable public android.net.Uri getSliceUri(); method @NonNull public android.os.UserHandle getUserHandle(); method public boolean isHidden(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final String LAYOUT_TYPE_ICON = "icon"; field public static final String LAYOUT_TYPE_ICON_ROW = "icon_row"; field public static final String LAYOUT_TYPE_SHORT_ICON_ROW = "short_icon_row"; field public static final int RESULT_TYPE_APPLICATION = 1; // 0x1 field public static final int RESULT_TYPE_SHORTCUT = 2; // 0x2 field public static final int RESULT_TYPE_SLICE = 4; // 0x4 field public static final int RESULT_TYPE_WIDGETS = 8; // 0x8 } public static final class SearchTarget.Builder { ctor public SearchTarget.Builder(int, @NonNull String, @NonNull String); method @NonNull public android.app.search.SearchTarget build(); method @NonNull public android.app.search.SearchTarget.Builder setAppWidgetProviderInfo(@NonNull android.appwidget.AppWidgetProviderInfo); method @NonNull public android.app.search.SearchTarget.Builder setExtras(@NonNull android.os.Bundle); method @NonNull public android.app.search.SearchTarget.Builder setHidden(boolean); method @NonNull public android.app.search.SearchTarget.Builder setPackageName(@NonNull String); method @NonNull public android.app.search.SearchTarget.Builder setParentId(@NonNull String); method @NonNull public android.app.search.SearchTarget.Builder setScore(@FloatRange(from=0.0f, to=1.0f) float); method @NonNull public android.app.search.SearchTarget.Builder setSearchAction(@Nullable android.app.search.SearchAction); method @NonNull public android.app.search.SearchTarget.Builder setShortcutInfo(@NonNull android.content.pm.ShortcutInfo); method @NonNull public android.app.search.SearchTarget.Builder setSliceUri(@NonNull android.net.Uri); method @NonNull public android.app.search.SearchTarget.Builder setUserHandle(@NonNull android.os.UserHandle); } public final class SearchTargetEvent implements android.os.Parcelable { method public int describeContents(); method public int getAction(); method public int getFlags(); method @Nullable public String getLaunchLocation(); method @NonNull public String getTargetId(); method @NonNull public java.util.List getTargetIds(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int ACTION_DELETE = 9; // 0x9 field public static final int ACTION_DISMISS = 10; // 0xa field public static final int ACTION_DRAGNDROP = 7; // 0x7 field public static final int ACTION_LAUNCH_KEYBOARD_FOCUS = 6; // 0x6 field public static final int ACTION_LAUNCH_TOUCH = 5; // 0x5 field public static final int ACTION_LONGPRESS = 4; // 0x4 field public static final int ACTION_SURFACE_INVISIBLE = 8; // 0x8 field public static final int ACTION_SURFACE_VISIBLE = 1; // 0x1 field public static final int ACTION_TAP = 3; // 0x3 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int FLAG_IME_SHOWN = 1; // 0x1 } public static final class SearchTargetEvent.Builder { ctor public SearchTargetEvent.Builder(@NonNull String, int); ctor public SearchTargetEvent.Builder(@NonNull java.util.List, int); method @NonNull public android.app.search.SearchTargetEvent build(); method @NonNull public android.app.search.SearchTargetEvent.Builder setFlags(int); method @NonNull public android.app.search.SearchTargetEvent.Builder setLaunchLocation(@Nullable String); } public final class SearchUiManager { method @NonNull public android.app.search.SearchSession createSearchSession(@NonNull android.app.search.SearchContext); } } package android.app.smartspace { public final class SmartspaceAction implements android.os.Parcelable { method public int describeContents(); method @Nullable public CharSequence getContentDescription(); method @Nullable public android.os.Bundle getExtras(); method @Nullable public android.graphics.drawable.Icon getIcon(); method @NonNull public String getId(); method @Nullable public android.content.Intent getIntent(); method @Nullable public android.app.PendingIntent getPendingIntent(); method @Nullable public CharSequence getSubtitle(); method @NonNull public CharSequence getTitle(); method @Nullable public android.os.UserHandle getUserHandle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SmartspaceAction.Builder { ctor public SmartspaceAction.Builder(@NonNull String, @NonNull String); method @NonNull public android.app.smartspace.SmartspaceAction build(); method @NonNull public android.app.smartspace.SmartspaceAction.Builder setContentDescription(@Nullable CharSequence); method @NonNull public android.app.smartspace.SmartspaceAction.Builder setExtras(@Nullable android.os.Bundle); method @NonNull public android.app.smartspace.SmartspaceAction.Builder setIcon(@Nullable android.graphics.drawable.Icon); method @NonNull public android.app.smartspace.SmartspaceAction.Builder setIntent(@Nullable android.content.Intent); method @NonNull public android.app.smartspace.SmartspaceAction.Builder setPendingIntent(@Nullable android.app.PendingIntent); method @NonNull public android.app.smartspace.SmartspaceAction.Builder setSubtitle(@Nullable CharSequence); method @NonNull public android.app.smartspace.SmartspaceAction.Builder setUserHandle(@Nullable android.os.UserHandle); } public final class SmartspaceConfig implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.os.Bundle getExtras(); method @NonNull public String getPackageName(); method @NonNull public int getSmartspaceTargetCount(); method @NonNull public String getUiSurface(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SmartspaceConfig.Builder { ctor public SmartspaceConfig.Builder(@NonNull android.content.Context, @NonNull String); method @NonNull public android.app.smartspace.SmartspaceConfig build(); method @NonNull public android.app.smartspace.SmartspaceConfig.Builder setExtras(@NonNull android.os.Bundle); method @NonNull public android.app.smartspace.SmartspaceConfig.Builder setSmartspaceTargetCount(@IntRange(from=0, to=50) int); } public final class SmartspaceManager { method @NonNull public android.app.smartspace.SmartspaceSession createSmartspaceSession(@NonNull android.app.smartspace.SmartspaceConfig); } public final class SmartspaceSession implements java.lang.AutoCloseable { method public void addOnTargetsAvailableListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.smartspace.SmartspaceSession.OnTargetsAvailableListener); method public void close(); method protected void finalize(); method public void notifySmartspaceEvent(@NonNull android.app.smartspace.SmartspaceTargetEvent); method public void removeOnTargetsAvailableListener(@NonNull android.app.smartspace.SmartspaceSession.OnTargetsAvailableListener); method public void requestSmartspaceUpdate(); } public static interface SmartspaceSession.OnTargetsAvailableListener { method public void onTargetsAvailable(@NonNull java.util.List); } public final class SmartspaceSessionId implements android.os.Parcelable { method public int describeContents(); method @Nullable public String getId(); method @NonNull public android.os.UserHandle getUserHandle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SmartspaceTarget implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getActionChips(); method @Nullable public String getAssociatedSmartspaceTargetId(); method @Nullable public android.app.smartspace.SmartspaceAction getBaseAction(); method @NonNull public android.content.ComponentName getComponentName(); method public long getCreationTimeMillis(); method public long getExpiryTimeMillis(); method public int getFeatureType(); method @Nullable public android.app.smartspace.SmartspaceAction getHeaderAction(); method @NonNull public java.util.List getIconGrid(); method public float getScore(); method @Nullable public android.net.Uri getSliceUri(); method @NonNull public String getSmartspaceTargetId(); method @Nullable public String getSourceNotificationKey(); method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData getTemplateData(); method @NonNull public android.os.UserHandle getUserHandle(); method @Nullable public android.appwidget.AppWidgetProviderInfo getWidget(); method public boolean isSensitive(); method public boolean shouldShowExpanded(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int FEATURE_ALARM = 7; // 0x7 field public static final int FEATURE_BEDTIME_ROUTINE = 16; // 0x10 field public static final int FEATURE_BLAZE_BUILD_PROGRESS = 40; // 0x28 field public static final int FEATURE_CALENDAR = 2; // 0x2 field public static final int FEATURE_COMMUTE_TIME = 3; // 0x3 field public static final int FEATURE_CONSENT = 11; // 0xb field public static final int FEATURE_CROSS_DEVICE_TIMER = 32; // 0x20 field public static final int FEATURE_DOORBELL = 30; // 0x1e field public static final int FEATURE_DRIVING_MODE = 26; // 0x1a field public static final int FEATURE_EARTHQUAKE_ALERT = 38; // 0x26 field public static final int FEATURE_EARTHQUAKE_OCCURRED = 41; // 0x29 field public static final int FEATURE_ETA_MONITORING = 18; // 0x12 field public static final int FEATURE_FITNESS_TRACKING = 17; // 0x11 field public static final int FEATURE_FLASHLIGHT = 28; // 0x1c field public static final int FEATURE_FLIGHT = 4; // 0x4 field public static final int FEATURE_GAS_STATION_PAYMENT = 24; // 0x18 field public static final int FEATURE_HOLIDAY_ALARM = 34; // 0x22 field public static final int FEATURE_LOYALTY_CARD = 14; // 0xe field public static final int FEATURE_MEDIA = 15; // 0xf field public static final int FEATURE_MEDIA_HEADS_UP = 36; // 0x24 field public static final int FEATURE_MEDIA_RESUME = 31; // 0x1f field public static final int FEATURE_MISSED_CALL = 19; // 0x13 field public static final int FEATURE_ONBOARDING = 8; // 0x8 field public static final int FEATURE_PACKAGE_TRACKING = 20; // 0x14 field public static final int FEATURE_PAIRED_DEVICE_STATE = 25; // 0x19 field public static final int FEATURE_REMINDER = 6; // 0x6 field public static final int FEATURE_SAFETY_CHECK = 35; // 0x23 field public static final int FEATURE_SEVERE_WEATHER_ALERT = 33; // 0x21 field public static final int FEATURE_SHOPPING_LIST = 13; // 0xd field public static final int FEATURE_SLEEP_SUMMARY = 27; // 0x1b field public static final int FEATURE_SPORTS = 9; // 0x9 field public static final int FEATURE_STEP_COUNTING = 37; // 0x25 field public static final int FEATURE_STEP_DATE = 39; // 0x27 field public static final int FEATURE_STOCK_PRICE_CHANGE = 12; // 0xc field public static final int FEATURE_STOPWATCH = 22; // 0x16 field public static final int FEATURE_TIMER = 21; // 0x15 field public static final int FEATURE_TIME_TO_LEAVE = 29; // 0x1d field public static final int FEATURE_TIPS = 5; // 0x5 field public static final int FEATURE_UNDEFINED = 0; // 0x0 field public static final int FEATURE_UPCOMING_ALARM = 23; // 0x17 field public static final int FEATURE_WEATHER = 1; // 0x1 field public static final int FEATURE_WEATHER_ALERT = 10; // 0xa field public static final int UI_TEMPLATE_CAROUSEL = 4; // 0x4 field public static final int UI_TEMPLATE_COMBINED_CARDS = 6; // 0x6 field public static final int UI_TEMPLATE_DEFAULT = 1; // 0x1 field public static final int UI_TEMPLATE_HEAD_TO_HEAD = 5; // 0x5 field public static final int UI_TEMPLATE_SUB_CARD = 7; // 0x7 field public static final int UI_TEMPLATE_SUB_IMAGE = 2; // 0x2 field public static final int UI_TEMPLATE_SUB_LIST = 3; // 0x3 field public static final int UI_TEMPLATE_UNDEFINED = 0; // 0x0 } public static final class SmartspaceTarget.Builder { ctor public SmartspaceTarget.Builder(@NonNull String, @NonNull android.content.ComponentName, @NonNull android.os.UserHandle); method @NonNull public android.app.smartspace.SmartspaceTarget build(); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setActionChips(@NonNull java.util.List); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setAssociatedSmartspaceTargetId(@NonNull String); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setBaseAction(@NonNull android.app.smartspace.SmartspaceAction); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setCreationTimeMillis(long); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setExpiryTimeMillis(long); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setFeatureType(int); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setHeaderAction(@NonNull android.app.smartspace.SmartspaceAction); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setIconGrid(@NonNull java.util.List); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setScore(float); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setSensitive(boolean); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setShouldShowExpanded(boolean); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setSliceUri(@NonNull android.net.Uri); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setSourceNotificationKey(@NonNull String); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setTemplateData(@Nullable android.app.smartspace.uitemplatedata.BaseTemplateData); method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setWidget(@NonNull android.appwidget.AppWidgetProviderInfo); } public final class SmartspaceTargetEvent implements android.os.Parcelable { method public int describeContents(); method @NonNull public int getEventType(); method @Nullable public String getSmartspaceActionId(); method @Nullable public android.app.smartspace.SmartspaceTarget getSmartspaceTarget(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int EVENT_TARGET_BLOCK = 5; // 0x5 field public static final int EVENT_TARGET_DISMISS = 4; // 0x4 field public static final int EVENT_TARGET_HIDDEN = 3; // 0x3 field public static final int EVENT_TARGET_INTERACTION = 1; // 0x1 field public static final int EVENT_TARGET_SHOWN = 2; // 0x2 field public static final int EVENT_UI_SURFACE_HIDDEN = 7; // 0x7 field public static final int EVENT_UI_SURFACE_SHOWN = 6; // 0x6 } public static final class SmartspaceTargetEvent.Builder { ctor public SmartspaceTargetEvent.Builder(int); method @NonNull public android.app.smartspace.SmartspaceTargetEvent build(); method @NonNull public android.app.smartspace.SmartspaceTargetEvent.Builder setSmartspaceActionId(@NonNull String); method @NonNull public android.app.smartspace.SmartspaceTargetEvent.Builder setSmartspaceTarget(@NonNull android.app.smartspace.SmartspaceTarget); } } package android.app.smartspace.uitemplatedata { public class BaseTemplateData implements android.os.Parcelable { method public int describeContents(); method public int getLayoutWeight(); method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo getPrimaryItem(); method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo getSubtitleItem(); method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo getSubtitleSupplementalItem(); method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo getSupplementalAlarmItem(); method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo getSupplementalLineItem(); method public int getTemplateType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class BaseTemplateData.Builder { ctor public BaseTemplateData.Builder(int); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData build(); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.Builder setLayoutWeight(int); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.Builder setPrimaryItem(@NonNull android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.Builder setSubtitleItem(@NonNull android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.Builder setSubtitleSupplementalItem(@NonNull android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.Builder setSupplementalAlarmItem(@NonNull android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.Builder setSupplementalLineItem(@NonNull android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo); } public static final class BaseTemplateData.SubItemInfo implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.app.smartspace.uitemplatedata.Icon getIcon(); method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemLoggingInfo getLoggingInfo(); method @Nullable public android.app.smartspace.uitemplatedata.TapAction getTapAction(); method @Nullable public android.app.smartspace.uitemplatedata.Text getText(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BaseTemplateData.SubItemInfo.Builder { ctor public BaseTemplateData.SubItemInfo.Builder(); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo build(); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo.Builder setIcon(@NonNull android.app.smartspace.uitemplatedata.Icon); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo.Builder setLoggingInfo(@NonNull android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemLoggingInfo); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo.Builder setTapAction(@NonNull android.app.smartspace.uitemplatedata.TapAction); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo.Builder setText(@NonNull android.app.smartspace.uitemplatedata.Text); } public static final class BaseTemplateData.SubItemLoggingInfo implements android.os.Parcelable { method public int describeContents(); method public int getFeatureType(); method public int getInstanceId(); method @Nullable public CharSequence getPackageName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BaseTemplateData.SubItemLoggingInfo.Builder { ctor public BaseTemplateData.SubItemLoggingInfo.Builder(int, int); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemLoggingInfo build(); method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemLoggingInfo.Builder setPackageName(@NonNull CharSequence); } public final class CarouselTemplateData extends android.app.smartspace.uitemplatedata.BaseTemplateData { method @Nullable public android.app.smartspace.uitemplatedata.TapAction getCarouselAction(); method @NonNull public java.util.List getCarouselItems(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class CarouselTemplateData.Builder extends android.app.smartspace.uitemplatedata.BaseTemplateData.Builder { ctor public CarouselTemplateData.Builder(@NonNull java.util.List); method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData build(); method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData.Builder setCarouselAction(@NonNull android.app.smartspace.uitemplatedata.TapAction); } public static final class CarouselTemplateData.CarouselItem implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.app.smartspace.uitemplatedata.Icon getImage(); method @Nullable public android.app.smartspace.uitemplatedata.Text getLowerText(); method @Nullable public android.app.smartspace.uitemplatedata.TapAction getTapAction(); method @Nullable public android.app.smartspace.uitemplatedata.Text getUpperText(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class CarouselTemplateData.CarouselItem.Builder { ctor public CarouselTemplateData.CarouselItem.Builder(); method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem build(); method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem.Builder setImage(@Nullable android.app.smartspace.uitemplatedata.Icon); method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem.Builder setLowerText(@Nullable android.app.smartspace.uitemplatedata.Text); method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem.Builder setTapAction(@Nullable android.app.smartspace.uitemplatedata.TapAction); method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem.Builder setUpperText(@Nullable android.app.smartspace.uitemplatedata.Text); } public final class CombinedCardsTemplateData extends android.app.smartspace.uitemplatedata.BaseTemplateData { method @NonNull public java.util.List getCombinedCardDataList(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class CombinedCardsTemplateData.Builder extends android.app.smartspace.uitemplatedata.BaseTemplateData.Builder { ctor public CombinedCardsTemplateData.Builder(@NonNull java.util.List); method @NonNull public android.app.smartspace.uitemplatedata.CombinedCardsTemplateData build(); } public final class HeadToHeadTemplateData extends android.app.smartspace.uitemplatedata.BaseTemplateData { method @Nullable public android.app.smartspace.uitemplatedata.TapAction getHeadToHeadAction(); method @Nullable public android.app.smartspace.uitemplatedata.Icon getHeadToHeadFirstCompetitorIcon(); method @Nullable public android.app.smartspace.uitemplatedata.Text getHeadToHeadFirstCompetitorText(); method @Nullable public android.app.smartspace.uitemplatedata.Icon getHeadToHeadSecondCompetitorIcon(); method @Nullable public android.app.smartspace.uitemplatedata.Text getHeadToHeadSecondCompetitorText(); method @Nullable public android.app.smartspace.uitemplatedata.Text getHeadToHeadTitle(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class HeadToHeadTemplateData.Builder extends android.app.smartspace.uitemplatedata.BaseTemplateData.Builder { ctor public HeadToHeadTemplateData.Builder(); method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData build(); method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData.Builder setHeadToHeadAction(@Nullable android.app.smartspace.uitemplatedata.TapAction); method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData.Builder setHeadToHeadFirstCompetitorIcon(@Nullable android.app.smartspace.uitemplatedata.Icon); method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData.Builder setHeadToHeadFirstCompetitorText(@Nullable android.app.smartspace.uitemplatedata.Text); method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData.Builder setHeadToHeadSecondCompetitorIcon(@Nullable android.app.smartspace.uitemplatedata.Icon); method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData.Builder setHeadToHeadSecondCompetitorText(@Nullable android.app.smartspace.uitemplatedata.Text); method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData.Builder setHeadToHeadTitle(@Nullable android.app.smartspace.uitemplatedata.Text); } public final class Icon implements android.os.Parcelable { method public int describeContents(); method @Nullable public CharSequence getContentDescription(); method @NonNull public android.graphics.drawable.Icon getIcon(); method public boolean shouldTint(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class Icon.Builder { ctor public Icon.Builder(@NonNull android.graphics.drawable.Icon); method @NonNull public android.app.smartspace.uitemplatedata.Icon build(); method @NonNull public android.app.smartspace.uitemplatedata.Icon.Builder setContentDescription(@NonNull CharSequence); method @NonNull public android.app.smartspace.uitemplatedata.Icon.Builder setShouldTint(boolean); } public final class SubCardTemplateData extends android.app.smartspace.uitemplatedata.BaseTemplateData { method @Nullable public android.app.smartspace.uitemplatedata.TapAction getSubCardAction(); method @NonNull public android.app.smartspace.uitemplatedata.Icon getSubCardIcon(); method @Nullable public android.app.smartspace.uitemplatedata.Text getSubCardText(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SubCardTemplateData.Builder extends android.app.smartspace.uitemplatedata.BaseTemplateData.Builder { ctor public SubCardTemplateData.Builder(@NonNull android.app.smartspace.uitemplatedata.Icon); method @NonNull public android.app.smartspace.uitemplatedata.SubCardTemplateData build(); method @NonNull public android.app.smartspace.uitemplatedata.SubCardTemplateData.Builder setSubCardAction(@NonNull android.app.smartspace.uitemplatedata.TapAction); method @NonNull public android.app.smartspace.uitemplatedata.SubCardTemplateData.Builder setSubCardText(@NonNull android.app.smartspace.uitemplatedata.Text); } public final class SubImageTemplateData extends android.app.smartspace.uitemplatedata.BaseTemplateData { method @Nullable public android.app.smartspace.uitemplatedata.TapAction getSubImageAction(); method @NonNull public java.util.List getSubImageTexts(); method @NonNull public java.util.List getSubImages(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SubImageTemplateData.Builder extends android.app.smartspace.uitemplatedata.BaseTemplateData.Builder { ctor public SubImageTemplateData.Builder(@NonNull java.util.List, @NonNull java.util.List); method @NonNull public android.app.smartspace.uitemplatedata.SubImageTemplateData build(); method @NonNull public android.app.smartspace.uitemplatedata.SubImageTemplateData.Builder setSubImageAction(@NonNull android.app.smartspace.uitemplatedata.TapAction); } public final class SubListTemplateData extends android.app.smartspace.uitemplatedata.BaseTemplateData { method @Nullable public android.app.smartspace.uitemplatedata.TapAction getSubListAction(); method @Nullable public android.app.smartspace.uitemplatedata.Icon getSubListIcon(); method @NonNull public java.util.List getSubListTexts(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SubListTemplateData.Builder extends android.app.smartspace.uitemplatedata.BaseTemplateData.Builder { ctor public SubListTemplateData.Builder(@NonNull java.util.List); method @NonNull public android.app.smartspace.uitemplatedata.SubListTemplateData build(); method @NonNull public android.app.smartspace.uitemplatedata.SubListTemplateData.Builder setSubListAction(@NonNull android.app.smartspace.uitemplatedata.TapAction); method @NonNull public android.app.smartspace.uitemplatedata.SubListTemplateData.Builder setSubListIcon(@NonNull android.app.smartspace.uitemplatedata.Icon); } public final class TapAction implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.os.Bundle getExtras(); method @Nullable public CharSequence getId(); method @Nullable public android.content.Intent getIntent(); method @Nullable public android.app.PendingIntent getPendingIntent(); method @Nullable public android.os.UserHandle getUserHandle(); method public boolean shouldShowOnLockscreen(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class TapAction.Builder { ctor public TapAction.Builder(@NonNull CharSequence); method @NonNull public android.app.smartspace.uitemplatedata.TapAction build(); method @NonNull public android.app.smartspace.uitemplatedata.TapAction.Builder setExtras(@NonNull android.os.Bundle); method @NonNull public android.app.smartspace.uitemplatedata.TapAction.Builder setIntent(@NonNull android.content.Intent); method @NonNull public android.app.smartspace.uitemplatedata.TapAction.Builder setPendingIntent(@NonNull android.app.PendingIntent); method @NonNull public android.app.smartspace.uitemplatedata.TapAction.Builder setShouldShowOnLockscreen(@NonNull boolean); method @NonNull public android.app.smartspace.uitemplatedata.TapAction.Builder setUserHandle(@Nullable android.os.UserHandle); } public final class Text implements android.os.Parcelable { method public int describeContents(); method public int getMaxLines(); method @NonNull public CharSequence getText(); method @NonNull public android.text.TextUtils.TruncateAt getTruncateAtType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class Text.Builder { ctor public Text.Builder(@NonNull CharSequence); method @NonNull public android.app.smartspace.uitemplatedata.Text build(); method @NonNull public android.app.smartspace.uitemplatedata.Text.Builder setMaxLines(int); method @NonNull public android.app.smartspace.uitemplatedata.Text.Builder setTruncateAtType(@NonNull android.text.TextUtils.TruncateAt); } } package android.app.time { public final class Capabilities { field public static final int CAPABILITY_NOT_ALLOWED = 20; // 0x14 field public static final int CAPABILITY_NOT_APPLICABLE = 30; // 0x1e field public static final int CAPABILITY_NOT_SUPPORTED = 10; // 0xa field public static final int CAPABILITY_POSSESSED = 40; // 0x28 } public final class ExternalTimeSuggestion implements android.os.Parcelable { ctor public ExternalTimeSuggestion(long, long); method public void addDebugInfo(@NonNull java.lang.String...); method public int describeContents(); method @NonNull public java.util.List getDebugInfo(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TimeCapabilities implements android.os.Parcelable { method public int describeContents(); method public int getConfigureAutoDetectionEnabledCapability(); method public int getSetManualTimeCapability(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TimeCapabilitiesAndConfig implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.app.time.TimeCapabilities getCapabilities(); method @NonNull public android.app.time.TimeConfiguration getConfiguration(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TimeConfiguration implements android.os.Parcelable { method public int describeContents(); method public boolean isAutoDetectionEnabled(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class TimeConfiguration.Builder { ctor public TimeConfiguration.Builder(); ctor public TimeConfiguration.Builder(@NonNull android.app.time.TimeConfiguration); method @NonNull public android.app.time.TimeConfiguration build(); method @NonNull public android.app.time.TimeConfiguration.Builder setAutoDetectionEnabled(boolean); } public final class TimeManager { method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public void addTimeZoneDetectorListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.time.TimeManager.TimeZoneDetectorListener); method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public boolean confirmTime(@NonNull android.app.time.UnixEpochTime); method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public boolean confirmTimeZone(@NonNull String); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public android.app.time.TimeCapabilitiesAndConfig getTimeCapabilitiesAndConfig(); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public android.app.time.TimeState getTimeState(); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public android.app.time.TimeZoneCapabilitiesAndConfig getTimeZoneCapabilitiesAndConfig(); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public android.app.time.TimeZoneState getTimeZoneState(); method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public void removeTimeZoneDetectorListener(@NonNull android.app.time.TimeManager.TimeZoneDetectorListener); method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public boolean setManualTime(@NonNull android.app.time.UnixEpochTime); method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public boolean setManualTimeZone(@NonNull String); method @RequiresPermission(android.Manifest.permission.SUGGEST_EXTERNAL_TIME) public void suggestExternalTime(@NonNull android.app.time.ExternalTimeSuggestion); method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public boolean updateTimeConfiguration(@NonNull android.app.time.TimeConfiguration); method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public boolean updateTimeZoneConfiguration(@NonNull android.app.time.TimeZoneConfiguration); } @java.lang.FunctionalInterface public static interface TimeManager.TimeZoneDetectorListener { method public void onChange(); } public final class TimeState implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.app.time.UnixEpochTime getUnixEpochTime(); method public boolean getUserShouldConfirmTime(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TimeZoneCapabilities implements android.os.Parcelable { method public int describeContents(); method public int getConfigureAutoDetectionEnabledCapability(); method public int getConfigureGeoDetectionEnabledCapability(); method public int getSetManualTimeZoneCapability(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TimeZoneCapabilitiesAndConfig implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.app.time.TimeZoneCapabilities getCapabilities(); method @NonNull public android.app.time.TimeZoneConfiguration getConfiguration(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TimeZoneConfiguration implements android.os.Parcelable { method public int describeContents(); method public boolean isAutoDetectionEnabled(); method public boolean isGeoDetectionEnabled(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class TimeZoneConfiguration.Builder { ctor public TimeZoneConfiguration.Builder(); ctor public TimeZoneConfiguration.Builder(@NonNull android.app.time.TimeZoneConfiguration); method @NonNull public android.app.time.TimeZoneConfiguration build(); method @NonNull public android.app.time.TimeZoneConfiguration.Builder setAutoDetectionEnabled(boolean); method @NonNull public android.app.time.TimeZoneConfiguration.Builder setGeoDetectionEnabled(boolean); } public final class TimeZoneState implements android.os.Parcelable { method public int describeContents(); method @NonNull public String getId(); method public boolean getUserShouldConfirmId(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class UnixEpochTime implements android.os.Parcelable { ctor public UnixEpochTime(long, long); method @NonNull public android.app.time.UnixEpochTime at(long); method public int describeContents(); method public long getElapsedRealtimeMillis(); method public long getUnixEpochTimeMillis(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.app.usage { public final class BroadcastResponseStats implements android.os.Parcelable { ctor public BroadcastResponseStats(@NonNull String, @IntRange(from=1) long); method public int describeContents(); method @IntRange(from=0) public int getBroadcastsDispatchedCount(); method @IntRange(from=1) public long getId(); method @IntRange(from=0) public int getNotificationsCancelledCount(); method @IntRange(from=0) public int getNotificationsPostedCount(); method @IntRange(from=0) public int getNotificationsUpdatedCount(); method @NonNull public String getPackageName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class CacheQuotaHint implements android.os.Parcelable { ctor public CacheQuotaHint(@NonNull android.app.usage.CacheQuotaHint.Builder); method public int describeContents(); method public long getQuota(); method public int getUid(); method @Nullable public android.app.usage.UsageStats getUsageStats(); method @Nullable public String getVolumeUuid(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final long QUOTA_NOT_SET = -1L; // 0xffffffffffffffffL } public static final class CacheQuotaHint.Builder { ctor public CacheQuotaHint.Builder(); ctor public CacheQuotaHint.Builder(@NonNull android.app.usage.CacheQuotaHint); method @NonNull public android.app.usage.CacheQuotaHint build(); method @NonNull public android.app.usage.CacheQuotaHint.Builder setQuota(long); method @NonNull public android.app.usage.CacheQuotaHint.Builder setUid(int); method @NonNull public android.app.usage.CacheQuotaHint.Builder setUsageStats(@Nullable android.app.usage.UsageStats); method @NonNull public android.app.usage.CacheQuotaHint.Builder setVolumeUuid(@Nullable String); } public abstract class CacheQuotaService extends android.app.Service { ctor public CacheQuotaService(); method public android.os.IBinder onBind(android.content.Intent); method public abstract java.util.List onComputeCacheQuotaHints(java.util.List); field public static final String SERVICE_INTERFACE = "android.app.usage.CacheQuotaService"; } public class NetworkStatsManager { method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STATS_PROVIDER, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void registerNetworkStatsProvider(@NonNull String, @NonNull android.net.netstats.provider.NetworkStatsProvider); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STATS_PROVIDER, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void unregisterNetworkStatsProvider(@NonNull android.net.netstats.provider.NetworkStatsProvider); } public static final class UsageEvents.Event { method public int getInstanceId(); method @Nullable public String getNotificationChannelId(); method @Nullable public String getTaskRootClassName(); method @Nullable public String getTaskRootPackageName(); method public boolean isInstantApp(); field public static final int NOTIFICATION_INTERRUPTION = 12; // 0xc field public static final int NOTIFICATION_SEEN = 10; // 0xa field public static final int SLICE_PINNED = 14; // 0xe field public static final int SLICE_PINNED_PRIV = 13; // 0xd field public static final int SYSTEM_INTERACTION = 6; // 0x6 } public final class UsageStats implements android.os.Parcelable { method public int getAppLaunchCount(); method public long getLastTimeAnyComponentUsed(); } public final class UsageStatsManager { method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RESPONSE_STATS) public void clearBroadcastResponseStats(@Nullable String, @IntRange(from=0) long); method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getAppStandbyBucket(String); method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public java.util.Map getAppStandbyBuckets(); method @RequiresPermission(allOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.PACKAGE_USAGE_STATS}) public long getLastTimeAnyComponentUsed(@NonNull String); method public int getUsageSource(); method @RequiresPermission(android.Manifest.permission.BIND_CARRIER_SERVICES) public void onCarrierPrivilegedAppsChanged(); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RESPONSE_STATS) public java.util.List queryBroadcastResponseStats(@Nullable String, @IntRange(from=0) long); method @RequiresPermission(allOf={android.Manifest.permission.SUSPEND_APPS, android.Manifest.permission.OBSERVE_APP_USAGE}) public void registerAppUsageLimitObserver(int, @NonNull String[], @NonNull java.time.Duration, @NonNull java.time.Duration, @Nullable android.app.PendingIntent); method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void registerAppUsageObserver(int, @NonNull String[], long, @NonNull java.util.concurrent.TimeUnit, @NonNull android.app.PendingIntent); method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void registerUsageSessionObserver(int, @NonNull String[], @NonNull java.time.Duration, @NonNull java.time.Duration, @NonNull android.app.PendingIntent, @Nullable android.app.PendingIntent); method public void reportUsageStart(@NonNull android.app.Activity, @NonNull String); method public void reportUsageStart(@NonNull android.app.Activity, @NonNull String, long); method public void reportUsageStop(@NonNull android.app.Activity, @NonNull String); method @RequiresPermission(android.Manifest.permission.CHANGE_APP_IDLE_STATE) public void setAppStandbyBucket(String, int); method @RequiresPermission(android.Manifest.permission.CHANGE_APP_IDLE_STATE) public void setAppStandbyBuckets(java.util.Map); method @RequiresPermission(android.Manifest.permission.CHANGE_APP_LAUNCH_TIME_ESTIMATE) public void setEstimatedLaunchTimeMillis(@NonNull String, long); method @RequiresPermission(android.Manifest.permission.CHANGE_APP_LAUNCH_TIME_ESTIMATE) public void setEstimatedLaunchTimesMillis(@NonNull java.util.Map); method @RequiresPermission(allOf={android.Manifest.permission.SUSPEND_APPS, android.Manifest.permission.OBSERVE_APP_USAGE}) public void unregisterAppUsageLimitObserver(int); method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void unregisterAppUsageObserver(int); method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void unregisterUsageSessionObserver(int); method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void whitelistAppTemporarily(String, long, android.os.UserHandle); field public static final String EXTRA_OBSERVER_ID = "android.app.usage.extra.OBSERVER_ID"; field public static final String EXTRA_TIME_LIMIT = "android.app.usage.extra.TIME_LIMIT"; field public static final String EXTRA_TIME_USED = "android.app.usage.extra.TIME_USED"; field public static final int STANDBY_BUCKET_EXEMPTED = 5; // 0x5 field public static final int STANDBY_BUCKET_NEVER = 50; // 0x32 field public static final int USAGE_SOURCE_CURRENT_ACTIVITY = 2; // 0x2 field public static final int USAGE_SOURCE_TASK_ROOT_ACTIVITY = 1; // 0x1 } } package android.app.wallpapereffectsgeneration { public final class CameraAttributes implements android.os.Parcelable { method public int describeContents(); method @NonNull public float[] getAnchorPointInOutputUvSpace(); method @NonNull public float[] getAnchorPointInWorldSpace(); method @FloatRange(from=-90.0F, to=90.0f) public float getCameraOrbitPitchDegrees(); method @FloatRange(from=-180.0F, to=180.0f) public float getCameraOrbitYawDegrees(); method public float getDollyDistanceInWorldSpace(); method @FloatRange(from=0.0f) public float getFrustumFarInWorldSpace(); method @FloatRange(from=0.0f) public float getFrustumNearInWorldSpace(); method @FloatRange(from=0.0f, to=180.0f, fromInclusive=false) public float getVerticalFovDegrees(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class CameraAttributes.Builder { ctor public CameraAttributes.Builder(@NonNull @Size(3) float[], @NonNull @Size(2) float[]); method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes build(); method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes.Builder setCameraOrbitPitchDegrees(@FloatRange(from=-90.0F, to=90.0f) float); method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes.Builder setCameraOrbitYawDegrees(@FloatRange(from=-180.0F, to=180.0f) float); method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes.Builder setDollyDistanceInWorldSpace(float); method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes.Builder setFrustumFarInWorldSpace(@FloatRange(from=0.0f) float); method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes.Builder setFrustumNearInWorldSpace(@FloatRange(from=0.0f) float); method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes.Builder setVerticalFovDegrees(@FloatRange(from=0.0f, to=180.0f, fromInclusive=false) float); } public final class CinematicEffectRequest implements android.os.Parcelable { ctor public CinematicEffectRequest(@NonNull String, @NonNull android.graphics.Bitmap); method public int describeContents(); method @NonNull public android.graphics.Bitmap getBitmap(); method @NonNull public String getTaskId(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class CinematicEffectResponse implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.app.wallpapereffectsgeneration.CameraAttributes getEndKeyFrame(); method public int getImageContentType(); method @Nullable public android.app.wallpapereffectsgeneration.CameraAttributes getStartKeyFrame(); method public int getStatusCode(); method @NonNull public String getTaskId(); method @NonNull public java.util.List getTexturedMeshes(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int CINEMATIC_EFFECT_STATUS_ANIMATION_FAILURE = 10; // 0xa field public static final int CINEMATIC_EFFECT_STATUS_CONTENT_TARGET_ERROR = 8; // 0x8 field public static final int CINEMATIC_EFFECT_STATUS_CONTENT_TOO_FLAT = 9; // 0x9 field public static final int CINEMATIC_EFFECT_STATUS_CONTENT_UNSUPPORTED = 7; // 0x7 field public static final int CINEMATIC_EFFECT_STATUS_ERROR = 0; // 0x0 field public static final int CINEMATIC_EFFECT_STATUS_FEATURE_DISABLED = 5; // 0x5 field public static final int CINEMATIC_EFFECT_STATUS_IMAGE_FORMAT_NOT_SUITABLE = 6; // 0x6 field public static final int CINEMATIC_EFFECT_STATUS_NOT_READY = 2; // 0x2 field public static final int CINEMATIC_EFFECT_STATUS_OK = 1; // 0x1 field public static final int CINEMATIC_EFFECT_STATUS_PENDING = 3; // 0x3 field public static final int CINEMATIC_EFFECT_STATUS_TOO_MANY_REQUESTS = 4; // 0x4 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int IMAGE_CONTENT_TYPE_LANDSCAPE = 2; // 0x2 field public static final int IMAGE_CONTENT_TYPE_OTHER = 3; // 0x3 field public static final int IMAGE_CONTENT_TYPE_PEOPLE_PORTRAIT = 1; // 0x1 field public static final int IMAGE_CONTENT_TYPE_UNKNOWN = 0; // 0x0 } public static final class CinematicEffectResponse.Builder { ctor public CinematicEffectResponse.Builder(int, @NonNull String); method @NonNull public android.app.wallpapereffectsgeneration.CinematicEffectResponse build(); method @NonNull public android.app.wallpapereffectsgeneration.CinematicEffectResponse.Builder setEndKeyFrame(@Nullable android.app.wallpapereffectsgeneration.CameraAttributes); method @NonNull public android.app.wallpapereffectsgeneration.CinematicEffectResponse.Builder setImageContentType(int); method @NonNull public android.app.wallpapereffectsgeneration.CinematicEffectResponse.Builder setStartKeyFrame(@Nullable android.app.wallpapereffectsgeneration.CameraAttributes); method @NonNull public android.app.wallpapereffectsgeneration.CinematicEffectResponse.Builder setTexturedMeshes(@NonNull java.util.List); } public final class TexturedMesh implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.graphics.Bitmap getBitmap(); method @NonNull public int[] getIndices(); method @NonNull public int getIndicesLayoutType(); method @NonNull public float[] getVertices(); method @NonNull public int getVerticesLayoutType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int INDICES_LAYOUT_TRIANGLES = 1; // 0x1 field public static final int INDICES_LAYOUT_UNDEFINED = 0; // 0x0 field public static final int VERTICES_LAYOUT_POSITION3_UV2 = 1; // 0x1 field public static final int VERTICES_LAYOUT_UNDEFINED = 0; // 0x0 } public static final class TexturedMesh.Builder { ctor public TexturedMesh.Builder(@NonNull android.graphics.Bitmap); method @NonNull public android.app.wallpapereffectsgeneration.TexturedMesh build(); method @NonNull public android.app.wallpapereffectsgeneration.TexturedMesh.Builder setIndices(@NonNull int[]); method @NonNull public android.app.wallpapereffectsgeneration.TexturedMesh.Builder setIndicesLayoutType(int); method @NonNull public android.app.wallpapereffectsgeneration.TexturedMesh.Builder setVertices(@NonNull float[]); method @NonNull public android.app.wallpapereffectsgeneration.TexturedMesh.Builder setVerticesLayoutType(int); } public final class WallpaperEffectsGenerationManager { method @RequiresPermission(android.Manifest.permission.MANAGE_WALLPAPER_EFFECTS_GENERATION) public void generateCinematicEffect(@NonNull android.app.wallpapereffectsgeneration.CinematicEffectRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.wallpapereffectsgeneration.WallpaperEffectsGenerationManager.CinematicEffectListener); } public static interface WallpaperEffectsGenerationManager.CinematicEffectListener { method public void onCinematicEffectGenerated(@NonNull android.app.wallpapereffectsgeneration.CinematicEffectResponse); } } package android.app.wearable { public class WearableSensingManager { method @RequiresPermission(android.Manifest.permission.MANAGE_WEARABLE_SENSING_SERVICE) public void provideData(@NonNull android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.MANAGE_WEARABLE_SENSING_SERVICE) public void provideDataStream(@NonNull android.os.ParcelFileDescriptor, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); field public static final int STATUS_ACCESS_DENIED = 5; // 0x5 field public static final int STATUS_SERVICE_UNAVAILABLE = 3; // 0x3 field public static final int STATUS_SUCCESS = 1; // 0x1 field public static final int STATUS_UNKNOWN = 0; // 0x0 field public static final int STATUS_UNSUPPORTED = 2; // 0x2 field public static final int STATUS_WEARABLE_UNAVAILABLE = 4; // 0x4 } } package android.apphibernation { public class AppHibernationManager { method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public java.util.List getHibernatingPackagesForUser(); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public java.util.Map getHibernationStatsForUser(@NonNull java.util.Set); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public java.util.Map getHibernationStatsForUser(); method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public boolean isHibernatingForUser(@NonNull String); method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public boolean isHibernatingGlobally(@NonNull String); method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public boolean isOatArtifactDeletionEnabled(); method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public void setHibernatingForUser(@NonNull String, boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public void setHibernatingGlobally(@NonNull String, boolean); } public final class HibernationStats implements android.os.Parcelable { method public int describeContents(); method public long getDiskBytesSaved(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.bluetooth { public final class BluetoothA2dp implements android.bluetooth.BluetoothProfile { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void disableOptionalCodecs(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void enableOptionalCodecs(@NonNull android.bluetooth.BluetoothDevice); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BufferConstraints getBufferConstraints(); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BluetoothCodecStatus getCodecStatus(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getDynamicBufferSupport(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int isOptionalCodecsEnabled(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int isOptionalCodecsSupported(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void setAvrcpAbsoluteVolume(int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setBufferLengthMillis(int, int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void setCodecConfigPreference(@NonNull android.bluetooth.BluetoothDevice, @NonNull android.bluetooth.BluetoothCodecConfig); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void setOptionalCodecsEnabled(@NonNull android.bluetooth.BluetoothDevice, int); field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_ACTIVE_DEVICE_CHANGED = "android.bluetooth.a2dp.profile.action.ACTIVE_DEVICE_CHANGED"; field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_CODEC_CONFIG_CHANGED = "android.bluetooth.a2dp.profile.action.CODEC_CONFIG_CHANGED"; field public static final int DYNAMIC_BUFFER_SUPPORT_A2DP_OFFLOAD = 1; // 0x1 field public static final int DYNAMIC_BUFFER_SUPPORT_A2DP_SOFTWARE_ENCODING = 2; // 0x2 field public static final int DYNAMIC_BUFFER_SUPPORT_NONE = 0; // 0x0 field public static final int OPTIONAL_CODECS_NOT_SUPPORTED = 0; // 0x0 field public static final int OPTIONAL_CODECS_PREF_DISABLED = 0; // 0x0 field public static final int OPTIONAL_CODECS_PREF_ENABLED = 1; // 0x1 field public static final int OPTIONAL_CODECS_PREF_UNKNOWN = -1; // 0xffffffff field public static final int OPTIONAL_CODECS_SUPPORTED = 1; // 0x1 field public static final int OPTIONAL_CODECS_SUPPORT_UNKNOWN = -1; // 0xffffffff } public final class BluetoothA2dpSink implements android.bluetooth.BluetoothProfile { method public void finalize(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean isAudioPlaying(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.a2dp-sink.profile.action.CONNECTION_STATE_CHANGED"; } public final class BluetoothActivityEnergyInfo implements android.os.Parcelable { method public int getBluetoothStackState(); method public long getControllerEnergyUsed(); method public long getControllerIdleTimeMillis(); method public long getControllerRxTimeMillis(); method public long getControllerTxTimeMillis(); method public long getTimestampMillis(); method @NonNull public java.util.List getUidTraffic(); method public boolean isValid(); field public static final int BT_STACK_STATE_INVALID = 0; // 0x0 field public static final int BT_STACK_STATE_STATE_ACTIVE = 1; // 0x1 field public static final int BT_STACK_STATE_STATE_IDLE = 3; // 0x3 field public static final int BT_STACK_STATE_STATE_SCANNING = 2; // 0x2 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class BluetoothAdapter { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean addOnMetadataChangedListener(@NonNull android.bluetooth.BluetoothDevice, @NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothAdapter.OnMetadataChangedListener); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean clearBluetooth(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean disable(boolean); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean disableBLE(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean enableBLE(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean enableNoAutoConnect(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void generateLocalOobData(int, @NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothAdapter.OobDataCallback); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getActiveDevices(int); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getBluetoothHciSnoopLoggingMode(); method public int getConnectionState(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public long getDiscoveryEndMillis(); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.le.DistanceMeasurementManager getDistanceMeasurementManager(); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getMostRecentlyConnectedDevices(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getOffloadedTransportDiscoveryDataScanSupported(); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public android.os.Bundle getPreferredAudioProfiles(@NonNull android.bluetooth.BluetoothDevice); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getSupportedProfiles(); method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public java.util.List getUuidsList(); method public boolean isBleScanAlwaysAvailable(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int isDistanceMeasurementSupported(); method public boolean isLeEnabled(); method @NonNull public static String nameForState(int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int notifyActiveDeviceChangeApplied(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean registerBluetoothConnectionCallback(@NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothAdapter.BluetoothConnectionCallback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int registerBluetoothQualityReportReadyCallback(@NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothAdapter.BluetoothQualityReportReadyCallback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int registerPreferredAudioProfilesChangedCallback(@NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothAdapter.PreferredAudioProfilesChangedCallback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED, android.Manifest.permission.MODIFY_PHONE_STATE}) public boolean removeActiveDevice(int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean removeOnMetadataChangedListener(@NonNull android.bluetooth.BluetoothDevice, @NonNull android.bluetooth.BluetoothAdapter.OnMetadataChangedListener); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void requestControllerActivityEnergyInfo(@NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothAdapter.OnBluetoothActivityEnergyInfoCallback); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BluetoothSocket retrieveConnectedRfcommSocket(@NonNull java.util.UUID); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED, android.Manifest.permission.MODIFY_PHONE_STATE}) public boolean setActiveDevice(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int setBluetoothHciSnoopLoggingMode(int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int setDiscoverableTimeout(@NonNull java.time.Duration); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int setPreferredAudioProfiles(@NonNull android.bluetooth.BluetoothDevice, @NonNull android.os.Bundle); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int setScanMode(int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int startRfcommServer(@NonNull String, @NonNull java.util.UUID, @NonNull android.app.PendingIntent); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int stopRfcommServer(@NonNull java.util.UUID); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean unregisterBluetoothConnectionCallback(@NonNull android.bluetooth.BluetoothAdapter.BluetoothConnectionCallback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int unregisterBluetoothQualityReportReadyCallback(@NonNull android.bluetooth.BluetoothAdapter.BluetoothQualityReportReadyCallback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int unregisterPreferredAudioProfilesChangedCallback(@NonNull android.bluetooth.BluetoothAdapter.PreferredAudioProfilesChangedCallback); field public static final String ACTION_BLE_STATE_CHANGED = "android.bluetooth.adapter.action.BLE_STATE_CHANGED"; field public static final String ACTION_REQUEST_BLE_SCAN_ALWAYS_AVAILABLE = "android.bluetooth.adapter.action.REQUEST_BLE_SCAN_ALWAYS_AVAILABLE"; field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_REQUEST_DISABLE = "android.bluetooth.adapter.action.REQUEST_DISABLE"; field public static final int ACTIVE_DEVICE_ALL = 2; // 0x2 field public static final int ACTIVE_DEVICE_AUDIO = 0; // 0x0 field public static final int ACTIVE_DEVICE_PHONE_CALL = 1; // 0x1 field public static final String AUDIO_MODE_DUPLEX = "audio_mode_duplex"; field public static final String AUDIO_MODE_OUTPUT_ONLY = "audio_mode_output_only"; field public static final int BT_SNOOP_LOG_MODE_DISABLED = 0; // 0x0 field public static final int BT_SNOOP_LOG_MODE_FILTERED = 1; // 0x1 field public static final int BT_SNOOP_LOG_MODE_FULL = 2; // 0x2 field public static final String EXTRA_RFCOMM_LISTENER_ID = "android.bluetooth.adapter.extra.RFCOMM_LISTENER_ID"; field public static final int STATE_BLE_ON = 15; // 0xf } public abstract static class BluetoothAdapter.BluetoothConnectionCallback { ctor public BluetoothAdapter.BluetoothConnectionCallback(); method @NonNull public static String disconnectReasonToString(int); method public void onDeviceConnected(@NonNull android.bluetooth.BluetoothDevice); method public void onDeviceDisconnected(@NonNull android.bluetooth.BluetoothDevice, int); } public static interface BluetoothAdapter.BluetoothQualityReportReadyCallback { method public void onBluetoothQualityReportReady(@NonNull android.bluetooth.BluetoothDevice, @NonNull android.bluetooth.BluetoothQualityReport, int); } public static interface BluetoothAdapter.OnBluetoothActivityEnergyInfoCallback { method public void onBluetoothActivityEnergyInfoAvailable(@NonNull android.bluetooth.BluetoothActivityEnergyInfo); method public void onBluetoothActivityEnergyInfoError(int); } public static interface BluetoothAdapter.OnMetadataChangedListener { method public void onMetadataChanged(@NonNull android.bluetooth.BluetoothDevice, int, @Nullable byte[]); } public static interface BluetoothAdapter.OobDataCallback { method public void onError(int); method public void onOobData(int, @NonNull android.bluetooth.OobData); } public static interface BluetoothAdapter.PreferredAudioProfilesChangedCallback { method public void onPreferredAudioProfilesChanged(@NonNull android.bluetooth.BluetoothDevice, @NonNull android.os.Bundle, int); } public class BluetoothAssignedNumbers.OrganizationId { field public static final int BLUETOOTH_SIG = 1; // 0x1 field public static final int WIFI_ALLIANCE_NEIGHBOR_AWARENESS_NETWORKING = 2; // 0x2 field public static final int WIFI_ALLIANCE_SERVICE_ADVERTISEMENT = 3; // 0x3 } public final class BluetoothClass implements android.os.Parcelable { field public static final int PROFILE_A2DP_SINK = 6; // 0x6 field public static final int PROFILE_NAP = 5; // 0x5 field public static final int PROFILE_OPP = 2; // 0x2 field public static final int PROFILE_PANU = 4; // 0x4 } public final class BluetoothCsipSetCoordinator implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile { method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public java.util.List getAllGroupIds(@Nullable android.os.ParcelUuid); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@Nullable android.bluetooth.BluetoothDevice); method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public java.util.Map getGroupUuidMapByDevice(@Nullable android.bluetooth.BluetoothDevice); method @Nullable @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public java.util.UUID lockGroup(int, @NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothCsipSetCoordinator.ClientLockCallback); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@Nullable android.bluetooth.BluetoothDevice, int); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean unlockGroup(@NonNull java.util.UUID); field @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public static final String ACTION_CSIS_DEVICE_AVAILABLE = "android.bluetooth.action.CSIS_DEVICE_AVAILABLE"; field @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public static final String ACTION_CSIS_SET_MEMBER_AVAILABLE = "android.bluetooth.action.CSIS_SET_MEMBER_AVAILABLE"; field public static final String EXTRA_CSIS_GROUP_ID = "android.bluetooth.extra.CSIS_GROUP_ID"; field public static final int GROUP_ID_INVALID = -1; // 0xffffffff } public static interface BluetoothCsipSetCoordinator.ClientLockCallback { method public void onGroupLockSet(int, int, boolean); } public final class BluetoothDevice implements android.os.Parcelable { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean canBondWithoutDialog(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean cancelBondProcess(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED, android.Manifest.permission.MODIFY_PHONE_STATE}) public int connect(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean createBond(int); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean createBondOutOfBand(int, @Nullable android.bluetooth.OobData, @Nullable android.bluetooth.OobData); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int disconnect(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean fetchUuidsWithSdp(int); method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public String getAnonymizedAddress(); method @IntRange(from=0xffffff9c, to=100) @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public int getBatteryLevel(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionHandle(int); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public String getIdentityAddress(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public int getMessageAccessPermission(); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public byte[] getMetadata(int); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public String getPackageNameOfBondingApplication(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public int getPhonebookAccessPermission(); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BluetoothSinkAudioPolicy getRequestedAudioPolicyAsSink(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public int getSimAccessPermission(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean isBondingInitiatedLocally(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean isConnected(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean isEncrypted(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean isInSilenceMode(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int isRequestAudioPolicyAsSinkSupported(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public void prepareToEnterProcess(@NonNull android.content.AttributionSource); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean removeBond(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int requestAudioPolicyAsSink(@NonNull android.bluetooth.BluetoothSinkAudioPolicy); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setLowLatencyAudioAllowed(boolean); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setMessageAccessPermission(int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setMetadata(int, @NonNull byte[]); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setPhonebookAccessPermission(int); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean setPin(@NonNull String); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setSilenceMode(boolean); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setSimAccessPermission(int); field public static final int ACCESS_ALLOWED = 1; // 0x1 field public static final int ACCESS_REJECTED = 2; // 0x2 field public static final int ACCESS_UNKNOWN = 0; // 0x0 field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_BATTERY_LEVEL_CHANGED = "android.bluetooth.device.action.BATTERY_LEVEL_CHANGED"; field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_CONNECTION_ACCESS_CANCEL = "android.bluetooth.device.action.CONNECTION_ACCESS_CANCEL"; field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_CONNECTION_ACCESS_REPLY = "android.bluetooth.device.action.CONNECTION_ACCESS_REPLY"; field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_CONNECTION_ACCESS_REQUEST = "android.bluetooth.device.action.CONNECTION_ACCESS_REQUEST"; field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_PAIRING_CANCEL = "android.bluetooth.device.action.PAIRING_CANCEL"; field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_SILENCE_MODE_CHANGED = "android.bluetooth.device.action.SILENCE_MODE_CHANGED"; field @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_SWITCH_BUFFER_SIZE = "android.bluetooth.device.action.SWITCH_BUFFER_SIZE"; field public static final int BATTERY_LEVEL_BLUETOOTH_OFF = -100; // 0xffffff9c field public static final int BATTERY_LEVEL_UNKNOWN = -1; // 0xffffffff field public static final int CONNECTION_ACCESS_NO = 2; // 0x2 field public static final int CONNECTION_ACCESS_YES = 1; // 0x1 field public static final String DEVICE_TYPE_DEFAULT = "Default"; field public static final String DEVICE_TYPE_STYLUS = "Stylus"; field public static final String DEVICE_TYPE_UNTETHERED_HEADSET = "Untethered Headset"; field public static final String DEVICE_TYPE_WATCH = "Watch"; field public static final String EXTRA_ACCESS_REQUEST_TYPE = "android.bluetooth.device.extra.ACCESS_REQUEST_TYPE"; field public static final String EXTRA_ALWAYS_ALLOWED = "android.bluetooth.device.extra.ALWAYS_ALLOWED"; field public static final String EXTRA_BATTERY_LEVEL = "android.bluetooth.device.extra.BATTERY_LEVEL"; field public static final String EXTRA_CONNECTION_ACCESS_RESULT = "android.bluetooth.device.extra.CONNECTION_ACCESS_RESULT"; field public static final String EXTRA_LOW_LATENCY_BUFFER_SIZE = "android.bluetooth.device.extra.LOW_LATENCY_BUFFER_SIZE"; field public static final String EXTRA_PAIRING_INITIATOR = "android.bluetooth.device.extra.PAIRING_INITIATOR"; field public static final int EXTRA_PAIRING_INITIATOR_BACKGROUND = 2; // 0x2 field public static final int EXTRA_PAIRING_INITIATOR_FOREGROUND = 1; // 0x1 field public static final String EXTRA_UNBOND_REASON = "android.bluetooth.device.extra.REASON"; field public static final int METADATA_COMPANION_APP = 4; // 0x4 field public static final int METADATA_DEVICE_TYPE = 17; // 0x11 field public static final int METADATA_ENHANCED_SETTINGS_UI_URI = 16; // 0x10 field public static final int METADATA_HARDWARE_VERSION = 3; // 0x3 field public static final int METADATA_IS_UNTETHERED_HEADSET = 6; // 0x6 field public static final int METADATA_LE_AUDIO = 26; // 0x1a field public static final int METADATA_MAIN_BATTERY = 18; // 0x12 field public static final int METADATA_MAIN_CHARGING = 19; // 0x13 field public static final int METADATA_MAIN_ICON = 5; // 0x5 field public static final int METADATA_MAIN_LOW_BATTERY_THRESHOLD = 20; // 0x14 field public static final int METADATA_MANUFACTURER_NAME = 0; // 0x0 field public static final int METADATA_MAX_LENGTH = 2048; // 0x800 field public static final int METADATA_MODEL_NAME = 1; // 0x1 field public static final int METADATA_SOFTWARE_VERSION = 2; // 0x2 field public static final int METADATA_UNTETHERED_CASE_BATTERY = 12; // 0xc field public static final int METADATA_UNTETHERED_CASE_CHARGING = 15; // 0xf field public static final int METADATA_UNTETHERED_CASE_ICON = 9; // 0x9 field public static final int METADATA_UNTETHERED_CASE_LOW_BATTERY_THRESHOLD = 23; // 0x17 field public static final int METADATA_UNTETHERED_LEFT_BATTERY = 10; // 0xa field public static final int METADATA_UNTETHERED_LEFT_CHARGING = 13; // 0xd field public static final int METADATA_UNTETHERED_LEFT_ICON = 7; // 0x7 field public static final int METADATA_UNTETHERED_LEFT_LOW_BATTERY_THRESHOLD = 21; // 0x15 field public static final int METADATA_UNTETHERED_RIGHT_BATTERY = 11; // 0xb field public static final int METADATA_UNTETHERED_RIGHT_CHARGING = 14; // 0xe field public static final int METADATA_UNTETHERED_RIGHT_ICON = 8; // 0x8 field public static final int METADATA_UNTETHERED_RIGHT_LOW_BATTERY_THRESHOLD = 22; // 0x16 field public static final int PAIRING_VARIANT_CONSENT = 3; // 0x3 field public static final int PAIRING_VARIANT_DISPLAY_PASSKEY = 4; // 0x4 field public static final int PAIRING_VARIANT_DISPLAY_PIN = 5; // 0x5 field public static final int PAIRING_VARIANT_OOB_CONSENT = 6; // 0x6 field public static final int PAIRING_VARIANT_PASSKEY = 1; // 0x1 field public static final int PAIRING_VARIANT_PIN_16_DIGITS = 7; // 0x7 field public static final int REQUEST_TYPE_MESSAGE_ACCESS = 3; // 0x3 field public static final int REQUEST_TYPE_PHONEBOOK_ACCESS = 2; // 0x2 field public static final int REQUEST_TYPE_PROFILE_CONNECTION = 1; // 0x1 field public static final int REQUEST_TYPE_SIM_ACCESS = 4; // 0x4 field public static final int UNBOND_REASON_AUTH_CANCELED = 3; // 0x3 field public static final int UNBOND_REASON_AUTH_FAILED = 1; // 0x1 field public static final int UNBOND_REASON_AUTH_REJECTED = 2; // 0x2 field public static final int UNBOND_REASON_AUTH_TIMEOUT = 6; // 0x6 field public static final int UNBOND_REASON_DISCOVERY_IN_PROGRESS = 5; // 0x5 field public static final int UNBOND_REASON_REMOTE_AUTH_CANCELED = 8; // 0x8 field public static final int UNBOND_REASON_REMOTE_DEVICE_DOWN = 4; // 0x4 field public static final int UNBOND_REASON_REMOVED = 9; // 0x9 field public static final int UNBOND_REASON_REPEATED_ATTEMPTS = 7; // 0x7 } public interface BluetoothDevicePicker { field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_DEVICE_SELECTED = "android.bluetooth.devicepicker.action.DEVICE_SELECTED"; field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_LAUNCH = "android.bluetooth.devicepicker.action.LAUNCH"; field public static final String EXTRA_FILTER_TYPE = "android.bluetooth.devicepicker.extra.FILTER_TYPE"; field public static final String EXTRA_LAUNCH_CLASS = "android.bluetooth.devicepicker.extra.DEVICE_PICKER_LAUNCH_CLASS"; field public static final String EXTRA_LAUNCH_PACKAGE = "android.bluetooth.devicepicker.extra.LAUNCH_PACKAGE"; field public static final String EXTRA_NEED_AUTH = "android.bluetooth.devicepicker.extra.NEED_AUTH"; field public static final int FILTER_TYPE_ALL = 0; // 0x0 field public static final int FILTER_TYPE_AUDIO = 1; // 0x1 field public static final int FILTER_TYPE_NAP = 4; // 0x4 field public static final int FILTER_TYPE_PANU = 3; // 0x3 field public static final int FILTER_TYPE_TRANSFER = 2; // 0x2 } public final class BluetoothHapClient implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile { method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BluetoothHapPresetInfo getActivePresetInfo(@NonNull android.bluetooth.BluetoothDevice); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getAllPresetInfo(@NonNull android.bluetooth.BluetoothDevice); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getConnectedDevices(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@Nullable android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getDevicesMatchingConnectionStates(@NonNull int[]); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getHearingAidType(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void registerCallback(@NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothHapClient.Callback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void selectPreset(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void selectPresetForGroup(int, int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void setPresetName(@NonNull android.bluetooth.BluetoothDevice, int, @NonNull String); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void setPresetNameForGroup(int, int, @NonNull String); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean supportsDynamicPresets(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean supportsIndependentPresets(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean supportsSynchronizedPresets(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean supportsWritablePresets(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void unregisterCallback(@NonNull android.bluetooth.BluetoothHapClient.Callback); field @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_HAP_CONNECTION_STATE_CHANGED = "android.bluetooth.action.HAP_CONNECTION_STATE_CHANGED"; field public static final int TYPE_BANDED = 2; // 0x2 field public static final int TYPE_BINAURAL = 0; // 0x0 field public static final int TYPE_MONAURAL = 1; // 0x1 field public static final int TYPE_RFU = 3; // 0x3 } public static interface BluetoothHapClient.Callback { method public void onPresetInfoChanged(@NonNull android.bluetooth.BluetoothDevice, @NonNull java.util.List, int); method public void onPresetSelected(@NonNull android.bluetooth.BluetoothDevice, int, int); method public void onPresetSelectionFailed(@NonNull android.bluetooth.BluetoothDevice, int); method public void onPresetSelectionForGroupFailed(int, int); method public void onSetPresetNameFailed(@NonNull android.bluetooth.BluetoothDevice, int); method public void onSetPresetNameForGroupFailed(int, int); } public final class BluetoothHapPresetInfo implements android.os.Parcelable { method public int getIndex(); method @NonNull public String getName(); method public boolean isAvailable(); method public boolean isWritable(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.MODIFY_PHONE_STATE}) public boolean connect(android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int connectAudio(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean disconnect(android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int disconnectAudio(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getAudioRouteAllowed(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getAudioState(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean isInbandRingingEnabled(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int setAudioRouteAllowed(boolean); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED, android.Manifest.permission.MODIFY_PHONE_STATE}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean startScoUsingVirtualVoiceCall(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean stopScoUsingVirtualVoiceCall(); field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_ACTIVE_DEVICE_CHANGED = "android.bluetooth.headset.profile.action.ACTIVE_DEVICE_CHANGED"; } public final class BluetoothHeadsetClient implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile { method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getConnectedDevices(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getDevicesMatchingConnectionStates(@NonNull int[]); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BluetoothHeadsetClient.NetworkServiceState getNetworkServiceState(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); field @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.headsetclient.profile.action.CONNECTION_STATE_CHANGED"; field @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_NETWORK_SERVICE_STATE_CHANGED = "android.bluetooth.headsetclient.profile.action.NETWORK_SERVICE_STATE_CHANGED"; field public static final String EXTRA_NETWORK_SERVICE_STATE = "android.bluetooth.headsetclient.extra.EXTRA_NETWORK_SERVICE_STATE"; } public static final class BluetoothHeadsetClient.NetworkServiceState implements android.os.Parcelable { method @NonNull public android.bluetooth.BluetoothDevice getDevice(); method @Nullable public String getNetworkOperatorName(); method @IntRange(from=0, to=5) public int getSignalStrength(); method public boolean isRoaming(); method public boolean isServiceAvailable(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class BluetoothHearingAid implements android.bluetooth.BluetoothProfile { method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BluetoothHearingAid.AdvertisementServiceData getAdvertisementServiceData(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public int getDeviceMode(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public int getDeviceSide(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public long getHiSyncId(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void setVolume(int); field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_ACTIVE_DEVICE_CHANGED = "android.bluetooth.hearingaid.profile.action.ACTIVE_DEVICE_CHANGED"; field public static final long HI_SYNC_ID_INVALID = 0L; // 0x0L field public static final int MODE_BINAURAL = 1; // 0x1 field public static final int MODE_MONAURAL = 0; // 0x0 field public static final int MODE_UNKNOWN = -1; // 0xffffffff field public static final int SIDE_LEFT = 0; // 0x0 field public static final int SIDE_RIGHT = 1; // 0x1 field public static final int SIDE_UNKNOWN = -1; // 0xffffffff } public static final class BluetoothHearingAid.AdvertisementServiceData implements android.os.Parcelable { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getDeviceMode(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getDeviceSide(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getTruncatedHiSyncId(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean isCsipSupported(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean isInPairWith(@Nullable android.bluetooth.BluetoothHearingAid.AdvertisementServiceData); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class BluetoothHidDevice implements android.bluetooth.BluetoothProfile { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); } public final class BluetoothHidHost implements android.bluetooth.BluetoothProfile { method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public java.util.List getConnectedDevices(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED"; } public final class BluetoothLeAudio implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getAudioLocation(@NonNull android.bluetooth.BluetoothDevice); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BluetoothLeAudioCodecStatus getCodecStatus(int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@Nullable android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean isInbandRingtoneEnabled(int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void registerCallback(@NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothLeAudio.Callback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void setCodecConfigPreference(int, @NonNull android.bluetooth.BluetoothLeAudioCodecConfig, @NonNull android.bluetooth.BluetoothLeAudioCodecConfig); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void setVolume(@IntRange(from=0, to=255) int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void unregisterCallback(@NonNull android.bluetooth.BluetoothLeAudio.Callback); field @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_LE_AUDIO_ACTIVE_DEVICE_CHANGED = "android.bluetooth.action.LE_AUDIO_ACTIVE_DEVICE_CHANGED"; field public static final int AUDIO_LOCATION_BACK_CENTER = 256; // 0x100 field public static final int AUDIO_LOCATION_BACK_LEFT = 16; // 0x10 field public static final int AUDIO_LOCATION_BACK_RIGHT = 32; // 0x20 field public static final int AUDIO_LOCATION_BOTTOM_FRONT_CENTER = 2097152; // 0x200000 field public static final int AUDIO_LOCATION_BOTTOM_FRONT_LEFT = 4194304; // 0x400000 field public static final int AUDIO_LOCATION_BOTTOM_FRONT_RIGHT = 8388608; // 0x800000 field public static final int AUDIO_LOCATION_FRONT_CENTER = 4; // 0x4 field public static final int AUDIO_LOCATION_FRONT_LEFT = 1; // 0x1 field public static final int AUDIO_LOCATION_FRONT_LEFT_OF_CENTER = 64; // 0x40 field public static final int AUDIO_LOCATION_FRONT_LEFT_WIDE = 16777216; // 0x1000000 field public static final int AUDIO_LOCATION_FRONT_RIGHT = 2; // 0x2 field public static final int AUDIO_LOCATION_FRONT_RIGHT_OF_CENTER = 128; // 0x80 field public static final int AUDIO_LOCATION_FRONT_RIGHT_WIDE = 33554432; // 0x2000000 field public static final int AUDIO_LOCATION_INVALID = 0; // 0x0 field public static final int AUDIO_LOCATION_LEFT_SURROUND = 67108864; // 0x4000000 field public static final int AUDIO_LOCATION_LOW_FREQ_EFFECTS_ONE = 8; // 0x8 field public static final int AUDIO_LOCATION_LOW_FREQ_EFFECTS_TWO = 512; // 0x200 field public static final int AUDIO_LOCATION_RIGHT_SURROUND = 134217728; // 0x8000000 field public static final int AUDIO_LOCATION_SIDE_LEFT = 1024; // 0x400 field public static final int AUDIO_LOCATION_SIDE_RIGHT = 2048; // 0x800 field public static final int AUDIO_LOCATION_TOP_BACK_CENTER = 1048576; // 0x100000 field public static final int AUDIO_LOCATION_TOP_BACK_LEFT = 65536; // 0x10000 field public static final int AUDIO_LOCATION_TOP_BACK_RIGHT = 131072; // 0x20000 field public static final int AUDIO_LOCATION_TOP_CENTER = 32768; // 0x8000 field public static final int AUDIO_LOCATION_TOP_FRONT_CENTER = 16384; // 0x4000 field public static final int AUDIO_LOCATION_TOP_FRONT_LEFT = 4096; // 0x1000 field public static final int AUDIO_LOCATION_TOP_FRONT_RIGHT = 8192; // 0x2000 field public static final int AUDIO_LOCATION_TOP_SIDE_LEFT = 262144; // 0x40000 field public static final int AUDIO_LOCATION_TOP_SIDE_RIGHT = 524288; // 0x80000 field public static final String EXTRA_LE_AUDIO_GROUP_ID = "android.bluetooth.extra.LE_AUDIO_GROUP_ID"; } public static interface BluetoothLeAudio.Callback { method public void onCodecConfigChanged(int, @NonNull android.bluetooth.BluetoothLeAudioCodecStatus); method public void onGroupNodeAdded(@NonNull android.bluetooth.BluetoothDevice, int); method public void onGroupNodeRemoved(@NonNull android.bluetooth.BluetoothDevice, int); method public void onGroupStatusChanged(int, int); } public final class BluetoothLeAudioCodecConfigMetadata implements android.os.Parcelable { method @NonNull public static android.bluetooth.BluetoothLeAudioCodecConfigMetadata fromRawBytes(@NonNull byte[]); method public long getAudioLocation(); method public int getFrameDuration(); method public int getOctetsPerFrame(); method @NonNull public byte[] getRawMetadata(); method public int getSampleRate(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BluetoothLeAudioCodecConfigMetadata.Builder { ctor public BluetoothLeAudioCodecConfigMetadata.Builder(); ctor public BluetoothLeAudioCodecConfigMetadata.Builder(@NonNull android.bluetooth.BluetoothLeAudioCodecConfigMetadata); method @NonNull public android.bluetooth.BluetoothLeAudioCodecConfigMetadata build(); method @NonNull public android.bluetooth.BluetoothLeAudioCodecConfigMetadata.Builder setAudioLocation(long); method @NonNull public android.bluetooth.BluetoothLeAudioCodecConfigMetadata.Builder setFrameDuration(int); method @NonNull public android.bluetooth.BluetoothLeAudioCodecConfigMetadata.Builder setOctetsPerFrame(int); method @NonNull public android.bluetooth.BluetoothLeAudioCodecConfigMetadata.Builder setSampleRate(int); } public final class BluetoothLeAudioContentMetadata implements android.os.Parcelable { method @NonNull public static android.bluetooth.BluetoothLeAudioContentMetadata fromRawBytes(@NonNull byte[]); method @Nullable public String getLanguage(); method @Nullable public String getProgramInfo(); method @NonNull public byte[] getRawMetadata(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BluetoothLeAudioContentMetadata.Builder { ctor public BluetoothLeAudioContentMetadata.Builder(); ctor public BluetoothLeAudioContentMetadata.Builder(@NonNull android.bluetooth.BluetoothLeAudioContentMetadata); method @NonNull public android.bluetooth.BluetoothLeAudioContentMetadata build(); method @NonNull public android.bluetooth.BluetoothLeAudioContentMetadata.Builder setLanguage(@Nullable String); method @NonNull public android.bluetooth.BluetoothLeAudioContentMetadata.Builder setProgramInfo(@Nullable String); } public final class BluetoothLeBroadcast implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile { method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getAllBroadcastMetadata(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getMaximumNumberOfBroadcasts(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getMaximumStreamsPerBroadcast(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getMaximumSubgroupsPerBroadcast(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean isPlaying(int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void registerCallback(@NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothLeBroadcast.Callback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void startBroadcast(@NonNull android.bluetooth.BluetoothLeAudioContentMetadata, @Nullable byte[]); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void startBroadcast(@NonNull android.bluetooth.BluetoothLeBroadcastSettings); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void stopBroadcast(int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void unregisterCallback(@NonNull android.bluetooth.BluetoothLeBroadcast.Callback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void updateBroadcast(int, @NonNull android.bluetooth.BluetoothLeAudioContentMetadata); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void updateBroadcast(int, @NonNull android.bluetooth.BluetoothLeBroadcastSettings); } public static interface BluetoothLeBroadcast.Callback { method public void onBroadcastMetadataChanged(int, @NonNull android.bluetooth.BluetoothLeBroadcastMetadata); method public void onBroadcastStartFailed(int); method public void onBroadcastStarted(int, int); method public void onBroadcastStopFailed(int); method public void onBroadcastStopped(int, int); method public void onBroadcastUpdateFailed(int, int); method public void onBroadcastUpdated(int, int); method public void onPlaybackStarted(int, int); method public void onPlaybackStopped(int, int); } public final class BluetoothLeBroadcastAssistant implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void addSource(@NonNull android.bluetooth.BluetoothDevice, @NonNull android.bluetooth.BluetoothLeBroadcastMetadata, boolean); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getAllSources(@NonNull android.bluetooth.BluetoothDevice); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getConnectedDevices(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getDevicesMatchingConnectionStates(@NonNull int[]); method public int getMaximumSourceCapacity(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean isSearchInProgress(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void modifySource(@NonNull android.bluetooth.BluetoothDevice, int, @NonNull android.bluetooth.BluetoothLeBroadcastMetadata); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void registerCallback(@NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothLeBroadcastAssistant.Callback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void removeSource(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void startSearchingForSources(@NonNull java.util.List); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void stopSearchingForSources(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void unregisterCallback(@NonNull android.bluetooth.BluetoothLeBroadcastAssistant.Callback); field @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.action.CONNECTION_STATE_CHANGED"; } public static interface BluetoothLeBroadcastAssistant.Callback { method public void onReceiveStateChanged(@NonNull android.bluetooth.BluetoothDevice, int, @NonNull android.bluetooth.BluetoothLeBroadcastReceiveState); method public void onSearchStartFailed(int); method public void onSearchStarted(int); method public void onSearchStopFailed(int); method public void onSearchStopped(int); method public void onSourceAddFailed(@NonNull android.bluetooth.BluetoothDevice, @NonNull android.bluetooth.BluetoothLeBroadcastMetadata, int); method public void onSourceAdded(@NonNull android.bluetooth.BluetoothDevice, int, int); method public void onSourceFound(@NonNull android.bluetooth.BluetoothLeBroadcastMetadata); method public void onSourceModified(@NonNull android.bluetooth.BluetoothDevice, int, int); method public void onSourceModifyFailed(@NonNull android.bluetooth.BluetoothDevice, int, int); method public void onSourceRemoveFailed(@NonNull android.bluetooth.BluetoothDevice, int, int); method public void onSourceRemoved(@NonNull android.bluetooth.BluetoothDevice, int, int); } public final class BluetoothLeBroadcastChannel implements android.os.Parcelable { method public int getChannelIndex(); method @NonNull public android.bluetooth.BluetoothLeAudioCodecConfigMetadata getCodecMetadata(); method public boolean isSelected(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BluetoothLeBroadcastChannel.Builder { ctor public BluetoothLeBroadcastChannel.Builder(); ctor public BluetoothLeBroadcastChannel.Builder(@NonNull android.bluetooth.BluetoothLeBroadcastChannel); method @NonNull public android.bluetooth.BluetoothLeBroadcastChannel build(); method @NonNull public android.bluetooth.BluetoothLeBroadcastChannel.Builder setChannelIndex(int); method @NonNull public android.bluetooth.BluetoothLeBroadcastChannel.Builder setCodecMetadata(@NonNull android.bluetooth.BluetoothLeAudioCodecConfigMetadata); method @NonNull public android.bluetooth.BluetoothLeBroadcastChannel.Builder setSelected(boolean); } public final class BluetoothLeBroadcastMetadata implements android.os.Parcelable { method public int getAudioConfigQuality(); method @Nullable public byte[] getBroadcastCode(); method public int getBroadcastId(); method @Nullable public String getBroadcastName(); method public int getPaSyncInterval(); method @IntRange(from=0, to=16777215) public int getPresentationDelayMicros(); method @Nullable public android.bluetooth.BluetoothLeAudioContentMetadata getPublicBroadcastMetadata(); method public int getSourceAddressType(); method public int getSourceAdvertisingSid(); method @NonNull public android.bluetooth.BluetoothDevice getSourceDevice(); method @NonNull public java.util.List getSubgroups(); method public boolean isEncrypted(); method public boolean isPublicBroadcast(); field public static final int AUDIO_CONFIG_QUALITY_HIGH = 2; // 0x2 field public static final int AUDIO_CONFIG_QUALITY_NONE = 0; // 0x0 field public static final int AUDIO_CONFIG_QUALITY_STANDARD = 1; // 0x1 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int PA_SYNC_INTERVAL_UNKNOWN = 65535; // 0xffff } public static final class BluetoothLeBroadcastMetadata.Builder { ctor public BluetoothLeBroadcastMetadata.Builder(); ctor public BluetoothLeBroadcastMetadata.Builder(@NonNull android.bluetooth.BluetoothLeBroadcastMetadata); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder addSubgroup(@NonNull android.bluetooth.BluetoothLeBroadcastSubgroup); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata build(); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder clearSubgroup(); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder setAudioConfigQuality(int); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder setBroadcastCode(@Nullable byte[]); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder setBroadcastId(int); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder setBroadcastName(@Nullable String); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder setEncrypted(boolean); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder setPaSyncInterval(int); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder setPresentationDelayMicros(@IntRange(from=0, to=16777215) int); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder setPublicBroadcast(boolean); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder setPublicBroadcastMetadata(@Nullable android.bluetooth.BluetoothLeAudioContentMetadata); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder setSourceAdvertisingSid(int); method @NonNull public android.bluetooth.BluetoothLeBroadcastMetadata.Builder setSourceDevice(@NonNull android.bluetooth.BluetoothDevice, int); } public final class BluetoothLeBroadcastReceiveState implements android.os.Parcelable { method @Nullable public byte[] getBadCode(); method public int getBigEncryptionState(); method @NonNull public java.util.List getBisSyncState(); method public int getBroadcastId(); method public int getNumSubgroups(); method public int getPaSyncState(); method public int getSourceAddressType(); method public int getSourceAdvertisingSid(); method @NonNull public android.bluetooth.BluetoothDevice getSourceDevice(); method @IntRange(from=0, to=255) public int getSourceId(); method @NonNull public java.util.List getSubgroupMetadata(); field public static final int BIG_ENCRYPTION_STATE_BAD_CODE = 3; // 0x3 field public static final int BIG_ENCRYPTION_STATE_CODE_REQUIRED = 1; // 0x1 field public static final int BIG_ENCRYPTION_STATE_DECRYPTING = 2; // 0x2 field public static final int BIG_ENCRYPTION_STATE_NOT_ENCRYPTED = 0; // 0x0 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int PA_SYNC_STATE_FAILED_TO_SYNCHRONIZE = 3; // 0x3 field public static final int PA_SYNC_STATE_IDLE = 0; // 0x0 field public static final int PA_SYNC_STATE_NO_PAST = 4; // 0x4 field public static final int PA_SYNC_STATE_SYNCHRONIZED = 2; // 0x2 field public static final int PA_SYNC_STATE_SYNCINFO_REQUEST = 1; // 0x1 } public final class BluetoothLeBroadcastSettings implements android.os.Parcelable { method @Nullable public byte[] getBroadcastCode(); method @Nullable public String getBroadcastName(); method @Nullable public android.bluetooth.BluetoothLeAudioContentMetadata getPublicBroadcastMetadata(); method @NonNull public java.util.List getSubgroupSettings(); method public boolean isPublicBroadcast(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BluetoothLeBroadcastSettings.Builder { ctor public BluetoothLeBroadcastSettings.Builder(); ctor public BluetoothLeBroadcastSettings.Builder(@NonNull android.bluetooth.BluetoothLeBroadcastSettings); method @NonNull public android.bluetooth.BluetoothLeBroadcastSettings.Builder addSubgroupSettings(@NonNull android.bluetooth.BluetoothLeBroadcastSubgroupSettings); method @NonNull public android.bluetooth.BluetoothLeBroadcastSettings build(); method @NonNull public android.bluetooth.BluetoothLeBroadcastSettings.Builder clearSubgroupSettings(); method @NonNull public android.bluetooth.BluetoothLeBroadcastSettings.Builder setBroadcastCode(@Nullable byte[]); method @NonNull public android.bluetooth.BluetoothLeBroadcastSettings.Builder setBroadcastName(@Nullable String); method @NonNull public android.bluetooth.BluetoothLeBroadcastSettings.Builder setPublicBroadcast(boolean); method @NonNull public android.bluetooth.BluetoothLeBroadcastSettings.Builder setPublicBroadcastMetadata(@Nullable android.bluetooth.BluetoothLeAudioContentMetadata); } public final class BluetoothLeBroadcastSubgroup implements android.os.Parcelable { method @NonNull public java.util.List getChannels(); method public long getCodecId(); method @NonNull public android.bluetooth.BluetoothLeAudioCodecConfigMetadata getCodecSpecificConfig(); method @NonNull public android.bluetooth.BluetoothLeAudioContentMetadata getContentMetadata(); method public boolean hasChannelPreference(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BluetoothLeBroadcastSubgroup.Builder { ctor public BluetoothLeBroadcastSubgroup.Builder(); ctor public BluetoothLeBroadcastSubgroup.Builder(@NonNull android.bluetooth.BluetoothLeBroadcastSubgroup); method @NonNull public android.bluetooth.BluetoothLeBroadcastSubgroup.Builder addChannel(@NonNull android.bluetooth.BluetoothLeBroadcastChannel); method @NonNull public android.bluetooth.BluetoothLeBroadcastSubgroup build(); method @NonNull public android.bluetooth.BluetoothLeBroadcastSubgroup.Builder clearChannel(); method @NonNull public android.bluetooth.BluetoothLeBroadcastSubgroup.Builder setCodecId(long); method @NonNull public android.bluetooth.BluetoothLeBroadcastSubgroup.Builder setCodecSpecificConfig(@NonNull android.bluetooth.BluetoothLeAudioCodecConfigMetadata); method @NonNull public android.bluetooth.BluetoothLeBroadcastSubgroup.Builder setContentMetadata(@NonNull android.bluetooth.BluetoothLeAudioContentMetadata); } public final class BluetoothLeBroadcastSubgroupSettings implements android.os.Parcelable { method @NonNull public android.bluetooth.BluetoothLeAudioContentMetadata getContentMetadata(); method public int getPreferredQuality(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int QUALITY_HIGH = 1; // 0x1 field public static final int QUALITY_STANDARD = 0; // 0x0 } public static final class BluetoothLeBroadcastSubgroupSettings.Builder { ctor public BluetoothLeBroadcastSubgroupSettings.Builder(); ctor public BluetoothLeBroadcastSubgroupSettings.Builder(@NonNull android.bluetooth.BluetoothLeBroadcastSubgroupSettings); method @NonNull public android.bluetooth.BluetoothLeBroadcastSubgroupSettings build(); method @NonNull public android.bluetooth.BluetoothLeBroadcastSubgroupSettings.Builder setContentMetadata(@NonNull android.bluetooth.BluetoothLeAudioContentMetadata); method @NonNull public android.bluetooth.BluetoothLeBroadcastSubgroupSettings.Builder setPreferredQuality(int); } public final class BluetoothMap implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile { method public void close(); method protected void finalize(); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getConnectedDevices(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.map.profile.action.CONNECTION_STATE_CHANGED"; } public final class BluetoothMapClient implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile { method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getConnectedDevices(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getDevicesMatchingConnectionStates(@NonNull int[]); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.SEND_SMS}) public boolean sendMessage(@NonNull android.bluetooth.BluetoothDevice, @NonNull java.util.Collection, @NonNull String, @Nullable android.app.PendingIntent, @Nullable android.app.PendingIntent); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); field @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.mapmce.profile.action.CONNECTION_STATE_CHANGED"; } public final class BluetoothPan implements android.bluetooth.BluetoothProfile { method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getConnectedDevices(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean isTetheringOn(); method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED, android.Manifest.permission.TETHER_PRIVILEGED}) public void setBluetoothTethering(boolean); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED"; field public static final String ACTION_TETHERING_STATE_CHANGED = "android.bluetooth.action.TETHERING_STATE_CHANGED"; field public static final String EXTRA_LOCAL_ROLE = "android.bluetooth.pan.extra.LOCAL_ROLE"; field public static final String EXTRA_TETHERING_STATE = "android.bluetooth.extra.TETHERING_STATE"; field public static final int LOCAL_NAP_ROLE = 1; // 0x1 field public static final int LOCAL_PANU_ROLE = 2; // 0x2 field public static final int PAN_ROLE_NONE = 0; // 0x0 field public static final int REMOTE_NAP_ROLE = 1; // 0x1 field public static final int REMOTE_PANU_ROLE = 2; // 0x2 field public static final int TETHERING_STATE_OFF = 1; // 0x1 field public static final int TETHERING_STATE_ON = 2; // 0x2 } public class BluetoothPbap implements android.bluetooth.BluetoothProfile { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.pbap.profile.action.CONNECTION_STATE_CHANGED"; } public final class BluetoothPbapClient implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile { method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getConnectedDevices(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getDevicesMatchingConnectionStates(@NonNull int[]); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); field @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.pbapclient.profile.action.CONNECTION_STATE_CHANGED"; } public interface BluetoothProfile { method @NonNull public static String getConnectionStateName(int); method @NonNull public static String getProfileName(int); field public static final int A2DP_SINK = 11; // 0xb field public static final int AVRCP_CONTROLLER = 12; // 0xc field public static final int CONNECTION_POLICY_ALLOWED = 100; // 0x64 field public static final int CONNECTION_POLICY_FORBIDDEN = 0; // 0x0 field public static final int CONNECTION_POLICY_UNKNOWN = -1; // 0xffffffff field public static final int HEADSET_CLIENT = 16; // 0x10 field public static final int HID_HOST = 4; // 0x4 field public static final int LE_AUDIO_BROADCAST = 26; // 0x1a field public static final int LE_AUDIO_BROADCAST_ASSISTANT = 29; // 0x1d field public static final int MAP = 9; // 0x9 field public static final int MAP_CLIENT = 18; // 0x12 field public static final int OPP = 20; // 0x14 field public static final int PAN = 5; // 0x5 field public static final int PBAP = 6; // 0x6 field public static final int PBAP_CLIENT = 17; // 0x11 field @Deprecated public static final int PRIORITY_OFF = 0; // 0x0 field @Deprecated public static final int PRIORITY_ON = 100; // 0x64 field public static final int VOLUME_CONTROL = 23; // 0x17 } public final class BluetoothQualityReport implements android.os.Parcelable { method @Nullable public android.bluetooth.BluetoothClass getBluetoothClass(); method @Nullable public android.bluetooth.BluetoothQualityReport.BqrCommon getBqrCommon(); method @Nullable public android.os.Parcelable getBqrEvent(); method public int getLmpSubVersion(); method public int getLmpVersion(); method public int getManufacturerId(); method public int getQualityReportId(); method @Nullable public String getRemoteAddress(); method @Nullable public String getRemoteName(); method @NonNull public static String qualityReportIdToString(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int QUALITY_REPORT_ID_A2DP_CHOPPY = 3; // 0x3 field public static final int QUALITY_REPORT_ID_APPROACH_LSTO = 2; // 0x2 field public static final int QUALITY_REPORT_ID_CONN_FAIL = 8; // 0x8 field public static final int QUALITY_REPORT_ID_MONITOR = 1; // 0x1 field public static final int QUALITY_REPORT_ID_SCO_CHOPPY = 4; // 0x4 } public static final class BluetoothQualityReport.BqrCommon implements android.os.Parcelable { method @NonNull public static String connectionRoleToString(int); method public int getAfhSelectUnidealChannelCount(); method public int getCalFailedItemCount(); method public int getConnectionHandle(); method public int getConnectionRole(); method public long getFlowOffCount(); method public long getLastFlowOnTimestamp(); method public long getLastTxAckTimestamp(); method public int getLsto(); method public long getNakCount(); method public long getNoRxCount(); method public long getOverflowCount(); method public int getPacketType(); method public long getPiconetClock(); method public long getRetransmissionCount(); method public int getRssi(); method public int getSnr(); method public int getTxPowerLevel(); method public long getUnderflowCount(); method public int getUnusedAfhChannelCount(); method @Nullable public static String packetTypeToString(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int CONNECTION_ROLE_CENTRAL = 0; // 0x0 field public static final int CONNECTION_ROLE_PERIPHERAL = 1; // 0x1 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BluetoothQualityReport.BqrConnectFail implements android.os.Parcelable { method @NonNull public static String connectFailIdToString(int); method public int getFailReason(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int CONNECT_FAIL_ID_ACL_ALREADY_EXIST = 11; // 0xb field public static final int CONNECT_FAIL_ID_CONNECTION_TIMEOUT = 8; // 0x8 field public static final int CONNECT_FAIL_ID_CONTROLLER_BUSY = 58; // 0x3a field public static final int CONNECT_FAIL_ID_NO_ERROR = 0; // 0x0 field public static final int CONNECT_FAIL_ID_PAGE_TIMEOUT = 4; // 0x4 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BluetoothQualityReport.BqrVsA2dpChoppy implements android.os.Parcelable { method public int getAclTxQueueLength(); method public long getArrivalTime(); method public int getGlitchCount(); method public int getLinkQuality(); method public int getRxCxmDenials(); method public long getScheduleTime(); method public int getTxCxmDenials(); method @Nullable public static String linkQualityToString(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BluetoothQualityReport.BqrVsLsto implements android.os.Parcelable { method @Nullable public static String connStateToString(int); method public long getBasebandStats(); method public int getConnState(); method public int getCxmDenials(); method public long getLastTxAckTimestamp(); method public long getNativeClock(); method public int getRfLoss(); method public long getSlotsUsed(); method public int getTxSkipped(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BluetoothQualityReport.BqrVsScoChoppy implements android.os.Parcelable { method @Nullable public static String airFormatToString(int); method public int getAirFormat(); method public int getGlitchCount(); method public int getGoodRxFrameCount(); method public int getInstanceCount(); method public int getIntervalEsco(); method public int getLateDispatch(); method public int getLpaIntrMiss(); method public int getMicIntrMiss(); method public int getMissedInstanceCount(); method public int getPlcDiscardCount(); method public int getPlcFillCount(); method public int getRxCxmDenials(); method public int getRxRetransmitSlotCount(); method public int getSprIntrMiss(); method public int getTxAbortCount(); method public int getTxCxmDenials(); method public int getTxRetransmitSlotCount(); method public int getWindowEsco(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BluetoothQualityReport.Builder { ctor public BluetoothQualityReport.Builder(@NonNull byte[]); method @NonNull public android.bluetooth.BluetoothQualityReport build(); method @NonNull public android.bluetooth.BluetoothQualityReport.Builder setBluetoothClass(@Nullable android.bluetooth.BluetoothClass); method @NonNull public android.bluetooth.BluetoothQualityReport.Builder setLmpSubVersion(int); method @NonNull public android.bluetooth.BluetoothQualityReport.Builder setLmpVersion(int); method @NonNull public android.bluetooth.BluetoothQualityReport.Builder setManufacturerId(int); method @NonNull public android.bluetooth.BluetoothQualityReport.Builder setRemoteAddress(@Nullable String); method @NonNull public android.bluetooth.BluetoothQualityReport.Builder setRemoteName(@Nullable String); } public final class BluetoothSap implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.sap.profile.action.CONNECTION_STATE_CHANGED"; } public final class BluetoothSinkAudioPolicy implements android.os.Parcelable { method public int getActiveDevicePolicyAfterConnection(); method public int getCallEstablishPolicy(); method public int getInBandRingtonePolicy(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int POLICY_ALLOWED = 1; // 0x1 field public static final int POLICY_NOT_ALLOWED = 2; // 0x2 field public static final int POLICY_UNCONFIGURED = 0; // 0x0 } public static final class BluetoothSinkAudioPolicy.Builder { ctor public BluetoothSinkAudioPolicy.Builder(); ctor public BluetoothSinkAudioPolicy.Builder(@NonNull android.bluetooth.BluetoothSinkAudioPolicy); method @NonNull public android.bluetooth.BluetoothSinkAudioPolicy build(); method @NonNull public android.bluetooth.BluetoothSinkAudioPolicy.Builder setActiveDevicePolicyAfterConnection(int); method @NonNull public android.bluetooth.BluetoothSinkAudioPolicy.Builder setCallEstablishPolicy(int); method @NonNull public android.bluetooth.BluetoothSinkAudioPolicy.Builder setInBandRingtonePolicy(int); } public final class BluetoothStatusCodes { field public static final int ALLOWED = 400; // 0x190 field public static final int ERROR_ALREADY_IN_TARGET_STATE = 26; // 0x1a field public static final int ERROR_ANOTHER_ACTIVE_OOB_REQUEST = 1000; // 0x3e8 field public static final int ERROR_ANOTHER_ACTIVE_REQUEST = 29; // 0x1d field public static final int ERROR_AUDIO_DEVICE_ALREADY_CONNECTED = 1116; // 0x45c field public static final int ERROR_AUDIO_DEVICE_ALREADY_DISCONNECTED = 1117; // 0x45d field public static final int ERROR_AUDIO_ROUTE_BLOCKED = 1118; // 0x45e field public static final int ERROR_BAD_PARAMETERS = 21; // 0x15 field public static final int ERROR_CALLBACK_NOT_REGISTERED = 28; // 0x1c field public static final int ERROR_CALL_ACTIVE = 1119; // 0x45f field public static final int ERROR_CSIP_GROUP_LOCKED_BY_OTHER = 1208; // 0x4b8 field public static final int ERROR_CSIP_INVALID_GROUP_ID = 1207; // 0x4b7 field public static final int ERROR_CSIP_LOCKED_GROUP_MEMBER_LOST = 1209; // 0x4b9 field public static final int ERROR_DISTANCE_MEASUREMENT_INTERNAL = 1301; // 0x515 field public static final int ERROR_HAP_INVALID_PRESET_INDEX = 1211; // 0x4bb field public static final int ERROR_HAP_PRESET_NAME_TOO_LONG = 1210; // 0x4ba field public static final int ERROR_HARDWARE_GENERIC = 20; // 0x14 field public static final int ERROR_LE_BROADCAST_ASSISTANT_DUPLICATE_ADDITION = 1203; // 0x4b3 field public static final int ERROR_LE_BROADCAST_ASSISTANT_INVALID_SOURCE_ID = 1202; // 0x4b2 field public static final int ERROR_LE_BROADCAST_INVALID_BROADCAST_ID = 1200; // 0x4b0 field public static final int ERROR_LE_BROADCAST_INVALID_CODE = 1201; // 0x4b1 field public static final int ERROR_LE_CONTENT_METADATA_INVALID_LANGUAGE = 1205; // 0x4b5 field public static final int ERROR_LE_CONTENT_METADATA_INVALID_OTHER = 1206; // 0x4b6 field public static final int ERROR_LE_CONTENT_METADATA_INVALID_PROGRAM_INFO = 1204; // 0x4b4 field public static final int ERROR_LOCAL_NOT_ENOUGH_RESOURCES = 22; // 0x16 field public static final int ERROR_NOT_ACTIVE_DEVICE = 12; // 0xc field public static final int ERROR_NOT_DUAL_MODE_AUDIO_DEVICE = 3000; // 0xbb8 field public static final int ERROR_NO_ACTIVE_DEVICES = 13; // 0xd field public static final int ERROR_NO_LE_CONNECTION = 1300; // 0x514 field public static final int ERROR_PROFILE_NOT_CONNECTED = 14; // 0xe field public static final int ERROR_REMOTE_LINK_ERROR = 25; // 0x19 field public static final int ERROR_REMOTE_NOT_ENOUGH_RESOURCES = 23; // 0x17 field public static final int ERROR_REMOTE_OPERATION_NOT_SUPPORTED = 27; // 0x1b field public static final int ERROR_REMOTE_OPERATION_REJECTED = 24; // 0x18 field public static final int ERROR_TIMEOUT = 15; // 0xf field public static final int NOT_ALLOWED = 401; // 0x191 field public static final int REASON_LOCAL_APP_REQUEST = 16; // 0x10 field public static final int REASON_LOCAL_STACK_REQUEST = 17; // 0x11 field public static final int REASON_REMOTE_REQUEST = 18; // 0x12 field public static final int REASON_SYSTEM_POLICY = 19; // 0x13 field public static final int RFCOMM_LISTENER_FAILED_TO_CLOSE_SERVER_SOCKET = 2004; // 0x7d4 field public static final int RFCOMM_LISTENER_FAILED_TO_CREATE_SERVER_SOCKET = 2003; // 0x7d3 field public static final int RFCOMM_LISTENER_NO_SOCKET_AVAILABLE = 2005; // 0x7d5 field public static final int RFCOMM_LISTENER_OPERATION_FAILED_DIFFERENT_APP = 2002; // 0x7d2 field public static final int RFCOMM_LISTENER_OPERATION_FAILED_NO_MATCHING_SERVICE_RECORD = 2001; // 0x7d1 field public static final int RFCOMM_LISTENER_START_FAILED_UUID_IN_USE = 2000; // 0x7d0 } public final class BluetoothUuid { method public static boolean containsAnyUuid(@Nullable android.os.ParcelUuid[], @Nullable android.os.ParcelUuid[]); method @NonNull public static android.os.ParcelUuid parseUuidFrom(@Nullable byte[]); field @NonNull public static final android.os.ParcelUuid A2DP_SINK; field @NonNull public static final android.os.ParcelUuid A2DP_SOURCE; field @NonNull public static final android.os.ParcelUuid ADV_AUDIO_DIST; field @NonNull public static final android.os.ParcelUuid AVRCP; field @NonNull public static final android.os.ParcelUuid AVRCP_CONTROLLER; field @NonNull public static final android.os.ParcelUuid AVRCP_TARGET; field @NonNull public static final android.os.ParcelUuid BASE_UUID; field @NonNull public static final android.os.ParcelUuid BASS; field @NonNull public static final android.os.ParcelUuid BNEP; field @NonNull public static final android.os.ParcelUuid CAP; field @NonNull public static final android.os.ParcelUuid COORDINATED_SET; field @NonNull public static final android.os.ParcelUuid DIP; field @NonNull public static final android.os.ParcelUuid GENERIC_MEDIA_CONTROL; field @NonNull public static final android.os.ParcelUuid HAS; field @NonNull public static final android.os.ParcelUuid HEARING_AID; field @NonNull public static final android.os.ParcelUuid HFP; field @NonNull public static final android.os.ParcelUuid HFP_AG; field @NonNull public static final android.os.ParcelUuid HID; field @NonNull public static final android.os.ParcelUuid HOGP; field @NonNull public static final android.os.ParcelUuid HSP; field @NonNull public static final android.os.ParcelUuid HSP_AG; field @NonNull public static final android.os.ParcelUuid LE_AUDIO; field @NonNull public static final android.os.ParcelUuid MAP; field @NonNull public static final android.os.ParcelUuid MAS; field @NonNull public static final android.os.ParcelUuid MEDIA_CONTROL; field @NonNull public static final android.os.ParcelUuid MNS; field @NonNull public static final android.os.ParcelUuid NAP; field @NonNull public static final android.os.ParcelUuid OBEX_OBJECT_PUSH; field @NonNull public static final android.os.ParcelUuid PANU; field @NonNull public static final android.os.ParcelUuid PBAP_PCE; field @NonNull public static final android.os.ParcelUuid PBAP_PSE; field @NonNull public static final android.os.ParcelUuid SAP; field public static final int UUID_BYTES_128_BIT = 16; // 0x10 field public static final int UUID_BYTES_16_BIT = 2; // 0x2 field public static final int UUID_BYTES_32_BIT = 4; // 0x4 field @NonNull public static final android.os.ParcelUuid VOLUME_CONTROL; } public final class BluetoothVolumeControl implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile { method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public void close(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) protected void finalize(); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getConnectedDevices(); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean isVolumeOffsetAvailable(@NonNull android.bluetooth.BluetoothDevice); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void registerCallback(@NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothVolumeControl.Callback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void setVolumeOffset(@NonNull android.bluetooth.BluetoothDevice, @IntRange(from=0xffffff01, to=255) int); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void unregisterCallback(@NonNull android.bluetooth.BluetoothVolumeControl.Callback); field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.volume-control.profile.action.CONNECTION_STATE_CHANGED"; } public static interface BluetoothVolumeControl.Callback { method public void onVolumeOffsetChanged(@NonNull android.bluetooth.BluetoothDevice, @IntRange(from=0xffffff01, to=255) int); } public final class BufferConstraint implements android.os.Parcelable { ctor public BufferConstraint(int, int, int); method public int describeContents(); method public int getDefaultMillis(); method public int getMaxMillis(); method public int getMinMillis(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class BufferConstraints implements android.os.Parcelable { ctor public BufferConstraints(@NonNull java.util.List); method public int describeContents(); method @Nullable public android.bluetooth.BufferConstraint forCodec(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int BUFFER_CODEC_MAX_NUM = 32; // 0x20 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class OobData implements android.os.Parcelable { method @NonNull public byte[] getClassOfDevice(); method @NonNull public byte[] getClassicLength(); method @NonNull public byte[] getConfirmationHash(); method @NonNull public byte[] getDeviceAddressWithType(); method @Nullable public byte[] getDeviceName(); method @Nullable public byte[] getLeAppearance(); method @NonNull public int getLeDeviceRole(); method @NonNull public int getLeFlags(); method @Nullable public byte[] getLeTemporaryKey(); method @NonNull public byte[] getRandomizerHash(); field public static final int CLASS_OF_DEVICE_OCTETS = 3; // 0x3 field public static final int CONFIRMATION_OCTETS = 16; // 0x10 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DEVICE_ADDRESS_OCTETS = 7; // 0x7 field public static final int LE_APPEARANCE_OCTETS = 2; // 0x2 field public static final int LE_DEVICE_FLAG_OCTETS = 1; // 0x1 field public static final int LE_DEVICE_ROLE_BOTH_PREFER_CENTRAL = 3; // 0x3 field public static final int LE_DEVICE_ROLE_BOTH_PREFER_PERIPHERAL = 2; // 0x2 field public static final int LE_DEVICE_ROLE_CENTRAL_ONLY = 1; // 0x1 field public static final int LE_DEVICE_ROLE_OCTETS = 1; // 0x1 field public static final int LE_DEVICE_ROLE_PERIPHERAL_ONLY = 0; // 0x0 field public static final int LE_FLAG_BREDR_NOT_SUPPORTED = 2; // 0x2 field public static final int LE_FLAG_GENERAL_DISCOVERY_MODE = 1; // 0x1 field public static final int LE_FLAG_LIMITED_DISCOVERY_MODE = 0; // 0x0 field public static final int LE_FLAG_SIMULTANEOUS_CONTROLLER = 3; // 0x3 field public static final int LE_FLAG_SIMULTANEOUS_HOST = 4; // 0x4 field public static final int LE_TK_OCTETS = 16; // 0x10 field public static final int OOB_LENGTH_OCTETS = 2; // 0x2 field public static final int RANDOMIZER_OCTETS = 16; // 0x10 } public static final class OobData.ClassicBuilder { ctor public OobData.ClassicBuilder(@NonNull byte[], @NonNull byte[], @NonNull byte[]); method @NonNull public android.bluetooth.OobData build(); method @NonNull public android.bluetooth.OobData.ClassicBuilder setClassOfDevice(@NonNull byte[]); method @NonNull public android.bluetooth.OobData.ClassicBuilder setDeviceName(@NonNull byte[]); method @NonNull public android.bluetooth.OobData.ClassicBuilder setRandomizerHash(@NonNull byte[]); } public static final class OobData.LeBuilder { ctor public OobData.LeBuilder(@NonNull byte[], @NonNull byte[], int); method @NonNull public android.bluetooth.OobData build(); method @NonNull public android.bluetooth.OobData.LeBuilder setDeviceName(@NonNull byte[]); method @NonNull public android.bluetooth.OobData.LeBuilder setLeFlags(int); method @NonNull public android.bluetooth.OobData.LeBuilder setLeTemporaryKey(@NonNull byte[]); method @NonNull public android.bluetooth.OobData.LeBuilder setRandomizerHash(@NonNull byte[]); } public final class UidTraffic implements java.lang.Cloneable android.os.Parcelable { method public long getRxBytes(); method public long getTxBytes(); method public int getUid(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.bluetooth.le { public final class AdvertiseSettings implements android.os.Parcelable { method public int getOwnAddressType(); } public static final class AdvertiseSettings.Builder { method @NonNull public android.bluetooth.le.AdvertiseSettings.Builder setOwnAddressType(int); } public final class AdvertisingSet { method public int getAdvertiserId(); } public final class AdvertisingSetParameters implements android.os.Parcelable { method public int getOwnAddressType(); field public static final int ADDRESS_TYPE_DEFAULT = -1; // 0xffffffff field public static final int ADDRESS_TYPE_PUBLIC = 0; // 0x0 field public static final int ADDRESS_TYPE_RANDOM = 1; // 0x1 field public static final int ADDRESS_TYPE_RANDOM_NON_RESOLVABLE = 2; // 0x2 } public static final class AdvertisingSetParameters.Builder { method @NonNull public android.bluetooth.le.AdvertisingSetParameters.Builder setOwnAddressType(int); } public final class BluetoothLeAdvertiser { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_PRIVILEGED, android.Manifest.permission.BLUETOOTH_ADVERTISE, android.Manifest.permission.BLUETOOTH_CONNECT}) public void startAdvertisingSet(@NonNull android.bluetooth.le.AdvertisingSetParameters, @Nullable android.bluetooth.le.AdvertiseData, @Nullable android.bluetooth.le.AdvertiseData, @Nullable android.bluetooth.le.PeriodicAdvertisingParameters, @Nullable android.bluetooth.le.AdvertiseData, int, int, @Nullable android.bluetooth.BluetoothGattServer, @Nullable android.bluetooth.le.AdvertisingSetCallback, @NonNull android.os.Handler); } public final class BluetoothLeScanner { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.UPDATE_DEVICE_STATS}) public void startScanFromSource(android.os.WorkSource, android.bluetooth.le.ScanCallback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.UPDATE_DEVICE_STATS}) public void startScanFromSource(java.util.List, android.bluetooth.le.ScanSettings, android.os.WorkSource, android.bluetooth.le.ScanCallback); method @Deprecated @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN) public void startTruncatedScan(java.util.List, android.bluetooth.le.ScanSettings, android.bluetooth.le.ScanCallback); } public final class DistanceMeasurementManager { method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List getSupportedMethods(); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public android.os.CancellationSignal startMeasurementSession(@NonNull android.bluetooth.le.DistanceMeasurementParams, @NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.le.DistanceMeasurementSession.Callback); } public final class DistanceMeasurementMethod implements android.os.Parcelable { method public double getId(); method public boolean isAltitudeAngleSupported(); method public boolean isAzimuthAngleSupported(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DISTANCE_MEASUREMENT_METHOD_AUTO = 0; // 0x0 field public static final int DISTANCE_MEASUREMENT_METHOD_RSSI = 1; // 0x1 } public static final class DistanceMeasurementMethod.Builder { ctor public DistanceMeasurementMethod.Builder(int); method @NonNull public android.bluetooth.le.DistanceMeasurementMethod build(); method @NonNull public android.bluetooth.le.DistanceMeasurementMethod.Builder setAltitudeAngleSupported(boolean); method @NonNull public android.bluetooth.le.DistanceMeasurementMethod.Builder setAzimuthAngleSupported(boolean); } public final class DistanceMeasurementParams implements android.os.Parcelable { method public static int getDefaultDurationSeconds(); method @NonNull public android.bluetooth.BluetoothDevice getDevice(); method @IntRange(from=0) public int getDurationSeconds(); method public int getFrequency(); method public static int getMaxDurationSeconds(); method public int getMethodId(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int REPORT_FREQUENCY_HIGH = 2; // 0x2 field public static final int REPORT_FREQUENCY_LOW = 0; // 0x0 field public static final int REPORT_FREQUENCY_MEDIUM = 1; // 0x1 } public static final class DistanceMeasurementParams.Builder { ctor public DistanceMeasurementParams.Builder(@NonNull android.bluetooth.BluetoothDevice); method @NonNull public android.bluetooth.le.DistanceMeasurementParams build(); method @NonNull public android.bluetooth.le.DistanceMeasurementParams.Builder setDurationSeconds(@IntRange(from=0) int); method @NonNull public android.bluetooth.le.DistanceMeasurementParams.Builder setFrequency(int); method @NonNull public android.bluetooth.le.DistanceMeasurementParams.Builder setMethodId(int); } public final class DistanceMeasurementResult implements android.os.Parcelable { method @FloatRange(from=-90.0, to=90.0) public double getAltitudeAngle(); method @FloatRange(from=0.0, to=360.0) public double getAzimuthAngle(); method public double getErrorAltitudeAngle(); method public double getErrorAzimuthAngle(); method @FloatRange(from=0.0) public double getErrorMeters(); method public double getResultMeters(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class DistanceMeasurementResult.Builder { ctor public DistanceMeasurementResult.Builder(@FloatRange(from=0.0) double, @FloatRange(from=0.0) double); method @NonNull public android.bluetooth.le.DistanceMeasurementResult build(); method @NonNull public android.bluetooth.le.DistanceMeasurementResult.Builder setAltitudeAngle(@FloatRange(from=-90.0, to=90.0) double); method @NonNull public android.bluetooth.le.DistanceMeasurementResult.Builder setAzimuthAngle(@FloatRange(from=0.0, to=360.0) double); method @NonNull public android.bluetooth.le.DistanceMeasurementResult.Builder setErrorAltitudeAngle(@FloatRange(from=0.0, to=180.0) double); method @NonNull public android.bluetooth.le.DistanceMeasurementResult.Builder setErrorAzimuthAngle(@FloatRange(from=0.0, to=360.0) double); } public final class DistanceMeasurementSession { method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int stopSession(); } public static interface DistanceMeasurementSession.Callback { method public void onResult(@NonNull android.bluetooth.BluetoothDevice, @NonNull android.bluetooth.le.DistanceMeasurementResult); method public void onStartFail(@NonNull int); method public void onStarted(@NonNull android.bluetooth.le.DistanceMeasurementSession); method public void onStopped(@NonNull android.bluetooth.le.DistanceMeasurementSession, @NonNull int); } @Deprecated public final class ResultStorageDescriptor implements android.os.Parcelable { ctor @Deprecated public ResultStorageDescriptor(int, int, int); method @Deprecated public int describeContents(); method @Deprecated public int getLength(); method @Deprecated public int getOffset(); method @Deprecated public int getType(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class ScanFilter implements android.os.Parcelable { method public int getAddressType(); method @Nullable public byte[] getIrk(); method @Nullable public android.bluetooth.le.TransportBlockFilter getTransportBlockFilter(); } public static final class ScanFilter.Builder { method @NonNull public android.bluetooth.le.ScanFilter.Builder setDeviceAddress(@NonNull String, int); method @NonNull public android.bluetooth.le.ScanFilter.Builder setDeviceAddress(@NonNull String, int, @NonNull byte[]); method @NonNull public android.bluetooth.le.ScanFilter.Builder setTransportBlockFilter(@NonNull android.bluetooth.le.TransportBlockFilter); field public static final int LEN_IRK_OCTETS = 16; // 0x10 } public final class ScanRecord { method @Nullable public android.bluetooth.le.TransportDiscoveryData getTransportDiscoveryData(); } public final class ScanSettings implements android.os.Parcelable { field public static final int SCAN_MODE_AMBIENT_DISCOVERY = 3; // 0x3 field public static final int SCAN_RESULT_TYPE_ABBREVIATED = 1; // 0x1 field public static final int SCAN_RESULT_TYPE_FULL = 0; // 0x0 } public static final class ScanSettings.Builder { method public android.bluetooth.le.ScanSettings.Builder setScanResultType(int); } public final class TransportBlockFilter implements android.os.Parcelable { method public int getOrgId(); method public int getTdsFlags(); method public int getTdsFlagsMask(); method @Nullable public byte[] getTransportData(); method @Nullable public byte[] getTransportDataMask(); method @Nullable public byte[] getWifiNanHash(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int WIFI_NAN_HASH_LENGTH_BYTES = 8; // 0x8 } public static final class TransportBlockFilter.Builder { ctor public TransportBlockFilter.Builder(int); method @NonNull public android.bluetooth.le.TransportBlockFilter build(); method @NonNull public android.bluetooth.le.TransportBlockFilter.Builder setTdsFlags(int, int); method @NonNull public android.bluetooth.le.TransportBlockFilter.Builder setTransportData(@NonNull byte[], @NonNull byte[]); method @NonNull public android.bluetooth.le.TransportBlockFilter.Builder setWifiNanHash(@NonNull byte[]); } @Deprecated public final class TruncatedFilter { ctor @Deprecated public TruncatedFilter(android.bluetooth.le.ScanFilter, java.util.List); method @Deprecated public android.bluetooth.le.ScanFilter getFilter(); method @Deprecated public java.util.List getStorageDescriptors(); } } package android.companion { public final class AssociationInfo implements android.os.Parcelable { method @NonNull public String getPackageName(); method public boolean isSelfManaged(); } public final class CompanionDeviceManager { method @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public void addOnAssociationsChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.companion.CompanionDeviceManager.OnAssociationsChangedListener); method @RequiresPermission(android.Manifest.permission.ASSOCIATE_COMPANION_DEVICES) public void associate(@NonNull String, @NonNull android.net.MacAddress, @NonNull byte[]); method @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public boolean canPairWithoutPrompt(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); method @NonNull @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public java.util.List getAllAssociations(); method @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public boolean isDeviceAssociatedForWifiConnection(@NonNull String, @NonNull android.net.MacAddress, @NonNull android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.REQUEST_COMPANION_SELF_MANAGED) public void notifyDeviceAppeared(int); method @RequiresPermission(android.Manifest.permission.REQUEST_COMPANION_SELF_MANAGED) public void notifyDeviceDisappeared(int); method @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public void removeOnAssociationsChangedListener(@NonNull android.companion.CompanionDeviceManager.OnAssociationsChangedListener); } public static interface CompanionDeviceManager.OnAssociationsChangedListener { method public void onAssociationsChanged(@NonNull java.util.List); } } package android.companion.virtual { public final class VirtualDeviceManager { method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.companion.virtual.VirtualDeviceManager.VirtualDevice createVirtualDevice(int, @NonNull android.companion.virtual.VirtualDeviceParams); field public static final int LAUNCH_FAILURE_NO_ACTIVITY = 2; // 0x2 field public static final int LAUNCH_FAILURE_PENDING_INTENT_CANCELED = 1; // 0x1 field public static final int LAUNCH_SUCCESS = 0; // 0x0 } public static interface VirtualDeviceManager.ActivityListener { method public void onDisplayEmpty(int); method @Deprecated public void onTopActivityChanged(int, @NonNull android.content.ComponentName); method public default void onTopActivityChanged(int, @NonNull android.content.ComponentName, int); } public static interface VirtualDeviceManager.IntentInterceptorCallback { method public void onIntentIntercepted(@NonNull android.content.Intent); } public static interface VirtualDeviceManager.SoundEffectListener { method public void onPlaySoundEffect(int); } public static class VirtualDeviceManager.VirtualDevice implements java.lang.AutoCloseable { method public void addActivityListener(@NonNull java.util.concurrent.Executor, @NonNull android.companion.virtual.VirtualDeviceManager.ActivityListener); method public void addSoundEffectListener(@NonNull java.util.concurrent.Executor, @NonNull android.companion.virtual.VirtualDeviceManager.SoundEffectListener); method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close(); method @NonNull public android.content.Context createContext(); method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.companion.virtual.audio.VirtualAudioDevice createVirtualAudioDevice(@NonNull android.hardware.display.VirtualDisplay, @Nullable java.util.concurrent.Executor, @Nullable android.companion.virtual.audio.VirtualAudioDevice.AudioConfigurationChangeCallback); method @Deprecated @Nullable public android.hardware.display.VirtualDisplay createVirtualDisplay(@IntRange(from=1) int, @IntRange(from=1) int, @IntRange(from=1) int, @Nullable android.view.Surface, int, @Nullable java.util.concurrent.Executor, @Nullable android.hardware.display.VirtualDisplay.Callback); method @Nullable public android.hardware.display.VirtualDisplay createVirtualDisplay(@NonNull android.hardware.display.VirtualDisplayConfig, @Nullable java.util.concurrent.Executor, @Nullable android.hardware.display.VirtualDisplay.Callback); method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualDpad createVirtualDpad(@NonNull android.hardware.input.VirtualDpadConfig); method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualKeyboard createVirtualKeyboard(@NonNull android.hardware.input.VirtualKeyboardConfig); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualKeyboard createVirtualKeyboard(@NonNull android.hardware.display.VirtualDisplay, @NonNull String, int, int); method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualMouse createVirtualMouse(@NonNull android.hardware.input.VirtualMouseConfig); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualMouse createVirtualMouse(@NonNull android.hardware.display.VirtualDisplay, @NonNull String, int, int); method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualNavigationTouchpad createVirtualNavigationTouchpad(@NonNull android.hardware.input.VirtualNavigationTouchpadConfig); method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualTouchscreen createVirtualTouchscreen(@NonNull android.hardware.input.VirtualTouchscreenConfig); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualTouchscreen createVirtualTouchscreen(@NonNull android.hardware.display.VirtualDisplay, @NonNull String, int, int); method public int getDeviceId(); method @NonNull public java.util.List getVirtualSensorList(); method public void launchPendingIntent(int, @NonNull android.app.PendingIntent, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.IntConsumer); method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void registerIntentInterceptor(@NonNull android.content.IntentFilter, @NonNull java.util.concurrent.Executor, @NonNull android.companion.virtual.VirtualDeviceManager.IntentInterceptorCallback); method public void removeActivityListener(@NonNull android.companion.virtual.VirtualDeviceManager.ActivityListener); method public void removeSoundEffectListener(@NonNull android.companion.virtual.VirtualDeviceManager.SoundEffectListener); method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void setShowPointerIcon(boolean); method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void unregisterIntentInterceptor(@NonNull android.companion.virtual.VirtualDeviceManager.IntentInterceptorCallback); } public final class VirtualDeviceParams implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.Set getAllowedActivities(); method @NonNull public java.util.Set getAllowedCrossTaskNavigations(); method public int getAudioPlaybackSessionId(); method public int getAudioRecordingSessionId(); method @NonNull public java.util.Set getBlockedActivities(); method @NonNull public java.util.Set getBlockedCrossTaskNavigations(); method public int getDefaultActivityPolicy(); method public int getDefaultNavigationPolicy(); method public int getDevicePolicy(int); method public int getLockState(); method @Nullable public String getName(); method @NonNull public java.util.Set getUsersWithMatchingAccounts(); method @NonNull public java.util.List getVirtualSensorConfigs(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int ACTIVITY_POLICY_DEFAULT_ALLOWED = 0; // 0x0 field public static final int ACTIVITY_POLICY_DEFAULT_BLOCKED = 1; // 0x1 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DEVICE_POLICY_CUSTOM = 1; // 0x1 field public static final int DEVICE_POLICY_DEFAULT = 0; // 0x0 field public static final int LOCK_STATE_ALWAYS_UNLOCKED = 1; // 0x1 field public static final int LOCK_STATE_DEFAULT = 0; // 0x0 field public static final int NAVIGATION_POLICY_DEFAULT_ALLOWED = 0; // 0x0 field public static final int NAVIGATION_POLICY_DEFAULT_BLOCKED = 1; // 0x1 field public static final int POLICY_TYPE_AUDIO = 1; // 0x1 field public static final int POLICY_TYPE_RECENTS = 2; // 0x2 field public static final int POLICY_TYPE_SENSORS = 0; // 0x0 } public static final class VirtualDeviceParams.Builder { ctor public VirtualDeviceParams.Builder(); method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder addVirtualSensorConfig(@NonNull android.companion.virtual.sensor.VirtualSensorConfig); method @NonNull public android.companion.virtual.VirtualDeviceParams build(); method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setAllowedActivities(@NonNull java.util.Set); method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setAllowedCrossTaskNavigations(@NonNull java.util.Set); method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setAudioPlaybackSessionId(int); method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setAudioRecordingSessionId(int); method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setBlockedActivities(@NonNull java.util.Set); method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setBlockedCrossTaskNavigations(@NonNull java.util.Set); method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setDevicePolicy(int, int); method @NonNull @RequiresPermission(value=android.Manifest.permission.ADD_ALWAYS_UNLOCKED_DISPLAY, conditional=true) public android.companion.virtual.VirtualDeviceParams.Builder setLockState(int); method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setName(@NonNull String); method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setUsersWithMatchingAccounts(@NonNull java.util.Set); method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setVirtualSensorCallback(@NonNull java.util.concurrent.Executor, @NonNull android.companion.virtual.sensor.VirtualSensorCallback); method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setVirtualSensorDirectChannelCallback(@NonNull java.util.concurrent.Executor, @NonNull android.companion.virtual.sensor.VirtualSensorDirectChannelCallback); } } package android.companion.virtual.audio { public final class AudioCapture { method @NonNull public android.media.AudioFormat getFormat(); method public int getRecordingState(); method public int read(@NonNull byte[], int, int); method public int read(@NonNull byte[], int, int, int); method public int read(@NonNull java.nio.ByteBuffer, int); method public int read(@NonNull java.nio.ByteBuffer, int, int); method public int read(@NonNull float[], int, int, int); method public int read(@NonNull short[], int, int); method public int read(@NonNull short[], int, int, int); method public void startRecording(); method public void stop(); } public final class AudioInjection { method @NonNull public android.media.AudioFormat getFormat(); method public int getPlayState(); method public void play(); method public void stop(); method public int write(@NonNull byte[], int, int); method public int write(@NonNull byte[], int, int, int); method public int write(@NonNull java.nio.ByteBuffer, int, int); method public int write(@NonNull java.nio.ByteBuffer, int, int, long); method public int write(@NonNull float[], int, int, int); method public int write(@NonNull short[], int, int); method public int write(@NonNull short[], int, int, int); } public final class VirtualAudioDevice implements java.io.Closeable { method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void close(); method @Nullable public android.companion.virtual.audio.AudioCapture getAudioCapture(); method @Nullable public android.companion.virtual.audio.AudioInjection getAudioInjection(); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.companion.virtual.audio.AudioCapture startAudioCapture(@NonNull android.media.AudioFormat); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.companion.virtual.audio.AudioInjection startAudioInjection(@NonNull android.media.AudioFormat); } public static interface VirtualAudioDevice.AudioConfigurationChangeCallback { method public void onPlaybackConfigChanged(@NonNull java.util.List); method public void onRecordingConfigChanged(@NonNull java.util.List); } } package android.companion.virtual.sensor { public final class VirtualSensor implements android.os.Parcelable { method public int describeContents(); method public int getDeviceId(); method @NonNull public String getName(); method public int getType(); method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendEvent(@NonNull android.companion.virtual.sensor.VirtualSensorEvent); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public interface VirtualSensorCallback { method public void onConfigurationChanged(@NonNull android.companion.virtual.sensor.VirtualSensor, boolean, @NonNull java.time.Duration, @NonNull java.time.Duration); } public final class VirtualSensorConfig implements android.os.Parcelable { method public int describeContents(); method public int getDirectChannelTypesSupported(); method public int getHighestDirectReportRateLevel(); method public int getMaxDelay(); method public float getMaximumRange(); method public int getMinDelay(); method @NonNull public String getName(); method public float getPower(); method public float getResolution(); method public int getType(); method @Nullable public String getVendor(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class VirtualSensorConfig.Builder { ctor public VirtualSensorConfig.Builder(@IntRange(from=1) int, @NonNull String); method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig build(); method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setDirectChannelTypesSupported(int); method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setHighestDirectReportRateLevel(int); method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setMaxDelay(int); method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setMaximumRange(float); method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setMinDelay(int); method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setPower(float); method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setResolution(float); method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setVendor(@Nullable String); } public interface VirtualSensorDirectChannelCallback { method public void onDirectChannelConfigured(@IntRange(from=1) int, @NonNull android.companion.virtual.sensor.VirtualSensor, int, @IntRange(from=1) int); method public void onDirectChannelCreated(@IntRange(from=1) int, @NonNull android.os.SharedMemory); method public void onDirectChannelDestroyed(@IntRange(from=1) int); } public final class VirtualSensorDirectChannelWriter implements java.lang.AutoCloseable { ctor public VirtualSensorDirectChannelWriter(); method public void addChannel(@IntRange(from=1) int, @NonNull android.os.SharedMemory) throws android.system.ErrnoException; method public void close(); method public boolean configureChannel(@IntRange(from=1) int, @NonNull android.companion.virtual.sensor.VirtualSensor, int, @IntRange(from=1) int); method public void removeChannel(@IntRange(from=1) int); method public boolean writeSensorEvent(@NonNull android.companion.virtual.sensor.VirtualSensor, @NonNull android.companion.virtual.sensor.VirtualSensorEvent); } public final class VirtualSensorEvent implements android.os.Parcelable { method public int describeContents(); method public long getTimestampNanos(); method @NonNull public float[] getValues(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class VirtualSensorEvent.Builder { ctor public VirtualSensorEvent.Builder(@NonNull float[]); method @NonNull public android.companion.virtual.sensor.VirtualSensorEvent build(); method @NonNull public android.companion.virtual.sensor.VirtualSensorEvent.Builder setTimestampNanos(long); } } package android.content { public class ApexEnvironment { method @NonNull public static android.content.ApexEnvironment getApexEnvironment(@NonNull String); method @NonNull public java.io.File getCredentialProtectedDataDirForUser(@NonNull android.os.UserHandle); method @NonNull public java.io.File getDeviceProtectedDataDir(); method @NonNull public java.io.File getDeviceProtectedDataDirForUser(@NonNull android.os.UserHandle); } public final class AttributionSource implements android.os.Parcelable { method @NonNull @RequiresPermission(android.Manifest.permission.RENOUNCE_PERMISSIONS) public java.util.Set getRenouncedPermissions(); } public static final class AttributionSource.Builder { method @NonNull @RequiresPermission(android.Manifest.permission.RENOUNCE_PERMISSIONS) public android.content.AttributionSource.Builder setRenouncedPermissions(@Nullable java.util.Set); } public abstract class BroadcastReceiver { method @NonNull public final android.os.UserHandle getSendingUser(); } public class ClipboardManager extends android.text.ClipboardManager { method @RequiresPermission(android.Manifest.permission.MANAGE_CLIPBOARD_ACCESS_NOTIFICATION) public boolean areClipboardAccessNotificationsEnabled(); method @RequiresPermission(android.Manifest.permission.MANAGE_CLIPBOARD_ACCESS_NOTIFICATION) public void setClipboardAccessNotificationsEnabled(boolean); method @RequiresPermission(android.Manifest.permission.SET_CLIP_SOURCE) public void setPrimaryClipAsPackage(@NonNull android.content.ClipData, @NonNull String); } public abstract class ContentProvider implements android.content.ComponentCallbacks2 { method public int checkUriPermission(@NonNull android.net.Uri, int, int); } public class ContentProviderClient implements java.lang.AutoCloseable { method @RequiresPermission(android.Manifest.permission.REMOVE_TASKS) public void setDetectNotResponding(long); } public abstract class ContentResolver { method public int checkUriPermission(@NonNull android.net.Uri, int, int); method @NonNull public static android.net.Uri decodeFromFile(@NonNull java.io.File); method @NonNull public static java.io.File encodeToFile(@NonNull android.net.Uri); method @Nullable @RequiresPermission("android.permission.CACHE_CONTENT") public android.os.Bundle getCache(@NonNull android.net.Uri); method @RequiresPermission("android.permission.CACHE_CONTENT") public void putCache(@NonNull android.net.Uri, @Nullable android.os.Bundle); } public abstract class Context { method @NonNull public android.content.Context createContextAsUser(@NonNull android.os.UserHandle, int); method public abstract android.content.Context createCredentialProtectedStorageContext(); method @NonNull public android.content.Context createPackageContextAsUser(@NonNull String, int, @NonNull android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException; method @Nullable public abstract java.io.File getPreloadsFileCache(); method public abstract boolean isCredentialProtectedStorage(); method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public android.content.Intent registerReceiverForAllUsers(@Nullable android.content.BroadcastReceiver, @NonNull android.content.IntentFilter, @Nullable String, @Nullable android.os.Handler); method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public android.content.Intent registerReceiverForAllUsers(@Nullable android.content.BroadcastReceiver, @NonNull android.content.IntentFilter, @Nullable String, @Nullable android.os.Handler, int); method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public abstract void sendBroadcastAsUser(@RequiresPermission android.content.Intent, android.os.UserHandle, @Nullable String, @Nullable android.os.Bundle); method public void sendBroadcastMultiplePermissions(@NonNull android.content.Intent, @NonNull String[], @Nullable android.app.BroadcastOptions); method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public void startActivityAsUser(@NonNull @RequiresPermission android.content.Intent, @NonNull android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public void startActivityAsUser(@NonNull @RequiresPermission android.content.Intent, @Nullable android.os.Bundle, @NonNull android.os.UserHandle); field public static final String AMBIENT_CONTEXT_SERVICE = "ambient_context"; field public static final String APP_HIBERNATION_SERVICE = "app_hibernation"; field public static final String APP_INTEGRITY_SERVICE = "app_integrity"; field public static final String APP_PREDICTION_SERVICE = "app_prediction"; field public static final String AUDIO_DEVICE_VOLUME_SERVICE = "audio_device_volume"; field public static final String BACKUP_SERVICE = "backup"; field public static final String BATTERY_STATS_SERVICE = "batterystats"; field public static final int BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS = 1048576; // 0x100000 field @Deprecated public static final int BIND_ALLOW_FOREGROUND_SERVICE_STARTS_FROM_BACKGROUND = 262144; // 0x40000 field public static final String CLOUDSEARCH_SERVICE = "cloudsearch"; field public static final String CONTENT_SUGGESTIONS_SERVICE = "content_suggestions"; field public static final String CONTEXTHUB_SERVICE = "contexthub"; field public static final String ETHERNET_SERVICE = "ethernet"; field public static final String EUICC_CARD_SERVICE = "euicc_card"; field public static final String FONT_SERVICE = "font"; field public static final String HDMI_CONTROL_SERVICE = "hdmi_control"; field public static final String MEDIA_TRANSCODING_SERVICE = "media_transcoding"; field public static final String MUSIC_RECOGNITION_SERVICE = "music_recognition"; field public static final String NEARBY_SERVICE = "nearby"; field public static final String NETD_SERVICE = "netd"; field @Deprecated public static final String NETWORK_SCORE_SERVICE = "network_score"; field public static final String OEM_LOCK_SERVICE = "oem_lock"; field public static final String PERMISSION_CONTROLLER_SERVICE = "permission_controller"; field public static final String PERMISSION_SERVICE = "permission"; field public static final String PERSISTENT_DATA_BLOCK_SERVICE = "persistent_data_block"; field public static final String REBOOT_READINESS_SERVICE = "reboot_readiness"; field public static final String ROLLBACK_SERVICE = "rollback"; field public static final String SAFETY_CENTER_SERVICE = "safety_center"; field public static final String SEARCH_UI_SERVICE = "search_ui"; field public static final String SECURE_ELEMENT_SERVICE = "secure_element"; field public static final String SHARED_CONNECTIVITY_SERVICE = "shared_connectivity"; field public static final String SMARTSPACE_SERVICE = "smartspace"; field public static final String STATS_MANAGER = "stats"; field public static final String SYSTEM_CONFIG_SERVICE = "system_config"; field public static final String SYSTEM_UPDATE_SERVICE = "system_update"; field public static final String TETHERING_SERVICE = "tethering"; field public static final String TIME_MANAGER_SERVICE = "time_manager"; field public static final String TRANSLATION_MANAGER_SERVICE = "translation"; field public static final String UI_TRANSLATION_SERVICE = "ui_translation"; field public static final String UWB_SERVICE = "uwb"; field public static final String VIRTUALIZATION_SERVICE = "virtualization"; field public static final String VR_SERVICE = "vrmanager"; field public static final String WALLPAPER_EFFECTS_GENERATION_SERVICE = "wallpaper_effects_generation"; field public static final String WEARABLE_SENSING_SERVICE = "wearable_sensing"; field public static final String WIFI_NL80211_SERVICE = "wifinl80211"; field @Deprecated public static final String WIFI_RTT_SERVICE = "rttmanager"; field public static final String WIFI_SCANNING_SERVICE = "wifiscanner"; } public final class ContextParams { method @NonNull @RequiresPermission(android.Manifest.permission.RENOUNCE_PERMISSIONS) public java.util.Set getRenouncedPermissions(); } public static final class ContextParams.Builder { method @NonNull @RequiresPermission(android.Manifest.permission.RENOUNCE_PERMISSIONS) public android.content.ContextParams.Builder setRenouncedPermissions(@Nullable java.util.Set); } public class ContextWrapper extends android.content.Context { method public android.content.Context createCredentialProtectedStorageContext(); method @Nullable public java.io.File getPreloadsFileCache(); method public boolean isCredentialProtectedStorage(); method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, @Nullable String, @Nullable android.os.Bundle); } public class Intent implements java.lang.Cloneable android.os.Parcelable { field public static final String ACTION_ACTIVITY_RECOGNIZER = "android.intent.action.ACTIVITY_RECOGNIZER"; field public static final String ACTION_BATTERY_LEVEL_CHANGED = "android.intent.action.BATTERY_LEVEL_CHANGED"; field public static final String ACTION_CALL_EMERGENCY = "android.intent.action.CALL_EMERGENCY"; field public static final String ACTION_CALL_PRIVILEGED = "android.intent.action.CALL_PRIVILEGED"; field public static final String ACTION_DEVICE_CUSTOMIZATION_READY = "android.intent.action.DEVICE_CUSTOMIZATION_READY"; field public static final String ACTION_DIAL_EMERGENCY = "android.intent.action.DIAL_EMERGENCY"; field public static final String ACTION_DOMAINS_NEED_VERIFICATION = "android.intent.action.DOMAINS_NEED_VERIFICATION"; field public static final String ACTION_FACTORY_RESET = "android.intent.action.FACTORY_RESET"; field public static final String ACTION_GLOBAL_BUTTON = "android.intent.action.GLOBAL_BUTTON"; field public static final String ACTION_INCIDENT_REPORT_READY = "android.intent.action.INCIDENT_REPORT_READY"; field public static final String ACTION_INSTALL_INSTANT_APP_PACKAGE = "android.intent.action.INSTALL_INSTANT_APP_PACKAGE"; field public static final String ACTION_INSTANT_APP_RESOLVER_SETTINGS = "android.intent.action.INSTANT_APP_RESOLVER_SETTINGS"; field @Deprecated public static final String ACTION_INTENT_FILTER_NEEDS_VERIFICATION = "android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION"; field public static final String ACTION_LOAD_DATA = "android.intent.action.LOAD_DATA"; field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_MANAGE_APP_PERMISSION = "android.intent.action.MANAGE_APP_PERMISSION"; field public static final String ACTION_MANAGE_APP_PERMISSIONS = "android.intent.action.MANAGE_APP_PERMISSIONS"; field @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public static final String ACTION_MANAGE_DEFAULT_APP = "android.intent.action.MANAGE_DEFAULT_APP"; field public static final String ACTION_MANAGE_PERMISSIONS = "android.intent.action.MANAGE_PERMISSIONS"; field public static final String ACTION_MANAGE_PERMISSION_APPS = "android.intent.action.MANAGE_PERMISSION_APPS"; field @RequiresPermission(android.Manifest.permission.START_VIEW_PERMISSION_USAGE) public static final String ACTION_MANAGE_PERMISSION_USAGE = "android.intent.action.MANAGE_PERMISSION_USAGE"; field @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public static final String ACTION_MANAGE_SPECIAL_APP_ACCESSES = "android.intent.action.MANAGE_SPECIAL_APP_ACCESSES"; field public static final String ACTION_MASTER_CLEAR_NOTIFICATION = "android.intent.action.MASTER_CLEAR_NOTIFICATION"; field public static final String ACTION_PACKAGE_NEEDS_INTEGRITY_VERIFICATION = "android.intent.action.PACKAGE_NEEDS_INTEGRITY_VERIFICATION"; field public static final String ACTION_PACKAGE_UNSUSPENDED_MANUALLY = "android.intent.action.PACKAGE_UNSUSPENDED_MANUALLY"; field public static final String ACTION_PENDING_INCIDENT_REPORTS_CHANGED = "android.intent.action.PENDING_INCIDENT_REPORTS_CHANGED"; field public static final String ACTION_PRE_BOOT_COMPLETED = "android.intent.action.PRE_BOOT_COMPLETED"; field public static final String ACTION_QUERY_PACKAGE_RESTART = "android.intent.action.QUERY_PACKAGE_RESTART"; field public static final String ACTION_RESOLVE_INSTANT_APP_PACKAGE = "android.intent.action.RESOLVE_INSTANT_APP_PACKAGE"; field @RequiresPermission(android.Manifest.permission.REVIEW_ACCESSIBILITY_SERVICES) public static final String ACTION_REVIEW_ACCESSIBILITY_SERVICES = "android.intent.action.REVIEW_ACCESSIBILITY_SERVICES"; field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_APP_DATA_SHARING_UPDATES = "android.intent.action.REVIEW_APP_DATA_SHARING_UPDATES"; field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_ONGOING_PERMISSION_USAGE = "android.intent.action.REVIEW_ONGOING_PERMISSION_USAGE"; field public static final String ACTION_REVIEW_PERMISSIONS = "android.intent.action.REVIEW_PERMISSIONS"; field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_PERMISSION_HISTORY = "android.intent.action.REVIEW_PERMISSION_HISTORY"; field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_PERMISSION_USAGE = "android.intent.action.REVIEW_PERMISSION_USAGE"; field public static final String ACTION_ROLLBACK_COMMITTED = "android.intent.action.ROLLBACK_COMMITTED"; field public static final String ACTION_SHOW_SUSPENDED_APP_DETAILS = "android.intent.action.SHOW_SUSPENDED_APP_DETAILS"; field @Deprecated public static final String ACTION_SIM_STATE_CHANGED = "android.intent.action.SIM_STATE_CHANGED"; field public static final String ACTION_SPLIT_CONFIGURATION_CHANGED = "android.intent.action.SPLIT_CONFIGURATION_CHANGED"; field public static final String ACTION_UPGRADE_SETUP = "android.intent.action.UPGRADE_SETUP"; field public static final String ACTION_USER_ADDED = "android.intent.action.USER_ADDED"; field public static final String ACTION_USER_REMOVED = "android.intent.action.USER_REMOVED"; field public static final String ACTION_USER_SWITCHED = "android.intent.action.USER_SWITCHED"; field @RequiresPermission(android.Manifest.permission.START_VIEW_APP_FEATURES) public static final String ACTION_VIEW_APP_FEATURES = "android.intent.action.VIEW_APP_FEATURES"; field @RequiresPermission(android.Manifest.permission.MANAGE_SENSOR_PRIVACY) public static final String ACTION_VIEW_SAFETY_CENTER_QS = "android.intent.action.VIEW_SAFETY_CENTER_QS"; field public static final String ACTION_VOICE_ASSIST = "android.intent.action.VOICE_ASSIST"; field public static final String CATEGORY_LEANBACK_SETTINGS = "android.intent.category.LEANBACK_SETTINGS"; field public static final String EXTRA_CALLING_PACKAGE = "android.intent.extra.CALLING_PACKAGE"; field public static final String EXTRA_FORCE_FACTORY_RESET = "android.intent.extra.FORCE_FACTORY_RESET"; field public static final String EXTRA_INSTALL_RESULT = "android.intent.extra.INSTALL_RESULT"; field public static final String EXTRA_INSTANT_APP_ACTION = "android.intent.extra.INSTANT_APP_ACTION"; field public static final String EXTRA_INSTANT_APP_BUNDLES = "android.intent.extra.INSTANT_APP_BUNDLES"; field public static final String EXTRA_INSTANT_APP_EXTRAS = "android.intent.extra.INSTANT_APP_EXTRAS"; field public static final String EXTRA_INSTANT_APP_FAILURE = "android.intent.extra.INSTANT_APP_FAILURE"; field public static final String EXTRA_INSTANT_APP_HOSTNAME = "android.intent.extra.INSTANT_APP_HOSTNAME"; field public static final String EXTRA_INSTANT_APP_SUCCESS = "android.intent.extra.INSTANT_APP_SUCCESS"; field public static final String EXTRA_INSTANT_APP_TOKEN = "android.intent.extra.INSTANT_APP_TOKEN"; field public static final String EXTRA_LONG_VERSION_CODE = "android.intent.extra.LONG_VERSION_CODE"; field public static final String EXTRA_ORIGINATING_UID = "android.intent.extra.ORIGINATING_UID"; field public static final String EXTRA_PERMISSION_NAME = "android.intent.extra.PERMISSION_NAME"; field public static final String EXTRA_REASON = "android.intent.extra.REASON"; field public static final String EXTRA_REMOTE_CALLBACK = "android.intent.extra.REMOTE_CALLBACK"; field public static final String EXTRA_RESULT_NEEDED = "android.intent.extra.RESULT_NEEDED"; field public static final String EXTRA_ROLE_NAME = "android.intent.extra.ROLE_NAME"; field public static final String EXTRA_SHOWING_ATTRIBUTION = "android.intent.extra.SHOWING_ATTRIBUTION"; field public static final String EXTRA_UNINSTALL_ALL_USERS = "android.intent.extra.UNINSTALL_ALL_USERS"; field public static final String EXTRA_UNKNOWN_INSTANT_APP = "android.intent.extra.UNKNOWN_INSTANT_APP"; field public static final String EXTRA_USER_HANDLE = "android.intent.extra.user_handle"; field public static final String EXTRA_VERIFICATION_BUNDLE = "android.intent.extra.VERIFICATION_BUNDLE"; field public static final int FLAG_RECEIVER_INCLUDE_BACKGROUND = 16777216; // 0x1000000 field public static final int FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT = 67108864; // 0x4000000 field public static final String METADATA_SETUP_VERSION = "android.SETUP_VERSION"; } public class IntentFilter implements android.os.Parcelable { method public final int getOrder(); method public final void setOrder(int); } } package android.content.integrity { public class AppIntegrityManager { method @NonNull public String getCurrentRuleSetProvider(); method @NonNull public String getCurrentRuleSetVersion(); method public void updateRuleSet(@NonNull android.content.integrity.RuleSet, @NonNull android.content.IntentSender); field public static final String EXTRA_STATUS = "android.content.integrity.extra.STATUS"; field public static final int STATUS_FAILURE = 1; // 0x1 field public static final int STATUS_SUCCESS = 0; // 0x0 } public abstract class IntegrityFormula { method @NonNull public static android.content.integrity.IntegrityFormula all(@NonNull android.content.integrity.IntegrityFormula...); method @NonNull public static android.content.integrity.IntegrityFormula any(@NonNull android.content.integrity.IntegrityFormula...); method @NonNull public static android.content.integrity.IntegrityFormula not(@NonNull android.content.integrity.IntegrityFormula); } public static final class IntegrityFormula.Application { method @NonNull public static android.content.integrity.IntegrityFormula certificateLineageContains(@NonNull String); method @NonNull public static android.content.integrity.IntegrityFormula certificatesContain(@NonNull String); method @NonNull public static android.content.integrity.IntegrityFormula isPreInstalled(); method @NonNull public static android.content.integrity.IntegrityFormula packageNameEquals(@NonNull String); method @NonNull public static android.content.integrity.IntegrityFormula versionCodeEquals(@NonNull long); method @NonNull public static android.content.integrity.IntegrityFormula versionCodeGreaterThan(@NonNull long); method @NonNull public static android.content.integrity.IntegrityFormula versionCodeGreaterThanOrEqualTo(@NonNull long); } public static final class IntegrityFormula.Installer { method @NonNull public static android.content.integrity.IntegrityFormula certificatesContain(@NonNull String); method @NonNull public static android.content.integrity.IntegrityFormula notAllowedByManifest(); method @NonNull public static android.content.integrity.IntegrityFormula packageNameEquals(@NonNull String); } public static final class IntegrityFormula.SourceStamp { method @NonNull public static android.content.integrity.IntegrityFormula notTrusted(); method @NonNull public static android.content.integrity.IntegrityFormula stampCertificateHashEquals(@NonNull String); } public final class Rule implements android.os.Parcelable { ctor public Rule(@NonNull android.content.integrity.IntegrityFormula, int); method public int describeContents(); method public int getEffect(); method @NonNull public android.content.integrity.IntegrityFormula getFormula(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DENY = 0; // 0x0 field public static final int FORCE_ALLOW = 1; // 0x1 } public class RuleSet { method @NonNull public java.util.List getRules(); method @NonNull public String getVersion(); } public static class RuleSet.Builder { ctor public RuleSet.Builder(); method @NonNull public android.content.integrity.RuleSet.Builder addRules(@NonNull java.util.List); method @NonNull public android.content.integrity.RuleSet build(); method @NonNull public android.content.integrity.RuleSet.Builder setVersion(@NonNull String); } } package android.content.om { public final class OverlayInfo implements android.os.Parcelable { method @Nullable public String getCategory(); method @NonNull public String getPackageName(); method public int getUserId(); method public boolean isEnabled(); } public class OverlayManager { method @Nullable public android.content.om.OverlayInfo getOverlayInfo(@NonNull String, @NonNull android.os.UserHandle); method @NonNull @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public java.util.List getOverlayInfosForTarget(@NonNull String, @NonNull android.os.UserHandle); method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public void setEnabled(@NonNull String, boolean, @NonNull android.os.UserHandle) throws java.lang.IllegalStateException, java.lang.SecurityException; method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public void setEnabledExclusiveInCategory(@NonNull String, @NonNull android.os.UserHandle) throws java.lang.IllegalStateException, java.lang.SecurityException; } } package android.content.pm { public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { method @RequiresPermission(android.Manifest.permission.DELETE_PACKAGES) public boolean hasFragileUserData(); method public boolean isEncryptionAware(); method public boolean isInstantApp(); method public boolean isOem(); method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public boolean isPrivilegedApp(); method public boolean isProduct(); method public boolean isVendor(); field public String credentialProtectedDataDir; field public int targetSandboxVersion; } public class CrossProfileApps { method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_PROFILES, android.Manifest.permission.START_CROSS_PROFILE_ACTIVITIES}) public void startActivity(@NonNull android.content.ComponentName, @NonNull android.os.UserHandle, @Nullable android.app.Activity, @Nullable android.os.Bundle); method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_PROFILES, android.Manifest.permission.START_CROSS_PROFILE_ACTIVITIES}) public void startActivity(@NonNull android.content.ComponentName, @NonNull android.os.UserHandle); } public class DataLoaderParams { method @NonNull public static final android.content.pm.DataLoaderParams forIncremental(@NonNull android.content.ComponentName, @NonNull String); method @NonNull public static final android.content.pm.DataLoaderParams forStreaming(@NonNull android.content.ComponentName, @NonNull String); method @NonNull public final String getArguments(); method @NonNull public final android.content.ComponentName getComponentName(); method @NonNull public final int getType(); } public final class InstallationFile { method public long getLengthBytes(); method public int getLocation(); method @Nullable public byte[] getMetadata(); method @NonNull public String getName(); method @Nullable public byte[] getSignature(); } public final class InstantAppInfo implements android.os.Parcelable { ctor public InstantAppInfo(android.content.pm.ApplicationInfo, String[], String[]); ctor public InstantAppInfo(String, CharSequence, String[], String[]); method public int describeContents(); method @Nullable public android.content.pm.ApplicationInfo getApplicationInfo(); method @Nullable public String[] getGrantedPermissions(); method @NonNull public String getPackageName(); method @Nullable public String[] getRequestedPermissions(); method @NonNull public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.pm.PackageManager); method @NonNull public CharSequence loadLabel(@NonNull android.content.pm.PackageManager); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class InstantAppIntentFilter implements android.os.Parcelable { ctor public InstantAppIntentFilter(@Nullable String, @NonNull java.util.List); method public int describeContents(); method public java.util.List getFilters(); method public String getSplitName(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class InstantAppRequestInfo implements android.os.Parcelable { ctor public InstantAppRequestInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, boolean, @NonNull String); method public int describeContents(); method @Nullable public int[] getHostDigestPrefix(); method @NonNull public android.content.Intent getIntent(); method @NonNull public String getToken(); method @NonNull public android.os.UserHandle getUserHandle(); method public boolean isRequesterInstantApp(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class InstantAppResolveInfo implements android.os.Parcelable { ctor public InstantAppResolveInfo(@NonNull android.content.pm.InstantAppResolveInfo.InstantAppDigest, @Nullable String, @Nullable java.util.List, int); ctor public InstantAppResolveInfo(@NonNull android.content.pm.InstantAppResolveInfo.InstantAppDigest, @Nullable String, @Nullable java.util.List, long, @Nullable android.os.Bundle); ctor public InstantAppResolveInfo(@NonNull String, @Nullable String, @Nullable java.util.List); ctor public InstantAppResolveInfo(@Nullable android.os.Bundle); method public int describeContents(); method public byte[] getDigestBytes(); method public int getDigestPrefix(); method @Nullable public android.os.Bundle getExtras(); method public java.util.List getIntentFilters(); method public long getLongVersionCode(); method public String getPackageName(); method @Deprecated public int getVersionCode(); method public boolean shouldLetInstallerDecide(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class InstantAppResolveInfo.InstantAppDigest implements android.os.Parcelable { ctor public InstantAppResolveInfo.InstantAppDigest(@NonNull String); method public int describeContents(); method public byte[][] getDigestBytes(); method public int[] getDigestPrefix(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final android.content.pm.InstantAppResolveInfo.InstantAppDigest UNDEFINED; } public final class IntentFilterVerificationInfo implements android.os.Parcelable { method public int describeContents(); method public java.util.Set getDomains(); method public String getPackageName(); method public int getStatus(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class LauncherApps { method @Nullable public android.content.pm.LauncherApps.AppUsageLimit getAppUsageLimit(@NonNull String, @NonNull android.os.UserHandle); } public static final class LauncherApps.AppUsageLimit implements android.os.Parcelable { method public int describeContents(); method public long getTotalUsageLimit(); method public long getUsageRemaining(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class LauncherApps.ShortcutQuery { field public static final int FLAG_GET_PERSISTED_DATA = 4096; // 0x1000 field @RequiresPermission(android.Manifest.permission.ACCESS_SHORTCUTS) public static final int FLAG_GET_PERSONS_DATA = 2048; // 0x800 } public class PackageInstaller { method @NonNull public android.content.pm.PackageInstaller.InstallInfo readInstallInfo(@NonNull java.io.File, int) throws android.content.pm.PackageInstaller.PackageParsingException; method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setPermissionsResult(int, boolean); field public static final String ACTION_CONFIRM_INSTALL = "android.content.pm.action.CONFIRM_INSTALL"; field public static final String ACTION_CONFIRM_PRE_APPROVAL = "android.content.pm.action.CONFIRM_PRE_APPROVAL"; field public static final int DATA_LOADER_TYPE_INCREMENTAL = 2; // 0x2 field public static final int DATA_LOADER_TYPE_NONE = 0; // 0x0 field public static final int DATA_LOADER_TYPE_STREAMING = 1; // 0x1 field public static final String EXTRA_CALLBACK = "android.content.pm.extra.CALLBACK"; field public static final String EXTRA_DATA_LOADER_TYPE = "android.content.pm.extra.DATA_LOADER_TYPE"; field public static final String EXTRA_LEGACY_STATUS = "android.content.pm.extra.LEGACY_STATUS"; field public static final String EXTRA_RESOLVED_BASE_PATH = "android.content.pm.extra.RESOLVED_BASE_PATH"; field public static final int LOCATION_DATA_APP = 0; // 0x0 field public static final int LOCATION_MEDIA_DATA = 2; // 0x2 field public static final int LOCATION_MEDIA_OBB = 1; // 0x1 field public static final int REASON_CONFIRM_PACKAGE_CHANGE = 0; // 0x0 field public static final int REASON_OWNERSHIP_CHANGED = 1; // 0x1 field public static final int REASON_REMIND_OWNERSHIP = 2; // 0x2 } public static class PackageInstaller.InstallInfo { method public long calculateInstalledSize(@NonNull android.content.pm.PackageInstaller.SessionParams) throws java.io.IOException; method public int getInstallLocation(); method @NonNull public String getPackageName(); } public static class PackageInstaller.PackageParsingException extends java.lang.Exception { method public int getErrorCode(); } public static class PackageInstaller.Session implements java.io.Closeable { method @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public void addFile(int, @NonNull String, long, @NonNull byte[], @Nullable byte[]); method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void commitTransferred(@NonNull android.content.IntentSender); method @Nullable @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public android.content.pm.DataLoaderParams getDataLoaderParams(); method @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public void removeFile(int, @NonNull String); } public static class PackageInstaller.SessionInfo implements android.os.Parcelable { method public boolean getAllocateAggressive(); method @Deprecated public boolean getAllowDowngrade(); method public int getAutoRevokePermissionsMode(); method public boolean getEnableRollback(); method @Nullable public String[] getGrantedRuntimePermissions(); method public boolean getInstallAsFullApp(boolean); method public boolean getInstallAsInstantApp(boolean); method public boolean getInstallAsVirtualPreload(); method public int getPendingUserActionReason(); method public boolean getRequestDowngrade(); method public int getRollbackDataPolicy(); method @NonNull public java.util.Set getWhitelistedRestrictedPermissions(); } public static class PackageInstaller.SessionParams implements android.os.Parcelable { method @RequiresPermission(android.Manifest.permission.ALLOCATE_AGGRESSIVE) public void setAllocateAggressive(boolean); method @Deprecated public void setAllowDowngrade(boolean); method @RequiresPermission(allOf={android.Manifest.permission.INSTALL_PACKAGES, "com.android.permission.USE_INSTALLER_V2"}) public void setDataLoaderParams(@NonNull android.content.pm.DataLoaderParams); method public void setEnableRollback(boolean); method public void setEnableRollback(boolean, int); method @Deprecated @RequiresPermission(android.Manifest.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS) public void setGrantedRuntimePermissions(String[]); method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setInstallAsApex(); method public void setInstallAsInstantApp(boolean); method public void setInstallAsVirtualPreload(); method public void setRequestDowngrade(boolean); method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setStaged(); } public class PackageItemInfo { method public static void forceSafeLabels(); method @Deprecated @NonNull public CharSequence loadSafeLabel(@NonNull android.content.pm.PackageManager); method @NonNull public CharSequence loadSafeLabel(@NonNull android.content.pm.PackageManager, @FloatRange(from=0) float, int); } public abstract class PackageManager { method @RequiresPermission("android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS") public abstract void addOnPermissionsChangeListener(@NonNull android.content.pm.PackageManager.OnPermissionsChangedListener); method public abstract boolean arePermissionsIndividuallyControlled(); method @NonNull public boolean canUserUninstall(@NonNull String, @NonNull android.os.UserHandle); method @NonNull public abstract java.util.List getAllIntentFilters(@NonNull String); method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_METADATA) public android.os.PersistableBundle getAppMetadata(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException; method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.pm.ApplicationInfo getApplicationInfoAsUser(@NonNull String, int, @NonNull android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException; method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.pm.ApplicationInfo getApplicationInfoAsUser(@NonNull String, @NonNull android.content.pm.PackageManager.ApplicationInfoFlags, @NonNull android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException; method @NonNull public android.content.pm.dex.ArtManager getArtManager(); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_SHARED_LIBRARIES) public java.util.List getDeclaredSharedLibraries(@NonNull String, int); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_SHARED_LIBRARIES) public java.util.List getDeclaredSharedLibraries(@NonNull String, @NonNull android.content.pm.PackageManager.PackageInfoFlags); method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract String getDefaultBrowserPackageNameAsUser(int); method @Nullable @RequiresPermission(android.Manifest.permission.SET_HARMFUL_APP_WARNINGS) public CharSequence getHarmfulAppWarning(@NonNull String); method @Nullable public String getIncidentReportApproverPackageName(); method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract java.util.List getInstalledPackagesAsUser(int, int); method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public java.util.List getInstalledPackagesAsUser(@NonNull android.content.pm.PackageManager.PackageInfoFlags, int); method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_INSTANT_APPS) public abstract android.graphics.drawable.Drawable getInstantAppIcon(String); method @Nullable public abstract android.content.ComponentName getInstantAppInstallerComponent(); method @Nullable public abstract android.content.ComponentName getInstantAppResolverSettingsComponent(); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_INSTANT_APPS) public abstract java.util.List getInstantApps(); method @Deprecated @NonNull public abstract java.util.List getIntentFilterVerifications(@NonNull String); method @Deprecated @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract int getIntentVerificationStatusAsUser(@NonNull String, int); method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public int getPackageUidAsUser(@NonNull String, @NonNull android.content.pm.PackageManager.PackageInfoFlags, int) throws android.content.pm.PackageManager.NameNotFoundException; method @android.content.pm.PackageManager.PermissionFlags @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS, android.Manifest.permission.GET_RUNTIME_PERMISSIONS}) public abstract int getPermissionFlags(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); method @NonNull @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] getUnsuspendablePackages(@NonNull String[]); method @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public abstract void grantRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); method @Deprecated public abstract int installExistingPackage(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException; method @Deprecated public abstract int installExistingPackage(@NonNull String, int) throws android.content.pm.PackageManager.NameNotFoundException; method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List queryBroadcastReceiversAsUser(@NonNull android.content.Intent, int, android.os.UserHandle); method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List queryBroadcastReceiversAsUser(@NonNull android.content.Intent, @NonNull android.content.pm.PackageManager.ResolveInfoFlags, @NonNull android.os.UserHandle); method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List queryIntentActivitiesAsUser(@NonNull android.content.Intent, int, @NonNull android.os.UserHandle); method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List queryIntentActivitiesAsUser(@NonNull android.content.Intent, @NonNull android.content.pm.PackageManager.ResolveInfoFlags, @NonNull android.os.UserHandle); method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List queryIntentContentProvidersAsUser(@NonNull android.content.Intent, int, @NonNull android.os.UserHandle); method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List queryIntentContentProvidersAsUser(@NonNull android.content.Intent, @NonNull android.content.pm.PackageManager.ResolveInfoFlags, @NonNull android.os.UserHandle); method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List queryIntentServicesAsUser(@NonNull android.content.Intent, int, @NonNull android.os.UserHandle); method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List queryIntentServicesAsUser(@NonNull android.content.Intent, @NonNull android.content.pm.PackageManager.ResolveInfoFlags, @NonNull android.os.UserHandle); method public abstract void registerDexModule(@NonNull String, @Nullable android.content.pm.PackageManager.DexModuleRegisterCallback); method @RequiresPermission("android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS") public abstract void removeOnPermissionsChangeListener(@NonNull android.content.pm.PackageManager.OnPermissionsChangedListener); method public void replacePreferredActivity(@NonNull android.content.IntentFilter, int, @NonNull java.util.List, @NonNull android.content.ComponentName); method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public abstract void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle, @NonNull String); method public void sendDeviceCustomizationReadyBroadcast(); method @RequiresPermission(allOf={android.Manifest.permission.SET_PREFERRED_APPLICATIONS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public abstract boolean setDefaultBrowserPackageNameAsUser(@Nullable String, int); method @NonNull @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] setDistractingPackageRestrictions(@NonNull String[], int); method @RequiresPermission(android.Manifest.permission.SET_HARMFUL_APP_WARNINGS) public void setHarmfulAppWarning(@NonNull String, @Nullable CharSequence); method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] setPackagesSuspended(@Nullable String[], boolean, @Nullable android.os.PersistableBundle, @Nullable android.os.PersistableBundle, @Nullable String); method @Nullable @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] setPackagesSuspended(@Nullable String[], boolean, @Nullable android.os.PersistableBundle, @Nullable android.os.PersistableBundle, @Nullable android.content.pm.SuspendDialogInfo); method @RequiresPermission(value=android.Manifest.permission.CHANGE_COMPONENT_ENABLED_STATE, conditional=true) public void setSyntheticAppDetailsActivityEnabled(@NonNull String, boolean); method public void setSystemAppState(@NonNull String, int); method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public abstract void setUpdateAvailable(@NonNull String, boolean); method @NonNull public boolean shouldShowNewAppInstalledNotification(); method @Deprecated @RequiresPermission(android.Manifest.permission.SET_PREFERRED_APPLICATIONS) public abstract boolean updateIntentVerificationStatusAsUser(@NonNull String, int, int); method @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS}) public abstract void updatePermissionFlags(@NonNull String, @NonNull String, @android.content.pm.PackageManager.PermissionFlags int, @android.content.pm.PackageManager.PermissionFlags int, @NonNull android.os.UserHandle); method @Deprecated @RequiresPermission(android.Manifest.permission.INTENT_FILTER_VERIFICATION_AGENT) public abstract void verifyIntentFilter(int, int, @NonNull java.util.List); field public static final String ACTION_REQUEST_PERMISSIONS = "android.content.pm.action.REQUEST_PERMISSIONS"; field public static final String ACTION_REQUEST_PERMISSIONS_FOR_OTHER = "android.content.pm.action.REQUEST_PERMISSIONS_FOR_OTHER"; field public static final int DELETE_ALL_USERS = 2; // 0x2 field public static final int DELETE_FAILED_ABORTED = -5; // 0xfffffffb field public static final int DELETE_FAILED_DEVICE_POLICY_MANAGER = -2; // 0xfffffffe field public static final int DELETE_FAILED_INTERNAL_ERROR = -1; // 0xffffffff field public static final int DELETE_FAILED_OWNER_BLOCKED = -4; // 0xfffffffc field public static final int DELETE_KEEP_DATA = 1; // 0x1 field public static final int DELETE_SUCCEEDED = 1; // 0x1 field public static final String EXTRA_REQUEST_PERMISSIONS_LEGACY_ACCESS_PERMISSION_NAMES = "android.content.pm.extra.REQUEST_PERMISSIONS_LEGACY_ACCESS_PERMISSION_NAMES"; field public static final String EXTRA_REQUEST_PERMISSIONS_NAMES = "android.content.pm.extra.REQUEST_PERMISSIONS_NAMES"; field public static final String EXTRA_REQUEST_PERMISSIONS_RESULTS = "android.content.pm.extra.REQUEST_PERMISSIONS_RESULTS"; field public static final String FEATURE_BROADCAST_RADIO = "android.hardware.broadcastradio"; field public static final String FEATURE_CONTEXT_HUB = "android.hardware.context_hub"; field public static final String FEATURE_EROFS = "android.software.erofs"; field public static final String FEATURE_EROFS_LEGACY = "android.software.erofs_legacy"; field public static final String FEATURE_GAME_SERVICE = "android.software.game_service"; field public static final String FEATURE_INCREMENTAL_DELIVERY = "android.software.incremental_delivery"; field public static final String FEATURE_REBOOT_ESCROW = "android.hardware.reboot_escrow"; field public static final String FEATURE_TELEPHONY_CARRIERLOCK = "android.hardware.telephony.carrierlock"; field public static final String FEATURE_TELEPHONY_IMS_SINGLE_REGISTRATION = "android.hardware.telephony.ims.singlereg"; field public static final String FEATURE_VIRTUALIZATION_FRAMEWORK = "android.software.virtualization_framework"; field public static final int FLAGS_PERMISSION_RESERVED_PERMISSION_CONTROLLER = -268435456; // 0xf0000000 field public static final int FLAG_PERMISSION_APPLY_RESTRICTION = 16384; // 0x4000 field public static final int FLAG_PERMISSION_AUTO_REVOKED = 131072; // 0x20000 field public static final int FLAG_PERMISSION_GRANTED_BY_DEFAULT = 32; // 0x20 field public static final int FLAG_PERMISSION_GRANTED_BY_ROLE = 32768; // 0x8000 field public static final int FLAG_PERMISSION_ONE_TIME = 65536; // 0x10000 field public static final int FLAG_PERMISSION_POLICY_FIXED = 4; // 0x4 field public static final int FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT = 2048; // 0x800 field public static final int FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT = 4096; // 0x1000 field public static final int FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT = 8192; // 0x2000 field public static final int FLAG_PERMISSION_REVIEW_REQUIRED = 64; // 0x40 field public static final int FLAG_PERMISSION_REVOKED_COMPAT = 8; // 0x8 field @Deprecated public static final int FLAG_PERMISSION_REVOKE_ON_UPGRADE = 8; // 0x8 field public static final int FLAG_PERMISSION_REVOKE_WHEN_REQUESTED = 128; // 0x80 field public static final int FLAG_PERMISSION_SELECTED_LOCATION_ACCURACY = 524288; // 0x80000 field public static final int FLAG_PERMISSION_SYSTEM_FIXED = 16; // 0x10 field public static final int FLAG_PERMISSION_USER_FIXED = 2; // 0x2 field public static final int FLAG_PERMISSION_USER_SENSITIVE_WHEN_DENIED = 512; // 0x200 field public static final int FLAG_PERMISSION_USER_SENSITIVE_WHEN_GRANTED = 256; // 0x100 field public static final int FLAG_PERMISSION_USER_SET = 1; // 0x1 field public static final int INSTALL_FAILED_ALREADY_EXISTS = -1; // 0xffffffff field public static final int INSTALL_FAILED_CONFLICTING_PROVIDER = -13; // 0xfffffff3 field public static final int INSTALL_FAILED_CONTAINER_ERROR = -18; // 0xffffffee field public static final int INSTALL_FAILED_CPU_ABI_INCOMPATIBLE = -16; // 0xfffffff0 field public static final int INSTALL_FAILED_DEXOPT = -11; // 0xfffffff5 field public static final int INSTALL_FAILED_DUPLICATE_PACKAGE = -5; // 0xfffffffb field public static final int INSTALL_FAILED_INSUFFICIENT_STORAGE = -4; // 0xfffffffc field public static final int INSTALL_FAILED_INTERNAL_ERROR = -110; // 0xffffff92 field public static final int INSTALL_FAILED_INVALID_APK = -2; // 0xfffffffe field public static final int INSTALL_FAILED_INVALID_INSTALL_LOCATION = -19; // 0xffffffed field public static final int INSTALL_FAILED_INVALID_URI = -3; // 0xfffffffd field public static final int INSTALL_FAILED_MEDIA_UNAVAILABLE = -20; // 0xffffffec field public static final int INSTALL_FAILED_MISSING_FEATURE = -17; // 0xffffffef field public static final int INSTALL_FAILED_MISSING_SHARED_LIBRARY = -9; // 0xfffffff7 field public static final int INSTALL_FAILED_NEWER_SDK = -14; // 0xfffffff2 field public static final int INSTALL_FAILED_NO_SHARED_USER = -6; // 0xfffffffa field public static final int INSTALL_FAILED_OLDER_SDK = -12; // 0xfffffff4 field public static final int INSTALL_FAILED_PACKAGE_CHANGED = -23; // 0xffffffe9 field public static final int INSTALL_FAILED_PERMISSION_MODEL_DOWNGRADE = -26; // 0xffffffe6 field public static final int INSTALL_FAILED_REPLACE_COULDNT_DELETE = -10; // 0xfffffff6 field public static final int INSTALL_FAILED_SANDBOX_VERSION_DOWNGRADE = -27; // 0xffffffe5 field public static final int INSTALL_FAILED_SHARED_USER_INCOMPATIBLE = -8; // 0xfffffff8 field public static final int INSTALL_FAILED_TEST_ONLY = -15; // 0xfffffff1 field public static final int INSTALL_FAILED_UPDATE_INCOMPATIBLE = -7; // 0xfffffff9 field public static final int INSTALL_FAILED_VERIFICATION_FAILURE = -22; // 0xffffffea field public static final int INSTALL_FAILED_VERIFICATION_TIMEOUT = -21; // 0xffffffeb field public static final int INSTALL_PARSE_FAILED_BAD_MANIFEST = -101; // 0xffffff9b field public static final int INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME = -106; // 0xffffff96 field public static final int INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID = -107; // 0xffffff95 field public static final int INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING = -105; // 0xffffff97 field public static final int INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES = -104; // 0xffffff98 field public static final int INSTALL_PARSE_FAILED_MANIFEST_EMPTY = -109; // 0xffffff93 field public static final int INSTALL_PARSE_FAILED_MANIFEST_MALFORMED = -108; // 0xffffff94 field public static final int INSTALL_PARSE_FAILED_NOT_APK = -100; // 0xffffff9c field public static final int INSTALL_PARSE_FAILED_NO_CERTIFICATES = -103; // 0xffffff99 field public static final int INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION = -102; // 0xffffff9a field public static final int INSTALL_SUCCEEDED = 1; // 0x1 field @Deprecated public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS = 2; // 0x2 field @Deprecated public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS_ASK = 4; // 0x4 field @Deprecated public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ASK = 1; // 0x1 field @Deprecated public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER = 3; // 0x3 field @Deprecated public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED = 0; // 0x0 field @Deprecated public static final int INTENT_FILTER_VERIFICATION_FAILURE = -1; // 0xffffffff field @Deprecated public static final int INTENT_FILTER_VERIFICATION_SUCCESS = 1; // 0x1 field @Deprecated public static final int MASK_PERMISSION_FLAGS = 255; // 0xff field public static final int MATCH_ANY_USER = 4194304; // 0x400000 field public static final int MATCH_CLONE_PROFILE = 536870912; // 0x20000000 field public static final int MATCH_FACTORY_ONLY = 2097152; // 0x200000 field public static final int MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS = 536870912; // 0x20000000 field public static final int MATCH_INSTANT = 8388608; // 0x800000 field public static final int MODULE_APEX_NAME = 1; // 0x1 field public static final int RESTRICTION_HIDE_FROM_SUGGESTIONS = 1; // 0x1 field public static final int RESTRICTION_HIDE_NOTIFICATIONS = 2; // 0x2 field public static final int RESTRICTION_NONE = 0; // 0x0 field public static final int ROLLBACK_DATA_POLICY_RESTORE = 0; // 0x0 field public static final int ROLLBACK_DATA_POLICY_RETAIN = 2; // 0x2 field public static final int ROLLBACK_DATA_POLICY_WIPE = 1; // 0x1 field public static final int SYSTEM_APP_STATE_HIDDEN_UNTIL_INSTALLED_HIDDEN = 0; // 0x0 field public static final int SYSTEM_APP_STATE_HIDDEN_UNTIL_INSTALLED_VISIBLE = 1; // 0x1 field public static final int SYSTEM_APP_STATE_INSTALLED = 2; // 0x2 field public static final int SYSTEM_APP_STATE_UNINSTALLED = 3; // 0x3 } public abstract static class PackageManager.DexModuleRegisterCallback { ctor public PackageManager.DexModuleRegisterCallback(); method public abstract void onDexModuleRegistered(String, boolean, String); } public static interface PackageManager.OnPermissionsChangedListener { method public void onPermissionsChanged(int); } @IntDef(prefix={"FLAG_PERMISSION_"}, value={android.content.pm.PackageManager.FLAG_PERMISSION_USER_SET, android.content.pm.PackageManager.FLAG_PERMISSION_USER_FIXED, android.content.pm.PackageManager.FLAG_PERMISSION_POLICY_FIXED, android.content.pm.PackageManager.FLAG_PERMISSION_REVOKE_ON_UPGRADE, android.content.pm.PackageManager.FLAG_PERMISSION_SYSTEM_FIXED, android.content.pm.PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT, android.content.pm.PackageManager.FLAG_PERMISSION_USER_SENSITIVE_WHEN_GRANTED, android.content.pm.PackageManager.FLAG_PERMISSION_USER_SENSITIVE_WHEN_DENIED, android.content.pm.PackageManager.FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT, android.content.pm.PackageManager.FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT, android.content.pm.PackageManager.FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT, android.content.pm.PackageManager.FLAG_PERMISSION_APPLY_RESTRICTION, android.content.pm.PackageManager.FLAG_PERMISSION_GRANTED_BY_ROLE, android.content.pm.PackageManager.FLAG_PERMISSION_REVOKED_COMPAT, android.content.pm.PackageManager.FLAG_PERMISSION_ONE_TIME, android.content.pm.PackageManager.FLAG_PERMISSION_AUTO_REVOKED}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface PackageManager.PermissionFlags { } public static final class PackageManager.UninstallCompleteCallback implements android.os.Parcelable { method public int describeContents(); method public void onUninstallComplete(@NonNull String, int, @Nullable String); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class PermissionGroupInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { field @StringRes public final int backgroundRequestDetailResourceId; field @StringRes public final int backgroundRequestResourceId; field @StringRes public final int requestDetailResourceId; field @StringRes public int requestRes; } public class PermissionInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { field public static final int FLAG_REMOVED = 2; // 0x2 field public static final int PROTECTION_FLAG_APP_PREDICTOR = 2097152; // 0x200000 field public static final int PROTECTION_FLAG_COMPANION = 8388608; // 0x800000 field public static final int PROTECTION_FLAG_CONFIGURATOR = 524288; // 0x80000 field @Deprecated public static final int PROTECTION_FLAG_DOCUMENTER = 262144; // 0x40000 field public static final int PROTECTION_FLAG_INCIDENT_REPORT_APPROVER = 1048576; // 0x100000 field public static final int PROTECTION_FLAG_KNOWN_SIGNER = 134217728; // 0x8000000 field public static final int PROTECTION_FLAG_MODULE = 4194304; // 0x400000 field public static final int PROTECTION_FLAG_OEM = 16384; // 0x4000 field public static final int PROTECTION_FLAG_RECENTS = 33554432; // 0x2000000 field public static final int PROTECTION_FLAG_RETAIL_DEMO = 16777216; // 0x1000000 field public static final int PROTECTION_FLAG_ROLE = 67108864; // 0x4000000 field public static final int PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER = 65536; // 0x10000 field public static final int PROTECTION_FLAG_VENDOR_PRIVILEGED = 32768; // 0x8000 field @Deprecated public static final int PROTECTION_FLAG_WELLBEING = 131072; // 0x20000 field @Nullable public final String backgroundPermission; field @NonNull public java.util.Set knownCerts; field @StringRes public int requestRes; } public class ResolveInfo implements android.os.Parcelable { field public boolean handleAllWebDataURI; } public final class ShortcutInfo implements android.os.Parcelable { method @Nullable public android.app.Person[] getPersons(); } public class ShortcutManager { method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_PREDICTIONS) @WorkerThread public java.util.List getShareTargets(@NonNull android.content.IntentFilter); method public boolean hasShareTargets(@NonNull String); } public static final class ShortcutManager.ShareShortcutInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.content.pm.ShortcutInfo getShortcutInfo(); method @NonNull public android.content.ComponentName getTargetComponent(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SuspendDialogInfo implements android.os.Parcelable { method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field public static final int BUTTON_ACTION_MORE_DETAILS = 0; // 0x0 field public static final int BUTTON_ACTION_UNSUSPEND = 1; // 0x1 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SuspendDialogInfo.Builder { ctor public SuspendDialogInfo.Builder(); method @NonNull public android.content.pm.SuspendDialogInfo build(); method @NonNull public android.content.pm.SuspendDialogInfo.Builder setIcon(@DrawableRes int); method @NonNull public android.content.pm.SuspendDialogInfo.Builder setMessage(@NonNull String); method @NonNull public android.content.pm.SuspendDialogInfo.Builder setMessage(@StringRes int); method @NonNull public android.content.pm.SuspendDialogInfo.Builder setNeutralButtonAction(int); method @NonNull public android.content.pm.SuspendDialogInfo.Builder setNeutralButtonText(@StringRes int); method @NonNull public android.content.pm.SuspendDialogInfo.Builder setNeutralButtonText(@NonNull String); method @NonNull public android.content.pm.SuspendDialogInfo.Builder setTitle(@StringRes int); method @NonNull public android.content.pm.SuspendDialogInfo.Builder setTitle(@NonNull String); } public final class UserProperties implements android.os.Parcelable { method public int describeContents(); method public boolean isCredentialShareableWithParent(); method public boolean isMediaSharedWithParent(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.content.pm.dex { public class ArtManager { method @RequiresPermission(allOf={android.Manifest.permission.READ_RUNTIME_PROFILES, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean isRuntimeProfilingEnabled(int); method @RequiresPermission(allOf={android.Manifest.permission.READ_RUNTIME_PROFILES, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void snapshotRuntimeProfile(int, @Nullable String, @Nullable String, @NonNull java.util.concurrent.Executor, @NonNull android.content.pm.dex.ArtManager.SnapshotRuntimeProfileCallback); field public static final int PROFILE_APPS = 0; // 0x0 field public static final int PROFILE_BOOT_IMAGE = 1; // 0x1 field public static final int SNAPSHOT_FAILED_CODE_PATH_NOT_FOUND = 1; // 0x1 field public static final int SNAPSHOT_FAILED_INTERNAL_ERROR = 2; // 0x2 field public static final int SNAPSHOT_FAILED_PACKAGE_NOT_FOUND = 0; // 0x0 } public abstract static class ArtManager.SnapshotRuntimeProfileCallback { ctor public ArtManager.SnapshotRuntimeProfileCallback(); method public abstract void onError(int); method public abstract void onSuccess(android.os.ParcelFileDescriptor); } } package android.content.pm.permission { @Deprecated public final class RuntimePermissionPresentationInfo implements android.os.Parcelable { ctor @Deprecated public RuntimePermissionPresentationInfo(CharSequence, boolean, boolean); method @Deprecated public int describeContents(); method @Deprecated @NonNull public CharSequence getLabel(); method @Deprecated public boolean isGranted(); method @Deprecated public boolean isStandard(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.content.pm.verify.domain { public final class DomainOwner implements android.os.Parcelable { ctor public DomainOwner(@NonNull String, boolean); method public int describeContents(); method @NonNull public String getPackageName(); method public boolean isOverrideable(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class DomainVerificationInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.Map getHostToStateMap(); method @NonNull public java.util.UUID getIdentifier(); method @NonNull public String getPackageName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int STATE_FIRST_VERIFIER_DEFINED = 1024; // 0x400 field public static final int STATE_MODIFIABLE_UNVERIFIED = 3; // 0x3 field public static final int STATE_MODIFIABLE_VERIFIED = 4; // 0x4 field public static final int STATE_NO_RESPONSE = 0; // 0x0 field public static final int STATE_SUCCESS = 1; // 0x1 field public static final int STATE_UNMODIFIABLE = 2; // 0x2 } public final class DomainVerificationManager { method @Nullable @RequiresPermission(android.Manifest.permission.DOMAIN_VERIFICATION_AGENT) public android.content.pm.verify.domain.DomainVerificationInfo getDomainVerificationInfo(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException; method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION) public java.util.SortedSet getOwnersForDomain(@NonNull String); method @NonNull @RequiresPermission(android.Manifest.permission.DOMAIN_VERIFICATION_AGENT) public java.util.List queryValidVerificationPackageNames(); method @RequiresPermission(android.Manifest.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION) public void setDomainVerificationLinkHandlingAllowed(@NonNull String, boolean) throws android.content.pm.PackageManager.NameNotFoundException; method @CheckResult @RequiresPermission(android.Manifest.permission.DOMAIN_VERIFICATION_AGENT) public int setDomainVerificationStatus(@NonNull java.util.UUID, @NonNull java.util.Set, int) throws android.content.pm.PackageManager.NameNotFoundException; method @CheckResult @RequiresPermission(android.Manifest.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION) public int setDomainVerificationUserSelection(@NonNull java.util.UUID, @NonNull java.util.Set, boolean) throws android.content.pm.PackageManager.NameNotFoundException; field public static final int ERROR_DOMAIN_SET_ID_INVALID = 1; // 0x1 field public static final int ERROR_UNABLE_TO_APPROVE = 3; // 0x3 field public static final int ERROR_UNKNOWN_DOMAIN = 2; // 0x2 field public static final String EXTRA_VERIFICATION_REQUEST = "android.content.pm.verify.domain.extra.VERIFICATION_REQUEST"; field public static final int STATUS_OK = 0; // 0x0 } public final class DomainVerificationRequest implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.Set getPackageNames(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class DomainVerificationUserState implements android.os.Parcelable { method @NonNull public java.util.UUID getIdentifier(); } } package android.content.rollback { public final class PackageRollbackInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public String getPackageName(); method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackFrom(); method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackTo(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class RollbackInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getCausePackages(); method public int getCommittedSessionId(); method @NonNull public java.util.List getPackages(); method public int getRollbackId(); method public boolean isStaged(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class RollbackManager { method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) public void commitRollback(int, @NonNull java.util.List, @NonNull android.content.IntentSender); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) public java.util.List getAvailableRollbacks(); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) public java.util.List getRecentlyCommittedRollbacks(); field public static final String EXTRA_STATUS = "android.content.rollback.extra.STATUS"; field public static final String EXTRA_STATUS_MESSAGE = "android.content.rollback.extra.STATUS_MESSAGE"; field public static final int STATUS_FAILURE = 1; // 0x1 field public static final int STATUS_FAILURE_INSTALL = 3; // 0x3 field public static final int STATUS_FAILURE_ROLLBACK_UNAVAILABLE = 2; // 0x2 field public static final int STATUS_SUCCESS = 0; // 0x0 } } package android.database { public abstract class ContentObserver { method public void onChange(boolean, @NonNull java.util.Collection, int, @NonNull android.os.UserHandle); } } package android.debug { public class AdbManager { method @RequiresPermission(android.Manifest.permission.MANAGE_DEBUGGING) public boolean isAdbWifiQrSupported(); method @RequiresPermission(android.Manifest.permission.MANAGE_DEBUGGING) public boolean isAdbWifiSupported(); } } package android.graphics.fonts { public final class FontFamilyUpdateRequest { method @NonNull public java.util.List getFontFamilies(); method @NonNull public java.util.List getFontFileUpdateRequests(); } public static final class FontFamilyUpdateRequest.Builder { ctor public FontFamilyUpdateRequest.Builder(); method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.Builder addFontFamily(@NonNull android.graphics.fonts.FontFamilyUpdateRequest.FontFamily); method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.Builder addFontFileUpdateRequest(@NonNull android.graphics.fonts.FontFileUpdateRequest); method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest build(); } public static final class FontFamilyUpdateRequest.Font { method @NonNull public java.util.List getAxes(); method @IntRange(from=0) public int getIndex(); method @NonNull public String getPostScriptName(); method @NonNull public android.graphics.fonts.FontStyle getStyle(); } public static final class FontFamilyUpdateRequest.Font.Builder { ctor public FontFamilyUpdateRequest.Font.Builder(@NonNull String, @NonNull android.graphics.fonts.FontStyle); method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.Font build(); method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.Font.Builder setAxes(@NonNull java.util.List); method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.Font.Builder setIndex(@IntRange(from=0) int); } public static final class FontFamilyUpdateRequest.FontFamily { method @NonNull public java.util.List getFonts(); method @NonNull public String getName(); } public static final class FontFamilyUpdateRequest.FontFamily.Builder { ctor public FontFamilyUpdateRequest.FontFamily.Builder(@NonNull String, @NonNull java.util.List); method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.FontFamily.Builder addFont(@NonNull android.graphics.fonts.FontFamilyUpdateRequest.Font); method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.FontFamily build(); } public final class FontFileUpdateRequest { ctor public FontFileUpdateRequest(@NonNull android.os.ParcelFileDescriptor, @NonNull byte[]); method @NonNull public android.os.ParcelFileDescriptor getParcelFileDescriptor(); method @NonNull public byte[] getSignature(); } public class FontManager { method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_FONTS) public android.text.FontConfig getFontConfig(); method @RequiresPermission(android.Manifest.permission.UPDATE_FONTS) public int updateFontFamily(@NonNull android.graphics.fonts.FontFamilyUpdateRequest, @IntRange(from=0) int); field public static final int RESULT_ERROR_DOWNGRADING = -5; // 0xfffffffb field public static final int RESULT_ERROR_FAILED_TO_WRITE_FONT_FILE = -1; // 0xffffffff field public static final int RESULT_ERROR_FAILED_UPDATE_CONFIG = -6; // 0xfffffffa field public static final int RESULT_ERROR_FONT_NOT_FOUND = -9; // 0xfffffff7 field public static final int RESULT_ERROR_FONT_UPDATER_DISABLED = -7; // 0xfffffff9 field public static final int RESULT_ERROR_INVALID_FONT_FILE = -3; // 0xfffffffd field public static final int RESULT_ERROR_INVALID_FONT_NAME = -4; // 0xfffffffc field public static final int RESULT_ERROR_VERIFICATION_FAILURE = -2; // 0xfffffffe field public static final int RESULT_ERROR_VERSION_MISMATCH = -8; // 0xfffffff8 field public static final int RESULT_SUCCESS = 0; // 0x0 } } package android.hardware { public final class Sensor { method public java.util.UUID getUuid(); method public boolean isDataInjectionSupported(); field public static final String STRING_TYPE_DYNAMIC_SENSOR_META = "android.sensor.dynamic_sensor_meta"; field public static final String STRING_TYPE_WRIST_TILT_GESTURE = "android.sensor.wrist_tilt_gesture"; field public static final int TYPE_DYNAMIC_SENSOR_META = 32; // 0x20 field public static final int TYPE_WRIST_TILT_GESTURE = 26; // 0x1a } public abstract class SensorManager { method public boolean initDataInjection(boolean); method public boolean injectSensorData(android.hardware.Sensor, float[], int, long); } public final class SensorPrivacyManager { method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public void addSensorPrivacyListener(int, @NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener); method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public void addSensorPrivacyListener(int, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener); method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public void addSensorPrivacyListener(@NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener); method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public void addSensorPrivacyListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener); method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public boolean areAnySensorPrivacyTogglesEnabled(int); method @Deprecated @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public boolean isSensorPrivacyEnabled(int); method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public boolean isSensorPrivacyEnabled(int, int); method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public void removeSensorPrivacyListener(int, @NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener); method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public void removeSensorPrivacyListener(@NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener); method @RequiresPermission(android.Manifest.permission.MANAGE_SENSOR_PRIVACY) public void setSensorPrivacy(int, boolean); } public static interface SensorPrivacyManager.OnSensorPrivacyChangedListener { method public default void onSensorPrivacyChanged(@NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener.SensorPrivacyChangedParams); method @Deprecated public void onSensorPrivacyChanged(int, boolean); } public static class SensorPrivacyManager.OnSensorPrivacyChangedListener.SensorPrivacyChangedParams { method public int getSensor(); method public int getToggleType(); method public boolean isEnabled(); } } package android.hardware.biometrics { public static interface BiometricManager.Authenticators { field @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static final int BIOMETRIC_CONVENIENCE = 4095; // 0xfff field @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static final int EMPTY_SET = 0; // 0x0 } } package android.hardware.camera2 { public abstract class CameraDevice implements java.lang.AutoCloseable { method @Deprecated public abstract void createCustomCaptureSession(android.hardware.camera2.params.InputConfiguration, @NonNull java.util.List, int, @NonNull android.hardware.camera2.CameraCaptureSession.StateCallback, @Nullable android.os.Handler) throws android.hardware.camera2.CameraAccessException; field public static final int SESSION_OPERATION_MODE_CONSTRAINED_HIGH_SPEED = 1; // 0x1 field public static final int SESSION_OPERATION_MODE_NORMAL = 0; // 0x0 field public static final int SESSION_OPERATION_MODE_VENDOR_START = 32768; // 0x8000 } public final class CameraManager { method @RequiresPermission(allOf={android.Manifest.permission.SYSTEM_CAMERA, android.Manifest.permission.CAMERA}) public void openCamera(@NonNull String, int, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.camera2.CameraDevice.StateCallback) throws android.hardware.camera2.CameraAccessException; } public abstract static class CameraManager.AvailabilityCallback { method @RequiresPermission(android.Manifest.permission.CAMERA_OPEN_CLOSE_LISTENER) public void onCameraClosed(@NonNull String); method @RequiresPermission(android.Manifest.permission.CAMERA_OPEN_CLOSE_LISTENER) public void onCameraOpened(@NonNull String, @NonNull String); } } package android.hardware.camera2.params { public final class OutputConfiguration implements android.os.Parcelable { ctor public OutputConfiguration(@NonNull android.view.Surface, int); ctor public OutputConfiguration(int, @NonNull android.view.Surface, int); method public int getRotation(); field public static final int ROTATION_0 = 0; // 0x0 field public static final int ROTATION_180 = 2; // 0x2 field public static final int ROTATION_270 = 3; // 0x3 field public static final int ROTATION_90 = 1; // 0x1 } } package android.hardware.display { public final class AmbientBrightnessDayStats implements android.os.Parcelable { method public int describeContents(); method public float[] getBucketBoundaries(); method public java.time.LocalDate getLocalDate(); method public float[] getStats(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class BrightnessChangeEvent implements android.os.Parcelable { method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public final float batteryLevel; field public final float brightness; field public final long colorSampleDuration; field public final int colorTemperature; field @Nullable public final long[] colorValueBuckets; field public final boolean isDefaultBrightnessConfig; field public final boolean isUserSetBrightness; field public final float lastBrightness; field public final long[] luxTimestamps; field public final float[] luxValues; field public final boolean nightMode; field public final String packageName; field public final float powerBrightnessFactor; field public final boolean reduceBrightColors; field public final float reduceBrightColorsOffset; field public final int reduceBrightColorsStrength; field public final long timeStamp; field @NonNull public final String uniqueDisplayId; } public final class BrightnessConfiguration implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByCategory(int); method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByPackageName(@NonNull String); method public android.util.Pair getCurve(); method public float getShortTermModelLowerLuxMultiplier(); method public long getShortTermModelTimeoutMillis(); method public float getShortTermModelUpperLuxMultiplier(); method public boolean shouldCollectColorSamples(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final long SHORT_TERM_TIMEOUT_UNSET = -1L; // 0xffffffffffffffffL } public static class BrightnessConfiguration.Builder { ctor public BrightnessConfiguration.Builder(float[], float[]); method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByCategory(int, @NonNull android.hardware.display.BrightnessCorrection); method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByPackageName(@NonNull String, @NonNull android.hardware.display.BrightnessCorrection); method @NonNull public android.hardware.display.BrightnessConfiguration build(); method public int getMaxCorrectionsByCategory(); method public int getMaxCorrectionsByPackageName(); method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setDescription(@Nullable String); method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelLowerLuxMultiplier(@FloatRange(from=0.0f) float); method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelTimeoutMillis(long); method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelUpperLuxMultiplier(@FloatRange(from=0.0f) float); method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShouldCollectColorSamples(boolean); } public final class BrightnessCorrection implements android.os.Parcelable { method @FloatRange(from=0.0) public float apply(@FloatRange(from=0.0) float); method @NonNull public static android.hardware.display.BrightnessCorrection createScaleAndTranslateLog(float, float); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class ColorDisplayManager { method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public int getNightDisplayAutoMode(); method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public int getTransformCapabilities(); method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setAppSaturationLevel(@NonNull String, @IntRange(from=0, to=100) int); method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayAutoMode(int); method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayCustomEndTime(@NonNull java.time.LocalTime); method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayCustomStartTime(@NonNull java.time.LocalTime); method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setSaturationLevel(@IntRange(from=0, to=100) int); field public static final int AUTO_MODE_CUSTOM_TIME = 1; // 0x1 field public static final int AUTO_MODE_DISABLED = 0; // 0x0 field public static final int AUTO_MODE_TWILIGHT = 2; // 0x2 field public static final int CAPABILITY_HARDWARE_ACCELERATION_GLOBAL = 2; // 0x2 field public static final int CAPABILITY_HARDWARE_ACCELERATION_PER_APP = 4; // 0x4 field public static final int CAPABILITY_NONE = 0; // 0x0 field public static final int CAPABILITY_PROTECTED_CONTENT = 1; // 0x1 } public final class DisplayManager { method @Nullable @RequiresPermission("android.permission.CAPTURE_VIDEO_OUTPUT") public static android.hardware.display.VirtualDisplay createVirtualDisplay(@NonNull String, int, int, int, @Nullable android.view.Surface); method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_LIGHT_STATS) public java.util.List getAmbientBrightnessStats(); method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getBrightnessConfiguration(); method @Nullable @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getBrightnessConfigurationForDisplay(@NonNull String); method @RequiresPermission(android.Manifest.permission.BRIGHTNESS_SLIDER_USAGE) public java.util.List getBrightnessEvents(); method @Nullable @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getDefaultBrightnessConfiguration(); method public android.util.Pair getMinimumBrightnessCurve(); method public android.graphics.Point getStableDisplaySize(); method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public void setBrightnessConfiguration(android.hardware.display.BrightnessConfiguration); method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public void setBrightnessConfigurationForDisplay(@NonNull android.hardware.display.BrightnessConfiguration, @NonNull String); method @Deprecated @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_SATURATION) public void setSaturationLevel(float); field public static final int VIRTUAL_DISPLAY_FLAG_STEAL_TOP_FOCUS_DISABLED = 65536; // 0x10000 field public static final int VIRTUAL_DISPLAY_FLAG_TRUSTED = 1024; // 0x400 } } package android.hardware.hdmi { public abstract class HdmiClient { method public android.hardware.hdmi.HdmiDeviceInfo getActiveSource(); method public void selectDevice(int, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.hdmi.HdmiClient.OnDeviceSelectedListener); method public void sendKeyEvent(int, boolean); method public void sendVendorCommand(int, byte[], boolean); method public void setVendorCommandListener(@NonNull android.hardware.hdmi.HdmiControlManager.VendorCommandListener); method public void setVendorCommandListener(@NonNull android.hardware.hdmi.HdmiControlManager.VendorCommandListener, int); } public static interface HdmiClient.OnDeviceSelectedListener { method public void onDeviceSelected(@android.hardware.hdmi.HdmiControlManager.ControlCallbackResult int, int); } public final class HdmiControlManager { method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void addHdmiCecEnabledChangeListener(@NonNull android.hardware.hdmi.HdmiControlManager.CecSettingChangeListener); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void addHdmiCecEnabledChangeListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.hdmi.HdmiControlManager.CecSettingChangeListener); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void addHotplugEventListener(android.hardware.hdmi.HdmiControlManager.HotplugEventListener); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void addHotplugEventListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.hdmi.HdmiControlManager.HotplugEventListener); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public java.util.List getAllowedCecSettingIntValues(@NonNull String); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public java.util.List getAllowedCecSettingStringValues(@NonNull String); method @Nullable public android.hardware.hdmi.HdmiClient getClient(int); method @NonNull public java.util.List getConnectedDevices(); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getEarcEnabled(); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getHdmiCecEnabled(); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getHdmiCecVersion(); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getHdmiCecVolumeControlEnabled(); method public int getPhysicalAddress(); method @Nullable public android.hardware.hdmi.HdmiPlaybackClient getPlaybackClient(); method @NonNull public java.util.List getPortInfo(); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public String getPowerControlMode(); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public String getPowerStateChangeOnActiveSourceLost(); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getRoutingControl(); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getSadPresenceInQuery(@NonNull String); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getSoundbarMode(); method @Nullable public android.hardware.hdmi.HdmiSwitchClient getSwitchClient(); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getSystemAudioControl(); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getSystemAudioModeMuting(); method @Nullable public android.hardware.hdmi.HdmiTvClient getTvClient(); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getTvSendStandbyOnSleep(); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getTvWakeOnOneTouchPlay(); method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public java.util.List getUserCecSettings(); method public boolean isDeviceConnected(@NonNull android.hardware.hdmi.HdmiDeviceInfo); method public void powerOffDevice(@NonNull android.hardware.hdmi.HdmiDeviceInfo); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void removeHdmiCecEnabledChangeListener(@NonNull android.hardware.hdmi.HdmiControlManager.CecSettingChangeListener); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void removeHotplugEventListener(android.hardware.hdmi.HdmiControlManager.HotplugEventListener); method public void setActiveSource(@NonNull android.hardware.hdmi.HdmiDeviceInfo); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setEarcEnabled(@NonNull int); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setHdmiCecEnabled(@NonNull int); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setHdmiCecVersion(@NonNull int); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setHdmiCecVolumeControlEnabled(int); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setPowerControlMode(@NonNull String); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setPowerStateChangeOnActiveSourceLost(@NonNull String); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setRoutingControl(@NonNull int); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setSadPresenceInQuery(@NonNull String, int); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setSadsPresenceInQuery(@NonNull java.util.List, int); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setSoundbarMode(int); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setStandbyMode(boolean); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setSystemAudioControl(@NonNull int); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setSystemAudioModeMuting(@NonNull int); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setTvSendStandbyOnSleep(@NonNull int); method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setTvWakeOnOneTouchPlay(@NonNull int); field public static final String ACTION_OSD_MESSAGE = "android.hardware.hdmi.action.OSD_MESSAGE"; field public static final int AVR_VOLUME_MUTED = 101; // 0x65 field public static final String CEC_SETTING_NAME_HDMI_CEC_ENABLED = "hdmi_cec_enabled"; field public static final String CEC_SETTING_NAME_HDMI_CEC_VERSION = "hdmi_cec_version"; field public static final String CEC_SETTING_NAME_POWER_CONTROL_MODE = "power_control_mode"; field public static final String CEC_SETTING_NAME_POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST = "power_state_change_on_active_source_lost"; field public static final String CEC_SETTING_NAME_QUERY_SAD_AAC = "query_sad_aac"; field public static final String CEC_SETTING_NAME_QUERY_SAD_ATRAC = "query_sad_atrac"; field public static final String CEC_SETTING_NAME_QUERY_SAD_DD = "query_sad_dd"; field public static final String CEC_SETTING_NAME_QUERY_SAD_DDP = "query_sad_ddp"; field public static final String CEC_SETTING_NAME_QUERY_SAD_DST = "query_sad_dst"; field public static final String CEC_SETTING_NAME_QUERY_SAD_DTS = "query_sad_dts"; field public static final String CEC_SETTING_NAME_QUERY_SAD_DTSHD = "query_sad_dtshd"; field public static final String CEC_SETTING_NAME_QUERY_SAD_LPCM = "query_sad_lpcm"; field public static final String CEC_SETTING_NAME_QUERY_SAD_MAX = "query_sad_max"; field public static final String CEC_SETTING_NAME_QUERY_SAD_MP3 = "query_sad_mp3"; field public static final String CEC_SETTING_NAME_QUERY_SAD_MPEG1 = "query_sad_mpeg1"; field public static final String CEC_SETTING_NAME_QUERY_SAD_MPEG2 = "query_sad_mpeg2"; field public static final String CEC_SETTING_NAME_QUERY_SAD_ONEBITAUDIO = "query_sad_onebitaudio"; field public static final String CEC_SETTING_NAME_QUERY_SAD_TRUEHD = "query_sad_truehd"; field public static final String CEC_SETTING_NAME_QUERY_SAD_WMAPRO = "query_sad_wmapro"; field public static final String CEC_SETTING_NAME_ROUTING_CONTROL = "routing_control"; field public static final String CEC_SETTING_NAME_SOUNDBAR_MODE = "soundbar_mode"; field public static final String CEC_SETTING_NAME_SYSTEM_AUDIO_CONTROL = "system_audio_control"; field public static final String CEC_SETTING_NAME_SYSTEM_AUDIO_MODE_MUTING = "system_audio_mode_muting"; field public static final String CEC_SETTING_NAME_TV_SEND_STANDBY_ON_SLEEP = "tv_send_standby_on_sleep"; field public static final String CEC_SETTING_NAME_TV_WAKE_ON_ONE_TOUCH_PLAY = "tv_wake_on_one_touch_play"; field public static final String CEC_SETTING_NAME_VOLUME_CONTROL_MODE = "volume_control_enabled"; field public static final int CLEAR_TIMER_STATUS_CEC_DISABLE = 162; // 0xa2 field public static final int CLEAR_TIMER_STATUS_CHECK_RECORDER_CONNECTION = 160; // 0xa0 field public static final int CLEAR_TIMER_STATUS_FAIL_TO_CLEAR_SELECTED_SOURCE = 161; // 0xa1 field public static final int CLEAR_TIMER_STATUS_TIMER_CLEARED = 128; // 0x80 field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_NO_INFO_AVAILABLE = 2; // 0x2 field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_NO_MATCHING = 1; // 0x1 field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_RECORDING = 0; // 0x0 field public static final int CONTROL_STATE_CHANGED_REASON_SETTING = 1; // 0x1 field public static final int CONTROL_STATE_CHANGED_REASON_STANDBY = 3; // 0x3 field public static final int CONTROL_STATE_CHANGED_REASON_START = 0; // 0x0 field public static final int CONTROL_STATE_CHANGED_REASON_WAKEUP = 2; // 0x2 field public static final int DEVICE_EVENT_ADD_DEVICE = 1; // 0x1 field public static final int DEVICE_EVENT_REMOVE_DEVICE = 2; // 0x2 field public static final int DEVICE_EVENT_UPDATE_DEVICE = 3; // 0x3 field public static final int EARC_FEATURE_DISABLED = 0; // 0x0 field public static final int EARC_FEATURE_ENABLED = 1; // 0x1 field public static final String EXTRA_MESSAGE_EXTRA_PARAM1 = "android.hardware.hdmi.extra.MESSAGE_EXTRA_PARAM1"; field public static final String EXTRA_MESSAGE_ID = "android.hardware.hdmi.extra.MESSAGE_ID"; field public static final int HDMI_CEC_CONTROL_DISABLED = 0; // 0x0 field public static final int HDMI_CEC_CONTROL_ENABLED = 1; // 0x1 field public static final int HDMI_CEC_VERSION_1_4_B = 5; // 0x5 field public static final int HDMI_CEC_VERSION_2_0 = 6; // 0x6 field public static final int ONE_TOUCH_RECORD_ALREADY_RECORDING = 18; // 0x12 field public static final int ONE_TOUCH_RECORD_CEC_DISABLED = 51; // 0x33 field public static final int ONE_TOUCH_RECORD_CHECK_RECORDER_CONNECTION = 49; // 0x31 field public static final int ONE_TOUCH_RECORD_DISALLOW_TO_COPY = 13; // 0xd field public static final int ONE_TOUCH_RECORD_DISALLOW_TO_FUTHER_COPIES = 14; // 0xe field public static final int ONE_TOUCH_RECORD_FAIL_TO_RECORD_DISPLAYED_SCREEN = 50; // 0x32 field public static final int ONE_TOUCH_RECORD_INVALID_EXTERNAL_PHYSICAL_ADDRESS = 10; // 0xa field public static final int ONE_TOUCH_RECORD_INVALID_EXTERNAL_PLUG_NUMBER = 9; // 0x9 field public static final int ONE_TOUCH_RECORD_MEDIA_PROBLEM = 21; // 0x15 field public static final int ONE_TOUCH_RECORD_MEDIA_PROTECTED = 19; // 0x13 field public static final int ONE_TOUCH_RECORD_NOT_ENOUGH_SPACE = 22; // 0x16 field public static final int ONE_TOUCH_RECORD_NO_MEDIA = 16; // 0x10 field public static final int ONE_TOUCH_RECORD_NO_OR_INSUFFICIENT_CA_ENTITLEMENTS = 12; // 0xc field public static final int ONE_TOUCH_RECORD_NO_SOURCE_SIGNAL = 20; // 0x14 field public static final int ONE_TOUCH_RECORD_OTHER_REASON = 31; // 0x1f field public static final int ONE_TOUCH_RECORD_PARENT_LOCK_ON = 23; // 0x17 field public static final int ONE_TOUCH_RECORD_PLAYING = 17; // 0x11 field public static final int ONE_TOUCH_RECORD_PREVIOUS_RECORDING_IN_PROGRESS = 48; // 0x30 field public static final int ONE_TOUCH_RECORD_RECORDING_ALREADY_TERMINATED = 27; // 0x1b field public static final int ONE_TOUCH_RECORD_RECORDING_ANALOGUE_SERVICE = 3; // 0x3 field public static final int ONE_TOUCH_RECORD_RECORDING_CURRENTLY_SELECTED_SOURCE = 1; // 0x1 field public static final int ONE_TOUCH_RECORD_RECORDING_DIGITAL_SERVICE = 2; // 0x2 field public static final int ONE_TOUCH_RECORD_RECORDING_EXTERNAL_INPUT = 4; // 0x4 field public static final int ONE_TOUCH_RECORD_RECORDING_TERMINATED_NORMALLY = 26; // 0x1a field public static final int ONE_TOUCH_RECORD_UNABLE_ANALOGUE_SERVICE = 6; // 0x6 field public static final int ONE_TOUCH_RECORD_UNABLE_DIGITAL_SERVICE = 5; // 0x5 field public static final int ONE_TOUCH_RECORD_UNABLE_SELECTED_SERVICE = 7; // 0x7 field public static final int ONE_TOUCH_RECORD_UNSUPPORTED_CA = 11; // 0xb field public static final int OSD_MESSAGE_ARC_CONNECTED_INVALID_PORT = 1; // 0x1 field public static final int OSD_MESSAGE_AVR_VOLUME_CHANGED = 2; // 0x2 field public static final String POWER_CONTROL_MODE_BROADCAST = "broadcast"; field public static final String POWER_CONTROL_MODE_NONE = "none"; field public static final String POWER_CONTROL_MODE_TV = "to_tv"; field public static final String POWER_CONTROL_MODE_TV_AND_AUDIO_SYSTEM = "to_tv_and_audio_system"; field public static final String POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST_NONE = "none"; field public static final String POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST_STANDBY_NOW = "standby_now"; field public static final int POWER_STATUS_ON = 0; // 0x0 field public static final int POWER_STATUS_STANDBY = 1; // 0x1 field public static final int POWER_STATUS_TRANSIENT_TO_ON = 2; // 0x2 field public static final int POWER_STATUS_TRANSIENT_TO_STANDBY = 3; // 0x3 field public static final int POWER_STATUS_UNKNOWN = -1; // 0xffffffff field public static final int QUERY_SAD_DISABLED = 0; // 0x0 field public static final int QUERY_SAD_ENABLED = 1; // 0x1 field @Deprecated public static final int RESULT_ALREADY_IN_PROGRESS = 4; // 0x4 field public static final int RESULT_COMMUNICATION_FAILED = 7; // 0x7 field public static final int RESULT_EXCEPTION = 5; // 0x5 field public static final int RESULT_INCORRECT_MODE = 6; // 0x6 field public static final int RESULT_SOURCE_NOT_AVAILABLE = 2; // 0x2 field public static final int RESULT_SUCCESS = 0; // 0x0 field public static final int RESULT_TARGET_NOT_AVAILABLE = 3; // 0x3 field public static final int RESULT_TIMEOUT = 1; // 0x1 field public static final int ROUTING_CONTROL_DISABLED = 0; // 0x0 field public static final int ROUTING_CONTROL_ENABLED = 1; // 0x1 field public static final String SETTING_NAME_EARC_ENABLED = "earc_enabled"; field public static final int SOUNDBAR_MODE_DISABLED = 0; // 0x0 field public static final int SOUNDBAR_MODE_ENABLED = 1; // 0x1 field public static final int SYSTEM_AUDIO_CONTROL_DISABLED = 0; // 0x0 field public static final int SYSTEM_AUDIO_CONTROL_ENABLED = 1; // 0x1 field public static final int SYSTEM_AUDIO_MODE_MUTING_DISABLED = 0; // 0x0 field public static final int SYSTEM_AUDIO_MODE_MUTING_ENABLED = 1; // 0x1 field public static final int TIMER_RECORDING_RESULT_EXTRA_CEC_DISABLED = 3; // 0x3 field public static final int TIMER_RECORDING_RESULT_EXTRA_CHECK_RECORDER_CONNECTION = 1; // 0x1 field public static final int TIMER_RECORDING_RESULT_EXTRA_FAIL_TO_RECORD_SELECTED_SOURCE = 2; // 0x2 field public static final int TIMER_RECORDING_RESULT_EXTRA_NO_ERROR = 0; // 0x0 field public static final int TIMER_RECORDING_TYPE_ANALOGUE = 2; // 0x2 field public static final int TIMER_RECORDING_TYPE_DIGITAL = 1; // 0x1 field public static final int TIMER_RECORDING_TYPE_EXTERNAL = 3; // 0x3 field public static final int TIMER_STATUS_MEDIA_INFO_NOT_PRESENT = 2; // 0x2 field public static final int TIMER_STATUS_MEDIA_INFO_PRESENT_NOT_PROTECTED = 0; // 0x0 field public static final int TIMER_STATUS_MEDIA_INFO_PRESENT_PROTECTED = 1; // 0x1 field public static final int TIMER_STATUS_NOT_PROGRAMMED_CA_NOT_SUPPORTED = 6; // 0x6 field public static final int TIMER_STATUS_NOT_PROGRAMMED_CLOCK_FAILURE = 10; // 0xa field public static final int TIMER_STATUS_NOT_PROGRAMMED_DATE_OUT_OF_RANGE = 2; // 0x2 field public static final int TIMER_STATUS_NOT_PROGRAMMED_DUPLICATED = 14; // 0xe field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_EXTERNAL_PHYSICAL_NUMBER = 5; // 0x5 field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_EXTERNAL_PLUG_NUMBER = 4; // 0x4 field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_SEQUENCE = 3; // 0x3 field public static final int TIMER_STATUS_NOT_PROGRAMMED_NO_CA_ENTITLEMENTS = 7; // 0x7 field public static final int TIMER_STATUS_NOT_PROGRAMMED_NO_FREE_TIME = 1; // 0x1 field public static final int TIMER_STATUS_NOT_PROGRAMMED_PARENTAL_LOCK_ON = 9; // 0x9 field public static final int TIMER_STATUS_NOT_PROGRAMMED_UNSUPPORTED_RESOLUTION = 8; // 0x8 field public static final int TIMER_STATUS_PROGRAMMED_INFO_ENOUGH_SPACE = 8; // 0x8 field public static final int TIMER_STATUS_PROGRAMMED_INFO_MIGHT_NOT_ENOUGH_SPACE = 11; // 0xb field public static final int TIMER_STATUS_PROGRAMMED_INFO_NOT_ENOUGH_SPACE = 9; // 0x9 field public static final int TIMER_STATUS_PROGRAMMED_INFO_NO_MEDIA_INFO = 10; // 0xa field public static final int TV_SEND_STANDBY_ON_SLEEP_DISABLED = 0; // 0x0 field public static final int TV_SEND_STANDBY_ON_SLEEP_ENABLED = 1; // 0x1 field public static final int TV_WAKE_ON_ONE_TOUCH_PLAY_DISABLED = 0; // 0x0 field public static final int TV_WAKE_ON_ONE_TOUCH_PLAY_ENABLED = 1; // 0x1 field public static final int VOLUME_CONTROL_DISABLED = 0; // 0x0 field public static final int VOLUME_CONTROL_ENABLED = 1; // 0x1 } public static interface HdmiControlManager.CecSettingChangeListener { method public void onChange(@NonNull String); } @IntDef({android.hardware.hdmi.HdmiControlManager.RESULT_SUCCESS, android.hardware.hdmi.HdmiControlManager.RESULT_TIMEOUT, android.hardware.hdmi.HdmiControlManager.RESULT_SOURCE_NOT_AVAILABLE, android.hardware.hdmi.HdmiControlManager.RESULT_TARGET_NOT_AVAILABLE, android.hardware.hdmi.HdmiControlManager.RESULT_ALREADY_IN_PROGRESS, android.hardware.hdmi.HdmiControlManager.RESULT_EXCEPTION, android.hardware.hdmi.HdmiControlManager.RESULT_INCORRECT_MODE, android.hardware.hdmi.HdmiControlManager.RESULT_COMMUNICATION_FAILED}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public static @interface HdmiControlManager.ControlCallbackResult { } public static interface HdmiControlManager.HotplugEventListener { method public void onReceived(android.hardware.hdmi.HdmiHotplugEvent); } public static interface HdmiControlManager.VendorCommandListener { method public void onControlStateChanged(boolean, int); method public void onReceived(int, int, byte[], boolean); } public class HdmiDeviceInfo implements android.os.Parcelable { ctor @Deprecated public HdmiDeviceInfo(); method public int describeContents(); method public int getAdopterId(); method public int getDeviceId(); method public int getDevicePowerStatus(); method public int getDeviceType(); method public String getDisplayName(); method public int getId(); method public int getLogicalAddress(); method public int getPhysicalAddress(); method public int getPortId(); method public int getVendorId(); method public static int idForCecDevice(int); method public static int idForHardware(int); method public static int idForMhlDevice(int); method public boolean isCecDevice(); method public boolean isInactivated(); method public boolean isMhlDevice(); method public boolean isSourceType(); method public void writeToParcel(android.os.Parcel, int); field public static final int ADDR_INTERNAL = 0; // 0x0 field public static final int ADDR_INVALID = -1; // 0xffffffff field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DEVICE_AUDIO_SYSTEM = 5; // 0x5 field public static final int DEVICE_INACTIVE = -1; // 0xffffffff field public static final int DEVICE_PLAYBACK = 4; // 0x4 field public static final int DEVICE_RECORDER = 1; // 0x1 field public static final int DEVICE_RESERVED = 2; // 0x2 field public static final int DEVICE_TUNER = 3; // 0x3 field public static final int DEVICE_TV = 0; // 0x0 field public static final int ID_INVALID = 65535; // 0xffff field public static final android.hardware.hdmi.HdmiDeviceInfo INACTIVE_DEVICE; field public static final int PATH_INTERNAL = 0; // 0x0 field public static final int PATH_INVALID = 65535; // 0xffff field public static final int PORT_INVALID = -1; // 0xffffffff field public static final int VENDOR_ID_UNKNOWN = 16777215; // 0xffffff } public final class HdmiHotplugEvent implements android.os.Parcelable { method public int describeContents(); method public int getPort(); method public boolean isConnected(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class HdmiPlaybackClient extends android.hardware.hdmi.HdmiClient { method public int getDeviceType(); method public void oneTouchPlay(android.hardware.hdmi.HdmiPlaybackClient.OneTouchPlayCallback); method public void queryDisplayStatus(android.hardware.hdmi.HdmiPlaybackClient.DisplayStatusCallback); method public void sendStandby(); } public static interface HdmiPlaybackClient.DisplayStatusCallback { method public void onComplete(int); } public static interface HdmiPlaybackClient.OneTouchPlayCallback { method public void onComplete(int); } public final class HdmiPortInfo implements android.os.Parcelable { ctor @Deprecated public HdmiPortInfo(int, int, int, boolean, boolean, boolean); method public int describeContents(); method public int getAddress(); method public int getId(); method public int getType(); method public boolean isArcSupported(); method public boolean isCecSupported(); method public boolean isEarcSupported(); method public boolean isMhlSupported(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int PORT_INPUT = 0; // 0x0 field public static final int PORT_OUTPUT = 1; // 0x1 } public static final class HdmiPortInfo.Builder { ctor public HdmiPortInfo.Builder(int, int, int); method @NonNull public android.hardware.hdmi.HdmiPortInfo build(); method @NonNull public android.hardware.hdmi.HdmiPortInfo.Builder setArcSupported(boolean); method @NonNull public android.hardware.hdmi.HdmiPortInfo.Builder setCecSupported(boolean); method @NonNull public android.hardware.hdmi.HdmiPortInfo.Builder setEarcSupported(boolean); method @NonNull public android.hardware.hdmi.HdmiPortInfo.Builder setMhlSupported(boolean); } public abstract class HdmiRecordListener { ctor public HdmiRecordListener(); method public void onClearTimerRecordingResult(int, int); method public void onOneTouchRecordResult(int, int); method public abstract android.hardware.hdmi.HdmiRecordSources.RecordSource onOneTouchRecordSourceRequested(int); method public void onTimerRecordingResult(int, android.hardware.hdmi.HdmiRecordListener.TimerStatusData); } public static class HdmiRecordListener.TimerStatusData { method public int getDurationHour(); method public int getDurationMinute(); method public int getExtraError(); method public int getMediaInfo(); method public int getNotProgammedError(); method public int getProgrammedInfo(); method public boolean isOverlapped(); method public boolean isProgrammed(); } public final class HdmiRecordSources { method public static boolean checkRecordSource(byte[]); method public static android.hardware.hdmi.HdmiRecordSources.OwnSource ofOwnSource(); } public static final class HdmiRecordSources.AnalogueServiceSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource { } public static final class HdmiRecordSources.DigitalServiceSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource { } public static final class HdmiRecordSources.ExternalPhysicalAddress extends android.hardware.hdmi.HdmiRecordSources.RecordSource { } public static final class HdmiRecordSources.ExternalPlugData extends android.hardware.hdmi.HdmiRecordSources.RecordSource { } public static final class HdmiRecordSources.OwnSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource { } public abstract static class HdmiRecordSources.RecordSource { } public class HdmiSwitchClient extends android.hardware.hdmi.HdmiClient { method public int getDeviceType(); method @Deprecated @NonNull public java.util.List getPortInfo(); method public void selectPort(int, @NonNull android.hardware.hdmi.HdmiSwitchClient.OnSelectListener); method public void selectPort(int, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.hdmi.HdmiSwitchClient.OnSelectListener); } public static interface HdmiSwitchClient.OnSelectListener { method public void onSelect(@android.hardware.hdmi.HdmiControlManager.ControlCallbackResult int); } public class HdmiTimerRecordSources { method public static boolean checkTimerRecordSource(int, byte[]); method public static android.hardware.hdmi.HdmiTimerRecordSources.Duration durationOf(int, int); method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofAnalogueSource(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.AnalogueServiceSource); method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofDigitalSource(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.DigitalServiceSource); method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofExternalPhysicalAddress(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.ExternalPhysicalAddress); method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofExternalPlug(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.ExternalPlugData); method public static android.hardware.hdmi.HdmiTimerRecordSources.Time timeOf(int, int); method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo timerInfoOf(int, int, android.hardware.hdmi.HdmiTimerRecordSources.Time, android.hardware.hdmi.HdmiTimerRecordSources.Duration, int); field public static final int RECORDING_SEQUENCE_REPEAT_FRIDAY = 32; // 0x20 field public static final int RECORDING_SEQUENCE_REPEAT_MONDAY = 2; // 0x2 field public static final int RECORDING_SEQUENCE_REPEAT_ONCE_ONLY = 0; // 0x0 field public static final int RECORDING_SEQUENCE_REPEAT_SATUREDAY = 64; // 0x40 field public static final int RECORDING_SEQUENCE_REPEAT_SUNDAY = 1; // 0x1 field public static final int RECORDING_SEQUENCE_REPEAT_THURSDAY = 16; // 0x10 field public static final int RECORDING_SEQUENCE_REPEAT_TUESDAY = 4; // 0x4 field public static final int RECORDING_SEQUENCE_REPEAT_WEDNESDAY = 8; // 0x8 } public static final class HdmiTimerRecordSources.Duration { } public static final class HdmiTimerRecordSources.Time { } public static final class HdmiTimerRecordSources.TimerInfo { } public static final class HdmiTimerRecordSources.TimerRecordSource { } public final class HdmiTvClient extends android.hardware.hdmi.HdmiClient { method public void clearTimerRecording(int, int, android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource); method @Deprecated public void deviceSelect(int, @NonNull android.hardware.hdmi.HdmiTvClient.SelectCallback); method @Deprecated public java.util.List getDeviceList(); method public int getDeviceType(); method public void portSelect(int, @NonNull android.hardware.hdmi.HdmiTvClient.SelectCallback); method public void sendMhlVendorCommand(int, int, int, byte[]); method public void sendStandby(int); method public void setHdmiMhlVendorCommandListener(android.hardware.hdmi.HdmiTvClient.HdmiMhlVendorCommandListener); method public void setInputChangeListener(android.hardware.hdmi.HdmiTvClient.InputChangeListener); method public void setRecordListener(@NonNull android.hardware.hdmi.HdmiRecordListener); method public void setSystemAudioMode(boolean, android.hardware.hdmi.HdmiTvClient.SelectCallback); method public void setSystemAudioMute(boolean); method public void setSystemAudioVolume(int, int, int); method public void startOneTouchRecord(int, @NonNull android.hardware.hdmi.HdmiRecordSources.RecordSource); method public void startTimerRecording(int, int, android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource); method public void stopOneTouchRecord(int); field public static final int VENDOR_DATA_SIZE = 16; // 0x10 } public static interface HdmiTvClient.HdmiMhlVendorCommandListener { method public void onReceived(int, int, int, byte[]); } public static interface HdmiTvClient.InputChangeListener { method public void onChanged(android.hardware.hdmi.HdmiDeviceInfo); } public static interface HdmiTvClient.SelectCallback { method public void onComplete(int); } } package android.hardware.input { public class VirtualDpad implements java.io.Closeable { method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close(); method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendKeyEvent(@NonNull android.hardware.input.VirtualKeyEvent); } public final class VirtualDpadConfig extends android.hardware.input.VirtualInputDeviceConfig implements android.os.Parcelable { method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class VirtualDpadConfig.Builder extends android.hardware.input.VirtualInputDeviceConfig.Builder { ctor public VirtualDpadConfig.Builder(); method @NonNull public android.hardware.input.VirtualDpadConfig build(); } public abstract class VirtualInputDeviceConfig { ctor protected VirtualInputDeviceConfig(@NonNull android.hardware.input.VirtualInputDeviceConfig.Builder>); ctor protected VirtualInputDeviceConfig(@NonNull android.os.Parcel); method public int getAssociatedDisplayId(); method @NonNull public String getInputDeviceName(); method public int getProductId(); method public int getVendorId(); } public abstract static class VirtualInputDeviceConfig.Builder> { ctor public VirtualInputDeviceConfig.Builder(); method @NonNull public T setAssociatedDisplayId(int); method @NonNull public T setInputDeviceName(@NonNull String); method @NonNull public T setProductId(int); method @NonNull public T setVendorId(int); } public final class VirtualKeyEvent implements android.os.Parcelable { method public int describeContents(); method public int getAction(); method public long getEventTimeNanos(); method public int getKeyCode(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int ACTION_DOWN = 0; // 0x0 field public static final int ACTION_UP = 1; // 0x1 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class VirtualKeyEvent.Builder { ctor public VirtualKeyEvent.Builder(); method @NonNull public android.hardware.input.VirtualKeyEvent build(); method @NonNull public android.hardware.input.VirtualKeyEvent.Builder setAction(int); method @NonNull public android.hardware.input.VirtualKeyEvent.Builder setEventTimeNanos(long); method @NonNull public android.hardware.input.VirtualKeyEvent.Builder setKeyCode(int); } public class VirtualKeyboard implements java.io.Closeable { method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close(); method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendKeyEvent(@NonNull android.hardware.input.VirtualKeyEvent); } public final class VirtualKeyboardConfig extends android.hardware.input.VirtualInputDeviceConfig implements android.os.Parcelable { method public int describeContents(); method @NonNull public String getLanguageTag(); method @NonNull public String getLayoutType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final String DEFAULT_LANGUAGE_TAG = "en-Latn-US"; field public static final String DEFAULT_LAYOUT_TYPE = "qwerty"; } public static final class VirtualKeyboardConfig.Builder extends android.hardware.input.VirtualInputDeviceConfig.Builder { ctor public VirtualKeyboardConfig.Builder(); method @NonNull public android.hardware.input.VirtualKeyboardConfig build(); method @NonNull public android.hardware.input.VirtualKeyboardConfig.Builder setLanguageTag(@NonNull String); method @NonNull public android.hardware.input.VirtualKeyboardConfig.Builder setLayoutType(@NonNull String); } public class VirtualMouse implements java.io.Closeable { method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close(); method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.graphics.PointF getCursorPosition(); method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendButtonEvent(@NonNull android.hardware.input.VirtualMouseButtonEvent); method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendRelativeEvent(@NonNull android.hardware.input.VirtualMouseRelativeEvent); method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendScrollEvent(@NonNull android.hardware.input.VirtualMouseScrollEvent); } public final class VirtualMouseButtonEvent implements android.os.Parcelable { method public int describeContents(); method public int getAction(); method public int getButtonCode(); method public long getEventTimeNanos(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int ACTION_BUTTON_PRESS = 11; // 0xb field public static final int ACTION_BUTTON_RELEASE = 12; // 0xc field public static final int BUTTON_BACK = 8; // 0x8 field public static final int BUTTON_FORWARD = 16; // 0x10 field public static final int BUTTON_PRIMARY = 1; // 0x1 field public static final int BUTTON_SECONDARY = 2; // 0x2 field public static final int BUTTON_TERTIARY = 4; // 0x4 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class VirtualMouseButtonEvent.Builder { ctor public VirtualMouseButtonEvent.Builder(); method @NonNull public android.hardware.input.VirtualMouseButtonEvent build(); method @NonNull public android.hardware.input.VirtualMouseButtonEvent.Builder setAction(int); method @NonNull public android.hardware.input.VirtualMouseButtonEvent.Builder setButtonCode(int); method @NonNull public android.hardware.input.VirtualMouseButtonEvent.Builder setEventTimeNanos(long); } public final class VirtualMouseConfig extends android.hardware.input.VirtualInputDeviceConfig implements android.os.Parcelable { method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class VirtualMouseConfig.Builder extends android.hardware.input.VirtualInputDeviceConfig.Builder { ctor public VirtualMouseConfig.Builder(); method @NonNull public android.hardware.input.VirtualMouseConfig build(); } public final class VirtualMouseRelativeEvent implements android.os.Parcelable { method public int describeContents(); method public long getEventTimeNanos(); method public float getRelativeX(); method public float getRelativeY(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class VirtualMouseRelativeEvent.Builder { ctor public VirtualMouseRelativeEvent.Builder(); method @NonNull public android.hardware.input.VirtualMouseRelativeEvent build(); method @NonNull public android.hardware.input.VirtualMouseRelativeEvent.Builder setEventTimeNanos(long); method @NonNull public android.hardware.input.VirtualMouseRelativeEvent.Builder setRelativeX(float); method @NonNull public android.hardware.input.VirtualMouseRelativeEvent.Builder setRelativeY(float); } public final class VirtualMouseScrollEvent implements android.os.Parcelable { method public int describeContents(); method public long getEventTimeNanos(); method public float getXAxisMovement(); method public float getYAxisMovement(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class VirtualMouseScrollEvent.Builder { ctor public VirtualMouseScrollEvent.Builder(); method @NonNull public android.hardware.input.VirtualMouseScrollEvent build(); method @NonNull public android.hardware.input.VirtualMouseScrollEvent.Builder setEventTimeNanos(long); method @NonNull public android.hardware.input.VirtualMouseScrollEvent.Builder setXAxisMovement(@FloatRange(from=-1.0F, to=1.0f) float); method @NonNull public android.hardware.input.VirtualMouseScrollEvent.Builder setYAxisMovement(@FloatRange(from=-1.0F, to=1.0f) float); } public class VirtualNavigationTouchpad implements java.io.Closeable { method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close(); method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendTouchEvent(@NonNull android.hardware.input.VirtualTouchEvent); } public final class VirtualNavigationTouchpadConfig extends android.hardware.input.VirtualInputDeviceConfig implements android.os.Parcelable { method public int describeContents(); method @IntRange(from=1) public int getHeight(); method @IntRange(from=1) public int getWidth(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class VirtualNavigationTouchpadConfig.Builder extends android.hardware.input.VirtualInputDeviceConfig.Builder { ctor public VirtualNavigationTouchpadConfig.Builder(@IntRange(from=1) int, @IntRange(from=1) int); method @NonNull public android.hardware.input.VirtualNavigationTouchpadConfig build(); } public final class VirtualTouchEvent implements android.os.Parcelable { method public int describeContents(); method public int getAction(); method public long getEventTimeNanos(); method public float getMajorAxisSize(); method public int getPointerId(); method public float getPressure(); method public int getToolType(); method public float getX(); method public float getY(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int ACTION_CANCEL = 3; // 0x3 field public static final int ACTION_DOWN = 0; // 0x0 field public static final int ACTION_MOVE = 2; // 0x2 field public static final int ACTION_UP = 1; // 0x1 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TOOL_TYPE_FINGER = 1; // 0x1 field public static final int TOOL_TYPE_PALM = 5; // 0x5 } public static final class VirtualTouchEvent.Builder { ctor public VirtualTouchEvent.Builder(); method @NonNull public android.hardware.input.VirtualTouchEvent build(); method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setAction(int); method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setEventTimeNanos(long); method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setMajorAxisSize(@FloatRange(from=0.0f) float); method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setPointerId(@IntRange(from=0, to=0x10 - 1) int); method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setPressure(@FloatRange(from=0.0f) float); method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setToolType(int); method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setX(float); method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setY(float); } public class VirtualTouchscreen implements java.io.Closeable { method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close(); method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendTouchEvent(@NonNull android.hardware.input.VirtualTouchEvent); } public final class VirtualTouchscreenConfig extends android.hardware.input.VirtualInputDeviceConfig implements android.os.Parcelable { method public int describeContents(); method public int getHeight(); method public int getWidth(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class VirtualTouchscreenConfig.Builder extends android.hardware.input.VirtualInputDeviceConfig.Builder { ctor public VirtualTouchscreenConfig.Builder(@IntRange(from=1) int, @IntRange(from=1) int); method @NonNull public android.hardware.input.VirtualTouchscreenConfig build(); } } package android.hardware.lights { public final class LightState implements android.os.Parcelable { ctor @Deprecated public LightState(@ColorInt int); } public abstract class LightsManager { field @Deprecated public static final int LIGHT_TYPE_MICROPHONE = 8; // 0x8 } public static final class LightsRequest.Builder { method @Deprecated @NonNull public android.hardware.lights.LightsRequest.Builder setLight(@NonNull android.hardware.lights.Light, @NonNull android.hardware.lights.LightState); } } package android.hardware.location { public class ContextHubClient implements java.io.Closeable { method public void close(); method @NonNull public android.hardware.location.ContextHubInfo getAttachedHub(); method @IntRange(from=0, to=65535) public int getId(); method @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public int sendMessageToNanoApp(@NonNull android.hardware.location.NanoAppMessage); } public class ContextHubClientCallback { ctor public ContextHubClientCallback(); method public void onClientAuthorizationChanged(@NonNull android.hardware.location.ContextHubClient, long, int); method public void onHubReset(android.hardware.location.ContextHubClient); method public void onMessageFromNanoApp(android.hardware.location.ContextHubClient, android.hardware.location.NanoAppMessage); method public void onNanoAppAborted(android.hardware.location.ContextHubClient, long, int); method public void onNanoAppDisabled(android.hardware.location.ContextHubClient, long); method public void onNanoAppEnabled(android.hardware.location.ContextHubClient, long); method public void onNanoAppLoaded(android.hardware.location.ContextHubClient, long); method public void onNanoAppUnloaded(android.hardware.location.ContextHubClient, long); } public class ContextHubInfo implements android.os.Parcelable { ctor public ContextHubInfo(); method public int describeContents(); method public byte getChreApiMajorVersion(); method public byte getChreApiMinorVersion(); method public short getChrePatchVersion(); method public long getChrePlatformId(); method public int getId(); method public int getMaxPacketLengthBytes(); method public android.hardware.location.MemoryRegion[] getMemoryRegions(); method public String getName(); method public float getPeakMips(); method public float getPeakPowerDrawMw(); method public int getPlatformVersion(); method public float getSleepPowerDrawMw(); method public int getStaticSwVersion(); method public float getStoppedPowerDrawMw(); method public int[] getSupportedSensors(); method public String getToolchain(); method public int getToolchainVersion(); method public String getVendor(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class ContextHubIntentEvent { method @NonNull public static android.hardware.location.ContextHubIntentEvent fromIntent(@NonNull android.content.Intent); method public int getClientAuthorizationState(); method @NonNull public android.hardware.location.ContextHubInfo getContextHubInfo(); method public int getEventType(); method public int getNanoAppAbortCode(); method public long getNanoAppId(); method @NonNull public android.hardware.location.NanoAppMessage getNanoAppMessage(); } public final class ContextHubManager { method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubClient createClient(@Nullable android.content.Context, @NonNull android.hardware.location.ContextHubInfo, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.location.ContextHubClientCallback); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.ContextHubClientCallback, @NonNull java.util.concurrent.Executor); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.ContextHubClientCallback); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubClient createClient(@Nullable android.content.Context, @NonNull android.hardware.location.ContextHubInfo, @NonNull android.app.PendingIntent, long); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.app.PendingIntent, long); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubTransaction disableNanoApp(@NonNull android.hardware.location.ContextHubInfo, long); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubTransaction enableNanoApp(@NonNull android.hardware.location.ContextHubInfo, long); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public int[] findNanoAppOnHub(int, @NonNull android.hardware.location.NanoAppFilter); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public int[] getContextHubHandles(); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubInfo getContextHubInfo(int); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public java.util.List getContextHubs(); method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.NanoAppInstanceInfo getNanoAppInstanceInfo(int); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public int loadNanoApp(int, @NonNull android.hardware.location.NanoApp); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubTransaction loadNanoApp(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.NanoAppBinary); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubTransaction> queryNanoApps(@NonNull android.hardware.location.ContextHubInfo); method @Deprecated public int registerCallback(@NonNull android.hardware.location.ContextHubManager.Callback); method @Deprecated public int registerCallback(android.hardware.location.ContextHubManager.Callback, android.os.Handler); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public int sendMessage(int, int, @NonNull android.hardware.location.ContextHubMessage); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public int unloadNanoApp(int); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubTransaction unloadNanoApp(@NonNull android.hardware.location.ContextHubInfo, long); method @Deprecated public int unregisterCallback(@NonNull android.hardware.location.ContextHubManager.Callback); field public static final int AUTHORIZATION_DENIED = 0; // 0x0 field public static final int AUTHORIZATION_DENIED_GRACE_PERIOD = 1; // 0x1 field public static final int AUTHORIZATION_GRANTED = 2; // 0x2 field public static final int EVENT_CLIENT_AUTHORIZATION = 7; // 0x7 field public static final int EVENT_HUB_RESET = 6; // 0x6 field public static final int EVENT_NANOAPP_ABORTED = 4; // 0x4 field public static final int EVENT_NANOAPP_DISABLED = 3; // 0x3 field public static final int EVENT_NANOAPP_ENABLED = 2; // 0x2 field public static final int EVENT_NANOAPP_LOADED = 0; // 0x0 field public static final int EVENT_NANOAPP_MESSAGE = 5; // 0x5 field public static final int EVENT_NANOAPP_UNLOADED = 1; // 0x1 field public static final String EXTRA_CLIENT_AUTHORIZATION_STATE = "android.hardware.location.extra.CLIENT_AUTHORIZATION_STATE"; field public static final String EXTRA_CONTEXT_HUB_INFO = "android.hardware.location.extra.CONTEXT_HUB_INFO"; field public static final String EXTRA_EVENT_TYPE = "android.hardware.location.extra.EVENT_TYPE"; field public static final String EXTRA_MESSAGE = "android.hardware.location.extra.MESSAGE"; field public static final String EXTRA_NANOAPP_ABORT_CODE = "android.hardware.location.extra.NANOAPP_ABORT_CODE"; field public static final String EXTRA_NANOAPP_ID = "android.hardware.location.extra.NANOAPP_ID"; } @Deprecated public abstract static class ContextHubManager.Callback { ctor @Deprecated protected ContextHubManager.Callback(); method @Deprecated public abstract void onMessageReceipt(int, int, @NonNull android.hardware.location.ContextHubMessage); } @Deprecated public class ContextHubMessage implements android.os.Parcelable { ctor @Deprecated public ContextHubMessage(int, int, byte[]); method @Deprecated public int describeContents(); method @Deprecated public byte[] getData(); method @Deprecated public int getMsgType(); method @Deprecated public int getVersion(); method @Deprecated public void setMsgData(byte[]); method @Deprecated public void setMsgType(int); method @Deprecated public void setVersion(int); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class ContextHubTransaction { method public int getType(); method public void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnCompleteListener, @NonNull java.util.concurrent.Executor); method public void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnCompleteListener); method public static String typeToString(int, boolean); method public android.hardware.location.ContextHubTransaction.Response waitForResponse(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException; field public static final int RESULT_FAILED_AT_HUB = 5; // 0x5 field public static final int RESULT_FAILED_BAD_PARAMS = 2; // 0x2 field public static final int RESULT_FAILED_BUSY = 4; // 0x4 field public static final int RESULT_FAILED_HAL_UNAVAILABLE = 8; // 0x8 field public static final int RESULT_FAILED_SERVICE_INTERNAL_FAILURE = 7; // 0x7 field public static final int RESULT_FAILED_TIMEOUT = 6; // 0x6 field public static final int RESULT_FAILED_UNINITIALIZED = 3; // 0x3 field public static final int RESULT_FAILED_UNKNOWN = 1; // 0x1 field public static final int RESULT_SUCCESS = 0; // 0x0 field public static final int TYPE_DISABLE_NANOAPP = 3; // 0x3 field public static final int TYPE_ENABLE_NANOAPP = 2; // 0x2 field public static final int TYPE_LOAD_NANOAPP = 0; // 0x0 field public static final int TYPE_QUERY_NANOAPPS = 4; // 0x4 field public static final int TYPE_UNLOAD_NANOAPP = 1; // 0x1 } @java.lang.FunctionalInterface public static interface ContextHubTransaction.OnCompleteListener { method public void onComplete(android.hardware.location.ContextHubTransaction, android.hardware.location.ContextHubTransaction.Response); } public static class ContextHubTransaction.Response { method public R getContents(); method public int getResult(); } public final class GeofenceHardware { method public boolean addGeofence(int, int, android.hardware.location.GeofenceHardwareRequest, android.hardware.location.GeofenceHardwareCallback); method public int[] getMonitoringTypes(); method public int getStatusOfMonitoringType(int); method public boolean pauseGeofence(int, int); method public boolean registerForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback); method public boolean removeGeofence(int, int); method public boolean resumeGeofence(int, int, int); method public boolean unregisterForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback); field public static final int GEOFENCE_ENTERED = 1; // 0x1 field public static final int GEOFENCE_ERROR_ID_EXISTS = 2; // 0x2 field public static final int GEOFENCE_ERROR_ID_UNKNOWN = 3; // 0x3 field public static final int GEOFENCE_ERROR_INSUFFICIENT_MEMORY = 6; // 0x6 field public static final int GEOFENCE_ERROR_INVALID_TRANSITION = 4; // 0x4 field public static final int GEOFENCE_ERROR_TOO_MANY_GEOFENCES = 1; // 0x1 field public static final int GEOFENCE_EXITED = 2; // 0x2 field public static final int GEOFENCE_FAILURE = 5; // 0x5 field public static final int GEOFENCE_SUCCESS = 0; // 0x0 field public static final int GEOFENCE_UNCERTAIN = 4; // 0x4 field public static final int MONITORING_TYPE_FUSED_HARDWARE = 1; // 0x1 field public static final int MONITORING_TYPE_GPS_HARDWARE = 0; // 0x0 field public static final int MONITOR_CURRENTLY_AVAILABLE = 0; // 0x0 field public static final int MONITOR_CURRENTLY_UNAVAILABLE = 1; // 0x1 field public static final int MONITOR_UNSUPPORTED = 2; // 0x2 field public static final int SOURCE_TECHNOLOGY_BLUETOOTH = 16; // 0x10 field public static final int SOURCE_TECHNOLOGY_CELL = 8; // 0x8 field public static final int SOURCE_TECHNOLOGY_GNSS = 1; // 0x1 field public static final int SOURCE_TECHNOLOGY_SENSORS = 4; // 0x4 field public static final int SOURCE_TECHNOLOGY_WIFI = 2; // 0x2 } public abstract class GeofenceHardwareCallback { ctor public GeofenceHardwareCallback(); method public void onGeofenceAdd(int, int); method public void onGeofencePause(int, int); method public void onGeofenceRemove(int, int); method public void onGeofenceResume(int, int); method public void onGeofenceTransition(int, int, android.location.Location, long, int); } public abstract class GeofenceHardwareMonitorCallback { ctor public GeofenceHardwareMonitorCallback(); method @Deprecated public void onMonitoringSystemChange(int, boolean, android.location.Location); method public void onMonitoringSystemChange(android.hardware.location.GeofenceHardwareMonitorEvent); } public class GeofenceHardwareMonitorEvent implements android.os.Parcelable { ctor public GeofenceHardwareMonitorEvent(int, int, int, android.location.Location); method public int describeContents(); method public android.location.Location getLocation(); method public int getMonitoringStatus(); method public int getMonitoringType(); method public int getSourceTechnologies(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class GeofenceHardwareRequest { ctor public GeofenceHardwareRequest(); method public static android.hardware.location.GeofenceHardwareRequest createCircularGeofence(double, double, double); method public int getLastTransition(); method public double getLatitude(); method public double getLongitude(); method public int getMonitorTransitions(); method public int getNotificationResponsiveness(); method public double getRadius(); method public int getSourceTechnologies(); method public int getUnknownTimer(); method public void setLastTransition(int); method public void setMonitorTransitions(int); method public void setNotificationResponsiveness(int); method public void setSourceTechnologies(int); method public void setUnknownTimer(int); } public class MemoryRegion implements android.os.Parcelable { ctor public MemoryRegion(android.os.Parcel); method public int describeContents(); method public int getCapacityBytes(); method public int getFreeCapacityBytes(); method public boolean isExecutable(); method public boolean isReadable(); method public boolean isWritable(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } @Deprecated public class NanoApp implements android.os.Parcelable { ctor @Deprecated public NanoApp(); ctor @Deprecated public NanoApp(int, byte[]); ctor @Deprecated public NanoApp(long, byte[]); method @Deprecated public int describeContents(); method @Deprecated public byte[] getAppBinary(); method @Deprecated public long getAppId(); method @Deprecated public int getAppVersion(); method @Deprecated public String getName(); method @Deprecated public int getNeededExecMemBytes(); method @Deprecated public int getNeededReadMemBytes(); method @Deprecated public int[] getNeededSensors(); method @Deprecated public int getNeededWriteMemBytes(); method @Deprecated public int[] getOutputEvents(); method @Deprecated public String getPublisher(); method @Deprecated public void setAppBinary(byte[]); method @Deprecated public void setAppId(long); method @Deprecated public void setAppVersion(int); method @Deprecated public void setName(String); method @Deprecated public void setNeededExecMemBytes(int); method @Deprecated public void setNeededReadMemBytes(int); method @Deprecated public void setNeededSensors(int[]); method @Deprecated public void setNeededWriteMemBytes(int); method @Deprecated public void setOutputEvents(int[]); method @Deprecated public void setPublisher(String); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class NanoAppBinary implements android.os.Parcelable { ctor public NanoAppBinary(byte[]); method public int describeContents(); method public byte[] getBinary(); method public byte[] getBinaryNoHeader(); method public int getFlags(); method public int getHeaderVersion(); method public long getHwHubType(); method public long getNanoAppId(); method public int getNanoAppVersion(); method public byte getTargetChreApiMajorVersion(); method public byte getTargetChreApiMinorVersion(); method public boolean hasValidHeader(); method public boolean isEncrypted(); method public boolean isSigned(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } @Deprecated public class NanoAppFilter implements android.os.Parcelable { ctor @Deprecated public NanoAppFilter(long, int, int, long); method @Deprecated public int describeContents(); method @Deprecated public boolean testMatch(android.hardware.location.NanoAppInstanceInfo); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated public static final int APP_ANY = -1; // 0xffffffff field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public static final int FLAGS_VERSION_ANY = -1; // 0xffffffff field @Deprecated public static final int FLAGS_VERSION_GREAT_THAN = 2; // 0x2 field @Deprecated public static final int FLAGS_VERSION_LESS_THAN = 4; // 0x4 field @Deprecated public static final int FLAGS_VERSION_STRICTLY_EQUAL = 8; // 0x8 field @Deprecated public static final int HUB_ANY = -1; // 0xffffffff field @Deprecated public static final int VENDOR_ANY = -1; // 0xffffffff } @Deprecated public class NanoAppInstanceInfo implements android.os.Parcelable { ctor @Deprecated public NanoAppInstanceInfo(); method @Deprecated public int describeContents(); method @Deprecated public long getAppId(); method @Deprecated public int getAppVersion(); method @Deprecated public int getContexthubId(); method @Deprecated public int getHandle(); method @Deprecated public String getName(); method @Deprecated public int getNeededExecMemBytes(); method @Deprecated public int getNeededReadMemBytes(); method @Deprecated @NonNull public int[] getNeededSensors(); method @Deprecated public int getNeededWriteMemBytes(); method @Deprecated @NonNull public int[] getOutputEvents(); method @Deprecated public String getPublisher(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class NanoAppMessage implements android.os.Parcelable { method public static android.hardware.location.NanoAppMessage createMessageFromNanoApp(long, int, byte[], boolean); method public static android.hardware.location.NanoAppMessage createMessageToNanoApp(long, int, byte[]); method public int describeContents(); method public byte[] getMessageBody(); method public int getMessageType(); method public long getNanoAppId(); method public boolean isBroadcastMessage(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class NanoAppRpcService implements android.os.Parcelable { ctor public NanoAppRpcService(long, int); method public int describeContents(); method public long getId(); method public int getVersion(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class NanoAppState implements android.os.Parcelable { ctor public NanoAppState(long, int, boolean); ctor public NanoAppState(long, int, boolean, @NonNull java.util.List); ctor public NanoAppState(long, int, boolean, @NonNull java.util.List, @NonNull java.util.List); method public int describeContents(); method public long getNanoAppId(); method @NonNull public java.util.List getNanoAppPermissions(); method public long getNanoAppVersion(); method @NonNull public java.util.List getRpcServices(); method public boolean isEnabled(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.hardware.radio { public final class Announcement implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.hardware.radio.ProgramSelector getSelector(); method public int getType(); method @NonNull public java.util.Map getVendorInfo(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TYPE_EMERGENCY = 1; // 0x1 field public static final int TYPE_EVENT = 6; // 0x6 field public static final int TYPE_MISC = 8; // 0x8 field public static final int TYPE_NEWS = 5; // 0x5 field public static final int TYPE_SPORT = 7; // 0x7 field public static final int TYPE_TRAFFIC = 3; // 0x3 field public static final int TYPE_WARNING = 2; // 0x2 field public static final int TYPE_WEATHER = 4; // 0x4 } public static interface Announcement.OnListUpdatedListener { method public void onListUpdated(java.util.Collection); } public final class ProgramList implements java.lang.AutoCloseable { method public void addOnCompleteListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.OnCompleteListener); method public void addOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnCompleteListener); method public void close(); method @Nullable public android.hardware.radio.RadioManager.ProgramInfo get(@NonNull android.hardware.radio.ProgramSelector.Identifier); method public void registerListCallback(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.ListCallback); method public void registerListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback); method public void removeOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnCompleteListener); method @NonNull public java.util.List toList(); method public void unregisterListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback); } public static final class ProgramList.Filter implements android.os.Parcelable { ctor public ProgramList.Filter(@NonNull java.util.Set, @NonNull java.util.Set, boolean, boolean); method public boolean areCategoriesIncluded(); method public boolean areModificationsExcluded(); method public int describeContents(); method @NonNull public java.util.Set getIdentifierTypes(); method @NonNull public java.util.Set getIdentifiers(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public abstract static class ProgramList.ListCallback { ctor public ProgramList.ListCallback(); method public void onItemChanged(@NonNull android.hardware.radio.ProgramSelector.Identifier); method public void onItemRemoved(@NonNull android.hardware.radio.ProgramSelector.Identifier); } public static interface ProgramList.OnCompleteListener { method public void onComplete(); } public final class ProgramSelector implements android.os.Parcelable { ctor public ProgramSelector(@android.hardware.radio.ProgramSelector.ProgramType int, @NonNull android.hardware.radio.ProgramSelector.Identifier, @Nullable android.hardware.radio.ProgramSelector.Identifier[], @Nullable long[]); method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(@android.hardware.radio.RadioManager.Band int, int); method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(@android.hardware.radio.RadioManager.Band int, int, int); method public int describeContents(); method @NonNull public android.hardware.radio.ProgramSelector.Identifier[] getAllIds(@android.hardware.radio.ProgramSelector.IdentifierType int); method public long getFirstId(@android.hardware.radio.ProgramSelector.IdentifierType int); method @NonNull public android.hardware.radio.ProgramSelector.Identifier getPrimaryId(); method @Deprecated @android.hardware.radio.ProgramSelector.ProgramType public int getProgramType(); method @NonNull public android.hardware.radio.ProgramSelector.Identifier[] getSecondaryIds(); method @Deprecated @NonNull public long[] getVendorIds(); method @NonNull public android.hardware.radio.ProgramSelector withSecondaryPreferred(@NonNull android.hardware.radio.ProgramSelector.Identifier); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int IDENTIFIER_TYPE_AMFM_FREQUENCY = 1; // 0x1 field public static final int IDENTIFIER_TYPE_DAB_DMB_SID_EXT = 14; // 0xe field public static final int IDENTIFIER_TYPE_DAB_ENSEMBLE = 6; // 0x6 field public static final int IDENTIFIER_TYPE_DAB_FREQUENCY = 8; // 0x8 field public static final int IDENTIFIER_TYPE_DAB_SCID = 7; // 0x7 field @Deprecated public static final int IDENTIFIER_TYPE_DAB_SIDECC = 5; // 0x5 field @Deprecated public static final int IDENTIFIER_TYPE_DAB_SID_EXT = 5; // 0x5 field public static final int IDENTIFIER_TYPE_DRMO_FREQUENCY = 10; // 0xa field @Deprecated public static final int IDENTIFIER_TYPE_DRMO_MODULATION = 11; // 0xb field public static final int IDENTIFIER_TYPE_DRMO_SERVICE_ID = 9; // 0x9 field public static final int IDENTIFIER_TYPE_HD_STATION_ID_EXT = 3; // 0x3 field public static final int IDENTIFIER_TYPE_HD_STATION_NAME = 10004; // 0x2714 field @Deprecated public static final int IDENTIFIER_TYPE_HD_SUBCHANNEL = 4; // 0x4 field public static final int IDENTIFIER_TYPE_INVALID = 0; // 0x0 field public static final int IDENTIFIER_TYPE_RDS_PI = 2; // 0x2 field public static final int IDENTIFIER_TYPE_SXM_CHANNEL = 13; // 0xd field public static final int IDENTIFIER_TYPE_SXM_SERVICE_ID = 12; // 0xc field public static final int IDENTIFIER_TYPE_VENDOR_END = 1999; // 0x7cf field @Deprecated public static final int IDENTIFIER_TYPE_VENDOR_PRIMARY_END = 1999; // 0x7cf field @Deprecated public static final int IDENTIFIER_TYPE_VENDOR_PRIMARY_START = 1000; // 0x3e8 field public static final int IDENTIFIER_TYPE_VENDOR_START = 1000; // 0x3e8 field @Deprecated public static final int PROGRAM_TYPE_AM = 1; // 0x1 field @Deprecated public static final int PROGRAM_TYPE_AM_HD = 3; // 0x3 field @Deprecated public static final int PROGRAM_TYPE_DAB = 5; // 0x5 field @Deprecated public static final int PROGRAM_TYPE_DRMO = 6; // 0x6 field @Deprecated public static final int PROGRAM_TYPE_FM = 2; // 0x2 field @Deprecated public static final int PROGRAM_TYPE_FM_HD = 4; // 0x4 field @Deprecated public static final int PROGRAM_TYPE_INVALID = 0; // 0x0 field @Deprecated public static final int PROGRAM_TYPE_SXM = 7; // 0x7 field @Deprecated public static final int PROGRAM_TYPE_VENDOR_END = 1999; // 0x7cf field @Deprecated public static final int PROGRAM_TYPE_VENDOR_START = 1000; // 0x3e8 } public static final class ProgramSelector.Identifier implements android.os.Parcelable { ctor public ProgramSelector.Identifier(@android.hardware.radio.ProgramSelector.IdentifierType int, long); method public int describeContents(); method @android.hardware.radio.ProgramSelector.IdentifierType public int getType(); method public long getValue(); method public boolean isCategoryType(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } @IntDef(prefix={"IDENTIFIER_TYPE_"}, value={android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_INVALID, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_RDS_PI, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_HD_STATION_ID_EXT, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_HD_SUBCHANNEL, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_HD_STATION_NAME, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_SID_EXT, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_SIDECC, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_SCID, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_FREQUENCY, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DRMO_SERVICE_ID, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DRMO_FREQUENCY, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DRMO_MODULATION, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_SXM_SERVICE_ID, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_SXM_CHANNEL, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_DMB_SID_EXT}) @IntRange(from=android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_VENDOR_START, to=android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_VENDOR_END) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface ProgramSelector.IdentifierType { } @Deprecated @IntDef(prefix={"PROGRAM_TYPE_"}, value={android.hardware.radio.ProgramSelector.PROGRAM_TYPE_INVALID, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_AM, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_FM, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_AM_HD, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_FM_HD, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_DAB, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_DRMO, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_SXM}) @IntRange(from=android.hardware.radio.ProgramSelector.PROGRAM_TYPE_VENDOR_START, to=android.hardware.radio.ProgramSelector.PROGRAM_TYPE_VENDOR_END) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface ProgramSelector.ProgramType { } public class RadioManager { method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void addAnnouncementListener(@NonNull java.util.Set, @NonNull android.hardware.radio.Announcement.OnListUpdatedListener); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void addAnnouncementListener(@NonNull java.util.concurrent.Executor, @NonNull java.util.Set, @NonNull android.hardware.radio.Announcement.OnListUpdatedListener); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public int listModules(java.util.List); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public android.hardware.radio.RadioTuner openTuner(int, android.hardware.radio.RadioManager.BandConfig, boolean, android.hardware.radio.RadioTuner.Callback, android.os.Handler); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void removeAnnouncementListener(@NonNull android.hardware.radio.Announcement.OnListUpdatedListener); field public static final int BAND_AM = 0; // 0x0 field public static final int BAND_AM_HD = 3; // 0x3 field public static final int BAND_FM = 1; // 0x1 field public static final int BAND_FM_HD = 2; // 0x2 field public static final int BAND_INVALID = -1; // 0xffffffff field public static final int CLASS_AM_FM = 0; // 0x0 field public static final int CLASS_DT = 2; // 0x2 field public static final int CLASS_SAT = 1; // 0x1 field public static final int CONFIG_DAB_DAB_LINKING = 6; // 0x6 field public static final int CONFIG_DAB_DAB_SOFT_LINKING = 8; // 0x8 field public static final int CONFIG_DAB_FM_LINKING = 7; // 0x7 field public static final int CONFIG_DAB_FM_SOFT_LINKING = 9; // 0x9 field public static final int CONFIG_FORCE_ANALOG = 2; // 0x2 field public static final int CONFIG_FORCE_DIGITAL = 3; // 0x3 field public static final int CONFIG_FORCE_MONO = 1; // 0x1 field public static final int CONFIG_RDS_AF = 4; // 0x4 field public static final int CONFIG_RDS_REG = 5; // 0x5 field public static final int REGION_ITU_1 = 0; // 0x0 field public static final int REGION_ITU_2 = 1; // 0x1 field public static final int REGION_JAPAN = 3; // 0x3 field public static final int REGION_KOREA = 4; // 0x4 field public static final int REGION_OIRT = 2; // 0x2 field public static final int STATUS_BAD_VALUE = -22; // 0xffffffea field public static final int STATUS_DEAD_OBJECT = -32; // 0xffffffe0 field public static final int STATUS_ERROR = -2147483648; // 0x80000000 field public static final int STATUS_INVALID_OPERATION = -38; // 0xffffffda field public static final int STATUS_NO_INIT = -19; // 0xffffffed field public static final int STATUS_OK = 0; // 0x0 field public static final int STATUS_PERMISSION_DENIED = -1; // 0xffffffff field public static final int STATUS_TIMED_OUT = -110; // 0xffffff92 } public static class RadioManager.AmBandConfig extends android.hardware.radio.RadioManager.BandConfig { method public boolean getStereo(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class RadioManager.AmBandConfig.Builder { ctor public RadioManager.AmBandConfig.Builder(android.hardware.radio.RadioManager.AmBandDescriptor); ctor public RadioManager.AmBandConfig.Builder(android.hardware.radio.RadioManager.AmBandConfig); method public android.hardware.radio.RadioManager.AmBandConfig build(); method public android.hardware.radio.RadioManager.AmBandConfig.Builder setStereo(boolean); } public static class RadioManager.AmBandDescriptor extends android.hardware.radio.RadioManager.BandDescriptor { method public boolean isStereoSupported(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } @IntDef(prefix={"BAND_"}, value={android.hardware.radio.RadioManager.BAND_INVALID, android.hardware.radio.RadioManager.BAND_AM, android.hardware.radio.RadioManager.BAND_FM, android.hardware.radio.RadioManager.BAND_AM_HD, android.hardware.radio.RadioManager.BAND_FM_HD}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface RadioManager.Band { } public static class RadioManager.BandConfig implements android.os.Parcelable { method public int describeContents(); method public int getLowerLimit(); method public int getRegion(); method public int getSpacing(); method public int getType(); method public int getUpperLimit(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class RadioManager.BandDescriptor implements android.os.Parcelable { method public int describeContents(); method public int getLowerLimit(); method public int getRegion(); method public int getSpacing(); method public int getType(); method public int getUpperLimit(); method public boolean isAmBand(); method public boolean isFmBand(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class RadioManager.FmBandConfig extends android.hardware.radio.RadioManager.BandConfig { method public boolean getAf(); method public boolean getEa(); method public boolean getRds(); method public boolean getStereo(); method public boolean getTa(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class RadioManager.FmBandConfig.Builder { ctor public RadioManager.FmBandConfig.Builder(android.hardware.radio.RadioManager.FmBandDescriptor); ctor public RadioManager.FmBandConfig.Builder(android.hardware.radio.RadioManager.FmBandConfig); method public android.hardware.radio.RadioManager.FmBandConfig build(); method public android.hardware.radio.RadioManager.FmBandConfig.Builder setAf(boolean); method public android.hardware.radio.RadioManager.FmBandConfig.Builder setEa(boolean); method public android.hardware.radio.RadioManager.FmBandConfig.Builder setRds(boolean); method public android.hardware.radio.RadioManager.FmBandConfig.Builder setStereo(boolean); method public android.hardware.radio.RadioManager.FmBandConfig.Builder setTa(boolean); } public static class RadioManager.FmBandDescriptor extends android.hardware.radio.RadioManager.BandDescriptor { method public boolean isAfSupported(); method public boolean isEaSupported(); method public boolean isRdsSupported(); method public boolean isStereoSupported(); method public boolean isTaSupported(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class RadioManager.ModuleProperties implements android.os.Parcelable { method public int describeContents(); method public android.hardware.radio.RadioManager.BandDescriptor[] getBands(); method public int getClassId(); method @Nullable public java.util.Map getDabFrequencyTable(); method public int getId(); method public String getImplementor(); method public int getNumAudioSources(); method public int getNumTuners(); method public String getProduct(); method public String getSerial(); method @NonNull public String getServiceName(); method @NonNull public java.util.Map getVendorInfo(); method public String getVersion(); method public boolean isBackgroundScanningSupported(); method public boolean isCaptureSupported(); method public boolean isInitializationRequired(); method public boolean isProgramIdentifierSupported(@android.hardware.radio.ProgramSelector.IdentifierType int); method public boolean isProgramTypeSupported(@android.hardware.radio.ProgramSelector.ProgramType int); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class RadioManager.ProgramInfo implements android.os.Parcelable { method public int describeContents(); method @Deprecated public int getChannel(); method @Nullable public android.hardware.radio.ProgramSelector.Identifier getLogicallyTunedTo(); method public android.hardware.radio.RadioMetadata getMetadata(); method @Nullable public android.hardware.radio.ProgramSelector.Identifier getPhysicallyTunedTo(); method @Nullable public java.util.Collection getRelatedContent(); method @NonNull public android.hardware.radio.ProgramSelector getSelector(); method public int getSignalStrength(); method @Deprecated public int getSubChannel(); method @NonNull public java.util.Map getVendorInfo(); method @Deprecated public boolean isDigital(); method public boolean isLive(); method public boolean isMuted(); method public boolean isStereo(); method public boolean isTrafficAnnouncementActive(); method public boolean isTrafficProgram(); method public boolean isTuned(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class RadioMetadata implements android.os.Parcelable { method public boolean containsKey(String); method public int describeContents(); method @Deprecated public android.graphics.Bitmap getBitmap(String); method public android.hardware.radio.RadioMetadata.Clock getClock(String); method public int getInt(String); method public String getString(String); method public java.util.Set keySet(); method public int size(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final String METADATA_KEY_ALBUM = "android.hardware.radio.metadata.ALBUM"; field public static final String METADATA_KEY_ART = "android.hardware.radio.metadata.ART"; field public static final String METADATA_KEY_ARTIST = "android.hardware.radio.metadata.ARTIST"; field public static final String METADATA_KEY_CLOCK = "android.hardware.radio.metadata.CLOCK"; field public static final String METADATA_KEY_DAB_COMPONENT_NAME = "android.hardware.radio.metadata.DAB_COMPONENT_NAME"; field public static final String METADATA_KEY_DAB_COMPONENT_NAME_SHORT = "android.hardware.radio.metadata.DAB_COMPONENT_NAME_SHORT"; field public static final String METADATA_KEY_DAB_ENSEMBLE_NAME = "android.hardware.radio.metadata.DAB_ENSEMBLE_NAME"; field public static final String METADATA_KEY_DAB_ENSEMBLE_NAME_SHORT = "android.hardware.radio.metadata.DAB_ENSEMBLE_NAME_SHORT"; field public static final String METADATA_KEY_DAB_SERVICE_NAME = "android.hardware.radio.metadata.DAB_SERVICE_NAME"; field public static final String METADATA_KEY_DAB_SERVICE_NAME_SHORT = "android.hardware.radio.metadata.DAB_SERVICE_NAME_SHORT"; field public static final String METADATA_KEY_GENRE = "android.hardware.radio.metadata.GENRE"; field public static final String METADATA_KEY_ICON = "android.hardware.radio.metadata.ICON"; field public static final String METADATA_KEY_PROGRAM_NAME = "android.hardware.radio.metadata.PROGRAM_NAME"; field public static final String METADATA_KEY_RBDS_PTY = "android.hardware.radio.metadata.RBDS_PTY"; field public static final String METADATA_KEY_RDS_PI = "android.hardware.radio.metadata.RDS_PI"; field public static final String METADATA_KEY_RDS_PS = "android.hardware.radio.metadata.RDS_PS"; field public static final String METADATA_KEY_RDS_PTY = "android.hardware.radio.metadata.RDS_PTY"; field public static final String METADATA_KEY_RDS_RT = "android.hardware.radio.metadata.RDS_RT"; field public static final String METADATA_KEY_TITLE = "android.hardware.radio.metadata.TITLE"; } public static final class RadioMetadata.Builder { ctor public RadioMetadata.Builder(); ctor public RadioMetadata.Builder(android.hardware.radio.RadioMetadata); method public android.hardware.radio.RadioMetadata build(); method public android.hardware.radio.RadioMetadata.Builder putBitmap(String, android.graphics.Bitmap); method public android.hardware.radio.RadioMetadata.Builder putClock(String, long, int); method public android.hardware.radio.RadioMetadata.Builder putInt(String, int); method public android.hardware.radio.RadioMetadata.Builder putString(String, String); } public static final class RadioMetadata.Clock implements android.os.Parcelable { ctor public RadioMetadata.Clock(long, int); method public int describeContents(); method public int getTimezoneOffsetMinutes(); method public long getUtcEpochSeconds(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public abstract class RadioTuner { ctor public RadioTuner(); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int cancel(); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract void cancelAnnouncement(); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract void close(); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int getConfiguration(android.hardware.radio.RadioManager.BandConfig[]); method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public android.hardware.radio.ProgramList getDynamicProgramList(@Nullable android.hardware.radio.ProgramList.Filter); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract boolean getMute(); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public java.util.Map getParameters(@NonNull java.util.List); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int getProgramInformation(android.hardware.radio.RadioManager.ProgramInfo[]); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract java.util.List getProgramList(@Nullable java.util.Map); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract boolean hasControl(); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract boolean isAnalogForced(); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract boolean isAntennaConnected(); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public boolean isConfigFlagSet(int); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public boolean isConfigFlagSupported(int); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int scan(int, boolean); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public int seek(int, boolean); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract void setAnalogForced(boolean); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void setConfigFlag(int, boolean); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int setConfiguration(android.hardware.radio.RadioManager.BandConfig); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int setMute(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public java.util.Map setParameters(@NonNull java.util.Map); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract boolean startBackgroundScan(); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int step(int, boolean); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int tune(int, int); method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract void tune(@NonNull android.hardware.radio.ProgramSelector); field public static final int DIRECTION_DOWN = 1; // 0x1 field public static final int DIRECTION_UP = 0; // 0x0 field @Deprecated public static final int ERROR_BACKGROUND_SCAN_FAILED = 6; // 0x6 field @Deprecated public static final int ERROR_BACKGROUND_SCAN_UNAVAILABLE = 5; // 0x5 field @Deprecated public static final int ERROR_CANCELLED = 2; // 0x2 field @Deprecated public static final int ERROR_CONFIG = 4; // 0x4 field @Deprecated public static final int ERROR_HARDWARE_FAILURE = 0; // 0x0 field @Deprecated public static final int ERROR_SCAN_TIMEOUT = 3; // 0x3 field @Deprecated public static final int ERROR_SERVER_DIED = 1; // 0x1 field public static final int TUNER_RESULT_CANCELED = 6; // 0x6 field public static final int TUNER_RESULT_INTERNAL_ERROR = 1; // 0x1 field public static final int TUNER_RESULT_INVALID_ARGUMENTS = 2; // 0x2 field public static final int TUNER_RESULT_INVALID_STATE = 3; // 0x3 field public static final int TUNER_RESULT_NOT_SUPPORTED = 4; // 0x4 field public static final int TUNER_RESULT_OK = 0; // 0x0 field public static final int TUNER_RESULT_TIMEOUT = 5; // 0x5 field public static final int TUNER_RESULT_UNKNOWN_ERROR = 7; // 0x7 } public abstract static class RadioTuner.Callback { ctor public RadioTuner.Callback(); method public void onAntennaState(boolean); method public void onBackgroundScanAvailabilityChange(boolean); method public void onBackgroundScanComplete(); method public void onConfigFlagUpdated(int, boolean); method @Deprecated public void onConfigurationChanged(android.hardware.radio.RadioManager.BandConfig); method public void onControlChanged(boolean); method public void onEmergencyAnnouncement(boolean); method @Deprecated public void onError(int); method @Deprecated public void onMetadataChanged(android.hardware.radio.RadioMetadata); method public void onParametersUpdated(@NonNull java.util.Map); method public void onProgramInfoChanged(android.hardware.radio.RadioManager.ProgramInfo); method public void onProgramListChanged(); method public void onTrafficAnnouncement(boolean); method public void onTuneFailed(int, @Nullable android.hardware.radio.ProgramSelector); } } package android.hardware.soundtrigger { public class SoundTrigger { field public static final int RECOGNITION_MODE_GENERIC = 8; // 0x8 field public static final int RECOGNITION_MODE_USER_AUTHENTICATION = 4; // 0x4 field public static final int RECOGNITION_MODE_USER_IDENTIFICATION = 2; // 0x2 field public static final int RECOGNITION_MODE_VOICE_TRIGGER = 1; // 0x1 field public static final int STATUS_OK = 0; // 0x0 } public static final class SoundTrigger.Keyphrase implements android.os.Parcelable { ctor public SoundTrigger.Keyphrase(int, int, @NonNull java.util.Locale, @NonNull String, @Nullable int[]); method public int describeContents(); method public int getId(); method @NonNull public java.util.Locale getLocale(); method public int getRecognitionModes(); method @NonNull public String getText(); method @NonNull public int[] getUsers(); method @NonNull public static android.hardware.soundtrigger.SoundTrigger.Keyphrase readFromParcel(@NonNull android.os.Parcel); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SoundTrigger.KeyphraseRecognitionExtra implements android.os.Parcelable { method public int describeContents(); method @IntRange(from=0, to=100) public int getCoarseConfidenceLevel(); method public int getKeyphraseId(); method public int getRecognitionModes(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SoundTrigger.KeyphraseSoundModel extends android.hardware.soundtrigger.SoundTrigger.SoundModel implements android.os.Parcelable { ctor public SoundTrigger.KeyphraseSoundModel(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[], int); ctor public SoundTrigger.KeyphraseSoundModel(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[]); method public int describeContents(); method @NonNull public android.hardware.soundtrigger.SoundTrigger.Keyphrase[] getKeyphrases(); method @NonNull public static android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel readFromParcel(@NonNull android.os.Parcel); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SoundTrigger.ModelParamRange implements android.os.Parcelable { method public int describeContents(); method public int getEnd(); method public int getStart(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SoundTrigger.ModuleProperties implements android.os.Parcelable { method public int describeContents(); method public int getAudioCapabilities(); method @NonNull public String getDescription(); method public int getId(); method @NonNull public String getImplementor(); method public int getMaxBufferMillis(); method public int getMaxKeyphrases(); method public int getMaxSoundModels(); method public int getMaxUsers(); method public int getPowerConsumptionMw(); method public int getRecognitionModes(); method @NonNull public String getSupportedModelArch(); method @NonNull public java.util.UUID getUuid(); method public int getVersion(); method public boolean isCaptureTransitionSupported(); method public boolean isConcurrentCaptureSupported(); method public boolean isTriggerReturnedInEvent(); method public void writeToParcel(android.os.Parcel, int); field public static final int AUDIO_CAPABILITY_ECHO_CANCELLATION = 1; // 0x1 field public static final int AUDIO_CAPABILITY_NOISE_SUPPRESSION = 2; // 0x2 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class SoundTrigger.RecognitionEvent { method @Nullable public android.media.AudioFormat getCaptureFormat(); method public int getCaptureSession(); method public byte[] getData(); method public long getHalEventReceivedMillis(); method public boolean isCaptureAvailable(); } public static class SoundTrigger.SoundModel { method @NonNull public byte[] getData(); method public int getType(); method @NonNull public java.util.UUID getUuid(); method @NonNull public java.util.UUID getVendorUuid(); method public int getVersion(); field public static final int TYPE_GENERIC_SOUND = 1; // 0x1 field public static final int TYPE_KEYPHRASE = 0; // 0x0 } } package android.hardware.usb { public final class DisplayPortAltModeInfo implements android.os.Parcelable { method public int describeContents(); method public int getCableStatus(); method public int getLinkTrainingStatus(); method public int getNumberOfLanes(); method public int getPartnerSinkStatus(); method public boolean isHotPlugDetectActive(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DISPLAYPORT_ALT_MODE_STATUS_CAPABLE_DISABLED = 2; // 0x2 field public static final int DISPLAYPORT_ALT_MODE_STATUS_ENABLED = 3; // 0x3 field public static final int DISPLAYPORT_ALT_MODE_STATUS_NOT_CAPABLE = 1; // 0x1 field public static final int DISPLAYPORT_ALT_MODE_STATUS_UNKNOWN = 0; // 0x0 field public static final int LINK_TRAINING_STATUS_FAILURE = 2; // 0x2 field public static final int LINK_TRAINING_STATUS_SUCCESS = 1; // 0x1 field public static final int LINK_TRAINING_STATUS_UNKNOWN = 0; // 0x0 } public class UsbDeviceConnection { method public boolean resetDevice(); } public class UsbManager { method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public long getCurrentFunctions(); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_USB) public java.util.List getPorts(); method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void grantPermission(android.hardware.usb.UsbDevice, String); method public static boolean isUvcSupportEnabled(); method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void registerDisplayPortAltModeInfoListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.usb.UsbManager.DisplayPortAltModeInfoListener); method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void resetUsbGadget(); method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void setCurrentFunctions(long); method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void unregisterDisplayPortAltModeInfoListener(@NonNull android.hardware.usb.UsbManager.DisplayPortAltModeInfoListener); field @RequiresPermission(android.Manifest.permission.MANAGE_USB) public static final String ACTION_USB_ACCESSORY_HANDSHAKE = "android.hardware.usb.action.USB_ACCESSORY_HANDSHAKE"; field @RequiresPermission(android.Manifest.permission.MANAGE_USB) public static final String ACTION_USB_PORT_CHANGED = "android.hardware.usb.action.USB_PORT_CHANGED"; field @RequiresPermission(android.Manifest.permission.MANAGE_USB) public static final String ACTION_USB_PORT_COMPLIANCE_CHANGED = "android.hardware.usb.action.USB_PORT_COMPLIANCE_CHANGED"; field public static final String ACTION_USB_STATE = "android.hardware.usb.action.USB_STATE"; field public static final String EXTRA_ACCESSORY_HANDSHAKE_END = "android.hardware.usb.extra.ACCESSORY_HANDSHAKE_END"; field public static final String EXTRA_ACCESSORY_START = "android.hardware.usb.extra.ACCESSORY_START"; field public static final String EXTRA_ACCESSORY_STRING_COUNT = "android.hardware.usb.extra.ACCESSORY_STRING_COUNT"; field public static final String EXTRA_ACCESSORY_UEVENT_TIME = "android.hardware.usb.extra.ACCESSORY_UEVENT_TIME"; field public static final long FUNCTION_ACCESSORY = 2L; // 0x2L field public static final long FUNCTION_ADB = 1L; // 0x1L field public static final long FUNCTION_AUDIO_SOURCE = 64L; // 0x40L field public static final long FUNCTION_MIDI = 8L; // 0x8L field public static final long FUNCTION_MTP = 4L; // 0x4L field public static final long FUNCTION_NCM = 1024L; // 0x400L field public static final long FUNCTION_NONE = 0L; // 0x0L field public static final long FUNCTION_PTP = 16L; // 0x10L field public static final long FUNCTION_RNDIS = 32L; // 0x20L field public static final long FUNCTION_UVC = 128L; // 0x80L field public static final String USB_CONFIGURED = "configured"; field public static final String USB_CONNECTED = "connected"; field public static final String USB_FUNCTION_NCM = "ncm"; field public static final String USB_FUNCTION_RNDIS = "rndis"; } public static interface UsbManager.DisplayPortAltModeInfoListener { method public void onDisplayPortAltModeInfoChanged(@NonNull String, @NonNull android.hardware.usb.DisplayPortAltModeInfo); } public final class UsbPort { method @CheckResult @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int enableLimitPowerTransfer(boolean); method @CheckResult @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int enableUsbData(boolean); method @CheckResult @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int enableUsbDataWhileDocked(); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USB) public android.hardware.usb.UsbPortStatus getStatus(); method public boolean isAltModeSupported(int); method @CheckResult @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void resetUsbPort(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void setRoles(int, int); method @CheckResult @RequiresPermission(android.Manifest.permission.MANAGE_USB) public boolean supportsComplianceWarnings(); field public static final int ENABLE_LIMIT_POWER_TRANSFER_ERROR_INTERNAL = 1; // 0x1 field public static final int ENABLE_LIMIT_POWER_TRANSFER_ERROR_NOT_SUPPORTED = 2; // 0x2 field public static final int ENABLE_LIMIT_POWER_TRANSFER_ERROR_OTHER = 4; // 0x4 field public static final int ENABLE_LIMIT_POWER_TRANSFER_ERROR_PORT_MISMATCH = 3; // 0x3 field public static final int ENABLE_LIMIT_POWER_TRANSFER_SUCCESS = 0; // 0x0 field public static final int ENABLE_USB_DATA_ERROR_INTERNAL = 1; // 0x1 field public static final int ENABLE_USB_DATA_ERROR_NOT_SUPPORTED = 2; // 0x2 field public static final int ENABLE_USB_DATA_ERROR_OTHER = 4; // 0x4 field public static final int ENABLE_USB_DATA_ERROR_PORT_MISMATCH = 3; // 0x3 field public static final int ENABLE_USB_DATA_SUCCESS = 0; // 0x0 field public static final int ENABLE_USB_DATA_WHILE_DOCKED_ERROR_DATA_ENABLED = 4; // 0x4 field public static final int ENABLE_USB_DATA_WHILE_DOCKED_ERROR_INTERNAL = 1; // 0x1 field public static final int ENABLE_USB_DATA_WHILE_DOCKED_ERROR_NOT_SUPPORTED = 2; // 0x2 field public static final int ENABLE_USB_DATA_WHILE_DOCKED_ERROR_OTHER = 5; // 0x5 field public static final int ENABLE_USB_DATA_WHILE_DOCKED_ERROR_PORT_MISMATCH = 3; // 0x3 field public static final int ENABLE_USB_DATA_WHILE_DOCKED_SUCCESS = 0; // 0x0 field public static final int FLAG_ALT_MODE_TYPE_DISPLAYPORT = 1; // 0x1 field public static final int RESET_USB_PORT_ERROR_INTERNAL = 1; // 0x1 field public static final int RESET_USB_PORT_ERROR_NOT_SUPPORTED = 2; // 0x2 field public static final int RESET_USB_PORT_ERROR_OTHER = 4; // 0x4 field public static final int RESET_USB_PORT_ERROR_PORT_MISMATCH = 3; // 0x3 field public static final int RESET_USB_PORT_SUCCESS = 0; // 0x0 } public final class UsbPortStatus implements android.os.Parcelable { method public int describeContents(); method @CheckResult @NonNull public int[] getComplianceWarnings(); method public int getCurrentDataRole(); method public int getCurrentMode(); method public int getCurrentPowerRole(); method @Nullable public android.hardware.usb.DisplayPortAltModeInfo getDisplayPortAltModeInfo(); method public int getPlugState(); method public int getPowerBrickConnectionStatus(); method public int getSupportedRoleCombinations(); method public int getUsbDataStatus(); method public boolean isConnected(); method public boolean isPowerTransferLimited(); method public boolean isRoleCombinationSupported(int, int); method public void writeToParcel(android.os.Parcel, int); field public static final int COMPLIANCE_WARNING_BC_1_2 = 3; // 0x3 field public static final int COMPLIANCE_WARNING_DEBUG_ACCESSORY = 2; // 0x2 field public static final int COMPLIANCE_WARNING_MISSING_RP = 4; // 0x4 field public static final int COMPLIANCE_WARNING_OTHER = 1; // 0x1 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DATA_ROLE_DEVICE = 2; // 0x2 field public static final int DATA_ROLE_HOST = 1; // 0x1 field public static final int DATA_ROLE_NONE = 0; // 0x0 field public static final int DATA_STATUS_DISABLED_CONTAMINANT = 4; // 0x4 field public static final int DATA_STATUS_DISABLED_DEBUG = 32; // 0x20 field public static final int DATA_STATUS_DISABLED_DOCK = 8; // 0x8 field public static final int DATA_STATUS_DISABLED_DOCK_DEVICE_MODE = 128; // 0x80 field public static final int DATA_STATUS_DISABLED_DOCK_HOST_MODE = 64; // 0x40 field public static final int DATA_STATUS_DISABLED_FORCE = 16; // 0x10 field public static final int DATA_STATUS_DISABLED_OVERHEAT = 2; // 0x2 field public static final int DATA_STATUS_ENABLED = 1; // 0x1 field public static final int DATA_STATUS_UNKNOWN = 0; // 0x0 field public static final int MODE_AUDIO_ACCESSORY = 4; // 0x4 field public static final int MODE_DEBUG_ACCESSORY = 8; // 0x8 field public static final int MODE_DFP = 2; // 0x2 field public static final int MODE_NONE = 0; // 0x0 field public static final int MODE_UFP = 1; // 0x1 field public static final int PLUG_STATE_PLUGGED_ORIENTATION_FLIPPED = 4; // 0x4 field public static final int PLUG_STATE_PLUGGED_ORIENTATION_NORMAL = 3; // 0x3 field public static final int PLUG_STATE_PLUGGED_ORIENTATION_UNKNOWN = 2; // 0x2 field public static final int PLUG_STATE_UNKNOWN = 0; // 0x0 field public static final int PLUG_STATE_UNPLUGGED = 1; // 0x1 field public static final int POWER_BRICK_STATUS_CONNECTED = 1; // 0x1 field public static final int POWER_BRICK_STATUS_DISCONNECTED = 2; // 0x2 field public static final int POWER_BRICK_STATUS_UNKNOWN = 0; // 0x0 field public static final int POWER_ROLE_NONE = 0; // 0x0 field public static final int POWER_ROLE_SINK = 2; // 0x2 field public static final int POWER_ROLE_SOURCE = 1; // 0x1 } } package android.health.connect { public class ApplicationInfoResponse { method @NonNull public java.util.List getApplicationInfoList(); } public final class DeleteUsingFiltersRequest { method @NonNull public java.util.Set getDataOrigins(); method @NonNull public java.util.Set> getRecordTypes(); method @Nullable public android.health.connect.TimeRangeFilter getTimeRangeFilter(); } public static final class DeleteUsingFiltersRequest.Builder { ctor public DeleteUsingFiltersRequest.Builder(); method @NonNull public android.health.connect.DeleteUsingFiltersRequest.Builder addDataOrigin(@NonNull android.health.connect.datatypes.DataOrigin); method @NonNull public android.health.connect.DeleteUsingFiltersRequest.Builder addRecordType(@NonNull Class); method @NonNull public android.health.connect.DeleteUsingFiltersRequest build(); method @NonNull public android.health.connect.DeleteUsingFiltersRequest.Builder clearDataOrigins(); method @NonNull public android.health.connect.DeleteUsingFiltersRequest.Builder clearRecordTypes(); method @NonNull public android.health.connect.DeleteUsingFiltersRequest.Builder setTimeRangeFilter(@Nullable android.health.connect.TimeRangeFilter); } public final class FetchDataOriginsPriorityOrderResponse { method @NonNull public java.util.List getDataOriginsPriorityOrder(); } public final class HealthConnectDataState implements android.os.Parcelable { method public int describeContents(); method public int getDataMigrationState(); method public int getDataRestoreError(); method public int getDataRestoreState(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int MIGRATION_STATE_ALLOWED = 4; // 0x4 field public static final int MIGRATION_STATE_APP_UPGRADE_REQUIRED = 1; // 0x1 field public static final int MIGRATION_STATE_COMPLETE = 5; // 0x5 field public static final int MIGRATION_STATE_IDLE = 0; // 0x0 field public static final int MIGRATION_STATE_IN_PROGRESS = 3; // 0x3 field public static final int MIGRATION_STATE_MODULE_UPGRADE_REQUIRED = 2; // 0x2 field public static final int RESTORE_ERROR_FETCHING_DATA = 2; // 0x2 field public static final int RESTORE_ERROR_NONE = 0; // 0x0 field public static final int RESTORE_ERROR_UNKNOWN = 1; // 0x1 field public static final int RESTORE_ERROR_VERSION_DIFF = 3; // 0x3 field public static final int RESTORE_STATE_IDLE = 0; // 0x0 field public static final int RESTORE_STATE_IN_PROGRESS = 2; // 0x2 field public static final int RESTORE_STATE_PENDING = 1; // 0x1 } public class HealthConnectManager { method @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_PERMISSIONS) public void deleteRecords(@NonNull android.health.connect.DeleteUsingFiltersRequest, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); method @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) public void fetchDataOriginsPriorityOrder(int, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); method @RequiresPermission(android.Manifest.permission.MIGRATE_HEALTH_CONNECT_DATA) public void finishMigration(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); method @NonNull @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) public void getContributorApplicationsInfo(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); method @NonNull @RequiresPermission(anyOf={android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION, android.Manifest.permission.MIGRATE_HEALTH_CONNECT_DATA}) public void getHealthConnectDataState(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); method @NonNull public static java.util.Set getHealthPermissions(@NonNull android.content.Context); method @IntRange(from=0, to=7300) @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) public int getRecordRetentionPeriodInDays(); method @RequiresPermission(android.Manifest.permission.MIGRATE_HEALTH_CONNECT_DATA) public void insertMinDataMigrationSdkExtensionVersion(int, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); method public static boolean isHealthPermission(@NonNull android.content.Context, @NonNull String); method @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) public void queryAccessLogs(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver,android.health.connect.HealthConnectException>); method @NonNull @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) public void queryActivityDates(@NonNull java.util.List>, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver,android.health.connect.HealthConnectException>); method @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) public void queryAllRecordTypesInfo(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver,android.health.connect.RecordTypeInfoResponse>,android.health.connect.HealthConnectException>); method @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) public void setRecordRetentionPeriodInDays(@IntRange(from=0, to=7300) int, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); method @RequiresPermission(android.Manifest.permission.STAGE_HEALTH_CONNECT_REMOTE_DATA) public void stageAllHealthConnectRemoteData(@NonNull java.util.Map, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver) throws java.lang.NullPointerException; method @RequiresPermission(android.Manifest.permission.MIGRATE_HEALTH_CONNECT_DATA) public void startMigration(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); method @RequiresPermission(android.Manifest.permission.STAGE_HEALTH_CONNECT_REMOTE_DATA) public void updateDataDownloadState(int); method @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) public void updateDataOriginPriorityOrder(@NonNull android.health.connect.UpdateDataOriginPriorityOrderRequest, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); method @RequiresPermission(android.Manifest.permission.MIGRATE_HEALTH_CONNECT_DATA) public void writeMigrationData(@NonNull java.util.List, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); field public static final String ACTION_HEALTH_CONNECT_MIGRATION_READY = "android.health.connect.action.HEALTH_CONNECT_MIGRATION_READY"; field public static final String ACTION_HEALTH_HOME_SETTINGS = "android.health.connect.action.HEALTH_HOME_SETTINGS"; field public static final String ACTION_MANAGE_HEALTH_DATA = "android.health.connect.action.MANAGE_HEALTH_DATA"; field public static final String ACTION_REQUEST_HEALTH_PERMISSIONS = "android.health.connect.action.REQUEST_HEALTH_PERMISSIONS"; field public static final String ACTION_SHOW_MIGRATION_INFO = "android.health.connect.action.SHOW_MIGRATION_INFO"; field public static final int DATA_DOWNLOAD_COMPLETE = 4; // 0x4 field public static final int DATA_DOWNLOAD_FAILED = 3; // 0x3 field public static final int DATA_DOWNLOAD_RETRY = 2; // 0x2 field public static final int DATA_DOWNLOAD_STARTED = 1; // 0x1 field public static final int DATA_DOWNLOAD_STATE_UNKNOWN = 0; // 0x0 } public class HealthDataCategory { field public static final int ACTIVITY = 1; // 0x1 field public static final int BODY_MEASUREMENTS = 2; // 0x2 field public static final int CYCLE_TRACKING = 3; // 0x3 field public static final int NUTRITION = 4; // 0x4 field public static final int SLEEP = 5; // 0x5 field public static final int UNKNOWN = 0; // 0x0 field public static final int VITALS = 6; // 0x6 } public class HealthPermissionCategory { field public static final int ACTIVE_CALORIES_BURNED = 1; // 0x1 field public static final int BASAL_BODY_TEMPERATURE = 33; // 0x21 field public static final int BASAL_METABOLIC_RATE = 9; // 0x9 field public static final int BLOOD_GLUCOSE = 26; // 0x1a field public static final int BLOOD_PRESSURE = 27; // 0x1b field public static final int BODY_FAT = 10; // 0xa field public static final int BODY_TEMPERATURE = 28; // 0x1c field public static final int BODY_WATER_MASS = 11; // 0xb field public static final int BONE_MASS = 12; // 0xc field public static final int CERVICAL_MUCUS = 18; // 0x12 field public static final int DISTANCE = 2; // 0x2 field public static final int ELEVATION_GAINED = 3; // 0x3 field public static final int EXERCISE = 4; // 0x4 field public static final int FLOORS_CLIMBED = 5; // 0x5 field public static final int HEART_RATE = 29; // 0x1d field public static final int HEART_RATE_VARIABILITY = 30; // 0x1e field public static final int HEIGHT = 13; // 0xd field public static final int HYDRATION = 23; // 0x17 field public static final int INTERMENSTRUAL_BLEEDING = 38; // 0x26 field public static final int LEAN_BODY_MASS = 15; // 0xf field public static final int MENSTRUATION = 20; // 0x14 field public static final int NUTRITION = 24; // 0x18 field public static final int OVULATION_TEST = 21; // 0x15 field public static final int OXYGEN_SATURATION = 31; // 0x1f field public static final int POWER = 36; // 0x24 field public static final int RESPIRATORY_RATE = 32; // 0x20 field public static final int RESTING_HEART_RATE = 34; // 0x22 field public static final int SEXUAL_ACTIVITY = 22; // 0x16 field public static final int SLEEP = 25; // 0x19 field public static final int SPEED = 37; // 0x25 field public static final int STEPS = 6; // 0x6 field public static final int TOTAL_CALORIES_BURNED = 35; // 0x23 field public static final int UNKNOWN = 0; // 0x0 field public static final int VO2_MAX = 7; // 0x7 field public static final int WEIGHT = 17; // 0x11 field public static final int WHEELCHAIR_PUSHES = 8; // 0x8 } public final class HealthPermissions { field public static final String HEALTH_PERMISSION_GROUP = "android.permission-group.HEALTH"; field public static final String MANAGE_HEALTH_DATA_PERMISSION = "android.permission.MANAGE_HEALTH_DATA"; field public static final String MANAGE_HEALTH_PERMISSIONS = "android.permission.MANAGE_HEALTH_PERMISSIONS"; } public class RecordTypeInfoResponse { method @NonNull public java.util.List getContributingPackages(); method public int getDataCategory(); method public int getPermissionCategory(); } public final class UpdateDataOriginPriorityOrderRequest { ctor public UpdateDataOriginPriorityOrderRequest(@NonNull java.util.List, int); method public int getDataCategory(); method @NonNull public java.util.List getDataOriginInOrder(); } } package android.health.connect.accesslog { public final class AccessLog implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.time.Instant getAccessTime(); method public int getOperationType(); method @NonNull public String getPackageName(); method @NonNull public java.util.List> getRecordTypes(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AccessLog.OperationType { field public static final int OPERATION_TYPE_DELETE = 1; // 0x1 field public static final int OPERATION_TYPE_READ = 2; // 0x2 field public static final int OPERATION_TYPE_UPSERT = 0; // 0x0 } } package android.health.connect.datatypes { public abstract class Record { method public int getRecordType(); } public final class RecordTypeIdentifier { field public static final int RECORD_TYPE_ACTIVE_CALORIES_BURNED = 2; // 0x2 field public static final int RECORD_TYPE_BASAL_BODY_TEMPERATURE = 20; // 0x14 field public static final int RECORD_TYPE_BASAL_METABOLIC_RATE = 16; // 0x10 field public static final int RECORD_TYPE_BLOOD_GLUCOSE = 25; // 0x19 field public static final int RECORD_TYPE_BLOOD_PRESSURE = 23; // 0x17 field public static final int RECORD_TYPE_BODY_FAT = 17; // 0x11 field public static final int RECORD_TYPE_BODY_TEMPERATURE = 29; // 0x1d field public static final int RECORD_TYPE_BODY_WATER_MASS = 34; // 0x22 field public static final int RECORD_TYPE_BONE_MASS = 32; // 0x20 field public static final int RECORD_TYPE_CERVICAL_MUCUS = 19; // 0x13 field public static final int RECORD_TYPE_CYCLING_PEDALING_CADENCE = 12; // 0xc field public static final int RECORD_TYPE_DISTANCE = 7; // 0x7 field public static final int RECORD_TYPE_ELEVATION_GAINED = 4; // 0x4 field public static final int RECORD_TYPE_EXERCISE_SESSION = 37; // 0x25 field public static final int RECORD_TYPE_FLOORS_CLIMBED = 5; // 0x5 field public static final int RECORD_TYPE_HEART_RATE = 11; // 0xb field public static final int RECORD_TYPE_HEART_RATE_VARIABILITY_RMSSD = 35; // 0x23 field public static final int RECORD_TYPE_HEIGHT = 24; // 0x18 field public static final int RECORD_TYPE_HYDRATION = 3; // 0x3 field public static final int RECORD_TYPE_INTERMENSTRUAL_BLEEDING = 36; // 0x24 field public static final int RECORD_TYPE_LEAN_BODY_MASS = 27; // 0x1b field public static final int RECORD_TYPE_MENSTRUATION_FLOW = 21; // 0x15 field public static final int RECORD_TYPE_MENSTRUATION_PERIOD = 10; // 0xa field public static final int RECORD_TYPE_NUTRITION = 8; // 0x8 field public static final int RECORD_TYPE_OVULATION_TEST = 30; // 0x1e field public static final int RECORD_TYPE_OXYGEN_SATURATION = 22; // 0x16 field public static final int RECORD_TYPE_POWER = 13; // 0xd field public static final int RECORD_TYPE_RESPIRATORY_RATE = 31; // 0x1f field public static final int RECORD_TYPE_RESTING_HEART_RATE = 33; // 0x21 field public static final int RECORD_TYPE_SEXUAL_ACTIVITY = 28; // 0x1c field public static final int RECORD_TYPE_SLEEP_SESSION = 38; // 0x26 field public static final int RECORD_TYPE_SPEED = 14; // 0xe field public static final int RECORD_TYPE_STEPS = 1; // 0x1 field public static final int RECORD_TYPE_STEPS_CADENCE = 15; // 0xf field public static final int RECORD_TYPE_TOTAL_CALORIES_BURNED = 9; // 0x9 field public static final int RECORD_TYPE_UNKNOWN = 0; // 0x0 field public static final int RECORD_TYPE_VO2_MAX = 18; // 0x12 field public static final int RECORD_TYPE_WEIGHT = 26; // 0x1a field public static final int RECORD_TYPE_WHEELCHAIR_PUSHES = 6; // 0x6 } } package android.health.connect.migration { public final class AppInfoMigrationPayload extends android.health.connect.migration.MigrationPayload implements android.os.Parcelable { method @Nullable public byte[] getAppIcon(); method @NonNull public String getAppName(); method @NonNull public String getPackageName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AppInfoMigrationPayload.Builder { ctor public AppInfoMigrationPayload.Builder(@NonNull String, @NonNull String); method @NonNull public android.health.connect.migration.AppInfoMigrationPayload build(); method @NonNull public android.health.connect.migration.AppInfoMigrationPayload.Builder setAppIcon(@Nullable byte[]); method @NonNull public android.health.connect.migration.AppInfoMigrationPayload.Builder setAppName(@NonNull String); method @NonNull public android.health.connect.migration.AppInfoMigrationPayload.Builder setPackageName(@NonNull String); } public final class MetadataMigrationPayload extends android.health.connect.migration.MigrationPayload implements android.os.Parcelable { method public int getRecordRetentionPeriodDays(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class MetadataMigrationPayload.Builder { ctor public MetadataMigrationPayload.Builder(); method @NonNull public android.health.connect.migration.MetadataMigrationPayload build(); method @NonNull public android.health.connect.migration.MetadataMigrationPayload.Builder setRecordRetentionPeriodDays(@IntRange(from=0x0, to=0x1c84) int); } public final class MigrationEntity implements android.os.Parcelable { ctor public MigrationEntity(@NonNull String, @NonNull android.health.connect.migration.MigrationPayload); method public int describeContents(); method @NonNull public String getEntityId(); method @NonNull public android.health.connect.migration.MigrationPayload getPayload(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class MigrationException extends java.lang.RuntimeException implements android.os.Parcelable { ctor public MigrationException(@Nullable String, int, @Nullable String); method public int describeContents(); method public int getErrorCode(); method @Nullable public String getFailedEntityId(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int ERROR_INTERNAL = 1; // 0x1 field public static final int ERROR_MIGRATE_ENTITY = 2; // 0x2 field public static final int ERROR_MIGRATION_UNAVAILABLE = 3; // 0x3 } public abstract class MigrationPayload implements android.os.Parcelable { method public int describeContents(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class PermissionMigrationPayload extends android.health.connect.migration.MigrationPayload implements android.os.Parcelable { method @NonNull public java.time.Instant getFirstGrantTime(); method @NonNull public String getHoldingPackageName(); method @NonNull public java.util.List getPermissions(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class PermissionMigrationPayload.Builder { ctor public PermissionMigrationPayload.Builder(@NonNull String, @NonNull java.time.Instant); method @NonNull public android.health.connect.migration.PermissionMigrationPayload.Builder addPermission(@NonNull String); method @NonNull public android.health.connect.migration.PermissionMigrationPayload build(); method @NonNull public android.health.connect.migration.PermissionMigrationPayload.Builder setFirstGrantTime(@NonNull java.time.Instant); method @NonNull public android.health.connect.migration.PermissionMigrationPayload.Builder setHoldingPackageName(@NonNull String); } public final class PriorityMigrationPayload extends android.health.connect.migration.MigrationPayload implements android.os.Parcelable { method public int getDataCategory(); method @NonNull public java.util.List getDataOrigins(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class PriorityMigrationPayload.Builder { ctor public PriorityMigrationPayload.Builder(); method @NonNull public android.health.connect.migration.PriorityMigrationPayload.Builder addDataOrigin(@NonNull android.health.connect.datatypes.DataOrigin); method @NonNull public android.health.connect.migration.PriorityMigrationPayload build(); method @NonNull public android.health.connect.migration.PriorityMigrationPayload.Builder setDataCategory(int); } public final class RecordMigrationPayload extends android.health.connect.migration.MigrationPayload implements android.os.Parcelable { method @NonNull public String getOriginAppName(); method @NonNull public String getOriginPackageName(); method @NonNull public android.health.connect.datatypes.Record getRecord(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class RecordMigrationPayload.Builder { ctor public RecordMigrationPayload.Builder(@NonNull String, @NonNull String, @NonNull android.health.connect.datatypes.Record); method @NonNull public android.health.connect.migration.RecordMigrationPayload build(); method @NonNull public android.health.connect.migration.RecordMigrationPayload.Builder setOriginAppName(@NonNull String); method @NonNull public android.health.connect.migration.RecordMigrationPayload.Builder setOriginPackageName(@NonNull String); method @NonNull public android.health.connect.migration.RecordMigrationPayload.Builder setRecord(@NonNull android.health.connect.datatypes.Record); } } package android.health.connect.restore { public final class StageRemoteDataException extends java.lang.RuntimeException implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.Map getExceptionsByFileNames(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.location { public abstract class BatchedLocationCallback { ctor public BatchedLocationCallback(); method public void onLocationBatch(java.util.List); } public final class CorrelationVector implements android.os.Parcelable { method public int describeContents(); method @FloatRange(from=0.0f) public double getFrequencyOffsetMetersPerSecond(); method @NonNull public int[] getMagnitude(); method @FloatRange(from=0.0f) public double getSamplingStartMeters(); method @FloatRange(from=0.0f, fromInclusive=false) public double getSamplingWidthMeters(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class CorrelationVector.Builder { ctor public CorrelationVector.Builder(); method @NonNull public android.location.CorrelationVector build(); method @NonNull public android.location.CorrelationVector.Builder setFrequencyOffsetMetersPerSecond(@FloatRange(from=0.0f) double); method @NonNull public android.location.CorrelationVector.Builder setMagnitude(@NonNull int[]); method @NonNull public android.location.CorrelationVector.Builder setSamplingStartMeters(@FloatRange(from=0.0f) double); method @NonNull public android.location.CorrelationVector.Builder setSamplingWidthMeters(@FloatRange(from=0.0f, fromInclusive=false) double); } public final class Country implements android.os.Parcelable { ctor public Country(@NonNull String, int); method public int describeContents(); method @NonNull public String getCountryCode(); method public int getSource(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int COUNTRY_SOURCE_LOCALE = 3; // 0x3 field public static final int COUNTRY_SOURCE_LOCATION = 1; // 0x1 field public static final int COUNTRY_SOURCE_NETWORK = 0; // 0x0 field public static final int COUNTRY_SOURCE_SIM = 2; // 0x2 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class CountryDetector { method public void registerCountryDetectorCallback(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method public void unregisterCountryDetectorCallback(@NonNull java.util.function.Consumer); } public final class GnssCapabilities implements android.os.Parcelable { method @Deprecated public boolean hasMeasurementCorrectionsReflectingPane(); method @Deprecated public boolean hasNavMessages(); method @Deprecated public boolean hasSatelliteBlacklist(); } public final class GnssExcessPathInfo implements android.os.Parcelable { method public int describeContents(); method @FloatRange(from=0.0f) public float getAttenuationDb(); method @FloatRange(from=0.0f) public float getExcessPathLengthMeters(); method @FloatRange(from=0.0f) public float getExcessPathLengthUncertaintyMeters(); method @NonNull public android.location.GnssReflectingPlane getReflectingPlane(); method public boolean hasAttenuation(); method public boolean hasExcessPathLength(); method public boolean hasExcessPathLengthUncertainty(); method public boolean hasReflectingPlane(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class GnssExcessPathInfo.Builder { ctor public GnssExcessPathInfo.Builder(); method @NonNull public android.location.GnssExcessPathInfo build(); method @NonNull public android.location.GnssExcessPathInfo.Builder clearAttenuationDb(); method @NonNull public android.location.GnssExcessPathInfo.Builder clearExcessPathLengthMeters(); method @NonNull public android.location.GnssExcessPathInfo.Builder clearExcessPathLengthUncertaintyMeters(); method @NonNull public android.location.GnssExcessPathInfo.Builder setAttenuationDb(@FloatRange(from=0.0f) float); method @NonNull public android.location.GnssExcessPathInfo.Builder setExcessPathLengthMeters(@FloatRange(from=0.0f) float); method @NonNull public android.location.GnssExcessPathInfo.Builder setExcessPathLengthUncertaintyMeters(@FloatRange(from=0.0f) float); method @NonNull public android.location.GnssExcessPathInfo.Builder setReflectingPlane(@Nullable android.location.GnssReflectingPlane); } public final class GnssMeasurement implements android.os.Parcelable { method @Nullable public java.util.Collection getCorrelationVectors(); method @Nullable public android.location.SatellitePvt getSatellitePvt(); method public boolean hasCorrelationVectors(); method public boolean hasSatellitePvt(); } public final class GnssMeasurementCorrections implements android.os.Parcelable { method public int describeContents(); method @FloatRange(from=-1000.0F, to=10000.0f) public double getAltitudeMeters(); method @FloatRange(from=0.0f, to=360.0f) public float getEnvironmentBearingDegrees(); method @FloatRange(from=0.0f, to=180.0f) public float getEnvironmentBearingUncertaintyDegrees(); method @FloatRange(from=0.0f) public double getHorizontalPositionUncertaintyMeters(); method @FloatRange(from=-90.0F, to=90.0f) public double getLatitudeDegrees(); method @FloatRange(from=-180.0F, to=180.0f) public double getLongitudeDegrees(); method @NonNull public java.util.List getSingleSatelliteCorrectionList(); method @IntRange(from=0) public long getToaGpsNanosecondsOfWeek(); method @FloatRange(from=0.0f) public double getVerticalPositionUncertaintyMeters(); method public boolean hasEnvironmentBearing(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; } public static final class GnssMeasurementCorrections.Builder { ctor public GnssMeasurementCorrections.Builder(); method @NonNull public android.location.GnssMeasurementCorrections build(); method @NonNull public android.location.GnssMeasurementCorrections.Builder setAltitudeMeters(@FloatRange(from=-1000.0F, to=10000.0f) double); method @NonNull public android.location.GnssMeasurementCorrections.Builder setEnvironmentBearingDegrees(@FloatRange(from=0.0f, to=360.0f) float); method @NonNull public android.location.GnssMeasurementCorrections.Builder setEnvironmentBearingUncertaintyDegrees(@FloatRange(from=0.0f, to=180.0f) float); method @NonNull public android.location.GnssMeasurementCorrections.Builder setHorizontalPositionUncertaintyMeters(@FloatRange(from=0.0f) double); method @NonNull public android.location.GnssMeasurementCorrections.Builder setLatitudeDegrees(@FloatRange(from=-90.0F, to=90.0f) double); method @NonNull public android.location.GnssMeasurementCorrections.Builder setLongitudeDegrees(@FloatRange(from=-180.0F, to=180.0f) double); method @NonNull public android.location.GnssMeasurementCorrections.Builder setSingleSatelliteCorrectionList(@NonNull java.util.List); method @NonNull public android.location.GnssMeasurementCorrections.Builder setToaGpsNanosecondsOfWeek(@IntRange(from=0) long); method @NonNull public android.location.GnssMeasurementCorrections.Builder setVerticalPositionUncertaintyMeters(@FloatRange(from=0.0f) double); } public final class GnssMeasurementRequest implements android.os.Parcelable { method public boolean isCorrelationVectorOutputsEnabled(); } public static final class GnssMeasurementRequest.Builder { method @NonNull public android.location.GnssMeasurementRequest.Builder setCorrelationVectorOutputsEnabled(boolean); } public final class GnssReflectingPlane implements android.os.Parcelable { method public int describeContents(); method @FloatRange(from=-1000.0F, to=10000.0f) public double getAltitudeMeters(); method @FloatRange(from=0.0f, to=360.0f) public double getAzimuthDegrees(); method @FloatRange(from=-90.0F, to=90.0f) public double getLatitudeDegrees(); method @FloatRange(from=-180.0F, to=180.0f) public double getLongitudeDegrees(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; } public static final class GnssReflectingPlane.Builder { ctor public GnssReflectingPlane.Builder(); method @NonNull public android.location.GnssReflectingPlane build(); method @NonNull public android.location.GnssReflectingPlane.Builder setAltitudeMeters(@FloatRange(from=-1000.0F, to=10000.0f) double); method @NonNull public android.location.GnssReflectingPlane.Builder setAzimuthDegrees(@FloatRange(from=0.0f, to=360.0f) double); method @NonNull public android.location.GnssReflectingPlane.Builder setLatitudeDegrees(@FloatRange(from=-90.0F, to=90.0f) double); method @NonNull public android.location.GnssReflectingPlane.Builder setLongitudeDegrees(@FloatRange(from=-180.0F, to=180.0f) double); } public final class GnssRequest implements android.os.Parcelable { method public int describeContents(); method public boolean isFullTracking(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class GnssRequest.Builder { ctor public GnssRequest.Builder(); ctor public GnssRequest.Builder(@NonNull android.location.GnssRequest); method @NonNull public android.location.GnssRequest build(); method @NonNull public android.location.GnssRequest.Builder setFullTracking(boolean); } public final class GnssSingleSatCorrection implements android.os.Parcelable { method public int describeContents(); method @FloatRange(from=0.0f, fromInclusive=false) public float getCarrierFrequencyHz(); method @FloatRange(from=0.0f) public float getCombinedAttenuationDb(); method public int getConstellationType(); method @FloatRange(from=0.0f) public float getExcessPathLengthMeters(); method @FloatRange(from=0.0f) public float getExcessPathLengthUncertaintyMeters(); method @NonNull public java.util.List getGnssExcessPathInfoList(); method @FloatRange(from=0.0f, to=1.0f) public float getProbabilityLineOfSight(); method @Deprecated @Nullable public android.location.GnssReflectingPlane getReflectingPlane(); method @IntRange(from=0) public int getSatelliteId(); method public boolean hasCombinedAttenuation(); method public boolean hasExcessPathLength(); method public boolean hasExcessPathLengthUncertainty(); method @Deprecated public boolean hasReflectingPlane(); method public boolean hasValidSatelliteLineOfSight(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; } public static final class GnssSingleSatCorrection.Builder { ctor public GnssSingleSatCorrection.Builder(); method @NonNull public android.location.GnssSingleSatCorrection build(); method @NonNull public android.location.GnssSingleSatCorrection.Builder clearCombinedAttenuationDb(); method @NonNull public android.location.GnssSingleSatCorrection.Builder clearExcessPathLengthMeters(); method @NonNull public android.location.GnssSingleSatCorrection.Builder clearExcessPathLengthUncertaintyMeters(); method @NonNull public android.location.GnssSingleSatCorrection.Builder clearProbabilityLineOfSight(); method @NonNull public android.location.GnssSingleSatCorrection.Builder setCarrierFrequencyHz(@FloatRange(from=0.0f, fromInclusive=false) float); method @NonNull public android.location.GnssSingleSatCorrection.Builder setCombinedAttenuationDb(@FloatRange(from=0.0f) float); method @NonNull public android.location.GnssSingleSatCorrection.Builder setConstellationType(int); method @NonNull public android.location.GnssSingleSatCorrection.Builder setExcessPathLengthMeters(@FloatRange(from=0.0f) float); method @NonNull public android.location.GnssSingleSatCorrection.Builder setExcessPathLengthUncertaintyMeters(@FloatRange(from=0.0f) float); method @NonNull public android.location.GnssSingleSatCorrection.Builder setGnssExcessPathInfoList(@NonNull java.util.List); method @NonNull public android.location.GnssSingleSatCorrection.Builder setProbabilityLineOfSight(@FloatRange(from=0.0f, to=1.0f) float); method @Deprecated @NonNull public android.location.GnssSingleSatCorrection.Builder setReflectingPlane(@Nullable android.location.GnssReflectingPlane); method @NonNull public android.location.GnssSingleSatCorrection.Builder setSatelliteId(@IntRange(from=0) int); } @Deprecated public class GpsClock implements android.os.Parcelable { method @Deprecated public int describeContents(); method @Deprecated public double getBiasInNs(); method @Deprecated public double getBiasUncertaintyInNs(); method @Deprecated public double getDriftInNsPerSec(); method @Deprecated public double getDriftUncertaintyInNsPerSec(); method @Deprecated public long getFullBiasInNs(); method @Deprecated public short getLeapSecond(); method @Deprecated public long getTimeInNs(); method @Deprecated public double getTimeUncertaintyInNs(); method @Deprecated public byte getType(); method @Deprecated public boolean hasBiasInNs(); method @Deprecated public boolean hasBiasUncertaintyInNs(); method @Deprecated public boolean hasDriftInNsPerSec(); method @Deprecated public boolean hasDriftUncertaintyInNsPerSec(); method @Deprecated public boolean hasFullBiasInNs(); method @Deprecated public boolean hasLeapSecond(); method @Deprecated public boolean hasTimeUncertaintyInNs(); method @Deprecated public void reset(); method @Deprecated public void resetBiasInNs(); method @Deprecated public void resetBiasUncertaintyInNs(); method @Deprecated public void resetDriftInNsPerSec(); method @Deprecated public void resetDriftUncertaintyInNsPerSec(); method @Deprecated public void resetFullBiasInNs(); method @Deprecated public void resetLeapSecond(); method @Deprecated public void resetTimeUncertaintyInNs(); method @Deprecated public void set(android.location.GpsClock); method @Deprecated public void setBiasInNs(double); method @Deprecated public void setBiasUncertaintyInNs(double); method @Deprecated public void setDriftInNsPerSec(double); method @Deprecated public void setDriftUncertaintyInNsPerSec(double); method @Deprecated public void setFullBiasInNs(long); method @Deprecated public void setLeapSecond(short); method @Deprecated public void setTimeInNs(long); method @Deprecated public void setTimeUncertaintyInNs(double); method @Deprecated public void setType(byte); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public static final byte TYPE_GPS_TIME = 2; // 0x2 field @Deprecated public static final byte TYPE_LOCAL_HW_TIME = 1; // 0x1 field @Deprecated public static final byte TYPE_UNKNOWN = 0; // 0x0 } @Deprecated public class GpsMeasurement implements android.os.Parcelable { method @Deprecated public int describeContents(); method @Deprecated public double getAccumulatedDeltaRangeInMeters(); method @Deprecated public short getAccumulatedDeltaRangeState(); method @Deprecated public double getAccumulatedDeltaRangeUncertaintyInMeters(); method @Deprecated public double getAzimuthInDeg(); method @Deprecated public double getAzimuthUncertaintyInDeg(); method @Deprecated public int getBitNumber(); method @Deprecated public long getCarrierCycles(); method @Deprecated public float getCarrierFrequencyInHz(); method @Deprecated public double getCarrierPhase(); method @Deprecated public double getCarrierPhaseUncertainty(); method @Deprecated public double getCn0InDbHz(); method @Deprecated public double getCodePhaseInChips(); method @Deprecated public double getCodePhaseUncertaintyInChips(); method @Deprecated public double getDopplerShiftInHz(); method @Deprecated public double getDopplerShiftUncertaintyInHz(); method @Deprecated public double getElevationInDeg(); method @Deprecated public double getElevationUncertaintyInDeg(); method @Deprecated public byte getLossOfLock(); method @Deprecated public byte getMultipathIndicator(); method @Deprecated public byte getPrn(); method @Deprecated public double getPseudorangeInMeters(); method @Deprecated public double getPseudorangeRateInMetersPerSec(); method @Deprecated public double getPseudorangeRateUncertaintyInMetersPerSec(); method @Deprecated public double getPseudorangeUncertaintyInMeters(); method @Deprecated public long getReceivedGpsTowInNs(); method @Deprecated public long getReceivedGpsTowUncertaintyInNs(); method @Deprecated public double getSnrInDb(); method @Deprecated public short getState(); method @Deprecated public short getTimeFromLastBitInMs(); method @Deprecated public double getTimeOffsetInNs(); method @Deprecated public boolean hasAzimuthInDeg(); method @Deprecated public boolean hasAzimuthUncertaintyInDeg(); method @Deprecated public boolean hasBitNumber(); method @Deprecated public boolean hasCarrierCycles(); method @Deprecated public boolean hasCarrierFrequencyInHz(); method @Deprecated public boolean hasCarrierPhase(); method @Deprecated public boolean hasCarrierPhaseUncertainty(); method @Deprecated public boolean hasCodePhaseInChips(); method @Deprecated public boolean hasCodePhaseUncertaintyInChips(); method @Deprecated public boolean hasDopplerShiftInHz(); method @Deprecated public boolean hasDopplerShiftUncertaintyInHz(); method @Deprecated public boolean hasElevationInDeg(); method @Deprecated public boolean hasElevationUncertaintyInDeg(); method @Deprecated public boolean hasPseudorangeInMeters(); method @Deprecated public boolean hasPseudorangeUncertaintyInMeters(); method @Deprecated public boolean hasSnrInDb(); method @Deprecated public boolean hasTimeFromLastBitInMs(); method @Deprecated public boolean isPseudorangeRateCorrected(); method @Deprecated public boolean isUsedInFix(); method @Deprecated public void reset(); method @Deprecated public void resetAzimuthInDeg(); method @Deprecated public void resetAzimuthUncertaintyInDeg(); method @Deprecated public void resetBitNumber(); method @Deprecated public void resetCarrierCycles(); method @Deprecated public void resetCarrierFrequencyInHz(); method @Deprecated public void resetCarrierPhase(); method @Deprecated public void resetCarrierPhaseUncertainty(); method @Deprecated public void resetCodePhaseInChips(); method @Deprecated public void resetCodePhaseUncertaintyInChips(); method @Deprecated public void resetDopplerShiftInHz(); method @Deprecated public void resetDopplerShiftUncertaintyInHz(); method @Deprecated public void resetElevationInDeg(); method @Deprecated public void resetElevationUncertaintyInDeg(); method @Deprecated public void resetPseudorangeInMeters(); method @Deprecated public void resetPseudorangeUncertaintyInMeters(); method @Deprecated public void resetSnrInDb(); method @Deprecated public void resetTimeFromLastBitInMs(); method @Deprecated public void set(android.location.GpsMeasurement); method @Deprecated public void setAccumulatedDeltaRangeInMeters(double); method @Deprecated public void setAccumulatedDeltaRangeState(short); method @Deprecated public void setAccumulatedDeltaRangeUncertaintyInMeters(double); method @Deprecated public void setAzimuthInDeg(double); method @Deprecated public void setAzimuthUncertaintyInDeg(double); method @Deprecated public void setBitNumber(int); method @Deprecated public void setCarrierCycles(long); method @Deprecated public void setCarrierFrequencyInHz(float); method @Deprecated public void setCarrierPhase(double); method @Deprecated public void setCarrierPhaseUncertainty(double); method @Deprecated public void setCn0InDbHz(double); method @Deprecated public void setCodePhaseInChips(double); method @Deprecated public void setCodePhaseUncertaintyInChips(double); method @Deprecated public void setDopplerShiftInHz(double); method @Deprecated public void setDopplerShiftUncertaintyInHz(double); method @Deprecated public void setElevationInDeg(double); method @Deprecated public void setElevationUncertaintyInDeg(double); method @Deprecated public void setLossOfLock(byte); method @Deprecated public void setMultipathIndicator(byte); method @Deprecated public void setPrn(byte); method @Deprecated public void setPseudorangeInMeters(double); method @Deprecated public void setPseudorangeRateInMetersPerSec(double); method @Deprecated public void setPseudorangeRateUncertaintyInMetersPerSec(double); method @Deprecated public void setPseudorangeUncertaintyInMeters(double); method @Deprecated public void setReceivedGpsTowInNs(long); method @Deprecated public void setReceivedGpsTowUncertaintyInNs(long); method @Deprecated public void setSnrInDb(double); method @Deprecated public void setState(short); method @Deprecated public void setTimeFromLastBitInMs(short); method @Deprecated public void setTimeOffsetInNs(double); method @Deprecated public void setUsedInFix(boolean); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated public static final short ADR_STATE_CYCLE_SLIP = 4; // 0x4 field @Deprecated public static final short ADR_STATE_RESET = 2; // 0x2 field @Deprecated public static final short ADR_STATE_UNKNOWN = 0; // 0x0 field @Deprecated public static final short ADR_STATE_VALID = 1; // 0x1 field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public static final byte LOSS_OF_LOCK_CYCLE_SLIP = 2; // 0x2 field @Deprecated public static final byte LOSS_OF_LOCK_OK = 1; // 0x1 field @Deprecated public static final byte LOSS_OF_LOCK_UNKNOWN = 0; // 0x0 field @Deprecated public static final byte MULTIPATH_INDICATOR_DETECTED = 1; // 0x1 field @Deprecated public static final byte MULTIPATH_INDICATOR_NOT_USED = 2; // 0x2 field @Deprecated public static final byte MULTIPATH_INDICATOR_UNKNOWN = 0; // 0x0 field @Deprecated public static final short STATE_BIT_SYNC = 2; // 0x2 field @Deprecated public static final short STATE_CODE_LOCK = 1; // 0x1 field @Deprecated public static final short STATE_MSEC_AMBIGUOUS = 16; // 0x10 field @Deprecated public static final short STATE_SUBFRAME_SYNC = 4; // 0x4 field @Deprecated public static final short STATE_TOW_DECODED = 8; // 0x8 field @Deprecated public static final short STATE_UNKNOWN = 0; // 0x0 } @Deprecated public class GpsMeasurementsEvent implements android.os.Parcelable { ctor @Deprecated public GpsMeasurementsEvent(android.location.GpsClock, android.location.GpsMeasurement[]); method @Deprecated public int describeContents(); method @Deprecated @NonNull public android.location.GpsClock getClock(); method @Deprecated @NonNull public java.util.Collection getMeasurements(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public static final int STATUS_GPS_LOCATION_DISABLED = 2; // 0x2 field @Deprecated public static final int STATUS_NOT_SUPPORTED = 0; // 0x0 field @Deprecated public static final int STATUS_READY = 1; // 0x1 } @Deprecated public static interface GpsMeasurementsEvent.Listener { method @Deprecated public void onGpsMeasurementsReceived(android.location.GpsMeasurementsEvent); method @Deprecated public void onStatusChanged(int); } @Deprecated public class GpsNavigationMessage implements android.os.Parcelable { method @Deprecated public int describeContents(); method @Deprecated @NonNull public byte[] getData(); method @Deprecated public short getMessageId(); method @Deprecated public byte getPrn(); method @Deprecated public short getStatus(); method @Deprecated public short getSubmessageId(); method @Deprecated public byte getType(); method @Deprecated public void reset(); method @Deprecated public void set(android.location.GpsNavigationMessage); method @Deprecated public void setData(byte[]); method @Deprecated public void setMessageId(short); method @Deprecated public void setPrn(byte); method @Deprecated public void setStatus(short); method @Deprecated public void setSubmessageId(short); method @Deprecated public void setType(byte); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public static final short STATUS_PARITY_PASSED = 1; // 0x1 field @Deprecated public static final short STATUS_PARITY_REBUILT = 2; // 0x2 field @Deprecated public static final short STATUS_UNKNOWN = 0; // 0x0 field @Deprecated public static final byte TYPE_CNAV2 = 4; // 0x4 field @Deprecated public static final byte TYPE_L1CA = 1; // 0x1 field @Deprecated public static final byte TYPE_L2CNAV = 2; // 0x2 field @Deprecated public static final byte TYPE_L5CNAV = 3; // 0x3 field @Deprecated public static final byte TYPE_UNKNOWN = 0; // 0x0 } @Deprecated public class GpsNavigationMessageEvent implements android.os.Parcelable { ctor @Deprecated public GpsNavigationMessageEvent(android.location.GpsNavigationMessage); method @Deprecated public int describeContents(); method @Deprecated @NonNull public android.location.GpsNavigationMessage getNavigationMessage(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public static int STATUS_GPS_LOCATION_DISABLED; field @Deprecated public static int STATUS_NOT_SUPPORTED; field @Deprecated public static int STATUS_READY; } @Deprecated public static interface GpsNavigationMessageEvent.Listener { method @Deprecated public void onGpsNavigationMessageReceived(android.location.GpsNavigationMessageEvent); method @Deprecated public void onStatusChanged(int); } public final class LastLocationRequest implements android.os.Parcelable { method public int describeContents(); method public boolean isAdasGnssBypass(); method public boolean isHiddenFromAppOps(); method public boolean isLocationSettingsIgnored(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class LastLocationRequest.Builder { ctor public LastLocationRequest.Builder(); ctor public LastLocationRequest.Builder(@NonNull android.location.LastLocationRequest); method @NonNull public android.location.LastLocationRequest build(); method @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_BYPASS) public android.location.LastLocationRequest.Builder setAdasGnssBypass(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_APP_OPS_STATS) public android.location.LastLocationRequest.Builder setHiddenFromAppOps(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_BYPASS) public android.location.LastLocationRequest.Builder setLocationSettingsIgnored(boolean); } public class Location implements android.os.Parcelable { method public void makeComplete(); method @Deprecated public void setIsFromMockProvider(boolean); field @Deprecated public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; } public class LocationManager { method @RequiresPermission(allOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.INTERACT_ACROSS_USERS}) public void addProviderRequestChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.location.provider.ProviderRequest.ChangedListener); method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void flushGnssBatch(); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void getCurrentLocation(@NonNull android.location.LocationRequest, @Nullable android.os.CancellationSignal, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @Nullable public String getExtraLocationControllerPackage(); method @Deprecated public int getGnssBatchSize(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public android.location.Location getLastKnownLocation(@NonNull String, @NonNull android.location.LastLocationRequest); method @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public void injectGnssMeasurementCorrections(@NonNull android.location.GnssMeasurementCorrections); method public boolean isAdasGnssLocationEnabled(); method public boolean isExtraLocationControllerPackageEnabled(); method public boolean isLocationEnabledForUser(@NonNull android.os.UserHandle); method public boolean isProviderEnabledForUser(@NonNull String, @NonNull android.os.UserHandle); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public boolean isProviderPackage(@NonNull String); method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public boolean isProviderPackage(@Nullable String, @NonNull String, @Nullable String); method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.UPDATE_APP_OPS_STATS}) public boolean registerGnssBatchedLocationCallback(long, boolean, @NonNull android.location.BatchedLocationCallback, @Nullable android.os.Handler); method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public boolean registerGnssMeasurementsCallback(@NonNull android.location.GnssRequest, @NonNull java.util.concurrent.Executor, @NonNull android.location.GnssMeasurementsEvent.Callback); method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void removeProviderRequestChangedListener(@NonNull android.location.provider.ProviderRequest.ChangedListener); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull android.location.LocationListener, @Nullable android.os.Looper); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull java.util.concurrent.Executor, @NonNull android.location.LocationListener); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull android.app.PendingIntent); method @RequiresPermission(android.Manifest.permission.LOCATION_BYPASS) public void setAdasGnssLocationEnabled(boolean); method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setExtraLocationControllerPackage(@Nullable String); method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setExtraLocationControllerPackageEnabled(boolean); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setLocationEnabledForUser(boolean, @NonNull android.os.UserHandle); method @Deprecated @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean setProviderEnabledForUser(@NonNull String, boolean, @NonNull android.os.UserHandle); method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public boolean unregisterGnssBatchedLocationCallback(@NonNull android.location.BatchedLocationCallback); field public static final String ACTION_ADAS_GNSS_ENABLED_CHANGED = "android.location.action.ADAS_GNSS_ENABLED_CHANGED"; field public static final String EXTRA_ADAS_GNSS_ENABLED = "android.location.extra.ADAS_GNSS_ENABLED"; field @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public static final String GPS_HARDWARE_PROVIDER = "gps_hardware"; } public final class LocationRequest implements android.os.Parcelable { method @Deprecated @NonNull public static android.location.LocationRequest create(); method @Deprecated @NonNull public static android.location.LocationRequest createFromDeprecatedCriteria(@NonNull android.location.Criteria, long, float, boolean); method @Deprecated @NonNull public static android.location.LocationRequest createFromDeprecatedProvider(@NonNull String, long, float, boolean); method @Deprecated public long getExpireAt(); method @Deprecated public long getExpireIn(); method @Deprecated public long getFastestInterval(); method @Deprecated public boolean getHideFromAppOps(); method @Deprecated public long getInterval(); method @Deprecated public int getNumUpdates(); method @Deprecated @NonNull public String getProvider(); method @Deprecated public float getSmallestDisplacement(); method @NonNull public android.os.WorkSource getWorkSource(); method public boolean isAdasGnssBypass(); method public boolean isHiddenFromAppOps(); method public boolean isLocationSettingsIgnored(); method public boolean isLowPower(); method @Deprecated public boolean isLowPowerMode(); method @Deprecated @NonNull public android.location.LocationRequest setExpireAt(long); method @Deprecated @NonNull public android.location.LocationRequest setExpireIn(long); method @Deprecated @NonNull public android.location.LocationRequest setFastestInterval(long); method @Deprecated public void setHideFromAppOps(boolean); method @Deprecated @NonNull public android.location.LocationRequest setInterval(long); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_BYPASS) public android.location.LocationRequest setLocationSettingsIgnored(boolean); method @Deprecated @NonNull public android.location.LocationRequest setLowPowerMode(boolean); method @Deprecated @NonNull public android.location.LocationRequest setNumUpdates(int); method @Deprecated @NonNull public android.location.LocationRequest setProvider(@NonNull String); method @Deprecated @NonNull public android.location.LocationRequest setQuality(int); method @Deprecated @NonNull public android.location.LocationRequest setSmallestDisplacement(float); method @Deprecated public void setWorkSource(@Nullable android.os.WorkSource); field @Deprecated public static final int ACCURACY_BLOCK = 102; // 0x66 field @Deprecated public static final int ACCURACY_CITY = 104; // 0x68 field @Deprecated public static final int ACCURACY_FINE = 100; // 0x64 field @Deprecated public static final int POWER_HIGH = 203; // 0xcb field @Deprecated public static final int POWER_LOW = 201; // 0xc9 field @Deprecated public static final int POWER_NONE = 200; // 0xc8 } public static final class LocationRequest.Builder { method @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_BYPASS) public android.location.LocationRequest.Builder setAdasGnssBypass(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_APP_OPS_STATS) public android.location.LocationRequest.Builder setHiddenFromAppOps(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_BYPASS) public android.location.LocationRequest.Builder setLocationSettingsIgnored(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public android.location.LocationRequest.Builder setLowPower(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public android.location.LocationRequest.Builder setWorkSource(@Nullable android.os.WorkSource); } public final class SatellitePvt implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.location.SatellitePvt.ClockInfo getClockInfo(); method public int getEphemerisSource(); method @FloatRange public double getIonoDelayMeters(); method @IntRange(from=0, to=1023) public int getIssueOfDataClock(); method @IntRange(from=0, to=1023) public int getIssueOfDataEphemeris(); method @Nullable public android.location.SatellitePvt.PositionEcef getPositionEcef(); method @IntRange(from=0) public long getTimeOfClockSeconds(); method @IntRange(from=0) public long getTimeOfEphemerisSeconds(); method @FloatRange public double getTropoDelayMeters(); method @Nullable public android.location.SatellitePvt.VelocityEcef getVelocityEcef(); method public boolean hasIono(); method public boolean hasIssueOfDataClock(); method public boolean hasIssueOfDataEphemeris(); method public boolean hasPositionVelocityClockInfo(); method public boolean hasTimeOfClockSeconds(); method public boolean hasTimeOfEphemerisSeconds(); method public boolean hasTropo(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int EPHEMERIS_SOURCE_DEMODULATED = 0; // 0x0 field public static final int EPHEMERIS_SOURCE_OTHER = 3; // 0x3 field public static final int EPHEMERIS_SOURCE_SERVER_LONG_TERM = 2; // 0x2 field public static final int EPHEMERIS_SOURCE_SERVER_NORMAL = 1; // 0x1 } public static final class SatellitePvt.Builder { ctor public SatellitePvt.Builder(); method @NonNull public android.location.SatellitePvt build(); method @NonNull public android.location.SatellitePvt.Builder setClockInfo(@NonNull android.location.SatellitePvt.ClockInfo); method @NonNull public android.location.SatellitePvt.Builder setEphemerisSource(int); method @NonNull public android.location.SatellitePvt.Builder setIonoDelayMeters(@FloatRange(from=0.0f, to=100.0f) double); method @NonNull public android.location.SatellitePvt.Builder setIssueOfDataClock(@IntRange(from=0, to=1023) int); method @NonNull public android.location.SatellitePvt.Builder setIssueOfDataEphemeris(@IntRange(from=0, to=1023) int); method @NonNull public android.location.SatellitePvt.Builder setPositionEcef(@NonNull android.location.SatellitePvt.PositionEcef); method @NonNull public android.location.SatellitePvt.Builder setTimeOfClockSeconds(@IntRange(from=0) long); method @NonNull public android.location.SatellitePvt.Builder setTimeOfEphemerisSeconds(@IntRange(from=0) long); method @NonNull public android.location.SatellitePvt.Builder setTropoDelayMeters(@FloatRange(from=0.0f, to=100.0f) double); method @NonNull public android.location.SatellitePvt.Builder setVelocityEcef(@NonNull android.location.SatellitePvt.VelocityEcef); } public static final class SatellitePvt.ClockInfo implements android.os.Parcelable { ctor public SatellitePvt.ClockInfo(double, double, double); method public int describeContents(); method @FloatRange public double getClockDriftMetersPerSecond(); method @FloatRange public double getHardwareCodeBiasMeters(); method @FloatRange public double getTimeCorrectionMeters(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SatellitePvt.PositionEcef implements android.os.Parcelable { ctor public SatellitePvt.PositionEcef(double, double, double, double); method public int describeContents(); method @FloatRange(from=0.0f, fromInclusive=false) public double getUreMeters(); method @FloatRange public double getXMeters(); method @FloatRange public double getYMeters(); method @FloatRange public double getZMeters(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SatellitePvt.VelocityEcef implements android.os.Parcelable { ctor public SatellitePvt.VelocityEcef(double, double, double, double); method public int describeContents(); method @FloatRange(from=0.0f, fromInclusive=false) public double getUreRateMetersPerSecond(); method @FloatRange public double getXMetersPerSecond(); method @FloatRange public double getYMetersPerSecond(); method @FloatRange public double getZMetersPerSecond(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.location.provider { public abstract class LocationProviderBase { ctor public LocationProviderBase(@NonNull android.content.Context, @NonNull String, @NonNull android.location.provider.ProviderProperties); method @Nullable public final android.os.IBinder getBinder(); method @NonNull public android.location.provider.ProviderProperties getProperties(); method public boolean isAllowed(); method public abstract void onFlush(@NonNull android.location.provider.LocationProviderBase.OnFlushCompleteCallback); method public abstract void onSendExtraCommand(@NonNull String, @Nullable android.os.Bundle); method public abstract void onSetRequest(@NonNull android.location.provider.ProviderRequest); method public void reportLocation(@NonNull android.location.Location); method public void reportLocations(@NonNull java.util.List); method public void setAllowed(boolean); method public void setProperties(@NonNull android.location.provider.ProviderProperties); field public static final String ACTION_FUSED_PROVIDER = "com.android.location.service.FusedLocationProvider"; field public static final String ACTION_GNSS_PROVIDER = "android.location.provider.action.GNSS_PROVIDER"; field public static final String ACTION_NETWORK_PROVIDER = "com.android.location.service.v3.NetworkLocationProvider"; } public static interface LocationProviderBase.OnFlushCompleteCallback { method public void onFlushComplete(); } public final class ProviderRequest implements android.os.Parcelable { method public int describeContents(); method @IntRange(from=0) public long getIntervalMillis(); method @IntRange(from=0) public long getMaxUpdateDelayMillis(); method public int getQuality(); method @NonNull public android.os.WorkSource getWorkSource(); method public boolean isActive(); method public boolean isLocationSettingsIgnored(); method public boolean isLowPower(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field @NonNull public static final android.location.provider.ProviderRequest EMPTY_REQUEST; field public static final long INTERVAL_DISABLED = 9223372036854775807L; // 0x7fffffffffffffffL } public static final class ProviderRequest.Builder { ctor public ProviderRequest.Builder(); method @NonNull public android.location.provider.ProviderRequest build(); method @NonNull public android.location.provider.ProviderRequest.Builder setIntervalMillis(@IntRange(from=0) long); method @NonNull public android.location.provider.ProviderRequest.Builder setLocationSettingsIgnored(boolean); method @NonNull public android.location.provider.ProviderRequest.Builder setLowPower(boolean); method @NonNull public android.location.provider.ProviderRequest.Builder setMaxUpdateDelayMillis(@IntRange(from=0) long); method @NonNull public android.location.provider.ProviderRequest.Builder setQuality(int); method @NonNull public android.location.provider.ProviderRequest.Builder setWorkSource(@NonNull android.os.WorkSource); } public static interface ProviderRequest.ChangedListener { method public void onProviderRequestChanged(@NonNull String, @NonNull android.location.provider.ProviderRequest); } } package android.media { public final class AudioAttributes implements android.os.Parcelable { method public int getAllFlags(); method public android.os.Bundle getBundle(); method public int getCapturePreset(); method public int getSystemUsage(); method public static boolean isSystemUsage(int); field @RequiresPermission(android.Manifest.permission.ACCESS_ULTRASOUND) public static final int CONTENT_TYPE_ULTRASOUND = 1997; // 0x7cd field public static final int FLAG_BEACON = 8; // 0x8 field public static final int FLAG_BYPASS_INTERRUPTION_POLICY = 64; // 0x40 field public static final int FLAG_BYPASS_MUTE = 128; // 0x80 field public static final int FLAG_HW_HOTWORD = 32; // 0x20 field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_ANNOUNCEMENT = 1003; // 0x3eb field @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public static final int USAGE_CALL_ASSISTANT = 17; // 0x11 field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_EMERGENCY = 1000; // 0x3e8 field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_SAFETY = 1001; // 0x3e9 field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_VEHICLE_STATUS = 1002; // 0x3ea } public static class AudioAttributes.Builder { method public android.media.AudioAttributes.Builder addBundle(@NonNull android.os.Bundle); method public android.media.AudioAttributes.Builder setCapturePreset(int); method @NonNull @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public android.media.AudioAttributes.Builder setHotwordModeEnabled(boolean); method public android.media.AudioAttributes.Builder setInternalCapturePreset(int); method @NonNull public android.media.AudioAttributes.Builder setInternalContentType(int); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioAttributes.Builder setSystemUsage(int); } public class AudioDescriptor implements android.os.Parcelable { ctor public AudioDescriptor(int, int, @NonNull byte[]); } public final class AudioDeviceAttributes implements android.os.Parcelable { ctor public AudioDeviceAttributes(@NonNull android.media.AudioDeviceInfo); ctor public AudioDeviceAttributes(int, int, @NonNull String); ctor public AudioDeviceAttributes(int, int, @NonNull String, @NonNull String, @NonNull java.util.List, @NonNull java.util.List); method public int describeContents(); method public boolean equalTypeAddress(@Nullable Object); method @NonNull public String getAddress(); method @NonNull public java.util.List getAudioDescriptors(); method @NonNull public java.util.List getAudioProfiles(); method @NonNull public String getName(); method public int getRole(); method public int getType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int ROLE_INPUT = 1; // 0x1 field public static final int ROLE_OUTPUT = 2; // 0x2 } public class AudioDeviceVolumeManager { method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED}) public android.media.VolumeInfo getDeviceVolume(@NonNull android.media.VolumeInfo, @NonNull android.media.AudioDeviceAttributes); method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED}) public void setDeviceVolume(@NonNull android.media.VolumeInfo, @NonNull android.media.AudioDeviceAttributes); } public final class AudioFocusInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.media.AudioAttributes getAttributes(); method @NonNull public String getClientId(); method public int getClientUid(); method public int getFlags(); method public int getGainRequest(); method public int getLossReceived(); method @NonNull public String getPackageName(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class AudioFocusRequest { method public boolean locksFocus(); } public static final class AudioFocusRequest.Builder { method @NonNull public android.media.AudioFocusRequest.Builder setLocksFocus(boolean); } public class AudioManager { method @Deprecated public int abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void addAssistantServicesUids(@NonNull int[]); method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, "android.permission.QUERY_AUDIO_STATE"}) public void addOnDevicesForAttributesChangedListener(@NonNull android.media.AudioAttributes, @NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.OnDevicesForAttributesChangedListener); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void addOnNonDefaultDevicesForStrategyChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.OnNonDefaultDevicesForStrategyChangedListener) throws java.lang.SecurityException; method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void addOnPreferredDeviceForStrategyChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.OnPreferredDeviceForStrategyChangedListener) throws java.lang.SecurityException; method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void addOnPreferredDevicesForCapturePresetChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.OnPreferredDevicesForCapturePresetChangedListener) throws java.lang.SecurityException; method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void addOnPreferredDevicesForStrategyChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.OnPreferredDevicesForStrategyChangedListener) throws java.lang.SecurityException; method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void addOnStreamAliasingChangedListener(@NonNull java.util.concurrent.Executor, @NonNull Runnable); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void cancelMuteAwaitConnection(@NonNull android.media.AudioDeviceAttributes) throws java.lang.IllegalStateException; method public void clearAudioServerStateCallback(); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean clearPreferredDevicesForCapturePreset(int); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int dispatchAudioFocusChange(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int[] getActiveAssistantServicesUids(); method @IntRange(from=0) public long getAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int[] getAssistantServicesUids(); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static java.util.List getAudioProductStrategies(); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static java.util.List getAudioVolumeGroups(); method @NonNull @RequiresPermission(android.Manifest.permission.CALL_AUDIO_INTERCEPTION) public android.media.AudioRecord getCallDownlinkExtractionAudioRecord(@NonNull android.media.AudioFormat); method @NonNull @RequiresPermission(android.Manifest.permission.CALL_AUDIO_INTERCEPTION) public android.media.AudioTrack getCallUplinkInjectionAudioTrack(@NonNull android.media.AudioFormat); method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, "android.permission.QUERY_AUDIO_STATE", android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED}) public int getDeviceVolumeBehavior(@NonNull android.media.AudioDeviceAttributes); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, "android.permission.QUERY_AUDIO_STATE"}) public java.util.List getDevicesForAttributes(@NonNull android.media.AudioAttributes); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public java.util.List getIndependentStreamTypes(); method @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public int getLastAudibleStreamVolume(int); method @IntRange(from=0) @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public int getLastAudibleVolumeForVolumeGroup(int); method @IntRange(from=0) public long getMaxAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo); method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getMaxVolumeIndexForAttributes(@NonNull android.media.AudioAttributes); method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getMinVolumeIndexForAttributes(@NonNull android.media.AudioAttributes); method @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioDeviceAttributes getMutingExpectedDevice(); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public java.util.List getNonDefaultDevicesForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); method @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioDeviceAttributes getPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public java.util.List getPreferredDevicesForCapturePreset(int); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public java.util.List getPreferredDevicesForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public int getStreamTypeAlias(int); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int[] getSupportedSystemUsages(); method @IntRange(from=0) @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public int getVolumeGroupMaxVolumeIndex(int); method @IntRange(from=0) @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public int getVolumeGroupMinVolumeIndex(int); method @IntRange(from=0) @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public int getVolumeGroupVolumeIndex(int); method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getVolumeIndexForAttributes(@NonNull android.media.AudioAttributes); method public boolean isAudioServerRunning(); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean isBluetoothVariableLatencyEnabled(); method public boolean isHdmiSystemAudioSupported(); method @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public boolean isHotwordStreamSupported(boolean); method @RequiresPermission(android.Manifest.permission.CALL_AUDIO_INTERCEPTION) public boolean isPstnCallAudioInterceptable(); method @RequiresPermission(android.Manifest.permission.ACCESS_ULTRASOUND) public boolean isUltrasoundSupported(); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void muteAwaitConnection(@NonNull int[], @NonNull android.media.AudioDeviceAttributes, long, @NonNull java.util.concurrent.TimeUnit) throws java.lang.IllegalStateException; method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int registerAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void registerMuteAwaitConnectionCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.MuteAwaitConnectionCallback); method public void registerVolumeGroupCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.VolumeGroupCallback); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void removeAssistantServicesUids(@NonNull int[]); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean removeDeviceAsNonDefaultForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull android.media.AudioDeviceAttributes); method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, "android.permission.QUERY_AUDIO_STATE"}) public void removeOnDevicesForAttributesChangedListener(@NonNull android.media.AudioManager.OnDevicesForAttributesChangedListener); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void removeOnNonDefaultDevicesForStrategyChangedListener(@NonNull android.media.AudioManager.OnNonDefaultDevicesForStrategyChangedListener); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void removeOnPreferredDeviceForStrategyChangedListener(@NonNull android.media.AudioManager.OnPreferredDeviceForStrategyChangedListener); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void removeOnPreferredDevicesForCapturePresetChangedListener(@NonNull android.media.AudioManager.OnPreferredDevicesForCapturePresetChangedListener); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void removeOnPreferredDevicesForStrategyChangedListener(@NonNull android.media.AudioManager.OnPreferredDevicesForStrategyChangedListener); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void removeOnStreamAliasingChangedListener(@NonNull Runnable); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean removePreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, @NonNull android.media.AudioAttributes, int, int) throws java.lang.IllegalArgumentException; method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, @NonNull android.media.AudioAttributes, int, int, android.media.audiopolicy.AudioPolicy) throws java.lang.IllegalArgumentException; method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int requestAudioFocus(@NonNull android.media.AudioFocusRequest, @Nullable android.media.audiopolicy.AudioPolicy); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setActiveAssistantServiceUids(@NonNull int[]); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo, @IntRange(from=0) long); method public void setAudioServerStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.AudioServerStateCallback); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setBluetoothVariableLatencyEnabled(boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setDeviceAsNonDefaultForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull android.media.AudioDeviceAttributes); method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED}) public void setDeviceVolumeBehavior(@NonNull android.media.AudioDeviceAttributes, int); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setFocusRequestResult(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setPreferredDeviceForCapturePreset(int, @NonNull android.media.AudioDeviceAttributes); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull android.media.AudioDeviceAttributes); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setPreferredDevicesForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull java.util.List); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setSupportedSystemUsages(@NonNull int[]); method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public void setVolumeGroupVolumeIndex(int, int, int); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setVolumeIndexForAttributes(@NonNull android.media.AudioAttributes, int, int); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean supportsBluetoothVariableLatency(); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void unregisterAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void unregisterAudioPolicyAsync(@NonNull android.media.audiopolicy.AudioPolicy); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void unregisterMuteAwaitConnectionCallback(@NonNull android.media.AudioManager.MuteAwaitConnectionCallback); method public void unregisterVolumeGroupCallback(@NonNull android.media.AudioManager.VolumeGroupCallback); field public static final String ACTION_VOLUME_CHANGED = "android.media.VOLUME_CHANGED_ACTION"; field public static final int AUDIOFOCUS_FLAG_DELAY_OK = 1; // 0x1 field public static final int AUDIOFOCUS_FLAG_LOCK = 4; // 0x4 field public static final int AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS = 2; // 0x2 field public static final int DEVICE_VOLUME_BEHAVIOR_ABSOLUTE = 3; // 0x3 field public static final int DEVICE_VOLUME_BEHAVIOR_ABSOLUTE_ADJUST_ONLY = 5; // 0x5 field public static final int DEVICE_VOLUME_BEHAVIOR_ABSOLUTE_MULTI_MODE = 4; // 0x4 field public static final int DEVICE_VOLUME_BEHAVIOR_FIXED = 2; // 0x2 field public static final int DEVICE_VOLUME_BEHAVIOR_FULL = 1; // 0x1 field public static final int DEVICE_VOLUME_BEHAVIOR_VARIABLE = 0; // 0x0 field public static final String EXTRA_VOLUME_STREAM_TYPE = "android.media.EXTRA_VOLUME_STREAM_TYPE"; field public static final String EXTRA_VOLUME_STREAM_VALUE = "android.media.EXTRA_VOLUME_STREAM_VALUE"; field public static final int FLAG_BLUETOOTH_ABS_VOLUME = 64; // 0x40 field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int STREAM_ASSISTANT = 11; // 0xb field public static final int STREAM_BLUETOOTH_SCO = 6; // 0x6 field public static final int SUCCESS = 0; // 0x0 } public abstract static class AudioManager.AudioServerStateCallback { ctor public AudioManager.AudioServerStateCallback(); method public void onAudioServerDown(); method public void onAudioServerUp(); } public abstract static class AudioManager.MuteAwaitConnectionCallback { ctor public AudioManager.MuteAwaitConnectionCallback(); method public void onMutedUntilConnection(@NonNull android.media.AudioDeviceAttributes, @NonNull int[]); method public void onUnmutedEvent(int, @NonNull android.media.AudioDeviceAttributes, @NonNull int[]); field public static final int EVENT_CANCEL = 3; // 0x3 field public static final int EVENT_CONNECTION = 1; // 0x1 field public static final int EVENT_TIMEOUT = 2; // 0x2 } public static interface AudioManager.OnDevicesForAttributesChangedListener { method public void onDevicesForAttributesChanged(@NonNull android.media.AudioAttributes, @NonNull java.util.List); } public static interface AudioManager.OnNonDefaultDevicesForStrategyChangedListener { method public void onNonDefaultDevicesForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull java.util.List); } @Deprecated public static interface AudioManager.OnPreferredDeviceForStrategyChangedListener { method @Deprecated public void onPreferredDeviceForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @Nullable android.media.AudioDeviceAttributes); } public static interface AudioManager.OnPreferredDevicesForCapturePresetChangedListener { method public void onPreferredDevicesForCapturePresetChanged(int, @NonNull java.util.List); } public static interface AudioManager.OnPreferredDevicesForStrategyChangedListener { method public void onPreferredDevicesForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull java.util.List); } public abstract static class AudioManager.VolumeGroupCallback { ctor public AudioManager.VolumeGroupCallback(); method public void onAudioVolumeGroupChanged(int, int); } public final class AudioPlaybackConfiguration implements android.os.Parcelable { method public int getChannelMask(); method public int getClientPid(); method public int getClientUid(); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getMutedBy(); method public int getPlayerInterfaceId(); method public android.media.PlayerProxy getPlayerProxy(); method public int getPlayerState(); method public int getPlayerType(); method @IntRange(from=0) public int getSampleRate(); method @IntRange(from=0) public int getSessionId(); method public boolean isActive(); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean isMuted(); method public boolean isSpatialized(); field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int MUTED_BY_APP_OPS = 8; // 0x8 field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int MUTED_BY_CLIENT_VOLUME = 16; // 0x10 field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int MUTED_BY_MASTER = 1; // 0x1 field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int MUTED_BY_STREAM_MUTED = 4; // 0x4 field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int MUTED_BY_STREAM_VOLUME = 2; // 0x2 field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int MUTED_BY_VOLUME_SHAPER = 32; // 0x20 field public static final int PLAYER_STATE_IDLE = 1; // 0x1 field public static final int PLAYER_STATE_PAUSED = 3; // 0x3 field public static final int PLAYER_STATE_RELEASED = 0; // 0x0 field public static final int PLAYER_STATE_STARTED = 2; // 0x2 field public static final int PLAYER_STATE_STOPPED = 4; // 0x4 field public static final int PLAYER_STATE_UNKNOWN = -1; // 0xffffffff field public static final int PLAYER_TYPE_AAUDIO = 13; // 0xd field public static final int PLAYER_TYPE_JAM_AUDIOTRACK = 1; // 0x1 field public static final int PLAYER_TYPE_JAM_MEDIAPLAYER = 2; // 0x2 field public static final int PLAYER_TYPE_JAM_SOUNDPOOL = 3; // 0x3 field public static final int PLAYER_TYPE_SLES_AUDIOPLAYER_BUFFERQUEUE = 11; // 0xb field public static final int PLAYER_TYPE_SLES_AUDIOPLAYER_URI_FD = 12; // 0xc field public static final int PLAYER_TYPE_UNKNOWN = -1; // 0xffffffff } public class AudioProfile implements android.os.Parcelable { ctor public AudioProfile(int, @NonNull int[], @NonNull int[], @NonNull int[], int); } public class AudioRecord implements android.media.AudioRecordingMonitor android.media.AudioRouting android.media.MicrophoneDirection { ctor @RequiresPermission(android.Manifest.permission.RECORD_AUDIO) public AudioRecord(android.media.AudioAttributes, android.media.AudioFormat, int, int) throws java.lang.IllegalArgumentException; method public static long getMaxSharedAudioHistoryMillis(); method public boolean isHotwordLookbackStream(); method public boolean isHotwordStream(); method @NonNull @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public android.media.MediaSyncEvent shareAudioHistory(@NonNull String, @IntRange(from=0) long); } public static class AudioRecord.Builder { method public android.media.AudioRecord.Builder setAudioAttributes(@NonNull android.media.AudioAttributes) throws java.lang.IllegalArgumentException; method @NonNull @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public android.media.AudioRecord.Builder setMaxSharedAudioHistoryMillis(long) throws java.lang.IllegalArgumentException; method @NonNull @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public android.media.AudioRecord.Builder setRequestHotwordLookbackStream(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public android.media.AudioRecord.Builder setRequestHotwordStream(boolean); method public android.media.AudioRecord.Builder setSessionId(int) throws java.lang.IllegalArgumentException; method @NonNull public android.media.AudioRecord.Builder setSharedAudioEvent(@NonNull android.media.MediaSyncEvent) throws java.lang.IllegalArgumentException; } public final class AudioRecordingConfiguration implements android.os.Parcelable { method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getClientUid(); } public class AudioTrack implements android.media.AudioRouting android.media.VolumeAutomation { field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int ENCAPSULATION_MODE_HANDLE = 2; // 0x2 } public static class AudioTrack.Builder { method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioTrack.Builder setTunerConfiguration(@NonNull android.media.AudioTrack.TunerConfiguration); } public static class AudioTrack.TunerConfiguration { ctor @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public AudioTrack.TunerConfiguration(@IntRange(from=0) int, @IntRange(from=1) int); method @IntRange(from=1) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getContentId(); method @IntRange(from=1) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getSyncId(); field public static final int CONTENT_ID_NONE = 0; // 0x0 } public class HwAudioSource { method public boolean isPlaying(); method public void start(); method public void stop(); } public static final class HwAudioSource.Builder { ctor public HwAudioSource.Builder(); method @NonNull public android.media.HwAudioSource build(); method @NonNull public android.media.HwAudioSource.Builder setAudioAttributes(@NonNull android.media.AudioAttributes); method @NonNull public android.media.HwAudioSource.Builder setAudioDeviceInfo(@NonNull android.media.AudioDeviceInfo); } public final class MediaCodec { method @NonNull @RequiresPermission(android.Manifest.permission.MEDIA_RESOURCE_OVERRIDE_PID) public static android.media.MediaCodec createByCodecNameForClient(@NonNull String, int, int) throws java.io.IOException; } public class MediaPlayer implements android.media.AudioRouting android.media.VolumeAutomation { method @RequiresPermission(android.Manifest.permission.BIND_IMS_SERVICE) public void setOnRtpRxNoticeListener(@NonNull android.content.Context, @NonNull java.util.concurrent.Executor, @NonNull android.media.MediaPlayer.OnRtpRxNoticeListener); } public static interface MediaPlayer.OnRtpRxNoticeListener { method public void onRtpRxNotice(@NonNull android.media.MediaPlayer, int, @NonNull int[]); } public final class MediaRecorder.AudioSource { field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_OUTPUT) public static final int ECHO_REFERENCE = 1997; // 0x7cd field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public static final int HOTWORD = 1999; // 0x7cf field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_OUTPUT) public static final int RADIO_TUNER = 1998; // 0x7ce field @RequiresPermission(android.Manifest.permission.ACCESS_ULTRASOUND) public static final int ULTRASOUND = 2000; // 0x7d0 } public final class MediaRouter2 { method @NonNull public java.util.List getAllRoutes(); method @Nullable public String getClientPackageName(); method @Nullable @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public static android.media.MediaRouter2 getInstance(@NonNull android.content.Context, @NonNull String); method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void setRouteVolume(@NonNull android.media.MediaRoute2Info, int); method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void startScan(); method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void stopScan(); method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void transfer(@NonNull android.media.MediaRouter2.RoutingController, @NonNull android.media.MediaRoute2Info); } public abstract static class MediaRouter2.RouteCallback { method public void onPreferredFeaturesChanged(@NonNull java.util.List); } public class MediaSyncEvent implements android.os.Parcelable { field public static final int SYNC_EVENT_SHARE_AUDIO_HISTORY = 100; // 0x64 } public final class MediaTranscodingManager { method @Nullable public android.media.MediaTranscodingManager.TranscodingSession enqueueRequest(@NonNull android.media.MediaTranscodingManager.TranscodingRequest, @NonNull java.util.concurrent.Executor, @NonNull android.media.MediaTranscodingManager.OnTranscodingFinishedListener); } @java.lang.FunctionalInterface public static interface MediaTranscodingManager.OnTranscodingFinishedListener { method public void onTranscodingFinished(@NonNull android.media.MediaTranscodingManager.TranscodingSession); } public abstract static class MediaTranscodingManager.TranscodingRequest { method public int getClientPid(); method public int getClientUid(); method @Nullable public android.os.ParcelFileDescriptor getDestinationFileDescriptor(); method @NonNull public android.net.Uri getDestinationUri(); method @Nullable public android.os.ParcelFileDescriptor getSourceFileDescriptor(); method @NonNull public android.net.Uri getSourceUri(); } public static class MediaTranscodingManager.TranscodingRequest.VideoFormatResolver { ctor public MediaTranscodingManager.TranscodingRequest.VideoFormatResolver(@NonNull android.media.ApplicationMediaCapabilities, @NonNull android.media.MediaFormat); method @Nullable public android.media.MediaFormat resolveVideoFormat(); method public boolean shouldTranscode(); } public static final class MediaTranscodingManager.TranscodingSession { method public boolean addClientUid(int); method public void cancel(); method public void clearOnProgressUpdateListener(); method @NonNull public java.util.List getClientUids(); method public int getErrorCode(); method @IntRange(from=0, to=100) public int getProgress(); method public int getResult(); method public int getSessionId(); method public int getStatus(); method public void setOnProgressUpdateListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.MediaTranscodingManager.TranscodingSession.OnProgressUpdateListener); field public static final int ERROR_DROPPED_BY_SERVICE = 1; // 0x1 field public static final int ERROR_NONE = 0; // 0x0 field public static final int ERROR_SERVICE_DIED = 2; // 0x2 field public static final int RESULT_CANCELED = 4; // 0x4 field public static final int RESULT_ERROR = 3; // 0x3 field public static final int RESULT_NONE = 1; // 0x1 field public static final int RESULT_SUCCESS = 2; // 0x2 field public static final int STATUS_FINISHED = 3; // 0x3 field public static final int STATUS_PAUSED = 4; // 0x4 field public static final int STATUS_PENDING = 1; // 0x1 field public static final int STATUS_RUNNING = 2; // 0x2 } @java.lang.FunctionalInterface public static interface MediaTranscodingManager.TranscodingSession.OnProgressUpdateListener { method public void onProgressUpdate(@NonNull android.media.MediaTranscodingManager.TranscodingSession, @IntRange(from=0, to=100) int); } public static final class MediaTranscodingManager.VideoTranscodingRequest extends android.media.MediaTranscodingManager.TranscodingRequest { method @NonNull public android.media.MediaFormat getVideoTrackFormat(); } public static final class MediaTranscodingManager.VideoTranscodingRequest.Builder { ctor public MediaTranscodingManager.VideoTranscodingRequest.Builder(@NonNull android.net.Uri, @NonNull android.net.Uri, @NonNull android.media.MediaFormat); method @NonNull public android.media.MediaTranscodingManager.VideoTranscodingRequest build(); method @NonNull public android.media.MediaTranscodingManager.VideoTranscodingRequest.Builder setClientPid(int); method @NonNull public android.media.MediaTranscodingManager.VideoTranscodingRequest.Builder setClientUid(int); method @NonNull public android.media.MediaTranscodingManager.VideoTranscodingRequest.Builder setDestinationFileDescriptor(@NonNull android.os.ParcelFileDescriptor); method @NonNull public android.media.MediaTranscodingManager.VideoTranscodingRequest.Builder setSourceFileDescriptor(@NonNull android.os.ParcelFileDescriptor); } public final class NearbyDevice implements android.os.Parcelable { ctor public NearbyDevice(@NonNull String, int); method public int describeContents(); method @NonNull public String getMediaRoute2Id(); method public int getRangeZone(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int RANGE_CLOSE = 3; // 0x3 field public static final int RANGE_FAR = 1; // 0x1 field public static final int RANGE_LONG = 2; // 0x2 field public static final int RANGE_UNKNOWN = 0; // 0x0 field public static final int RANGE_WITHIN_REACH = 4; // 0x4 } public interface NearbyMediaDevicesProvider { method public void registerNearbyDevicesCallback(@NonNull java.util.function.Consumer>); method public void unregisterNearbyDevicesCallback(@NonNull java.util.function.Consumer>); } public class PlayerProxy { method public void pause(); method public void setPan(float); method public void setStartDelayMs(int); method public void setVolume(float); method public void start(); method public void stop(); } public class RingtoneManager { method @RequiresPermission(android.Manifest.permission.WRITE_SETTINGS) public static void ensureDefaultRingtones(@NonNull android.content.Context); } public final class RouteDiscoveryPreference implements android.os.Parcelable { field public static final android.media.RouteDiscoveryPreference EMPTY; } public class Spatializer { method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void addCompatibleAudioDevice(@NonNull android.media.AudioDeviceAttributes); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void addOnHeadTrackingModeChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.Spatializer.OnHeadTrackingModeChangedListener); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void clearOnHeadToSoundstagePoseUpdatedListener(); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void clearOnSpatializerOutputChangedListener(); method @NonNull @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public java.util.List getCompatibleAudioDevices(); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public int getDesiredHeadTrackingMode(); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void getEffectParameter(int, @NonNull byte[]); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public int getHeadTrackingMode(); method @IntRange(from=0) @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public int getOutput(); method @NonNull @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public java.util.List getSupportedHeadTrackingModes(); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public boolean hasHeadTracker(@NonNull android.media.AudioDeviceAttributes); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public boolean isAvailableForDevice(@NonNull android.media.AudioDeviceAttributes); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public boolean isHeadTrackerEnabled(@NonNull android.media.AudioDeviceAttributes); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void recenterHeadTracker(); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void removeCompatibleAudioDevice(@NonNull android.media.AudioDeviceAttributes); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void removeOnHeadTrackingModeChangedListener(@NonNull android.media.Spatializer.OnHeadTrackingModeChangedListener); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setDesiredHeadTrackingMode(int); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setEffectParameter(int, @NonNull byte[]); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setEnabled(boolean); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setGlobalTransform(@NonNull float[]); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setHeadTrackerEnabled(boolean, @NonNull android.media.AudioDeviceAttributes); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setOnHeadToSoundstagePoseUpdatedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.Spatializer.OnHeadToSoundstagePoseUpdatedListener); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setOnSpatializerOutputChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.Spatializer.OnSpatializerOutputChangedListener); field @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static final int HEAD_TRACKING_MODE_DISABLED = -1; // 0xffffffff field @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static final int HEAD_TRACKING_MODE_OTHER = 0; // 0x0 field @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static final int HEAD_TRACKING_MODE_RELATIVE_DEVICE = 2; // 0x2 field @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static final int HEAD_TRACKING_MODE_RELATIVE_WORLD = 1; // 0x1 field @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static final int HEAD_TRACKING_MODE_UNSUPPORTED = -2; // 0xfffffffe } public static interface Spatializer.OnHeadToSoundstagePoseUpdatedListener { method public void onHeadToSoundstagePoseUpdated(@NonNull android.media.Spatializer, @NonNull float[]); } public static interface Spatializer.OnHeadTrackingModeChangedListener { method public void onDesiredHeadTrackingModeChanged(@NonNull android.media.Spatializer, int); method public void onHeadTrackingModeChanged(@NonNull android.media.Spatializer, int); } public static interface Spatializer.OnSpatializerOutputChangedListener { method public void onSpatializerOutputChanged(@NonNull android.media.Spatializer, @IntRange(from=0) int); } public final class VolumeInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public static android.media.VolumeInfo getDefaultVolumeInfo(); method public int getMaxVolumeIndex(); method public int getMinVolumeIndex(); method public int getStreamType(); method @NonNull public android.media.audiopolicy.AudioVolumeGroup getVolumeGroup(); method public int getVolumeIndex(); method public boolean hasMuteCommand(); method public boolean hasStreamType(); method public boolean hasVolumeGroup(); method public boolean isMuted(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int INDEX_NOT_SET = -100; // 0xffffff9c } public static final class VolumeInfo.Builder { ctor public VolumeInfo.Builder(int); ctor public VolumeInfo.Builder(@NonNull android.media.audiopolicy.AudioVolumeGroup); ctor public VolumeInfo.Builder(@NonNull android.media.VolumeInfo); method @NonNull public android.media.VolumeInfo build(); method @NonNull public android.media.VolumeInfo.Builder setMaxVolumeIndex(int); method @NonNull public android.media.VolumeInfo.Builder setMinVolumeIndex(int); method @NonNull public android.media.VolumeInfo.Builder setMuted(boolean); method @NonNull public android.media.VolumeInfo.Builder setVolumeIndex(int); } } package android.media.audiofx { public class AudioEffect { ctor @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public AudioEffect(@NonNull java.util.UUID, @NonNull android.media.AudioDeviceAttributes); method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static boolean isEffectSupportedForDevice(@NonNull java.util.UUID, @NonNull android.media.AudioDeviceAttributes); } } package android.media.audiopolicy { public class AudioMix { method public int getMixState(); field public static final int MIX_STATE_DISABLED = -1; // 0xffffffff field public static final int MIX_STATE_IDLE = 0; // 0x0 field public static final int MIX_STATE_MIXING = 1; // 0x1 field public static final int ROUTE_FLAG_LOOP_BACK = 2; // 0x2 field public static final int ROUTE_FLAG_RENDER = 1; // 0x1 } public static class AudioMix.Builder { ctor public AudioMix.Builder(android.media.audiopolicy.AudioMixingRule) throws java.lang.IllegalArgumentException; method public android.media.audiopolicy.AudioMix build() throws java.lang.IllegalArgumentException; method public android.media.audiopolicy.AudioMix.Builder setDevice(@NonNull android.media.AudioDeviceInfo) throws java.lang.IllegalArgumentException; method public android.media.audiopolicy.AudioMix.Builder setFormat(android.media.AudioFormat) throws java.lang.IllegalArgumentException; method public android.media.audiopolicy.AudioMix.Builder setRouteFlags(int) throws java.lang.IllegalArgumentException; } public class AudioMixingRule { method public int getTargetMixRole(); field public static final int MIX_ROLE_INJECTOR = 1; // 0x1 field public static final int MIX_ROLE_PLAYERS = 0; // 0x0 field public static final int RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET = 2; // 0x2 field public static final int RULE_MATCH_ATTRIBUTE_USAGE = 1; // 0x1 field public static final int RULE_MATCH_AUDIO_SESSION_ID = 16; // 0x10 field public static final int RULE_MATCH_UID = 4; // 0x4 field public static final int RULE_MATCH_USERID = 8; // 0x8 } public static class AudioMixingRule.Builder { ctor public AudioMixingRule.Builder(); method public android.media.audiopolicy.AudioMixingRule.Builder addMixRule(int, Object) throws java.lang.IllegalArgumentException; method public android.media.audiopolicy.AudioMixingRule.Builder addRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException; method @NonNull public android.media.audiopolicy.AudioMixingRule.Builder allowPrivilegedPlaybackCapture(boolean); method public android.media.audiopolicy.AudioMixingRule build(); method public android.media.audiopolicy.AudioMixingRule.Builder excludeMixRule(int, Object) throws java.lang.IllegalArgumentException; method public android.media.audiopolicy.AudioMixingRule.Builder excludeRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException; method @NonNull public android.media.audiopolicy.AudioMixingRule.Builder setTargetMixRole(int); } public class AudioPolicy { method public int attachMixes(@NonNull java.util.List); method public android.media.AudioRecord createAudioRecordSink(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException; method public android.media.AudioTrack createAudioTrackSource(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException; method public int detachMixes(@NonNull java.util.List); method public int getFocusDuckingBehavior(); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public java.util.List getFocusStack(); method public int getStatus(); method public boolean removeUidDeviceAffinity(int); method public boolean removeUserIdDeviceAffinity(int); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean sendFocusLoss(@NonNull android.media.AudioFocusInfo) throws java.lang.IllegalStateException; method public int setFocusDuckingBehavior(int) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException; method public void setRegistration(String); method public boolean setUidDeviceAffinity(int, @NonNull java.util.List); method public boolean setUserIdDeviceAffinity(int, @NonNull java.util.List); method public String toLogFriendlyString(); field public static final int FOCUS_POLICY_DUCKING_DEFAULT = 0; // 0x0 field public static final int FOCUS_POLICY_DUCKING_IN_APP = 0; // 0x0 field public static final int FOCUS_POLICY_DUCKING_IN_POLICY = 1; // 0x1 field public static final int POLICY_STATUS_REGISTERED = 2; // 0x2 field public static final int POLICY_STATUS_UNREGISTERED = 1; // 0x1 } public abstract static class AudioPolicy.AudioPolicyFocusListener { ctor public AudioPolicy.AudioPolicyFocusListener(); method public void onAudioFocusAbandon(android.media.AudioFocusInfo); method public void onAudioFocusGrant(android.media.AudioFocusInfo, int); method public void onAudioFocusLoss(android.media.AudioFocusInfo, boolean); method public void onAudioFocusRequest(android.media.AudioFocusInfo, int); } public abstract static class AudioPolicy.AudioPolicyStatusListener { ctor public AudioPolicy.AudioPolicyStatusListener(); method public void onMixStateUpdate(android.media.audiopolicy.AudioMix); method public void onStatusChange(); } public abstract static class AudioPolicy.AudioPolicyVolumeCallback { ctor public AudioPolicy.AudioPolicyVolumeCallback(); method public void onVolumeAdjustment(int); } public static class AudioPolicy.Builder { ctor public AudioPolicy.Builder(android.content.Context); method @NonNull public android.media.audiopolicy.AudioPolicy.Builder addMix(@NonNull android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException; method @NonNull public android.media.audiopolicy.AudioPolicy build(); method public void setAudioPolicyFocusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyFocusListener); method public void setAudioPolicyStatusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyStatusListener); method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setAudioPolicyVolumeCallback(@NonNull android.media.audiopolicy.AudioPolicy.AudioPolicyVolumeCallback); method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsAudioFocusPolicy(boolean); method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setLooper(@NonNull android.os.Looper) throws java.lang.IllegalArgumentException; } public final class AudioProductStrategy implements android.os.Parcelable { method @NonNull public static android.media.audiopolicy.AudioProductStrategy createInvalidAudioProductStrategy(int); method public int describeContents(); method @NonNull public android.media.AudioAttributes getAudioAttributes(); method public int getId(); method @NonNull public String getName(); method public boolean supportsAudioAttributes(@NonNull android.media.AudioAttributes); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class AudioVolumeGroup implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getAudioAttributes(); method public int getId(); method @NonNull public int[] getLegacyStreamTypes(); method @NonNull public String name(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; field public static final int DEFAULT_VOLUME_GROUP = -1; // 0xffffffff } } package android.media.musicrecognition { public class MusicRecognitionManager { method @RequiresPermission(android.Manifest.permission.MANAGE_MUSIC_RECOGNITION) public void beginStreamingSearch(@NonNull android.media.musicrecognition.RecognitionRequest, @NonNull java.util.concurrent.Executor, @NonNull android.media.musicrecognition.MusicRecognitionManager.RecognitionCallback); field public static final int RECOGNITION_FAILED_AUDIO_UNAVAILABLE = 7; // 0x7 field public static final int RECOGNITION_FAILED_NOT_FOUND = 1; // 0x1 field public static final int RECOGNITION_FAILED_NO_CONNECTIVITY = 2; // 0x2 field public static final int RECOGNITION_FAILED_SERVICE_KILLED = 5; // 0x5 field public static final int RECOGNITION_FAILED_SERVICE_UNAVAILABLE = 3; // 0x3 field public static final int RECOGNITION_FAILED_TIMEOUT = 6; // 0x6 field public static final int RECOGNITION_FAILED_UNKNOWN = -1; // 0xffffffff } public static interface MusicRecognitionManager.RecognitionCallback { method public void onAudioStreamClosed(); method public void onRecognitionFailed(@NonNull android.media.musicrecognition.RecognitionRequest, int); method public void onRecognitionSucceeded(@NonNull android.media.musicrecognition.RecognitionRequest, @NonNull android.media.MediaMetadata, @Nullable android.os.Bundle); } public abstract class MusicRecognitionService extends android.app.Service { ctor public MusicRecognitionService(); method @Nullable public android.os.IBinder onBind(@NonNull android.content.Intent); method public abstract void onRecognize(@NonNull android.os.ParcelFileDescriptor, @NonNull android.media.AudioFormat, @NonNull android.media.musicrecognition.MusicRecognitionService.Callback); } public static interface MusicRecognitionService.Callback { method public void onRecognitionFailed(int); method public void onRecognitionSucceeded(@NonNull android.media.MediaMetadata, @Nullable android.os.Bundle); } public final class RecognitionRequest implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.media.AudioAttributes getAudioAttributes(); method @NonNull public android.media.AudioFormat getAudioFormat(); method public int getCaptureSession(); method public int getIgnoreBeginningFrames(); method public int getMaxAudioLengthSeconds(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class RecognitionRequest.Builder { ctor public RecognitionRequest.Builder(); method @NonNull public android.media.musicrecognition.RecognitionRequest build(); method @NonNull public android.media.musicrecognition.RecognitionRequest.Builder setAudioAttributes(@NonNull android.media.AudioAttributes); method @NonNull public android.media.musicrecognition.RecognitionRequest.Builder setAudioFormat(@NonNull android.media.AudioFormat); method @NonNull public android.media.musicrecognition.RecognitionRequest.Builder setCaptureSession(int); method @NonNull public android.media.musicrecognition.RecognitionRequest.Builder setIgnoreBeginningFrames(int); method @NonNull public android.media.musicrecognition.RecognitionRequest.Builder setMaxAudioLengthSeconds(int); } } package android.media.session { public final class MediaSessionManager { method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void addOnMediaKeyEventDispatchedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.OnMediaKeyEventDispatchedListener); method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void removeOnMediaKeyEventDispatchedListener(@NonNull android.media.session.MediaSessionManager.OnMediaKeyEventDispatchedListener); method @RequiresPermission(android.Manifest.permission.SET_MEDIA_KEY_LISTENER) public void setOnMediaKeyListener(android.media.session.MediaSessionManager.OnMediaKeyListener, @Nullable android.os.Handler); method @RequiresPermission(android.Manifest.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER) public void setOnVolumeKeyLongPressListener(android.media.session.MediaSessionManager.OnVolumeKeyLongPressListener, @Nullable android.os.Handler); } public static interface MediaSessionManager.OnMediaKeyEventDispatchedListener { method public void onMediaKeyEventDispatched(@NonNull android.view.KeyEvent, @NonNull String, @Nullable android.media.session.MediaSession.Token); } public static interface MediaSessionManager.OnMediaKeyListener { method public boolean onMediaKey(android.view.KeyEvent); } public static interface MediaSessionManager.OnVolumeKeyLongPressListener { method public void onVolumeKeyLongPress(android.view.KeyEvent); } } package android.media.soundtrigger { public abstract class SoundTriggerDetectionService extends android.app.Service { ctor public SoundTriggerDetectionService(); method public final android.os.IBinder onBind(android.content.Intent); method @MainThread public void onConnected(@NonNull java.util.UUID, @Nullable android.os.Bundle); method @MainThread public void onDisconnected(@NonNull java.util.UUID, @Nullable android.os.Bundle); method @MainThread public void onError(@NonNull java.util.UUID, @Nullable android.os.Bundle, int, int); method @MainThread public void onGenericRecognitionEvent(@NonNull java.util.UUID, @Nullable android.os.Bundle, int, @NonNull android.hardware.soundtrigger.SoundTrigger.RecognitionEvent); method @MainThread public abstract void onStopOperation(@NonNull java.util.UUID, @Nullable android.os.Bundle, int); method public final void operationFinished(@Nullable java.util.UUID, int); } @Deprecated public final class SoundTriggerDetector { method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public boolean startRecognition(int); method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public boolean stopRecognition(); field @Deprecated public static final int RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS = 2; // 0x2 field @Deprecated public static final int RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO = 1; // 0x1 field @Deprecated public static final int RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION = 4; // 0x4 field @Deprecated public static final int RECOGNITION_FLAG_ENABLE_AUDIO_NOISE_SUPPRESSION = 8; // 0x8 field @Deprecated public static final int RECOGNITION_FLAG_RUN_IN_BATTERY_SAVER = 16; // 0x10 } @Deprecated public abstract static class SoundTriggerDetector.Callback { ctor @Deprecated public SoundTriggerDetector.Callback(); method @Deprecated public abstract void onAvailabilityChanged(int); method @Deprecated public abstract void onDetected(@NonNull android.media.soundtrigger.SoundTriggerDetector.EventPayload); method @Deprecated public abstract void onError(); method @Deprecated public abstract void onRecognitionPaused(); method @Deprecated public abstract void onRecognitionResumed(); } @Deprecated public static class SoundTriggerDetector.EventPayload { method @Deprecated @Nullable public android.media.AudioFormat getCaptureAudioFormat(); method @Deprecated @Nullable public byte[] getTriggerAudio(); } public final class SoundTriggerManager { method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.media.soundtrigger.SoundTriggerDetector createSoundTriggerDetector(java.util.UUID, @NonNull android.media.soundtrigger.SoundTriggerDetector.Callback, @Nullable android.os.Handler); method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public void deleteModel(java.util.UUID); method public int getDetectionServiceOperationsTimeout(); method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.media.soundtrigger.SoundTriggerManager.Model getModel(java.util.UUID); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.hardware.soundtrigger.SoundTrigger.ModuleProperties getModuleProperties(); method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public int getParameter(@NonNull java.util.UUID, int); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.hardware.soundtrigger.SoundTrigger.ModelParamRange queryParameter(@Nullable java.util.UUID, int); method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public int setParameter(@Nullable java.util.UUID, int, int); method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public void updateModel(android.media.soundtrigger.SoundTriggerManager.Model); } public static class SoundTriggerManager.Model { method @NonNull public static android.media.soundtrigger.SoundTriggerManager.Model create(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[], int); method @NonNull public static android.media.soundtrigger.SoundTriggerManager.Model create(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[]); method @Nullable public byte[] getModelData(); method @NonNull public java.util.UUID getModelUuid(); method @NonNull public java.util.UUID getVendorUuid(); method public int getVersion(); } } package android.media.tv { public final class DvbDeviceInfo implements android.os.Parcelable { ctor public DvbDeviceInfo(int, int); method public int describeContents(); method @IntRange(from=0) public int getAdapterId(); method @IntRange(from=0) public int getDeviceId(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TunedInfo implements android.os.Parcelable { method public int describeContents(); method public int getAppTag(); method public int getAppType(); method @Nullable public android.net.Uri getChannelUri(); method @NonNull public String getInputId(); method public boolean isMainSession(); method public boolean isRecordingSession(); method public boolean isVisible(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int APP_TAG_SELF = 0; // 0x0 field public static final int APP_TYPE_NON_SYSTEM = 3; // 0x3 field public static final int APP_TYPE_SELF = 1; // 0x1 field public static final int APP_TYPE_SYSTEM = 2; // 0x2 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TvContentRatingSystemInfo implements android.os.Parcelable { method public static android.media.tv.TvContentRatingSystemInfo createTvContentRatingSystemInfo(int, android.content.pm.ApplicationInfo); method public int describeContents(); method public android.net.Uri getXmlUri(); method public boolean isSystemDefined(); method public void writeToParcel(android.os.Parcel, int); } public final class TvContract { method public static android.net.Uri buildChannelsUriForInput(@Nullable String, boolean); method public static android.net.Uri buildChannelsUriForInput(@Nullable String, @Nullable String, boolean); field public static final String ACTION_CHANNEL_BROWSABLE_REQUESTED = "android.media.tv.action.CHANNEL_BROWSABLE_REQUESTED"; field public static final String EXTRA_BLOCKED_PACKAGES = "android.media.tv.extra.BLOCKED_PACKAGES"; field public static final String EXTRA_COLUMN_NAME = "android.media.tv.extra.COLUMN_NAME"; field public static final String EXTRA_DATA_TYPE = "android.media.tv.extra.DATA_TYPE"; field public static final String EXTRA_DEFAULT_VALUE = "android.media.tv.extra.DEFAULT_VALUE"; field public static final String EXTRA_EXISTING_COLUMN_NAMES = "android.media.tv.extra.EXISTING_COLUMN_NAMES"; field public static final String EXTRA_PACKAGE_NAME = "android.media.tv.extra.PACKAGE_NAME"; field public static final String EXTRA_RESULT_CODE = "android.media.tv.extra.RESULT_CODE"; field public static final String METHOD_ADD_COLUMN = "add_column"; field public static final String METHOD_BLOCK_PACKAGE = "block_package"; field public static final String METHOD_GET_BLOCKED_PACKAGES = "get_blocked_packages"; field public static final String METHOD_GET_COLUMNS = "get_columns"; field public static final String METHOD_UNBLOCK_PACKAGE = "unblock_package"; field public static final int RESULT_ERROR_INVALID_ARGUMENT = 2; // 0x2 field public static final int RESULT_ERROR_IO = 1; // 0x1 field public static final int RESULT_OK = 0; // 0x0 } public static final class TvContract.WatchedPrograms implements android.media.tv.TvContract.BaseTvColumns { field public static final String COLUMN_CHANNEL_ID = "channel_id"; field public static final String COLUMN_DESCRIPTION = "description"; field public static final String COLUMN_END_TIME_UTC_MILLIS = "end_time_utc_millis"; field public static final String COLUMN_INTERNAL_SESSION_TOKEN = "session_token"; field public static final String COLUMN_INTERNAL_TUNE_PARAMS = "tune_params"; field public static final String COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis"; field public static final String COLUMN_TITLE = "title"; field public static final String COLUMN_WATCH_END_TIME_UTC_MILLIS = "watch_end_time_utc_millis"; field public static final String COLUMN_WATCH_START_TIME_UTC_MILLIS = "watch_start_time_utc_millis"; field public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/watched_program"; field public static final String CONTENT_TYPE = "vnd.android.cursor.dir/watched_program"; field public static final android.net.Uri CONTENT_URI; } public final class TvInputHardwareInfo implements android.os.Parcelable { method public int describeContents(); method public String getAudioAddress(); method public int getAudioType(); method public int getCableConnectionStatus(); method public int getDeviceId(); method public int getHdmiPortId(); method public int getType(); method public void readFromParcel(android.os.Parcel); method public void writeToParcel(android.os.Parcel, int); field public static final int CABLE_CONNECTION_STATUS_CONNECTED = 1; // 0x1 field public static final int CABLE_CONNECTION_STATUS_DISCONNECTED = 2; // 0x2 field public static final int CABLE_CONNECTION_STATUS_UNKNOWN = 0; // 0x0 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TV_INPUT_TYPE_COMPONENT = 6; // 0x6 field public static final int TV_INPUT_TYPE_COMPOSITE = 3; // 0x3 field public static final int TV_INPUT_TYPE_DISPLAY_PORT = 10; // 0xa field public static final int TV_INPUT_TYPE_DVI = 8; // 0x8 field public static final int TV_INPUT_TYPE_HDMI = 9; // 0x9 field public static final int TV_INPUT_TYPE_OTHER_HARDWARE = 1; // 0x1 field public static final int TV_INPUT_TYPE_SCART = 5; // 0x5 field public static final int TV_INPUT_TYPE_SVIDEO = 4; // 0x4 field public static final int TV_INPUT_TYPE_TUNER = 2; // 0x2 field public static final int TV_INPUT_TYPE_VGA = 7; // 0x7 } public static final class TvInputHardwareInfo.Builder { ctor public TvInputHardwareInfo.Builder(); method public android.media.tv.TvInputHardwareInfo.Builder audioAddress(String); method public android.media.tv.TvInputHardwareInfo.Builder audioType(int); method public android.media.tv.TvInputHardwareInfo build(); method public android.media.tv.TvInputHardwareInfo.Builder cableConnectionStatus(int); method public android.media.tv.TvInputHardwareInfo.Builder deviceId(int); method public android.media.tv.TvInputHardwareInfo.Builder hdmiPortId(int); method public android.media.tv.TvInputHardwareInfo.Builder type(int); } public final class TvInputInfo implements android.os.Parcelable { method @Deprecated public static android.media.tv.TvInputInfo createTvInputInfo(android.content.Context, android.content.pm.ResolveInfo, android.hardware.hdmi.HdmiDeviceInfo, String, String, android.net.Uri) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; method @Deprecated public static android.media.tv.TvInputInfo createTvInputInfo(android.content.Context, android.content.pm.ResolveInfo, android.hardware.hdmi.HdmiDeviceInfo, String, int, android.graphics.drawable.Icon) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; method @Deprecated public static android.media.tv.TvInputInfo createTvInputInfo(android.content.Context, android.content.pm.ResolveInfo, android.media.tv.TvInputHardwareInfo, String, android.net.Uri) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; method @Deprecated public static android.media.tv.TvInputInfo createTvInputInfo(android.content.Context, android.content.pm.ResolveInfo, android.media.tv.TvInputHardwareInfo, int, android.graphics.drawable.Icon) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; method public android.hardware.hdmi.HdmiDeviceInfo getHdmiDeviceInfo(); method public boolean isConnectedToHdmiSwitch(); method public boolean isHardwareInput(); method public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.Context, int); } public static final class TvInputInfo.Builder { method public android.media.tv.TvInputInfo.Builder setHdmiDeviceInfo(android.hardware.hdmi.HdmiDeviceInfo); method public android.media.tv.TvInputInfo.Builder setIcon(android.graphics.drawable.Icon); method public android.media.tv.TvInputInfo.Builder setIcon(android.graphics.drawable.Icon, int); method public android.media.tv.TvInputInfo.Builder setLabel(CharSequence); method public android.media.tv.TvInputInfo.Builder setLabel(@StringRes int); method public android.media.tv.TvInputInfo.Builder setParentId(String); method public android.media.tv.TvInputInfo.Builder setTvInputHardwareInfo(android.media.tv.TvInputHardwareInfo); } public static final class TvInputInfo.TvInputSettings { method public static java.util.Map getCustomLabels(android.content.Context, int); method public static java.util.Set getHiddenTvInputIds(android.content.Context, int); method public static void putCustomLabels(android.content.Context, java.util.Map, int); method public static void putHiddenTvInputs(android.content.Context, java.util.Set, int); } public final class TvInputManager { method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, @NonNull android.media.tv.TvInputInfo, @NonNull android.media.tv.TvInputManager.HardwareCallback); method @Nullable @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, @NonNull android.media.tv.TvInputInfo, @Nullable String, int, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.TvInputManager.HardwareCallback); method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void addBlockedRating(@NonNull android.media.tv.TvContentRating); method @RequiresPermission(android.Manifest.permission.CAPTURE_TV_INPUT) public boolean captureFrame(String, android.view.Surface, android.media.tv.TvStreamConfig); method @NonNull @RequiresPermission(android.Manifest.permission.TIS_EXTENSION_INTERFACE) public java.util.List getAvailableExtensionInterfaceNames(@NonNull String); method @RequiresPermission(android.Manifest.permission.CAPTURE_TV_INPUT) public java.util.List getAvailableTvStreamConfigList(String); method @RequiresPermission("android.permission.TUNER_RESOURCE_ACCESS") public int getClientPid(@NonNull String); method @RequiresPermission("android.permission.TUNER_RESOURCE_ACCESS") public int getClientPriority(int, @NonNull String); method @RequiresPermission("android.permission.TUNER_RESOURCE_ACCESS") public int getClientPriority(int); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_TUNED_INFO) public java.util.List getCurrentTunedInfos(); method @NonNull @RequiresPermission("android.permission.DVB_DEVICE") public java.util.List getDvbDeviceList(); method @Nullable @RequiresPermission(android.Manifest.permission.TIS_EXTENSION_INTERFACE) public android.os.IBinder getExtensionInterface(@NonNull String, @NonNull String); method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public java.util.List getHardwareList(); method @RequiresPermission(android.Manifest.permission.READ_CONTENT_RATING_SYSTEMS) public java.util.List getTvContentRatingSystemList(); method @RequiresPermission(android.Manifest.permission.CAPTURE_TV_INPUT) public boolean isSingleSessionActive(); method @RequiresPermission(android.Manifest.permission.NOTIFY_TV_INPUTS) public void notifyPreviewProgramAddedToWatchNext(String, long, long); method @RequiresPermission(android.Manifest.permission.NOTIFY_TV_INPUTS) public void notifyPreviewProgramBrowsableDisabled(String, long); method @RequiresPermission(android.Manifest.permission.NOTIFY_TV_INPUTS) public void notifyWatchNextProgramBrowsableDisabled(String, long); method @Nullable @RequiresPermission("android.permission.DVB_DEVICE") public android.os.ParcelFileDescriptor openDvbDevice(@NonNull android.media.tv.DvbDeviceInfo, int); method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public void releaseTvInputHardware(int, android.media.tv.TvInputManager.Hardware); method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void removeBlockedRating(@NonNull android.media.tv.TvContentRating); method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void setParentalControlsEnabled(boolean); } public static final class TvInputManager.Hardware { method public void overrideAudioSink(int, String, int, int, int); method public void overrideAudioSink(@NonNull android.media.AudioDeviceInfo, @IntRange(from=0) int, int, int); method public void setStreamVolume(float); method public boolean setSurface(android.view.Surface, android.media.tv.TvStreamConfig); } public abstract static class TvInputManager.HardwareCallback { ctor public TvInputManager.HardwareCallback(); method public abstract void onReleased(); method public abstract void onStreamConfigChanged(android.media.tv.TvStreamConfig[]); } public abstract static class TvInputManager.TvInputCallback { method @RequiresPermission(android.Manifest.permission.ACCESS_TUNED_INFO) public void onCurrentTunedInfosUpdated(@NonNull java.util.List); } public abstract class TvInputService extends android.app.Service { method @Nullable public android.os.IBinder createExtension(); method @NonNull public java.util.List getAvailableExtensionInterfaceNames(); method @Nullable public android.os.IBinder getExtensionInterface(@NonNull String); method @Nullable public String getExtensionInterfacePermission(@NonNull String); method @Nullable public android.media.tv.TvInputInfo onHardwareAdded(android.media.tv.TvInputHardwareInfo); method @Nullable public String onHardwareRemoved(android.media.tv.TvInputHardwareInfo); method @Nullable public android.media.tv.TvInputInfo onHdmiDeviceAdded(android.hardware.hdmi.HdmiDeviceInfo); method @Nullable public String onHdmiDeviceRemoved(android.hardware.hdmi.HdmiDeviceInfo); method public void onHdmiDeviceUpdated(@NonNull android.hardware.hdmi.HdmiDeviceInfo); } public abstract static class TvInputService.RecordingSession { method public void notifySessionEvent(@NonNull String, android.os.Bundle); } public abstract static class TvInputService.Session implements android.view.KeyEvent.Callback { method public void notifySessionEvent(@NonNull String, android.os.Bundle); method public void onSetMain(boolean); } public abstract static class TvRecordingClient.RecordingCallback { method public void onEvent(String, String, android.os.Bundle); } public class TvStreamConfig implements android.os.Parcelable { method public int describeContents(); method public int getGeneration(); method public int getMaxHeight(); method public int getMaxWidth(); method public int getStreamId(); method public int getType(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int STREAM_TYPE_BUFFER_PRODUCER = 2; // 0x2 field public static final int STREAM_TYPE_INDEPENDENT_VIDEO_SOURCE = 1; // 0x1 } public static final class TvStreamConfig.Builder { ctor public TvStreamConfig.Builder(); method public android.media.tv.TvStreamConfig build(); method public android.media.tv.TvStreamConfig.Builder generation(int); method public android.media.tv.TvStreamConfig.Builder maxHeight(int); method public android.media.tv.TvStreamConfig.Builder maxWidth(int); method public android.media.tv.TvStreamConfig.Builder streamId(int); method public android.media.tv.TvStreamConfig.Builder type(int); } public class TvView extends android.view.ViewGroup { method @RequiresPermission("android.permission.CHANGE_HDMI_CEC_ACTIVE_SOURCE") public void setMain(); method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void unblockContent(android.media.tv.TvContentRating); } public abstract static class TvView.TvInputCallback { method public void onEvent(String, String, android.os.Bundle); } } package android.media.tv.tuner { public class DemuxCapabilities { method public int getAudioFilterCount(); method public int getDemuxCount(); method public int getFilterCapabilities(); method @NonNull public int[] getFilterTypeCapabilityList(); method @NonNull @Size(5) public int[] getLinkCapabilities(); method public int getPcrFilterCount(); method public int getPesFilterCount(); method public int getPlaybackCount(); method public int getRecordCount(); method public int getSectionFilterCount(); method public long getSectionFilterLength(); method public int getTsFilterCount(); method public int getVideoFilterCount(); method public boolean isTimeFilterSupported(); } public class DemuxInfo { ctor public DemuxInfo(int); method public int getFilterTypes(); method public void setFilterTypes(int); } public class Descrambler implements java.lang.AutoCloseable { method public int addPid(int, int, @Nullable android.media.tv.tuner.filter.Filter); method public void close(); method public static boolean isValidKeyToken(@NonNull byte[]); method public int removePid(int, int, @Nullable android.media.tv.tuner.filter.Filter); method public int setKeyToken(@NonNull byte[]); field public static final int PID_TYPE_MMTP = 2; // 0x2 field public static final int PID_TYPE_T = 1; // 0x1 } public class Lnb implements java.lang.AutoCloseable { method public void addCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.LnbCallback); method public void close(); method public boolean removeCallback(@NonNull android.media.tv.tuner.LnbCallback); method public int sendDiseqcMessage(@NonNull byte[]); method public int setSatellitePosition(int); method public int setTone(int); method public int setVoltage(int); field public static final int EVENT_TYPE_DISEQC_RX_OVERFLOW = 0; // 0x0 field public static final int EVENT_TYPE_DISEQC_RX_PARITY_ERROR = 2; // 0x2 field public static final int EVENT_TYPE_DISEQC_RX_TIMEOUT = 1; // 0x1 field public static final int EVENT_TYPE_LNB_OVERLOAD = 3; // 0x3 field public static final int POSITION_A = 1; // 0x1 field public static final int POSITION_B = 2; // 0x2 field public static final int POSITION_UNDEFINED = 0; // 0x0 field public static final int TONE_CONTINUOUS = 1; // 0x1 field public static final int TONE_NONE = 0; // 0x0 field public static final int VOLTAGE_11V = 2; // 0x2 field public static final int VOLTAGE_12V = 3; // 0x3 field public static final int VOLTAGE_13V = 4; // 0x4 field public static final int VOLTAGE_14V = 5; // 0x5 field public static final int VOLTAGE_15V = 6; // 0x6 field public static final int VOLTAGE_18V = 7; // 0x7 field public static final int VOLTAGE_19V = 8; // 0x8 field public static final int VOLTAGE_5V = 1; // 0x1 field public static final int VOLTAGE_NONE = 0; // 0x0 } public interface LnbCallback { method public void onDiseqcMessage(@NonNull byte[]); method public void onEvent(int); } public class Tuner implements java.lang.AutoCloseable { ctor @RequiresPermission(android.Manifest.permission.ACCESS_TV_TUNER) public Tuner(@NonNull android.content.Context, @Nullable String, int); method public int applyFrontend(@NonNull android.media.tv.tuner.frontend.FrontendInfo); method public int cancelScanning(); method public int cancelTuning(); method public void clearOnTuneEventListener(); method public void clearResourceLostListener(); method public void close(); method public void closeFrontend(); method public int configureDemux(@Nullable android.media.tv.tuner.DemuxInfo); method public int connectCiCam(int); method public int connectFrontendToCiCam(int); method public int disconnectCiCam(); method public int disconnectFrontendToCiCam(int); method public int getAvSyncHwId(@NonNull android.media.tv.tuner.filter.Filter); method public long getAvSyncTime(int); method @Nullable public java.util.List getAvailableFrontendInfos(); method @Nullable public android.media.tv.tuner.DemuxInfo getCurrentDemuxInfo(); method @Nullable public String getCurrentFrontendHardwareInfo(); method @Nullable public android.media.tv.tuner.DemuxCapabilities getDemuxCapabilities(); method @Nullable public android.media.tv.tuner.frontend.FrontendInfo getFrontendInfo(); method @Nullable public android.media.tv.tuner.frontend.FrontendStatus getFrontendStatus(@NonNull int[]); method @NonNull public java.util.List getFrontendStatusReadiness(@NonNull int[]); method @IntRange(from=0xffffffff) public int getMaxNumberOfFrontends(int); method @RequiresPermission("android.permission.TUNER_RESOURCE_ACCESS") public boolean hasUnusedFrontend(int); method public boolean isLnaSupported(); method public boolean isLowestPriority(int); method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_TV_DESCRAMBLER) public android.media.tv.tuner.Descrambler openDescrambler(); method @Nullable public android.media.tv.tuner.dvr.DvrPlayback openDvrPlayback(long, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.dvr.OnPlaybackStatusChangedListener); method @Nullable public android.media.tv.tuner.dvr.DvrRecorder openDvrRecorder(long, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.dvr.OnRecordStatusChangedListener); method @Nullable public android.media.tv.tuner.filter.Filter openFilter(int, int, long, @Nullable java.util.concurrent.Executor, @Nullable android.media.tv.tuner.filter.FilterCallback); method @Nullable public android.media.tv.tuner.Lnb openLnb(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.LnbCallback); method @Nullable public android.media.tv.tuner.Lnb openLnbByName(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.LnbCallback); method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_TV_SHARED_FILTER) public static android.media.tv.tuner.filter.SharedFilter openSharedFilter(@NonNull android.content.Context, @NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.filter.SharedFilterCallback); method @Nullable public android.media.tv.tuner.filter.TimeFilter openTimeFilter(); method public int removeOutputPid(@IntRange(from=0) int); method public int scan(@NonNull android.media.tv.tuner.frontend.FrontendSettings, int, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.frontend.ScanCallback); method public int setLnaEnabled(boolean); method public int setMaxNumberOfFrontends(int, @IntRange(from=0) int); method public void setOnTuneEventListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.frontend.OnTuneEventListener); method public void setResourceLostListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.Tuner.OnResourceLostListener); method public void shareFrontendFromTuner(@NonNull android.media.tv.tuner.Tuner); method public int transferOwner(@NonNull android.media.tv.tuner.Tuner); method public int tune(@NonNull android.media.tv.tuner.frontend.FrontendSettings); method @RequiresPermission("android.permission.TUNER_RESOURCE_ACCESS") public void updateResourcePriority(int, int); field public static final int INVALID_AV_SYNC_ID = -1; // 0xffffffff field public static final int INVALID_FILTER_ID = -1; // 0xffffffff field public static final long INVALID_FILTER_ID_LONG = -1L; // 0xffffffffffffffffL field public static final int INVALID_FIRST_MACROBLOCK_IN_SLICE = -1; // 0xffffffff field public static final int INVALID_FRONTEND_ID = -1; // 0xffffffff field public static final int INVALID_FRONTEND_SETTING_FREQUENCY = -1; // 0xffffffff field public static final int INVALID_LTS_ID = -1; // 0xffffffff field public static final int INVALID_MMTP_RECORD_EVENT_MPT_SEQUENCE_NUM = -1; // 0xffffffff field public static final int INVALID_STREAM_ID = 65535; // 0xffff field public static final long INVALID_TIMESTAMP = -1L; // 0xffffffffffffffffL field public static final int INVALID_TS_PID = 65535; // 0xffff field public static final int RESULT_INVALID_ARGUMENT = 4; // 0x4 field public static final int RESULT_INVALID_STATE = 3; // 0x3 field public static final int RESULT_NOT_INITIALIZED = 2; // 0x2 field public static final int RESULT_OUT_OF_MEMORY = 5; // 0x5 field public static final int RESULT_SUCCESS = 0; // 0x0 field public static final int RESULT_UNAVAILABLE = 1; // 0x1 field public static final int RESULT_UNKNOWN_ERROR = 6; // 0x6 field public static final int SCAN_TYPE_AUTO = 1; // 0x1 field public static final int SCAN_TYPE_BLIND = 2; // 0x2 field public static final int SCAN_TYPE_UNDEFINED = 0; // 0x0 field @NonNull public static final byte[] VOID_KEYTOKEN; } public static interface Tuner.OnResourceLostListener { method public void onResourceLost(@NonNull android.media.tv.tuner.Tuner); } public final class TunerVersionChecker { method public static int getTunerVersion(); field public static final int TUNER_VERSION_1_0 = 65536; // 0x10000 field public static final int TUNER_VERSION_1_1 = 65537; // 0x10001 field public static final int TUNER_VERSION_2_0 = 131072; // 0x20000 field public static final int TUNER_VERSION_3_0 = 196608; // 0x30000 field public static final int TUNER_VERSION_UNKNOWN = 0; // 0x0 } } package android.media.tv.tuner.dvr { public class DvrPlayback implements java.lang.AutoCloseable { method @Deprecated public int attachFilter(@NonNull android.media.tv.tuner.filter.Filter); method public void close(); method public int configure(@NonNull android.media.tv.tuner.dvr.DvrSettings); method @Deprecated public int detachFilter(@NonNull android.media.tv.tuner.filter.Filter); method public int flush(); method public long read(long); method public long read(@NonNull byte[], long, long); method public long seek(long); method public void setFileDescriptor(@NonNull android.os.ParcelFileDescriptor); method public int setPlaybackBufferStatusCheckIntervalHint(long); method public int start(); method public int stop(); field public static final int PLAYBACK_STATUS_ALMOST_EMPTY = 2; // 0x2 field public static final int PLAYBACK_STATUS_ALMOST_FULL = 4; // 0x4 field public static final int PLAYBACK_STATUS_EMPTY = 1; // 0x1 field public static final int PLAYBACK_STATUS_FULL = 8; // 0x8 } public class DvrRecorder implements java.lang.AutoCloseable { method public int attachFilter(@NonNull android.media.tv.tuner.filter.Filter); method public void close(); method public int configure(@NonNull android.media.tv.tuner.dvr.DvrSettings); method public int detachFilter(@NonNull android.media.tv.tuner.filter.Filter); method public int flush(); method public void setFileDescriptor(@NonNull android.os.ParcelFileDescriptor); method public int setRecordBufferStatusCheckIntervalHint(long); method public int start(); method public int stop(); method public long write(long); method public long write(@NonNull byte[], long, long); } public class DvrSettings { method @NonNull public static android.media.tv.tuner.dvr.DvrSettings.Builder builder(); method public int getDataFormat(); method public long getHighThreshold(); method public long getLowThreshold(); method public long getPacketSize(); method public int getStatusMask(); field public static final int DATA_FORMAT_ES = 2; // 0x2 field public static final int DATA_FORMAT_PES = 1; // 0x1 field public static final int DATA_FORMAT_SHV_TLV = 3; // 0x3 field public static final int DATA_FORMAT_TS = 0; // 0x0 } public static final class DvrSettings.Builder { ctor public DvrSettings.Builder(); method @NonNull public android.media.tv.tuner.dvr.DvrSettings build(); method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setDataFormat(int); method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setHighThreshold(long); method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setLowThreshold(long); method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setPacketSize(long); method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setStatusMask(int); } public interface OnPlaybackStatusChangedListener { method public void onPlaybackStatusChanged(int); } public interface OnRecordStatusChangedListener { method public void onRecordStatusChanged(int); } } package android.media.tv.tuner.filter { public final class AlpFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration { method @NonNull public static android.media.tv.tuner.filter.AlpFilterConfiguration.Builder builder(); method public int getLengthType(); method public int getPacketType(); method public int getType(); field public static final int LENGTH_TYPE_UNDEFINED = 0; // 0x0 field public static final int LENGTH_TYPE_WITHOUT_ADDITIONAL_HEADER = 1; // 0x1 field public static final int LENGTH_TYPE_WITH_ADDITIONAL_HEADER = 2; // 0x2 field public static final int PACKET_TYPE_COMPRESSED = 2; // 0x2 field public static final int PACKET_TYPE_EXTENSION = 6; // 0x6 field public static final int PACKET_TYPE_IPV4 = 0; // 0x0 field public static final int PACKET_TYPE_MPEG2_TS = 7; // 0x7 field public static final int PACKET_TYPE_SIGNALING = 4; // 0x4 } public static final class AlpFilterConfiguration.Builder { method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration build(); method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration.Builder setLengthType(int); method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration.Builder setPacketType(int); method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings); } public class AudioDescriptor { method public byte getAdFade(); method public byte getAdGainCenter(); method public byte getAdGainFront(); method public byte getAdGainSurround(); method public byte getAdPan(); method public char getAdVersionTextTag(); } public class AvSettings extends android.media.tv.tuner.filter.Settings { method @NonNull public static android.media.tv.tuner.filter.AvSettings.Builder builder(int, boolean); method public int getAudioStreamType(); method public int getVideoStreamType(); method public boolean isPassthrough(); method public boolean useSecureMemory(); field public static final int AUDIO_STREAM_TYPE_AAC = 6; // 0x6 field public static final int AUDIO_STREAM_TYPE_AAC_ADTS = 16; // 0x10 field public static final int AUDIO_STREAM_TYPE_AAC_HE_ADTS = 18; // 0x12 field public static final int AUDIO_STREAM_TYPE_AAC_HE_LATM = 19; // 0x13 field public static final int AUDIO_STREAM_TYPE_AAC_LATM = 17; // 0x11 field public static final int AUDIO_STREAM_TYPE_AC3 = 7; // 0x7 field public static final int AUDIO_STREAM_TYPE_AC4 = 9; // 0x9 field public static final int AUDIO_STREAM_TYPE_DRA = 15; // 0xf field public static final int AUDIO_STREAM_TYPE_DTS = 10; // 0xa field public static final int AUDIO_STREAM_TYPE_DTS_HD = 11; // 0xb field public static final int AUDIO_STREAM_TYPE_EAC3 = 8; // 0x8 field public static final int AUDIO_STREAM_TYPE_MP3 = 2; // 0x2 field public static final int AUDIO_STREAM_TYPE_MPEG1 = 3; // 0x3 field public static final int AUDIO_STREAM_TYPE_MPEG2 = 4; // 0x4 field public static final int AUDIO_STREAM_TYPE_MPEGH = 5; // 0x5 field public static final int AUDIO_STREAM_TYPE_OPUS = 13; // 0xd field public static final int AUDIO_STREAM_TYPE_PCM = 1; // 0x1 field public static final int AUDIO_STREAM_TYPE_UNDEFINED = 0; // 0x0 field public static final int AUDIO_STREAM_TYPE_VORBIS = 14; // 0xe field public static final int AUDIO_STREAM_TYPE_WMA = 12; // 0xc field public static final int VIDEO_STREAM_TYPE_AV1 = 10; // 0xa field public static final int VIDEO_STREAM_TYPE_AVC = 5; // 0x5 field public static final int VIDEO_STREAM_TYPE_AVS = 11; // 0xb field public static final int VIDEO_STREAM_TYPE_AVS2 = 12; // 0xc field public static final int VIDEO_STREAM_TYPE_HEVC = 6; // 0x6 field public static final int VIDEO_STREAM_TYPE_MPEG1 = 2; // 0x2 field public static final int VIDEO_STREAM_TYPE_MPEG2 = 3; // 0x3 field public static final int VIDEO_STREAM_TYPE_MPEG4P2 = 4; // 0x4 field public static final int VIDEO_STREAM_TYPE_RESERVED = 1; // 0x1 field public static final int VIDEO_STREAM_TYPE_UNDEFINED = 0; // 0x0 field public static final int VIDEO_STREAM_TYPE_VC1 = 7; // 0x7 field public static final int VIDEO_STREAM_TYPE_VP8 = 8; // 0x8 field public static final int VIDEO_STREAM_TYPE_VP9 = 9; // 0x9 field public static final int VIDEO_STREAM_TYPE_VVC = 13; // 0xd } public static class AvSettings.Builder { method @NonNull public android.media.tv.tuner.filter.AvSettings build(); method @NonNull public android.media.tv.tuner.filter.AvSettings.Builder setAudioStreamType(int); method @NonNull public android.media.tv.tuner.filter.AvSettings.Builder setPassthrough(boolean); method @NonNull public android.media.tv.tuner.filter.AvSettings.Builder setUseSecureMemory(boolean); method @NonNull public android.media.tv.tuner.filter.AvSettings.Builder setVideoStreamType(int); } public class DownloadEvent extends android.media.tv.tuner.filter.FilterEvent { method public int getDataLength(); method public int getDownloadId(); method public int getItemFragmentIndex(); method public int getItemId(); method public int getLastItemFragmentIndex(); method @IntRange(from=0) public int getMpuSequenceNumber(); } public class DownloadSettings extends android.media.tv.tuner.filter.Settings { method @NonNull public static android.media.tv.tuner.filter.DownloadSettings.Builder builder(int); method public int getDownloadId(); method public boolean useDownloadId(); } public static class DownloadSettings.Builder { method @NonNull public android.media.tv.tuner.filter.DownloadSettings build(); method @NonNull public android.media.tv.tuner.filter.DownloadSettings.Builder setDownloadId(int); method @NonNull public android.media.tv.tuner.filter.DownloadSettings.Builder setUseDownloadId(boolean); } public class Filter implements java.lang.AutoCloseable { method @Nullable public String acquireSharedFilterToken(); method public void close(); method public int configure(@NonNull android.media.tv.tuner.filter.FilterConfiguration); method public int delayCallbackForDurationMillis(long); method public int delayCallbackUntilBytesAccumulated(int); method public int flush(); method public void freeSharedFilterToken(@NonNull String); method @Deprecated public int getId(); method public long getIdLong(); method public int read(@NonNull byte[], long, long); method public int setDataSource(@Nullable android.media.tv.tuner.filter.Filter); method public int setMonitorEventMask(int); method public int start(); method public int stop(); field public static final int MONITOR_EVENT_IP_CID_CHANGE = 2; // 0x2 field public static final int MONITOR_EVENT_SCRAMBLING_STATUS = 1; // 0x1 field public static final int SCRAMBLING_STATUS_NOT_SCRAMBLED = 2; // 0x2 field public static final int SCRAMBLING_STATUS_SCRAMBLED = 4; // 0x4 field public static final int SCRAMBLING_STATUS_UNKNOWN = 1; // 0x1 field public static final int STATUS_DATA_READY = 1; // 0x1 field public static final int STATUS_HIGH_WATER = 4; // 0x4 field public static final int STATUS_LOW_WATER = 2; // 0x2 field public static final int STATUS_NO_DATA = 16; // 0x10 field public static final int STATUS_OVERFLOW = 8; // 0x8 field public static final int SUBTYPE_AUDIO = 3; // 0x3 field public static final int SUBTYPE_DOWNLOAD = 5; // 0x5 field public static final int SUBTYPE_IP = 13; // 0xd field public static final int SUBTYPE_IP_PAYLOAD = 12; // 0xc field public static final int SUBTYPE_MMTP = 10; // 0xa field public static final int SUBTYPE_NTP = 11; // 0xb field public static final int SUBTYPE_PAYLOAD_THROUGH = 14; // 0xe field public static final int SUBTYPE_PCR = 8; // 0x8 field public static final int SUBTYPE_PES = 2; // 0x2 field public static final int SUBTYPE_PTP = 16; // 0x10 field public static final int SUBTYPE_RECORD = 6; // 0x6 field public static final int SUBTYPE_SECTION = 1; // 0x1 field public static final int SUBTYPE_TEMI = 9; // 0x9 field public static final int SUBTYPE_TLV = 15; // 0xf field public static final int SUBTYPE_TS = 7; // 0x7 field public static final int SUBTYPE_UNDEFINED = 0; // 0x0 field public static final int SUBTYPE_VIDEO = 4; // 0x4 field public static final int TYPE_ALP = 16; // 0x10 field public static final int TYPE_IP = 4; // 0x4 field public static final int TYPE_MMTP = 2; // 0x2 field public static final int TYPE_TLV = 8; // 0x8 field public static final int TYPE_TS = 1; // 0x1 field public static final int TYPE_UNDEFINED = 0; // 0x0 } public interface FilterCallback { method public void onFilterEvent(@NonNull android.media.tv.tuner.filter.Filter, @NonNull android.media.tv.tuner.filter.FilterEvent[]); method public void onFilterStatusChanged(@NonNull android.media.tv.tuner.filter.Filter, int); } public abstract class FilterConfiguration { method @Nullable public android.media.tv.tuner.filter.Settings getSettings(); method public abstract int getType(); } public abstract class FilterEvent { ctor public FilterEvent(); } public final class IpCidChangeEvent extends android.media.tv.tuner.filter.FilterEvent { method public int getIpCid(); } public final class IpFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration { method @NonNull public static android.media.tv.tuner.filter.IpFilterConfiguration.Builder builder(); method @NonNull @Size(min=4, max=16) public byte[] getDstIpAddress(); method public int getDstPort(); method @IntRange(from=0, to=61439) public int getIpFilterContextId(); method @NonNull @Size(min=4, max=16) public byte[] getSrcIpAddress(); method public int getSrcPort(); method public int getType(); method public boolean isPassthrough(); field public static final int INVALID_IP_FILTER_CONTEXT_ID = -1; // 0xffffffff } public static final class IpFilterConfiguration.Builder { method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration build(); method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setDstIpAddress(@NonNull byte[]); method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setDstPort(int); method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setIpFilterContextId(int); method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setPassthrough(boolean); method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings); method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setSrcIpAddress(@NonNull byte[]); method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setSrcPort(int); } public class IpPayloadEvent extends android.media.tv.tuner.filter.FilterEvent { method public int getDataLength(); } public class MediaEvent extends android.media.tv.tuner.filter.FilterEvent { method protected void finalize(); method public long getAudioHandle(); method @NonNull public java.util.List getAudioPresentations(); method public long getAvDataId(); method public long getDataLength(); method public long getDts(); method @Nullable public android.media.tv.tuner.filter.AudioDescriptor getExtraMetaData(); method @Nullable public android.media.MediaCodec.LinearBlock getLinearBlock(); method @IntRange(from=0) public int getMpuSequenceNumber(); method public long getOffset(); method public long getPts(); method public int getScIndexMask(); method public int getStreamId(); method public boolean isDtsPresent(); method public boolean isPrivateData(); method public boolean isPtsPresent(); method public boolean isSecureMemory(); method public void release(); } public final class MmtpFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration { method @NonNull public static android.media.tv.tuner.filter.MmtpFilterConfiguration.Builder builder(); method public int getMmtpPacketId(); method public int getType(); } public static final class MmtpFilterConfiguration.Builder { method @NonNull public android.media.tv.tuner.filter.MmtpFilterConfiguration build(); method @NonNull public android.media.tv.tuner.filter.MmtpFilterConfiguration.Builder setMmtpPacketId(int); method @NonNull public android.media.tv.tuner.filter.MmtpFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings); } public class MmtpRecordEvent extends android.media.tv.tuner.filter.FilterEvent { method public long getDataLength(); method public int getFirstMacroblockInSlice(); method @IntRange(from=0) public int getMpuSequenceNumber(); method public long getPts(); method public int getScHevcIndexMask(); method public int getTsIndexMask(); } public class PesEvent extends android.media.tv.tuner.filter.FilterEvent { method public int getDataLength(); method @IntRange(from=0) public int getMpuSequenceNumber(); method public int getStreamId(); } public class PesSettings extends android.media.tv.tuner.filter.Settings { method @NonNull public static android.media.tv.tuner.filter.PesSettings.Builder builder(int); method public int getStreamId(); method public boolean isRaw(); } public static class PesSettings.Builder { method @NonNull public android.media.tv.tuner.filter.PesSettings build(); method @NonNull public android.media.tv.tuner.filter.PesSettings.Builder setRaw(boolean); method @NonNull public android.media.tv.tuner.filter.PesSettings.Builder setStreamId(int); } public class RecordSettings extends android.media.tv.tuner.filter.Settings { method @NonNull public static android.media.tv.tuner.filter.RecordSettings.Builder builder(int); method public int getScIndexMask(); method public int getScIndexType(); method public int getTsIndexMask(); field public static final int INDEX_TYPE_NONE = 0; // 0x0 field public static final int INDEX_TYPE_SC = 1; // 0x1 field public static final int INDEX_TYPE_SC_AVC = 3; // 0x3 field public static final int INDEX_TYPE_SC_HEVC = 2; // 0x2 field public static final int INDEX_TYPE_SC_VVC = 4; // 0x4 field public static final int MPT_INDEX_AUDIO = 262144; // 0x40000 field public static final int MPT_INDEX_MPT = 65536; // 0x10000 field public static final int MPT_INDEX_TIMESTAMP_TARGET_AUDIO = 1048576; // 0x100000 field public static final int MPT_INDEX_TIMESTAMP_TARGET_VIDEO = 524288; // 0x80000 field public static final int MPT_INDEX_VIDEO = 131072; // 0x20000 field public static final int SC_HEVC_INDEX_AUD = 2; // 0x2 field public static final int SC_HEVC_INDEX_SLICE_BLA_N_LP = 16; // 0x10 field public static final int SC_HEVC_INDEX_SLICE_BLA_W_RADL = 8; // 0x8 field public static final int SC_HEVC_INDEX_SLICE_CE_BLA_W_LP = 4; // 0x4 field public static final int SC_HEVC_INDEX_SLICE_IDR_N_LP = 64; // 0x40 field public static final int SC_HEVC_INDEX_SLICE_IDR_W_RADL = 32; // 0x20 field public static final int SC_HEVC_INDEX_SLICE_TRAIL_CRA = 128; // 0x80 field public static final int SC_HEVC_INDEX_SPS = 1; // 0x1 field public static final int SC_INDEX_B_FRAME = 4; // 0x4 field public static final int SC_INDEX_B_SLICE = 64; // 0x40 field public static final int SC_INDEX_I_FRAME = 1; // 0x1 field public static final int SC_INDEX_I_SLICE = 16; // 0x10 field public static final int SC_INDEX_P_FRAME = 2; // 0x2 field public static final int SC_INDEX_P_SLICE = 32; // 0x20 field public static final int SC_INDEX_SEQUENCE = 8; // 0x8 field public static final int SC_INDEX_SI_SLICE = 128; // 0x80 field public static final int SC_INDEX_SP_SLICE = 256; // 0x100 field public static final int SC_VVC_INDEX_AUD = 64; // 0x40 field public static final int SC_VVC_INDEX_SLICE_CRA = 4; // 0x4 field public static final int SC_VVC_INDEX_SLICE_GDR = 8; // 0x8 field public static final int SC_VVC_INDEX_SLICE_IDR_N_LP = 2; // 0x2 field public static final int SC_VVC_INDEX_SLICE_IDR_W_RADL = 1; // 0x1 field public static final int SC_VVC_INDEX_SPS = 32; // 0x20 field public static final int SC_VVC_INDEX_VPS = 16; // 0x10 field public static final int TS_INDEX_ADAPTATION_EXTENSION_FLAG = 4096; // 0x1000 field public static final int TS_INDEX_CHANGE_TO_EVEN_SCRAMBLED = 8; // 0x8 field public static final int TS_INDEX_CHANGE_TO_NOT_SCRAMBLED = 4; // 0x4 field public static final int TS_INDEX_CHANGE_TO_ODD_SCRAMBLED = 16; // 0x10 field public static final int TS_INDEX_DISCONTINUITY_INDICATOR = 32; // 0x20 field public static final int TS_INDEX_FIRST_PACKET = 1; // 0x1 field public static final int TS_INDEX_INVALID = 0; // 0x0 field public static final int TS_INDEX_OPCR_FLAG = 512; // 0x200 field public static final int TS_INDEX_PAYLOAD_UNIT_START_INDICATOR = 2; // 0x2 field public static final int TS_INDEX_PCR_FLAG = 256; // 0x100 field public static final int TS_INDEX_PRIORITY_INDICATOR = 128; // 0x80 field public static final int TS_INDEX_PRIVATE_DATA = 2048; // 0x800 field public static final int TS_INDEX_RANDOM_ACCESS_INDICATOR = 64; // 0x40 field public static final int TS_INDEX_SPLICING_POINT_FLAG = 1024; // 0x400 } public static class RecordSettings.Builder { method @NonNull public android.media.tv.tuner.filter.RecordSettings build(); method @NonNull public android.media.tv.tuner.filter.RecordSettings.Builder setScIndexMask(int); method @NonNull public android.media.tv.tuner.filter.RecordSettings.Builder setScIndexType(int); method @NonNull public android.media.tv.tuner.filter.RecordSettings.Builder setTsIndexMask(int); } public final class RestartEvent extends android.media.tv.tuner.filter.FilterEvent { method public int getStartId(); field public static final int NEW_FILTER_FIRST_START_ID = 0; // 0x0 } public final class ScramblingStatusEvent extends android.media.tv.tuner.filter.FilterEvent { method public int getScramblingStatus(); } public class SectionEvent extends android.media.tv.tuner.filter.FilterEvent { method @Deprecated public int getDataLength(); method public long getDataLengthLong(); method public int getSectionNumber(); method public int getTableId(); method public int getVersion(); } public abstract class SectionSettings extends android.media.tv.tuner.filter.Settings { method public int getLengthFieldBitWidth(); method public boolean isCrcEnabled(); method public boolean isRaw(); method public boolean isRepeat(); } public abstract static class SectionSettings.Builder> { method @NonNull public T setBitWidthOfLengthField(@IntRange(from=0) int); method @NonNull public T setCrcEnabled(boolean); method @NonNull public T setRaw(boolean); method @NonNull public T setRepeat(boolean); } public class SectionSettingsWithSectionBits extends android.media.tv.tuner.filter.SectionSettings { method @NonNull public static android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder builder(int); method @NonNull public byte[] getFilterBytes(); method @NonNull public byte[] getMask(); method @NonNull public byte[] getMode(); } public static class SectionSettingsWithSectionBits.Builder extends android.media.tv.tuner.filter.SectionSettings.Builder { method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits build(); method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder setFilter(@NonNull byte[]); method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder setMask(@NonNull byte[]); method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder setMode(@NonNull byte[]); } public class SectionSettingsWithTableInfo extends android.media.tv.tuner.filter.SectionSettings { method @NonNull public static android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder builder(int); method public int getTableId(); method public int getVersion(); field public static final int INVALID_TABLE_INFO_VERSION = -1; // 0xffffffff } public static class SectionSettingsWithTableInfo.Builder extends android.media.tv.tuner.filter.SectionSettings.Builder { method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithTableInfo build(); method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder setTableId(int); method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder setVersion(int); } public abstract class Settings { method public int getType(); } public final class SharedFilter implements java.lang.AutoCloseable { method public void close(); method public int flush(); method public int read(@NonNull byte[], long, long); method public int start(); method public int stop(); field public static final int STATUS_INACCESSIBLE = 128; // 0x80 } public interface SharedFilterCallback { method public void onFilterEvent(@NonNull android.media.tv.tuner.filter.SharedFilter, @NonNull android.media.tv.tuner.filter.FilterEvent[]); method public void onFilterStatusChanged(@NonNull android.media.tv.tuner.filter.SharedFilter, int); } public class TemiEvent extends android.media.tv.tuner.filter.FilterEvent { method @NonNull public byte[] getDescriptorData(); method public byte getDescriptorTag(); method public long getPts(); } public class TimeFilter implements java.lang.AutoCloseable { method public int clearTimestamp(); method public void close(); method public long getSourceTime(); method public long getTimeStamp(); method public int setCurrentTimestamp(long); } public final class TlvFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration { method @NonNull public static android.media.tv.tuner.filter.TlvFilterConfiguration.Builder builder(); method public int getPacketType(); method public int getType(); method public boolean isCompressedIpPacket(); method public boolean isPassthrough(); field public static final int PACKET_TYPE_COMPRESSED = 3; // 0x3 field public static final int PACKET_TYPE_IPV4 = 1; // 0x1 field public static final int PACKET_TYPE_IPV6 = 2; // 0x2 field public static final int PACKET_TYPE_NULL = 255; // 0xff field public static final int PACKET_TYPE_SIGNALING = 254; // 0xfe } public static final class TlvFilterConfiguration.Builder { method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration build(); method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setCompressedIpPacket(boolean); method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setPacketType(int); method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setPassthrough(boolean); method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings); } public final class TsFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration { method @NonNull public static android.media.tv.tuner.filter.TsFilterConfiguration.Builder builder(); method public int getTpid(); method public int getType(); } public static final class TsFilterConfiguration.Builder { method @NonNull public android.media.tv.tuner.filter.TsFilterConfiguration build(); method @NonNull public android.media.tv.tuner.filter.TsFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings); method @NonNull public android.media.tv.tuner.filter.TsFilterConfiguration.Builder setTpid(int); } public class TsRecordEvent extends android.media.tv.tuner.filter.FilterEvent { method public long getDataLength(); method public int getFirstMacroblockInSlice(); method public int getPacketId(); method public long getPts(); method public int getScIndexMask(); method public int getTsIndexMask(); } } package android.media.tv.tuner.frontend { public class AnalogFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { method public int getSifStandardCapability(); method public int getSignalTypeCapability(); } public class AnalogFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { method @NonNull public static android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder builder(); method public int getAftFlag(); method public int getSifStandard(); method public int getSignalType(); method public int getType(); field public static final int AFT_FLAG_FALSE = 2; // 0x2 field public static final int AFT_FLAG_TRUE = 1; // 0x1 field public static final int AFT_FLAG_UNDEFINED = 0; // 0x0 field public static final int SIF_AUTO = 1; // 0x1 field public static final int SIF_BG = 2; // 0x2 field public static final int SIF_BG_A2 = 4; // 0x4 field public static final int SIF_BG_NICAM = 8; // 0x8 field public static final int SIF_DK = 32; // 0x20 field public static final int SIF_DK1_A2 = 64; // 0x40 field public static final int SIF_DK2_A2 = 128; // 0x80 field public static final int SIF_DK3_A2 = 256; // 0x100 field public static final int SIF_DK_NICAM = 512; // 0x200 field public static final int SIF_I = 16; // 0x10 field public static final int SIF_I_NICAM = 32768; // 0x8000 field public static final int SIF_L = 1024; // 0x400 field public static final int SIF_L_NICAM = 65536; // 0x10000 field public static final int SIF_L_PRIME = 131072; // 0x20000 field public static final int SIF_M = 2048; // 0x800 field public static final int SIF_M_A2 = 8192; // 0x2000 field public static final int SIF_M_BTSC = 4096; // 0x1000 field public static final int SIF_M_EIAJ = 16384; // 0x4000 field public static final int SIF_UNDEFINED = 0; // 0x0 field public static final int SIGNAL_TYPE_AUTO = 1; // 0x1 field public static final int SIGNAL_TYPE_NTSC = 32; // 0x20 field public static final int SIGNAL_TYPE_NTSC_443 = 64; // 0x40 field public static final int SIGNAL_TYPE_PAL = 2; // 0x2 field public static final int SIGNAL_TYPE_PAL_60 = 16; // 0x10 field public static final int SIGNAL_TYPE_PAL_M = 4; // 0x4 field public static final int SIGNAL_TYPE_PAL_N = 8; // 0x8 field public static final int SIGNAL_TYPE_SECAM = 128; // 0x80 field public static final int SIGNAL_TYPE_UNDEFINED = 0; // 0x0 } public static class AnalogFrontendSettings.Builder { method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings build(); method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setAftFlag(int); method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setFrequency(int); method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setFrequencyLong(long); method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setSifStandard(int); method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setSignalType(int); } public class Atsc3FrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { method public int getBandwidthCapability(); method public int getDemodOutputFormatCapability(); method public int getFecCapability(); method public int getModulationCapability(); method public int getPlpCodeRateCapability(); method public int getTimeInterleaveModeCapability(); } public class Atsc3FrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { method @NonNull public static android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder builder(); method public int getBandwidth(); method public int getDemodOutputFormat(); method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings[] getPlpSettings(); method public int getType(); field public static final int BANDWIDTH_AUTO = 1; // 0x1 field public static final int BANDWIDTH_BANDWIDTH_6MHZ = 2; // 0x2 field public static final int BANDWIDTH_BANDWIDTH_7MHZ = 4; // 0x4 field public static final int BANDWIDTH_BANDWIDTH_8MHZ = 8; // 0x8 field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0 field public static final int CODERATE_10_15 = 512; // 0x200 field public static final int CODERATE_11_15 = 1024; // 0x400 field public static final int CODERATE_12_15 = 2048; // 0x800 field public static final int CODERATE_13_15 = 4096; // 0x1000 field public static final int CODERATE_2_15 = 2; // 0x2 field public static final int CODERATE_3_15 = 4; // 0x4 field public static final int CODERATE_4_15 = 8; // 0x8 field public static final int CODERATE_5_15 = 16; // 0x10 field public static final int CODERATE_6_15 = 32; // 0x20 field public static final int CODERATE_7_15 = 64; // 0x40 field public static final int CODERATE_8_15 = 128; // 0x80 field public static final int CODERATE_9_15 = 256; // 0x100 field public static final int CODERATE_AUTO = 1; // 0x1 field public static final int CODERATE_UNDEFINED = 0; // 0x0 field public static final int DEMOD_OUTPUT_FORMAT_ATSC3_LINKLAYER_PACKET = 1; // 0x1 field public static final int DEMOD_OUTPUT_FORMAT_BASEBAND_PACKET = 2; // 0x2 field public static final int DEMOD_OUTPUT_FORMAT_UNDEFINED = 0; // 0x0 field public static final int FEC_AUTO = 1; // 0x1 field public static final int FEC_BCH_LDPC_16K = 2; // 0x2 field public static final int FEC_BCH_LDPC_64K = 4; // 0x4 field public static final int FEC_CRC_LDPC_16K = 8; // 0x8 field public static final int FEC_CRC_LDPC_64K = 16; // 0x10 field public static final int FEC_LDPC_16K = 32; // 0x20 field public static final int FEC_LDPC_64K = 64; // 0x40 field public static final int FEC_UNDEFINED = 0; // 0x0 field public static final int MODULATION_AUTO = 1; // 0x1 field public static final int MODULATION_MOD_1024QAM = 32; // 0x20 field public static final int MODULATION_MOD_16QAM = 4; // 0x4 field public static final int MODULATION_MOD_256QAM = 16; // 0x10 field public static final int MODULATION_MOD_4096QAM = 64; // 0x40 field public static final int MODULATION_MOD_64QAM = 8; // 0x8 field public static final int MODULATION_MOD_QPSK = 2; // 0x2 field public static final int MODULATION_UNDEFINED = 0; // 0x0 field public static final int TIME_INTERLEAVE_MODE_AUTO = 1; // 0x1 field public static final int TIME_INTERLEAVE_MODE_CTI = 2; // 0x2 field public static final int TIME_INTERLEAVE_MODE_HTI = 4; // 0x4 field public static final int TIME_INTERLEAVE_MODE_UNDEFINED = 0; // 0x0 } public static class Atsc3FrontendSettings.Builder { method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings build(); method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setBandwidth(int); method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setDemodOutputFormat(int); method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setFrequency(int); method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setFrequencyLong(long); method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setPlpSettings(@NonNull android.media.tv.tuner.frontend.Atsc3PlpSettings[]); } public class Atsc3PlpInfo { method public boolean getLlsFlag(); method public int getPlpId(); } public class Atsc3PlpSettings { method @NonNull public static android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder builder(); method public int getCodeRate(); method public int getFec(); method public int getInterleaveMode(); method public int getModulation(); method public int getPlpId(); } public static class Atsc3PlpSettings.Builder { method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings build(); method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setCodeRate(int); method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setFec(int); method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setInterleaveMode(int); method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setModulation(int); method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setPlpId(int); } public class AtscFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { method public int getModulationCapability(); } public class AtscFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { method @NonNull public static android.media.tv.tuner.frontend.AtscFrontendSettings.Builder builder(); method public int getModulation(); method public int getType(); field public static final int MODULATION_AUTO = 1; // 0x1 field public static final int MODULATION_MOD_16VSB = 8; // 0x8 field public static final int MODULATION_MOD_8VSB = 4; // 0x4 field public static final int MODULATION_UNDEFINED = 0; // 0x0 } public static class AtscFrontendSettings.Builder { method @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings build(); method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings.Builder setFrequency(int); method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings.Builder setFrequencyLong(long); method @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings.Builder setModulation(int); } public final class DtmbFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { method public int getBandwidthCapability(); method public int getCodeRateCapability(); method public int getGuardIntervalCapability(); method public int getModulationCapability(); method public int getTimeInterleaveModeCapability(); method public int getTransmissionModeCapability(); } public final class DtmbFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { method @NonNull public static android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder builder(); method public int getBandwidth(); method public int getCodeRate(); method public int getGuardInterval(); method public int getModulation(); method public int getTimeInterleaveMode(); method public int getTransmissionMode(); method public int getType(); field public static final int BANDWIDTH_6MHZ = 4; // 0x4 field public static final int BANDWIDTH_8MHZ = 2; // 0x2 field public static final int BANDWIDTH_AUTO = 1; // 0x1 field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0 field public static final int CODERATE_2_5 = 2; // 0x2 field public static final int CODERATE_3_5 = 4; // 0x4 field public static final int CODERATE_4_5 = 8; // 0x8 field public static final int CODERATE_AUTO = 1; // 0x1 field public static final int CODERATE_UNDEFINED = 0; // 0x0 field public static final int GUARD_INTERVAL_AUTO = 1; // 0x1 field public static final int GUARD_INTERVAL_PN_420_CONST = 16; // 0x10 field public static final int GUARD_INTERVAL_PN_420_VARIOUS = 2; // 0x2 field public static final int GUARD_INTERVAL_PN_595_CONST = 4; // 0x4 field public static final int GUARD_INTERVAL_PN_945_CONST = 32; // 0x20 field public static final int GUARD_INTERVAL_PN_945_VARIOUS = 8; // 0x8 field public static final int GUARD_INTERVAL_PN_RESERVED = 64; // 0x40 field public static final int GUARD_INTERVAL_UNDEFINED = 0; // 0x0 field public static final int MODULATION_CONSTELLATION_16QAM = 8; // 0x8 field public static final int MODULATION_CONSTELLATION_32QAM = 16; // 0x10 field public static final int MODULATION_CONSTELLATION_4QAM = 2; // 0x2 field public static final int MODULATION_CONSTELLATION_4QAM_NR = 4; // 0x4 field public static final int MODULATION_CONSTELLATION_64QAM = 32; // 0x20 field public static final int MODULATION_CONSTELLATION_AUTO = 1; // 0x1 field public static final int MODULATION_CONSTELLATION_UNDEFINED = 0; // 0x0 field public static final int TIME_INTERLEAVE_MODE_AUTO = 1; // 0x1 field public static final int TIME_INTERLEAVE_MODE_TIMER_INT_240 = 2; // 0x2 field public static final int TIME_INTERLEAVE_MODE_TIMER_INT_720 = 4; // 0x4 field public static final int TIME_INTERLEAVE_MODE_UNDEFINED = 0; // 0x0 field public static final int TRANSMISSION_MODE_AUTO = 1; // 0x1 field public static final int TRANSMISSION_MODE_C1 = 2; // 0x2 field public static final int TRANSMISSION_MODE_C3780 = 4; // 0x4 field public static final int TRANSMISSION_MODE_UNDEFINED = 0; // 0x0 } public static final class DtmbFrontendSettings.Builder { method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings build(); method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setBandwidth(int); method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setCodeRate(int); method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setFrequency(int); method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setFrequencyLong(long); method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setGuardInterval(int); method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setModulation(int); method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setTimeInterleaveMode(int); method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setTransmissionMode(int); } public class DvbcFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { method public int getAnnexCapability(); method public long getCodeRateCapability(); method @Deprecated public int getFecCapability(); method public int getModulationCapability(); } public class DvbcFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { method @NonNull public static android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder builder(); method public int getAnnex(); method public int getBandwidth(); method public long getInnerFec(); method public int getModulation(); method public int getOuterFec(); method public int getSpectralInversion(); method public int getSymbolRate(); method public int getTimeInterleaveMode(); method public int getType(); field public static final int ANNEX_A = 1; // 0x1 field public static final int ANNEX_B = 2; // 0x2 field public static final int ANNEX_C = 4; // 0x4 field public static final int ANNEX_UNDEFINED = 0; // 0x0 field public static final int BANDWIDTH_5MHZ = 1; // 0x1 field public static final int BANDWIDTH_6MHZ = 2; // 0x2 field public static final int BANDWIDTH_7MHZ = 4; // 0x4 field public static final int BANDWIDTH_8MHZ = 8; // 0x8 field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0 field public static final int MODULATION_AUTO = 1; // 0x1 field public static final int MODULATION_MOD_128QAM = 16; // 0x10 field public static final int MODULATION_MOD_16QAM = 2; // 0x2 field public static final int MODULATION_MOD_256QAM = 32; // 0x20 field public static final int MODULATION_MOD_32QAM = 4; // 0x4 field public static final int MODULATION_MOD_64QAM = 8; // 0x8 field public static final int MODULATION_UNDEFINED = 0; // 0x0 field public static final int OUTER_FEC_OUTER_FEC_NONE = 1; // 0x1 field public static final int OUTER_FEC_OUTER_FEC_RS = 2; // 0x2 field public static final int OUTER_FEC_UNDEFINED = 0; // 0x0 field @Deprecated public static final int SPECTRAL_INVERSION_INVERTED = 2; // 0x2 field @Deprecated public static final int SPECTRAL_INVERSION_NORMAL = 1; // 0x1 field @Deprecated public static final int SPECTRAL_INVERSION_UNDEFINED = 0; // 0x0 field public static final int TIME_INTERLEAVE_MODE_128_1_0 = 2; // 0x2 field public static final int TIME_INTERLEAVE_MODE_128_1_1 = 4; // 0x4 field public static final int TIME_INTERLEAVE_MODE_128_2 = 128; // 0x80 field public static final int TIME_INTERLEAVE_MODE_128_3 = 256; // 0x100 field public static final int TIME_INTERLEAVE_MODE_128_4 = 512; // 0x200 field public static final int TIME_INTERLEAVE_MODE_16_8 = 32; // 0x20 field public static final int TIME_INTERLEAVE_MODE_32_4 = 16; // 0x10 field public static final int TIME_INTERLEAVE_MODE_64_2 = 8; // 0x8 field public static final int TIME_INTERLEAVE_MODE_8_16 = 64; // 0x40 field public static final int TIME_INTERLEAVE_MODE_AUTO = 1; // 0x1 field public static final int TIME_INTERLEAVE_MODE_UNDEFINED = 0; // 0x0 } public static class DvbcFrontendSettings.Builder { method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings build(); method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setAnnex(int); method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setBandwidth(int); method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setFrequency(int); method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setFrequencyLong(long); method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setInnerFec(long); method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setModulation(int); method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setOuterFec(int); method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setSpectralInversion(int); method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setSymbolRate(int); method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setTimeInterleaveMode(int); } public class DvbsCodeRate { method @NonNull public static android.media.tv.tuner.frontend.DvbsCodeRate.Builder builder(); method public int getBitsPer1000Symbol(); method public long getInnerFec(); method public boolean isLinear(); method public boolean isShortFrameEnabled(); } public static class DvbsCodeRate.Builder { method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate build(); method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setBitsPer1000Symbol(int); method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setInnerFec(long); method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setLinear(boolean); method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setShortFrameEnabled(boolean); } public class DvbsFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { method public long getInnerFecCapability(); method public int getModulationCapability(); method public int getStandardCapability(); } public class DvbsFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { method @NonNull public static android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder builder(); method public boolean canHandleDiseqcRxMessage(); method @Nullable public android.media.tv.tuner.frontend.DvbsCodeRate getCodeRate(); method public int getInputStreamId(); method public int getModulation(); method public int getPilot(); method public int getRolloff(); method public int getScanType(); method public int getStandard(); method public int getSymbolRate(); method public int getType(); method public int getVcmMode(); field public static final int MODULATION_AUTO = 1; // 0x1 field public static final int MODULATION_MOD_128APSK = 2048; // 0x800 field public static final int MODULATION_MOD_16APSK = 256; // 0x100 field public static final int MODULATION_MOD_16PSK = 16; // 0x10 field public static final int MODULATION_MOD_16QAM = 8; // 0x8 field public static final int MODULATION_MOD_256APSK = 4096; // 0x1000 field public static final int MODULATION_MOD_32APSK = 512; // 0x200 field public static final int MODULATION_MOD_32PSK = 32; // 0x20 field public static final int MODULATION_MOD_64APSK = 1024; // 0x400 field public static final int MODULATION_MOD_8APSK = 128; // 0x80 field public static final int MODULATION_MOD_8PSK = 4; // 0x4 field public static final int MODULATION_MOD_ACM = 64; // 0x40 field public static final int MODULATION_MOD_QPSK = 2; // 0x2 field public static final int MODULATION_MOD_RESERVED = 8192; // 0x2000 field public static final int MODULATION_UNDEFINED = 0; // 0x0 field public static final int PILOT_AUTO = 3; // 0x3 field public static final int PILOT_OFF = 2; // 0x2 field public static final int PILOT_ON = 1; // 0x1 field public static final int PILOT_UNDEFINED = 0; // 0x0 field public static final int ROLLOFF_0_10 = 5; // 0x5 field public static final int ROLLOFF_0_15 = 4; // 0x4 field public static final int ROLLOFF_0_20 = 3; // 0x3 field public static final int ROLLOFF_0_25 = 2; // 0x2 field public static final int ROLLOFF_0_35 = 1; // 0x1 field public static final int ROLLOFF_0_5 = 6; // 0x6 field public static final int ROLLOFF_UNDEFINED = 0; // 0x0 field public static final int SCAN_TYPE_DIRECT = 1; // 0x1 field public static final int SCAN_TYPE_DISEQC = 2; // 0x2 field public static final int SCAN_TYPE_JESS = 4; // 0x4 field public static final int SCAN_TYPE_UNDEFINED = 0; // 0x0 field public static final int SCAN_TYPE_UNICABLE = 3; // 0x3 field public static final int STANDARD_AUTO = 1; // 0x1 field public static final int STANDARD_S = 2; // 0x2 field public static final int STANDARD_S2 = 4; // 0x4 field public static final int STANDARD_S2X = 8; // 0x8 field public static final int VCM_MODE_AUTO = 1; // 0x1 field public static final int VCM_MODE_MANUAL = 2; // 0x2 field public static final int VCM_MODE_UNDEFINED = 0; // 0x0 } public static class DvbsFrontendSettings.Builder { method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings build(); method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setCanHandleDiseqcRxMessage(boolean); method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setCodeRate(@Nullable android.media.tv.tuner.frontend.DvbsCodeRate); method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setFrequency(int); method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setFrequencyLong(long); method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setInputStreamId(int); method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setModulation(int); method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setPilot(int); method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setRolloff(int); method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setScanType(int); method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setStandard(int); method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setSymbolRate(int); method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setVcmMode(int); } public class DvbtFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { method public int getBandwidthCapability(); method public int getCodeRateCapability(); method public int getConstellationCapability(); method public int getGuardIntervalCapability(); method public int getHierarchyCapability(); method public int getTransmissionModeCapability(); method public boolean isMisoSupported(); method public boolean isT2Supported(); } public class DvbtFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { method @NonNull public static android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder builder(); method public int getBandwidth(); method public int getConstellation(); method public int getGuardInterval(); method public int getHierarchy(); method public int getHighPriorityCodeRate(); method public int getLowPriorityCodeRate(); method public int getPlpGroupId(); method public int getPlpId(); method public int getPlpMode(); method public int getStandard(); method public int getTransmissionMode(); method public int getType(); method public boolean isHighPriority(); method public boolean isMiso(); field public static final int BANDWIDTH_10MHZ = 64; // 0x40 field public static final int BANDWIDTH_1_7MHZ = 32; // 0x20 field public static final int BANDWIDTH_5MHZ = 16; // 0x10 field public static final int BANDWIDTH_6MHZ = 8; // 0x8 field public static final int BANDWIDTH_7MHZ = 4; // 0x4 field public static final int BANDWIDTH_8MHZ = 2; // 0x2 field public static final int BANDWIDTH_AUTO = 1; // 0x1 field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0 field public static final int CODERATE_1_2 = 2; // 0x2 field public static final int CODERATE_2_3 = 4; // 0x4 field public static final int CODERATE_3_4 = 8; // 0x8 field public static final int CODERATE_3_5 = 64; // 0x40 field public static final int CODERATE_4_5 = 128; // 0x80 field public static final int CODERATE_5_6 = 16; // 0x10 field public static final int CODERATE_6_7 = 256; // 0x100 field public static final int CODERATE_7_8 = 32; // 0x20 field public static final int CODERATE_8_9 = 512; // 0x200 field public static final int CODERATE_AUTO = 1; // 0x1 field public static final int CODERATE_UNDEFINED = 0; // 0x0 field public static final int CONSTELLATION_16QAM = 4; // 0x4 field public static final int CONSTELLATION_16QAM_R = 64; // 0x40 field public static final int CONSTELLATION_256QAM = 16; // 0x10 field public static final int CONSTELLATION_256QAM_R = 256; // 0x100 field public static final int CONSTELLATION_64QAM = 8; // 0x8 field public static final int CONSTELLATION_64QAM_R = 128; // 0x80 field public static final int CONSTELLATION_AUTO = 1; // 0x1 field public static final int CONSTELLATION_QPSK = 2; // 0x2 field public static final int CONSTELLATION_QPSK_R = 32; // 0x20 field public static final int CONSTELLATION_UNDEFINED = 0; // 0x0 field public static final int GUARD_INTERVAL_19_128 = 64; // 0x40 field public static final int GUARD_INTERVAL_19_256 = 128; // 0x80 field public static final int GUARD_INTERVAL_1_128 = 32; // 0x20 field public static final int GUARD_INTERVAL_1_16 = 4; // 0x4 field public static final int GUARD_INTERVAL_1_32 = 2; // 0x2 field public static final int GUARD_INTERVAL_1_4 = 16; // 0x10 field public static final int GUARD_INTERVAL_1_8 = 8; // 0x8 field public static final int GUARD_INTERVAL_AUTO = 1; // 0x1 field public static final int GUARD_INTERVAL_UNDEFINED = 0; // 0x0 field public static final int HIERARCHY_1_INDEPTH = 64; // 0x40 field public static final int HIERARCHY_1_NATIVE = 4; // 0x4 field public static final int HIERARCHY_2_INDEPTH = 128; // 0x80 field public static final int HIERARCHY_2_NATIVE = 8; // 0x8 field public static final int HIERARCHY_4_INDEPTH = 256; // 0x100 field public static final int HIERARCHY_4_NATIVE = 16; // 0x10 field public static final int HIERARCHY_AUTO = 1; // 0x1 field public static final int HIERARCHY_NON_INDEPTH = 32; // 0x20 field public static final int HIERARCHY_NON_NATIVE = 2; // 0x2 field public static final int HIERARCHY_UNDEFINED = 0; // 0x0 field public static final int PLP_MODE_AUTO = 1; // 0x1 field public static final int PLP_MODE_MANUAL = 2; // 0x2 field public static final int PLP_MODE_UNDEFINED = 0; // 0x0 field public static final int STANDARD_AUTO = 1; // 0x1 field public static final int STANDARD_T = 2; // 0x2 field public static final int STANDARD_T2 = 4; // 0x4 field public static final int TRANSMISSION_MODE_16K = 32; // 0x20 field public static final int TRANSMISSION_MODE_1K = 16; // 0x10 field public static final int TRANSMISSION_MODE_2K = 2; // 0x2 field public static final int TRANSMISSION_MODE_32K = 64; // 0x40 field public static final int TRANSMISSION_MODE_4K = 8; // 0x8 field public static final int TRANSMISSION_MODE_8K = 4; // 0x4 field public static final int TRANSMISSION_MODE_AUTO = 1; // 0x1 field public static final int TRANSMISSION_MODE_EXTENDED_16K = 256; // 0x100 field public static final int TRANSMISSION_MODE_EXTENDED_32K = 512; // 0x200 field public static final int TRANSMISSION_MODE_EXTENDED_8K = 128; // 0x80 field public static final int TRANSMISSION_MODE_UNDEFINED = 0; // 0x0 } public static class DvbtFrontendSettings.Builder { method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings build(); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setBandwidth(int); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setConstellation(int); method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setFrequency(int); method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setFrequencyLong(long); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setGuardInterval(int); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setHierarchy(int); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setHighPriority(boolean); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setHighPriorityCodeRate(int); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setLowPriorityCodeRate(int); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setMiso(boolean); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setPlpGroupId(int); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setPlpId(int); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setPlpMode(int); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setStandard(int); method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setTransmissionMode(int); } public abstract class FrontendCapabilities { ctor public FrontendCapabilities(); } public class FrontendInfo { method @Deprecated public int getAcquireRange(); method public long getAcquireRangeLong(); method public int getExclusiveGroupId(); method @Deprecated @NonNull public android.util.Range getFrequencyRange(); method @NonNull public android.util.Range getFrequencyRangeLong(); method @NonNull public android.media.tv.tuner.frontend.FrontendCapabilities getFrontendCapabilities(); method public int getId(); method @NonNull public int[] getStatusCapabilities(); method @NonNull public android.util.Range getSymbolRateRange(); method public int getType(); } public abstract class FrontendSettings { method @Deprecated @IntRange(from=1) public int getEndFrequency(); method @IntRange(from=1) public long getEndFrequencyLong(); method @Deprecated public int getFrequency(); method public long getFrequencyLong(); method public int getFrontendSpectralInversion(); method public abstract int getType(); method @Deprecated @IntRange(from=1) public void setEndFrequency(int); method @IntRange(from=1) public void setEndFrequencyLong(long); method public void setSpectralInversion(int); field public static final long FEC_11_15 = 4194304L; // 0x400000L field public static final long FEC_11_20 = 8388608L; // 0x800000L field public static final long FEC_11_45 = 16777216L; // 0x1000000L field public static final long FEC_13_18 = 33554432L; // 0x2000000L field public static final long FEC_13_45 = 67108864L; // 0x4000000L field public static final long FEC_14_45 = 134217728L; // 0x8000000L field public static final long FEC_1_2 = 2L; // 0x2L field public static final long FEC_1_3 = 4L; // 0x4L field public static final long FEC_1_4 = 8L; // 0x8L field public static final long FEC_1_5 = 16L; // 0x10L field public static final long FEC_23_36 = 268435456L; // 0x10000000L field public static final long FEC_25_36 = 536870912L; // 0x20000000L field public static final long FEC_26_45 = 1073741824L; // 0x40000000L field public static final long FEC_28_45 = 2147483648L; // 0x80000000L field public static final long FEC_29_45 = 4294967296L; // 0x100000000L field public static final long FEC_2_3 = 32L; // 0x20L field public static final long FEC_2_5 = 64L; // 0x40L field public static final long FEC_2_9 = 128L; // 0x80L field public static final long FEC_31_45 = 8589934592L; // 0x200000000L field public static final long FEC_32_45 = 17179869184L; // 0x400000000L field public static final long FEC_3_4 = 256L; // 0x100L field public static final long FEC_3_5 = 512L; // 0x200L field public static final long FEC_4_15 = 2048L; // 0x800L field public static final long FEC_4_5 = 1024L; // 0x400L field public static final long FEC_5_6 = 4096L; // 0x1000L field public static final long FEC_5_9 = 8192L; // 0x2000L field public static final long FEC_6_7 = 16384L; // 0x4000L field public static final long FEC_77_90 = 34359738368L; // 0x800000000L field public static final long FEC_7_15 = 131072L; // 0x20000L field public static final long FEC_7_8 = 32768L; // 0x8000L field public static final long FEC_7_9 = 65536L; // 0x10000L field public static final long FEC_8_15 = 524288L; // 0x80000L field public static final long FEC_8_9 = 262144L; // 0x40000L field public static final long FEC_9_10 = 1048576L; // 0x100000L field public static final long FEC_9_20 = 2097152L; // 0x200000L field public static final long FEC_AUTO = 1L; // 0x1L field public static final long FEC_UNDEFINED = 0L; // 0x0L field public static final int FRONTEND_SPECTRAL_INVERSION_INVERTED = 2; // 0x2 field public static final int FRONTEND_SPECTRAL_INVERSION_NORMAL = 1; // 0x1 field public static final int FRONTEND_SPECTRAL_INVERSION_UNDEFINED = 0; // 0x0 field public static final int TYPE_ANALOG = 1; // 0x1 field public static final int TYPE_ATSC = 2; // 0x2 field public static final int TYPE_ATSC3 = 3; // 0x3 field public static final int TYPE_DTMB = 10; // 0xa field public static final int TYPE_DVBC = 4; // 0x4 field public static final int TYPE_DVBS = 5; // 0x5 field public static final int TYPE_DVBT = 6; // 0x6 field public static final int TYPE_IPTV = 11; // 0xb field public static final int TYPE_ISDBS = 7; // 0x7 field public static final int TYPE_ISDBS3 = 8; // 0x8 field public static final int TYPE_ISDBT = 9; // 0x9 field public static final int TYPE_UNDEFINED = 0; // 0x0 } public class FrontendStatus { method public int getAgc(); method @NonNull public java.util.List getAllAtsc3PlpInfo(); method @NonNull public android.media.tv.tuner.frontend.FrontendStatus.Atsc3PlpTuningInfo[] getAtsc3PlpTuningInfo(); method public int getBandwidth(); method public int getBer(); method @NonNull public int[] getBers(); method @NonNull public int[] getCodeRates(); method @NonNull public int[] getDvbtCellIds(); method @NonNull public int[] getExtendedModulations(); method @Deprecated public int getFreqOffset(); method public long getFreqOffsetLong(); method public int getGuardInterval(); method public int getHierarchy(); method public long getInnerFec(); method @NonNull public int[] getInterleaving(); method @IntRange(from=0) public int getIptvAverageJitterMillis(); method @NonNull public String getIptvContentUrl(); method @IntRange(from=0) public long getIptvPacketsLost(); method @IntRange(from=0) public long getIptvPacketsReceived(); method @IntRange(from=0) public int getIptvWorstJitterMillis(); method public int getIsdbtMode(); method public int getIsdbtPartialReceptionFlag(); method @IntRange(from=0, to=255) @NonNull public int[] getIsdbtSegment(); method @NonNull public boolean[] getLayerErrors(); method public int getLnbVoltage(); method public int getMer(); method public int getModulation(); method public int getPer(); method public int getPerBer(); method public int getPlpId(); method public int getRollOff(); method public int getSignalQuality(); method public int getSignalStrength(); method public int getSnr(); method public int getSpectralInversion(); method @NonNull public int[] getStreamIds(); method public int getSymbolRate(); method @IntRange(from=0, to=65535) public int getSystemId(); method public int getTransmissionMode(); method @NonNull public int[] getTsDataRate(); method public int getUec(); method public boolean isDemodLocked(); method public boolean isEwbs(); method public boolean isLinear(); method public boolean isLnaOn(); method public boolean isMisoEnabled(); method public boolean isRfLocked(); method public boolean isShortFramesEnabled(); field public static final int FRONTEND_STATUS_TYPE_AGC = 14; // 0xe field public static final int FRONTEND_STATUS_TYPE_ATSC3_ALL_PLP_INFO = 41; // 0x29 field public static final int FRONTEND_STATUS_TYPE_ATSC3_PLP_INFO = 21; // 0x15 field public static final int FRONTEND_STATUS_TYPE_BANDWIDTH = 25; // 0x19 field public static final int FRONTEND_STATUS_TYPE_BER = 2; // 0x2 field public static final int FRONTEND_STATUS_TYPE_BERS = 23; // 0x17 field public static final int FRONTEND_STATUS_TYPE_CODERATES = 24; // 0x18 field public static final int FRONTEND_STATUS_TYPE_DEMOD_LOCK = 0; // 0x0 field public static final int FRONTEND_STATUS_TYPE_DVBT_CELL_IDS = 40; // 0x28 field public static final int FRONTEND_STATUS_TYPE_EWBS = 13; // 0xd field public static final int FRONTEND_STATUS_TYPE_FEC = 8; // 0x8 field public static final int FRONTEND_STATUS_TYPE_FREQ_OFFSET = 18; // 0x12 field public static final int FRONTEND_STATUS_TYPE_GUARD_INTERVAL = 26; // 0x1a field public static final int FRONTEND_STATUS_TYPE_HIERARCHY = 19; // 0x13 field public static final int FRONTEND_STATUS_TYPE_INTERLEAVINGS = 30; // 0x1e field public static final int FRONTEND_STATUS_TYPE_IPTV_AVERAGE_JITTER_MS = 46; // 0x2e field public static final int FRONTEND_STATUS_TYPE_IPTV_CONTENT_URL = 42; // 0x2a field public static final int FRONTEND_STATUS_TYPE_IPTV_PACKETS_LOST = 43; // 0x2b field public static final int FRONTEND_STATUS_TYPE_IPTV_PACKETS_RECEIVED = 44; // 0x2c field public static final int FRONTEND_STATUS_TYPE_IPTV_WORST_JITTER_MS = 45; // 0x2d field public static final int FRONTEND_STATUS_TYPE_ISDBT_MODE = 37; // 0x25 field public static final int FRONTEND_STATUS_TYPE_ISDBT_PARTIAL_RECEPTION_FLAG = 38; // 0x26 field public static final int FRONTEND_STATUS_TYPE_ISDBT_SEGMENTS = 31; // 0x1f field public static final int FRONTEND_STATUS_TYPE_IS_LINEAR = 35; // 0x23 field public static final int FRONTEND_STATUS_TYPE_IS_MISO_ENABLED = 34; // 0x22 field public static final int FRONTEND_STATUS_TYPE_IS_SHORT_FRAMES_ENABLED = 36; // 0x24 field public static final int FRONTEND_STATUS_TYPE_LAYER_ERROR = 16; // 0x10 field public static final int FRONTEND_STATUS_TYPE_LNA = 15; // 0xf field public static final int FRONTEND_STATUS_TYPE_LNB_VOLTAGE = 11; // 0xb field public static final int FRONTEND_STATUS_TYPE_MER = 17; // 0x11 field public static final int FRONTEND_STATUS_TYPE_MODULATION = 9; // 0x9 field public static final int FRONTEND_STATUS_TYPE_MODULATIONS_EXT = 22; // 0x16 field public static final int FRONTEND_STATUS_TYPE_PER = 3; // 0x3 field public static final int FRONTEND_STATUS_TYPE_PLP_ID = 12; // 0xc field public static final int FRONTEND_STATUS_TYPE_PRE_BER = 4; // 0x4 field public static final int FRONTEND_STATUS_TYPE_RF_LOCK = 20; // 0x14 field public static final int FRONTEND_STATUS_TYPE_ROLL_OFF = 33; // 0x21 field public static final int FRONTEND_STATUS_TYPE_SIGNAL_QUALITY = 5; // 0x5 field public static final int FRONTEND_STATUS_TYPE_SIGNAL_STRENGTH = 6; // 0x6 field public static final int FRONTEND_STATUS_TYPE_SNR = 1; // 0x1 field public static final int FRONTEND_STATUS_TYPE_SPECTRAL = 10; // 0xa field public static final int FRONTEND_STATUS_TYPE_STREAM_IDS = 39; // 0x27 field public static final int FRONTEND_STATUS_TYPE_SYMBOL_RATE = 7; // 0x7 field public static final int FRONTEND_STATUS_TYPE_T2_SYSTEM_ID = 29; // 0x1d field public static final int FRONTEND_STATUS_TYPE_TRANSMISSION_MODE = 27; // 0x1b field public static final int FRONTEND_STATUS_TYPE_TS_DATA_RATES = 32; // 0x20 field public static final int FRONTEND_STATUS_TYPE_UEC = 28; // 0x1c } public static class FrontendStatus.Atsc3PlpTuningInfo { method public int getPlpId(); method public int getUec(); method public boolean isLocked(); } public final class FrontendStatusReadiness { method public int getStatusReadiness(); method public int getStatusType(); field public static final int FRONTEND_STATUS_READINESS_STABLE = 3; // 0x3 field public static final int FRONTEND_STATUS_READINESS_UNAVAILABLE = 1; // 0x1 field public static final int FRONTEND_STATUS_READINESS_UNDEFINED = 0; // 0x0 field public static final int FRONTEND_STATUS_READINESS_UNSTABLE = 2; // 0x2 field public static final int FRONTEND_STATUS_READINESS_UNSUPPORTED = 4; // 0x4 } public class IptvFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { method public int getProtocolCapability(); } public final class IptvFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { method @IntRange(from=0) public long getBitrate(); method @NonNull public String getContentUrl(); method @NonNull @Size(min=4, max=16) public byte[] getDstIpAddress(); method public int getDstPort(); method @Nullable public android.media.tv.tuner.frontend.IptvFrontendSettingsFec getFec(); method public int getIgmp(); method public int getProtocol(); method @NonNull @Size(min=4, max=16) public byte[] getSrcIpAddress(); method public int getSrcPort(); method public int getType(); field public static final int IGMP_UNDEFINED = 0; // 0x0 field public static final int IGMP_V1 = 1; // 0x1 field public static final int IGMP_V2 = 2; // 0x2 field public static final int IGMP_V3 = 4; // 0x4 field public static final int PROTOCOL_RTP = 2; // 0x2 field public static final int PROTOCOL_UDP = 1; // 0x1 field public static final int PROTOCOL_UNDEFINED = 0; // 0x0 } public static final class IptvFrontendSettings.Builder { ctor public IptvFrontendSettings.Builder(); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings build(); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setBitrate(@IntRange(from=0) long); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setContentUrl(@NonNull String); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setDstIpAddress(@NonNull byte[]); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setDstPort(int); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setFec(@Nullable android.media.tv.tuner.frontend.IptvFrontendSettingsFec); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setIgmp(int); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setProtocol(int); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setSrcIpAddress(@NonNull byte[]); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setSrcPort(int); } public final class IptvFrontendSettingsFec { method @IntRange(from=0) public int getFecColNum(); method @IntRange(from=0) public int getFecRowNum(); method public int getFecType(); field public static final int FEC_TYPE_COLUMN = 1; // 0x1 field public static final int FEC_TYPE_COLUMN_ROW = 4; // 0x4 field public static final int FEC_TYPE_ROW = 2; // 0x2 field public static final int FEC_TYPE_UNDEFINED = 0; // 0x0 } public static final class IptvFrontendSettingsFec.Builder { ctor public IptvFrontendSettingsFec.Builder(); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettingsFec build(); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettingsFec.Builder setFecColNum(@IntRange(from=0) int); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettingsFec.Builder setFecRowNum(@IntRange(from=0) int); method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettingsFec.Builder setFecType(int); } public class Isdbs3FrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { method public int getCodeRateCapability(); method public int getModulationCapability(); } public class Isdbs3FrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { method @NonNull public static android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder builder(); method public int getCodeRate(); method public int getModulation(); method public int getRolloff(); method public int getStreamId(); method public int getStreamIdType(); method public int getSymbolRate(); method public int getType(); field public static final int CODERATE_1_2 = 8; // 0x8 field public static final int CODERATE_1_3 = 2; // 0x2 field public static final int CODERATE_2_3 = 32; // 0x20 field public static final int CODERATE_2_5 = 4; // 0x4 field public static final int CODERATE_3_4 = 64; // 0x40 field public static final int CODERATE_3_5 = 16; // 0x10 field public static final int CODERATE_4_5 = 256; // 0x100 field public static final int CODERATE_5_6 = 512; // 0x200 field public static final int CODERATE_7_8 = 1024; // 0x400 field public static final int CODERATE_7_9 = 128; // 0x80 field public static final int CODERATE_9_10 = 2048; // 0x800 field public static final int CODERATE_AUTO = 1; // 0x1 field public static final int CODERATE_UNDEFINED = 0; // 0x0 field public static final int MODULATION_AUTO = 1; // 0x1 field public static final int MODULATION_MOD_16APSK = 16; // 0x10 field public static final int MODULATION_MOD_32APSK = 32; // 0x20 field public static final int MODULATION_MOD_8PSK = 8; // 0x8 field public static final int MODULATION_MOD_BPSK = 2; // 0x2 field public static final int MODULATION_MOD_QPSK = 4; // 0x4 field public static final int MODULATION_UNDEFINED = 0; // 0x0 field public static final int ROLLOFF_0_03 = 1; // 0x1 field public static final int ROLLOFF_UNDEFINED = 0; // 0x0 } public static class Isdbs3FrontendSettings.Builder { method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings build(); method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setCodeRate(int); method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setFrequency(int); method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setFrequencyLong(long); method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setModulation(int); method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setRolloff(int); method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setStreamId(int); method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setStreamIdType(int); method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setSymbolRate(int); } public class IsdbsFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { method public int getCodeRateCapability(); method public int getModulationCapability(); } public class IsdbsFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { method @NonNull public static android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder builder(); method public int getCodeRate(); method public int getModulation(); method public int getRolloff(); method public int getStreamId(); method public int getStreamIdType(); method public int getSymbolRate(); method public int getType(); field public static final int CODERATE_1_2 = 2; // 0x2 field public static final int CODERATE_2_3 = 4; // 0x4 field public static final int CODERATE_3_4 = 8; // 0x8 field public static final int CODERATE_5_6 = 16; // 0x10 field public static final int CODERATE_7_8 = 32; // 0x20 field public static final int CODERATE_AUTO = 1; // 0x1 field public static final int CODERATE_UNDEFINED = 0; // 0x0 field public static final int MODULATION_AUTO = 1; // 0x1 field public static final int MODULATION_MOD_BPSK = 2; // 0x2 field public static final int MODULATION_MOD_QPSK = 4; // 0x4 field public static final int MODULATION_MOD_TC8PSK = 8; // 0x8 field public static final int MODULATION_UNDEFINED = 0; // 0x0 field public static final int ROLLOFF_0_35 = 1; // 0x1 field public static final int ROLLOFF_UNDEFINED = 0; // 0x0 field public static final int STREAM_ID_TYPE_ID = 0; // 0x0 field public static final int STREAM_ID_TYPE_RELATIVE_NUMBER = 1; // 0x1 } public static class IsdbsFrontendSettings.Builder { method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings build(); method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setCodeRate(int); method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setFrequency(int); method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setFrequencyLong(long); method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setModulation(int); method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setRolloff(int); method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setStreamId(int); method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setStreamIdType(int); method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setSymbolRate(int); } public class IsdbtFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { method public int getBandwidthCapability(); method public int getCodeRateCapability(); method public int getGuardIntervalCapability(); method public int getModeCapability(); method public int getModulationCapability(); method public int getTimeInterleaveModeCapability(); method public boolean isFullSegmentSupported(); method public boolean isSegmentAutoSupported(); } public class IsdbtFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { method @NonNull public static android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder builder(); method public int getBandwidth(); method @Deprecated public int getCodeRate(); method public int getGuardInterval(); method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings[] getLayerSettings(); method public int getMode(); method @Deprecated public int getModulation(); method public int getPartialReceptionFlag(); method public int getServiceAreaId(); method public int getType(); field public static final int BANDWIDTH_6MHZ = 8; // 0x8 field public static final int BANDWIDTH_7MHZ = 4; // 0x4 field public static final int BANDWIDTH_8MHZ = 2; // 0x2 field public static final int BANDWIDTH_AUTO = 1; // 0x1 field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0 field public static final int MODE_1 = 2; // 0x2 field public static final int MODE_2 = 4; // 0x4 field public static final int MODE_3 = 8; // 0x8 field public static final int MODE_AUTO = 1; // 0x1 field public static final int MODE_UNDEFINED = 0; // 0x0 field public static final int MODULATION_AUTO = 1; // 0x1 field public static final int MODULATION_MOD_16QAM = 8; // 0x8 field public static final int MODULATION_MOD_64QAM = 16; // 0x10 field public static final int MODULATION_MOD_DQPSK = 2; // 0x2 field public static final int MODULATION_MOD_QPSK = 4; // 0x4 field public static final int MODULATION_UNDEFINED = 0; // 0x0 field public static final int PARTIAL_RECEPTION_FLAG_FALSE = 2; // 0x2 field public static final int PARTIAL_RECEPTION_FLAG_TRUE = 4; // 0x4 field public static final int PARTIAL_RECEPTION_FLAG_UNDEFINED = 0; // 0x0 field public static final int TIME_INTERLEAVE_MODE_1_0 = 2; // 0x2 field public static final int TIME_INTERLEAVE_MODE_1_16 = 16; // 0x10 field public static final int TIME_INTERLEAVE_MODE_1_4 = 4; // 0x4 field public static final int TIME_INTERLEAVE_MODE_1_8 = 8; // 0x8 field public static final int TIME_INTERLEAVE_MODE_2_0 = 32; // 0x20 field public static final int TIME_INTERLEAVE_MODE_2_2 = 64; // 0x40 field public static final int TIME_INTERLEAVE_MODE_2_4 = 128; // 0x80 field public static final int TIME_INTERLEAVE_MODE_2_8 = 256; // 0x100 field public static final int TIME_INTERLEAVE_MODE_3_0 = 512; // 0x200 field public static final int TIME_INTERLEAVE_MODE_3_1 = 1024; // 0x400 field public static final int TIME_INTERLEAVE_MODE_3_2 = 2048; // 0x800 field public static final int TIME_INTERLEAVE_MODE_3_4 = 4096; // 0x1000 field public static final int TIME_INTERLEAVE_MODE_AUTO = 1; // 0x1 field public static final int TIME_INTERLEAVE_MODE_UNDEFINED = 0; // 0x0 } public static class IsdbtFrontendSettings.Builder { method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings build(); method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setBandwidth(int); method @Deprecated @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setCodeRate(int); method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setFrequency(int); method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setFrequencyLong(long); method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setGuardInterval(int); method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setLayerSettings(@NonNull android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings[]); method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setMode(int); method @Deprecated @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setModulation(int); method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setPartialReceptionFlag(int); method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setServiceAreaId(int); } public static final class IsdbtFrontendSettings.IsdbtLayerSettings { method @NonNull public static android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings.Builder builder(); method public int getCodeRate(); method public int getModulation(); method @IntRange(from=0, to=255) public int getNumberOfSegments(); method public int getTimeInterleaveMode(); } public static final class IsdbtFrontendSettings.IsdbtLayerSettings.Builder { method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings build(); method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings.Builder setCodeRate(int); method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings.Builder setModulation(int); method @IntRange(from=0, to=255) @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings.Builder setNumberOfSegments(int); method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings.Builder setTimeInterleaveMode(int); } public interface OnTuneEventListener { method public void onTuneEvent(int); field public static final int SIGNAL_LOCKED = 0; // 0x0 field public static final int SIGNAL_LOST_LOCK = 2; // 0x2 field public static final int SIGNAL_NO_SIGNAL = 1; // 0x1 } public interface ScanCallback { method public void onAnalogSifStandardReported(int); method public void onAtsc3PlpInfosReported(@NonNull android.media.tv.tuner.frontend.Atsc3PlpInfo[]); method public default void onDvbcAnnexReported(int); method public void onDvbsStandardReported(int); method public default void onDvbtCellIdsReported(@NonNull int[]); method public void onDvbtStandardReported(int); method public default void onFrequenciesLongReported(@NonNull long[]); method @Deprecated public void onFrequenciesReported(@NonNull int[]); method public void onGroupIdsReported(@NonNull int[]); method public void onHierarchyReported(int); method public void onInputStreamIdsReported(@NonNull int[]); method public void onLocked(); method public default void onModulationReported(int); method public void onPlpIdsReported(@NonNull int[]); method public default void onPriorityReported(boolean); method public void onProgress(@IntRange(from=0, to=100) int); method public void onScanStopped(); method public void onSignalTypeReported(int); method public void onSymbolRatesReported(@NonNull int[]); method public default void onUnlocked(); } } package android.media.voice { public final class KeyphraseModelManager { method @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public void deleteKeyphraseSoundModel(int, @NonNull java.util.Locale); method @Nullable @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int, @NonNull java.util.Locale); method @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public void updateKeyphraseSoundModel(@NonNull android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel); } } package android.metrics { public class LogMaker { ctor public LogMaker(int); ctor public LogMaker(Object[]); method public android.metrics.LogMaker addTaggedData(int, Object); method public android.metrics.LogMaker clearCategory(); method public android.metrics.LogMaker clearPackageName(); method public android.metrics.LogMaker clearSubtype(); method public android.metrics.LogMaker clearTaggedData(int); method public android.metrics.LogMaker clearType(); method public void deserialize(Object[]); method public int getCategory(); method public long getCounterBucket(); method public String getCounterName(); method public int getCounterValue(); method public String getPackageName(); method public int getProcessId(); method public int getSubtype(); method public Object getTaggedData(int); method public long getTimestamp(); method public int getType(); method public int getUid(); method public boolean isLongCounterBucket(); method public boolean isSubsetOf(android.metrics.LogMaker); method public boolean isValidValue(Object); method public Object[] serialize(); method public android.metrics.LogMaker setCategory(int); method public android.metrics.LogMaker setPackageName(String); method public android.metrics.LogMaker setSubtype(int); method public android.metrics.LogMaker setType(int); } public class MetricsReader { ctor public MetricsReader(); method public void checkpoint(); method public boolean hasNext(); method public android.metrics.LogMaker next(); method public void read(long); method public void reset(); } } package android.nearby { public interface BroadcastCallback { method public void onStatusChanged(int); field public static final int STATUS_FAILURE = 1; // 0x1 field public static final int STATUS_FAILURE_ALREADY_REGISTERED = 2; // 0x2 field public static final int STATUS_FAILURE_MISSING_PERMISSIONS = 4; // 0x4 field public static final int STATUS_FAILURE_SIZE_EXCEED_LIMIT = 3; // 0x3 field public static final int STATUS_OK = 0; // 0x0 } public abstract class BroadcastRequest { method @NonNull public java.util.List getMediums(); method @IntRange(from=0xffffff81, to=126) public int getTxPower(); method public int getType(); method public int getVersion(); field public static final int BROADCAST_TYPE_NEARBY_PRESENCE = 3; // 0x3 field public static final int BROADCAST_TYPE_UNKNOWN = -1; // 0xffffffff field public static final int MEDIUM_BLE = 1; // 0x1 field public static final int PRESENCE_VERSION_UNKNOWN = -1; // 0xffffffff field public static final int PRESENCE_VERSION_V0 = 0; // 0x0 field public static final int PRESENCE_VERSION_V1 = 1; // 0x1 field public static final int UNKNOWN_TX_POWER = -127; // 0xffffff81 } public final class CredentialElement implements android.os.Parcelable { ctor public CredentialElement(@NonNull String, @NonNull byte[]); method public int describeContents(); method @NonNull public String getKey(); method @NonNull public byte[] getValue(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class DataElement implements android.os.Parcelable { ctor public DataElement(int, @NonNull byte[]); method public int describeContents(); method public int getKey(); method @NonNull public byte[] getValue(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public abstract class NearbyDevice { method @NonNull public java.util.List getMediums(); method @Nullable public String getName(); method @IntRange(from=0xffffff81, to=126) public int getRssi(); method public static boolean isValidMedium(int); } public class NearbyManager { method public void queryOffloadCapability(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_ADVERTISE, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void startBroadcast(@NonNull android.nearby.BroadcastRequest, @NonNull java.util.concurrent.Executor, @NonNull android.nearby.BroadcastCallback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int startScan(@NonNull android.nearby.ScanRequest, @NonNull java.util.concurrent.Executor, @NonNull android.nearby.ScanCallback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_ADVERTISE, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void stopBroadcast(@NonNull android.nearby.BroadcastCallback); method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_SCAN, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public void stopScan(@NonNull android.nearby.ScanCallback); } public final class OffloadCapability implements android.os.Parcelable { method public int describeContents(); method public long getVersion(); method public boolean isFastPairSupported(); method public boolean isNearbyShareSupported(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class OffloadCapability.Builder { ctor public OffloadCapability.Builder(); method @NonNull public android.nearby.OffloadCapability build(); method @NonNull public android.nearby.OffloadCapability.Builder setFastPairSupported(boolean); method @NonNull public android.nearby.OffloadCapability.Builder setNearbyShareSupported(boolean); method @NonNull public android.nearby.OffloadCapability.Builder setVersion(long); } public final class PresenceBroadcastRequest extends android.nearby.BroadcastRequest implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getActions(); method @NonNull public android.nearby.PrivateCredential getCredential(); method @NonNull public java.util.List getExtendedProperties(); method @NonNull public byte[] getSalt(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class PresenceBroadcastRequest.Builder { ctor public PresenceBroadcastRequest.Builder(@NonNull java.util.List, @NonNull byte[], @NonNull android.nearby.PrivateCredential); method @NonNull public android.nearby.PresenceBroadcastRequest.Builder addAction(@IntRange(from=1, to=255) int); method @NonNull public android.nearby.PresenceBroadcastRequest.Builder addExtendedProperty(@NonNull android.nearby.DataElement); method @NonNull public android.nearby.PresenceBroadcastRequest build(); method @NonNull public android.nearby.PresenceBroadcastRequest.Builder setTxPower(@IntRange(from=0xffffff81, to=126) int); method @NonNull public android.nearby.PresenceBroadcastRequest.Builder setVersion(int); } public abstract class PresenceCredential { method @NonNull public byte[] getAuthenticityKey(); method @NonNull public java.util.List getCredentialElements(); method public int getIdentityType(); method @NonNull public byte[] getSecretId(); method public int getType(); field public static final int CREDENTIAL_TYPE_PRIVATE = 0; // 0x0 field public static final int CREDENTIAL_TYPE_PUBLIC = 1; // 0x1 field public static final int IDENTITY_TYPE_PRIVATE = 1; // 0x1 field public static final int IDENTITY_TYPE_PROVISIONED = 2; // 0x2 field public static final int IDENTITY_TYPE_TRUSTED = 3; // 0x3 field public static final int IDENTITY_TYPE_UNKNOWN = 0; // 0x0 } public final class PresenceDevice extends android.nearby.NearbyDevice implements android.os.Parcelable { method public int describeContents(); method @NonNull public String getDeviceId(); method @Nullable public String getDeviceImageUrl(); method public int getDeviceType(); method public long getDiscoveryTimestampMillis(); method @NonNull public byte[] getEncryptedIdentity(); method @NonNull public java.util.List getExtendedProperties(); method @NonNull public byte[] getSalt(); method @NonNull public byte[] getSecretId(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class PresenceDevice.Builder { ctor public PresenceDevice.Builder(@NonNull String, @NonNull byte[], @NonNull byte[], @NonNull byte[]); method @NonNull public android.nearby.PresenceDevice.Builder addExtendedProperty(@NonNull android.nearby.DataElement); method @NonNull public android.nearby.PresenceDevice.Builder addMedium(int); method @NonNull public android.nearby.PresenceDevice build(); method @NonNull public android.nearby.PresenceDevice.Builder setDeviceImageUrl(@Nullable String); method @NonNull public android.nearby.PresenceDevice.Builder setDeviceType(int); method @NonNull public android.nearby.PresenceDevice.Builder setDiscoveryTimestampMillis(long); method @NonNull public android.nearby.PresenceDevice.Builder setName(@Nullable String); method @NonNull public android.nearby.PresenceDevice.Builder setRssi(int); } public final class PresenceScanFilter extends android.nearby.ScanFilter implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getCredentials(); method @NonNull public java.util.List getExtendedProperties(); method @NonNull public java.util.List getPresenceActions(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class PresenceScanFilter.Builder { ctor public PresenceScanFilter.Builder(); method @NonNull public android.nearby.PresenceScanFilter.Builder addCredential(@NonNull android.nearby.PublicCredential); method @NonNull public android.nearby.PresenceScanFilter.Builder addExtendedProperty(@NonNull android.nearby.DataElement); method @NonNull public android.nearby.PresenceScanFilter.Builder addPresenceAction(@IntRange(from=1, to=255) int); method @NonNull public android.nearby.PresenceScanFilter build(); method @NonNull public android.nearby.PresenceScanFilter.Builder setMaxPathLoss(@IntRange(from=0, to=127) int); } public final class PrivateCredential extends android.nearby.PresenceCredential implements android.os.Parcelable { method public int describeContents(); method @NonNull public String getDeviceName(); method @NonNull public byte[] getMetadataEncryptionKey(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class PrivateCredential.Builder { ctor public PrivateCredential.Builder(@NonNull byte[], @NonNull byte[], @NonNull byte[], @NonNull String); method @NonNull public android.nearby.PrivateCredential.Builder addCredentialElement(@NonNull android.nearby.CredentialElement); method @NonNull public android.nearby.PrivateCredential build(); method @NonNull public android.nearby.PrivateCredential.Builder setIdentityType(int); } public final class PublicCredential extends android.nearby.PresenceCredential implements android.os.Parcelable { method public int describeContents(); method @NonNull public byte[] getEncryptedMetadata(); method @NonNull public byte[] getEncryptedMetadataKeyTag(); method @NonNull public byte[] getPublicKey(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class PublicCredential.Builder { ctor public PublicCredential.Builder(@NonNull byte[], @NonNull byte[], @NonNull byte[], @NonNull byte[], @NonNull byte[]); method @NonNull public android.nearby.PublicCredential.Builder addCredentialElement(@NonNull android.nearby.CredentialElement); method @NonNull public android.nearby.PublicCredential build(); method @NonNull public android.nearby.PublicCredential.Builder setIdentityType(int); } public interface ScanCallback { method public void onDiscovered(@NonNull android.nearby.NearbyDevice); method public default void onError(int); method public void onLost(@NonNull android.nearby.NearbyDevice); method public void onUpdated(@NonNull android.nearby.NearbyDevice); field public static final int ERROR_INVALID_ARGUMENT = 2; // 0x2 field public static final int ERROR_PERMISSION_DENIED = 3; // 0x3 field public static final int ERROR_RESOURCE_EXHAUSTED = 4; // 0x4 field public static final int ERROR_UNKNOWN = 0; // 0x0 field public static final int ERROR_UNSUPPORTED = 1; // 0x1 } public abstract class ScanFilter { method @IntRange(from=0, to=127) public int getMaxPathLoss(); method public int getType(); } public final class ScanRequest implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getScanFilters(); method public int getScanMode(); method public int getScanType(); method @NonNull public android.os.WorkSource getWorkSource(); method public boolean isBleEnabled(); method public boolean isOffloadOnly(); method public static boolean isValidScanMode(int); method public static boolean isValidScanType(int); method @NonNull public static String scanModeToString(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int SCAN_MODE_BALANCED = 1; // 0x1 field public static final int SCAN_MODE_LOW_LATENCY = 2; // 0x2 field public static final int SCAN_MODE_LOW_POWER = 0; // 0x0 field public static final int SCAN_MODE_NO_POWER = -1; // 0xffffffff field public static final int SCAN_TYPE_FAST_PAIR = 1; // 0x1 field public static final int SCAN_TYPE_NEARBY_PRESENCE = 2; // 0x2 } public static final class ScanRequest.Builder { ctor public ScanRequest.Builder(); method @NonNull public android.nearby.ScanRequest.Builder addScanFilter(@NonNull android.nearby.ScanFilter); method @NonNull public android.nearby.ScanRequest build(); method @NonNull public android.nearby.ScanRequest.Builder setBleEnabled(boolean); method @NonNull public android.nearby.ScanRequest.Builder setOffloadOnly(boolean); method @NonNull public android.nearby.ScanRequest.Builder setScanMode(int); method @NonNull public android.nearby.ScanRequest.Builder setScanType(int); method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public android.nearby.ScanRequest.Builder setWorkSource(@Nullable android.os.WorkSource); } } package android.net { public class CaptivePortal implements android.os.Parcelable { method @Deprecated public void logEvent(int, @NonNull String); method @RequiresPermission(android.Manifest.permission.NETWORK_STACK) public void reevaluateNetwork(); method public void useNetwork(); field public static final int APP_REQUEST_REEVALUATION_REQUIRED = 100; // 0x64 field public static final int APP_RETURN_DISMISSED = 0; // 0x0 field public static final int APP_RETURN_UNWANTED = 1; // 0x1 field public static final int APP_RETURN_WANTED_AS_IS = 2; // 0x2 } public final class CaptivePortalData implements android.os.Parcelable { method public int describeContents(); method public long getByteLimit(); method public long getExpiryTimeMillis(); method public long getRefreshTimeMillis(); method @Nullable public android.net.Uri getUserPortalUrl(); method public int getUserPortalUrlSource(); method @Nullable public CharSequence getVenueFriendlyName(); method @Nullable public android.net.Uri getVenueInfoUrl(); method public int getVenueInfoUrlSource(); method public boolean isCaptive(); method public boolean isSessionExtendable(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int CAPTIVE_PORTAL_DATA_SOURCE_OTHER = 0; // 0x0 field public static final int CAPTIVE_PORTAL_DATA_SOURCE_PASSPOINT = 1; // 0x1 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class CaptivePortalData.Builder { ctor public CaptivePortalData.Builder(); ctor public CaptivePortalData.Builder(@Nullable android.net.CaptivePortalData); method @NonNull public android.net.CaptivePortalData build(); method @NonNull public android.net.CaptivePortalData.Builder setBytesRemaining(long); method @NonNull public android.net.CaptivePortalData.Builder setCaptive(boolean); method @NonNull public android.net.CaptivePortalData.Builder setExpiryTime(long); method @NonNull public android.net.CaptivePortalData.Builder setRefreshTime(long); method @NonNull public android.net.CaptivePortalData.Builder setSessionExtendable(boolean); method @NonNull public android.net.CaptivePortalData.Builder setUserPortalUrl(@Nullable android.net.Uri); method @NonNull public android.net.CaptivePortalData.Builder setUserPortalUrl(@Nullable android.net.Uri, int); method @NonNull public android.net.CaptivePortalData.Builder setVenueFriendlyName(@Nullable CharSequence); method @NonNull public android.net.CaptivePortalData.Builder setVenueInfoUrl(@Nullable android.net.Uri); method @NonNull public android.net.CaptivePortalData.Builder setVenueInfoUrl(@Nullable android.net.Uri, int); } public class ConnectivityManager { method @NonNull @RequiresPermission(android.Manifest.permission.PACKET_KEEPALIVE_OFFLOAD) public android.net.SocketKeepalive createNattKeepalive(@NonNull android.net.Network, @NonNull android.os.ParcelFileDescriptor, @NonNull java.net.InetAddress, @NonNull java.net.InetAddress, @NonNull java.util.concurrent.Executor, @NonNull android.net.SocketKeepalive.Callback); method @NonNull @RequiresPermission(android.Manifest.permission.PACKET_KEEPALIVE_OFFLOAD) public android.net.SocketKeepalive createSocketKeepalive(@NonNull android.net.Network, @NonNull java.net.Socket, @NonNull java.util.concurrent.Executor, @NonNull android.net.SocketKeepalive.Callback); method @Deprecated @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public String getCaptivePortalServerUrl(); method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void getLatestTetheringEntitlementResult(int, boolean, @NonNull java.util.concurrent.Executor, @NonNull android.net.ConnectivityManager.OnTetheringEntitlementResultListener); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.TETHER_PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public boolean isTetheringSupported(); method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_FACTORY}) public int registerNetworkProvider(@NonNull android.net.NetworkProvider); method public void registerQosCallback(@NonNull android.net.QosSocketInfo, @NonNull java.util.concurrent.Executor, @NonNull android.net.QosCallback); method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void registerTetheringEventCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.ConnectivityManager.OnTetheringEventCallback); method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void requestNetwork(@NonNull android.net.NetworkRequest, int, int, @NonNull android.os.Handler, @NonNull android.net.ConnectivityManager.NetworkCallback); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_AIRPLANE_MODE, android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, android.Manifest.permission.NETWORK_STACK}) public void setAirplaneMode(boolean); method @RequiresPermission(android.Manifest.permission.CONTROL_OEM_PAID_NETWORK_PREFERENCE) public void setOemNetworkPreference(@NonNull android.net.OemNetworkPreferences, @Nullable java.util.concurrent.Executor, @Nullable Runnable); method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public boolean shouldAvoidBadWifi(); method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void startCaptivePortalApp(@NonNull android.net.Network, @NonNull android.os.Bundle); method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void startTethering(int, boolean, android.net.ConnectivityManager.OnStartTetheringCallback); method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void startTethering(int, boolean, android.net.ConnectivityManager.OnStartTetheringCallback, android.os.Handler); method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void stopTethering(int); method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_FACTORY}) public void unregisterNetworkProvider(@NonNull android.net.NetworkProvider); method public void unregisterQosCallback(@NonNull android.net.QosCallback); method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void unregisterTetheringEventCallback(@NonNull android.net.ConnectivityManager.OnTetheringEventCallback); field public static final String EXTRA_CAPTIVE_PORTAL_PROBE_SPEC = "android.net.extra.CAPTIVE_PORTAL_PROBE_SPEC"; field public static final String EXTRA_CAPTIVE_PORTAL_USER_AGENT = "android.net.extra.CAPTIVE_PORTAL_USER_AGENT"; field public static final int TETHERING_BLUETOOTH = 2; // 0x2 field public static final int TETHERING_USB = 1; // 0x1 field public static final int TETHERING_WIFI = 0; // 0x0 field @Deprecated public static final int TETHER_ERROR_ENTITLEMENT_UNKONWN = 13; // 0xd field @Deprecated public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0 field @Deprecated public static final int TETHER_ERROR_PROVISION_FAILED = 11; // 0xb field public static final int TYPE_NONE = -1; // 0xffffffff field @Deprecated public static final int TYPE_PROXY = 16; // 0x10 field @Deprecated public static final int TYPE_WIFI_P2P = 13; // 0xd } @Deprecated public abstract static class ConnectivityManager.OnStartTetheringCallback { ctor @Deprecated public ConnectivityManager.OnStartTetheringCallback(); method @Deprecated public void onTetheringFailed(); method @Deprecated public void onTetheringStarted(); } @Deprecated public static interface ConnectivityManager.OnTetheringEntitlementResultListener { method @Deprecated public void onTetheringEntitlementResult(int); } @Deprecated public abstract static class ConnectivityManager.OnTetheringEventCallback { ctor @Deprecated public ConnectivityManager.OnTetheringEventCallback(); method @Deprecated public void onUpstreamChanged(@Nullable android.net.Network); } public final class DscpPolicy implements android.os.Parcelable { method @Nullable public java.net.InetAddress getDestinationAddress(); method @Nullable public android.util.Range getDestinationPortRange(); method public int getDscpValue(); method public int getPolicyId(); method public int getProtocol(); method @Nullable public java.net.InetAddress getSourceAddress(); method public int getSourcePort(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int PROTOCOL_ANY = -1; // 0xffffffff field public static final int SOURCE_PORT_ANY = -1; // 0xffffffff } public static final class DscpPolicy.Builder { ctor public DscpPolicy.Builder(int, int); method @NonNull public android.net.DscpPolicy build(); method @NonNull public android.net.DscpPolicy.Builder setDestinationAddress(@NonNull java.net.InetAddress); method @NonNull public android.net.DscpPolicy.Builder setDestinationPortRange(@NonNull android.util.Range); method @NonNull public android.net.DscpPolicy.Builder setProtocol(int); method @NonNull public android.net.DscpPolicy.Builder setSourceAddress(@NonNull java.net.InetAddress); method @NonNull public android.net.DscpPolicy.Builder setSourcePort(int); } public class EthernetManager { method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.MANAGE_ETHERNET_NETWORKS}) public void disableInterface(@NonNull String, @Nullable java.util.concurrent.Executor, @Nullable android.os.OutcomeReceiver); method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.MANAGE_ETHERNET_NETWORKS}) public void enableInterface(@NonNull String, @Nullable java.util.concurrent.Executor, @Nullable android.os.OutcomeReceiver); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public android.net.EthernetManager.TetheredInterfaceRequest requestTetheredInterface(@NonNull java.util.concurrent.Executor, @NonNull android.net.EthernetManager.TetheredInterfaceCallback); method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.MANAGE_ETHERNET_NETWORKS}) public void updateConfiguration(@NonNull String, @NonNull android.net.EthernetNetworkUpdateRequest, @Nullable java.util.concurrent.Executor, @Nullable android.os.OutcomeReceiver); } public static interface EthernetManager.TetheredInterfaceCallback { method public void onAvailable(@NonNull String); method public void onUnavailable(); } public static class EthernetManager.TetheredInterfaceRequest { method public void release(); } public final class EthernetNetworkManagementException extends java.lang.RuntimeException implements android.os.Parcelable { ctor public EthernetNetworkManagementException(@NonNull String); method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class EthernetNetworkUpdateRequest implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.net.IpConfiguration getIpConfiguration(); method @Nullable public android.net.NetworkCapabilities getNetworkCapabilities(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class EthernetNetworkUpdateRequest.Builder { ctor public EthernetNetworkUpdateRequest.Builder(); ctor public EthernetNetworkUpdateRequest.Builder(@NonNull android.net.EthernetNetworkUpdateRequest); method @NonNull public android.net.EthernetNetworkUpdateRequest build(); method @NonNull public android.net.EthernetNetworkUpdateRequest.Builder setIpConfiguration(@Nullable android.net.IpConfiguration); method @NonNull public android.net.EthernetNetworkUpdateRequest.Builder setNetworkCapabilities(@Nullable android.net.NetworkCapabilities); } public final class InvalidPacketException extends java.lang.Exception { ctor public InvalidPacketException(int); method public int getError(); field public static final int ERROR_INVALID_IP_ADDRESS = -21; // 0xffffffeb field public static final int ERROR_INVALID_LENGTH = -23; // 0xffffffe9 field public static final int ERROR_INVALID_PORT = -22; // 0xffffffea } public final class IpConfiguration implements android.os.Parcelable { ctor public IpConfiguration(); ctor public IpConfiguration(@NonNull android.net.IpConfiguration); method @NonNull public android.net.IpConfiguration.IpAssignment getIpAssignment(); method @NonNull public android.net.IpConfiguration.ProxySettings getProxySettings(); method public void setHttpProxy(@Nullable android.net.ProxyInfo); method public void setIpAssignment(@NonNull android.net.IpConfiguration.IpAssignment); method public void setProxySettings(@NonNull android.net.IpConfiguration.ProxySettings); method public void setStaticIpConfiguration(@Nullable android.net.StaticIpConfiguration); } public enum IpConfiguration.IpAssignment { enum_constant public static final android.net.IpConfiguration.IpAssignment DHCP; enum_constant public static final android.net.IpConfiguration.IpAssignment STATIC; enum_constant public static final android.net.IpConfiguration.IpAssignment UNASSIGNED; } public enum IpConfiguration.ProxySettings { enum_constant public static final android.net.IpConfiguration.ProxySettings NONE; enum_constant public static final android.net.IpConfiguration.ProxySettings PAC; enum_constant public static final android.net.IpConfiguration.ProxySettings STATIC; enum_constant public static final android.net.IpConfiguration.ProxySettings UNASSIGNED; } public final class IpPrefix implements android.os.Parcelable { ctor public IpPrefix(@NonNull String); } public class IpSecManager { method @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public void applyTunnelModeTransform(@NonNull android.net.IpSecManager.IpSecTunnelInterface, int, @NonNull android.net.IpSecTransform) throws java.io.IOException; method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public android.net.IpSecManager.IpSecTunnelInterface createIpSecTunnelInterface(@NonNull java.net.InetAddress, @NonNull java.net.InetAddress, @NonNull android.net.Network) throws java.io.IOException, android.net.IpSecManager.ResourceUnavailableException; method @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public void startTunnelModeTransformMigration(@NonNull android.net.IpSecTransform, @NonNull java.net.InetAddress, @NonNull java.net.InetAddress); } public static final class IpSecManager.IpSecTunnelInterface implements java.lang.AutoCloseable { method @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public void addAddress(@NonNull java.net.InetAddress, int) throws java.io.IOException; method public void close(); method @NonNull public String getInterfaceName(); method @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public void removeAddress(@NonNull java.net.InetAddress, int) throws java.io.IOException; method @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public void setUnderlyingNetwork(@NonNull android.net.Network) throws java.io.IOException; } public static class IpSecTransform.Builder { method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public android.net.IpSecTransform buildTunnelModeTransform(@NonNull java.net.InetAddress, @NonNull android.net.IpSecManager.SecurityParameterIndex) throws java.io.IOException, android.net.IpSecManager.ResourceUnavailableException, android.net.IpSecManager.SpiUnavailableException; } public class KeepalivePacketData { ctor protected KeepalivePacketData(@NonNull java.net.InetAddress, @IntRange(from=0, to=65535) int, @NonNull java.net.InetAddress, @IntRange(from=0, to=65535) int, @NonNull byte[]) throws android.net.InvalidPacketException; method @NonNull public java.net.InetAddress getDstAddress(); method public int getDstPort(); method @NonNull public byte[] getPacket(); method @NonNull public java.net.InetAddress getSrcAddress(); method public int getSrcPort(); } public class LinkAddress implements android.os.Parcelable { ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int, int, int); ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int, int, int, long, long); ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int); ctor public LinkAddress(@NonNull String); ctor public LinkAddress(@NonNull String, int, int); method public long getDeprecationTime(); method public long getExpirationTime(); method public boolean isGlobalPreferred(); method public boolean isIpv4(); method public boolean isIpv6(); method public boolean isSameAddressAs(@Nullable android.net.LinkAddress); field public static final long LIFETIME_PERMANENT = 9223372036854775807L; // 0x7fffffffffffffffL field public static final long LIFETIME_UNKNOWN = -1L; // 0xffffffffffffffffL } public final class LinkProperties implements android.os.Parcelable { ctor public LinkProperties(@Nullable android.net.LinkProperties); ctor public LinkProperties(@Nullable android.net.LinkProperties, boolean); method public boolean addDnsServer(@NonNull java.net.InetAddress); method public boolean addLinkAddress(@NonNull android.net.LinkAddress); method public boolean addPcscfServer(@NonNull java.net.InetAddress); method @NonNull public java.util.List getAddresses(); method @NonNull public java.util.List getAllInterfaceNames(); method @NonNull public java.util.List getAllLinkAddresses(); method @NonNull public java.util.List getAllRoutes(); method @Nullable public android.net.Uri getCaptivePortalApiUrl(); method @Nullable public android.net.CaptivePortalData getCaptivePortalData(); method @NonNull public java.util.List getPcscfServers(); method @Nullable public String getTcpBufferSizes(); method @NonNull public java.util.List getValidatedPrivateDnsServers(); method public boolean hasGlobalIpv6Address(); method public boolean hasIpv4Address(); method public boolean hasIpv4DefaultRoute(); method public boolean hasIpv4DnsServer(); method public boolean hasIpv6DefaultRoute(); method public boolean hasIpv6DnsServer(); method public boolean isIpv4Provisioned(); method public boolean isIpv6Provisioned(); method public boolean isProvisioned(); method public boolean isReachable(@NonNull java.net.InetAddress); method public boolean removeDnsServer(@NonNull java.net.InetAddress); method public boolean removeLinkAddress(@NonNull android.net.LinkAddress); method public boolean removeRoute(@NonNull android.net.RouteInfo); method public void setCaptivePortalApiUrl(@Nullable android.net.Uri); method public void setCaptivePortalData(@Nullable android.net.CaptivePortalData); method public void setPcscfServers(@NonNull java.util.Collection); method public void setPrivateDnsServerName(@Nullable String); method public void setTcpBufferSizes(@Nullable String); method public void setUsePrivateDns(boolean); method public void setValidatedPrivateDnsServers(@NonNull java.util.Collection); } public final class MatchAllNetworkSpecifier extends android.net.NetworkSpecifier implements android.os.Parcelable { ctor public MatchAllNetworkSpecifier(); method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class NattKeepalivePacketData extends android.net.KeepalivePacketData implements android.os.Parcelable { ctor public NattKeepalivePacketData(@NonNull java.net.InetAddress, int, @NonNull java.net.InetAddress, int, @NonNull byte[]) throws android.net.InvalidPacketException; method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class Network implements android.os.Parcelable { ctor public Network(@NonNull android.net.Network); method public int getNetId(); method @NonNull public android.net.Network getPrivateDnsBypassingCopy(); } public abstract class NetworkAgent { ctor public NetworkAgent(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull String, @NonNull android.net.NetworkCapabilities, @NonNull android.net.LinkProperties, int, @NonNull android.net.NetworkAgentConfig, @Nullable android.net.NetworkProvider); ctor public NetworkAgent(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull String, @NonNull android.net.NetworkCapabilities, @NonNull android.net.LinkProperties, @NonNull android.net.NetworkScore, @NonNull android.net.NetworkAgentConfig, @Nullable android.net.NetworkProvider); method @Nullable public android.net.Network getNetwork(); method public void markConnected(); method public void onAddKeepalivePacketFilter(int, @NonNull android.net.KeepalivePacketData); method public void onAutomaticReconnectDisabled(); method public void onBandwidthUpdateRequested(); method public void onDscpPolicyStatusUpdated(int, int); method public void onNetworkCreated(); method public void onNetworkDestroyed(); method public void onNetworkUnwanted(); method public void onQosCallbackRegistered(int, @NonNull android.net.QosFilter); method public void onQosCallbackUnregistered(int); method public void onRemoveKeepalivePacketFilter(int); method public void onSaveAcceptUnvalidated(boolean); method public void onSignalStrengthThresholdsUpdated(@NonNull int[]); method public void onStartSocketKeepalive(int, @NonNull java.time.Duration, @NonNull android.net.KeepalivePacketData); method public void onStopSocketKeepalive(int); method public void onValidationStatus(int, @Nullable android.net.Uri); method @NonNull public android.net.Network register(); method public void sendAddDscpPolicy(@NonNull android.net.DscpPolicy); method public void sendLinkProperties(@NonNull android.net.LinkProperties); method public void sendNetworkCapabilities(@NonNull android.net.NetworkCapabilities); method public void sendNetworkScore(@NonNull android.net.NetworkScore); method public void sendNetworkScore(@IntRange(from=0, to=99) int); method public final void sendQosCallbackError(int, int); method public final void sendQosSessionAvailable(int, int, @NonNull android.net.QosSessionAttributes); method public final void sendQosSessionLost(int, int, int); method public void sendRemoveAllDscpPolicies(); method public void sendRemoveDscpPolicy(int); method public final void sendSocketKeepaliveEvent(int, int); method @Deprecated public void setLegacySubtype(int, @NonNull String); method public void setLingerDuration(@NonNull java.time.Duration); method public void setTeardownDelayMillis(@IntRange(from=0, to=0x1388) int); method public void setUnderlyingNetworks(@Nullable java.util.List); method public void unregister(); method public void unregisterAfterReplacement(@IntRange(from=0, to=0x1388) int); field public static final int DSCP_POLICY_STATUS_DELETED = 4; // 0x4 field public static final int DSCP_POLICY_STATUS_INSUFFICIENT_PROCESSING_RESOURCES = 3; // 0x3 field public static final int DSCP_POLICY_STATUS_POLICY_NOT_FOUND = 5; // 0x5 field public static final int DSCP_POLICY_STATUS_REQUESTED_CLASSIFIER_NOT_SUPPORTED = 2; // 0x2 field public static final int DSCP_POLICY_STATUS_REQUEST_DECLINED = 1; // 0x1 field public static final int DSCP_POLICY_STATUS_SUCCESS = 0; // 0x0 field public static final int VALIDATION_STATUS_NOT_VALID = 2; // 0x2 field public static final int VALIDATION_STATUS_VALID = 1; // 0x1 } public final class NetworkAgentConfig implements android.os.Parcelable { method public int describeContents(); method public int getLegacyType(); method @NonNull public String getLegacyTypeName(); method public boolean isExplicitlySelected(); method public boolean isPartialConnectivityAcceptable(); method public boolean isUnvalidatedConnectivityAcceptable(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class NetworkAgentConfig.Builder { ctor public NetworkAgentConfig.Builder(); method @NonNull public android.net.NetworkAgentConfig build(); method @NonNull public android.net.NetworkAgentConfig.Builder setExplicitlySelected(boolean); method @NonNull public android.net.NetworkAgentConfig.Builder setLegacyExtraInfo(@NonNull String); method @NonNull public android.net.NetworkAgentConfig.Builder setLegacySubType(int); method @NonNull public android.net.NetworkAgentConfig.Builder setLegacySubTypeName(@NonNull String); method @NonNull public android.net.NetworkAgentConfig.Builder setLegacyType(int); method @NonNull public android.net.NetworkAgentConfig.Builder setLegacyTypeName(@NonNull String); method @NonNull public android.net.NetworkAgentConfig.Builder setNat64DetectionEnabled(boolean); method @NonNull public android.net.NetworkAgentConfig.Builder setPartialConnectivityAcceptable(boolean); method @NonNull public android.net.NetworkAgentConfig.Builder setProvisioningNotificationEnabled(boolean); method @NonNull public android.net.NetworkAgentConfig.Builder setUnvalidatedConnectivityAcceptable(boolean); } public final class NetworkCapabilities implements android.os.Parcelable { method @NonNull public int[] getAdministratorUids(); method @Nullable public static String getCapabilityCarrierName(int); method @Nullable public String getSsid(); method @NonNull public java.util.Set getSubscriptionIds(); method @NonNull public int[] getTransportTypes(); method @Nullable public java.util.List getUnderlyingNetworks(); method public boolean isPrivateDnsBroken(); method public boolean satisfiedByNetworkCapabilities(@Nullable android.net.NetworkCapabilities); field public static final int NET_CAPABILITY_BIP = 31; // 0x1f field public static final int NET_CAPABILITY_NOT_VCN_MANAGED = 28; // 0x1c field public static final int NET_CAPABILITY_OEM_PAID = 22; // 0x16 field public static final int NET_CAPABILITY_OEM_PRIVATE = 26; // 0x1a field public static final int NET_CAPABILITY_PARTIAL_CONNECTIVITY = 24; // 0x18 field public static final int NET_CAPABILITY_VEHICLE_INTERNAL = 27; // 0x1b field public static final int NET_CAPABILITY_VSIM = 30; // 0x1e } public static final class NetworkCapabilities.Builder { ctor public NetworkCapabilities.Builder(); ctor public NetworkCapabilities.Builder(@NonNull android.net.NetworkCapabilities); method @NonNull public android.net.NetworkCapabilities.Builder addCapability(int); method @NonNull public android.net.NetworkCapabilities.Builder addEnterpriseId(int); method @NonNull public android.net.NetworkCapabilities.Builder addTransportType(int); method @NonNull public android.net.NetworkCapabilities build(); method @NonNull public android.net.NetworkCapabilities.Builder removeCapability(int); method @NonNull public android.net.NetworkCapabilities.Builder removeEnterpriseId(int); method @NonNull public android.net.NetworkCapabilities.Builder removeTransportType(int); method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setAdministratorUids(@NonNull int[]); method @NonNull public android.net.NetworkCapabilities.Builder setLinkDownstreamBandwidthKbps(int); method @NonNull public android.net.NetworkCapabilities.Builder setLinkUpstreamBandwidthKbps(int); method @NonNull public android.net.NetworkCapabilities.Builder setNetworkSpecifier(@Nullable android.net.NetworkSpecifier); method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setOwnerUid(int); method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setRequestorPackageName(@Nullable String); method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setRequestorUid(int); method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP) public android.net.NetworkCapabilities.Builder setSignalStrength(int); method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setSsid(@Nullable String); method @NonNull public android.net.NetworkCapabilities.Builder setSubscriptionIds(@NonNull java.util.Set); method @NonNull public android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.net.TransportInfo); method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setUnderlyingNetworks(@Nullable java.util.List); method @NonNull public static android.net.NetworkCapabilities.Builder withoutDefaultCapabilities(); } @Deprecated public class NetworkKey implements android.os.Parcelable { ctor @Deprecated public NetworkKey(android.net.WifiKey); method @Deprecated @Nullable public static android.net.NetworkKey createFromScanResult(@NonNull android.net.wifi.ScanResult); method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public static final int TYPE_WIFI = 1; // 0x1 field @Deprecated public final int type; field @Deprecated public final android.net.WifiKey wifiKey; } public class NetworkProvider { ctor public NetworkProvider(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull String); method @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public void declareNetworkRequestUnfulfillable(@NonNull android.net.NetworkRequest); method public int getProviderId(); method public void onNetworkRequestWithdrawn(@NonNull android.net.NetworkRequest); method public void onNetworkRequested(@NonNull android.net.NetworkRequest, @IntRange(from=0, to=99) int, int); method @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public void registerNetworkOffer(@NonNull android.net.NetworkScore, @NonNull android.net.NetworkCapabilities, @NonNull java.util.concurrent.Executor, @NonNull android.net.NetworkProvider.NetworkOfferCallback); method @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public void unregisterNetworkOffer(@NonNull android.net.NetworkProvider.NetworkOfferCallback); field public static final int ID_NONE = -1; // 0xffffffff } public static interface NetworkProvider.NetworkOfferCallback { method public void onNetworkNeeded(@NonNull android.net.NetworkRequest); method public void onNetworkUnneeded(@NonNull android.net.NetworkRequest); } public abstract class NetworkRecommendationProvider { ctor public NetworkRecommendationProvider(android.content.Context, java.util.concurrent.Executor); method public final android.os.IBinder getBinder(); method public abstract void onRequestScores(android.net.NetworkKey[]); } public class NetworkReleasedException extends java.lang.Exception { ctor public NetworkReleasedException(); } public class NetworkRequest implements android.os.Parcelable { method @Nullable public String getRequestorPackageName(); method public int getRequestorUid(); } public static class NetworkRequest.Builder { method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP) public android.net.NetworkRequest.Builder setSignalStrength(int); method @NonNull public android.net.NetworkRequest.Builder setSubscriptionIds(@NonNull java.util.Set); } public final class NetworkScore implements android.os.Parcelable { method public int describeContents(); method public int getKeepConnectedReason(); method public int getLegacyInt(); method public boolean isExiting(); method public boolean isTransportPrimary(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int KEEP_CONNECTED_FOR_HANDOVER = 1; // 0x1 field public static final int KEEP_CONNECTED_NONE = 0; // 0x0 } public static final class NetworkScore.Builder { ctor public NetworkScore.Builder(); method @NonNull public android.net.NetworkScore build(); method @NonNull public android.net.NetworkScore.Builder setExiting(boolean); method @NonNull public android.net.NetworkScore.Builder setKeepConnectedReason(int); method @NonNull public android.net.NetworkScore.Builder setLegacyInt(int); method @NonNull public android.net.NetworkScore.Builder setTransportPrimary(boolean); } @Deprecated public class NetworkScoreManager { method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public boolean clearScores() throws java.lang.SecurityException; method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public void disableScoring() throws java.lang.SecurityException; method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public String getActiveScorerPackage(); method @Deprecated @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES) public void registerNetworkScoreCallback(int, int, @NonNull java.util.concurrent.Executor, @NonNull android.net.NetworkScoreManager.NetworkScoreCallback) throws java.lang.SecurityException; method @Deprecated @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES) public boolean requestScores(@NonNull java.util.Collection) throws java.lang.SecurityException; method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public boolean setActiveScorer(String) throws java.lang.SecurityException; method @Deprecated @RequiresPermission(android.Manifest.permission.SCORE_NETWORKS) public boolean updateScores(@NonNull android.net.ScoredNetwork[]) throws java.lang.SecurityException; field @Deprecated public static final String ACTION_CHANGE_ACTIVE = "android.net.scoring.CHANGE_ACTIVE"; field @Deprecated public static final String ACTION_CUSTOM_ENABLE = "android.net.scoring.CUSTOM_ENABLE"; field @Deprecated public static final String ACTION_RECOMMEND_NETWORKS = "android.net.action.RECOMMEND_NETWORKS"; field @Deprecated public static final String ACTION_SCORER_CHANGED = "android.net.scoring.SCORER_CHANGED"; field @Deprecated public static final String ACTION_SCORE_NETWORKS = "android.net.scoring.SCORE_NETWORKS"; field @Deprecated public static final String EXTRA_NETWORKS_TO_SCORE = "networksToScore"; field @Deprecated public static final String EXTRA_NEW_SCORER = "newScorer"; field @Deprecated public static final String EXTRA_PACKAGE_NAME = "packageName"; field @Deprecated public static final int SCORE_FILTER_CURRENT_NETWORK = 1; // 0x1 field @Deprecated public static final int SCORE_FILTER_NONE = 0; // 0x0 field @Deprecated public static final int SCORE_FILTER_SCAN_RESULTS = 2; // 0x2 } @Deprecated public abstract static class NetworkScoreManager.NetworkScoreCallback { ctor @Deprecated public NetworkScoreManager.NetworkScoreCallback(); method @Deprecated public abstract void onScoresInvalidated(); method @Deprecated public abstract void onScoresUpdated(@NonNull java.util.Collection); } public abstract class NetworkSpecifier { method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkSpecifier); method @Nullable public android.net.NetworkSpecifier redact(); } public class NetworkStack { method @Nullable public static android.os.IBinder getService(); field public static final String PERMISSION_MAINLINE_NETWORK_STACK = "android.permission.MAINLINE_NETWORK_STACK"; } public final class NetworkStats implements java.lang.Iterable android.os.Parcelable { ctor public NetworkStats(long, int); method @NonNull public android.net.NetworkStats add(@NonNull android.net.NetworkStats); method @NonNull public android.net.NetworkStats addEntry(@NonNull android.net.NetworkStats.Entry); method public int describeContents(); method @NonNull public java.util.Iterator iterator(); method @NonNull public android.net.NetworkStats subtract(@NonNull android.net.NetworkStats); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DEFAULT_NETWORK_ALL = -1; // 0xffffffff field public static final int DEFAULT_NETWORK_NO = 0; // 0x0 field public static final int DEFAULT_NETWORK_YES = 1; // 0x1 field public static final String IFACE_VT = "vt_data0"; field public static final int METERED_ALL = -1; // 0xffffffff field public static final int METERED_NO = 0; // 0x0 field public static final int METERED_YES = 1; // 0x1 field public static final int ROAMING_ALL = -1; // 0xffffffff field public static final int ROAMING_NO = 0; // 0x0 field public static final int ROAMING_YES = 1; // 0x1 field public static final int SET_ALL = -1; // 0xffffffff field public static final int SET_DEFAULT = 0; // 0x0 field public static final int SET_FOREGROUND = 1; // 0x1 field public static final int TAG_NONE = 0; // 0x0 field public static final int UID_ALL = -1; // 0xffffffff field public static final int UID_TETHERING = -5; // 0xfffffffb } public static class NetworkStats.Entry { ctor public NetworkStats.Entry(@Nullable String, int, int, int, int, int, int, long, long, long, long, long); method public int getDefaultNetwork(); method public int getMetered(); method public long getOperations(); method public int getRoaming(); method public long getRxBytes(); method public long getRxPackets(); method public int getSet(); method public int getTag(); method public long getTxBytes(); method public long getTxPackets(); method public int getUid(); } public final class OemNetworkPreferences implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.Map getNetworkPreferences(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int OEM_NETWORK_PREFERENCE_OEM_PAID = 1; // 0x1 field public static final int OEM_NETWORK_PREFERENCE_OEM_PAID_NO_FALLBACK = 2; // 0x2 field public static final int OEM_NETWORK_PREFERENCE_OEM_PAID_ONLY = 3; // 0x3 field public static final int OEM_NETWORK_PREFERENCE_OEM_PRIVATE_ONLY = 4; // 0x4 field public static final int OEM_NETWORK_PREFERENCE_UNINITIALIZED = 0; // 0x0 } public static final class OemNetworkPreferences.Builder { ctor public OemNetworkPreferences.Builder(); ctor public OemNetworkPreferences.Builder(@NonNull android.net.OemNetworkPreferences); method @NonNull public android.net.OemNetworkPreferences.Builder addNetworkPreference(@NonNull String, int); method @NonNull public android.net.OemNetworkPreferences build(); method @NonNull public android.net.OemNetworkPreferences.Builder clearNetworkPreference(@NonNull String); } public abstract class QosCallback { ctor public QosCallback(); method public void onError(@NonNull android.net.QosCallbackException); method public void onQosSessionAvailable(@NonNull android.net.QosSession, @NonNull android.net.QosSessionAttributes); method public void onQosSessionLost(@NonNull android.net.QosSession); } public static class QosCallback.QosCallbackRegistrationException extends java.lang.RuntimeException { } public final class QosCallbackException extends java.lang.Exception { ctor public QosCallbackException(@NonNull String); ctor public QosCallbackException(@NonNull Throwable); } public abstract class QosFilter { method @NonNull public abstract android.net.Network getNetwork(); method public abstract boolean matchesLocalAddress(@NonNull java.net.InetAddress, int, int); method public boolean matchesProtocol(int); method public abstract boolean matchesRemoteAddress(@NonNull java.net.InetAddress, int, int); } public final class QosSession implements android.os.Parcelable { ctor public QosSession(int, int); method public int describeContents(); method public int getSessionId(); method public int getSessionType(); method public long getUniqueId(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TYPE_EPS_BEARER = 1; // 0x1 field public static final int TYPE_NR_BEARER = 2; // 0x2 } public interface QosSessionAttributes { } public final class QosSocketInfo implements android.os.Parcelable { ctor public QosSocketInfo(@NonNull android.net.Network, @NonNull java.net.Socket) throws java.io.IOException; ctor public QosSocketInfo(@NonNull android.net.Network, @NonNull java.net.DatagramSocket) throws java.io.IOException; method public int describeContents(); method @NonNull public java.net.InetSocketAddress getLocalSocketAddress(); method @NonNull public android.net.Network getNetwork(); method @Nullable public java.net.InetSocketAddress getRemoteSocketAddress(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class RouteInfo implements android.os.Parcelable { ctor public RouteInfo(@Nullable android.net.IpPrefix, @Nullable java.net.InetAddress, @Nullable String, int); ctor public RouteInfo(@Nullable android.net.IpPrefix, @Nullable java.net.InetAddress, @Nullable String, int, int); method public int getMtu(); } @Deprecated public class RssiCurve implements android.os.Parcelable { ctor @Deprecated public RssiCurve(int, int, byte[]); ctor @Deprecated public RssiCurve(int, int, byte[], int); method @Deprecated public int describeContents(); method @Deprecated public byte lookupScore(int); method @Deprecated public byte lookupScore(int, boolean); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public final int activeNetworkRssiBoost; field @Deprecated public final int bucketWidth; field @Deprecated public final byte[] rssiBuckets; field @Deprecated public final int start; } @Deprecated public class ScoredNetwork implements android.os.Parcelable { ctor @Deprecated public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve); ctor @Deprecated public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve, boolean); ctor @Deprecated public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve, boolean, @Nullable android.os.Bundle); method @Deprecated public int calculateBadge(int); method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated public static final String ATTRIBUTES_KEY_BADGING_CURVE = "android.net.attributes.key.BADGING_CURVE"; field @Deprecated public static final String ATTRIBUTES_KEY_HAS_CAPTIVE_PORTAL = "android.net.attributes.key.HAS_CAPTIVE_PORTAL"; field @Deprecated public static final String ATTRIBUTES_KEY_RANKING_SCORE_OFFSET = "android.net.attributes.key.RANKING_SCORE_OFFSET"; field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated @Nullable public final android.os.Bundle attributes; field @Deprecated public final boolean meteredHint; field @Deprecated public final android.net.NetworkKey networkKey; field @Deprecated public final android.net.RssiCurve rssiCurve; } public abstract class SocketKeepalive implements java.lang.AutoCloseable { method public final void start(@IntRange(from=0xa, to=0xe10) int, int, @Nullable android.net.Network); field public static final int ERROR_NO_SUCH_SLOT = -33; // 0xffffffdf field public static final int FLAG_AUTOMATIC_ON_OFF = 1; // 0x1 field public static final int SUCCESS = 0; // 0x0 } public class SocketLocalAddressChangedException extends java.lang.Exception { ctor public SocketLocalAddressChangedException(); } public class SocketNotBoundException extends java.lang.Exception { ctor public SocketNotBoundException(); } public class SocketNotConnectedException extends java.lang.Exception { ctor public SocketNotConnectedException(); } public class SocketRemoteAddressChangedException extends java.lang.Exception { ctor public SocketRemoteAddressChangedException(); } public final class StaticIpConfiguration implements android.os.Parcelable { ctor public StaticIpConfiguration(); ctor public StaticIpConfiguration(@Nullable android.net.StaticIpConfiguration); method public void addDnsServer(@NonNull java.net.InetAddress); method public void clear(); method @NonNull public java.util.List getRoutes(@Nullable String); } public final class TcpKeepalivePacketData extends android.net.KeepalivePacketData implements android.os.Parcelable { ctor public TcpKeepalivePacketData(@NonNull java.net.InetAddress, int, @NonNull java.net.InetAddress, int, @NonNull byte[], int, int, int, int, int, int) throws android.net.InvalidPacketException; method public int describeContents(); method public int getIpTos(); method public int getIpTtl(); method public int getTcpAck(); method public int getTcpSeq(); method public int getTcpWindow(); method public int getTcpWindowScale(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TetheredClient implements android.os.Parcelable { ctor public TetheredClient(@NonNull android.net.MacAddress, @NonNull java.util.Collection, int); method public int describeContents(); method @NonNull public java.util.List getAddresses(); method @NonNull public android.net.MacAddress getMacAddress(); method public int getTetheringType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class TetheredClient.AddressInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.net.LinkAddress getAddress(); method @Nullable public String getHostname(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TetheringInterface implements android.os.Parcelable { ctor public TetheringInterface(int, @NonNull String); method public int describeContents(); method @NonNull public String getInterface(); method public int getType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class TetheringManager { method @RequiresPermission(android.Manifest.permission.ACCESS_NETWORK_STATE) public void registerTetheringEventCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.TetheringEventCallback); method @RequiresPermission(anyOf={android.Manifest.permission.TETHER_PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public void requestLatestTetheringEntitlementResult(int, boolean, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.OnTetheringEntitlementResultListener); method @RequiresPermission(anyOf={android.Manifest.permission.TETHER_PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public void startTethering(@NonNull android.net.TetheringManager.TetheringRequest, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.StartTetheringCallback); method @RequiresPermission(anyOf={android.Manifest.permission.TETHER_PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public void stopAllTethering(); method @RequiresPermission(anyOf={android.Manifest.permission.TETHER_PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public void stopTethering(int); method @RequiresPermission(anyOf={android.Manifest.permission.TETHER_PRIVILEGED, android.Manifest.permission.ACCESS_NETWORK_STATE}) public void unregisterTetheringEventCallback(@NonNull android.net.TetheringManager.TetheringEventCallback); field @Deprecated public static final String ACTION_TETHER_STATE_CHANGED = "android.net.conn.TETHER_STATE_CHANGED"; field public static final int CONNECTIVITY_SCOPE_GLOBAL = 1; // 0x1 field public static final int CONNECTIVITY_SCOPE_LOCAL = 2; // 0x2 field public static final String EXTRA_ACTIVE_LOCAL_ONLY = "android.net.extra.ACTIVE_LOCAL_ONLY"; field public static final String EXTRA_ACTIVE_TETHER = "tetherArray"; field public static final String EXTRA_AVAILABLE_TETHER = "availableArray"; field public static final String EXTRA_ERRORED_TETHER = "erroredArray"; field public static final int TETHERING_BLUETOOTH = 2; // 0x2 field public static final int TETHERING_ETHERNET = 5; // 0x5 field public static final int TETHERING_INVALID = -1; // 0xffffffff field public static final int TETHERING_NCM = 4; // 0x4 field public static final int TETHERING_USB = 1; // 0x1 field public static final int TETHERING_WIFI = 0; // 0x0 field public static final int TETHERING_WIFI_P2P = 3; // 0x3 field public static final int TETHER_ERROR_DHCPSERVER_ERROR = 12; // 0xc field public static final int TETHER_ERROR_DISABLE_FORWARDING_ERROR = 9; // 0x9 field public static final int TETHER_ERROR_ENABLE_FORWARDING_ERROR = 8; // 0x8 field public static final int TETHER_ERROR_ENTITLEMENT_UNKNOWN = 13; // 0xd field public static final int TETHER_ERROR_IFACE_CFG_ERROR = 10; // 0xa field public static final int TETHER_ERROR_INTERNAL_ERROR = 5; // 0x5 field public static final int TETHER_ERROR_NO_ACCESS_TETHERING_PERMISSION = 15; // 0xf field public static final int TETHER_ERROR_NO_CHANGE_TETHERING_PERMISSION = 14; // 0xe field public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0 field public static final int TETHER_ERROR_PROVISIONING_FAILED = 11; // 0xb field public static final int TETHER_ERROR_SERVICE_UNAVAIL = 2; // 0x2 field public static final int TETHER_ERROR_TETHER_IFACE_ERROR = 6; // 0x6 field public static final int TETHER_ERROR_UNAVAIL_IFACE = 4; // 0x4 field public static final int TETHER_ERROR_UNKNOWN_IFACE = 1; // 0x1 field public static final int TETHER_ERROR_UNKNOWN_TYPE = 16; // 0x10 field public static final int TETHER_ERROR_UNSUPPORTED = 3; // 0x3 field public static final int TETHER_ERROR_UNTETHER_IFACE_ERROR = 7; // 0x7 field public static final int TETHER_HARDWARE_OFFLOAD_FAILED = 2; // 0x2 field public static final int TETHER_HARDWARE_OFFLOAD_STARTED = 1; // 0x1 field public static final int TETHER_HARDWARE_OFFLOAD_STOPPED = 0; // 0x0 } public static interface TetheringManager.OnTetheringEntitlementResultListener { method public void onTetheringEntitlementResult(int); } public static interface TetheringManager.StartTetheringCallback { method public default void onTetheringFailed(int); method public default void onTetheringStarted(); } public static interface TetheringManager.TetheringEventCallback { method public default void onClientsChanged(@NonNull java.util.Collection); method public default void onError(@NonNull String, int); method public default void onError(@NonNull android.net.TetheringInterface, int); method public default void onLocalOnlyInterfacesChanged(@NonNull java.util.List); method public default void onLocalOnlyInterfacesChanged(@NonNull java.util.Set); method public default void onOffloadStatusChanged(int); method public default void onTetherableInterfacesChanged(@NonNull java.util.List); method public default void onTetherableInterfacesChanged(@NonNull java.util.Set); method public default void onTetheredInterfacesChanged(@NonNull java.util.List); method public default void onTetheredInterfacesChanged(@NonNull java.util.Set); method public default void onTetheringSupported(boolean); method public default void onUpstreamChanged(@Nullable android.net.Network); } public static class TetheringManager.TetheringRequest { method @Nullable public android.net.LinkAddress getClientStaticIpv4Address(); method public int getConnectivityScope(); method @Nullable public android.net.LinkAddress getLocalIpv4Address(); method public boolean getShouldShowEntitlementUi(); method public int getTetheringType(); method public boolean isExemptFromEntitlementCheck(); } public static class TetheringManager.TetheringRequest.Builder { ctor public TetheringManager.TetheringRequest.Builder(int); method @NonNull public android.net.TetheringManager.TetheringRequest build(); method @NonNull @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public android.net.TetheringManager.TetheringRequest.Builder setConnectivityScope(int); method @NonNull @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public android.net.TetheringManager.TetheringRequest.Builder setExemptFromEntitlementCheck(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public android.net.TetheringManager.TetheringRequest.Builder setShouldShowEntitlementUi(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public android.net.TetheringManager.TetheringRequest.Builder setStaticIpv4Addresses(@NonNull android.net.LinkAddress, @NonNull android.net.LinkAddress); } public class TrafficStats { method public static void setThreadStatsTagApp(); method public static void setThreadStatsTagBackup(); method public static void setThreadStatsTagRestore(); field public static final int TAG_NETWORK_STACK_IMPERSONATION_RANGE_END = -113; // 0xffffff8f field public static final int TAG_NETWORK_STACK_IMPERSONATION_RANGE_START = -128; // 0xffffff80 field public static final int TAG_NETWORK_STACK_RANGE_END = -257; // 0xfffffeff field public static final int TAG_NETWORK_STACK_RANGE_START = -768; // 0xfffffd00 field public static final int TAG_SYSTEM_IMPERSONATION_RANGE_END = -241; // 0xffffff0f field public static final int TAG_SYSTEM_IMPERSONATION_RANGE_START = -256; // 0xffffff00 } public abstract class Uri implements java.lang.Comparable android.os.Parcelable { method @NonNull public String toSafeString(); } public class VpnService extends android.app.Service { method @RequiresPermission(android.Manifest.permission.CONTROL_VPN) public static void prepareAndAuthorize(android.content.Context); } public final class VpnTransportInfo implements android.os.Parcelable android.net.TransportInfo { ctor public VpnTransportInfo(int, @Nullable String, boolean, boolean); method public boolean areLongLivedTcpConnectionsExpensive(); method public int describeContents(); method public int getType(); method public boolean isBypassable(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class WebAddress { ctor public WebAddress(String) throws android.net.ParseException; } @Deprecated public class WifiKey implements android.os.Parcelable { ctor @Deprecated public WifiKey(String, String); method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public final String bssid; field @Deprecated public final String ssid; } } package android.net.apf { public final class ApfCapabilities implements android.os.Parcelable { ctor public ApfCapabilities(int, int, int); method public int describeContents(); method public static boolean getApfDrop8023Frames(); method @NonNull public static int[] getApfEtherTypeBlackList(); method public boolean hasDataAccess(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; field public final int apfPacketFormat; field public final int apfVersionSupported; field public final int maximumApfProgramSize; } } package android.net.eap { public final class EapSessionConfig { method @Deprecated @Nullable public android.net.eap.EapSessionConfig.EapMsChapV2Config getEapMsChapV2onfig(); } @Deprecated public abstract static class EapSessionConfig.EapUiccConfig extends android.net.eap.EapSessionConfig.EapMethodConfig { method @Deprecated public int getAppType(); method @Deprecated public int getSubId(); } } package android.net.ipsec.ike { public interface ChildSessionCallback { method @Deprecated public default void onClosedExceptionally(@NonNull android.net.ipsec.ike.exceptions.IkeException); method public default void onIpSecTransformsMigrated(@NonNull android.net.IpSecTransform, @NonNull android.net.IpSecTransform); } public final class ChildSessionConfiguration { method @NonNull public java.util.List getInternalAddresses(); method @NonNull public java.util.List getInternalDhcpServers(); method @NonNull public java.util.List getInternalDnsServers(); method @NonNull public java.util.List getInternalSubnets(); } public static final class ChildSessionConfiguration.Builder { method @NonNull public android.net.ipsec.ike.ChildSessionConfiguration.Builder addInternalAddress(@NonNull android.net.LinkAddress); method @NonNull public android.net.ipsec.ike.ChildSessionConfiguration.Builder addInternalDhcpServer(@NonNull java.net.InetAddress); method @NonNull public android.net.ipsec.ike.ChildSessionConfiguration.Builder addInternalDnsServer(@NonNull java.net.InetAddress); method @NonNull public android.net.ipsec.ike.ChildSessionConfiguration.Builder addInternalSubnet(@NonNull android.net.IpPrefix); method @NonNull public android.net.ipsec.ike.ChildSessionConfiguration.Builder clearInternalAddresses(); method @NonNull public android.net.ipsec.ike.ChildSessionConfiguration.Builder clearInternalDhcpServers(); method @NonNull public android.net.ipsec.ike.ChildSessionConfiguration.Builder clearInternalDnsServers(); method @NonNull public android.net.ipsec.ike.ChildSessionConfiguration.Builder clearInternalSubnets(); } public abstract class ChildSessionParams { method @Deprecated @NonNull public java.util.List getSaProposals(); } public final class IkeSession implements java.lang.AutoCloseable { method public void setNetwork(@NonNull android.net.Network); } public interface IkeSessionCallback { method @Deprecated public default void onClosedExceptionally(@NonNull android.net.ipsec.ike.exceptions.IkeException); method @Deprecated public default void onError(@NonNull android.net.ipsec.ike.exceptions.IkeProtocolException); method public default void onIkeSessionConnectionInfoChanged(@NonNull android.net.ipsec.ike.IkeSessionConnectionInfo); } public final class IkeSessionConfiguration { method @NonNull public java.util.List getPcscfServers(); } public static final class IkeSessionConfiguration.Builder { method @NonNull public android.net.ipsec.ike.IkeSessionConfiguration.Builder addPcscfServer(@NonNull java.net.InetAddress); method @NonNull public android.net.ipsec.ike.IkeSessionConfiguration.Builder clearPcscfServers(); } public final class IkeSessionParams { method @NonNull public java.util.List getConfigurationRequests(); method @IntRange(from=0x0, to=0x3f) public int getDscp(); method @Nullable public android.net.ipsec.ike.ike3gpp.Ike3gppExtension getIke3gppExtension(); method @Deprecated @NonNull public java.util.List getSaProposals(); field public static final int IKE_OPTION_AUTOMATIC_KEEPALIVE_ON_OFF = 8; // 0x8 field public static final int IKE_OPTION_REKEY_MOBILITY = 5; // 0x5 } public static final class IkeSessionParams.Builder { ctor @Deprecated public IkeSessionParams.Builder(@NonNull android.content.Context); method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addPcscfServerRequest(@NonNull java.net.InetAddress); method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addPcscfServerRequest(int); method @Deprecated @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addSaProposal(@NonNull android.net.ipsec.ike.IkeSaProposal); method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setDscp(@IntRange(from=0x0, to=0x3f) int); method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setIke3gppExtension(@NonNull android.net.ipsec.ike.ike3gpp.Ike3gppExtension); } public static interface IkeSessionParams.ConfigRequestIpv4PcscfServer extends android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest { method @Nullable public java.net.Inet4Address getAddress(); } public static interface IkeSessionParams.ConfigRequestIpv6PcscfServer extends android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest { method @Nullable public java.net.Inet6Address getAddress(); } public static interface IkeSessionParams.IkeConfigRequest { } public static final class TransportModeChildSessionParams.Builder { method @Deprecated @NonNull public android.net.ipsec.ike.TransportModeChildSessionParams.Builder addSaProposal(@NonNull android.net.ipsec.ike.ChildSaProposal); } public static final class TunnelModeChildSessionParams.Builder { method @Deprecated @NonNull public android.net.ipsec.ike.TunnelModeChildSessionParams.Builder addSaProposal(@NonNull android.net.ipsec.ike.ChildSaProposal); } } package android.net.ipsec.ike.exceptions { public abstract class IkeProtocolException extends android.net.ipsec.ike.exceptions.IkeException { method @Nullable public byte[] getErrorData(); } } package android.net.ipsec.ike.ike3gpp { public final class Ike3gppBackoffTimer extends android.net.ipsec.ike.ike3gpp.Ike3gppData { ctor public Ike3gppBackoffTimer(byte, int); method public int getBackoffCause(); method public byte getBackoffTimer(); method public int getDataType(); field public static final int ERROR_TYPE_NETWORK_FAILURE = 10500; // 0x2904 field public static final int ERROR_TYPE_NO_APN_SUBSCRIPTION = 9002; // 0x232a } public abstract class Ike3gppData { method public abstract int getDataType(); field public static final int DATA_TYPE_NOTIFY_BACKOFF_TIMER = 2; // 0x2 field public static final int DATA_TYPE_NOTIFY_N1_MODE_INFORMATION = 1; // 0x1 } public final class Ike3gppExtension { ctor public Ike3gppExtension(@NonNull android.net.ipsec.ike.ike3gpp.Ike3gppParams, @NonNull android.net.ipsec.ike.ike3gpp.Ike3gppExtension.Ike3gppDataListener); method @NonNull public android.net.ipsec.ike.ike3gpp.Ike3gppExtension.Ike3gppDataListener getIke3gppDataListener(); method @NonNull public android.net.ipsec.ike.ike3gpp.Ike3gppParams getIke3gppParams(); } public static interface Ike3gppExtension.Ike3gppDataListener { method public void onIke3gppDataReceived(@NonNull java.util.List); } public final class Ike3gppN1ModeInformation extends android.net.ipsec.ike.ike3gpp.Ike3gppData { ctor public Ike3gppN1ModeInformation(@NonNull byte[]); method public int getDataType(); method @NonNull public byte[] getSnssai(); } public final class Ike3gppParams { method @Nullable public String getMobileDeviceIdentity(); method public byte getPduSessionId(); field public static final byte PDU_SESSION_ID_UNSET = 0; // 0x0 } public static final class Ike3gppParams.Builder { ctor public Ike3gppParams.Builder(); method @NonNull public android.net.ipsec.ike.ike3gpp.Ike3gppParams build(); method @NonNull public android.net.ipsec.ike.ike3gpp.Ike3gppParams.Builder setMobileDeviceIdentity(@Nullable String); method @NonNull public android.net.ipsec.ike.ike3gpp.Ike3gppParams.Builder setPduSessionId(byte); } } package android.net.metrics { @Deprecated public final class ApfProgramEvent implements android.net.metrics.IpConnectivityLog.Event { method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); } @Deprecated public static final class ApfProgramEvent.Builder { ctor @Deprecated public ApfProgramEvent.Builder(); method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent build(); method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent.Builder setActualLifetime(long); method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent.Builder setCurrentRas(int); method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent.Builder setFilteredRas(int); method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent.Builder setFlags(boolean, boolean); method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent.Builder setLifetime(long); method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent.Builder setProgramLength(int); } @Deprecated public final class ApfStats implements android.net.metrics.IpConnectivityLog.Event { method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); } @Deprecated public static final class ApfStats.Builder { ctor @Deprecated public ApfStats.Builder(); method @Deprecated @NonNull public android.net.metrics.ApfStats build(); method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setDroppedRas(int); method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setDurationMs(long); method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setMatchingRas(int); method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setMaxProgramSize(int); method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setParseErrors(int); method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdates(int); method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdatesAll(int); method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdatesAllowingMulticast(int); method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setReceivedRas(int); method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setZeroLifetimeRas(int); } @Deprecated public final class DhcpClientEvent implements android.net.metrics.IpConnectivityLog.Event { method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); } @Deprecated public static final class DhcpClientEvent.Builder { ctor @Deprecated public DhcpClientEvent.Builder(); method @Deprecated @NonNull public android.net.metrics.DhcpClientEvent build(); method @Deprecated @NonNull public android.net.metrics.DhcpClientEvent.Builder setDurationMs(int); method @Deprecated @NonNull public android.net.metrics.DhcpClientEvent.Builder setMsg(String); } @Deprecated public final class DhcpErrorEvent implements android.net.metrics.IpConnectivityLog.Event { ctor @Deprecated public DhcpErrorEvent(int); method @Deprecated public int describeContents(); method @Deprecated public static int errorCodeWithOption(int, int); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated public static final int BOOTP_TOO_SHORT = 67174400; // 0x4010000 field @Deprecated public static final int BUFFER_UNDERFLOW = 83951616; // 0x5010000 field @Deprecated public static final int DHCP_BAD_MAGIC_COOKIE = 67239936; // 0x4020000 field @Deprecated public static final int DHCP_ERROR = 4; // 0x4 field @Deprecated public static final int DHCP_INVALID_OPTION_LENGTH = 67305472; // 0x4030000 field @Deprecated public static final int DHCP_NO_COOKIE = 67502080; // 0x4060000 field @Deprecated public static final int DHCP_NO_MSG_TYPE = 67371008; // 0x4040000 field @Deprecated public static final int DHCP_UNKNOWN_MSG_TYPE = 67436544; // 0x4050000 field @Deprecated public static final int L2_ERROR = 1; // 0x1 field @Deprecated public static final int L2_TOO_SHORT = 16842752; // 0x1010000 field @Deprecated public static final int L2_WRONG_ETH_TYPE = 16908288; // 0x1020000 field @Deprecated public static final int L3_ERROR = 2; // 0x2 field @Deprecated public static final int L3_INVALID_IP = 33751040; // 0x2030000 field @Deprecated public static final int L3_NOT_IPV4 = 33685504; // 0x2020000 field @Deprecated public static final int L3_TOO_SHORT = 33619968; // 0x2010000 field @Deprecated public static final int L4_ERROR = 3; // 0x3 field @Deprecated public static final int L4_NOT_UDP = 50397184; // 0x3010000 field @Deprecated public static final int L4_WRONG_PORT = 50462720; // 0x3020000 field @Deprecated public static final int MISC_ERROR = 5; // 0x5 field @Deprecated public static final int PARSING_ERROR = 84082688; // 0x5030000 field @Deprecated public static final int RECEIVE_ERROR = 84017152; // 0x5020000 } @Deprecated public class IpConnectivityLog { ctor @Deprecated public IpConnectivityLog(); method @Deprecated public boolean log(long, @NonNull android.net.metrics.IpConnectivityLog.Event); method @Deprecated public boolean log(@NonNull String, @NonNull android.net.metrics.IpConnectivityLog.Event); method @Deprecated public boolean log(@NonNull android.net.Network, @NonNull int[], @NonNull android.net.metrics.IpConnectivityLog.Event); method @Deprecated public boolean log(int, @NonNull int[], @NonNull android.net.metrics.IpConnectivityLog.Event); method @Deprecated public boolean log(@NonNull android.net.metrics.IpConnectivityLog.Event); } @Deprecated public static interface IpConnectivityLog.Event extends android.os.Parcelable { } @Deprecated public final class IpManagerEvent implements android.net.metrics.IpConnectivityLog.Event { ctor @Deprecated public IpManagerEvent(int, long); method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated public static final int COMPLETE_LIFECYCLE = 3; // 0x3 field @Deprecated public static final int ERROR_INTERFACE_NOT_FOUND = 8; // 0x8 field @Deprecated public static final int ERROR_INVALID_PROVISIONING = 7; // 0x7 field @Deprecated public static final int ERROR_STARTING_IPREACHABILITYMONITOR = 6; // 0x6 field @Deprecated public static final int ERROR_STARTING_IPV4 = 4; // 0x4 field @Deprecated public static final int ERROR_STARTING_IPV6 = 5; // 0x5 field @Deprecated public static final int PROVISIONING_FAIL = 2; // 0x2 field @Deprecated public static final int PROVISIONING_OK = 1; // 0x1 } @Deprecated public final class IpReachabilityEvent implements android.net.metrics.IpConnectivityLog.Event { ctor @Deprecated public IpReachabilityEvent(int); method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated public static final int NUD_FAILED = 512; // 0x200 field @Deprecated public static final int NUD_FAILED_ORGANIC = 1024; // 0x400 field @Deprecated public static final int PROBE = 256; // 0x100 field @Deprecated public static final int PROVISIONING_LOST = 768; // 0x300 field @Deprecated public static final int PROVISIONING_LOST_ORGANIC = 1280; // 0x500 } @Deprecated public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event { ctor @Deprecated public NetworkEvent(int, long); ctor @Deprecated public NetworkEvent(int); method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated public static final int NETWORK_CAPTIVE_PORTAL_FOUND = 4; // 0x4 field @Deprecated public static final int NETWORK_CONNECTED = 1; // 0x1 field @Deprecated public static final int NETWORK_CONSECUTIVE_DNS_TIMEOUT_FOUND = 12; // 0xc field @Deprecated public static final int NETWORK_DISCONNECTED = 7; // 0x7 field @Deprecated public static final int NETWORK_FIRST_VALIDATION_PORTAL_FOUND = 10; // 0xa field @Deprecated public static final int NETWORK_FIRST_VALIDATION_SUCCESS = 8; // 0x8 field @Deprecated public static final int NETWORK_LINGER = 5; // 0x5 field @Deprecated public static final int NETWORK_PARTIAL_CONNECTIVITY = 13; // 0xd field @Deprecated public static final int NETWORK_REVALIDATION_PORTAL_FOUND = 11; // 0xb field @Deprecated public static final int NETWORK_REVALIDATION_SUCCESS = 9; // 0x9 field @Deprecated public static final int NETWORK_UNLINGER = 6; // 0x6 field @Deprecated public static final int NETWORK_VALIDATED = 2; // 0x2 field @Deprecated public static final int NETWORK_VALIDATION_FAILED = 3; // 0x3 } @Deprecated public final class RaEvent implements android.net.metrics.IpConnectivityLog.Event { method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); } @Deprecated public static final class RaEvent.Builder { ctor @Deprecated public RaEvent.Builder(); method @Deprecated @NonNull public android.net.metrics.RaEvent build(); method @Deprecated @NonNull public android.net.metrics.RaEvent.Builder updateDnsslLifetime(long); method @Deprecated @NonNull public android.net.metrics.RaEvent.Builder updatePrefixPreferredLifetime(long); method @Deprecated @NonNull public android.net.metrics.RaEvent.Builder updatePrefixValidLifetime(long); method @Deprecated @NonNull public android.net.metrics.RaEvent.Builder updateRdnssLifetime(long); method @Deprecated @NonNull public android.net.metrics.RaEvent.Builder updateRouteInfoLifetime(long); method @Deprecated @NonNull public android.net.metrics.RaEvent.Builder updateRouterLifetime(long); } @Deprecated public final class ValidationProbeEvent implements android.net.metrics.IpConnectivityLog.Event { method @Deprecated public int describeContents(); method @Deprecated @NonNull public static String getProbeName(int); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated public static final int DNS_FAILURE = 0; // 0x0 field @Deprecated public static final int DNS_SUCCESS = 1; // 0x1 field @Deprecated public static final int PROBE_DNS = 0; // 0x0 field @Deprecated public static final int PROBE_FALLBACK = 4; // 0x4 field @Deprecated public static final int PROBE_HTTP = 1; // 0x1 field @Deprecated public static final int PROBE_HTTPS = 2; // 0x2 field @Deprecated public static final int PROBE_PAC = 3; // 0x3 field @Deprecated public static final int PROBE_PRIVDNS = 5; // 0x5 } @Deprecated public static final class ValidationProbeEvent.Builder { ctor @Deprecated public ValidationProbeEvent.Builder(); method @Deprecated @NonNull public android.net.metrics.ValidationProbeEvent build(); method @Deprecated @NonNull public android.net.metrics.ValidationProbeEvent.Builder setDurationMs(long); method @Deprecated @NonNull public android.net.metrics.ValidationProbeEvent.Builder setProbeType(int, boolean); method @Deprecated @NonNull public android.net.metrics.ValidationProbeEvent.Builder setReturnCode(int); } } package android.net.netstats.provider { public abstract class NetworkStatsProvider { ctor public NetworkStatsProvider(); method public void notifyAlertReached(); method public void notifyLimitReached(); method public void notifyStatsUpdated(int, @NonNull android.net.NetworkStats, @NonNull android.net.NetworkStats); method public void notifyWarningReached(); method public abstract void onRequestStatsUpdate(int); method public abstract void onSetAlert(long); method public abstract void onSetLimit(@NonNull String, long); method public void onSetWarningAndLimit(@NonNull String, long, long); field public static final int QUOTA_UNLIMITED = -1; // 0xffffffff } } package android.net.sip { @Deprecated public class SipAudioCall { method @Deprecated @Nullable public android.net.rtp.AudioGroup getAudioGroup(); method @Deprecated public void setAudioGroup(@NonNull android.net.rtp.AudioGroup); } @Deprecated public class SipManager { method @Deprecated @NonNull public java.util.List getProfiles() throws android.net.sip.SipException; field @Deprecated public static final String ACTION_SIP_CALL_OPTION_CHANGED = "android.net.sip.action.SIP_CALL_OPTION_CHANGED"; field @Deprecated public static final String ACTION_SIP_INCOMING_CALL = "android.net.sip.action.SIP_INCOMING_CALL"; field @Deprecated public static final String ACTION_SIP_REMOVE_PROFILE = "android.net.sip.action.SIP_REMOVE_PROFILE"; field @Deprecated public static final String ACTION_SIP_SERVICE_UP = "android.net.sip.action.SIP_SERVICE_UP"; field @Deprecated public static final String ACTION_START_SIP = "android.net.sip.action.START_SIP"; } @Deprecated public class SipProfile implements java.lang.Cloneable android.os.Parcelable java.io.Serializable { method @Deprecated public int getCallingUid(); } } package android.net.util { public final class SocketUtils { method public static void bindSocketToInterface(@NonNull java.io.FileDescriptor, @NonNull String) throws android.system.ErrnoException; method public static void closeSocket(@Nullable java.io.FileDescriptor) throws java.io.IOException; method @NonNull public static java.net.SocketAddress makeNetlinkSocketAddress(int, int); method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int); method @Deprecated @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, @NonNull byte[]); method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int, @NonNull byte[]); } } package android.net.vcn { public class VcnManager { method @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public void addVcnNetworkPolicyChangeListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.vcn.VcnManager.VcnNetworkPolicyChangeListener); method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.vcn.VcnNetworkPolicyResult applyVcnNetworkPolicy(@NonNull android.net.NetworkCapabilities, @NonNull android.net.LinkProperties); method @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public void removeVcnNetworkPolicyChangeListener(@NonNull android.net.vcn.VcnManager.VcnNetworkPolicyChangeListener); } public static interface VcnManager.VcnNetworkPolicyChangeListener { method public void onPolicyChanged(); } public final class VcnNetworkPolicyResult implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.net.NetworkCapabilities getNetworkCapabilities(); method public boolean isTeardownRequested(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.net.wifi { public final class CoexUnsafeChannel implements android.os.Parcelable { ctor public CoexUnsafeChannel(int, int); ctor public CoexUnsafeChannel(int, int, int); method public int getBand(); method public int getChannel(); method public int getPowerCapDbm(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int POWER_CAP_NONE = 2147483647; // 0x7fffffff } public abstract class EasyConnectStatusCallback { ctor public EasyConnectStatusCallback(); method public void onBootstrapUriGenerated(@NonNull android.net.Uri); method public abstract void onConfiguratorSuccess(int); method public abstract void onEnrolleeSuccess(int); method public void onFailure(int); method public void onFailure(int, @Nullable String, @NonNull android.util.SparseArray, @NonNull int[]); method public abstract void onProgress(int); field public static final int EASY_CONNECT_EVENT_PROGRESS_AUTHENTICATION_SUCCESS = 0; // 0x0 field public static final int EASY_CONNECT_EVENT_PROGRESS_CONFIGURATION_ACCEPTED = 3; // 0x3 field public static final int EASY_CONNECT_EVENT_PROGRESS_CONFIGURATION_SENT_WAITING_RESPONSE = 2; // 0x2 field public static final int EASY_CONNECT_EVENT_PROGRESS_RESPONSE_PENDING = 1; // 0x1 field public static final int EASY_CONNECT_EVENT_SUCCESS_CONFIGURATION_APPLIED = 1; // 0x1 field public static final int EASY_CONNECT_EVENT_SUCCESS_CONFIGURATION_SENT = 0; // 0x0 } public final class QosPolicyParams implements android.os.Parcelable { method @Nullable public java.net.InetAddress getDestinationAddress(); method @IntRange(from=android.net.wifi.QosPolicyParams.DESTINATION_PORT_ANY, to=65535) public int getDestinationPort(); method @Nullable public int[] getDestinationPortRange(); method public int getDirection(); method @IntRange(from=android.net.wifi.QosPolicyParams.DSCP_ANY, to=63) public int getDscp(); method @Nullable public byte[] getFlowLabel(); method public int getIpVersion(); method @IntRange(from=1, to=255) public int getPolicyId(); method public int getProtocol(); method @Nullable public java.net.InetAddress getSourceAddress(); method @IntRange(from=android.net.DscpPolicy.SOURCE_PORT_ANY, to=65535) public int getSourcePort(); method public int getUserPriority(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DESTINATION_PORT_ANY = -1; // 0xffffffff field public static final int DIRECTION_DOWNLINK = 1; // 0x1 field public static final int DIRECTION_UPLINK = 0; // 0x0 field public static final int DSCP_ANY = -1; // 0xffffffff field public static final int IP_VERSION_4 = 4; // 0x4 field public static final int IP_VERSION_6 = 6; // 0x6 field public static final int IP_VERSION_ANY = -1; // 0xffffffff field public static final int PROTOCOL_ANY = -1; // 0xffffffff field public static final int PROTOCOL_ESP = 50; // 0x32 field public static final int PROTOCOL_TCP = 6; // 0x6 field public static final int PROTOCOL_UDP = 17; // 0x11 field public static final int USER_PRIORITY_ANY = -1; // 0xffffffff field public static final int USER_PRIORITY_BACKGROUND_HIGH = 2; // 0x2 field public static final int USER_PRIORITY_BACKGROUND_LOW = 1; // 0x1 field public static final int USER_PRIORITY_BEST_EFFORT_HIGH = 3; // 0x3 field public static final int USER_PRIORITY_BEST_EFFORT_LOW = 0; // 0x0 field public static final int USER_PRIORITY_VIDEO_HIGH = 5; // 0x5 field public static final int USER_PRIORITY_VIDEO_LOW = 4; // 0x4 field public static final int USER_PRIORITY_VOICE_HIGH = 7; // 0x7 field public static final int USER_PRIORITY_VOICE_LOW = 6; // 0x6 } public static final class QosPolicyParams.Builder { ctor public QosPolicyParams.Builder(@IntRange(from=1, to=255) int, int); method @NonNull public android.net.wifi.QosPolicyParams build(); method @NonNull public android.net.wifi.QosPolicyParams.Builder setDestinationAddress(@Nullable java.net.InetAddress); method @NonNull public android.net.wifi.QosPolicyParams.Builder setDestinationPort(@IntRange(from=android.net.wifi.QosPolicyParams.DESTINATION_PORT_ANY, to=65535) int); method @NonNull public android.net.wifi.QosPolicyParams.Builder setDestinationPortRange(@IntRange(from=0, to=65535) int, @IntRange(from=0, to=65535) int); method @NonNull public android.net.wifi.QosPolicyParams.Builder setDscp(@IntRange(from=android.net.wifi.QosPolicyParams.DSCP_ANY, to=63) int); method @NonNull public android.net.wifi.QosPolicyParams.Builder setFlowLabel(@Nullable byte[]); method @NonNull public android.net.wifi.QosPolicyParams.Builder setIpVersion(int); method @NonNull public android.net.wifi.QosPolicyParams.Builder setProtocol(int); method @NonNull public android.net.wifi.QosPolicyParams.Builder setSourceAddress(@Nullable java.net.InetAddress); method @NonNull public android.net.wifi.QosPolicyParams.Builder setSourcePort(@IntRange(from=android.net.DscpPolicy.SOURCE_PORT_ANY, to=65535) int); method @NonNull public android.net.wifi.QosPolicyParams.Builder setUserPriority(int); } @Deprecated public class RttManager { method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void disableResponder(android.net.wifi.RttManager.ResponderCallback); method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void enableResponder(android.net.wifi.RttManager.ResponderCallback); method @Deprecated public android.net.wifi.RttManager.Capabilities getCapabilities(); method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public android.net.wifi.RttManager.RttCapabilities getRttCapabilities(); method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void startRanging(android.net.wifi.RttManager.RttParams[], android.net.wifi.RttManager.RttListener); method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void stopRanging(android.net.wifi.RttManager.RttListener); field @Deprecated public static final int BASE = 160256; // 0x27200 field @Deprecated public static final int CMD_OP_ABORTED = 160260; // 0x27204 field @Deprecated public static final int CMD_OP_DISABLE_RESPONDER = 160262; // 0x27206 field @Deprecated public static final int CMD_OP_ENABLE_RESPONDER = 160261; // 0x27205 field @Deprecated public static final int CMD_OP_ENALBE_RESPONDER_FAILED = 160264; // 0x27208 field @Deprecated public static final int CMD_OP_ENALBE_RESPONDER_SUCCEEDED = 160263; // 0x27207 field @Deprecated public static final int CMD_OP_FAILED = 160258; // 0x27202 field @Deprecated public static final int CMD_OP_START_RANGING = 160256; // 0x27200 field @Deprecated public static final int CMD_OP_STOP_RANGING = 160257; // 0x27201 field @Deprecated public static final int CMD_OP_SUCCEEDED = 160259; // 0x27203 field @Deprecated public static final String DESCRIPTION_KEY = "android.net.wifi.RttManager.Description"; field @Deprecated public static final int PREAMBLE_HT = 2; // 0x2 field @Deprecated public static final int PREAMBLE_LEGACY = 1; // 0x1 field @Deprecated public static final int PREAMBLE_VHT = 4; // 0x4 field @Deprecated public static final int REASON_INITIATOR_NOT_ALLOWED_WHEN_RESPONDER_ON = -6; // 0xfffffffa field @Deprecated public static final int REASON_INVALID_LISTENER = -3; // 0xfffffffd field @Deprecated public static final int REASON_INVALID_REQUEST = -4; // 0xfffffffc field @Deprecated public static final int REASON_NOT_AVAILABLE = -2; // 0xfffffffe field @Deprecated public static final int REASON_PERMISSION_DENIED = -5; // 0xfffffffb field @Deprecated public static final int REASON_UNSPECIFIED = -1; // 0xffffffff field @Deprecated public static final int RTT_BW_10_SUPPORT = 2; // 0x2 field @Deprecated public static final int RTT_BW_160_SUPPORT = 32; // 0x20 field @Deprecated public static final int RTT_BW_20_SUPPORT = 4; // 0x4 field @Deprecated public static final int RTT_BW_40_SUPPORT = 8; // 0x8 field @Deprecated public static final int RTT_BW_5_SUPPORT = 1; // 0x1 field @Deprecated public static final int RTT_BW_80_SUPPORT = 16; // 0x10 field @Deprecated public static final int RTT_CHANNEL_WIDTH_10 = 6; // 0x6 field @Deprecated public static final int RTT_CHANNEL_WIDTH_160 = 3; // 0x3 field @Deprecated public static final int RTT_CHANNEL_WIDTH_20 = 0; // 0x0 field @Deprecated public static final int RTT_CHANNEL_WIDTH_40 = 1; // 0x1 field @Deprecated public static final int RTT_CHANNEL_WIDTH_5 = 5; // 0x5 field @Deprecated public static final int RTT_CHANNEL_WIDTH_80 = 2; // 0x2 field @Deprecated public static final int RTT_CHANNEL_WIDTH_80P80 = 4; // 0x4 field @Deprecated public static final int RTT_CHANNEL_WIDTH_UNSPECIFIED = -1; // 0xffffffff field @Deprecated public static final int RTT_PEER_NAN = 5; // 0x5 field @Deprecated public static final int RTT_PEER_P2P_CLIENT = 4; // 0x4 field @Deprecated public static final int RTT_PEER_P2P_GO = 3; // 0x3 field @Deprecated public static final int RTT_PEER_TYPE_AP = 1; // 0x1 field @Deprecated public static final int RTT_PEER_TYPE_STA = 2; // 0x2 field @Deprecated public static final int RTT_PEER_TYPE_UNSPECIFIED = 0; // 0x0 field @Deprecated public static final int RTT_STATUS_ABORTED = 8; // 0x8 field @Deprecated public static final int RTT_STATUS_FAILURE = 1; // 0x1 field @Deprecated public static final int RTT_STATUS_FAIL_AP_ON_DIFF_CHANNEL = 6; // 0x6 field @Deprecated public static final int RTT_STATUS_FAIL_BUSY_TRY_LATER = 12; // 0xc field @Deprecated public static final int RTT_STATUS_FAIL_FTM_PARAM_OVERRIDE = 15; // 0xf field @Deprecated public static final int RTT_STATUS_FAIL_INVALID_TS = 9; // 0x9 field @Deprecated public static final int RTT_STATUS_FAIL_NOT_SCHEDULED_YET = 4; // 0x4 field @Deprecated public static final int RTT_STATUS_FAIL_NO_CAPABILITY = 7; // 0x7 field @Deprecated public static final int RTT_STATUS_FAIL_NO_RSP = 2; // 0x2 field @Deprecated public static final int RTT_STATUS_FAIL_PROTOCOL = 10; // 0xa field @Deprecated public static final int RTT_STATUS_FAIL_REJECTED = 3; // 0x3 field @Deprecated public static final int RTT_STATUS_FAIL_SCHEDULE = 11; // 0xb field @Deprecated public static final int RTT_STATUS_FAIL_TM_TIMEOUT = 5; // 0x5 field @Deprecated public static final int RTT_STATUS_INVALID_REQ = 13; // 0xd field @Deprecated public static final int RTT_STATUS_NO_WIFI = 14; // 0xe field @Deprecated public static final int RTT_STATUS_SUCCESS = 0; // 0x0 field @Deprecated public static final int RTT_TYPE_11_MC = 4; // 0x4 field @Deprecated public static final int RTT_TYPE_11_V = 2; // 0x2 field @Deprecated public static final int RTT_TYPE_ONE_SIDED = 1; // 0x1 field @Deprecated public static final int RTT_TYPE_TWO_SIDED = 2; // 0x2 field @Deprecated public static final int RTT_TYPE_UNSPECIFIED = 0; // 0x0 } @Deprecated public class RttManager.Capabilities { ctor @Deprecated public RttManager.Capabilities(); field @Deprecated public int supportedPeerType; field @Deprecated public int supportedType; } @Deprecated public static class RttManager.ParcelableRttParams implements android.os.Parcelable { field @Deprecated @NonNull public android.net.wifi.RttManager.RttParams[] mParams; } @Deprecated public static class RttManager.ParcelableRttResults implements android.os.Parcelable { ctor @Deprecated public RttManager.ParcelableRttResults(android.net.wifi.RttManager.RttResult[]); field @Deprecated public android.net.wifi.RttManager.RttResult[] mResults; } @Deprecated public abstract static class RttManager.ResponderCallback { ctor @Deprecated public RttManager.ResponderCallback(); method @Deprecated public abstract void onResponderEnableFailure(int); method @Deprecated public abstract void onResponderEnabled(android.net.wifi.RttManager.ResponderConfig); } @Deprecated public static class RttManager.ResponderConfig implements android.os.Parcelable { ctor @Deprecated public RttManager.ResponderConfig(); method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public int centerFreq0; field @Deprecated public int centerFreq1; field @Deprecated public int channelWidth; field @Deprecated public int frequency; field @Deprecated public String macAddress; field @Deprecated public int preamble; } @Deprecated public static class RttManager.RttCapabilities implements android.os.Parcelable { ctor @Deprecated public RttManager.RttCapabilities(); field @Deprecated public int bwSupported; field @Deprecated public boolean lciSupported; field @Deprecated public boolean lcrSupported; field @Deprecated public int mcVersion; field @Deprecated public boolean oneSidedRttSupported; field @Deprecated public int preambleSupported; field @Deprecated public boolean responderSupported; field @Deprecated public boolean secureRttSupported; field @Deprecated public boolean supportedPeerType; field @Deprecated public boolean supportedType; field @Deprecated public boolean twoSided11McRttSupported; } @Deprecated public static interface RttManager.RttListener { method @Deprecated public void onAborted(); method @Deprecated public void onFailure(int, String); method @Deprecated public void onSuccess(android.net.wifi.RttManager.RttResult[]); } @Deprecated public static class RttManager.RttParams { ctor @Deprecated public RttManager.RttParams(); field @Deprecated public boolean LCIRequest; field @Deprecated public boolean LCRRequest; field @Deprecated public int bandwidth; field @Deprecated public String bssid; field @Deprecated public int burstTimeout; field @Deprecated public int centerFreq0; field @Deprecated public int centerFreq1; field @Deprecated public int channelWidth; field @Deprecated public int deviceType; field @Deprecated public int frequency; field @Deprecated public int interval; field @Deprecated public int numRetriesPerFTMR; field @Deprecated public int numRetriesPerMeasurementFrame; field @Deprecated public int numSamplesPerBurst; field @Deprecated public int num_retries; field @Deprecated public int num_samples; field @Deprecated public int numberBurst; field @Deprecated public int preamble; field @Deprecated public int requestType; field @Deprecated public boolean secure; } @Deprecated public static class RttManager.RttResult { ctor @Deprecated public RttManager.RttResult(); field @Deprecated public android.net.wifi.RttManager.WifiInformationElement LCI; field @Deprecated public android.net.wifi.RttManager.WifiInformationElement LCR; field @Deprecated public String bssid; field @Deprecated public int burstDuration; field @Deprecated public int burstNumber; field @Deprecated public int distance; field @Deprecated public int distanceSpread; field @Deprecated public int distanceStandardDeviation; field @Deprecated public int distance_cm; field @Deprecated public int distance_sd_cm; field @Deprecated public int distance_spread_cm; field @Deprecated public int frameNumberPerBurstPeer; field @Deprecated public int measurementFrameNumber; field @Deprecated public int measurementType; field @Deprecated public int negotiatedBurstNum; field @Deprecated public int requestType; field @Deprecated public int retryAfterDuration; field @Deprecated public int rssi; field @Deprecated public int rssiSpread; field @Deprecated public int rssi_spread; field @Deprecated public long rtt; field @Deprecated public long rttSpread; field @Deprecated public long rttStandardDeviation; field @Deprecated public long rtt_ns; field @Deprecated public long rtt_sd_ns; field @Deprecated public long rtt_spread_ns; field @Deprecated public int rxRate; field @Deprecated public boolean secure; field @Deprecated public int status; field @Deprecated public int successMeasurementFrameNumber; field @Deprecated public long ts; field @Deprecated public int txRate; field @Deprecated public int tx_rate; } @Deprecated public static class RttManager.WifiInformationElement { ctor @Deprecated public RttManager.WifiInformationElement(); field @Deprecated public byte[] data; field @Deprecated public byte id; } public final class ScanResult implements android.os.Parcelable { method public int getBand(); method public void setWifiSsid(@NonNull android.net.wifi.WifiSsid); field public static final int CIPHER_BIP_CMAC_256 = 9; // 0x9 field public static final int CIPHER_BIP_GMAC_128 = 7; // 0x7 field public static final int CIPHER_BIP_GMAC_256 = 8; // 0x8 field public static final int CIPHER_CCMP = 3; // 0x3 field public static final int CIPHER_GCMP_128 = 6; // 0x6 field public static final int CIPHER_GCMP_256 = 4; // 0x4 field public static final int CIPHER_NONE = 0; // 0x0 field public static final int CIPHER_NO_GROUP_ADDRESSED = 1; // 0x1 field public static final int CIPHER_SMS4 = 5; // 0x5 field public static final int CIPHER_TKIP = 2; // 0x2 field public static final int KEY_MGMT_EAP = 2; // 0x2 field public static final int KEY_MGMT_EAP_SHA256 = 6; // 0x6 field public static final int KEY_MGMT_EAP_SUITE_B_192 = 10; // 0xa field public static final int KEY_MGMT_FT_EAP = 4; // 0x4 field public static final int KEY_MGMT_FT_PSK = 3; // 0x3 field public static final int KEY_MGMT_FT_SAE = 11; // 0xb field public static final int KEY_MGMT_NONE = 0; // 0x0 field public static final int KEY_MGMT_OSEN = 7; // 0x7 field public static final int KEY_MGMT_OWE = 9; // 0x9 field public static final int KEY_MGMT_OWE_TRANSITION = 12; // 0xc field public static final int KEY_MGMT_PSK = 1; // 0x1 field public static final int KEY_MGMT_PSK_SHA256 = 5; // 0x5 field public static final int KEY_MGMT_SAE = 8; // 0x8 field public static final int KEY_MGMT_WAPI_CERT = 14; // 0xe field public static final int KEY_MGMT_WAPI_PSK = 13; // 0xd field public static final int PROTOCOL_NONE = 0; // 0x0 field public static final int PROTOCOL_OSEN = 3; // 0x3 field public static final int PROTOCOL_RSN = 2; // 0x2 field public static final int PROTOCOL_WAPI = 4; // 0x4 field public static final int PROTOCOL_WPA = 1; // 0x1 } public final class SoftApCapability implements android.os.Parcelable { method public boolean areFeaturesSupported(long); method public int describeContents(); method public int getMaxSupportedClients(); method @NonNull public int[] getSupportedChannelList(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final long SOFTAP_FEATURE_ACS_OFFLOAD = 1L; // 0x1L field public static final long SOFTAP_FEATURE_BAND_24G_SUPPORTED = 32L; // 0x20L field public static final long SOFTAP_FEATURE_BAND_5G_SUPPORTED = 64L; // 0x40L field public static final long SOFTAP_FEATURE_BAND_60G_SUPPORTED = 256L; // 0x100L field public static final long SOFTAP_FEATURE_BAND_6G_SUPPORTED = 128L; // 0x80L field public static final long SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT = 2L; // 0x2L field public static final long SOFTAP_FEATURE_IEEE80211_AX = 16L; // 0x10L field public static final long SOFTAP_FEATURE_IEEE80211_BE = 512L; // 0x200L field public static final long SOFTAP_FEATURE_MAC_ADDRESS_CUSTOMIZATION = 8L; // 0x8L field public static final long SOFTAP_FEATURE_WPA3_OWE = 2048L; // 0x800L field public static final long SOFTAP_FEATURE_WPA3_OWE_TRANSITION = 1024L; // 0x400L field public static final long SOFTAP_FEATURE_WPA3_SAE = 4L; // 0x4L } public final class SoftApConfiguration implements android.os.Parcelable { method @NonNull public int[] getAllowedAcsChannels(int); method @NonNull public java.util.List getAllowedClientList(); method @Deprecated public int getBand(); method @NonNull public java.util.List getBlockedClientList(); method public long getBridgedModeOpportunisticShutdownTimeoutMillis(); method @Deprecated public int getChannel(); method @NonNull public android.util.SparseIntArray getChannels(); method public int getMacRandomizationSetting(); method public int getMaxChannelBandwidth(); method public int getMaxNumberOfClients(); method @NonNull public android.net.MacAddress getPersistentRandomizedMacAddress(); method public long getShutdownTimeoutMillis(); method @NonNull public java.util.List getVendorElements(); method public boolean isAutoShutdownEnabled(); method public boolean isBridgedModeOpportunisticShutdownEnabled(); method public boolean isClientControlByUserEnabled(); method public boolean isIeee80211axEnabled(); method public boolean isIeee80211beEnabled(); method public boolean isUserConfiguration(); method @Nullable public android.net.wifi.WifiConfiguration toWifiConfiguration(); field public static final int BAND_2GHZ = 1; // 0x1 field public static final int BAND_5GHZ = 2; // 0x2 field public static final int BAND_60GHZ = 8; // 0x8 field public static final int BAND_6GHZ = 4; // 0x4 field @Deprecated public static final int BAND_ANY = 7; // 0x7 field public static final long DEFAULT_TIMEOUT = -1L; // 0xffffffffffffffffL field public static final int RANDOMIZATION_NONE = 0; // 0x0 field public static final int RANDOMIZATION_NON_PERSISTENT = 2; // 0x2 field public static final int RANDOMIZATION_PERSISTENT = 1; // 0x1 } public static final class SoftApConfiguration.Builder { ctor public SoftApConfiguration.Builder(); ctor public SoftApConfiguration.Builder(@NonNull android.net.wifi.SoftApConfiguration); method @NonNull public android.net.wifi.SoftApConfiguration build(); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setAllowedAcsChannels(int, @NonNull int[]); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setAllowedClientList(@NonNull java.util.List); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setAutoShutdownEnabled(boolean); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setBand(int); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setBands(@NonNull int[]); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setBlockedClientList(@NonNull java.util.List); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setBridgedModeOpportunisticShutdownEnabled(boolean); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setBridgedModeOpportunisticShutdownTimeoutMillis(@IntRange(from=0xffffffff) long); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setBssid(@Nullable android.net.MacAddress); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setChannel(int, int); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setChannels(@NonNull android.util.SparseIntArray); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setClientControlByUserEnabled(boolean); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setHiddenSsid(boolean); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setIeee80211axEnabled(boolean); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setIeee80211beEnabled(boolean); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setMacRandomizationSetting(int); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setMaxChannelBandwidth(int); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setMaxNumberOfClients(@IntRange(from=0) int); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setPassphrase(@Nullable String, int); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setShutdownTimeoutMillis(@IntRange(from=0xffffffff) long); method @Deprecated @NonNull public android.net.wifi.SoftApConfiguration.Builder setSsid(@Nullable String); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setVendorElements(@NonNull java.util.List); method @NonNull public android.net.wifi.SoftApConfiguration.Builder setWifiSsid(@Nullable android.net.wifi.WifiSsid); } public final class SoftApInfo implements android.os.Parcelable { method public int describeContents(); method public long getAutoShutdownTimeoutMillis(); method public int getBandwidth(); method @Nullable public android.net.MacAddress getBssid(); method public int getFrequency(); method public int getWifiStandard(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int CHANNEL_WIDTH_160MHZ = 6; // 0x6 field public static final int CHANNEL_WIDTH_20MHZ = 2; // 0x2 field public static final int CHANNEL_WIDTH_20MHZ_NOHT = 1; // 0x1 field public static final int CHANNEL_WIDTH_2160MHZ = 7; // 0x7 field public static final int CHANNEL_WIDTH_320MHZ = 11; // 0xb field public static final int CHANNEL_WIDTH_40MHZ = 3; // 0x3 field public static final int CHANNEL_WIDTH_4320MHZ = 8; // 0x8 field public static final int CHANNEL_WIDTH_6480MHZ = 9; // 0x9 field public static final int CHANNEL_WIDTH_80MHZ = 4; // 0x4 field public static final int CHANNEL_WIDTH_80MHZ_PLUS_MHZ = 5; // 0x5 field public static final int CHANNEL_WIDTH_8640MHZ = 10; // 0xa field public static final int CHANNEL_WIDTH_AUTO = -1; // 0xffffffff field public static final int CHANNEL_WIDTH_INVALID = 0; // 0x0 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class WifiClient implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.net.MacAddress getMacAddress(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } @Deprecated public class WifiConfiguration implements android.os.Parcelable { method @Deprecated @NonNull public java.util.Set getAllNetworkKeys(); method @Deprecated public int getAuthType(); method @Deprecated @Nullable public java.util.List getBssidAllowlist(); method @Deprecated public int getDeletionPriority(); method @Deprecated @NonNull public byte[] getDppCSignKey(); method @Deprecated @NonNull public byte[] getDppConnector(); method @Deprecated @NonNull public byte[] getDppNetAccessKey(); method @Deprecated @NonNull public byte[] getDppPrivateEcKey(); method @Deprecated @NonNull public android.net.IpConfiguration getIpConfiguration(); method @Deprecated @NonNull public android.net.wifi.WifiConfiguration.NetworkSelectionStatus getNetworkSelectionStatus(); method @Deprecated @NonNull public String getPrintableSsid(); method @Deprecated @NonNull public String getProfileKey(); method @Deprecated public int getRecentFailureReason(); method @Deprecated public boolean hasNoInternetAccess(); method @Deprecated public boolean isEphemeral(); method @Deprecated public static boolean isMetered(@Nullable android.net.wifi.WifiConfiguration, @Nullable android.net.wifi.WifiInfo); method @Deprecated public boolean isNoInternetAccessExpected(); method @Deprecated public boolean isRepeaterEnabled(); method @Deprecated public void setBssidAllowlist(@Nullable java.util.List); method @Deprecated public void setDeletionPriority(int) throws java.lang.IllegalArgumentException; method @Deprecated public void setNetworkSelectionStatus(@NonNull android.net.wifi.WifiConfiguration.NetworkSelectionStatus); method @Deprecated @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void setRepeaterEnabled(boolean); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public static final int INVALID_NETWORK_ID = -1; // 0xffffffff field @Deprecated public static final int METERED_OVERRIDE_METERED = 1; // 0x1 field @Deprecated public static final int METERED_OVERRIDE_NONE = 0; // 0x0 field @Deprecated public static final int METERED_OVERRIDE_NOT_METERED = 2; // 0x2 field @Deprecated public static final int RECENT_FAILURE_AP_UNABLE_TO_HANDLE_NEW_STA = 17; // 0x11 field @Deprecated public static final int RECENT_FAILURE_DISCONNECTION_AP_BUSY = 1004; // 0x3ec field @Deprecated public static final int RECENT_FAILURE_MBO_ASSOC_DISALLOWED_AIR_INTERFACE_OVERLOADED = 1007; // 0x3ef field @Deprecated public static final int RECENT_FAILURE_MBO_ASSOC_DISALLOWED_AUTH_SERVER_OVERLOADED = 1008; // 0x3f0 field @Deprecated public static final int RECENT_FAILURE_MBO_ASSOC_DISALLOWED_INSUFFICIENT_RSSI = 1009; // 0x3f1 field @Deprecated public static final int RECENT_FAILURE_MBO_ASSOC_DISALLOWED_MAX_NUM_STA_ASSOCIATED = 1006; // 0x3ee field @Deprecated public static final int RECENT_FAILURE_MBO_ASSOC_DISALLOWED_UNSPECIFIED = 1005; // 0x3ed field @Deprecated public static final int RECENT_FAILURE_NETWORK_NOT_FOUND = 1011; // 0x3f3 field @Deprecated public static final int RECENT_FAILURE_NONE = 0; // 0x0 field @Deprecated public static final int RECENT_FAILURE_OCE_RSSI_BASED_ASSOCIATION_REJECTION = 1010; // 0x3f2 field @Deprecated public static final int RECENT_FAILURE_POOR_CHANNEL_CONDITIONS = 1003; // 0x3eb field @Deprecated public static final int RECENT_FAILURE_REFUSED_TEMPORARILY = 1002; // 0x3ea field @Deprecated public boolean allowAutojoin; field @Deprecated public int carrierId; field @Deprecated public boolean carrierMerged; field @Deprecated public String creatorName; field @Deprecated public int creatorUid; field @Deprecated public boolean fromWifiNetworkSpecifier; field @Deprecated public boolean fromWifiNetworkSuggestion; field @Deprecated public int lastConnectUid; field @Deprecated public long lastConnected; field @Deprecated public String lastUpdateName; field @Deprecated public int lastUpdateUid; field @Deprecated public int macRandomizationSetting; field @Deprecated public boolean meteredHint; field @Deprecated public int meteredOverride; field @Deprecated public int numAssociation; field @Deprecated public int numRebootsSinceLastUse; field @Deprecated public int numScorerOverride; field @Deprecated public int numScorerOverrideAndSwitchedNetwork; field @Deprecated public boolean requirePmf; field @Deprecated public boolean shared; field @Deprecated public int subscriptionId; field @Deprecated public boolean useExternalScores; } @Deprecated public static class WifiConfiguration.NetworkSelectionStatus { method @Deprecated public int getDisableReasonCounter(int); method @Deprecated public long getDisableTime(); method @Deprecated public static int getMaxNetworkSelectionDisableReason(); method @Deprecated public int getNetworkSelectionDisableReason(); method @Deprecated @Nullable public static String getNetworkSelectionDisableReasonString(int); method @Deprecated public int getNetworkSelectionStatus(); method @Deprecated @NonNull public String getNetworkStatusString(); method @Deprecated public boolean hasEverConnected(); field @Deprecated public static final int DISABLED_ASSOCIATION_REJECTION = 1; // 0x1 field @Deprecated public static final int DISABLED_AUTHENTICATION_FAILURE = 2; // 0x2 field @Deprecated public static final int DISABLED_AUTHENTICATION_NO_CREDENTIALS = 5; // 0x5 field @Deprecated public static final int DISABLED_AUTHENTICATION_NO_SUBSCRIPTION = 9; // 0x9 field @Deprecated public static final int DISABLED_AUTHENTICATION_PRIVATE_EAP_ERROR = 10; // 0xa field @Deprecated public static final int DISABLED_BY_WIFI_MANAGER = 7; // 0x7 field @Deprecated public static final int DISABLED_BY_WRONG_PASSWORD = 8; // 0x8 field @Deprecated public static final int DISABLED_CONSECUTIVE_FAILURES = 12; // 0xc field @Deprecated public static final int DISABLED_DHCP_FAILURE = 3; // 0x3 field @Deprecated public static final int DISABLED_NETWORK_NOT_FOUND = 11; // 0xb field @Deprecated public static final int DISABLED_NONE = 0; // 0x0 field @Deprecated public static final int DISABLED_NO_INTERNET_PERMANENT = 6; // 0x6 field @Deprecated public static final int DISABLED_NO_INTERNET_TEMPORARY = 4; // 0x4 field @Deprecated public static final int DISABLED_TRANSITION_DISABLE_INDICATION = 13; // 0xd field @Deprecated public static final int NETWORK_SELECTION_ENABLED = 0; // 0x0 field @Deprecated public static final int NETWORK_SELECTION_PERMANENTLY_DISABLED = 2; // 0x2 field @Deprecated public static final int NETWORK_SELECTION_TEMPORARY_DISABLED = 1; // 0x1 } @Deprecated public static final class WifiConfiguration.NetworkSelectionStatus.Builder { ctor @Deprecated public WifiConfiguration.NetworkSelectionStatus.Builder(); method @Deprecated @NonNull public android.net.wifi.WifiConfiguration.NetworkSelectionStatus build(); method @Deprecated @NonNull public android.net.wifi.WifiConfiguration.NetworkSelectionStatus.Builder setNetworkSelectionDisableReason(int); method @Deprecated @NonNull public android.net.wifi.WifiConfiguration.NetworkSelectionStatus.Builder setNetworkSelectionStatus(int); } public final class WifiConnectedSessionInfo implements android.os.Parcelable { method public int describeContents(); method public int getSessionId(); method public boolean isUserSelected(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class WifiConnectedSessionInfo.Builder { ctor public WifiConnectedSessionInfo.Builder(int); method @NonNull public android.net.wifi.WifiConnectedSessionInfo build(); method @NonNull public android.net.wifi.WifiConnectedSessionInfo.Builder setUserSelected(boolean); } public class WifiEnterpriseConfig implements android.os.Parcelable { method @Nullable public String[] getCaCertificateAliases(); method @NonNull public String getCaPath(); method @NonNull public String getClientCertificateAlias(); method public int getOcsp(); method @NonNull public String getWapiCertSuite(); method public void setCaCertificateAliases(@Nullable String[]); method public void setCaPath(@NonNull String); method public void setClientCertificateAlias(@NonNull String); method public void setOcsp(int); method public void setWapiCertSuite(@NonNull String); field public static final int OCSP_NONE = 0; // 0x0 field public static final int OCSP_REQUEST_CERT_STATUS = 1; // 0x1 field public static final int OCSP_REQUIRE_ALL_NON_TRUSTED_CERTS_STATUS = 3; // 0x3 field public static final int OCSP_REQUIRE_CERT_STATUS = 2; // 0x2 } public class WifiFrameworkInitializer { method public static void registerServiceWrappers(); } public class WifiInfo implements android.os.Parcelable android.net.TransportInfo { method public double getLostTxPacketsPerSecond(); method @Nullable public String getNetworkKey(); method @Nullable public String getRequestingPackageName(); method public double getRetriedTxPacketsPerSecond(); method public int getScore(); method public double getSuccessfulRxPacketsPerSecond(); method public double getSuccessfulTxPacketsPerSecond(); method public boolean isApTidToLinkMappingNegotiationSupported(); method public boolean isCarrierMerged(); method public boolean isEphemeral(); method public boolean isOemPaid(); method public boolean isOemPrivate(); method public boolean isOsuAp(); method public boolean isPasspointAp(); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public boolean isPrimary(); method public boolean isTrusted(); method @Nullable public static String sanitizeSsid(@Nullable String); field public static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00"; field public static final int INVALID_RSSI = -127; // 0xffffff81 } public class WifiManager { method @RequiresPermission(android.Manifest.permission.WIFI_UPDATE_USABILITY_STATS_SCORE) public void addOnWifiUsabilityStatsListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.OnWifiUsabilityStatsListener); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION}) public void addQosPolicies(@NonNull java.util.List, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer>); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void addWifiNetworkStateChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.WifiNetworkStateChangedListener); method @RequiresPermission(android.Manifest.permission.ACCESS_WIFI_STATE) public void addWifiVerboseLoggingStatusChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.WifiVerboseLoggingStatusChangedListener); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void allowAutojoin(int, boolean); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void allowAutojoinPasspoint(@NonNull String, boolean); method public void clearExternalPnoScanRequest(); method @RequiresPermission(android.Manifest.permission.MANAGE_WIFI_COUNTRY_CODE) public void clearOverrideCountryCode(); method @RequiresPermission(android.Manifest.permission.WIFI_UPDATE_USABILITY_STATS_SCORE) public void clearWifiConnectedNetworkScorer(); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, android.Manifest.permission.NETWORK_STACK}) public void connect(@NonNull android.net.wifi.WifiConfiguration, @Nullable android.net.wifi.WifiManager.ActionListener); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, android.Manifest.permission.NETWORK_STACK}) public void connect(int, @Nullable android.net.wifi.WifiManager.ActionListener); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, android.Manifest.permission.NETWORK_STACK}) public void disable(int, @Nullable android.net.wifi.WifiManager.ActionListener); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK}) public void disableEphemeralNetwork(@NonNull String); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void factoryReset(); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, android.Manifest.permission.NETWORK_STACK}) public void forget(int, @Nullable android.net.wifi.WifiManager.ActionListener); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public java.util.List>>> getAllMatchingWifiConfigs(@NonNull java.util.List); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.ACCESS_COARSE_LOCATION}) public String getCountryCode(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public android.net.Network getCurrentNetwork(); method public static int getEasyConnectMaxAllowedResponderDeviceInfoLength(); method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public String[] getFactoryMacAddresses(); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void getLastCallerInfoForApi(int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.BiConsumer); method @RequiresPermission(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION) public void getLinkLayerStatsPollingInterval(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public java.util.Map> getMatchingOsuProviders(@Nullable java.util.List); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public java.util.Map getMatchingPasspointConfigsForOsuProviders(@NonNull java.util.Set); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.ACCESS_WIFI_STATE}) public java.util.Map> getMatchingScanResults(@NonNull java.util.List, @Nullable java.util.List); method public static int getMaxNumberOfPoliciesPerQosRequest(); method @RequiresPermission(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION) public void getMloMode(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION}) public void getNetworkSelectionConfig(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public java.util.Set getOemPrivilegedWifiAdminPackages(); method @RequiresPermission(allOf={android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.NEARBY_WIFI_DEVICES, android.Manifest.permission.ACCESS_WIFI_STATE, android.Manifest.permission.READ_WIFI_CREDENTIAL}, conditional=true) public java.util.List getPrivilegedConfiguredNetworks(); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.NEARBY_WIFI_DEVICES, android.Manifest.permission.ACCESS_WIFI_STATE, android.Manifest.permission.READ_WIFI_CREDENTIAL}, conditional=true) public android.net.wifi.WifiConfiguration getPrivilegedConnectedNetwork(); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.OVERRIDE_WIFI_CONFIG}) public android.net.wifi.SoftApConfiguration getSoftApConfiguration(); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION}, conditional=true) public java.util.Set getSsidsAllowlist(); method public int getVerboseLoggingLevel(); method @RequiresPermission(android.Manifest.permission.ACCESS_WIFI_STATE) public void getWifiActivityEnergyInfoAsync(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.OnWifiActivityEnergyInfoListener); method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_WIFI_STATE) public android.net.wifi.WifiConfiguration getWifiApConfiguration(); method @RequiresPermission(android.Manifest.permission.ACCESS_WIFI_STATE) public int getWifiApState(); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public java.util.List getWifiConfigForMatchedNetworkSuggestionsSharedWithUser(@NonNull java.util.List); method public boolean isApMacRandomizationSupported(); method public boolean isConnectedMacRandomizationSupported(); method @Deprecated public boolean isDeviceToDeviceRttSupported(); method public boolean isPortableHotspotSupported(); method public boolean isStaConcurrencyForRestrictedConnectionsSupported(); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public boolean isThirdPartyAppEnablingWifiConfirmationDialogEnabled(); method public boolean isVerboseLoggingEnabled(); method @RequiresPermission(android.Manifest.permission.ACCESS_WIFI_STATE) public boolean isWifiApEnabled(); method public boolean isWifiScannerSupported(); method @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_ADMINS) public void notifyMinimumRequiredWifiSecurityLevelChanged(int); method @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_ADMINS) public void notifyWifiSsidPolicyChanged(@NonNull android.app.admin.WifiSsidPolicy); method @Nullable @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void queryLastConfiguredTetheredApPassphraseSinceBoot(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) public void registerActiveCountryCodeChangedCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.ActiveCountryCodeChangedCallback); method @RequiresPermission(android.Manifest.permission.WIFI_ACCESS_COEX_UNSAFE_CHANNELS) public void registerCoexCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.CoexCallback); method @RequiresPermission(android.Manifest.permission.NEARBY_WIFI_DEVICES) public void registerLocalOnlyHotspotSoftApCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.SoftApCallback); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void registerNetworkRequestMatchCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.NetworkRequestMatchCallback); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.OVERRIDE_WIFI_CONFIG}) public void registerSoftApCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.SoftApCallback); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void registerTrafficStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.TrafficStateCallback); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION}) public void removeAllQosPolicies(); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void removeAppState(int, @NonNull String); method @RequiresPermission(android.Manifest.permission.WIFI_UPDATE_USABILITY_STATS_SCORE) public void removeOnWifiUsabilityStatsListener(@NonNull android.net.wifi.WifiManager.OnWifiUsabilityStatsListener); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION}) public void removeQosPolicies(@NonNull int[]); method public void removeWifiNetworkStateChangedListener(@NonNull android.net.wifi.WifiManager.WifiNetworkStateChangedListener); method @RequiresPermission(android.Manifest.permission.ACCESS_WIFI_STATE) public void removeWifiVerboseLoggingStatusChangedListener(@NonNull android.net.wifi.WifiManager.WifiVerboseLoggingStatusChangedListener); method @RequiresPermission(android.Manifest.permission.RESTART_WIFI_SUBSYSTEM) public void restartWifiSubsystem(); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void restoreBackupData(@NonNull byte[]); method @Nullable @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public android.net.wifi.SoftApConfiguration restoreSoftApBackupData(@NonNull byte[]); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void restoreSupplicantBackupData(@NonNull byte[], @NonNull byte[]); method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public byte[] retrieveBackupData(); method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public byte[] retrieveSoftApBackupData(); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, android.Manifest.permission.NETWORK_STACK}) public void save(@NonNull android.net.wifi.WifiConfiguration, @Nullable android.net.wifi.WifiManager.ActionListener); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void setAutoWakeupEnabled(boolean); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void setCarrierNetworkOffloadEnabled(int, boolean, boolean); method @RequiresPermission(android.Manifest.permission.WIFI_UPDATE_COEX_UNSAFE_CHANNELS) public void setCoexUnsafeChannels(@NonNull java.util.List, int); method @RequiresPermission(android.Manifest.permission.MANAGE_WIFI_COUNTRY_CODE) public void setDefaultCountryCode(@NonNull String); method @RequiresPermission(android.Manifest.permission.WIFI_SET_DEVICE_MOBILITY_STATE) public void setDeviceMobilityState(int); method @RequiresPermission(allOf={android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.REQUEST_COMPANION_PROFILE_AUTOMOTIVE_PROJECTION}) public void setExternalPnoScanRequest(@NonNull java.util.List, @Nullable int[], @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.PnoScanResultsCallback); method @RequiresPermission(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION) public void setLinkLayerStatsPollingInterval(@IntRange(from=0) int); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void setMacRandomizationSettingPasspointEnabled(@NonNull String, boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION) public void setMloMode(int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION}) public void setNetworkSelectionConfig(@NonNull android.net.wifi.WifiNetworkSelectionConfig); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION}) public void setOneShotScreenOnConnectivityScanDelayMillis(@IntRange(from=0) int); method @RequiresPermission(android.Manifest.permission.MANAGE_WIFI_COUNTRY_CODE) public void setOverrideCountryCode(@NonNull String); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void setPasspointMeteredOverride(@NonNull String, int); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void setScanAlwaysAvailable(boolean); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void setScanThrottleEnabled(boolean); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION}) public void setScreenOnScanSchedule(@Nullable java.util.List); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.OVERRIDE_WIFI_CONFIG}) public boolean setSoftApConfiguration(@NonNull android.net.wifi.SoftApConfiguration); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION}, conditional=true) public void setSsidsAllowlist(@NonNull java.util.Set); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public boolean setStaConcurrencyForMultiInternetMode(int); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void setThirdPartyAppEnablingWifiConfirmationDialogEnabled(boolean); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void setVerboseLoggingEnabled(boolean); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void setVerboseLoggingLevel(int); method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_WIFI_STATE) public boolean setWifiApConfiguration(android.net.wifi.WifiConfiguration); method @RequiresPermission(android.Manifest.permission.WIFI_UPDATE_USABILITY_STATS_SCORE) public boolean setWifiConnectedNetworkScorer(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.WifiConnectedNetworkScorer); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void setWifiPasspointEnabled(boolean); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public boolean setWifiScoringEnabled(boolean); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void startEasyConnectAsConfiguratorInitiator(@NonNull String, int, int, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.EasyConnectStatusCallback); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void startEasyConnectAsEnrolleeInitiator(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.EasyConnectStatusCallback); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void startEasyConnectAsEnrolleeResponder(@Nullable String, int, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.EasyConnectStatusCallback); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, android.Manifest.permission.NEARBY_WIFI_DEVICES}) public void startLocalOnlyHotspot(@NonNull android.net.wifi.SoftApConfiguration, @Nullable java.util.concurrent.Executor, @Nullable android.net.wifi.WifiManager.LocalOnlyHotspotCallback); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void startRestrictingAutoJoinToSubscriptionId(int); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public boolean startScan(android.os.WorkSource); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void startSubscriptionProvisioning(@NonNull android.net.wifi.hotspot2.OsuProvider, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.hotspot2.ProvisioningCallback); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public boolean startTetheredHotspot(@Nullable android.net.wifi.SoftApConfiguration); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void stopEasyConnectSession(); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void stopRestrictingAutoJoinToSubscriptionId(); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public boolean stopSoftAp(); method public void unregisterActiveCountryCodeChangedCallback(@NonNull android.net.wifi.WifiManager.ActiveCountryCodeChangedCallback); method @RequiresPermission(android.Manifest.permission.WIFI_ACCESS_COEX_UNSAFE_CHANNELS) public void unregisterCoexCallback(@NonNull android.net.wifi.WifiManager.CoexCallback); method @RequiresPermission(android.Manifest.permission.NEARBY_WIFI_DEVICES) public void unregisterLocalOnlyHotspotSoftApCallback(@NonNull android.net.wifi.WifiManager.SoftApCallback); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void unregisterNetworkRequestMatchCallback(@NonNull android.net.wifi.WifiManager.NetworkRequestMatchCallback); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.OVERRIDE_WIFI_CONFIG}) public void unregisterSoftApCallback(@NonNull android.net.wifi.WifiManager.SoftApCallback); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void unregisterTrafficStateCallback(@NonNull android.net.wifi.WifiManager.TrafficStateCallback); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void updateInterfaceIpState(@Nullable String, int); method @RequiresPermission(android.Manifest.permission.WIFI_UPDATE_USABILITY_STATS_SCORE) public void updateWifiUsabilityScore(int, int, int); field public static final String ACTION_LINK_CONFIGURATION_CHANGED = "android.net.wifi.LINK_CONFIGURATION_CHANGED"; field @RequiresPermission(android.Manifest.permission.NETWORK_CARRIER_PROVISIONING) public static final String ACTION_NETWORK_SETTINGS_RESET = "android.net.wifi.action.NETWORK_SETTINGS_RESET"; field public static final String ACTION_PASSPOINT_LAUNCH_OSU_VIEW = "android.net.wifi.action.PASSPOINT_LAUNCH_OSU_VIEW"; field @RequiresPermission(android.Manifest.permission.NETWORK_CARRIER_PROVISIONING) public static final String ACTION_REFRESH_USER_PROVISIONING = "android.net.wifi.action.REFRESH_USER_PROVISIONING"; field public static final String ACTION_REQUEST_DISABLE = "android.net.wifi.action.REQUEST_DISABLE"; field public static final String ACTION_REQUEST_ENABLE = "android.net.wifi.action.REQUEST_ENABLE"; field public static final int API_ADD_NETWORK = 10; // 0xa field public static final int API_ALLOW_AUTOJOIN = 12; // 0xc field public static final int API_AUTOJOIN_GLOBAL = 5; // 0x5 field public static final int API_CONNECT_CONFIG = 13; // 0xd field public static final int API_CONNECT_NETWORK_ID = 14; // 0xe field public static final int API_DISABLE_NETWORK = 15; // 0xf field public static final int API_ENABLE_NETWORK = 16; // 0x10 field public static final int API_FORGET = 17; // 0x11 field public static final int API_P2P_CANCEL_CONNECT = 26; // 0x1a field public static final int API_P2P_CONNECT = 25; // 0x19 field public static final int API_P2P_CREATE_GROUP = 27; // 0x1b field public static final int API_P2P_CREATE_GROUP_P2P_CONFIG = 28; // 0x1c field public static final int API_P2P_DISCOVER_PEERS = 21; // 0x15 field public static final int API_P2P_DISCOVER_PEERS_ON_SOCIAL_CHANNELS = 22; // 0x16 field public static final int API_P2P_DISCOVER_PEERS_ON_SPECIFIC_FREQUENCY = 23; // 0x17 field public static final int API_P2P_REMOVE_GROUP = 29; // 0x1d field public static final int API_P2P_SET_CHANNELS = 32; // 0x20 field public static final int API_P2P_START_LISTENING = 30; // 0x1e field public static final int API_P2P_STOP_LISTENING = 31; // 0x1f field public static final int API_P2P_STOP_PEER_DISCOVERY = 24; // 0x18 field public static final int API_SAVE = 18; // 0x12 field public static final int API_SCANNING_ENABLED = 1; // 0x1 field public static final int API_SET_NETWORK_SELECTION_CONFIG = 8; // 0x8 field public static final int API_SET_ONE_SHOT_SCREEN_ON_CONNECTIVITY_SCAN_DELAY = 7; // 0x7 field public static final int API_SET_SCAN_SCHEDULE = 6; // 0x6 field public static final int API_SET_TDLS_ENABLED = 34; // 0x22 field public static final int API_SET_TDLS_ENABLED_WITH_MAC_ADDRESS = 35; // 0x23 field public static final int API_SET_THIRD_PARTY_APPS_ENABLING_WIFI_CONFIRMATION_DIALOG = 9; // 0x9 field public static final int API_SOFT_AP = 3; // 0x3 field public static final int API_START_LOCAL_ONLY_HOTSPOT = 20; // 0x14 field public static final int API_START_SCAN = 19; // 0x13 field public static final int API_TETHERED_HOTSPOT = 4; // 0x4 field public static final int API_UPDATE_NETWORK = 11; // 0xb field public static final int API_WIFI_ENABLED = 2; // 0x2 field public static final int API_WIFI_SCANNER_START_SCAN = 33; // 0x21 field public static final int CHANGE_REASON_ADDED = 0; // 0x0 field public static final int CHANGE_REASON_CONFIG_CHANGE = 2; // 0x2 field public static final int CHANGE_REASON_REMOVED = 1; // 0x1 field public static final int COEX_RESTRICTION_SOFTAP = 2; // 0x2 field public static final int COEX_RESTRICTION_WIFI_AWARE = 4; // 0x4 field public static final int COEX_RESTRICTION_WIFI_DIRECT = 1; // 0x1 field public static final String CONFIGURED_NETWORKS_CHANGED_ACTION = "android.net.wifi.CONFIGURED_NETWORKS_CHANGE"; field public static final int DEVICE_MOBILITY_STATE_HIGH_MVMT = 1; // 0x1 field public static final int DEVICE_MOBILITY_STATE_LOW_MVMT = 2; // 0x2 field public static final int DEVICE_MOBILITY_STATE_STATIONARY = 3; // 0x3 field public static final int DEVICE_MOBILITY_STATE_UNKNOWN = 0; // 0x0 field public static final int EASY_CONNECT_CRYPTOGRAPHY_CURVE_BRAINPOOLP256R1 = 3; // 0x3 field public static final int EASY_CONNECT_CRYPTOGRAPHY_CURVE_BRAINPOOLP384R1 = 4; // 0x4 field public static final int EASY_CONNECT_CRYPTOGRAPHY_CURVE_BRAINPOOLP512R1 = 5; // 0x5 field public static final int EASY_CONNECT_CRYPTOGRAPHY_CURVE_PRIME256V1 = 0; // 0x0 field public static final int EASY_CONNECT_CRYPTOGRAPHY_CURVE_SECP384R1 = 1; // 0x1 field public static final int EASY_CONNECT_CRYPTOGRAPHY_CURVE_SECP521R1 = 2; // 0x2 field public static final int EASY_CONNECT_NETWORK_ROLE_AP = 1; // 0x1 field public static final int EASY_CONNECT_NETWORK_ROLE_STA = 0; // 0x0 field public static final String EXTRA_CHANGE_REASON = "changeReason"; field @Deprecated public static final String EXTRA_LINK_PROPERTIES = "android.net.wifi.extra.LINK_PROPERTIES"; field @Deprecated public static final String EXTRA_MULTIPLE_NETWORKS_CHANGED = "multipleChanges"; field public static final String EXTRA_OSU_NETWORK = "android.net.wifi.extra.OSU_NETWORK"; field public static final String EXTRA_PREVIOUS_WIFI_AP_STATE = "previous_wifi_state"; field public static final String EXTRA_URL = "android.net.wifi.extra.URL"; field public static final String EXTRA_WIFI_AP_FAILURE_REASON = "android.net.wifi.extra.WIFI_AP_FAILURE_REASON"; field public static final String EXTRA_WIFI_AP_INTERFACE_NAME = "android.net.wifi.extra.WIFI_AP_INTERFACE_NAME"; field public static final String EXTRA_WIFI_AP_MODE = "android.net.wifi.extra.WIFI_AP_MODE"; field public static final String EXTRA_WIFI_AP_STATE = "wifi_state"; field @Deprecated public static final String EXTRA_WIFI_CONFIGURATION = "wifiConfiguration"; field public static final String EXTRA_WIFI_CREDENTIAL_EVENT_TYPE = "et"; field public static final String EXTRA_WIFI_CREDENTIAL_SSID = "ssid"; field public static final int IFACE_IP_MODE_CONFIGURATION_ERROR = 0; // 0x0 field public static final int IFACE_IP_MODE_LOCAL_ONLY = 2; // 0x2 field public static final int IFACE_IP_MODE_TETHERED = 1; // 0x1 field public static final int IFACE_IP_MODE_UNSPECIFIED = -1; // 0xffffffff field public static final int MLO_MODE_DEFAULT = 0; // 0x0 field public static final int MLO_MODE_HIGH_THROUGHPUT = 2; // 0x2 field public static final int MLO_MODE_LOW_LATENCY = 1; // 0x1 field public static final int MLO_MODE_LOW_POWER = 3; // 0x3 field public static final int PASSPOINT_HOME_NETWORK = 0; // 0x0 field public static final int PASSPOINT_ROAMING_NETWORK = 1; // 0x1 field public static final int QOS_REQUEST_STATUS_ALREADY_ACTIVE = 1; // 0x1 field public static final int QOS_REQUEST_STATUS_FAILURE_UNKNOWN = 4; // 0x4 field public static final int QOS_REQUEST_STATUS_INSUFFICIENT_RESOURCES = 2; // 0x2 field public static final int QOS_REQUEST_STATUS_INVALID_PARAMETERS = 3; // 0x3 field public static final int QOS_REQUEST_STATUS_TRACKING = 0; // 0x0 field public static final int SAP_CLIENT_BLOCK_REASON_CODE_BLOCKED_BY_USER = 0; // 0x0 field public static final int SAP_CLIENT_BLOCK_REASON_CODE_NO_MORE_STAS = 1; // 0x1 field public static final int SAP_START_FAILURE_GENERAL = 0; // 0x0 field public static final int SAP_START_FAILURE_NO_CHANNEL = 1; // 0x1 field public static final int SAP_START_FAILURE_UNSUPPORTED_CONFIGURATION = 2; // 0x2 field public static final int SAP_START_FAILURE_USER_REJECTED = 3; // 0x3 field public static final int VERBOSE_LOGGING_LEVEL_DISABLED = 0; // 0x0 field public static final int VERBOSE_LOGGING_LEVEL_ENABLED = 1; // 0x1 field public static final int VERBOSE_LOGGING_LEVEL_ENABLED_SHOW_KEY = 2; // 0x2 field @RequiresPermission(android.Manifest.permission.ACCESS_WIFI_STATE) public static final String WIFI_AP_STATE_CHANGED_ACTION = "android.net.wifi.WIFI_AP_STATE_CHANGED"; field public static final int WIFI_AP_STATE_DISABLED = 11; // 0xb field public static final int WIFI_AP_STATE_DISABLING = 10; // 0xa field public static final int WIFI_AP_STATE_ENABLED = 13; // 0xd field public static final int WIFI_AP_STATE_ENABLING = 12; // 0xc field public static final int WIFI_AP_STATE_FAILED = 14; // 0xe field public static final String WIFI_CREDENTIAL_CHANGED_ACTION = "android.net.wifi.WIFI_CREDENTIAL_CHANGED"; field public static final int WIFI_CREDENTIAL_FORGOT = 1; // 0x1 field public static final int WIFI_CREDENTIAL_SAVED = 0; // 0x0 } public static interface WifiManager.ActionListener { method public void onFailure(int); method public void onSuccess(); field public static final int FAILURE_BUSY = 2; // 0x2 field public static final int FAILURE_INTERNAL_ERROR = 0; // 0x0 field public static final int FAILURE_INVALID_ARGS = 3; // 0x3 field public static final int FAILURE_IN_PROGRESS = 1; // 0x1 field public static final int FAILURE_NOT_AUTHORIZED = 4; // 0x4 } public static interface WifiManager.ActiveCountryCodeChangedCallback { method public void onActiveCountryCodeChanged(@NonNull String); method public void onCountryCodeInactive(); } public abstract static class WifiManager.CoexCallback { ctor public WifiManager.CoexCallback(); method public abstract void onCoexUnsafeChannelsChanged(@NonNull java.util.List, int); } public static interface WifiManager.NetworkRequestMatchCallback { method public default void onAbort(); method public default void onMatch(@NonNull java.util.List); method public default void onUserSelectionCallbackRegistration(@NonNull android.net.wifi.WifiManager.NetworkRequestUserSelectionCallback); method public default void onUserSelectionConnectFailure(@NonNull android.net.wifi.WifiConfiguration); method public default void onUserSelectionConnectSuccess(@NonNull android.net.wifi.WifiConfiguration); } public static interface WifiManager.NetworkRequestUserSelectionCallback { method public default void reject(); method public default void select(@NonNull android.net.wifi.WifiConfiguration); } public static interface WifiManager.OnWifiActivityEnergyInfoListener { method public void onWifiActivityEnergyInfo(@Nullable android.os.connectivity.WifiActivityEnergyInfo); } public static interface WifiManager.OnWifiUsabilityStatsListener { method public void onWifiUsabilityStats(int, boolean, @NonNull android.net.wifi.WifiUsabilityStatsEntry); } public static interface WifiManager.PnoScanResultsCallback { method public void onRegisterFailed(int); method public void onRegisterSuccess(); method public void onRemoved(int); method public void onScanResultsAvailable(@NonNull java.util.List); field public static final int REGISTER_PNO_CALLBACK_ALREADY_REGISTERED = 1; // 0x1 field public static final int REGISTER_PNO_CALLBACK_PNO_NOT_SUPPORTED = 3; // 0x3 field public static final int REGISTER_PNO_CALLBACK_RESOURCE_BUSY = 2; // 0x2 field public static final int REGISTER_PNO_CALLBACK_UNKNOWN = 0; // 0x0 field public static final int REMOVE_PNO_CALLBACK_RESULTS_DELIVERED = 1; // 0x1 field public static final int REMOVE_PNO_CALLBACK_UNKNOWN = 0; // 0x0 field public static final int REMOVE_PNO_CALLBACK_UNREGISTERED = 2; // 0x2 } public static interface WifiManager.ScoreUpdateObserver { method public default void blocklistCurrentBssid(int); method public void notifyScoreUpdate(int, int); method public default void notifyStatusUpdate(int, boolean); method public default void requestNudOperation(int); method public void triggerUpdateOfWifiUsabilityStats(int); } public static class WifiManager.ScreenOnScanSchedule { ctor public WifiManager.ScreenOnScanSchedule(@NonNull java.time.Duration, int); method @NonNull public java.time.Duration getScanInterval(); method public int getScanType(); } public static interface WifiManager.SoftApCallback { method public default void onBlockedClientConnecting(@NonNull android.net.wifi.WifiClient, int); method public default void onCapabilityChanged(@NonNull android.net.wifi.SoftApCapability); method @Deprecated public default void onConnectedClientsChanged(@NonNull java.util.List); method public default void onConnectedClientsChanged(@NonNull android.net.wifi.SoftApInfo, @NonNull java.util.List); method @Deprecated public default void onInfoChanged(@NonNull android.net.wifi.SoftApInfo); method public default void onInfoChanged(@NonNull java.util.List); method public default void onStateChanged(int, int); } public static interface WifiManager.TrafficStateCallback { method public void onStateChanged(int); field public static final int DATA_ACTIVITY_IN = 1; // 0x1 field public static final int DATA_ACTIVITY_INOUT = 3; // 0x3 field public static final int DATA_ACTIVITY_NONE = 0; // 0x0 field public static final int DATA_ACTIVITY_OUT = 2; // 0x2 } public static interface WifiManager.WifiConnectedNetworkScorer { method public default void onNetworkSwitchAccepted(int, int, @NonNull String); method public default void onNetworkSwitchRejected(int, int, @NonNull String); method public void onSetScoreUpdateObserver(@NonNull android.net.wifi.WifiManager.ScoreUpdateObserver); method @Deprecated public default void onStart(int); method public default void onStart(@NonNull android.net.wifi.WifiConnectedSessionInfo); method public void onStop(int); } public static interface WifiManager.WifiNetworkStateChangedListener { method public void onWifiNetworkStateChanged(int, int); field public static final int WIFI_NETWORK_STATUS_AUTHENTICATING = 4; // 0x4 field public static final int WIFI_NETWORK_STATUS_CONNECTED = 6; // 0x6 field public static final int WIFI_NETWORK_STATUS_CONNECTING = 3; // 0x3 field public static final int WIFI_NETWORK_STATUS_DISCONNECTED = 7; // 0x7 field public static final int WIFI_NETWORK_STATUS_FAILED = 8; // 0x8 field public static final int WIFI_NETWORK_STATUS_IDLE = 1; // 0x1 field public static final int WIFI_NETWORK_STATUS_OBTAINING_IPADDR = 5; // 0x5 field public static final int WIFI_NETWORK_STATUS_SCANNING = 2; // 0x2 field public static final int WIFI_ROLE_CLIENT_PRIMARY = 1; // 0x1 field public static final int WIFI_ROLE_CLIENT_SECONDARY_INTERNET = 2; // 0x2 field public static final int WIFI_ROLE_CLIENT_SECONDARY_LOCAL_ONLY = 3; // 0x3 } public static interface WifiManager.WifiVerboseLoggingStatusChangedListener { method public void onWifiVerboseLoggingStatusChanged(boolean); } public final class WifiMigration { method @Nullable public static java.io.InputStream convertAndRetrieveSharedConfigStoreFile(int); method @Nullable public static java.io.InputStream convertAndRetrieveUserConfigStoreFile(int, @NonNull android.os.UserHandle); method @NonNull public static android.net.wifi.WifiMigration.SettingsMigrationData loadFromSettings(@NonNull android.content.Context); method public static void removeSharedConfigStoreFile(int); method public static void removeUserConfigStoreFile(int, @NonNull android.os.UserHandle); field public static final int STORE_FILE_SHARED_GENERAL = 0; // 0x0 field public static final int STORE_FILE_SHARED_SOFTAP = 1; // 0x1 field public static final int STORE_FILE_USER_GENERAL = 2; // 0x2 field public static final int STORE_FILE_USER_NETWORK_SUGGESTIONS = 3; // 0x3 } public static final class WifiMigration.SettingsMigrationData implements android.os.Parcelable { method public int describeContents(); method @Nullable public String getP2pDeviceName(); method public boolean isP2pFactoryResetPending(); method public boolean isScanAlwaysAvailable(); method public boolean isScanThrottleEnabled(); method public boolean isSoftApTimeoutEnabled(); method public boolean isVerboseLoggingEnabled(); method public boolean isWakeUpEnabled(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class WifiMigration.SettingsMigrationData.Builder { ctor public WifiMigration.SettingsMigrationData.Builder(); method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData build(); method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setP2pDeviceName(@Nullable String); method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setP2pFactoryResetPending(boolean); method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setScanAlwaysAvailable(boolean); method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setScanThrottleEnabled(boolean); method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setSoftApTimeoutEnabled(boolean); method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setVerboseLoggingEnabled(boolean); method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setWakeUpEnabled(boolean); } @Deprecated public class WifiNetworkConnectionStatistics implements android.os.Parcelable { ctor @Deprecated public WifiNetworkConnectionStatistics(int, int); ctor @Deprecated public WifiNetworkConnectionStatistics(); ctor @Deprecated public WifiNetworkConnectionStatistics(android.net.wifi.WifiNetworkConnectionStatistics); method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public int numConnection; field @Deprecated public int numUsage; } public final class WifiNetworkSelectionConfig implements android.os.Parcelable { method public int describeContents(); method public int getAssociatedNetworkSelectionOverride(); method @NonNull public android.util.SparseArray getFrequencyWeights(); method @NonNull public int[] getRssiThresholds(int); method public boolean isLastSelectionWeightEnabled(); method public boolean isSufficiencyCheckEnabledWhenScreenOff(); method public boolean isSufficiencyCheckEnabledWhenScreenOn(); method public boolean isUserConnectChoiceOverrideEnabled(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int ASSOCIATED_NETWORK_SELECTION_OVERRIDE_DISABLED = 2; // 0x2 field public static final int ASSOCIATED_NETWORK_SELECTION_OVERRIDE_ENABLED = 1; // 0x1 field public static final int ASSOCIATED_NETWORK_SELECTION_OVERRIDE_NONE = 0; // 0x0 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int FREQUENCY_WEIGHT_HIGH = 1; // 0x1 field public static final int FREQUENCY_WEIGHT_LOW = 0; // 0x0 } public static final class WifiNetworkSelectionConfig.Builder { ctor public WifiNetworkSelectionConfig.Builder(); ctor public WifiNetworkSelectionConfig.Builder(@NonNull android.net.wifi.WifiNetworkSelectionConfig); method @NonNull public android.net.wifi.WifiNetworkSelectionConfig build(); method @NonNull public android.net.wifi.WifiNetworkSelectionConfig.Builder setAssociatedNetworkSelectionOverride(int) throws java.lang.IllegalArgumentException; method @NonNull public android.net.wifi.WifiNetworkSelectionConfig.Builder setFrequencyWeights(@NonNull android.util.SparseArray) throws java.lang.IllegalArgumentException; method @NonNull public android.net.wifi.WifiNetworkSelectionConfig.Builder setLastSelectionWeightEnabled(boolean); method @NonNull public android.net.wifi.WifiNetworkSelectionConfig.Builder setRssiThresholds(int, @NonNull int[]) throws java.lang.IllegalArgumentException; method @NonNull public android.net.wifi.WifiNetworkSelectionConfig.Builder setSufficiencyCheckEnabledWhenScreenOff(boolean); method @NonNull public android.net.wifi.WifiNetworkSelectionConfig.Builder setSufficiencyCheckEnabledWhenScreenOn(boolean); method @NonNull public android.net.wifi.WifiNetworkSelectionConfig.Builder setUserConnectChoiceOverrideEnabled(boolean); } public final class WifiNetworkSuggestion implements android.os.Parcelable { method public int getCarrierId(); method @NonNull public android.net.wifi.WifiConfiguration getWifiConfiguration(); method public boolean isOemPaid(); method public boolean isOemPrivate(); } public static final class WifiNetworkSuggestion.Builder { method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_CARRIER_PROVISIONING) public android.net.wifi.WifiNetworkSuggestion.Builder setCarrierId(int); method @NonNull public android.net.wifi.WifiNetworkSuggestion.Builder setOemPaid(boolean); method @NonNull public android.net.wifi.WifiNetworkSuggestion.Builder setOemPrivate(boolean); } public class WifiScanner { method @Deprecated public void configureWifiChange(int, int, int, int, int, android.net.wifi.WifiScanner.BssidInfo[]); method @Deprecated public void configureWifiChange(android.net.wifi.WifiScanner.WifiChangeSettings); method @NonNull @RequiresPermission(android.Manifest.permission.NEARBY_WIFI_DEVICES) public java.util.List getAvailableChannels(int); method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public boolean getScanResults(); method @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public java.util.List getSingleScanResults(); method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public boolean isScanning(); method @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.NETWORK_STACK}) public void registerScanListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiScanner.ScanListener); method @RequiresPermission(android.Manifest.permission.NETWORK_STACK) public void setScanningEnabled(boolean); method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void startBackgroundScan(android.net.wifi.WifiScanner.ScanSettings, android.net.wifi.WifiScanner.ScanListener); method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void startBackgroundScan(android.net.wifi.WifiScanner.ScanSettings, android.net.wifi.WifiScanner.ScanListener, android.os.WorkSource); method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void startScan(android.net.wifi.WifiScanner.ScanSettings, android.net.wifi.WifiScanner.ScanListener); method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void startScan(android.net.wifi.WifiScanner.ScanSettings, android.net.wifi.WifiScanner.ScanListener, android.os.WorkSource); method @Deprecated public void startTrackingBssids(android.net.wifi.WifiScanner.BssidInfo[], int, android.net.wifi.WifiScanner.BssidListener); method @Deprecated public void startTrackingWifiChange(android.net.wifi.WifiScanner.WifiChangeListener); method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void stopBackgroundScan(android.net.wifi.WifiScanner.ScanListener); method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void stopScan(android.net.wifi.WifiScanner.ScanListener); method @Deprecated public void stopTrackingBssids(android.net.wifi.WifiScanner.BssidListener); method @Deprecated public void stopTrackingWifiChange(android.net.wifi.WifiScanner.WifiChangeListener); method public void unregisterScanListener(@NonNull android.net.wifi.WifiScanner.ScanListener); field public static final int MAX_SCAN_PERIOD_MS = 1024000; // 0xfa000 field public static final int MIN_SCAN_PERIOD_MS = 1000; // 0x3e8 field public static final int REASON_ABORT = -7; // 0xfffffff9 field public static final int REASON_BUSY = -6; // 0xfffffffa field public static final int REASON_DUPLICATE_REQEUST = -5; // 0xfffffffb field public static final int REASON_INVALID_ARGS = -9; // 0xfffffff7 field public static final int REASON_INVALID_LISTENER = -2; // 0xfffffffe field public static final int REASON_INVALID_REQUEST = -3; // 0xfffffffd field public static final int REASON_NOT_AUTHORIZED = -4; // 0xfffffffc field public static final int REASON_NO_DEVICE = -8; // 0xfffffff8 field public static final int REASON_SUCCEEDED = 0; // 0x0 field public static final int REASON_TIMEOUT = -10; // 0xfffffff6 field public static final int REASON_UNSPECIFIED = -1; // 0xffffffff field @Deprecated public static final int REPORT_EVENT_AFTER_BUFFER_FULL = 0; // 0x0 field public static final int REPORT_EVENT_AFTER_EACH_SCAN = 1; // 0x1 field public static final int REPORT_EVENT_FULL_SCAN_RESULT = 2; // 0x2 field public static final int REPORT_EVENT_NO_BATCH = 4; // 0x4 field public static final int SCAN_TYPE_HIGH_ACCURACY = 2; // 0x2 field public static final int SCAN_TYPE_LOW_LATENCY = 0; // 0x0 field public static final int SCAN_TYPE_LOW_POWER = 1; // 0x1 field public static final int WIFI_BAND_24_5_6_GHZ = 11; // 0xb field public static final int WIFI_BAND_24_5_WITH_DFS_6_GHZ = 15; // 0xf field public static final int WIFI_BAND_24_GHZ = 1; // 0x1 field public static final int WIFI_BAND_5_GHZ = 2; // 0x2 field public static final int WIFI_BAND_5_GHZ_DFS_ONLY = 4; // 0x4 field public static final int WIFI_BAND_5_GHZ_WITH_DFS = 6; // 0x6 field public static final int WIFI_BAND_60_GHZ = 16; // 0x10 field public static final int WIFI_BAND_6_GHZ = 8; // 0x8 field public static final int WIFI_BAND_BOTH = 3; // 0x3 field public static final int WIFI_BAND_BOTH_WITH_DFS = 7; // 0x7 field public static final int WIFI_BAND_UNSPECIFIED = 0; // 0x0 field public static final int WIFI_RNR_ENABLED = 1; // 0x1 field public static final int WIFI_RNR_ENABLED_IF_WIFI_BAND_6_GHZ_SCANNED = 0; // 0x0 field public static final int WIFI_RNR_NOT_NEEDED = 2; // 0x2 } public static interface WifiScanner.ActionListener { method public void onFailure(int, String); method public void onSuccess(); } @Deprecated public static class WifiScanner.BssidInfo { ctor @Deprecated public WifiScanner.BssidInfo(); field @Deprecated public String bssid; field @Deprecated public int frequencyHint; field @Deprecated public int high; field @Deprecated public int low; } @Deprecated public static interface WifiScanner.BssidListener extends android.net.wifi.WifiScanner.ActionListener { method @Deprecated public void onFound(android.net.wifi.ScanResult[]); method @Deprecated public void onLost(android.net.wifi.ScanResult[]); } public static class WifiScanner.ChannelSpec { ctor public WifiScanner.ChannelSpec(int); field public int frequency; } @Deprecated public static class WifiScanner.HotlistSettings implements android.os.Parcelable { ctor @Deprecated public WifiScanner.HotlistSettings(); field @Deprecated public int apLostThreshold; field @Deprecated public android.net.wifi.WifiScanner.BssidInfo[] bssidInfos; } public static class WifiScanner.ParcelableScanData implements android.os.Parcelable { ctor public WifiScanner.ParcelableScanData(android.net.wifi.WifiScanner.ScanData[]); method public android.net.wifi.WifiScanner.ScanData[] getResults(); field public android.net.wifi.WifiScanner.ScanData[] mResults; } public static class WifiScanner.ParcelableScanResults implements android.os.Parcelable { ctor public WifiScanner.ParcelableScanResults(android.net.wifi.ScanResult[]); method public android.net.wifi.ScanResult[] getResults(); field public android.net.wifi.ScanResult[] mResults; } public static class WifiScanner.ScanData implements android.os.Parcelable { ctor public WifiScanner.ScanData(int, int, android.net.wifi.ScanResult[]); ctor public WifiScanner.ScanData(android.net.wifi.WifiScanner.ScanData); method public int getFlags(); method public int getId(); method public android.net.wifi.ScanResult[] getResults(); method public int getScannedBands(); } public static interface WifiScanner.ScanListener extends android.net.wifi.WifiScanner.ActionListener { method public void onFullResult(android.net.wifi.ScanResult); method @Deprecated public void onPeriodChanged(int); method public void onResults(android.net.wifi.WifiScanner.ScanData[]); } public static class WifiScanner.ScanSettings implements android.os.Parcelable { ctor public WifiScanner.ScanSettings(); method public int getRnrSetting(); method @NonNull public java.util.List getVendorIes(); method public boolean is6GhzPscOnlyEnabled(); method public void set6GhzPscOnlyEnabled(boolean); method public void setRnrSetting(int); method public void setVendorIes(@NonNull java.util.List); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public int band; field public android.net.wifi.WifiScanner.ChannelSpec[] channels; field @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_STACK) public final java.util.List hiddenNetworks; field public boolean hideFromAppOps; field public boolean ignoreLocationSettings; field @Deprecated public int maxPeriodInMs; field @Deprecated public int maxScansToCache; field @Deprecated public int numBssidsPerScan; field @Deprecated public int periodInMs; field @Deprecated public int reportEvents; field @Deprecated public int stepCount; field @RequiresPermission(android.Manifest.permission.NETWORK_STACK) public int type; } public static class WifiScanner.ScanSettings.HiddenNetwork { ctor public WifiScanner.ScanSettings.HiddenNetwork(@NonNull String); field @NonNull public final String ssid; } @Deprecated public static interface WifiScanner.WifiChangeListener extends android.net.wifi.WifiScanner.ActionListener { method @Deprecated public void onChanging(android.net.wifi.ScanResult[]); method @Deprecated public void onQuiescence(android.net.wifi.ScanResult[]); } @Deprecated public static class WifiScanner.WifiChangeSettings implements android.os.Parcelable { ctor @Deprecated public WifiScanner.WifiChangeSettings(); field @Deprecated public android.net.wifi.WifiScanner.BssidInfo[] bssidInfos; field @Deprecated public int lostApSampleSize; field @Deprecated public int minApsBreachingThreshold; field @Deprecated public int periodInMs; field @Deprecated public int rssiSampleSize; field @Deprecated public int unchangedSampleSize; } public final class WifiUsabilityStatsEntry implements android.os.Parcelable { method public int describeContents(); method public int getCellularDataNetworkType(); method public int getCellularSignalStrengthDb(); method public int getCellularSignalStrengthDbm(); method @IntRange(from=0xffffffff, to=255) public int getChannelUtilizationRatio(); method @NonNull public android.net.wifi.WifiUsabilityStatsEntry.ContentionTimeStats getContentionTimeStats(int); method @NonNull public android.net.wifi.WifiUsabilityStatsEntry.ContentionTimeStats getContentionTimeStats(int, int); method @Nullable public int[] getLinkIds(); method public int getLinkSpeedMbps(); method public int getLinkState(int); method public int getProbeElapsedTimeSinceLastUpdateMillis(); method public int getProbeMcsRateSinceLastUpdate(); method public int getProbeStatusSinceLastUpdate(); method public long getRadioId(int); method @NonNull public java.util.List getRateStats(); method @NonNull public java.util.List getRateStats(int); method public int getRssi(); method public int getRssi(int); method public int getRxLinkSpeedMbps(); method public int getRxLinkSpeedMbps(int); method @IntRange(from=0, to=100) public int getTimeSliceDutyCycleInPercent(); method @IntRange(from=0, to=100) public int getTimeSliceDutyCycleInPercent(int); method public long getTimeStampMillis(); method public long getTotalBackgroundScanTimeMillis(); method public long getTotalBeaconRx(); method public long getTotalBeaconRx(int); method public long getTotalCcaBusyFreqTimeMillis(); method public long getTotalHotspot2ScanTimeMillis(); method public long getTotalNanScanTimeMillis(); method public long getTotalPnoScanTimeMillis(); method public long getTotalRadioOnFreqTimeMillis(); method public long getTotalRadioOnTimeMillis(); method public long getTotalRadioRxTimeMillis(); method public long getTotalRadioTxTimeMillis(); method public long getTotalRoamScanTimeMillis(); method public long getTotalRxSuccess(); method public long getTotalRxSuccess(int); method public long getTotalScanTimeMillis(); method public long getTotalTxBad(); method public long getTotalTxBad(int); method public long getTotalTxRetries(); method public long getTotalTxRetries(int); method public long getTotalTxSuccess(); method public long getTotalTxSuccess(int); method public int getTxLinkSpeedMbps(int); method @NonNull public java.util.List getWifiLinkLayerRadioStats(); method public boolean isCellularDataAvailable(); method public boolean isSameRegisteredCell(); method public boolean isThroughputSufficient(); method public boolean isWifiScoringEnabled(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int LINK_STATE_IN_USE = 2; // 0x2 field public static final int LINK_STATE_NOT_IN_USE = 1; // 0x1 field public static final int LINK_STATE_UNKNOWN = 0; // 0x0 field public static final int NUM_WME_ACCESS_CATEGORIES = 4; // 0x4 field public static final int PROBE_STATUS_FAILURE = 3; // 0x3 field public static final int PROBE_STATUS_NO_PROBE = 1; // 0x1 field public static final int PROBE_STATUS_SUCCESS = 2; // 0x2 field public static final int PROBE_STATUS_UNKNOWN = 0; // 0x0 field public static final int WIFI_BANDWIDTH_10_MHZ = 6; // 0x6 field public static final int WIFI_BANDWIDTH_160_MHZ = 3; // 0x3 field public static final int WIFI_BANDWIDTH_20_MHZ = 0; // 0x0 field public static final int WIFI_BANDWIDTH_320_MHZ = 7; // 0x7 field public static final int WIFI_BANDWIDTH_40_MHZ = 1; // 0x1 field public static final int WIFI_BANDWIDTH_5_MHZ = 5; // 0x5 field public static final int WIFI_BANDWIDTH_80P80_MHZ = 4; // 0x4 field public static final int WIFI_BANDWIDTH_80_MHZ = 2; // 0x2 field public static final int WIFI_BANDWIDTH_INVALID = -1; // 0xffffffff field public static final int WIFI_PREAMBLE_CCK = 1; // 0x1 field public static final int WIFI_PREAMBLE_EHT = 6; // 0x6 field public static final int WIFI_PREAMBLE_HE = 5; // 0x5 field public static final int WIFI_PREAMBLE_HT = 2; // 0x2 field public static final int WIFI_PREAMBLE_INVALID = -1; // 0xffffffff field public static final int WIFI_PREAMBLE_OFDM = 0; // 0x0 field public static final int WIFI_PREAMBLE_VHT = 3; // 0x3 field public static final int WIFI_SPATIAL_STREAMS_FOUR = 4; // 0x4 field public static final int WIFI_SPATIAL_STREAMS_INVALID = -1; // 0xffffffff field public static final int WIFI_SPATIAL_STREAMS_ONE = 1; // 0x1 field public static final int WIFI_SPATIAL_STREAMS_THREE = 3; // 0x3 field public static final int WIFI_SPATIAL_STREAMS_TWO = 2; // 0x2 field public static final int WME_ACCESS_CATEGORY_BE = 0; // 0x0 field public static final int WME_ACCESS_CATEGORY_BK = 1; // 0x1 field public static final int WME_ACCESS_CATEGORY_VI = 2; // 0x2 field public static final int WME_ACCESS_CATEGORY_VO = 3; // 0x3 } public static final class WifiUsabilityStatsEntry.ContentionTimeStats implements android.os.Parcelable { ctor public WifiUsabilityStatsEntry.ContentionTimeStats(long, long, long, long); method public int describeContents(); method public long getContentionNumSamples(); method public long getContentionTimeAvgMicros(); method public long getContentionTimeMaxMicros(); method public long getContentionTimeMinMicros(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class WifiUsabilityStatsEntry.RadioStats implements android.os.Parcelable { ctor public WifiUsabilityStatsEntry.RadioStats(int, long, long, long, long, long, long, long, long, long); method public int describeContents(); method public long getRadioId(); method public long getTotalBackgroundScanTimeMillis(); method public long getTotalHotspot2ScanTimeMillis(); method public long getTotalNanScanTimeMillis(); method public long getTotalPnoScanTimeMillis(); method public long getTotalRadioOnTimeMillis(); method public long getTotalRadioRxTimeMillis(); method public long getTotalRadioTxTimeMillis(); method public long getTotalRoamScanTimeMillis(); method public long getTotalScanTimeMillis(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class WifiUsabilityStatsEntry.RateStats implements android.os.Parcelable { ctor public WifiUsabilityStatsEntry.RateStats(int, int, int, int, int, int, int, int, int); method public int describeContents(); method public int getBandwidthInMhz(); method public int getBitRateInKbps(); method public int getMpduLost(); method public int getNumberOfSpatialStreams(); method public int getPreamble(); method public int getRateMcsIdx(); method public int getRetries(); method public int getRxMpdu(); method public int getTxMpdu(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.net.wifi.aware { public final class AwareParams implements android.os.Parcelable { ctor public AwareParams(); method public int describeContents(); method public int getDiscoveryBeaconIntervalMillis(); method public int getDiscoveryWindowWakeInterval24Ghz(); method public int getDiscoveryWindowWakeInterval5Ghz(); method public int getMacRandomizationIntervalSeconds(); method public int getNumSpatialStreamsInDiscovery(); method public boolean isDwEarlyTerminationEnabled(); method public void setDiscoveryBeaconIntervalMillis(@IntRange(from=1) int); method public void setDiscoveryWindowWakeInterval24Ghz(@IntRange(from=1, to=5) int); method public void setDiscoveryWindowWakeInterval5Ghz(@IntRange(from=0, to=5) int); method public void setDwEarlyTerminationEnabled(boolean); method public void setMacRandomizationIntervalSeconds(@IntRange(from=1, to=1800) int); method public void setNumSpatialStreamsInDiscovery(@IntRange(from=1) int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int UNSET_PARAMETER = -1; // 0xffffffff } public class DiscoverySession implements java.lang.AutoCloseable { method @Deprecated public android.net.NetworkSpecifier createNetworkSpecifierPmk(@NonNull android.net.wifi.aware.PeerHandle, @NonNull byte[]); method @RequiresPermission(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION) public void resume(); method @RequiresPermission(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION) public void suspend(); } public class DiscoverySessionCallback { method public void onSessionResumeFailed(int); method public void onSessionResumeSucceeded(); method public void onSessionSuspendFailed(int); method public void onSessionSuspendSucceeded(); } public final class PublishConfig implements android.os.Parcelable { method public boolean isSuspendable(); } public static final class PublishConfig.Builder { method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION) public android.net.wifi.aware.PublishConfig.Builder setSuspendable(boolean); } public final class SubscribeConfig implements android.os.Parcelable { method public boolean isSuspendable(); } public static final class SubscribeConfig.Builder { method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION) public android.net.wifi.aware.SubscribeConfig.Builder setSuspendable(boolean); } public class WifiAwareManager { method @RequiresPermission(allOf={android.Manifest.permission.ACCESS_WIFI_STATE, android.Manifest.permission.CHANGE_WIFI_STATE, android.Manifest.permission.OVERRIDE_WIFI_CONFIG}) public void attachOffload(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.aware.AttachCallback); method @RequiresPermission(allOf={android.Manifest.permission.CHANGE_WIFI_STATE, android.Manifest.permission.OVERRIDE_WIFI_CONFIG}) public void enableInstantCommunicationMode(boolean); method @RequiresPermission(allOf={android.Manifest.permission.OVERRIDE_WIFI_CONFIG, android.Manifest.permission.CHANGE_WIFI_STATE}) public void setAwareParams(@Nullable android.net.wifi.aware.AwareParams); field public static final int WIFI_AWARE_RESUME_INTERNAL_ERROR = 2; // 0x2 field public static final int WIFI_AWARE_RESUME_INVALID_SESSION = 1; // 0x1 field public static final int WIFI_AWARE_RESUME_REDUNDANT_REQUEST = 0; // 0x0 field public static final int WIFI_AWARE_SUSPEND_CANNOT_SUSPEND = 2; // 0x2 field public static final int WIFI_AWARE_SUSPEND_INTERNAL_ERROR = 3; // 0x3 field public static final int WIFI_AWARE_SUSPEND_INVALID_SESSION = 1; // 0x1 field public static final int WIFI_AWARE_SUSPEND_REDUNDANT_REQUEST = 0; // 0x0 } public class WifiAwareSession implements java.lang.AutoCloseable { method @Deprecated public android.net.NetworkSpecifier createNetworkSpecifierPmk(int, @NonNull byte[], @NonNull byte[]); method @RequiresPermission(android.Manifest.permission.OVERRIDE_WIFI_CONFIG) public void getMasterPreference(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.OVERRIDE_WIFI_CONFIG) public void setMasterPreference(@IntRange(from=0, to=254) int); } } package android.net.wifi.hotspot2 { public final class OsuProvider implements android.os.Parcelable { method public int describeContents(); method @Nullable public String getFriendlyName(); method @Nullable public android.net.Uri getServerUri(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class PasspointConfiguration implements android.os.Parcelable { method public int getMeteredOverride(); method public boolean isAutojoinEnabled(); method public boolean isMacRandomizationEnabled(); } public abstract class ProvisioningCallback { ctor public ProvisioningCallback(); method public abstract void onProvisioningComplete(); method public abstract void onProvisioningFailure(int); method public abstract void onProvisioningStatus(int); field public static final int OSU_FAILURE_ADD_PASSPOINT_CONFIGURATION = 22; // 0x16 field public static final int OSU_FAILURE_AP_CONNECTION = 1; // 0x1 field public static final int OSU_FAILURE_INVALID_URL_FORMAT_FOR_OSU = 8; // 0x8 field public static final int OSU_FAILURE_NO_AAA_SERVER_TRUST_ROOT_NODE = 17; // 0x11 field public static final int OSU_FAILURE_NO_AAA_TRUST_ROOT_CERTIFICATE = 21; // 0x15 field public static final int OSU_FAILURE_NO_OSU_ACTIVITY_FOUND = 14; // 0xe field public static final int OSU_FAILURE_NO_POLICY_SERVER_TRUST_ROOT_NODE = 19; // 0x13 field public static final int OSU_FAILURE_NO_PPS_MO = 16; // 0x10 field public static final int OSU_FAILURE_NO_REMEDIATION_SERVER_TRUST_ROOT_NODE = 18; // 0x12 field public static final int OSU_FAILURE_OSU_PROVIDER_NOT_FOUND = 23; // 0x17 field public static final int OSU_FAILURE_PROVISIONING_ABORTED = 6; // 0x6 field public static final int OSU_FAILURE_PROVISIONING_NOT_AVAILABLE = 7; // 0x7 field public static final int OSU_FAILURE_RETRIEVE_TRUST_ROOT_CERTIFICATES = 20; // 0x14 field public static final int OSU_FAILURE_SERVER_CONNECTION = 3; // 0x3 field public static final int OSU_FAILURE_SERVER_URL_INVALID = 2; // 0x2 field public static final int OSU_FAILURE_SERVER_VALIDATION = 4; // 0x4 field public static final int OSU_FAILURE_SERVICE_PROVIDER_VERIFICATION = 5; // 0x5 field public static final int OSU_FAILURE_SOAP_MESSAGE_EXCHANGE = 11; // 0xb field public static final int OSU_FAILURE_START_REDIRECT_LISTENER = 12; // 0xc field public static final int OSU_FAILURE_TIMED_OUT_REDIRECT_LISTENER = 13; // 0xd field public static final int OSU_FAILURE_UNEXPECTED_COMMAND_TYPE = 9; // 0x9 field public static final int OSU_FAILURE_UNEXPECTED_SOAP_MESSAGE_STATUS = 15; // 0xf field public static final int OSU_FAILURE_UNEXPECTED_SOAP_MESSAGE_TYPE = 10; // 0xa field public static final int OSU_STATUS_AP_CONNECTED = 2; // 0x2 field public static final int OSU_STATUS_AP_CONNECTING = 1; // 0x1 field public static final int OSU_STATUS_INIT_SOAP_EXCHANGE = 6; // 0x6 field public static final int OSU_STATUS_REDIRECT_RESPONSE_RECEIVED = 8; // 0x8 field public static final int OSU_STATUS_RETRIEVING_TRUST_ROOT_CERTS = 11; // 0xb field public static final int OSU_STATUS_SECOND_SOAP_EXCHANGE = 9; // 0x9 field public static final int OSU_STATUS_SERVER_CONNECTED = 5; // 0x5 field public static final int OSU_STATUS_SERVER_CONNECTING = 3; // 0x3 field public static final int OSU_STATUS_SERVER_VALIDATED = 4; // 0x4 field public static final int OSU_STATUS_THIRD_SOAP_EXCHANGE = 10; // 0xa field public static final int OSU_STATUS_WAITING_FOR_REDIRECT_RESPONSE = 7; // 0x7 } } package android.net.wifi.nl80211 { public final class DeviceWiphyCapabilities implements android.os.Parcelable { ctor public DeviceWiphyCapabilities(); method public int describeContents(); method public int getMaxNumberRxSpatialStreams(); method public int getMaxNumberTxSpatialStreams(); method public boolean isChannelWidthSupported(int); method public boolean isWifiStandardSupported(int); method public void setWifiStandardSupport(int, boolean); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class NativeScanResult implements android.os.Parcelable { ctor public NativeScanResult(); method public int describeContents(); method @Nullable public android.net.MacAddress getBssid(); method public int getCapabilities(); method public int getFrequencyMhz(); method @NonNull public byte[] getInformationElements(); method @NonNull public java.util.List getRadioChainInfos(); method public int getSignalMbm(); method @NonNull public byte[] getSsid(); method public long getTsf(); method public boolean isAssociated(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int BSS_CAPABILITY_APSD = 2048; // 0x800 field public static final int BSS_CAPABILITY_CF_POLLABLE = 4; // 0x4 field public static final int BSS_CAPABILITY_CF_POLL_REQUEST = 8; // 0x8 field public static final int BSS_CAPABILITY_CHANNEL_AGILITY = 128; // 0x80 field public static final int BSS_CAPABILITY_DELAYED_BLOCK_ACK = 16384; // 0x4000 field public static final int BSS_CAPABILITY_DMG_ESS = 3; // 0x3 field public static final int BSS_CAPABILITY_DMG_IBSS = 1; // 0x1 field public static final int BSS_CAPABILITY_DSSS_OFDM = 8192; // 0x2000 field public static final int BSS_CAPABILITY_ESS = 1; // 0x1 field public static final int BSS_CAPABILITY_IBSS = 2; // 0x2 field public static final int BSS_CAPABILITY_IMMEDIATE_BLOCK_ACK = 32768; // 0x8000 field public static final int BSS_CAPABILITY_PBCC = 64; // 0x40 field public static final int BSS_CAPABILITY_PRIVACY = 16; // 0x10 field public static final int BSS_CAPABILITY_QOS = 512; // 0x200 field public static final int BSS_CAPABILITY_RADIO_MANAGEMENT = 4096; // 0x1000 field public static final int BSS_CAPABILITY_SHORT_PREAMBLE = 32; // 0x20 field public static final int BSS_CAPABILITY_SHORT_SLOT_TIME = 1024; // 0x400 field public static final int BSS_CAPABILITY_SPECTRUM_MANAGEMENT = 256; // 0x100 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class NativeWifiClient implements android.os.Parcelable { ctor public NativeWifiClient(@Nullable android.net.MacAddress); method public int describeContents(); method @Nullable public android.net.MacAddress getMacAddress(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class PnoNetwork implements android.os.Parcelable { ctor public PnoNetwork(); method public int describeContents(); method @NonNull public int[] getFrequenciesMhz(); method @NonNull public byte[] getSsid(); method public boolean isHidden(); method public void setFrequenciesMhz(@NonNull int[]); method public void setHidden(boolean); method public void setSsid(@NonNull byte[]); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class PnoSettings implements android.os.Parcelable { ctor public PnoSettings(); method public int describeContents(); method public long getIntervalMillis(); method public int getMin2gRssiDbm(); method public int getMin5gRssiDbm(); method public int getMin6gRssiDbm(); method @NonNull public java.util.List getPnoNetworks(); method public int getScanIntervalMultiplier(); method public int getScanIterations(); method public void setIntervalMillis(long); method public void setMin2gRssiDbm(int); method public void setMin5gRssiDbm(int); method public void setMin6gRssiDbm(int); method public void setPnoNetworks(@NonNull java.util.List); method public void setScanIntervalMultiplier(int); method public void setScanIterations(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class RadioChainInfo implements android.os.Parcelable { ctor public RadioChainInfo(int, int); method public int describeContents(); method public int getChainId(); method public int getLevelDbm(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class WifiNl80211Manager { ctor public WifiNl80211Manager(@NonNull android.content.Context, @NonNull android.os.IBinder); method public void abortScan(@NonNull String); method public void enableVerboseLogging(boolean); method @NonNull public int[] getChannelsMhzForBand(int); method @Nullable public android.net.wifi.nl80211.DeviceWiphyCapabilities getDeviceWiphyCapabilities(@NonNull String); method public int getMaxSsidsPerScan(@NonNull String); method @NonNull public java.util.List getScanResults(@NonNull String, int); method @Nullable public android.net.wifi.nl80211.WifiNl80211Manager.TxPacketCounters getTxPacketCounters(@NonNull String); method public void notifyCountryCodeChanged(@Nullable String); method @Nullable public static android.net.wifi.nl80211.WifiNl80211Manager.OemSecurityType parseOemSecurityTypeElement(int, int, @NonNull byte[]); method @Deprecated public boolean registerApCallback(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.SoftApCallback); method public boolean registerCountryCodeChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.CountryCodeChangedListener); method public void sendMgmtFrame(@NonNull String, @NonNull byte[], int, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.SendMgmtFrameCallback); method public void setOnServiceDeadCallback(@NonNull Runnable); method public boolean setupInterfaceForClientMode(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.ScanEventCallback, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.ScanEventCallback); method public boolean setupInterfaceForSoftApMode(@NonNull String); method @Deprecated @Nullable public android.net.wifi.nl80211.WifiNl80211Manager.SignalPollResult signalPoll(@NonNull String); method public boolean startPnoScan(@NonNull String, @NonNull android.net.wifi.nl80211.PnoSettings, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.PnoScanRequestCallback); method @Deprecated public boolean startScan(@NonNull String, int, @Nullable java.util.Set, @Nullable java.util.List); method @Deprecated public boolean startScan(@NonNull String, int, @Nullable java.util.Set, @Nullable java.util.List, @Nullable android.os.Bundle); method public int startScan2(@NonNull String, int, @Nullable java.util.Set, @Nullable java.util.List, @Nullable android.os.Bundle); method public boolean stopPnoScan(@NonNull String); method public boolean tearDownClientInterface(@NonNull String); method public boolean tearDownInterfaces(); method public boolean tearDownSoftApInterface(@NonNull String); method public void unregisterCountryCodeChangedListener(@NonNull android.net.wifi.nl80211.WifiNl80211Manager.CountryCodeChangedListener); field public static final String EXTRA_SCANNING_PARAM_VENDOR_IES = "android.net.wifi.nl80211.extra.SCANNING_PARAM_VENDOR_IES"; field public static final String SCANNING_PARAM_ENABLE_6GHZ_RNR = "android.net.wifi.nl80211.SCANNING_PARAM_ENABLE_6GHZ_RNR"; field public static final int SCAN_TYPE_PNO_SCAN = 1; // 0x1 field public static final int SCAN_TYPE_SINGLE_SCAN = 0; // 0x0 field public static final int SEND_MGMT_FRAME_ERROR_ALREADY_STARTED = 5; // 0x5 field public static final int SEND_MGMT_FRAME_ERROR_MCS_UNSUPPORTED = 2; // 0x2 field public static final int SEND_MGMT_FRAME_ERROR_NO_ACK = 3; // 0x3 field public static final int SEND_MGMT_FRAME_ERROR_TIMEOUT = 4; // 0x4 field public static final int SEND_MGMT_FRAME_ERROR_UNKNOWN = 1; // 0x1 } public static interface WifiNl80211Manager.CountryCodeChangedListener { method public void onCountryCodeChanged(@NonNull String); } public static class WifiNl80211Manager.OemSecurityType { ctor public WifiNl80211Manager.OemSecurityType(int, @NonNull java.util.List, @NonNull java.util.List, int); field public final int groupCipher; field @NonNull public final java.util.List keyManagement; field @NonNull public final java.util.List pairwiseCipher; field public final int protocol; } public static interface WifiNl80211Manager.PnoScanRequestCallback { method public void onPnoRequestFailed(); method public void onPnoRequestSucceeded(); } public static interface WifiNl80211Manager.ScanEventCallback { method @Deprecated public void onScanFailed(); method public default void onScanFailed(int); method public void onScanResultReady(); } public static interface WifiNl80211Manager.SendMgmtFrameCallback { method public void onAck(int); method public void onFailure(int); } @Deprecated public static class WifiNl80211Manager.SignalPollResult { field @Deprecated public final int associationFrequencyMHz; field @Deprecated public final int currentRssiDbm; field @Deprecated public final int rxBitrateMbps; field @Deprecated public final int txBitrateMbps; } @Deprecated public static interface WifiNl80211Manager.SoftApCallback { method @Deprecated public void onConnectedClientsChanged(@NonNull android.net.wifi.nl80211.NativeWifiClient, boolean); method @Deprecated public void onFailure(); method @Deprecated public void onSoftApChannelSwitched(int, int); } public static class WifiNl80211Manager.TxPacketCounters { field public final int txPacketFailed; field public final int txPacketSucceeded; } } package android.net.wifi.p2p { public class WifiP2pConfig implements android.os.Parcelable { method public boolean isJoinExistingGroup(); } public static final class WifiP2pConfig.Builder { method @NonNull public android.net.wifi.p2p.WifiP2pConfig.Builder setJoinExistingGroup(boolean); } public final class WifiP2pGroupList implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getGroupList(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class WifiP2pManager { method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.OVERRIDE_WIFI_CONFIG}) public void deletePersistentGroup(@NonNull android.net.wifi.p2p.WifiP2pManager.Channel, int, @Nullable android.net.wifi.p2p.WifiP2pManager.ActionListener); method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void factoryReset(@NonNull android.net.wifi.p2p.WifiP2pManager.Channel, @Nullable android.net.wifi.p2p.WifiP2pManager.ActionListener); method @RequiresPermission(allOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.READ_WIFI_CREDENTIAL, android.Manifest.permission.NEARBY_WIFI_DEVICES, android.Manifest.permission.ACCESS_FINE_LOCATION}, conditional=true) public void requestPersistentGroupInfo(@NonNull android.net.wifi.p2p.WifiP2pManager.Channel, @Nullable android.net.wifi.p2p.WifiP2pManager.PersistentGroupInfoListener); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.OVERRIDE_WIFI_CONFIG}) public void setDeviceName(@NonNull android.net.wifi.p2p.WifiP2pManager.Channel, @NonNull String, @Nullable android.net.wifi.p2p.WifiP2pManager.ActionListener); method @RequiresPermission(android.Manifest.permission.CONFIGURE_WIFI_DISPLAY) public void setMiracastMode(int); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.OVERRIDE_WIFI_CONFIG}) public void setWifiP2pChannels(@NonNull android.net.wifi.p2p.WifiP2pManager.Channel, int, int, @Nullable android.net.wifi.p2p.WifiP2pManager.ActionListener); field public static final String ACTION_WIFI_P2P_PERSISTENT_GROUPS_CHANGED = "android.net.wifi.p2p.action.WIFI_P2P_PERSISTENT_GROUPS_CHANGED"; field public static final int MIRACAST_DISABLED = 0; // 0x0 field public static final int MIRACAST_SINK = 2; // 0x2 field public static final int MIRACAST_SOURCE = 1; // 0x1 } public static interface WifiP2pManager.PersistentGroupInfoListener { method public void onPersistentGroupInfoAvailable(@NonNull android.net.wifi.p2p.WifiP2pGroupList); } } package android.net.wifi.rtt { public final class RangingRequest implements android.os.Parcelable { method @NonNull public java.util.List getRttResponders(); } public final class RangingResult implements android.os.Parcelable { method @NonNull public byte[] getLci(); method @NonNull public byte[] getLcr(); } public final class ResponderConfig implements android.os.Parcelable { ctor public ResponderConfig(@NonNull android.net.MacAddress, int, boolean, int, int, int, int, int); ctor public ResponderConfig(@NonNull android.net.wifi.aware.PeerHandle, int, boolean, int, int, int, int, int); method @NonNull public static android.net.wifi.rtt.ResponderConfig fromWifiAwarePeerHandleWithDefaults(@NonNull android.net.wifi.aware.PeerHandle); method @NonNull public static android.net.wifi.rtt.ResponderConfig fromWifiAwarePeerMacAddressWithDefaults(@NonNull android.net.MacAddress); field public static final int CHANNEL_WIDTH_160MHZ = 3; // 0x3 field public static final int CHANNEL_WIDTH_20MHZ = 0; // 0x0 field public static final int CHANNEL_WIDTH_320MHZ = 5; // 0x5 field public static final int CHANNEL_WIDTH_40MHZ = 1; // 0x1 field public static final int CHANNEL_WIDTH_80MHZ = 2; // 0x2 field public static final int CHANNEL_WIDTH_80MHZ_PLUS_MHZ = 4; // 0x4 field public static final int PREAMBLE_EHT = 4; // 0x4 field public static final int PREAMBLE_HE = 3; // 0x3 field public static final int PREAMBLE_HT = 1; // 0x1 field public static final int PREAMBLE_LEGACY = 0; // 0x0 field public static final int PREAMBLE_VHT = 2; // 0x2 field public static final int RESPONDER_AWARE = 4; // 0x4 field public static final int RESPONDER_P2P_CLIENT = 3; // 0x3 field public static final int RESPONDER_P2P_GO = 2; // 0x2 field public final int centerFreq0; field public final int centerFreq1; field public final int channelWidth; field public final int frequency; field @Nullable public final android.net.MacAddress macAddress; field @Nullable public final android.net.wifi.aware.PeerHandle peerHandle; field public final int preamble; field public final int responderType; field public final boolean supports80211mc; } public final class ResponderLocation implements android.os.Parcelable { method public boolean getExtraInfoOnAssociationIndication(); } public class WifiRttManager { method @RequiresPermission(allOf={android.Manifest.permission.LOCATION_HARDWARE}) public void cancelRanging(@Nullable android.os.WorkSource); method @RequiresPermission(allOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.CHANGE_WIFI_STATE, android.Manifest.permission.ACCESS_WIFI_STATE, android.Manifest.permission.NEARBY_WIFI_DEVICES}, conditional=true) public void startRanging(@Nullable android.os.WorkSource, @NonNull android.net.wifi.rtt.RangingRequest, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.rtt.RangingResultCallback); } } package android.net.wifi.sharedconnectivity.app { public final class HotspotNetwork implements android.os.Parcelable { method public int describeContents(); method public long getDeviceId(); method @NonNull public android.os.Bundle getExtras(); method public int getHostNetworkType(); method @Nullable public String getHotspotBssid(); method @NonNull public java.util.Set getHotspotSecurityTypes(); method @Nullable public String getHotspotSsid(); method @NonNull public String getNetworkName(); method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo getNetworkProviderInfo(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int NETWORK_TYPE_CELLULAR = 1; // 0x1 field public static final int NETWORK_TYPE_ETHERNET = 3; // 0x3 field public static final int NETWORK_TYPE_UNKNOWN = 0; // 0x0 field public static final int NETWORK_TYPE_WIFI = 2; // 0x2 } public static final class HotspotNetwork.Builder { ctor public HotspotNetwork.Builder(); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder addHotspotSecurityType(int); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork build(); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setDeviceId(long); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setExtras(@NonNull android.os.Bundle); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setHostNetworkType(int); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setHotspotBssid(@NonNull String); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setHotspotSsid(@NonNull String); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setNetworkName(@NonNull String); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setNetworkProviderInfo(@NonNull android.net.wifi.sharedconnectivity.app.NetworkProviderInfo); } public final class HotspotNetworkConnectionStatus implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.os.Bundle getExtras(); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork getHotspotNetwork(); method public int getStatus(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int CONNECTION_STATUS_CONNECT_TO_HOTSPOT_FAILED = 9; // 0x9 field public static final int CONNECTION_STATUS_ENABLING_HOTSPOT = 1; // 0x1 field public static final int CONNECTION_STATUS_ENABLING_HOTSPOT_FAILED = 7; // 0x7 field public static final int CONNECTION_STATUS_ENABLING_HOTSPOT_TIMEOUT = 8; // 0x8 field public static final int CONNECTION_STATUS_NO_CELL_DATA = 6; // 0x6 field public static final int CONNECTION_STATUS_PROVISIONING_FAILED = 3; // 0x3 field public static final int CONNECTION_STATUS_TETHERING_TIMEOUT = 4; // 0x4 field public static final int CONNECTION_STATUS_TETHERING_UNSUPPORTED = 5; // 0x5 field public static final int CONNECTION_STATUS_UNKNOWN = 0; // 0x0 field public static final int CONNECTION_STATUS_UNKNOWN_ERROR = 2; // 0x2 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class HotspotNetworkConnectionStatus.Builder { ctor public HotspotNetworkConnectionStatus.Builder(); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus build(); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus.Builder setExtras(@NonNull android.os.Bundle); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus.Builder setHotspotNetwork(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetwork); method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus.Builder setStatus(int); } public final class KnownNetwork implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.os.Bundle getExtras(); method @Nullable public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo getNetworkProviderInfo(); method public int getNetworkSource(); method @NonNull public java.util.Set getSecurityTypes(); method @NonNull public String getSsid(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int NETWORK_SOURCE_CLOUD_SELF = 2; // 0x2 field public static final int NETWORK_SOURCE_NEARBY_SELF = 1; // 0x1 field public static final int NETWORK_SOURCE_UNKNOWN = 0; // 0x0 } public static final class KnownNetwork.Builder { ctor public KnownNetwork.Builder(); method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork.Builder addSecurityType(int); method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork build(); method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork.Builder setExtras(@NonNull android.os.Bundle); method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork.Builder setNetworkProviderInfo(@Nullable android.net.wifi.sharedconnectivity.app.NetworkProviderInfo); method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork.Builder setNetworkSource(int); method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork.Builder setSsid(@NonNull String); } public final class KnownNetworkConnectionStatus implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.os.Bundle getExtras(); method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork getKnownNetwork(); method public int getStatus(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int CONNECTION_STATUS_SAVED = 1; // 0x1 field public static final int CONNECTION_STATUS_SAVE_FAILED = 2; // 0x2 field public static final int CONNECTION_STATUS_UNKNOWN = 0; // 0x0 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class KnownNetworkConnectionStatus.Builder { ctor public KnownNetworkConnectionStatus.Builder(); method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus build(); method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus.Builder setExtras(@NonNull android.os.Bundle); method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus.Builder setKnownNetwork(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetwork); method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus.Builder setStatus(int); } public final class NetworkProviderInfo implements android.os.Parcelable { method public int describeContents(); method @IntRange(from=0, to=100) public int getBatteryPercentage(); method @IntRange(from=0, to=4) public int getConnectionStrength(); method @NonNull public String getDeviceName(); method public int getDeviceType(); method @NonNull public android.os.Bundle getExtras(); method @NonNull public String getModelName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DEVICE_TYPE_AUTO = 5; // 0x5 field public static final int DEVICE_TYPE_LAPTOP = 3; // 0x3 field public static final int DEVICE_TYPE_PHONE = 1; // 0x1 field public static final int DEVICE_TYPE_TABLET = 2; // 0x2 field public static final int DEVICE_TYPE_UNKNOWN = 0; // 0x0 field public static final int DEVICE_TYPE_WATCH = 4; // 0x4 } public static final class NetworkProviderInfo.Builder { ctor public NetworkProviderInfo.Builder(@NonNull String, @NonNull String); method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo build(); method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setBatteryPercentage(@IntRange(from=0, to=100) int); method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setConnectionStrength(@IntRange(from=0, to=4) int); method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setDeviceName(@NonNull String); method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setDeviceType(int); method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setExtras(@NonNull android.os.Bundle); method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setModelName(@NonNull String); } public interface SharedConnectivityClientCallback { method public void onHotspotNetworkConnectionStatusChanged(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus); method public void onHotspotNetworksUpdated(@NonNull java.util.List); method public void onKnownNetworkConnectionStatusChanged(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus); method public void onKnownNetworksUpdated(@NonNull java.util.List); method public void onRegisterCallbackFailed(@NonNull Exception); method public void onServiceConnected(); method public void onServiceDisconnected(); method public void onSharedConnectivitySettingsChanged(@NonNull android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState); } public class SharedConnectivityManager { method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public boolean connectHotspotNetwork(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetwork); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public boolean connectKnownNetwork(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetwork); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public boolean disconnectHotspotNetwork(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetwork); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public boolean forgetKnownNetwork(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetwork); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus getHotspotNetworkConnectionStatus(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public java.util.List getHotspotNetworks(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus getKnownNetworkConnectionStatus(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public java.util.List getKnownNetworks(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState getSettingsState(); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void registerCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.sharedconnectivity.app.SharedConnectivityClientCallback); method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public boolean unregisterCallback(@NonNull android.net.wifi.sharedconnectivity.app.SharedConnectivityClientCallback); } public final class SharedConnectivitySettingsState implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.os.Bundle getExtras(); method @Nullable public android.app.PendingIntent getInstantTetherSettingsPendingIntent(); method public boolean isInstantTetherEnabled(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SharedConnectivitySettingsState.Builder { ctor public SharedConnectivitySettingsState.Builder(); method @NonNull public android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState build(); method @NonNull public android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState.Builder setExtras(@NonNull android.os.Bundle); method @NonNull public android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState.Builder setInstantTetherEnabled(boolean); method @NonNull public android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState.Builder setInstantTetherSettingsPendingIntent(@NonNull android.app.PendingIntent); } } package android.net.wifi.sharedconnectivity.service { public abstract class SharedConnectivityService extends android.app.Service { ctor public SharedConnectivityService(); method public static boolean areHotspotNetworksEnabledForService(@NonNull android.content.Context); method public static boolean areKnownNetworksEnabledForService(@NonNull android.content.Context); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method public abstract void onConnectHotspotNetwork(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetwork); method public abstract void onConnectKnownNetwork(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetwork); method public abstract void onDisconnectHotspotNetwork(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetwork); method public abstract void onForgetKnownNetwork(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetwork); method public final void setHotspotNetworks(@NonNull java.util.List); method public final void setKnownNetworks(@NonNull java.util.List); method public final void setSettingsState(@NonNull android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState); method public final void updateHotspotNetworkConnectionStatus(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus); method public final void updateKnownNetworkConnectionStatus(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus); } } package android.nfc { public final class NfcAdapter { method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean addNfcUnlockHandler(android.nfc.NfcAdapter.NfcUnlockHandler, String[]); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean disable(); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean disable(boolean); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean enable(); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean enableSecureNfc(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public java.util.Map getTagIntentAppPreferenceForUser(int); method @RequiresPermission(android.Manifest.permission.NFC_SET_CONTROLLER_ALWAYS_ON) public boolean isControllerAlwaysOn(); method @RequiresPermission(android.Manifest.permission.NFC_SET_CONTROLLER_ALWAYS_ON) public boolean isControllerAlwaysOnSupported(); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean isTagIntentAppPreferenceSupported(); method @RequiresPermission(android.Manifest.permission.NFC_SET_CONTROLLER_ALWAYS_ON) public void registerControllerAlwaysOnListener(@NonNull java.util.concurrent.Executor, @NonNull android.nfc.NfcAdapter.ControllerAlwaysOnListener); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean removeNfcUnlockHandler(android.nfc.NfcAdapter.NfcUnlockHandler); method @RequiresPermission(android.Manifest.permission.NFC_SET_CONTROLLER_ALWAYS_ON) public boolean setControllerAlwaysOn(boolean); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public int setTagIntentAppPreferenceForUser(int, @NonNull String, boolean); method @RequiresPermission(android.Manifest.permission.NFC_SET_CONTROLLER_ALWAYS_ON) public void unregisterControllerAlwaysOnListener(@NonNull android.nfc.NfcAdapter.ControllerAlwaysOnListener); field public static final int TAG_INTENT_APP_PREF_RESULT_PACKAGE_NOT_FOUND = -1; // 0xffffffff field public static final int TAG_INTENT_APP_PREF_RESULT_SUCCESS = 0; // 0x0 field public static final int TAG_INTENT_APP_PREF_RESULT_UNAVAILABLE = -2; // 0xfffffffe } public static interface NfcAdapter.ControllerAlwaysOnListener { method public void onControllerAlwaysOnChanged(boolean); } public static interface NfcAdapter.NfcUnlockHandler { method public boolean onUnlockAttempted(android.nfc.Tag); } } package android.os { public class BatteryManager { method @RequiresPermission(android.Manifest.permission.POWER_SAVER) public boolean setChargingStateUpdateDelayMillis(int); field @RequiresPermission(android.Manifest.permission.BATTERY_STATS) public static final int BATTERY_PROPERTY_CHARGING_POLICY = 9; // 0x9 field @RequiresPermission(android.Manifest.permission.BATTERY_STATS) public static final int BATTERY_PROPERTY_FIRST_USAGE_DATE = 8; // 0x8 field @RequiresPermission(android.Manifest.permission.BATTERY_STATS) public static final int BATTERY_PROPERTY_MANUFACTURING_DATE = 7; // 0x7 field @RequiresPermission(android.Manifest.permission.BATTERY_STATS) public static final int BATTERY_PROPERTY_STATE_OF_HEALTH = 10; // 0xa field public static final int CHARGING_POLICY_ADAPTIVE_AC = 3; // 0x3 field public static final int CHARGING_POLICY_ADAPTIVE_AON = 2; // 0x2 field public static final int CHARGING_POLICY_ADAPTIVE_LONGLIFE = 4; // 0x4 field public static final int CHARGING_POLICY_DEFAULT = 1; // 0x1 field public static final String EXTRA_EVENTS = "android.os.extra.EVENTS"; field public static final String EXTRA_EVENT_TIMESTAMP = "android.os.extra.EVENT_TIMESTAMP"; } public final class BatterySaverPolicyConfig implements android.os.Parcelable { method public int describeContents(); method public float getAdjustBrightnessFactor(); method public boolean getAdvertiseIsEnabled(); method public boolean getDeferFullBackup(); method public boolean getDeferKeyValueBackup(); method @NonNull public java.util.Map getDeviceSpecificSettings(); method public boolean getDisableAnimation(); method public boolean getDisableAod(); method public boolean getDisableLaunchBoost(); method public boolean getDisableOptionalSensors(); method @Deprecated public boolean getDisableSoundTrigger(); method public boolean getDisableVibration(); method public boolean getEnableAdjustBrightness(); method public boolean getEnableDataSaver(); method public boolean getEnableFirewall(); method public boolean getEnableNightMode(); method public boolean getEnableQuickDoze(); method public boolean getForceAllAppsStandby(); method public boolean getForceBackgroundCheck(); method public int getLocationMode(); method public int getSoundTriggerMode(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class BatterySaverPolicyConfig.Builder { ctor public BatterySaverPolicyConfig.Builder(); ctor public BatterySaverPolicyConfig.Builder(@NonNull android.os.BatterySaverPolicyConfig); method @NonNull public android.os.BatterySaverPolicyConfig.Builder addDeviceSpecificSetting(@NonNull String, @NonNull String); method @NonNull public android.os.BatterySaverPolicyConfig build(); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setAdjustBrightnessFactor(float); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setAdvertiseIsEnabled(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDeferFullBackup(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDeferKeyValueBackup(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableAnimation(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableAod(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableLaunchBoost(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableOptionalSensors(boolean); method @Deprecated @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableSoundTrigger(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableVibration(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableAdjustBrightness(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableDataSaver(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableFirewall(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableNightMode(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableQuickDoze(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setForceAllAppsStandby(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setForceBackgroundCheck(boolean); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setLocationMode(int); method @NonNull public android.os.BatterySaverPolicyConfig.Builder setSoundTriggerMode(int); } public final class BatteryStatsManager { method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.BATTERY_STATS, android.Manifest.permission.UPDATE_DEVICE_STATS}) public android.os.connectivity.CellularBatteryStats getCellularBatteryStats(); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.BATTERY_STATS, android.Manifest.permission.UPDATE_DEVICE_STATS}) public android.os.connectivity.WifiBatteryStats getWifiBatteryStats(); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportBleScanReset(); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportBleScanResults(@NonNull android.os.WorkSource, int); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportBleScanStarted(@NonNull android.os.WorkSource, boolean); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportBleScanStopped(@NonNull android.os.WorkSource, boolean); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public void reportBluetoothOff(int, int, @NonNull String); method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public void reportBluetoothOn(int, int, @NonNull String); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportFullWifiLockAcquiredFromSource(@NonNull android.os.WorkSource); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportFullWifiLockReleasedFromSource(@NonNull android.os.WorkSource); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportMobileRadioPowerState(boolean, int); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiBatchedScanStartedFromSource(@NonNull android.os.WorkSource, @IntRange(from=0) int); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiBatchedScanStoppedFromSource(@NonNull android.os.WorkSource); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiMulticastDisabled(@NonNull android.os.WorkSource); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiMulticastEnabled(@NonNull android.os.WorkSource); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiOff(); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiOn(); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiRadioPowerState(boolean, int); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiRssiChanged(@IntRange(from=0xffffff81, to=0) int); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiScanStartedFromSource(@NonNull android.os.WorkSource); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiScanStoppedFromSource(@NonNull android.os.WorkSource); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiState(int, @Nullable String); method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiSupplicantStateChanged(int, boolean); field public static final int WIFI_STATE_OFF = 0; // 0x0 field public static final int WIFI_STATE_OFF_SCANNING = 1; // 0x1 field public static final int WIFI_STATE_ON_CONNECTED_P2P = 5; // 0x5 field public static final int WIFI_STATE_ON_CONNECTED_STA = 4; // 0x4 field public static final int WIFI_STATE_ON_CONNECTED_STA_P2P = 6; // 0x6 field public static final int WIFI_STATE_ON_DISCONNECTED = 3; // 0x3 field public static final int WIFI_STATE_ON_NO_NETWORKS = 2; // 0x2 field public static final int WIFI_STATE_SOFT_AP = 7; // 0x7 field public static final int WIFI_SUPPL_STATE_ASSOCIATED = 7; // 0x7 field public static final int WIFI_SUPPL_STATE_ASSOCIATING = 6; // 0x6 field public static final int WIFI_SUPPL_STATE_AUTHENTICATING = 5; // 0x5 field public static final int WIFI_SUPPL_STATE_COMPLETED = 10; // 0xa field public static final int WIFI_SUPPL_STATE_DISCONNECTED = 1; // 0x1 field public static final int WIFI_SUPPL_STATE_DORMANT = 11; // 0xb field public static final int WIFI_SUPPL_STATE_FOUR_WAY_HANDSHAKE = 8; // 0x8 field public static final int WIFI_SUPPL_STATE_GROUP_HANDSHAKE = 9; // 0x9 field public static final int WIFI_SUPPL_STATE_INACTIVE = 3; // 0x3 field public static final int WIFI_SUPPL_STATE_INTERFACE_DISABLED = 2; // 0x2 field public static final int WIFI_SUPPL_STATE_INVALID = 0; // 0x0 field public static final int WIFI_SUPPL_STATE_SCANNING = 4; // 0x4 field public static final int WIFI_SUPPL_STATE_UNINITIALIZED = 12; // 0xc } public class Binder implements android.os.IBinder { method public int handleShellCommand(@NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull String[]); method public final void markVintfStability(); method public static void setProxyTransactListener(@Nullable android.os.Binder.ProxyTransactListener); } public static interface Binder.ProxyTransactListener { method public void onTransactEnded(@Nullable Object); method @Nullable public Object onTransactStarted(@NonNull android.os.IBinder, int); } public final class BugreportManager { method @RequiresPermission(android.Manifest.permission.DUMP) @WorkerThread public void preDumpUiData(); method @RequiresPermission(android.Manifest.permission.DUMP) public void requestBugreport(@NonNull android.os.BugreportParams, @Nullable CharSequence, @Nullable CharSequence); method @RequiresPermission(android.Manifest.permission.DUMP) @WorkerThread public void retrieveBugreport(@NonNull String, @NonNull android.os.ParcelFileDescriptor, @NonNull java.util.concurrent.Executor, @NonNull android.os.BugreportManager.BugreportCallback); method @RequiresPermission(android.Manifest.permission.DUMP) @WorkerThread public void startBugreport(@NonNull android.os.ParcelFileDescriptor, @Nullable android.os.ParcelFileDescriptor, @NonNull android.os.BugreportParams, @NonNull java.util.concurrent.Executor, @NonNull android.os.BugreportManager.BugreportCallback); } public abstract static class BugreportManager.BugreportCallback { method public void onFinished(@NonNull String); } public final class BugreportParams { ctor public BugreportParams(int); ctor public BugreportParams(int, int); method public int getFlags(); method public int getMode(); field public static final int BUGREPORT_FLAG_DEFER_CONSENT = 2; // 0x2 field public static final int BUGREPORT_FLAG_USE_PREDUMPED_UI_DATA = 1; // 0x1 field public static final int BUGREPORT_MODE_FULL = 0; // 0x0 field public static final int BUGREPORT_MODE_INTERACTIVE = 1; // 0x1 field public static final int BUGREPORT_MODE_REMOTE = 2; // 0x2 field public static final int BUGREPORT_MODE_TELEPHONY = 4; // 0x4 field public static final int BUGREPORT_MODE_WEAR = 3; // 0x3 field public static final int BUGREPORT_MODE_WIFI = 5; // 0x5 } public static class Build.VERSION { field @NonNull public static final java.util.Set KNOWN_CODENAMES; field @NonNull public static final String PREVIEW_SDK_FINGERPRINT; } public final class ConfigUpdate { field public static final String ACTION_UPDATE_CARRIER_ID_DB = "android.os.action.UPDATE_CARRIER_ID_DB"; field public static final String ACTION_UPDATE_CARRIER_PROVISIONING_URLS = "android.intent.action.UPDATE_CARRIER_PROVISIONING_URLS"; field public static final String ACTION_UPDATE_CONVERSATION_ACTIONS = "android.intent.action.UPDATE_CONVERSATION_ACTIONS"; field public static final String ACTION_UPDATE_CT_LOGS = "android.intent.action.UPDATE_CT_LOGS"; field public static final String ACTION_UPDATE_EMERGENCY_NUMBER_DB = "android.os.action.UPDATE_EMERGENCY_NUMBER_DB"; field public static final String ACTION_UPDATE_INTENT_FIREWALL = "android.intent.action.UPDATE_INTENT_FIREWALL"; field public static final String ACTION_UPDATE_LANG_ID = "android.intent.action.UPDATE_LANG_ID"; field public static final String ACTION_UPDATE_NETWORK_WATCHLIST = "android.intent.action.UPDATE_NETWORK_WATCHLIST"; field public static final String ACTION_UPDATE_PINS = "android.intent.action.UPDATE_PINS"; field public static final String ACTION_UPDATE_SMART_SELECTION = "android.intent.action.UPDATE_SMART_SELECTION"; field public static final String ACTION_UPDATE_SMS_SHORT_CODES = "android.intent.action.UPDATE_SMS_SHORT_CODES"; field public static final String EXTRA_REQUIRED_HASH = "android.os.extra.REQUIRED_HASH"; field public static final String EXTRA_VERSION = "android.os.extra.VERSION"; } public class DeviceIdleManager { method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void endIdle(@NonNull String); } public class Environment { method @NonNull public static java.io.File getDataCePackageDirectoryForUser(@NonNull java.util.UUID, @NonNull android.os.UserHandle, @NonNull String); method @NonNull public static java.io.File getDataDePackageDirectoryForUser(@NonNull java.util.UUID, @NonNull android.os.UserHandle, @NonNull String); method @NonNull public static java.util.Collection getInternalMediaDirectories(); method @NonNull public static java.io.File getOdmDirectory(); method @NonNull public static java.io.File getOemDirectory(); method @NonNull public static java.io.File getProductDirectory(); method @Deprecated @NonNull public static java.io.File getProductServicesDirectory(); method @NonNull public static java.io.File getSystemExtDirectory(); method @NonNull public static java.io.File getVendorDirectory(); } public class HidlMemory implements java.io.Closeable { ctor public HidlMemory(@NonNull String, @IntRange(from=0) long, @Nullable android.os.NativeHandle); method public void close() throws java.io.IOException; method @NonNull public android.os.HidlMemory dup() throws java.io.IOException; method protected void finalize(); method @Nullable public android.os.NativeHandle getHandle(); method @NonNull public String getName(); method public long getSize(); method @Nullable public android.os.NativeHandle releaseHandle(); } public class HidlSupport { method public static boolean deepEquals(Object, Object); method public static int deepHashCode(Object); method public static int getPidIfSharable(); method public static boolean interfacesEqual(android.os.IHwInterface, Object); } public abstract class HwBinder implements android.os.IHwBinder { ctor public HwBinder(); method public static final void configureRpcThreadpool(long, boolean); method public static void enableInstrumentation(); method public static final android.os.IHwBinder getService(String, String) throws java.util.NoSuchElementException, android.os.RemoteException; method public static final android.os.IHwBinder getService(String, String, boolean) throws java.util.NoSuchElementException, android.os.RemoteException; method public static final void joinRpcThreadpool(); method public abstract void onTransact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException; method public final void registerService(String) throws android.os.RemoteException; method public final void transact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException; } public class HwBlob { ctor public HwBlob(int); method public final void copyToBoolArray(long, boolean[], int); method public final void copyToDoubleArray(long, double[], int); method public final void copyToFloatArray(long, float[], int); method public final void copyToInt16Array(long, short[], int); method public final void copyToInt32Array(long, int[], int); method public final void copyToInt64Array(long, long[], int); method public final void copyToInt8Array(long, byte[], int); method public final boolean getBool(long); method public final double getDouble(long); method public final long getFieldHandle(long); method public final float getFloat(long); method public final short getInt16(long); method public final int getInt32(long); method public final long getInt64(long); method public final byte getInt8(long); method public final String getString(long); method public final long handle(); method public final void putBlob(long, android.os.HwBlob); method public final void putBool(long, boolean); method public final void putBoolArray(long, boolean[]); method public final void putDouble(long, double); method public final void putDoubleArray(long, double[]); method public final void putFloat(long, float); method public final void putFloatArray(long, float[]); method public final void putHidlMemory(long, @NonNull android.os.HidlMemory); method public final void putInt16(long, short); method public final void putInt16Array(long, short[]); method public final void putInt32(long, int); method public final void putInt32Array(long, int[]); method public final void putInt64(long, long); method public final void putInt64Array(long, long[]); method public final void putInt8(long, byte); method public final void putInt8Array(long, byte[]); method public final void putNativeHandle(long, @Nullable android.os.NativeHandle); method public final void putString(long, String); method public static Boolean[] wrapArray(@NonNull boolean[]); method public static Long[] wrapArray(@NonNull long[]); method public static Byte[] wrapArray(@NonNull byte[]); method public static Short[] wrapArray(@NonNull short[]); method public static Integer[] wrapArray(@NonNull int[]); method public static Float[] wrapArray(@NonNull float[]); method public static Double[] wrapArray(@NonNull double[]); } public class HwParcel { ctor public HwParcel(); method public final void enforceInterface(String); method public final boolean readBool(); method public final java.util.ArrayList readBoolVector(); method public final android.os.HwBlob readBuffer(long); method public final double readDouble(); method public final java.util.ArrayList readDoubleVector(); method public final android.os.HwBlob readEmbeddedBuffer(long, long, long, boolean); method @NonNull @Nullable public final android.os.HidlMemory readEmbeddedHidlMemory(long, long, long); method @Nullable public final android.os.NativeHandle readEmbeddedNativeHandle(long, long); method public final float readFloat(); method public final java.util.ArrayList readFloatVector(); method @NonNull public final android.os.HidlMemory readHidlMemory(); method public final short readInt16(); method public final java.util.ArrayList readInt16Vector(); method public final int readInt32(); method public final java.util.ArrayList readInt32Vector(); method public final long readInt64(); method public final java.util.ArrayList readInt64Vector(); method public final byte readInt8(); method public final java.util.ArrayList readInt8Vector(); method @Nullable public final android.os.NativeHandle readNativeHandle(); method @NonNull public final java.util.ArrayList readNativeHandleVector(); method public final String readString(); method public final java.util.ArrayList readStringVector(); method public final android.os.IHwBinder readStrongBinder(); method public final void release(); method public final void releaseTemporaryStorage(); method public final void send(); method public final void verifySuccess(); method public final void writeBool(boolean); method public final void writeBoolVector(java.util.ArrayList); method public final void writeBuffer(android.os.HwBlob); method public final void writeDouble(double); method public final void writeDoubleVector(java.util.ArrayList); method public final void writeFloat(float); method public final void writeFloatVector(java.util.ArrayList); method public final void writeHidlMemory(@NonNull android.os.HidlMemory); method public final void writeInt16(short); method public final void writeInt16Vector(java.util.ArrayList); method public final void writeInt32(int); method public final void writeInt32Vector(java.util.ArrayList); method public final void writeInt64(long); method public final void writeInt64Vector(java.util.ArrayList); method public final void writeInt8(byte); method public final void writeInt8Vector(java.util.ArrayList); method public final void writeInterfaceToken(String); method public final void writeNativeHandle(@Nullable android.os.NativeHandle); method public final void writeNativeHandleVector(@NonNull java.util.ArrayList); method public final void writeStatus(int); method public final void writeString(String); method public final void writeStringVector(java.util.ArrayList); method public final void writeStrongBinder(android.os.IHwBinder); field public static final int STATUS_SUCCESS = 0; // 0x0 } public interface IHwBinder { method public boolean linkToDeath(android.os.IHwBinder.DeathRecipient, long); method public android.os.IHwInterface queryLocalInterface(String); method public void transact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException; method public boolean unlinkToDeath(android.os.IHwBinder.DeathRecipient); } public static interface IHwBinder.DeathRecipient { method public void serviceDied(long); } public interface IHwInterface { method public android.os.IHwBinder asBinder(); } public class IncidentManager { method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public void approveReport(android.net.Uri); method @RequiresPermission("android.permission.REQUEST_INCIDENT_REPORT_APPROVAL") public void cancelAuthorization(android.os.IncidentManager.AuthListener); method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void deleteIncidentReports(android.net.Uri); method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public void denyReport(android.net.Uri); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public android.os.IncidentManager.IncidentReport getIncidentReport(android.net.Uri); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public java.util.List getIncidentReportList(String); method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public java.util.List getPendingReports(); method public void registerSection(int, @NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.os.IncidentManager.DumpCallback); method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void reportIncident(android.os.IncidentReportArgs); method @RequiresPermission("android.permission.REQUEST_INCIDENT_REPORT_APPROVAL") public void requestAuthorization(int, String, int, android.os.IncidentManager.AuthListener); method public void unregisterSection(int); field public static final int FLAG_ALLOW_CONSENTLESS_BUGREPORT = 2; // 0x2 field public static final int FLAG_CONFIRMATION_DIALOG = 1; // 0x1 field public static final int PRIVACY_POLICY_AUTO = 200; // 0xc8 field public static final int PRIVACY_POLICY_EXPLICIT = 100; // 0x64 field public static final int PRIVACY_POLICY_LOCAL = 0; // 0x0 } public static class IncidentManager.AuthListener { ctor public IncidentManager.AuthListener(); method public void onReportApproved(); method public void onReportDenied(); } public static class IncidentManager.DumpCallback { ctor public IncidentManager.DumpCallback(); method public void onDumpSection(int, @NonNull java.io.OutputStream); } public static class IncidentManager.IncidentReport implements java.io.Closeable android.os.Parcelable { ctor public IncidentManager.IncidentReport(android.os.Parcel); method public void close(); method public int describeContents(); method public java.io.InputStream getInputStream() throws java.io.IOException; method public long getPrivacyPolicy(); method public long getTimestamp(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class IncidentManager.PendingReport { ctor public IncidentManager.PendingReport(@NonNull android.net.Uri); method public int getFlags(); method @NonNull public String getRequestingPackage(); method public long getTimestamp(); method @NonNull public android.net.Uri getUri(); } public final class IncidentReportArgs implements android.os.Parcelable { ctor public IncidentReportArgs(); ctor public IncidentReportArgs(android.os.Parcel); method public void addHeader(byte[]); method public void addSection(int); method public boolean containsSection(int); method public int describeContents(); method public boolean isAll(); method public void readFromParcel(android.os.Parcel); method public int sectionCount(); method public void setAll(boolean); method public void setPrivacyPolicy(int); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class NativeHandle implements java.io.Closeable { ctor public NativeHandle(); ctor public NativeHandle(@NonNull java.io.FileDescriptor, boolean); ctor public NativeHandle(@NonNull java.io.FileDescriptor[], @NonNull int[], boolean); method public void close() throws java.io.IOException; method @NonNull public android.os.NativeHandle dup() throws java.io.IOException; method @NonNull public java.io.FileDescriptor getFileDescriptor(); method @NonNull public java.io.FileDescriptor[] getFileDescriptors(); method @NonNull public int[] getInts(); method public boolean hasSingleFileDescriptor(); } public final class NewUserRequest { method @Nullable public String getAccountName(); method @Nullable public android.os.PersistableBundle getAccountOptions(); method @Nullable public String getAccountType(); method @Nullable public String getName(); method @Nullable public android.graphics.Bitmap getUserIcon(); method @NonNull public String getUserType(); method public boolean isAdmin(); method public boolean isEphemeral(); } public static final class NewUserRequest.Builder { ctor public NewUserRequest.Builder(); method @NonNull public android.os.NewUserRequest build(); method @NonNull public android.os.NewUserRequest.Builder setAccountName(@Nullable String); method @NonNull public android.os.NewUserRequest.Builder setAccountOptions(@Nullable android.os.PersistableBundle); method @NonNull public android.os.NewUserRequest.Builder setAccountType(@Nullable String); method @NonNull public android.os.NewUserRequest.Builder setAdmin(); method @NonNull public android.os.NewUserRequest.Builder setEphemeral(); method @NonNull public android.os.NewUserRequest.Builder setName(@Nullable String); method @NonNull public android.os.NewUserRequest.Builder setUserIcon(@Nullable android.graphics.Bitmap); method @NonNull public android.os.NewUserRequest.Builder setUserType(@NonNull String); } public final class NewUserResponse { method public int getOperationResult(); method @Nullable public android.os.UserHandle getUser(); method public boolean isSuccessful(); } public interface Parcelable { method public default int getStability(); field public static final int PARCELABLE_STABILITY_LOCAL = 0; // 0x0 field public static final int PARCELABLE_STABILITY_VINTF = 1; // 0x1 } public final class ParcelableHolder implements android.os.Parcelable { ctor public ParcelableHolder(int); method public int describeContents(); method @Nullable public T getParcelable(@NonNull Class); method public void readFromParcel(@NonNull android.os.Parcel); method public void setParcelable(@Nullable android.os.Parcelable); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class PowerExemptionManager { method @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void addToTemporaryAllowList(@NonNull String, int, @Nullable String, long); method @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public long addToTemporaryAllowListForEvent(@NonNull String, int, @Nullable String, int); field public static final int EVENT_MMS = 2; // 0x2 field public static final int EVENT_SMS = 1; // 0x1 field public static final int EVENT_UNSPECIFIED = 0; // 0x0 field public static final int REASON_ACCOUNT_TRANSFER = 104; // 0x68 field public static final int REASON_ACTIVITY_RECOGNITION = 103; // 0x67 field public static final int REASON_BLUETOOTH_BROADCAST = 203; // 0xcb field public static final int REASON_GEOFENCING = 100; // 0x64 field public static final int REASON_LOCATION_PROVIDER = 312; // 0x138 field public static final int REASON_OTHER = 1; // 0x1 field public static final int REASON_PUSH_MESSAGING = 101; // 0x65 field public static final int REASON_PUSH_MESSAGING_OVER_QUOTA = 102; // 0x66 field public static final int REASON_REFRESH_SAFETY_SOURCES = 208; // 0xd0 field public static final int REASON_UNKNOWN = 0; // 0x0 field public static final int TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED = 0; // 0x0 field public static final int TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_NOT_ALLOWED = 1; // 0x1 field public static final int TEMPORARY_ALLOW_LIST_TYPE_NONE = -1; // 0xffffffff } public final class PowerManager { method @RequiresPermission(allOf={android.Manifest.permission.READ_DREAM_STATE, android.Manifest.permission.WRITE_DREAM_STATE}) public void dream(long); method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public boolean forceSuspend(); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public java.util.List getActiveLowPowerStandbyPorts(); method @NonNull public android.os.BatterySaverPolicyConfig getFullPowerSavePolicy(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public android.os.PowerManager.LowPowerStandbyPolicy getLowPowerStandbyPolicy(); method public int getPowerSaveModeTrigger(); method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplayAvailable(); method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplaySuppressed(); method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplaySuppressedForToken(@NonNull String); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public boolean isLowPowerStandbySupported(); method @NonNull @RequiresPermission(android.Manifest.permission.SET_LOW_POWER_STANDBY_PORTS) public android.os.PowerManager.LowPowerStandbyPortsLock newLowPowerStandbyPortsLock(@NonNull java.util.List); method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setAdaptivePowerSaveEnabled(boolean); method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setAdaptivePowerSavePolicy(@NonNull android.os.BatterySaverPolicyConfig); method @RequiresPermission(anyOf={android.Manifest.permission.BATTERY_PREDICTION, android.Manifest.permission.DEVICE_POWER}) public void setBatteryDischargePrediction(@NonNull java.time.Duration, boolean); method @RequiresPermission(android.Manifest.permission.POWER_SAVER) public boolean setDynamicPowerSaveHint(boolean, int); method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setFullPowerSavePolicy(@NonNull android.os.BatterySaverPolicyConfig); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public void setLowPowerStandbyActiveDuringMaintenance(boolean); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public void setLowPowerStandbyEnabled(boolean); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public void setLowPowerStandbyPolicy(@Nullable android.os.PowerManager.LowPowerStandbyPolicy); method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setPowerSaveModeEnabled(boolean); method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void suppressAmbientDisplay(@NonNull String, boolean); method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.USER_ACTIVITY}) public void userActivity(long, int, int); field @RequiresPermission(android.Manifest.permission.MANAGE_LOW_POWER_STANDBY) public static final String ACTION_LOW_POWER_STANDBY_PORTS_CHANGED = "android.os.action.LOW_POWER_STANDBY_PORTS_CHANGED"; field public static final int POWER_SAVE_MODE_TRIGGER_DYNAMIC = 1; // 0x1 field public static final int POWER_SAVE_MODE_TRIGGER_PERCENTAGE = 0; // 0x0 field public static final String REBOOT_USERSPACE = "userspace"; field public static final int SOUND_TRIGGER_MODE_ALL_DISABLED = 2; // 0x2 field public static final int SOUND_TRIGGER_MODE_ALL_ENABLED = 0; // 0x0 field public static final int SOUND_TRIGGER_MODE_CRITICAL_ONLY = 1; // 0x1 field public static final int USER_ACTIVITY_EVENT_ACCESSIBILITY = 3; // 0x3 field public static final int USER_ACTIVITY_EVENT_BUTTON = 1; // 0x1 field public static final int USER_ACTIVITY_EVENT_OTHER = 0; // 0x0 field public static final int USER_ACTIVITY_EVENT_TOUCH = 2; // 0x2 field public static final int USER_ACTIVITY_FLAG_INDIRECT = 2; // 0x2 field public static final int USER_ACTIVITY_FLAG_NO_CHANGE_LIGHTS = 1; // 0x1 } public static final class PowerManager.LowPowerStandbyPolicy { ctor public PowerManager.LowPowerStandbyPolicy(@NonNull String, @NonNull java.util.Set, int, @NonNull java.util.Set); method @NonNull public java.util.Set getAllowedFeatures(); method public int getAllowedReasons(); method @NonNull public java.util.Set getExemptPackages(); method @NonNull public String getIdentifier(); } public static final class PowerManager.LowPowerStandbyPortDescription { ctor public PowerManager.LowPowerStandbyPortDescription(int, int, int); ctor public PowerManager.LowPowerStandbyPortDescription(int, int, int, @Nullable java.net.InetAddress); method @Nullable public java.net.InetAddress getLocalAddress(); method public int getPortMatcher(); method public int getPortNumber(); method public int getProtocol(); field public static final int MATCH_PORT_LOCAL = 1; // 0x1 field public static final int MATCH_PORT_REMOTE = 2; // 0x2 field public static final int PROTOCOL_TCP = 6; // 0x6 field public static final int PROTOCOL_UDP = 17; // 0x11 } public final class PowerManager.LowPowerStandbyPortsLock { method @RequiresPermission(android.Manifest.permission.SET_LOW_POWER_STANDBY_PORTS) public void acquire(); method protected void finalize(); method @RequiresPermission(android.Manifest.permission.SET_LOW_POWER_STANDBY_PORTS) public void release(); } @Deprecated public class PowerWhitelistManager { method @Deprecated @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void addToWhitelist(@NonNull String); method @Deprecated @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void addToWhitelist(@NonNull java.util.List); method @Deprecated @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void removeFromWhitelist(@NonNull String); method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void whitelistAppTemporarily(@NonNull String, long, int, @Nullable String); method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void whitelistAppTemporarily(@NonNull String, long); method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public long whitelistAppTemporarilyForEvent(@NonNull String, int, @Nullable String); method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public long whitelistAppTemporarilyForEvent(@NonNull String, int, int, @Nullable String); field @Deprecated public static final int EVENT_MMS = 2; // 0x2 field @Deprecated public static final int EVENT_SMS = 1; // 0x1 field @Deprecated public static final int EVENT_UNSPECIFIED = 0; // 0x0 field @Deprecated public static final int REASON_ACTIVITY_RECOGNITION = 103; // 0x67 field @Deprecated public static final int REASON_GEOFENCING = 100; // 0x64 field @Deprecated public static final int REASON_LOCATION_PROVIDER = 312; // 0x138 field @Deprecated public static final int REASON_OTHER = 1; // 0x1 field @Deprecated public static final int REASON_PUSH_MESSAGING = 101; // 0x65 field @Deprecated public static final int REASON_PUSH_MESSAGING_OVER_QUOTA = 102; // 0x66 field @Deprecated public static final int REASON_UNKNOWN = 0; // 0x0 field @Deprecated public static final int TEMPORARY_ALLOWLIST_TYPE_FOREGROUND_SERVICE_ALLOWED = 0; // 0x0 field @Deprecated public static final int TEMPORARY_ALLOWLIST_TYPE_FOREGROUND_SERVICE_NOT_ALLOWED = 1; // 0x1 } public class RecoverySystem { method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void cancelScheduledUpdate(android.content.Context) throws java.io.IOException; method @RequiresPermission(anyOf={android.Manifest.permission.RECOVERY, android.Manifest.permission.REBOOT}) public static void clearPrepareForUnattendedUpdate(@NonNull android.content.Context) throws java.io.IOException; method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void installPackage(android.content.Context, java.io.File, boolean) throws java.io.IOException; method @RequiresPermission(anyOf={android.Manifest.permission.RECOVERY, android.Manifest.permission.REBOOT}) public static boolean isPreparedForUnattendedUpdate(@NonNull android.content.Context) throws java.io.IOException; method @RequiresPermission(anyOf={android.Manifest.permission.RECOVERY, android.Manifest.permission.REBOOT}) public static void prepareForUnattendedUpdate(@NonNull android.content.Context, @NonNull String, @Nullable android.content.IntentSender) throws java.io.IOException; method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void processPackage(android.content.Context, java.io.File, android.os.RecoverySystem.ProgressListener, android.os.Handler) throws java.io.IOException; method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void processPackage(android.content.Context, java.io.File, android.os.RecoverySystem.ProgressListener) throws java.io.IOException; method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVERY) public static void rebootAndApply(@NonNull android.content.Context, @NonNull String, @NonNull String) throws java.io.IOException; method @RequiresPermission(anyOf={android.Manifest.permission.RECOVERY, android.Manifest.permission.REBOOT}) public static int rebootAndApply(@NonNull android.content.Context, @NonNull String, boolean) throws java.io.IOException; method @RequiresPermission(allOf={android.Manifest.permission.RECOVERY, android.Manifest.permission.REBOOT}) public static void rebootWipeAb(android.content.Context, java.io.File, String) throws java.io.IOException; method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void scheduleUpdateOnBoot(android.content.Context, java.io.File) throws java.io.IOException; method public static boolean verifyPackageCompatibility(java.io.File) throws java.io.IOException; field public static final int RESUME_ON_REBOOT_REBOOT_ERROR_INVALID_PACKAGE_NAME = 2000; // 0x7d0 field public static final int RESUME_ON_REBOOT_REBOOT_ERROR_LSKF_NOT_CAPTURED = 3000; // 0xbb8 field public static final int RESUME_ON_REBOOT_REBOOT_ERROR_PROVIDER_PREPARATION_FAILURE = 5000; // 0x1388 field public static final int RESUME_ON_REBOOT_REBOOT_ERROR_SLOT_MISMATCH = 4000; // 0xfa0 field public static final int RESUME_ON_REBOOT_REBOOT_ERROR_UNSPECIFIED = 1000; // 0x3e8 } public final class RemoteCallback implements android.os.Parcelable { ctor public RemoteCallback(android.os.RemoteCallback.OnResultListener); ctor public RemoteCallback(@NonNull android.os.RemoteCallback.OnResultListener, @Nullable android.os.Handler); method public int describeContents(); method public void sendResult(@Nullable android.os.Bundle); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static interface RemoteCallback.OnResultListener { method public void onResult(@Nullable android.os.Bundle); } public class ServiceSpecificException extends java.lang.RuntimeException { ctor public ServiceSpecificException(int, @Nullable String); ctor public ServiceSpecificException(int); field public final int errorCode; } public final class StatsDimensionsValue implements android.os.Parcelable { method public int describeContents(); method public boolean getBooleanValue(); method public int getField(); method public float getFloatValue(); method public int getIntValue(); method public long getLongValue(); method public String getStringValue(); method public java.util.List getTupleValueList(); method public int getValueType(); method public boolean isValueType(int); method public void writeToParcel(android.os.Parcel, int); field public static final int BOOLEAN_VALUE_TYPE = 5; // 0x5 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int FLOAT_VALUE_TYPE = 6; // 0x6 field public static final int INT_VALUE_TYPE = 3; // 0x3 field public static final int LONG_VALUE_TYPE = 4; // 0x4 field public static final int STRING_VALUE_TYPE = 2; // 0x2 field public static final int TUPLE_VALUE_TYPE = 7; // 0x7 } public class SystemConfigManager { method @NonNull @RequiresPermission(android.Manifest.permission.READ_CARRIER_APP_INFO) public java.util.Set getDisabledUntilUsedPreinstalledCarrierApps(); method @NonNull @RequiresPermission(android.Manifest.permission.READ_CARRIER_APP_INFO) public java.util.Map> getDisabledUntilUsedPreinstalledCarrierAssociatedApps(); method @NonNull @RequiresPermission(android.Manifest.permission.GET_RUNTIME_PERMISSIONS) public int[] getSystemPermissionUids(@NonNull String); } public class SystemProperties { method @NonNull public static String get(@NonNull String); method @NonNull public static String get(@NonNull String, @Nullable String); method public static boolean getBoolean(@NonNull String, boolean); method public static int getInt(@NonNull String, int); method public static long getLong(@NonNull String, long); } public class SystemUpdateManager { method @RequiresPermission(anyOf={android.Manifest.permission.READ_SYSTEM_UPDATE_INFO, android.Manifest.permission.RECOVERY}) public android.os.Bundle retrieveSystemUpdateInfo(); method @RequiresPermission(android.Manifest.permission.RECOVERY) public void updateSystemUpdateInfo(android.os.PersistableBundle); field public static final String KEY_IS_SECURITY_UPDATE = "is_security_update"; field public static final String KEY_STATUS = "status"; field public static final String KEY_TARGET_BUILD_FINGERPRINT = "target_build_fingerprint"; field public static final String KEY_TARGET_SECURITY_PATCH_LEVEL = "target_security_patch_level"; field public static final String KEY_TITLE = "title"; field public static final int STATUS_IDLE = 1; // 0x1 field public static final int STATUS_IN_PROGRESS = 3; // 0x3 field public static final int STATUS_UNKNOWN = 0; // 0x0 field public static final int STATUS_WAITING_DOWNLOAD = 2; // 0x2 field public static final int STATUS_WAITING_INSTALL = 4; // 0x4 field public static final int STATUS_WAITING_REBOOT = 5; // 0x5 } public final class Trace { field public static final long TRACE_TAG_AIDL = 16777216L; // 0x1000000L } public class UpdateEngine { ctor public UpdateEngine(); method @NonNull @WorkerThread public android.os.UpdateEngine.AllocateSpaceResult allocateSpace(@NonNull String, @NonNull String[]); method public void applyPayload(String, long, long, String[]); method public void applyPayload(@NonNull android.content.res.AssetFileDescriptor, @NonNull String[]); method public boolean bind(android.os.UpdateEngineCallback, android.os.Handler); method public boolean bind(android.os.UpdateEngineCallback); method public void cancel(); method @WorkerThread public int cleanupAppliedPayload(); method public void resetShouldSwitchSlotOnReboot(); method public void resetStatus(); method public void resume(); method public void setShouldSwitchSlotOnReboot(@NonNull String); method public void suspend(); method public boolean unbind(); method public boolean verifyPayloadMetadata(String); } public static final class UpdateEngine.AllocateSpaceResult { method public int getErrorCode(); method public long getFreeSpaceRequired(); } public static final class UpdateEngine.ErrorCodeConstants { ctor public UpdateEngine.ErrorCodeConstants(); field public static final int DEVICE_CORRUPTED = 61; // 0x3d field public static final int DOWNLOAD_PAYLOAD_VERIFICATION_ERROR = 12; // 0xc field public static final int DOWNLOAD_TRANSFER_ERROR = 9; // 0x9 field public static final int ERROR = 1; // 0x1 field public static final int FILESYSTEM_COPIER_ERROR = 4; // 0x4 field public static final int INSTALL_DEVICE_OPEN_ERROR = 7; // 0x7 field public static final int KERNEL_DEVICE_OPEN_ERROR = 8; // 0x8 field public static final int NOT_ENOUGH_SPACE = 60; // 0x3c field public static final int PAYLOAD_HASH_MISMATCH_ERROR = 10; // 0xa field public static final int PAYLOAD_MISMATCHED_TYPE_ERROR = 6; // 0x6 field public static final int PAYLOAD_SIZE_MISMATCH_ERROR = 11; // 0xb field public static final int PAYLOAD_TIMESTAMP_ERROR = 51; // 0x33 field public static final int POST_INSTALL_RUNNER_ERROR = 5; // 0x5 field public static final int SUCCESS = 0; // 0x0 field public static final int UPDATED_BUT_NOT_ACTIVE = 52; // 0x34 } public static final class UpdateEngine.UpdateStatusConstants { ctor public UpdateEngine.UpdateStatusConstants(); field public static final int ATTEMPTING_ROLLBACK = 8; // 0x8 field public static final int CHECKING_FOR_UPDATE = 1; // 0x1 field public static final int DISABLED = 9; // 0x9 field public static final int DOWNLOADING = 3; // 0x3 field public static final int FINALIZING = 5; // 0x5 field public static final int IDLE = 0; // 0x0 field public static final int REPORTING_ERROR_EVENT = 7; // 0x7 field public static final int UPDATED_NEED_REBOOT = 6; // 0x6 field public static final int UPDATE_AVAILABLE = 2; // 0x2 field public static final int VERIFYING = 4; // 0x4 } public abstract class UpdateEngineCallback { ctor public UpdateEngineCallback(); method public abstract void onPayloadApplicationComplete(int); method public abstract void onStatusUpdate(int, float); } public final class UserHandle implements android.os.Parcelable { method @NonNull public static String formatUid(int); method public static int getAppId(int); method public int getIdentifier(); method public static int getSharedAppGid(int); method public int getUid(int); method @Deprecated public boolean isOwner(); method public boolean isSystem(); method public static int myUserId(); method public static android.os.UserHandle of(int); field @NonNull public static final android.os.UserHandle ALL; field @NonNull public static final android.os.UserHandle CURRENT; field @NonNull public static final android.os.UserHandle SYSTEM; } public class UserManager { method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean canHaveRestrictedProfile(); method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void clearSeedAccountData(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.os.UserHandle createProfile(@NonNull String, @NonNull String, @NonNull java.util.Set) throws android.os.UserManager.UserOperationException; method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.os.NewUserResponse createUser(@NonNull android.os.NewUserRequest); method @NonNull public java.util.List getAllProfiles(); method @NonNull public java.util.List getEnabledProfiles(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public android.os.UserHandle getMainUser(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public android.os.UserHandle getPreviousForegroundUser(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public android.os.UserHandle getProfileParent(@NonNull android.os.UserHandle); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public int getRemainingCreatableProfileCount(@NonNull String); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public int getRemainingCreatableUserCount(@NonNull String); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public android.os.UserHandle getRestrictedProfileParent(); method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getSeedAccountName(); method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.os.PersistableBundle getSeedAccountOptions(); method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getSeedAccountType(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public long[] getSerialNumbersOfUsers(boolean); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public java.util.List getUserHandles(boolean); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.GET_ACCOUNTS_PRIVILEGED}) public android.graphics.Bitmap getUserIcon(); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public android.content.pm.UserProperties getUserProperties(@NonNull android.os.UserHandle); method @Deprecated @android.os.UserManager.UserRestrictionSource @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_USERS}) public int getUserRestrictionSource(String, android.os.UserHandle); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_USERS}) public java.util.List getUserRestrictionSources(String, android.os.UserHandle); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public int getUserSwitchability(); method @NonNull @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.MANAGE_USERS"}) public java.util.Set getVisibleUsers(); method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean hasRestrictedProfiles(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean hasUserRestrictionForUser(@NonNull String, @NonNull android.os.UserHandle); method public boolean isCloneProfile(); method @Deprecated public boolean isCredentialSharableWithParent(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isGuestUser(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isMainUser(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean isManagedProfile(int); method @Deprecated public boolean isMediaSharedWithParent(); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isPrimaryUser(); method public static boolean isRemoveResultSuccessful(int); method public boolean isRestrictedProfile(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}, conditional=true) public boolean isRestrictedProfile(@NonNull android.os.UserHandle); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isSameProfileGroup(@NonNull android.os.UserHandle, @NonNull android.os.UserHandle); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS, android.Manifest.permission.GET_ACCOUNTS_PRIVILEGED}) public boolean isUserNameSet(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isUserOfType(@NonNull String); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean isUserUnlockingOrUnlocked(@NonNull android.os.UserHandle); method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.MANAGE_USERS"}) public boolean isUserVisible(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean removeUser(@NonNull android.os.UserHandle); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public int removeUserWhenPossible(@NonNull android.os.UserHandle, boolean); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public void setBootUser(@NonNull android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setUserIcon(@NonNull android.graphics.Bitmap) throws android.os.UserManager.UserOperationException; method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setUserName(@Nullable String); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean someUserHasAccount(@NonNull String, @NonNull String); field @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public static final String ACTION_CREATE_SUPERVISED_USER = "android.os.action.CREATE_SUPERVISED_USER"; field public static final String ACTION_USER_RESTRICTIONS_CHANGED = "android.os.action.USER_RESTRICTIONS_CHANGED"; field @Deprecated public static final String DISALLOW_OEM_UNLOCK = "no_oem_unlock"; field public static final String DISALLOW_RUN_IN_BACKGROUND = "no_run_in_background"; field public static final int REMOVE_RESULT_ALREADY_BEING_REMOVED = 2; // 0x2 field public static final int REMOVE_RESULT_DEFERRED = 1; // 0x1 field public static final int REMOVE_RESULT_ERROR_MAIN_USER_PERMANENT_ADMIN = -5; // 0xfffffffb field public static final int REMOVE_RESULT_ERROR_SYSTEM_USER = -4; // 0xfffffffc field public static final int REMOVE_RESULT_ERROR_UNKNOWN = -1; // 0xffffffff field public static final int REMOVE_RESULT_ERROR_USER_NOT_FOUND = -3; // 0xfffffffd field public static final int REMOVE_RESULT_ERROR_USER_RESTRICTION = -2; // 0xfffffffe field public static final int REMOVE_RESULT_REMOVED = 0; // 0x0 field public static final int RESTRICTION_NOT_SET = 0; // 0x0 field public static final int RESTRICTION_SOURCE_DEVICE_OWNER = 2; // 0x2 field public static final int RESTRICTION_SOURCE_PROFILE_OWNER = 4; // 0x4 field public static final int RESTRICTION_SOURCE_SYSTEM = 1; // 0x1 field public static final int SWITCHABILITY_STATUS_OK = 0; // 0x0 field public static final int SWITCHABILITY_STATUS_SYSTEM_USER_LOCKED = 4; // 0x4 field public static final int SWITCHABILITY_STATUS_USER_IN_CALL = 1; // 0x1 field public static final int SWITCHABILITY_STATUS_USER_SWITCH_DISALLOWED = 2; // 0x2 field public static final int USER_OPERATION_ERROR_USER_ACCOUNT_ALREADY_EXISTS = 7; // 0x7 field public static final String USER_TYPE_FULL_GUEST = "android.os.usertype.full.GUEST"; field public static final String USER_TYPE_FULL_SECONDARY = "android.os.usertype.full.SECONDARY"; field public static final String USER_TYPE_FULL_SYSTEM = "android.os.usertype.full.SYSTEM"; field public static final String USER_TYPE_PROFILE_CLONE = "android.os.usertype.profile.CLONE"; field public static final String USER_TYPE_PROFILE_MANAGED = "android.os.usertype.profile.MANAGED"; field public static final String USER_TYPE_SYSTEM_HEADLESS = "android.os.usertype.system.HEADLESS"; } public static final class UserManager.EnforcingUser implements android.os.Parcelable { method public int describeContents(); method public android.os.UserHandle getUserHandle(); method @android.os.UserManager.UserRestrictionSource public int getUserRestrictionSource(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } @IntDef(flag=true, prefix={"RESTRICTION_"}, value={android.os.UserManager.RESTRICTION_NOT_SET, android.os.UserManager.RESTRICTION_SOURCE_SYSTEM, android.os.UserManager.RESTRICTION_SOURCE_DEVICE_OWNER, android.os.UserManager.RESTRICTION_SOURCE_PROFILE_OWNER}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface UserManager.UserRestrictionSource { } public abstract class Vibrator { method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public void addVibratorStateListener(@NonNull android.os.Vibrator.OnVibratorStateChangedListener); method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public void addVibratorStateListener(@NonNull java.util.concurrent.Executor, @NonNull android.os.Vibrator.OnVibratorStateChangedListener); method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public boolean isVibrating(); method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public void removeVibratorStateListener(@NonNull android.os.Vibrator.OnVibratorStateChangedListener); } public static interface Vibrator.OnVibratorStateChangedListener { method public void onVibratorStateChanged(boolean); } public class WorkSource implements android.os.Parcelable { ctor public WorkSource(int); ctor public WorkSource(int, @NonNull String); method public android.os.WorkSource.WorkChain createWorkChain(); method @Nullable public String getPackageName(int); method public int getUid(int); method @Nullable public java.util.List getWorkChains(); method public boolean isEmpty(); method public int size(); method @NonNull public android.os.WorkSource withoutNames(); } public static final class WorkSource.WorkChain implements android.os.Parcelable { ctor public WorkSource.WorkChain(); method public android.os.WorkSource.WorkChain addNode(int, @Nullable String); method public int describeContents(); method public String getAttributionTag(); method public int getAttributionUid(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.os.connectivity { public final class CellularBatteryStats implements android.os.Parcelable { method public int describeContents(); method public long getEnergyConsumedMaMillis(); method public long getIdleTimeMillis(); method public long getKernelActiveTimeMillis(); method public long getLoggingDurationMillis(); method public long getMonitoredRailChargeConsumedMaMillis(); method public long getNumBytesRx(); method public long getNumBytesTx(); method public long getNumPacketsRx(); method public long getNumPacketsTx(); method public long getRxTimeMillis(); method public long getSleepTimeMillis(); method @NonNull public long getTimeInRatMicros(int); method @NonNull public long getTimeInRxSignalStrengthLevelMicros(@IntRange(from=android.telephony.CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN, to=android.telephony.CellSignalStrength.SIGNAL_STRENGTH_GREAT) int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class WifiActivityEnergyInfo implements android.os.Parcelable { ctor public WifiActivityEnergyInfo(long, int, @IntRange(from=0) long, @IntRange(from=0) long, @IntRange(from=0) long, @IntRange(from=0) long); method public int describeContents(); method @IntRange(from=0) public long getControllerEnergyUsedMicroJoules(); method @IntRange(from=0) public long getControllerIdleDurationMillis(); method @IntRange(from=0) public long getControllerRxDurationMillis(); method @IntRange(from=0) public long getControllerScanDurationMillis(); method @IntRange(from=0) public long getControllerTxDurationMillis(); method public int getStackState(); method public long getTimeSinceBootMillis(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int STACK_STATE_INVALID = 0; // 0x0 field public static final int STACK_STATE_STATE_ACTIVE = 1; // 0x1 field public static final int STACK_STATE_STATE_IDLE = 3; // 0x3 field public static final int STACK_STATE_STATE_SCANNING = 2; // 0x2 } public final class WifiBatteryStats implements android.os.Parcelable { method public int describeContents(); method public long getAppScanRequestCount(); method public long getEnergyConsumedMaMillis(); method public long getIdleTimeMillis(); method public long getKernelActiveTimeMillis(); method public long getLoggingDurationMillis(); method public long getMonitoredRailChargeConsumedMaMillis(); method public long getNumBytesRx(); method public long getNumBytesTx(); method public long getNumPacketsRx(); method public long getNumPacketsTx(); method public long getRxTimeMillis(); method public long getScanTimeMillis(); method public long getSleepTimeMillis(); method public long getTxTimeMillis(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.os.image { public class DynamicSystemClient { ctor public DynamicSystemClient(@NonNull android.content.Context); method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void bind(); method public void setOnStatusChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.os.image.DynamicSystemClient.OnStatusChangedListener); method public void setOnStatusChangedListener(@NonNull android.os.image.DynamicSystemClient.OnStatusChangedListener); method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void start(@NonNull android.net.Uri, long); method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void start(@NonNull android.net.Uri, long, long); method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void unbind(); field public static final int CAUSE_ERROR_EXCEPTION = 6; // 0x6 field public static final int CAUSE_ERROR_INVALID_URL = 4; // 0x4 field public static final int CAUSE_ERROR_IO = 3; // 0x3 field public static final int CAUSE_ERROR_IPC = 5; // 0x5 field public static final int CAUSE_INSTALL_CANCELLED = 2; // 0x2 field public static final int CAUSE_INSTALL_COMPLETED = 1; // 0x1 field public static final int CAUSE_NOT_SPECIFIED = 0; // 0x0 field public static final int STATUS_IN_PROGRESS = 2; // 0x2 field public static final int STATUS_IN_USE = 4; // 0x4 field public static final int STATUS_NOT_STARTED = 1; // 0x1 field public static final int STATUS_READY = 3; // 0x3 field public static final int STATUS_UNKNOWN = 0; // 0x0 } public static interface DynamicSystemClient.OnStatusChangedListener { method public void onStatusChanged(int, int, long, @Nullable Throwable); } } package android.os.storage { public class StorageManager { method @WorkerThread public void allocateBytes(@NonNull java.util.UUID, long, @RequiresPermission int) throws java.io.IOException; method @WorkerThread public void allocateBytes(java.io.FileDescriptor, long, @RequiresPermission int) throws java.io.IOException; method @WorkerThread public long getAllocatableBytes(@NonNull java.util.UUID, @RequiresPermission int) throws java.io.IOException; method @RequiresPermission(android.Manifest.permission.WRITE_MEDIA_STORAGE) public int getExternalStorageMountMode(int, @NonNull String); method public static boolean hasIsolatedStorage(); method public void updateExternalStorageFileQuotaType(@NonNull java.io.File, int) throws java.io.IOException; field @RequiresPermission(android.Manifest.permission.ALLOCATE_AGGRESSIVE) public static final int FLAG_ALLOCATE_AGGRESSIVE = 1; // 0x1 field public static final int MOUNT_MODE_EXTERNAL_ANDROID_WRITABLE = 4; // 0x4 field public static final int MOUNT_MODE_EXTERNAL_DEFAULT = 1; // 0x1 field public static final int MOUNT_MODE_EXTERNAL_INSTALLER = 2; // 0x2 field public static final int MOUNT_MODE_EXTERNAL_NONE = 0; // 0x0 field public static final int MOUNT_MODE_EXTERNAL_PASS_THROUGH = 3; // 0x3 field public static final int QUOTA_TYPE_MEDIA_AUDIO = 2; // 0x2 field public static final int QUOTA_TYPE_MEDIA_IMAGE = 1; // 0x1 field public static final int QUOTA_TYPE_MEDIA_NONE = 0; // 0x0 field public static final int QUOTA_TYPE_MEDIA_VIDEO = 3; // 0x3 } public final class StorageVolume implements android.os.Parcelable { method @NonNull public String getId(); method public boolean isExternallyManaged(); } } package android.permission { public final class AdminPermissionControlParams implements android.os.Parcelable { method public boolean canAdminGrantSensorsPermissions(); method public int describeContents(); method public int getGrantState(); method @NonNull public String getGranteePackageName(); method @NonNull public String getPermission(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class PermissionControllerManager { method @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.RESTORE_RUNTIME_PERMISSIONS}) public void applyStagedRuntimePermissionBackup(@NonNull String, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public void getHibernationEligibility(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.IntConsumer); method @RequiresPermission(android.Manifest.permission.GET_RUNTIME_PERMISSIONS) public void getRuntimePermissionBackup(@NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method public void getUnusedAppCount(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.IntConsumer); method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public void revokeRuntimePermissions(@NonNull java.util.Map>, boolean, int, @NonNull java.util.concurrent.Executor, @NonNull android.permission.PermissionControllerManager.OnRevokeRuntimePermissionsCallback); method @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.RESTORE_RUNTIME_PERMISSIONS}) public void stageAndApplyRuntimePermissionsBackup(@NonNull byte[], @NonNull android.os.UserHandle); field public static final int COUNT_ONLY_WHEN_GRANTED = 1; // 0x1 field public static final int COUNT_WHEN_SYSTEM = 2; // 0x2 field public static final int HIBERNATION_ELIGIBILITY_ELIGIBLE = 0; // 0x0 field public static final int HIBERNATION_ELIGIBILITY_EXEMPT_BY_SYSTEM = 1; // 0x1 field public static final int HIBERNATION_ELIGIBILITY_EXEMPT_BY_USER = 2; // 0x2 field public static final int HIBERNATION_ELIGIBILITY_UNKNOWN = -1; // 0xffffffff field public static final int REASON_INSTALLER_POLICY_VIOLATION = 2; // 0x2 field public static final int REASON_MALWARE = 1; // 0x1 } public abstract static class PermissionControllerManager.OnRevokeRuntimePermissionsCallback { ctor public PermissionControllerManager.OnRevokeRuntimePermissionsCallback(); method public abstract void onRevokeRuntimePermissions(@NonNull java.util.Map>); } public abstract class PermissionControllerService extends android.app.Service { ctor public PermissionControllerService(); method @NonNull @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public String getPrivilegesDescriptionStringForProfile(@NonNull String); method @BinderThread public void onApplyStagedRuntimePermissionBackup(@NonNull String, @NonNull android.os.UserHandle, @NonNull java.util.function.Consumer); method @NonNull public final android.os.IBinder onBind(android.content.Intent); method @BinderThread public abstract void onCountPermissionApps(@NonNull java.util.List, int, @NonNull java.util.function.IntConsumer); method @BinderThread public abstract void onGetAppPermissions(@NonNull String, @NonNull java.util.function.Consumer>); method @BinderThread public void onGetGroupOfPlatformPermission(@NonNull String, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public void onGetHibernationEligibility(@NonNull String, @NonNull java.util.function.IntConsumer); method @BinderThread public abstract void onGetPermissionUsages(boolean, long, @NonNull java.util.function.Consumer>); method @BinderThread public void onGetPlatformPermissionsForGroup(@NonNull String, @NonNull java.util.function.Consumer>); method @BinderThread public abstract void onGetRuntimePermissionsBackup(@NonNull android.os.UserHandle, @NonNull java.io.OutputStream, @NonNull Runnable); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public void onGetUnusedAppCount(@NonNull java.util.function.IntConsumer); method @BinderThread public abstract void onGrantOrUpgradeDefaultRuntimePermissions(@NonNull Runnable); method @BinderThread public void onOneTimePermissionSessionTimeout(@NonNull String); method @Deprecated @BinderThread public void onRestoreDelayedRuntimePermissionsBackup(@NonNull String, @NonNull android.os.UserHandle, @NonNull java.util.function.Consumer); method @Deprecated @BinderThread public void onRestoreRuntimePermissionsBackup(@NonNull android.os.UserHandle, @NonNull java.io.InputStream, @NonNull Runnable); method @BinderThread public abstract void onRevokeRuntimePermission(@NonNull String, @NonNull String, @NonNull Runnable); method @BinderThread public abstract void onRevokeRuntimePermissions(@NonNull java.util.Map>, boolean, int, @NonNull String, @NonNull java.util.function.Consumer>>); method @BinderThread public void onRevokeSelfPermissionsOnKill(@NonNull String, @NonNull java.util.List, @NonNull Runnable); method @Deprecated @BinderThread public abstract void onSetRuntimePermissionGrantStateByDeviceAdmin(@NonNull String, @NonNull String, @NonNull String, int, @NonNull java.util.function.Consumer); method @BinderThread public void onSetRuntimePermissionGrantStateByDeviceAdmin(@NonNull String, @NonNull android.permission.AdminPermissionControlParams, @NonNull java.util.function.Consumer); method @BinderThread public void onStageAndApplyRuntimePermissionsBackup(@NonNull android.os.UserHandle, @NonNull java.io.InputStream, @NonNull Runnable); method @BinderThread public void onUpdateUserSensitivePermissionFlags(int, @NonNull java.util.concurrent.Executor, @NonNull Runnable); method @BinderThread public void onUpdateUserSensitivePermissionFlags(int, @NonNull Runnable); field public static final String SERVICE_INTERFACE = "android.permission.PermissionControllerService"; } public final class PermissionGroupUsage implements android.os.Parcelable { method public int describeContents(); method @Nullable public CharSequence getAttributionLabel(); method @Nullable public CharSequence getAttributionTag(); method public long getLastAccessTimeMillis(); method @NonNull public String getPackageName(); method @NonNull public String getPermissionGroupName(); method @Nullable public CharSequence getProxyLabel(); method public int getUid(); method public boolean isActive(); method public boolean isPhoneCall(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class PermissionManager { method public int checkDeviceIdentifierAccess(@Nullable String, @Nullable String, @Nullable String, int, int); method @RequiresPermission(value=android.Manifest.permission.UPDATE_APP_OPS_STATS, conditional=true) public int checkPermissionForDataDelivery(@NonNull String, @NonNull android.content.AttributionSource, @Nullable String); method @RequiresPermission(value=android.Manifest.permission.UPDATE_APP_OPS_STATS, conditional=true) public int checkPermissionForDataDeliveryFromDataSource(@NonNull String, @NonNull android.content.AttributionSource, @Nullable String); method public int checkPermissionForPreflight(@NonNull String, @NonNull android.content.AttributionSource); method @RequiresPermission(value=android.Manifest.permission.UPDATE_APP_OPS_STATS, conditional=true) public int checkPermissionForStartDataDelivery(@NonNull String, @NonNull android.content.AttributionSource, @Nullable String); method public void finishDataDelivery(@NonNull String, @NonNull android.content.AttributionSource); method @NonNull @RequiresPermission(android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY) public java.util.Set getAutoRevokeExemptionGrantedPackages(); method @NonNull @RequiresPermission(android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY) public java.util.Set getAutoRevokeExemptionRequestedPackages(); method @IntRange(from=0) @RequiresPermission(anyOf={android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY, android.Manifest.permission.UPGRADE_RUNTIME_PERMISSIONS}) public int getRuntimePermissionsVersion(); method @NonNull public java.util.List getSplitPermissions(); method @RequiresPermission(anyOf={android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY, android.Manifest.permission.UPGRADE_RUNTIME_PERMISSIONS}) public void setRuntimePermissionsVersion(@IntRange(from=0) int); method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS) public void startOneTimePermissionSession(@NonNull String, long, int, int); method @RequiresPermission(android.Manifest.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS) public void startOneTimePermissionSession(@NonNull String, long, long, int, int); method @RequiresPermission(android.Manifest.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS) public void stopOneTimePermissionSession(@NonNull String); field @RequiresPermission(android.Manifest.permission.START_REVIEW_PERMISSION_DECISIONS) public static final String ACTION_REVIEW_PERMISSION_DECISIONS = "android.permission.action.REVIEW_PERMISSION_DECISIONS"; field public static final String EXTRA_PERMISSION_USAGES = "android.permission.extra.PERMISSION_USAGES"; field public static final int PERMISSION_GRANTED = 0; // 0x0 field public static final int PERMISSION_HARD_DENIED = 2; // 0x2 field public static final int PERMISSION_SOFT_DENIED = 1; // 0x1 } public static final class PermissionManager.SplitPermissionInfo { method @NonNull public java.util.List getNewPermissions(); method @NonNull public String getSplitPermission(); method public int getTargetSdk(); } public final class RuntimePermissionPresentationInfo implements android.os.Parcelable { ctor public RuntimePermissionPresentationInfo(@NonNull CharSequence, boolean, boolean); method public int describeContents(); method @NonNull public CharSequence getLabel(); method public boolean isGranted(); method public boolean isStandard(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class RuntimePermissionUsageInfo implements android.os.Parcelable { ctor public RuntimePermissionUsageInfo(@NonNull String, int); method public int describeContents(); method public int getAppAccessCount(); method @NonNull public String getName(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.permissionpresenterservice { @Deprecated public abstract class RuntimePermissionPresenterService extends android.app.Service { ctor @Deprecated public RuntimePermissionPresenterService(); method @Deprecated public final void attachBaseContext(android.content.Context); method @Deprecated public final android.os.IBinder onBind(android.content.Intent); method @Deprecated public abstract java.util.List onGetAppPermissions(@NonNull String); field @Deprecated public static final String SERVICE_INTERFACE = "android.permissionpresenterservice.RuntimePermissionPresenterService"; } } package android.preference { @Deprecated public class PreferenceManager { method @Deprecated public boolean isStorageCredentialProtected(); method @Deprecated public void setStorageCredentialProtected(); } } package android.print { public final class PrintManager { method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICE_RECOMMENDATIONS) public void addPrintServiceRecommendationsChangeListener(@NonNull android.print.PrintManager.PrintServiceRecommendationsChangeListener, @Nullable android.os.Handler); method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICES) public void addPrintServicesChangeListener(@NonNull android.print.PrintManager.PrintServicesChangeListener, @Nullable android.os.Handler); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICE_RECOMMENDATIONS) public java.util.List getPrintServiceRecommendations(); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICES) public java.util.List getPrintServices(int); method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICE_RECOMMENDATIONS) public void removePrintServiceRecommendationsChangeListener(@NonNull android.print.PrintManager.PrintServiceRecommendationsChangeListener); method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICES) public void removePrintServicesChangeListener(@NonNull android.print.PrintManager.PrintServicesChangeListener); field public static final int ENABLED_SERVICES = 1; // 0x1 } public static interface PrintManager.PrintServiceRecommendationsChangeListener { method public void onPrintServiceRecommendationsChanged(); } public static interface PrintManager.PrintServicesChangeListener { method public void onPrintServicesChanged(); } } package android.printservice { public final class PrintServiceInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.content.ComponentName getComponentName(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.printservice.recommendation { public final class RecommendationInfo implements android.os.Parcelable { ctor public RecommendationInfo(@NonNull CharSequence, @NonNull CharSequence, @NonNull java.util.List, boolean); ctor @Deprecated public RecommendationInfo(@NonNull CharSequence, @NonNull CharSequence, @IntRange(from=0) int, boolean); method public int describeContents(); method @NonNull public java.util.List getDiscoveredPrinters(); method public CharSequence getName(); method public int getNumDiscoveredPrinters(); method public CharSequence getPackageName(); method public boolean recommendsMultiVendorService(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public abstract class RecommendationService extends android.app.Service { ctor public RecommendationService(); method public final android.os.IBinder onBind(android.content.Intent); method public abstract void onConnected(); method public abstract void onDisconnected(); method public final void updateRecommendations(@Nullable java.util.List); field public static final String SERVICE_INTERFACE = "android.printservice.recommendation.RecommendationService"; } } package android.provider { public class CallLog { method @RequiresPermission(allOf={android.Manifest.permission.WRITE_CALL_LOG, android.Manifest.permission.INTERACT_ACROSS_USERS}) public static void storeCallComposerPicture(@NonNull android.content.Context, @NonNull java.io.InputStream, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); } public static class CallLog.CallComposerLoggingException extends java.lang.Throwable { ctor public CallLog.CallComposerLoggingException(int); method public int getErrorCode(); field public static final int ERROR_INPUT_CLOSED = 3; // 0x3 field public static final int ERROR_REMOTE_END_CLOSED = 1; // 0x1 field public static final int ERROR_STORAGE_FULL = 2; // 0x2 field public static final int ERROR_UNKNOWN = 0; // 0x0 } @Deprecated public static final class ContactsContract.MetadataSync implements android.provider.BaseColumns android.provider.ContactsContract.MetadataSyncColumns { field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/contact_metadata"; field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/contact_metadata"; field @Deprecated public static final android.net.Uri CONTENT_URI; field @Deprecated public static final String METADATA_AUTHORITY = "com.android.contacts.metadata"; field @Deprecated public static final android.net.Uri METADATA_AUTHORITY_URI; } @Deprecated protected static interface ContactsContract.MetadataSyncColumns { 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 DATA = "data"; field @Deprecated public static final String DATA_SET = "data_set"; field @Deprecated public static final String DELETED = "deleted"; field @Deprecated public static final String RAW_CONTACT_BACKUP_ID = "raw_contact_backup_id"; } @Deprecated public static final class ContactsContract.MetadataSyncState implements android.provider.BaseColumns android.provider.ContactsContract.MetadataSyncStateColumns { field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/contact_metadata_sync_state"; field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/contact_metadata_sync_state"; field @Deprecated public static final android.net.Uri CONTENT_URI; } @Deprecated protected static interface ContactsContract.MetadataSyncStateColumns { 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 DATA_SET = "data_set"; field @Deprecated public static final String STATE = "state"; } public static final class ContactsContract.Settings implements android.provider.ContactsContract.SettingsColumns { method @RequiresPermission(android.Manifest.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS) public static void setDefaultAccount(@NonNull android.content.ContentResolver, @Nullable android.accounts.Account); } public static final class ContactsContract.SimContacts { method @RequiresPermission("android.contacts.permission.MANAGE_SIM_ACCOUNTS") public static void addSimAccount(@NonNull android.content.ContentResolver, @NonNull String, @NonNull String, int, int); method @RequiresPermission("android.contacts.permission.MANAGE_SIM_ACCOUNTS") public static void removeSimAccounts(@NonNull android.content.ContentResolver, int); } public final class DeviceConfig { method public static void addOnPropertiesChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertiesChangedListener); method @RequiresPermission(android.Manifest.permission.MONITOR_DEVICE_CONFIG_ACCESS) public static void clearMonitorCallback(@NonNull android.content.ContentResolver); method @RequiresPermission(anyOf={android.Manifest.permission.WRITE_DEVICE_CONFIG, android.Manifest.permission.WRITE_ALLOWLISTED_DEVICE_CONFIG}) public static boolean deleteProperty(@NonNull String, @NonNull String); method @NonNull public static java.util.Set getAdbWritableFlags(); method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static boolean getBoolean(@NonNull String, @NonNull String, boolean); method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static float getFloat(@NonNull String, @NonNull String, float); method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static int getInt(@NonNull String, @NonNull String, int); method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static long getLong(@NonNull String, @NonNull String, long); method @NonNull @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static android.provider.DeviceConfig.Properties getProperties(@NonNull String, @NonNull java.lang.String...); method @Nullable @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static String getProperty(@NonNull String, @NonNull String); method @NonNull public static java.util.List getPublicNamespaces(); method @Nullable @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static String getString(@NonNull String, @NonNull String, @Nullable String); method @RequiresPermission(anyOf={android.Manifest.permission.WRITE_DEVICE_CONFIG, android.Manifest.permission.READ_WRITE_SYNC_DISABLED_MODE_CONFIG}) public static int getSyncDisabledMode(); method public static void removeOnPropertiesChangedListener(@NonNull android.provider.DeviceConfig.OnPropertiesChangedListener); method @RequiresPermission(anyOf={android.Manifest.permission.WRITE_DEVICE_CONFIG, android.Manifest.permission.WRITE_ALLOWLISTED_DEVICE_CONFIG}) public static void resetToDefaults(int, @Nullable String); method @RequiresPermission(android.Manifest.permission.MONITOR_DEVICE_CONFIG_ACCESS) public static void setMonitorCallback(@NonNull android.content.ContentResolver, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.MonitorCallback); method @RequiresPermission(anyOf={android.Manifest.permission.WRITE_DEVICE_CONFIG, android.Manifest.permission.WRITE_ALLOWLISTED_DEVICE_CONFIG}) public static boolean setProperties(@NonNull android.provider.DeviceConfig.Properties) throws android.provider.DeviceConfig.BadConfigException; method @RequiresPermission(anyOf={android.Manifest.permission.WRITE_DEVICE_CONFIG, android.Manifest.permission.WRITE_ALLOWLISTED_DEVICE_CONFIG}) public static boolean setProperty(@NonNull String, @NonNull String, @Nullable String, boolean); method @RequiresPermission(anyOf={android.Manifest.permission.WRITE_DEVICE_CONFIG, android.Manifest.permission.READ_WRITE_SYNC_DISABLED_MODE_CONFIG}) public static void setSyncDisabledMode(int); field public static final String NAMESPACE_ACCESSIBILITY = "accessibility"; field public static final String NAMESPACE_ACTIVITY_MANAGER = "activity_manager"; field public static final String NAMESPACE_ACTIVITY_MANAGER_NATIVE_BOOT = "activity_manager_native_boot"; field public static final String NAMESPACE_ADSERVICES = "adservices"; field public static final String NAMESPACE_AMBIENT_CONTEXT_MANAGER_SERVICE = "ambient_context_manager_service"; field public static final String NAMESPACE_ANDROID = "android"; field public static final String NAMESPACE_APPSEARCH = "appsearch"; field public static final String NAMESPACE_APP_COMPAT = "app_compat"; field public static final String NAMESPACE_APP_COMPAT_OVERRIDES = "app_compat_overrides"; field public static final String NAMESPACE_APP_HIBERNATION = "app_hibernation"; field public static final String NAMESPACE_ATTENTION_MANAGER_SERVICE = "attention_manager_service"; field public static final String NAMESPACE_AUTOFILL = "autofill"; field public static final String NAMESPACE_AUTO_PIN_CONFIRMATION = "auto_pin_confirmation"; field public static final String NAMESPACE_BACKUP_AND_RESTORE = "backup_and_restore"; field public static final String NAMESPACE_BATTERY_SAVER = "battery_saver"; field public static final String NAMESPACE_BIOMETRICS = "biometrics"; field public static final String NAMESPACE_BLOBSTORE = "blobstore"; field public static final String NAMESPACE_BLUETOOTH = "bluetooth"; field public static final String NAMESPACE_CAMERA_NATIVE = "camera_native"; field public static final String NAMESPACE_CAPTIVEPORTALLOGIN = "captive_portal_login"; field public static final String NAMESPACE_CELLULAR_SECURITY = "cellular_security"; field public static final String NAMESPACE_CLIPBOARD = "clipboard"; field public static final String NAMESPACE_CONNECTIVITY = "connectivity"; field public static final String NAMESPACE_CONSTRAIN_DISPLAY_APIS = "constrain_display_apis"; field public static final String NAMESPACE_CONTENT_CAPTURE = "content_capture"; field public static final String NAMESPACE_CREDENTIAL = "credential_manager"; field @Deprecated public static final String NAMESPACE_DEX_BOOT = "dex_boot"; field public static final String NAMESPACE_DISPLAY_MANAGER = "display_manager"; field public static final String NAMESPACE_EDGETPU_NATIVE = "edgetpu_native"; field public static final String NAMESPACE_GAME_DRIVER = "game_driver"; field public static final String NAMESPACE_HDMI_CONTROL = "hdmi_control"; field public static final String NAMESPACE_HEALTH_FITNESS = "health_fitness"; field public static final String NAMESPACE_INPUT_METHOD_MANAGER = "input_method_manager"; field public static final String NAMESPACE_INPUT_NATIVE_BOOT = "input_native_boot"; field public static final String NAMESPACE_INTELLIGENCE_ATTENTION = "intelligence_attention"; field public static final String NAMESPACE_JOB_SCHEDULER = "jobscheduler"; field public static final String NAMESPACE_LMKD_NATIVE = "lmkd_native"; field public static final String NAMESPACE_LOCATION = "location"; field public static final String NAMESPACE_MEDIA = "media"; field public static final String NAMESPACE_MEDIA_NATIVE = "media_native"; field public static final String NAMESPACE_NEARBY = "nearby"; field public static final String NAMESPACE_NETD_NATIVE = "netd_native"; field public static final String NAMESPACE_NNAPI_NATIVE = "nnapi_native"; field public static final String NAMESPACE_ON_DEVICE_PERSONALIZATION = "on_device_personalization"; field public static final String NAMESPACE_OTA = "ota"; field public static final String NAMESPACE_PACKAGE_MANAGER_SERVICE = "package_manager_service"; field public static final String NAMESPACE_PERMISSIONS = "permissions"; field public static final String NAMESPACE_PRIVACY = "privacy"; field public static final String NAMESPACE_PROFCOLLECT_NATIVE_BOOT = "profcollect_native_boot"; field public static final String NAMESPACE_REBOOT_READINESS = "reboot_readiness"; field public static final String NAMESPACE_REMOTE_AUTH = "remote_auth"; field public static final String NAMESPACE_ROLLBACK = "rollback"; field public static final String NAMESPACE_ROLLBACK_BOOT = "rollback_boot"; field public static final String NAMESPACE_RUNTIME = "runtime"; field public static final String NAMESPACE_RUNTIME_NATIVE = "runtime_native"; field public static final String NAMESPACE_RUNTIME_NATIVE_BOOT = "runtime_native_boot"; field public static final String NAMESPACE_SCHEDULER = "scheduler"; field public static final String NAMESPACE_SDK_SANDBOX = "sdk_sandbox"; field public static final String NAMESPACE_SELECTION_TOOLBAR = "selection_toolbar"; field public static final String NAMESPACE_STATSD_JAVA = "statsd_java"; field public static final String NAMESPACE_STATSD_JAVA_BOOT = "statsd_java_boot"; field public static final String NAMESPACE_STATSD_NATIVE = "statsd_native"; field public static final String NAMESPACE_STATSD_NATIVE_BOOT = "statsd_native_boot"; field @Deprecated public static final String NAMESPACE_STORAGE = "storage"; field public static final String NAMESPACE_STORAGE_NATIVE_BOOT = "storage_native_boot"; field public static final String NAMESPACE_SURFACE_FLINGER_NATIVE_BOOT = "surface_flinger_native_boot"; field public static final String NAMESPACE_SWCODEC_NATIVE = "swcodec_native"; field public static final String NAMESPACE_SYSTEMUI = "systemui"; field public static final String NAMESPACE_SYSTEM_TIME = "system_time"; field public static final String NAMESPACE_TELEPHONY = "telephony"; field public static final String NAMESPACE_TETHERING = "tethering"; field public static final String NAMESPACE_TEXTCLASSIFIER = "textclassifier"; field public static final String NAMESPACE_UWB = "uwb"; field public static final String NAMESPACE_WEARABLE_SENSING = "wearable_sensing"; field public static final String NAMESPACE_WINDOW_MANAGER_NATIVE_BOOT = "window_manager_native_boot"; field public static final int SYNC_DISABLED_MODE_NONE = 0; // 0x0 field public static final int SYNC_DISABLED_MODE_PERSISTENT = 1; // 0x1 field public static final int SYNC_DISABLED_MODE_UNTIL_REBOOT = 2; // 0x2 } public static class DeviceConfig.BadConfigException extends java.lang.Exception { ctor public DeviceConfig.BadConfigException(); } public static interface DeviceConfig.MonitorCallback { method public void onDeviceConfigAccess(@NonNull String, @NonNull String); method public void onNamespaceUpdate(@NonNull String); } public static interface DeviceConfig.OnPropertiesChangedListener { method public void onPropertiesChanged(@NonNull android.provider.DeviceConfig.Properties); } public static class DeviceConfig.Properties { method public boolean getBoolean(@NonNull String, boolean); method public float getFloat(@NonNull String, float); method public int getInt(@NonNull String, int); method @NonNull public java.util.Set getKeyset(); method public long getLong(@NonNull String, long); method @NonNull public String getNamespace(); method @Nullable public String getString(@NonNull String, @Nullable String); } public static final class DeviceConfig.Properties.Builder { ctor public DeviceConfig.Properties.Builder(@NonNull String); method @NonNull public android.provider.DeviceConfig.Properties build(); method @NonNull public android.provider.DeviceConfig.Properties.Builder setBoolean(@NonNull String, boolean); method @NonNull public android.provider.DeviceConfig.Properties.Builder setFloat(@NonNull String, float); method @NonNull public android.provider.DeviceConfig.Properties.Builder setInt(@NonNull String, int); method @NonNull public android.provider.DeviceConfig.Properties.Builder setLong(@NonNull String, long); method @NonNull public android.provider.DeviceConfig.Properties.Builder setString(@NonNull String, @Nullable String); } public final class DocumentsContract { method @NonNull public static android.net.Uri buildDocumentUriAsUser(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); method public static boolean isManageMode(@NonNull android.net.Uri); method @NonNull public static android.net.Uri setManageMode(@NonNull android.net.Uri); field public static final String ACTION_DOCUMENT_ROOT_SETTINGS = "android.provider.action.DOCUMENT_ROOT_SETTINGS"; field public static final String ACTION_MANAGE_DOCUMENT = "android.provider.action.MANAGE_DOCUMENT"; field public static final String DOWNLOADS_PROVIDER_AUTHORITY = "downloads"; field public static final String EXTERNAL_STORAGE_PROVIDER_AUTHORITY = "com.android.externalstorage.documents"; field public static final String EXTRA_SHOW_ADVANCED = "android.provider.extra.SHOW_ADVANCED"; } public static final class DocumentsContract.Root { field public static final int FLAG_ADVANCED = 65536; // 0x10000 field public static final int FLAG_HAS_SETTINGS = 131072; // 0x20000 field public static final int FLAG_REMOVABLE_SD = 262144; // 0x40000 field public static final int FLAG_REMOVABLE_USB = 524288; // 0x80000 } public final class MediaStore { method @NonNull public static android.net.Uri rewriteToLegacy(@NonNull android.net.Uri); method @NonNull @WorkerThread public static android.net.Uri scanFile(@NonNull android.content.ContentResolver, @NonNull java.io.File); method @WorkerThread public static void scanVolume(@NonNull android.content.ContentResolver, @NonNull String); method @WorkerThread public static void waitForIdle(@NonNull android.content.ContentResolver); field public static final String ACTION_USER_SELECT_IMAGES_FOR_APP = "android.provider.action.USER_SELECT_IMAGES_FOR_APP"; field public static final String AUTHORITY_LEGACY = "media_legacy"; field @NonNull public static final android.net.Uri AUTHORITY_LEGACY_URI; field public static final String QUERY_ARG_DEFER_SCAN = "android:query-arg-defer-scan"; } public abstract class SearchIndexableData { ctor public SearchIndexableData(); ctor public SearchIndexableData(android.content.Context); field public String className; field public android.content.Context context; field public boolean enabled; field public int iconResId; field public String intentAction; field public String intentTargetClass; field public String intentTargetPackage; field public String key; field public java.util.Locale locale; field public String packageName; field public int rank; field public int userId; } public class SearchIndexableResource extends android.provider.SearchIndexableData { ctor public SearchIndexableResource(int, int, String, int); ctor public SearchIndexableResource(android.content.Context); field public int xmlResId; } public class SearchIndexablesContract { ctor public SearchIndexablesContract(); field public static final int COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE = 0; // 0x0 field public static final int COLUMN_INDEX_RAW_CLASS_NAME = 7; // 0x7 field public static final int COLUMN_INDEX_RAW_ENTRIES = 4; // 0x4 field public static final int COLUMN_INDEX_RAW_ICON_RESID = 8; // 0x8 field public static final int COLUMN_INDEX_RAW_INTENT_ACTION = 9; // 0x9 field public static final int COLUMN_INDEX_RAW_INTENT_TARGET_CLASS = 11; // 0xb field public static final int COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE = 10; // 0xa field public static final int COLUMN_INDEX_RAW_KEY = 12; // 0xc field public static final int COLUMN_INDEX_RAW_KEYWORDS = 5; // 0x5 field public static final int COLUMN_INDEX_RAW_RANK = 0; // 0x0 field public static final int COLUMN_INDEX_RAW_SCREEN_TITLE = 6; // 0x6 field public static final int COLUMN_INDEX_RAW_SUMMARY_OFF = 3; // 0x3 field public static final int COLUMN_INDEX_RAW_SUMMARY_ON = 2; // 0x2 field public static final int COLUMN_INDEX_RAW_TITLE = 1; // 0x1 field public static final int COLUMN_INDEX_RAW_USER_ID = 13; // 0xd field public static final int COLUMN_INDEX_XML_RES_CLASS_NAME = 2; // 0x2 field public static final int COLUMN_INDEX_XML_RES_ICON_RESID = 3; // 0x3 field public static final int COLUMN_INDEX_XML_RES_INTENT_ACTION = 4; // 0x4 field public static final int COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS = 6; // 0x6 field public static final int COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE = 5; // 0x5 field public static final int COLUMN_INDEX_XML_RES_RANK = 0; // 0x0 field public static final int COLUMN_INDEX_XML_RES_RESID = 1; // 0x1 field public static final String DYNAMIC_INDEXABLES_RAW = "dynamic_indexables_raw"; field public static final String DYNAMIC_INDEXABLES_RAW_PATH = "settings/dynamic_indexables_raw"; field public static final String INDEXABLES_RAW = "indexables_raw"; field public static final String[] INDEXABLES_RAW_COLUMNS; field public static final String INDEXABLES_RAW_PATH = "settings/indexables_raw"; field public static final String INDEXABLES_XML_RES = "indexables_xml_res"; field public static final String[] INDEXABLES_XML_RES_COLUMNS; field public static final String INDEXABLES_XML_RES_PATH = "settings/indexables_xml_res"; field public static final String NON_INDEXABLES_KEYS = "non_indexables_key"; field public static final String[] NON_INDEXABLES_KEYS_COLUMNS; field public static final String NON_INDEXABLES_KEYS_PATH = "settings/non_indexables_key"; field public static final String PROVIDER_INTERFACE = "android.content.action.SEARCH_INDEXABLES_PROVIDER"; field public static final String SLICE_URI_PAIRS = "slice_uri_pairs"; field @NonNull public static final String[] SLICE_URI_PAIRS_COLUMNS; field public static final String SLICE_URI_PAIRS_PATH = "settings/slice_uri_pairs"; } public static class SearchIndexablesContract.BaseColumns { field public static final String COLUMN_CLASS_NAME = "className"; field public static final String COLUMN_ICON_RESID = "iconResId"; field public static final String COLUMN_INTENT_ACTION = "intentAction"; field public static final String COLUMN_INTENT_TARGET_CLASS = "intentTargetClass"; field public static final String COLUMN_INTENT_TARGET_PACKAGE = "intentTargetPackage"; field public static final String COLUMN_RANK = "rank"; } public static final class SearchIndexablesContract.NonIndexableKey extends android.provider.SearchIndexablesContract.BaseColumns { field public static final String COLUMN_KEY_VALUE = "key"; field public static final String MIME_TYPE = "vnd.android.cursor.dir/non_indexables_key"; } public static final class SearchIndexablesContract.RawData extends android.provider.SearchIndexablesContract.BaseColumns { field public static final String COLUMN_ENTRIES = "entries"; field public static final String COLUMN_KEY = "key"; field public static final String COLUMN_KEYWORDS = "keywords"; field public static final String COLUMN_SCREEN_TITLE = "screenTitle"; field public static final String COLUMN_SUMMARY_OFF = "summaryOff"; field public static final String COLUMN_SUMMARY_ON = "summaryOn"; field public static final String COLUMN_TITLE = "title"; field public static final String COLUMN_USER_ID = "user_id"; field public static final String MIME_TYPE = "vnd.android.cursor.dir/indexables_raw"; } public static final class SearchIndexablesContract.SliceUriPairColumns { field public static final String KEY = "key"; field public static final String SLICE_URI = "slice_uri"; } public static final class SearchIndexablesContract.XmlResource extends android.provider.SearchIndexablesContract.BaseColumns { field public static final String COLUMN_XML_RESID = "xmlResId"; field public static final String MIME_TYPE = "vnd.android.cursor.dir/indexables_xml_res"; } public abstract class SearchIndexablesProvider extends android.content.ContentProvider { ctor public SearchIndexablesProvider(); method public final int delete(android.net.Uri, String, String[]); method public String getType(android.net.Uri); method public final android.net.Uri insert(android.net.Uri, android.content.ContentValues); method public android.database.Cursor query(android.net.Uri, String[], String, String[], String); method @Nullable public android.database.Cursor queryDynamicRawData(@Nullable String[]); method public abstract android.database.Cursor queryNonIndexableKeys(String[]); method public abstract android.database.Cursor queryRawData(String[]); method @Nullable public android.database.Cursor querySliceUriPairs(); method public abstract android.database.Cursor queryXmlResources(String[]); method public final int update(android.net.Uri, android.content.ContentValues, String, String[]); } public final class Settings { method @Deprecated public static boolean checkAndNoteWriteSettingsOperation(@NonNull android.content.Context, int, @NonNull String, boolean); method public static boolean checkAndNoteWriteSettingsOperation(@NonNull android.content.Context, int, @NonNull String, @Nullable String, boolean); field public static final String ACTION_ACCESSIBILITY_DETAILS_SETTINGS = "android.settings.ACCESSIBILITY_DETAILS_SETTINGS"; field public static final String ACTION_BEDTIME_SETTINGS = "android.settings.BEDTIME_SETTINGS"; field public static final String ACTION_BUGREPORT_HANDLER_SETTINGS = "android.settings.BUGREPORT_HANDLER_SETTINGS"; field public static final String ACTION_ENTERPRISE_PRIVACY_SETTINGS = "android.settings.ENTERPRISE_PRIVACY_SETTINGS"; field public static final String ACTION_LOCATION_CONTROLLER_EXTRA_PACKAGE_SETTINGS = "android.settings.LOCATION_CONTROLLER_EXTRA_PACKAGE_SETTINGS"; field public static final String ACTION_MANAGE_APP_OVERLAY_PERMISSION = "android.settings.MANAGE_APP_OVERLAY_PERMISSION"; field public static final String ACTION_MANAGE_DOMAIN_URLS = "android.settings.MANAGE_DOMAIN_URLS"; field public static final String ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS = "android.settings.MANAGE_MORE_DEFAULT_APPS_SETTINGS"; field public static final String ACTION_NOTIFICATION_POLICY_ACCESS_DETAIL_SETTINGS = "android.settings.NOTIFICATION_POLICY_ACCESS_DETAIL_SETTINGS"; field public static final String ACTION_REQUEST_ENABLE_CONTENT_CAPTURE = "android.settings.REQUEST_ENABLE_CONTENT_CAPTURE"; field public static final String ACTION_SHOW_ADMIN_SUPPORT_DETAILS = "android.settings.SHOW_ADMIN_SUPPORT_DETAILS"; field public static final String ACTION_SHOW_RESTRICTED_SETTING_DIALOG = "android.settings.SHOW_RESTRICTED_SETTING_DIALOG"; field public static final String ACTION_TETHER_PROVISIONING_UI = "android.settings.TETHER_PROVISIONING_UI"; field public static final String ACTION_TETHER_SETTINGS = "android.settings.TETHER_SETTINGS"; field public static final String ACTION_TETHER_UNSUPPORTED_CARRIER_UI = "android.settings.TETHER_UNSUPPORTED_CARRIER_UI"; field public static final String ACTION_USER_SETTINGS = "android.settings.USER_SETTINGS"; } public static final class Settings.Global extends android.provider.Settings.NameValueTable { method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, @Nullable String, boolean); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static void resetToDefaults(@NonNull android.content.ContentResolver, @Nullable String); field public static final String AIRPLANE_MODE_TOGGLEABLE_RADIOS = "airplane_mode_toggleable_radios"; field public static final String APP_STANDBY_ENABLED = "app_standby_enabled"; field @Deprecated public static final String AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES = "autofill_compat_mode_allowed_packages"; field public static final String CARRIER_APP_NAMES = "carrier_app_names"; field public static final String CARRIER_APP_WHITELIST = "carrier_app_whitelist"; field public static final String DEFAULT_SM_DP_PLUS = "default_sm_dp_plus"; field public static final String DEVICE_DEMO_MODE = "device_demo_mode"; field public static final String DEVICE_PROVISIONING_MOBILE_DATA_ENABLED = "device_provisioning_mobile_data"; field public static final String EUICC_PROVISIONED = "euicc_provisioned"; field public static final String EUICC_SUPPORTED_COUNTRIES = "euicc_supported_countries"; field public static final String EUICC_UNSUPPORTED_COUNTRIES = "euicc_unsupported_countries"; field public static final String INSTALL_CARRIER_APP_NOTIFICATION_PERSISTENT = "install_carrier_app_notification_persistent"; field public static final String INSTALL_CARRIER_APP_NOTIFICATION_SLEEP_MILLIS = "install_carrier_app_notification_sleep_millis"; field public static final String OTA_DISABLE_AUTOMATIC_UPDATE = "ota_disable_automatic_update"; field public static final String REQUIRE_PASSWORD_TO_DECRYPT = "require_password_to_decrypt"; field public static final String TETHER_OFFLOAD_DISABLED = "tether_offload_disabled"; field public static final String TETHER_SUPPORTED = "tether_supported"; field public static final String THEATER_MODE_ON = "theater_mode_on"; field public static final String WEBVIEW_MULTIPROCESS = "webview_multiprocess"; field public static final String WIFI_BADGING_THRESHOLDS = "wifi_badging_thresholds"; field @Deprecated public static final String WIFI_WAKEUP_ENABLED = "wifi_wakeup_enabled"; } public static final class Settings.Secure extends android.provider.Settings.NameValueTable { method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, @Nullable String, boolean); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static void resetToDefaults(@NonNull android.content.ContentResolver, @Nullable String); field @Deprecated public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED = "accessibility_display_magnification_navbar_enabled"; field public static final String ASSIST_GESTURE_SETUP_COMPLETE = "assist_gesture_setup_complete"; field public static final String AUTOFILL_FEATURE_FIELD_CLASSIFICATION = "autofill_field_classification"; field public static final String AUTOFILL_USER_DATA_MAX_CATEGORY_COUNT = "autofill_user_data_max_category_count"; field public static final String AUTOFILL_USER_DATA_MAX_FIELD_CLASSIFICATION_IDS_SIZE = "autofill_user_data_max_field_classification_size"; field public static final String AUTOFILL_USER_DATA_MAX_USER_DATA_SIZE = "autofill_user_data_max_user_data_size"; field public static final String AUTOFILL_USER_DATA_MAX_VALUE_LENGTH = "autofill_user_data_max_value_length"; field public static final String AUTOFILL_USER_DATA_MIN_VALUE_LENGTH = "autofill_user_data_min_value_length"; field public static final String AUTO_REVOKE_DISABLED = "auto_revoke_disabled"; field public static final String COMPLETED_CATEGORY_PREFIX = "suggested.completed_category."; field public static final String DOZE_ALWAYS_ON = "doze_always_on"; field public static final String HUSH_GESTURE_USED = "hush_gesture_used"; field public static final String INSTANT_APPS_ENABLED = "instant_apps_enabled"; field public static final String LAST_SETUP_SHOWN = "last_setup_shown"; field @Deprecated public static final String LOCATION_ACCESS_CHECK_DELAY_MILLIS = "location_access_check_delay_millis"; field @Deprecated public static final String LOCATION_ACCESS_CHECK_INTERVAL_MILLIS = "location_access_check_interval_millis"; field public static final int LOCATION_MODE_ON = 3; // 0x3 field @Deprecated public static final String LOCATION_PERMISSIONS_UPGRADE_TO_Q_MODE = "location_permissions_upgrade_to_q_mode"; field public static final String LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS = "lock_screen_allow_private_notifications"; field public static final String LOCK_SCREEN_SHOW_NOTIFICATIONS = "lock_screen_show_notifications"; field public static final String ODI_CAPTIONS_ENABLED = "odi_captions_enabled"; field public static final String THEME_CUSTOMIZATION_OVERLAY_PACKAGES = "theme_customization_overlay_packages"; field public static final String UI_TRANSLATION_ENABLED = "ui_translation_enabled"; field public static final String USER_SETUP_COMPLETE = "user_setup_complete"; field public static final int USER_SETUP_PERSONALIZATION_COMPLETE = 10; // 0xa field public static final int USER_SETUP_PERSONALIZATION_NOT_STARTED = 0; // 0x0 field public static final int USER_SETUP_PERSONALIZATION_PAUSED = 2; // 0x2 field public static final int USER_SETUP_PERSONALIZATION_STARTED = 1; // 0x1 field public static final String USER_SETUP_PERSONALIZATION_STATE = "user_setup_personalization_state"; field public static final String VOLUME_HUSH_GESTURE = "volume_hush_gesture"; field public static final int VOLUME_HUSH_MUTE = 2; // 0x2 field public static final int VOLUME_HUSH_OFF = 0; // 0x0 field public static final int VOLUME_HUSH_VIBRATE = 1; // 0x1 } public static final class Settings.System extends android.provider.Settings.NameValueTable { method @RequiresPermission(android.Manifest.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, boolean); } public static final class SimPhonebookContract.SimRecords { field public static final String QUERY_ARG_PIN2 = "android:query-arg-pin2"; } public static final class Telephony.Carriers implements android.provider.BaseColumns { field public static final String APN_SET_ID = "apn_set_id"; field public static final int CARRIER_EDITED = 4; // 0x4 field public static final String EDITED_STATUS = "edited"; field public static final int MATCH_ALL_APN_SET_ID = -1; // 0xffffffff field public static final String MAX_CONNECTIONS = "max_conns"; field public static final String MODEM_PERSIST = "modem_cognitive"; field @Deprecated public static final String MTU = "mtu"; field public static final String MTU_V4 = "mtu_v4"; field public static final String MTU_V6 = "mtu_v6"; field public static final int NO_APN_SET_ID = 0; // 0x0 field public static final String TIME_LIMIT_FOR_MAX_CONNECTIONS = "max_conns_time"; field public static final int UNEDITED = 0; // 0x0 field public static final int USER_DELETED = 2; // 0x2 field public static final String USER_EDITABLE = "user_editable"; field public static final int USER_EDITED = 1; // 0x1 field public static final String USER_VISIBLE = "user_visible"; field public static final String WAIT_TIME_RETRY = "wait_time"; } public static final class Telephony.CellBroadcasts implements android.provider.BaseColumns { field @NonNull public static final String AUTHORITY_LEGACY = "cellbroadcast-legacy"; field @NonNull public static final android.net.Uri AUTHORITY_LEGACY_URI; field @NonNull public static final String CALL_METHOD_GET_PREFERENCE = "get_preference"; field public static final String CID = "cid"; field public static final String CMAS_CATEGORY = "cmas_category"; field public static final String CMAS_CERTAINTY = "cmas_certainty"; field public static final String CMAS_MESSAGE_CLASS = "cmas_message_class"; field public static final String CMAS_RESPONSE_TYPE = "cmas_response_type"; field public static final String CMAS_SEVERITY = "cmas_severity"; field public static final String CMAS_URGENCY = "cmas_urgency"; field @NonNull public static final android.net.Uri CONTENT_URI; field public static final String DATA_CODING_SCHEME = "dcs"; field public static final String DEFAULT_SORT_ORDER = "date DESC"; field public static final String DELIVERY_TIME = "date"; field public static final String ETWS_IS_PRIMARY = "etws_is_primary"; field public static final String ETWS_WARNING_TYPE = "etws_warning_type"; field public static final String GEOGRAPHICAL_SCOPE = "geo_scope"; field public static final String GEOMETRIES = "geometries"; field public static final String LAC = "lac"; field public static final String LANGUAGE_CODE = "language"; field public static final String LOCATION_CHECK_TIME = "location_check_time"; field public static final String MAXIMUM_WAIT_TIME = "maximum_wait_time"; field public static final String MESSAGE_BODY = "body"; field public static final String MESSAGE_BROADCASTED = "message_broadcasted"; field public static final String MESSAGE_DISPLAYED = "message_displayed"; field public static final String MESSAGE_FORMAT = "format"; field @NonNull @RequiresPermission(android.Manifest.permission.READ_CELL_BROADCASTS) public static final android.net.Uri MESSAGE_HISTORY_URI; field public static final String MESSAGE_PRIORITY = "priority"; field public static final String MESSAGE_READ = "read"; field public static final String PLMN = "plmn"; field public static final String RECEIVED_TIME = "received_time"; field public static final String SERIAL_NUMBER = "serial_number"; field public static final String SERVICE_CATEGORY = "service_category"; field public static final String SLOT_INDEX = "slot_index"; field public static final String SUBSCRIPTION_ID = "sub_id"; } public static final class Telephony.CellBroadcasts.Preference { field @NonNull public static final String ENABLE_ALERT_VIBRATION_PREF = "enable_alert_vibrate"; field @NonNull public static final String ENABLE_AREA_UPDATE_INFO_PREF = "enable_area_update_info_alerts"; field @NonNull public static final String ENABLE_CMAS_AMBER_PREF = "enable_cmas_amber_alerts"; field @NonNull public static final String ENABLE_CMAS_EXTREME_THREAT_PREF = "enable_cmas_extreme_threat_alerts"; field @NonNull public static final String ENABLE_CMAS_IN_SECOND_LANGUAGE_PREF = "receive_cmas_in_second_language"; field @NonNull public static final String ENABLE_CMAS_PRESIDENTIAL_PREF = "enable_cmas_presidential_alerts"; field @NonNull public static final String ENABLE_CMAS_SEVERE_THREAT_PREF = "enable_cmas_severe_threat_alerts"; field @NonNull public static final String ENABLE_EMERGENCY_PERF = "enable_emergency_alerts"; field @NonNull public static final String ENABLE_PUBLIC_SAFETY_PREF = "enable_public_safety_messages"; field @NonNull public static final String ENABLE_STATE_LOCAL_TEST_PREF = "enable_state_local_test_alerts"; field @NonNull public static final String ENABLE_TEST_ALERT_PREF = "enable_test_alerts"; } public static final class Telephony.Sms.Intents { field public static final String ACTION_SMS_EMERGENCY_CB_RECEIVED = "android.provider.action.SMS_EMERGENCY_CB_RECEIVED"; } public final class TimeZoneRulesDataContract { field public static final String AUTHORITY = "com.android.timezone"; } public static final class TimeZoneRulesDataContract.Operation { field public static final String COLUMN_DISTRO_MAJOR_VERSION = "distro_major_version"; field public static final String COLUMN_DISTRO_MINOR_VERSION = "distro_minor_version"; field public static final String COLUMN_REVISION = "revision"; field public static final String COLUMN_RULES_VERSION = "rules_version"; field public static final String COLUMN_TYPE = "type"; field public static final android.net.Uri CONTENT_URI; field public static final String TYPE_INSTALL = "INSTALL"; field public static final String TYPE_NO_OP = "NOOP"; field public static final String TYPE_UNINSTALL = "UNINSTALL"; } public final class UpdatableDeviceConfigServiceReadiness { method public static boolean shouldStartUpdatableService(); } } package android.safetycenter { public final class SafetyCenterData implements android.os.Parcelable { ctor public SafetyCenterData(@NonNull android.safetycenter.SafetyCenterStatus, @NonNull java.util.List, @NonNull java.util.List, @NonNull java.util.List); method public int describeContents(); method @NonNull public java.util.List getDismissedIssues(); method @NonNull public java.util.List getEntriesOrGroups(); method @NonNull public android.os.Bundle getExtras(); method @NonNull public java.util.List getIssues(); method @NonNull public java.util.List getStaticEntryGroups(); method @NonNull public android.safetycenter.SafetyCenterStatus getStatus(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SafetyCenterData.Builder { ctor public SafetyCenterData.Builder(@NonNull android.safetycenter.SafetyCenterStatus); ctor public SafetyCenterData.Builder(@NonNull android.safetycenter.SafetyCenterData); method @NonNull public android.safetycenter.SafetyCenterData.Builder addDismissedIssue(@NonNull android.safetycenter.SafetyCenterIssue); method @NonNull public android.safetycenter.SafetyCenterData.Builder addEntryOrGroup(@NonNull android.safetycenter.SafetyCenterEntryOrGroup); method @NonNull public android.safetycenter.SafetyCenterData.Builder addIssue(@NonNull android.safetycenter.SafetyCenterIssue); method @NonNull public android.safetycenter.SafetyCenterData.Builder addStaticEntryGroup(@NonNull android.safetycenter.SafetyCenterStaticEntryGroup); method @NonNull public android.safetycenter.SafetyCenterData build(); method @NonNull public android.safetycenter.SafetyCenterData.Builder clearDismissedIssues(); method @NonNull public android.safetycenter.SafetyCenterData.Builder clearEntriesOrGroups(); method @NonNull public android.safetycenter.SafetyCenterData.Builder clearExtras(); method @NonNull public android.safetycenter.SafetyCenterData.Builder clearIssues(); method @NonNull public android.safetycenter.SafetyCenterData.Builder clearStaticEntryGroups(); method @NonNull public android.safetycenter.SafetyCenterData.Builder setExtras(@NonNull android.os.Bundle); } public final class SafetyCenterEntry implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.safetycenter.SafetyCenterEntry.IconAction getIconAction(); method @NonNull public String getId(); method @Nullable public android.app.PendingIntent getPendingIntent(); method public int getSeverityLevel(); method public int getSeverityUnspecifiedIconType(); method @Nullable public CharSequence getSummary(); method @NonNull public CharSequence getTitle(); method public boolean isEnabled(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int ENTRY_SEVERITY_LEVEL_CRITICAL_WARNING = 3400; // 0xd48 field public static final int ENTRY_SEVERITY_LEVEL_OK = 3200; // 0xc80 field public static final int ENTRY_SEVERITY_LEVEL_RECOMMENDATION = 3300; // 0xce4 field public static final int ENTRY_SEVERITY_LEVEL_UNKNOWN = 3000; // 0xbb8 field public static final int ENTRY_SEVERITY_LEVEL_UNSPECIFIED = 3100; // 0xc1c field public static final int SEVERITY_UNSPECIFIED_ICON_TYPE_NO_ICON = 0; // 0x0 field public static final int SEVERITY_UNSPECIFIED_ICON_TYPE_NO_RECOMMENDATION = 2; // 0x2 field public static final int SEVERITY_UNSPECIFIED_ICON_TYPE_PRIVACY = 1; // 0x1 } public static final class SafetyCenterEntry.Builder { ctor public SafetyCenterEntry.Builder(@NonNull String, @NonNull CharSequence); ctor public SafetyCenterEntry.Builder(@NonNull android.safetycenter.SafetyCenterEntry); method @NonNull public android.safetycenter.SafetyCenterEntry build(); method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setEnabled(boolean); method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setIconAction(@Nullable android.safetycenter.SafetyCenterEntry.IconAction); method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setIconAction(int, @NonNull android.app.PendingIntent); method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setId(@NonNull String); method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setPendingIntent(@Nullable android.app.PendingIntent); method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setSeverityLevel(int); method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setSeverityUnspecifiedIconType(int); method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setSummary(@Nullable CharSequence); method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setTitle(@NonNull CharSequence); } public static final class SafetyCenterEntry.IconAction implements android.os.Parcelable { ctor public SafetyCenterEntry.IconAction(int, @NonNull android.app.PendingIntent); method public int describeContents(); method @NonNull public android.app.PendingIntent getPendingIntent(); method public int getType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int ICON_ACTION_TYPE_GEAR = 30100; // 0x7594 field public static final int ICON_ACTION_TYPE_INFO = 30200; // 0x75f8 } public final class SafetyCenterEntryGroup implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getEntries(); method @NonNull public String getId(); method public int getSeverityLevel(); method public int getSeverityUnspecifiedIconType(); method @Nullable public CharSequence getSummary(); method @NonNull public CharSequence getTitle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SafetyCenterEntryGroup.Builder { ctor public SafetyCenterEntryGroup.Builder(@NonNull String, @NonNull CharSequence); ctor public SafetyCenterEntryGroup.Builder(@NonNull android.safetycenter.SafetyCenterEntryGroup); method @NonNull public android.safetycenter.SafetyCenterEntryGroup build(); method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setEntries(@NonNull java.util.List); method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setId(@NonNull String); method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setSeverityLevel(int); method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setSeverityUnspecifiedIconType(int); method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setSummary(@Nullable CharSequence); method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setTitle(@NonNull CharSequence); } public final class SafetyCenterEntryOrGroup implements android.os.Parcelable { ctor public SafetyCenterEntryOrGroup(@NonNull android.safetycenter.SafetyCenterEntry); ctor public SafetyCenterEntryOrGroup(@NonNull android.safetycenter.SafetyCenterEntryGroup); method public int describeContents(); method @Nullable public android.safetycenter.SafetyCenterEntry getEntry(); method @Nullable public android.safetycenter.SafetyCenterEntryGroup getEntryGroup(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SafetyCenterErrorDetails implements android.os.Parcelable { ctor public SafetyCenterErrorDetails(@NonNull CharSequence); method public int describeContents(); method @NonNull public CharSequence getErrorMessage(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SafetyCenterIssue implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getActions(); method @Nullable public CharSequence getAttributionTitle(); method @Nullable public String getGroupId(); method @NonNull public String getId(); method public int getSeverityLevel(); method @Nullable public CharSequence getSubtitle(); method @NonNull public CharSequence getSummary(); method @NonNull public CharSequence getTitle(); method public boolean isDismissible(); method public boolean shouldConfirmDismissal(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int ISSUE_SEVERITY_LEVEL_CRITICAL_WARNING = 2300; // 0x8fc field public static final int ISSUE_SEVERITY_LEVEL_OK = 2100; // 0x834 field public static final int ISSUE_SEVERITY_LEVEL_RECOMMENDATION = 2200; // 0x898 } public static final class SafetyCenterIssue.Action implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.safetycenter.SafetyCenterIssue.Action.ConfirmationDialogDetails getConfirmationDialogDetails(); method @NonNull public String getId(); method @NonNull public CharSequence getLabel(); method @NonNull public android.app.PendingIntent getPendingIntent(); method @Nullable public CharSequence getSuccessMessage(); method public boolean isInFlight(); method public boolean willResolve(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SafetyCenterIssue.Action.Builder { ctor public SafetyCenterIssue.Action.Builder(@NonNull String, @NonNull CharSequence, @NonNull android.app.PendingIntent); ctor public SafetyCenterIssue.Action.Builder(@NonNull android.safetycenter.SafetyCenterIssue.Action); method @NonNull public android.safetycenter.SafetyCenterIssue.Action build(); method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setConfirmationDialogDetails(@Nullable android.safetycenter.SafetyCenterIssue.Action.ConfirmationDialogDetails); method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setId(@NonNull String); method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setIsInFlight(boolean); method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setLabel(@NonNull CharSequence); method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setPendingIntent(@NonNull android.app.PendingIntent); method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setSuccessMessage(@Nullable CharSequence); method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setWillResolve(boolean); } public static final class SafetyCenterIssue.Action.ConfirmationDialogDetails implements android.os.Parcelable { ctor public SafetyCenterIssue.Action.ConfirmationDialogDetails(@NonNull CharSequence, @NonNull CharSequence, @NonNull CharSequence, @NonNull CharSequence); method public int describeContents(); method @NonNull public CharSequence getAcceptButtonText(); method @NonNull public CharSequence getDenyButtonText(); method @NonNull public CharSequence getText(); method @NonNull public CharSequence getTitle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SafetyCenterIssue.Builder { ctor public SafetyCenterIssue.Builder(@NonNull String, @NonNull CharSequence, @NonNull CharSequence); ctor public SafetyCenterIssue.Builder(@NonNull android.safetycenter.SafetyCenterIssue); method @NonNull public android.safetycenter.SafetyCenterIssue build(); method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setActions(@NonNull java.util.List); method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setAttributionTitle(@Nullable CharSequence); method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setDismissible(boolean); method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setGroupId(@Nullable String); method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setId(@NonNull String); method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setSeverityLevel(int); method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setShouldConfirmDismissal(boolean); method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setSubtitle(@Nullable CharSequence); method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setSummary(@NonNull CharSequence); method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setTitle(@NonNull CharSequence); } public final class SafetyCenterManager { method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void addOnSafetyCenterDataChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.safetycenter.SafetyCenterManager.OnSafetyCenterDataChangedListener); method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void clearAllSafetySourceDataForTests(); method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void clearSafetyCenterConfigForTests(); method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void dismissSafetyCenterIssue(@NonNull String); method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void executeSafetyCenterIssueAction(@NonNull String, @NonNull String); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public android.safetycenter.config.SafetyCenterConfig getSafetyCenterConfig(); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public android.safetycenter.SafetyCenterData getSafetyCenterData(); method @Nullable @RequiresPermission(android.Manifest.permission.SEND_SAFETY_CENTER_UPDATE) public android.safetycenter.SafetySourceData getSafetySourceData(@NonNull String); method @RequiresPermission(anyOf={android.Manifest.permission.READ_SAFETY_CENTER_STATUS, android.Manifest.permission.SEND_SAFETY_CENTER_UPDATE}) public boolean isSafetyCenterEnabled(); method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void refreshSafetySources(int); method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void refreshSafetySources(int, @NonNull java.util.List); method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void removeOnSafetyCenterDataChangedListener(@NonNull android.safetycenter.SafetyCenterManager.OnSafetyCenterDataChangedListener); method @RequiresPermission(android.Manifest.permission.SEND_SAFETY_CENTER_UPDATE) public void reportSafetySourceError(@NonNull String, @NonNull android.safetycenter.SafetySourceErrorDetails); method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void setSafetyCenterConfigForTests(@NonNull android.safetycenter.config.SafetyCenterConfig); method @RequiresPermission(android.Manifest.permission.SEND_SAFETY_CENTER_UPDATE) public void setSafetySourceData(@NonNull String, @Nullable android.safetycenter.SafetySourceData, @NonNull android.safetycenter.SafetyEvent); field public static final String ACTION_REFRESH_SAFETY_SOURCES = "android.safetycenter.action.REFRESH_SAFETY_SOURCES"; field public static final String ACTION_SAFETY_CENTER_ENABLED_CHANGED = "android.safetycenter.action.SAFETY_CENTER_ENABLED_CHANGED"; field public static final int EXTRA_REFRESH_REQUEST_TYPE_FETCH_FRESH_DATA = 0; // 0x0 field public static final int EXTRA_REFRESH_REQUEST_TYPE_GET_DATA = 1; // 0x1 field public static final String EXTRA_REFRESH_SAFETY_SOURCES_BROADCAST_ID = "android.safetycenter.extra.REFRESH_SAFETY_SOURCES_BROADCAST_ID"; field public static final String EXTRA_REFRESH_SAFETY_SOURCES_REQUEST_TYPE = "android.safetycenter.extra.REFRESH_SAFETY_SOURCES_REQUEST_TYPE"; field public static final String EXTRA_REFRESH_SAFETY_SOURCE_IDS = "android.safetycenter.extra.REFRESH_SAFETY_SOURCE_IDS"; field public static final String EXTRA_SAFETY_SOURCES_GROUP_ID = "android.safetycenter.extra.SAFETY_SOURCES_GROUP_ID"; field public static final String EXTRA_SAFETY_SOURCE_ID = "android.safetycenter.extra.SAFETY_SOURCE_ID"; field public static final String EXTRA_SAFETY_SOURCE_ISSUE_ID = "android.safetycenter.extra.SAFETY_SOURCE_ISSUE_ID"; field public static final String EXTRA_SAFETY_SOURCE_USER_HANDLE = "android.safetycenter.extra.SAFETY_SOURCE_USER_HANDLE"; field public static final int REFRESH_REASON_DEVICE_LOCALE_CHANGE = 400; // 0x190 field public static final int REFRESH_REASON_DEVICE_REBOOT = 300; // 0x12c field public static final int REFRESH_REASON_OTHER = 600; // 0x258 field public static final int REFRESH_REASON_PAGE_OPEN = 100; // 0x64 field public static final int REFRESH_REASON_PERIODIC = 700; // 0x2bc field public static final int REFRESH_REASON_RESCAN_BUTTON_CLICK = 200; // 0xc8 field public static final int REFRESH_REASON_SAFETY_CENTER_ENABLED = 500; // 0x1f4 } public static interface SafetyCenterManager.OnSafetyCenterDataChangedListener { method public default void onError(@NonNull android.safetycenter.SafetyCenterErrorDetails); method public void onSafetyCenterDataChanged(@NonNull android.safetycenter.SafetyCenterData); } public final class SafetyCenterStaticEntry implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.app.PendingIntent getPendingIntent(); method @Nullable public CharSequence getSummary(); method @NonNull public CharSequence getTitle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SafetyCenterStaticEntry.Builder { ctor public SafetyCenterStaticEntry.Builder(@NonNull CharSequence); ctor public SafetyCenterStaticEntry.Builder(@NonNull android.safetycenter.SafetyCenterStaticEntry); method @NonNull public android.safetycenter.SafetyCenterStaticEntry build(); method @NonNull public android.safetycenter.SafetyCenterStaticEntry.Builder setPendingIntent(@Nullable android.app.PendingIntent); method @NonNull public android.safetycenter.SafetyCenterStaticEntry.Builder setSummary(@Nullable CharSequence); method @NonNull public android.safetycenter.SafetyCenterStaticEntry.Builder setTitle(@NonNull CharSequence); } public final class SafetyCenterStaticEntryGroup implements android.os.Parcelable { ctor public SafetyCenterStaticEntryGroup(@NonNull CharSequence, @NonNull java.util.List); method public int describeContents(); method @NonNull public java.util.List getStaticEntries(); method @NonNull public CharSequence getTitle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SafetyCenterStatus implements android.os.Parcelable { method public int describeContents(); method public int getRefreshStatus(); method public int getSeverityLevel(); method @NonNull public CharSequence getSummary(); method @NonNull public CharSequence getTitle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int OVERALL_SEVERITY_LEVEL_CRITICAL_WARNING = 1300; // 0x514 field public static final int OVERALL_SEVERITY_LEVEL_OK = 1100; // 0x44c field public static final int OVERALL_SEVERITY_LEVEL_RECOMMENDATION = 1200; // 0x4b0 field public static final int OVERALL_SEVERITY_LEVEL_UNKNOWN = 1000; // 0x3e8 field public static final int REFRESH_STATUS_DATA_FETCH_IN_PROGRESS = 10100; // 0x2774 field public static final int REFRESH_STATUS_FULL_RESCAN_IN_PROGRESS = 10200; // 0x27d8 field public static final int REFRESH_STATUS_NONE = 0; // 0x0 } public static final class SafetyCenterStatus.Builder { ctor public SafetyCenterStatus.Builder(@NonNull CharSequence, @NonNull CharSequence); ctor public SafetyCenterStatus.Builder(@NonNull android.safetycenter.SafetyCenterStatus); method @NonNull public android.safetycenter.SafetyCenterStatus build(); method @NonNull public android.safetycenter.SafetyCenterStatus.Builder setRefreshStatus(int); method @NonNull public android.safetycenter.SafetyCenterStatus.Builder setSeverityLevel(int); method @NonNull public android.safetycenter.SafetyCenterStatus.Builder setSummary(@NonNull CharSequence); method @NonNull public android.safetycenter.SafetyCenterStatus.Builder setTitle(@NonNull CharSequence); } public final class SafetyEvent implements android.os.Parcelable { method public int describeContents(); method @Nullable public String getRefreshBroadcastId(); method @Nullable public String getSafetySourceIssueActionId(); method @Nullable public String getSafetySourceIssueId(); method public int getType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int SAFETY_EVENT_TYPE_DEVICE_LOCALE_CHANGED = 500; // 0x1f4 field public static final int SAFETY_EVENT_TYPE_DEVICE_REBOOTED = 600; // 0x258 field public static final int SAFETY_EVENT_TYPE_REFRESH_REQUESTED = 200; // 0xc8 field public static final int SAFETY_EVENT_TYPE_RESOLVING_ACTION_FAILED = 400; // 0x190 field public static final int SAFETY_EVENT_TYPE_RESOLVING_ACTION_SUCCEEDED = 300; // 0x12c field public static final int SAFETY_EVENT_TYPE_SOURCE_STATE_CHANGED = 100; // 0x64 } public static final class SafetyEvent.Builder { ctor public SafetyEvent.Builder(int); ctor public SafetyEvent.Builder(@NonNull android.safetycenter.SafetyEvent); method @NonNull public android.safetycenter.SafetyEvent build(); method @NonNull public android.safetycenter.SafetyEvent.Builder setRefreshBroadcastId(@Nullable String); method @NonNull public android.safetycenter.SafetyEvent.Builder setSafetySourceIssueActionId(@Nullable String); method @NonNull public android.safetycenter.SafetyEvent.Builder setSafetySourceIssueId(@Nullable String); } public final class SafetySourceData implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.os.Bundle getExtras(); method @NonNull public java.util.List getIssues(); method @Nullable public android.safetycenter.SafetySourceStatus getStatus(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int SEVERITY_LEVEL_CRITICAL_WARNING = 400; // 0x190 field public static final int SEVERITY_LEVEL_INFORMATION = 200; // 0xc8 field public static final int SEVERITY_LEVEL_RECOMMENDATION = 300; // 0x12c field public static final int SEVERITY_LEVEL_UNSPECIFIED = 100; // 0x64 } public static final class SafetySourceData.Builder { ctor public SafetySourceData.Builder(); ctor public SafetySourceData.Builder(@NonNull android.safetycenter.SafetySourceData); method @NonNull public android.safetycenter.SafetySourceData.Builder addIssue(@NonNull android.safetycenter.SafetySourceIssue); method @NonNull public android.safetycenter.SafetySourceData build(); method @NonNull public android.safetycenter.SafetySourceData.Builder clearExtras(); method @NonNull public android.safetycenter.SafetySourceData.Builder clearIssues(); method @NonNull public android.safetycenter.SafetySourceData.Builder setExtras(@NonNull android.os.Bundle); method @NonNull public android.safetycenter.SafetySourceData.Builder setStatus(@Nullable android.safetycenter.SafetySourceStatus); } public final class SafetySourceErrorDetails implements android.os.Parcelable { ctor public SafetySourceErrorDetails(@NonNull android.safetycenter.SafetyEvent); method public int describeContents(); method @NonNull public android.safetycenter.SafetyEvent getSafetyEvent(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SafetySourceIssue implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getActions(); method @Nullable public CharSequence getAttributionTitle(); method @Nullable public android.safetycenter.SafetySourceIssue.Notification getCustomNotification(); method @Nullable public String getDeduplicationId(); method @NonNull public String getId(); method public int getIssueActionability(); method public int getIssueCategory(); method @NonNull public String getIssueTypeId(); method public int getNotificationBehavior(); method @Nullable public android.app.PendingIntent getOnDismissPendingIntent(); method public int getSeverityLevel(); method @Nullable public CharSequence getSubtitle(); method @NonNull public CharSequence getSummary(); method @NonNull public CharSequence getTitle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int ISSUE_ACTIONABILITY_AUTOMATIC = 200; // 0xc8 field public static final int ISSUE_ACTIONABILITY_MANUAL = 0; // 0x0 field public static final int ISSUE_ACTIONABILITY_TIP = 100; // 0x64 field public static final int ISSUE_CATEGORY_ACCOUNT = 200; // 0xc8 field public static final int ISSUE_CATEGORY_DATA = 400; // 0x190 field public static final int ISSUE_CATEGORY_DEVICE = 100; // 0x64 field public static final int ISSUE_CATEGORY_GENERAL = 300; // 0x12c field public static final int ISSUE_CATEGORY_PASSWORDS = 500; // 0x1f4 field public static final int ISSUE_CATEGORY_PERSONAL_SAFETY = 600; // 0x258 field public static final int NOTIFICATION_BEHAVIOR_DELAYED = 200; // 0xc8 field public static final int NOTIFICATION_BEHAVIOR_IMMEDIATELY = 300; // 0x12c field public static final int NOTIFICATION_BEHAVIOR_NEVER = 100; // 0x64 field public static final int NOTIFICATION_BEHAVIOR_UNSPECIFIED = 0; // 0x0 } public static final class SafetySourceIssue.Action implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.safetycenter.SafetySourceIssue.Action.ConfirmationDialogDetails getConfirmationDialogDetails(); method @NonNull public String getId(); method @NonNull public CharSequence getLabel(); method @NonNull public android.app.PendingIntent getPendingIntent(); method @Nullable public CharSequence getSuccessMessage(); method public boolean willResolve(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SafetySourceIssue.Action.Builder { ctor public SafetySourceIssue.Action.Builder(@NonNull String, @NonNull CharSequence, @NonNull android.app.PendingIntent); ctor public SafetySourceIssue.Action.Builder(@NonNull android.safetycenter.SafetySourceIssue.Action); method @NonNull public android.safetycenter.SafetySourceIssue.Action build(); method @NonNull public android.safetycenter.SafetySourceIssue.Action.Builder setConfirmationDialogDetails(@Nullable android.safetycenter.SafetySourceIssue.Action.ConfirmationDialogDetails); method @NonNull public android.safetycenter.SafetySourceIssue.Action.Builder setSuccessMessage(@Nullable CharSequence); method @NonNull public android.safetycenter.SafetySourceIssue.Action.Builder setWillResolve(boolean); } public static final class SafetySourceIssue.Action.ConfirmationDialogDetails implements android.os.Parcelable { ctor public SafetySourceIssue.Action.ConfirmationDialogDetails(@NonNull CharSequence, @NonNull CharSequence, @NonNull CharSequence, @NonNull CharSequence); method public int describeContents(); method @NonNull public CharSequence getAcceptButtonText(); method @NonNull public CharSequence getDenyButtonText(); method @NonNull public CharSequence getText(); method @NonNull public CharSequence getTitle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SafetySourceIssue.Builder { ctor public SafetySourceIssue.Builder(@NonNull String, @NonNull CharSequence, @NonNull CharSequence, int, @NonNull String); ctor public SafetySourceIssue.Builder(@NonNull android.safetycenter.SafetySourceIssue); method @NonNull public android.safetycenter.SafetySourceIssue.Builder addAction(@NonNull android.safetycenter.SafetySourceIssue.Action); method @NonNull public android.safetycenter.SafetySourceIssue build(); method @NonNull public android.safetycenter.SafetySourceIssue.Builder clearActions(); method @NonNull public android.safetycenter.SafetySourceIssue.Builder setAttributionTitle(@Nullable CharSequence); method @NonNull public android.safetycenter.SafetySourceIssue.Builder setCustomNotification(@Nullable android.safetycenter.SafetySourceIssue.Notification); method @NonNull public android.safetycenter.SafetySourceIssue.Builder setDeduplicationId(@Nullable String); method @NonNull public android.safetycenter.SafetySourceIssue.Builder setIssueActionability(int); method @NonNull public android.safetycenter.SafetySourceIssue.Builder setIssueCategory(int); method @NonNull public android.safetycenter.SafetySourceIssue.Builder setNotificationBehavior(int); method @NonNull public android.safetycenter.SafetySourceIssue.Builder setOnDismissPendingIntent(@Nullable android.app.PendingIntent); method @NonNull public android.safetycenter.SafetySourceIssue.Builder setSubtitle(@Nullable CharSequence); } public static final class SafetySourceIssue.Notification implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getActions(); method @NonNull public CharSequence getText(); method @NonNull public CharSequence getTitle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SafetySourceIssue.Notification.Builder { ctor public SafetySourceIssue.Notification.Builder(@NonNull CharSequence, @NonNull CharSequence); ctor public SafetySourceIssue.Notification.Builder(@NonNull android.safetycenter.SafetySourceIssue.Notification); method @NonNull public android.safetycenter.SafetySourceIssue.Notification.Builder addAction(@NonNull android.safetycenter.SafetySourceIssue.Action); method @NonNull public android.safetycenter.SafetySourceIssue.Notification.Builder addActions(@NonNull java.util.List); method @NonNull public android.safetycenter.SafetySourceIssue.Notification build(); method @NonNull public android.safetycenter.SafetySourceIssue.Notification.Builder clearActions(); } public final class SafetySourceStatus implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.safetycenter.SafetySourceStatus.IconAction getIconAction(); method @Nullable public android.app.PendingIntent getPendingIntent(); method public int getSeverityLevel(); method @NonNull public CharSequence getSummary(); method @NonNull public CharSequence getTitle(); method public boolean isEnabled(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SafetySourceStatus.Builder { ctor public SafetySourceStatus.Builder(@NonNull CharSequence, @NonNull CharSequence, int); ctor public SafetySourceStatus.Builder(@NonNull android.safetycenter.SafetySourceStatus); method @NonNull public android.safetycenter.SafetySourceStatus build(); method @NonNull public android.safetycenter.SafetySourceStatus.Builder setEnabled(boolean); method @NonNull public android.safetycenter.SafetySourceStatus.Builder setIconAction(@Nullable android.safetycenter.SafetySourceStatus.IconAction); method @NonNull public android.safetycenter.SafetySourceStatus.Builder setPendingIntent(@Nullable android.app.PendingIntent); } public static final class SafetySourceStatus.IconAction implements android.os.Parcelable { ctor public SafetySourceStatus.IconAction(int, @NonNull android.app.PendingIntent); method public int describeContents(); method public int getIconType(); method @NonNull public android.app.PendingIntent getPendingIntent(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int ICON_TYPE_GEAR = 100; // 0x64 field public static final int ICON_TYPE_INFO = 200; // 0xc8 } } package android.safetycenter.config { public final class SafetyCenterConfig implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getSafetySourcesGroups(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class SafetyCenterConfig.Builder { ctor public SafetyCenterConfig.Builder(); ctor public SafetyCenterConfig.Builder(@NonNull android.safetycenter.config.SafetyCenterConfig); method @NonNull public android.safetycenter.config.SafetyCenterConfig.Builder addSafetySourcesGroup(@NonNull android.safetycenter.config.SafetySourcesGroup); method @NonNull public android.safetycenter.config.SafetyCenterConfig build(); } public final class SafetySource implements android.os.Parcelable { method public boolean areNotificationsAllowed(); method public int describeContents(); method @Nullable public String getDeduplicationGroup(); method @NonNull public String getId(); method public int getInitialDisplayState(); method @Nullable public String getIntentAction(); method public int getMaxSeverityLevel(); method @Nullable public String getOptionalPackageName(); method @NonNull public java.util.Set getPackageCertificateHashes(); method @NonNull public String getPackageName(); method public int getProfile(); method @StringRes public int getSearchTermsResId(); method @StringRes public int getSummaryResId(); method @StringRes public int getTitleForWorkResId(); method @StringRes public int getTitleResId(); method public int getType(); method public boolean isLoggingAllowed(); method public boolean isRefreshOnPageOpenAllowed(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int INITIAL_DISPLAY_STATE_DISABLED = 1; // 0x1 field public static final int INITIAL_DISPLAY_STATE_ENABLED = 0; // 0x0 field public static final int INITIAL_DISPLAY_STATE_HIDDEN = 2; // 0x2 field public static final int PROFILE_ALL = 2; // 0x2 field public static final int PROFILE_NONE = 0; // 0x0 field public static final int PROFILE_PRIMARY = 1; // 0x1 field public static final int SAFETY_SOURCE_TYPE_DYNAMIC = 2; // 0x2 field public static final int SAFETY_SOURCE_TYPE_ISSUE_ONLY = 3; // 0x3 field public static final int SAFETY_SOURCE_TYPE_STATIC = 1; // 0x1 } public static final class SafetySource.Builder { ctor public SafetySource.Builder(int); ctor public SafetySource.Builder(@NonNull android.safetycenter.config.SafetySource); method @NonNull public android.safetycenter.config.SafetySource.Builder addPackageCertificateHash(@NonNull String); method @NonNull public android.safetycenter.config.SafetySource build(); method @NonNull public android.safetycenter.config.SafetySource.Builder setDeduplicationGroup(@Nullable String); method @NonNull public android.safetycenter.config.SafetySource.Builder setId(@Nullable String); method @NonNull public android.safetycenter.config.SafetySource.Builder setInitialDisplayState(int); method @NonNull public android.safetycenter.config.SafetySource.Builder setIntentAction(@Nullable String); method @NonNull public android.safetycenter.config.SafetySource.Builder setLoggingAllowed(boolean); method @NonNull public android.safetycenter.config.SafetySource.Builder setMaxSeverityLevel(int); method @NonNull public android.safetycenter.config.SafetySource.Builder setNotificationsAllowed(boolean); method @NonNull public android.safetycenter.config.SafetySource.Builder setPackageName(@Nullable String); method @NonNull public android.safetycenter.config.SafetySource.Builder setProfile(int); method @NonNull public android.safetycenter.config.SafetySource.Builder setRefreshOnPageOpenAllowed(boolean); method @NonNull public android.safetycenter.config.SafetySource.Builder setSearchTermsResId(@StringRes int); method @NonNull public android.safetycenter.config.SafetySource.Builder setSummaryResId(@StringRes int); method @NonNull public android.safetycenter.config.SafetySource.Builder setTitleForWorkResId(@StringRes int); method @NonNull public android.safetycenter.config.SafetySource.Builder setTitleResId(@StringRes int); } public final class SafetySourcesGroup implements android.os.Parcelable { method public int describeContents(); method @NonNull public String getId(); method @NonNull public java.util.List getSafetySources(); method public int getStatelessIconType(); method @StringRes public int getSummaryResId(); method @StringRes public int getTitleResId(); method public int getType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public static final int SAFETY_SOURCES_GROUP_TYPE_COLLAPSIBLE = 0; // 0x0 field public static final int SAFETY_SOURCES_GROUP_TYPE_HIDDEN = 2; // 0x2 field @Deprecated public static final int SAFETY_SOURCES_GROUP_TYPE_RIGID = 1; // 0x1 field public static final int SAFETY_SOURCES_GROUP_TYPE_STATEFUL = 0; // 0x0 field public static final int SAFETY_SOURCES_GROUP_TYPE_STATELESS = 1; // 0x1 field public static final int STATELESS_ICON_TYPE_NONE = 0; // 0x0 field public static final int STATELESS_ICON_TYPE_PRIVACY = 1; // 0x1 } public static final class SafetySourcesGroup.Builder { ctor public SafetySourcesGroup.Builder(); ctor public SafetySourcesGroup.Builder(@NonNull android.safetycenter.config.SafetySourcesGroup); method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder addSafetySource(@NonNull android.safetycenter.config.SafetySource); method @NonNull public android.safetycenter.config.SafetySourcesGroup build(); method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder setId(@Nullable String); method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder setStatelessIconType(int); method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder setSummaryResId(@StringRes int); method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder setTitleResId(@StringRes int); method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder setType(int); } } package android.safetylabel { public final class SafetyLabelConstants { field public static final String PERMISSION_RATIONALE_ENABLED = "permission_rationale_enabled"; field public static final String SAFETY_LABEL_CHANGE_NOTIFICATIONS_ENABLED = "safety_label_change_notifications_enabled"; } } package android.scheduling { public final class RebootReadinessManager { method @RequiresPermission(android.Manifest.permission.SIGNAL_REBOOT_READINESS) public void addRequestRebootReadinessStatusListener(@NonNull java.util.concurrent.Executor, @NonNull android.scheduling.RebootReadinessManager.RequestRebootReadinessStatusListener); method @RequiresPermission(android.Manifest.permission.REBOOT) public void cancelPendingReboot(); method @RequiresPermission(android.Manifest.permission.REBOOT) public boolean isReadyToReboot(); method @RequiresPermission(android.Manifest.permission.REBOOT) public void markRebootPending(); method @RequiresPermission(android.Manifest.permission.SIGNAL_REBOOT_READINESS) public void removeRequestRebootReadinessStatusListener(@NonNull android.scheduling.RebootReadinessManager.RequestRebootReadinessStatusListener); field public static final String ACTION_REBOOT_READY = "android.scheduling.action.REBOOT_READY"; field public static final String EXTRA_IS_READY_TO_REBOOT = "android.scheduling.extra.IS_READY_TO_REBOOT"; } public static final class RebootReadinessManager.RebootReadinessStatus { ctor public RebootReadinessManager.RebootReadinessStatus(boolean, long, @NonNull String); method public long getEstimatedFinishTime(); method @NonNull public String getLogSubsystemName(); method public boolean isReadyToReboot(); } public static interface RebootReadinessManager.RequestRebootReadinessStatusListener { method @NonNull public android.scheduling.RebootReadinessManager.RebootReadinessStatus onRequestRebootReadinessStatus(); } } package android.se.omapi { public final class Reader { method @RequiresPermission(android.Manifest.permission.SECURE_ELEMENT_PRIVILEGED_OPERATION) public boolean reset(); } } package android.security { public final class KeyChain { method @Nullable @WorkerThread public static String getWifiKeyGrantAsUser(@NonNull android.content.Context, @NonNull android.os.UserHandle, @NonNull String); method @WorkerThread public static boolean hasWifiKeyGrantAsUser(@NonNull android.content.Context, @NonNull android.os.UserHandle, @NonNull String); } } package android.security.keystore { public class AndroidKeyStoreProvider extends java.security.Provider { method @NonNull public static java.security.KeyStore getKeyStoreForUid(int) throws java.security.KeyStoreException, java.security.NoSuchProviderException; } public abstract class AttestationUtils { method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static java.security.cert.X509Certificate[] attestDeviceIds(android.content.Context, @NonNull int[], @NonNull byte[]) throws android.security.keystore.DeviceIdAttestationException; field public static final int ID_TYPE_IMEI = 2; // 0x2 field public static final int ID_TYPE_MEID = 3; // 0x3 field public static final int ID_TYPE_SERIAL = 1; // 0x1 field public static final int USE_INDIVIDUAL_ATTESTATION = 4; // 0x4 } public class DeviceIdAttestationException extends java.lang.Exception { ctor public DeviceIdAttestationException(@Nullable String); ctor public DeviceIdAttestationException(@Nullable String, @Nullable Throwable); } public final class KeyGenParameterSpec implements java.security.spec.AlgorithmParameterSpec { method @NonNull public int[] getAttestationIds(); method public int getNamespace(); } public static final class KeyGenParameterSpec.Builder { method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setAttestationIds(@NonNull int[]); method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setNamespace(int); method @Deprecated @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setUid(int); } public abstract class KeyProperties { field public static final int NAMESPACE_APPLICATION = -1; // 0xffffffff field public static final int NAMESPACE_WIFI = 102; // 0x66 } } package android.security.keystore.recovery { public class DecryptionFailedException extends java.security.GeneralSecurityException { ctor public DecryptionFailedException(String); } public class InternalRecoveryServiceException extends java.security.GeneralSecurityException { ctor public InternalRecoveryServiceException(String); ctor public InternalRecoveryServiceException(String, Throwable); } public final class KeyChainProtectionParams implements android.os.Parcelable { method public void clearSecret(); method public int describeContents(); method @NonNull public android.security.keystore.recovery.KeyDerivationParams getKeyDerivationParams(); method public int getLockScreenUiFormat(); method @NonNull public byte[] getSecret(); method public int getUserSecretType(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TYPE_LOCKSCREEN = 100; // 0x64 field public static final int UI_FORMAT_PASSWORD = 2; // 0x2 field public static final int UI_FORMAT_PATTERN = 3; // 0x3 field public static final int UI_FORMAT_PIN = 1; // 0x1 } public static class KeyChainProtectionParams.Builder { ctor public KeyChainProtectionParams.Builder(); method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams build(); method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setKeyDerivationParams(@NonNull android.security.keystore.recovery.KeyDerivationParams); method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setLockScreenUiFormat(int); method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setSecret(@NonNull byte[]); method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setUserSecretType(int); } public final class KeyChainSnapshot implements android.os.Parcelable { method public int describeContents(); method public long getCounterId(); method @NonNull public byte[] getEncryptedRecoveryKeyBlob(); method @NonNull public java.util.List getKeyChainProtectionParams(); method public int getMaxAttempts(); method @NonNull public byte[] getServerParams(); method public int getSnapshotVersion(); method @NonNull public java.security.cert.CertPath getTrustedHardwareCertPath(); method @NonNull public java.util.List getWrappedApplicationKeys(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class KeyDerivationParams implements android.os.Parcelable { method @NonNull public static android.security.keystore.recovery.KeyDerivationParams createScryptParams(@NonNull byte[], int); method @NonNull public static android.security.keystore.recovery.KeyDerivationParams createSha256Params(@NonNull byte[]); method public int describeContents(); method public int getAlgorithm(); method public int getMemoryDifficulty(); method @NonNull public byte[] getSalt(); method public void writeToParcel(android.os.Parcel, int); field public static final int ALGORITHM_SCRYPT = 2; // 0x2 field public static final int ALGORITHM_SHA256 = 1; // 0x1 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class LockScreenRequiredException extends java.security.GeneralSecurityException { ctor public LockScreenRequiredException(String); } public class RecoveryController { method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public android.security.keystore.recovery.RecoverySession createRecoverySession(); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key generateKey(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException; method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key generateKey(@NonNull String, @Nullable byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException; method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.List getAliases() throws android.security.keystore.recovery.InternalRecoveryServiceException; method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public static android.security.keystore.recovery.RecoveryController getInstance(@NonNull android.content.Context); method @Nullable @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key getKey(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException, java.security.UnrecoverableKeyException; method @Nullable @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public android.security.keystore.recovery.KeyChainSnapshot getKeyChainSnapshot() throws android.security.keystore.recovery.InternalRecoveryServiceException; method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public int[] getRecoverySecretTypes() throws android.security.keystore.recovery.InternalRecoveryServiceException; method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public int getRecoveryStatus(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException; method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.Map getRootCertificates(); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key importKey(@NonNull String, @NonNull byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException; method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key importKey(@NonNull String, @NonNull byte[], @Nullable byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException; method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void initRecoveryService(@NonNull String, @NonNull byte[], @NonNull byte[]) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException; method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public static boolean isRecoverableKeyStoreEnabled(@NonNull android.content.Context); method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void removeKey(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException; method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setRecoverySecretTypes(@NonNull int[]) throws android.security.keystore.recovery.InternalRecoveryServiceException; method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setRecoveryStatus(@NonNull String, int) throws android.security.keystore.recovery.InternalRecoveryServiceException; method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setServerParams(@NonNull byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException; method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setSnapshotCreatedPendingIntent(@Nullable android.app.PendingIntent) throws android.security.keystore.recovery.InternalRecoveryServiceException; field public static final int RECOVERY_STATUS_PERMANENT_FAILURE = 3; // 0x3 field public static final int RECOVERY_STATUS_SYNCED = 0; // 0x0 field public static final int RECOVERY_STATUS_SYNC_IN_PROGRESS = 1; // 0x1 } public class RecoverySession implements java.lang.AutoCloseable { method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void close(); method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.Map recoverKeyChainSnapshot(@NonNull byte[], @NonNull java.util.List) throws android.security.keystore.recovery.DecryptionFailedException, android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.SessionExpiredException; method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public byte[] start(@NonNull String, @NonNull java.security.cert.CertPath, @NonNull byte[], @NonNull byte[], @NonNull java.util.List) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException; } public class SessionExpiredException extends java.security.GeneralSecurityException { ctor public SessionExpiredException(String); } public final class WrappedApplicationKey implements android.os.Parcelable { method public int describeContents(); method @NonNull public String getAlias(); method @NonNull public byte[] getEncryptedKeyMaterial(); method @Nullable public byte[] getMetadata(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class WrappedApplicationKey.Builder { ctor public WrappedApplicationKey.Builder(); method @NonNull public android.security.keystore.recovery.WrappedApplicationKey build(); method @NonNull public android.security.keystore.recovery.WrappedApplicationKey.Builder setAlias(@NonNull String); method @NonNull public android.security.keystore.recovery.WrappedApplicationKey.Builder setEncryptedKeyMaterial(@NonNull byte[]); method @NonNull public android.security.keystore.recovery.WrappedApplicationKey.Builder setMetadata(@Nullable byte[]); } } package android.service.ambientcontext { public final class AmbientContextDetectionResult implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getEvents(); method @NonNull public String getPackageName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AmbientContextDetectionResult.Builder { ctor public AmbientContextDetectionResult.Builder(@NonNull String); method @NonNull public android.service.ambientcontext.AmbientContextDetectionResult.Builder addEvent(@NonNull android.app.ambientcontext.AmbientContextEvent); method @NonNull public android.service.ambientcontext.AmbientContextDetectionResult.Builder addEvents(@NonNull java.util.List); method @NonNull public android.service.ambientcontext.AmbientContextDetectionResult build(); method @NonNull public android.service.ambientcontext.AmbientContextDetectionResult.Builder clearEvents(); } public abstract class AmbientContextDetectionService extends android.app.Service { ctor public AmbientContextDetectionService(); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method @BinderThread public abstract void onQueryServiceStatus(@NonNull int[], @NonNull String, @NonNull java.util.function.Consumer); method @BinderThread public abstract void onStartDetection(@NonNull android.app.ambientcontext.AmbientContextEventRequest, @NonNull String, @NonNull java.util.function.Consumer, @NonNull java.util.function.Consumer); method public abstract void onStopDetection(@NonNull String); field public static final String SERVICE_INTERFACE = "android.service.ambientcontext.AmbientContextDetectionService"; } public final class AmbientContextDetectionServiceStatus implements android.os.Parcelable { method public int describeContents(); method @NonNull public String getPackageName(); method public int getStatusCode(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AmbientContextDetectionServiceStatus.Builder { ctor public AmbientContextDetectionServiceStatus.Builder(@NonNull String); method @NonNull public android.service.ambientcontext.AmbientContextDetectionServiceStatus build(); method @NonNull public android.service.ambientcontext.AmbientContextDetectionServiceStatus.Builder setStatusCode(int); } } package android.service.appprediction { public abstract class AppPredictionService extends android.app.Service { ctor public AppPredictionService(); method @MainThread public abstract void onAppTargetEvent(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull android.app.prediction.AppTargetEvent); method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); method public void onCreatePredictionSession(@NonNull android.app.prediction.AppPredictionContext, @NonNull android.app.prediction.AppPredictionSessionId); method @MainThread public void onDestroyPredictionSession(@NonNull android.app.prediction.AppPredictionSessionId); method @MainThread public abstract void onLaunchLocationShown(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull String, @NonNull java.util.List); method @MainThread public abstract void onRequestPredictionUpdate(@NonNull android.app.prediction.AppPredictionSessionId); method @MainThread public abstract void onSortAppTargets(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull java.util.List, @NonNull android.os.CancellationSignal, @NonNull java.util.function.Consumer>); method @MainThread public void onStartPredictionUpdates(); method @MainThread public void onStopPredictionUpdates(); method public final void updatePredictions(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull java.util.List); } } package android.service.assist.classification { public final class FieldClassification implements android.os.Parcelable { ctor public FieldClassification(@NonNull android.view.autofill.AutofillId, @NonNull java.util.Set, @NonNull java.util.Set); method @NonNull public java.util.Set getGroupHints(); } public final class FieldClassificationRequest implements android.os.Parcelable { ctor public FieldClassificationRequest(@NonNull android.app.assist.AssistStructure); method public int describeContents(); method @NonNull public android.app.assist.AssistStructure getAssistStructure(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class FieldClassificationResponse implements android.os.Parcelable { ctor public FieldClassificationResponse(@NonNull java.util.Set); method public int describeContents(); method @NonNull public java.util.Set getClassifications(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public abstract class FieldClassificationService extends android.app.Service { ctor public FieldClassificationService(); method public final android.os.IBinder onBind(android.content.Intent); method public abstract void onClassificationRequest(@NonNull android.service.assist.classification.FieldClassificationRequest, @NonNull android.os.CancellationSignal, @NonNull android.os.OutcomeReceiver); method public void onConnected(); method public void onDisconnected(); field public static final String SERVICE_INTERFACE = "android.service.assist.classification.FieldClassificationService"; } } package android.service.attention { public abstract class AttentionService extends android.app.Service { ctor public AttentionService(); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method public abstract void onCancelAttentionCheck(@NonNull android.service.attention.AttentionService.AttentionCallback); method public abstract void onCheckAttention(@NonNull android.service.attention.AttentionService.AttentionCallback); method public void onStartProximityUpdates(@NonNull android.service.attention.AttentionService.ProximityUpdateCallback); method public void onStopProximityUpdates(); field public static final int ATTENTION_FAILURE_CAMERA_PERMISSION_ABSENT = 6; // 0x6 field public static final int ATTENTION_FAILURE_CANCELLED = 3; // 0x3 field public static final int ATTENTION_FAILURE_PREEMPTED = 4; // 0x4 field public static final int ATTENTION_FAILURE_TIMED_OUT = 5; // 0x5 field public static final int ATTENTION_FAILURE_UNKNOWN = 2; // 0x2 field public static final int ATTENTION_SUCCESS_ABSENT = 0; // 0x0 field public static final int ATTENTION_SUCCESS_PRESENT = 1; // 0x1 field public static final double PROXIMITY_UNKNOWN = -1.0; field public static final String SERVICE_INTERFACE = "android.service.attention.AttentionService"; } public static final class AttentionService.AttentionCallback { method public void onFailure(int); method public void onSuccess(int, long); } public static final class AttentionService.ProximityUpdateCallback { method public void onProximityUpdate(double); } } package android.service.autofill { public abstract class AutofillFieldClassificationService extends android.app.Service { ctor public AutofillFieldClassificationService(); method public android.os.IBinder onBind(android.content.Intent); method @Nullable public float[][] onCalculateScores(@NonNull java.util.List, @NonNull java.util.List, @NonNull java.util.List, @Nullable String, @Nullable android.os.Bundle, @Nullable java.util.Map, @Nullable java.util.Map); method @Deprecated @Nullable public float[][] onGetScores(@Nullable String, @Nullable android.os.Bundle, @NonNull java.util.List, @NonNull java.util.List); field public static final String REQUIRED_ALGORITHM_CREDIT_CARD = "CREDIT_CARD"; field public static final String REQUIRED_ALGORITHM_EDIT_DISTANCE = "EDIT_DISTANCE"; field public static final String REQUIRED_ALGORITHM_EXACT_MATCH = "EXACT_MATCH"; field public static final String SERVICE_INTERFACE = "android.service.autofill.AutofillFieldClassificationService"; field public static final String SERVICE_META_DATA_KEY_AVAILABLE_ALGORITHMS = "android.autofill.field_classification.available_algorithms"; field public static final String SERVICE_META_DATA_KEY_DEFAULT_ALGORITHM = "android.autofill.field_classification.default_algorithm"; } public static final class Dataset.Builder { ctor @Deprecated public Dataset.Builder(@NonNull android.service.autofill.InlinePresentation); method @NonNull public android.service.autofill.Dataset.Builder setContent(@NonNull android.view.autofill.AutofillId, @Nullable android.content.ClipData); method @Deprecated @NonNull public android.service.autofill.Dataset.Builder setFieldInlinePresentation(@NonNull android.view.autofill.AutofillId, @Nullable android.view.autofill.AutofillValue, @Nullable java.util.regex.Pattern, @NonNull android.service.autofill.InlinePresentation); } public abstract class InlineSuggestionRenderService extends android.app.Service { ctor public InlineSuggestionRenderService(); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method @NonNull public android.os.Bundle onGetInlineSuggestionsRendererInfo(); method @Nullable public android.view.View onRenderSuggestion(@NonNull android.service.autofill.InlinePresentation, int, int); method public final void startIntentSender(@NonNull android.content.IntentSender); field public static final String SERVICE_INTERFACE = "android.service.autofill.InlineSuggestionRenderService"; } } package android.service.autofill.augmented { public abstract class AugmentedAutofillService extends android.app.Service { ctor public AugmentedAutofillService(); method protected final void dump(java.io.FileDescriptor, java.io.PrintWriter, String[]); method protected void dump(@NonNull java.io.PrintWriter, @NonNull String[]); method @Nullable public final android.service.autofill.FillEventHistory getFillEventHistory(); method public final android.os.IBinder onBind(android.content.Intent); method public void onConnected(); method public void onDisconnected(); method public void onFillRequest(@NonNull android.service.autofill.augmented.FillRequest, @NonNull android.os.CancellationSignal, @NonNull android.service.autofill.augmented.FillController, @NonNull android.service.autofill.augmented.FillCallback); method public final boolean requestAutofill(@NonNull android.content.ComponentName, @NonNull android.view.autofill.AutofillId); field public static final String SERVICE_INTERFACE = "android.service.autofill.augmented.AugmentedAutofillService"; } public final class FillCallback { method public void onSuccess(@Nullable android.service.autofill.augmented.FillResponse); } public final class FillController { method public void autofill(@NonNull java.util.List>); } public final class FillRequest { method @NonNull public android.content.ComponentName getActivityComponent(); method @NonNull public android.view.autofill.AutofillId getFocusedId(); method @NonNull public android.view.autofill.AutofillValue getFocusedValue(); method @Nullable public android.app.assist.AssistStructure.ViewNode getFocusedViewNode(); method @Nullable public android.view.inputmethod.InlineSuggestionsRequest getInlineSuggestionsRequest(); method @Nullable public android.service.autofill.augmented.PresentationParams getPresentationParams(); method public int getTaskId(); } public final class FillResponse { } public static final class FillResponse.Builder { ctor public FillResponse.Builder(); method @NonNull public android.service.autofill.augmented.FillResponse build(); method @NonNull public android.service.autofill.augmented.FillResponse.Builder setClientState(@NonNull android.os.Bundle); method @NonNull public android.service.autofill.augmented.FillResponse.Builder setFillWindow(@NonNull android.service.autofill.augmented.FillWindow); method @NonNull public android.service.autofill.augmented.FillResponse.Builder setInlineSuggestions(@NonNull java.util.List); } public final class FillWindow implements java.lang.AutoCloseable { ctor public FillWindow(); method public void close(); method public void destroy(); method public boolean update(@NonNull android.service.autofill.augmented.PresentationParams.Area, @NonNull android.view.View, long); } public abstract class PresentationParams { method @Nullable public android.service.autofill.augmented.PresentationParams.Area getSuggestionArea(); } public abstract static class PresentationParams.Area { method @NonNull public android.graphics.Rect getBounds(); } } package android.service.carrier { public abstract class ApnService extends android.app.Service { ctor public ApnService(); method @NonNull public android.os.IBinder onBind(@Nullable android.content.Intent); method @NonNull @WorkerThread public abstract java.util.List onRestoreApns(int); } public final class CarrierMessagingServiceWrapper implements java.lang.AutoCloseable { ctor public CarrierMessagingServiceWrapper(); method public boolean bindToCarrierMessagingService(@NonNull android.content.Context, @NonNull String, @NonNull java.util.concurrent.Executor, @NonNull Runnable); method public void close(); method public void disconnect(); method public void downloadMms(@NonNull android.net.Uri, int, @NonNull android.net.Uri, @NonNull java.util.concurrent.Executor, @NonNull android.service.carrier.CarrierMessagingServiceWrapper.CarrierMessagingCallback); method public void receiveSms(@NonNull android.service.carrier.MessagePdu, @NonNull String, int, int, @NonNull java.util.concurrent.Executor, @NonNull android.service.carrier.CarrierMessagingServiceWrapper.CarrierMessagingCallback); method public void sendDataSms(@NonNull byte[], int, @NonNull String, int, int, @NonNull java.util.concurrent.Executor, @NonNull android.service.carrier.CarrierMessagingServiceWrapper.CarrierMessagingCallback); method public void sendMms(@NonNull android.net.Uri, int, @NonNull android.net.Uri, @NonNull java.util.concurrent.Executor, @NonNull android.service.carrier.CarrierMessagingServiceWrapper.CarrierMessagingCallback); method public void sendMultipartTextSms(@NonNull java.util.List, int, @NonNull String, int, @NonNull java.util.concurrent.Executor, @NonNull android.service.carrier.CarrierMessagingServiceWrapper.CarrierMessagingCallback); method public void sendTextSms(@NonNull String, int, @NonNull String, int, @NonNull java.util.concurrent.Executor, @NonNull android.service.carrier.CarrierMessagingServiceWrapper.CarrierMessagingCallback); } public static interface CarrierMessagingServiceWrapper.CarrierMessagingCallback { method public default void onDownloadMmsComplete(int); method public default void onReceiveSmsComplete(int); method public default void onSendMmsComplete(int, @Nullable byte[]); method public default void onSendMultipartSmsComplete(int, @Nullable int[]); method public default void onSendSmsComplete(int, int); } } package android.service.cloudsearch { public abstract class CloudSearchService extends android.app.Service { ctor public CloudSearchService(); method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); method public abstract void onSearch(@NonNull android.app.cloudsearch.SearchRequest); method public final void returnResults(@NonNull String, @NonNull android.app.cloudsearch.SearchResponse); } } package android.service.contentcapture { public final class ActivityEvent implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.app.assist.ActivityId getActivityId(); method @NonNull public android.content.ComponentName getComponentName(); method public int getEventType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TYPE_ACTIVITY_DESTROYED = 24; // 0x18 field public static final int TYPE_ACTIVITY_PAUSED = 2; // 0x2 field public static final int TYPE_ACTIVITY_RESUMED = 1; // 0x1 field public static final int TYPE_ACTIVITY_STOPPED = 23; // 0x17 } public abstract class ContentCaptureService extends android.app.Service { ctor public ContentCaptureService(); method public final void disableSelf(); method public void onActivityEvent(@NonNull android.service.contentcapture.ActivityEvent); method public void onActivitySnapshot(@NonNull android.view.contentcapture.ContentCaptureSessionId, @NonNull android.service.contentcapture.SnapshotData); method public final android.os.IBinder onBind(android.content.Intent); method public void onConnected(); method public void onContentCaptureEvent(@NonNull android.view.contentcapture.ContentCaptureSessionId, @NonNull android.view.contentcapture.ContentCaptureEvent); method public void onCreateContentCaptureSession(@NonNull android.view.contentcapture.ContentCaptureContext, @NonNull android.view.contentcapture.ContentCaptureSessionId); method public void onDataRemovalRequest(@NonNull android.view.contentcapture.DataRemovalRequest); method public void onDataShareRequest(@NonNull android.view.contentcapture.DataShareRequest, @NonNull android.service.contentcapture.DataShareCallback); method public void onDestroyContentCaptureSession(@NonNull android.view.contentcapture.ContentCaptureSessionId); method public void onDisconnected(); method public final void setContentCaptureConditions(@NonNull String, @Nullable java.util.Set); method public final void setContentCaptureWhitelist(@Nullable java.util.Set, @Nullable java.util.Set); field public static final String SERVICE_INTERFACE = "android.service.contentcapture.ContentCaptureService"; field public static final String SERVICE_META_DATA = "android.content_capture"; } public interface DataShareCallback { method public void onAccept(@NonNull java.util.concurrent.Executor, @NonNull android.service.contentcapture.DataShareReadAdapter); method public void onReject(); } public interface DataShareReadAdapter { method public void onError(int); method public void onStart(@NonNull android.os.ParcelFileDescriptor); } public final class SnapshotData implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.app.assist.AssistContent getAssistContent(); method @NonNull public android.os.Bundle getAssistData(); method @NonNull public android.app.assist.AssistStructure getAssistStructure(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.service.contentsuggestions { public abstract class ContentSuggestionsService extends android.app.Service { ctor public ContentSuggestionsService(); method public final android.os.IBinder onBind(android.content.Intent); method public abstract void onClassifyContentSelections(@NonNull android.app.contentsuggestions.ClassificationsRequest, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.ClassificationsCallback); method public abstract void onNotifyInteraction(@NonNull String, @NonNull android.os.Bundle); method public abstract void onProcessContextImage(int, @Nullable android.graphics.Bitmap, @NonNull android.os.Bundle); method public abstract void onSuggestContentSelections(@NonNull android.app.contentsuggestions.SelectionsRequest, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.SelectionsCallback); field public static final String SERVICE_INTERFACE = "android.service.contentsuggestions.ContentSuggestionsService"; } } package android.service.dataloader { public abstract class DataLoaderService extends android.app.Service { ctor public DataLoaderService(); method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); method @Nullable public android.service.dataloader.DataLoaderService.DataLoader onCreateDataLoader(@NonNull android.content.pm.DataLoaderParams); } public static interface DataLoaderService.DataLoader { method public boolean onCreate(@NonNull android.content.pm.DataLoaderParams, @NonNull android.service.dataloader.DataLoaderService.FileSystemConnector); method public boolean onPrepareImage(@NonNull java.util.Collection, @NonNull java.util.Collection); } public static final class DataLoaderService.FileSystemConnector { method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void writeData(@NonNull String, long, long, @NonNull android.os.ParcelFileDescriptor) throws java.io.IOException; } } package android.service.displayhash { public final class DisplayHashParams implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.util.Size getBufferSize(); method public boolean isGrayscaleBuffer(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class DisplayHashParams.Builder { ctor public DisplayHashParams.Builder(); method @NonNull public android.service.displayhash.DisplayHashParams build(); method @NonNull public android.service.displayhash.DisplayHashParams.Builder setBufferSize(int, int); method @NonNull public android.service.displayhash.DisplayHashParams.Builder setGrayscaleBuffer(boolean); } public abstract class DisplayHashingService extends android.app.Service { ctor public DisplayHashingService(); method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); method public abstract void onGenerateDisplayHash(@NonNull byte[], @NonNull android.hardware.HardwareBuffer, @NonNull android.graphics.Rect, @NonNull String, @NonNull android.view.displayhash.DisplayHashResultCallback); method @NonNull public abstract java.util.Map onGetDisplayHashAlgorithms(); method public abstract int onGetIntervalBetweenRequestsMillis(); method @Nullable public abstract android.view.displayhash.VerifiedDisplayHash onVerifyDisplayHash(@NonNull byte[], @NonNull android.view.displayhash.DisplayHash); field public static final String SERVICE_INTERFACE = "android.service.displayhash.DisplayHashingService"; } } package android.service.euicc { public final class DownloadSubscriptionResult implements android.os.Parcelable { ctor public DownloadSubscriptionResult(int, int, int); method public int describeContents(); method public int getCardId(); method public int getResolvableErrors(); method public int getResult(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class EuiccProfileInfo implements android.os.Parcelable { method public int describeContents(); method public android.service.carrier.CarrierIdentifier getCarrierIdentifier(); method public String getIccid(); method @Nullable public String getNickname(); method @android.service.euicc.EuiccProfileInfo.PolicyRule public int getPolicyRules(); method @android.service.euicc.EuiccProfileInfo.ProfileClass public int getProfileClass(); method public String getProfileName(); method public String getServiceProviderName(); method @android.service.euicc.EuiccProfileInfo.ProfileState public int getState(); method @Nullable public java.util.List getUiccAccessRules(); method public boolean hasPolicyRule(@android.service.euicc.EuiccProfileInfo.PolicyRule int); method public boolean hasPolicyRules(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int POLICY_RULE_DELETE_AFTER_DISABLING = 4; // 0x4 field public static final int POLICY_RULE_DO_NOT_DELETE = 2; // 0x2 field public static final int POLICY_RULE_DO_NOT_DISABLE = 1; // 0x1 field public static final int PROFILE_CLASS_OPERATIONAL = 2; // 0x2 field public static final int PROFILE_CLASS_PROVISIONING = 1; // 0x1 field public static final int PROFILE_CLASS_TESTING = 0; // 0x0 field public static final int PROFILE_STATE_DISABLED = 0; // 0x0 field public static final int PROFILE_STATE_ENABLED = 1; // 0x1 } public static final class EuiccProfileInfo.Builder { ctor public EuiccProfileInfo.Builder(String); ctor public EuiccProfileInfo.Builder(android.service.euicc.EuiccProfileInfo); method public android.service.euicc.EuiccProfileInfo build(); method public android.service.euicc.EuiccProfileInfo.Builder setCarrierIdentifier(android.service.carrier.CarrierIdentifier); method public android.service.euicc.EuiccProfileInfo.Builder setIccid(String); method public android.service.euicc.EuiccProfileInfo.Builder setNickname(String); method public android.service.euicc.EuiccProfileInfo.Builder setPolicyRules(@android.service.euicc.EuiccProfileInfo.PolicyRule int); method public android.service.euicc.EuiccProfileInfo.Builder setProfileClass(@android.service.euicc.EuiccProfileInfo.ProfileClass int); method public android.service.euicc.EuiccProfileInfo.Builder setProfileName(String); method public android.service.euicc.EuiccProfileInfo.Builder setServiceProviderName(String); method public android.service.euicc.EuiccProfileInfo.Builder setState(@android.service.euicc.EuiccProfileInfo.ProfileState int); method public android.service.euicc.EuiccProfileInfo.Builder setUiccAccessRule(@Nullable java.util.List); } @IntDef(flag=true, prefix={"POLICY_RULE_"}, value={android.service.euicc.EuiccProfileInfo.POLICY_RULE_DO_NOT_DISABLE, android.service.euicc.EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, android.service.euicc.EuiccProfileInfo.POLICY_RULE_DELETE_AFTER_DISABLING}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccProfileInfo.PolicyRule { } @IntDef(prefix={"PROFILE_CLASS_"}, value={android.service.euicc.EuiccProfileInfo.PROFILE_CLASS_TESTING, android.service.euicc.EuiccProfileInfo.PROFILE_CLASS_PROVISIONING, android.service.euicc.EuiccProfileInfo.PROFILE_CLASS_OPERATIONAL, 0xffffffff}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccProfileInfo.ProfileClass { } @IntDef(prefix={"PROFILE_STATE_"}, value={android.service.euicc.EuiccProfileInfo.PROFILE_STATE_DISABLED, android.service.euicc.EuiccProfileInfo.PROFILE_STATE_ENABLED, 0xffffffff}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccProfileInfo.ProfileState { } public abstract class EuiccService extends android.app.Service { ctor public EuiccService(); method public void dump(@NonNull java.io.PrintWriter); method public int encodeSmdxSubjectAndReasonCode(@Nullable String, @Nullable String); method @CallSuper public android.os.IBinder onBind(android.content.Intent); method public abstract int onDeleteSubscription(int, String); method @Deprecated public android.service.euicc.DownloadSubscriptionResult onDownloadSubscription(int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean, boolean, @Nullable android.os.Bundle); method @NonNull public android.service.euicc.DownloadSubscriptionResult onDownloadSubscription(int, int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean, boolean, @NonNull android.os.Bundle); method @Deprecated public int onDownloadSubscription(int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean, boolean); method @Deprecated public abstract int onEraseSubscriptions(int); method public int onEraseSubscriptions(int, @android.telephony.euicc.EuiccCardManager.ResetOption int); method public abstract android.service.euicc.GetDefaultDownloadableSubscriptionListResult onGetDefaultDownloadableSubscriptionList(int, boolean); method public abstract android.service.euicc.GetDownloadableSubscriptionMetadataResult onGetDownloadableSubscriptionMetadata(int, android.telephony.euicc.DownloadableSubscription, boolean); method @NonNull public android.service.euicc.GetDownloadableSubscriptionMetadataResult onGetDownloadableSubscriptionMetadata(int, int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean); method public abstract String onGetEid(int); method @NonNull public abstract android.telephony.euicc.EuiccInfo onGetEuiccInfo(int); method @NonNull public abstract android.service.euicc.GetEuiccProfileInfoListResult onGetEuiccProfileInfoList(int); method @android.telephony.euicc.EuiccManager.OtaStatus public abstract int onGetOtaStatus(int); method public abstract int onRetainSubscriptionsForFactoryReset(int); method public abstract void onStartOtaIfNecessary(int, android.service.euicc.EuiccService.OtaStatusChangedCallback); method @Deprecated public abstract int onSwitchToSubscription(int, @Nullable String, boolean); method public int onSwitchToSubscriptionWithPort(int, int, @Nullable String, boolean); method public abstract int onUpdateSubscriptionNickname(int, String, String); field public static final String ACTION_BIND_CARRIER_PROVISIONING_SERVICE = "android.service.euicc.action.BIND_CARRIER_PROVISIONING_SERVICE"; field @RequiresPermission(android.Manifest.permission.BIND_EUICC_SERVICE) public static final String ACTION_CONVERT_TO_EMBEDDED_SUBSCRIPTION = "android.service.euicc.action.CONVERT_TO_EMBEDDED_SUBSCRIPTION"; field public static final String ACTION_DELETE_SUBSCRIPTION_PRIVILEGED = "android.service.euicc.action.DELETE_SUBSCRIPTION_PRIVILEGED"; field @RequiresPermission(android.Manifest.permission.BIND_EUICC_SERVICE) public static final String ACTION_MANAGE_EMBEDDED_SUBSCRIPTIONS = "android.service.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS"; field @RequiresPermission(android.Manifest.permission.BIND_EUICC_SERVICE) public static final String ACTION_PROVISION_EMBEDDED_SUBSCRIPTION = "android.service.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION"; field public static final String ACTION_RENAME_SUBSCRIPTION_PRIVILEGED = "android.service.euicc.action.RENAME_SUBSCRIPTION_PRIVILEGED"; field @Deprecated public static final String ACTION_RESOLVE_CONFIRMATION_CODE = "android.service.euicc.action.RESOLVE_CONFIRMATION_CODE"; field public static final String ACTION_RESOLVE_DEACTIVATE_SIM = "android.service.euicc.action.RESOLVE_DEACTIVATE_SIM"; field public static final String ACTION_RESOLVE_NO_PRIVILEGES = "android.service.euicc.action.RESOLVE_NO_PRIVILEGES"; field public static final String ACTION_RESOLVE_RESOLVABLE_ERRORS = "android.service.euicc.action.RESOLVE_RESOLVABLE_ERRORS"; field public static final String ACTION_START_CARRIER_ACTIVATION = "android.service.euicc.action.START_CARRIER_ACTIVATION"; field public static final String ACTION_START_EUICC_ACTIVATION = "android.service.euicc.action.START_EUICC_ACTIVATION"; field public static final String ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED = "android.service.euicc.action.TOGGLE_SUBSCRIPTION_PRIVILEGED"; field @RequiresPermission(android.Manifest.permission.BIND_EUICC_SERVICE) public static final String ACTION_TRANSFER_EMBEDDED_SUBSCRIPTIONS = "android.service.euicc.action.TRANSFER_EMBEDDED_SUBSCRIPTIONS"; field public static final String CATEGORY_EUICC_UI = "android.service.euicc.category.EUICC_UI"; field public static final String EUICC_SERVICE_INTERFACE = "android.service.euicc.EuiccService"; field public static final String EXTRA_RESOLUTION_ALLOW_POLICY_RULES = "android.service.euicc.extra.RESOLUTION_ALLOW_POLICY_RULES"; field public static final String EXTRA_RESOLUTION_CALLING_PACKAGE = "android.service.euicc.extra.RESOLUTION_CALLING_PACKAGE"; field public static final String EXTRA_RESOLUTION_CARD_ID = "android.service.euicc.extra.RESOLUTION_CARD_ID"; field public static final String EXTRA_RESOLUTION_CONFIRMATION_CODE = "android.service.euicc.extra.RESOLUTION_CONFIRMATION_CODE"; field public static final String EXTRA_RESOLUTION_CONFIRMATION_CODE_RETRIED = "android.service.euicc.extra.RESOLUTION_CONFIRMATION_CODE_RETRIED"; field public static final String EXTRA_RESOLUTION_CONSENT = "android.service.euicc.extra.RESOLUTION_CONSENT"; field public static final String EXTRA_RESOLUTION_PORT_INDEX = "android.service.euicc.extra.RESOLUTION_PORT_INDEX"; field public static final String EXTRA_RESOLUTION_SUBSCRIPTION_ID = "android.service.euicc.extra.RESOLUTION_SUBSCRIPTION_ID"; field public static final String EXTRA_RESOLUTION_USE_PORT_INDEX = "android.service.euicc.extra.RESOLUTION_USE_PORT_INDEX"; field public static final String EXTRA_RESOLVABLE_ERRORS = "android.service.euicc.extra.RESOLVABLE_ERRORS"; field public static final int RESOLVABLE_ERROR_CONFIRMATION_CODE = 1; // 0x1 field public static final int RESOLVABLE_ERROR_POLICY_RULES = 2; // 0x2 field public static final int RESULT_FIRST_USER = 1; // 0x1 field public static final int RESULT_MUST_DEACTIVATE_SIM = -1; // 0xffffffff field @Deprecated public static final int RESULT_NEED_CONFIRMATION_CODE = -2; // 0xfffffffe field public static final int RESULT_OK = 0; // 0x0 field public static final int RESULT_RESOLVABLE_ERRORS = -2; // 0xfffffffe } public abstract static class EuiccService.OtaStatusChangedCallback { ctor public EuiccService.OtaStatusChangedCallback(); method public abstract void onOtaStatusChanged(int); } public final class GetDefaultDownloadableSubscriptionListResult implements android.os.Parcelable { ctor public GetDefaultDownloadableSubscriptionListResult(int, @Nullable android.telephony.euicc.DownloadableSubscription[]); method public int describeContents(); method @Nullable public java.util.List getDownloadableSubscriptions(); method public int getResult(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class GetDownloadableSubscriptionMetadataResult implements android.os.Parcelable { ctor public GetDownloadableSubscriptionMetadataResult(int, @Nullable android.telephony.euicc.DownloadableSubscription); method public int describeContents(); method @Nullable public android.telephony.euicc.DownloadableSubscription getDownloadableSubscription(); method public int getResult(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class GetEuiccProfileInfoListResult implements android.os.Parcelable { ctor public GetEuiccProfileInfoListResult(int, @Nullable android.service.euicc.EuiccProfileInfo[], boolean); method public int describeContents(); method public boolean getIsRemovable(); method @Nullable public java.util.List getProfiles(); method public int getResult(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.service.games { public final class CreateGameSessionRequest implements android.os.Parcelable { ctor public CreateGameSessionRequest(int, @NonNull String); method public int describeContents(); method @NonNull public String getGamePackageName(); method public int getTaskId(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class GameService extends android.app.Service { ctor public GameService(); method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_ACTIVITY) public final void createGameSession(@IntRange(from=0) int); method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent); method public void onConnected(); method public void onDisconnected(); method public void onGameStarted(@NonNull android.service.games.GameStartedEvent); field public static final String ACTION_GAME_SERVICE = "android.service.games.action.GAME_SERVICE"; field public static final String SERVICE_META_DATA = "android.game_service"; } public abstract class GameSession { ctor public GameSession(); method public void onCreate(); method public void onDestroy(); method public void onGameTaskFocusChanged(boolean); method public void onTransientSystemBarVisibilityFromRevealGestureChanged(boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_ACTIVITY) public final boolean restartGame(); method public void setTaskOverlayView(@NonNull android.view.View, @NonNull android.view.ViewGroup.LayoutParams); method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_ACTIVITY) public final void startActivityFromGameSessionForResult(@NonNull android.content.Intent, @Nullable android.os.Bundle, @NonNull java.util.concurrent.Executor, @NonNull android.service.games.GameSessionActivityCallback); method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_ACTIVITY) public void takeScreenshot(@NonNull java.util.concurrent.Executor, @NonNull android.service.games.GameSession.ScreenshotCallback); } public static interface GameSession.ScreenshotCallback { method public void onFailure(int); method public void onSuccess(); field public static final int ERROR_TAKE_SCREENSHOT_INTERNAL_ERROR = 0; // 0x0 } public interface GameSessionActivityCallback { method public void onActivityResult(int, @Nullable android.content.Intent); method public default void onActivityStartFailed(@NonNull Throwable); } public abstract class GameSessionService extends android.app.Service { ctor public GameSessionService(); method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent); method @NonNull public abstract android.service.games.GameSession onNewSession(@NonNull android.service.games.CreateGameSessionRequest); field public static final String ACTION_GAME_SESSION_SERVICE = "android.service.games.action.GAME_SESSION_SERVICE"; } public final class GameStartedEvent implements android.os.Parcelable { ctor public GameStartedEvent(@IntRange(from=0) int, @NonNull String); method public int describeContents(); method @NonNull public String getPackageName(); method @IntRange(from=0) public int getTaskId(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.service.notification { public final class Adjustment implements android.os.Parcelable { ctor public Adjustment(String, String, android.os.Bundle, CharSequence, int); ctor public Adjustment(@NonNull String, @NonNull String, @NonNull android.os.Bundle, @NonNull CharSequence, @NonNull android.os.UserHandle); ctor protected Adjustment(android.os.Parcel); method public int describeContents(); method @NonNull public CharSequence getExplanation(); method @NonNull public String getKey(); method @NonNull public String getPackage(); method @NonNull public android.os.Bundle getSignals(); method public int getUser(); method @NonNull public android.os.UserHandle getUserHandle(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final String KEY_CONTEXTUAL_ACTIONS = "key_contextual_actions"; field public static final String KEY_IMPORTANCE = "key_importance"; field public static final String KEY_IMPORTANCE_PROPOSAL = "key_importance_proposal"; field public static final String KEY_NOT_CONVERSATION = "key_not_conversation"; field public static final String KEY_PEOPLE = "key_people"; field public static final String KEY_RANKING_SCORE = "key_ranking_score"; field public static final String KEY_SENSITIVE_CONTENT = "key_sensitive_content"; field public static final String KEY_SNOOZE_CRITERIA = "key_snooze_criteria"; field public static final String KEY_TEXT_REPLIES = "key_text_replies"; field public static final String KEY_USER_SENTIMENT = "key_user_sentiment"; } public abstract class NotificationAssistantService extends android.service.notification.NotificationListenerService { ctor public NotificationAssistantService(); method public final void adjustNotification(@NonNull android.service.notification.Adjustment); method public final void adjustNotifications(@NonNull java.util.List); method public void onActionInvoked(@NonNull String, @NonNull android.app.Notification.Action, int); method @Deprecated public void onAllowedAdjustmentsChanged(); method @NonNull public final android.os.IBinder onBind(@Nullable android.content.Intent); method public void onNotificationClicked(@NonNull String); method public void onNotificationDirectReplied(@NonNull String); method @Nullable public abstract android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification); method @Nullable public android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification, @NonNull android.app.NotificationChannel); method @Nullable public android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification, @NonNull android.app.NotificationChannel, @NonNull android.service.notification.NotificationListenerService.RankingMap); method public void onNotificationExpansionChanged(@NonNull String, boolean, boolean); method public void onNotificationFeedbackReceived(@NonNull String, @NonNull android.service.notification.NotificationListenerService.RankingMap, @NonNull android.os.Bundle); method public abstract void onNotificationSnoozedUntilContext(@NonNull android.service.notification.StatusBarNotification, @NonNull String); method public void onNotificationVisibilityChanged(@NonNull String, boolean); method public void onNotificationsSeen(@NonNull java.util.List); method public void onPanelHidden(); method public void onPanelRevealed(int); method public void onSuggestedReplySent(@NonNull String, @NonNull CharSequence, int); method public final void unsnoozeNotification(@NonNull String); field public static final String ACTION_NOTIFICATION_ASSISTANT_DETAIL_SETTINGS = "android.service.notification.action.NOTIFICATION_ASSISTANT_DETAIL_SETTINGS"; field public static final String FEEDBACK_RATING = "feedback.rating"; field public static final String SERVICE_INTERFACE = "android.service.notification.NotificationAssistantService"; field public static final int SOURCE_FROM_APP = 0; // 0x0 field public static final int SOURCE_FROM_ASSISTANT = 1; // 0x1 } public abstract class NotificationListenerService extends android.app.Service { method public void onNotificationRemoved(@NonNull android.service.notification.StatusBarNotification, @NonNull android.service.notification.NotificationListenerService.RankingMap, @NonNull android.service.notification.NotificationStats, int); } public static class NotificationListenerService.Ranking { method public int getProposedImportance(); method public boolean hasSensitiveContent(); } public final class NotificationStats implements android.os.Parcelable { ctor public NotificationStats(); ctor protected NotificationStats(android.os.Parcel); method public int describeContents(); method public int getDismissalSentiment(); method public int getDismissalSurface(); method public boolean hasDirectReplied(); method public boolean hasExpanded(); method public boolean hasInteracted(); method public boolean hasSeen(); method public boolean hasSnoozed(); method public boolean hasViewedSettings(); method public void setDirectReplied(); method public void setDismissalSentiment(int); method public void setDismissalSurface(int); method public void setExpanded(); method public void setSeen(); method public void setSnoozed(); method public void setViewedSettings(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DISMISSAL_AOD = 2; // 0x2 field public static final int DISMISSAL_NOT_DISMISSED = -1; // 0xffffffff field public static final int DISMISSAL_OTHER = 0; // 0x0 field public static final int DISMISSAL_PEEK = 1; // 0x1 field public static final int DISMISSAL_SHADE = 3; // 0x3 field public static final int DISMISS_SENTIMENT_NEGATIVE = 0; // 0x0 field public static final int DISMISS_SENTIMENT_NEUTRAL = 1; // 0x1 field public static final int DISMISS_SENTIMENT_POSITIVE = 2; // 0x2 field public static final int DISMISS_SENTIMENT_UNKNOWN = -1000; // 0xfffffc18 } public final class SnoozeCriterion implements android.os.Parcelable { ctor public SnoozeCriterion(String, CharSequence, CharSequence); ctor protected SnoozeCriterion(android.os.Parcel); method public int describeContents(); method public CharSequence getConfirmation(); method public CharSequence getExplanation(); method public String getId(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.service.oemlock { public class OemLockManager { method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE) public String getLockName(); method @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE) public boolean isOemUnlockAllowedByCarrier(); method @RequiresPermission(android.Manifest.permission.MANAGE_USER_OEM_UNLOCK_STATE) public boolean isOemUnlockAllowedByUser(); method @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE) public void setOemUnlockAllowedByCarrier(boolean, @Nullable byte[]); method @RequiresPermission(android.Manifest.permission.MANAGE_USER_OEM_UNLOCK_STATE) public void setOemUnlockAllowedByUser(boolean); } } package android.service.persistentdata { public class PersistentDataBlockManager { method @RequiresPermission(android.Manifest.permission.ACCESS_PDB_STATE) public int getDataBlockSize(); method @android.service.persistentdata.PersistentDataBlockManager.FlashLockState @RequiresPermission(anyOf={android.Manifest.permission.READ_OEM_UNLOCK_STATE, "android.permission.OEM_UNLOCK_STATE"}) public int getFlashLockState(); method public long getMaximumDataBlockSize(); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_OEM_UNLOCK_STATE, "android.permission.OEM_UNLOCK_STATE"}) public boolean getOemUnlockEnabled(); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_PDB_STATE) public String getPersistentDataPackageName(); method public byte[] read(); method @Deprecated @RequiresPermission("android.permission.OEM_UNLOCK_STATE") public void setOemUnlockEnabled(boolean); method @RequiresPermission("android.permission.OEM_UNLOCK_STATE") public void wipe(); method public int write(byte[]); field public static final int FLASH_LOCK_LOCKED = 1; // 0x1 field public static final int FLASH_LOCK_UNKNOWN = -1; // 0xffffffff field public static final int FLASH_LOCK_UNLOCKED = 0; // 0x0 } @IntDef(prefix={"FLASH_LOCK_"}, value={android.service.persistentdata.PersistentDataBlockManager.FLASH_LOCK_UNKNOWN, android.service.persistentdata.PersistentDataBlockManager.FLASH_LOCK_LOCKED, android.service.persistentdata.PersistentDataBlockManager.FLASH_LOCK_UNLOCKED}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface PersistentDataBlockManager.FlashLockState { } } package android.service.quicksettings { public class TileService extends android.app.Service { method public final void setStatusIcon(android.graphics.drawable.Icon, String); } } package android.service.remotelockscreenvalidation { public abstract class RemoteLockscreenValidationService extends android.app.Service { ctor public RemoteLockscreenValidationService(); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method public abstract void onValidateLockscreenGuess(@NonNull byte[], @NonNull android.os.OutcomeReceiver); field public static final String SERVICE_INTERFACE = "android.service.remotelockscreenvalidation.RemoteLockscreenValidationService"; } } package android.service.resolver { public abstract class ResolverRankerService extends android.app.Service { ctor public ResolverRankerService(); method public android.os.IBinder onBind(android.content.Intent); method public void onPredictSharingProbabilities(java.util.List); method public void onTrainRankingModel(java.util.List, int); field public static final String BIND_PERMISSION = "android.permission.BIND_RESOLVER_RANKER_SERVICE"; field public static final String HOLD_PERMISSION = "android.permission.PROVIDE_RESOLVER_RANKER_SERVICE"; field public static final String SERVICE_INTERFACE = "android.service.resolver.ResolverRankerService"; } public final class ResolverTarget implements android.os.Parcelable { ctor public ResolverTarget(); method public int describeContents(); method public float getChooserScore(); method public float getLaunchScore(); method public float getRecencyScore(); method public float getSelectProbability(); method public float getTimeSpentScore(); method public void setChooserScore(float); method public void setLaunchScore(float); method public void setRecencyScore(float); method public void setSelectProbability(float); method public void setTimeSpentScore(float); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.service.resumeonreboot { public abstract class ResumeOnRebootService extends android.app.Service { ctor public ResumeOnRebootService(); method @Nullable public android.os.IBinder onBind(@Nullable android.content.Intent); method @NonNull public abstract byte[] onUnwrap(@NonNull byte[]) throws java.io.IOException; method @NonNull public abstract byte[] onWrap(@NonNull byte[], long) throws java.io.IOException; field public static final String SERVICE_INTERFACE = "android.service.resumeonreboot.ResumeOnRebootService"; } } package android.service.rotationresolver { public final class RotationResolutionRequest implements android.os.Parcelable { ctor public RotationResolutionRequest(@NonNull String, int, int, boolean, long); method public int describeContents(); method public int getCurrentRotation(); method @NonNull public String getForegroundPackageName(); method public int getProposedRotation(); method public long getTimeoutMillis(); method public boolean shouldUseCamera(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public abstract class RotationResolverService extends android.app.Service { ctor public RotationResolverService(); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method public abstract void onResolveRotation(@NonNull android.service.rotationresolver.RotationResolutionRequest, @Nullable android.os.CancellationSignal, @NonNull android.service.rotationresolver.RotationResolverService.RotationResolverCallback); field public static final int ROTATION_RESULT_FAILURE_CANCELLED = 0; // 0x0 field public static final int ROTATION_RESULT_FAILURE_NOT_SUPPORTED = 4; // 0x4 field public static final int ROTATION_RESULT_FAILURE_PREEMPTED = 2; // 0x2 field public static final int ROTATION_RESULT_FAILURE_TIMED_OUT = 1; // 0x1 field public static final int ROTATION_RESULT_FAILURE_UNKNOWN = 3; // 0x3 field public static final String SERVICE_INTERFACE = "android.service.rotationresolver.RotationResolverService"; } public static interface RotationResolverService.RotationResolverCallback { method public void onFailure(int); method public void onSuccess(int); } } package android.service.search { public abstract class SearchUiService extends android.app.Service { ctor public SearchUiService(); method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); method @MainThread public abstract void onDestroy(@NonNull android.app.search.SearchSessionId); method @MainThread public abstract void onNotifyEvent(@NonNull android.app.search.SearchSessionId, @NonNull android.app.search.Query, @NonNull android.app.search.SearchTargetEvent); method @MainThread public abstract void onQuery(@NonNull android.app.search.SearchSessionId, @NonNull android.app.search.Query, @NonNull java.util.function.Consumer>); method public void onSearchSessionCreated(@NonNull android.app.search.SearchContext, @NonNull android.app.search.SearchSessionId); method @MainThread public void onStartUpdateEmptyQueryResult(); method @MainThread public void onStopUpdateEmptyQueryResult(); method public final void updateEmptyQueryResult(@NonNull android.app.search.SearchSessionId, @NonNull java.util.List); } } package android.service.settings.suggestions { public final class Suggestion implements android.os.Parcelable { method public int describeContents(); method public int getFlags(); method public android.graphics.drawable.Icon getIcon(); method public String getId(); method public android.app.PendingIntent getPendingIntent(); method public CharSequence getSummary(); method public CharSequence getTitle(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int FLAG_HAS_BUTTON = 1; // 0x1 } public static class Suggestion.Builder { ctor public Suggestion.Builder(String); method public android.service.settings.suggestions.Suggestion build(); method public android.service.settings.suggestions.Suggestion.Builder setFlags(int); method public android.service.settings.suggestions.Suggestion.Builder setIcon(android.graphics.drawable.Icon); method public android.service.settings.suggestions.Suggestion.Builder setPendingIntent(android.app.PendingIntent); method public android.service.settings.suggestions.Suggestion.Builder setSummary(CharSequence); method public android.service.settings.suggestions.Suggestion.Builder setTitle(CharSequence); } public abstract class SuggestionService extends android.app.Service { ctor public SuggestionService(); method public android.os.IBinder onBind(android.content.Intent); method public abstract java.util.List onGetSuggestions(); method public abstract void onSuggestionDismissed(android.service.settings.suggestions.Suggestion); method public abstract void onSuggestionLaunched(android.service.settings.suggestions.Suggestion); } } package android.service.smartspace { public abstract class SmartspaceService extends android.app.Service { ctor public SmartspaceService(); method @MainThread public abstract void notifySmartspaceEvent(@NonNull android.app.smartspace.SmartspaceSessionId, @NonNull android.app.smartspace.SmartspaceTargetEvent); method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); method public abstract void onCreateSmartspaceSession(@NonNull android.app.smartspace.SmartspaceConfig, @NonNull android.app.smartspace.SmartspaceSessionId); method @MainThread public abstract void onDestroy(@NonNull android.app.smartspace.SmartspaceSessionId); method public abstract void onDestroySmartspaceSession(@NonNull android.app.smartspace.SmartspaceSessionId); method @MainThread public abstract void onRequestSmartspaceUpdate(@NonNull android.app.smartspace.SmartspaceSessionId); method public final void updateSmartspaceTargets(@NonNull android.app.smartspace.SmartspaceSessionId, @NonNull java.util.List); } } package android.service.storage { public abstract class ExternalStorageService extends android.app.Service { ctor public ExternalStorageService(); method public void onAnrDelayStarted(@NonNull String, int, int, int); method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); method public abstract void onEndSession(@NonNull String) throws java.io.IOException; method public void onFreeCache(@NonNull java.util.UUID, long) throws java.io.IOException; method public abstract void onStartSession(@NonNull String, int, @NonNull android.os.ParcelFileDescriptor, @NonNull java.io.File, @NonNull java.io.File) throws java.io.IOException; method public abstract void onVolumeStateChanged(@NonNull android.os.storage.StorageVolume) throws java.io.IOException; field public static final int FLAG_SESSION_ATTRIBUTE_INDEXABLE = 2; // 0x2 field public static final int FLAG_SESSION_TYPE_FUSE = 1; // 0x1 field public static final String SERVICE_INTERFACE = "android.service.storage.ExternalStorageService"; } } package android.service.textclassifier { public abstract class TextClassifierService extends android.app.Service { ctor public TextClassifierService(); method @NonNull public static android.view.textclassifier.TextClassifier getDefaultTextClassifierImplementation(@NonNull android.content.Context); method @Deprecated public final android.view.textclassifier.TextClassifier getLocalTextClassifier(); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method @MainThread public abstract void onClassifyText(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextClassification.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback); method public void onConnected(); method @MainThread public void onCreateTextClassificationSession(@NonNull android.view.textclassifier.TextClassificationContext, @NonNull android.view.textclassifier.TextClassificationSessionId); method @MainThread public void onDestroyTextClassificationSession(@NonNull android.view.textclassifier.TextClassificationSessionId); method @MainThread public void onDetectLanguage(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextLanguage.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback); method public void onDisconnected(); method @MainThread public abstract void onGenerateLinks(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextLinks.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback); method @Deprecated @MainThread public void onSelectionEvent(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.SelectionEvent); method @MainThread public void onSuggestConversationActions(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.ConversationActions.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback); method @MainThread public abstract void onSuggestSelection(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextSelection.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback); method @MainThread public void onTextClassifierEvent(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextClassifierEvent); field public static final String SERVICE_INTERFACE = "android.service.textclassifier.TextClassifierService"; } public static interface TextClassifierService.Callback { method public void onFailure(@NonNull CharSequence); method public void onSuccess(T); } } package android.service.timezone { public abstract class TimeZoneProviderService extends android.app.Service { ctor public TimeZoneProviderService(); method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); method public abstract void onStartUpdates(long); method public abstract void onStopUpdates(); method public final void reportPermanentFailure(@NonNull Throwable); method public final void reportSuggestion(@NonNull android.service.timezone.TimeZoneProviderSuggestion); method public final void reportSuggestion(@NonNull android.service.timezone.TimeZoneProviderSuggestion, @NonNull android.service.timezone.TimeZoneProviderStatus); method public final void reportUncertain(); method public final void reportUncertain(@NonNull android.service.timezone.TimeZoneProviderStatus); field public static final String PRIMARY_LOCATION_TIME_ZONE_PROVIDER_SERVICE_INTERFACE = "android.service.timezone.PrimaryLocationTimeZoneProviderService"; field public static final String SECONDARY_LOCATION_TIME_ZONE_PROVIDER_SERVICE_INTERFACE = "android.service.timezone.SecondaryLocationTimeZoneProviderService"; } public final class TimeZoneProviderStatus implements android.os.Parcelable { method public int describeContents(); method public int getConnectivityDependencyStatus(); method public int getLocationDetectionDependencyStatus(); method public int getTimeZoneResolutionOperationStatus(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DEPENDENCY_STATUS_BLOCKED_BY_ENVIRONMENT = 4; // 0x4 field public static final int DEPENDENCY_STATUS_BLOCKED_BY_SETTINGS = 6; // 0x6 field public static final int DEPENDENCY_STATUS_DEGRADED_BY_SETTINGS = 5; // 0x5 field public static final int DEPENDENCY_STATUS_NOT_APPLICABLE = 1; // 0x1 field public static final int DEPENDENCY_STATUS_OK = 2; // 0x2 field public static final int DEPENDENCY_STATUS_TEMPORARILY_UNAVAILABLE = 3; // 0x3 field public static final int OPERATION_STATUS_FAILED = 3; // 0x3 field public static final int OPERATION_STATUS_NOT_APPLICABLE = 1; // 0x1 field public static final int OPERATION_STATUS_OK = 2; // 0x2 } public static final class TimeZoneProviderStatus.Builder { ctor public TimeZoneProviderStatus.Builder(); method @NonNull public android.service.timezone.TimeZoneProviderStatus build(); method @NonNull public android.service.timezone.TimeZoneProviderStatus.Builder setConnectivityDependencyStatus(int); method @NonNull public android.service.timezone.TimeZoneProviderStatus.Builder setLocationDetectionDependencyStatus(int); method @NonNull public android.service.timezone.TimeZoneProviderStatus.Builder setTimeZoneResolutionOperationStatus(int); } public final class TimeZoneProviderSuggestion implements android.os.Parcelable { method public int describeContents(); method public long getElapsedRealtimeMillis(); method @NonNull public java.util.List getTimeZoneIds(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class TimeZoneProviderSuggestion.Builder { ctor public TimeZoneProviderSuggestion.Builder(); method @NonNull public android.service.timezone.TimeZoneProviderSuggestion build(); method @NonNull public android.service.timezone.TimeZoneProviderSuggestion.Builder setElapsedRealtimeMillis(long); method @NonNull public android.service.timezone.TimeZoneProviderSuggestion.Builder setTimeZoneIds(@NonNull java.util.List); } } package android.service.tracing { public class TraceReportService extends android.app.Service { ctor public TraceReportService(); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method public void onReportTrace(@NonNull android.service.tracing.TraceReportService.TraceParams); } public static final class TraceReportService.TraceParams { method @NonNull public android.os.ParcelFileDescriptor getFd(); method @NonNull public java.util.UUID getUuid(); } } package android.service.translation { public abstract class TranslationService extends android.app.Service { ctor public TranslationService(); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method public void onConnected(); method public abstract void onCreateTranslationSession(@NonNull android.view.translation.TranslationContext, int, @NonNull java.util.function.Consumer); method public void onDisconnected(); method public abstract void onFinishTranslationSession(int); method public abstract void onTranslationCapabilitiesRequest(int, int, @NonNull java.util.function.Consumer>); method public abstract void onTranslationRequest(@NonNull android.view.translation.TranslationRequest, int, @Nullable android.os.CancellationSignal, @NonNull java.util.function.Consumer); method public final void updateTranslationCapability(@NonNull android.view.translation.TranslationCapability); field public static final String SERVICE_INTERFACE = "android.service.translation.TranslationService"; field public static final String SERVICE_META_DATA = "android.translation_service"; } } package android.service.trust { public final class GrantTrustResult implements android.os.Parcelable { ctor public GrantTrustResult(int); method public int describeContents(); method public int getStatus(); method @NonNull public static String statusToString(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int STATUS_UNKNOWN = 0; // 0x0 field public static final int STATUS_UNLOCKED_BY_GRANT = 1; // 0x1 } public class TrustAgentService extends android.app.Service { ctor public TrustAgentService(); method public final void addEscrowToken(byte[], android.os.UserHandle); method @Deprecated public final void grantTrust(CharSequence, long, boolean); method @Deprecated public final void grantTrust(CharSequence, long, int); method public final void grantTrust(@NonNull CharSequence, long, int, @Nullable java.util.function.Consumer); method public final void isEscrowTokenActive(long, android.os.UserHandle); method public final void lockUser(); method public final android.os.IBinder onBind(android.content.Intent); method public boolean onConfigure(java.util.List); method public void onDeviceLocked(); method public void onDeviceUnlockLockout(long); method public void onDeviceUnlocked(); method public void onEscrowTokenAdded(byte[], long, android.os.UserHandle); method public void onEscrowTokenRemoved(long, boolean); method public void onEscrowTokenStateReceived(long, int); method public void onTrustTimeout(); method public void onUnlockAttempt(boolean); method public void onUserMayRequestUnlock(); method public void onUserRequestedUnlock(boolean); method public final void removeEscrowToken(long, android.os.UserHandle); method public final void revokeTrust(); method public final void setManagingTrust(boolean); method public final void showKeyguardErrorMessage(@NonNull CharSequence); method public final void unlockUserWithToken(long, byte[], android.os.UserHandle); field public static final int FLAG_GRANT_TRUST_DISMISS_KEYGUARD = 2; // 0x2 field public static final int FLAG_GRANT_TRUST_DISPLAY_MESSAGE = 8; // 0x8 field public static final int FLAG_GRANT_TRUST_INITIATED_BY_USER = 1; // 0x1 field public static final int FLAG_GRANT_TRUST_TEMPORARY_AND_RENEWABLE = 4; // 0x4 field public static final String SERVICE_INTERFACE = "android.service.trust.TrustAgentService"; field public static final int TOKEN_STATE_ACTIVE = 1; // 0x1 field public static final int TOKEN_STATE_INACTIVE = 0; // 0x0 field public static final String TRUST_AGENT_META_DATA = "android.service.trust.trustagent"; } } package android.service.voice { public class AlwaysOnHotwordDetector implements android.service.voice.HotwordDetector { method @Nullable public android.content.Intent createEnrollIntent(); method @Nullable public android.content.Intent createReEnrollIntent(); method @Nullable public android.content.Intent createUnEnrollIntent(); method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public int getParameter(int); method public int getSupportedAudioCapabilities(); method public int getSupportedRecognitionModes(); method @Nullable @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public android.service.voice.AlwaysOnHotwordDetector.ModelParamRange queryParameter(int); method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public int setParameter(int, int); method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public boolean startRecognition(int, @NonNull byte[]); method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public boolean startRecognition(int); method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public boolean startRecognition(); method public boolean startRecognition(@NonNull android.os.ParcelFileDescriptor, @NonNull android.media.AudioFormat, @Nullable android.os.PersistableBundle); method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public boolean stopRecognition(); method public final void updateState(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory); field public static final int AUDIO_CAPABILITY_ECHO_CANCELLATION = 1; // 0x1 field public static final int AUDIO_CAPABILITY_NOISE_SUPPRESSION = 2; // 0x2 field public static final int MODEL_PARAM_THRESHOLD_FACTOR = 0; // 0x0 field public static final int RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS = 2; // 0x2 field public static final int RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO = 1; // 0x1 field public static final int RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION = 4; // 0x4 field public static final int RECOGNITION_FLAG_ENABLE_AUDIO_NOISE_SUPPRESSION = 8; // 0x8 field public static final int RECOGNITION_FLAG_RUN_IN_BATTERY_SAVER = 16; // 0x10 field public static final int RECOGNITION_MODE_USER_IDENTIFICATION = 2; // 0x2 field public static final int RECOGNITION_MODE_VOICE_TRIGGER = 1; // 0x1 field public static final int STATE_ERROR = 3; // 0x3 field public static final int STATE_HARDWARE_UNAVAILABLE = -2; // 0xfffffffe field public static final int STATE_KEYPHRASE_ENROLLED = 2; // 0x2 field public static final int STATE_KEYPHRASE_UNENROLLED = 1; // 0x1 field @Deprecated public static final int STATE_KEYPHRASE_UNSUPPORTED = -1; // 0xffffffff } public abstract static class AlwaysOnHotwordDetector.Callback implements android.service.voice.HotwordDetector.Callback { ctor public AlwaysOnHotwordDetector.Callback(); method public abstract void onAvailabilityChanged(int); method public void onFailure(@NonNull android.service.voice.SoundTriggerFailure); method public void onHotwordDetectionServiceInitialized(int); method public void onHotwordDetectionServiceRestarted(); method public void onRejected(@NonNull android.service.voice.HotwordRejectedResult); } public static class AlwaysOnHotwordDetector.EventPayload { method @Nullable public android.os.ParcelFileDescriptor getAudioStream(); method @Nullable public android.media.AudioFormat getCaptureAudioFormat(); method @Nullable public byte[] getData(); method public int getDataFormat(); method public long getHalEventReceivedMillis(); method @Nullable public android.service.voice.HotwordDetectedResult getHotwordDetectedResult(); method @NonNull public java.util.List getKeyphraseRecognitionExtras(); method @Deprecated @Nullable public byte[] getTriggerAudio(); field public static final int DATA_FORMAT_RAW = 0; // 0x0 field public static final int DATA_FORMAT_TRIGGER_AUDIO = 1; // 0x1 } public static final class AlwaysOnHotwordDetector.ModelParamRange { method public int getEnd(); method public int getStart(); } public final class FailureSuggestedAction { field public static final int DISABLE_DETECTION = 2; // 0x2 field public static final int NONE = 1; // 0x1 field public static final int RECREATE_DETECTOR = 3; // 0x3 field public static final int RESTART_RECOGNITION = 4; // 0x4 field public static final int UNKNOWN = 0; // 0x0 } public final class HotwordAudioStream implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.media.AudioFormat getAudioFormat(); method @NonNull public android.os.ParcelFileDescriptor getAudioStreamParcelFileDescriptor(); method @NonNull public byte[] getInitialAudio(); method @NonNull public android.os.PersistableBundle getMetadata(); method @Nullable public android.media.AudioTimestamp getTimestamp(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final String KEY_AUDIO_STREAM_COPY_BUFFER_LENGTH_BYTES = "android.service.voice.key.AUDIO_STREAM_COPY_BUFFER_LENGTH_BYTES"; } public static final class HotwordAudioStream.Builder { ctor public HotwordAudioStream.Builder(@NonNull android.media.AudioFormat, @NonNull android.os.ParcelFileDescriptor); method @NonNull public android.service.voice.HotwordAudioStream build(); method @NonNull public android.service.voice.HotwordAudioStream.Builder setAudioFormat(@NonNull android.media.AudioFormat); method @NonNull public android.service.voice.HotwordAudioStream.Builder setAudioStreamParcelFileDescriptor(@NonNull android.os.ParcelFileDescriptor); method @NonNull public android.service.voice.HotwordAudioStream.Builder setInitialAudio(@NonNull byte[]); method @NonNull public android.service.voice.HotwordAudioStream.Builder setMetadata(@NonNull android.os.PersistableBundle); method @NonNull public android.service.voice.HotwordAudioStream.Builder setTimestamp(@NonNull android.media.AudioTimestamp); } public final class HotwordDetectedResult implements android.os.Parcelable { method public int describeContents(); method public int getAudioChannel(); method @NonNull public java.util.List getAudioStreams(); method public int getBackgroundAudioPower(); method public int getConfidenceLevel(); method @NonNull public android.os.PersistableBundle getExtras(); method public int getHotwordDurationMillis(); method public int getHotwordOffsetMillis(); method public int getHotwordPhraseId(); method public static int getMaxBackgroundAudioPower(); method public static int getMaxBundleSize(); method public static int getMaxHotwordPhraseId(); method public static int getMaxScore(); method @Nullable public android.media.MediaSyncEvent getMediaSyncEvent(); method public int getPersonalizedScore(); method public int getProximity(); method public int getScore(); method public boolean isHotwordDetectionPersonalized(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int AUDIO_CHANNEL_UNSET = -1; // 0xffffffff field public static final int BACKGROUND_AUDIO_POWER_UNSET = -1; // 0xffffffff field public static final int CONFIDENCE_LEVEL_HIGH = 5; // 0x5 field public static final int CONFIDENCE_LEVEL_LOW = 1; // 0x1 field public static final int CONFIDENCE_LEVEL_LOW_MEDIUM = 2; // 0x2 field public static final int CONFIDENCE_LEVEL_MEDIUM = 3; // 0x3 field public static final int CONFIDENCE_LEVEL_MEDIUM_HIGH = 4; // 0x4 field public static final int CONFIDENCE_LEVEL_NONE = 0; // 0x0 field public static final int CONFIDENCE_LEVEL_VERY_HIGH = 6; // 0x6 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int HOTWORD_OFFSET_UNSET = -1; // 0xffffffff field public static final int PROXIMITY_FAR = 2; // 0x2 field public static final int PROXIMITY_NEAR = 1; // 0x1 field public static final int PROXIMITY_UNKNOWN = -1; // 0xffffffff } public static final class HotwordDetectedResult.Builder { ctor public HotwordDetectedResult.Builder(); method @NonNull public android.service.voice.HotwordDetectedResult build(); method @NonNull public android.service.voice.HotwordDetectedResult.Builder setAudioChannel(int); method @NonNull public android.service.voice.HotwordDetectedResult.Builder setAudioStreams(@NonNull java.util.List); method @NonNull public android.service.voice.HotwordDetectedResult.Builder setBackgroundAudioPower(int); method @NonNull public android.service.voice.HotwordDetectedResult.Builder setConfidenceLevel(int); method @NonNull public android.service.voice.HotwordDetectedResult.Builder setExtras(@NonNull android.os.PersistableBundle); method @NonNull public android.service.voice.HotwordDetectedResult.Builder setHotwordDetectionPersonalized(boolean); method @NonNull public android.service.voice.HotwordDetectedResult.Builder setHotwordDurationMillis(int); method @NonNull public android.service.voice.HotwordDetectedResult.Builder setHotwordOffsetMillis(int); method @NonNull public android.service.voice.HotwordDetectedResult.Builder setHotwordPhraseId(int); method @NonNull public android.service.voice.HotwordDetectedResult.Builder setMediaSyncEvent(@NonNull android.media.MediaSyncEvent); method @NonNull public android.service.voice.HotwordDetectedResult.Builder setPersonalizedScore(int); method @NonNull public android.service.voice.HotwordDetectedResult.Builder setScore(int); } public abstract class HotwordDetectionService extends android.app.Service implements android.service.voice.SandboxedDetectionInitializer { ctor public HotwordDetectionService(); method @Deprecated public static int getMaxCustomInitializationStatus(); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method public void onDetect(@NonNull android.service.voice.AlwaysOnHotwordDetector.EventPayload, long, @NonNull android.service.voice.HotwordDetectionService.Callback); method public void onDetect(@NonNull android.service.voice.HotwordDetectionService.Callback); method public void onDetect(@NonNull android.os.ParcelFileDescriptor, @NonNull android.media.AudioFormat, @Nullable android.os.PersistableBundle, @NonNull android.service.voice.HotwordDetectionService.Callback); method public void onStopDetection(); method public void onUpdateState(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, long, @Nullable java.util.function.IntConsumer); field @Deprecated public static final int INITIALIZATION_STATUS_SUCCESS = 0; // 0x0 field @Deprecated public static final int INITIALIZATION_STATUS_UNKNOWN = 100; // 0x64 field public static final String SERVICE_INTERFACE = "android.service.voice.HotwordDetectionService"; } public static final class HotwordDetectionService.Callback { method public void onDetected(@NonNull android.service.voice.HotwordDetectedResult); method public void onRejected(@NonNull android.service.voice.HotwordRejectedResult); } public final class HotwordDetectionServiceFailure implements android.os.Parcelable { method public int describeContents(); method public int getErrorCode(); method @NonNull public String getErrorMessage(); method public int getSuggestedAction(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int ERROR_CODE_BINDING_DIED = 2; // 0x2 field public static final int ERROR_CODE_BIND_FAILURE = 1; // 0x1 field public static final int ERROR_CODE_COPY_AUDIO_DATA_FAILURE = 3; // 0x3 field public static final int ERROR_CODE_DETECT_TIMEOUT = 4; // 0x4 field public static final int ERROR_CODE_ON_DETECTED_SECURITY_EXCEPTION = 5; // 0x5 field public static final int ERROR_CODE_ON_DETECTED_STREAM_COPY_FAILURE = 6; // 0x6 field public static final int ERROR_CODE_REMOTE_EXCEPTION = 7; // 0x7 field public static final int ERROR_CODE_UNKNOWN = 0; // 0x0 } public interface HotwordDetector { method public default void destroy(); method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public boolean startRecognition(); method public boolean startRecognition(@NonNull android.os.ParcelFileDescriptor, @NonNull android.media.AudioFormat, @Nullable android.os.PersistableBundle); method public boolean stopRecognition(); method public void updateState(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory); } public static interface HotwordDetector.Callback { method public void onDetected(@NonNull android.service.voice.AlwaysOnHotwordDetector.EventPayload); method @Deprecated public void onError(); method public default void onFailure(@NonNull android.service.voice.HotwordDetectionServiceFailure); method public void onHotwordDetectionServiceInitialized(int); method public void onHotwordDetectionServiceRestarted(); method public void onRecognitionPaused(); method public void onRecognitionResumed(); method public void onRejected(@NonNull android.service.voice.HotwordRejectedResult); method public default void onUnknownFailure(@NonNull String); } public final class HotwordRejectedResult implements android.os.Parcelable { method public int describeContents(); method public int getConfidenceLevel(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int CONFIDENCE_LEVEL_HIGH = 3; // 0x3 field public static final int CONFIDENCE_LEVEL_LOW = 1; // 0x1 field public static final int CONFIDENCE_LEVEL_MEDIUM = 2; // 0x2 field public static final int CONFIDENCE_LEVEL_NONE = 0; // 0x0 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class HotwordRejectedResult.Builder { ctor public HotwordRejectedResult.Builder(); method @NonNull public android.service.voice.HotwordRejectedResult build(); method @NonNull public android.service.voice.HotwordRejectedResult.Builder setConfidenceLevel(int); } public interface SandboxedDetectionInitializer { method public static int getMaxCustomInitializationStatus(); method public void onUpdateState(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, long, @Nullable java.util.function.IntConsumer); field public static final int INITIALIZATION_STATUS_SUCCESS = 0; // 0x0 field public static final int INITIALIZATION_STATUS_UNKNOWN = 100; // 0x64 } public final class SoundTriggerFailure implements android.os.Parcelable { method public int describeContents(); method public int getErrorCode(); method @NonNull public String getErrorMessage(); method public int getSuggestedAction(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int ERROR_CODE_MODULE_DIED = 1; // 0x1 field public static final int ERROR_CODE_RECOGNITION_RESUME_FAILED = 2; // 0x2 field public static final int ERROR_CODE_UNEXPECTED_PREEMPTION = 3; // 0x3 field public static final int ERROR_CODE_UNKNOWN = 0; // 0x0 } public abstract class VisualQueryDetectionService extends android.app.Service implements android.service.voice.SandboxedDetectionInitializer { ctor public VisualQueryDetectionService(); method public final void finishQuery() throws java.lang.IllegalStateException; method public final void gainedAttention(); method public final void lostAttention(); method @Nullable public android.os.IBinder onBind(@NonNull android.content.Intent); method public void onStartDetection(); method public void onStopDetection(); method public void onUpdateState(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, long, @Nullable java.util.function.IntConsumer); method public final void rejectQuery() throws java.lang.IllegalStateException; method public final void streamQuery(@NonNull String) throws java.lang.IllegalStateException; field public static final String SERVICE_INTERFACE = "android.service.voice.VisualQueryDetectionService"; } public final class VisualQueryDetectionServiceFailure implements android.os.Parcelable { method public int describeContents(); method public int getErrorCode(); method @NonNull public String getErrorMessage(); method public int getSuggestedAction(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int ERROR_CODE_BINDING_DIED = 2; // 0x2 field public static final int ERROR_CODE_BIND_FAILURE = 1; // 0x1 field public static final int ERROR_CODE_ILLEGAL_ATTENTION_STATE = 3; // 0x3 field public static final int ERROR_CODE_ILLEGAL_STREAMING_STATE = 4; // 0x4 field public static final int ERROR_CODE_REMOTE_EXCEPTION = 5; // 0x5 field public static final int ERROR_CODE_UNKNOWN = 0; // 0x0 } public class VisualQueryDetector { method public void destroy(); method @RequiresPermission(allOf={android.Manifest.permission.CAMERA, android.Manifest.permission.RECORD_AUDIO}) public boolean startRecognition(); method @RequiresPermission(allOf={android.Manifest.permission.CAMERA, android.Manifest.permission.RECORD_AUDIO}) public boolean stopRecognition(); method public void updateState(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory); } public static interface VisualQueryDetector.Callback { method public void onFailure(@NonNull android.service.voice.VisualQueryDetectionServiceFailure); method public void onQueryDetected(@NonNull String); method public void onQueryFinished(); method public void onQueryRejected(); method public void onUnknownFailure(@NonNull String); method public void onVisualQueryDetectionServiceInitialized(int); method public void onVisualQueryDetectionServiceRestarted(); } public class VoiceInteractionService extends android.app.Service { method @Deprecated @NonNull public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetector(String, java.util.Locale, android.service.voice.AlwaysOnHotwordDetector.Callback); method @NonNull public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetector(@NonNull String, @NonNull java.util.Locale, @NonNull java.util.concurrent.Executor, @NonNull android.service.voice.AlwaysOnHotwordDetector.Callback); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetector(String, java.util.Locale, @Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, android.service.voice.AlwaysOnHotwordDetector.Callback); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetector(@NonNull String, @NonNull java.util.Locale, @Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull java.util.concurrent.Executor, @NonNull android.service.voice.AlwaysOnHotwordDetector.Callback); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.HotwordDetector createHotwordDetector(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull android.service.voice.HotwordDetector.Callback); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.HotwordDetector createHotwordDetector(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull java.util.concurrent.Executor, @NonNull android.service.voice.HotwordDetector.Callback); method @NonNull @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public final android.media.voice.KeyphraseModelManager createKeyphraseModelManager(); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.VisualQueryDetector createVisualQueryDetector(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull java.util.concurrent.Executor, @NonNull android.service.voice.VisualQueryDetector.Callback); } } package android.service.wallpaper { public class WallpaperService.Engine { method public boolean isInAmbientMode(); method @MainThread public void onAmbientModeChanged(boolean, long); } } package android.service.wallpapereffectsgeneration { public abstract class WallpaperEffectsGenerationService extends android.app.Service { ctor public WallpaperEffectsGenerationService(); method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); method @MainThread public abstract void onGenerateCinematicEffect(@NonNull android.app.wallpapereffectsgeneration.CinematicEffectRequest); method public final void returnCinematicEffectResponse(@NonNull android.app.wallpapereffectsgeneration.CinematicEffectResponse); field public static final String SERVICE_INTERFACE = "android.service.wallpapereffectsgeneration.WallpaperEffectsGenerationService"; } } package android.service.watchdog { public abstract class ExplicitHealthCheckService extends android.app.Service { ctor public ExplicitHealthCheckService(); method public final void notifyHealthCheckPassed(@NonNull String); method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); method public abstract void onCancelHealthCheck(@NonNull String); method @NonNull public abstract java.util.List onGetRequestedPackages(); method @NonNull public abstract java.util.List onGetSupportedPackages(); method public abstract void onRequestHealthCheck(@NonNull String); field public static final String BIND_PERMISSION = "android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE"; field public static final String SERVICE_INTERFACE = "android.service.watchdog.ExplicitHealthCheckService"; } public static final class ExplicitHealthCheckService.PackageConfig implements android.os.Parcelable { ctor public ExplicitHealthCheckService.PackageConfig(@NonNull String, long); method public int describeContents(); method public long getHealthCheckTimeoutMillis(); method @NonNull public String getPackageName(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.service.wearable { public abstract class WearableSensingService extends android.app.Service { ctor public WearableSensingService(); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method @BinderThread public abstract void onDataProvided(@NonNull android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull java.util.function.Consumer); method @BinderThread public abstract void onDataStreamProvided(@NonNull android.os.ParcelFileDescriptor, @NonNull java.util.function.Consumer); method @BinderThread public abstract void onQueryServiceStatus(@NonNull java.util.Set, @NonNull String, @NonNull java.util.function.Consumer); method @BinderThread public abstract void onStartDetection(@NonNull android.app.ambientcontext.AmbientContextEventRequest, @NonNull String, @NonNull java.util.function.Consumer, @NonNull java.util.function.Consumer); method public abstract void onStopDetection(@NonNull String); field public static final String SERVICE_INTERFACE = "android.service.wearable.WearableSensingService"; } } package android.system.virtualmachine { public class VirtualMachine implements java.lang.AutoCloseable { method public void clearCallback(); method @WorkerThread public void close(); method @NonNull @WorkerThread public android.os.IBinder connectToVsockServer(@IntRange(from=android.system.virtualmachine.VirtualMachine.MIN_VSOCK_PORT, to=android.system.virtualmachine.VirtualMachine.MAX_VSOCK_PORT) long) throws android.system.virtualmachine.VirtualMachineException; method @NonNull @WorkerThread public android.os.ParcelFileDescriptor connectVsock(@IntRange(from=android.system.virtualmachine.VirtualMachine.MIN_VSOCK_PORT, to=android.system.virtualmachine.VirtualMachine.MAX_VSOCK_PORT) long) throws android.system.virtualmachine.VirtualMachineException; method @NonNull @WorkerThread public android.system.virtualmachine.VirtualMachineConfig getConfig(); method @NonNull @WorkerThread public java.io.InputStream getConsoleOutput() throws android.system.virtualmachine.VirtualMachineException; method @NonNull @WorkerThread public java.io.InputStream getLogOutput() throws android.system.virtualmachine.VirtualMachineException; method @NonNull public String getName(); method @WorkerThread public int getStatus(); method @RequiresPermission(android.system.virtualmachine.VirtualMachine.MANAGE_VIRTUAL_MACHINE_PERMISSION) @WorkerThread public void run() throws android.system.virtualmachine.VirtualMachineException; method public void setCallback(@NonNull java.util.concurrent.Executor, @NonNull android.system.virtualmachine.VirtualMachineCallback); method @NonNull @WorkerThread public android.system.virtualmachine.VirtualMachineConfig setConfig(@NonNull android.system.virtualmachine.VirtualMachineConfig) throws android.system.virtualmachine.VirtualMachineException; method @WorkerThread public void stop() throws android.system.virtualmachine.VirtualMachineException; method @NonNull @WorkerThread public android.system.virtualmachine.VirtualMachineDescriptor toDescriptor() throws android.system.virtualmachine.VirtualMachineException; field public static final String MANAGE_VIRTUAL_MACHINE_PERMISSION = "android.permission.MANAGE_VIRTUAL_MACHINE"; field public static final long MAX_VSOCK_PORT = 4294967295L; // 0xffffffffL field public static final long MIN_VSOCK_PORT = 1024L; // 0x400L field public static final int STATUS_DELETED = 2; // 0x2 field public static final int STATUS_RUNNING = 1; // 0x1 field public static final int STATUS_STOPPED = 0; // 0x0 field public static final String USE_CUSTOM_VIRTUAL_MACHINE_PERMISSION = "android.permission.USE_CUSTOM_VIRTUAL_MACHINE"; } public interface VirtualMachineCallback { method public void onError(@NonNull android.system.virtualmachine.VirtualMachine, int, @NonNull String); method public void onPayloadFinished(@NonNull android.system.virtualmachine.VirtualMachine, int); method public void onPayloadReady(@NonNull android.system.virtualmachine.VirtualMachine); method public void onPayloadStarted(@NonNull android.system.virtualmachine.VirtualMachine); method public void onStopped(@NonNull android.system.virtualmachine.VirtualMachine, int); field public static final int ERROR_PAYLOAD_CHANGED = 2; // 0x2 field public static final int ERROR_PAYLOAD_INVALID_CONFIG = 3; // 0x3 field public static final int ERROR_PAYLOAD_VERIFICATION_FAILED = 1; // 0x1 field public static final int ERROR_UNKNOWN = 0; // 0x0 field public static final int STOP_REASON_BOOTLOADER_INSTANCE_IMAGE_CHANGED = 10; // 0xa field public static final int STOP_REASON_BOOTLOADER_PUBLIC_KEY_MISMATCH = 9; // 0x9 field public static final int STOP_REASON_CRASH = 6; // 0x6 field public static final int STOP_REASON_HANGUP = 16; // 0x10 field public static final int STOP_REASON_INFRASTRUCTURE_ERROR = 0; // 0x0 field public static final int STOP_REASON_KILLED = 1; // 0x1 field public static final int STOP_REASON_MICRODROID_FAILED_TO_CONNECT_TO_VIRTUALIZATION_SERVICE = 11; // 0xb field public static final int STOP_REASON_MICRODROID_INVALID_PAYLOAD_CONFIG = 14; // 0xe field public static final int STOP_REASON_MICRODROID_PAYLOAD_HAS_CHANGED = 12; // 0xc field public static final int STOP_REASON_MICRODROID_PAYLOAD_VERIFICATION_FAILED = 13; // 0xd field public static final int STOP_REASON_MICRODROID_UNKNOWN_RUNTIME_ERROR = 15; // 0xf field public static final int STOP_REASON_PVM_FIRMWARE_INSTANCE_IMAGE_CHANGED = 8; // 0x8 field public static final int STOP_REASON_PVM_FIRMWARE_PUBLIC_KEY_MISMATCH = 7; // 0x7 field public static final int STOP_REASON_REBOOT = 5; // 0x5 field public static final int STOP_REASON_SHUTDOWN = 3; // 0x3 field public static final int STOP_REASON_START_FAILED = 4; // 0x4 field public static final int STOP_REASON_UNKNOWN = 2; // 0x2 field public static final int STOP_REASON_VIRTUALIZATION_SERVICE_DIED = -1; // 0xffffffff } public final class VirtualMachineConfig { method @Nullable public String getApkPath(); method public int getCpuTopology(); method public int getDebugLevel(); method @IntRange(from=0) public long getEncryptedStorageBytes(); method @IntRange(from=0) public long getMemoryBytes(); method @Nullable public String getPayloadBinaryName(); method public boolean isCompatibleWith(@NonNull android.system.virtualmachine.VirtualMachineConfig); method public boolean isEncryptedStorageEnabled(); method public boolean isProtectedVm(); method public boolean isVmOutputCaptured(); field public static final int CPU_TOPOLOGY_MATCH_HOST = 1; // 0x1 field public static final int CPU_TOPOLOGY_ONE_CPU = 0; // 0x0 field public static final int DEBUG_LEVEL_FULL = 1; // 0x1 field public static final int DEBUG_LEVEL_NONE = 0; // 0x0 } public static final class VirtualMachineConfig.Builder { ctor public VirtualMachineConfig.Builder(@NonNull android.content.Context); method @NonNull public android.system.virtualmachine.VirtualMachineConfig build(); method @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder setApkPath(@NonNull String); method @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder setCpuTopology(int); method @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder setDebugLevel(int); method @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder setEncryptedStorageBytes(@IntRange(from=1) long); method @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder setMemoryBytes(@IntRange(from=1) long); method @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder setPayloadBinaryName(@NonNull String); method @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder setProtectedVm(boolean); method @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder setVmOutputCaptured(boolean); } public final class VirtualMachineDescriptor implements java.lang.AutoCloseable android.os.Parcelable { method public void close(); method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class VirtualMachineException extends java.lang.Exception { } public class VirtualMachineManager { method @NonNull @RequiresPermission(android.system.virtualmachine.VirtualMachine.MANAGE_VIRTUAL_MACHINE_PERMISSION) @WorkerThread public android.system.virtualmachine.VirtualMachine create(@NonNull String, @NonNull android.system.virtualmachine.VirtualMachineConfig) throws android.system.virtualmachine.VirtualMachineException; method @WorkerThread public void delete(@NonNull String) throws android.system.virtualmachine.VirtualMachineException; method @Nullable @WorkerThread public android.system.virtualmachine.VirtualMachine get(@NonNull String) throws android.system.virtualmachine.VirtualMachineException; method public int getCapabilities(); method @NonNull @WorkerThread public android.system.virtualmachine.VirtualMachine getOrCreate(@NonNull String, @NonNull android.system.virtualmachine.VirtualMachineConfig) throws android.system.virtualmachine.VirtualMachineException; method @NonNull @WorkerThread public android.system.virtualmachine.VirtualMachine importFromDescriptor(@NonNull String, @NonNull android.system.virtualmachine.VirtualMachineDescriptor) throws android.system.virtualmachine.VirtualMachineException; field public static final int CAPABILITY_NON_PROTECTED_VM = 2; // 0x2 field public static final int CAPABILITY_PROTECTED_VM = 1; // 0x1 } } package android.telecom { @Deprecated public class AudioState implements android.os.Parcelable { ctor @Deprecated public AudioState(boolean, int, int); ctor @Deprecated public AudioState(android.telecom.AudioState); ctor @Deprecated public AudioState(android.telecom.CallAudioState); method @Deprecated public static String audioRouteToString(int); method @Deprecated public int describeContents(); method @Deprecated public int getRoute(); method @Deprecated public int getSupportedRouteMask(); method @Deprecated public boolean isMuted(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public static final int ROUTE_BLUETOOTH = 2; // 0x2 field @Deprecated public static final int ROUTE_EARPIECE = 1; // 0x1 field @Deprecated public static final int ROUTE_SPEAKER = 8; // 0x8 field @Deprecated public static final int ROUTE_WIRED_HEADSET = 4; // 0x4 field @Deprecated public static final int ROUTE_WIRED_OR_EARPIECE = 5; // 0x5 } public final class BluetoothCallQualityReport implements android.os.Parcelable { method public int describeContents(); method @IntRange(from=0) public int getNegativeAcknowledgementCount(); method @IntRange(from=0) public int getPacketsNotReceivedCount(); method @IntRange(from=0) public int getRetransmittedPacketsCount(); method @IntRange(from=0xffffff81, to=20) public int getRssiDbm(); method public long getSentTimestampMillis(); method public int getSnrDb(); method public boolean isChoppyVoice(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final String EVENT_BLUETOOTH_CALL_QUALITY_REPORT = "android.telecom.event.BLUETOOTH_CALL_QUALITY_REPORT"; field public static final String EXTRA_BLUETOOTH_CALL_QUALITY_REPORT = "android.telecom.extra.BLUETOOTH_CALL_QUALITY_REPORT"; } public static final class BluetoothCallQualityReport.Builder { ctor public BluetoothCallQualityReport.Builder(); method @NonNull public android.telecom.BluetoothCallQualityReport build(); method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setChoppyVoice(boolean); method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setNegativeAcknowledgementCount(int); method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setPacketsNotReceivedCount(int); method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setRetransmittedPacketsCount(int); method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setRssiDbm(int); method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setSentTimestampMillis(long); method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setSnrDb(int); } public final class Call { method @Deprecated public void addListener(android.telecom.Call.Listener); method public void enterBackgroundAudioProcessing(); method public void exitBackgroundAudioProcessing(boolean); method @Deprecated public void removeListener(android.telecom.Call.Listener); field @Deprecated public static final int STATE_PRE_DIAL_WAIT = 8; // 0x8 } @Deprecated public abstract static class Call.Listener extends android.telecom.Call.Callback { ctor @Deprecated public Call.Listener(); } public abstract class CallDiagnosticService extends android.app.Service { ctor public CallDiagnosticService(); method @NonNull public java.util.concurrent.Executor getExecutor(); method @Nullable public android.os.IBinder onBind(@NonNull android.content.Intent); method public abstract void onBluetoothCallQualityReportReceived(@NonNull android.telecom.BluetoothCallQualityReport); method public abstract void onCallAudioStateChanged(@NonNull android.telecom.CallAudioState); method @NonNull public abstract android.telecom.CallDiagnostics onInitializeCallDiagnostics(@NonNull android.telecom.Call.Details); method public abstract void onRemoveCallDiagnostics(@NonNull android.telecom.CallDiagnostics); field public static final String SERVICE_INTERFACE = "android.telecom.CallDiagnosticService"; } public abstract class CallDiagnostics { ctor public CallDiagnostics(); method public final void clearDiagnosticMessage(int); method public final void displayDiagnosticMessage(int, @NonNull CharSequence); method public abstract void onCallDetailsChanged(@NonNull android.telecom.Call.Details); method @Nullable public abstract CharSequence onCallDisconnected(int, int); method @Nullable public abstract CharSequence onCallDisconnected(@NonNull android.telephony.ims.ImsReasonInfo); method public abstract void onCallQualityReceived(@NonNull android.telephony.CallQuality); method public abstract void onReceiveDeviceToDeviceMessage(int, int); method public final void sendDeviceToDeviceMessage(int, int); field public static final int BATTERY_STATE_CHARGING = 3; // 0x3 field public static final int BATTERY_STATE_GOOD = 2; // 0x2 field public static final int BATTERY_STATE_LOW = 1; // 0x1 field public static final int COVERAGE_GOOD = 2; // 0x2 field public static final int COVERAGE_POOR = 1; // 0x1 field public static final int MESSAGE_CALL_AUDIO_CODEC = 2; // 0x2 field public static final int MESSAGE_CALL_NETWORK_TYPE = 1; // 0x1 field public static final int MESSAGE_DEVICE_BATTERY_STATE = 3; // 0x3 field public static final int MESSAGE_DEVICE_NETWORK_COVERAGE = 4; // 0x4 } public static class CallScreeningService.CallResponse.Builder { method @NonNull @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_OUTPUT) public android.telecom.CallScreeningService.CallResponse.Builder setShouldScreenCallViaAudioProcessing(boolean); } public abstract class CallStreamingService extends android.app.Service { ctor public CallStreamingService(); method @Nullable public android.os.IBinder onBind(@NonNull android.content.Intent); method public void onCallStreamingStarted(@NonNull android.telecom.StreamingCall); method public void onCallStreamingStateChanged(int); method public void onCallStreamingStopped(); field public static final String SERVICE_INTERFACE = "android.telecom.CallStreamingService"; field public static final int STREAMING_FAILED_ALREADY_STREAMING = 1; // 0x1 field public static final int STREAMING_FAILED_NO_SENDER = 2; // 0x2 field public static final int STREAMING_FAILED_SENDER_BINDING_ERROR = 3; // 0x3 field public static final int STREAMING_FAILED_UNKNOWN = 0; // 0x0 } public abstract class Conference extends android.telecom.Conferenceable { method @Deprecated public final android.telecom.AudioState getAudioState(); method @Deprecated public final long getConnectTimeMillis(); method public android.telecom.Connection getPrimaryConnection(); method @NonNull public final String getTelecomCallId(); method @Deprecated public void onAudioStateChanged(android.telecom.AudioState); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setAddress(@NonNull android.net.Uri, int); method public final void setCallerDisplayName(@NonNull String, int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setConferenceState(boolean); method @Deprecated public final void setConnectTimeMillis(long); } public abstract class Connection extends android.telecom.Conferenceable { method @Deprecated public final android.telecom.AudioState getAudioState(); method @IntRange(from=0) public final long getConnectTimeMillis(); method public final long getConnectionStartElapsedRealtimeMillis(); method @Nullable public android.telecom.PhoneAccountHandle getPhoneAccountHandle(); method @Nullable public final String getTelecomCallId(); method @Deprecated public void onAudioStateChanged(android.telecom.AudioState); method @RequiresPermission(android.Manifest.permission.READ_CONTACTS) public void onCallFilteringCompleted(@NonNull android.telecom.Connection.CallFilteringCompletionInfo); method public final void resetConnectionTime(); method public void setCallDirection(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setConnectTimeMillis(@IntRange(from=0) long); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setConnectionStartElapsedRealtimeMillis(long); method public void setPhoneAccountHandle(@NonNull android.telecom.PhoneAccountHandle); method public void setTelecomCallId(@NonNull String); field public static final int CAPABILITY_CONFERENCE_HAS_NO_CHILDREN = 2097152; // 0x200000 field public static final int CAPABILITY_SPEED_UP_MT_AUDIO = 262144; // 0x40000 field public static final String EVENT_DEVICE_TO_DEVICE_MESSAGE = "android.telecom.event.DEVICE_TO_DEVICE_MESSAGE"; field public static final String EXTRA_DEVICE_TO_DEVICE_MESSAGE_TYPE = "android.telecom.extra.DEVICE_TO_DEVICE_MESSAGE_TYPE"; field public static final String EXTRA_DEVICE_TO_DEVICE_MESSAGE_VALUE = "android.telecom.extra.DEVICE_TO_DEVICE_MESSAGE_VALUE"; field public static final String EXTRA_DISABLE_ADD_CALL = "android.telecom.extra.DISABLE_ADD_CALL"; field public static final int PROPERTY_EMERGENCY_CALLBACK_MODE = 1; // 0x1 field public static final int PROPERTY_GENERIC_CONFERENCE = 2; // 0x2 field public static final int PROPERTY_IS_DOWNGRADED_CONFERENCE = 64; // 0x40 field public static final int PROPERTY_REMOTELY_HOSTED = 2048; // 0x800 } public static final class Connection.CallFilteringCompletionInfo implements android.os.Parcelable { ctor public Connection.CallFilteringCompletionInfo(boolean, boolean, @Nullable android.telecom.CallScreeningService.CallResponse, @Nullable android.content.ComponentName); method public int describeContents(); method @Nullable public android.telecom.CallScreeningService.CallResponse getCallResponse(); method @Nullable public android.content.ComponentName getCallScreeningComponent(); method public boolean isBlocked(); method public boolean isInContacts(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class ConnectionRequest implements android.os.Parcelable { method @Nullable public String getTelecomCallId(); } public abstract class ConnectionService extends android.app.Service { method public final void addExistingConnection(@NonNull android.telecom.PhoneAccountHandle, @NonNull android.telecom.Connection, @NonNull android.telecom.Conference); } public abstract class InCallService extends android.app.Service { method @Deprecated public android.telecom.Phone getPhone(); method @Deprecated public void onPhoneCreated(android.telecom.Phone); method @Deprecated public void onPhoneDestroyed(android.telecom.Phone); } public class ParcelableCallAnalytics implements android.os.Parcelable { ctor public ParcelableCallAnalytics(long, long, int, boolean, boolean, int, int, boolean, String, boolean, java.util.List, java.util.List); ctor public ParcelableCallAnalytics(android.os.Parcel); method public java.util.List analyticsEvents(); method public int describeContents(); method public long getCallDurationMillis(); method public int getCallTechnologies(); method public int getCallTerminationCode(); method public int getCallType(); method public String getConnectionService(); method public java.util.List getEventTimings(); method public long getStartTimeMillis(); method public boolean isAdditionalCall(); method public boolean isCreatedFromExistingConnection(); method public boolean isEmergencyCall(); method public boolean isInterrupted(); method public void writeToParcel(android.os.Parcel, int); field public static final int CALLTYPE_INCOMING = 1; // 0x1 field public static final int CALLTYPE_OUTGOING = 2; // 0x2 field public static final int CALLTYPE_UNKNOWN = 0; // 0x0 field public static final int CDMA_PHONE = 1; // 0x1 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int GSM_PHONE = 2; // 0x2 field public static final int IMS_PHONE = 4; // 0x4 field public static final long MILLIS_IN_1_SECOND = 1000L; // 0x3e8L field public static final long MILLIS_IN_5_MINUTES = 300000L; // 0x493e0L field public static final int SIP_PHONE = 8; // 0x8 field public static final int STILL_CONNECTED = -1; // 0xffffffff field public static final int THIRD_PARTY_PHONE = 16; // 0x10 } public static final class ParcelableCallAnalytics.AnalyticsEvent implements android.os.Parcelable { ctor public ParcelableCallAnalytics.AnalyticsEvent(int, long); method public int describeContents(); method public int getEventName(); method public long getTimeSinceLastEvent(); method public void writeToParcel(android.os.Parcel, int); field public static final int AUDIO_ROUTE_BT = 204; // 0xcc field public static final int AUDIO_ROUTE_EARPIECE = 205; // 0xcd field public static final int AUDIO_ROUTE_HEADSET = 206; // 0xce field public static final int AUDIO_ROUTE_SPEAKER = 207; // 0xcf field public static final int BIND_CS = 5; // 0x5 field public static final int BLOCK_CHECK_FINISHED = 105; // 0x69 field public static final int BLOCK_CHECK_INITIATED = 104; // 0x68 field public static final int CONFERENCE_WITH = 300; // 0x12c field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int CS_BOUND = 6; // 0x6 field public static final int DIRECT_TO_VM_FINISHED = 103; // 0x67 field public static final int DIRECT_TO_VM_INITIATED = 102; // 0x66 field public static final int DND_CHECK_COMPLETED = 110; // 0x6e field public static final int DND_CHECK_INITIATED = 109; // 0x6d field public static final int FILTERING_COMPLETED = 107; // 0x6b field public static final int FILTERING_INITIATED = 106; // 0x6a field public static final int FILTERING_TIMED_OUT = 108; // 0x6c field public static final int MUTE = 202; // 0xca field public static final int REMOTELY_HELD = 402; // 0x192 field public static final int REMOTELY_UNHELD = 403; // 0x193 field public static final int REQUEST_ACCEPT = 7; // 0x7 field public static final int REQUEST_HOLD = 400; // 0x190 field public static final int REQUEST_PULL = 500; // 0x1f4 field public static final int REQUEST_REJECT = 8; // 0x8 field public static final int REQUEST_UNHOLD = 401; // 0x191 field public static final int SCREENING_COMPLETED = 101; // 0x65 field public static final int SCREENING_SENT = 100; // 0x64 field public static final int SET_ACTIVE = 1; // 0x1 field public static final int SET_DIALING = 4; // 0x4 field public static final int SET_DISCONNECTED = 2; // 0x2 field public static final int SET_HOLD = 404; // 0x194 field public static final int SET_PARENT = 302; // 0x12e field public static final int SET_SELECT_PHONE_ACCOUNT = 0; // 0x0 field public static final int SILENCE = 201; // 0xc9 field public static final int SKIP_RINGING = 200; // 0xc8 field public static final int SPLIT_CONFERENCE = 301; // 0x12d field public static final int START_CONNECTION = 3; // 0x3 field public static final int SWAP = 405; // 0x195 field public static final int UNMUTE = 203; // 0xcb } public static final class ParcelableCallAnalytics.EventTiming implements android.os.Parcelable { ctor public ParcelableCallAnalytics.EventTiming(int, long); method public int describeContents(); method public int getName(); method public long getTime(); method public void writeToParcel(android.os.Parcel, int); field public static final int ACCEPT_TIMING = 0; // 0x0 field public static final int BIND_CS_TIMING = 6; // 0x6 field public static final int BLOCK_CHECK_FINISHED_TIMING = 9; // 0x9 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DIRECT_TO_VM_FINISHED_TIMING = 8; // 0x8 field public static final int DISCONNECT_TIMING = 2; // 0x2 field public static final int DND_PRE_CALL_PRE_CHECK_TIMING = 12; // 0xc field public static final int FILTERING_COMPLETED_TIMING = 10; // 0xa field public static final int FILTERING_TIMED_OUT_TIMING = 11; // 0xb field public static final int HOLD_TIMING = 3; // 0x3 field public static final int INVALID = 999999; // 0xf423f field public static final int OUTGOING_TIME_TO_DIALING_TIMING = 5; // 0x5 field public static final int REJECT_TIMING = 1; // 0x1 field public static final int SCREENING_COMPLETED_TIMING = 7; // 0x7 field public static final int UNHOLD_TIMING = 4; // 0x4 } @Deprecated public final class Phone { method @Deprecated public void addListener(android.telecom.Phone.Listener); method @Deprecated public boolean canAddCall(); method @Deprecated public android.telecom.AudioState getAudioState(); method @Deprecated public android.telecom.CallAudioState getCallAudioState(); method @Deprecated public java.util.List getCalls(); method @Deprecated public void removeListener(android.telecom.Phone.Listener); method @Deprecated public void requestBluetoothAudio(String); method @Deprecated public void setAudioRoute(int); method @Deprecated public void setMuted(boolean); } @Deprecated public abstract static class Phone.Listener { ctor @Deprecated public Phone.Listener(); method @Deprecated public void onAudioStateChanged(android.telecom.Phone, android.telecom.AudioState); method @Deprecated public void onBringToForeground(android.telecom.Phone, boolean); method @Deprecated public void onCallAdded(android.telecom.Phone, android.telecom.Call); method @Deprecated public void onCallAudioStateChanged(android.telecom.Phone, android.telecom.CallAudioState); method @Deprecated public void onCallRemoved(android.telecom.Phone, android.telecom.Call); method @Deprecated public void onCanAddCallChanged(android.telecom.Phone, boolean); method @Deprecated public void onSilenceRinger(android.telecom.Phone); } public final class PhoneAccount implements android.os.Parcelable { field public static final int CAPABILITY_EMERGENCY_CALLS_ONLY = 128; // 0x80 field public static final int CAPABILITY_EMERGENCY_PREFERRED = 8192; // 0x2000 field public static final int CAPABILITY_EMERGENCY_VIDEO_CALLING = 512; // 0x200 field public static final int CAPABILITY_MULTI_USER = 32; // 0x20 field public static final String EXTRA_PLAY_CALL_RECORDING_TONE = "android.telecom.extra.PLAY_CALL_RECORDING_TONE"; field public static final String EXTRA_SORT_ORDER = "android.telecom.extra.SORT_ORDER"; } public static class PhoneAccount.Builder { method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telecom.PhoneAccount.Builder setGroupId(@NonNull String); } public class PhoneAccountSuggestionService extends android.app.Service { ctor public PhoneAccountSuggestionService(); method public void onAccountSuggestionRequest(@NonNull String); method public android.os.IBinder onBind(android.content.Intent); method public final void suggestPhoneAccounts(@NonNull String, @NonNull java.util.List); field public static final String SERVICE_INTERFACE = "android.telecom.PhoneAccountSuggestionService"; } public final class RemoteConference { method @Deprecated public void setAudioState(android.telecom.AudioState); } public final class RemoteConnection { method @RequiresPermission(android.Manifest.permission.READ_CONTACTS) public void onCallFilteringCompleted(@NonNull android.telecom.Connection.CallFilteringCompletionInfo); method @Deprecated public void setAudioState(android.telecom.AudioState); } public final class StatusHints implements android.os.Parcelable { ctor @Deprecated public StatusHints(android.content.ComponentName, CharSequence, int, android.os.Bundle); method @Deprecated public android.graphics.drawable.Drawable getIcon(android.content.Context); method @Deprecated public int getIconResId(); method @Deprecated public android.content.ComponentName getPackageName(); } public final class StreamingCall implements android.os.Parcelable { ctor public StreamingCall(@NonNull android.content.ComponentName, @NonNull CharSequence, @NonNull android.net.Uri, @NonNull android.os.Bundle); method public int describeContents(); method @NonNull public android.net.Uri getAddress(); method @NonNull public android.content.ComponentName getComponentName(); method @NonNull public CharSequence getDisplayName(); method @NonNull public android.os.Bundle getExtras(); method public int getState(); method public void requestStreamingState(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int STATE_DISCONNECTED = 3; // 0x3 field public static final int STATE_HOLDING = 2; // 0x2 field public static final int STATE_STREAMING = 1; // 0x1 } public final class TelecomAnalytics implements android.os.Parcelable { ctor public TelecomAnalytics(java.util.List, java.util.List); method public int describeContents(); method public java.util.List getCallAnalytics(); method public java.util.List getSessionTimings(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class TelecomAnalytics.SessionTiming implements android.os.Parcelable { ctor public TelecomAnalytics.SessionTiming(int, long); method public int describeContents(); method public Integer getKey(); method public long getTime(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int CSW_ADD_CONFERENCE_CALL = 108; // 0x6c field public static final int CSW_HANDLE_CREATE_CONNECTION_COMPLETE = 100; // 0x64 field public static final int CSW_REMOVE_CALL = 106; // 0x6a field public static final int CSW_SET_ACTIVE = 101; // 0x65 field public static final int CSW_SET_DIALING = 103; // 0x67 field public static final int CSW_SET_DISCONNECTED = 104; // 0x68 field public static final int CSW_SET_IS_CONFERENCED = 107; // 0x6b field public static final int CSW_SET_ON_HOLD = 105; // 0x69 field public static final int CSW_SET_RINGING = 102; // 0x66 field public static final int ICA_ANSWER_CALL = 1; // 0x1 field public static final int ICA_CONFERENCE = 8; // 0x8 field public static final int ICA_DISCONNECT_CALL = 3; // 0x3 field public static final int ICA_HOLD_CALL = 4; // 0x4 field public static final int ICA_MUTE = 6; // 0x6 field public static final int ICA_REJECT_CALL = 2; // 0x2 field public static final int ICA_SET_AUDIO_ROUTE = 7; // 0x7 field public static final int ICA_UNHOLD_CALL = 5; // 0x5 } public class TelecomManager { method public void addNewUnknownCall(android.telecom.PhoneAccountHandle, android.os.Bundle); method @Deprecated public void clearAccounts(); method public void clearPhoneAccounts(); method @NonNull public android.content.Intent createLaunchEmergencyDialerIntent(@Nullable String); method @RequiresPermission(android.Manifest.permission.DUMP) public android.telecom.TelecomAnalytics dumpAnalytics(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void enablePhoneAccount(android.telecom.PhoneAccountHandle, boolean); method public java.util.List getAllPhoneAccountHandles(); method public java.util.List getAllPhoneAccounts(); method public int getAllPhoneAccountsCount(); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List getCallCapablePhoneAccounts(boolean); method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}, conditional=true) public int getCallState(); method public android.telecom.PhoneAccountHandle getConnectionManager(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCurrentTtyMode(); method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getDefaultDialerPackage(@NonNull android.os.UserHandle); method @Deprecated public android.content.ComponentName getDefaultPhoneApp(); method @Deprecated public java.util.List getPhoneAccountsForPackage(); method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public java.util.List getPhoneAccountsSupportingScheme(String); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isInEmergencyCall(); method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRinging(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUserSelectedOutgoingPhoneAccount(@Nullable android.telecom.PhoneAccountHandle); field public static final String ACTION_CURRENT_TTY_MODE_CHANGED = "android.telecom.action.CURRENT_TTY_MODE_CHANGED"; field public static final String ACTION_TTY_PREFERRED_MODE_CHANGED = "android.telecom.action.TTY_PREFERRED_MODE_CHANGED"; field public static final int CALL_SOURCE_EMERGENCY_DIALPAD = 1; // 0x1 field public static final int CALL_SOURCE_EMERGENCY_SHORTCUT = 2; // 0x2 field public static final int CALL_SOURCE_UNSPECIFIED = 0; // 0x0 field public static final String EXTRA_CALL_BACK_INTENT = "android.telecom.extra.CALL_BACK_INTENT"; field public static final String EXTRA_CALL_HAS_IN_BAND_RINGTONE = "android.telecom.extra.CALL_HAS_IN_BAND_RINGTONE"; field public static final String EXTRA_CALL_SOURCE = "android.telecom.extra.CALL_SOURCE"; field public static final String EXTRA_CALL_TECHNOLOGY_TYPE = "android.telecom.extra.CALL_TECHNOLOGY_TYPE"; field @Deprecated public static final String EXTRA_CLEAR_MISSED_CALLS_INTENT = "android.telecom.extra.CLEAR_MISSED_CALLS_INTENT"; field public static final String EXTRA_CONNECTION_SERVICE = "android.telecom.extra.CONNECTION_SERVICE"; field public static final String EXTRA_CURRENT_TTY_MODE = "android.telecom.extra.CURRENT_TTY_MODE"; field public static final String EXTRA_IS_USER_INTENT_EMERGENCY_CALL = "android.telecom.extra.IS_USER_INTENT_EMERGENCY_CALL"; field public static final String EXTRA_TTY_PREFERRED_MODE = "android.telecom.extra.TTY_PREFERRED_MODE"; field public static final String EXTRA_UNKNOWN_CALL_HANDLE = "android.telecom.extra.UNKNOWN_CALL_HANDLE"; field public static final int TTY_MODE_FULL = 1; // 0x1 field public static final int TTY_MODE_HCO = 2; // 0x2 field public static final int TTY_MODE_OFF = 0; // 0x0 field public static final int TTY_MODE_VCO = 3; // 0x3 } } package android.telephony { public final class AccessNetworkConstants { field public static final int TRANSPORT_TYPE_INVALID = -1; // 0xffffffff } public static final class AccessNetworkConstants.NgranBands { method public static int getFrequencyRangeGroup(int); field public static final int FREQUENCY_RANGE_GROUP_1 = 1; // 0x1 field public static final int FREQUENCY_RANGE_GROUP_2 = 2; // 0x2 field public static final int FREQUENCY_RANGE_GROUP_UNKNOWN = 0; // 0x0 } public final class BarringInfo implements android.os.Parcelable { ctor public BarringInfo(); method @NonNull public android.telephony.BarringInfo createLocationInfoSanitizedCopy(); } @Deprecated public final class CallAttributes implements android.os.Parcelable { ctor @Deprecated public CallAttributes(@NonNull android.telephony.PreciseCallState, int, @NonNull android.telephony.CallQuality); method @Deprecated public int describeContents(); method @Deprecated @NonNull public android.telephony.CallQuality getCallQuality(); method @Deprecated public int getNetworkType(); method @Deprecated @NonNull public android.telephony.PreciseCallState getPreciseCallState(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class CallForwardingInfo implements android.os.Parcelable { ctor public CallForwardingInfo(boolean, int, @Nullable String, int); method public int describeContents(); method @Nullable public String getNumber(); method public int getReason(); method public int getTimeoutSeconds(); method public boolean isEnabled(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int REASON_ALL = 4; // 0x4 field public static final int REASON_ALL_CONDITIONAL = 5; // 0x5 field public static final int REASON_BUSY = 1; // 0x1 field public static final int REASON_NOT_REACHABLE = 3; // 0x3 field public static final int REASON_NO_REPLY = 2; // 0x2 field public static final int REASON_UNCONDITIONAL = 0; // 0x0 } public final class CallQuality implements android.os.Parcelable { ctor public CallQuality(int, int, int, int, int, int, int, int, int, int, int); ctor public CallQuality(int, int, int, int, int, int, int, int, int, int, int, boolean, boolean, boolean); method public int describeContents(); method public int getAverageRelativeJitter(); method public int getAverageRoundTripTime(); method public int getCallDuration(); method public int getCodecType(); method public int getDownlinkCallQualityLevel(); method public long getMaxPlayoutDelayMillis(); method public int getMaxRelativeJitter(); method public long getMinPlayoutDelayMillis(); method public int getNumDroppedRtpPackets(); method public int getNumNoDataFrames(); method public int getNumRtpDuplicatePackets(); method public int getNumRtpPacketsNotReceived(); method public int getNumRtpPacketsReceived(); method public int getNumRtpPacketsTransmitted(); method public int getNumRtpPacketsTransmittedLost(); method public int getNumRtpSidPacketsReceived(); method public int getNumVoiceFrames(); method public int getUplinkCallQualityLevel(); method public boolean isIncomingSilenceDetectedAtCallSetup(); method public boolean isOutgoingSilenceDetectedAtCallSetup(); method public boolean isRtpInactivityDetected(); method public void writeToParcel(android.os.Parcel, int); field public static final int CALL_QUALITY_BAD = 4; // 0x4 field public static final int CALL_QUALITY_EXCELLENT = 0; // 0x0 field public static final int CALL_QUALITY_FAIR = 2; // 0x2 field public static final int CALL_QUALITY_GOOD = 1; // 0x1 field public static final int CALL_QUALITY_NOT_AVAILABLE = 5; // 0x5 field public static final int CALL_QUALITY_POOR = 3; // 0x3 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class CallQuality.Builder { ctor public CallQuality.Builder(); method @NonNull public android.telephony.CallQuality build(); method @NonNull public android.telephony.CallQuality.Builder setAverageRelativeJitter(int); method @NonNull public android.telephony.CallQuality.Builder setAverageRoundTripTimeMillis(int); method @NonNull public android.telephony.CallQuality.Builder setCallDurationMillis(int); method @NonNull public android.telephony.CallQuality.Builder setCodecType(int); method @NonNull public android.telephony.CallQuality.Builder setDownlinkCallQualityLevel(int); method @NonNull public android.telephony.CallQuality.Builder setIncomingSilenceDetectedAtCallSetup(boolean); method @NonNull public android.telephony.CallQuality.Builder setMaxPlayoutDelayMillis(long); method @NonNull public android.telephony.CallQuality.Builder setMaxRelativeJitter(int); method @NonNull public android.telephony.CallQuality.Builder setMinPlayoutDelayMillis(long); method @NonNull public android.telephony.CallQuality.Builder setNumDroppedRtpPackets(int); method @NonNull public android.telephony.CallQuality.Builder setNumNoDataFrames(int); method @NonNull public android.telephony.CallQuality.Builder setNumRtpDuplicatePackets(int); method @NonNull public android.telephony.CallQuality.Builder setNumRtpPacketsNotReceived(int); method @NonNull public android.telephony.CallQuality.Builder setNumRtpPacketsReceived(int); method @NonNull public android.telephony.CallQuality.Builder setNumRtpPacketsTransmitted(int); method @NonNull public android.telephony.CallQuality.Builder setNumRtpPacketsTransmittedLost(int); method @NonNull public android.telephony.CallQuality.Builder setNumRtpSidPacketsReceived(int); method @NonNull public android.telephony.CallQuality.Builder setNumVoiceFrames(int); method @NonNull public android.telephony.CallQuality.Builder setOutgoingSilenceDetectedAtCallSetup(boolean); method @NonNull public android.telephony.CallQuality.Builder setRtpInactivityDetected(boolean); method @NonNull public android.telephony.CallQuality.Builder setUplinkCallQualityLevel(int); } public final class CallState implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.telephony.CallQuality getCallQuality(); method public int getCallState(); method public int getImsCallServiceType(); method @Nullable public String getImsCallSessionId(); method public int getImsCallType(); method public int getNetworkType(); method public void writeToParcel(@Nullable android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class CallState.Builder { ctor public CallState.Builder(int); method @NonNull public android.telephony.CallState build(); method @NonNull public android.telephony.CallState.Builder setCallQuality(@Nullable android.telephony.CallQuality); method @NonNull public android.telephony.CallState.Builder setImsCallServiceType(int); method @NonNull public android.telephony.CallState.Builder setImsCallSessionId(@Nullable String); method @NonNull public android.telephony.CallState.Builder setImsCallType(int); method @NonNull public android.telephony.CallState.Builder setNetworkType(int); } public class CarrierConfigManager { method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getDefaultCarrierServicePackageName(); method @NonNull public static android.os.PersistableBundle getDefaultConfig(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void overrideConfig(int, @Nullable android.os.PersistableBundle); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void updateConfigForPhoneId(int, String); field public static final int GBA_DIGEST = 3; // 0x3 field public static final int GBA_ME = 1; // 0x1 field public static final int GBA_U = 2; // 0x2 field public static final String KEY_CARRIER_SETUP_APP_STRING = "carrier_setup_app_string"; field public static final String KEY_GBA_MODE_INT = "gba_mode_int"; field public static final String KEY_GBA_UA_SECURITY_ORGANIZATION_INT = "gba_ua_security_organization_int"; field public static final String KEY_GBA_UA_SECURITY_PROTOCOL_INT = "gba_ua_security_protocol_int"; field public static final String KEY_GBA_UA_TLS_CIPHER_SUITE_INT = "gba_ua_tls_cipher_suite_int"; field public static final String KEY_SUPPORT_CDMA_1X_VOICE_CALLS_BOOL = "support_cdma_1x_voice_calls_bool"; } public static final class CarrierConfigManager.Wifi { field public static final String KEY_AVOID_5GHZ_SOFTAP_FOR_LAA_BOOL = "wifi.avoid_5ghz_softap_for_laa_bool"; field public static final String KEY_AVOID_5GHZ_WIFI_DIRECT_FOR_LAA_BOOL = "wifi.avoid_5ghz_wifi_direct_for_laa_bool"; field public static final String KEY_HOTSPOT_MAX_CLIENT_COUNT = "wifi.hotspot_maximum_client_count"; field public static final String KEY_PREFIX = "wifi."; field public static final String KEY_SUGGESTION_SSID_LIST_WITH_MAC_RANDOMIZATION_DISABLED = "wifi.suggestion_ssid_list_with_mac_randomization_disabled"; } public final class CarrierRestrictionRules implements android.os.Parcelable { method @NonNull public java.util.List areCarrierIdentifiersAllowed(@NonNull java.util.List); method public int describeContents(); method @NonNull public java.util.List getAllowedCarriers(); method public int getDefaultCarrierRestriction(); method @NonNull public java.util.List getExcludedCarriers(); method public int getMultiSimPolicy(); method public boolean isAllCarriersAllowed(); method public void writeToParcel(android.os.Parcel, int); field public static final int CARRIER_RESTRICTION_DEFAULT_ALLOWED = 1; // 0x1 field public static final int CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED = 0; // 0x0 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int MULTISIM_POLICY_NONE = 0; // 0x0 field public static final int MULTISIM_POLICY_ONE_VALID_SIM_MUST_BE_PRESENT = 1; // 0x1 } public static final class CarrierRestrictionRules.Builder { ctor public CarrierRestrictionRules.Builder(); method @NonNull public android.telephony.CarrierRestrictionRules build(); method @NonNull public android.telephony.CarrierRestrictionRules.Builder setAllCarriersAllowed(); method @NonNull public android.telephony.CarrierRestrictionRules.Builder setAllowedCarriers(@NonNull java.util.List); method @NonNull public android.telephony.CarrierRestrictionRules.Builder setDefaultCarrierRestriction(int); method @NonNull public android.telephony.CarrierRestrictionRules.Builder setExcludedCarriers(@NonNull java.util.List); method @NonNull public android.telephony.CarrierRestrictionRules.Builder setMultiSimPolicy(int); } public class CbGeoUtils { } public static class CbGeoUtils.Circle implements android.telephony.CbGeoUtils.Geometry { ctor public CbGeoUtils.Circle(@NonNull android.telephony.CbGeoUtils.LatLng, double); method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng); method @NonNull public android.telephony.CbGeoUtils.LatLng getCenter(); method public double getRadius(); } public static interface CbGeoUtils.Geometry { method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng); } public static class CbGeoUtils.LatLng { ctor public CbGeoUtils.LatLng(double, double); method public double distance(@NonNull android.telephony.CbGeoUtils.LatLng); method @NonNull public android.telephony.CbGeoUtils.LatLng subtract(@NonNull android.telephony.CbGeoUtils.LatLng); field public final double lat; field public final double lng; } public static class CbGeoUtils.Polygon implements android.telephony.CbGeoUtils.Geometry { ctor public CbGeoUtils.Polygon(@NonNull java.util.List); method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng); method @NonNull public java.util.List getVertices(); } public final class CellBroadcastIdRange implements android.os.Parcelable { ctor public CellBroadcastIdRange(@IntRange(from=0, to=65535) int, @IntRange(from=0, to=65535) int, int, boolean) throws java.lang.IllegalArgumentException; method public int describeContents(); method @IntRange(from=0, to=65535) public int getEndId(); method @IntRange(from=0, to=65535) public int getStartId(); method public int getType(); method public boolean isEnabled(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class CellBroadcastIntents { method public static void sendSmsCbReceivedBroadcast(@NonNull android.content.Context, @Nullable android.os.UserHandle, @NonNull android.telephony.SmsCbMessage, @Nullable android.content.BroadcastReceiver, @Nullable android.os.Handler, int, int); field public static final String ACTION_AREA_INFO_UPDATED = "android.telephony.action.AREA_INFO_UPDATED"; } public abstract class CellBroadcastService extends android.app.Service { ctor public CellBroadcastService(); method @NonNull @WorkerThread public abstract CharSequence getCellBroadcastAreaInfo(int); method @CallSuper public android.os.IBinder onBind(@Nullable android.content.Intent); method public abstract void onCdmaCellBroadcastSms(int, @NonNull byte[], int); method public abstract void onCdmaScpMessage(int, @NonNull java.util.List, @NonNull String, @NonNull java.util.function.Consumer); method public abstract void onGsmCellBroadcastSms(int, @NonNull byte[]); field public static final String CELL_BROADCAST_SERVICE_INTERFACE = "android.telephony.CellBroadcastService"; } public abstract class CellIdentity implements android.os.Parcelable { method @NonNull public abstract android.telephony.CellLocation asCellLocation(); method @NonNull public abstract android.telephony.CellIdentity sanitizeLocationInfo(); } public final class CellIdentityCdma extends android.telephony.CellIdentity { method @NonNull public android.telephony.cdma.CdmaCellLocation asCellLocation(); method @NonNull public android.telephony.CellIdentityCdma sanitizeLocationInfo(); } public final class CellIdentityGsm extends android.telephony.CellIdentity { method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation(); method @NonNull public android.telephony.CellIdentityGsm sanitizeLocationInfo(); } public final class CellIdentityLte extends android.telephony.CellIdentity { method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation(); method @NonNull public android.telephony.CellIdentityLte sanitizeLocationInfo(); } public final class CellIdentityNr extends android.telephony.CellIdentity { method @NonNull public android.telephony.CellLocation asCellLocation(); method @NonNull public android.telephony.CellIdentityNr sanitizeLocationInfo(); } public final class CellIdentityTdscdma extends android.telephony.CellIdentity { method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation(); method @NonNull public android.telephony.CellIdentityTdscdma sanitizeLocationInfo(); } public final class CellIdentityWcdma extends android.telephony.CellIdentity { method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation(); method @NonNull public android.telephony.CellIdentityWcdma sanitizeLocationInfo(); } public final class DataFailCause { field @Deprecated public static final int VSNCP_APN_UNATHORIZED = 2238; // 0x8be } public final class DataSpecificRegistrationInfo implements android.os.Parcelable { method public int describeContents(); method public int getLteAttachExtraInfo(); method public int getLteAttachResultType(); method @Deprecated @NonNull public android.telephony.LteVopsSupportInfo getLteVopsSupportInfo(); method @Nullable public android.telephony.VopsSupportInfo getVopsSupportInfo(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int LTE_ATTACH_EXTRA_INFO_CSFB_NOT_PREFERRED = 1; // 0x1 field public static final int LTE_ATTACH_EXTRA_INFO_NONE = 0; // 0x0 field public static final int LTE_ATTACH_EXTRA_INFO_SMS_ONLY = 2; // 0x2 field public static final int LTE_ATTACH_TYPE_COMBINED = 2; // 0x2 field public static final int LTE_ATTACH_TYPE_EPS_ONLY = 1; // 0x1 field public static final int LTE_ATTACH_TYPE_UNKNOWN = 0; // 0x0 } public final class DataThrottlingRequest implements android.os.Parcelable { method public int describeContents(); method public long getCompletionDurationMillis(); method public int getDataThrottlingAction(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DATA_THROTTLING_ACTION_HOLD = 3; // 0x3 field public static final int DATA_THROTTLING_ACTION_NO_DATA_THROTTLING = 0; // 0x0 field public static final int DATA_THROTTLING_ACTION_THROTTLE_PRIMARY_CARRIER = 2; // 0x2 field public static final int DATA_THROTTLING_ACTION_THROTTLE_SECONDARY_CARRIER = 1; // 0x1 } public static final class DataThrottlingRequest.Builder { ctor public DataThrottlingRequest.Builder(); method @NonNull public android.telephony.DataThrottlingRequest build(); method @NonNull public android.telephony.DataThrottlingRequest.Builder setCompletionDurationMillis(long); method @NonNull public android.telephony.DataThrottlingRequest.Builder setDataThrottlingAction(int); } public final class ImsiEncryptionInfo implements android.os.Parcelable { method public int describeContents(); method @Nullable public String getKeyIdentifier(); method @Nullable public java.security.PublicKey getPublicKey(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class LinkCapacityEstimate implements android.os.Parcelable { ctor public LinkCapacityEstimate(int, int, int); method public int describeContents(); method public int getDownlinkCapacityKbps(); method public int getType(); method public int getUplinkCapacityKbps(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int INVALID = -1; // 0xffffffff field public static final int LCE_TYPE_COMBINED = 2; // 0x2 field public static final int LCE_TYPE_PRIMARY = 0; // 0x0 field public static final int LCE_TYPE_SECONDARY = 1; // 0x1 } public final class LteVopsSupportInfo extends android.telephony.VopsSupportInfo { ctor public LteVopsSupportInfo(int, int); method public boolean equals(@Nullable Object); method public int getEmcBearerSupport(); method public int getVopsSupport(); method public int hashCode(); method public boolean isEmergencyServiceFallbackSupported(); method public boolean isEmergencyServiceSupported(); method public boolean isVopsSupported(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public static final int LTE_STATUS_NOT_AVAILABLE = 1; // 0x1 field public static final int LTE_STATUS_NOT_SUPPORTED = 3; // 0x3 field public static final int LTE_STATUS_SUPPORTED = 2; // 0x2 } public class MbmsDownloadSession implements java.lang.AutoCloseable { field public static final String MBMS_DOWNLOAD_SERVICE_ACTION = "android.telephony.action.EmbmsDownload"; } public class MbmsGroupCallSession implements java.lang.AutoCloseable { field public static final String MBMS_GROUP_CALL_SERVICE_ACTION = "android.telephony.action.EmbmsGroupCall"; } public class MbmsStreamingSession implements java.lang.AutoCloseable { field public static final String MBMS_STREAMING_SERVICE_ACTION = "android.telephony.action.EmbmsStreaming"; } public final class ModemActivityInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.telephony.ModemActivityInfo getDelta(@NonNull android.telephony.ModemActivityInfo); method public long getIdleTimeMillis(); method public static int getNumTxPowerLevels(); method public long getReceiveTimeMillis(); method public long getSleepTimeMillis(); method public long getTimestampMillis(); method public long getTransmitDurationMillisAtPowerLevel(int); method @NonNull public android.util.Range getTransmitPowerRange(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TX_POWER_LEVEL_0 = 0; // 0x0 field public static final int TX_POWER_LEVEL_1 = 1; // 0x1 field public static final int TX_POWER_LEVEL_2 = 2; // 0x2 field public static final int TX_POWER_LEVEL_3 = 3; // 0x3 field public static final int TX_POWER_LEVEL_4 = 4; // 0x4 } public final class NetworkRegistrationInfo implements android.os.Parcelable { method @Nullable public android.telephony.DataSpecificRegistrationInfo getDataSpecificInfo(); method public int getNetworkRegistrationState(); method @Deprecated public int getRegistrationState(); method public int getRejectCause(); method public int getRoamingType(); method public boolean isEmergencyEnabled(); method public void writeToParcel(android.os.Parcel, int); field public static final int REGISTRATION_STATE_DENIED = 3; // 0x3 field public static final int REGISTRATION_STATE_EMERGENCY = 6; // 0x6 field public static final int REGISTRATION_STATE_HOME = 1; // 0x1 field public static final int REGISTRATION_STATE_NOT_REGISTERED_OR_SEARCHING = 0; // 0x0 field public static final int REGISTRATION_STATE_NOT_REGISTERED_SEARCHING = 2; // 0x2 field public static final int REGISTRATION_STATE_ROAMING = 5; // 0x5 field public static final int REGISTRATION_STATE_UNKNOWN = 4; // 0x4 } public static final class NetworkRegistrationInfo.Builder { ctor public NetworkRegistrationInfo.Builder(); method @NonNull public android.telephony.NetworkRegistrationInfo build(); method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAccessNetworkTechnology(int); method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAvailableServices(@NonNull java.util.List); method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setCellIdentity(@Nullable android.telephony.CellIdentity); method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setDomain(int); method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setEmergencyOnly(boolean); method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRegisteredPlmn(@Nullable String); method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRegistrationState(int); method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRejectCause(int); method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setTransportType(int); } public abstract class NetworkService extends android.app.Service { ctor public NetworkService(); method public android.os.IBinder onBind(android.content.Intent); method @Nullable public abstract android.telephony.NetworkService.NetworkServiceProvider onCreateNetworkServiceProvider(int); field public static final String SERVICE_INTERFACE = "android.telephony.NetworkService"; } public abstract class NetworkService.NetworkServiceProvider implements java.lang.AutoCloseable { ctor public NetworkService.NetworkServiceProvider(int); method public abstract void close(); method public final int getSlotIndex(); method public final void notifyNetworkRegistrationInfoChanged(); method public void requestNetworkRegistrationInfo(int, @NonNull android.telephony.NetworkServiceCallback); } public class NetworkServiceCallback { method public void onRequestNetworkRegistrationInfoComplete(int, @Nullable android.telephony.NetworkRegistrationInfo); field public static final int RESULT_ERROR_BUSY = 3; // 0x3 field public static final int RESULT_ERROR_FAILED = 5; // 0x5 field public static final int RESULT_ERROR_ILLEGAL_STATE = 4; // 0x4 field public static final int RESULT_ERROR_INVALID_ARG = 2; // 0x2 field public static final int RESULT_ERROR_UNSUPPORTED = 1; // 0x1 field public static final int RESULT_SUCCESS = 0; // 0x0 } public final class NrVopsSupportInfo extends android.telephony.VopsSupportInfo { ctor public NrVopsSupportInfo(int, int, int); method public boolean equals(@Nullable Object); method public int getEmcSupport(); method public int getEmfSupport(); method public int getVopsSupport(); method public int hashCode(); method public boolean isEmergencyServiceFallbackSupported(); method public boolean isEmergencyServiceSupported(); method public boolean isVopsSupported(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int NR_STATUS_EMC_5GCN_ONLY = 1; // 0x1 field public static final int NR_STATUS_EMC_EUTRA_5GCN_ONLY = 2; // 0x2 field public static final int NR_STATUS_EMC_NOT_SUPPORTED = 0; // 0x0 field public static final int NR_STATUS_EMC_NR_EUTRA_5GCN = 3; // 0x3 field public static final int NR_STATUS_EMF_5GCN_ONLY = 1; // 0x1 field public static final int NR_STATUS_EMF_EUTRA_5GCN_ONLY = 2; // 0x2 field public static final int NR_STATUS_EMF_NOT_SUPPORTED = 0; // 0x0 field public static final int NR_STATUS_EMF_NR_EUTRA_5GCN = 3; // 0x3 field public static final int NR_STATUS_VOPS_3GPP_SUPPORTED = 1; // 0x1 field public static final int NR_STATUS_VOPS_NON_3GPP_SUPPORTED = 2; // 0x2 field public static final int NR_STATUS_VOPS_NOT_SUPPORTED = 0; // 0x0 } public interface NumberVerificationCallback { method public default void onCallReceived(@NonNull String); method public default void onVerificationFailed(int); field public static final int REASON_CONCURRENT_REQUESTS = 4; // 0x4 field public static final int REASON_IN_ECBM = 5; // 0x5 field public static final int REASON_IN_EMERGENCY_CALL = 6; // 0x6 field public static final int REASON_NETWORK_NOT_AVAILABLE = 2; // 0x2 field public static final int REASON_TIMED_OUT = 1; // 0x1 field public static final int REASON_TOO_MANY_CALLS = 3; // 0x3 field public static final int REASON_UNSPECIFIED = 0; // 0x0 } public final class PhoneCapability implements android.os.Parcelable { method public int describeContents(); method @NonNull public int[] getDeviceNrCapabilities(); method @IntRange(from=1) public int getMaxActiveDataSubscriptions(); method @IntRange(from=1) public int getMaxActiveVoiceSubscriptions(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DEVICE_NR_CAPABILITY_NSA = 1; // 0x1 field public static final int DEVICE_NR_CAPABILITY_SA = 2; // 0x2 } public final class PhoneNumberRange implements android.os.Parcelable { ctor public PhoneNumberRange(@NonNull String, @NonNull String, @NonNull String, @NonNull String); method public int describeContents(); method public boolean matches(@NonNull String); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class PhoneNumberUtils { method @NonNull public static String getUsernameFromUriNumber(@NonNull String); method public static boolean isUriNumber(@Nullable String); method public static boolean isVoiceMailNumber(@NonNull android.content.Context, int, @Nullable String); } @Deprecated public class PhoneStateListener { method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public void onCallAttributesChanged(@NonNull android.telephony.CallAttributes); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void onOutgoingEmergencyCall(@NonNull android.telephony.emergency.EmergencyNumber); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void onOutgoingEmergencyCall(@NonNull android.telephony.emergency.EmergencyNumber, int); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void onOutgoingEmergencySms(@NonNull android.telephony.emergency.EmergencyNumber); method @Deprecated public void onOutgoingEmergencySms(@NonNull android.telephony.emergency.EmergencyNumber, int); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public void onPreciseCallStateChanged(@NonNull android.telephony.PreciseCallState); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onRadioPowerStateChanged(int); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onSrvccStateChanged(int); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onVoiceActivationStateChanged(int); field @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int LISTEN_CALL_ATTRIBUTES_CHANGED = 67108864; // 0x4000000 field @Deprecated @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public static final int LISTEN_OUTGOING_EMERGENCY_CALL = 268435456; // 0x10000000 field @Deprecated @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public static final int LISTEN_OUTGOING_EMERGENCY_SMS = 536870912; // 0x20000000 field @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int LISTEN_PRECISE_CALL_STATE = 2048; // 0x800 field @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int LISTEN_RADIO_POWER_STATE_CHANGED = 8388608; // 0x800000 field @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int LISTEN_SRVCC_STATE_CHANGED = 16384; // 0x4000 field @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int LISTEN_VOICE_ACTIVATION_STATE = 131072; // 0x20000 } public final class PinResult implements android.os.Parcelable { method public int describeContents(); method public int getAttemptsRemaining(); method public int getResult(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int PIN_RESULT_TYPE_ABORTED = 3; // 0x3 field public static final int PIN_RESULT_TYPE_FAILURE = 2; // 0x2 field public static final int PIN_RESULT_TYPE_INCORRECT = 1; // 0x1 field public static final int PIN_RESULT_TYPE_SUCCESS = 0; // 0x0 } public final class PreciseCallState implements android.os.Parcelable { ctor public PreciseCallState(int, int, int, int, int); method public int describeContents(); method public int getBackgroundCallState(); method public int getForegroundCallState(); method public int getRingingCallState(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int PRECISE_CALL_STATE_ACTIVE = 1; // 0x1 field public static final int PRECISE_CALL_STATE_ALERTING = 4; // 0x4 field public static final int PRECISE_CALL_STATE_DIALING = 3; // 0x3 field public static final int PRECISE_CALL_STATE_DISCONNECTED = 7; // 0x7 field public static final int PRECISE_CALL_STATE_DISCONNECTING = 8; // 0x8 field public static final int PRECISE_CALL_STATE_HOLDING = 2; // 0x2 field public static final int PRECISE_CALL_STATE_IDLE = 0; // 0x0 field public static final int PRECISE_CALL_STATE_INCOMING = 5; // 0x5 field public static final int PRECISE_CALL_STATE_INCOMING_SETUP = 9; // 0x9 field public static final int PRECISE_CALL_STATE_NOT_VALID = -1; // 0xffffffff field public static final int PRECISE_CALL_STATE_WAITING = 6; // 0x6 } public final class PreciseDataConnectionState implements android.os.Parcelable { method @Deprecated @NonNull public String getDataConnectionApn(); method @Deprecated public int getDataConnectionApnTypeBitMask(); method @Deprecated public int getDataConnectionFailCause(); method @Deprecated public int getDataConnectionState(); } public final class PreciseDisconnectCause { field public static final int ACCESS_CLASS_BLOCKED = 260; // 0x104 field public static final int ACCESS_INFORMATION_DISCARDED = 43; // 0x2b field public static final int ACM_LIMIT_EXCEEDED = 68; // 0x44 field public static final int BEARER_CAPABILITY_NOT_AUTHORIZED = 57; // 0x39 field public static final int BEARER_NOT_AVAIL = 58; // 0x3a field public static final int BEARER_SERVICE_NOT_IMPLEMENTED = 65; // 0x41 field public static final int BUSY = 17; // 0x11 field public static final int CALL_BARRED = 240; // 0xf0 field public static final int CALL_REJECTED = 21; // 0x15 field public static final int CDMA_ACCESS_BLOCKED = 1009; // 0x3f1 field public static final int CDMA_ACCESS_FAILURE = 1006; // 0x3ee field public static final int CDMA_DROP = 1001; // 0x3e9 field public static final int CDMA_INTERCEPT = 1002; // 0x3ea field public static final int CDMA_LOCKED_UNTIL_POWER_CYCLE = 1000; // 0x3e8 field public static final int CDMA_NOT_EMERGENCY = 1008; // 0x3f0 field public static final int CDMA_PREEMPTED = 1007; // 0x3ef field public static final int CDMA_REORDER = 1003; // 0x3eb field public static final int CDMA_RETRY_ORDER = 1005; // 0x3ed field public static final int CDMA_SO_REJECT = 1004; // 0x3ec field public static final int CHANNEL_NOT_AVAIL = 44; // 0x2c field public static final int CHANNEL_UNACCEPTABLE = 6; // 0x6 field public static final int CONDITIONAL_IE_ERROR = 100; // 0x64 field public static final int DESTINATION_OUT_OF_ORDER = 27; // 0x1b field public static final int ERROR_UNSPECIFIED = 65535; // 0xffff field public static final int FACILITY_REJECTED = 29; // 0x1d field public static final int FDN_BLOCKED = 241; // 0xf1 field public static final int IMEI_NOT_ACCEPTED = 243; // 0xf3 field public static final int IMSI_UNKNOWN_IN_VLR = 242; // 0xf2 field public static final int INCOMING_CALLS_BARRED_WITHIN_CUG = 55; // 0x37 field public static final int INCOMPATIBLE_DESTINATION = 88; // 0x58 field public static final int INFORMATION_ELEMENT_NON_EXISTENT = 99; // 0x63 field public static final int INTERWORKING_UNSPECIFIED = 127; // 0x7f field public static final int INVALID_MANDATORY_INFORMATION = 96; // 0x60 field public static final int INVALID_NUMBER_FORMAT = 28; // 0x1c field public static final int INVALID_TRANSACTION_IDENTIFIER = 81; // 0x51 field public static final int MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101; // 0x65 field public static final int MESSAGE_TYPE_NON_IMPLEMENTED = 97; // 0x61 field public static final int MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98; // 0x62 field public static final int NETWORK_DETACH = 261; // 0x105 field public static final int NETWORK_OUT_OF_ORDER = 38; // 0x26 field public static final int NETWORK_REJECT = 252; // 0xfc field public static final int NETWORK_RESP_TIMEOUT = 251; // 0xfb field public static final int NORMAL = 16; // 0x10 field public static final int NORMAL_UNSPECIFIED = 31; // 0x1f field public static final int NOT_VALID = -1; // 0xffffffff field public static final int NO_ANSWER_FROM_USER = 19; // 0x13 field public static final int NO_CIRCUIT_AVAIL = 34; // 0x22 field public static final int NO_DISCONNECT_CAUSE_AVAILABLE = 0; // 0x0 field public static final int NO_ROUTE_TO_DESTINATION = 3; // 0x3 field public static final int NO_USER_RESPONDING = 18; // 0x12 field public static final int NO_VALID_SIM = 249; // 0xf9 field public static final int NUMBER_CHANGED = 22; // 0x16 field public static final int OEM_CAUSE_1 = 61441; // 0xf001 field public static final int OEM_CAUSE_10 = 61450; // 0xf00a field public static final int OEM_CAUSE_11 = 61451; // 0xf00b field public static final int OEM_CAUSE_12 = 61452; // 0xf00c field public static final int OEM_CAUSE_13 = 61453; // 0xf00d field public static final int OEM_CAUSE_14 = 61454; // 0xf00e field public static final int OEM_CAUSE_15 = 61455; // 0xf00f field public static final int OEM_CAUSE_2 = 61442; // 0xf002 field public static final int OEM_CAUSE_3 = 61443; // 0xf003 field public static final int OEM_CAUSE_4 = 61444; // 0xf004 field public static final int OEM_CAUSE_5 = 61445; // 0xf005 field public static final int OEM_CAUSE_6 = 61446; // 0xf006 field public static final int OEM_CAUSE_7 = 61447; // 0xf007 field public static final int OEM_CAUSE_8 = 61448; // 0xf008 field public static final int OEM_CAUSE_9 = 61449; // 0xf009 field public static final int ONLY_DIGITAL_INFORMATION_BEARER_AVAILABLE = 70; // 0x46 field public static final int OPERATOR_DETERMINED_BARRING = 8; // 0x8 field public static final int OUT_OF_SRV = 248; // 0xf8 field public static final int PREEMPTION = 25; // 0x19 field public static final int PROTOCOL_ERROR_UNSPECIFIED = 111; // 0x6f field public static final int QOS_NOT_AVAIL = 49; // 0x31 field public static final int RADIO_ACCESS_FAILURE = 253; // 0xfd field public static final int RADIO_INTERNAL_ERROR = 250; // 0xfa field public static final int RADIO_LINK_FAILURE = 254; // 0xfe field public static final int RADIO_LINK_LOST = 255; // 0xff field public static final int RADIO_OFF = 247; // 0xf7 field public static final int RADIO_RELEASE_ABNORMAL = 259; // 0x103 field public static final int RADIO_RELEASE_NORMAL = 258; // 0x102 field public static final int RADIO_SETUP_FAILURE = 257; // 0x101 field public static final int RADIO_UPLINK_FAILURE = 256; // 0x100 field public static final int RECOVERY_ON_TIMER_EXPIRED = 102; // 0x66 field public static final int REQUESTED_FACILITY_NOT_IMPLEMENTED = 69; // 0x45 field public static final int REQUESTED_FACILITY_NOT_SUBSCRIBED = 50; // 0x32 field public static final int RESOURCES_UNAVAILABLE_OR_UNSPECIFIED = 47; // 0x2f field public static final int SEMANTICALLY_INCORRECT_MESSAGE = 95; // 0x5f field public static final int SERVICE_OPTION_NOT_AVAILABLE = 63; // 0x3f field public static final int SERVICE_OR_OPTION_NOT_IMPLEMENTED = 79; // 0x4f field public static final int STATUS_ENQUIRY = 30; // 0x1e field public static final int SWITCHING_CONGESTION = 42; // 0x2a field public static final int TEMPORARY_FAILURE = 41; // 0x29 field public static final int UNOBTAINABLE_NUMBER = 1; // 0x1 field public static final int USER_NOT_MEMBER_OF_CUG = 87; // 0x57 } public class ServiceState implements android.os.Parcelable { method @Nullable public android.telephony.NetworkRegistrationInfo getNetworkRegistrationInfo(int, int); method @NonNull public java.util.List getNetworkRegistrationInfoListForDomain(int); method @NonNull public java.util.List getNetworkRegistrationInfoListForTransportType(int); field public static final int ROAMING_TYPE_DOMESTIC = 2; // 0x2 field public static final int ROAMING_TYPE_INTERNATIONAL = 3; // 0x3 field public static final int ROAMING_TYPE_NOT_ROAMING = 0; // 0x0 field public static final int ROAMING_TYPE_UNKNOWN = 1; // 0x1 } public final class SignalStrengthUpdateRequest implements android.os.Parcelable { method public boolean isSystemThresholdReportingRequestedWhileIdle(); } public static final class SignalStrengthUpdateRequest.Builder { method @NonNull @RequiresPermission("android.permission.LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH") public android.telephony.SignalStrengthUpdateRequest.Builder setSystemThresholdReportingRequestedWhileIdle(boolean); } public final class SmsCbCmasInfo implements android.os.Parcelable { ctor public SmsCbCmasInfo(int, int, int, int, int, int); method public int describeContents(); method public int getCategory(); method public int getCertainty(); method public int getMessageClass(); method public int getResponseType(); method public int getSeverity(); method public int getUrgency(); method public void writeToParcel(android.os.Parcel, int); field public static final int CMAS_CATEGORY_CBRNE = 10; // 0xa field public static final int CMAS_CATEGORY_ENV = 7; // 0x7 field public static final int CMAS_CATEGORY_FIRE = 5; // 0x5 field public static final int CMAS_CATEGORY_GEO = 0; // 0x0 field public static final int CMAS_CATEGORY_HEALTH = 6; // 0x6 field public static final int CMAS_CATEGORY_INFRA = 9; // 0x9 field public static final int CMAS_CATEGORY_MET = 1; // 0x1 field public static final int CMAS_CATEGORY_OTHER = 11; // 0xb field public static final int CMAS_CATEGORY_RESCUE = 4; // 0x4 field public static final int CMAS_CATEGORY_SAFETY = 2; // 0x2 field public static final int CMAS_CATEGORY_SECURITY = 3; // 0x3 field public static final int CMAS_CATEGORY_TRANSPORT = 8; // 0x8 field public static final int CMAS_CATEGORY_UNKNOWN = -1; // 0xffffffff field public static final int CMAS_CERTAINTY_LIKELY = 1; // 0x1 field public static final int CMAS_CERTAINTY_OBSERVED = 0; // 0x0 field public static final int CMAS_CERTAINTY_UNKNOWN = -1; // 0xffffffff field public static final int CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY = 3; // 0x3 field public static final int CMAS_CLASS_CMAS_EXERCISE = 5; // 0x5 field public static final int CMAS_CLASS_EXTREME_THREAT = 1; // 0x1 field public static final int CMAS_CLASS_OPERATOR_DEFINED_USE = 6; // 0x6 field public static final int CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT = 0; // 0x0 field public static final int CMAS_CLASS_REQUIRED_MONTHLY_TEST = 4; // 0x4 field public static final int CMAS_CLASS_SEVERE_THREAT = 2; // 0x2 field public static final int CMAS_CLASS_UNKNOWN = -1; // 0xffffffff field public static final int CMAS_RESPONSE_TYPE_ASSESS = 6; // 0x6 field public static final int CMAS_RESPONSE_TYPE_AVOID = 5; // 0x5 field public static final int CMAS_RESPONSE_TYPE_EVACUATE = 1; // 0x1 field public static final int CMAS_RESPONSE_TYPE_EXECUTE = 3; // 0x3 field public static final int CMAS_RESPONSE_TYPE_MONITOR = 4; // 0x4 field public static final int CMAS_RESPONSE_TYPE_NONE = 7; // 0x7 field public static final int CMAS_RESPONSE_TYPE_PREPARE = 2; // 0x2 field public static final int CMAS_RESPONSE_TYPE_SHELTER = 0; // 0x0 field public static final int CMAS_RESPONSE_TYPE_UNKNOWN = -1; // 0xffffffff field public static final int CMAS_SEVERITY_EXTREME = 0; // 0x0 field public static final int CMAS_SEVERITY_SEVERE = 1; // 0x1 field public static final int CMAS_SEVERITY_UNKNOWN = -1; // 0xffffffff field public static final int CMAS_URGENCY_EXPECTED = 1; // 0x1 field public static final int CMAS_URGENCY_IMMEDIATE = 0; // 0x0 field public static final int CMAS_URGENCY_UNKNOWN = -1; // 0xffffffff field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SmsCbEtwsInfo implements android.os.Parcelable { ctor public SmsCbEtwsInfo(int, boolean, boolean, boolean, @Nullable byte[]); method public int describeContents(); method @Nullable public byte[] getPrimaryNotificationSignature(); method public long getPrimaryNotificationTimestamp(); method public int getWarningType(); method public boolean isEmergencyUserAlert(); method public boolean isPopupAlert(); method public boolean isPrimary(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int ETWS_WARNING_TYPE_EARTHQUAKE = 0; // 0x0 field public static final int ETWS_WARNING_TYPE_EARTHQUAKE_AND_TSUNAMI = 2; // 0x2 field public static final int ETWS_WARNING_TYPE_OTHER_EMERGENCY = 4; // 0x4 field public static final int ETWS_WARNING_TYPE_TEST_MESSAGE = 3; // 0x3 field public static final int ETWS_WARNING_TYPE_TSUNAMI = 1; // 0x1 field public static final int ETWS_WARNING_TYPE_UNKNOWN = -1; // 0xffffffff } public final class SmsCbLocation implements android.os.Parcelable { ctor public SmsCbLocation(@NonNull String, int, int); method public int describeContents(); method public int getCid(); method public int getLac(); method @NonNull public String getPlmn(); method public boolean isInLocationArea(@NonNull android.telephony.SmsCbLocation); method public boolean isInLocationArea(@Nullable String, int, int); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SmsCbMessage implements android.os.Parcelable { ctor public SmsCbMessage(int, int, int, @NonNull android.telephony.SmsCbLocation, int, @Nullable String, int, @Nullable String, int, @Nullable android.telephony.SmsCbEtwsInfo, @Nullable android.telephony.SmsCbCmasInfo, int, @Nullable java.util.List, long, int, int); method @NonNull public static android.telephony.SmsCbMessage createFromCursor(@NonNull android.database.Cursor); method public int describeContents(); method @Nullable public android.telephony.SmsCbCmasInfo getCmasWarningInfo(); method @NonNull public android.content.ContentValues getContentValues(); method public int getDataCodingScheme(); method @Nullable public android.telephony.SmsCbEtwsInfo getEtwsWarningInfo(); method public int getGeographicalScope(); method @NonNull public java.util.List getGeometries(); method @Nullable public String getLanguageCode(); method @NonNull public android.telephony.SmsCbLocation getLocation(); method public int getMaximumWaitingDuration(); method @Nullable public String getMessageBody(); method public int getMessageFormat(); method public int getMessagePriority(); method public long getReceivedTime(); method public int getSerialNumber(); method public int getServiceCategory(); method public int getSlotIndex(); method public int getSubscriptionId(); method public boolean isCmasMessage(); method public boolean isEmergencyMessage(); method public boolean isEtwsMessage(); method public boolean needGeoFencingCheck(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int GEOGRAPHICAL_SCOPE_CELL_WIDE = 3; // 0x3 field public static final int GEOGRAPHICAL_SCOPE_CELL_WIDE_IMMEDIATE = 0; // 0x0 field public static final int GEOGRAPHICAL_SCOPE_LOCATION_AREA_WIDE = 2; // 0x2 field public static final int GEOGRAPHICAL_SCOPE_PLMN_WIDE = 1; // 0x1 field public static final int MAXIMUM_WAIT_TIME_NOT_SET = 255; // 0xff field public static final int MESSAGE_FORMAT_3GPP = 1; // 0x1 field public static final int MESSAGE_FORMAT_3GPP2 = 2; // 0x2 field public static final int MESSAGE_PRIORITY_EMERGENCY = 3; // 0x3 field public static final int MESSAGE_PRIORITY_INTERACTIVE = 1; // 0x1 field public static final int MESSAGE_PRIORITY_NORMAL = 0; // 0x0 field public static final int MESSAGE_PRIORITY_URGENT = 2; // 0x2 } public final class SmsManager { method @Deprecated public boolean disableCellBroadcastRange(int, int, int); method @Deprecated public boolean enableCellBroadcastRange(int, int, int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getPremiumSmsConsent(@NonNull String); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.net.Uri getSmscIdentity(); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_CELL_BROADCASTS) public void resetAllCellBroadcastRanges(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void sendMultipartTextMessageWithoutPersisting(String, String, java.util.List, java.util.List, java.util.List); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setPremiumSmsConsent(@NonNull String, int); field public static final int PREMIUM_SMS_CONSENT_ALWAYS_ALLOW = 3; // 0x3 field public static final int PREMIUM_SMS_CONSENT_ASK_USER = 1; // 0x1 field public static final int PREMIUM_SMS_CONSENT_NEVER_ALLOW = 2; // 0x2 field public static final int PREMIUM_SMS_CONSENT_UNKNOWN = 0; // 0x0 } public class SmsMessage { method @Nullable public static android.telephony.SmsMessage createFromNativeSmsSubmitPdu(@NonNull byte[], boolean); method @Nullable public static android.telephony.SmsMessage.SubmitPdu getSmsPdu(int, int, @Nullable String, @NonNull String, @NonNull String, long); method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public static byte[] getSubmitPduEncodedMessage(boolean, @NonNull String, @NonNull String, int, @IntRange(from=0) int, @IntRange(from=0) int, @IntRange(from=0, to=255) int, @IntRange(from=1, to=255) int, @IntRange(from=1, to=255) int); } public class SubscriptionInfo implements android.os.Parcelable { method public boolean areUiccApplicationsEnabled(); method @Nullable public java.util.List getAccessRules(); method public int getProfileClass(); method public boolean isGroupDisabled(); } public class SubscriptionManager { method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean canDisablePhysicalSubscription(); method public boolean canManageSubscription(@NonNull android.telephony.SubscriptionInfo, @NonNull String); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int[] getActiveSubscriptionIdList(); method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.SubscriptionInfo getActiveSubscriptionInfoForIcc(@NonNull String); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public byte[] getAllSimSpecificSettingsForBackup(); method public java.util.List getAvailableSubscriptionInfoList(); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int[] getCompleteActiveSubscriptionIdList(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getEnabledSubscriptionId(int); method @NonNull public static android.content.res.Resources getResourcesForSubId(@NonNull android.content.Context, int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isSubscriptionEnabled(int); method public void requestEmbeddedSubscriptionInfoListRefresh(); method public void requestEmbeddedSubscriptionInfoListRefresh(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void restoreAllSimSpecificSettingsFromBackup(@NonNull byte[]); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultDataSubId(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultSmsSubId(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultVoiceSubscriptionId(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setPreferredDataSubscriptionId(int, boolean, @Nullable java.util.concurrent.Executor, @Nullable java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setSubscriptionEnabled(int, boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUiccApplicationsEnabled(int, boolean); field @RequiresPermission(android.Manifest.permission.MANAGE_SUBSCRIPTION_PLANS) public static final String ACTION_SUBSCRIPTION_PLANS_CHANGED = "android.telephony.action.SUBSCRIPTION_PLANS_CHANGED"; field @NonNull public static final android.net.Uri ADVANCED_CALLING_ENABLED_CONTENT_URI; field @NonNull public static final android.net.Uri CROSS_SIM_ENABLED_CONTENT_URI; field @Deprecated public static final int PROFILE_CLASS_DEFAULT = -1; // 0xffffffff field public static final int PROFILE_CLASS_OPERATIONAL = 2; // 0x2 field public static final int PROFILE_CLASS_PROVISIONING = 1; // 0x1 field public static final int PROFILE_CLASS_TESTING = 0; // 0x0 field public static final int PROFILE_CLASS_UNSET = -1; // 0xffffffff field @NonNull public static final android.net.Uri VT_ENABLED_CONTENT_URI; field @NonNull public static final android.net.Uri WFC_ENABLED_CONTENT_URI; field @NonNull public static final android.net.Uri WFC_MODE_CONTENT_URI; field @NonNull public static final android.net.Uri WFC_ROAMING_ENABLED_CONTENT_URI; field @NonNull public static final android.net.Uri WFC_ROAMING_MODE_CONTENT_URI; } public static class SubscriptionPlan.Builder { method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringDaily(java.time.ZonedDateTime); method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringMonthly(java.time.ZonedDateTime); method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringWeekly(java.time.ZonedDateTime); } public class TelephonyCallback { field @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public static final int EVENT_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGED = 23; // 0x17 field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int EVENT_ALLOWED_NETWORK_TYPE_LIST_CHANGED = 35; // 0x23 field public static final int EVENT_ALWAYS_REPORTED_SIGNAL_STRENGTH_CHANGED = 10; // 0xa field @RequiresPermission(allOf={android.Manifest.permission.READ_PRECISE_PHONE_STATE, android.Manifest.permission.ACCESS_FINE_LOCATION}) public static final int EVENT_BARRING_INFO_CHANGED = 32; // 0x20 field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_CALL_ATTRIBUTES_CHANGED = 27; // 0x1b field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_CALL_DISCONNECT_CAUSE_CHANGED = 26; // 0x1a field @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public static final int EVENT_CALL_FORWARDING_INDICATOR_CHANGED = 4; // 0x4 field public static final int EVENT_CALL_STATE_CHANGED = 6; // 0x6 field public static final int EVENT_CARRIER_NETWORK_CHANGED = 17; // 0x11 field @RequiresPermission(allOf={android.Manifest.permission.READ_PHONE_STATE, android.Manifest.permission.ACCESS_FINE_LOCATION}) public static final int EVENT_CELL_INFO_CHANGED = 11; // 0xb field @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public static final int EVENT_CELL_LOCATION_CHANGED = 5; // 0x5 field public static final int EVENT_DATA_ACTIVATION_STATE_CHANGED = 19; // 0x13 field public static final int EVENT_DATA_ACTIVITY_CHANGED = 8; // 0x8 field @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_DATA_CONNECTION_REAL_TIME_INFO_CHANGED = 14; // 0xe field public static final int EVENT_DATA_CONNECTION_STATE_CHANGED = 7; // 0x7 field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_DATA_ENABLED_CHANGED = 34; // 0x22 field public static final int EVENT_DISPLAY_INFO_CHANGED = 21; // 0x15 field @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public static final int EVENT_EMERGENCY_NUMBER_LIST_CHANGED = 25; // 0x19 field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_IMS_CALL_DISCONNECT_CAUSE_CHANGED = 28; // 0x1c field @RequiresPermission(android.Manifest.permission.READ_CALL_LOG) public static final int EVENT_LEGACY_CALL_STATE_CHANGED = 36; // 0x24 field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_LINK_CAPACITY_ESTIMATE_CHANGED = 37; // 0x25 field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_MEDIA_QUALITY_STATUS_CHANGED = 39; // 0x27 field @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public static final int EVENT_MESSAGE_WAITING_INDICATOR_CHANGED = 3; // 0x3 field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int EVENT_OEM_HOOK_RAW = 15; // 0xf field @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public static final int EVENT_OUTGOING_EMERGENCY_CALL = 29; // 0x1d field @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public static final int EVENT_OUTGOING_EMERGENCY_SMS = 30; // 0x1e field public static final int EVENT_PHONE_CAPABILITY_CHANGED = 22; // 0x16 field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_PHYSICAL_CHANNEL_CONFIG_CHANGED = 33; // 0x21 field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_PRECISE_CALL_STATE_CHANGED = 12; // 0xc field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_PRECISE_DATA_CONNECTION_STATE_CHANGED = 13; // 0xd field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int EVENT_RADIO_POWER_STATE_CHANGED = 24; // 0x18 field @RequiresPermission(allOf={android.Manifest.permission.READ_PRECISE_PHONE_STATE, android.Manifest.permission.ACCESS_FINE_LOCATION}) public static final int EVENT_REGISTRATION_FAILURE = 31; // 0x1f field public static final int EVENT_SERVICE_STATE_CHANGED = 1; // 0x1 field public static final int EVENT_SIGNAL_STRENGTHS_CHANGED = 9; // 0x9 field public static final int EVENT_SIGNAL_STRENGTH_CHANGED = 2; // 0x2 field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int EVENT_SRVCC_STATE_CHANGED = 16; // 0x10 field public static final int EVENT_USER_MOBILE_DATA_STATE_CHANGED = 20; // 0x14 field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int EVENT_VOICE_ACTIVATION_STATE_CHANGED = 18; // 0x12 } public static interface TelephonyCallback.AllowedNetworkTypesListener { method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onAllowedNetworkTypesChanged(int, long); } public static interface TelephonyCallback.CallAttributesListener { method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public default void onCallAttributesChanged(@NonNull android.telephony.CallAttributes); method @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public default void onCallStatesChanged(@NonNull java.util.List); } public static interface TelephonyCallback.DataEnabledListener { method @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public void onDataEnabledChanged(boolean, int); } public static interface TelephonyCallback.LinkCapacityEstimateChangedListener { method @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public void onLinkCapacityEstimateChanged(@NonNull java.util.List); } public static interface TelephonyCallback.MediaQualityStatusChangedListener { method @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public void onMediaQualityStatusChanged(@NonNull android.telephony.ims.MediaQualityStatus); } public static interface TelephonyCallback.OutgoingEmergencyCallListener { method @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void onOutgoingEmergencyCall(@NonNull android.telephony.emergency.EmergencyNumber, int); } public static interface TelephonyCallback.OutgoingEmergencySmsListener { method @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void onOutgoingEmergencySms(@NonNull android.telephony.emergency.EmergencyNumber, int); } public static interface TelephonyCallback.PhoneCapabilityListener { method public void onPhoneCapabilityChanged(@NonNull android.telephony.PhoneCapability); } public static interface TelephonyCallback.PreciseCallStateListener { method @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public void onPreciseCallStateChanged(@NonNull android.telephony.PreciseCallState); } public static interface TelephonyCallback.RadioPowerStateListener { method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onRadioPowerStateChanged(int); } public static interface TelephonyCallback.SrvccStateListener { method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onSrvccStateChanged(int); } public static interface TelephonyCallback.VoiceActivationStateListener { method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onVoiceActivationStateChanged(int); } public final class TelephonyHistogram implements android.os.Parcelable { ctor public TelephonyHistogram(int, int, int); ctor public TelephonyHistogram(android.telephony.TelephonyHistogram); ctor public TelephonyHistogram(android.os.Parcel); method public void addTimeTaken(int); method public int describeContents(); method public int getAverageTime(); method public int getBucketCount(); method public int[] getBucketCounters(); method public int[] getBucketEndPoints(); method public int getCategory(); method public int getId(); method public int getMaxTime(); method public int getMinTime(); method public int getSampleCount(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TELEPHONY_CATEGORY_RIL = 1; // 0x1 } public class TelephonyManager { method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION}) @WorkerThread public void bootstrapAuthenticationRequest(int, @NonNull android.net.Uri, @NonNull android.telephony.gba.UaSecurityProtocolIdentifier, boolean, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.TelephonyManager.BootstrapAuthenticationCallback); method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public void call(String, String); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.PinResult changeIccLockPin(@NonNull String, @NonNull String); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int checkCarrierPrivilegesForPackage(String); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int checkCarrierPrivilegesForPackageAnyPhone(String); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void clearRadioPowerOffForReason(int); method public void dial(String); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean disableDataConnectivity(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean enableDataConnectivity(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean enableModemForSlot(int, boolean); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void enableVideoCalling(boolean); method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getAidForAppType(int); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List getAllowedCarriers(int); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getAllowedNetworkTypes(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getAllowedNetworkTypesBitmask(); method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.ComponentName getAndUpdateDefaultRespondViaMessageApplication(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void getCallForwarding(int, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.TelephonyManager.CallForwardingInfoCallback); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void getCallWaitingStatus(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int); method public java.util.List getCarrierPackageNamesForIntent(android.content.Intent); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List getCarrierPackageNamesForIntentAndPhone(android.content.Intent, int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCarrierPrivilegeStatus(int); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List getCarrierPrivilegedPackagesForAllActiveSubscriptions(); method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.CarrierRestrictionRules getCarrierRestrictionRules(); method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getCarrierServicePackageName(); method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getCarrierServicePackageNameForLogicalSlot(int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCdmaEnhancedRoamingIndicatorDisplayNumber(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMdn(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMdn(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMin(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMin(int); method public String getCdmaPrlVersion(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCdmaRoamingMode(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCdmaSubscriptionMode(); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_CELL_BROADCASTS) public java.util.List getCellBroadcastIdRanges(); method public int getCurrentPhoneType(); method public int getCurrentPhoneType(int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getDataActivationState(); method @Deprecated public boolean getDataEnabled(); method @Deprecated public boolean getDataEnabled(int); method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.ComponentName getDefaultRespondViaMessageApplication(); method @Nullable @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public String getDeviceSoftwareVersion(int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean getEmergencyCallbackMode(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getEmergencyNumberDbVersion(); method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getIsimDomain(); method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getIsimIst(); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.Map getLogicalToPhysicalSlotMapping(); method public int getMaxNumberOfSimultaneouslyActiveSims(); method public static long getMaxNumberVerificationTimeoutMillis(); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String[] getMergedImsisFromGroup(); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.PhoneCapability getPhoneCapability(); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getPreferredNetworkTypeBitmask(); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.Set getRadioPowerOffReasons(); method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public int getRadioPowerState(); method public int getSimApplicationState(); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSimApplicationState(int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSimApplicationState(int, int); method public int getSimCardState(); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSimCardState(int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSimCardState(int, int); method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.Locale getSimLocale(); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.Collection getSimSlotMapping(); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List getSystemSelectionChannels(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public java.util.List getTelephonyHistograms(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.UiccSlotInfo[] getUiccSlotsInfo(); method @Nullable public android.os.Bundle getVisualVoicemailSettings(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getVoiceActivationState(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean handlePinMmi(String); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean handlePinMmiForSubscriber(int, String); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void iccCloseLogicalChannelByPort(int, int, int); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean iccCloseLogicalChannelBySlot(int, int); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannelByPort(int, int, @Nullable String, int); method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannelBySlot(int, @Nullable String, int); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String iccTransmitApduBasicChannelByPort(int, int, int, int, int, int, int, @Nullable String); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String iccTransmitApduBasicChannelBySlot(int, int, int, int, int, int, @Nullable String); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String iccTransmitApduLogicalChannelByPort(int, int, int, int, int, int, int, int, @Nullable String); method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String iccTransmitApduLogicalChannelBySlot(int, int, int, int, int, int, int, @Nullable String); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isAnyRadioPoweredOn(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isApnMetered(int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isApplicationOnUicc(int); method public boolean isDataConnectivityPossible(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isDataEnabledForApn(int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isEmergencyAssistanceEnabled(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public boolean isIccLockEnabled(); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isIdle(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isInEmergencySmsMode(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isLteCdmaEvdoGsmWcdmaEnabled(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isMobileDataPolicyEnabled(int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isNrDualConnectivityEnabled(); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isOffhook(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isOpportunisticNetworkEnabled(); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isPotentialEmergencyNumber(@NonNull String); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRadioOn(); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRinging(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isTetheringApnRequired(); method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isVideoCallingEnabled(); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public boolean isVisualVoicemailEnabled(android.telecom.PhoneAccountHandle); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean matchesCurrentSimOperator(@NonNull String, int, @Nullable String); method public boolean needsOtaServiceProvisioning(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void notifyOtaEmergencyNumberDbInstalled(); method @RequiresPermission(android.Manifest.permission.REBOOT) public int prepareForUnattendedReboot(); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean rebootRadio(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void registerCarrierPrivilegesCallback(int, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.TelephonyManager.CarrierPrivilegesCallback); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void reportDefaultNetworkStatus(boolean); method @RequiresPermission(allOf={android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.MODIFY_PHONE_STATE}) public void requestCellInfoUpdate(@NonNull android.os.WorkSource, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.TelephonyManager.CellInfoCallback); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void requestModemActivityInfo(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void requestNumberVerification(@NonNull android.telephony.PhoneNumberRange, long, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.NumberVerificationCallback); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void requestRadioPowerOffForReason(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void resetAllCarrierActions(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void resetCarrierKeysForImsiEncryption(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public void resetIms(int); method @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void resetOtaEmergencyNumberDbFilePath(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean resetRadioConfig(); method @RequiresPermission(android.Manifest.permission.CONNECTIVITY_INTERNAL) public void resetSettings(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int sendThermalMitigationRequest(@NonNull android.telephony.ThermalMitigationRequest); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int setAllowedCarriers(int, java.util.List); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setAllowedNetworkTypes(long); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCallForwarding(@NonNull android.telephony.CallForwardingInfo, @Nullable java.util.concurrent.Executor, @Nullable java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCallWaitingEnabled(boolean, @Nullable java.util.concurrent.Executor, @Nullable java.util.function.Consumer); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCarrierDataEnabled(boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int setCarrierRestrictionRules(@NonNull android.telephony.CarrierRestrictionRules); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCdmaRoamingMode(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCdmaSubscriptionMode(int); method @RequiresPermission(android.Manifest.permission.MODIFY_CELL_BROADCASTS) public void setCellBroadcastIdRanges(@NonNull java.util.List, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDataActivationState(int); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDataEnabled(int, boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDataRoamingEnabled(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.PinResult setIccLockEnabled(boolean, @NonNull String); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setMobileDataPolicyEnabled(int, boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setMultiSimCarrierRestriction(boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int setNrDualConnectivityState(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setOpportunisticNetworkState(boolean); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setPreferredNetworkTypeBitmask(long); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setRadio(boolean); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setRadioEnabled(boolean); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setRadioPower(boolean); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimPowerState(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimPowerState(int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimPowerStateForSlot(int, int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimPowerStateForSlot(int, int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimSlotMapping(@NonNull java.util.Collection); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSystemSelectionChannels(@NonNull java.util.List, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSystemSelectionChannels(@NonNull java.util.List); method @Deprecated public void setVisualVoicemailEnabled(android.telecom.PhoneAccountHandle, boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoiceActivationState(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void shutdownAllRadios(); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.PinResult supplyIccLockPin(@NonNull String); method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.PinResult supplyIccLockPuk(@NonNull String, @NonNull String); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean supplyPin(String); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int[] supplyPinReportResult(String); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean supplyPuk(String, String); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int[] supplyPukReportResult(String, String); method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean switchSlots(int[]); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void toggleRadioOnOff(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void unregisterCarrierPrivilegesCallback(@NonNull android.telephony.TelephonyManager.CarrierPrivilegesCallback); method @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void updateOtaEmergencyNumberDbFilePath(@NonNull android.os.ParcelFileDescriptor); method public void updateServiceLocation(); field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final String ACTION_ANOMALY_REPORTED = "android.telephony.action.ANOMALY_REPORTED"; field public static final String ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED = "android.intent.action.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED"; field public static final String ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED = "android.intent.action.ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED"; field public static final String ACTION_EMERGENCY_ASSISTANCE = "android.telephony.action.EMERGENCY_ASSISTANCE"; field public static final String ACTION_EMERGENCY_CALLBACK_MODE_CHANGED = "android.intent.action.EMERGENCY_CALLBACK_MODE_CHANGED"; field public static final String ACTION_EMERGENCY_CALL_STATE_CHANGED = "android.intent.action.EMERGENCY_CALL_STATE_CHANGED"; field public static final String ACTION_REQUEST_OMADM_CONFIGURATION_UPDATE = "com.android.omadm.service.CONFIGURATION_UPDATE"; field public static final String ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS = "android.telephony.action.SHOW_NOTICE_ECM_BLOCK_OTHERS"; field public static final String ACTION_SIM_APPLICATION_STATE_CHANGED = "android.telephony.action.SIM_APPLICATION_STATE_CHANGED"; field public static final String ACTION_SIM_CARD_STATE_CHANGED = "android.telephony.action.SIM_CARD_STATE_CHANGED"; field public static final String ACTION_SIM_SLOT_STATUS_CHANGED = "android.telephony.action.SIM_SLOT_STATUS_CHANGED"; field public static final int ALLOWED_NETWORK_TYPES_REASON_ENABLE_2G = 3; // 0x3 field public static final int ALLOWED_NETWORK_TYPES_REASON_POWER = 1; // 0x1 field public static final int CALL_WAITING_STATUS_DISABLED = 2; // 0x2 field public static final int CALL_WAITING_STATUS_ENABLED = 1; // 0x1 field public static final int CALL_WAITING_STATUS_FDN_CHECK_FAILURE = 5; // 0x5 field public static final int CALL_WAITING_STATUS_NOT_SUPPORTED = 4; // 0x4 field public static final int CALL_WAITING_STATUS_UNKNOWN_ERROR = 3; // 0x3 field public static final String CAPABILITY_NR_DUAL_CONNECTIVITY_CONFIGURATION_AVAILABLE = "CAPABILITY_NR_DUAL_CONNECTIVITY_CONFIGURATION_AVAILABLE"; field public static final String CAPABILITY_SECONDARY_LINK_BANDWIDTH_VISIBLE = "CAPABILITY_SECONDARY_LINK_BANDWIDTH_VISIBLE"; field public static final String CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING = "CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING"; field public static final String CAPABILITY_USES_ALLOWED_NETWORK_TYPES_BITMASK = "CAPABILITY_USES_ALLOWED_NETWORK_TYPES_BITMASK"; field public static final int CARRIER_PRIVILEGE_STATUS_ERROR_LOADING_RULES = -2; // 0xfffffffe field public static final int CARRIER_PRIVILEGE_STATUS_HAS_ACCESS = 1; // 0x1 field public static final int CARRIER_PRIVILEGE_STATUS_NO_ACCESS = 0; // 0x0 field public static final int CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED = -1; // 0xffffffff field public static final int CDMA_SUBSCRIPTION_NV = 1; // 0x1 field public static final int CDMA_SUBSCRIPTION_RUIM_SIM = 0; // 0x0 field public static final int CDMA_SUBSCRIPTION_UNKNOWN = -1; // 0xffffffff field public static final int CELL_BROADCAST_RESULT_FAIL_ACTIVATION = 3; // 0x3 field public static final int CELL_BROADCAST_RESULT_FAIL_CONFIG = 2; // 0x2 field public static final int CELL_BROADCAST_RESULT_SUCCESS = 0; // 0x0 field public static final int CELL_BROADCAST_RESULT_UNKNOWN = -1; // 0xffffffff field public static final int CELL_BROADCAST_RESULT_UNSUPPORTED = 1; // 0x1 field public static final int ENABLE_NR_DUAL_CONNECTIVITY_INVALID_STATE = 4; // 0x4 field public static final int ENABLE_NR_DUAL_CONNECTIVITY_NOT_SUPPORTED = 1; // 0x1 field public static final int ENABLE_NR_DUAL_CONNECTIVITY_RADIO_ERROR = 3; // 0x3 field public static final int ENABLE_NR_DUAL_CONNECTIVITY_RADIO_NOT_AVAILABLE = 2; // 0x2 field public static final int ENABLE_NR_DUAL_CONNECTIVITY_SUCCESS = 0; // 0x0 field public static final String EXTRA_ANOMALY_DESCRIPTION = "android.telephony.extra.ANOMALY_DESCRIPTION"; field public static final String EXTRA_ANOMALY_ID = "android.telephony.extra.ANOMALY_ID"; field public static final String EXTRA_PHONE_IN_ECM_STATE = "android.telephony.extra.PHONE_IN_ECM_STATE"; field public static final String EXTRA_PHONE_IN_EMERGENCY_CALL = "android.telephony.extra.PHONE_IN_EMERGENCY_CALL"; field public static final String EXTRA_SIM_STATE = "android.telephony.extra.SIM_STATE"; field public static final String EXTRA_VISUAL_VOICEMAIL_ENABLED_BY_USER_BOOL = "android.telephony.extra.VISUAL_VOICEMAIL_ENABLED_BY_USER_BOOL"; field public static final String EXTRA_VOICEMAIL_SCRAMBLED_PIN_STRING = "android.telephony.extra.VOICEMAIL_SCRAMBLED_PIN_STRING"; field public static final int GBA_FAILURE_REASON_FEATURE_NOT_READY = 2; // 0x2 field public static final int GBA_FAILURE_REASON_FEATURE_NOT_SUPPORTED = 1; // 0x1 field public static final int GBA_FAILURE_REASON_INCORRECT_NAF_ID = 4; // 0x4 field public static final int GBA_FAILURE_REASON_NETWORK_FAILURE = 3; // 0x3 field public static final int GBA_FAILURE_REASON_SECURITY_PROTOCOL_NOT_SUPPORTED = 5; // 0x5 field public static final int GBA_FAILURE_REASON_UNKNOWN = 0; // 0x0 field public static final int INVALID_EMERGENCY_NUMBER_DB_VERSION = -1; // 0xffffffff field public static final int KEY_TYPE_EPDG = 1; // 0x1 field public static final int KEY_TYPE_WLAN = 2; // 0x2 field public static final int MOBILE_DATA_POLICY_AUTO_DATA_SWITCH = 3; // 0x3 field public static final int MOBILE_DATA_POLICY_DATA_ON_NON_DEFAULT_DURING_VOICE_CALL = 1; // 0x1 field public static final int MOBILE_DATA_POLICY_MMS_ALWAYS_ALLOWED = 2; // 0x2 field public static final int NR_DUAL_CONNECTIVITY_DISABLE = 2; // 0x2 field public static final int NR_DUAL_CONNECTIVITY_DISABLE_IMMEDIATE = 3; // 0x3 field public static final int NR_DUAL_CONNECTIVITY_ENABLE = 1; // 0x1 field public static final int PREPARE_UNATTENDED_REBOOT_ERROR = 2; // 0x2 field public static final int PREPARE_UNATTENDED_REBOOT_PIN_REQUIRED = 1; // 0x1 field public static final int PREPARE_UNATTENDED_REBOOT_SUCCESS = 0; // 0x0 field public static final int RADIO_POWER_OFF = 0; // 0x0 field public static final int RADIO_POWER_ON = 1; // 0x1 field public static final int RADIO_POWER_REASON_CARRIER = 2; // 0x2 field public static final int RADIO_POWER_REASON_NEARBY_DEVICE = 3; // 0x3 field public static final int RADIO_POWER_REASON_THERMAL = 1; // 0x1 field public static final int RADIO_POWER_REASON_USER = 0; // 0x0 field public static final int RADIO_POWER_UNAVAILABLE = 2; // 0x2 field public static final int SET_CARRIER_RESTRICTION_ERROR = 2; // 0x2 field public static final int SET_CARRIER_RESTRICTION_NOT_SUPPORTED = 1; // 0x1 field public static final int SET_CARRIER_RESTRICTION_SUCCESS = 0; // 0x0 field public static final int SET_SIM_POWER_STATE_ALREADY_IN_STATE = 1; // 0x1 field public static final int SET_SIM_POWER_STATE_MODEM_ERROR = 2; // 0x2 field public static final int SET_SIM_POWER_STATE_NOT_SUPPORTED = 4; // 0x4 field public static final int SET_SIM_POWER_STATE_SIM_ERROR = 3; // 0x3 field public static final int SET_SIM_POWER_STATE_SUCCESS = 0; // 0x0 field public static final int SIM_ACTIVATION_STATE_ACTIVATED = 2; // 0x2 field public static final int SIM_ACTIVATION_STATE_ACTIVATING = 1; // 0x1 field public static final int SIM_ACTIVATION_STATE_DEACTIVATED = 3; // 0x3 field public static final int SIM_ACTIVATION_STATE_RESTRICTED = 4; // 0x4 field public static final int SIM_ACTIVATION_STATE_UNKNOWN = 0; // 0x0 field public static final int SIM_STATE_LOADED = 10; // 0xa field public static final int SIM_STATE_PRESENT = 11; // 0xb field public static final int SRVCC_STATE_HANDOVER_CANCELED = 3; // 0x3 field public static final int SRVCC_STATE_HANDOVER_COMPLETED = 1; // 0x1 field public static final int SRVCC_STATE_HANDOVER_FAILED = 2; // 0x2 field public static final int SRVCC_STATE_HANDOVER_NONE = -1; // 0xffffffff field public static final int SRVCC_STATE_HANDOVER_STARTED = 0; // 0x0 field public static final int THERMAL_MITIGATION_RESULT_INVALID_STATE = 3; // 0x3 field public static final int THERMAL_MITIGATION_RESULT_MODEM_ERROR = 1; // 0x1 field public static final int THERMAL_MITIGATION_RESULT_MODEM_NOT_AVAILABLE = 2; // 0x2 field public static final int THERMAL_MITIGATION_RESULT_SUCCESS = 0; // 0x0 field public static final int THERMAL_MITIGATION_RESULT_UNKNOWN_ERROR = 4; // 0x4 } public static class TelephonyManager.BootstrapAuthenticationCallback { ctor public TelephonyManager.BootstrapAuthenticationCallback(); method public void onAuthenticationFailure(int); method public void onKeysAvailable(@NonNull byte[], @NonNull String); } public static interface TelephonyManager.CallForwardingInfoCallback { method public void onCallForwardingInfoAvailable(@NonNull android.telephony.CallForwardingInfo); method public void onError(int); field public static final int RESULT_ERROR_FDN_CHECK_FAILURE = 2; // 0x2 field public static final int RESULT_ERROR_NOT_SUPPORTED = 3; // 0x3 field public static final int RESULT_ERROR_UNKNOWN = 1; // 0x1 field public static final int RESULT_SUCCESS = 0; // 0x0 } public static interface TelephonyManager.CarrierPrivilegesCallback { method public void onCarrierPrivilegesChanged(@NonNull java.util.Set, @NonNull java.util.Set); method public default void onCarrierServiceChanged(@Nullable String, int); } public static class TelephonyManager.ModemActivityInfoException extends java.lang.Exception { ctor public TelephonyManager.ModemActivityInfoException(int); method public int getErrorCode(); field public static final int ERROR_INVALID_INFO_RECEIVED = 2; // 0x2 field public static final int ERROR_MODEM_RESPONSE_ERROR = 3; // 0x3 field public static final int ERROR_PHONE_NOT_AVAILABLE = 1; // 0x1 field public static final int ERROR_UNKNOWN = 0; // 0x0 } public final class ThermalMitigationRequest implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.telephony.DataThrottlingRequest getDataThrottlingRequest(); method public int getThermalMitigationAction(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int THERMAL_MITIGATION_ACTION_DATA_THROTTLING = 0; // 0x0 field public static final int THERMAL_MITIGATION_ACTION_RADIO_OFF = 2; // 0x2 field public static final int THERMAL_MITIGATION_ACTION_VOICE_ONLY = 1; // 0x1 } public static final class ThermalMitigationRequest.Builder { ctor public ThermalMitigationRequest.Builder(); method @NonNull public android.telephony.ThermalMitigationRequest build(); method @NonNull public android.telephony.ThermalMitigationRequest.Builder setDataThrottlingRequest(@NonNull android.telephony.DataThrottlingRequest); method @NonNull public android.telephony.ThermalMitigationRequest.Builder setThermalMitigationAction(int); } public final class UiccAccessRule implements android.os.Parcelable { ctor public UiccAccessRule(byte[], @Nullable String, long); method public int describeContents(); method public int getCarrierPrivilegeStatus(android.content.pm.PackageInfo); method public int getCarrierPrivilegeStatus(android.content.pm.Signature, String); method public String getCertificateHexString(); method @Nullable public String getPackageName(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class UiccSlotInfo implements android.os.Parcelable { ctor @Deprecated public UiccSlotInfo(boolean, boolean, String, int, int, boolean); method public int describeContents(); method public String getCardId(); method public int getCardStateInfo(); method @Deprecated public boolean getIsActive(); method public boolean getIsEuicc(); method public boolean getIsExtendedApduSupported(); method @Deprecated public int getLogicalSlotIdx(); method @NonNull public java.util.Collection getPorts(); method public boolean isRemovable(); method public void writeToParcel(android.os.Parcel, int); field public static final int CARD_STATE_INFO_ABSENT = 1; // 0x1 field public static final int CARD_STATE_INFO_ERROR = 3; // 0x3 field public static final int CARD_STATE_INFO_PRESENT = 2; // 0x2 field public static final int CARD_STATE_INFO_RESTRICTED = 4; // 0x4 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class UiccSlotMapping implements android.os.Parcelable { ctor public UiccSlotMapping(int, int, int); method public int describeContents(); method @IntRange(from=0) public int getLogicalSlotIndex(); method @IntRange(from=0) public int getPhysicalSlotIndex(); method @IntRange(from=0) public int getPortIndex(); method public void writeToParcel(@Nullable android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public abstract class VisualVoicemailService extends android.app.Service { method public static final void sendVisualVoicemailSms(android.content.Context, android.telecom.PhoneAccountHandle, String, short, String, android.app.PendingIntent); method public static final void setSmsFilterSettings(android.content.Context, android.telecom.PhoneAccountHandle, android.telephony.VisualVoicemailSmsFilterSettings); } public abstract class VopsSupportInfo implements android.os.Parcelable { method public int describeContents(); method public abstract boolean equals(Object); method public abstract int hashCode(); method public abstract boolean isEmergencyServiceFallbackSupported(); method public abstract boolean isEmergencyServiceSupported(); method public abstract boolean isVopsSupported(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.telephony.cdma { public final class CdmaSmsCbProgramData implements android.os.Parcelable { method public int describeContents(); method public int getCategory(); method public int getOperation(); method public void writeToParcel(android.os.Parcel, int); field public static final int CATEGORY_CMAS_CHILD_ABDUCTION_EMERGENCY = 4099; // 0x1003 field public static final int CATEGORY_CMAS_EXTREME_THREAT = 4097; // 0x1001 field public static final int CATEGORY_CMAS_LAST_RESERVED_VALUE = 4351; // 0x10ff field public static final int CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT = 4096; // 0x1000 field public static final int CATEGORY_CMAS_SEVERE_THREAT = 4098; // 0x1002 field public static final int CATEGORY_CMAS_TEST_MESSAGE = 4100; // 0x1004 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int OPERATION_ADD_CATEGORY = 1; // 0x1 field public static final int OPERATION_CLEAR_CATEGORIES = 2; // 0x2 field public static final int OPERATION_DELETE_CATEGORY = 0; // 0x0 } } package android.telephony.data { public class ApnSetting implements android.os.Parcelable { method public static int getApnTypeInt(@NonNull String); method @NonNull public static String getApnTypeString(int); field public static final String TYPE_ALL_STRING = "*"; field public static final String TYPE_BIP_STRING = "bip"; field public static final String TYPE_CBS_STRING = "cbs"; field public static final String TYPE_DEFAULT_STRING = "default"; field public static final String TYPE_DUN_STRING = "dun"; field public static final String TYPE_EMERGENCY_STRING = "emergency"; field public static final String TYPE_ENTERPRISE_STRING = "enterprise"; field public static final String TYPE_FOTA_STRING = "fota"; field public static final String TYPE_HIPRI_STRING = "hipri"; field public static final String TYPE_IA_STRING = "ia"; field public static final String TYPE_IMS_STRING = "ims"; field public static final String TYPE_MCX_STRING = "mcx"; field public static final String TYPE_MMS_STRING = "mms"; field public static final String TYPE_SUPL_STRING = "supl"; field public static final String TYPE_VSIM_STRING = "vsim"; field public static final String TYPE_XCAP_STRING = "xcap"; } public final class DataCallResponse implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getAddresses(); method public int getCause(); method @NonNull public java.util.List getDnsAddresses(); method @NonNull public java.util.List getGatewayAddresses(); method public int getHandoverFailureMode(); method public int getId(); method @NonNull public String getInterfaceName(); method public int getLinkStatus(); method @Deprecated public int getMtu(); method public int getMtuV4(); method public int getMtuV6(); method @NonNull public java.util.List getPcscfAddresses(); method public int getPduSessionId(); method public int getProtocolType(); method public long getRetryDurationMillis(); method @Nullable public android.telephony.data.NetworkSliceInfo getSliceInfo(); method @Deprecated public int getSuggestedRetryTime(); method @NonNull public java.util.List getTrafficDescriptors(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int HANDOVER_FAILURE_MODE_DO_FALLBACK = 1; // 0x1 field public static final int HANDOVER_FAILURE_MODE_LEGACY = 0; // 0x0 field public static final int HANDOVER_FAILURE_MODE_NO_FALLBACK_RETRY_HANDOVER = 2; // 0x2 field public static final int HANDOVER_FAILURE_MODE_NO_FALLBACK_RETRY_SETUP_NORMAL = 3; // 0x3 field public static final int HANDOVER_FAILURE_MODE_UNKNOWN = -1; // 0xffffffff field public static final int LINK_STATUS_ACTIVE = 2; // 0x2 field public static final int LINK_STATUS_DORMANT = 1; // 0x1 field public static final int LINK_STATUS_INACTIVE = 0; // 0x0 field public static final int LINK_STATUS_UNKNOWN = -1; // 0xffffffff field public static final int PDU_SESSION_ID_NOT_SET = 0; // 0x0 field public static final int RETRY_DURATION_UNDEFINED = -1; // 0xffffffff } public static final class DataCallResponse.Builder { ctor public DataCallResponse.Builder(); method @NonNull public android.telephony.data.DataCallResponse build(); method @NonNull public android.telephony.data.DataCallResponse.Builder setAddresses(@NonNull java.util.List); method @NonNull public android.telephony.data.DataCallResponse.Builder setCause(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setDnsAddresses(@NonNull java.util.List); method @NonNull public android.telephony.data.DataCallResponse.Builder setGatewayAddresses(@NonNull java.util.List); method @NonNull public android.telephony.data.DataCallResponse.Builder setHandoverFailureMode(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setId(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setInterfaceName(@NonNull String); method @NonNull public android.telephony.data.DataCallResponse.Builder setLinkStatus(int); method @Deprecated @NonNull public android.telephony.data.DataCallResponse.Builder setMtu(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setMtuV4(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setMtuV6(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setPcscfAddresses(@NonNull java.util.List); method @NonNull public android.telephony.data.DataCallResponse.Builder setPduSessionId(@IntRange(from=android.telephony.data.DataCallResponse.PDU_SESSION_ID_NOT_SET, to=15) int); method @NonNull public android.telephony.data.DataCallResponse.Builder setProtocolType(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setRetryDurationMillis(long); method @NonNull public android.telephony.data.DataCallResponse.Builder setSliceInfo(@Nullable android.telephony.data.NetworkSliceInfo); method @Deprecated @NonNull public android.telephony.data.DataCallResponse.Builder setSuggestedRetryTime(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setTrafficDescriptors(@NonNull java.util.List); } public final class DataProfile implements android.os.Parcelable { method public int describeContents(); method @Deprecated @NonNull public String getApn(); method @Nullable public android.telephony.data.ApnSetting getApnSetting(); method @Deprecated public int getAuthType(); method @Deprecated public int getBearerBitmask(); method @Deprecated public int getMtu(); method @Deprecated public int getMtuV4(); method @Deprecated public int getMtuV6(); method @Deprecated @Nullable public String getPassword(); method @Deprecated public int getProfileId(); method @Deprecated public int getProtocolType(); method @Deprecated public int getRoamingProtocolType(); method @Deprecated public int getSupportedApnTypesBitmask(); method @Nullable public android.telephony.data.TrafficDescriptor getTrafficDescriptor(); method public int getType(); method @Deprecated @Nullable public String getUserName(); method public boolean isEnabled(); method @Deprecated public boolean isPersistent(); method public boolean isPreferred(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TYPE_3GPP = 1; // 0x1 field public static final int TYPE_3GPP2 = 2; // 0x2 field public static final int TYPE_COMMON = 0; // 0x0 } public static final class DataProfile.Builder { ctor public DataProfile.Builder(); method @NonNull public android.telephony.data.DataProfile build(); method @NonNull public android.telephony.data.DataProfile.Builder enable(boolean); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setApn(@NonNull String); method @NonNull public android.telephony.data.DataProfile.Builder setApnSetting(@NonNull android.telephony.data.ApnSetting); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setAuthType(int); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setBearerBitmask(int); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setMtu(int); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setMtuV4(int); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setMtuV6(int); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setPassword(@NonNull String); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setPersistent(boolean); method @NonNull public android.telephony.data.DataProfile.Builder setPreferred(boolean); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setProfileId(int); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setProtocolType(int); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setRoamingProtocolType(int); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setSupportedApnTypesBitmask(int); method @NonNull public android.telephony.data.DataProfile.Builder setTrafficDescriptor(@NonNull android.telephony.data.TrafficDescriptor); method @NonNull public android.telephony.data.DataProfile.Builder setType(int); method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setUserName(@NonNull String); } public abstract class DataService extends android.app.Service { ctor public DataService(); method public android.os.IBinder onBind(android.content.Intent); method @Nullable public abstract android.telephony.data.DataService.DataServiceProvider onCreateDataServiceProvider(int); field public static final int REQUEST_REASON_HANDOVER = 3; // 0x3 field public static final int REQUEST_REASON_NORMAL = 1; // 0x1 field public static final int REQUEST_REASON_SHUTDOWN = 2; // 0x2 field public static final int REQUEST_REASON_UNKNOWN = 0; // 0x0 field public static final String SERVICE_INTERFACE = "android.telephony.data.DataService"; } public abstract class DataService.DataServiceProvider implements java.lang.AutoCloseable { ctor public DataService.DataServiceProvider(int); method public abstract void close(); method public void deactivateDataCall(int, int, @Nullable android.telephony.data.DataServiceCallback); method public final int getSlotIndex(); method public final void notifyApnUnthrottled(@NonNull String); method public final void notifyDataCallListChanged(java.util.List); method public final void notifyDataProfileUnthrottled(@NonNull android.telephony.data.DataProfile); method public void requestDataCallList(@NonNull android.telephony.data.DataServiceCallback); method public void setDataProfile(@NonNull java.util.List, boolean, @NonNull android.telephony.data.DataServiceCallback); method public void setInitialAttachApn(@NonNull android.telephony.data.DataProfile, boolean, @NonNull android.telephony.data.DataServiceCallback); method public void setupDataCall(int, @NonNull android.telephony.data.DataProfile, boolean, boolean, int, @Nullable android.net.LinkProperties, @NonNull android.telephony.data.DataServiceCallback); method public void setupDataCall(int, @NonNull android.telephony.data.DataProfile, boolean, boolean, int, @Nullable android.net.LinkProperties, @IntRange(from=0, to=15) int, @Nullable android.telephony.data.NetworkSliceInfo, @Nullable android.telephony.data.TrafficDescriptor, boolean, @NonNull android.telephony.data.DataServiceCallback); } public class DataServiceCallback { method public void onApnUnthrottled(@NonNull String); method public void onDataCallListChanged(@NonNull java.util.List); method public void onDataProfileUnthrottled(@NonNull android.telephony.data.DataProfile); method public void onDeactivateDataCallComplete(int); method public void onRequestDataCallListComplete(int, @NonNull java.util.List); method public void onSetDataProfileComplete(int); method public void onSetInitialAttachApnComplete(int); method public void onSetupDataCallComplete(int, @Nullable android.telephony.data.DataCallResponse); field public static final int RESULT_ERROR_BUSY = 3; // 0x3 field public static final int RESULT_ERROR_ILLEGAL_STATE = 4; // 0x4 field public static final int RESULT_ERROR_INVALID_ARG = 2; // 0x2 field public static final int RESULT_ERROR_UNSUPPORTED = 1; // 0x1 field public static final int RESULT_SUCCESS = 0; // 0x0 } public final class EpsBearerQosSessionAttributes implements android.os.Parcelable android.net.QosSessionAttributes { method public int describeContents(); method public long getGuaranteedDownlinkBitRateKbps(); method public long getGuaranteedUplinkBitRateKbps(); method public long getMaxDownlinkBitRateKbps(); method public long getMaxUplinkBitRateKbps(); method public int getQosIdentifier(); method @NonNull public java.util.List getRemoteAddresses(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class NrQosSessionAttributes implements android.os.Parcelable android.net.QosSessionAttributes { method public int describeContents(); method @NonNull public java.time.Duration getBitRateWindowDuration(); method public long getGuaranteedDownlinkBitRateKbps(); method public long getGuaranteedUplinkBitRateKbps(); method public long getMaxDownlinkBitRateKbps(); method public long getMaxUplinkBitRateKbps(); method @IntRange(from=1, to=63) public int getQosFlowIdentifier(); method public int getQosIdentifier(); method @NonNull public java.util.List getRemoteAddresses(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public abstract class QualifiedNetworksService extends android.app.Service { ctor public QualifiedNetworksService(); method public android.os.IBinder onBind(android.content.Intent); method @NonNull public abstract android.telephony.data.QualifiedNetworksService.NetworkAvailabilityProvider onCreateNetworkAvailabilityProvider(int); field public static final String QUALIFIED_NETWORKS_SERVICE_INTERFACE = "android.telephony.data.QualifiedNetworksService"; } public abstract class QualifiedNetworksService.NetworkAvailabilityProvider implements java.lang.AutoCloseable { ctor public QualifiedNetworksService.NetworkAvailabilityProvider(int); method public abstract void close(); method public final int getSlotIndex(); method public void reportEmergencyDataNetworkPreferredTransportChanged(int); method public void reportThrottleStatusChanged(@NonNull java.util.List); method public final void updateQualifiedNetworkTypes(int, @NonNull java.util.List); } public final class ThrottleStatus implements android.os.Parcelable { method public int describeContents(); method public int getApnType(); method public int getRetryType(); method public int getSlotIndex(); method public long getThrottleExpiryTimeMillis(); method public int getThrottleType(); method public int getTransportType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int RETRY_TYPE_HANDOVER = 3; // 0x3 field public static final int RETRY_TYPE_NEW_CONNECTION = 2; // 0x2 field public static final int RETRY_TYPE_NONE = 1; // 0x1 field public static final int THROTTLE_TYPE_ELAPSED_TIME = 2; // 0x2 field public static final int THROTTLE_TYPE_NONE = 1; // 0x1 } public static final class ThrottleStatus.Builder { ctor public ThrottleStatus.Builder(); method @NonNull public android.telephony.data.ThrottleStatus build(); method @NonNull public android.telephony.data.ThrottleStatus.Builder setApnType(int); method @NonNull public android.telephony.data.ThrottleStatus.Builder setNoThrottle(); method @NonNull public android.telephony.data.ThrottleStatus.Builder setRetryType(int); method @NonNull public android.telephony.data.ThrottleStatus.Builder setSlotIndex(int); method @NonNull public android.telephony.data.ThrottleStatus.Builder setThrottleExpiryTimeMillis(long); method @NonNull public android.telephony.data.ThrottleStatus.Builder setTransportType(int); } } package android.telephony.euicc { public final class DownloadableSubscription implements android.os.Parcelable { method public java.util.List getAccessRules(); method @Nullable public String getCarrierName(); } public static final class DownloadableSubscription.Builder { ctor public DownloadableSubscription.Builder(); method @NonNull public android.telephony.euicc.DownloadableSubscription.Builder setAccessRules(@NonNull java.util.List); method @NonNull public android.telephony.euicc.DownloadableSubscription.Builder setCarrierName(@NonNull String); } public class EuiccCardManager { method public void authenticateServer(String, String, byte[], byte[], byte[], byte[], java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void cancelSession(String, byte[], @android.telephony.euicc.EuiccCardManager.CancelReason int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void deleteProfile(String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void disableProfile(String, String, boolean, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void listNotifications(String, @android.telephony.euicc.EuiccNotification.Event int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void loadBoundProfilePackage(String, byte[], java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void prepareDownload(String, @Nullable byte[], byte[], byte[], byte[], java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void removeNotificationFromList(String, int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void requestAllProfiles(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void requestDefaultSmdpAddress(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void requestEnabledProfileForPort(@NonNull String, int, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.euicc.EuiccCardManager.ResultCallback); method public void requestEuiccChallenge(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void requestEuiccInfo1(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void requestEuiccInfo2(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void requestProfile(String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void requestRulesAuthTable(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void requestSmdsAddress(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void resetMemory(String, @android.telephony.euicc.EuiccCardManager.ResetOption int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void retrieveNotification(String, int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void retrieveNotificationList(String, @android.telephony.euicc.EuiccNotification.Event int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void setDefaultSmdpAddress(String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void setNickname(String, String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method @Deprecated public void switchToProfile(String, String, boolean, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback); method public void switchToProfile(@Nullable String, @Nullable String, int, boolean, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.euicc.EuiccCardManager.ResultCallback); field public static final int CANCEL_REASON_END_USER_REJECTED = 0; // 0x0 field public static final int CANCEL_REASON_POSTPONED = 1; // 0x1 field public static final int CANCEL_REASON_PPR_NOT_ALLOWED = 3; // 0x3 field public static final int CANCEL_REASON_TIMEOUT = 2; // 0x2 field public static final int RESET_OPTION_DELETE_FIELD_LOADED_TEST_PROFILES = 2; // 0x2 field public static final int RESET_OPTION_DELETE_OPERATIONAL_PROFILES = 1; // 0x1 field public static final int RESET_OPTION_RESET_DEFAULT_SMDP_ADDRESS = 4; // 0x4 field public static final int RESULT_CALLER_NOT_ALLOWED = -3; // 0xfffffffd field public static final int RESULT_EUICC_NOT_FOUND = -2; // 0xfffffffe field public static final int RESULT_OK = 0; // 0x0 field public static final int RESULT_PROFILE_DOES_NOT_EXIST = -4; // 0xfffffffc field public static final int RESULT_PROFILE_NOT_FOUND = 1; // 0x1 field public static final int RESULT_UNKNOWN_ERROR = -1; // 0xffffffff } @IntDef(prefix={"CANCEL_REASON_"}, value={android.telephony.euicc.EuiccCardManager.CANCEL_REASON_END_USER_REJECTED, android.telephony.euicc.EuiccCardManager.CANCEL_REASON_POSTPONED, android.telephony.euicc.EuiccCardManager.CANCEL_REASON_TIMEOUT, android.telephony.euicc.EuiccCardManager.CANCEL_REASON_PPR_NOT_ALLOWED}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccCardManager.CancelReason { } @IntDef(flag=true, prefix={"RESET_OPTION_"}, value={android.telephony.euicc.EuiccCardManager.RESET_OPTION_DELETE_OPERATIONAL_PROFILES, android.telephony.euicc.EuiccCardManager.RESET_OPTION_DELETE_FIELD_LOADED_TEST_PROFILES, android.telephony.euicc.EuiccCardManager.RESET_OPTION_RESET_DEFAULT_SMDP_ADDRESS}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccCardManager.ResetOption { } public static interface EuiccCardManager.ResultCallback { method public void onComplete(int, T); } public class EuiccManager { method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void continueOperation(android.content.Intent, android.os.Bundle); method @Deprecated @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void eraseSubscriptions(@NonNull android.app.PendingIntent); method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void eraseSubscriptions(@android.telephony.euicc.EuiccCardManager.ResetOption int, @NonNull android.app.PendingIntent); method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void getDefaultDownloadableSubscriptionList(android.app.PendingIntent); method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void getDownloadableSubscriptionMetadata(android.telephony.euicc.DownloadableSubscription, android.app.PendingIntent); method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public int getOtaStatus(); method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public java.util.List getSupportedCountries(); method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public java.util.List getUnsupportedCountries(); method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public boolean isSupportedCountry(@NonNull String); method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void setSupportedCountries(@NonNull java.util.List); method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void setUnsupportedCountries(@NonNull java.util.List); field @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public static final String ACTION_CONVERT_TO_EMBEDDED_SUBSCRIPTION = "android.telephony.euicc.action.CONVERT_TO_EMBEDDED_SUBSCRIPTION"; field public static final String ACTION_DELETE_SUBSCRIPTION_PRIVILEGED = "android.telephony.euicc.action.DELETE_SUBSCRIPTION_PRIVILEGED"; field @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public static final String ACTION_OTA_STATUS_CHANGED = "android.telephony.euicc.action.OTA_STATUS_CHANGED"; field public static final String ACTION_PROVISION_EMBEDDED_SUBSCRIPTION = "android.telephony.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION"; field public static final String ACTION_RENAME_SUBSCRIPTION_PRIVILEGED = "android.telephony.euicc.action.RENAME_SUBSCRIPTION_PRIVILEGED"; field public static final String ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED = "android.telephony.euicc.action.TOGGLE_SUBSCRIPTION_PRIVILEGED"; field @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public static final String ACTION_TRANSFER_EMBEDDED_SUBSCRIPTIONS = "android.telephony.euicc.action.TRANSFER_EMBEDDED_SUBSCRIPTIONS"; field public static final int EUICC_ACTIVATION_TYPE_ACCOUNT_REQUIRED = 4; // 0x4 field public static final int EUICC_ACTIVATION_TYPE_BACKUP = 2; // 0x2 field public static final int EUICC_ACTIVATION_TYPE_DEFAULT = 1; // 0x1 field public static final int EUICC_ACTIVATION_TYPE_TRANSFER = 3; // 0x3 field public static final int EUICC_OTA_FAILED = 2; // 0x2 field public static final int EUICC_OTA_IN_PROGRESS = 1; // 0x1 field public static final int EUICC_OTA_NOT_NEEDED = 4; // 0x4 field public static final int EUICC_OTA_STATUS_UNAVAILABLE = 5; // 0x5 field public static final int EUICC_OTA_SUCCEEDED = 3; // 0x3 field public static final String EXTRA_ACTIVATION_TYPE = "android.telephony.euicc.extra.ACTIVATION_TYPE"; field public static final String EXTRA_EMBEDDED_SUBSCRIPTION_DOWNLOADABLE_SUBSCRIPTIONS = "android.telephony.euicc.extra.EMBEDDED_SUBSCRIPTION_DOWNLOADABLE_SUBSCRIPTIONS"; field public static final String EXTRA_ENABLE_SUBSCRIPTION = "android.telephony.euicc.extra.ENABLE_SUBSCRIPTION"; field public static final String EXTRA_FORCE_PROVISION = "android.telephony.euicc.extra.FORCE_PROVISION"; field public static final String EXTRA_FROM_SUBSCRIPTION_ID = "android.telephony.euicc.extra.FROM_SUBSCRIPTION_ID"; field public static final String EXTRA_PHYSICAL_SLOT_ID = "android.telephony.euicc.extra.PHYSICAL_SLOT_ID"; field public static final String EXTRA_SUBSCRIPTION_ID = "android.telephony.euicc.extra.SUBSCRIPTION_ID"; field public static final String EXTRA_SUBSCRIPTION_NICKNAME = "android.telephony.euicc.extra.SUBSCRIPTION_NICKNAME"; } @IntDef(prefix={"EUICC_OTA_"}, value={android.telephony.euicc.EuiccManager.EUICC_OTA_IN_PROGRESS, android.telephony.euicc.EuiccManager.EUICC_OTA_FAILED, android.telephony.euicc.EuiccManager.EUICC_OTA_SUCCEEDED, android.telephony.euicc.EuiccManager.EUICC_OTA_NOT_NEEDED, android.telephony.euicc.EuiccManager.EUICC_OTA_STATUS_UNAVAILABLE}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccManager.OtaStatus { } public final class EuiccNotification implements android.os.Parcelable { ctor public EuiccNotification(int, String, @android.telephony.euicc.EuiccNotification.Event int, @Nullable byte[]); method public int describeContents(); method @Nullable public byte[] getData(); method @android.telephony.euicc.EuiccNotification.Event public int getEvent(); method public int getSeq(); method public String getTargetAddr(); method public void writeToParcel(android.os.Parcel, int); field @android.telephony.euicc.EuiccNotification.Event public static final int ALL_EVENTS = 15; // 0xf field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int EVENT_DELETE = 8; // 0x8 field public static final int EVENT_DISABLE = 4; // 0x4 field public static final int EVENT_ENABLE = 2; // 0x2 field public static final int EVENT_INSTALL = 1; // 0x1 } @IntDef(flag=true, prefix={"EVENT_"}, value={android.telephony.euicc.EuiccNotification.EVENT_INSTALL, android.telephony.euicc.EuiccNotification.EVENT_ENABLE, android.telephony.euicc.EuiccNotification.EVENT_DISABLE, android.telephony.euicc.EuiccNotification.EVENT_DELETE}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccNotification.Event { } public final class EuiccRulesAuthTable implements android.os.Parcelable { method public int describeContents(); method public int findIndex(@android.service.euicc.EuiccProfileInfo.PolicyRule int, android.service.carrier.CarrierIdentifier); method public boolean hasPolicyRuleFlag(int, @android.telephony.euicc.EuiccRulesAuthTable.PolicyRuleFlag int); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int POLICY_RULE_FLAG_CONSENT_REQUIRED = 1; // 0x1 } public static final class EuiccRulesAuthTable.Builder { ctor public EuiccRulesAuthTable.Builder(int); method public android.telephony.euicc.EuiccRulesAuthTable.Builder add(int, java.util.List, int); method public android.telephony.euicc.EuiccRulesAuthTable build(); } @IntDef(flag=true, prefix={"POLICY_RULE_FLAG_"}, value={android.telephony.euicc.EuiccRulesAuthTable.POLICY_RULE_FLAG_CONSENT_REQUIRED}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccRulesAuthTable.PolicyRuleFlag { } } package android.telephony.gba { public class GbaService extends android.app.Service { ctor public GbaService(); method public void onAuthenticationRequest(int, int, int, @NonNull android.net.Uri, @NonNull byte[], boolean); method public android.os.IBinder onBind(android.content.Intent); method public final void reportAuthenticationFailure(int, int) throws java.lang.RuntimeException; method public final void reportKeysAvailable(int, @NonNull byte[], @NonNull String) throws java.lang.RuntimeException; field public static final String SERVICE_INTERFACE = "android.telephony.gba.GbaService"; } public class TlsParams { method public static boolean isTlsCipherSuiteSupported(int); field public static final int GROUP_SECP256R1 = 23; // 0x17 field public static final int GROUP_SECP384R1 = 24; // 0x18 field public static final int GROUP_X25519 = 29; // 0x1d field public static final int GROUP_X448 = 30; // 0x1e field public static final int PROTOCOL_VERSION_TLS_1_2 = 771; // 0x303 field public static final int PROTOCOL_VERSION_TLS_1_3 = 772; // 0x304 field public static final int SIG_ECDSA_BRAINPOOLP256R1TLS13_SHA256 = 2074; // 0x81a field public static final int SIG_ECDSA_BRAINPOOLP384R1TLS13_SHA384 = 2075; // 0x81b field public static final int SIG_ECDSA_BRAINPOOLP512R1TLS13_SHA512 = 2076; // 0x81c field public static final int SIG_ECDSA_SECP256R1_SHA256 = 1027; // 0x403 field public static final int SIG_ECDSA_SECP384R1_SHA384 = 1283; // 0x503 field public static final int SIG_ECDSA_SECP521R1_SHA512 = 1539; // 0x603 field public static final int SIG_ECDSA_SHA1 = 515; // 0x203 field public static final int SIG_RSA_PKCS1_SHA1 = 513; // 0x201 field public static final int SIG_RSA_PKCS1_SHA256 = 1025; // 0x401 field public static final int SIG_RSA_PKCS1_SHA256_LEGACY = 1056; // 0x420 field public static final int SIG_RSA_PKCS1_SHA384 = 1281; // 0x501 field public static final int SIG_RSA_PKCS1_SHA384_LEGACY = 1312; // 0x520 field public static final int SIG_RSA_PKCS1_SHA512 = 1537; // 0x601 field public static final int SIG_RSA_PKCS1_SHA512_LEGACY = 1568; // 0x620 field public static final int SIG_RSA_PSS_RSAE_SHA256 = 2052; // 0x804 field public static final int SIG_RSA_PSS_RSAE_SHA384 = 2053; // 0x805 field public static final int SIG_RSA_PSS_RSAE_SHA512 = 2054; // 0x806 field public static final int TLS_AES_128_CCM_SHA256 = 4868; // 0x1304 field public static final int TLS_AES_128_GCM_SHA256 = 4865; // 0x1301 field public static final int TLS_AES_256_GCM_SHA384 = 4866; // 0x1302 field public static final int TLS_CHACHA20_POLY1305_SHA256 = 4867; // 0x1303 field public static final int TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA = 19; // 0x13 field public static final int TLS_DHE_DSS_WITH_AES_128_CBC_SHA = 50; // 0x32 field public static final int TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 = 64; // 0x40 field public static final int TLS_DHE_DSS_WITH_AES_256_CBC_SHA = 56; // 0x38 field public static final int TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 = 106; // 0x6a field public static final int TLS_DHE_PSK_WITH_AES_128_CCM = 49318; // 0xc0a6 field public static final int TLS_DHE_PSK_WITH_AES_128_GCM_SHA256 = 170; // 0xaa field public static final int TLS_DHE_PSK_WITH_AES_256_CCM = 49319; // 0xc0a7 field public static final int TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 = 171; // 0xab field public static final int TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256 = 52397; // 0xccad field public static final int TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA = 22; // 0x16 field public static final int TLS_DHE_RSA_WITH_AES_128_CBC_SHA = 51; // 0x33 field public static final int TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 = 103; // 0x67 field public static final int TLS_DHE_RSA_WITH_AES_128_CCM = 49310; // 0xc09e field public static final int TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 = 158; // 0x9e field public static final int TLS_DHE_RSA_WITH_AES_256_CBC_SHA = 57; // 0x39 field public static final int TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 = 107; // 0x6b field public static final int TLS_DHE_RSA_WITH_AES_256_CCM = 49311; // 0xc09f field public static final int TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 = 159; // 0x9f field public static final int TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = 52394; // 0xccaa field public static final int TLS_DH_ANON_WITH_3DES_EDE_CBC_SHA = 27; // 0x1b field public static final int TLS_DH_ANON_WITH_AES_128_CBC_SHA = 52; // 0x34 field public static final int TLS_DH_ANON_WITH_AES_128_CBC_SHA256 = 108; // 0x6c field public static final int TLS_DH_ANON_WITH_AES_256_CBC_SHA = 58; // 0x3a field public static final int TLS_DH_ANON_WITH_AES_256_CBC_SHA256 = 109; // 0x6d field public static final int TLS_DH_ANON_WITH_RC4_128_MD5 = 24; // 0x18 field public static final int TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA = 13; // 0xd field public static final int TLS_DH_DSS_WITH_AES_128_CBC_SHA = 48; // 0x30 field public static final int TLS_DH_DSS_WITH_AES_128_CBC_SHA256 = 62; // 0x3e field public static final int TLS_DH_DSS_WITH_AES_256_CBC_SHA = 54; // 0x36 field public static final int TLS_DH_DSS_WITH_AES_256_CBC_SHA256 = 104; // 0x68 field public static final int TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA = 16; // 0x10 field public static final int TLS_DH_RSA_WITH_AES_128_CBC_SHA = 49; // 0x31 field public static final int TLS_DH_RSA_WITH_AES_128_CBC_SHA256 = 63; // 0x3f field public static final int TLS_DH_RSA_WITH_AES_256_CBC_SHA = 55; // 0x37 field public static final int TLS_DH_RSA_WITH_AES_256_CBC_SHA256 = 105; // 0x69 field public static final int TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = 49195; // 0xc02b field public static final int TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = 49196; // 0xc02c field public static final int TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 = 52393; // 0xcca9 field public static final int TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256 = 53253; // 0xd005 field public static final int TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256 = 53249; // 0xd001 field public static final int TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384 = 53250; // 0xd002 field public static final int TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 = 52396; // 0xccac field public static final int TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = 49199; // 0xc02f field public static final int TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = 49200; // 0xc030 field public static final int TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = 52392; // 0xcca8 field public static final int TLS_NULL_WITH_NULL_NULL = 0; // 0x0 field public static final int TLS_RSA_WITH_3DES_EDE_CBC_SHA = 10; // 0xa field public static final int TLS_RSA_WITH_AES_128_CBC_SHA = 47; // 0x2f field public static final int TLS_RSA_WITH_AES_128_CBC_SHA256 = 60; // 0x3c field public static final int TLS_RSA_WITH_AES_256_CBC_SHA = 53; // 0x35 field public static final int TLS_RSA_WITH_AES_256_CBC_SHA256 = 61; // 0x3d field public static final int TLS_RSA_WITH_NULL_MD5 = 1; // 0x1 field public static final int TLS_RSA_WITH_NULL_SHA = 2; // 0x2 field public static final int TLS_RSA_WITH_NULL_SHA256 = 59; // 0x3b field public static final int TLS_RSA_WITH_RC4_128_MD5 = 4; // 0x4 field public static final int TLS_RSA_WITH_RC4_128_SHA = 5; // 0x5 } public final class UaSecurityProtocolIdentifier implements android.os.Parcelable { method public int describeContents(); method public int getOrg(); method public int getProtocol(); method public int getTlsCipherSuite(); method @NonNull public byte[] toByteArray(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int ORG_3GPP = 1; // 0x1 field public static final int ORG_3GPP2 = 2; // 0x2 field public static final int ORG_GSMA = 4; // 0x4 field public static final int ORG_LOCAL = 255; // 0xff field public static final int ORG_NONE = 0; // 0x0 field public static final int ORG_OMA = 3; // 0x3 field public static final int UA_SECURITY_PROTOCOL_3GPP_GENERATION_TMPI = 256; // 0x100 field public static final int UA_SECURITY_PROTOCOL_3GPP_GENERIC_PUSH_LAYER = 5; // 0x5 field public static final int UA_SECURITY_PROTOCOL_3GPP_HTTP_BASED_MBMS = 3; // 0x3 field public static final int UA_SECURITY_PROTOCOL_3GPP_HTTP_DIGEST_AUTHENTICATION = 2; // 0x2 field public static final int UA_SECURITY_PROTOCOL_3GPP_IMS_MEDIA_PLANE = 6; // 0x6 field public static final int UA_SECURITY_PROTOCOL_3GPP_MBMS = 1; // 0x1 field public static final int UA_SECURITY_PROTOCOL_3GPP_SIP_BASED_MBMS = 4; // 0x4 field public static final int UA_SECURITY_PROTOCOL_3GPP_SUBSCRIBER_CERTIFICATE = 0; // 0x0 field public static final int UA_SECURITY_PROTOCOL_3GPP_TLS_BROWSER = 131072; // 0x20000 field public static final int UA_SECURITY_PROTOCOL_3GPP_TLS_DEFAULT = 65536; // 0x10000 } public static final class UaSecurityProtocolIdentifier.Builder { ctor public UaSecurityProtocolIdentifier.Builder(); ctor public UaSecurityProtocolIdentifier.Builder(@NonNull android.telephony.gba.UaSecurityProtocolIdentifier); method @NonNull public android.telephony.gba.UaSecurityProtocolIdentifier build(); method @NonNull public android.telephony.gba.UaSecurityProtocolIdentifier.Builder setOrg(int); method @NonNull public android.telephony.gba.UaSecurityProtocolIdentifier.Builder setProtocol(int); method @NonNull public android.telephony.gba.UaSecurityProtocolIdentifier.Builder setTlsCipherSuite(int); } } package android.telephony.ims { public final class AudioCodecAttributes implements android.os.Parcelable { ctor public AudioCodecAttributes(float, @NonNull android.util.Range, float, @NonNull android.util.Range); method public int describeContents(); method public float getBandwidthKhz(); method @NonNull public android.util.Range getBandwidthRangeKhz(); method public float getBitrateKbps(); method @NonNull public android.util.Range getBitrateRangeKbps(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public interface DelegateMessageCallback { method public void onMessageReceived(@NonNull android.telephony.ims.SipMessage); method public void onMessageSendFailure(@NonNull String, int); method public void onMessageSent(@NonNull String); } public final class DelegateRegistrationState implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.Set getDeregisteredFeatureTags(); method @NonNull public java.util.Set getDeregisteringFeatureTags(); method @NonNull public java.util.Set getRegisteredFeatureTags(); method @NonNull public java.util.Set getRegisteringFeatureTags(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DEREGISTERED_REASON_NOT_PROVISIONED = 1; // 0x1 field public static final int DEREGISTERED_REASON_NOT_REGISTERED = 2; // 0x2 field public static final int DEREGISTERED_REASON_UNKNOWN = 0; // 0x0 field public static final int DEREGISTERING_REASON_DESTROY_PENDING = 6; // 0x6 field public static final int DEREGISTERING_REASON_FEATURE_TAGS_CHANGING = 5; // 0x5 field public static final int DEREGISTERING_REASON_LOSING_PDN = 7; // 0x7 field public static final int DEREGISTERING_REASON_PDN_CHANGE = 3; // 0x3 field public static final int DEREGISTERING_REASON_PROVISIONING_CHANGE = 4; // 0x4 field public static final int DEREGISTERING_REASON_UNSPECIFIED = 8; // 0x8 } public static final class DelegateRegistrationState.Builder { ctor public DelegateRegistrationState.Builder(); method @NonNull public android.telephony.ims.DelegateRegistrationState.Builder addDeregisteredFeatureTag(@NonNull String, int); method @NonNull public android.telephony.ims.DelegateRegistrationState.Builder addDeregisteringFeatureTag(@NonNull String, int); method @NonNull public android.telephony.ims.DelegateRegistrationState.Builder addRegisteredFeatureTag(@NonNull String); method @NonNull public android.telephony.ims.DelegateRegistrationState.Builder addRegisteredFeatureTags(@NonNull java.util.Set); method @NonNull public android.telephony.ims.DelegateRegistrationState.Builder addRegisteringFeatureTags(@NonNull java.util.Set); method @NonNull public android.telephony.ims.DelegateRegistrationState build(); } public final class DelegateRequest implements android.os.Parcelable { ctor public DelegateRequest(@NonNull java.util.Set); method public int describeContents(); method @NonNull public java.util.Set getFeatureTags(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public interface DelegateStateCallback { method public void onConfigurationChanged(@NonNull android.telephony.ims.SipDelegateConfiguration); method public void onCreated(@NonNull android.telephony.ims.stub.SipDelegate, @Nullable java.util.Set); method public void onDestroyed(int); method public void onFeatureTagRegistrationChanged(@NonNull android.telephony.ims.DelegateRegistrationState); } public final class FeatureTagState implements android.os.Parcelable { ctor public FeatureTagState(@NonNull String, int); method public int describeContents(); method @NonNull public String getFeatureTag(); method public int getState(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class ImsCallForwardInfo implements android.os.Parcelable { ctor public ImsCallForwardInfo(int, int, int, int, @NonNull String, int); method public int describeContents(); method public int getCondition(); method public String getNumber(); method public int getServiceClass(); method public int getStatus(); method public int getTimeSeconds(); method public int getToA(); method public void writeToParcel(android.os.Parcel, int); field public static final int CDIV_CF_REASON_ALL = 4; // 0x4 field public static final int CDIV_CF_REASON_ALL_CONDITIONAL = 5; // 0x5 field public static final int CDIV_CF_REASON_BUSY = 1; // 0x1 field public static final int CDIV_CF_REASON_NOT_LOGGED_IN = 6; // 0x6 field public static final int CDIV_CF_REASON_NOT_REACHABLE = 3; // 0x3 field public static final int CDIV_CF_REASON_NO_REPLY = 2; // 0x2 field public static final int CDIV_CF_REASON_UNCONDITIONAL = 0; // 0x0 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int STATUS_ACTIVE = 1; // 0x1 field public static final int STATUS_NOT_ACTIVE = 0; // 0x0 field public static final int TYPE_OF_ADDRESS_INTERNATIONAL = 145; // 0x91 field public static final int TYPE_OF_ADDRESS_UNKNOWN = 129; // 0x81 } public final class ImsCallProfile implements android.os.Parcelable { ctor public ImsCallProfile(); ctor public ImsCallProfile(int, int); ctor public ImsCallProfile(int, int, android.os.Bundle, android.telephony.ims.ImsStreamMediaProfile); method public int describeContents(); method @NonNull public java.util.Set getAcceptedRtpHeaderExtensionTypes(); method public String getCallExtra(String); method public String getCallExtra(String, String); method public boolean getCallExtraBoolean(String); method public boolean getCallExtraBoolean(String, boolean); method public int getCallExtraInt(String); method public int getCallExtraInt(String, int); method @Nullable public T getCallExtraParcelable(@Nullable String); method public android.os.Bundle getCallExtras(); method public int getCallType(); method public static int getCallTypeFromVideoState(int); method public int getCallerNumberVerificationStatus(); method public int getEmergencyCallRouting(); method public int getEmergencyServiceCategories(); method @NonNull public java.util.List getEmergencyUrns(); method public android.telephony.ims.ImsStreamMediaProfile getMediaProfile(); method @NonNull public android.os.Bundle getProprietaryCallExtras(); method public int getRestrictCause(); method public int getServiceType(); method public static int getVideoStateFromCallType(int); method public static int getVideoStateFromImsCallProfile(android.telephony.ims.ImsCallProfile); method public boolean hasKnownUserIntentEmergency(); method public boolean isEmergencyCallTesting(); method public boolean isVideoCall(); method public boolean isVideoPaused(); method public static int presentationToOir(int); method public void setAcceptedRtpHeaderExtensionTypes(@NonNull java.util.Set); method public void setCallExtra(String, String); method public void setCallExtraBoolean(String, boolean); method public void setCallExtraInt(String, int); method public void setCallExtraParcelable(@NonNull String, @NonNull android.os.Parcelable); method public void setCallRestrictCause(int); method public void setCallerNumberVerificationStatus(int); method public void setEmergencyCallRouting(int); method public void setEmergencyCallTesting(boolean); method public void setEmergencyServiceCategories(int); method public void setEmergencyUrns(@NonNull java.util.List); method public void setHasKnownUserIntentEmergency(boolean); method public void updateCallExtras(android.telephony.ims.ImsCallProfile); method public void updateCallType(android.telephony.ims.ImsCallProfile); method public void updateMediaProfile(android.telephony.ims.ImsCallProfile); method public void writeToParcel(android.os.Parcel, int); field public static final int CALL_RESTRICT_CAUSE_DISABLED = 2; // 0x2 field public static final int CALL_RESTRICT_CAUSE_HD = 3; // 0x3 field public static final int CALL_RESTRICT_CAUSE_NONE = 0; // 0x0 field public static final int CALL_RESTRICT_CAUSE_RAT = 1; // 0x1 field public static final int CALL_TYPE_NONE = 0; // 0x0 field public static final int CALL_TYPE_VIDEO_N_VOICE = 3; // 0x3 field public static final int CALL_TYPE_VOICE = 2; // 0x2 field public static final int CALL_TYPE_VOICE_N_VIDEO = 1; // 0x1 field public static final int CALL_TYPE_VS = 8; // 0x8 field public static final int CALL_TYPE_VS_RX = 10; // 0xa field public static final int CALL_TYPE_VS_TX = 9; // 0x9 field public static final int CALL_TYPE_VT = 4; // 0x4 field public static final int CALL_TYPE_VT_NODIR = 7; // 0x7 field public static final int CALL_TYPE_VT_RX = 6; // 0x6 field public static final int CALL_TYPE_VT_TX = 5; // 0x5 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DIALSTRING_NORMAL = 0; // 0x0 field public static final int DIALSTRING_SS_CONF = 1; // 0x1 field public static final int DIALSTRING_USSD = 2; // 0x2 field public static final String EXTRA_ADDITIONAL_CALL_INFO = "AdditionalCallInfo"; field public static final String EXTRA_ADDITIONAL_SIP_INVITE_FIELDS = "android.telephony.ims.extra.ADDITIONAL_SIP_INVITE_FIELDS"; field public static final String EXTRA_CALL_DISCONNECT_CAUSE = "android.telephony.ims.extra.CALL_DISCONNECT_CAUSE"; field public static final String EXTRA_CALL_NETWORK_TYPE = "android.telephony.ims.extra.CALL_NETWORK_TYPE"; field @Deprecated public static final String EXTRA_CALL_RAT_TYPE = "CallRadioTech"; field public static final String EXTRA_CALL_SUBJECT = "android.telephony.ims.extra.CALL_SUBJECT"; field public static final String EXTRA_CHILD_NUMBER = "ChildNum"; field public static final String EXTRA_CNA = "cna"; field public static final String EXTRA_CNAP = "cnap"; field public static final String EXTRA_CODEC = "Codec"; field public static final String EXTRA_CONFERENCE = "android.telephony.ims.extra.CONFERENCE"; field public static final String EXTRA_DIALSTRING = "dialstring"; field public static final String EXTRA_DISPLAY_TEXT = "DisplayText"; field public static final String EXTRA_EMERGENCY_CALL = "e_call"; field public static final String EXTRA_EXTENDING_TO_CONFERENCE_SUPPORTED = "android.telephony.ims.extra.EXTENDING_TO_CONFERENCE_SUPPORTED"; field public static final String EXTRA_FORWARDED_NUMBER = "android.telephony.ims.extra.FORWARDED_NUMBER"; field public static final String EXTRA_IS_BUSINESS_CALL = "android.telephony.ims.extra.IS_BUSINESS_CALL"; field public static final String EXTRA_IS_CALL_PULL = "CallPull"; field public static final String EXTRA_IS_CROSS_SIM_CALL = "android.telephony.ims.extra.IS_CROSS_SIM_CALL"; field public static final String EXTRA_LOCATION = "android.telephony.ims.extra.LOCATION"; field public static final String EXTRA_OI = "oi"; field public static final String EXTRA_OIR = "oir"; field public static final String EXTRA_PICTURE_URL = "android.telephony.ims.extra.PICTURE_URL"; field public static final String EXTRA_PRIORITY = "android.telephony.ims.extra.PRIORITY"; field public static final String EXTRA_REMOTE_URI = "remote_uri"; field public static final String EXTRA_USSD = "ussd"; field public static final int OIR_DEFAULT = 0; // 0x0 field public static final int OIR_PRESENTATION_NOT_RESTRICTED = 2; // 0x2 field public static final int OIR_PRESENTATION_PAYPHONE = 4; // 0x4 field public static final int OIR_PRESENTATION_RESTRICTED = 1; // 0x1 field public static final int OIR_PRESENTATION_UNAVAILABLE = 5; // 0x5 field public static final int OIR_PRESENTATION_UNKNOWN = 3; // 0x3 field public static final int PRIORITY_NORMAL = 0; // 0x0 field public static final int PRIORITY_URGENT = 1; // 0x1 field public static final int SERVICE_TYPE_EMERGENCY = 2; // 0x2 field public static final int SERVICE_TYPE_NONE = 0; // 0x0 field public static final int SERVICE_TYPE_NORMAL = 1; // 0x1 field public static final int VERIFICATION_STATUS_FAILED = 2; // 0x2 field public static final int VERIFICATION_STATUS_NOT_VERIFIED = 0; // 0x0 field public static final int VERIFICATION_STATUS_PASSED = 1; // 0x1 } public class ImsCallSessionListener { method public void callQualityChanged(@NonNull android.telephony.CallQuality); method public void callSessionConferenceExtendFailed(android.telephony.ims.ImsReasonInfo); method public void callSessionConferenceExtendReceived(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile); method public void callSessionConferenceExtended(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile); method public void callSessionConferenceStateUpdated(android.telephony.ims.ImsConferenceState); method public void callSessionDtmfReceived(char); method @Deprecated public void callSessionHandover(int, int, android.telephony.ims.ImsReasonInfo); method @Deprecated public void callSessionHandoverFailed(int, int, android.telephony.ims.ImsReasonInfo); method public void callSessionHeld(android.telephony.ims.ImsCallProfile); method public void callSessionHoldFailed(android.telephony.ims.ImsReasonInfo); method public void callSessionHoldReceived(android.telephony.ims.ImsCallProfile); method public void callSessionInitiated(android.telephony.ims.ImsCallProfile); method @Deprecated public void callSessionInitiatedFailed(android.telephony.ims.ImsReasonInfo); method public void callSessionInitiating(@NonNull android.telephony.ims.ImsCallProfile); method public void callSessionInitiatingFailed(@NonNull android.telephony.ims.ImsReasonInfo); method public void callSessionInviteParticipantsRequestDelivered(); method public void callSessionInviteParticipantsRequestFailed(android.telephony.ims.ImsReasonInfo); method @Deprecated public void callSessionMayHandover(int, int); method public void callSessionMergeComplete(android.telephony.ims.stub.ImsCallSessionImplBase); method public void callSessionMergeFailed(android.telephony.ims.ImsReasonInfo); method public void callSessionMergeStarted(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile); method public void callSessionMultipartyStateChanged(boolean); method public void callSessionProgressing(android.telephony.ims.ImsStreamMediaProfile); method public void callSessionRemoveParticipantsRequestDelivered(); method public void callSessionRemoveParticipantsRequestFailed(android.telephony.ims.ImsReasonInfo); method public void callSessionResumeFailed(android.telephony.ims.ImsReasonInfo); method public void callSessionResumeReceived(android.telephony.ims.ImsCallProfile); method public void callSessionResumed(android.telephony.ims.ImsCallProfile); method public void callSessionRtpHeaderExtensionsReceived(@NonNull java.util.Set); method public void callSessionRttAudioIndicatorChanged(@NonNull android.telephony.ims.ImsStreamMediaProfile); method public void callSessionRttMessageReceived(String); method public void callSessionRttModifyRequestReceived(android.telephony.ims.ImsCallProfile); method public void callSessionRttModifyResponseReceived(int); method public void callSessionSuppServiceReceived(android.telephony.ims.ImsSuppServiceNotification); method public void callSessionTerminated(android.telephony.ims.ImsReasonInfo); method public void callSessionTtyModeReceived(int); method public void callSessionUpdateFailed(android.telephony.ims.ImsReasonInfo); method public void callSessionUpdateReceived(android.telephony.ims.ImsCallProfile); method public void callSessionUpdated(android.telephony.ims.ImsCallProfile); method public void callSessionUssdMessageReceived(int, String); method public void onHandover(int, int, @Nullable android.telephony.ims.ImsReasonInfo); method public void onHandoverFailed(int, int, @NonNull android.telephony.ims.ImsReasonInfo); method public void onMayHandover(int, int); } public final class ImsConferenceState implements android.os.Parcelable { method public int describeContents(); method public static int getConnectionStateForStatus(String); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final String DISPLAY_TEXT = "display-text"; field public static final String ENDPOINT = "endpoint"; field public static final String SIP_STATUS_CODE = "sipstatuscode"; field public static final String STATUS = "status"; field public static final String STATUS_ALERTING = "alerting"; field public static final String STATUS_CONNECTED = "connected"; field public static final String STATUS_CONNECT_FAIL = "connect-fail"; field public static final String STATUS_DIALING_IN = "dialing-in"; field public static final String STATUS_DIALING_OUT = "dialing-out"; field public static final String STATUS_DISCONNECTED = "disconnected"; field public static final String STATUS_DISCONNECTING = "disconnecting"; field public static final String STATUS_MUTED_VIA_FOCUS = "muted-via-focus"; field public static final String STATUS_ON_HOLD = "on-hold"; field public static final String STATUS_PENDING = "pending"; field public static final String STATUS_SEND_ONLY = "sendonly"; field public static final String STATUS_SEND_RECV = "sendrecv"; field public static final String USER = "user"; field public final java.util.HashMap mParticipants; } public final class ImsException extends java.lang.Exception { ctor public ImsException(@Nullable String); ctor public ImsException(@Nullable String, int); ctor public ImsException(@Nullable String, int, @Nullable Throwable); } public final class ImsExternalCallState implements android.os.Parcelable { ctor public ImsExternalCallState(@NonNull String, @NonNull android.net.Uri, @Nullable android.net.Uri, boolean, int, int, boolean); method public int describeContents(); method @NonNull public android.net.Uri getAddress(); method public int getCallId(); method public int getCallState(); method public int getCallType(); method @Nullable public android.net.Uri getLocalAddress(); method public boolean isCallHeld(); method public boolean isCallPullable(); method public void writeToParcel(android.os.Parcel, int); field public static final int CALL_STATE_CONFIRMED = 1; // 0x1 field public static final int CALL_STATE_TERMINATED = 2; // 0x2 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class ImsManager { method @NonNull public android.telephony.ims.SipDelegateManager getSipDelegateManager(int); } public class ImsMmTelManager implements android.telephony.ims.RegistrationManager { method @Deprecated @NonNull @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PRECISE_PHONE_STATE}) public static android.telephony.ims.ImsMmTelManager createForSubscriptionId(int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void getFeatureState(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer) throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void getRegistrationState(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getVoWiFiRoamingModeSetting(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isAvailable(int, int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isCapable(int, int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void isSupported(int, int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer) throws android.telephony.ims.ImsException; method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void registerImsRegistrationCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.ImsMmTelManager.RegistrationCallback) throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setAdvancedCallingSettingEnabled(boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCrossSimCallingEnabled(boolean) throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setRttCapabilitySetting(boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiModeSetting(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiNonPersistent(boolean, int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiRoamingModeSetting(int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiRoamingSettingEnabled(boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiSettingEnabled(boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVtSettingEnabled(boolean); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void unregisterImsRegistrationCallback(@NonNull android.telephony.ims.ImsMmTelManager.RegistrationCallback); } @Deprecated public static class ImsMmTelManager.RegistrationCallback extends android.telephony.ims.RegistrationManager.RegistrationCallback { ctor @Deprecated public ImsMmTelManager.RegistrationCallback(); method @Deprecated public void onRegistered(int); method @Deprecated public void onRegistering(int); } public class ImsRcsManager { method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void addOnAvailabilityChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.ImsRcsManager.OnAvailabilityChangedListener) throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isAvailable(int, int) throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isCapable(int, int) throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void removeOnAvailabilityChangedListener(@NonNull android.telephony.ims.ImsRcsManager.OnAvailabilityChangedListener); } public static interface ImsRcsManager.OnAvailabilityChangedListener { method public void onAvailabilityChanged(int); } public final class ImsReasonInfo implements android.os.Parcelable { field public static final String EXTRA_MSG_SERVICE_NOT_AUTHORIZED = "Forbidden. Not Authorized for Service"; } public final class ImsRegistrationAttributes implements android.os.Parcelable { method public int getRegistrationTechnology(); } public static final class ImsRegistrationAttributes.Builder { ctor public ImsRegistrationAttributes.Builder(int); method @NonNull public android.telephony.ims.ImsRegistrationAttributes build(); method @NonNull public android.telephony.ims.ImsRegistrationAttributes.Builder setFeatureTags(@NonNull java.util.Set); method @NonNull public android.telephony.ims.ImsRegistrationAttributes.Builder setSipDetails(@NonNull android.telephony.ims.SipDetails); } public class ImsService extends android.app.Service { ctor public ImsService(); method @Nullable public android.telephony.ims.feature.MmTelFeature createEmergencyOnlyMmTelFeature(int); method @Deprecated public android.telephony.ims.feature.MmTelFeature createMmTelFeature(int); method @Nullable public android.telephony.ims.feature.MmTelFeature createMmTelFeatureForSubscription(int, int); method @Deprecated public android.telephony.ims.feature.RcsFeature createRcsFeature(int); method @Nullable public android.telephony.ims.feature.RcsFeature createRcsFeatureForSubscription(int, int); method @Deprecated public void disableIms(int); method public void disableImsForSubscription(int, int); method @Deprecated public void enableIms(int); method public void enableImsForSubscription(int, int); method @Deprecated public android.telephony.ims.stub.ImsConfigImplBase getConfig(int); method @NonNull public android.telephony.ims.stub.ImsConfigImplBase getConfigForSubscription(int, int); method @NonNull public java.util.concurrent.Executor getExecutor(); method public long getImsServiceCapabilities(); method @Deprecated public android.telephony.ims.stub.ImsRegistrationImplBase getRegistration(int); method @NonNull public android.telephony.ims.stub.ImsRegistrationImplBase getRegistrationForSubscription(int, int); method @Nullable public android.telephony.ims.stub.SipTransportImplBase getSipTransport(int); method public android.os.IBinder onBind(android.content.Intent); method public final void onUpdateSupportedImsFeatures(android.telephony.ims.stub.ImsFeatureConfiguration) throws android.os.RemoteException; method public android.telephony.ims.stub.ImsFeatureConfiguration querySupportedImsFeatures(); method public void readyForFeatureCreation(); field public static final long CAPABILITY_SIP_DELEGATE_CREATION = 2L; // 0x2L field public static final long CAPABILITY_TERMINAL_BASED_CALL_WAITING = 4L; // 0x4L } public final class ImsSsData implements android.os.Parcelable { ctor public ImsSsData(int, int, int, int, int); method public int describeContents(); method @Nullable public java.util.List getCallForwardInfo(); method public int getRequestType(); method public int getResult(); method public int getServiceClass(); method public int getServiceType(); method @NonNull public java.util.List getSuppServiceInfo(); method public int getTeleserviceType(); method public boolean isTypeBarring(); method public boolean isTypeCf(); method public boolean isTypeClip(); method public boolean isTypeClir(); method public boolean isTypeColp(); method public boolean isTypeColr(); method public boolean isTypeCw(); method public boolean isTypeIcb(); method public boolean isTypeInterrogation(); method public boolean isTypeUnConditional(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int RESULT_SUCCESS = 0; // 0x0 field public static final int SERVICE_CLASS_DATA = 2; // 0x2 field public static final int SERVICE_CLASS_DATA_CIRCUIT_ASYNC = 32; // 0x20 field public static final int SERVICE_CLASS_DATA_CIRCUIT_SYNC = 16; // 0x10 field public static final int SERVICE_CLASS_DATA_PACKET_ACCESS = 64; // 0x40 field public static final int SERVICE_CLASS_DATA_PAD = 128; // 0x80 field public static final int SERVICE_CLASS_FAX = 4; // 0x4 field public static final int SERVICE_CLASS_NONE = 0; // 0x0 field public static final int SERVICE_CLASS_SMS = 8; // 0x8 field public static final int SERVICE_CLASS_VOICE = 1; // 0x1 field public static final int SS_ACTIVATION = 0; // 0x0 field public static final int SS_ALL_BARRING = 18; // 0x12 field public static final int SS_ALL_DATA_TELESERVICES = 3; // 0x3 field public static final int SS_ALL_TELESERVICES_EXCEPT_SMS = 5; // 0x5 field public static final int SS_ALL_TELESEVICES = 1; // 0x1 field public static final int SS_ALL_TELE_AND_BEARER_SERVICES = 0; // 0x0 field public static final int SS_BAIC = 16; // 0x10 field public static final int SS_BAIC_ROAMING = 17; // 0x11 field public static final int SS_BAOC = 13; // 0xd field public static final int SS_BAOIC = 14; // 0xe field public static final int SS_BAOIC_EXC_HOME = 15; // 0xf field public static final int SS_CFU = 0; // 0x0 field public static final int SS_CFUT = 6; // 0x6 field public static final int SS_CF_ALL = 4; // 0x4 field public static final int SS_CF_ALL_CONDITIONAL = 5; // 0x5 field public static final int SS_CF_BUSY = 1; // 0x1 field public static final int SS_CF_NOT_REACHABLE = 3; // 0x3 field public static final int SS_CF_NO_REPLY = 2; // 0x2 field public static final int SS_CLIP = 7; // 0x7 field public static final int SS_CLIR = 8; // 0x8 field public static final int SS_CNAP = 11; // 0xb field public static final int SS_COLP = 9; // 0x9 field public static final int SS_COLR = 10; // 0xa field public static final int SS_DEACTIVATION = 1; // 0x1 field public static final int SS_ERASURE = 4; // 0x4 field public static final int SS_INCOMING_BARRING = 20; // 0x14 field public static final int SS_INCOMING_BARRING_ANONYMOUS = 22; // 0x16 field public static final int SS_INCOMING_BARRING_DN = 21; // 0x15 field public static final int SS_INTERROGATION = 2; // 0x2 field public static final int SS_OUTGOING_BARRING = 19; // 0x13 field public static final int SS_REGISTRATION = 3; // 0x3 field public static final int SS_SMS_SERVICES = 4; // 0x4 field public static final int SS_TELEPHONY = 2; // 0x2 field public static final int SS_WAIT = 12; // 0xc } public static final class ImsSsData.Builder { ctor public ImsSsData.Builder(int, int, int, int, int); method @NonNull public android.telephony.ims.ImsSsData build(); method @NonNull public android.telephony.ims.ImsSsData.Builder setCallForwardingInfo(@NonNull java.util.List); method @NonNull public android.telephony.ims.ImsSsData.Builder setSuppServiceInfo(@NonNull java.util.List); } public final class ImsSsInfo implements android.os.Parcelable { ctor @Deprecated public ImsSsInfo(int, @Nullable String); method public int describeContents(); method public int getClirInterrogationStatus(); method public int getClirOutgoingState(); method @Deprecated public String getIcbNum(); method @Nullable public String getIncomingCommunicationBarringNumber(); method public int getProvisionStatus(); method public int getStatus(); method public void writeToParcel(android.os.Parcel, int); field public static final int CLIR_OUTGOING_DEFAULT = 0; // 0x0 field public static final int CLIR_OUTGOING_INVOCATION = 1; // 0x1 field public static final int CLIR_OUTGOING_SUPPRESSION = 2; // 0x2 field public static final int CLIR_STATUS_NOT_PROVISIONED = 0; // 0x0 field public static final int CLIR_STATUS_PROVISIONED_PERMANENT = 1; // 0x1 field public static final int CLIR_STATUS_TEMPORARILY_ALLOWED = 4; // 0x4 field public static final int CLIR_STATUS_TEMPORARILY_RESTRICTED = 3; // 0x3 field public static final int CLIR_STATUS_UNKNOWN = 2; // 0x2 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DISABLED = 0; // 0x0 field public static final int ENABLED = 1; // 0x1 field public static final int NOT_REGISTERED = -1; // 0xffffffff field public static final int SERVICE_NOT_PROVISIONED = 0; // 0x0 field public static final int SERVICE_PROVISIONED = 1; // 0x1 field public static final int SERVICE_PROVISIONING_UNKNOWN = -1; // 0xffffffff } public static final class ImsSsInfo.Builder { ctor public ImsSsInfo.Builder(int); method @NonNull public android.telephony.ims.ImsSsInfo build(); method @NonNull public android.telephony.ims.ImsSsInfo.Builder setClirInterrogationStatus(int); method @NonNull public android.telephony.ims.ImsSsInfo.Builder setClirOutgoingState(int); method @NonNull public android.telephony.ims.ImsSsInfo.Builder setIncomingCommunicationBarringNumber(@NonNull String); method @NonNull public android.telephony.ims.ImsSsInfo.Builder setProvisionStatus(int); } public final class ImsStreamMediaProfile implements android.os.Parcelable { ctor public ImsStreamMediaProfile(int, int, int, int, int); method public void copyFrom(android.telephony.ims.ImsStreamMediaProfile); method public int describeContents(); method @Nullable public android.telephony.ims.AudioCodecAttributes getAudioCodecAttributes(); method public int getAudioDirection(); method public int getAudioQuality(); method public int getRttMode(); method public int getVideoDirection(); method public int getVideoQuality(); method public boolean isReceivingRttAudio(); method public boolean isRttCall(); method public void setAudioCodecAttributes(@NonNull android.telephony.ims.AudioCodecAttributes); method public void setReceivingRttAudio(boolean); method public void setRttMode(int); method public void writeToParcel(android.os.Parcel, int); field public static final int AUDIO_QUALITY_AMR = 1; // 0x1 field public static final int AUDIO_QUALITY_AMR_WB = 2; // 0x2 field public static final int AUDIO_QUALITY_EVRC = 4; // 0x4 field public static final int AUDIO_QUALITY_EVRC_B = 5; // 0x5 field public static final int AUDIO_QUALITY_EVRC_NW = 7; // 0x7 field public static final int AUDIO_QUALITY_EVRC_WB = 6; // 0x6 field public static final int AUDIO_QUALITY_EVS_FB = 20; // 0x14 field public static final int AUDIO_QUALITY_EVS_NB = 17; // 0x11 field public static final int AUDIO_QUALITY_EVS_SWB = 19; // 0x13 field public static final int AUDIO_QUALITY_EVS_WB = 18; // 0x12 field public static final int AUDIO_QUALITY_G711A = 13; // 0xd field public static final int AUDIO_QUALITY_G711AB = 15; // 0xf field public static final int AUDIO_QUALITY_G711U = 11; // 0xb field public static final int AUDIO_QUALITY_G722 = 14; // 0xe field public static final int AUDIO_QUALITY_G723 = 12; // 0xc field public static final int AUDIO_QUALITY_G729 = 16; // 0x10 field public static final int AUDIO_QUALITY_GSM_EFR = 8; // 0x8 field public static final int AUDIO_QUALITY_GSM_FR = 9; // 0x9 field public static final int AUDIO_QUALITY_GSM_HR = 10; // 0xa field public static final int AUDIO_QUALITY_NONE = 0; // 0x0 field public static final int AUDIO_QUALITY_QCELP13K = 3; // 0x3 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int DIRECTION_INACTIVE = 0; // 0x0 field public static final int DIRECTION_INVALID = -1; // 0xffffffff field public static final int DIRECTION_RECEIVE = 1; // 0x1 field public static final int DIRECTION_SEND = 2; // 0x2 field public static final int DIRECTION_SEND_RECEIVE = 3; // 0x3 field public static final int RTT_MODE_DISABLED = 0; // 0x0 field public static final int RTT_MODE_FULL = 1; // 0x1 field public static final int VIDEO_QUALITY_NONE = 0; // 0x0 field public static final int VIDEO_QUALITY_QCIF = 1; // 0x1 field public static final int VIDEO_QUALITY_QVGA_LANDSCAPE = 2; // 0x2 field public static final int VIDEO_QUALITY_QVGA_PORTRAIT = 4; // 0x4 field public static final int VIDEO_QUALITY_VGA_LANDSCAPE = 8; // 0x8 field public static final int VIDEO_QUALITY_VGA_PORTRAIT = 16; // 0x10 } public final class ImsSuppServiceNotification implements android.os.Parcelable { ctor public ImsSuppServiceNotification(int, int, int, int, String, String[]); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public final int code; field public final String[] history; field public final int index; field public final int notificationType; field public final String number; field public final int type; } public class ImsUtListener { method public void onLineIdentificationSupplementaryServiceResponse(int, @NonNull android.telephony.ims.ImsSsInfo); method public void onSupplementaryServiceIndication(android.telephony.ims.ImsSsData); method public void onUtConfigurationCallBarringQueried(int, android.telephony.ims.ImsSsInfo[]); method public void onUtConfigurationCallForwardQueried(int, android.telephony.ims.ImsCallForwardInfo[]); method public void onUtConfigurationCallWaitingQueried(int, android.telephony.ims.ImsSsInfo[]); method @Deprecated public void onUtConfigurationQueried(int, android.os.Bundle); method public void onUtConfigurationQueryFailed(int, android.telephony.ims.ImsReasonInfo); method public void onUtConfigurationUpdateFailed(int, android.telephony.ims.ImsReasonInfo); method public void onUtConfigurationUpdated(int); field @Deprecated public static final String BUNDLE_KEY_CLIR = "queryClir"; field @Deprecated public static final String BUNDLE_KEY_SSINFO = "imsSsInfo"; } public abstract class ImsVideoCallProvider { ctor public ImsVideoCallProvider(); method public void changeCallDataUsage(long); method public void changeCameraCapabilities(android.telecom.VideoProfile.CameraCapabilities); method public void changePeerDimensions(int, int); method public void changeVideoQuality(int); method public void handleCallSessionEvent(int); method public abstract void onRequestCallDataUsage(); method public abstract void onRequestCameraCapabilities(); method public abstract void onSendSessionModifyRequest(android.telecom.VideoProfile, android.telecom.VideoProfile); method public abstract void onSendSessionModifyResponse(android.telecom.VideoProfile); method public abstract void onSetCamera(String); method public void onSetCamera(String, int); method public abstract void onSetDeviceOrientation(int); method public abstract void onSetDisplaySurface(android.view.Surface); method public abstract void onSetPauseImage(android.net.Uri); method public abstract void onSetPreviewSurface(android.view.Surface); method public abstract void onSetZoom(float); method public void receiveSessionModifyRequest(android.telecom.VideoProfile); method public void receiveSessionModifyResponse(int, android.telecom.VideoProfile, android.telecom.VideoProfile); } public final class MediaQualityStatus implements android.os.Parcelable { ctor public MediaQualityStatus(@NonNull String, int, int, @IntRange(from=0, to=100) int, @IntRange(from=0) int, @IntRange(from=0) long); method public int describeContents(); method @NonNull public String getCallSessionId(); method public int getMediaSessionType(); method @IntRange(from=0) public long getRtpInactivityMillis(); method @IntRange(from=0) public int getRtpJitterMillis(); method @IntRange(from=0, to=100) public int getRtpPacketLossRate(); method public int getTransportType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int MEDIA_SESSION_TYPE_AUDIO = 1; // 0x1 field public static final int MEDIA_SESSION_TYPE_VIDEO = 2; // 0x2 } public final class MediaThreshold implements android.os.Parcelable { method public int describeContents(); method @NonNull public long[] getThresholdsRtpInactivityTimeMillis(); method @NonNull public int[] getThresholdsRtpJitterMillis(); method @NonNull public int[] getThresholdsRtpPacketLossRate(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class ProvisioningManager { method @NonNull public static android.telephony.ims.ProvisioningManager createForSubscriptionId(int); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public int getProvisioningIntValue(int); method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public String getProvisioningStringValue(int); method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public boolean getRcsProvisioningStatusForCapability(int); method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION}) public boolean isRcsVolteSingleRegistrationCapable() throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void notifyRcsAutoConfigurationReceived(@NonNull byte[], boolean); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void registerProvisioningChangedCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.ProvisioningManager.Callback) throws android.telephony.ims.ImsException; method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION}) public void registerRcsProvisioningCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.ProvisioningManager.RcsProvisioningCallback) throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public int setProvisioningIntValue(int, int); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public int setProvisioningStringValue(int, @NonNull String); method @RequiresPermission(android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION) public void setRcsClientConfiguration(@NonNull android.telephony.ims.RcsClientConfiguration) throws android.telephony.ims.ImsException; method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public void setRcsProvisioningStatusForCapability(int, boolean); method @RequiresPermission(android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION) public void triggerRcsReconfiguration(); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void unregisterProvisioningChangedCallback(@NonNull android.telephony.ims.ProvisioningManager.Callback); method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION}) public void unregisterRcsProvisioningCallback(@NonNull android.telephony.ims.ProvisioningManager.RcsProvisioningCallback); field @RequiresPermission(android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION) public static final String ACTION_RCS_SINGLE_REGISTRATION_CAPABILITY_UPDATE = "android.telephony.ims.action.RCS_SINGLE_REGISTRATION_CAPABILITY_UPDATE"; field public static final String EXTRA_STATUS = "android.telephony.ims.extra.STATUS"; field public static final String EXTRA_SUBSCRIPTION_ID = "android.telephony.ims.extra.SUBSCRIPTION_ID"; field public static final int KEY_VOICE_OVER_WIFI_ENTITLEMENT_ID = 67; // 0x43 field public static final int KEY_VOICE_OVER_WIFI_MODE_OVERRIDE = 27; // 0x1b field public static final int KEY_VOICE_OVER_WIFI_ROAMING_ENABLED_OVERRIDE = 26; // 0x1a field public static final int PROVISIONING_VALUE_DISABLED = 0; // 0x0 field public static final int PROVISIONING_VALUE_ENABLED = 1; // 0x1 field public static final int STATUS_CAPABLE = 0; // 0x0 field public static final int STATUS_CARRIER_NOT_CAPABLE = 2; // 0x2 field public static final int STATUS_DEVICE_NOT_CAPABLE = 1; // 0x1 field public static final String STRING_QUERY_RESULT_ERROR_GENERIC = "STRING_QUERY_RESULT_ERROR_GENERIC"; field public static final String STRING_QUERY_RESULT_ERROR_NOT_READY = "STRING_QUERY_RESULT_ERROR_NOT_READY"; } public static class ProvisioningManager.Callback { ctor public ProvisioningManager.Callback(); method public void onProvisioningIntChanged(int, int); method public void onProvisioningStringChanged(int, @NonNull String); } public static class ProvisioningManager.RcsProvisioningCallback { ctor public ProvisioningManager.RcsProvisioningCallback(); method public void onAutoConfigurationErrorReceived(int, @NonNull String); method public void onConfigurationChanged(@NonNull byte[]); method public void onConfigurationReset(); method public void onPreProvisioningReceived(@NonNull byte[]); method public void onRemoved(); } public final class PublishAttributes implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getPresenceTuples(); method public int getPublishState(); method @Nullable public android.telephony.ims.SipDetails getSipDetails(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class RcsClientConfiguration implements android.os.Parcelable { ctor @Deprecated public RcsClientConfiguration(@NonNull String, @NonNull String, @NonNull String, @NonNull String); ctor public RcsClientConfiguration(@NonNull String, @NonNull String, @NonNull String, @NonNull String, boolean); method public int describeContents(); method @NonNull public String getClientVendor(); method @NonNull public String getClientVersion(); method @NonNull public String getRcsProfile(); method @NonNull public String getRcsVersion(); method public boolean isRcsEnabledByUser(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final String RCS_PROFILE_1_0 = "UP_1.0"; field public static final String RCS_PROFILE_2_3 = "UP_2.3"; field public static final String RCS_PROFILE_2_4 = "UP_2.4"; } public final class RcsContactPresenceTuple implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.net.Uri getContactUri(); method @Nullable public android.telephony.ims.RcsContactPresenceTuple.ServiceCapabilities getServiceCapabilities(); method @Nullable public String getServiceDescription(); method @NonNull public String getServiceId(); method @NonNull public String getServiceVersion(); method @NonNull public String getStatus(); method @Nullable public java.time.Instant getTime(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final String SERVICE_ID_CALL_COMPOSER = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.gsma.callcomposer"; field public static final String SERVICE_ID_CHATBOT = "org.3gpp.urn:urn-7:3gpp-application.ims.iari.rcs.chatbot"; field public static final String SERVICE_ID_CHATBOT_ROLE = "org.gsma.rcs.isbot"; field public static final String SERVICE_ID_CHATBOT_STANDALONE = " org.3gpp.urn:urn-7:3gpp-application.ims.iari.rcs.chatbot.sa"; field public static final String SERVICE_ID_CHAT_V1 = "org.openmobilealliance:IM-session"; field public static final String SERVICE_ID_CHAT_V2 = "org.openmobilealliance:ChatSession"; field public static final String SERVICE_ID_FT = "org.openmobilealliance:File-Transfer-HTTP"; field public static final String SERVICE_ID_FT_OVER_SMS = "org.3gpp.urn:urn-7:3gpp-application.ims.iari.rcs.ftsms"; field public static final String SERVICE_ID_GEO_PUSH = "org.3gpp.urn:urn-7:3gpp-application.ims.iari.rcs.geopush"; field public static final String SERVICE_ID_GEO_PUSH_VIA_SMS = "org.3gpp.urn:urn-7:3gpp-application.ims.iari.rcs.geosms"; field public static final String SERVICE_ID_MMTEL = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.mmtel"; field public static final String SERVICE_ID_POST_CALL = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.gsma.callunanswered"; field public static final String SERVICE_ID_SHARED_MAP = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.gsma.sharedmap"; field public static final String SERVICE_ID_SHARED_SKETCH = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.gsma.sharedsketch"; field public static final String SERVICE_ID_SLM = "org.openmobilealliance:StandaloneMsg"; field public static final String TUPLE_BASIC_STATUS_CLOSED = "closed"; field public static final String TUPLE_BASIC_STATUS_OPEN = "open"; } public static final class RcsContactPresenceTuple.Builder { ctor public RcsContactPresenceTuple.Builder(@NonNull String, @NonNull String, @NonNull String); method @NonNull public android.telephony.ims.RcsContactPresenceTuple build(); method @NonNull public android.telephony.ims.RcsContactPresenceTuple.Builder setContactUri(@NonNull android.net.Uri); method @NonNull public android.telephony.ims.RcsContactPresenceTuple.Builder setServiceCapabilities(@NonNull android.telephony.ims.RcsContactPresenceTuple.ServiceCapabilities); method @NonNull public android.telephony.ims.RcsContactPresenceTuple.Builder setServiceDescription(@NonNull String); method @NonNull public android.telephony.ims.RcsContactPresenceTuple.Builder setTime(@NonNull java.time.Instant); } public static final class RcsContactPresenceTuple.ServiceCapabilities implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getSupportedDuplexModes(); method @NonNull public java.util.List getUnsupportedDuplexModes(); method public boolean isAudioCapable(); method public boolean isVideoCapable(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final String DUPLEX_MODE_FULL = "full"; field public static final String DUPLEX_MODE_HALF = "half"; field public static final String DUPLEX_MODE_RECEIVE_ONLY = "receive-only"; field public static final String DUPLEX_MODE_SEND_ONLY = "send-only"; } public static final class RcsContactPresenceTuple.ServiceCapabilities.Builder { ctor public RcsContactPresenceTuple.ServiceCapabilities.Builder(boolean, boolean); method @NonNull public android.telephony.ims.RcsContactPresenceTuple.ServiceCapabilities.Builder addSupportedDuplexMode(@NonNull String); method @NonNull public android.telephony.ims.RcsContactPresenceTuple.ServiceCapabilities.Builder addUnsupportedDuplexMode(@NonNull String); method @NonNull public android.telephony.ims.RcsContactPresenceTuple.ServiceCapabilities build(); } public final class RcsContactUceCapability implements android.os.Parcelable { method public int describeContents(); method public int getCapabilityMechanism(); method @Nullable public android.telephony.ims.RcsContactPresenceTuple getCapabilityTuple(@NonNull String); method @NonNull public java.util.List getCapabilityTuples(); method @NonNull public android.net.Uri getContactUri(); method @Nullable public android.net.Uri getEntityUri(); method @NonNull public java.util.Set getFeatureTags(); method public int getRequestResult(); method public int getSourceType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int CAPABILITY_MECHANISM_OPTIONS = 2; // 0x2 field public static final int CAPABILITY_MECHANISM_PRESENCE = 1; // 0x1 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int REQUEST_RESULT_FOUND = 3; // 0x3 field public static final int REQUEST_RESULT_NOT_FOUND = 2; // 0x2 field public static final int REQUEST_RESULT_NOT_ONLINE = 1; // 0x1 field public static final int REQUEST_RESULT_UNKNOWN = 0; // 0x0 field public static final int SOURCE_TYPE_CACHED = 1; // 0x1 field public static final int SOURCE_TYPE_NETWORK = 0; // 0x0 } public static final class RcsContactUceCapability.OptionsBuilder { ctor public RcsContactUceCapability.OptionsBuilder(@NonNull android.net.Uri); method @NonNull public android.telephony.ims.RcsContactUceCapability.OptionsBuilder addFeatureTag(@NonNull String); method @NonNull public android.telephony.ims.RcsContactUceCapability.OptionsBuilder addFeatureTags(@NonNull java.util.Set); method @NonNull public android.telephony.ims.RcsContactUceCapability build(); method @NonNull public android.telephony.ims.RcsContactUceCapability.OptionsBuilder setRequestResult(int); } public static final class RcsContactUceCapability.PresenceBuilder { ctor public RcsContactUceCapability.PresenceBuilder(@NonNull android.net.Uri, int, int); method @NonNull public android.telephony.ims.RcsContactUceCapability.PresenceBuilder addCapabilityTuple(@NonNull android.telephony.ims.RcsContactPresenceTuple); method @NonNull public android.telephony.ims.RcsContactUceCapability.PresenceBuilder addCapabilityTuples(@NonNull java.util.List); method @NonNull public android.telephony.ims.RcsContactUceCapability build(); method @NonNull public android.telephony.ims.RcsContactUceCapability.PresenceBuilder setEntityUri(@NonNull android.net.Uri); } public class RcsUceAdapter { method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void addOnPublishStateChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.RcsUceAdapter.OnPublishStateChangedListener) throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getUcePublishState() throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void removeOnPublishStateChangedListener(@NonNull android.telephony.ims.RcsUceAdapter.OnPublishStateChangedListener) throws android.telephony.ims.ImsException; method @RequiresPermission(allOf={android.Manifest.permission.ACCESS_RCS_USER_CAPABILITY_EXCHANGE, android.Manifest.permission.READ_CONTACTS}) public void requestAvailability(@NonNull android.net.Uri, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.RcsUceAdapter.CapabilitiesCallback) throws android.telephony.ims.ImsException; method @RequiresPermission(allOf={android.Manifest.permission.ACCESS_RCS_USER_CAPABILITY_EXCHANGE, android.Manifest.permission.READ_CONTACTS}) public void requestCapabilities(@NonNull java.util.Collection, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.RcsUceAdapter.CapabilitiesCallback) throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUceSettingEnabled(boolean) throws android.telephony.ims.ImsException; field @Deprecated public static final int CAPABILITY_TYPE_PRESENCE_UCE = 2; // 0x2 field public static final int CAPABILITY_UPDATE_TRIGGER_ETAG_EXPIRED = 1; // 0x1 field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_2G = 7; // 0x7 field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_3G = 6; // 0x6 field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_EHRPD = 4; // 0x4 field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_HSPAPLUS = 5; // 0x5 field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_INTERNET_PDN = 12; // 0xc field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_IWLAN = 9; // 0x9 field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_LTE_VOPS_DISABLED = 2; // 0x2 field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_LTE_VOPS_ENABLED = 3; // 0x3 field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_NR5G_VOPS_DISABLED = 10; // 0xa field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_NR5G_VOPS_ENABLED = 11; // 0xb field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_WLAN = 8; // 0x8 field public static final int CAPABILITY_UPDATE_TRIGGER_UNKNOWN = 0; // 0x0 field public static final int ERROR_FORBIDDEN = 6; // 0x6 field public static final int ERROR_GENERIC_FAILURE = 1; // 0x1 field public static final int ERROR_INSUFFICIENT_MEMORY = 10; // 0xa field public static final int ERROR_LOST_NETWORK = 11; // 0xb field public static final int ERROR_NOT_AUTHORIZED = 5; // 0x5 field public static final int ERROR_NOT_AVAILABLE = 3; // 0x3 field public static final int ERROR_NOT_ENABLED = 2; // 0x2 field public static final int ERROR_NOT_FOUND = 7; // 0x7 field public static final int ERROR_NOT_REGISTERED = 4; // 0x4 field public static final int ERROR_REQUEST_TIMEOUT = 9; // 0x9 field public static final int ERROR_REQUEST_TOO_LARGE = 8; // 0x8 field public static final int ERROR_SERVER_UNAVAILABLE = 12; // 0xc field public static final int PUBLISH_STATE_NOT_PUBLISHED = 2; // 0x2 field public static final int PUBLISH_STATE_OK = 1; // 0x1 field public static final int PUBLISH_STATE_OTHER_ERROR = 6; // 0x6 field public static final int PUBLISH_STATE_PUBLISHING = 7; // 0x7 field public static final int PUBLISH_STATE_RCS_PROVISION_ERROR = 4; // 0x4 field public static final int PUBLISH_STATE_REQUEST_TIMEOUT = 5; // 0x5 field public static final int PUBLISH_STATE_VOICE_PROVISION_ERROR = 3; // 0x3 } public static interface RcsUceAdapter.CapabilitiesCallback { method public void onCapabilitiesReceived(@NonNull java.util.List); method public default void onComplete(); method public default void onComplete(@Nullable android.telephony.ims.SipDetails); method public default void onError(int, long); method public default void onError(int, long, @Nullable android.telephony.ims.SipDetails); } public static interface RcsUceAdapter.OnPublishStateChangedListener { method @Deprecated public void onPublishStateChange(int); method public default void onPublishStateChange(@NonNull android.telephony.ims.PublishAttributes); } public interface RegistrationManager { field public static final int SUGGESTED_ACTION_NONE = 0; // 0x0 field public static final int SUGGESTED_ACTION_TRIGGER_PLMN_BLOCK = 1; // 0x1 field public static final int SUGGESTED_ACTION_TRIGGER_PLMN_BLOCK_WITH_TIMEOUT = 2; // 0x2 } public static class RegistrationManager.RegistrationCallback { method public void onUnregistered(@NonNull android.telephony.ims.ImsReasonInfo, @NonNull android.telephony.ims.SipDetails); } public final class RtpHeaderExtension implements android.os.Parcelable { ctor public RtpHeaderExtension(@IntRange(from=1, to=14) int, @NonNull byte[]); method public int describeContents(); method @NonNull public byte[] getExtensionData(); method @IntRange(from=1, to=14) public int getLocalIdentifier(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class RtpHeaderExtensionType implements android.os.Parcelable { ctor public RtpHeaderExtensionType(@IntRange(from=1, to=14) int, @NonNull android.net.Uri); method public int describeContents(); method @IntRange(from=1, to=14) public int getLocalIdentifier(); method @NonNull public android.net.Uri getUri(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SipDelegateConfiguration implements android.os.Parcelable { method public int describeContents(); method @Nullable public String getHomeDomain(); method @Nullable public String getImei(); method @Nullable public android.telephony.ims.SipDelegateConfiguration.IpSecConfiguration getIpSecConfiguration(); method @NonNull public java.net.InetSocketAddress getLocalAddress(); method public int getMaxUdpPayloadSizeBytes(); method @Nullable public java.net.InetSocketAddress getNatSocketAddress(); method @Nullable public String getPrivateUserIdentifier(); method @Nullable public android.net.Uri getPublicGruuUri(); method @Nullable public String getPublicUserIdentifier(); method @Nullable public String getSipAssociatedUriHeader(); method @Nullable public String getSipAuthenticationHeader(); method @Nullable public String getSipAuthenticationNonce(); method @Nullable public String getSipCniHeader(); method @Nullable public String getSipContactUserParameter(); method @Nullable public String getSipPaniHeader(); method @Nullable public String getSipPathHeader(); method @Nullable public String getSipPlaniHeader(); method @NonNull public java.net.InetSocketAddress getSipServerAddress(); method @Nullable public String getSipServiceRouteHeader(); method @Nullable public String getSipUserAgentHeader(); method public int getTransportType(); method @IntRange(from=0) public long getVersion(); method public boolean isSipCompactFormEnabled(); method public boolean isSipKeepaliveEnabled(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int SIP_TRANSPORT_TCP = 1; // 0x1 field public static final int SIP_TRANSPORT_UDP = 0; // 0x0 field public static final int UDP_PAYLOAD_SIZE_UNDEFINED = -1; // 0xffffffff } public static final class SipDelegateConfiguration.Builder { ctor public SipDelegateConfiguration.Builder(@IntRange(from=0) long, int, @NonNull java.net.InetSocketAddress, @NonNull java.net.InetSocketAddress); ctor public SipDelegateConfiguration.Builder(@NonNull android.telephony.ims.SipDelegateConfiguration); method @NonNull public android.telephony.ims.SipDelegateConfiguration build(); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setHomeDomain(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setImei(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setIpSecConfiguration(@Nullable android.telephony.ims.SipDelegateConfiguration.IpSecConfiguration); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setMaxUdpPayloadSizeBytes(@IntRange(from=1) int); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setNatSocketAddress(@Nullable java.net.InetSocketAddress); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setPrivateUserIdentifier(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setPublicGruuUri(@Nullable android.net.Uri); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setPublicUserIdentifier(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipAssociatedUriHeader(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipAuthenticationHeader(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipAuthenticationNonce(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipCniHeader(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipCompactFormEnabled(boolean); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipContactUserParameter(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipKeepaliveEnabled(boolean); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipPaniHeader(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipPathHeader(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipPlaniHeader(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipServiceRouteHeader(@Nullable String); method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipUserAgentHeader(@Nullable String); } public static final class SipDelegateConfiguration.IpSecConfiguration { ctor public SipDelegateConfiguration.IpSecConfiguration(int, int, int, int, int, int, @NonNull String); method public int getLastLocalTxPort(); method public int getLastRemoteTxPort(); method public int getLocalRxPort(); method public int getLocalTxPort(); method public int getRemoteRxPort(); method public int getRemoteTxPort(); method @NonNull public String getSipSecurityVerifyHeader(); } public interface SipDelegateConnection { method public void cleanupSession(@NonNull String); method public void notifyMessageReceiveError(@NonNull String, int); method public void notifyMessageReceived(@NonNull String); method public void sendMessage(@NonNull android.telephony.ims.SipMessage, long); } public class SipDelegateManager { method @RequiresPermission(android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION) public void createSipDelegate(@NonNull android.telephony.ims.DelegateRequest, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.stub.DelegateConnectionStateCallback, @NonNull android.telephony.ims.stub.DelegateConnectionMessageCallback) throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION) public void destroySipDelegate(@NonNull android.telephony.ims.SipDelegateConnection, int); method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION}) public boolean isSupported() throws android.telephony.ims.ImsException; method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION}) public void registerImsStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.ImsStateCallback) throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void registerSipDialogStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.SipDialogStateCallback) throws android.telephony.ims.ImsException; method @RequiresPermission(android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION) public void triggerFullNetworkRegistration(@NonNull android.telephony.ims.SipDelegateConnection, @IntRange(from=100, to=699) int, @Nullable String); method public void unregisterImsStateCallback(@NonNull android.telephony.ims.ImsStateCallback); method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void unregisterSipDialogStateCallback(@NonNull android.telephony.ims.SipDialogStateCallback) throws android.telephony.ims.ImsException; field public static final int DENIED_REASON_INVALID = 4; // 0x4 field public static final int DENIED_REASON_IN_USE_BY_ANOTHER_DELEGATE = 1; // 0x1 field public static final int DENIED_REASON_NOT_ALLOWED = 2; // 0x2 field public static final int DENIED_REASON_SINGLE_REGISTRATION_NOT_ALLOWED = 3; // 0x3 field public static final int DENIED_REASON_UNKNOWN = 0; // 0x0 field public static final int MESSAGE_FAILURE_REASON_DELEGATE_CLOSED = 2; // 0x2 field public static final int MESSAGE_FAILURE_REASON_DELEGATE_DEAD = 1; // 0x1 field public static final int MESSAGE_FAILURE_REASON_INTERNAL_DELEGATE_STATE_TRANSITION = 11; // 0xb field public static final int MESSAGE_FAILURE_REASON_INVALID_BODY_CONTENT = 5; // 0x5 field public static final int MESSAGE_FAILURE_REASON_INVALID_FEATURE_TAG = 6; // 0x6 field public static final int MESSAGE_FAILURE_REASON_INVALID_HEADER_FIELDS = 4; // 0x4 field public static final int MESSAGE_FAILURE_REASON_INVALID_START_LINE = 3; // 0x3 field public static final int MESSAGE_FAILURE_REASON_NETWORK_NOT_AVAILABLE = 8; // 0x8 field public static final int MESSAGE_FAILURE_REASON_NOT_REGISTERED = 9; // 0x9 field public static final int MESSAGE_FAILURE_REASON_STALE_IMS_CONFIGURATION = 10; // 0xa field public static final int MESSAGE_FAILURE_REASON_TAG_NOT_ENABLED_FOR_DELEGATE = 7; // 0x7 field public static final int MESSAGE_FAILURE_REASON_UNKNOWN = 0; // 0x0 field public static final int SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP = 2; // 0x2 field public static final int SIP_DELEGATE_DESTROY_REASON_SERVICE_DEAD = 1; // 0x1 field public static final int SIP_DELEGATE_DESTROY_REASON_SUBSCRIPTION_TORN_DOWN = 4; // 0x4 field public static final int SIP_DELEGATE_DESTROY_REASON_UNKNOWN = 0; // 0x0 field public static final int SIP_DELEGATE_DESTROY_REASON_USER_DISABLED_RCS = 3; // 0x3 } public final class SipDialogState implements android.os.Parcelable { method public int describeContents(); method public int getState(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int STATE_CLOSED = 2; // 0x2 field public static final int STATE_CONFIRMED = 1; // 0x1 field public static final int STATE_EARLY = 0; // 0x0 } public abstract class SipDialogStateCallback { ctor public SipDialogStateCallback(); method public abstract void onActiveSipDialogsChanged(@NonNull java.util.List); method public abstract void onError(); } public final class SipMessage implements android.os.Parcelable { ctor public SipMessage(@NonNull String, @NonNull String, @NonNull byte[]); method public int describeContents(); method @Nullable public String getCallIdParameter(); method @NonNull public byte[] getContent(); method @NonNull public String getHeaderSection(); method @NonNull public String getStartLine(); method @NonNull public String getViaBranchParameter(); method @NonNull public byte[] toEncodedMessage(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SrvccCall implements android.os.Parcelable { ctor public SrvccCall(@NonNull String, int, @NonNull android.telephony.ims.ImsCallProfile); method public int describeContents(); method @NonNull public String getCallId(); method @NonNull public android.telephony.ims.ImsCallProfile getImsCallProfile(); method public int getPreciseCallState(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.telephony.ims.feature { public final class CapabilityChangeRequest implements android.os.Parcelable { method public void addCapabilitiesToDisableForTech(int, int); method public void addCapabilitiesToEnableForTech(int, int); method public int describeContents(); method public java.util.List getCapabilitiesToDisable(); method public java.util.List getCapabilitiesToEnable(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class CapabilityChangeRequest.CapabilityPair { ctor public CapabilityChangeRequest.CapabilityPair(int, int); method public int getCapability(); method public int getRadioTech(); } public abstract class ImsFeature { ctor public ImsFeature(); method public abstract void changeEnabledCapabilities(android.telephony.ims.feature.CapabilityChangeRequest, android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy); method public int getFeatureState(); method public final int getSlotIndex(); method public abstract void onFeatureReady(); method public abstract void onFeatureRemoved(); method public final void setFeatureState(int); field public static final int CAPABILITY_ERROR_GENERIC = -1; // 0xffffffff field public static final int CAPABILITY_SUCCESS = 0; // 0x0 field public static final int FEATURE_EMERGENCY_MMTEL = 0; // 0x0 field public static final int FEATURE_MMTEL = 1; // 0x1 field public static final int FEATURE_RCS = 2; // 0x2 field public static final int STATE_INITIALIZING = 1; // 0x1 field public static final int STATE_READY = 2; // 0x2 field public static final int STATE_UNAVAILABLE = 0; // 0x0 } @Deprecated public static class ImsFeature.Capabilities { field @Deprecated protected int mCapabilities; } protected static class ImsFeature.CapabilityCallbackProxy { method public void onChangeCapabilityConfigurationError(int, int, int); } public class MmTelFeature extends android.telephony.ims.feature.ImsFeature { ctor public MmTelFeature(); ctor public MmTelFeature(@NonNull java.util.concurrent.Executor); method public void changeEnabledCapabilities(@NonNull android.telephony.ims.feature.CapabilityChangeRequest, @NonNull android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy); method public void changeOfferedRtpHeaderExtensionTypes(@NonNull java.util.Set); method public void clearMediaThreshold(int); method @Nullable public android.telephony.ims.ImsCallProfile createCallProfile(int, int); method @Nullable public android.telephony.ims.stub.ImsCallSessionImplBase createCallSession(@NonNull android.telephony.ims.ImsCallProfile); method @NonNull public android.telephony.ims.stub.ImsEcbmImplBase getEcbm(); method @NonNull public android.telephony.ims.stub.ImsMultiEndpointImplBase getMultiEndpoint(); method @NonNull public android.telephony.ims.stub.ImsSmsImplBase getSmsImplementation(); method @NonNull public android.telephony.ims.stub.ImsUtImplBase getUt(); method public final void notifyCapabilitiesStatusChanged(@NonNull android.telephony.ims.feature.MmTelFeature.MmTelCapabilities); method @Deprecated public final void notifyIncomingCall(@NonNull android.telephony.ims.stub.ImsCallSessionImplBase, @NonNull android.os.Bundle); method @Nullable public final android.telephony.ims.ImsCallSessionListener notifyIncomingCall(@NonNull android.telephony.ims.stub.ImsCallSessionImplBase, @NonNull String, @NonNull android.os.Bundle); method public final void notifyMediaQualityStatusChanged(@NonNull android.telephony.ims.MediaQualityStatus); method public final void notifyRejectedCall(@NonNull android.telephony.ims.ImsCallProfile, @NonNull android.telephony.ims.ImsReasonInfo); method public void notifySrvccCanceled(); method public void notifySrvccCompleted(); method public void notifySrvccFailed(); method public void notifySrvccStarted(@NonNull java.util.function.Consumer>); method public final void notifyVoiceMessageCountUpdate(int); method public void onFeatureReady(); method public void onFeatureRemoved(); method public boolean queryCapabilityConfiguration(int, int); method @NonNull public final android.telephony.ims.feature.MmTelFeature.MmTelCapabilities queryCapabilityStatus(); method @Nullable public android.telephony.ims.MediaQualityStatus queryMediaQualityStatus(int); method public final void setCallAudioHandler(int); method public void setMediaThreshold(int, @NonNull android.telephony.ims.MediaThreshold); method public void setTerminalBasedCallWaitingStatus(boolean); method public void setUiTtyMode(int, @Nullable android.os.Message); method public int shouldProcessCall(@NonNull String[]); field public static final int AUDIO_HANDLER_ANDROID = 0; // 0x0 field public static final int AUDIO_HANDLER_BASEBAND = 1; // 0x1 field public static final String EXTRA_IS_UNKNOWN_CALL = "android.telephony.ims.feature.extra.IS_UNKNOWN_CALL"; field public static final String EXTRA_IS_USSD = "android.telephony.ims.feature.extra.IS_USSD"; field public static final int PROCESS_CALL_CSFB = 1; // 0x1 field public static final int PROCESS_CALL_IMS = 0; // 0x0 } public static class MmTelFeature.MmTelCapabilities extends android.telephony.ims.feature.ImsFeature.Capabilities { ctor public MmTelFeature.MmTelCapabilities(); ctor @Deprecated public MmTelFeature.MmTelCapabilities(android.telephony.ims.feature.ImsFeature.Capabilities); ctor public MmTelFeature.MmTelCapabilities(int); method public final void addCapabilities(int); method public final void removeCapabilities(int); } public class RcsFeature extends android.telephony.ims.feature.ImsFeature { ctor public RcsFeature(); ctor public RcsFeature(@NonNull java.util.concurrent.Executor); method public void changeEnabledCapabilities(@NonNull android.telephony.ims.feature.CapabilityChangeRequest, @NonNull android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy); method @NonNull public android.telephony.ims.stub.RcsCapabilityExchangeImplBase createCapabilityExchangeImpl(@NonNull android.telephony.ims.stub.CapabilityExchangeEventListener); method public void destroyCapabilityExchangeImpl(@NonNull android.telephony.ims.stub.RcsCapabilityExchangeImplBase); method public final void notifyCapabilitiesStatusChanged(@NonNull android.telephony.ims.feature.RcsFeature.RcsImsCapabilities); method public void onFeatureReady(); method public void onFeatureRemoved(); method public boolean queryCapabilityConfiguration(int, int); method @NonNull public final android.telephony.ims.feature.RcsFeature.RcsImsCapabilities queryCapabilityStatus(); } public static class RcsFeature.RcsImsCapabilities extends android.telephony.ims.feature.ImsFeature.Capabilities { ctor public RcsFeature.RcsImsCapabilities(int); method public void addCapabilities(int); method public boolean isCapable(int); method public void removeCapabilities(int); field public static final int CAPABILITY_TYPE_NONE = 0; // 0x0 field public static final int CAPABILITY_TYPE_OPTIONS_UCE = 1; // 0x1 field public static final int CAPABILITY_TYPE_PRESENCE_UCE = 2; // 0x2 } } package android.telephony.ims.stub { public interface CapabilityExchangeEventListener { method @Deprecated public default void onPublishUpdated(int, @NonNull String, int, @NonNull String) throws android.telephony.ims.ImsException; method public default void onPublishUpdated(@NonNull android.telephony.ims.SipDetails) throws android.telephony.ims.ImsException; method public void onRemoteCapabilityRequest(@NonNull android.net.Uri, @NonNull java.util.Set, @NonNull android.telephony.ims.stub.CapabilityExchangeEventListener.OptionsRequestCallback) throws android.telephony.ims.ImsException; method public void onRequestPublishCapabilities(int) throws android.telephony.ims.ImsException; method public void onUnpublish() throws android.telephony.ims.ImsException; } public static interface CapabilityExchangeEventListener.OptionsRequestCallback { method public void onRespondToCapabilityRequest(@NonNull android.telephony.ims.RcsContactUceCapability, boolean); method public void onRespondToCapabilityRequestWithError(@IntRange(from=100, to=699) int, @NonNull String); } public interface DelegateConnectionMessageCallback { method public void onMessageReceived(@NonNull android.telephony.ims.SipMessage); method public void onMessageSendFailure(@NonNull String, int); method public void onMessageSent(@NonNull String); } public interface DelegateConnectionStateCallback { method public void onConfigurationChanged(@NonNull android.telephony.ims.SipDelegateConfiguration); method public void onCreated(@NonNull android.telephony.ims.SipDelegateConnection); method public void onDestroyed(int); method public void onFeatureTagStatusChanged(@NonNull android.telephony.ims.DelegateRegistrationState, @NonNull java.util.Set); } public class ImsCallSessionImplBase implements java.lang.AutoCloseable { ctor public ImsCallSessionImplBase(); method public void accept(int, android.telephony.ims.ImsStreamMediaProfile); method public void close(); method public void deflect(String); method public void extendToConference(String[]); method public String getCallId(); method public android.telephony.ims.ImsCallProfile getCallProfile(); method public android.telephony.ims.ImsVideoCallProvider getImsVideoCallProvider(); method public android.telephony.ims.ImsCallProfile getLocalCallProfile(); method public String getProperty(String); method public android.telephony.ims.ImsCallProfile getRemoteCallProfile(); method public int getState(); method public void hold(android.telephony.ims.ImsStreamMediaProfile); method public void inviteParticipants(String[]); method public boolean isInCall(); method public boolean isMultiparty(); method public void merge(); method public void reject(int); method public void removeParticipants(String[]); method public void resume(android.telephony.ims.ImsStreamMediaProfile); method public void sendDtmf(char, android.os.Message); method public void sendRtpHeaderExtensions(@NonNull java.util.Set); method public void sendRttMessage(String); method public void sendRttModifyRequest(android.telephony.ims.ImsCallProfile); method public void sendRttModifyResponse(boolean); method public void sendUssd(String); method @Deprecated public void setListener(android.telephony.ims.ImsCallSessionListener); method public void setMute(boolean); method public void start(String, android.telephony.ims.ImsCallProfile); method public void startConference(String[], android.telephony.ims.ImsCallProfile); method public void startDtmf(char); method public void stopDtmf(); method public void terminate(int); method public void update(int, android.telephony.ims.ImsStreamMediaProfile); field public static final int USSD_MODE_NOTIFY = 0; // 0x0 field public static final int USSD_MODE_REQUEST = 1; // 0x1 } public static class ImsCallSessionImplBase.State { method public static String toString(int); field public static final int ESTABLISHED = 4; // 0x4 field public static final int ESTABLISHING = 3; // 0x3 field public static final int IDLE = 0; // 0x0 field public static final int INITIATED = 1; // 0x1 field public static final int INVALID = -1; // 0xffffffff field public static final int NEGOTIATING = 2; // 0x2 field public static final int REESTABLISHING = 6; // 0x6 field public static final int RENEGOTIATING = 5; // 0x5 field public static final int TERMINATED = 8; // 0x8 field public static final int TERMINATING = 7; // 0x7 } public class ImsConfigImplBase { ctor public ImsConfigImplBase(@NonNull java.util.concurrent.Executor); ctor public ImsConfigImplBase(); method public int getConfigInt(int); method public String getConfigString(int); method public final void notifyAutoConfigurationErrorReceived(int, @NonNull String); method public final void notifyPreProvisioningReceived(@NonNull byte[]); method public final void notifyProvisionedValueChanged(int, int); method public final void notifyProvisionedValueChanged(int, String); method public void notifyRcsAutoConfigurationReceived(@NonNull byte[], boolean); method public void notifyRcsAutoConfigurationRemoved(); method public int setConfig(int, int); method public int setConfig(int, String); method public void setRcsClientConfiguration(@NonNull android.telephony.ims.RcsClientConfiguration); method public void triggerAutoConfiguration(); field public static final int CONFIG_RESULT_FAILED = 1; // 0x1 field public static final int CONFIG_RESULT_SUCCESS = 0; // 0x0 field public static final int CONFIG_RESULT_UNKNOWN = -1; // 0xffffffff } public class ImsEcbmImplBase { ctor public ImsEcbmImplBase(); method public final void enteredEcbm(); method public void exitEmergencyCallbackMode(); method public final void exitedEcbm(); } public final class ImsFeatureConfiguration implements android.os.Parcelable { method public int describeContents(); method public java.util.Set getServiceFeatures(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class ImsFeatureConfiguration.Builder { ctor public ImsFeatureConfiguration.Builder(); method public android.telephony.ims.stub.ImsFeatureConfiguration.Builder addFeature(int, int); method public android.telephony.ims.stub.ImsFeatureConfiguration build(); } public static final class ImsFeatureConfiguration.FeatureSlotPair { ctor public ImsFeatureConfiguration.FeatureSlotPair(int, int); field public final int featureType; field public final int slotId; } public class ImsMultiEndpointImplBase { ctor public ImsMultiEndpointImplBase(); method public final void onImsExternalCallStateUpdate(java.util.List); method public void requestImsExternalCallStateInfo(); } public class ImsRegistrationImplBase { ctor public ImsRegistrationImplBase(); ctor public ImsRegistrationImplBase(@NonNull java.util.concurrent.Executor); method public final void onDeregistered(android.telephony.ims.ImsReasonInfo); method public final void onDeregistered(@Nullable android.telephony.ims.ImsReasonInfo, int, int); method public final void onDeregistered(@Nullable android.telephony.ims.ImsReasonInfo, @NonNull android.telephony.ims.SipDetails); method public final void onDeregistered(@Nullable android.telephony.ims.ImsReasonInfo, int, int, @NonNull android.telephony.ims.SipDetails); method public final void onRegistered(int); method public final void onRegistered(@NonNull android.telephony.ims.ImsRegistrationAttributes); method public final void onRegistering(int); method public final void onRegistering(@NonNull android.telephony.ims.ImsRegistrationAttributes); method public final void onSubscriberAssociatedUriChanged(android.net.Uri[]); method public final void onTechnologyChangeFailed(int, android.telephony.ims.ImsReasonInfo); method public void triggerFullNetworkRegistration(@IntRange(from=100, to=699) int, @Nullable String); method public void triggerSipDelegateDeregistration(); method public void updateSipDelegateRegistration(); } public class ImsSmsImplBase { ctor public ImsSmsImplBase(); ctor public ImsSmsImplBase(@NonNull java.util.concurrent.Executor); method public void acknowledgeSms(int, @IntRange(from=0, to=65535) int, int); method public void acknowledgeSms(int, @IntRange(from=0, to=65535) int, int, @NonNull byte[]); method public void acknowledgeSmsReport(int, @IntRange(from=0, to=65535) int, int); method public String getSmsFormat(); method public void onReady(); method @Deprecated public final void onSendSmsResult(int, @IntRange(from=0, to=65535) int, int, int) throws java.lang.RuntimeException; method public final void onSendSmsResultError(int, @IntRange(from=0, to=65535) int, int, int, int) throws java.lang.RuntimeException; method public final void onSendSmsResultSuccess(int, @IntRange(from=0, to=65535) int) throws java.lang.RuntimeException; method public final void onSmsReceived(int, String, byte[]) throws java.lang.RuntimeException; method @Deprecated public final void onSmsStatusReportReceived(int, @IntRange(from=0, to=65535) int, String, byte[]) throws java.lang.RuntimeException; method public final void onSmsStatusReportReceived(int, String, byte[]) throws java.lang.RuntimeException; method public void sendSms(int, @IntRange(from=0, to=65535) int, String, String, boolean, byte[]); field public static final int DELIVER_STATUS_ERROR_GENERIC = 2; // 0x2 field public static final int DELIVER_STATUS_ERROR_NO_MEMORY = 3; // 0x3 field public static final int DELIVER_STATUS_ERROR_REQUEST_NOT_SUPPORTED = 4; // 0x4 field public static final int DELIVER_STATUS_OK = 1; // 0x1 field public static final int RESULT_NO_NETWORK_ERROR = -1; // 0xffffffff field public static final int SEND_STATUS_ERROR = 2; // 0x2 field public static final int SEND_STATUS_ERROR_FALLBACK = 4; // 0x4 field public static final int SEND_STATUS_ERROR_RETRY = 3; // 0x3 field public static final int SEND_STATUS_OK = 1; // 0x1 field public static final int STATUS_REPORT_STATUS_ERROR = 2; // 0x2 field public static final int STATUS_REPORT_STATUS_OK = 1; // 0x1 } public class ImsUtImplBase { ctor public ImsUtImplBase(); method public void close(); method public int queryCallBarring(int); method public int queryCallBarringForServiceClass(int, int); method public int queryCallForward(int, String); method public int queryCallWaiting(); method public int queryClip(); method public int queryClir(); method public int queryColp(); method public int queryColr(); method public void setListener(android.telephony.ims.ImsUtListener); method public int transact(android.os.Bundle); method public int updateCallBarring(int, int, String[]); method public int updateCallBarringForServiceClass(int, int, String[], int); method public int updateCallForward(int, int, String, int, int); method public int updateCallWaiting(boolean, int); method public int updateClip(boolean); method public int updateClir(int); method public int updateColp(boolean); method public int updateColr(int); } public class RcsCapabilityExchangeImplBase { ctor public RcsCapabilityExchangeImplBase(); method public void publishCapabilities(@NonNull String, @NonNull android.telephony.ims.stub.RcsCapabilityExchangeImplBase.PublishResponseCallback); method public void sendOptionsCapabilityRequest(@NonNull android.net.Uri, @NonNull java.util.Set, @NonNull android.telephony.ims.stub.RcsCapabilityExchangeImplBase.OptionsResponseCallback); method public void subscribeForCapabilities(@NonNull java.util.Collection, @NonNull android.telephony.ims.stub.RcsCapabilityExchangeImplBase.SubscribeResponseCallback); field public static final int COMMAND_CODE_FETCH_ERROR = 3; // 0x3 field public static final int COMMAND_CODE_GENERIC_FAILURE = 1; // 0x1 field public static final int COMMAND_CODE_INSUFFICIENT_MEMORY = 5; // 0x5 field public static final int COMMAND_CODE_INVALID_PARAM = 2; // 0x2 field public static final int COMMAND_CODE_LOST_NETWORK_CONNECTION = 6; // 0x6 field public static final int COMMAND_CODE_NOT_FOUND = 8; // 0x8 field public static final int COMMAND_CODE_NOT_SUPPORTED = 7; // 0x7 field public static final int COMMAND_CODE_NO_CHANGE = 10; // 0xa field public static final int COMMAND_CODE_REQUEST_TIMEOUT = 4; // 0x4 field public static final int COMMAND_CODE_SERVICE_UNAVAILABLE = 9; // 0x9 field public static final int COMMAND_CODE_SERVICE_UNKNOWN = 0; // 0x0 } public static interface RcsCapabilityExchangeImplBase.OptionsResponseCallback { method public void onCommandError(int) throws android.telephony.ims.ImsException; method public void onNetworkResponse(int, @NonNull String, @NonNull java.util.List) throws android.telephony.ims.ImsException; } public static interface RcsCapabilityExchangeImplBase.PublishResponseCallback { method public void onCommandError(int) throws android.telephony.ims.ImsException; method @Deprecated public void onNetworkResponse(@IntRange(from=100, to=699) int, @NonNull String) throws android.telephony.ims.ImsException; method @Deprecated public void onNetworkResponse(@IntRange(from=100, to=699) int, @NonNull String, @IntRange(from=100, to=699) int, @NonNull String) throws android.telephony.ims.ImsException; method public default void onNetworkResponse(@NonNull android.telephony.ims.SipDetails) throws android.telephony.ims.ImsException; } public static interface RcsCapabilityExchangeImplBase.SubscribeResponseCallback { method public void onCommandError(int) throws android.telephony.ims.ImsException; method @Deprecated public void onNetworkResponse(@IntRange(from=100, to=699) int, @NonNull String) throws android.telephony.ims.ImsException; method @Deprecated public void onNetworkResponse(@IntRange(from=100, to=699) int, @NonNull String, @IntRange(from=100, to=699) int, @NonNull String) throws android.telephony.ims.ImsException; method public default void onNetworkResponse(@NonNull android.telephony.ims.SipDetails) throws android.telephony.ims.ImsException; method public void onNotifyCapabilitiesUpdate(@NonNull java.util.List) throws android.telephony.ims.ImsException; method public void onResourceTerminated(@NonNull java.util.List>) throws android.telephony.ims.ImsException; method public void onTerminated(@NonNull String, long) throws android.telephony.ims.ImsException; } public interface SipDelegate { method public void cleanupSession(@NonNull String); method public void notifyMessageReceiveError(@NonNull String, int); method public void notifyMessageReceived(@NonNull String); method public void sendMessage(@NonNull android.telephony.ims.SipMessage, long); } public class SipTransportImplBase { ctor public SipTransportImplBase(); ctor public SipTransportImplBase(@NonNull java.util.concurrent.Executor); method public void createSipDelegate(int, @NonNull android.telephony.ims.DelegateRequest, @NonNull android.telephony.ims.DelegateStateCallback, @NonNull android.telephony.ims.DelegateMessageCallback); method public void destroySipDelegate(@NonNull android.telephony.ims.stub.SipDelegate, int); } } package android.telephony.mbms { public static class DownloadRequest.Builder { method public android.telephony.mbms.DownloadRequest.Builder setServiceId(String); } public final class FileInfo implements android.os.Parcelable { ctor public FileInfo(android.net.Uri, String); } public final class FileServiceInfo extends android.telephony.mbms.ServiceInfo implements android.os.Parcelable { ctor public FileServiceInfo(java.util.Map, String, java.util.List, String, java.util.Date, java.util.Date, java.util.List); } public class MbmsDownloadReceiver extends android.content.BroadcastReceiver { field public static final int RESULT_APP_NOTIFICATION_ERROR = 6; // 0x6 field public static final int RESULT_BAD_TEMP_FILE_ROOT = 3; // 0x3 field public static final int RESULT_DOWNLOAD_FINALIZATION_ERROR = 4; // 0x4 field public static final int RESULT_INVALID_ACTION = 1; // 0x1 field public static final int RESULT_MALFORMED_INTENT = 2; // 0x2 field public static final int RESULT_OK = 0; // 0x0 field public static final int RESULT_TEMP_FILE_GENERATION_ERROR = 5; // 0x5 } public final class StreamingServiceInfo extends android.telephony.mbms.ServiceInfo implements android.os.Parcelable { ctor public StreamingServiceInfo(java.util.Map, String, java.util.List, String, java.util.Date, java.util.Date); } public final class UriPathPair implements android.os.Parcelable { method public int describeContents(); method public android.net.Uri getContentUri(); method public android.net.Uri getFilePathUri(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.telephony.mbms.vendor { public class MbmsDownloadServiceBase extends android.os.Binder implements android.os.IInterface { ctor public MbmsDownloadServiceBase(); method public int addProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException; method public int addServiceAnnouncement(int, @NonNull byte[]); method public int addStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException; method public android.os.IBinder asBinder(); method public int cancelDownload(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException; method public void dispose(int) throws android.os.RemoteException; method public int download(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException; method public int initialize(int, android.telephony.mbms.MbmsDownloadSessionCallback) throws android.os.RemoteException; method @NonNull public java.util.List listPendingDownloads(int) throws android.os.RemoteException; method public void onAppCallbackDied(int, int); method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException; method public int removeProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException; method public int removeStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException; method public int requestDownloadState(android.telephony.mbms.DownloadRequest, android.telephony.mbms.FileInfo) throws android.os.RemoteException; method public int requestUpdateFileServices(int, java.util.List) throws android.os.RemoteException; method public int resetDownloadKnowledge(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException; method public int setTempFileRootDirectory(int, String) throws android.os.RemoteException; } public class MbmsGroupCallServiceBase extends android.app.Service { ctor public MbmsGroupCallServiceBase(); method public void dispose(int) throws android.os.RemoteException; method public int initialize(@NonNull android.telephony.mbms.MbmsGroupCallSessionCallback, int) throws android.os.RemoteException; method public void onAppCallbackDied(int, int); method public android.os.IBinder onBind(android.content.Intent); method public int startGroupCall(int, long, @NonNull java.util.List, @NonNull java.util.List, @NonNull android.telephony.mbms.GroupCallCallback); method public void stopGroupCall(int, long); method public void updateGroupCall(int, long, @NonNull java.util.List, @NonNull java.util.List); } public class MbmsStreamingServiceBase extends android.os.Binder implements android.os.IInterface { ctor public MbmsStreamingServiceBase(); method public android.os.IBinder asBinder(); method public void dispose(int) throws android.os.RemoteException; method @Nullable public android.net.Uri getPlaybackUri(int, String) throws android.os.RemoteException; method public int initialize(android.telephony.mbms.MbmsStreamingSessionCallback, int) throws android.os.RemoteException; method public void onAppCallbackDied(int, int); method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException; method public int requestUpdateStreamingServices(int, java.util.List) throws android.os.RemoteException; method public int startStreaming(int, String, android.telephony.mbms.StreamingServiceCallback) throws android.os.RemoteException; method public void stopStreaming(int, String) throws android.os.RemoteException; } public class VendorUtils { ctor public VendorUtils(); method public static android.content.ComponentName getAppReceiverFromPackageName(android.content.Context, String); field public static final String ACTION_CLEANUP = "android.telephony.mbms.action.CLEANUP"; field public static final String ACTION_DOWNLOAD_RESULT_INTERNAL = "android.telephony.mbms.action.DOWNLOAD_RESULT_INTERNAL"; field public static final String ACTION_FILE_DESCRIPTOR_REQUEST = "android.telephony.mbms.action.FILE_DESCRIPTOR_REQUEST"; field public static final String EXTRA_FD_COUNT = "android.telephony.mbms.extra.FD_COUNT"; field public static final String EXTRA_FINAL_URI = "android.telephony.mbms.extra.FINAL_URI"; field public static final String EXTRA_FREE_URI_LIST = "android.telephony.mbms.extra.FREE_URI_LIST"; field public static final String EXTRA_PAUSED_LIST = "android.telephony.mbms.extra.PAUSED_LIST"; field public static final String EXTRA_PAUSED_URI_LIST = "android.telephony.mbms.extra.PAUSED_URI_LIST"; field public static final String EXTRA_SERVICE_ID = "android.telephony.mbms.extra.SERVICE_ID"; field public static final String EXTRA_TEMP_FILES_IN_USE = "android.telephony.mbms.extra.TEMP_FILES_IN_USE"; field public static final String EXTRA_TEMP_FILE_ROOT = "android.telephony.mbms.extra.TEMP_FILE_ROOT"; field public static final String EXTRA_TEMP_LIST = "android.telephony.mbms.extra.TEMP_LIST"; } } package android.text { public final class FontConfig implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getAliases(); method @IntRange(from=0) public int getConfigVersion(); method @NonNull public java.util.List getFontFamilies(); method public long getLastModifiedTimeMillis(); method @NonNull public java.util.List getNamedFamilyLists(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class FontConfig.Alias implements android.os.Parcelable { method public int describeContents(); method @NonNull public String getName(); method @NonNull public String getOriginal(); method @IntRange(from=0, to=1000) public int getWeight(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class FontConfig.Font implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.io.File getFile(); method @Nullable public String getFontFamilyName(); method @NonNull public String getFontVariationSettings(); method @NonNull public String getPostScriptName(); method @NonNull public android.graphics.fonts.FontStyle getStyle(); method public int getTtcIndex(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class FontConfig.FontFamily implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getFontList(); method @NonNull public android.os.LocaleList getLocaleList(); method @Deprecated @Nullable public String getName(); method public int getVariant(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int VARIANT_COMPACT = 1; // 0x1 field public static final int VARIANT_DEFAULT = 0; // 0x0 field public static final int VARIANT_ELEGANT = 2; // 0x2 } public static final class FontConfig.NamedFamilyList implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getFamilies(); method @NonNull public String getName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.util { public class EventLog { method public static void readEventsOnWrapping(int[], long, java.util.Collection) throws java.io.IOException; } public static final class EventLog.Event { method public int getUid(); } public final class StatsEvent { method @NonNull public static android.util.StatsEvent.Builder newBuilder(); } public static final class StatsEvent.Builder { method @NonNull public android.util.StatsEvent.Builder addBooleanAnnotation(byte, boolean); method @NonNull public android.util.StatsEvent.Builder addIntAnnotation(byte, int); method @NonNull public android.util.StatsEvent build(); method @NonNull public android.util.StatsEvent.Builder setAtomId(int); method @NonNull public android.util.StatsEvent.Builder usePooledBuffer(); method @NonNull public android.util.StatsEvent.Builder writeAttributionChain(@NonNull int[], @NonNull String[]); method @NonNull public android.util.StatsEvent.Builder writeBoolean(boolean); method @NonNull public android.util.StatsEvent.Builder writeBooleanArray(@NonNull boolean[]); method @NonNull public android.util.StatsEvent.Builder writeByteArray(@NonNull byte[]); method @NonNull public android.util.StatsEvent.Builder writeFloat(float); method @NonNull public android.util.StatsEvent.Builder writeFloatArray(@NonNull float[]); method @NonNull public android.util.StatsEvent.Builder writeInt(int); method @NonNull public android.util.StatsEvent.Builder writeIntArray(@NonNull int[]); method @NonNull public android.util.StatsEvent.Builder writeKeyValuePairs(@Nullable android.util.SparseIntArray, @Nullable android.util.SparseLongArray, @Nullable android.util.SparseArray, @Nullable android.util.SparseArray); method @NonNull public android.util.StatsEvent.Builder writeLong(long); method @NonNull public android.util.StatsEvent.Builder writeLongArray(@NonNull long[]); method @NonNull public android.util.StatsEvent.Builder writeString(@NonNull String); method @NonNull public android.util.StatsEvent.Builder writeStringArray(@NonNull String[]); } public final class StatsLog { method public static void write(@NonNull android.util.StatsEvent); method @Deprecated public static void writeRaw(@NonNull byte[], int); field public static final byte ANNOTATION_ID_DEFAULT_STATE = 6; // 0x6 field public static final byte ANNOTATION_ID_EXCLUSIVE_STATE = 4; // 0x4 field public static final byte ANNOTATION_ID_FIELD_RESTRICTION_ACCESSIBILITY = 14; // 0xe field public static final byte ANNOTATION_ID_FIELD_RESTRICTION_AMBIENT_SENSING = 17; // 0x11 field public static final byte ANNOTATION_ID_FIELD_RESTRICTION_APP_ACTIVITY = 12; // 0xc field public static final byte ANNOTATION_ID_FIELD_RESTRICTION_APP_USAGE = 11; // 0xb field public static final byte ANNOTATION_ID_FIELD_RESTRICTION_DEMOGRAPHIC_CLASSIFICATION = 18; // 0x12 field public static final byte ANNOTATION_ID_FIELD_RESTRICTION_HEALTH_CONNECT = 13; // 0xd field public static final byte ANNOTATION_ID_FIELD_RESTRICTION_PERIPHERAL_DEVICE_INFO = 10; // 0xa field public static final byte ANNOTATION_ID_FIELD_RESTRICTION_SYSTEM_SEARCH = 15; // 0xf field public static final byte ANNOTATION_ID_FIELD_RESTRICTION_USER_ENGAGEMENT = 16; // 0x10 field public static final byte ANNOTATION_ID_IS_UID = 1; // 0x1 field public static final byte ANNOTATION_ID_PRIMARY_FIELD = 3; // 0x3 field public static final byte ANNOTATION_ID_PRIMARY_FIELD_FIRST_UID = 5; // 0x5 field public static final byte ANNOTATION_ID_RESTRICTION_CATEGORY = 9; // 0x9 field public static final byte ANNOTATION_ID_STATE_NESTED = 8; // 0x8 field public static final byte ANNOTATION_ID_TRIGGER_STATE_RESET = 7; // 0x7 field public static final byte ANNOTATION_ID_TRUNCATE_TIMESTAMP = 2; // 0x2 field public static final int RESTRICTION_CATEGORY_AUTHENTICATION = 3; // 0x3 field public static final int RESTRICTION_CATEGORY_DIAGNOSTIC = 1; // 0x1 field public static final int RESTRICTION_CATEGORY_FRAUD_AND_ABUSE = 4; // 0x4 field public static final int RESTRICTION_CATEGORY_SYSTEM_INTELLIGENCE = 2; // 0x2 } } package android.uwb { public final class AngleMeasurement implements android.os.Parcelable { ctor public AngleMeasurement(@FloatRange(from=-3.141592653589793, to=3.141592653589793) double, @FloatRange(from=0.0, to=3.141592653589793) double, @FloatRange(from=0.0, to=1.0) double); method public int describeContents(); method @FloatRange(from=0.0, to=1.0) public double getConfidenceLevel(); method @FloatRange(from=0.0, to=3.141592653589793) public double getErrorRadians(); method @FloatRange(from=-3.141592653589793, to=3.141592653589793) public double getRadians(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class AngleOfArrivalMeasurement implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.uwb.AngleMeasurement getAltitude(); method @NonNull public android.uwb.AngleMeasurement getAzimuth(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AngleOfArrivalMeasurement.Builder { ctor public AngleOfArrivalMeasurement.Builder(@NonNull android.uwb.AngleMeasurement); method @NonNull public android.uwb.AngleOfArrivalMeasurement build(); method @NonNull public android.uwb.AngleOfArrivalMeasurement.Builder setAltitude(@NonNull android.uwb.AngleMeasurement); } public final class DistanceMeasurement implements android.os.Parcelable { method public int describeContents(); method @FloatRange(from=0.0, to=1.0) public double getConfidenceLevel(); method @FloatRange(from=0.0) public double getErrorMeters(); method public double getMeters(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class DistanceMeasurement.Builder { ctor public DistanceMeasurement.Builder(); method @NonNull public android.uwb.DistanceMeasurement build(); method @NonNull public android.uwb.DistanceMeasurement.Builder setConfidenceLevel(@FloatRange(from=0.0, to=1.0) double); method @NonNull public android.uwb.DistanceMeasurement.Builder setErrorMeters(@FloatRange(from=0.0) double); method @NonNull public android.uwb.DistanceMeasurement.Builder setMeters(double); } public final class RangingMeasurement implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.uwb.AngleOfArrivalMeasurement getAngleOfArrivalMeasurement(); method @Nullable public android.uwb.AngleOfArrivalMeasurement getDestinationAngleOfArrivalMeasurement(); method @Nullable public android.uwb.DistanceMeasurement getDistanceMeasurement(); method public long getElapsedRealtimeNanos(); method public int getLineOfSight(); method public int getMeasurementFocus(); method @NonNull public android.os.PersistableBundle getRangingMeasurementMetadata(); method @NonNull public android.uwb.UwbAddress getRemoteDeviceAddress(); method @IntRange(from=android.uwb.RangingMeasurement.RSSI_UNKNOWN, to=android.uwb.RangingMeasurement.RSSI_MAX) public int getRssiDbm(); method public int getStatus(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int LOS = 0; // 0x0 field public static final int LOS_UNDETERMINED = 255; // 0xff field public static final int MEASUREMENT_FOCUS_ANGLE_OF_ARRIVAL_AZIMUTH = 2; // 0x2 field public static final int MEASUREMENT_FOCUS_ANGLE_OF_ARRIVAL_ELEVATION = 3; // 0x3 field public static final int MEASUREMENT_FOCUS_NONE = 0; // 0x0 field public static final int MEASUREMENT_FOCUS_RANGE = 1; // 0x1 field public static final int NLOS = 1; // 0x1 field public static final int RANGING_STATUS_FAILURE_OUT_OF_RANGE = 1; // 0x1 field public static final int RANGING_STATUS_FAILURE_UNKNOWN_ERROR = -1; // 0xffffffff field public static final int RANGING_STATUS_SUCCESS = 0; // 0x0 field public static final int RSSI_MAX = -1; // 0xffffffff field public static final int RSSI_MIN = -127; // 0xffffff81 field public static final int RSSI_UNKNOWN = -128; // 0xffffff80 } public static final class RangingMeasurement.Builder { ctor public RangingMeasurement.Builder(); method @NonNull public android.uwb.RangingMeasurement build(); method @NonNull public android.uwb.RangingMeasurement.Builder setAngleOfArrivalMeasurement(@NonNull android.uwb.AngleOfArrivalMeasurement); method @NonNull public android.uwb.RangingMeasurement.Builder setDestinationAngleOfArrivalMeasurement(@NonNull android.uwb.AngleOfArrivalMeasurement); method @NonNull public android.uwb.RangingMeasurement.Builder setDistanceMeasurement(@NonNull android.uwb.DistanceMeasurement); method @NonNull public android.uwb.RangingMeasurement.Builder setElapsedRealtimeNanos(long); method @NonNull public android.uwb.RangingMeasurement.Builder setLineOfSight(int); method @NonNull public android.uwb.RangingMeasurement.Builder setMeasurementFocus(int); method @NonNull public android.uwb.RangingMeasurement.Builder setRangingMeasurementMetadata(@NonNull android.os.PersistableBundle); method @NonNull public android.uwb.RangingMeasurement.Builder setRemoteDeviceAddress(@NonNull android.uwb.UwbAddress); method @NonNull public android.uwb.RangingMeasurement.Builder setRssiDbm(@IntRange(from=android.uwb.RangingMeasurement.RSSI_UNKNOWN, to=android.uwb.RangingMeasurement.RSSI_MAX) int); method @NonNull public android.uwb.RangingMeasurement.Builder setStatus(int); } public final class RangingReport implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getMeasurements(); method @NonNull public android.os.PersistableBundle getRangingReportMetadata(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class RangingReport.Builder { ctor public RangingReport.Builder(); method @NonNull public android.uwb.RangingReport.Builder addMeasurement(@NonNull android.uwb.RangingMeasurement); method @NonNull public android.uwb.RangingReport.Builder addMeasurements(@NonNull java.util.List); method @NonNull public android.uwb.RangingReport.Builder addRangingReportMetadata(@NonNull android.os.PersistableBundle); method @NonNull public android.uwb.RangingReport build(); } public final class RangingSession implements java.lang.AutoCloseable { method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void addControlee(@NonNull android.os.PersistableBundle); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void close(); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void pause(@NonNull android.os.PersistableBundle); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public int queryMaxDataSizeBytes(); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void reconfigure(@NonNull android.os.PersistableBundle); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void removeControlee(@NonNull android.os.PersistableBundle); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void resume(@NonNull android.os.PersistableBundle); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void sendData(@NonNull android.uwb.UwbAddress, @NonNull android.os.PersistableBundle, @NonNull byte[]); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void start(@NonNull android.os.PersistableBundle); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void stop(); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void updatePose(@NonNull android.os.PersistableBundle); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void updateRangingRoundsDtTag(@NonNull android.os.PersistableBundle); } public static interface RangingSession.Callback { method public void onClosed(int, @NonNull android.os.PersistableBundle); method public default void onControleeAddFailed(int, @NonNull android.os.PersistableBundle); method public default void onControleeAdded(@NonNull android.os.PersistableBundle); method public default void onControleeRemoveFailed(int, @NonNull android.os.PersistableBundle); method public default void onControleeRemoved(@NonNull android.os.PersistableBundle); method public default void onDataReceiveFailed(@NonNull android.uwb.UwbAddress, int, @NonNull android.os.PersistableBundle); method public default void onDataReceived(@NonNull android.uwb.UwbAddress, @NonNull android.os.PersistableBundle, @NonNull byte[]); method public default void onDataSendFailed(@NonNull android.uwb.UwbAddress, int, @NonNull android.os.PersistableBundle); method public default void onDataSent(@NonNull android.uwb.UwbAddress, @NonNull android.os.PersistableBundle); method public void onOpenFailed(int, @NonNull android.os.PersistableBundle); method public void onOpened(@NonNull android.uwb.RangingSession); method public default void onPauseFailed(int, @NonNull android.os.PersistableBundle); method public default void onPaused(@NonNull android.os.PersistableBundle); method public default void onRangingRoundsUpdateDtTagStatus(@NonNull android.os.PersistableBundle); method public void onReconfigureFailed(int, @NonNull android.os.PersistableBundle); method public void onReconfigured(@NonNull android.os.PersistableBundle); method public void onReportReceived(@NonNull android.uwb.RangingReport); method public default void onResumeFailed(int, @NonNull android.os.PersistableBundle); method public default void onResumed(@NonNull android.os.PersistableBundle); method public default void onServiceConnected(@NonNull android.os.PersistableBundle); method public default void onServiceDiscovered(@NonNull android.os.PersistableBundle); method public void onStartFailed(int, @NonNull android.os.PersistableBundle); method public void onStarted(@NonNull android.os.PersistableBundle); method public void onStopFailed(int, @NonNull android.os.PersistableBundle); method public void onStopped(int, @NonNull android.os.PersistableBundle); field public static final int CONTROLEE_FAILURE_REASON_MAX_CONTROLEE_REACHED = 0; // 0x0 field public static final int DATA_FAILURE_REASON_DATA_SIZE_TOO_LARGE = 10; // 0xa field public static final int REASON_BAD_PARAMETERS = 3; // 0x3 field public static final int REASON_GENERIC_ERROR = 4; // 0x4 field public static final int REASON_INSUFFICIENT_SLOTS_PER_RR = 14; // 0xe field public static final int REASON_LOCAL_REQUEST = 1; // 0x1 field public static final int REASON_MAX_RR_RETRY_REACHED = 9; // 0x9 field public static final int REASON_MAX_SESSIONS_REACHED = 5; // 0x5 field public static final int REASON_PROTOCOL_SPECIFIC_ERROR = 7; // 0x7 field public static final int REASON_REMOTE_REQUEST = 2; // 0x2 field public static final int REASON_SERVICE_CONNECTION_FAILURE = 11; // 0xb field public static final int REASON_SERVICE_DISCOVERY_FAILURE = 10; // 0xa field public static final int REASON_SE_INTERACTION_FAILURE = 13; // 0xd field public static final int REASON_SE_NOT_SUPPORTED = 12; // 0xc field public static final int REASON_SYSTEM_POLICY = 6; // 0x6 field public static final int REASON_SYSTEM_REGULATION = 15; // 0xf field public static final int REASON_UNKNOWN = 0; // 0x0 } public final class UwbActivityEnergyInfo implements android.os.Parcelable { method public int describeContents(); method @IntRange(from=0) public long getControllerIdleDurationMillis(); method @IntRange(from=0) public long getControllerRxDurationMillis(); method @IntRange(from=0) public long getControllerTxDurationMillis(); method @IntRange(from=0) public long getControllerWakeCount(); method public int getStackState(); method public long getTimeSinceBootMillis(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class UwbActivityEnergyInfo.Builder { ctor public UwbActivityEnergyInfo.Builder(); method @NonNull public android.uwb.UwbActivityEnergyInfo build(); method @NonNull public android.uwb.UwbActivityEnergyInfo.Builder setControllerIdleDurationMillis(@IntRange(from=0) long); method @NonNull public android.uwb.UwbActivityEnergyInfo.Builder setControllerRxDurationMillis(@IntRange(from=0) long); method @NonNull public android.uwb.UwbActivityEnergyInfo.Builder setControllerTxDurationMillis(@IntRange(from=0) long); method @NonNull public android.uwb.UwbActivityEnergyInfo.Builder setControllerWakeCount(@IntRange(from=0) long); method @NonNull public android.uwb.UwbActivityEnergyInfo.Builder setStackState(int); method @NonNull public android.uwb.UwbActivityEnergyInfo.Builder setTimeSinceBootMillis(long); } public final class UwbAddress implements android.os.Parcelable { method public int describeContents(); method @NonNull public static android.uwb.UwbAddress fromBytes(@NonNull byte[]); method public int size(); method @NonNull public byte[] toBytes(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int EXTENDED_ADDRESS_BYTE_LENGTH = 8; // 0x8 field public static final int SHORT_ADDRESS_BYTE_LENGTH = 2; // 0x2 } public final class UwbManager { method @NonNull @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public android.os.PersistableBundle addServiceProfile(@NonNull android.os.PersistableBundle); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public long elapsedRealtimeResolutionNanos(); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public long elapsedRealtimeResolutionNanos(@NonNull String); method public int getAdapterState(); method @NonNull @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public android.os.PersistableBundle getAdfCertificateInfo(@NonNull android.os.PersistableBundle); method @NonNull @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public android.os.PersistableBundle getAdfProvisioningAuthorities(@NonNull android.os.PersistableBundle); method @NonNull @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public android.os.PersistableBundle getAllServiceProfiles(); method @NonNull @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public java.util.List getChipInfos(); method @NonNull @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public String getDefaultChipId(); method @NonNull @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public android.os.PersistableBundle getSpecificationInfo(); method @NonNull @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public android.os.PersistableBundle getSpecificationInfo(@NonNull String); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void getUwbActivityEnergyInfoAsync(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method public boolean isUwbEnabled(); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.UWB_PRIVILEGED, android.Manifest.permission.UWB_RANGING}) public android.os.CancellationSignal openRangingSession(@NonNull android.os.PersistableBundle, @NonNull java.util.concurrent.Executor, @NonNull android.uwb.RangingSession.Callback); method @NonNull @RequiresPermission(allOf={android.Manifest.permission.UWB_PRIVILEGED, android.Manifest.permission.UWB_RANGING}) public android.os.CancellationSignal openRangingSession(@NonNull android.os.PersistableBundle, @NonNull java.util.concurrent.Executor, @NonNull android.uwb.RangingSession.Callback, @NonNull String); method public void provisionProfileAdfByScript(@NonNull android.os.PersistableBundle, @NonNull java.util.concurrent.Executor, @NonNull android.uwb.UwbManager.AdfProvisionStateCallback); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void registerAdapterStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.uwb.UwbManager.AdapterStateCallback); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void registerUwbOemExtensionCallback(@NonNull java.util.concurrent.Executor, @NonNull android.uwb.UwbManager.UwbOemExtensionCallback); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void registerUwbVendorUciCallback(@NonNull java.util.concurrent.Executor, @NonNull android.uwb.UwbManager.UwbVendorUciCallback); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public int removeProfileAdf(@NonNull android.os.PersistableBundle); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public int removeServiceProfile(@NonNull android.os.PersistableBundle); method @NonNull @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public int sendVendorUciMessage(@IntRange(from=0, to=15) int, int, @NonNull byte[]); method @NonNull @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public int sendVendorUciMessage(int, @IntRange(from=0, to=15) int, int, @NonNull byte[]); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void setUwbEnabled(boolean); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void unregisterAdapterStateCallback(@NonNull android.uwb.UwbManager.AdapterStateCallback); method @RequiresPermission(android.Manifest.permission.UWB_PRIVILEGED) public void unregisterUwbOemExtensionCallback(@NonNull android.uwb.UwbManager.UwbOemExtensionCallback); method public void unregisterUwbVendorUciCallback(@NonNull android.uwb.UwbManager.UwbVendorUciCallback); field public static final int MESSAGE_TYPE_COMMAND = 1; // 0x1 field public static final int MESSAGE_TYPE_TEST_1 = 4; // 0x4 field public static final int MESSAGE_TYPE_TEST_2 = 5; // 0x5 field public static final int REMOVE_PROFILE_ADF_ERROR_INTERNAL = 2; // 0x2 field public static final int REMOVE_PROFILE_ADF_ERROR_UNKNOWN_SERVICE = 1; // 0x1 field public static final int REMOVE_PROFILE_ADF_SUCCESS = 0; // 0x0 field public static final int REMOVE_SERVICE_PROFILE_ERROR_INTERNAL = 2; // 0x2 field public static final int REMOVE_SERVICE_PROFILE_ERROR_UNKNOWN_SERVICE = 1; // 0x1 field public static final int REMOVE_SERVICE_PROFILE_SUCCESS = 0; // 0x0 field public static final int SEND_VENDOR_UCI_ERROR_HW = 1; // 0x1 field public static final int SEND_VENDOR_UCI_ERROR_INVALID_ARGS = 3; // 0x3 field public static final int SEND_VENDOR_UCI_ERROR_INVALID_GID = 4; // 0x4 field public static final int SEND_VENDOR_UCI_ERROR_OFF = 2; // 0x2 field public static final int SEND_VENDOR_UCI_SUCCESS = 0; // 0x0 } public static interface UwbManager.AdapterStateCallback { method public void onStateChanged(int, int); field public static final int STATE_CHANGED_REASON_ALL_SESSIONS_CLOSED = 1; // 0x1 field public static final int STATE_CHANGED_REASON_ERROR_UNKNOWN = 4; // 0x4 field public static final int STATE_CHANGED_REASON_SESSION_STARTED = 0; // 0x0 field public static final int STATE_CHANGED_REASON_SYSTEM_BOOT = 3; // 0x3 field public static final int STATE_CHANGED_REASON_SYSTEM_POLICY = 2; // 0x2 field public static final int STATE_CHANGED_REASON_SYSTEM_REGULATION = 5; // 0x5 field public static final int STATE_DISABLED = 0; // 0x0 field public static final int STATE_ENABLED_ACTIVE = 2; // 0x2 field public static final int STATE_ENABLED_INACTIVE = 1; // 0x1 } public abstract static class UwbManager.AdfProvisionStateCallback { ctor public UwbManager.AdfProvisionStateCallback(); method public abstract void onProfileAdfsProvisionFailed(int, @NonNull android.os.PersistableBundle); method public abstract void onProfileAdfsProvisioned(@NonNull android.os.PersistableBundle); field public static final int REASON_INVALID_OID = 1; // 0x1 field public static final int REASON_SE_FAILURE = 2; // 0x2 field public static final int REASON_UNKNOWN = 3; // 0x3 } public static interface UwbManager.UwbOemExtensionCallback { method public boolean onCheckPointedTarget(@NonNull android.os.PersistableBundle); method public void onDeviceStatusNotificationReceived(@NonNull android.os.PersistableBundle); method @NonNull public android.uwb.RangingReport onRangingReportReceived(@NonNull android.uwb.RangingReport); method @NonNull public int onSessionConfigurationComplete(@NonNull android.os.PersistableBundle); method public void onSessionStatusNotificationReceived(@NonNull android.os.PersistableBundle); } public static interface UwbManager.UwbVendorUciCallback { method public void onVendorUciNotification(@IntRange(from=9, to=15) int, int, @NonNull byte[]); method public void onVendorUciResponse(@IntRange(from=0, to=15) int, int, @NonNull byte[]); } } package android.view { @UiThread public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback { method @NonNull public final java.util.List getUnrestrictedPreferKeepClearRects(); method @RequiresPermission(android.Manifest.permission.SET_UNRESTRICTED_KEEP_CLEAR_AREAS) public final void setUnrestrictedPreferKeepClearRects(@NonNull java.util.List); } public abstract class Window { method public void addSystemFlags(@android.view.WindowManager.LayoutParams.SystemFlags int); } public interface WindowManager extends android.view.ViewManager { method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public android.graphics.Region getCurrentImeTouchRegion(); method @NonNull public default java.util.List notifyScreenshotListeners(int); method public default void registerTaskFpsCallback(@IntRange(from=0) int, @NonNull java.util.concurrent.Executor, @NonNull android.window.TaskFpsCallback); method public default void unregisterTaskFpsCallback(@NonNull android.window.TaskFpsCallback); } public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable { method public final long getUserActivityTimeout(); method public boolean isSystemApplicationOverlay(); method @RequiresPermission(android.Manifest.permission.SYSTEM_APPLICATION_OVERLAY) public void setSystemApplicationOverlay(boolean); method public final void setUserActivityTimeout(long); field @RequiresPermission(android.Manifest.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS) public static final int SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS = 524288; // 0x80000 field @RequiresPermission(android.Manifest.permission.INTERNAL_SYSTEM_WINDOW) public static final int SYSTEM_FLAG_SHOW_FOR_ALL_USERS = 16; // 0x10 } @IntDef(flag=true, prefix={"SYSTEM_FLAG_"}, value={android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS, android.view.WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface WindowManager.LayoutParams.SystemFlags { } } package android.view.accessibility { public abstract class AccessibilityDisplayProxy { ctor public AccessibilityDisplayProxy(int, @NonNull java.util.concurrent.Executor, @NonNull java.util.List); method @Nullable public android.view.accessibility.AccessibilityNodeInfo findFocus(int); method public int getDisplayId(); method @NonNull public final java.util.List getInstalledAndEnabledServices(); method @NonNull public java.util.List getWindows(); method public void interrupt(); method public void onAccessibilityEvent(@NonNull android.view.accessibility.AccessibilityEvent); method public void onProxyConnected(); method public void setAccessibilityFocusAppearance(int, @ColorInt int); method public void setInstalledAndEnabledServices(@NonNull java.util.List); } public final class AccessibilityManager { method public int getAccessibilityWindowId(@Nullable android.os.IBinder); method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public void performAccessibilityShortcut(); method @RequiresPermission(allOf={android.Manifest.permission.MANAGE_ACCESSIBILITY, android.Manifest.permission.CREATE_VIRTUAL_DEVICE}) public boolean registerDisplayProxy(@NonNull android.view.accessibility.AccessibilityDisplayProxy); method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public void registerSystemAction(@NonNull android.app.RemoteAction, int); method @RequiresPermission(allOf={android.Manifest.permission.MANAGE_ACCESSIBILITY, android.Manifest.permission.CREATE_VIRTUAL_DEVICE}) public boolean unregisterDisplayProxy(@NonNull android.view.accessibility.AccessibilityDisplayProxy); method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public void unregisterSystemAction(int); } public class CaptioningManager { method @RequiresPermission(android.Manifest.permission.SET_SYSTEM_AUDIO_CAPTION) public final void setSystemAudioCaptioningEnabled(boolean); method @RequiresPermission(android.Manifest.permission.SET_SYSTEM_AUDIO_CAPTION) public final void setSystemAudioCaptioningUiEnabled(boolean); } } package android.view.autofill { public final class AutofillManager { method public void setAugmentedAutofillWhitelist(@Nullable java.util.Set, @Nullable java.util.Set); } } package android.view.contentcapture { public final class ContentCaptureContext implements android.os.Parcelable { method @Nullable public android.content.ComponentName getActivityComponent(); method @Nullable public android.app.assist.ActivityId getActivityId(); method public int getDisplayId(); method public int getFlags(); method @Nullable public android.view.contentcapture.ContentCaptureSessionId getParentSessionId(); method public int getTaskId(); method @Nullable public android.os.IBinder getWindowToken(); field public static final int FLAG_DISABLED_BY_APP = 1; // 0x1 field public static final int FLAG_DISABLED_BY_FLAG_SECURE = 2; // 0x2 field public static final int FLAG_RECONNECTED = 4; // 0x4 } public final class ContentCaptureEvent implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.graphics.Rect getBounds(); method @Nullable public android.view.contentcapture.ContentCaptureContext getContentCaptureContext(); method public long getEventTime(); method @Nullable public android.view.autofill.AutofillId getId(); method @Nullable public java.util.List getIds(); method @Nullable public android.graphics.Insets getInsets(); method @Nullable public CharSequence getText(); method public int getType(); method @Nullable public android.view.contentcapture.ViewNode getViewNode(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TYPE_CONTEXT_UPDATED = 6; // 0x6 field public static final int TYPE_SESSION_PAUSED = 8; // 0x8 field public static final int TYPE_SESSION_RESUMED = 7; // 0x7 field public static final int TYPE_VIEW_APPEARED = 1; // 0x1 field public static final int TYPE_VIEW_DISAPPEARED = 2; // 0x2 field public static final int TYPE_VIEW_INSETS_CHANGED = 9; // 0x9 field public static final int TYPE_VIEW_TEXT_CHANGED = 3; // 0x3 field public static final int TYPE_VIEW_TREE_APPEARED = 5; // 0x5 field public static final int TYPE_VIEW_TREE_APPEARING = 4; // 0x4 field public static final int TYPE_WINDOW_BOUNDS_CHANGED = 10; // 0xa } public final class ContentCaptureManager { method public boolean isContentCaptureFeatureEnabled(); field public static final int NO_SESSION_ID = 0; // 0x0 } public final class ViewNode extends android.app.assist.AssistStructure.ViewNode { method @Nullable public android.view.autofill.AutofillId getParentAutofillId(); } } package android.view.displayhash { public final class DisplayHash implements android.os.Parcelable { ctor public DisplayHash(long, @NonNull android.graphics.Rect, @NonNull String, @NonNull byte[], @NonNull byte[]); method public int describeContents(); method @NonNull public android.graphics.Rect getBoundsInWindow(); method @NonNull public String getHashAlgorithm(); method @NonNull public byte[] getHmac(); method @NonNull public byte[] getImageHash(); method public long getTimeMillis(); method public void writeToParcel(@NonNull android.os.Parcel, int); } } package android.view.inputmethod { public final class InputMethodManager { method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public android.view.inputmethod.InputMethodInfo getCurrentInputMethodInfoAsUser(@NonNull android.os.UserHandle); } } package android.view.translation { public final class TranslationCapability implements android.os.Parcelable { ctor public TranslationCapability(int, @NonNull android.view.translation.TranslationSpec, @NonNull android.view.translation.TranslationSpec, boolean, int); } public final class TranslationContext implements android.os.Parcelable { method @Nullable public android.app.assist.ActivityId getActivityId(); } public final class UiTranslationManager { method @RequiresPermission(android.Manifest.permission.MANAGE_UI_TRANSLATION) public void finishTranslation(@NonNull android.app.assist.ActivityId); method @RequiresPermission(android.Manifest.permission.MANAGE_UI_TRANSLATION) public void pauseTranslation(@NonNull android.app.assist.ActivityId); method @RequiresPermission(android.Manifest.permission.MANAGE_UI_TRANSLATION) public void resumeTranslation(@NonNull android.app.assist.ActivityId); method @RequiresPermission(android.Manifest.permission.MANAGE_UI_TRANSLATION) public void startTranslation(@NonNull android.view.translation.TranslationSpec, @NonNull android.view.translation.TranslationSpec, @NonNull java.util.List, @NonNull android.app.assist.ActivityId, @NonNull android.view.translation.UiTranslationSpec); } public final class UiTranslationSpec implements android.os.Parcelable { method public int describeContents(); method public boolean shouldPadContentForCompat(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class UiTranslationSpec.Builder { ctor public UiTranslationSpec.Builder(); method @NonNull public android.view.translation.UiTranslationSpec build(); method @NonNull public android.view.translation.UiTranslationSpec.Builder setShouldPadContentForCompat(boolean); } } package android.webkit { public abstract class CookieManager { method protected abstract boolean allowFileSchemeCookiesImpl(); method public abstract String getCookie(String, boolean); method public String getCookie(android.net.WebAddress); method public abstract boolean hasCookies(boolean); method protected abstract void setAcceptFileSchemeCookiesImpl(boolean); } public class FindActionModeCallback implements android.view.ActionMode.Callback android.text.TextWatcher android.view.View.OnClickListener android.webkit.WebView.FindListener { ctor public FindActionModeCallback(android.content.Context); method public void afterTextChanged(android.text.Editable); method public void beforeTextChanged(CharSequence, int, int, int); method public void findAll(); method public void finish(); method public int getActionModeGlobalBottom(); method public boolean onActionItemClicked(android.view.ActionMode, android.view.MenuItem); method public void onClick(android.view.View); method public boolean onCreateActionMode(android.view.ActionMode, android.view.Menu); method public void onDestroyActionMode(android.view.ActionMode); method public void onFindResultReceived(int, int, boolean); method public boolean onPrepareActionMode(android.view.ActionMode, android.view.Menu); method public void onTextChanged(CharSequence, int, int, int); method public void setText(String); method public void setWebView(@NonNull android.webkit.WebView); method public void showSoftInput(); method public void updateMatchCount(int, int, boolean); } public static class FindActionModeCallback.NoAction implements android.view.ActionMode.Callback { ctor public FindActionModeCallback.NoAction(); method public boolean onActionItemClicked(android.view.ActionMode, android.view.MenuItem); method public boolean onCreateActionMode(android.view.ActionMode, android.view.Menu); method public void onDestroyActionMode(android.view.ActionMode); method public boolean onPrepareActionMode(android.view.ActionMode, android.view.Menu); } public class GeolocationPermissions { ctor public GeolocationPermissions(); } public class HttpAuthHandler extends android.os.Handler { ctor public HttpAuthHandler(); } public class JsDialogHelper { ctor public JsDialogHelper(android.webkit.JsPromptResult, int, String, String, String); ctor public JsDialogHelper(android.webkit.JsPromptResult, android.os.Message); method public boolean invokeCallback(android.webkit.WebChromeClient, android.webkit.WebView); method public void showDialog(android.content.Context); field public static final int ALERT = 1; // 0x1 field public static final int CONFIRM = 2; // 0x2 field public static final int PROMPT = 3; // 0x3 field public static final int UNLOAD = 4; // 0x4 } public class JsPromptResult extends android.webkit.JsResult { ctor public JsPromptResult(android.webkit.JsResult.ResultReceiver); method public String getStringResult(); } public class JsResult { ctor public JsResult(android.webkit.JsResult.ResultReceiver); method public final boolean getResult(); } public static interface JsResult.ResultReceiver { method public void onJsResultComplete(android.webkit.JsResult); } public interface PacProcessor { method @NonNull public static android.webkit.PacProcessor createInstance(); method @Nullable public String findProxyForUrl(@NonNull String); method @NonNull public static android.webkit.PacProcessor getInstance(); method @Nullable public default android.net.Network getNetwork(); method public default void release(); method public default void setNetwork(@Nullable android.net.Network); method public boolean setProxyScript(@NonNull String); } public class SslErrorHandler extends android.os.Handler { ctor public SslErrorHandler(); } @Deprecated public abstract class TokenBindingService { ctor @Deprecated public TokenBindingService(); } public class WebChromeClient { method @Deprecated public void openFileChooser(android.webkit.ValueCallback, String, String); } public abstract class WebHistoryItem implements java.lang.Cloneable { method @Deprecated public abstract int getId(); } @Deprecated public abstract class WebIconDatabase { method @Deprecated public abstract void bulkRequestIconForPageUrl(android.content.ContentResolver, String, android.webkit.WebIconDatabase.IconListener); } public abstract class WebMessagePort { ctor public WebMessagePort(); } public abstract class WebResourceError { ctor public WebResourceError(); } public class WebResourceResponse { ctor public WebResourceResponse(boolean, String, String, int, String, java.util.Map, java.io.InputStream); } public abstract class WebSettings { method public abstract boolean getAcceptThirdPartyCookies(); method @Deprecated public abstract boolean getNavDump(); method @Deprecated public abstract boolean getPluginsEnabled(); method @Deprecated public abstract boolean getUseWebViewBackgroundForOverscrollBackground(); method @Deprecated public abstract int getUserAgent(); method public abstract boolean getVideoOverlayForEmbeddedEncryptedVideoEnabled(); method public abstract void setAcceptThirdPartyCookies(boolean); method @Deprecated public abstract void setNavDump(boolean); method @Deprecated public abstract void setPluginsEnabled(boolean); method @Deprecated public abstract void setUseWebViewBackgroundForOverscrollBackground(boolean); method @Deprecated public abstract void setUserAgent(int); method public abstract void setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean); field public static final long ENABLE_SIMPLIFIED_DARK_MODE = 214741472L; // 0xcccb1e0L } public class WebStorage { ctor public WebStorage(); } public static class WebStorage.Origin { ctor protected WebStorage.Origin(String, long, long); } public class WebView extends android.widget.AbsoluteLayout implements android.view.ViewGroup.OnHierarchyChangeListener android.view.ViewTreeObserver.OnGlobalFocusChangeListener { method public android.webkit.WebViewProvider getWebViewProvider(); } public static class WebView.HitTestResult { ctor public WebView.HitTestResult(); method public void setExtra(String); method public void setType(int); } public class WebView.PrivateAccess { ctor public WebView.PrivateAccess(); method public void awakenScrollBars(int); method public void awakenScrollBars(int, boolean); method public float getHorizontalScrollFactor(); method public int getHorizontalScrollbarHeight(); method public float getVerticalScrollFactor(); method public void onScrollChanged(int, int, int, int); method public void overScrollBy(int, int, int, int, int, int, int, int, boolean); method public void setMeasuredDimension(int, int); method public void setScrollXRaw(int); method public void setScrollYRaw(int); method public void super_computeScroll(); method public boolean super_dispatchKeyEvent(android.view.KeyEvent); method public int super_getScrollBarStyle(); method @Nullable public android.view.WindowInsets super_onApplyWindowInsets(@Nullable android.view.WindowInsets); method public void super_onDrawVerticalScrollBar(android.graphics.Canvas, android.graphics.drawable.Drawable, int, int, int, int); method public boolean super_onGenericMotionEvent(android.view.MotionEvent); method public boolean super_onHoverEvent(android.view.MotionEvent); method public boolean super_performAccessibilityAction(int, android.os.Bundle); method public boolean super_performLongClick(); method public boolean super_requestFocus(int, android.graphics.Rect); method public void super_scrollTo(int, int); method public boolean super_setFrame(int, int, int, int); method public void super_setLayoutParams(android.view.ViewGroup.LayoutParams); method public void super_startActivityForResult(android.content.Intent, int); } public final class WebViewDelegate { method public void addWebViewAssetPath(android.content.Context); method @Deprecated public void callDrawGlFunction(android.graphics.Canvas, long); method @Deprecated public void callDrawGlFunction(@NonNull android.graphics.Canvas, long, @Nullable Runnable); method @Deprecated public boolean canInvokeDrawGlFunctor(android.view.View); method @Deprecated public void detachDrawGlFunctor(android.view.View, long); method public void drawWebViewFunctor(@NonNull android.graphics.Canvas, int); method public android.app.Application getApplication(); method public String getDataDirectorySuffix(); method public String getErrorString(android.content.Context, int); method public int getPackageId(android.content.res.Resources, String); method @NonNull public android.webkit.WebViewFactory.StartupTimestamps getStartupTimestamps(); method @Deprecated public void invokeDrawGlFunctor(android.view.View, long, boolean); method public boolean isMultiProcessEnabled(); method public boolean isTraceTagEnabled(); method public void setOnTraceEnabledChangeListener(android.webkit.WebViewDelegate.OnTraceEnabledChangeListener); } public static interface WebViewDelegate.OnTraceEnabledChangeListener { method public void onTraceEnabledChange(boolean); } public final class WebViewFactory { ctor public WebViewFactory(); method public static android.content.pm.PackageInfo getLoadedPackageInfo(); method public static int loadWebViewNativeLibraryFromPackage(String, ClassLoader); method public static void prepareWebViewInZygote(); field public static final int LIBLOAD_ADDRESS_SPACE_NOT_RESERVED = 2; // 0x2 field public static final int LIBLOAD_FAILED_JNI_CALL = 7; // 0x7 field public static final int LIBLOAD_FAILED_LISTING_WEBVIEW_PACKAGES = 4; // 0x4 field public static final int LIBLOAD_FAILED_TO_FIND_NAMESPACE = 10; // 0xa field public static final int LIBLOAD_FAILED_TO_LOAD_LIBRARY = 6; // 0x6 field public static final int LIBLOAD_FAILED_TO_OPEN_RELRO_FILE = 5; // 0x5 field public static final int LIBLOAD_FAILED_WAITING_FOR_RELRO = 3; // 0x3 field public static final int LIBLOAD_FAILED_WAITING_FOR_WEBVIEW_REASON_UNKNOWN = 8; // 0x8 field public static final int LIBLOAD_SUCCESS = 0; // 0x0 field public static final int LIBLOAD_WRONG_PACKAGE_NAME = 1; // 0x1 } public static class WebViewFactory.StartupTimestamps { method public long getAddAssetsEnd(); method public long getAddAssetsStart(); method public long getCreateContextEnd(); method public long getCreateContextStart(); method public long getGetClassLoaderEnd(); method public long getGetClassLoaderStart(); method public long getNativeLoadEnd(); method public long getNativeLoadStart(); method public long getProviderClassForNameEnd(); method public long getProviderClassForNameStart(); method public long getWebViewLoadStart(); } public interface WebViewFactoryProvider { method @NonNull public default android.webkit.PacProcessor createPacProcessor(); method public android.webkit.WebViewProvider createWebView(android.webkit.WebView, android.webkit.WebView.PrivateAccess); method public android.webkit.CookieManager getCookieManager(); method public android.webkit.GeolocationPermissions getGeolocationPermissions(); method @NonNull public default android.webkit.PacProcessor getPacProcessor(); method public android.webkit.ServiceWorkerController getServiceWorkerController(); method public android.webkit.WebViewFactoryProvider.Statics getStatics(); method @Deprecated public android.webkit.TokenBindingService getTokenBindingService(); method public android.webkit.TracingController getTracingController(); method public android.webkit.WebIconDatabase getWebIconDatabase(); method public android.webkit.WebStorage getWebStorage(); method public ClassLoader getWebViewClassLoader(); method public android.webkit.WebViewDatabase getWebViewDatabase(android.content.Context); } public static interface WebViewFactoryProvider.Statics { method public void clearClientCertPreferences(Runnable); method public void enableSlowWholeDocumentDraw(); method public String findAddress(String); method public void freeMemoryForTests(); method public String getDefaultUserAgent(android.content.Context); method @NonNull public android.net.Uri getSafeBrowsingPrivacyPolicyUrl(); method public void initSafeBrowsing(android.content.Context, android.webkit.ValueCallback); method public android.net.Uri[] parseFileChooserResult(int, android.content.Intent); method public void setSafeBrowsingWhitelist(java.util.List, android.webkit.ValueCallback); method public void setWebContentsDebuggingEnabled(boolean); } public interface WebViewProvider { method public void addJavascriptInterface(Object, String); method public boolean canGoBack(); method public boolean canGoBackOrForward(int); method public boolean canGoForward(); method public boolean canZoomIn(); method public boolean canZoomOut(); method public android.graphics.Picture capturePicture(); method public void clearCache(boolean); method public void clearFormData(); method public void clearHistory(); method public void clearMatches(); method public void clearSslPreferences(); method public void clearView(); method public android.webkit.WebBackForwardList copyBackForwardList(); method public android.print.PrintDocumentAdapter createPrintDocumentAdapter(String); method public android.webkit.WebMessagePort[] createWebMessageChannel(); method public void destroy(); method public void documentHasImages(android.os.Message); method public void dumpViewHierarchyWithProperties(java.io.BufferedWriter, int); method public void evaluateJavaScript(String, android.webkit.ValueCallback); method public int findAll(String); method public void findAllAsync(String); method public android.view.View findHierarchyView(String, int); method public void findNext(boolean); method public void flingScroll(int, int); method public void freeMemory(); method public android.net.http.SslCertificate getCertificate(); method public int getContentHeight(); method public int getContentWidth(); method public android.graphics.Bitmap getFavicon(); method public android.webkit.WebView.HitTestResult getHitTestResult(); method public String[] getHttpAuthUsernamePassword(String, String); method public String getOriginalUrl(); method public int getProgress(); method public boolean getRendererPriorityWaivedWhenNotVisible(); method public int getRendererRequestedPriority(); method public float getScale(); method public android.webkit.WebViewProvider.ScrollDelegate getScrollDelegate(); method public android.webkit.WebSettings getSettings(); method @NonNull public default android.view.textclassifier.TextClassifier getTextClassifier(); method public String getTitle(); method public String getTouchIconUrl(); method public String getUrl(); method public android.webkit.WebViewProvider.ViewDelegate getViewDelegate(); method public int getVisibleTitleHeight(); method public android.webkit.WebChromeClient getWebChromeClient(); method public android.webkit.WebViewClient getWebViewClient(); method @Nullable public android.webkit.WebViewRenderProcess getWebViewRenderProcess(); method @Nullable public android.webkit.WebViewRenderProcessClient getWebViewRenderProcessClient(); method public android.view.View getZoomControls(); method public void goBack(); method public void goBackOrForward(int); method public void goForward(); method public void init(java.util.Map, boolean); method public void insertVisualStateCallback(long, android.webkit.WebView.VisualStateCallback); method public void invokeZoomPicker(); method public boolean isPaused(); method public boolean isPrivateBrowsingEnabled(); method public void loadData(String, String, String); method public void loadDataWithBaseURL(String, String, String, String, String); method public void loadUrl(String, java.util.Map); method public void loadUrl(String); method public void notifyFindDialogDismissed(); method public void onPause(); method public void onResume(); method public boolean overlayHorizontalScrollbar(); method public boolean overlayVerticalScrollbar(); method public boolean pageDown(boolean); method public boolean pageUp(boolean); method public void pauseTimers(); method public void postMessageToMainFrame(android.webkit.WebMessage, android.net.Uri); method public void postUrl(String, byte[]); method public void reload(); method public void removeJavascriptInterface(String); method public void requestFocusNodeHref(android.os.Message); method public void requestImageRef(android.os.Message); method public boolean restorePicture(android.os.Bundle, java.io.File); method public android.webkit.WebBackForwardList restoreState(android.os.Bundle); method public void resumeTimers(); method public void savePassword(String, String, String); method public boolean savePicture(android.os.Bundle, java.io.File); method public android.webkit.WebBackForwardList saveState(android.os.Bundle); method public void saveWebArchive(String); method public void saveWebArchive(String, boolean, android.webkit.ValueCallback); method public void setCertificate(android.net.http.SslCertificate); method public void setDownloadListener(android.webkit.DownloadListener); method public void setFindListener(android.webkit.WebView.FindListener); method public void setHorizontalScrollbarOverlay(boolean); method public void setHttpAuthUsernamePassword(String, String, String, String); method public void setInitialScale(int); method public void setMapTrackballToArrowKeys(boolean); method public void setNetworkAvailable(boolean); method public void setPictureListener(android.webkit.WebView.PictureListener); method public void setRendererPriorityPolicy(int, boolean); method public default void setTextClassifier(@Nullable android.view.textclassifier.TextClassifier); method public void setVerticalScrollbarOverlay(boolean); method public void setWebChromeClient(android.webkit.WebChromeClient); method public void setWebViewClient(android.webkit.WebViewClient); method public void setWebViewRenderProcessClient(@Nullable java.util.concurrent.Executor, @Nullable android.webkit.WebViewRenderProcessClient); method public boolean showFindDialog(String, boolean); method public void stopLoading(); method public boolean zoomBy(float); method public boolean zoomIn(); method public boolean zoomOut(); } public static interface WebViewProvider.ScrollDelegate { method public int computeHorizontalScrollOffset(); method public int computeHorizontalScrollRange(); method public void computeScroll(); method public int computeVerticalScrollExtent(); method public int computeVerticalScrollOffset(); method public int computeVerticalScrollRange(); } public static interface WebViewProvider.ViewDelegate { method public default void autofill(android.util.SparseArray); method public default void dispatchCreateViewTranslationRequest(@NonNull java.util.Map, @NonNull int[], @Nullable android.view.translation.TranslationCapability, @NonNull java.util.List); method public boolean dispatchKeyEvent(android.view.KeyEvent); method public android.view.View findFocus(android.view.View); method public android.view.accessibility.AccessibilityNodeProvider getAccessibilityNodeProvider(); method public android.os.Handler getHandler(android.os.Handler); method public default boolean isVisibleToUserForAutofill(int); method public void onActivityResult(int, int, android.content.Intent); method @Nullable public default android.view.WindowInsets onApplyWindowInsets(@Nullable android.view.WindowInsets); method public void onAttachedToWindow(); method public default boolean onCheckIsTextEditor(); method public void onConfigurationChanged(android.content.res.Configuration); method public android.view.inputmethod.InputConnection onCreateInputConnection(android.view.inputmethod.EditorInfo); method public default void onCreateVirtualViewTranslationRequests(@NonNull long[], @NonNull int[], @NonNull java.util.function.Consumer); method public void onDetachedFromWindow(); method public boolean onDragEvent(android.view.DragEvent); method public void onDraw(android.graphics.Canvas); method public void onDrawVerticalScrollBar(android.graphics.Canvas, android.graphics.drawable.Drawable, int, int, int, int); method public void onFinishTemporaryDetach(); method public void onFocusChanged(boolean, int, android.graphics.Rect); method public boolean onGenericMotionEvent(android.view.MotionEvent); method public boolean onHoverEvent(android.view.MotionEvent); method public void onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent); method public void onInitializeAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo); method public boolean onKeyDown(int, android.view.KeyEvent); method public boolean onKeyMultiple(int, int, android.view.KeyEvent); method public boolean onKeyUp(int, android.view.KeyEvent); method public void onMeasure(int, int); method public default void onMovedToDisplay(int, android.content.res.Configuration); method public void onOverScrolled(int, int, boolean, boolean); method public default void onProvideAutofillVirtualStructure(android.view.ViewStructure, int); method public default void onProvideContentCaptureStructure(@NonNull android.view.ViewStructure, int); method public void onProvideVirtualStructure(android.view.ViewStructure); method public void onScrollChanged(int, int, int, int); method public void onSizeChanged(int, int, int, int); method public void onStartTemporaryDetach(); method public boolean onTouchEvent(android.view.MotionEvent); method public boolean onTrackballEvent(android.view.MotionEvent); method public default void onVirtualViewTranslationResponses(@NonNull android.util.LongSparseArray); method public void onVisibilityChanged(android.view.View, int); method public void onWindowFocusChanged(boolean); method public void onWindowVisibilityChanged(int); method public boolean performAccessibilityAction(int, android.os.Bundle); method public boolean performLongClick(); method public void preDispatchDraw(android.graphics.Canvas); method public boolean requestChildRectangleOnScreen(android.view.View, android.graphics.Rect, boolean); method public boolean requestFocus(int, android.graphics.Rect); method public void setBackgroundColor(int); method public boolean setFrame(int, int, int, int); method public void setLayerType(int, android.graphics.Paint); method public void setLayoutParams(android.view.ViewGroup.LayoutParams); method public void setOverScrollMode(int); method public void setScrollBarStyle(int); method public boolean shouldDelayChildPressedState(); } public final class WebViewProviderInfo implements android.os.Parcelable { ctor public WebViewProviderInfo(String, String, boolean, boolean, String[]); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public final boolean availableByDefault; field public final String description; field public final boolean isFallback; field public final String packageName; field public final android.content.pm.Signature[] signatures; } public final class WebViewUpdateService { method public static android.webkit.WebViewProviderInfo[] getAllWebViewPackages(); method public static String getCurrentWebViewPackageName(); method public static android.webkit.WebViewProviderInfo[] getValidWebViewPackages(); } } package android.window { public abstract class TaskFpsCallback { ctor public TaskFpsCallback(); method public abstract void onFpsReported(float); } }