1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0 2*344a7f5eSAndroid Build Coastguard Workerpackage android { 3*344a7f5eSAndroid Build Coastguard Worker 4*344a7f5eSAndroid Build Coastguard Worker public static final class Manifest.permission { 5*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_AMBIENT_LIGHT_STATS = "android.permission.ACCESS_AMBIENT_LIGHT_STATS"; 6*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_BROADCAST_RADIO = "android.permission.ACCESS_BROADCAST_RADIO"; 7*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_CACHE_FILESYSTEM = "android.permission.ACCESS_CACHE_FILESYSTEM"; 8*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_CONTEXT_HUB = "android.permission.ACCESS_CONTEXT_HUB"; 9*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_DRM_CERTIFICATES = "android.permission.ACCESS_DRM_CERTIFICATES"; 10*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String ACCESS_FM_RADIO = "android.permission.ACCESS_FM_RADIO"; 11*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_INSTANT_APPS = "android.permission.ACCESS_INSTANT_APPS"; 12*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_LOCUS_ID_USAGE_STATS = "android.permission.ACCESS_LOCUS_ID_USAGE_STATS"; 13*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_MOCK_LOCATION = "android.permission.ACCESS_MOCK_LOCATION"; 14*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_MTP = "android.permission.ACCESS_MTP"; 15*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_NETWORK_CONDITIONS = "android.permission.ACCESS_NETWORK_CONDITIONS"; 16*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_NOTIFICATIONS = "android.permission.ACCESS_NOTIFICATIONS"; 17*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_SHARED_LIBRARIES = "android.permission.ACCESS_SHARED_LIBRARIES"; 18*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_SHORTCUTS = "android.permission.ACCESS_SHORTCUTS"; 19*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_SURFACE_FLINGER = "android.permission.ACCESS_SURFACE_FLINGER"; 20*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_TV_DESCRAMBLER = "android.permission.ACCESS_TV_DESCRAMBLER"; 21*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_TV_TUNER = "android.permission.ACCESS_TV_TUNER"; 22*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_VIBRATOR_STATE = "android.permission.ACCESS_VIBRATOR_STATE"; 23*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTIVITY_EMBEDDING = "android.permission.ACTIVITY_EMBEDDING"; 24*344a7f5eSAndroid Build Coastguard Worker field public static final String ADJUST_RUNTIME_PERMISSIONS_POLICY = "android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY"; 25*344a7f5eSAndroid Build Coastguard Worker field public static final String ALLOCATE_AGGRESSIVE = "android.permission.ALLOCATE_AGGRESSIVE"; 26*344a7f5eSAndroid Build Coastguard Worker field public static final String ALLOW_ANY_CODEC_FOR_PLAYBACK = "android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"; 27*344a7f5eSAndroid Build Coastguard Worker field public static final String AMBIENT_WALLPAPER = "android.permission.AMBIENT_WALLPAPER"; 28*344a7f5eSAndroid Build Coastguard Worker field public static final String APPROVE_INCIDENT_REPORTS = "android.permission.APPROVE_INCIDENT_REPORTS"; 29*344a7f5eSAndroid Build Coastguard Worker field public static final String BACKUP = "android.permission.BACKUP"; 30*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_ATTENTION_SERVICE = "android.permission.BIND_ATTENTION_SERVICE"; 31*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_AUGMENTED_AUTOFILL_SERVICE = "android.permission.BIND_AUGMENTED_AUTOFILL_SERVICE"; 32*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_CELL_BROADCAST_SERVICE = "android.permission.BIND_CELL_BROADCAST_SERVICE"; 33*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String BIND_CONNECTION_SERVICE = "android.permission.BIND_CONNECTION_SERVICE"; 34*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_CONTENT_CAPTURE_SERVICE = "android.permission.BIND_CONTENT_CAPTURE_SERVICE"; 35*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_CONTENT_SUGGESTIONS_SERVICE = "android.permission.BIND_CONTENT_SUGGESTIONS_SERVICE"; 36*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_DIRECTORY_SEARCH = "android.permission.BIND_DIRECTORY_SEARCH"; 37*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_EUICC_SERVICE = "android.permission.BIND_EUICC_SERVICE"; 38*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_EXTERNAL_STORAGE_SERVICE = "android.permission.BIND_EXTERNAL_STORAGE_SERVICE"; 39*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_IMS_SERVICE = "android.permission.BIND_IMS_SERVICE"; 40*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_KEYGUARD_APPWIDGET = "android.permission.BIND_KEYGUARD_APPWIDGET"; 41*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_NETWORK_RECOMMENDATION_SERVICE = "android.permission.BIND_NETWORK_RECOMMENDATION_SERVICE"; 42*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_NOTIFICATION_ASSISTANT_SERVICE = "android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE"; 43*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_PHONE_ACCOUNT_SUGGESTION_SERVICE = "android.permission.BIND_PHONE_ACCOUNT_SUGGESTION_SERVICE"; 44*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_PRINT_RECOMMENDATION_SERVICE = "android.permission.BIND_PRINT_RECOMMENDATION_SERVICE"; 45*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_RESOLVER_RANKER_SERVICE = "android.permission.BIND_RESOLVER_RANKER_SERVICE"; 46*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE = "android.permission.BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE"; 47*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_SETTINGS_SUGGESTIONS_SERVICE = "android.permission.BIND_SETTINGS_SUGGESTIONS_SERVICE"; 48*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_SOUND_TRIGGER_DETECTION_SERVICE = "android.permission.BIND_SOUND_TRIGGER_DETECTION_SERVICE"; 49*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_TELEPHONY_DATA_SERVICE = "android.permission.BIND_TELEPHONY_DATA_SERVICE"; 50*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_TELEPHONY_NETWORK_SERVICE = "android.permission.BIND_TELEPHONY_NETWORK_SERVICE"; 51*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_TEXTCLASSIFIER_SERVICE = "android.permission.BIND_TEXTCLASSIFIER_SERVICE"; 52*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_TRUST_AGENT = "android.permission.BIND_TRUST_AGENT"; 53*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_TV_REMOTE_SERVICE = "android.permission.BIND_TV_REMOTE_SERVICE"; 54*344a7f5eSAndroid Build Coastguard Worker field public static final String BRICK = "android.permission.BRICK"; 55*344a7f5eSAndroid Build Coastguard Worker field public static final String BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_USAGE"; 56*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String BROADCAST_NETWORK_PRIVILEGED = "android.permission.BROADCAST_NETWORK_PRIVILEGED"; 57*344a7f5eSAndroid Build Coastguard Worker field public static final String CAMERA_DISABLE_TRANSMIT_LED = "android.permission.CAMERA_DISABLE_TRANSMIT_LED"; 58*344a7f5eSAndroid Build Coastguard Worker field public static final String CAPTURE_AUDIO_HOTWORD = "android.permission.CAPTURE_AUDIO_HOTWORD"; 59*344a7f5eSAndroid Build Coastguard Worker field public static final String CAPTURE_MEDIA_OUTPUT = "android.permission.CAPTURE_MEDIA_OUTPUT"; 60*344a7f5eSAndroid Build Coastguard Worker field public static final String CAPTURE_TV_INPUT = "android.permission.CAPTURE_TV_INPUT"; 61*344a7f5eSAndroid Build Coastguard Worker field public static final String CAPTURE_VOICE_COMMUNICATION_OUTPUT = "android.permission.CAPTURE_VOICE_COMMUNICATION_OUTPUT"; 62*344a7f5eSAndroid Build Coastguard Worker field public static final String CHANGE_APP_IDLE_STATE = "android.permission.CHANGE_APP_IDLE_STATE"; 63*344a7f5eSAndroid Build Coastguard Worker field public static final String CHANGE_DEVICE_IDLE_TEMP_WHITELIST = "android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"; 64*344a7f5eSAndroid Build Coastguard Worker field public static final String CLEAR_APP_USER_DATA = "android.permission.CLEAR_APP_USER_DATA"; 65*344a7f5eSAndroid Build Coastguard Worker field public static final String COMPANION_APPROVE_WIFI_CONNECTIONS = "android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS"; 66*344a7f5eSAndroid Build Coastguard Worker field public static final String CONFIGURE_DISPLAY_BRIGHTNESS = "android.permission.CONFIGURE_DISPLAY_BRIGHTNESS"; 67*344a7f5eSAndroid Build Coastguard Worker field public static final String CONFIGURE_WIFI_DISPLAY = "android.permission.CONFIGURE_WIFI_DISPLAY"; 68*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String CONNECTIVITY_INTERNAL = "android.permission.CONNECTIVITY_INTERNAL"; 69*344a7f5eSAndroid Build Coastguard Worker field public static final String CONNECTIVITY_USE_RESTRICTED_NETWORKS = "android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"; 70*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTROL_DEVICE_LIGHTS = "android.permission.CONTROL_DEVICE_LIGHTS"; 71*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTROL_DISPLAY_COLOR_TRANSFORMS = "android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS"; 72*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTROL_DISPLAY_SATURATION = "android.permission.CONTROL_DISPLAY_SATURATION"; 73*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTROL_INCALL_EXPERIENCE = "android.permission.CONTROL_INCALL_EXPERIENCE"; 74*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTROL_KEYGUARD_SECURE_NOTIFICATIONS = "android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS"; 75*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTROL_VPN = "android.permission.CONTROL_VPN"; 76*344a7f5eSAndroid Build Coastguard Worker field public static final String CREATE_USERS = "android.permission.CREATE_USERS"; 77*344a7f5eSAndroid Build Coastguard Worker field public static final String CRYPT_KEEPER = "android.permission.CRYPT_KEEPER"; 78*344a7f5eSAndroid Build Coastguard Worker field public static final String DEVICE_POWER = "android.permission.DEVICE_POWER"; 79*344a7f5eSAndroid Build Coastguard Worker field public static final String DISPATCH_PROVISIONING_MESSAGE = "android.permission.DISPATCH_PROVISIONING_MESSAGE"; 80*344a7f5eSAndroid Build Coastguard Worker field public static final String ENTER_CAR_MODE_PRIORITIZED = "android.permission.ENTER_CAR_MODE_PRIORITIZED"; 81*344a7f5eSAndroid Build Coastguard Worker field public static final String EXEMPT_FROM_AUDIO_RECORD_RESTRICTIONS = "android.permission.EXEMPT_FROM_AUDIO_RECORD_RESTRICTIONS"; 82*344a7f5eSAndroid Build Coastguard Worker field public static final String FORCE_BACK = "android.permission.FORCE_BACK"; 83*344a7f5eSAndroid Build Coastguard Worker field public static final String FORCE_STOP_PACKAGES = "android.permission.FORCE_STOP_PACKAGES"; 84*344a7f5eSAndroid Build Coastguard Worker field public static final String GET_APP_OPS_STATS = "android.permission.GET_APP_OPS_STATS"; 85*344a7f5eSAndroid Build Coastguard Worker field public static final String GET_PROCESS_STATE_AND_OOM_SCORE = "android.permission.GET_PROCESS_STATE_AND_OOM_SCORE"; 86*344a7f5eSAndroid Build Coastguard Worker field public static final String GET_RUNTIME_PERMISSIONS = "android.permission.GET_RUNTIME_PERMISSIONS"; 87*344a7f5eSAndroid Build Coastguard Worker field public static final String GET_TOP_ACTIVITY_INFO = "android.permission.GET_TOP_ACTIVITY_INFO"; 88*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS = "android.permission.GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS"; 89*344a7f5eSAndroid Build Coastguard Worker field public static final String GRANT_RUNTIME_PERMISSIONS = "android.permission.GRANT_RUNTIME_PERMISSIONS"; 90*344a7f5eSAndroid Build Coastguard Worker field public static final String GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS = "android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS"; 91*344a7f5eSAndroid Build Coastguard Worker field public static final String HANDLE_CAR_MODE_CHANGES = "android.permission.HANDLE_CAR_MODE_CHANGES"; 92*344a7f5eSAndroid Build Coastguard Worker field public static final String HARDWARE_TEST = "android.permission.HARDWARE_TEST"; 93*344a7f5eSAndroid Build Coastguard Worker field public static final String HDMI_CEC = "android.permission.HDMI_CEC"; 94*344a7f5eSAndroid Build Coastguard Worker field public static final String HIDE_NON_SYSTEM_OVERLAY_WINDOWS = "android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"; 95*344a7f5eSAndroid Build Coastguard Worker field public static final String INJECT_EVENTS = "android.permission.INJECT_EVENTS"; 96*344a7f5eSAndroid Build Coastguard Worker field public static final String INSTALL_DYNAMIC_SYSTEM = "android.permission.INSTALL_DYNAMIC_SYSTEM"; 97*344a7f5eSAndroid Build Coastguard Worker field public static final String INSTALL_GRANT_RUNTIME_PERMISSIONS = "android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS"; 98*344a7f5eSAndroid Build Coastguard Worker field public static final String INSTALL_PACKAGE_UPDATES = "android.permission.INSTALL_PACKAGE_UPDATES"; 99*344a7f5eSAndroid Build Coastguard Worker field public static final String INSTALL_SELF_UPDATES = "android.permission.INSTALL_SELF_UPDATES"; 100*344a7f5eSAndroid Build Coastguard Worker field public static final String INTENT_FILTER_VERIFICATION_AGENT = "android.permission.INTENT_FILTER_VERIFICATION_AGENT"; 101*344a7f5eSAndroid Build Coastguard Worker field public static final String INTERACT_ACROSS_USERS = "android.permission.INTERACT_ACROSS_USERS"; 102*344a7f5eSAndroid Build Coastguard Worker field public static final String INTERACT_ACROSS_USERS_FULL = "android.permission.INTERACT_ACROSS_USERS_FULL"; 103*344a7f5eSAndroid Build Coastguard Worker field public static final String INTERNAL_SYSTEM_WINDOW = "android.permission.INTERNAL_SYSTEM_WINDOW"; 104*344a7f5eSAndroid Build Coastguard Worker field public static final String INVOKE_CARRIER_SETUP = "android.permission.INVOKE_CARRIER_SETUP"; 105*344a7f5eSAndroid Build Coastguard Worker field public static final String KILL_UID = "android.permission.KILL_UID"; 106*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCAL_MAC_ADDRESS = "android.permission.LOCAL_MAC_ADDRESS"; 107*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCK_DEVICE = "android.permission.LOCK_DEVICE"; 108*344a7f5eSAndroid Build Coastguard Worker field public static final String LOOP_RADIO = "android.permission.LOOP_RADIO"; 109*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_ACCESSIBILITY = "android.permission.MANAGE_ACCESSIBILITY"; 110*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS"; 111*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_APP_OPS_RESTRICTIONS = "android.permission.MANAGE_APP_OPS_RESTRICTIONS"; 112*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_APP_PREDICTIONS = "android.permission.MANAGE_APP_PREDICTIONS"; 113*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_APP_TOKENS = "android.permission.MANAGE_APP_TOKENS"; 114*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_AUTO_FILL = "android.permission.MANAGE_AUTO_FILL"; 115*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_CARRIER_OEM_UNLOCK_STATE = "android.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE"; 116*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_CA_CERTIFICATES = "android.permission.MANAGE_CA_CERTIFICATES"; 117*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_CONTENT_CAPTURE = "android.permission.MANAGE_CONTENT_CAPTURE"; 118*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_CONTENT_SUGGESTIONS = "android.permission.MANAGE_CONTENT_SUGGESTIONS"; 119*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_DEBUGGING = "android.permission.MANAGE_DEBUGGING"; 120*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_FACTORY_RESET_PROTECTION = "android.permission.MANAGE_FACTORY_RESET_PROTECTION"; 121*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_IPSEC_TUNNELS = "android.permission.MANAGE_IPSEC_TUNNELS"; 122*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_ONE_TIME_PERMISSION_SESSIONS = "android.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS"; 123*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_ROLE_HOLDERS = "android.permission.MANAGE_ROLE_HOLDERS"; 124*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_ROLLBACKS = "android.permission.MANAGE_ROLLBACKS"; 125*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_SENSOR_PRIVACY = "android.permission.MANAGE_SENSOR_PRIVACY"; 126*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_SOUND_TRIGGER = "android.permission.MANAGE_SOUND_TRIGGER"; 127*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_SUBSCRIPTION_PLANS = "android.permission.MANAGE_SUBSCRIPTION_PLANS"; 128*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_USB = "android.permission.MANAGE_USB"; 129*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_USERS = "android.permission.MANAGE_USERS"; 130*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_USER_OEM_UNLOCK_STATE = "android.permission.MANAGE_USER_OEM_UNLOCK_STATE"; 131*344a7f5eSAndroid Build Coastguard Worker field public static final String MODIFY_APPWIDGET_BIND_PERMISSIONS = "android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"; 132*344a7f5eSAndroid Build Coastguard Worker field public static final String MODIFY_AUDIO_ROUTING = "android.permission.MODIFY_AUDIO_ROUTING"; 133*344a7f5eSAndroid Build Coastguard Worker field public static final String MODIFY_CELL_BROADCASTS = "android.permission.MODIFY_CELL_BROADCASTS"; 134*344a7f5eSAndroid Build Coastguard Worker field public static final String MODIFY_DAY_NIGHT_MODE = "android.permission.MODIFY_DAY_NIGHT_MODE"; 135*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String MODIFY_NETWORK_ACCOUNTING = "android.permission.MODIFY_NETWORK_ACCOUNTING"; 136*344a7f5eSAndroid Build Coastguard Worker field public static final String MODIFY_PARENTAL_CONTROLS = "android.permission.MODIFY_PARENTAL_CONTROLS"; 137*344a7f5eSAndroid Build Coastguard Worker field public static final String MODIFY_QUIET_MODE = "android.permission.MODIFY_QUIET_MODE"; 138*344a7f5eSAndroid Build Coastguard Worker field public static final String MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE = "android.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE"; 139*344a7f5eSAndroid Build Coastguard Worker field public static final String MOVE_PACKAGE = "android.permission.MOVE_PACKAGE"; 140*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_AIRPLANE_MODE = "android.permission.NETWORK_AIRPLANE_MODE"; 141*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_CARRIER_PROVISIONING = "android.permission.NETWORK_CARRIER_PROVISIONING"; 142*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_FACTORY = "android.permission.NETWORK_FACTORY"; 143*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_MANAGED_PROVISIONING = "android.permission.NETWORK_MANAGED_PROVISIONING"; 144*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_SCAN = "android.permission.NETWORK_SCAN"; 145*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_SETTINGS = "android.permission.NETWORK_SETTINGS"; 146*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_SETUP_WIZARD = "android.permission.NETWORK_SETUP_WIZARD"; 147*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_SIGNAL_STRENGTH_WAKEUP = "android.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP"; 148*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_STACK = "android.permission.NETWORK_STACK"; 149*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_STATS_PROVIDER = "android.permission.NETWORK_STATS_PROVIDER"; 150*344a7f5eSAndroid Build Coastguard Worker field public static final String NOTIFICATION_DURING_SETUP = "android.permission.NOTIFICATION_DURING_SETUP"; 151*344a7f5eSAndroid Build Coastguard Worker field public static final String NOTIFY_TV_INPUTS = "android.permission.NOTIFY_TV_INPUTS"; 152*344a7f5eSAndroid Build Coastguard Worker field public static final String OBSERVE_APP_USAGE = "android.permission.OBSERVE_APP_USAGE"; 153*344a7f5eSAndroid Build Coastguard Worker field public static final String OBSERVE_NETWORK_POLICY = "android.permission.OBSERVE_NETWORK_POLICY"; 154*344a7f5eSAndroid Build Coastguard Worker field public static final String OBSERVE_ROLE_HOLDERS = "android.permission.OBSERVE_ROLE_HOLDERS"; 155*344a7f5eSAndroid Build Coastguard Worker field public static final String OPEN_ACCESSIBILITY_DETAILS_SETTINGS = "android.permission.OPEN_ACCESSIBILITY_DETAILS_SETTINGS"; 156*344a7f5eSAndroid Build Coastguard Worker field public static final String OVERRIDE_WIFI_CONFIG = "android.permission.OVERRIDE_WIFI_CONFIG"; 157*344a7f5eSAndroid Build Coastguard Worker field public static final String PACKAGE_VERIFICATION_AGENT = "android.permission.PACKAGE_VERIFICATION_AGENT"; 158*344a7f5eSAndroid Build Coastguard Worker field public static final String PACKET_KEEPALIVE_OFFLOAD = "android.permission.PACKET_KEEPALIVE_OFFLOAD"; 159*344a7f5eSAndroid Build Coastguard Worker field public static final String PEERS_MAC_ADDRESS = "android.permission.PEERS_MAC_ADDRESS"; 160*344a7f5eSAndroid Build Coastguard Worker field public static final String PERFORM_CDMA_PROVISIONING = "android.permission.PERFORM_CDMA_PROVISIONING"; 161*344a7f5eSAndroid Build Coastguard Worker field public static final String PERFORM_SIM_ACTIVATION = "android.permission.PERFORM_SIM_ACTIVATION"; 162*344a7f5eSAndroid Build Coastguard Worker field public static final String POWER_SAVER = "android.permission.POWER_SAVER"; 163*344a7f5eSAndroid Build Coastguard Worker field public static final String PROVIDE_RESOLVER_RANKER_SERVICE = "android.permission.PROVIDE_RESOLVER_RANKER_SERVICE"; 164*344a7f5eSAndroid Build Coastguard Worker field public static final String PROVIDE_TRUST_AGENT = "android.permission.PROVIDE_TRUST_AGENT"; 165*344a7f5eSAndroid Build Coastguard Worker field public static final String QUERY_TIME_ZONE_RULES = "android.permission.QUERY_TIME_ZONE_RULES"; 166*344a7f5eSAndroid Build Coastguard Worker field public static final String RADIO_SCAN_WITHOUT_LOCATION = "android.permission.RADIO_SCAN_WITHOUT_LOCATION"; 167*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_ACTIVE_EMERGENCY_SESSION = "android.permission.READ_ACTIVE_EMERGENCY_SESSION"; 168*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_CARRIER_APP_INFO = "android.permission.READ_CARRIER_APP_INFO"; 169*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS"; 170*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_CONTENT_RATING_SYSTEMS = "android.permission.READ_CONTENT_RATING_SYSTEMS"; 171*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_DEVICE_CONFIG = "android.permission.READ_DEVICE_CONFIG"; 172*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_DREAM_STATE = "android.permission.READ_DREAM_STATE"; 173*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_INSTALL_SESSIONS = "android.permission.READ_INSTALL_SESSIONS"; 174*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_NETWORK_USAGE_HISTORY = "android.permission.READ_NETWORK_USAGE_HISTORY"; 175*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_OEM_UNLOCK_STATE = "android.permission.READ_OEM_UNLOCK_STATE"; 176*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_PRINT_SERVICES = "android.permission.READ_PRINT_SERVICES"; 177*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_PRINT_SERVICE_RECOMMENDATIONS = "android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS"; 178*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_PRIVILEGED_PHONE_STATE = "android.permission.READ_PRIVILEGED_PHONE_STATE"; 179*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_RUNTIME_PROFILES = "android.permission.READ_RUNTIME_PROFILES"; 180*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_SEARCH_INDEXABLES = "android.permission.READ_SEARCH_INDEXABLES"; 181*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_SYSTEM_UPDATE_INFO = "android.permission.READ_SYSTEM_UPDATE_INFO"; 182*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_WALLPAPER_INTERNAL = "android.permission.READ_WALLPAPER_INTERNAL"; 183*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_WIFI_CREDENTIAL = "android.permission.READ_WIFI_CREDENTIAL"; 184*344a7f5eSAndroid Build Coastguard Worker field public static final String REAL_GET_TASKS = "android.permission.REAL_GET_TASKS"; 185*344a7f5eSAndroid Build Coastguard Worker field public static final String RECEIVE_DATA_ACTIVITY_CHANGE = "android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"; 186*344a7f5eSAndroid Build Coastguard Worker field public static final String RECEIVE_DEVICE_CUSTOMIZATION_READY = "android.permission.RECEIVE_DEVICE_CUSTOMIZATION_READY"; 187*344a7f5eSAndroid Build Coastguard Worker field public static final String RECEIVE_EMERGENCY_BROADCAST = "android.permission.RECEIVE_EMERGENCY_BROADCAST"; 188*344a7f5eSAndroid Build Coastguard Worker field public static final String RECEIVE_WIFI_CREDENTIAL_CHANGE = "android.permission.RECEIVE_WIFI_CREDENTIAL_CHANGE"; 189*344a7f5eSAndroid Build Coastguard Worker field public static final String RECOVERY = "android.permission.RECOVERY"; 190*344a7f5eSAndroid Build Coastguard Worker field public static final String RECOVER_KEYSTORE = "android.permission.RECOVER_KEYSTORE"; 191*344a7f5eSAndroid Build Coastguard Worker field public static final String REGISTER_CALL_PROVIDER = "android.permission.REGISTER_CALL_PROVIDER"; 192*344a7f5eSAndroid Build Coastguard Worker field public static final String REGISTER_CONNECTION_MANAGER = "android.permission.REGISTER_CONNECTION_MANAGER"; 193*344a7f5eSAndroid Build Coastguard Worker field public static final String REGISTER_SIM_SUBSCRIPTION = "android.permission.REGISTER_SIM_SUBSCRIPTION"; 194*344a7f5eSAndroid Build Coastguard Worker field public static final String REGISTER_STATS_PULL_ATOM = "android.permission.REGISTER_STATS_PULL_ATOM"; 195*344a7f5eSAndroid Build Coastguard Worker field public static final String REMOTE_DISPLAY_PROVIDER = "android.permission.REMOTE_DISPLAY_PROVIDER"; 196*344a7f5eSAndroid Build Coastguard Worker field public static final String REMOVE_DRM_CERTIFICATES = "android.permission.REMOVE_DRM_CERTIFICATES"; 197*344a7f5eSAndroid Build Coastguard Worker field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS"; 198*344a7f5eSAndroid Build Coastguard Worker field public static final String REQUEST_NETWORK_SCORES = "android.permission.REQUEST_NETWORK_SCORES"; 199*344a7f5eSAndroid Build Coastguard Worker field public static final String REQUEST_NOTIFICATION_ASSISTANT_SERVICE = "android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE"; 200*344a7f5eSAndroid Build Coastguard Worker field public static final String RESET_PASSWORD = "android.permission.RESET_PASSWORD"; 201*344a7f5eSAndroid Build Coastguard Worker field public static final String RESTORE_RUNTIME_PERMISSIONS = "android.permission.RESTORE_RUNTIME_PERMISSIONS"; 202*344a7f5eSAndroid Build Coastguard Worker field public static final String RESTRICTED_VR_ACCESS = "android.permission.RESTRICTED_VR_ACCESS"; 203*344a7f5eSAndroid Build Coastguard Worker field public static final String RETRIEVE_WINDOW_CONTENT = "android.permission.RETRIEVE_WINDOW_CONTENT"; 204*344a7f5eSAndroid Build Coastguard Worker field public static final String REVIEW_ACCESSIBILITY_SERVICES = "android.permission.REVIEW_ACCESSIBILITY_SERVICES"; 205*344a7f5eSAndroid Build Coastguard Worker field public static final String REVOKE_RUNTIME_PERMISSIONS = "android.permission.REVOKE_RUNTIME_PERMISSIONS"; 206*344a7f5eSAndroid Build Coastguard Worker field public static final String SCORE_NETWORKS = "android.permission.SCORE_NETWORKS"; 207*344a7f5eSAndroid Build Coastguard Worker field public static final String SECURE_ELEMENT_PRIVILEGED_OPERATION = "android.permission.SECURE_ELEMENT_PRIVILEGED_OPERATION"; 208*344a7f5eSAndroid Build Coastguard Worker field public static final String SEND_DEVICE_CUSTOMIZATION_READY = "android.permission.SEND_DEVICE_CUSTOMIZATION_READY"; 209*344a7f5eSAndroid Build Coastguard Worker field public static final String SEND_SHOW_SUSPENDED_APP_DETAILS = "android.permission.SEND_SHOW_SUSPENDED_APP_DETAILS"; 210*344a7f5eSAndroid Build Coastguard Worker field public static final String SEND_SMS_NO_CONFIRMATION = "android.permission.SEND_SMS_NO_CONFIRMATION"; 211*344a7f5eSAndroid Build Coastguard Worker field public static final String SERIAL_PORT = "android.permission.SERIAL_PORT"; 212*344a7f5eSAndroid Build Coastguard Worker field public static final String SET_ACTIVITY_WATCHER = "android.permission.SET_ACTIVITY_WATCHER"; 213*344a7f5eSAndroid Build Coastguard Worker field public static final String SET_HARMFUL_APP_WARNINGS = "android.permission.SET_HARMFUL_APP_WARNINGS"; 214*344a7f5eSAndroid Build Coastguard Worker field public static final String SET_MEDIA_KEY_LISTENER = "android.permission.SET_MEDIA_KEY_LISTENER"; 215*344a7f5eSAndroid Build Coastguard Worker field public static final String SET_ORIENTATION = "android.permission.SET_ORIENTATION"; 216*344a7f5eSAndroid Build Coastguard Worker field public static final String SET_POINTER_SPEED = "android.permission.SET_POINTER_SPEED"; 217*344a7f5eSAndroid Build Coastguard Worker field public static final String SET_SCREEN_COMPATIBILITY = "android.permission.SET_SCREEN_COMPATIBILITY"; 218*344a7f5eSAndroid Build Coastguard Worker field public static final String SET_VOLUME_KEY_LONG_PRESS_LISTENER = "android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER"; 219*344a7f5eSAndroid Build Coastguard Worker field public static final String SET_WALLPAPER_COMPONENT = "android.permission.SET_WALLPAPER_COMPONENT"; 220*344a7f5eSAndroid Build Coastguard Worker field public static final String SHOW_KEYGUARD_MESSAGE = "android.permission.SHOW_KEYGUARD_MESSAGE"; 221*344a7f5eSAndroid Build Coastguard Worker field public static final String SHUTDOWN = "android.permission.SHUTDOWN"; 222*344a7f5eSAndroid Build Coastguard Worker field public static final String STOP_APP_SWITCHES = "android.permission.STOP_APP_SWITCHES"; 223*344a7f5eSAndroid Build Coastguard Worker field public static final String SUBSTITUTE_NOTIFICATION_APP_NAME = "android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"; 224*344a7f5eSAndroid Build Coastguard Worker field public static final String SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON = "android.permission.SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON"; 225*344a7f5eSAndroid Build Coastguard Worker field public static final String SUSPEND_APPS = "android.permission.SUSPEND_APPS"; 226*344a7f5eSAndroid Build Coastguard Worker field public static final String SYSTEM_CAMERA = "android.permission.SYSTEM_CAMERA"; 227*344a7f5eSAndroid Build Coastguard Worker field public static final String TETHER_PRIVILEGED = "android.permission.TETHER_PRIVILEGED"; 228*344a7f5eSAndroid Build Coastguard Worker field public static final String TV_INPUT_HARDWARE = "android.permission.TV_INPUT_HARDWARE"; 229*344a7f5eSAndroid Build Coastguard Worker field public static final String TV_VIRTUAL_REMOTE_CONTROLLER = "android.permission.TV_VIRTUAL_REMOTE_CONTROLLER"; 230*344a7f5eSAndroid Build Coastguard Worker field public static final String UNLIMITED_SHORTCUTS_API_CALLS = "android.permission.UNLIMITED_SHORTCUTS_API_CALLS"; 231*344a7f5eSAndroid Build Coastguard Worker field public static final String UPDATE_APP_OPS_STATS = "android.permission.UPDATE_APP_OPS_STATS"; 232*344a7f5eSAndroid Build Coastguard Worker field public static final String UPDATE_LOCK = "android.permission.UPDATE_LOCK"; 233*344a7f5eSAndroid Build Coastguard Worker field public static final String UPDATE_TIME_ZONE_RULES = "android.permission.UPDATE_TIME_ZONE_RULES"; 234*344a7f5eSAndroid Build Coastguard Worker field public static final String UPGRADE_RUNTIME_PERMISSIONS = "android.permission.UPGRADE_RUNTIME_PERMISSIONS"; 235*344a7f5eSAndroid Build Coastguard Worker field public static final String USER_ACTIVITY = "android.permission.USER_ACTIVITY"; 236*344a7f5eSAndroid Build Coastguard Worker field public static final String USE_RESERVED_DISK = "android.permission.USE_RESERVED_DISK"; 237*344a7f5eSAndroid Build Coastguard Worker field public static final String WHITELIST_AUTO_REVOKE_PERMISSIONS = "android.permission.WHITELIST_AUTO_REVOKE_PERMISSIONS"; 238*344a7f5eSAndroid Build Coastguard Worker field public static final String WHITELIST_RESTRICTED_PERMISSIONS = "android.permission.WHITELIST_RESTRICTED_PERMISSIONS"; 239*344a7f5eSAndroid Build Coastguard Worker field public static final String WIFI_SET_DEVICE_MOBILITY_STATE = "android.permission.WIFI_SET_DEVICE_MOBILITY_STATE"; 240*344a7f5eSAndroid Build Coastguard Worker field public static final String WIFI_UPDATE_USABILITY_STATS_SCORE = "android.permission.WIFI_UPDATE_USABILITY_STATS_SCORE"; 241*344a7f5eSAndroid Build Coastguard Worker field public static final String WRITE_DEVICE_CONFIG = "android.permission.WRITE_DEVICE_CONFIG"; 242*344a7f5eSAndroid Build Coastguard Worker field public static final String WRITE_DREAM_STATE = "android.permission.WRITE_DREAM_STATE"; 243*344a7f5eSAndroid Build Coastguard Worker field public static final String WRITE_EMBEDDED_SUBSCRIPTIONS = "android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"; 244*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String WRITE_MEDIA_STORAGE = "android.permission.WRITE_MEDIA_STORAGE"; 245*344a7f5eSAndroid Build Coastguard Worker field public static final String WRITE_OBB = "android.permission.WRITE_OBB"; 246*344a7f5eSAndroid Build Coastguard Worker } 247*344a7f5eSAndroid Build Coastguard Worker 248*344a7f5eSAndroid Build Coastguard Worker public static final class Manifest.permission_group { 249*344a7f5eSAndroid Build Coastguard Worker field public static final String UNDEFINED = "android.permission-group.UNDEFINED"; 250*344a7f5eSAndroid Build Coastguard Worker } 251*344a7f5eSAndroid Build Coastguard Worker 252*344a7f5eSAndroid Build Coastguard Worker public static final class R.array { 253*344a7f5eSAndroid Build Coastguard Worker field public static final int config_keySystemUuidMapping = 17235973; // 0x1070005 254*344a7f5eSAndroid Build Coastguard Worker } 255*344a7f5eSAndroid Build Coastguard Worker 256*344a7f5eSAndroid Build Coastguard Worker public static final class R.attr { 257*344a7f5eSAndroid Build Coastguard Worker field public static final int allowClearUserDataOnFailedRestore = 16844288; // 0x1010600 258*344a7f5eSAndroid Build Coastguard Worker field public static final int isVrOnly = 16844152; // 0x1010578 259*344a7f5eSAndroid Build Coastguard Worker field public static final int minExtensionVersion = 16844305; // 0x1010611 260*344a7f5eSAndroid Build Coastguard Worker field public static final int requiredSystemPropertyName = 16844133; // 0x1010565 261*344a7f5eSAndroid Build Coastguard Worker field public static final int requiredSystemPropertyValue = 16844134; // 0x1010566 262*344a7f5eSAndroid Build Coastguard Worker field public static final int sdkVersion = 16844304; // 0x1010610 263*344a7f5eSAndroid Build Coastguard Worker field public static final int supportsAmbientMode = 16844173; // 0x101058d 264*344a7f5eSAndroid Build Coastguard Worker field public static final int userRestriction = 16844164; // 0x1010584 265*344a7f5eSAndroid Build Coastguard Worker } 266*344a7f5eSAndroid Build Coastguard Worker 267*344a7f5eSAndroid Build Coastguard Worker public static final class R.bool { 268*344a7f5eSAndroid Build Coastguard Worker field public static final int config_sendPackageName = 17891328; // 0x1110000 269*344a7f5eSAndroid Build Coastguard Worker field public static final int config_showDefaultAssistant = 17891329; // 0x1110001 270*344a7f5eSAndroid Build Coastguard Worker field public static final int config_showDefaultEmergency = 17891330; // 0x1110002 271*344a7f5eSAndroid Build Coastguard Worker field public static final int config_showDefaultHome = 17891331; // 0x1110003 272*344a7f5eSAndroid Build Coastguard Worker } 273*344a7f5eSAndroid Build Coastguard Worker 274*344a7f5eSAndroid Build Coastguard Worker public static final class R.color { 275*344a7f5eSAndroid Build Coastguard Worker field public static final int system_notification_accent_color = 17170460; // 0x106001c 276*344a7f5eSAndroid Build Coastguard Worker } 277*344a7f5eSAndroid Build Coastguard Worker 278*344a7f5eSAndroid Build Coastguard Worker public static final class R.dimen { 279*344a7f5eSAndroid Build Coastguard Worker field public static final int config_restrictedIconSize = 17104903; // 0x1050007 280*344a7f5eSAndroid Build Coastguard Worker } 281*344a7f5eSAndroid Build Coastguard Worker 282*344a7f5eSAndroid Build Coastguard Worker public static final class R.drawable { 283*344a7f5eSAndroid Build Coastguard Worker field public static final int ic_info = 17301684; // 0x10800b4 284*344a7f5eSAndroid Build Coastguard Worker } 285*344a7f5eSAndroid Build Coastguard Worker 286*344a7f5eSAndroid Build Coastguard Worker public static final class R.raw { 287*344a7f5eSAndroid Build Coastguard Worker field public static final int loaderror = 17825792; // 0x1100000 288*344a7f5eSAndroid Build Coastguard Worker field public static final int nodomain = 17825793; // 0x1100001 289*344a7f5eSAndroid Build Coastguard Worker } 290*344a7f5eSAndroid Build Coastguard Worker 291*344a7f5eSAndroid Build Coastguard Worker public static final class R.string { 292*344a7f5eSAndroid Build Coastguard Worker field public static final int config_defaultAssistant = 17039393; // 0x1040021 293*344a7f5eSAndroid Build Coastguard Worker field public static final int config_defaultBrowser = 17039394; // 0x1040022 294*344a7f5eSAndroid Build Coastguard Worker field public static final int config_defaultCallRedirection = 17039397; // 0x1040025 295*344a7f5eSAndroid Build Coastguard Worker field public static final int config_defaultCallScreening = 17039398; // 0x1040026 296*344a7f5eSAndroid Build Coastguard Worker field public static final int config_defaultDialer = 17039395; // 0x1040023 297*344a7f5eSAndroid Build Coastguard Worker field public static final int config_defaultSms = 17039396; // 0x1040024 298*344a7f5eSAndroid Build Coastguard Worker field public static final int config_feedbackIntentExtraKey = 17039391; // 0x104001f 299*344a7f5eSAndroid Build Coastguard Worker field public static final int config_feedbackIntentNameKey = 17039392; // 0x1040020 300*344a7f5eSAndroid Build Coastguard Worker field public static final int config_helpIntentExtraKey = 17039389; // 0x104001d 301*344a7f5eSAndroid Build Coastguard Worker field public static final int config_helpIntentNameKey = 17039390; // 0x104001e 302*344a7f5eSAndroid Build Coastguard Worker field public static final int config_helpPackageNameKey = 17039387; // 0x104001b 303*344a7f5eSAndroid Build Coastguard Worker field public static final int config_helpPackageNameValue = 17039388; // 0x104001c 304*344a7f5eSAndroid Build Coastguard Worker field public static final int config_systemGallery = 17039399; // 0x1040027 305*344a7f5eSAndroid Build Coastguard Worker } 306*344a7f5eSAndroid Build Coastguard Worker 307*344a7f5eSAndroid Build Coastguard Worker public static final class R.style { 308*344a7f5eSAndroid Build Coastguard Worker field public static final int Theme_DeviceDefault_DocumentsUI = 16974562; // 0x10302e2 309*344a7f5eSAndroid Build Coastguard Worker field public static final int Theme_Leanback_FormWizard = 16974544; // 0x10302d0 310*344a7f5eSAndroid Build Coastguard Worker } 311*344a7f5eSAndroid Build Coastguard Worker 312*344a7f5eSAndroid Build Coastguard Worker} 313*344a7f5eSAndroid Build Coastguard Worker 314*344a7f5eSAndroid Build Coastguard Workerpackage android.accounts { 315*344a7f5eSAndroid Build Coastguard Worker 316*344a7f5eSAndroid Build Coastguard Worker public class AccountManager { 317*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public android.accounts.AccountManagerFuture<android.os.Bundle> finishSessionAsUser(android.os.Bundle, android.app.Activity, android.os.UserHandle, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler); 318*344a7f5eSAndroid Build Coastguard Worker } 319*344a7f5eSAndroid Build Coastguard Worker 320*344a7f5eSAndroid Build Coastguard Worker} 321*344a7f5eSAndroid Build Coastguard Worker 322*344a7f5eSAndroid Build Coastguard Workerpackage android.app { 323*344a7f5eSAndroid Build Coastguard Worker 324*344a7f5eSAndroid Build Coastguard Worker 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 { 325*344a7f5eSAndroid Build Coastguard Worker method public void convertFromTranslucent(); 326*344a7f5eSAndroid Build Coastguard Worker method public boolean convertToTranslucent(android.app.Activity.TranslucentConversionListener, android.app.ActivityOptions); 327*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean isBackgroundVisibleBehind(); 328*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onBackgroundVisibleBehindChanged(boolean); 329*344a7f5eSAndroid Build Coastguard Worker } 330*344a7f5eSAndroid Build Coastguard Worker 331*344a7f5eSAndroid Build Coastguard Worker public static interface Activity.TranslucentConversionListener { 332*344a7f5eSAndroid Build Coastguard Worker method public void onTranslucentConversionComplete(boolean); 333*344a7f5eSAndroid Build Coastguard Worker } 334*344a7f5eSAndroid Build Coastguard Worker 335*344a7f5eSAndroid Build Coastguard Worker public class ActivityManager { 336*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void addOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener, int); 337*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) public void forceStopPackage(String); 338*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public static int getCurrentUser(); 339*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String); 340*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Collection<java.util.Locale> getSupportedLocales(); 341*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getUidImportance(int); 342*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) public void killProcessesWhenImperceptible(@NonNull int[], @NonNull String); 343*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.KILL_UID) public void killUid(int, String); 344*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void removeOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener); 345*344a7f5eSAndroid Build Coastguard Worker method public void setDeviceLocales(@NonNull android.os.LocaleList); 346*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public static void setPersistentVrThread(int); 347*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean switchUser(@NonNull android.os.UserHandle); 348*344a7f5eSAndroid Build Coastguard Worker } 349*344a7f5eSAndroid Build Coastguard Worker 350*344a7f5eSAndroid Build Coastguard Worker public static interface ActivityManager.OnUidImportanceListener { 351*344a7f5eSAndroid Build Coastguard Worker method public void onUidImportance(int, int); 352*344a7f5eSAndroid Build Coastguard Worker } 353*344a7f5eSAndroid Build Coastguard Worker 354*344a7f5eSAndroid Build Coastguard Worker public class AlarmManager { 355*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void set(int, long, long, long, android.app.PendingIntent, android.os.WorkSource); 356*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void set(int, long, long, long, android.app.AlarmManager.OnAlarmListener, android.os.Handler, android.os.WorkSource); 357*344a7f5eSAndroid Build Coastguard Worker } 358*344a7f5eSAndroid Build Coastguard Worker 359*344a7f5eSAndroid Build Coastguard Worker public class AppOpsManager { 360*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public android.app.RuntimeAppOpAccessMessage collectRuntimeAppOpAccessMessage(); 361*344a7f5eSAndroid Build Coastguard Worker 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<android.app.AppOpsManager.HistoricalOps>); 362*344a7f5eSAndroid Build Coastguard Worker method public static String[] getOpStrs(); 363*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getOpsForPackage(int, @NonNull String, @Nullable java.lang.String...); 364*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getPackagesForOps(@Nullable String[]); 365*344a7f5eSAndroid Build Coastguard Worker method public static int opToDefaultMode(@NonNull String); 366*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static String opToPermission(@NonNull String); 367*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setMode(@NonNull String, int, @Nullable String, int); 368*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setUidMode(@NonNull String, int, int); 369*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_ACCEPT_HANDOVER = "android:accept_handover"; 370*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_ACCESS_ACCESSIBILITY = "android:access_accessibility"; 371*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_ACCESS_NOTIFICATIONS = "android:access_notifications"; 372*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_ACTIVATE_VPN = "android:activate_vpn"; 373*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_ASSIST_SCREENSHOT = "android:assist_screenshot"; 374*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_ASSIST_STRUCTURE = "android:assist_structure"; 375*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_ACCESSIBILITY_VOLUME = "android:audio_accessibility_volume"; 376*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_ALARM_VOLUME = "android:audio_alarm_volume"; 377*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_BLUETOOTH_VOLUME = "android:audio_bluetooth_volume"; 378*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_MASTER_VOLUME = "android:audio_master_volume"; 379*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_MEDIA_VOLUME = "android:audio_media_volume"; 380*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_NOTIFICATION_VOLUME = "android:audio_notification_volume"; 381*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_RING_VOLUME = "android:audio_ring_volume"; 382*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_VOICE_VOLUME = "android:audio_voice_volume"; 383*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUTO_REVOKE_MANAGED_BY_INSTALLER = "android:auto_revoke_managed_by_installer"; 384*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED = "android:auto_revoke_permissions_if_unused"; 385*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_BIND_ACCESSIBILITY_SERVICE = "android:bind_accessibility_service"; 386*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state"; 387*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_GET_ACCOUNTS = "android:get_accounts"; 388*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_GPS = "android:gps"; 389*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_INSTANT_APP_START_FOREGROUND = "android:instant_app_start_foreground"; 390*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_INTERACT_ACROSS_PROFILES = "android:interact_across_profiles"; 391*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_LEGACY_STORAGE = "android:legacy_storage"; 392*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_LOADER_USAGE_STATS = "android:loader_usage_stats"; 393*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_MANAGE_EXTERNAL_STORAGE = "android:manage_external_storage"; 394*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_MANAGE_IPSEC_TUNNELS = "android:manage_ipsec_tunnels"; 395*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_MUTE_MICROPHONE = "android:mute_microphone"; 396*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_NEIGHBORING_CELLS = "android:neighboring_cells"; 397*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_PLAY_AUDIO = "android:play_audio"; 398*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_POST_NOTIFICATION = "android:post_notification"; 399*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_PROJECT_MEDIA = "android:project_media"; 400*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_READ_CLIPBOARD = "android:read_clipboard"; 401*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_READ_ICC_SMS = "android:read_icc_sms"; 402*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_READ_MEDIA_AUDIO = "android:read_media_audio"; 403*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_READ_MEDIA_IMAGES = "android:read_media_images"; 404*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_READ_MEDIA_VIDEO = "android:read_media_video"; 405*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_RECEIVE_EMERGENCY_BROADCAST = "android:receive_emergency_broadcast"; 406*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_REQUEST_DELETE_PACKAGES = "android:request_delete_packages"; 407*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_REQUEST_INSTALL_PACKAGES = "android:request_install_packages"; 408*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_RUN_ANY_IN_BACKGROUND = "android:run_any_in_background"; 409*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_RUN_IN_BACKGROUND = "android:run_in_background"; 410*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_START_FOREGROUND = "android:start_foreground"; 411*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_TAKE_AUDIO_FOCUS = "android:take_audio_focus"; 412*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_TAKE_MEDIA_BUTTONS = "android:take_media_buttons"; 413*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_TOAST_WINDOW = "android:toast_window"; 414*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_TURN_SCREEN_ON = "android:turn_screen_on"; 415*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_VIBRATE = "android:vibrate"; 416*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WAKE_LOCK = "android:wake_lock"; 417*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WIFI_SCAN = "android:wifi_scan"; 418*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_CLIPBOARD = "android:write_clipboard"; 419*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_ICC_SMS = "android:write_icc_sms"; 420*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_MEDIA_AUDIO = "android:write_media_audio"; 421*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_MEDIA_IMAGES = "android:write_media_images"; 422*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_MEDIA_VIDEO = "android:write_media_video"; 423*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_SMS = "android:write_sms"; 424*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_WALLPAPER = "android:write_wallpaper"; 425*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAGS_ALL = 31; // 0x1f 426*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAGS_ALL_TRUSTED = 13; // 0xd 427*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAG_SELF = 1; // 0x1 428*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAG_TRUSTED_PROXIED = 8; // 0x8 429*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAG_TRUSTED_PROXY = 2; // 0x2 430*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAG_UNTRUSTED_PROXIED = 16; // 0x10 431*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAG_UNTRUSTED_PROXY = 4; // 0x4 432*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_STATE_BACKGROUND = 600; // 0x258 433*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_STATE_CACHED = 700; // 0x2bc 434*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_STATE_FOREGROUND = 500; // 0x1f4 435*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_STATE_FOREGROUND_SERVICE = 400; // 0x190 436*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int UID_STATE_FOREGROUND_SERVICE_LOCATION = 300; // 0x12c 437*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_STATE_PERSISTENT = 100; // 0x64 438*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_STATE_TOP = 200; // 0xc8 439*344a7f5eSAndroid Build Coastguard Worker } 440*344a7f5eSAndroid Build Coastguard Worker 441*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.AttributedHistoricalOps implements android.os.Parcelable { 442*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 443*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String); 444*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOp getOpAt(@IntRange(from=0) int); 445*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getOpCount(); 446*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getTag(); 447*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 448*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.AttributedHistoricalOps> CREATOR; 449*344a7f5eSAndroid Build Coastguard Worker } 450*344a7f5eSAndroid Build Coastguard Worker 451*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.AttributedOpEntry implements android.os.Parcelable { 452*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 453*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessBackgroundTime(int); 454*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessForegroundTime(int); 455*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessTime(int); 456*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessTime(int, int, int); 457*344a7f5eSAndroid Build Coastguard Worker method public long getLastBackgroundDuration(int); 458*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastBackgroundProxyInfo(int); 459*344a7f5eSAndroid Build Coastguard Worker method public long getLastDuration(int); 460*344a7f5eSAndroid Build Coastguard Worker method public long getLastDuration(int, int, int); 461*344a7f5eSAndroid Build Coastguard Worker method public long getLastForegroundDuration(int); 462*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastForegroundProxyInfo(int); 463*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int); 464*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int, int, int); 465*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectBackgroundTime(int); 466*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectForegroundTime(int); 467*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectTime(int); 468*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectTime(int, int, int); 469*344a7f5eSAndroid Build Coastguard Worker method public boolean isRunning(); 470*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 471*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.AttributedOpEntry> CREATOR; 472*344a7f5eSAndroid Build Coastguard Worker } 473*344a7f5eSAndroid Build Coastguard Worker 474*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.HistoricalOp implements android.os.Parcelable { 475*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 476*344a7f5eSAndroid Build Coastguard Worker method public long getAccessCount(int, int, int); 477*344a7f5eSAndroid Build Coastguard Worker method public long getAccessDuration(int, int, int); 478*344a7f5eSAndroid Build Coastguard Worker method public long getBackgroundAccessCount(int); 479*344a7f5eSAndroid Build Coastguard Worker method public long getBackgroundAccessDuration(int); 480*344a7f5eSAndroid Build Coastguard Worker method public long getBackgroundRejectCount(int); 481*344a7f5eSAndroid Build Coastguard Worker method public long getForegroundAccessCount(int); 482*344a7f5eSAndroid Build Coastguard Worker method public long getForegroundAccessDuration(int); 483*344a7f5eSAndroid Build Coastguard Worker method public long getForegroundRejectCount(int); 484*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getOpName(); 485*344a7f5eSAndroid Build Coastguard Worker method public long getRejectCount(int, int, int); 486*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 487*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOp> CREATOR; 488*344a7f5eSAndroid Build Coastguard Worker } 489*344a7f5eSAndroid Build Coastguard Worker 490*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.HistoricalOps implements android.os.Parcelable { 491*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 492*344a7f5eSAndroid Build Coastguard Worker method public long getBeginTimeMillis(); 493*344a7f5eSAndroid Build Coastguard Worker method public long getEndTimeMillis(); 494*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getUidCount(); 495*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.HistoricalUidOps getUidOps(int); 496*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalUidOps getUidOpsAt(@IntRange(from=0) int); 497*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 498*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOps> CREATOR; 499*344a7f5eSAndroid Build Coastguard Worker } 500*344a7f5eSAndroid Build Coastguard Worker 501*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.HistoricalOpsRequest { 502*344a7f5eSAndroid Build Coastguard Worker } 503*344a7f5eSAndroid Build Coastguard Worker 504*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.HistoricalOpsRequest.Builder { 505*344a7f5eSAndroid Build Coastguard Worker ctor public AppOpsManager.HistoricalOpsRequest.Builder(long, long); 506*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest build(); 507*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setAttributionTag(@Nullable String); 508*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setFlags(int); 509*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setOpNames(@Nullable java.util.List<java.lang.String>); 510*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setPackageName(@Nullable String); 511*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setUid(int); 512*344a7f5eSAndroid Build Coastguard Worker } 513*344a7f5eSAndroid Build Coastguard Worker 514*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.HistoricalPackageOps implements android.os.Parcelable { 515*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 516*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.AttributedHistoricalOps getAttributedOps(@NonNull String); 517*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.AttributedHistoricalOps getAttributedOpsAt(@IntRange(from=0) int); 518*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getAttributedOpsCount(); 519*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String); 520*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOp getOpAt(@IntRange(from=0) int); 521*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getOpCount(); 522*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 523*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 524*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalPackageOps> CREATOR; 525*344a7f5eSAndroid Build Coastguard Worker } 526*344a7f5eSAndroid Build Coastguard Worker 527*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.HistoricalUidOps implements android.os.Parcelable { 528*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 529*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getPackageCount(); 530*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.HistoricalPackageOps getPackageOps(@NonNull String); 531*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalPackageOps getPackageOpsAt(@IntRange(from=0) int); 532*344a7f5eSAndroid Build Coastguard Worker method public int getUid(); 533*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 534*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalUidOps> CREATOR; 535*344a7f5eSAndroid Build Coastguard Worker } 536*344a7f5eSAndroid Build Coastguard Worker 537*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.OpEntry implements android.os.Parcelable { 538*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 539*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Map<java.lang.String,android.app.AppOpsManager.AttributedOpEntry> getAttributedOpEntries(); 540*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public long getDuration(); 541*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessBackgroundTime(int); 542*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessForegroundTime(int); 543*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessTime(int); 544*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessTime(int, int, int); 545*344a7f5eSAndroid Build Coastguard Worker method public long getLastBackgroundDuration(int); 546*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastBackgroundProxyInfo(int); 547*344a7f5eSAndroid Build Coastguard Worker method public long getLastDuration(int); 548*344a7f5eSAndroid Build Coastguard Worker method public long getLastDuration(int, int, int); 549*344a7f5eSAndroid Build Coastguard Worker method public long getLastForegroundDuration(int); 550*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastForegroundProxyInfo(int); 551*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int); 552*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int, int, int); 553*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectBackgroundTime(int); 554*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectForegroundTime(int); 555*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectTime(int); 556*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectTime(int, int, int); 557*344a7f5eSAndroid Build Coastguard Worker method public int getMode(); 558*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getOpStr(); 559*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @Nullable public String getProxyPackageName(); 560*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @Nullable public String getProxyPackageName(int, int); 561*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getProxyUid(); 562*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getProxyUid(int, int); 563*344a7f5eSAndroid Build Coastguard Worker method public boolean isRunning(); 564*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 565*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR; 566*344a7f5eSAndroid Build Coastguard Worker } 567*344a7f5eSAndroid Build Coastguard Worker 568*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.OpEventProxyInfo implements android.os.Parcelable { 569*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 570*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getAttributionTag(); 571*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getPackageName(); 572*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getUid(); 573*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 574*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEventProxyInfo> CREATOR; 575*344a7f5eSAndroid Build Coastguard Worker } 576*344a7f5eSAndroid Build Coastguard Worker 577*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.PackageOps implements android.os.Parcelable { 578*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 579*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.app.AppOpsManager.OpEntry> getOps(); 580*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 581*344a7f5eSAndroid Build Coastguard Worker method public int getUid(); 582*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 583*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.PackageOps> CREATOR; 584*344a7f5eSAndroid Build Coastguard Worker } 585*344a7f5eSAndroid Build Coastguard Worker 586*344a7f5eSAndroid Build Coastguard Worker public class BroadcastOptions { 587*344a7f5eSAndroid Build Coastguard Worker method public static android.app.BroadcastOptions makeBasic(); 588*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.START_ACTIVITIES_FROM_BACKGROUND") public void setBackgroundActivityStartsAllowed(boolean); 589*344a7f5eSAndroid Build Coastguard Worker method public void setDontSendToRestrictedApps(boolean); 590*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void setTemporaryAppWhitelistDuration(long); 591*344a7f5eSAndroid Build Coastguard Worker method public android.os.Bundle toBundle(); 592*344a7f5eSAndroid Build Coastguard Worker } 593*344a7f5eSAndroid Build Coastguard Worker 594*344a7f5eSAndroid Build Coastguard Worker public class DownloadManager { 595*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_MEDIA_STORAGE) public void onMediaStoreDownloadsDeleted(@NonNull android.util.LongSparseArray<java.lang.String>); 596*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_DOWNLOAD_COMPLETED = "android.intent.action.DOWNLOAD_COMPLETED"; 597*344a7f5eSAndroid Build Coastguard Worker } 598*344a7f5eSAndroid Build Coastguard Worker 599*344a7f5eSAndroid Build Coastguard Worker public abstract class InstantAppResolverService extends android.app.Service { 600*344a7f5eSAndroid Build Coastguard Worker ctor public InstantAppResolverService(); 601*344a7f5eSAndroid Build Coastguard Worker method public final void attachBaseContext(android.content.Context); 602*344a7f5eSAndroid Build Coastguard Worker method public final android.os.IBinder onBind(android.content.Intent); 603*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onGetInstantAppIntentFilter(@Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); 604*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onGetInstantAppIntentFilter(@NonNull android.content.Intent, @Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); 605*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onGetInstantAppIntentFilter(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); 606*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onGetInstantAppIntentFilter(@NonNull android.content.pm.InstantAppRequestInfo, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); 607*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onGetInstantAppResolveInfo(@Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); 608*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onGetInstantAppResolveInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); 609*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onGetInstantAppResolveInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); 610*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onGetInstantAppResolveInfo(@NonNull android.content.pm.InstantAppRequestInfo, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); 611*344a7f5eSAndroid Build Coastguard Worker } 612*344a7f5eSAndroid Build Coastguard Worker 613*344a7f5eSAndroid Build Coastguard Worker public static final class InstantAppResolverService.InstantAppResolutionCallback { 614*344a7f5eSAndroid Build Coastguard Worker method public void onInstantAppResolveInfo(java.util.List<android.content.pm.InstantAppResolveInfo>); 615*344a7f5eSAndroid Build Coastguard Worker } 616*344a7f5eSAndroid Build Coastguard Worker 617*344a7f5eSAndroid Build Coastguard Worker public class KeyguardManager { 618*344a7f5eSAndroid Build Coastguard Worker method public android.content.Intent createConfirmFactoryResetCredentialIntent(CharSequence, CharSequence, CharSequence); 619*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public int getMinLockLength(boolean, int); 620*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS) public boolean getPrivateNotificationsAllowed(); 621*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public boolean isValidLockPasswordComplexity(int, @NonNull byte[], int); 622*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.SHOW_KEYGUARD_MESSAGE) public void requestDismissKeyguard(@NonNull android.app.Activity, @Nullable CharSequence, @Nullable android.app.KeyguardManager.KeyguardDismissCallback); 623*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public boolean setLock(int, @NonNull byte[], int); 624*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS) public void setPrivateNotificationsAllowed(boolean); 625*344a7f5eSAndroid Build Coastguard Worker } 626*344a7f5eSAndroid Build Coastguard Worker 627*344a7f5eSAndroid Build Coastguard Worker public class Notification implements android.os.Parcelable { 628*344a7f5eSAndroid Build Coastguard Worker field public static final String CATEGORY_CAR_EMERGENCY = "car_emergency"; 629*344a7f5eSAndroid Build Coastguard Worker field public static final String CATEGORY_CAR_INFORMATION = "car_information"; 630*344a7f5eSAndroid Build Coastguard Worker field public static final String CATEGORY_CAR_WARNING = "car_warning"; 631*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.NOTIFICATION_DURING_SETUP) public static final String EXTRA_ALLOW_DURING_SETUP = "android.allowDuringSetup"; 632*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.SUBSTITUTE_NOTIFICATION_APP_NAME) public static final String EXTRA_SUBSTITUTE_APP_NAME = "android.substName"; 633*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_AUTOGROUP_SUMMARY = 1024; // 0x400 634*344a7f5eSAndroid Build Coastguard Worker } 635*344a7f5eSAndroid Build Coastguard Worker 636*344a7f5eSAndroid Build Coastguard Worker public static final class Notification.TvExtender implements android.app.Notification.Extender { 637*344a7f5eSAndroid Build Coastguard Worker ctor public Notification.TvExtender(); 638*344a7f5eSAndroid Build Coastguard Worker ctor public Notification.TvExtender(android.app.Notification); 639*344a7f5eSAndroid Build Coastguard Worker method public android.app.Notification.Builder extend(android.app.Notification.Builder); 640*344a7f5eSAndroid Build Coastguard Worker method public String getChannelId(); 641*344a7f5eSAndroid Build Coastguard Worker method public android.app.PendingIntent getContentIntent(); 642*344a7f5eSAndroid Build Coastguard Worker method public android.app.PendingIntent getDeleteIntent(); 643*344a7f5eSAndroid Build Coastguard Worker method public boolean getSuppressShowOverApps(); 644*344a7f5eSAndroid Build Coastguard Worker method public boolean isAvailableOnTv(); 645*344a7f5eSAndroid Build Coastguard Worker method public android.app.Notification.TvExtender setChannel(String); 646*344a7f5eSAndroid Build Coastguard Worker method public android.app.Notification.TvExtender setChannelId(String); 647*344a7f5eSAndroid Build Coastguard Worker method public android.app.Notification.TvExtender setContentIntent(android.app.PendingIntent); 648*344a7f5eSAndroid Build Coastguard Worker method public android.app.Notification.TvExtender setDeleteIntent(android.app.PendingIntent); 649*344a7f5eSAndroid Build Coastguard Worker method public android.app.Notification.TvExtender setSuppressShowOverApps(boolean); 650*344a7f5eSAndroid Build Coastguard Worker } 651*344a7f5eSAndroid Build Coastguard Worker 652*344a7f5eSAndroid Build Coastguard Worker public final class NotificationChannel implements android.os.Parcelable { 653*344a7f5eSAndroid Build Coastguard Worker method public int getUserLockedFields(); 654*344a7f5eSAndroid Build Coastguard Worker method public boolean isDeleted(); 655*344a7f5eSAndroid Build Coastguard Worker method public void populateFromXml(org.xmlpull.v1.XmlPullParser); 656*344a7f5eSAndroid Build Coastguard Worker method public void setBlockable(boolean); 657*344a7f5eSAndroid Build Coastguard Worker method public org.json.JSONObject toJson() throws org.json.JSONException; 658*344a7f5eSAndroid Build Coastguard Worker method public void writeXml(org.xmlpull.v1.XmlSerializer) throws java.io.IOException; 659*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_LOCKED_SOUND = 32; // 0x20 660*344a7f5eSAndroid Build Coastguard Worker } 661*344a7f5eSAndroid Build Coastguard Worker 662*344a7f5eSAndroid Build Coastguard Worker public final class NotificationChannelGroup implements android.os.Parcelable { 663*344a7f5eSAndroid Build Coastguard Worker method public org.json.JSONObject toJson() throws org.json.JSONException; 664*344a7f5eSAndroid Build Coastguard Worker } 665*344a7f5eSAndroid Build Coastguard Worker 666*344a7f5eSAndroid Build Coastguard Worker public class NotificationManager { 667*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.lang.String> getAllowedAssistantAdjustments(); 668*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.ComponentName getAllowedNotificationAssistant(); 669*344a7f5eSAndroid Build Coastguard Worker method public boolean isNotificationAssistantAccessGranted(@NonNull android.content.ComponentName); 670*344a7f5eSAndroid Build Coastguard Worker method public void setNotificationAssistantAccessGranted(@Nullable android.content.ComponentName, boolean); 671*344a7f5eSAndroid Build Coastguard Worker } 672*344a7f5eSAndroid Build Coastguard Worker 673*344a7f5eSAndroid Build Coastguard Worker public final class RuntimeAppOpAccessMessage implements android.os.Parcelable { 674*344a7f5eSAndroid Build Coastguard Worker ctor public RuntimeAppOpAccessMessage(@IntRange(from=0L) int, @IntRange(from=0L) int, @NonNull String, @Nullable String, @NonNull String, int); 675*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 676*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getAttributionTag(); 677*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getMessage(); 678*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getOp(); 679*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 680*344a7f5eSAndroid Build Coastguard Worker method public int getSamplingStrategy(); 681*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0L) public int getUid(); 682*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 683*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.RuntimeAppOpAccessMessage> CREATOR; 684*344a7f5eSAndroid Build Coastguard Worker } 685*344a7f5eSAndroid Build Coastguard Worker 686*344a7f5eSAndroid Build Coastguard Worker public class SearchManager implements android.content.DialogInterface.OnCancelListener android.content.DialogInterface.OnDismissListener { 687*344a7f5eSAndroid Build Coastguard Worker method public void launchAssist(@Nullable android.os.Bundle); 688*344a7f5eSAndroid Build Coastguard Worker } 689*344a7f5eSAndroid Build Coastguard Worker 690*344a7f5eSAndroid Build Coastguard Worker public class StatusBarManager { 691*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.STATUS_BAR) public android.app.StatusBarManager.DisableInfo getDisableInfo(); 692*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setDisabledForSetup(boolean); 693*344a7f5eSAndroid Build Coastguard Worker } 694*344a7f5eSAndroid Build Coastguard Worker 695*344a7f5eSAndroid Build Coastguard Worker public static final class StatusBarManager.DisableInfo { 696*344a7f5eSAndroid Build Coastguard Worker method public boolean areAllComponentsEnabled(); 697*344a7f5eSAndroid Build Coastguard Worker method public boolean isNavigateToHomeDisabled(); 698*344a7f5eSAndroid Build Coastguard Worker method public boolean isNotificationPeekingDisabled(); 699*344a7f5eSAndroid Build Coastguard Worker method public boolean isRecentsDisabled(); 700*344a7f5eSAndroid Build Coastguard Worker method public boolean isSearchDisabled(); 701*344a7f5eSAndroid Build Coastguard Worker method public boolean isStatusBarExpansionDisabled(); 702*344a7f5eSAndroid Build Coastguard Worker } 703*344a7f5eSAndroid Build Coastguard Worker 704*344a7f5eSAndroid Build Coastguard Worker public final class SystemServiceRegistry { 705*344a7f5eSAndroid Build Coastguard Worker method public static <TServiceClass> void registerContextAwareService(@NonNull String, @NonNull Class<TServiceClass>, @NonNull android.app.SystemServiceRegistry.ContextAwareServiceProducerWithBinder<TServiceClass>); 706*344a7f5eSAndroid Build Coastguard Worker method public static <TServiceClass> void registerContextAwareService(@NonNull String, @NonNull Class<TServiceClass>, @NonNull android.app.SystemServiceRegistry.ContextAwareServiceProducerWithoutBinder<TServiceClass>); 707*344a7f5eSAndroid Build Coastguard Worker method public static <TServiceClass> void registerStaticService(@NonNull String, @NonNull Class<TServiceClass>, @NonNull android.app.SystemServiceRegistry.StaticServiceProducerWithBinder<TServiceClass>); 708*344a7f5eSAndroid Build Coastguard Worker method public static <TServiceClass> void registerStaticService(@NonNull String, @NonNull Class<TServiceClass>, @NonNull android.app.SystemServiceRegistry.StaticServiceProducerWithoutBinder<TServiceClass>); 709*344a7f5eSAndroid Build Coastguard Worker } 710*344a7f5eSAndroid Build Coastguard Worker 711*344a7f5eSAndroid Build Coastguard Worker public static interface SystemServiceRegistry.ContextAwareServiceProducerWithBinder<TServiceClass> { 712*344a7f5eSAndroid Build Coastguard Worker method @NonNull public TServiceClass createService(@NonNull android.content.Context, @NonNull android.os.IBinder); 713*344a7f5eSAndroid Build Coastguard Worker } 714*344a7f5eSAndroid Build Coastguard Worker 715*344a7f5eSAndroid Build Coastguard Worker public static interface SystemServiceRegistry.ContextAwareServiceProducerWithoutBinder<TServiceClass> { 716*344a7f5eSAndroid Build Coastguard Worker method @NonNull public TServiceClass createService(@NonNull android.content.Context); 717*344a7f5eSAndroid Build Coastguard Worker } 718*344a7f5eSAndroid Build Coastguard Worker 719*344a7f5eSAndroid Build Coastguard Worker public static interface SystemServiceRegistry.StaticServiceProducerWithBinder<TServiceClass> { 720*344a7f5eSAndroid Build Coastguard Worker method @NonNull public TServiceClass createService(@NonNull android.os.IBinder); 721*344a7f5eSAndroid Build Coastguard Worker } 722*344a7f5eSAndroid Build Coastguard Worker 723*344a7f5eSAndroid Build Coastguard Worker public static interface SystemServiceRegistry.StaticServiceProducerWithoutBinder<TServiceClass> { 724*344a7f5eSAndroid Build Coastguard Worker method @NonNull public TServiceClass createService(); 725*344a7f5eSAndroid Build Coastguard Worker } 726*344a7f5eSAndroid Build Coastguard Worker 727*344a7f5eSAndroid Build Coastguard Worker public class UiModeManager { 728*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ENTER_CAR_MODE_PRIORITIZED) public void enableCarMode(@IntRange(from=0) int, int); 729*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_ENTER_CAR_MODE_PRIORITIZED = "android.app.action.ENTER_CAR_MODE_PRIORITIZED"; 730*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_EXIT_CAR_MODE_PRIORITIZED = "android.app.action.EXIT_CAR_MODE_PRIORITIZED"; 731*344a7f5eSAndroid Build Coastguard Worker field public static final int DEFAULT_PRIORITY = 0; // 0x0 732*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CALLING_PACKAGE = "android.app.extra.CALLING_PACKAGE"; 733*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PRIORITY = "android.app.extra.PRIORITY"; 734*344a7f5eSAndroid Build Coastguard Worker } 735*344a7f5eSAndroid Build Coastguard Worker 736*344a7f5eSAndroid Build Coastguard Worker public final class Vr2dDisplayProperties implements android.os.Parcelable { 737*344a7f5eSAndroid Build Coastguard Worker ctor public Vr2dDisplayProperties(int, int, int); 738*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 739*344a7f5eSAndroid Build Coastguard Worker method public void dump(@NonNull java.io.PrintWriter, @NonNull String); 740*344a7f5eSAndroid Build Coastguard Worker method public int getAddedFlags(); 741*344a7f5eSAndroid Build Coastguard Worker method public int getDpi(); 742*344a7f5eSAndroid Build Coastguard Worker method public int getHeight(); 743*344a7f5eSAndroid Build Coastguard Worker method public int getRemovedFlags(); 744*344a7f5eSAndroid Build Coastguard Worker method public int getWidth(); 745*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 746*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.Vr2dDisplayProperties> CREATOR; 747*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_VIRTUAL_DISPLAY_ENABLED = 1; // 0x1 748*344a7f5eSAndroid Build Coastguard Worker } 749*344a7f5eSAndroid Build Coastguard Worker 750*344a7f5eSAndroid Build Coastguard Worker public static final class Vr2dDisplayProperties.Builder { 751*344a7f5eSAndroid Build Coastguard Worker ctor public Vr2dDisplayProperties.Builder(); 752*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.Vr2dDisplayProperties.Builder addFlags(int); 753*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.Vr2dDisplayProperties build(); 754*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.Vr2dDisplayProperties.Builder removeFlags(int); 755*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.Vr2dDisplayProperties.Builder setDimensions(int, int, int); 756*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.Vr2dDisplayProperties.Builder setEnabled(boolean); 757*344a7f5eSAndroid Build Coastguard Worker } 758*344a7f5eSAndroid Build Coastguard Worker 759*344a7f5eSAndroid Build Coastguard Worker public class VrManager { 760*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public int getVr2dDisplayId(); 761*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public boolean isPersistentVrModeEnabled(); 762*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public boolean isVrModeEnabled(); 763*344a7f5eSAndroid Build Coastguard Worker 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); 764*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setAndBindVrCompositor(android.content.ComponentName); 765*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setPersistentVrModeEnabled(boolean); 766*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.ACCESS_VR_MANAGER") public void setStandbyEnabled(boolean); 767*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setVr2dDisplayProperties(@NonNull android.app.Vr2dDisplayProperties); 768*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setVrInputMethod(@Nullable android.content.ComponentName); 769*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public void unregisterVrStateCallback(@NonNull android.app.VrStateCallback); 770*344a7f5eSAndroid Build Coastguard Worker } 771*344a7f5eSAndroid Build Coastguard Worker 772*344a7f5eSAndroid Build Coastguard Worker public abstract class VrStateCallback { 773*344a7f5eSAndroid Build Coastguard Worker ctor public VrStateCallback(); 774*344a7f5eSAndroid Build Coastguard Worker method public void onPersistentVrStateChanged(boolean); 775*344a7f5eSAndroid Build Coastguard Worker method public void onVrStateChanged(boolean); 776*344a7f5eSAndroid Build Coastguard Worker } 777*344a7f5eSAndroid Build Coastguard Worker 778*344a7f5eSAndroid Build Coastguard Worker public final class WallpaperColors implements android.os.Parcelable { 779*344a7f5eSAndroid Build Coastguard Worker ctor public WallpaperColors(@NonNull android.graphics.Color, @Nullable android.graphics.Color, @Nullable android.graphics.Color, int); 780*344a7f5eSAndroid Build Coastguard Worker method public int getColorHints(); 781*344a7f5eSAndroid Build Coastguard Worker field public static final int HINT_SUPPORTS_DARK_TEXT = 1; // 0x1 782*344a7f5eSAndroid Build Coastguard Worker field public static final int HINT_SUPPORTS_DARK_THEME = 2; // 0x2 783*344a7f5eSAndroid Build Coastguard Worker } 784*344a7f5eSAndroid Build Coastguard Worker 785*344a7f5eSAndroid Build Coastguard Worker public final class WallpaperInfo implements android.os.Parcelable { 786*344a7f5eSAndroid Build Coastguard Worker method public boolean supportsAmbientMode(); 787*344a7f5eSAndroid Build Coastguard Worker } 788*344a7f5eSAndroid Build Coastguard Worker 789*344a7f5eSAndroid Build Coastguard Worker public class WallpaperManager { 790*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public void clearWallpaper(int, int); 791*344a7f5eSAndroid Build Coastguard Worker method public void setDisplayOffset(android.os.IBinder, int, int); 792*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_COMPONENT) public boolean setWallpaperComponent(android.content.ComponentName); 793*344a7f5eSAndroid Build Coastguard Worker } 794*344a7f5eSAndroid Build Coastguard Worker 795*344a7f5eSAndroid Build Coastguard Worker} 796*344a7f5eSAndroid Build Coastguard Worker 797*344a7f5eSAndroid Build Coastguard Workerpackage android.app.admin { 798*344a7f5eSAndroid Build Coastguard Worker 799*344a7f5eSAndroid Build Coastguard Worker public class DevicePolicyKeyguardService extends android.app.Service { 800*344a7f5eSAndroid Build Coastguard Worker ctor public DevicePolicyKeyguardService(); 801*344a7f5eSAndroid Build Coastguard Worker method @Nullable public void dismiss(); 802*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent); 803*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.SurfaceControlViewHost.SurfacePackage onCreateKeyguardSurface(@NonNull android.os.IBinder); 804*344a7f5eSAndroid Build Coastguard Worker } 805*344a7f5eSAndroid Build Coastguard Worker 806*344a7f5eSAndroid Build Coastguard Worker public class DevicePolicyManager { 807*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public boolean getBluetoothContactSharingDisabled(@NonNull android.os.UserHandle); 808*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getDeviceOwner(); 809*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.content.ComponentName getDeviceOwnerComponentOnAnyUser(); 810*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getDeviceOwnerNameOnAnyUser(); 811*344a7f5eSAndroid Build Coastguard Worker method @Nullable public CharSequence getDeviceOwnerOrganizationName(); 812*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.os.UserHandle getDeviceOwnerUser(); 813*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public java.util.List<java.lang.String> getPermittedAccessibilityServices(int); 814*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public java.util.List<java.lang.String> getPermittedInputMethodsForCurrentUser(); 815*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.ComponentName getProfileOwner() throws java.lang.IllegalArgumentException; 816*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getProfileOwnerNameAsUser(int) throws java.lang.IllegalArgumentException; 817*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public int getUserProvisioningState(); 818*344a7f5eSAndroid Build Coastguard Worker method public boolean isDeviceManaged(); 819*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isDeviceProvisioned(); 820*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isDeviceProvisioningConfigApplied(); 821*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isManagedKiosk(); 822*344a7f5eSAndroid Build Coastguard Worker method public boolean isSecondaryLockscreenEnabled(@NonNull android.os.UserHandle); 823*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isUnattendedManagedKiosk(); 824*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.NOTIFY_PENDING_SYSTEM_UPDATE") public void notifyPendingSystemUpdate(long); 825*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.NOTIFY_PENDING_SYSTEM_UPDATE") public void notifyPendingSystemUpdate(long, boolean); 826*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public boolean packageHasActiveAdmins(String); 827*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission("android.permission.MANAGE_DEVICE_ADMINS") public boolean setActiveProfileOwner(@NonNull android.content.ComponentName, String) throws java.lang.IllegalArgumentException; 828*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setDeviceProvisioningConfigApplied(); 829*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(value=android.Manifest.permission.GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS, conditional=true) public void setProfileOwnerCanAccessDeviceIds(@NonNull android.content.ComponentName); 830*344a7f5eSAndroid Build Coastguard Worker method public void setSecondaryLockscreenEnabled(@NonNull android.content.ComponentName, boolean); 831*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_ALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED"; 832*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_DISALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED"; 833*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_BIND_SECONDARY_LOCKSCREEN_SERVICE = "android.app.action.BIND_SECONDARY_LOCKSCREEN_SERVICE"; 834*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_PROVISION_FINALIZATION = "android.app.action.PROVISION_FINALIZATION"; 835*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_PROVISION_FINANCED_DEVICE = "android.app.action.PROVISION_FINANCED_DEVICE"; 836*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE = "android.app.action.PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE"; 837*344a7f5eSAndroid Build Coastguard Worker 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"; 838*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SET_PROFILE_OWNER = "android.app.action.SET_PROFILE_OWNER"; 839*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_STATE_USER_SETUP_COMPLETE = "android.app.action.STATE_USER_SETUP_COMPLETE"; 840*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PROFILE_OWNER_NAME = "android.app.extra.PROFILE_OWNER_NAME"; 841*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_URI = "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_URI"; 842*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL = "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL"; 843*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PROVISIONING_ORGANIZATION_NAME = "android.app.extra.PROVISIONING_ORGANIZATION_NAME"; 844*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PROVISIONING_SUPPORT_URL = "android.app.extra.PROVISIONING_SUPPORT_URL"; 845*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PROVISIONING_TRIGGER = "android.app.extra.PROVISIONING_TRIGGER"; 846*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_RESTRICTION = "android.app.extra.RESTRICTION"; 847*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_TRIGGER_CLOUD_ENROLLMENT = 1; // 0x1 848*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_TRIGGER_PERSISTENT_DEVICE_OWNER = 3; // 0x3 849*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_TRIGGER_QR_CODE = 2; // 0x2 850*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_TRIGGER_UNSPECIFIED = 0; // 0x0 851*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_USER_PROFILE_COMPLETE = 4; // 0x4 852*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_USER_SETUP_COMPLETE = 2; // 0x2 853*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_USER_SETUP_FINALIZED = 3; // 0x3 854*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_USER_SETUP_INCOMPLETE = 1; // 0x1 855*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_USER_UNMANAGED = 0; // 0x0 856*344a7f5eSAndroid Build Coastguard Worker } 857*344a7f5eSAndroid Build Coastguard Worker 858*344a7f5eSAndroid Build Coastguard Worker public final class SystemUpdatePolicy implements android.os.Parcelable { 859*344a7f5eSAndroid Build Coastguard Worker method public android.app.admin.SystemUpdatePolicy.InstallationOption getInstallationOptionAt(long); 860*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_PAUSE = 4; // 0x4 861*344a7f5eSAndroid Build Coastguard Worker } 862*344a7f5eSAndroid Build Coastguard Worker 863*344a7f5eSAndroid Build Coastguard Worker public static class SystemUpdatePolicy.InstallationOption { 864*344a7f5eSAndroid Build Coastguard Worker method public long getEffectiveTime(); 865*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 866*344a7f5eSAndroid Build Coastguard Worker } 867*344a7f5eSAndroid Build Coastguard Worker 868*344a7f5eSAndroid Build Coastguard Worker} 869*344a7f5eSAndroid Build Coastguard Worker 870*344a7f5eSAndroid Build Coastguard Workerpackage android.app.assist { 871*344a7f5eSAndroid Build Coastguard Worker 872*344a7f5eSAndroid Build Coastguard Worker public static class AssistStructure.ViewNode { 873*344a7f5eSAndroid Build Coastguard Worker ctor public AssistStructure.ViewNode(); 874*344a7f5eSAndroid Build Coastguard Worker } 875*344a7f5eSAndroid Build Coastguard Worker 876*344a7f5eSAndroid Build Coastguard Worker} 877*344a7f5eSAndroid Build Coastguard Worker 878*344a7f5eSAndroid Build Coastguard Workerpackage android.app.backup { 879*344a7f5eSAndroid Build Coastguard Worker 880*344a7f5eSAndroid Build Coastguard Worker public class BackupDataInput { 881*344a7f5eSAndroid Build Coastguard Worker ctor public BackupDataInput(java.io.FileDescriptor); 882*344a7f5eSAndroid Build Coastguard Worker } 883*344a7f5eSAndroid Build Coastguard Worker 884*344a7f5eSAndroid Build Coastguard Worker public class BackupDataOutput { 885*344a7f5eSAndroid Build Coastguard Worker ctor public BackupDataOutput(java.io.FileDescriptor); 886*344a7f5eSAndroid Build Coastguard Worker ctor public BackupDataOutput(java.io.FileDescriptor, long); 887*344a7f5eSAndroid Build Coastguard Worker } 888*344a7f5eSAndroid Build Coastguard Worker 889*344a7f5eSAndroid Build Coastguard Worker public class BackupManager { 890*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public void backupNow(); 891*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public android.app.backup.RestoreSession beginRestoreSession(); 892*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public void cancelBackups(); 893*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public void excludeKeysFromRestore(@NonNull String, @NonNull java.util.List<java.lang.String>); 894*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public long getAvailableRestoreToken(String); 895*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.Intent getConfigurationIntent(String); 896*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public String getCurrentTransport(); 897*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.ComponentName getCurrentTransportComponent(); 898*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.Intent getDataManagementIntent(String); 899*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public CharSequence getDataManagementIntentLabel(@NonNull String); 900*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public String getDataManagementLabel(@NonNull String); 901*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public String getDestinationString(String); 902*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isAppEligibleForBackup(String); 903*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isBackupEnabled(); 904*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isBackupServiceActive(android.os.UserHandle); 905*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public String[] listAllTransports(); 906*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], android.app.backup.BackupObserver); 907*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], android.app.backup.BackupObserver, android.app.backup.BackupManagerMonitor, int); 908*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int requestRestore(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); 909*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.BACKUP) public String selectBackupTransport(String); 910*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public void selectBackupTransport(android.content.ComponentName, android.app.backup.SelectBackupTransportCallback); 911*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public void setAncestralSerialNumber(long); 912*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public void setAutoRestore(boolean); 913*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BACKUP) public void setBackupEnabled(boolean); 914*344a7f5eSAndroid Build Coastguard Worker 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); 915*344a7f5eSAndroid Build Coastguard Worker 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); 916*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_AGENT_FAILURE = -1003; // 0xfffffc15 917*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_BACKUP_CANCELLED = -2003; // 0xfffff82d 918*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_BACKUP_NOT_ALLOWED = -2001; // 0xfffff82f 919*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_PACKAGE_NOT_FOUND = -2002; // 0xfffff82e 920*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_TRANSPORT_ABORTED = -1000; // 0xfffffc18 921*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_TRANSPORT_INVALID = -2; // 0xfffffffe 922*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_TRANSPORT_PACKAGE_REJECTED = -1002; // 0xfffffc16 923*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_TRANSPORT_QUOTA_EXCEEDED = -1005; // 0xfffffc13 924*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_TRANSPORT_UNAVAILABLE = -1; // 0xffffffff 925*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_NON_INCREMENTAL_BACKUP = 1; // 0x1 926*344a7f5eSAndroid Build Coastguard Worker field public static final String PACKAGE_MANAGER_SENTINEL = "@pm@"; 927*344a7f5eSAndroid Build Coastguard Worker field public static final int SUCCESS = 0; // 0x0 928*344a7f5eSAndroid Build Coastguard Worker } 929*344a7f5eSAndroid Build Coastguard Worker 930*344a7f5eSAndroid Build Coastguard Worker public class BackupManagerMonitor { 931*344a7f5eSAndroid Build Coastguard Worker ctor public BackupManagerMonitor(); 932*344a7f5eSAndroid Build Coastguard Worker method public void onEvent(android.os.Bundle); 933*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_CANCEL_ALL = "android.app.backup.extra.LOG_CANCEL_ALL"; 934*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_EVENT_CATEGORY = "android.app.backup.extra.LOG_EVENT_CATEGORY"; 935*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_EVENT_ID = "android.app.backup.extra.LOG_EVENT_ID"; 936*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_EVENT_PACKAGE_LONG_VERSION = "android.app.backup.extra.LOG_EVENT_PACKAGE_FULL_VERSION"; 937*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_EVENT_PACKAGE_NAME = "android.app.backup.extra.LOG_EVENT_PACKAGE_NAME"; 938*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String EXTRA_LOG_EVENT_PACKAGE_VERSION = "android.app.backup.extra.LOG_EVENT_PACKAGE_VERSION"; 939*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_EXCEPTION_FULL_BACKUP = "android.app.backup.extra.LOG_EXCEPTION_FULL_BACKUP"; 940*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_ILLEGAL_KEY = "android.app.backup.extra.LOG_ILLEGAL_KEY"; 941*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_MANIFEST_PACKAGE_NAME = "android.app.backup.extra.LOG_MANIFEST_PACKAGE_NAME"; 942*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_OLD_VERSION = "android.app.backup.extra.LOG_OLD_VERSION"; 943*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_POLICY_ALLOW_APKS = "android.app.backup.extra.LOG_POLICY_ALLOW_APKS"; 944*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_PREFLIGHT_ERROR = "android.app.backup.extra.LOG_PREFLIGHT_ERROR"; 945*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_RESTORE_ANYWAY = "android.app.backup.extra.LOG_RESTORE_ANYWAY"; 946*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_RESTORE_VERSION = "android.app.backup.extra.LOG_RESTORE_VERSION"; 947*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOG_WIDGET_PACKAGE_NAME = "android.app.backup.extra.LOG_WIDGET_PACKAGE_NAME"; 948*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_CATEGORY_AGENT = 2; // 0x2 949*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY = 3; // 0x3 950*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_CATEGORY_TRANSPORT = 1; // 0x1 951*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_APK_NOT_INSTALLED = 40; // 0x28 952*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_APP_HAS_NO_AGENT = 28; // 0x1c 953*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_BACKUP_DISABLED = 13; // 0xd 954*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_CANNOT_RESTORE_WITHOUT_APK = 41; // 0x29 955*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_CANT_FIND_AGENT = 30; // 0x1e 956*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_CORRUPT_MANIFEST = 46; // 0x2e 957*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_DEVICE_NOT_PROVISIONED = 14; // 0xe 958*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_ERROR_PREFLIGHT = 16; // 0x10 959*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_EXCEPTION_FULL_BACKUP = 19; // 0x13 960*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_EXPECTED_DIFFERENT_PACKAGE = 43; // 0x2b 961*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_FULL_BACKUP_CANCEL = 4; // 0x4 962*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_FULL_RESTORE_ALLOW_BACKUP_FALSE = 39; // 0x27 963*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_FULL_RESTORE_SIGNATURE_MISMATCH = 37; // 0x25 964*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_FULL_RESTORE_TIMEOUT = 45; // 0x2d 965*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_ILLEGAL_KEY = 5; // 0x5 966*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_KEY_VALUE_BACKUP_CANCEL = 21; // 0x15 967*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_KEY_VALUE_RESTORE_TIMEOUT = 31; // 0x1f 968*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_LOST_TRANSPORT = 25; // 0x19 969*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_MISSING_SIGNATURE = 42; // 0x2a 970*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_NO_DATA_TO_SEND = 7; // 0x7 971*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_NO_PACKAGES = 49; // 0x31 972*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_NO_PM_METADATA_RECEIVED = 23; // 0x17 973*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_NO_RESTORE_METADATA_AVAILABLE = 22; // 0x16 974*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_PACKAGE_INELIGIBLE = 9; // 0x9 975*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_PACKAGE_KEY_VALUE_PARTICIPANT = 10; // 0xa 976*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_PACKAGE_NOT_FOUND = 12; // 0xc 977*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_PACKAGE_NOT_PRESENT = 26; // 0x1a 978*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_PACKAGE_STOPPED = 11; // 0xb 979*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_PACKAGE_TRANSPORT_NOT_PRESENT = 15; // 0xf 980*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_PM_AGENT_HAS_NO_METADATA = 24; // 0x18 981*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_QUOTA_HIT_PREFLIGHT = 18; // 0x12 982*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_RESTORE_ANY_VERSION = 34; // 0x22 983*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_RESTORE_VERSION_HIGHER = 27; // 0x1b 984*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_SIGNATURE_MISMATCH = 29; // 0x1d 985*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_SYSTEM_APP_NO_AGENT = 38; // 0x26 986*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_TRANSPORT_IS_NULL = 50; // 0x32 987*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_TRANSPORT_NON_INCREMENTAL_BACKUP_REQUIRED = 51; // 0x33 988*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_UNKNOWN_VERSION = 44; // 0x2c 989*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_VERSIONS_MATCH = 35; // 0x23 990*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_VERSION_OF_BACKUP_OLDER = 36; // 0x24 991*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_WIDGET_METADATA_MISMATCH = 47; // 0x2f 992*344a7f5eSAndroid Build Coastguard Worker field public static final int LOG_EVENT_ID_WIDGET_UNKNOWN_VERSION = 48; // 0x30 993*344a7f5eSAndroid Build Coastguard Worker } 994*344a7f5eSAndroid Build Coastguard Worker 995*344a7f5eSAndroid Build Coastguard Worker public abstract class BackupObserver { 996*344a7f5eSAndroid Build Coastguard Worker ctor public BackupObserver(); 997*344a7f5eSAndroid Build Coastguard Worker method public void backupFinished(int); 998*344a7f5eSAndroid Build Coastguard Worker method public void onResult(String, int); 999*344a7f5eSAndroid Build Coastguard Worker method public void onUpdate(String, android.app.backup.BackupProgress); 1000*344a7f5eSAndroid Build Coastguard Worker } 1001*344a7f5eSAndroid Build Coastguard Worker 1002*344a7f5eSAndroid Build Coastguard Worker public class BackupProgress implements android.os.Parcelable { 1003*344a7f5eSAndroid Build Coastguard Worker ctor public BackupProgress(long, long); 1004*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1005*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1006*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.BackupProgress> CREATOR; 1007*344a7f5eSAndroid Build Coastguard Worker field public final long bytesExpected; 1008*344a7f5eSAndroid Build Coastguard Worker field public final long bytesTransferred; 1009*344a7f5eSAndroid Build Coastguard Worker } 1010*344a7f5eSAndroid Build Coastguard Worker 1011*344a7f5eSAndroid Build Coastguard Worker public class BackupTransport { 1012*344a7f5eSAndroid Build Coastguard Worker ctor public BackupTransport(); 1013*344a7f5eSAndroid Build Coastguard Worker method public int abortFullRestore(); 1014*344a7f5eSAndroid Build Coastguard Worker method public void cancelFullBackup(); 1015*344a7f5eSAndroid Build Coastguard Worker method public int checkFullBackupSize(long); 1016*344a7f5eSAndroid Build Coastguard Worker method public int clearBackupData(android.content.pm.PackageInfo); 1017*344a7f5eSAndroid Build Coastguard Worker method public android.content.Intent configurationIntent(); 1018*344a7f5eSAndroid Build Coastguard Worker method public String currentDestinationString(); 1019*344a7f5eSAndroid Build Coastguard Worker method public android.content.Intent dataManagementIntent(); 1020*344a7f5eSAndroid Build Coastguard Worker method @Nullable public CharSequence dataManagementIntentLabel(); 1021*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @Nullable public String dataManagementLabel(); 1022*344a7f5eSAndroid Build Coastguard Worker method public int finishBackup(); 1023*344a7f5eSAndroid Build Coastguard Worker method public void finishRestore(); 1024*344a7f5eSAndroid Build Coastguard Worker method public android.app.backup.RestoreSet[] getAvailableRestoreSets(); 1025*344a7f5eSAndroid Build Coastguard Worker method public long getBackupQuota(String, boolean); 1026*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder getBinder(); 1027*344a7f5eSAndroid Build Coastguard Worker method public long getCurrentRestoreSet(); 1028*344a7f5eSAndroid Build Coastguard Worker method public int getNextFullRestoreDataChunk(android.os.ParcelFileDescriptor); 1029*344a7f5eSAndroid Build Coastguard Worker method public int getRestoreData(android.os.ParcelFileDescriptor); 1030*344a7f5eSAndroid Build Coastguard Worker method public int getTransportFlags(); 1031*344a7f5eSAndroid Build Coastguard Worker method public int initializeDevice(); 1032*344a7f5eSAndroid Build Coastguard Worker method public boolean isAppEligibleForBackup(android.content.pm.PackageInfo, boolean); 1033*344a7f5eSAndroid Build Coastguard Worker method public String name(); 1034*344a7f5eSAndroid Build Coastguard Worker method public android.app.backup.RestoreDescription nextRestorePackage(); 1035*344a7f5eSAndroid Build Coastguard Worker method public int performBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor, int); 1036*344a7f5eSAndroid Build Coastguard Worker method public int performBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor); 1037*344a7f5eSAndroid Build Coastguard Worker method public int performFullBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor, int); 1038*344a7f5eSAndroid Build Coastguard Worker method public int performFullBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor); 1039*344a7f5eSAndroid Build Coastguard Worker method public long requestBackupTime(); 1040*344a7f5eSAndroid Build Coastguard Worker method public long requestFullBackupTime(); 1041*344a7f5eSAndroid Build Coastguard Worker method public int sendBackupData(int); 1042*344a7f5eSAndroid Build Coastguard Worker method public int startRestore(long, android.content.pm.PackageInfo[]); 1043*344a7f5eSAndroid Build Coastguard Worker method public String transportDirName(); 1044*344a7f5eSAndroid Build Coastguard Worker field public static final int AGENT_ERROR = -1003; // 0xfffffc15 1045*344a7f5eSAndroid Build Coastguard Worker field public static final int AGENT_UNKNOWN = -1004; // 0xfffffc14 1046*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_TRANSPORT_REGISTRATION = "android.app.backup.extra.TRANSPORT_REGISTRATION"; 1047*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_DATA_NOT_CHANGED = 8; // 0x8 1048*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_INCREMENTAL = 2; // 0x2 1049*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_NON_INCREMENTAL = 4; // 0x4 1050*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_USER_INITIATED = 1; // 0x1 1051*344a7f5eSAndroid Build Coastguard Worker field public static final int NO_MORE_DATA = -1; // 0xffffffff 1052*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSPORT_ERROR = -1000; // 0xfffffc18 1053*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSPORT_NON_INCREMENTAL_BACKUP_REQUIRED = -1006; // 0xfffffc12 1054*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSPORT_NOT_INITIALIZED = -1001; // 0xfffffc17 1055*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSPORT_OK = 0; // 0x0 1056*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSPORT_PACKAGE_REJECTED = -1002; // 0xfffffc16 1057*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSPORT_QUOTA_EXCEEDED = -1005; // 0xfffffc13 1058*344a7f5eSAndroid Build Coastguard Worker } 1059*344a7f5eSAndroid Build Coastguard Worker 1060*344a7f5eSAndroid Build Coastguard Worker public class RestoreDescription implements android.os.Parcelable { 1061*344a7f5eSAndroid Build Coastguard Worker ctor public RestoreDescription(String, int); 1062*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1063*344a7f5eSAndroid Build Coastguard Worker method public int getDataType(); 1064*344a7f5eSAndroid Build Coastguard Worker method public String getPackageName(); 1065*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1066*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.RestoreDescription> CREATOR; 1067*344a7f5eSAndroid Build Coastguard Worker field public static final android.app.backup.RestoreDescription NO_MORE_PACKAGES; 1068*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_FULL_STREAM = 2; // 0x2 1069*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_KEY_VALUE = 1; // 0x1 1070*344a7f5eSAndroid Build Coastguard Worker } 1071*344a7f5eSAndroid Build Coastguard Worker 1072*344a7f5eSAndroid Build Coastguard Worker public abstract class RestoreObserver { 1073*344a7f5eSAndroid Build Coastguard Worker method public void restoreSetsAvailable(android.app.backup.RestoreSet[]); 1074*344a7f5eSAndroid Build Coastguard Worker } 1075*344a7f5eSAndroid Build Coastguard Worker 1076*344a7f5eSAndroid Build Coastguard Worker public class RestoreSession { 1077*344a7f5eSAndroid Build Coastguard Worker method public void endRestoreSession(); 1078*344a7f5eSAndroid Build Coastguard Worker method public int getAvailableRestoreSets(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); 1079*344a7f5eSAndroid Build Coastguard Worker method public int getAvailableRestoreSets(android.app.backup.RestoreObserver); 1080*344a7f5eSAndroid Build Coastguard Worker method public int restoreAll(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); 1081*344a7f5eSAndroid Build Coastguard Worker method public int restoreAll(long, android.app.backup.RestoreObserver); 1082*344a7f5eSAndroid Build Coastguard Worker method public int restorePackage(String, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); 1083*344a7f5eSAndroid Build Coastguard Worker method public int restorePackage(String, android.app.backup.RestoreObserver); 1084*344a7f5eSAndroid Build Coastguard Worker method public int restorePackages(long, @Nullable android.app.backup.RestoreObserver, @NonNull java.util.Set<java.lang.String>, @Nullable android.app.backup.BackupManagerMonitor); 1085*344a7f5eSAndroid Build Coastguard Worker method public int restorePackages(long, @Nullable android.app.backup.RestoreObserver, @NonNull java.util.Set<java.lang.String>); 1086*344a7f5eSAndroid Build Coastguard Worker } 1087*344a7f5eSAndroid Build Coastguard Worker 1088*344a7f5eSAndroid Build Coastguard Worker public class RestoreSet implements android.os.Parcelable { 1089*344a7f5eSAndroid Build Coastguard Worker ctor public RestoreSet(); 1090*344a7f5eSAndroid Build Coastguard Worker ctor public RestoreSet(String, String, long); 1091*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1092*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1093*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.RestoreSet> CREATOR; 1094*344a7f5eSAndroid Build Coastguard Worker field public String device; 1095*344a7f5eSAndroid Build Coastguard Worker field public String name; 1096*344a7f5eSAndroid Build Coastguard Worker field public long token; 1097*344a7f5eSAndroid Build Coastguard Worker } 1098*344a7f5eSAndroid Build Coastguard Worker 1099*344a7f5eSAndroid Build Coastguard Worker public abstract class SelectBackupTransportCallback { 1100*344a7f5eSAndroid Build Coastguard Worker ctor public SelectBackupTransportCallback(); 1101*344a7f5eSAndroid Build Coastguard Worker method public void onFailure(int); 1102*344a7f5eSAndroid Build Coastguard Worker method public void onSuccess(String); 1103*344a7f5eSAndroid Build Coastguard Worker } 1104*344a7f5eSAndroid Build Coastguard Worker 1105*344a7f5eSAndroid Build Coastguard Worker} 1106*344a7f5eSAndroid Build Coastguard Worker 1107*344a7f5eSAndroid Build Coastguard Workerpackage android.app.compat { 1108*344a7f5eSAndroid Build Coastguard Worker 1109*344a7f5eSAndroid Build Coastguard Worker public final class CompatChanges { 1110*344a7f5eSAndroid Build Coastguard Worker method public static boolean isChangeEnabled(long); 1111*344a7f5eSAndroid Build Coastguard Worker 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); 1112*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={"android.permission.READ_COMPAT_CHANGE_CONFIG", "android.permission.LOG_COMPAT_CHANGE"}) public static boolean isChangeEnabled(long, int); 1113*344a7f5eSAndroid Build Coastguard Worker } 1114*344a7f5eSAndroid Build Coastguard Worker 1115*344a7f5eSAndroid Build Coastguard Worker} 1116*344a7f5eSAndroid Build Coastguard Worker 1117*344a7f5eSAndroid Build Coastguard Workerpackage android.app.contentsuggestions { 1118*344a7f5eSAndroid Build Coastguard Worker 1119*344a7f5eSAndroid Build Coastguard Worker public final class ClassificationsRequest implements android.os.Parcelable { 1120*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1121*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.Bundle getExtras(); 1122*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.app.contentsuggestions.ContentSelection> getSelections(); 1123*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1124*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.ClassificationsRequest> CREATOR; 1125*344a7f5eSAndroid Build Coastguard Worker } 1126*344a7f5eSAndroid Build Coastguard Worker 1127*344a7f5eSAndroid Build Coastguard Worker public static final class ClassificationsRequest.Builder { 1128*344a7f5eSAndroid Build Coastguard Worker ctor public ClassificationsRequest.Builder(@NonNull java.util.List<android.app.contentsuggestions.ContentSelection>); 1129*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.contentsuggestions.ClassificationsRequest build(); 1130*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.contentsuggestions.ClassificationsRequest.Builder setExtras(@NonNull android.os.Bundle); 1131*344a7f5eSAndroid Build Coastguard Worker } 1132*344a7f5eSAndroid Build Coastguard Worker 1133*344a7f5eSAndroid Build Coastguard Worker public final class ContentClassification implements android.os.Parcelable { 1134*344a7f5eSAndroid Build Coastguard Worker ctor public ContentClassification(@NonNull String, @NonNull android.os.Bundle); 1135*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1136*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.Bundle getExtras(); 1137*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getId(); 1138*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1139*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.ContentClassification> CREATOR; 1140*344a7f5eSAndroid Build Coastguard Worker } 1141*344a7f5eSAndroid Build Coastguard Worker 1142*344a7f5eSAndroid Build Coastguard Worker public final class ContentSelection implements android.os.Parcelable { 1143*344a7f5eSAndroid Build Coastguard Worker ctor public ContentSelection(@NonNull String, @NonNull android.os.Bundle); 1144*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1145*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.Bundle getExtras(); 1146*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getId(); 1147*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1148*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.ContentSelection> CREATOR; 1149*344a7f5eSAndroid Build Coastguard Worker } 1150*344a7f5eSAndroid Build Coastguard Worker 1151*344a7f5eSAndroid Build Coastguard Worker public final class ContentSuggestionsManager { 1152*344a7f5eSAndroid Build Coastguard Worker method public void classifyContentSelections(@NonNull android.app.contentsuggestions.ClassificationsRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.ClassificationsCallback); 1153*344a7f5eSAndroid Build Coastguard Worker method public boolean isEnabled(); 1154*344a7f5eSAndroid Build Coastguard Worker method public void notifyInteraction(@NonNull String, @NonNull android.os.Bundle); 1155*344a7f5eSAndroid Build Coastguard Worker method public void provideContextImage(@NonNull android.graphics.Bitmap, @NonNull android.os.Bundle); 1156*344a7f5eSAndroid Build Coastguard Worker method public void provideContextImage(int, @NonNull android.os.Bundle); 1157*344a7f5eSAndroid Build Coastguard Worker method public void suggestContentSelections(@NonNull android.app.contentsuggestions.SelectionsRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.SelectionsCallback); 1158*344a7f5eSAndroid Build Coastguard Worker } 1159*344a7f5eSAndroid Build Coastguard Worker 1160*344a7f5eSAndroid Build Coastguard Worker public static interface ContentSuggestionsManager.ClassificationsCallback { 1161*344a7f5eSAndroid Build Coastguard Worker method public void onContentClassificationsAvailable(int, @NonNull java.util.List<android.app.contentsuggestions.ContentClassification>); 1162*344a7f5eSAndroid Build Coastguard Worker } 1163*344a7f5eSAndroid Build Coastguard Worker 1164*344a7f5eSAndroid Build Coastguard Worker public static interface ContentSuggestionsManager.SelectionsCallback { 1165*344a7f5eSAndroid Build Coastguard Worker method public void onContentSelectionsAvailable(int, @NonNull java.util.List<android.app.contentsuggestions.ContentSelection>); 1166*344a7f5eSAndroid Build Coastguard Worker } 1167*344a7f5eSAndroid Build Coastguard Worker 1168*344a7f5eSAndroid Build Coastguard Worker public final class SelectionsRequest implements android.os.Parcelable { 1169*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1170*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.Bundle getExtras(); 1171*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.graphics.Point getInterestPoint(); 1172*344a7f5eSAndroid Build Coastguard Worker method public int getTaskId(); 1173*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1174*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.SelectionsRequest> CREATOR; 1175*344a7f5eSAndroid Build Coastguard Worker } 1176*344a7f5eSAndroid Build Coastguard Worker 1177*344a7f5eSAndroid Build Coastguard Worker public static final class SelectionsRequest.Builder { 1178*344a7f5eSAndroid Build Coastguard Worker ctor public SelectionsRequest.Builder(int); 1179*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.contentsuggestions.SelectionsRequest build(); 1180*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.contentsuggestions.SelectionsRequest.Builder setExtras(@NonNull android.os.Bundle); 1181*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.contentsuggestions.SelectionsRequest.Builder setInterestPoint(@NonNull android.graphics.Point); 1182*344a7f5eSAndroid Build Coastguard Worker } 1183*344a7f5eSAndroid Build Coastguard Worker 1184*344a7f5eSAndroid Build Coastguard Worker} 1185*344a7f5eSAndroid Build Coastguard Worker 1186*344a7f5eSAndroid Build Coastguard Workerpackage android.app.job { 1187*344a7f5eSAndroid Build Coastguard Worker 1188*344a7f5eSAndroid Build Coastguard Worker public abstract class JobScheduler { 1189*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public abstract int scheduleAsPackage(@NonNull android.app.job.JobInfo, @NonNull String, int, String); 1190*344a7f5eSAndroid Build Coastguard Worker } 1191*344a7f5eSAndroid Build Coastguard Worker 1192*344a7f5eSAndroid Build Coastguard Worker public class JobSchedulerFrameworkInitializer { 1193*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 1194*344a7f5eSAndroid Build Coastguard Worker } 1195*344a7f5eSAndroid Build Coastguard Worker 1196*344a7f5eSAndroid Build Coastguard Worker} 1197*344a7f5eSAndroid Build Coastguard Worker 1198*344a7f5eSAndroid Build Coastguard Workerpackage android.app.prediction { 1199*344a7f5eSAndroid Build Coastguard Worker 1200*344a7f5eSAndroid Build Coastguard Worker public final class AppPredictionContext implements android.os.Parcelable { 1201*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1202*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.Bundle getExtras(); 1203*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 1204*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getPredictedTargetCount(); 1205*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getUiSurface(); 1206*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 1207*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionContext> CREATOR; 1208*344a7f5eSAndroid Build Coastguard Worker } 1209*344a7f5eSAndroid Build Coastguard Worker 1210*344a7f5eSAndroid Build Coastguard Worker public static final class AppPredictionContext.Builder { 1211*344a7f5eSAndroid Build Coastguard Worker ctor public AppPredictionContext.Builder(@NonNull android.content.Context); 1212*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppPredictionContext build(); 1213*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppPredictionContext.Builder setExtras(@Nullable android.os.Bundle); 1214*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppPredictionContext.Builder setPredictedTargetCount(@IntRange(from=0) int); 1215*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppPredictionContext.Builder setUiSurface(@NonNull String); 1216*344a7f5eSAndroid Build Coastguard Worker } 1217*344a7f5eSAndroid Build Coastguard Worker 1218*344a7f5eSAndroid Build Coastguard Worker public final class AppPredictionManager { 1219*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppPredictor createAppPredictionSession(@NonNull android.app.prediction.AppPredictionContext); 1220*344a7f5eSAndroid Build Coastguard Worker } 1221*344a7f5eSAndroid Build Coastguard Worker 1222*344a7f5eSAndroid Build Coastguard Worker public final class AppPredictionSessionId implements android.os.Parcelable { 1223*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1224*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1225*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionSessionId> CREATOR; 1226*344a7f5eSAndroid Build Coastguard Worker } 1227*344a7f5eSAndroid Build Coastguard Worker 1228*344a7f5eSAndroid Build Coastguard Worker public final class AppPredictor { 1229*344a7f5eSAndroid Build Coastguard Worker method public void destroy(); 1230*344a7f5eSAndroid Build Coastguard Worker method public void notifyAppTargetEvent(@NonNull android.app.prediction.AppTargetEvent); 1231*344a7f5eSAndroid Build Coastguard Worker method public void notifyLaunchLocationShown(@NonNull String, @NonNull java.util.List<android.app.prediction.AppTargetId>); 1232*344a7f5eSAndroid Build Coastguard Worker method public void registerPredictionUpdates(@NonNull java.util.concurrent.Executor, @NonNull android.app.prediction.AppPredictor.Callback); 1233*344a7f5eSAndroid Build Coastguard Worker method public void requestPredictionUpdate(); 1234*344a7f5eSAndroid Build Coastguard Worker method @Nullable public void sortTargets(@NonNull java.util.List<android.app.prediction.AppTarget>, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.util.List<android.app.prediction.AppTarget>>); 1235*344a7f5eSAndroid Build Coastguard Worker method public void unregisterPredictionUpdates(@NonNull android.app.prediction.AppPredictor.Callback); 1236*344a7f5eSAndroid Build Coastguard Worker } 1237*344a7f5eSAndroid Build Coastguard Worker 1238*344a7f5eSAndroid Build Coastguard Worker public static interface AppPredictor.Callback { 1239*344a7f5eSAndroid Build Coastguard Worker method public void onTargetsAvailable(@NonNull java.util.List<android.app.prediction.AppTarget>); 1240*344a7f5eSAndroid Build Coastguard Worker } 1241*344a7f5eSAndroid Build Coastguard Worker 1242*344a7f5eSAndroid Build Coastguard Worker public final class AppTarget implements android.os.Parcelable { 1243*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1244*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getClassName(); 1245*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppTargetId getId(); 1246*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 1247*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getRank(); 1248*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.pm.ShortcutInfo getShortcutInfo(); 1249*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.UserHandle getUser(); 1250*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1251*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTarget> CREATOR; 1252*344a7f5eSAndroid Build Coastguard Worker } 1253*344a7f5eSAndroid Build Coastguard Worker 1254*344a7f5eSAndroid Build Coastguard Worker public static final class AppTarget.Builder { 1255*344a7f5eSAndroid Build Coastguard Worker ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull String, @NonNull android.os.UserHandle); 1256*344a7f5eSAndroid Build Coastguard Worker ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull android.content.pm.ShortcutInfo); 1257*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppTarget build(); 1258*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppTarget.Builder setClassName(@NonNull String); 1259*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppTarget.Builder setRank(@IntRange(from=0) int); 1260*344a7f5eSAndroid Build Coastguard Worker } 1261*344a7f5eSAndroid Build Coastguard Worker 1262*344a7f5eSAndroid Build Coastguard Worker public final class AppTargetEvent implements android.os.Parcelable { 1263*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1264*344a7f5eSAndroid Build Coastguard Worker method public int getAction(); 1265*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getLaunchLocation(); 1266*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.prediction.AppTarget getTarget(); 1267*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1268*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTION_DISMISS = 2; // 0x2 1269*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTION_LAUNCH = 1; // 0x1 1270*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTION_PIN = 3; // 0x3 1271*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTION_UNPIN = 4; // 0x4 1272*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetEvent> CREATOR; 1273*344a7f5eSAndroid Build Coastguard Worker } 1274*344a7f5eSAndroid Build Coastguard Worker 1275*344a7f5eSAndroid Build Coastguard Worker public static final class AppTargetEvent.Builder { 1276*344a7f5eSAndroid Build Coastguard Worker ctor public AppTargetEvent.Builder(@Nullable android.app.prediction.AppTarget, int); 1277*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppTargetEvent build(); 1278*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppTargetEvent.Builder setLaunchLocation(@Nullable String); 1279*344a7f5eSAndroid Build Coastguard Worker } 1280*344a7f5eSAndroid Build Coastguard Worker 1281*344a7f5eSAndroid Build Coastguard Worker public final class AppTargetId implements android.os.Parcelable { 1282*344a7f5eSAndroid Build Coastguard Worker ctor public AppTargetId(@NonNull String); 1283*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1284*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1285*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetId> CREATOR; 1286*344a7f5eSAndroid Build Coastguard Worker } 1287*344a7f5eSAndroid Build Coastguard Worker 1288*344a7f5eSAndroid Build Coastguard Worker} 1289*344a7f5eSAndroid Build Coastguard Worker 1290*344a7f5eSAndroid Build Coastguard Workerpackage android.app.role { 1291*344a7f5eSAndroid Build Coastguard Worker 1292*344a7f5eSAndroid Build Coastguard Worker public interface OnRoleHoldersChangedListener { 1293*344a7f5eSAndroid Build Coastguard Worker method public void onRoleHoldersChanged(@NonNull String, @NonNull android.os.UserHandle); 1294*344a7f5eSAndroid Build Coastguard Worker } 1295*344a7f5eSAndroid Build Coastguard Worker 1296*344a7f5eSAndroid Build Coastguard Worker public abstract class RoleControllerService extends android.app.Service { 1297*344a7f5eSAndroid Build Coastguard Worker ctor public RoleControllerService(); 1298*344a7f5eSAndroid Build Coastguard Worker method @WorkerThread public abstract boolean onAddRoleHolder(@NonNull String, @NonNull String, int); 1299*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent); 1300*344a7f5eSAndroid Build Coastguard Worker method @WorkerThread public abstract boolean onClearRoleHolders(@NonNull String, int); 1301*344a7f5eSAndroid Build Coastguard Worker method @WorkerThread public abstract boolean onGrantDefaultRoles(); 1302*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract boolean onIsApplicationQualifiedForRole(@NonNull String, @NonNull String); 1303*344a7f5eSAndroid Build Coastguard Worker method public boolean onIsApplicationVisibleForRole(@NonNull String, @NonNull String); 1304*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean onIsRoleVisible(@NonNull String); 1305*344a7f5eSAndroid Build Coastguard Worker method @WorkerThread public abstract boolean onRemoveRoleHolder(@NonNull String, @NonNull String, int); 1306*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.app.role.RoleControllerService"; 1307*344a7f5eSAndroid Build Coastguard Worker } 1308*344a7f5eSAndroid Build Coastguard Worker 1309*344a7f5eSAndroid Build Coastguard Worker public final class RoleManager { 1310*344a7f5eSAndroid Build Coastguard Worker 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); 1311*344a7f5eSAndroid Build Coastguard Worker 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<java.lang.Boolean>); 1312*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean addRoleHolderFromController(@NonNull String, @NonNull String); 1313*344a7f5eSAndroid Build Coastguard Worker 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<java.lang.Boolean>); 1314*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public java.util.List<java.lang.String> getHeldRolesFromController(@NonNull String); 1315*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public java.util.List<java.lang.String> getRoleHolders(@NonNull String); 1316*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public java.util.List<java.lang.String> getRoleHoldersAsUser(@NonNull String, @NonNull android.os.UserHandle); 1317*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.OBSERVE_ROLE_HOLDERS) public void removeOnRoleHoldersChangedListenerAsUser(@NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle); 1318*344a7f5eSAndroid Build Coastguard Worker 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<java.lang.Boolean>); 1319*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean removeRoleHolderFromController(@NonNull String, @NonNull String); 1320*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public void setRoleNamesFromController(@NonNull java.util.List<java.lang.String>); 1321*344a7f5eSAndroid Build Coastguard Worker field public static final int MANAGE_HOLDERS_FLAG_DONT_KILL_APP = 1; // 0x1 1322*344a7f5eSAndroid Build Coastguard Worker } 1323*344a7f5eSAndroid Build Coastguard Worker 1324*344a7f5eSAndroid Build Coastguard Worker} 1325*344a7f5eSAndroid Build Coastguard Worker 1326*344a7f5eSAndroid Build Coastguard Workerpackage android.app.usage { 1327*344a7f5eSAndroid Build Coastguard Worker 1328*344a7f5eSAndroid Build Coastguard Worker public final class CacheQuotaHint implements android.os.Parcelable { 1329*344a7f5eSAndroid Build Coastguard Worker ctor public CacheQuotaHint(android.app.usage.CacheQuotaHint.Builder); 1330*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1331*344a7f5eSAndroid Build Coastguard Worker method public long getQuota(); 1332*344a7f5eSAndroid Build Coastguard Worker method public int getUid(); 1333*344a7f5eSAndroid Build Coastguard Worker method public android.app.usage.UsageStats getUsageStats(); 1334*344a7f5eSAndroid Build Coastguard Worker method public String getVolumeUuid(); 1335*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1336*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.usage.CacheQuotaHint> CREATOR; 1337*344a7f5eSAndroid Build Coastguard Worker field public static final long QUOTA_NOT_SET = -1L; // 0xffffffffffffffffL 1338*344a7f5eSAndroid Build Coastguard Worker } 1339*344a7f5eSAndroid Build Coastguard Worker 1340*344a7f5eSAndroid Build Coastguard Worker public static final class CacheQuotaHint.Builder { 1341*344a7f5eSAndroid Build Coastguard Worker ctor public CacheQuotaHint.Builder(); 1342*344a7f5eSAndroid Build Coastguard Worker ctor public CacheQuotaHint.Builder(android.app.usage.CacheQuotaHint); 1343*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.usage.CacheQuotaHint build(); 1344*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.usage.CacheQuotaHint.Builder setQuota(long); 1345*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.usage.CacheQuotaHint.Builder setUid(int); 1346*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.usage.CacheQuotaHint.Builder setUsageStats(@Nullable android.app.usage.UsageStats); 1347*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.usage.CacheQuotaHint.Builder setVolumeUuid(@Nullable String); 1348*344a7f5eSAndroid Build Coastguard Worker } 1349*344a7f5eSAndroid Build Coastguard Worker 1350*344a7f5eSAndroid Build Coastguard Worker public abstract class CacheQuotaService extends android.app.Service { 1351*344a7f5eSAndroid Build Coastguard Worker ctor public CacheQuotaService(); 1352*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder onBind(android.content.Intent); 1353*344a7f5eSAndroid Build Coastguard Worker method public abstract java.util.List<android.app.usage.CacheQuotaHint> onComputeCacheQuotaHints(java.util.List<android.app.usage.CacheQuotaHint>); 1354*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.app.usage.CacheQuotaService"; 1355*344a7f5eSAndroid Build Coastguard Worker } 1356*344a7f5eSAndroid Build Coastguard Worker 1357*344a7f5eSAndroid Build Coastguard Worker public class NetworkStatsManager { 1358*344a7f5eSAndroid Build Coastguard Worker method @NonNull @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); 1359*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STATS_PROVIDER, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void unregisterNetworkStatsProvider(@NonNull android.net.netstats.provider.NetworkStatsProvider); 1360*344a7f5eSAndroid Build Coastguard Worker } 1361*344a7f5eSAndroid Build Coastguard Worker 1362*344a7f5eSAndroid Build Coastguard Worker public static final class UsageEvents.Event { 1363*344a7f5eSAndroid Build Coastguard Worker method public int getInstanceId(); 1364*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getNotificationChannelId(); 1365*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getTaskRootClassName(); 1366*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getTaskRootPackageName(); 1367*344a7f5eSAndroid Build Coastguard Worker method public boolean isInstantApp(); 1368*344a7f5eSAndroid Build Coastguard Worker field public static final int NOTIFICATION_INTERRUPTION = 12; // 0xc 1369*344a7f5eSAndroid Build Coastguard Worker field public static final int NOTIFICATION_SEEN = 10; // 0xa 1370*344a7f5eSAndroid Build Coastguard Worker field public static final int SLICE_PINNED = 14; // 0xe 1371*344a7f5eSAndroid Build Coastguard Worker field public static final int SLICE_PINNED_PRIV = 13; // 0xd 1372*344a7f5eSAndroid Build Coastguard Worker field public static final int SYSTEM_INTERACTION = 6; // 0x6 1373*344a7f5eSAndroid Build Coastguard Worker } 1374*344a7f5eSAndroid Build Coastguard Worker 1375*344a7f5eSAndroid Build Coastguard Worker public final class UsageStats implements android.os.Parcelable { 1376*344a7f5eSAndroid Build Coastguard Worker method public int getAppLaunchCount(); 1377*344a7f5eSAndroid Build Coastguard Worker } 1378*344a7f5eSAndroid Build Coastguard Worker 1379*344a7f5eSAndroid Build Coastguard Worker public final class UsageStatsManager { 1380*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getAppStandbyBucket(String); 1381*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public java.util.Map<java.lang.String,java.lang.Integer> getAppStandbyBuckets(); 1382*344a7f5eSAndroid Build Coastguard Worker method public int getUsageSource(); 1383*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BIND_CARRIER_SERVICES) public void onCarrierPrivilegedAppsChanged(); 1384*344a7f5eSAndroid Build Coastguard Worker 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); 1385*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void registerAppUsageObserver(int, @NonNull String[], long, @NonNull java.util.concurrent.TimeUnit, @NonNull android.app.PendingIntent); 1386*344a7f5eSAndroid Build Coastguard Worker 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); 1387*344a7f5eSAndroid Build Coastguard Worker method public void reportUsageStart(@NonNull android.app.Activity, @NonNull String); 1388*344a7f5eSAndroid Build Coastguard Worker method public void reportUsageStart(@NonNull android.app.Activity, @NonNull String, long); 1389*344a7f5eSAndroid Build Coastguard Worker method public void reportUsageStop(@NonNull android.app.Activity, @NonNull String); 1390*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CHANGE_APP_IDLE_STATE) public void setAppStandbyBucket(String, int); 1391*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CHANGE_APP_IDLE_STATE) public void setAppStandbyBuckets(java.util.Map<java.lang.String,java.lang.Integer>); 1392*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.SUSPEND_APPS, android.Manifest.permission.OBSERVE_APP_USAGE}) public void unregisterAppUsageLimitObserver(int); 1393*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void unregisterAppUsageObserver(int); 1394*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void unregisterUsageSessionObserver(int); 1395*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void whitelistAppTemporarily(String, long, android.os.UserHandle); 1396*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_OBSERVER_ID = "android.app.usage.extra.OBSERVER_ID"; 1397*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_TIME_LIMIT = "android.app.usage.extra.TIME_LIMIT"; 1398*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_TIME_USED = "android.app.usage.extra.TIME_USED"; 1399*344a7f5eSAndroid Build Coastguard Worker field public static final int STANDBY_BUCKET_EXEMPTED = 5; // 0x5 1400*344a7f5eSAndroid Build Coastguard Worker field public static final int STANDBY_BUCKET_NEVER = 50; // 0x32 1401*344a7f5eSAndroid Build Coastguard Worker field public static final int USAGE_SOURCE_CURRENT_ACTIVITY = 2; // 0x2 1402*344a7f5eSAndroid Build Coastguard Worker field public static final int USAGE_SOURCE_TASK_ROOT_ACTIVITY = 1; // 0x1 1403*344a7f5eSAndroid Build Coastguard Worker } 1404*344a7f5eSAndroid Build Coastguard Worker 1405*344a7f5eSAndroid Build Coastguard Worker} 1406*344a7f5eSAndroid Build Coastguard Worker 1407*344a7f5eSAndroid Build Coastguard Workerpackage android.bluetooth { 1408*344a7f5eSAndroid Build Coastguard Worker 1409*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothA2dp implements android.bluetooth.BluetoothProfile { 1410*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); 1411*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); 1412*344a7f5eSAndroid Build Coastguard Worker field public static final int OPTIONAL_CODECS_NOT_SUPPORTED = 0; // 0x0 1413*344a7f5eSAndroid Build Coastguard Worker field public static final int OPTIONAL_CODECS_PREF_DISABLED = 0; // 0x0 1414*344a7f5eSAndroid Build Coastguard Worker field public static final int OPTIONAL_CODECS_PREF_ENABLED = 1; // 0x1 1415*344a7f5eSAndroid Build Coastguard Worker field public static final int OPTIONAL_CODECS_PREF_UNKNOWN = -1; // 0xffffffff 1416*344a7f5eSAndroid Build Coastguard Worker field public static final int OPTIONAL_CODECS_SUPPORTED = 1; // 0x1 1417*344a7f5eSAndroid Build Coastguard Worker field public static final int OPTIONAL_CODECS_SUPPORT_UNKNOWN = -1; // 0xffffffff 1418*344a7f5eSAndroid Build Coastguard Worker } 1419*344a7f5eSAndroid Build Coastguard Worker 1420*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothA2dpSink implements android.bluetooth.BluetoothProfile { 1421*344a7f5eSAndroid Build Coastguard Worker method public void finalize(); 1422*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); 1423*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean isAudioPlaying(@NonNull android.bluetooth.BluetoothDevice); 1424*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); 1425*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.a2dp-sink.profile.action.CONNECTION_STATE_CHANGED"; 1426*344a7f5eSAndroid Build Coastguard Worker } 1427*344a7f5eSAndroid Build Coastguard Worker 1428*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothAdapter { 1429*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean addOnMetadataChangedListener(@NonNull android.bluetooth.BluetoothDevice, @NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothAdapter.OnMetadataChangedListener); 1430*344a7f5eSAndroid Build Coastguard Worker method public boolean disableBLE(); 1431*344a7f5eSAndroid Build Coastguard Worker method public boolean enableBLE(); 1432*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean enableNoAutoConnect(); 1433*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public long getDiscoveryEndMillis(); 1434*344a7f5eSAndroid Build Coastguard Worker method public boolean isBleScanAlwaysAvailable(); 1435*344a7f5eSAndroid Build Coastguard Worker method public boolean isLeEnabled(); 1436*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean removeActiveDevice(int); 1437*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean removeOnMetadataChangedListener(@NonNull android.bluetooth.BluetoothDevice, @NonNull android.bluetooth.BluetoothAdapter.OnMetadataChangedListener); 1438*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setActiveDevice(@NonNull android.bluetooth.BluetoothDevice, int); 1439*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_BLE_STATE_CHANGED = "android.bluetooth.adapter.action.BLE_STATE_CHANGED"; 1440*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_REQUEST_BLE_SCAN_ALWAYS_AVAILABLE = "android.bluetooth.adapter.action.REQUEST_BLE_SCAN_ALWAYS_AVAILABLE"; 1441*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTIVE_DEVICE_ALL = 2; // 0x2 1442*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTIVE_DEVICE_AUDIO = 0; // 0x0 1443*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTIVE_DEVICE_PHONE_CALL = 1; // 0x1 1444*344a7f5eSAndroid Build Coastguard Worker } 1445*344a7f5eSAndroid Build Coastguard Worker 1446*344a7f5eSAndroid Build Coastguard Worker public static interface BluetoothAdapter.OnMetadataChangedListener { 1447*344a7f5eSAndroid Build Coastguard Worker method public void onMetadataChanged(@NonNull android.bluetooth.BluetoothDevice, int, @Nullable byte[]); 1448*344a7f5eSAndroid Build Coastguard Worker } 1449*344a7f5eSAndroid Build Coastguard Worker 1450*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothDevice implements android.os.Parcelable { 1451*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean cancelBondProcess(); 1452*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public byte[] getMetadata(int); 1453*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH) public int getSimAccessPermission(); 1454*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH) public boolean isConnected(); 1455*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH) public boolean isEncrypted(); 1456*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean isInSilenceMode(); 1457*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean removeBond(); 1458*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setMessageAccessPermission(int); 1459*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setMetadata(int, @NonNull byte[]); 1460*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setPhonebookAccessPermission(int); 1461*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setSilenceMode(boolean); 1462*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setSimAccessPermission(int); 1463*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCESS_ALLOWED = 1; // 0x1 1464*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCESS_REJECTED = 2; // 0x2 1465*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCESS_UNKNOWN = 0; // 0x0 1466*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SILENCE_MODE_CHANGED = "android.bluetooth.device.action.SILENCE_MODE_CHANGED"; 1467*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_COMPANION_APP = 4; // 0x4 1468*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_ENHANCED_SETTINGS_UI_URI = 16; // 0x10 1469*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_HARDWARE_VERSION = 3; // 0x3 1470*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_IS_UNTETHERED_HEADSET = 6; // 0x6 1471*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_MAIN_ICON = 5; // 0x5 1472*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_MANUFACTURER_NAME = 0; // 0x0 1473*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_MAX_LENGTH = 2048; // 0x800 1474*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_MODEL_NAME = 1; // 0x1 1475*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_SOFTWARE_VERSION = 2; // 0x2 1476*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_UNTETHERED_CASE_BATTERY = 12; // 0xc 1477*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_UNTETHERED_CASE_CHARGING = 15; // 0xf 1478*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_UNTETHERED_CASE_ICON = 9; // 0x9 1479*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_UNTETHERED_LEFT_BATTERY = 10; // 0xa 1480*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_UNTETHERED_LEFT_CHARGING = 13; // 0xd 1481*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_UNTETHERED_LEFT_ICON = 7; // 0x7 1482*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_UNTETHERED_RIGHT_BATTERY = 11; // 0xb 1483*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_UNTETHERED_RIGHT_CHARGING = 14; // 0xe 1484*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_UNTETHERED_RIGHT_ICON = 8; // 0x8 1485*344a7f5eSAndroid Build Coastguard Worker } 1486*344a7f5eSAndroid Build Coastguard Worker 1487*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile { 1488*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean connect(android.bluetooth.BluetoothDevice); 1489*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean disconnect(android.bluetooth.BluetoothDevice); 1490*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); 1491*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); 1492*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean setPriority(android.bluetooth.BluetoothDevice, int); 1493*344a7f5eSAndroid Build Coastguard Worker } 1494*344a7f5eSAndroid Build Coastguard Worker 1495*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothHearingAid implements android.bluetooth.BluetoothProfile { 1496*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); 1497*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public long getHiSyncId(@NonNull android.bluetooth.BluetoothDevice); 1498*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); 1499*344a7f5eSAndroid Build Coastguard Worker } 1500*344a7f5eSAndroid Build Coastguard Worker 1501*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothHidDevice implements android.bluetooth.BluetoothProfile { 1502*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); 1503*344a7f5eSAndroid Build Coastguard Worker } 1504*344a7f5eSAndroid Build Coastguard Worker 1505*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothHidHost implements android.bluetooth.BluetoothProfile { 1506*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices(); 1507*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); 1508*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice); 1509*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); 1510*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED"; 1511*344a7f5eSAndroid Build Coastguard Worker } 1512*344a7f5eSAndroid Build Coastguard Worker 1513*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothMap implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile { 1514*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public void close(); 1515*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) protected void finalize(); 1516*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices(); 1517*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice); 1518*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); 1519*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.map.profile.action.CONNECTION_STATE_CHANGED"; 1520*344a7f5eSAndroid Build Coastguard Worker } 1521*344a7f5eSAndroid Build Coastguard Worker 1522*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothPan implements android.bluetooth.BluetoothProfile { 1523*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices(); 1524*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice); 1525*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean isTetheringOn(); 1526*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public void setBluetoothTethering(boolean); 1527*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); 1528*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED"; 1529*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LOCAL_ROLE = "android.bluetooth.pan.extra.LOCAL_ROLE"; 1530*344a7f5eSAndroid Build Coastguard Worker field public static final int LOCAL_NAP_ROLE = 1; // 0x1 1531*344a7f5eSAndroid Build Coastguard Worker field public static final int LOCAL_PANU_ROLE = 2; // 0x2 1532*344a7f5eSAndroid Build Coastguard Worker field public static final int PAN_ROLE_NONE = 0; // 0x0 1533*344a7f5eSAndroid Build Coastguard Worker field public static final int REMOTE_NAP_ROLE = 1; // 0x1 1534*344a7f5eSAndroid Build Coastguard Worker field public static final int REMOTE_PANU_ROLE = 2; // 0x2 1535*344a7f5eSAndroid Build Coastguard Worker } 1536*344a7f5eSAndroid Build Coastguard Worker 1537*344a7f5eSAndroid Build Coastguard Worker public class BluetoothPbap implements android.bluetooth.BluetoothProfile { 1538*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice); 1539*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int); 1540*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.pbap.profile.action.CONNECTION_STATE_CHANGED"; 1541*344a7f5eSAndroid Build Coastguard Worker } 1542*344a7f5eSAndroid Build Coastguard Worker 1543*344a7f5eSAndroid Build Coastguard Worker public interface BluetoothProfile { 1544*344a7f5eSAndroid Build Coastguard Worker field public static final int A2DP_SINK = 11; // 0xb 1545*344a7f5eSAndroid Build Coastguard Worker field public static final int AVRCP_CONTROLLER = 12; // 0xc 1546*344a7f5eSAndroid Build Coastguard Worker field public static final int CONNECTION_POLICY_ALLOWED = 100; // 0x64 1547*344a7f5eSAndroid Build Coastguard Worker field public static final int CONNECTION_POLICY_FORBIDDEN = 0; // 0x0 1548*344a7f5eSAndroid Build Coastguard Worker field public static final int CONNECTION_POLICY_UNKNOWN = -1; // 0xffffffff 1549*344a7f5eSAndroid Build Coastguard Worker field public static final int HEADSET_CLIENT = 16; // 0x10 1550*344a7f5eSAndroid Build Coastguard Worker field public static final int PAN = 5; // 0x5 1551*344a7f5eSAndroid Build Coastguard Worker field public static final int PBAP_CLIENT = 17; // 0x11 1552*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PRIORITY_OFF = 0; // 0x0 1553*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PRIORITY_ON = 100; // 0x64 1554*344a7f5eSAndroid Build Coastguard Worker } 1555*344a7f5eSAndroid Build Coastguard Worker 1556*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothUuid { 1557*344a7f5eSAndroid Build Coastguard Worker method public static boolean containsAnyUuid(@Nullable android.os.ParcelUuid[], @Nullable android.os.ParcelUuid[]); 1558*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.os.ParcelUuid parseUuidFrom(@Nullable byte[]); 1559*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid A2DP_SINK; 1560*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid A2DP_SOURCE; 1561*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid ADV_AUDIO_DIST; 1562*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid AVRCP_CONTROLLER; 1563*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid AVRCP_TARGET; 1564*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid BASE_UUID; 1565*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid BNEP; 1566*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid HEARING_AID; 1567*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid HFP; 1568*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid HFP_AG; 1569*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid HID; 1570*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid HOGP; 1571*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid HSP; 1572*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid HSP_AG; 1573*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid MAP; 1574*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid MAS; 1575*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid MNS; 1576*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid NAP; 1577*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid OBEX_OBJECT_PUSH; 1578*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid PANU; 1579*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid PBAP_PCE; 1580*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid PBAP_PSE; 1581*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.ParcelUuid SAP; 1582*344a7f5eSAndroid Build Coastguard Worker field public static final int UUID_BYTES_128_BIT = 16; // 0x10 1583*344a7f5eSAndroid Build Coastguard Worker field public static final int UUID_BYTES_16_BIT = 2; // 0x2 1584*344a7f5eSAndroid Build Coastguard Worker field public static final int UUID_BYTES_32_BIT = 4; // 0x4 1585*344a7f5eSAndroid Build Coastguard Worker } 1586*344a7f5eSAndroid Build Coastguard Worker 1587*344a7f5eSAndroid Build Coastguard Worker} 1588*344a7f5eSAndroid Build Coastguard Worker 1589*344a7f5eSAndroid Build Coastguard Workerpackage android.bluetooth.le { 1590*344a7f5eSAndroid Build Coastguard Worker 1591*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothLeScanner { 1592*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_ADMIN, android.Manifest.permission.UPDATE_DEVICE_STATS}) public void startScanFromSource(android.os.WorkSource, android.bluetooth.le.ScanCallback); 1593*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_ADMIN, android.Manifest.permission.UPDATE_DEVICE_STATS}) public void startScanFromSource(java.util.List<android.bluetooth.le.ScanFilter>, android.bluetooth.le.ScanSettings, android.os.WorkSource, android.bluetooth.le.ScanCallback); 1594*344a7f5eSAndroid Build Coastguard Worker method public void startTruncatedScan(java.util.List<android.bluetooth.le.TruncatedFilter>, android.bluetooth.le.ScanSettings, android.bluetooth.le.ScanCallback); 1595*344a7f5eSAndroid Build Coastguard Worker } 1596*344a7f5eSAndroid Build Coastguard Worker 1597*344a7f5eSAndroid Build Coastguard Worker public final class ResultStorageDescriptor implements android.os.Parcelable { 1598*344a7f5eSAndroid Build Coastguard Worker ctor public ResultStorageDescriptor(int, int, int); 1599*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1600*344a7f5eSAndroid Build Coastguard Worker method public int getLength(); 1601*344a7f5eSAndroid Build Coastguard Worker method public int getOffset(); 1602*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 1603*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1604*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.le.ResultStorageDescriptor> CREATOR; 1605*344a7f5eSAndroid Build Coastguard Worker } 1606*344a7f5eSAndroid Build Coastguard Worker 1607*344a7f5eSAndroid Build Coastguard Worker public final class ScanSettings implements android.os.Parcelable { 1608*344a7f5eSAndroid Build Coastguard Worker field public static final int SCAN_RESULT_TYPE_ABBREVIATED = 1; // 0x1 1609*344a7f5eSAndroid Build Coastguard Worker field public static final int SCAN_RESULT_TYPE_FULL = 0; // 0x0 1610*344a7f5eSAndroid Build Coastguard Worker } 1611*344a7f5eSAndroid Build Coastguard Worker 1612*344a7f5eSAndroid Build Coastguard Worker public static final class ScanSettings.Builder { 1613*344a7f5eSAndroid Build Coastguard Worker method public android.bluetooth.le.ScanSettings.Builder setScanResultType(int); 1614*344a7f5eSAndroid Build Coastguard Worker } 1615*344a7f5eSAndroid Build Coastguard Worker 1616*344a7f5eSAndroid Build Coastguard Worker public final class TruncatedFilter { 1617*344a7f5eSAndroid Build Coastguard Worker ctor public TruncatedFilter(android.bluetooth.le.ScanFilter, java.util.List<android.bluetooth.le.ResultStorageDescriptor>); 1618*344a7f5eSAndroid Build Coastguard Worker method public android.bluetooth.le.ScanFilter getFilter(); 1619*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.bluetooth.le.ResultStorageDescriptor> getStorageDescriptors(); 1620*344a7f5eSAndroid Build Coastguard Worker } 1621*344a7f5eSAndroid Build Coastguard Worker 1622*344a7f5eSAndroid Build Coastguard Worker} 1623*344a7f5eSAndroid Build Coastguard Worker 1624*344a7f5eSAndroid Build Coastguard Workerpackage android.companion { 1625*344a7f5eSAndroid Build Coastguard Worker 1626*344a7f5eSAndroid Build Coastguard Worker public final class CompanionDeviceManager { 1627*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public boolean isDeviceAssociatedForWifiConnection(@NonNull String, @NonNull android.net.MacAddress, @NonNull android.os.UserHandle); 1628*344a7f5eSAndroid Build Coastguard Worker } 1629*344a7f5eSAndroid Build Coastguard Worker 1630*344a7f5eSAndroid Build Coastguard Worker} 1631*344a7f5eSAndroid Build Coastguard Worker 1632*344a7f5eSAndroid Build Coastguard Workerpackage android.content { 1633*344a7f5eSAndroid Build Coastguard Worker 1634*344a7f5eSAndroid Build Coastguard Worker public class ApexEnvironment { 1635*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.ApexEnvironment getApexEnvironment(@NonNull String); 1636*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.io.File getCredentialProtectedDataDirForUser(@NonNull android.os.UserHandle); 1637*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.io.File getDeviceProtectedDataDir(); 1638*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.io.File getDeviceProtectedDataDirForUser(@NonNull android.os.UserHandle); 1639*344a7f5eSAndroid Build Coastguard Worker } 1640*344a7f5eSAndroid Build Coastguard Worker 1641*344a7f5eSAndroid Build Coastguard Worker public abstract class BroadcastReceiver { 1642*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.os.UserHandle getSendingUser(); 1643*344a7f5eSAndroid Build Coastguard Worker } 1644*344a7f5eSAndroid Build Coastguard Worker 1645*344a7f5eSAndroid Build Coastguard Worker public abstract class ContentProvider implements android.content.ComponentCallbacks2 { 1646*344a7f5eSAndroid Build Coastguard Worker method public int checkUriPermission(@NonNull android.net.Uri, int, int); 1647*344a7f5eSAndroid Build Coastguard Worker } 1648*344a7f5eSAndroid Build Coastguard Worker 1649*344a7f5eSAndroid Build Coastguard Worker public class ContentProviderClient implements java.lang.AutoCloseable { 1650*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.REMOVE_TASKS) public void setDetectNotResponding(long); 1651*344a7f5eSAndroid Build Coastguard Worker } 1652*344a7f5eSAndroid Build Coastguard Worker 1653*344a7f5eSAndroid Build Coastguard Worker public abstract class ContentResolver { 1654*344a7f5eSAndroid Build Coastguard Worker method public int checkUriPermission(@NonNull android.net.Uri, int, int); 1655*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.net.Uri decodeFromFile(@NonNull java.io.File); 1656*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.File encodeToFile(@NonNull android.net.Uri); 1657*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission("android.permission.CACHE_CONTENT") public android.os.Bundle getCache(@NonNull android.net.Uri); 1658*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.CACHE_CONTENT") public void putCache(@NonNull android.net.Uri, @Nullable android.os.Bundle); 1659*344a7f5eSAndroid Build Coastguard Worker } 1660*344a7f5eSAndroid Build Coastguard Worker 1661*344a7f5eSAndroid Build Coastguard Worker public abstract class Context { 1662*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.Context createContextAsUser(@NonNull android.os.UserHandle, int); 1663*344a7f5eSAndroid Build Coastguard Worker method public abstract android.content.Context createCredentialProtectedStorageContext(); 1664*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.Context createPackageContextAsUser(@NonNull String, int, @NonNull android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException; 1665*344a7f5eSAndroid Build Coastguard Worker method @Nullable public abstract java.io.File getPreloadsFileCache(); 1666*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean isCredentialProtectedStorage(); 1667*344a7f5eSAndroid Build Coastguard Worker 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); 1668*344a7f5eSAndroid Build Coastguard Worker method public abstract void sendBroadcast(android.content.Intent, @Nullable String, @Nullable android.os.Bundle); 1669*344a7f5eSAndroid Build Coastguard Worker 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); 1670*344a7f5eSAndroid Build Coastguard Worker method public abstract void sendOrderedBroadcast(@NonNull android.content.Intent, @Nullable String, @Nullable android.os.Bundle, @Nullable android.content.BroadcastReceiver, @Nullable android.os.Handler, int, @Nullable String, @Nullable android.os.Bundle); 1671*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public void startActivityAsUser(@NonNull @RequiresPermission android.content.Intent, @NonNull android.os.UserHandle); 1672*344a7f5eSAndroid Build Coastguard Worker field public static final String APP_INTEGRITY_SERVICE = "app_integrity"; 1673*344a7f5eSAndroid Build Coastguard Worker field public static final String APP_PREDICTION_SERVICE = "app_prediction"; 1674*344a7f5eSAndroid Build Coastguard Worker field public static final String BACKUP_SERVICE = "backup"; 1675*344a7f5eSAndroid Build Coastguard Worker field public static final String BATTERY_STATS_SERVICE = "batterystats"; 1676*344a7f5eSAndroid Build Coastguard Worker field public static final String BUGREPORT_SERVICE = "bugreport"; 1677*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTENT_SUGGESTIONS_SERVICE = "content_suggestions"; 1678*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTEXTHUB_SERVICE = "contexthub"; 1679*344a7f5eSAndroid Build Coastguard Worker field public static final String ETHERNET_SERVICE = "ethernet"; 1680*344a7f5eSAndroid Build Coastguard Worker field public static final String EUICC_CARD_SERVICE = "euicc_card"; 1681*344a7f5eSAndroid Build Coastguard Worker field public static final String HDMI_CONTROL_SERVICE = "hdmi_control"; 1682*344a7f5eSAndroid Build Coastguard Worker field public static final String NETD_SERVICE = "netd"; 1683*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_SCORE_SERVICE = "network_score"; 1684*344a7f5eSAndroid Build Coastguard Worker field public static final String OEM_LOCK_SERVICE = "oem_lock"; 1685*344a7f5eSAndroid Build Coastguard Worker field public static final String PERMISSION_SERVICE = "permission"; 1686*344a7f5eSAndroid Build Coastguard Worker field public static final String PERSISTENT_DATA_BLOCK_SERVICE = "persistent_data_block"; 1687*344a7f5eSAndroid Build Coastguard Worker field public static final String ROLLBACK_SERVICE = "rollback"; 1688*344a7f5eSAndroid Build Coastguard Worker field public static final String SECURE_ELEMENT_SERVICE = "secure_element"; 1689*344a7f5eSAndroid Build Coastguard Worker field public static final String STATS_MANAGER = "stats"; 1690*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_BAR_SERVICE = "statusbar"; 1691*344a7f5eSAndroid Build Coastguard Worker field public static final String SYSTEM_CONFIG_SERVICE = "system_config"; 1692*344a7f5eSAndroid Build Coastguard Worker field public static final String SYSTEM_UPDATE_SERVICE = "system_update"; 1693*344a7f5eSAndroid Build Coastguard Worker field public static final String TETHERING_SERVICE = "tethering"; 1694*344a7f5eSAndroid Build Coastguard Worker field public static final String VR_SERVICE = "vrmanager"; 1695*344a7f5eSAndroid Build Coastguard Worker field public static final String WIFI_NL80211_SERVICE = "wifinl80211"; 1696*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String WIFI_RTT_SERVICE = "rttmanager"; 1697*344a7f5eSAndroid Build Coastguard Worker field public static final String WIFI_SCANNING_SERVICE = "wifiscanner"; 1698*344a7f5eSAndroid Build Coastguard Worker } 1699*344a7f5eSAndroid Build Coastguard Worker 1700*344a7f5eSAndroid Build Coastguard Worker public class ContextWrapper extends android.content.Context { 1701*344a7f5eSAndroid Build Coastguard Worker method public android.content.Context createCredentialProtectedStorageContext(); 1702*344a7f5eSAndroid Build Coastguard Worker method public java.io.File getPreloadsFileCache(); 1703*344a7f5eSAndroid Build Coastguard Worker method public boolean isCredentialProtectedStorage(); 1704*344a7f5eSAndroid Build Coastguard Worker method public void sendBroadcast(android.content.Intent, String, android.os.Bundle); 1705*344a7f5eSAndroid Build Coastguard Worker method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, String, android.os.Bundle); 1706*344a7f5eSAndroid Build Coastguard Worker method public void sendOrderedBroadcast(android.content.Intent, String, android.os.Bundle, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle); 1707*344a7f5eSAndroid Build Coastguard Worker } 1708*344a7f5eSAndroid Build Coastguard Worker 1709*344a7f5eSAndroid Build Coastguard Worker public class Intent implements java.lang.Cloneable android.os.Parcelable { 1710*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_BATTERY_LEVEL_CHANGED = "android.intent.action.BATTERY_LEVEL_CHANGED"; 1711*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_CALL_EMERGENCY = "android.intent.action.CALL_EMERGENCY"; 1712*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_CALL_PRIVILEGED = "android.intent.action.CALL_PRIVILEGED"; 1713*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_DEVICE_CUSTOMIZATION_READY = "android.intent.action.DEVICE_CUSTOMIZATION_READY"; 1714*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_DIAL_EMERGENCY = "android.intent.action.DIAL_EMERGENCY"; 1715*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_FACTORY_RESET = "android.intent.action.FACTORY_RESET"; 1716*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_GLOBAL_BUTTON = "android.intent.action.GLOBAL_BUTTON"; 1717*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_INCIDENT_REPORT_READY = "android.intent.action.INCIDENT_REPORT_READY"; 1718*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_INSTALL_INSTANT_APP_PACKAGE = "android.intent.action.INSTALL_INSTANT_APP_PACKAGE"; 1719*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_INSTANT_APP_RESOLVER_SETTINGS = "android.intent.action.INSTANT_APP_RESOLVER_SETTINGS"; 1720*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_INTENT_FILTER_NEEDS_VERIFICATION = "android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION"; 1721*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_LOAD_DATA = "android.intent.action.LOAD_DATA"; 1722*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_MANAGE_APP_PERMISSION = "android.intent.action.MANAGE_APP_PERMISSION"; 1723*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_MANAGE_APP_PERMISSIONS = "android.intent.action.MANAGE_APP_PERMISSIONS"; 1724*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public static final String ACTION_MANAGE_DEFAULT_APP = "android.intent.action.MANAGE_DEFAULT_APP"; 1725*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_MANAGE_PERMISSIONS = "android.intent.action.MANAGE_PERMISSIONS"; 1726*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_MANAGE_PERMISSION_APPS = "android.intent.action.MANAGE_PERMISSION_APPS"; 1727*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public static final String ACTION_MANAGE_SPECIAL_APP_ACCESSES = "android.intent.action.MANAGE_SPECIAL_APP_ACCESSES"; 1728*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_MASTER_CLEAR_NOTIFICATION = "android.intent.action.MASTER_CLEAR_NOTIFICATION"; 1729*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_PACKAGE_NEEDS_INTEGRITY_VERIFICATION = "android.intent.action.PACKAGE_NEEDS_INTEGRITY_VERIFICATION"; 1730*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_PACKAGE_UNSUSPENDED_MANUALLY = "android.intent.action.PACKAGE_UNSUSPENDED_MANUALLY"; 1731*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_PENDING_INCIDENT_REPORTS_CHANGED = "android.intent.action.PENDING_INCIDENT_REPORTS_CHANGED"; 1732*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_PRE_BOOT_COMPLETED = "android.intent.action.PRE_BOOT_COMPLETED"; 1733*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_QUERY_PACKAGE_RESTART = "android.intent.action.QUERY_PACKAGE_RESTART"; 1734*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_RESOLVE_INSTANT_APP_PACKAGE = "android.intent.action.RESOLVE_INSTANT_APP_PACKAGE"; 1735*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.REVIEW_ACCESSIBILITY_SERVICES) public static final String ACTION_REVIEW_ACCESSIBILITY_SERVICES = "android.intent.action.REVIEW_ACCESSIBILITY_SERVICES"; 1736*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_ONGOING_PERMISSION_USAGE = "android.intent.action.REVIEW_ONGOING_PERMISSION_USAGE"; 1737*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_REVIEW_PERMISSIONS = "android.intent.action.REVIEW_PERMISSIONS"; 1738*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_PERMISSION_USAGE = "android.intent.action.REVIEW_PERMISSION_USAGE"; 1739*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_ROLLBACK_COMMITTED = "android.intent.action.ROLLBACK_COMMITTED"; 1740*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SHOW_SUSPENDED_APP_DETAILS = "android.intent.action.SHOW_SUSPENDED_APP_DETAILS"; 1741*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String ACTION_SIM_STATE_CHANGED = "android.intent.action.SIM_STATE_CHANGED"; 1742*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SPLIT_CONFIGURATION_CHANGED = "android.intent.action.SPLIT_CONFIGURATION_CHANGED"; 1743*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_UPGRADE_SETUP = "android.intent.action.UPGRADE_SETUP"; 1744*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_USER_ADDED = "android.intent.action.USER_ADDED"; 1745*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_USER_REMOVED = "android.intent.action.USER_REMOVED"; 1746*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_VOICE_ASSIST = "android.intent.action.VOICE_ASSIST"; 1747*344a7f5eSAndroid Build Coastguard Worker field public static final String CATEGORY_LEANBACK_SETTINGS = "android.intent.category.LEANBACK_SETTINGS"; 1748*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CALLING_PACKAGE = "android.intent.extra.CALLING_PACKAGE"; 1749*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_FORCE_FACTORY_RESET = "android.intent.extra.FORCE_FACTORY_RESET"; 1750*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_INSTANT_APP_ACTION = "android.intent.extra.INSTANT_APP_ACTION"; 1751*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_INSTANT_APP_BUNDLES = "android.intent.extra.INSTANT_APP_BUNDLES"; 1752*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_INSTANT_APP_EXTRAS = "android.intent.extra.INSTANT_APP_EXTRAS"; 1753*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_INSTANT_APP_FAILURE = "android.intent.extra.INSTANT_APP_FAILURE"; 1754*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_INSTANT_APP_HOSTNAME = "android.intent.extra.INSTANT_APP_HOSTNAME"; 1755*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_INSTANT_APP_SUCCESS = "android.intent.extra.INSTANT_APP_SUCCESS"; 1756*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_INSTANT_APP_TOKEN = "android.intent.extra.INSTANT_APP_TOKEN"; 1757*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_LONG_VERSION_CODE = "android.intent.extra.LONG_VERSION_CODE"; 1758*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ORIGINATING_UID = "android.intent.extra.ORIGINATING_UID"; 1759*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PACKAGES = "android.intent.extra.PACKAGES"; 1760*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PERMISSION_GROUP_NAME = "android.intent.extra.PERMISSION_GROUP_NAME"; 1761*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PERMISSION_NAME = "android.intent.extra.PERMISSION_NAME"; 1762*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_REASON = "android.intent.extra.REASON"; 1763*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_REMOTE_CALLBACK = "android.intent.extra.REMOTE_CALLBACK"; 1764*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_RESULT_NEEDED = "android.intent.extra.RESULT_NEEDED"; 1765*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ROLE_NAME = "android.intent.extra.ROLE_NAME"; 1766*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_UNKNOWN_INSTANT_APP = "android.intent.extra.UNKNOWN_INSTANT_APP"; 1767*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_VERIFICATION_BUNDLE = "android.intent.extra.VERIFICATION_BUNDLE"; 1768*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT = 67108864; // 0x4000000 1769*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_SETUP_VERSION = "android.SETUP_VERSION"; 1770*344a7f5eSAndroid Build Coastguard Worker } 1771*344a7f5eSAndroid Build Coastguard Worker 1772*344a7f5eSAndroid Build Coastguard Worker public class IntentFilter implements android.os.Parcelable { 1773*344a7f5eSAndroid Build Coastguard Worker method public final int getOrder(); 1774*344a7f5eSAndroid Build Coastguard Worker method public final void setOrder(int); 1775*344a7f5eSAndroid Build Coastguard Worker } 1776*344a7f5eSAndroid Build Coastguard Worker 1777*344a7f5eSAndroid Build Coastguard Worker} 1778*344a7f5eSAndroid Build Coastguard Worker 1779*344a7f5eSAndroid Build Coastguard Workerpackage android.content.integrity { 1780*344a7f5eSAndroid Build Coastguard Worker 1781*344a7f5eSAndroid Build Coastguard Worker public class AppIntegrityManager { 1782*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getCurrentRuleSetProvider(); 1783*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getCurrentRuleSetVersion(); 1784*344a7f5eSAndroid Build Coastguard Worker method public void updateRuleSet(@NonNull android.content.integrity.RuleSet, @NonNull android.content.IntentSender); 1785*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_STATUS = "android.content.integrity.extra.STATUS"; 1786*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_FAILURE = 1; // 0x1 1787*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_SUCCESS = 0; // 0x0 1788*344a7f5eSAndroid Build Coastguard Worker } 1789*344a7f5eSAndroid Build Coastguard Worker 1790*344a7f5eSAndroid Build Coastguard Worker public abstract class IntegrityFormula { 1791*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula all(@NonNull android.content.integrity.IntegrityFormula...); 1792*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula any(@NonNull android.content.integrity.IntegrityFormula...); 1793*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula not(@NonNull android.content.integrity.IntegrityFormula); 1794*344a7f5eSAndroid Build Coastguard Worker } 1795*344a7f5eSAndroid Build Coastguard Worker 1796*344a7f5eSAndroid Build Coastguard Worker public static final class IntegrityFormula.Application { 1797*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula certificatesContain(@NonNull String); 1798*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula isPreInstalled(); 1799*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula packageNameEquals(@NonNull String); 1800*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula versionCodeEquals(@NonNull long); 1801*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula versionCodeGreaterThan(@NonNull long); 1802*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula versionCodeGreaterThanOrEqualTo(@NonNull long); 1803*344a7f5eSAndroid Build Coastguard Worker } 1804*344a7f5eSAndroid Build Coastguard Worker 1805*344a7f5eSAndroid Build Coastguard Worker public static final class IntegrityFormula.Installer { 1806*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula certificatesContain(@NonNull String); 1807*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula notAllowedByManifest(); 1808*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula packageNameEquals(@NonNull String); 1809*344a7f5eSAndroid Build Coastguard Worker } 1810*344a7f5eSAndroid Build Coastguard Worker 1811*344a7f5eSAndroid Build Coastguard Worker public static final class IntegrityFormula.SourceStamp { 1812*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula notTrusted(); 1813*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula stampCertificateHashEquals(@NonNull String); 1814*344a7f5eSAndroid Build Coastguard Worker } 1815*344a7f5eSAndroid Build Coastguard Worker 1816*344a7f5eSAndroid Build Coastguard Worker public final class Rule implements android.os.Parcelable { 1817*344a7f5eSAndroid Build Coastguard Worker ctor public Rule(@NonNull android.content.integrity.IntegrityFormula, int); 1818*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1819*344a7f5eSAndroid Build Coastguard Worker method public int getEffect(); 1820*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.integrity.IntegrityFormula getFormula(); 1821*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 1822*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.integrity.Rule> CREATOR; 1823*344a7f5eSAndroid Build Coastguard Worker field public static final int DENY = 0; // 0x0 1824*344a7f5eSAndroid Build Coastguard Worker field public static final int FORCE_ALLOW = 1; // 0x1 1825*344a7f5eSAndroid Build Coastguard Worker } 1826*344a7f5eSAndroid Build Coastguard Worker 1827*344a7f5eSAndroid Build Coastguard Worker public class RuleSet { 1828*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.content.integrity.Rule> getRules(); 1829*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getVersion(); 1830*344a7f5eSAndroid Build Coastguard Worker } 1831*344a7f5eSAndroid Build Coastguard Worker 1832*344a7f5eSAndroid Build Coastguard Worker public static class RuleSet.Builder { 1833*344a7f5eSAndroid Build Coastguard Worker ctor public RuleSet.Builder(); 1834*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.integrity.RuleSet.Builder addRules(@NonNull java.util.List<android.content.integrity.Rule>); 1835*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.integrity.RuleSet build(); 1836*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.integrity.RuleSet.Builder setVersion(@NonNull String); 1837*344a7f5eSAndroid Build Coastguard Worker } 1838*344a7f5eSAndroid Build Coastguard Worker 1839*344a7f5eSAndroid Build Coastguard Worker} 1840*344a7f5eSAndroid Build Coastguard Worker 1841*344a7f5eSAndroid Build Coastguard Workerpackage android.content.om { 1842*344a7f5eSAndroid Build Coastguard Worker 1843*344a7f5eSAndroid Build Coastguard Worker public final class OverlayInfo implements android.os.Parcelable { 1844*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1845*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getCategory(); 1846*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 1847*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getTargetOverlayableName(); 1848*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getTargetPackageName(); 1849*344a7f5eSAndroid Build Coastguard Worker method public int getUserId(); 1850*344a7f5eSAndroid Build Coastguard Worker method public boolean isEnabled(); 1851*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1852*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.om.OverlayInfo> CREATOR; 1853*344a7f5eSAndroid Build Coastguard Worker } 1854*344a7f5eSAndroid Build Coastguard Worker 1855*344a7f5eSAndroid Build Coastguard Worker public class OverlayManager { 1856*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.om.OverlayInfo getOverlayInfo(@NonNull String, @NonNull android.os.UserHandle); 1857*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public java.util.List<android.content.om.OverlayInfo> getOverlayInfosForTarget(@NonNull String, @NonNull android.os.UserHandle); 1858*344a7f5eSAndroid Build Coastguard Worker 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; 1859*344a7f5eSAndroid Build Coastguard Worker 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; 1860*344a7f5eSAndroid Build Coastguard Worker } 1861*344a7f5eSAndroid Build Coastguard Worker 1862*344a7f5eSAndroid Build Coastguard Worker} 1863*344a7f5eSAndroid Build Coastguard Worker 1864*344a7f5eSAndroid Build Coastguard Workerpackage android.content.pm { 1865*344a7f5eSAndroid Build Coastguard Worker 1866*344a7f5eSAndroid Build Coastguard Worker public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { 1867*344a7f5eSAndroid Build Coastguard Worker method public boolean isEncryptionAware(); 1868*344a7f5eSAndroid Build Coastguard Worker method public boolean isInstantApp(); 1869*344a7f5eSAndroid Build Coastguard Worker field public String credentialProtectedDataDir; 1870*344a7f5eSAndroid Build Coastguard Worker field public int targetSandboxVersion; 1871*344a7f5eSAndroid Build Coastguard Worker } 1872*344a7f5eSAndroid Build Coastguard Worker 1873*344a7f5eSAndroid Build Coastguard Worker public class CrossProfileApps { 1874*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_PROFILES) public void startActivity(@NonNull android.content.ComponentName, @NonNull android.os.UserHandle); 1875*344a7f5eSAndroid Build Coastguard Worker } 1876*344a7f5eSAndroid Build Coastguard Worker 1877*344a7f5eSAndroid Build Coastguard Worker public class DataLoaderParams { 1878*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static final android.content.pm.DataLoaderParams forIncremental(@NonNull android.content.ComponentName, @NonNull String); 1879*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static final android.content.pm.DataLoaderParams forStreaming(@NonNull android.content.ComponentName, @NonNull String); 1880*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final String getArguments(); 1881*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.content.ComponentName getComponentName(); 1882*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final int getType(); 1883*344a7f5eSAndroid Build Coastguard Worker } 1884*344a7f5eSAndroid Build Coastguard Worker 1885*344a7f5eSAndroid Build Coastguard Worker public final class InstallationFile { 1886*344a7f5eSAndroid Build Coastguard Worker method public long getLengthBytes(); 1887*344a7f5eSAndroid Build Coastguard Worker method public int getLocation(); 1888*344a7f5eSAndroid Build Coastguard Worker method @Nullable public byte[] getMetadata(); 1889*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getName(); 1890*344a7f5eSAndroid Build Coastguard Worker method @Nullable public byte[] getSignature(); 1891*344a7f5eSAndroid Build Coastguard Worker } 1892*344a7f5eSAndroid Build Coastguard Worker 1893*344a7f5eSAndroid Build Coastguard Worker public final class InstantAppInfo implements android.os.Parcelable { 1894*344a7f5eSAndroid Build Coastguard Worker ctor public InstantAppInfo(android.content.pm.ApplicationInfo, String[], String[]); 1895*344a7f5eSAndroid Build Coastguard Worker ctor public InstantAppInfo(String, CharSequence, String[], String[]); 1896*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1897*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.pm.ApplicationInfo getApplicationInfo(); 1898*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String[] getGrantedPermissions(); 1899*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 1900*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String[] getRequestedPermissions(); 1901*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.pm.PackageManager); 1902*344a7f5eSAndroid Build Coastguard Worker method @NonNull public CharSequence loadLabel(@NonNull android.content.pm.PackageManager); 1903*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1904*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppInfo> CREATOR; 1905*344a7f5eSAndroid Build Coastguard Worker } 1906*344a7f5eSAndroid Build Coastguard Worker 1907*344a7f5eSAndroid Build Coastguard Worker public final class InstantAppIntentFilter implements android.os.Parcelable { 1908*344a7f5eSAndroid Build Coastguard Worker ctor public InstantAppIntentFilter(@Nullable String, @NonNull java.util.List<android.content.IntentFilter>); 1909*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1910*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.content.IntentFilter> getFilters(); 1911*344a7f5eSAndroid Build Coastguard Worker method public String getSplitName(); 1912*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1913*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppIntentFilter> CREATOR; 1914*344a7f5eSAndroid Build Coastguard Worker } 1915*344a7f5eSAndroid Build Coastguard Worker 1916*344a7f5eSAndroid Build Coastguard Worker public final class InstantAppRequestInfo implements android.os.Parcelable { 1917*344a7f5eSAndroid Build Coastguard Worker ctor public InstantAppRequestInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, boolean, @NonNull String); 1918*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1919*344a7f5eSAndroid Build Coastguard Worker method @Nullable public int[] getHostDigestPrefix(); 1920*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.Intent getIntent(); 1921*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getToken(); 1922*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.UserHandle getUserHandle(); 1923*344a7f5eSAndroid Build Coastguard Worker method public boolean isRequesterInstantApp(); 1924*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 1925*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppRequestInfo> CREATOR; 1926*344a7f5eSAndroid Build Coastguard Worker } 1927*344a7f5eSAndroid Build Coastguard Worker 1928*344a7f5eSAndroid Build Coastguard Worker public final class InstantAppResolveInfo implements android.os.Parcelable { 1929*344a7f5eSAndroid Build Coastguard Worker ctor public InstantAppResolveInfo(@NonNull android.content.pm.InstantAppResolveInfo.InstantAppDigest, @Nullable String, @Nullable java.util.List<android.content.pm.InstantAppIntentFilter>, int); 1930*344a7f5eSAndroid Build Coastguard Worker ctor public InstantAppResolveInfo(@NonNull android.content.pm.InstantAppResolveInfo.InstantAppDigest, @Nullable String, @Nullable java.util.List<android.content.pm.InstantAppIntentFilter>, long, @Nullable android.os.Bundle); 1931*344a7f5eSAndroid Build Coastguard Worker ctor public InstantAppResolveInfo(@NonNull String, @Nullable String, @Nullable java.util.List<android.content.pm.InstantAppIntentFilter>); 1932*344a7f5eSAndroid Build Coastguard Worker ctor public InstantAppResolveInfo(@Nullable android.os.Bundle); 1933*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1934*344a7f5eSAndroid Build Coastguard Worker method public byte[] getDigestBytes(); 1935*344a7f5eSAndroid Build Coastguard Worker method public int getDigestPrefix(); 1936*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.Bundle getExtras(); 1937*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.content.pm.InstantAppIntentFilter> getIntentFilters(); 1938*344a7f5eSAndroid Build Coastguard Worker method public long getLongVersionCode(); 1939*344a7f5eSAndroid Build Coastguard Worker method public String getPackageName(); 1940*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getVersionCode(); 1941*344a7f5eSAndroid Build Coastguard Worker method public boolean shouldLetInstallerDecide(); 1942*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1943*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppResolveInfo> CREATOR; 1944*344a7f5eSAndroid Build Coastguard Worker } 1945*344a7f5eSAndroid Build Coastguard Worker 1946*344a7f5eSAndroid Build Coastguard Worker public static final class InstantAppResolveInfo.InstantAppDigest implements android.os.Parcelable { 1947*344a7f5eSAndroid Build Coastguard Worker ctor public InstantAppResolveInfo.InstantAppDigest(@NonNull String); 1948*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1949*344a7f5eSAndroid Build Coastguard Worker method public byte[][] getDigestBytes(); 1950*344a7f5eSAndroid Build Coastguard Worker method public int[] getDigestPrefix(); 1951*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1952*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppResolveInfo.InstantAppDigest> CREATOR; 1953*344a7f5eSAndroid Build Coastguard Worker field public static final android.content.pm.InstantAppResolveInfo.InstantAppDigest UNDEFINED; 1954*344a7f5eSAndroid Build Coastguard Worker } 1955*344a7f5eSAndroid Build Coastguard Worker 1956*344a7f5eSAndroid Build Coastguard Worker public final class IntentFilterVerificationInfo implements android.os.Parcelable { 1957*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1958*344a7f5eSAndroid Build Coastguard Worker method public java.util.Set<java.lang.String> getDomains(); 1959*344a7f5eSAndroid Build Coastguard Worker method public String getPackageName(); 1960*344a7f5eSAndroid Build Coastguard Worker method public int getStatus(); 1961*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1962*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.IntentFilterVerificationInfo> CREATOR; 1963*344a7f5eSAndroid Build Coastguard Worker } 1964*344a7f5eSAndroid Build Coastguard Worker 1965*344a7f5eSAndroid Build Coastguard Worker public class LauncherApps { 1966*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.pm.LauncherApps.AppUsageLimit getAppUsageLimit(@NonNull String, @NonNull android.os.UserHandle); 1967*344a7f5eSAndroid Build Coastguard Worker } 1968*344a7f5eSAndroid Build Coastguard Worker 1969*344a7f5eSAndroid Build Coastguard Worker public static final class LauncherApps.AppUsageLimit implements android.os.Parcelable { 1970*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1971*344a7f5eSAndroid Build Coastguard Worker method public long getTotalUsageLimit(); 1972*344a7f5eSAndroid Build Coastguard Worker method public long getUsageRemaining(); 1973*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1974*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.AppUsageLimit> CREATOR; 1975*344a7f5eSAndroid Build Coastguard Worker } 1976*344a7f5eSAndroid Build Coastguard Worker 1977*344a7f5eSAndroid Build Coastguard Worker public class PackageInstaller { 1978*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setPermissionsResult(int, boolean); 1979*344a7f5eSAndroid Build Coastguard Worker field public static final int DATA_LOADER_TYPE_INCREMENTAL = 2; // 0x2 1980*344a7f5eSAndroid Build Coastguard Worker field public static final int DATA_LOADER_TYPE_NONE = 0; // 0x0 1981*344a7f5eSAndroid Build Coastguard Worker field public static final int DATA_LOADER_TYPE_STREAMING = 1; // 0x1 1982*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_DATA_LOADER_TYPE = "android.content.pm.extra.DATA_LOADER_TYPE"; 1983*344a7f5eSAndroid Build Coastguard Worker field public static final int LOCATION_DATA_APP = 0; // 0x0 1984*344a7f5eSAndroid Build Coastguard Worker field public static final int LOCATION_MEDIA_DATA = 2; // 0x2 1985*344a7f5eSAndroid Build Coastguard Worker field public static final int LOCATION_MEDIA_OBB = 1; // 0x1 1986*344a7f5eSAndroid Build Coastguard Worker } 1987*344a7f5eSAndroid Build Coastguard Worker 1988*344a7f5eSAndroid Build Coastguard Worker public static class PackageInstaller.Session implements java.io.Closeable { 1989*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public void addFile(int, @NonNull String, long, @NonNull byte[], @Nullable byte[]); 1990*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void commitTransferred(@NonNull android.content.IntentSender); 1991*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public android.content.pm.DataLoaderParams getDataLoaderParams(); 1992*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public void removeFile(int, @NonNull String); 1993*344a7f5eSAndroid Build Coastguard Worker } 1994*344a7f5eSAndroid Build Coastguard Worker 1995*344a7f5eSAndroid Build Coastguard Worker public static class PackageInstaller.SessionInfo implements android.os.Parcelable { 1996*344a7f5eSAndroid Build Coastguard Worker method public boolean getAllocateAggressive(); 1997*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean getAllowDowngrade(); 1998*344a7f5eSAndroid Build Coastguard Worker method public int getAutoRevokePermissionsMode(); 1999*344a7f5eSAndroid Build Coastguard Worker method public boolean getDontKillApp(); 2000*344a7f5eSAndroid Build Coastguard Worker method public boolean getEnableRollback(); 2001*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String[] getGrantedRuntimePermissions(); 2002*344a7f5eSAndroid Build Coastguard Worker method public boolean getInstallAsFullApp(boolean); 2003*344a7f5eSAndroid Build Coastguard Worker method public boolean getInstallAsInstantApp(boolean); 2004*344a7f5eSAndroid Build Coastguard Worker method public boolean getInstallAsVirtualPreload(); 2005*344a7f5eSAndroid Build Coastguard Worker method public boolean getRequestDowngrade(); 2006*344a7f5eSAndroid Build Coastguard Worker method public int getRollbackDataPolicy(); 2007*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.lang.String> getWhitelistedRestrictedPermissions(); 2008*344a7f5eSAndroid Build Coastguard Worker } 2009*344a7f5eSAndroid Build Coastguard Worker 2010*344a7f5eSAndroid Build Coastguard Worker public static class PackageInstaller.SessionParams implements android.os.Parcelable { 2011*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ALLOCATE_AGGRESSIVE) public void setAllocateAggressive(boolean); 2012*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setAllowDowngrade(boolean); 2013*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.INSTALL_PACKAGES, "com.android.permission.USE_INSTALLER_V2"}) public void setDataLoaderParams(@NonNull android.content.pm.DataLoaderParams); 2014*344a7f5eSAndroid Build Coastguard Worker method public void setDontKillApp(boolean); 2015*344a7f5eSAndroid Build Coastguard Worker method public void setEnableRollback(boolean); 2016*344a7f5eSAndroid Build Coastguard Worker method public void setEnableRollback(boolean, int); 2017*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS) public void setGrantedRuntimePermissions(String[]); 2018*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setInstallAsApex(); 2019*344a7f5eSAndroid Build Coastguard Worker method public void setInstallAsInstantApp(boolean); 2020*344a7f5eSAndroid Build Coastguard Worker method public void setInstallAsVirtualPreload(); 2021*344a7f5eSAndroid Build Coastguard Worker method public void setRequestDowngrade(boolean); 2022*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setStaged(); 2023*344a7f5eSAndroid Build Coastguard Worker } 2024*344a7f5eSAndroid Build Coastguard Worker 2025*344a7f5eSAndroid Build Coastguard Worker public class PackageItemInfo { 2026*344a7f5eSAndroid Build Coastguard Worker method public static void forceSafeLabels(); 2027*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public CharSequence loadSafeLabel(@NonNull android.content.pm.PackageManager); 2028*344a7f5eSAndroid Build Coastguard Worker method @NonNull public CharSequence loadSafeLabel(@NonNull android.content.pm.PackageManager, @FloatRange(from=0) float, int); 2029*344a7f5eSAndroid Build Coastguard Worker } 2030*344a7f5eSAndroid Build Coastguard Worker 2031*344a7f5eSAndroid Build Coastguard Worker public abstract class PackageManager { 2032*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS") public abstract void addOnPermissionsChangeListener(@NonNull android.content.pm.PackageManager.OnPermissionsChangedListener); 2033*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean arePermissionsIndividuallyControlled(); 2034*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract java.util.List<android.content.IntentFilter> getAllIntentFilters(@NonNull String); 2035*344a7f5eSAndroid Build Coastguard Worker 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; 2036*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.dex.ArtManager getArtManager(); 2037*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_SHARED_LIBRARIES) public java.util.List<android.content.pm.SharedLibraryInfo> getDeclaredSharedLibraries(@NonNull String, int); 2038*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract String getDefaultBrowserPackageNameAsUser(int); 2039*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.SET_HARMFUL_APP_WARNINGS) public CharSequence getHarmfulAppWarning(@NonNull String); 2040*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getIncidentReportApproverPackageName(); 2041*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int); 2042*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_INSTANT_APPS) public abstract android.graphics.drawable.Drawable getInstantAppIcon(String); 2043*344a7f5eSAndroid Build Coastguard Worker method @Nullable public abstract android.content.ComponentName getInstantAppInstallerComponent(); 2044*344a7f5eSAndroid Build Coastguard Worker method @Nullable public abstract android.content.ComponentName getInstantAppResolverSettingsComponent(); 2045*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_INSTANT_APPS) public abstract java.util.List<android.content.pm.InstantAppInfo> getInstantApps(); 2046*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract java.util.List<android.content.pm.IntentFilterVerificationInfo> getIntentFilterVerifications(@NonNull String); 2047*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract int getIntentVerificationStatusAsUser(@NonNull String, int); 2048*344a7f5eSAndroid Build Coastguard Worker 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); 2049*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] getUnsuspendablePackages(@NonNull String[]); 2050*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public abstract void grantRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); 2051*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract int installExistingPackage(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException; 2052*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract int installExistingPackage(@NonNull String, int) throws android.content.pm.PackageManager.NameNotFoundException; 2053*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryBroadcastReceiversAsUser(@NonNull android.content.Intent, int, android.os.UserHandle); 2054*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryIntentActivitiesAsUser(@NonNull android.content.Intent, int, @NonNull android.os.UserHandle); 2055*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryIntentContentProvidersAsUser(@NonNull android.content.Intent, int, @NonNull android.os.UserHandle); 2056*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryIntentServicesAsUser(@NonNull android.content.Intent, int, @NonNull android.os.UserHandle); 2057*344a7f5eSAndroid Build Coastguard Worker method public abstract void registerDexModule(@NonNull String, @Nullable android.content.pm.PackageManager.DexModuleRegisterCallback); 2058*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS") public abstract void removeOnPermissionsChangeListener(@NonNull android.content.pm.PackageManager.OnPermissionsChangedListener); 2059*344a7f5eSAndroid Build Coastguard Worker method public void replacePreferredActivity(@NonNull android.content.IntentFilter, int, @NonNull java.util.List<android.content.ComponentName>, @NonNull android.content.ComponentName); 2060*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public abstract void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); 2061*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle, @NonNull String); 2062*344a7f5eSAndroid Build Coastguard Worker method public void sendDeviceCustomizationReadyBroadcast(); 2063*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.SET_PREFERRED_APPLICATIONS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public abstract boolean setDefaultBrowserPackageNameAsUser(@Nullable String, int); 2064*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] setDistractingPackageRestrictions(@NonNull String[], int); 2065*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.SET_HARMFUL_APP_WARNINGS) public void setHarmfulAppWarning(@NonNull String, @Nullable CharSequence); 2066*344a7f5eSAndroid Build Coastguard Worker 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); 2067*344a7f5eSAndroid Build Coastguard Worker 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); 2068*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(value=android.Manifest.permission.CHANGE_COMPONENT_ENABLED_STATE, conditional=true) public void setSyntheticAppDetailsActivityEnabled(@NonNull String, boolean); 2069*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public abstract void setUpdateAvailable(@NonNull String, boolean); 2070*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.SET_PREFERRED_APPLICATIONS) public abstract boolean updateIntentVerificationStatusAsUser(@NonNull String, int, int); 2071*344a7f5eSAndroid Build Coastguard Worker 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); 2072*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INTENT_FILTER_VERIFICATION_AGENT) public abstract void verifyIntentFilter(int, int, @NonNull java.util.List<java.lang.String>); 2073*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_REQUEST_PERMISSIONS = "android.content.pm.action.REQUEST_PERMISSIONS"; 2074*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_REQUEST_PERMISSIONS_NAMES = "android.content.pm.extra.REQUEST_PERMISSIONS_NAMES"; 2075*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_REQUEST_PERMISSIONS_RESULTS = "android.content.pm.extra.REQUEST_PERMISSIONS_RESULTS"; 2076*344a7f5eSAndroid Build Coastguard Worker field public static final String FEATURE_BROADCAST_RADIO = "android.hardware.broadcastradio"; 2077*344a7f5eSAndroid Build Coastguard Worker field public static final String FEATURE_CONTEXT_HUB = "android.hardware.context_hub"; 2078*344a7f5eSAndroid Build Coastguard Worker field public static final String FEATURE_INCREMENTAL_DELIVERY = "android.software.incremental_delivery"; 2079*344a7f5eSAndroid Build Coastguard Worker field public static final String FEATURE_REBOOT_ESCROW = "android.hardware.reboot_escrow"; 2080*344a7f5eSAndroid Build Coastguard Worker field public static final String FEATURE_TELEPHONY_CARRIERLOCK = "android.hardware.telephony.carrierlock"; 2081*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAGS_PERMISSION_RESERVED_PERMISSION_CONTROLLER = -268435456; // 0xf0000000 2082*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_APPLY_RESTRICTION = 16384; // 0x4000 2083*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_AUTO_REVOKED = 131072; // 0x20000 2084*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_GRANTED_BY_DEFAULT = 32; // 0x20 2085*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_GRANTED_BY_ROLE = 32768; // 0x8000 2086*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_ONE_TIME = 65536; // 0x10000 2087*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_POLICY_FIXED = 4; // 0x4 2088*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT = 2048; // 0x800 2089*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT = 4096; // 0x1000 2090*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT = 8192; // 0x2000 2091*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_REVIEW_REQUIRED = 64; // 0x40 2092*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_REVOKED_COMPAT = 8; // 0x8 2093*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int FLAG_PERMISSION_REVOKE_ON_UPGRADE = 8; // 0x8 2094*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_SYSTEM_FIXED = 16; // 0x10 2095*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_USER_FIXED = 2; // 0x2 2096*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_USER_SENSITIVE_WHEN_DENIED = 512; // 0x200 2097*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_USER_SENSITIVE_WHEN_GRANTED = 256; // 0x100 2098*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_USER_SET = 1; // 0x1 2099*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_ALREADY_EXISTS = -1; // 0xffffffff 2100*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_CONFLICTING_PROVIDER = -13; // 0xfffffff3 2101*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_CONTAINER_ERROR = -18; // 0xffffffee 2102*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_CPU_ABI_INCOMPATIBLE = -16; // 0xfffffff0 2103*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_DEXOPT = -11; // 0xfffffff5 2104*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_DUPLICATE_PACKAGE = -5; // 0xfffffffb 2105*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_INSUFFICIENT_STORAGE = -4; // 0xfffffffc 2106*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_INTERNAL_ERROR = -110; // 0xffffff92 2107*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_INVALID_APK = -2; // 0xfffffffe 2108*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_INVALID_INSTALL_LOCATION = -19; // 0xffffffed 2109*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_INVALID_URI = -3; // 0xfffffffd 2110*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_MEDIA_UNAVAILABLE = -20; // 0xffffffec 2111*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_MISSING_FEATURE = -17; // 0xffffffef 2112*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_MISSING_SHARED_LIBRARY = -9; // 0xfffffff7 2113*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_NEWER_SDK = -14; // 0xfffffff2 2114*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_NO_SHARED_USER = -6; // 0xfffffffa 2115*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_OLDER_SDK = -12; // 0xfffffff4 2116*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_PACKAGE_CHANGED = -23; // 0xffffffe9 2117*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_PERMISSION_MODEL_DOWNGRADE = -26; // 0xffffffe6 2118*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_REPLACE_COULDNT_DELETE = -10; // 0xfffffff6 2119*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_SANDBOX_VERSION_DOWNGRADE = -27; // 0xffffffe5 2120*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_SHARED_USER_INCOMPATIBLE = -8; // 0xfffffff8 2121*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_TEST_ONLY = -15; // 0xfffffff1 2122*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_UPDATE_INCOMPATIBLE = -7; // 0xfffffff9 2123*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_VERIFICATION_FAILURE = -22; // 0xffffffea 2124*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_FAILED_VERIFICATION_TIMEOUT = -21; // 0xffffffeb 2125*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_PARSE_FAILED_BAD_MANIFEST = -101; // 0xffffff9b 2126*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME = -106; // 0xffffff96 2127*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID = -107; // 0xffffff95 2128*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING = -105; // 0xffffff97 2129*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES = -104; // 0xffffff98 2130*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_PARSE_FAILED_MANIFEST_EMPTY = -109; // 0xffffff93 2131*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_PARSE_FAILED_MANIFEST_MALFORMED = -108; // 0xffffff94 2132*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_PARSE_FAILED_NOT_APK = -100; // 0xffffff9c 2133*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_PARSE_FAILED_NO_CERTIFICATES = -103; // 0xffffff99 2134*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION = -102; // 0xffffff9a 2135*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_SUCCEEDED = 1; // 0x1 2136*344a7f5eSAndroid Build Coastguard Worker field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS = 2; // 0x2 2137*344a7f5eSAndroid Build Coastguard Worker field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS_ASK = 4; // 0x4 2138*344a7f5eSAndroid Build Coastguard Worker field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ASK = 1; // 0x1 2139*344a7f5eSAndroid Build Coastguard Worker field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER = 3; // 0x3 2140*344a7f5eSAndroid Build Coastguard Worker field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED = 0; // 0x0 2141*344a7f5eSAndroid Build Coastguard Worker field public static final int INTENT_FILTER_VERIFICATION_FAILURE = -1; // 0xffffffff 2142*344a7f5eSAndroid Build Coastguard Worker field public static final int INTENT_FILTER_VERIFICATION_SUCCESS = 1; // 0x1 2143*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int MASK_PERMISSION_FLAGS = 255; // 0xff 2144*344a7f5eSAndroid Build Coastguard Worker field public static final int MATCH_ANY_USER = 4194304; // 0x400000 2145*344a7f5eSAndroid Build Coastguard Worker field public static final int MATCH_FACTORY_ONLY = 2097152; // 0x200000 2146*344a7f5eSAndroid Build Coastguard Worker field public static final int MATCH_INSTANT = 8388608; // 0x800000 2147*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULE_APEX_NAME = 1; // 0x1 2148*344a7f5eSAndroid Build Coastguard Worker field public static final int RESTRICTION_HIDE_FROM_SUGGESTIONS = 1; // 0x1 2149*344a7f5eSAndroid Build Coastguard Worker field public static final int RESTRICTION_HIDE_NOTIFICATIONS = 2; // 0x2 2150*344a7f5eSAndroid Build Coastguard Worker field public static final int RESTRICTION_NONE = 0; // 0x0 2151*344a7f5eSAndroid Build Coastguard Worker } 2152*344a7f5eSAndroid Build Coastguard Worker 2153*344a7f5eSAndroid Build Coastguard Worker public abstract static class PackageManager.DexModuleRegisterCallback { 2154*344a7f5eSAndroid Build Coastguard Worker ctor public PackageManager.DexModuleRegisterCallback(); 2155*344a7f5eSAndroid Build Coastguard Worker method public abstract void onDexModuleRegistered(String, boolean, String); 2156*344a7f5eSAndroid Build Coastguard Worker } 2157*344a7f5eSAndroid Build Coastguard Worker 2158*344a7f5eSAndroid Build Coastguard Worker public static interface PackageManager.OnPermissionsChangedListener { 2159*344a7f5eSAndroid Build Coastguard Worker method public void onPermissionsChanged(int); 2160*344a7f5eSAndroid Build Coastguard Worker } 2161*344a7f5eSAndroid Build Coastguard Worker 2162*344a7f5eSAndroid Build Coastguard Worker @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 { 2163*344a7f5eSAndroid Build Coastguard Worker } 2164*344a7f5eSAndroid Build Coastguard Worker 2165*344a7f5eSAndroid Build Coastguard Worker public class PermissionGroupInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { 2166*344a7f5eSAndroid Build Coastguard Worker field @StringRes public final int backgroundRequestDetailResourceId; 2167*344a7f5eSAndroid Build Coastguard Worker field @StringRes public final int backgroundRequestResourceId; 2168*344a7f5eSAndroid Build Coastguard Worker field @StringRes public final int requestDetailResourceId; 2169*344a7f5eSAndroid Build Coastguard Worker field @StringRes public int requestRes; 2170*344a7f5eSAndroid Build Coastguard Worker } 2171*344a7f5eSAndroid Build Coastguard Worker 2172*344a7f5eSAndroid Build Coastguard Worker public class PermissionInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { 2173*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_REMOVED = 2; // 0x2 2174*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_APP_PREDICTOR = 2097152; // 0x200000 2175*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_COMPANION = 8388608; // 0x800000 2176*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_CONFIGURATOR = 524288; // 0x80000 2177*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_DOCUMENTER = 262144; // 0x40000 2178*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_INCIDENT_REPORT_APPROVER = 1048576; // 0x100000 2179*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_OEM = 16384; // 0x4000 2180*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_RETAIL_DEMO = 16777216; // 0x1000000 2181*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER = 65536; // 0x10000 2182*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_WELLBEING = 131072; // 0x20000 2183*344a7f5eSAndroid Build Coastguard Worker field @Nullable public final String backgroundPermission; 2184*344a7f5eSAndroid Build Coastguard Worker field @StringRes public int requestRes; 2185*344a7f5eSAndroid Build Coastguard Worker } 2186*344a7f5eSAndroid Build Coastguard Worker 2187*344a7f5eSAndroid Build Coastguard Worker public class ResolveInfo implements android.os.Parcelable { 2188*344a7f5eSAndroid Build Coastguard Worker field public boolean handleAllWebDataURI; 2189*344a7f5eSAndroid Build Coastguard Worker } 2190*344a7f5eSAndroid Build Coastguard Worker 2191*344a7f5eSAndroid Build Coastguard Worker public final class ShortcutInfo implements android.os.Parcelable { 2192*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.Person[] getPersons(); 2193*344a7f5eSAndroid Build Coastguard Worker } 2194*344a7f5eSAndroid Build Coastguard Worker 2195*344a7f5eSAndroid Build Coastguard Worker public class ShortcutManager { 2196*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_PREDICTIONS) public java.util.List<android.content.pm.ShortcutManager.ShareShortcutInfo> getShareTargets(@NonNull android.content.IntentFilter); 2197*344a7f5eSAndroid Build Coastguard Worker method public boolean hasShareTargets(@NonNull String); 2198*344a7f5eSAndroid Build Coastguard Worker } 2199*344a7f5eSAndroid Build Coastguard Worker 2200*344a7f5eSAndroid Build Coastguard Worker public static final class ShortcutManager.ShareShortcutInfo implements android.os.Parcelable { 2201*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2202*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.ShortcutInfo getShortcutInfo(); 2203*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.ComponentName getTargetComponent(); 2204*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 2205*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.ShortcutManager.ShareShortcutInfo> CREATOR; 2206*344a7f5eSAndroid Build Coastguard Worker } 2207*344a7f5eSAndroid Build Coastguard Worker 2208*344a7f5eSAndroid Build Coastguard Worker public final class SuspendDialogInfo implements android.os.Parcelable { 2209*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2210*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2211*344a7f5eSAndroid Build Coastguard Worker field public static final int BUTTON_ACTION_MORE_DETAILS = 0; // 0x0 2212*344a7f5eSAndroid Build Coastguard Worker field public static final int BUTTON_ACTION_UNSUSPEND = 1; // 0x1 2213*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.SuspendDialogInfo> CREATOR; 2214*344a7f5eSAndroid Build Coastguard Worker } 2215*344a7f5eSAndroid Build Coastguard Worker 2216*344a7f5eSAndroid Build Coastguard Worker public static final class SuspendDialogInfo.Builder { 2217*344a7f5eSAndroid Build Coastguard Worker ctor public SuspendDialogInfo.Builder(); 2218*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.SuspendDialogInfo build(); 2219*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.SuspendDialogInfo.Builder setIcon(@DrawableRes int); 2220*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.SuspendDialogInfo.Builder setMessage(@NonNull String); 2221*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.SuspendDialogInfo.Builder setMessage(@StringRes int); 2222*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.SuspendDialogInfo.Builder setNeutralButtonAction(int); 2223*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.SuspendDialogInfo.Builder setNeutralButtonText(@StringRes int); 2224*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.SuspendDialogInfo.Builder setTitle(@StringRes int); 2225*344a7f5eSAndroid Build Coastguard Worker } 2226*344a7f5eSAndroid Build Coastguard Worker 2227*344a7f5eSAndroid Build Coastguard Worker} 2228*344a7f5eSAndroid Build Coastguard Worker 2229*344a7f5eSAndroid Build Coastguard Workerpackage android.content.pm.dex { 2230*344a7f5eSAndroid Build Coastguard Worker 2231*344a7f5eSAndroid Build Coastguard Worker public class ArtManager { 2232*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.READ_RUNTIME_PROFILES, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean isRuntimeProfilingEnabled(int); 2233*344a7f5eSAndroid Build Coastguard Worker 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); 2234*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_APPS = 0; // 0x0 2235*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_BOOT_IMAGE = 1; // 0x1 2236*344a7f5eSAndroid Build Coastguard Worker field public static final int SNAPSHOT_FAILED_CODE_PATH_NOT_FOUND = 1; // 0x1 2237*344a7f5eSAndroid Build Coastguard Worker field public static final int SNAPSHOT_FAILED_INTERNAL_ERROR = 2; // 0x2 2238*344a7f5eSAndroid Build Coastguard Worker field public static final int SNAPSHOT_FAILED_PACKAGE_NOT_FOUND = 0; // 0x0 2239*344a7f5eSAndroid Build Coastguard Worker } 2240*344a7f5eSAndroid Build Coastguard Worker 2241*344a7f5eSAndroid Build Coastguard Worker public abstract static class ArtManager.SnapshotRuntimeProfileCallback { 2242*344a7f5eSAndroid Build Coastguard Worker ctor public ArtManager.SnapshotRuntimeProfileCallback(); 2243*344a7f5eSAndroid Build Coastguard Worker method public abstract void onError(int); 2244*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSuccess(android.os.ParcelFileDescriptor); 2245*344a7f5eSAndroid Build Coastguard Worker } 2246*344a7f5eSAndroid Build Coastguard Worker 2247*344a7f5eSAndroid Build Coastguard Worker} 2248*344a7f5eSAndroid Build Coastguard Worker 2249*344a7f5eSAndroid Build Coastguard Workerpackage android.content.pm.permission { 2250*344a7f5eSAndroid Build Coastguard Worker 2251*344a7f5eSAndroid Build Coastguard Worker @Deprecated public final class RuntimePermissionPresentationInfo implements android.os.Parcelable { 2252*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public RuntimePermissionPresentationInfo(CharSequence, boolean, boolean); 2253*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int describeContents(); 2254*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public CharSequence getLabel(); 2255*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean isGranted(); 2256*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean isStandard(); 2257*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void writeToParcel(android.os.Parcel, int); 2258*344a7f5eSAndroid Build Coastguard Worker field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.content.pm.permission.RuntimePermissionPresentationInfo> CREATOR; 2259*344a7f5eSAndroid Build Coastguard Worker } 2260*344a7f5eSAndroid Build Coastguard Worker 2261*344a7f5eSAndroid Build Coastguard Worker} 2262*344a7f5eSAndroid Build Coastguard Worker 2263*344a7f5eSAndroid Build Coastguard Workerpackage android.content.rollback { 2264*344a7f5eSAndroid Build Coastguard Worker 2265*344a7f5eSAndroid Build Coastguard Worker public final class PackageRollbackInfo implements android.os.Parcelable { 2266*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2267*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 2268*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackFrom(); 2269*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackTo(); 2270*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2271*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.rollback.PackageRollbackInfo> CREATOR; 2272*344a7f5eSAndroid Build Coastguard Worker } 2273*344a7f5eSAndroid Build Coastguard Worker 2274*344a7f5eSAndroid Build Coastguard Worker public final class RollbackInfo implements android.os.Parcelable { 2275*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2276*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.content.pm.VersionedPackage> getCausePackages(); 2277*344a7f5eSAndroid Build Coastguard Worker method public int getCommittedSessionId(); 2278*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.content.rollback.PackageRollbackInfo> getPackages(); 2279*344a7f5eSAndroid Build Coastguard Worker method public int getRollbackId(); 2280*344a7f5eSAndroid Build Coastguard Worker method public boolean isStaged(); 2281*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2282*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.rollback.RollbackInfo> CREATOR; 2283*344a7f5eSAndroid Build Coastguard Worker } 2284*344a7f5eSAndroid Build Coastguard Worker 2285*344a7f5eSAndroid Build Coastguard Worker public final class RollbackManager { 2286*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) public void commitRollback(int, @NonNull java.util.List<android.content.pm.VersionedPackage>, @NonNull android.content.IntentSender); 2287*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) public java.util.List<android.content.rollback.RollbackInfo> getAvailableRollbacks(); 2288*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) public java.util.List<android.content.rollback.RollbackInfo> getRecentlyCommittedRollbacks(); 2289*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_STATUS = "android.content.rollback.extra.STATUS"; 2290*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_STATUS_MESSAGE = "android.content.rollback.extra.STATUS_MESSAGE"; 2291*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_FAILURE = 1; // 0x1 2292*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_FAILURE_INSTALL = 3; // 0x3 2293*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_FAILURE_ROLLBACK_UNAVAILABLE = 2; // 0x2 2294*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_SUCCESS = 0; // 0x0 2295*344a7f5eSAndroid Build Coastguard Worker } 2296*344a7f5eSAndroid Build Coastguard Worker 2297*344a7f5eSAndroid Build Coastguard Worker} 2298*344a7f5eSAndroid Build Coastguard Worker 2299*344a7f5eSAndroid Build Coastguard Workerpackage android.debug { 2300*344a7f5eSAndroid Build Coastguard Worker 2301*344a7f5eSAndroid Build Coastguard Worker public class AdbManager { 2302*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_DEBUGGING) public boolean isAdbWifiQrSupported(); 2303*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_DEBUGGING) public boolean isAdbWifiSupported(); 2304*344a7f5eSAndroid Build Coastguard Worker } 2305*344a7f5eSAndroid Build Coastguard Worker 2306*344a7f5eSAndroid Build Coastguard Worker} 2307*344a7f5eSAndroid Build Coastguard Worker 2308*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware { 2309*344a7f5eSAndroid Build Coastguard Worker 2310*344a7f5eSAndroid Build Coastguard Worker public final class Sensor { 2311*344a7f5eSAndroid Build Coastguard Worker method public java.util.UUID getUuid(); 2312*344a7f5eSAndroid Build Coastguard Worker method public boolean isDataInjectionSupported(); 2313*344a7f5eSAndroid Build Coastguard Worker field public static final String STRING_TYPE_DYNAMIC_SENSOR_META = "android.sensor.dynamic_sensor_meta"; 2314*344a7f5eSAndroid Build Coastguard Worker field public static final String STRING_TYPE_WRIST_TILT_GESTURE = "android.sensor.wrist_tilt_gesture"; 2315*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_DYNAMIC_SENSOR_META = 32; // 0x20 2316*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_WRIST_TILT_GESTURE = 26; // 0x1a 2317*344a7f5eSAndroid Build Coastguard Worker } 2318*344a7f5eSAndroid Build Coastguard Worker 2319*344a7f5eSAndroid Build Coastguard Worker public abstract class SensorManager { 2320*344a7f5eSAndroid Build Coastguard Worker method public boolean initDataInjection(boolean); 2321*344a7f5eSAndroid Build Coastguard Worker method public boolean injectSensorData(android.hardware.Sensor, float[], int, long); 2322*344a7f5eSAndroid Build Coastguard Worker } 2323*344a7f5eSAndroid Build Coastguard Worker 2324*344a7f5eSAndroid Build Coastguard Worker} 2325*344a7f5eSAndroid Build Coastguard Worker 2326*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.biometrics { 2327*344a7f5eSAndroid Build Coastguard Worker 2328*344a7f5eSAndroid Build Coastguard Worker public static interface BiometricManager.Authenticators { 2329*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static final int BIOMETRIC_CONVENIENCE = 4095; // 0xfff 2330*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static final int EMPTY_SET = 0; // 0x0 2331*344a7f5eSAndroid Build Coastguard Worker } 2332*344a7f5eSAndroid Build Coastguard Worker 2333*344a7f5eSAndroid Build Coastguard Worker} 2334*344a7f5eSAndroid Build Coastguard Worker 2335*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.camera2 { 2336*344a7f5eSAndroid Build Coastguard Worker 2337*344a7f5eSAndroid Build Coastguard Worker public abstract class CameraDevice implements java.lang.AutoCloseable { 2338*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract void createCustomCaptureSession(android.hardware.camera2.params.InputConfiguration, @NonNull java.util.List<android.hardware.camera2.params.OutputConfiguration>, int, @NonNull android.hardware.camera2.CameraCaptureSession.StateCallback, @Nullable android.os.Handler) throws android.hardware.camera2.CameraAccessException; 2339*344a7f5eSAndroid Build Coastguard Worker field public static final int SESSION_OPERATION_MODE_CONSTRAINED_HIGH_SPEED = 1; // 0x1 2340*344a7f5eSAndroid Build Coastguard Worker field public static final int SESSION_OPERATION_MODE_NORMAL = 0; // 0x0 2341*344a7f5eSAndroid Build Coastguard Worker field public static final int SESSION_OPERATION_MODE_VENDOR_START = 32768; // 0x8000 2342*344a7f5eSAndroid Build Coastguard Worker } 2343*344a7f5eSAndroid Build Coastguard Worker 2344*344a7f5eSAndroid Build Coastguard Worker} 2345*344a7f5eSAndroid Build Coastguard Worker 2346*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.camera2.params { 2347*344a7f5eSAndroid Build Coastguard Worker 2348*344a7f5eSAndroid Build Coastguard Worker public final class OutputConfiguration implements android.os.Parcelable { 2349*344a7f5eSAndroid Build Coastguard Worker ctor public OutputConfiguration(@NonNull android.view.Surface, int); 2350*344a7f5eSAndroid Build Coastguard Worker ctor public OutputConfiguration(int, @NonNull android.view.Surface, int); 2351*344a7f5eSAndroid Build Coastguard Worker method public int getRotation(); 2352*344a7f5eSAndroid Build Coastguard Worker field public static final int ROTATION_0 = 0; // 0x0 2353*344a7f5eSAndroid Build Coastguard Worker field public static final int ROTATION_180 = 2; // 0x2 2354*344a7f5eSAndroid Build Coastguard Worker field public static final int ROTATION_270 = 3; // 0x3 2355*344a7f5eSAndroid Build Coastguard Worker field public static final int ROTATION_90 = 1; // 0x1 2356*344a7f5eSAndroid Build Coastguard Worker } 2357*344a7f5eSAndroid Build Coastguard Worker 2358*344a7f5eSAndroid Build Coastguard Worker} 2359*344a7f5eSAndroid Build Coastguard Worker 2360*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.display { 2361*344a7f5eSAndroid Build Coastguard Worker 2362*344a7f5eSAndroid Build Coastguard Worker public final class AmbientBrightnessDayStats implements android.os.Parcelable { 2363*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2364*344a7f5eSAndroid Build Coastguard Worker method public float[] getBucketBoundaries(); 2365*344a7f5eSAndroid Build Coastguard Worker method public java.time.LocalDate getLocalDate(); 2366*344a7f5eSAndroid Build Coastguard Worker method public float[] getStats(); 2367*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2368*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.AmbientBrightnessDayStats> CREATOR; 2369*344a7f5eSAndroid Build Coastguard Worker } 2370*344a7f5eSAndroid Build Coastguard Worker 2371*344a7f5eSAndroid Build Coastguard Worker public final class BrightnessChangeEvent implements android.os.Parcelable { 2372*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2373*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2374*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessChangeEvent> CREATOR; 2375*344a7f5eSAndroid Build Coastguard Worker field public final float batteryLevel; 2376*344a7f5eSAndroid Build Coastguard Worker field public final float brightness; 2377*344a7f5eSAndroid Build Coastguard Worker field public final long colorSampleDuration; 2378*344a7f5eSAndroid Build Coastguard Worker field public final int colorTemperature; 2379*344a7f5eSAndroid Build Coastguard Worker field @Nullable public final long[] colorValueBuckets; 2380*344a7f5eSAndroid Build Coastguard Worker field public final boolean isDefaultBrightnessConfig; 2381*344a7f5eSAndroid Build Coastguard Worker field public final boolean isUserSetBrightness; 2382*344a7f5eSAndroid Build Coastguard Worker field public final float lastBrightness; 2383*344a7f5eSAndroid Build Coastguard Worker field public final long[] luxTimestamps; 2384*344a7f5eSAndroid Build Coastguard Worker field public final float[] luxValues; 2385*344a7f5eSAndroid Build Coastguard Worker field public final boolean nightMode; 2386*344a7f5eSAndroid Build Coastguard Worker field public final String packageName; 2387*344a7f5eSAndroid Build Coastguard Worker field public final float powerBrightnessFactor; 2388*344a7f5eSAndroid Build Coastguard Worker field public final long timeStamp; 2389*344a7f5eSAndroid Build Coastguard Worker } 2390*344a7f5eSAndroid Build Coastguard Worker 2391*344a7f5eSAndroid Build Coastguard Worker public final class BrightnessConfiguration implements android.os.Parcelable { 2392*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2393*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByCategory(int); 2394*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByPackageName(@NonNull String); 2395*344a7f5eSAndroid Build Coastguard Worker method public android.util.Pair<float[],float[]> getCurve(); 2396*344a7f5eSAndroid Build Coastguard Worker method public float getShortTermModelLowerLuxMultiplier(); 2397*344a7f5eSAndroid Build Coastguard Worker method public long getShortTermModelTimeoutMillis(); 2398*344a7f5eSAndroid Build Coastguard Worker method public float getShortTermModelUpperLuxMultiplier(); 2399*344a7f5eSAndroid Build Coastguard Worker method public boolean shouldCollectColorSamples(); 2400*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2401*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessConfiguration> CREATOR; 2402*344a7f5eSAndroid Build Coastguard Worker field public static final long SHORT_TERM_TIMEOUT_UNSET = -1L; // 0xffffffffffffffffL 2403*344a7f5eSAndroid Build Coastguard Worker } 2404*344a7f5eSAndroid Build Coastguard Worker 2405*344a7f5eSAndroid Build Coastguard Worker public static class BrightnessConfiguration.Builder { 2406*344a7f5eSAndroid Build Coastguard Worker ctor public BrightnessConfiguration.Builder(float[], float[]); 2407*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByCategory(int, @NonNull android.hardware.display.BrightnessCorrection); 2408*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByPackageName(@NonNull String, @NonNull android.hardware.display.BrightnessCorrection); 2409*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration build(); 2410*344a7f5eSAndroid Build Coastguard Worker method public int getMaxCorrectionsByCategory(); 2411*344a7f5eSAndroid Build Coastguard Worker method public int getMaxCorrectionsByPackageName(); 2412*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setDescription(@Nullable String); 2413*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelLowerLuxMultiplier(@FloatRange(from=0.0f) float); 2414*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelTimeoutMillis(long); 2415*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelUpperLuxMultiplier(@FloatRange(from=0.0f) float); 2416*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShouldCollectColorSamples(boolean); 2417*344a7f5eSAndroid Build Coastguard Worker } 2418*344a7f5eSAndroid Build Coastguard Worker 2419*344a7f5eSAndroid Build Coastguard Worker public final class BrightnessCorrection implements android.os.Parcelable { 2420*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=0.0) public float apply(@FloatRange(from=0.0) float); 2421*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.hardware.display.BrightnessCorrection createScaleAndTranslateLog(float, float); 2422*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2423*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2424*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessCorrection> CREATOR; 2425*344a7f5eSAndroid Build Coastguard Worker } 2426*344a7f5eSAndroid Build Coastguard Worker 2427*344a7f5eSAndroid Build Coastguard Worker public final class ColorDisplayManager { 2428*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public int getNightDisplayAutoMode(); 2429*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public int getTransformCapabilities(); 2430*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setAppSaturationLevel(@NonNull String, @IntRange(from=0, to=100) int); 2431*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayAutoMode(int); 2432*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayCustomEndTime(@NonNull java.time.LocalTime); 2433*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayCustomStartTime(@NonNull java.time.LocalTime); 2434*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setSaturationLevel(@IntRange(from=0, to=100) int); 2435*344a7f5eSAndroid Build Coastguard Worker field public static final int AUTO_MODE_CUSTOM_TIME = 1; // 0x1 2436*344a7f5eSAndroid Build Coastguard Worker field public static final int AUTO_MODE_DISABLED = 0; // 0x0 2437*344a7f5eSAndroid Build Coastguard Worker field public static final int AUTO_MODE_TWILIGHT = 2; // 0x2 2438*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_HARDWARE_ACCELERATION_GLOBAL = 2; // 0x2 2439*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_HARDWARE_ACCELERATION_PER_APP = 4; // 0x4 2440*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_NONE = 0; // 0x0 2441*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_PROTECTED_CONTENT = 1; // 0x1 2442*344a7f5eSAndroid Build Coastguard Worker } 2443*344a7f5eSAndroid Build Coastguard Worker 2444*344a7f5eSAndroid Build Coastguard Worker public final class DisplayManager { 2445*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_LIGHT_STATS) public java.util.List<android.hardware.display.AmbientBrightnessDayStats> getAmbientBrightnessStats(); 2446*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getBrightnessConfiguration(); 2447*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BRIGHTNESS_SLIDER_USAGE) public java.util.List<android.hardware.display.BrightnessChangeEvent> getBrightnessEvents(); 2448*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getDefaultBrightnessConfiguration(); 2449*344a7f5eSAndroid Build Coastguard Worker method public android.util.Pair<float[],float[]> getMinimumBrightnessCurve(); 2450*344a7f5eSAndroid Build Coastguard Worker method public android.graphics.Point getStableDisplaySize(); 2451*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public void setBrightnessConfiguration(android.hardware.display.BrightnessConfiguration); 2452*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_SATURATION) public void setSaturationLevel(float); 2453*344a7f5eSAndroid Build Coastguard Worker } 2454*344a7f5eSAndroid Build Coastguard Worker 2455*344a7f5eSAndroid Build Coastguard Worker} 2456*344a7f5eSAndroid Build Coastguard Worker 2457*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.hdmi { 2458*344a7f5eSAndroid Build Coastguard Worker 2459*344a7f5eSAndroid Build Coastguard Worker public abstract class HdmiClient { 2460*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.hdmi.HdmiDeviceInfo getActiveSource(); 2461*344a7f5eSAndroid Build Coastguard Worker method public void sendKeyEvent(int, boolean); 2462*344a7f5eSAndroid Build Coastguard Worker method public void sendVendorCommand(int, byte[], boolean); 2463*344a7f5eSAndroid Build Coastguard Worker method public void setVendorCommandListener(@NonNull android.hardware.hdmi.HdmiControlManager.VendorCommandListener); 2464*344a7f5eSAndroid Build Coastguard Worker } 2465*344a7f5eSAndroid Build Coastguard Worker 2466*344a7f5eSAndroid Build Coastguard Worker public final class HdmiControlManager { 2467*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void addHotplugEventListener(android.hardware.hdmi.HdmiControlManager.HotplugEventListener); 2468*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.hdmi.HdmiClient getClient(int); 2469*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getConnectedDevices(); 2470*344a7f5eSAndroid Build Coastguard Worker method public int getPhysicalAddress(); 2471*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.hdmi.HdmiPlaybackClient getPlaybackClient(); 2472*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.hdmi.HdmiSwitchClient getSwitchClient(); 2473*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.hdmi.HdmiTvClient getTvClient(); 2474*344a7f5eSAndroid Build Coastguard Worker method public boolean isDeviceConnected(@NonNull android.hardware.hdmi.HdmiDeviceInfo); 2475*344a7f5eSAndroid Build Coastguard Worker method public void powerOffDevice(@NonNull android.hardware.hdmi.HdmiDeviceInfo); 2476*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void removeHotplugEventListener(android.hardware.hdmi.HdmiControlManager.HotplugEventListener); 2477*344a7f5eSAndroid Build Coastguard Worker method public void setActiveSource(@NonNull android.hardware.hdmi.HdmiDeviceInfo); 2478*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setStandbyMode(boolean); 2479*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_OSD_MESSAGE = "android.hardware.hdmi.action.OSD_MESSAGE"; 2480*344a7f5eSAndroid Build Coastguard Worker field public static final int AVR_VOLUME_MUTED = 101; // 0x65 2481*344a7f5eSAndroid Build Coastguard Worker field public static final int CLEAR_TIMER_STATUS_CEC_DISABLE = 162; // 0xa2 2482*344a7f5eSAndroid Build Coastguard Worker field public static final int CLEAR_TIMER_STATUS_CHECK_RECORDER_CONNECTION = 160; // 0xa0 2483*344a7f5eSAndroid Build Coastguard Worker field public static final int CLEAR_TIMER_STATUS_FAIL_TO_CLEAR_SELECTED_SOURCE = 161; // 0xa1 2484*344a7f5eSAndroid Build Coastguard Worker field public static final int CLEAR_TIMER_STATUS_TIMER_CLEARED = 128; // 0x80 2485*344a7f5eSAndroid Build Coastguard Worker field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_NO_INFO_AVAILABLE = 2; // 0x2 2486*344a7f5eSAndroid Build Coastguard Worker field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_NO_MATCHING = 1; // 0x1 2487*344a7f5eSAndroid Build Coastguard Worker field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_RECORDING = 0; // 0x0 2488*344a7f5eSAndroid Build Coastguard Worker field public static final int CONTROL_STATE_CHANGED_REASON_SETTING = 1; // 0x1 2489*344a7f5eSAndroid Build Coastguard Worker field public static final int CONTROL_STATE_CHANGED_REASON_STANDBY = 3; // 0x3 2490*344a7f5eSAndroid Build Coastguard Worker field public static final int CONTROL_STATE_CHANGED_REASON_START = 0; // 0x0 2491*344a7f5eSAndroid Build Coastguard Worker field public static final int CONTROL_STATE_CHANGED_REASON_WAKEUP = 2; // 0x2 2492*344a7f5eSAndroid Build Coastguard Worker field public static final int DEVICE_EVENT_ADD_DEVICE = 1; // 0x1 2493*344a7f5eSAndroid Build Coastguard Worker field public static final int DEVICE_EVENT_REMOVE_DEVICE = 2; // 0x2 2494*344a7f5eSAndroid Build Coastguard Worker field public static final int DEVICE_EVENT_UPDATE_DEVICE = 3; // 0x3 2495*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_MESSAGE_EXTRA_PARAM1 = "android.hardware.hdmi.extra.MESSAGE_EXTRA_PARAM1"; 2496*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_MESSAGE_ID = "android.hardware.hdmi.extra.MESSAGE_ID"; 2497*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_ALREADY_RECORDING = 18; // 0x12 2498*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_CEC_DISABLED = 51; // 0x33 2499*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_CHECK_RECORDER_CONNECTION = 49; // 0x31 2500*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_DISALLOW_TO_COPY = 13; // 0xd 2501*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_DISALLOW_TO_FUTHER_COPIES = 14; // 0xe 2502*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_FAIL_TO_RECORD_DISPLAYED_SCREEN = 50; // 0x32 2503*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_INVALID_EXTERNAL_PHYSICAL_ADDRESS = 10; // 0xa 2504*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_INVALID_EXTERNAL_PLUG_NUMBER = 9; // 0x9 2505*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_MEDIA_PROBLEM = 21; // 0x15 2506*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_MEDIA_PROTECTED = 19; // 0x13 2507*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_NOT_ENOUGH_SPACE = 22; // 0x16 2508*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_NO_MEDIA = 16; // 0x10 2509*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_NO_OR_INSUFFICIENT_CA_ENTITLEMENTS = 12; // 0xc 2510*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_NO_SOURCE_SIGNAL = 20; // 0x14 2511*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_OTHER_REASON = 31; // 0x1f 2512*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_PARENT_LOCK_ON = 23; // 0x17 2513*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_PLAYING = 17; // 0x11 2514*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_PREVIOUS_RECORDING_IN_PROGRESS = 48; // 0x30 2515*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_RECORDING_ALREADY_TERMINATED = 27; // 0x1b 2516*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_RECORDING_ANALOGUE_SERVICE = 3; // 0x3 2517*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_RECORDING_CURRENTLY_SELECTED_SOURCE = 1; // 0x1 2518*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_RECORDING_DIGITAL_SERVICE = 2; // 0x2 2519*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_RECORDING_EXTERNAL_INPUT = 4; // 0x4 2520*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_RECORDING_TERMINATED_NORMALLY = 26; // 0x1a 2521*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_UNABLE_ANALOGUE_SERVICE = 6; // 0x6 2522*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_UNABLE_DIGITAL_SERVICE = 5; // 0x5 2523*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_UNABLE_SELECTED_SERVICE = 7; // 0x7 2524*344a7f5eSAndroid Build Coastguard Worker field public static final int ONE_TOUCH_RECORD_UNSUPPORTED_CA = 11; // 0xb 2525*344a7f5eSAndroid Build Coastguard Worker field public static final int OSD_MESSAGE_ARC_CONNECTED_INVALID_PORT = 1; // 0x1 2526*344a7f5eSAndroid Build Coastguard Worker field public static final int OSD_MESSAGE_AVR_VOLUME_CHANGED = 2; // 0x2 2527*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_STATUS_ON = 0; // 0x0 2528*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_STATUS_STANDBY = 1; // 0x1 2529*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_STATUS_TRANSIENT_TO_ON = 2; // 0x2 2530*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_STATUS_TRANSIENT_TO_STANDBY = 3; // 0x3 2531*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_STATUS_UNKNOWN = -1; // 0xffffffff 2532*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int RESULT_ALREADY_IN_PROGRESS = 4; // 0x4 2533*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_COMMUNICATION_FAILED = 7; // 0x7 2534*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_EXCEPTION = 5; // 0x5 2535*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_INCORRECT_MODE = 6; // 0x6 2536*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_SOURCE_NOT_AVAILABLE = 2; // 0x2 2537*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_SUCCESS = 0; // 0x0 2538*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_TARGET_NOT_AVAILABLE = 3; // 0x3 2539*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_TIMEOUT = 1; // 0x1 2540*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_RECORDING_RESULT_EXTRA_CEC_DISABLED = 3; // 0x3 2541*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_RECORDING_RESULT_EXTRA_CHECK_RECORDER_CONNECTION = 1; // 0x1 2542*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_RECORDING_RESULT_EXTRA_FAIL_TO_RECORD_SELECTED_SOURCE = 2; // 0x2 2543*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_RECORDING_RESULT_EXTRA_NO_ERROR = 0; // 0x0 2544*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_RECORDING_TYPE_ANALOGUE = 2; // 0x2 2545*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_RECORDING_TYPE_DIGITAL = 1; // 0x1 2546*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_RECORDING_TYPE_EXTERNAL = 3; // 0x3 2547*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_MEDIA_INFO_NOT_PRESENT = 2; // 0x2 2548*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_MEDIA_INFO_PRESENT_NOT_PROTECTED = 0; // 0x0 2549*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_MEDIA_INFO_PRESENT_PROTECTED = 1; // 0x1 2550*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_NOT_PROGRAMMED_CA_NOT_SUPPORTED = 6; // 0x6 2551*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_NOT_PROGRAMMED_CLOCK_FAILURE = 10; // 0xa 2552*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_NOT_PROGRAMMED_DATE_OUT_OF_RANGE = 2; // 0x2 2553*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_NOT_PROGRAMMED_DUPLICATED = 14; // 0xe 2554*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_EXTERNAL_PHYSICAL_NUMBER = 5; // 0x5 2555*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_EXTERNAL_PLUG_NUMBER = 4; // 0x4 2556*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_SEQUENCE = 3; // 0x3 2557*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_NOT_PROGRAMMED_NO_CA_ENTITLEMENTS = 7; // 0x7 2558*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_NOT_PROGRAMMED_NO_FREE_TIME = 1; // 0x1 2559*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_NOT_PROGRAMMED_PARENTAL_LOCK_ON = 9; // 0x9 2560*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_NOT_PROGRAMMED_UNSUPPORTED_RESOLUTION = 8; // 0x8 2561*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_PROGRAMMED_INFO_ENOUGH_SPACE = 8; // 0x8 2562*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_PROGRAMMED_INFO_MIGHT_NOT_ENOUGH_SPACE = 11; // 0xb 2563*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_PROGRAMMED_INFO_NOT_ENOUGH_SPACE = 9; // 0x9 2564*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMER_STATUS_PROGRAMMED_INFO_NO_MEDIA_INFO = 10; // 0xa 2565*344a7f5eSAndroid Build Coastguard Worker } 2566*344a7f5eSAndroid Build Coastguard Worker 2567*344a7f5eSAndroid Build Coastguard Worker @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 { 2568*344a7f5eSAndroid Build Coastguard Worker } 2569*344a7f5eSAndroid Build Coastguard Worker 2570*344a7f5eSAndroid Build Coastguard Worker public static interface HdmiControlManager.HotplugEventListener { 2571*344a7f5eSAndroid Build Coastguard Worker method public void onReceived(android.hardware.hdmi.HdmiHotplugEvent); 2572*344a7f5eSAndroid Build Coastguard Worker } 2573*344a7f5eSAndroid Build Coastguard Worker 2574*344a7f5eSAndroid Build Coastguard Worker public static interface HdmiControlManager.VendorCommandListener { 2575*344a7f5eSAndroid Build Coastguard Worker method public void onControlStateChanged(boolean, int); 2576*344a7f5eSAndroid Build Coastguard Worker method public void onReceived(int, int, byte[], boolean); 2577*344a7f5eSAndroid Build Coastguard Worker } 2578*344a7f5eSAndroid Build Coastguard Worker 2579*344a7f5eSAndroid Build Coastguard Worker public class HdmiDeviceInfo implements android.os.Parcelable { 2580*344a7f5eSAndroid Build Coastguard Worker ctor public HdmiDeviceInfo(); 2581*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2582*344a7f5eSAndroid Build Coastguard Worker method public int getAdopterId(); 2583*344a7f5eSAndroid Build Coastguard Worker method public int getDeviceId(); 2584*344a7f5eSAndroid Build Coastguard Worker method public int getDevicePowerStatus(); 2585*344a7f5eSAndroid Build Coastguard Worker method public int getDeviceType(); 2586*344a7f5eSAndroid Build Coastguard Worker method public String getDisplayName(); 2587*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 2588*344a7f5eSAndroid Build Coastguard Worker method public int getLogicalAddress(); 2589*344a7f5eSAndroid Build Coastguard Worker method public int getPhysicalAddress(); 2590*344a7f5eSAndroid Build Coastguard Worker method public int getPortId(); 2591*344a7f5eSAndroid Build Coastguard Worker method public int getVendorId(); 2592*344a7f5eSAndroid Build Coastguard Worker method public static int idForCecDevice(int); 2593*344a7f5eSAndroid Build Coastguard Worker method public static int idForHardware(int); 2594*344a7f5eSAndroid Build Coastguard Worker method public static int idForMhlDevice(int); 2595*344a7f5eSAndroid Build Coastguard Worker method public boolean isCecDevice(); 2596*344a7f5eSAndroid Build Coastguard Worker method public boolean isInactivated(); 2597*344a7f5eSAndroid Build Coastguard Worker method public boolean isMhlDevice(); 2598*344a7f5eSAndroid Build Coastguard Worker method public boolean isSourceType(); 2599*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2600*344a7f5eSAndroid Build Coastguard Worker field public static final int ADDR_INTERNAL = 0; // 0x0 2601*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiDeviceInfo> CREATOR; 2602*344a7f5eSAndroid Build Coastguard Worker field public static final int DEVICE_AUDIO_SYSTEM = 5; // 0x5 2603*344a7f5eSAndroid Build Coastguard Worker field public static final int DEVICE_INACTIVE = -1; // 0xffffffff 2604*344a7f5eSAndroid Build Coastguard Worker field public static final int DEVICE_PLAYBACK = 4; // 0x4 2605*344a7f5eSAndroid Build Coastguard Worker field public static final int DEVICE_RECORDER = 1; // 0x1 2606*344a7f5eSAndroid Build Coastguard Worker field public static final int DEVICE_RESERVED = 2; // 0x2 2607*344a7f5eSAndroid Build Coastguard Worker field public static final int DEVICE_TUNER = 3; // 0x3 2608*344a7f5eSAndroid Build Coastguard Worker field public static final int DEVICE_TV = 0; // 0x0 2609*344a7f5eSAndroid Build Coastguard Worker field public static final int ID_INVALID = 65535; // 0xffff 2610*344a7f5eSAndroid Build Coastguard Worker field public static final android.hardware.hdmi.HdmiDeviceInfo INACTIVE_DEVICE; 2611*344a7f5eSAndroid Build Coastguard Worker field public static final int PATH_INTERNAL = 0; // 0x0 2612*344a7f5eSAndroid Build Coastguard Worker field public static final int PATH_INVALID = 65535; // 0xffff 2613*344a7f5eSAndroid Build Coastguard Worker field public static final int PORT_INVALID = -1; // 0xffffffff 2614*344a7f5eSAndroid Build Coastguard Worker } 2615*344a7f5eSAndroid Build Coastguard Worker 2616*344a7f5eSAndroid Build Coastguard Worker public final class HdmiHotplugEvent implements android.os.Parcelable { 2617*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2618*344a7f5eSAndroid Build Coastguard Worker method public int getPort(); 2619*344a7f5eSAndroid Build Coastguard Worker method public boolean isConnected(); 2620*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2621*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiHotplugEvent> CREATOR; 2622*344a7f5eSAndroid Build Coastguard Worker } 2623*344a7f5eSAndroid Build Coastguard Worker 2624*344a7f5eSAndroid Build Coastguard Worker public final class HdmiPlaybackClient extends android.hardware.hdmi.HdmiClient { 2625*344a7f5eSAndroid Build Coastguard Worker method public int getDeviceType(); 2626*344a7f5eSAndroid Build Coastguard Worker method public void oneTouchPlay(android.hardware.hdmi.HdmiPlaybackClient.OneTouchPlayCallback); 2627*344a7f5eSAndroid Build Coastguard Worker method public void queryDisplayStatus(android.hardware.hdmi.HdmiPlaybackClient.DisplayStatusCallback); 2628*344a7f5eSAndroid Build Coastguard Worker method public void sendStandby(); 2629*344a7f5eSAndroid Build Coastguard Worker } 2630*344a7f5eSAndroid Build Coastguard Worker 2631*344a7f5eSAndroid Build Coastguard Worker public static interface HdmiPlaybackClient.DisplayStatusCallback { 2632*344a7f5eSAndroid Build Coastguard Worker method public void onComplete(int); 2633*344a7f5eSAndroid Build Coastguard Worker } 2634*344a7f5eSAndroid Build Coastguard Worker 2635*344a7f5eSAndroid Build Coastguard Worker public static interface HdmiPlaybackClient.OneTouchPlayCallback { 2636*344a7f5eSAndroid Build Coastguard Worker method public void onComplete(int); 2637*344a7f5eSAndroid Build Coastguard Worker } 2638*344a7f5eSAndroid Build Coastguard Worker 2639*344a7f5eSAndroid Build Coastguard Worker public final class HdmiPortInfo implements android.os.Parcelable { 2640*344a7f5eSAndroid Build Coastguard Worker ctor public HdmiPortInfo(int, int, int, boolean, boolean, boolean); 2641*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2642*344a7f5eSAndroid Build Coastguard Worker method public int getAddress(); 2643*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 2644*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 2645*344a7f5eSAndroid Build Coastguard Worker method public boolean isArcSupported(); 2646*344a7f5eSAndroid Build Coastguard Worker method public boolean isCecSupported(); 2647*344a7f5eSAndroid Build Coastguard Worker method public boolean isMhlSupported(); 2648*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2649*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiPortInfo> CREATOR; 2650*344a7f5eSAndroid Build Coastguard Worker field public static final int PORT_INPUT = 0; // 0x0 2651*344a7f5eSAndroid Build Coastguard Worker field public static final int PORT_OUTPUT = 1; // 0x1 2652*344a7f5eSAndroid Build Coastguard Worker } 2653*344a7f5eSAndroid Build Coastguard Worker 2654*344a7f5eSAndroid Build Coastguard Worker public abstract class HdmiRecordListener { 2655*344a7f5eSAndroid Build Coastguard Worker ctor public HdmiRecordListener(); 2656*344a7f5eSAndroid Build Coastguard Worker method public void onClearTimerRecordingResult(int, int); 2657*344a7f5eSAndroid Build Coastguard Worker method public void onOneTouchRecordResult(int, int); 2658*344a7f5eSAndroid Build Coastguard Worker method public abstract android.hardware.hdmi.HdmiRecordSources.RecordSource onOneTouchRecordSourceRequested(int); 2659*344a7f5eSAndroid Build Coastguard Worker method public void onTimerRecordingResult(int, android.hardware.hdmi.HdmiRecordListener.TimerStatusData); 2660*344a7f5eSAndroid Build Coastguard Worker } 2661*344a7f5eSAndroid Build Coastguard Worker 2662*344a7f5eSAndroid Build Coastguard Worker public static class HdmiRecordListener.TimerStatusData { 2663*344a7f5eSAndroid Build Coastguard Worker method public int getDurationHour(); 2664*344a7f5eSAndroid Build Coastguard Worker method public int getDurationMinute(); 2665*344a7f5eSAndroid Build Coastguard Worker method public int getExtraError(); 2666*344a7f5eSAndroid Build Coastguard Worker method public int getMediaInfo(); 2667*344a7f5eSAndroid Build Coastguard Worker method public int getNotProgammedError(); 2668*344a7f5eSAndroid Build Coastguard Worker method public int getProgrammedInfo(); 2669*344a7f5eSAndroid Build Coastguard Worker method public boolean isOverlapped(); 2670*344a7f5eSAndroid Build Coastguard Worker method public boolean isProgrammed(); 2671*344a7f5eSAndroid Build Coastguard Worker } 2672*344a7f5eSAndroid Build Coastguard Worker 2673*344a7f5eSAndroid Build Coastguard Worker public final class HdmiRecordSources { 2674*344a7f5eSAndroid Build Coastguard Worker method public static boolean checkRecordSource(byte[]); 2675*344a7f5eSAndroid Build Coastguard Worker method public static android.hardware.hdmi.HdmiRecordSources.OwnSource ofOwnSource(); 2676*344a7f5eSAndroid Build Coastguard Worker } 2677*344a7f5eSAndroid Build Coastguard Worker 2678*344a7f5eSAndroid Build Coastguard Worker public static final class HdmiRecordSources.AnalogueServiceSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource { 2679*344a7f5eSAndroid Build Coastguard Worker } 2680*344a7f5eSAndroid Build Coastguard Worker 2681*344a7f5eSAndroid Build Coastguard Worker public static final class HdmiRecordSources.DigitalServiceSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource { 2682*344a7f5eSAndroid Build Coastguard Worker } 2683*344a7f5eSAndroid Build Coastguard Worker 2684*344a7f5eSAndroid Build Coastguard Worker public static final class HdmiRecordSources.ExternalPhysicalAddress extends android.hardware.hdmi.HdmiRecordSources.RecordSource { 2685*344a7f5eSAndroid Build Coastguard Worker } 2686*344a7f5eSAndroid Build Coastguard Worker 2687*344a7f5eSAndroid Build Coastguard Worker public static final class HdmiRecordSources.ExternalPlugData extends android.hardware.hdmi.HdmiRecordSources.RecordSource { 2688*344a7f5eSAndroid Build Coastguard Worker } 2689*344a7f5eSAndroid Build Coastguard Worker 2690*344a7f5eSAndroid Build Coastguard Worker public static final class HdmiRecordSources.OwnSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource { 2691*344a7f5eSAndroid Build Coastguard Worker } 2692*344a7f5eSAndroid Build Coastguard Worker 2693*344a7f5eSAndroid Build Coastguard Worker public abstract static class HdmiRecordSources.RecordSource { 2694*344a7f5eSAndroid Build Coastguard Worker } 2695*344a7f5eSAndroid Build Coastguard Worker 2696*344a7f5eSAndroid Build Coastguard Worker public class HdmiSwitchClient extends android.hardware.hdmi.HdmiClient { 2697*344a7f5eSAndroid Build Coastguard Worker method public int getDeviceType(); 2698*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.hardware.hdmi.HdmiPortInfo> getPortInfo(); 2699*344a7f5eSAndroid Build Coastguard Worker method public void selectPort(int, @NonNull android.hardware.hdmi.HdmiSwitchClient.OnSelectListener); 2700*344a7f5eSAndroid Build Coastguard Worker method public void selectPort(int, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.hdmi.HdmiSwitchClient.OnSelectListener); 2701*344a7f5eSAndroid Build Coastguard Worker } 2702*344a7f5eSAndroid Build Coastguard Worker 2703*344a7f5eSAndroid Build Coastguard Worker public static interface HdmiSwitchClient.OnSelectListener { 2704*344a7f5eSAndroid Build Coastguard Worker method public void onSelect(@android.hardware.hdmi.HdmiControlManager.ControlCallbackResult int); 2705*344a7f5eSAndroid Build Coastguard Worker } 2706*344a7f5eSAndroid Build Coastguard Worker 2707*344a7f5eSAndroid Build Coastguard Worker public class HdmiTimerRecordSources { 2708*344a7f5eSAndroid Build Coastguard Worker method public static boolean checkTimerRecordSource(int, byte[]); 2709*344a7f5eSAndroid Build Coastguard Worker method public static android.hardware.hdmi.HdmiTimerRecordSources.Duration durationOf(int, int); 2710*344a7f5eSAndroid Build Coastguard Worker method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofAnalogueSource(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.AnalogueServiceSource); 2711*344a7f5eSAndroid Build Coastguard Worker method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofDigitalSource(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.DigitalServiceSource); 2712*344a7f5eSAndroid Build Coastguard Worker method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofExternalPhysicalAddress(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.ExternalPhysicalAddress); 2713*344a7f5eSAndroid Build Coastguard Worker method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofExternalPlug(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.ExternalPlugData); 2714*344a7f5eSAndroid Build Coastguard Worker method public static android.hardware.hdmi.HdmiTimerRecordSources.Time timeOf(int, int); 2715*344a7f5eSAndroid Build Coastguard Worker method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo timerInfoOf(int, int, android.hardware.hdmi.HdmiTimerRecordSources.Time, android.hardware.hdmi.HdmiTimerRecordSources.Duration, int); 2716*344a7f5eSAndroid Build Coastguard Worker field public static final int RECORDING_SEQUENCE_REPEAT_FRIDAY = 32; // 0x20 2717*344a7f5eSAndroid Build Coastguard Worker field public static final int RECORDING_SEQUENCE_REPEAT_MONDAY = 2; // 0x2 2718*344a7f5eSAndroid Build Coastguard Worker field public static final int RECORDING_SEQUENCE_REPEAT_ONCE_ONLY = 0; // 0x0 2719*344a7f5eSAndroid Build Coastguard Worker field public static final int RECORDING_SEQUENCE_REPEAT_SATUREDAY = 64; // 0x40 2720*344a7f5eSAndroid Build Coastguard Worker field public static final int RECORDING_SEQUENCE_REPEAT_SUNDAY = 1; // 0x1 2721*344a7f5eSAndroid Build Coastguard Worker field public static final int RECORDING_SEQUENCE_REPEAT_THURSDAY = 16; // 0x10 2722*344a7f5eSAndroid Build Coastguard Worker field public static final int RECORDING_SEQUENCE_REPEAT_TUESDAY = 4; // 0x4 2723*344a7f5eSAndroid Build Coastguard Worker field public static final int RECORDING_SEQUENCE_REPEAT_WEDNESDAY = 8; // 0x8 2724*344a7f5eSAndroid Build Coastguard Worker } 2725*344a7f5eSAndroid Build Coastguard Worker 2726*344a7f5eSAndroid Build Coastguard Worker public static final class HdmiTimerRecordSources.Duration { 2727*344a7f5eSAndroid Build Coastguard Worker } 2728*344a7f5eSAndroid Build Coastguard Worker 2729*344a7f5eSAndroid Build Coastguard Worker public static final class HdmiTimerRecordSources.Time { 2730*344a7f5eSAndroid Build Coastguard Worker } 2731*344a7f5eSAndroid Build Coastguard Worker 2732*344a7f5eSAndroid Build Coastguard Worker public static final class HdmiTimerRecordSources.TimerInfo { 2733*344a7f5eSAndroid Build Coastguard Worker } 2734*344a7f5eSAndroid Build Coastguard Worker 2735*344a7f5eSAndroid Build Coastguard Worker public static final class HdmiTimerRecordSources.TimerRecordSource { 2736*344a7f5eSAndroid Build Coastguard Worker } 2737*344a7f5eSAndroid Build Coastguard Worker 2738*344a7f5eSAndroid Build Coastguard Worker public final class HdmiTvClient extends android.hardware.hdmi.HdmiClient { 2739*344a7f5eSAndroid Build Coastguard Worker method public void clearTimerRecording(int, int, android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource); 2740*344a7f5eSAndroid Build Coastguard Worker method public void deviceSelect(int, @NonNull android.hardware.hdmi.HdmiTvClient.SelectCallback); 2741*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getDeviceList(); 2742*344a7f5eSAndroid Build Coastguard Worker method public int getDeviceType(); 2743*344a7f5eSAndroid Build Coastguard Worker method public void portSelect(int, @NonNull android.hardware.hdmi.HdmiTvClient.SelectCallback); 2744*344a7f5eSAndroid Build Coastguard Worker method public void sendMhlVendorCommand(int, int, int, byte[]); 2745*344a7f5eSAndroid Build Coastguard Worker method public void sendStandby(int); 2746*344a7f5eSAndroid Build Coastguard Worker method public void setHdmiMhlVendorCommandListener(android.hardware.hdmi.HdmiTvClient.HdmiMhlVendorCommandListener); 2747*344a7f5eSAndroid Build Coastguard Worker method public void setInputChangeListener(android.hardware.hdmi.HdmiTvClient.InputChangeListener); 2748*344a7f5eSAndroid Build Coastguard Worker method public void setRecordListener(@NonNull android.hardware.hdmi.HdmiRecordListener); 2749*344a7f5eSAndroid Build Coastguard Worker method public void setSystemAudioMode(boolean, android.hardware.hdmi.HdmiTvClient.SelectCallback); 2750*344a7f5eSAndroid Build Coastguard Worker method public void setSystemAudioMute(boolean); 2751*344a7f5eSAndroid Build Coastguard Worker method public void setSystemAudioVolume(int, int, int); 2752*344a7f5eSAndroid Build Coastguard Worker method public void startOneTouchRecord(int, @NonNull android.hardware.hdmi.HdmiRecordSources.RecordSource); 2753*344a7f5eSAndroid Build Coastguard Worker method public void startTimerRecording(int, int, android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource); 2754*344a7f5eSAndroid Build Coastguard Worker method public void stopOneTouchRecord(int); 2755*344a7f5eSAndroid Build Coastguard Worker field public static final int VENDOR_DATA_SIZE = 16; // 0x10 2756*344a7f5eSAndroid Build Coastguard Worker } 2757*344a7f5eSAndroid Build Coastguard Worker 2758*344a7f5eSAndroid Build Coastguard Worker public static interface HdmiTvClient.HdmiMhlVendorCommandListener { 2759*344a7f5eSAndroid Build Coastguard Worker method public void onReceived(int, int, int, byte[]); 2760*344a7f5eSAndroid Build Coastguard Worker } 2761*344a7f5eSAndroid Build Coastguard Worker 2762*344a7f5eSAndroid Build Coastguard Worker public static interface HdmiTvClient.InputChangeListener { 2763*344a7f5eSAndroid Build Coastguard Worker method public void onChanged(android.hardware.hdmi.HdmiDeviceInfo); 2764*344a7f5eSAndroid Build Coastguard Worker } 2765*344a7f5eSAndroid Build Coastguard Worker 2766*344a7f5eSAndroid Build Coastguard Worker public static interface HdmiTvClient.SelectCallback { 2767*344a7f5eSAndroid Build Coastguard Worker method public void onComplete(int); 2768*344a7f5eSAndroid Build Coastguard Worker } 2769*344a7f5eSAndroid Build Coastguard Worker 2770*344a7f5eSAndroid Build Coastguard Worker} 2771*344a7f5eSAndroid Build Coastguard Worker 2772*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.lights { 2773*344a7f5eSAndroid Build Coastguard Worker 2774*344a7f5eSAndroid Build Coastguard Worker public final class Light implements android.os.Parcelable { 2775*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2776*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 2777*344a7f5eSAndroid Build Coastguard Worker method public int getOrdinal(); 2778*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 2779*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 2780*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.lights.Light> CREATOR; 2781*344a7f5eSAndroid Build Coastguard Worker } 2782*344a7f5eSAndroid Build Coastguard Worker 2783*344a7f5eSAndroid Build Coastguard Worker public final class LightState implements android.os.Parcelable { 2784*344a7f5eSAndroid Build Coastguard Worker ctor public LightState(@ColorInt int); 2785*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2786*344a7f5eSAndroid Build Coastguard Worker method @ColorInt public int getColor(); 2787*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 2788*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.lights.LightState> CREATOR; 2789*344a7f5eSAndroid Build Coastguard Worker } 2790*344a7f5eSAndroid Build Coastguard Worker 2791*344a7f5eSAndroid Build Coastguard Worker public final class LightsManager { 2792*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public java.util.List<android.hardware.lights.Light> getLights(); 2793*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public android.hardware.lights.LightsManager.LightsSession openSession(); 2794*344a7f5eSAndroid Build Coastguard Worker field public static final int LIGHT_TYPE_MICROPHONE = 8; // 0x8 2795*344a7f5eSAndroid Build Coastguard Worker } 2796*344a7f5eSAndroid Build Coastguard Worker 2797*344a7f5eSAndroid Build Coastguard Worker public final class LightsManager.LightsSession implements java.lang.AutoCloseable { 2798*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public void close(); 2799*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public void requestLights(@NonNull android.hardware.lights.LightsRequest); 2800*344a7f5eSAndroid Build Coastguard Worker } 2801*344a7f5eSAndroid Build Coastguard Worker 2802*344a7f5eSAndroid Build Coastguard Worker public final class LightsRequest { 2803*344a7f5eSAndroid Build Coastguard Worker } 2804*344a7f5eSAndroid Build Coastguard Worker 2805*344a7f5eSAndroid Build Coastguard Worker public static final class LightsRequest.Builder { 2806*344a7f5eSAndroid Build Coastguard Worker ctor public LightsRequest.Builder(); 2807*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.lights.LightsRequest build(); 2808*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.lights.LightsRequest.Builder clearLight(@NonNull android.hardware.lights.Light); 2809*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.lights.LightsRequest.Builder setLight(@NonNull android.hardware.lights.Light, @NonNull android.hardware.lights.LightState); 2810*344a7f5eSAndroid Build Coastguard Worker } 2811*344a7f5eSAndroid Build Coastguard Worker 2812*344a7f5eSAndroid Build Coastguard Worker} 2813*344a7f5eSAndroid Build Coastguard Worker 2814*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.location { 2815*344a7f5eSAndroid Build Coastguard Worker 2816*344a7f5eSAndroid Build Coastguard Worker public class ContextHubClient implements java.io.Closeable { 2817*344a7f5eSAndroid Build Coastguard Worker method public void close(); 2818*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.location.ContextHubInfo getAttachedHub(); 2819*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public int sendMessageToNanoApp(@NonNull android.hardware.location.NanoAppMessage); 2820*344a7f5eSAndroid Build Coastguard Worker } 2821*344a7f5eSAndroid Build Coastguard Worker 2822*344a7f5eSAndroid Build Coastguard Worker public class ContextHubClientCallback { 2823*344a7f5eSAndroid Build Coastguard Worker ctor public ContextHubClientCallback(); 2824*344a7f5eSAndroid Build Coastguard Worker method public void onHubReset(android.hardware.location.ContextHubClient); 2825*344a7f5eSAndroid Build Coastguard Worker method public void onMessageFromNanoApp(android.hardware.location.ContextHubClient, android.hardware.location.NanoAppMessage); 2826*344a7f5eSAndroid Build Coastguard Worker method public void onNanoAppAborted(android.hardware.location.ContextHubClient, long, int); 2827*344a7f5eSAndroid Build Coastguard Worker method public void onNanoAppDisabled(android.hardware.location.ContextHubClient, long); 2828*344a7f5eSAndroid Build Coastguard Worker method public void onNanoAppEnabled(android.hardware.location.ContextHubClient, long); 2829*344a7f5eSAndroid Build Coastguard Worker method public void onNanoAppLoaded(android.hardware.location.ContextHubClient, long); 2830*344a7f5eSAndroid Build Coastguard Worker method public void onNanoAppUnloaded(android.hardware.location.ContextHubClient, long); 2831*344a7f5eSAndroid Build Coastguard Worker } 2832*344a7f5eSAndroid Build Coastguard Worker 2833*344a7f5eSAndroid Build Coastguard Worker public class ContextHubInfo implements android.os.Parcelable { 2834*344a7f5eSAndroid Build Coastguard Worker ctor public ContextHubInfo(); 2835*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2836*344a7f5eSAndroid Build Coastguard Worker method public byte getChreApiMajorVersion(); 2837*344a7f5eSAndroid Build Coastguard Worker method public byte getChreApiMinorVersion(); 2838*344a7f5eSAndroid Build Coastguard Worker method public short getChrePatchVersion(); 2839*344a7f5eSAndroid Build Coastguard Worker method public long getChrePlatformId(); 2840*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 2841*344a7f5eSAndroid Build Coastguard Worker method public int getMaxPacketLengthBytes(); 2842*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.location.MemoryRegion[] getMemoryRegions(); 2843*344a7f5eSAndroid Build Coastguard Worker method public String getName(); 2844*344a7f5eSAndroid Build Coastguard Worker method public float getPeakMips(); 2845*344a7f5eSAndroid Build Coastguard Worker method public float getPeakPowerDrawMw(); 2846*344a7f5eSAndroid Build Coastguard Worker method public int getPlatformVersion(); 2847*344a7f5eSAndroid Build Coastguard Worker method public float getSleepPowerDrawMw(); 2848*344a7f5eSAndroid Build Coastguard Worker method public int getStaticSwVersion(); 2849*344a7f5eSAndroid Build Coastguard Worker method public float getStoppedPowerDrawMw(); 2850*344a7f5eSAndroid Build Coastguard Worker method public int[] getSupportedSensors(); 2851*344a7f5eSAndroid Build Coastguard Worker method public String getToolchain(); 2852*344a7f5eSAndroid Build Coastguard Worker method public int getToolchainVersion(); 2853*344a7f5eSAndroid Build Coastguard Worker method public String getVendor(); 2854*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2855*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.ContextHubInfo> CREATOR; 2856*344a7f5eSAndroid Build Coastguard Worker } 2857*344a7f5eSAndroid Build Coastguard Worker 2858*344a7f5eSAndroid Build Coastguard Worker public class ContextHubIntentEvent { 2859*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.hardware.location.ContextHubIntentEvent fromIntent(@NonNull android.content.Intent); 2860*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.location.ContextHubInfo getContextHubInfo(); 2861*344a7f5eSAndroid Build Coastguard Worker method public int getEventType(); 2862*344a7f5eSAndroid Build Coastguard Worker method public int getNanoAppAbortCode(); 2863*344a7f5eSAndroid Build Coastguard Worker method public long getNanoAppId(); 2864*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.location.NanoAppMessage getNanoAppMessage(); 2865*344a7f5eSAndroid Build Coastguard Worker } 2866*344a7f5eSAndroid Build Coastguard Worker 2867*344a7f5eSAndroid Build Coastguard Worker public final class ContextHubManager { 2868*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, 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); 2869*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.ContextHubClientCallback); 2870*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.app.PendingIntent, long); 2871*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.Void> disableNanoApp(@NonNull android.hardware.location.ContextHubInfo, long); 2872*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.Void> enableNanoApp(@NonNull android.hardware.location.ContextHubInfo, long); 2873*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public int[] findNanoAppOnHub(int, @NonNull android.hardware.location.NanoAppFilter); 2874*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public int[] getContextHubHandles(); 2875*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubInfo getContextHubInfo(int); 2876*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public java.util.List<android.hardware.location.ContextHubInfo> getContextHubs(); 2877*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @Nullable @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.NanoAppInstanceInfo getNanoAppInstanceInfo(int); 2878*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public int loadNanoApp(int, @NonNull android.hardware.location.NanoApp); 2879*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.Void> loadNanoApp(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.NanoAppBinary); 2880*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.util.List<android.hardware.location.NanoAppState>> queryNanoApps(@NonNull android.hardware.location.ContextHubInfo); 2881*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int registerCallback(@NonNull android.hardware.location.ContextHubManager.Callback); 2882*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int registerCallback(android.hardware.location.ContextHubManager.Callback, android.os.Handler); 2883*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public int sendMessage(int, int, @NonNull android.hardware.location.ContextHubMessage); 2884*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public int unloadNanoApp(int); 2885*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.Void> unloadNanoApp(@NonNull android.hardware.location.ContextHubInfo, long); 2886*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int unregisterCallback(@NonNull android.hardware.location.ContextHubManager.Callback); 2887*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_HUB_RESET = 6; // 0x6 2888*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_NANOAPP_ABORTED = 4; // 0x4 2889*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_NANOAPP_DISABLED = 3; // 0x3 2890*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_NANOAPP_ENABLED = 2; // 0x2 2891*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_NANOAPP_LOADED = 0; // 0x0 2892*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_NANOAPP_MESSAGE = 5; // 0x5 2893*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_NANOAPP_UNLOADED = 1; // 0x1 2894*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CONTEXT_HUB_INFO = "android.hardware.location.extra.CONTEXT_HUB_INFO"; 2895*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_EVENT_TYPE = "android.hardware.location.extra.EVENT_TYPE"; 2896*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_MESSAGE = "android.hardware.location.extra.MESSAGE"; 2897*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_NANOAPP_ABORT_CODE = "android.hardware.location.extra.NANOAPP_ABORT_CODE"; 2898*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_NANOAPP_ID = "android.hardware.location.extra.NANOAPP_ID"; 2899*344a7f5eSAndroid Build Coastguard Worker } 2900*344a7f5eSAndroid Build Coastguard Worker 2901*344a7f5eSAndroid Build Coastguard Worker @Deprecated public abstract static class ContextHubManager.Callback { 2902*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated protected ContextHubManager.Callback(); 2903*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract void onMessageReceipt(int, int, @NonNull android.hardware.location.ContextHubMessage); 2904*344a7f5eSAndroid Build Coastguard Worker } 2905*344a7f5eSAndroid Build Coastguard Worker 2906*344a7f5eSAndroid Build Coastguard Worker @Deprecated public class ContextHubMessage implements android.os.Parcelable { 2907*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public ContextHubMessage(int, int, byte[]); 2908*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int describeContents(); 2909*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public byte[] getData(); 2910*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getMsgType(); 2911*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getVersion(); 2912*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setMsgData(byte[]); 2913*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setMsgType(int); 2914*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setVersion(int); 2915*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void writeToParcel(android.os.Parcel, int); 2916*344a7f5eSAndroid Build Coastguard Worker field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.ContextHubMessage> CREATOR; 2917*344a7f5eSAndroid Build Coastguard Worker } 2918*344a7f5eSAndroid Build Coastguard Worker 2919*344a7f5eSAndroid Build Coastguard Worker public class ContextHubTransaction<T> { 2920*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 2921*344a7f5eSAndroid Build Coastguard Worker method public void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnCompleteListener<T>, @NonNull java.util.concurrent.Executor); 2922*344a7f5eSAndroid Build Coastguard Worker method public void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnCompleteListener<T>); 2923*344a7f5eSAndroid Build Coastguard Worker method public static String typeToString(int, boolean); 2924*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.location.ContextHubTransaction.Response<T> waitForResponse(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException; 2925*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_FAILED_AT_HUB = 5; // 0x5 2926*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_FAILED_BAD_PARAMS = 2; // 0x2 2927*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_FAILED_BUSY = 4; // 0x4 2928*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_FAILED_HAL_UNAVAILABLE = 8; // 0x8 2929*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_FAILED_SERVICE_INTERNAL_FAILURE = 7; // 0x7 2930*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_FAILED_TIMEOUT = 6; // 0x6 2931*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_FAILED_UNINITIALIZED = 3; // 0x3 2932*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_FAILED_UNKNOWN = 1; // 0x1 2933*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_SUCCESS = 0; // 0x0 2934*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_DISABLE_NANOAPP = 3; // 0x3 2935*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ENABLE_NANOAPP = 2; // 0x2 2936*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_LOAD_NANOAPP = 0; // 0x0 2937*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_QUERY_NANOAPPS = 4; // 0x4 2938*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_UNLOAD_NANOAPP = 1; // 0x1 2939*344a7f5eSAndroid Build Coastguard Worker } 2940*344a7f5eSAndroid Build Coastguard Worker 2941*344a7f5eSAndroid Build Coastguard Worker @java.lang.FunctionalInterface public static interface ContextHubTransaction.OnCompleteListener<L> { 2942*344a7f5eSAndroid Build Coastguard Worker method public void onComplete(android.hardware.location.ContextHubTransaction<L>, android.hardware.location.ContextHubTransaction.Response<L>); 2943*344a7f5eSAndroid Build Coastguard Worker } 2944*344a7f5eSAndroid Build Coastguard Worker 2945*344a7f5eSAndroid Build Coastguard Worker public static class ContextHubTransaction.Response<R> { 2946*344a7f5eSAndroid Build Coastguard Worker method public R getContents(); 2947*344a7f5eSAndroid Build Coastguard Worker method public int getResult(); 2948*344a7f5eSAndroid Build Coastguard Worker } 2949*344a7f5eSAndroid Build Coastguard Worker 2950*344a7f5eSAndroid Build Coastguard Worker public final class GeofenceHardware { 2951*344a7f5eSAndroid Build Coastguard Worker method public boolean addGeofence(int, int, android.hardware.location.GeofenceHardwareRequest, android.hardware.location.GeofenceHardwareCallback); 2952*344a7f5eSAndroid Build Coastguard Worker method public int[] getMonitoringTypes(); 2953*344a7f5eSAndroid Build Coastguard Worker method public int getStatusOfMonitoringType(int); 2954*344a7f5eSAndroid Build Coastguard Worker method public boolean pauseGeofence(int, int); 2955*344a7f5eSAndroid Build Coastguard Worker method public boolean registerForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback); 2956*344a7f5eSAndroid Build Coastguard Worker method public boolean removeGeofence(int, int); 2957*344a7f5eSAndroid Build Coastguard Worker method public boolean resumeGeofence(int, int, int); 2958*344a7f5eSAndroid Build Coastguard Worker method public boolean unregisterForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback); 2959*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOFENCE_ENTERED = 1; // 0x1 2960*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOFENCE_ERROR_ID_EXISTS = 2; // 0x2 2961*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOFENCE_ERROR_ID_UNKNOWN = 3; // 0x3 2962*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOFENCE_ERROR_INSUFFICIENT_MEMORY = 6; // 0x6 2963*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOFENCE_ERROR_INVALID_TRANSITION = 4; // 0x4 2964*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOFENCE_ERROR_TOO_MANY_GEOFENCES = 1; // 0x1 2965*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOFENCE_EXITED = 2; // 0x2 2966*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOFENCE_FAILURE = 5; // 0x5 2967*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOFENCE_SUCCESS = 0; // 0x0 2968*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOFENCE_UNCERTAIN = 4; // 0x4 2969*344a7f5eSAndroid Build Coastguard Worker field public static final int MONITORING_TYPE_FUSED_HARDWARE = 1; // 0x1 2970*344a7f5eSAndroid Build Coastguard Worker field public static final int MONITORING_TYPE_GPS_HARDWARE = 0; // 0x0 2971*344a7f5eSAndroid Build Coastguard Worker field public static final int MONITOR_CURRENTLY_AVAILABLE = 0; // 0x0 2972*344a7f5eSAndroid Build Coastguard Worker field public static final int MONITOR_CURRENTLY_UNAVAILABLE = 1; // 0x1 2973*344a7f5eSAndroid Build Coastguard Worker field public static final int MONITOR_UNSUPPORTED = 2; // 0x2 2974*344a7f5eSAndroid Build Coastguard Worker field public static final int SOURCE_TECHNOLOGY_BLUETOOTH = 16; // 0x10 2975*344a7f5eSAndroid Build Coastguard Worker field public static final int SOURCE_TECHNOLOGY_CELL = 8; // 0x8 2976*344a7f5eSAndroid Build Coastguard Worker field public static final int SOURCE_TECHNOLOGY_GNSS = 1; // 0x1 2977*344a7f5eSAndroid Build Coastguard Worker field public static final int SOURCE_TECHNOLOGY_SENSORS = 4; // 0x4 2978*344a7f5eSAndroid Build Coastguard Worker field public static final int SOURCE_TECHNOLOGY_WIFI = 2; // 0x2 2979*344a7f5eSAndroid Build Coastguard Worker } 2980*344a7f5eSAndroid Build Coastguard Worker 2981*344a7f5eSAndroid Build Coastguard Worker public abstract class GeofenceHardwareCallback { 2982*344a7f5eSAndroid Build Coastguard Worker ctor public GeofenceHardwareCallback(); 2983*344a7f5eSAndroid Build Coastguard Worker method public void onGeofenceAdd(int, int); 2984*344a7f5eSAndroid Build Coastguard Worker method public void onGeofencePause(int, int); 2985*344a7f5eSAndroid Build Coastguard Worker method public void onGeofenceRemove(int, int); 2986*344a7f5eSAndroid Build Coastguard Worker method public void onGeofenceResume(int, int); 2987*344a7f5eSAndroid Build Coastguard Worker method public void onGeofenceTransition(int, int, android.location.Location, long, int); 2988*344a7f5eSAndroid Build Coastguard Worker } 2989*344a7f5eSAndroid Build Coastguard Worker 2990*344a7f5eSAndroid Build Coastguard Worker public abstract class GeofenceHardwareMonitorCallback { 2991*344a7f5eSAndroid Build Coastguard Worker ctor public GeofenceHardwareMonitorCallback(); 2992*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onMonitoringSystemChange(int, boolean, android.location.Location); 2993*344a7f5eSAndroid Build Coastguard Worker method public void onMonitoringSystemChange(android.hardware.location.GeofenceHardwareMonitorEvent); 2994*344a7f5eSAndroid Build Coastguard Worker } 2995*344a7f5eSAndroid Build Coastguard Worker 2996*344a7f5eSAndroid Build Coastguard Worker public class GeofenceHardwareMonitorEvent implements android.os.Parcelable { 2997*344a7f5eSAndroid Build Coastguard Worker ctor public GeofenceHardwareMonitorEvent(int, int, int, android.location.Location); 2998*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2999*344a7f5eSAndroid Build Coastguard Worker method public android.location.Location getLocation(); 3000*344a7f5eSAndroid Build Coastguard Worker method public int getMonitoringStatus(); 3001*344a7f5eSAndroid Build Coastguard Worker method public int getMonitoringType(); 3002*344a7f5eSAndroid Build Coastguard Worker method public int getSourceTechnologies(); 3003*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3004*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.GeofenceHardwareMonitorEvent> CREATOR; 3005*344a7f5eSAndroid Build Coastguard Worker } 3006*344a7f5eSAndroid Build Coastguard Worker 3007*344a7f5eSAndroid Build Coastguard Worker public final class GeofenceHardwareRequest { 3008*344a7f5eSAndroid Build Coastguard Worker ctor public GeofenceHardwareRequest(); 3009*344a7f5eSAndroid Build Coastguard Worker method public static android.hardware.location.GeofenceHardwareRequest createCircularGeofence(double, double, double); 3010*344a7f5eSAndroid Build Coastguard Worker method public int getLastTransition(); 3011*344a7f5eSAndroid Build Coastguard Worker method public double getLatitude(); 3012*344a7f5eSAndroid Build Coastguard Worker method public double getLongitude(); 3013*344a7f5eSAndroid Build Coastguard Worker method public int getMonitorTransitions(); 3014*344a7f5eSAndroid Build Coastguard Worker method public int getNotificationResponsiveness(); 3015*344a7f5eSAndroid Build Coastguard Worker method public double getRadius(); 3016*344a7f5eSAndroid Build Coastguard Worker method public int getSourceTechnologies(); 3017*344a7f5eSAndroid Build Coastguard Worker method public int getUnknownTimer(); 3018*344a7f5eSAndroid Build Coastguard Worker method public void setLastTransition(int); 3019*344a7f5eSAndroid Build Coastguard Worker method public void setMonitorTransitions(int); 3020*344a7f5eSAndroid Build Coastguard Worker method public void setNotificationResponsiveness(int); 3021*344a7f5eSAndroid Build Coastguard Worker method public void setSourceTechnologies(int); 3022*344a7f5eSAndroid Build Coastguard Worker method public void setUnknownTimer(int); 3023*344a7f5eSAndroid Build Coastguard Worker } 3024*344a7f5eSAndroid Build Coastguard Worker 3025*344a7f5eSAndroid Build Coastguard Worker public class MemoryRegion implements android.os.Parcelable { 3026*344a7f5eSAndroid Build Coastguard Worker ctor public MemoryRegion(android.os.Parcel); 3027*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3028*344a7f5eSAndroid Build Coastguard Worker method public int getCapacityBytes(); 3029*344a7f5eSAndroid Build Coastguard Worker method public int getFreeCapacityBytes(); 3030*344a7f5eSAndroid Build Coastguard Worker method public boolean isExecutable(); 3031*344a7f5eSAndroid Build Coastguard Worker method public boolean isReadable(); 3032*344a7f5eSAndroid Build Coastguard Worker method public boolean isWritable(); 3033*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3034*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.MemoryRegion> CREATOR; 3035*344a7f5eSAndroid Build Coastguard Worker } 3036*344a7f5eSAndroid Build Coastguard Worker 3037*344a7f5eSAndroid Build Coastguard Worker @Deprecated public class NanoApp implements android.os.Parcelable { 3038*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public NanoApp(); 3039*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public NanoApp(int, byte[]); 3040*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public NanoApp(long, byte[]); 3041*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int describeContents(); 3042*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public byte[] getAppBinary(); 3043*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public long getAppId(); 3044*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getAppVersion(); 3045*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public String getName(); 3046*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getNeededExecMemBytes(); 3047*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getNeededReadMemBytes(); 3048*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int[] getNeededSensors(); 3049*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getNeededWriteMemBytes(); 3050*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int[] getOutputEvents(); 3051*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public String getPublisher(); 3052*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setAppBinary(byte[]); 3053*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setAppId(long); 3054*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setAppVersion(int); 3055*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setName(String); 3056*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setNeededExecMemBytes(int); 3057*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setNeededReadMemBytes(int); 3058*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setNeededSensors(int[]); 3059*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setNeededWriteMemBytes(int); 3060*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setOutputEvents(int[]); 3061*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setPublisher(String); 3062*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void writeToParcel(android.os.Parcel, int); 3063*344a7f5eSAndroid Build Coastguard Worker field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoApp> CREATOR; 3064*344a7f5eSAndroid Build Coastguard Worker } 3065*344a7f5eSAndroid Build Coastguard Worker 3066*344a7f5eSAndroid Build Coastguard Worker public final class NanoAppBinary implements android.os.Parcelable { 3067*344a7f5eSAndroid Build Coastguard Worker ctor public NanoAppBinary(byte[]); 3068*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3069*344a7f5eSAndroid Build Coastguard Worker method public byte[] getBinary(); 3070*344a7f5eSAndroid Build Coastguard Worker method public byte[] getBinaryNoHeader(); 3071*344a7f5eSAndroid Build Coastguard Worker method public int getFlags(); 3072*344a7f5eSAndroid Build Coastguard Worker method public int getHeaderVersion(); 3073*344a7f5eSAndroid Build Coastguard Worker method public long getHwHubType(); 3074*344a7f5eSAndroid Build Coastguard Worker method public long getNanoAppId(); 3075*344a7f5eSAndroid Build Coastguard Worker method public int getNanoAppVersion(); 3076*344a7f5eSAndroid Build Coastguard Worker method public byte getTargetChreApiMajorVersion(); 3077*344a7f5eSAndroid Build Coastguard Worker method public byte getTargetChreApiMinorVersion(); 3078*344a7f5eSAndroid Build Coastguard Worker method public boolean hasValidHeader(); 3079*344a7f5eSAndroid Build Coastguard Worker method public boolean isEncrypted(); 3080*344a7f5eSAndroid Build Coastguard Worker method public boolean isSigned(); 3081*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3082*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppBinary> CREATOR; 3083*344a7f5eSAndroid Build Coastguard Worker } 3084*344a7f5eSAndroid Build Coastguard Worker 3085*344a7f5eSAndroid Build Coastguard Worker @Deprecated public class NanoAppFilter implements android.os.Parcelable { 3086*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public NanoAppFilter(long, int, int, long); 3087*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int describeContents(); 3088*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean testMatch(android.hardware.location.NanoAppInstanceInfo); 3089*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void writeToParcel(android.os.Parcel, int); 3090*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int APP_ANY = -1; // 0xffffffff 3091*344a7f5eSAndroid Build Coastguard Worker field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppFilter> CREATOR; 3092*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int FLAGS_VERSION_ANY = -1; // 0xffffffff 3093*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int FLAGS_VERSION_GREAT_THAN = 2; // 0x2 3094*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int FLAGS_VERSION_LESS_THAN = 4; // 0x4 3095*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int FLAGS_VERSION_STRICTLY_EQUAL = 8; // 0x8 3096*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int HUB_ANY = -1; // 0xffffffff 3097*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int VENDOR_ANY = -1; // 0xffffffff 3098*344a7f5eSAndroid Build Coastguard Worker } 3099*344a7f5eSAndroid Build Coastguard Worker 3100*344a7f5eSAndroid Build Coastguard Worker @Deprecated public class NanoAppInstanceInfo implements android.os.Parcelable { 3101*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public NanoAppInstanceInfo(); 3102*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int describeContents(); 3103*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public long getAppId(); 3104*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getAppVersion(); 3105*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getContexthubId(); 3106*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getHandle(); 3107*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public String getName(); 3108*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getNeededExecMemBytes(); 3109*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getNeededReadMemBytes(); 3110*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public int[] getNeededSensors(); 3111*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getNeededWriteMemBytes(); 3112*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public int[] getOutputEvents(); 3113*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public String getPublisher(); 3114*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void writeToParcel(android.os.Parcel, int); 3115*344a7f5eSAndroid Build Coastguard Worker field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppInstanceInfo> CREATOR; 3116*344a7f5eSAndroid Build Coastguard Worker } 3117*344a7f5eSAndroid Build Coastguard Worker 3118*344a7f5eSAndroid Build Coastguard Worker public final class NanoAppMessage implements android.os.Parcelable { 3119*344a7f5eSAndroid Build Coastguard Worker method public static android.hardware.location.NanoAppMessage createMessageFromNanoApp(long, int, byte[], boolean); 3120*344a7f5eSAndroid Build Coastguard Worker method public static android.hardware.location.NanoAppMessage createMessageToNanoApp(long, int, byte[]); 3121*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3122*344a7f5eSAndroid Build Coastguard Worker method public byte[] getMessageBody(); 3123*344a7f5eSAndroid Build Coastguard Worker method public int getMessageType(); 3124*344a7f5eSAndroid Build Coastguard Worker method public long getNanoAppId(); 3125*344a7f5eSAndroid Build Coastguard Worker method public boolean isBroadcastMessage(); 3126*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3127*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppMessage> CREATOR; 3128*344a7f5eSAndroid Build Coastguard Worker } 3129*344a7f5eSAndroid Build Coastguard Worker 3130*344a7f5eSAndroid Build Coastguard Worker public final class NanoAppState implements android.os.Parcelable { 3131*344a7f5eSAndroid Build Coastguard Worker ctor public NanoAppState(long, int, boolean); 3132*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3133*344a7f5eSAndroid Build Coastguard Worker method public long getNanoAppId(); 3134*344a7f5eSAndroid Build Coastguard Worker method public long getNanoAppVersion(); 3135*344a7f5eSAndroid Build Coastguard Worker method public boolean isEnabled(); 3136*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3137*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppState> CREATOR; 3138*344a7f5eSAndroid Build Coastguard Worker } 3139*344a7f5eSAndroid Build Coastguard Worker 3140*344a7f5eSAndroid Build Coastguard Worker} 3141*344a7f5eSAndroid Build Coastguard Worker 3142*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.radio { 3143*344a7f5eSAndroid Build Coastguard Worker 3144*344a7f5eSAndroid Build Coastguard Worker public final class Announcement implements android.os.Parcelable { 3145*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3146*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.radio.ProgramSelector getSelector(); 3147*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 3148*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Map<java.lang.String,java.lang.String> getVendorInfo(); 3149*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3150*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.Announcement> CREATOR; 3151*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_EMERGENCY = 1; // 0x1 3152*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_EVENT = 6; // 0x6 3153*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_MISC = 8; // 0x8 3154*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_NEWS = 5; // 0x5 3155*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_SPORT = 7; // 0x7 3156*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_TRAFFIC = 3; // 0x3 3157*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_WARNING = 2; // 0x2 3158*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_WEATHER = 4; // 0x4 3159*344a7f5eSAndroid Build Coastguard Worker } 3160*344a7f5eSAndroid Build Coastguard Worker 3161*344a7f5eSAndroid Build Coastguard Worker public static interface Announcement.OnListUpdatedListener { 3162*344a7f5eSAndroid Build Coastguard Worker method public void onListUpdated(java.util.Collection<android.hardware.radio.Announcement>); 3163*344a7f5eSAndroid Build Coastguard Worker } 3164*344a7f5eSAndroid Build Coastguard Worker 3165*344a7f5eSAndroid Build Coastguard Worker public final class ProgramList implements java.lang.AutoCloseable { 3166*344a7f5eSAndroid Build Coastguard Worker method public void addOnCompleteListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.OnCompleteListener); 3167*344a7f5eSAndroid Build Coastguard Worker method public void addOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnCompleteListener); 3168*344a7f5eSAndroid Build Coastguard Worker method public void close(); 3169*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.radio.RadioManager.ProgramInfo get(@NonNull android.hardware.radio.ProgramSelector.Identifier); 3170*344a7f5eSAndroid Build Coastguard Worker method public void registerListCallback(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.ListCallback); 3171*344a7f5eSAndroid Build Coastguard Worker method public void registerListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback); 3172*344a7f5eSAndroid Build Coastguard Worker method public void removeOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnCompleteListener); 3173*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.hardware.radio.RadioManager.ProgramInfo> toList(); 3174*344a7f5eSAndroid Build Coastguard Worker method public void unregisterListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback); 3175*344a7f5eSAndroid Build Coastguard Worker } 3176*344a7f5eSAndroid Build Coastguard Worker 3177*344a7f5eSAndroid Build Coastguard Worker public static final class ProgramList.Filter implements android.os.Parcelable { 3178*344a7f5eSAndroid Build Coastguard Worker ctor public ProgramList.Filter(@NonNull java.util.Set<java.lang.Integer>, @NonNull java.util.Set<android.hardware.radio.ProgramSelector.Identifier>, boolean, boolean); 3179*344a7f5eSAndroid Build Coastguard Worker method public boolean areCategoriesIncluded(); 3180*344a7f5eSAndroid Build Coastguard Worker method public boolean areModificationsExcluded(); 3181*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3182*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.lang.Integer> getIdentifierTypes(); 3183*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<android.hardware.radio.ProgramSelector.Identifier> getIdentifiers(); 3184*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3185*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.ProgramList.Filter> CREATOR; 3186*344a7f5eSAndroid Build Coastguard Worker } 3187*344a7f5eSAndroid Build Coastguard Worker 3188*344a7f5eSAndroid Build Coastguard Worker public abstract static class ProgramList.ListCallback { 3189*344a7f5eSAndroid Build Coastguard Worker ctor public ProgramList.ListCallback(); 3190*344a7f5eSAndroid Build Coastguard Worker method public void onItemChanged(@NonNull android.hardware.radio.ProgramSelector.Identifier); 3191*344a7f5eSAndroid Build Coastguard Worker method public void onItemRemoved(@NonNull android.hardware.radio.ProgramSelector.Identifier); 3192*344a7f5eSAndroid Build Coastguard Worker } 3193*344a7f5eSAndroid Build Coastguard Worker 3194*344a7f5eSAndroid Build Coastguard Worker public static interface ProgramList.OnCompleteListener { 3195*344a7f5eSAndroid Build Coastguard Worker method public void onComplete(); 3196*344a7f5eSAndroid Build Coastguard Worker } 3197*344a7f5eSAndroid Build Coastguard Worker 3198*344a7f5eSAndroid Build Coastguard Worker public final class ProgramSelector implements android.os.Parcelable { 3199*344a7f5eSAndroid Build Coastguard Worker ctor public ProgramSelector(@android.hardware.radio.ProgramSelector.ProgramType int, @NonNull android.hardware.radio.ProgramSelector.Identifier, @Nullable android.hardware.radio.ProgramSelector.Identifier[], @Nullable long[]); 3200*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(@android.hardware.radio.RadioManager.Band int, int); 3201*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(@android.hardware.radio.RadioManager.Band int, int, int); 3202*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3203*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.radio.ProgramSelector.Identifier[] getAllIds(@android.hardware.radio.ProgramSelector.IdentifierType int); 3204*344a7f5eSAndroid Build Coastguard Worker method public long getFirstId(@android.hardware.radio.ProgramSelector.IdentifierType int); 3205*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.radio.ProgramSelector.Identifier getPrimaryId(); 3206*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @android.hardware.radio.ProgramSelector.ProgramType public int getProgramType(); 3207*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.radio.ProgramSelector.Identifier[] getSecondaryIds(); 3208*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public long[] getVendorIds(); 3209*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.radio.ProgramSelector withSecondaryPreferred(@NonNull android.hardware.radio.ProgramSelector.Identifier); 3210*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3211*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.ProgramSelector> CREATOR; 3212*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_AMFM_FREQUENCY = 1; // 0x1 3213*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_DAB_ENSEMBLE = 6; // 0x6 3214*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_DAB_FREQUENCY = 8; // 0x8 3215*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_DAB_SCID = 7; // 0x7 3216*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_DAB_SIDECC = 5; // 0x5 3217*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_DAB_SID_EXT = 5; // 0x5 3218*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_DRMO_FREQUENCY = 10; // 0xa 3219*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int IDENTIFIER_TYPE_DRMO_MODULATION = 11; // 0xb 3220*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_DRMO_SERVICE_ID = 9; // 0x9 3221*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_HD_STATION_ID_EXT = 3; // 0x3 3222*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_HD_STATION_NAME = 10004; // 0x2714 3223*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int IDENTIFIER_TYPE_HD_SUBCHANNEL = 4; // 0x4 3224*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_INVALID = 0; // 0x0 3225*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_RDS_PI = 2; // 0x2 3226*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_SXM_CHANNEL = 13; // 0xd 3227*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_SXM_SERVICE_ID = 12; // 0xc 3228*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_VENDOR_END = 1999; // 0x7cf 3229*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int IDENTIFIER_TYPE_VENDOR_PRIMARY_END = 1999; // 0x7cf 3230*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int IDENTIFIER_TYPE_VENDOR_PRIMARY_START = 1000; // 0x3e8 3231*344a7f5eSAndroid Build Coastguard Worker field public static final int IDENTIFIER_TYPE_VENDOR_START = 1000; // 0x3e8 3232*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PROGRAM_TYPE_AM = 1; // 0x1 3233*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PROGRAM_TYPE_AM_HD = 3; // 0x3 3234*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PROGRAM_TYPE_DAB = 5; // 0x5 3235*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PROGRAM_TYPE_DRMO = 6; // 0x6 3236*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PROGRAM_TYPE_FM = 2; // 0x2 3237*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PROGRAM_TYPE_FM_HD = 4; // 0x4 3238*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PROGRAM_TYPE_INVALID = 0; // 0x0 3239*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PROGRAM_TYPE_SXM = 7; // 0x7 3240*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PROGRAM_TYPE_VENDOR_END = 1999; // 0x7cf 3241*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PROGRAM_TYPE_VENDOR_START = 1000; // 0x3e8 3242*344a7f5eSAndroid Build Coastguard Worker } 3243*344a7f5eSAndroid Build Coastguard Worker 3244*344a7f5eSAndroid Build Coastguard Worker public static final class ProgramSelector.Identifier implements android.os.Parcelable { 3245*344a7f5eSAndroid Build Coastguard Worker ctor public ProgramSelector.Identifier(@android.hardware.radio.ProgramSelector.IdentifierType int, long); 3246*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3247*344a7f5eSAndroid Build Coastguard Worker method @android.hardware.radio.ProgramSelector.IdentifierType public int getType(); 3248*344a7f5eSAndroid Build Coastguard Worker method public long getValue(); 3249*344a7f5eSAndroid Build Coastguard Worker method public boolean isCategoryType(); 3250*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3251*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.ProgramSelector.Identifier> CREATOR; 3252*344a7f5eSAndroid Build Coastguard Worker } 3253*344a7f5eSAndroid Build Coastguard Worker 3254*344a7f5eSAndroid Build Coastguard Worker @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}) @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 { 3255*344a7f5eSAndroid Build Coastguard Worker } 3256*344a7f5eSAndroid Build Coastguard Worker 3257*344a7f5eSAndroid Build Coastguard Worker @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 { 3258*344a7f5eSAndroid Build Coastguard Worker } 3259*344a7f5eSAndroid Build Coastguard Worker 3260*344a7f5eSAndroid Build Coastguard Worker public class RadioManager { 3261*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void addAnnouncementListener(@NonNull java.util.Set<java.lang.Integer>, @NonNull android.hardware.radio.Announcement.OnListUpdatedListener); 3262*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void addAnnouncementListener(@NonNull java.util.concurrent.Executor, @NonNull java.util.Set<java.lang.Integer>, @NonNull android.hardware.radio.Announcement.OnListUpdatedListener); 3263*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public int listModules(java.util.List<android.hardware.radio.RadioManager.ModuleProperties>); 3264*344a7f5eSAndroid Build Coastguard Worker 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); 3265*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void removeAnnouncementListener(@NonNull android.hardware.radio.Announcement.OnListUpdatedListener); 3266*344a7f5eSAndroid Build Coastguard Worker field public static final int BAND_AM = 0; // 0x0 3267*344a7f5eSAndroid Build Coastguard Worker field public static final int BAND_AM_HD = 3; // 0x3 3268*344a7f5eSAndroid Build Coastguard Worker field public static final int BAND_FM = 1; // 0x1 3269*344a7f5eSAndroid Build Coastguard Worker field public static final int BAND_FM_HD = 2; // 0x2 3270*344a7f5eSAndroid Build Coastguard Worker field public static final int BAND_INVALID = -1; // 0xffffffff 3271*344a7f5eSAndroid Build Coastguard Worker field public static final int CLASS_AM_FM = 0; // 0x0 3272*344a7f5eSAndroid Build Coastguard Worker field public static final int CLASS_DT = 2; // 0x2 3273*344a7f5eSAndroid Build Coastguard Worker field public static final int CLASS_SAT = 1; // 0x1 3274*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_DAB_DAB_LINKING = 6; // 0x6 3275*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_DAB_DAB_SOFT_LINKING = 8; // 0x8 3276*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_DAB_FM_LINKING = 7; // 0x7 3277*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_DAB_FM_SOFT_LINKING = 9; // 0x9 3278*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_FORCE_ANALOG = 2; // 0x2 3279*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_FORCE_DIGITAL = 3; // 0x3 3280*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_FORCE_MONO = 1; // 0x1 3281*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_RDS_AF = 4; // 0x4 3282*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_RDS_REG = 5; // 0x5 3283*344a7f5eSAndroid Build Coastguard Worker field public static final int REGION_ITU_1 = 0; // 0x0 3284*344a7f5eSAndroid Build Coastguard Worker field public static final int REGION_ITU_2 = 1; // 0x1 3285*344a7f5eSAndroid Build Coastguard Worker field public static final int REGION_JAPAN = 3; // 0x3 3286*344a7f5eSAndroid Build Coastguard Worker field public static final int REGION_KOREA = 4; // 0x4 3287*344a7f5eSAndroid Build Coastguard Worker field public static final int REGION_OIRT = 2; // 0x2 3288*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_BAD_VALUE = -22; // 0xffffffea 3289*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_DEAD_OBJECT = -32; // 0xffffffe0 3290*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_ERROR = -2147483648; // 0x80000000 3291*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_INVALID_OPERATION = -38; // 0xffffffda 3292*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_NO_INIT = -19; // 0xffffffed 3293*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_OK = 0; // 0x0 3294*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_PERMISSION_DENIED = -1; // 0xffffffff 3295*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_TIMED_OUT = -110; // 0xffffff92 3296*344a7f5eSAndroid Build Coastguard Worker } 3297*344a7f5eSAndroid Build Coastguard Worker 3298*344a7f5eSAndroid Build Coastguard Worker public static class RadioManager.AmBandConfig extends android.hardware.radio.RadioManager.BandConfig { 3299*344a7f5eSAndroid Build Coastguard Worker method public boolean getStereo(); 3300*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.AmBandConfig> CREATOR; 3301*344a7f5eSAndroid Build Coastguard Worker } 3302*344a7f5eSAndroid Build Coastguard Worker 3303*344a7f5eSAndroid Build Coastguard Worker public static class RadioManager.AmBandConfig.Builder { 3304*344a7f5eSAndroid Build Coastguard Worker ctor public RadioManager.AmBandConfig.Builder(android.hardware.radio.RadioManager.AmBandDescriptor); 3305*344a7f5eSAndroid Build Coastguard Worker ctor public RadioManager.AmBandConfig.Builder(android.hardware.radio.RadioManager.AmBandConfig); 3306*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioManager.AmBandConfig build(); 3307*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioManager.AmBandConfig.Builder setStereo(boolean); 3308*344a7f5eSAndroid Build Coastguard Worker } 3309*344a7f5eSAndroid Build Coastguard Worker 3310*344a7f5eSAndroid Build Coastguard Worker public static class RadioManager.AmBandDescriptor extends android.hardware.radio.RadioManager.BandDescriptor { 3311*344a7f5eSAndroid Build Coastguard Worker method public boolean isStereoSupported(); 3312*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.AmBandDescriptor> CREATOR; 3313*344a7f5eSAndroid Build Coastguard Worker } 3314*344a7f5eSAndroid Build Coastguard Worker 3315*344a7f5eSAndroid Build Coastguard Worker @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 { 3316*344a7f5eSAndroid Build Coastguard Worker } 3317*344a7f5eSAndroid Build Coastguard Worker 3318*344a7f5eSAndroid Build Coastguard Worker public static class RadioManager.BandConfig implements android.os.Parcelable { 3319*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3320*344a7f5eSAndroid Build Coastguard Worker method public int getLowerLimit(); 3321*344a7f5eSAndroid Build Coastguard Worker method public int getRegion(); 3322*344a7f5eSAndroid Build Coastguard Worker method public int getSpacing(); 3323*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 3324*344a7f5eSAndroid Build Coastguard Worker method public int getUpperLimit(); 3325*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3326*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.BandConfig> CREATOR; 3327*344a7f5eSAndroid Build Coastguard Worker } 3328*344a7f5eSAndroid Build Coastguard Worker 3329*344a7f5eSAndroid Build Coastguard Worker public static class RadioManager.BandDescriptor implements android.os.Parcelable { 3330*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3331*344a7f5eSAndroid Build Coastguard Worker method public int getLowerLimit(); 3332*344a7f5eSAndroid Build Coastguard Worker method public int getRegion(); 3333*344a7f5eSAndroid Build Coastguard Worker method public int getSpacing(); 3334*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 3335*344a7f5eSAndroid Build Coastguard Worker method public int getUpperLimit(); 3336*344a7f5eSAndroid Build Coastguard Worker method public boolean isAmBand(); 3337*344a7f5eSAndroid Build Coastguard Worker method public boolean isFmBand(); 3338*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3339*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.BandDescriptor> CREATOR; 3340*344a7f5eSAndroid Build Coastguard Worker } 3341*344a7f5eSAndroid Build Coastguard Worker 3342*344a7f5eSAndroid Build Coastguard Worker public static class RadioManager.FmBandConfig extends android.hardware.radio.RadioManager.BandConfig { 3343*344a7f5eSAndroid Build Coastguard Worker method public boolean getAf(); 3344*344a7f5eSAndroid Build Coastguard Worker method public boolean getEa(); 3345*344a7f5eSAndroid Build Coastguard Worker method public boolean getRds(); 3346*344a7f5eSAndroid Build Coastguard Worker method public boolean getStereo(); 3347*344a7f5eSAndroid Build Coastguard Worker method public boolean getTa(); 3348*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.FmBandConfig> CREATOR; 3349*344a7f5eSAndroid Build Coastguard Worker } 3350*344a7f5eSAndroid Build Coastguard Worker 3351*344a7f5eSAndroid Build Coastguard Worker public static class RadioManager.FmBandConfig.Builder { 3352*344a7f5eSAndroid Build Coastguard Worker ctor public RadioManager.FmBandConfig.Builder(android.hardware.radio.RadioManager.FmBandDescriptor); 3353*344a7f5eSAndroid Build Coastguard Worker ctor public RadioManager.FmBandConfig.Builder(android.hardware.radio.RadioManager.FmBandConfig); 3354*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioManager.FmBandConfig build(); 3355*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioManager.FmBandConfig.Builder setAf(boolean); 3356*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioManager.FmBandConfig.Builder setEa(boolean); 3357*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioManager.FmBandConfig.Builder setRds(boolean); 3358*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioManager.FmBandConfig.Builder setStereo(boolean); 3359*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioManager.FmBandConfig.Builder setTa(boolean); 3360*344a7f5eSAndroid Build Coastguard Worker } 3361*344a7f5eSAndroid Build Coastguard Worker 3362*344a7f5eSAndroid Build Coastguard Worker public static class RadioManager.FmBandDescriptor extends android.hardware.radio.RadioManager.BandDescriptor { 3363*344a7f5eSAndroid Build Coastguard Worker method public boolean isAfSupported(); 3364*344a7f5eSAndroid Build Coastguard Worker method public boolean isEaSupported(); 3365*344a7f5eSAndroid Build Coastguard Worker method public boolean isRdsSupported(); 3366*344a7f5eSAndroid Build Coastguard Worker method public boolean isStereoSupported(); 3367*344a7f5eSAndroid Build Coastguard Worker method public boolean isTaSupported(); 3368*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.FmBandDescriptor> CREATOR; 3369*344a7f5eSAndroid Build Coastguard Worker } 3370*344a7f5eSAndroid Build Coastguard Worker 3371*344a7f5eSAndroid Build Coastguard Worker public static class RadioManager.ModuleProperties implements android.os.Parcelable { 3372*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3373*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioManager.BandDescriptor[] getBands(); 3374*344a7f5eSAndroid Build Coastguard Worker method public int getClassId(); 3375*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.util.Map<java.lang.String,java.lang.Integer> getDabFrequencyTable(); 3376*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 3377*344a7f5eSAndroid Build Coastguard Worker method public String getImplementor(); 3378*344a7f5eSAndroid Build Coastguard Worker method public int getNumAudioSources(); 3379*344a7f5eSAndroid Build Coastguard Worker method public int getNumTuners(); 3380*344a7f5eSAndroid Build Coastguard Worker method public String getProduct(); 3381*344a7f5eSAndroid Build Coastguard Worker method public String getSerial(); 3382*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getServiceName(); 3383*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Map<java.lang.String,java.lang.String> getVendorInfo(); 3384*344a7f5eSAndroid Build Coastguard Worker method public String getVersion(); 3385*344a7f5eSAndroid Build Coastguard Worker method public boolean isBackgroundScanningSupported(); 3386*344a7f5eSAndroid Build Coastguard Worker method public boolean isCaptureSupported(); 3387*344a7f5eSAndroid Build Coastguard Worker method public boolean isInitializationRequired(); 3388*344a7f5eSAndroid Build Coastguard Worker method public boolean isProgramIdentifierSupported(@android.hardware.radio.ProgramSelector.IdentifierType int); 3389*344a7f5eSAndroid Build Coastguard Worker method public boolean isProgramTypeSupported(@android.hardware.radio.ProgramSelector.ProgramType int); 3390*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3391*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.ModuleProperties> CREATOR; 3392*344a7f5eSAndroid Build Coastguard Worker } 3393*344a7f5eSAndroid Build Coastguard Worker 3394*344a7f5eSAndroid Build Coastguard Worker public static class RadioManager.ProgramInfo implements android.os.Parcelable { 3395*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3396*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getChannel(); 3397*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.radio.ProgramSelector.Identifier getLogicallyTunedTo(); 3398*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioMetadata getMetadata(); 3399*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.radio.ProgramSelector.Identifier getPhysicallyTunedTo(); 3400*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.util.Collection<android.hardware.radio.ProgramSelector.Identifier> getRelatedContent(); 3401*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.radio.ProgramSelector getSelector(); 3402*344a7f5eSAndroid Build Coastguard Worker method public int getSignalStrength(); 3403*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getSubChannel(); 3404*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Map<java.lang.String,java.lang.String> getVendorInfo(); 3405*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean isDigital(); 3406*344a7f5eSAndroid Build Coastguard Worker method public boolean isLive(); 3407*344a7f5eSAndroid Build Coastguard Worker method public boolean isMuted(); 3408*344a7f5eSAndroid Build Coastguard Worker method public boolean isStereo(); 3409*344a7f5eSAndroid Build Coastguard Worker method public boolean isTrafficAnnouncementActive(); 3410*344a7f5eSAndroid Build Coastguard Worker method public boolean isTrafficProgram(); 3411*344a7f5eSAndroid Build Coastguard Worker method public boolean isTuned(); 3412*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3413*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.ProgramInfo> CREATOR; 3414*344a7f5eSAndroid Build Coastguard Worker } 3415*344a7f5eSAndroid Build Coastguard Worker 3416*344a7f5eSAndroid Build Coastguard Worker public final class RadioMetadata implements android.os.Parcelable { 3417*344a7f5eSAndroid Build Coastguard Worker method public boolean containsKey(String); 3418*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3419*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public android.graphics.Bitmap getBitmap(String); 3420*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioMetadata.Clock getClock(String); 3421*344a7f5eSAndroid Build Coastguard Worker method public int getInt(String); 3422*344a7f5eSAndroid Build Coastguard Worker method public String getString(String); 3423*344a7f5eSAndroid Build Coastguard Worker method public java.util.Set<java.lang.String> keySet(); 3424*344a7f5eSAndroid Build Coastguard Worker method public int size(); 3425*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3426*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioMetadata> CREATOR; 3427*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_ALBUM = "android.hardware.radio.metadata.ALBUM"; 3428*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_ART = "android.hardware.radio.metadata.ART"; 3429*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_ARTIST = "android.hardware.radio.metadata.ARTIST"; 3430*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_CLOCK = "android.hardware.radio.metadata.CLOCK"; 3431*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_DAB_COMPONENT_NAME = "android.hardware.radio.metadata.DAB_COMPONENT_NAME"; 3432*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_DAB_COMPONENT_NAME_SHORT = "android.hardware.radio.metadata.DAB_COMPONENT_NAME_SHORT"; 3433*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_DAB_ENSEMBLE_NAME = "android.hardware.radio.metadata.DAB_ENSEMBLE_NAME"; 3434*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_DAB_ENSEMBLE_NAME_SHORT = "android.hardware.radio.metadata.DAB_ENSEMBLE_NAME_SHORT"; 3435*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_DAB_SERVICE_NAME = "android.hardware.radio.metadata.DAB_SERVICE_NAME"; 3436*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_DAB_SERVICE_NAME_SHORT = "android.hardware.radio.metadata.DAB_SERVICE_NAME_SHORT"; 3437*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_GENRE = "android.hardware.radio.metadata.GENRE"; 3438*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_ICON = "android.hardware.radio.metadata.ICON"; 3439*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_PROGRAM_NAME = "android.hardware.radio.metadata.PROGRAM_NAME"; 3440*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_RBDS_PTY = "android.hardware.radio.metadata.RBDS_PTY"; 3441*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_RDS_PI = "android.hardware.radio.metadata.RDS_PI"; 3442*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_RDS_PS = "android.hardware.radio.metadata.RDS_PS"; 3443*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_RDS_PTY = "android.hardware.radio.metadata.RDS_PTY"; 3444*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_RDS_RT = "android.hardware.radio.metadata.RDS_RT"; 3445*344a7f5eSAndroid Build Coastguard Worker field public static final String METADATA_KEY_TITLE = "android.hardware.radio.metadata.TITLE"; 3446*344a7f5eSAndroid Build Coastguard Worker } 3447*344a7f5eSAndroid Build Coastguard Worker 3448*344a7f5eSAndroid Build Coastguard Worker public static final class RadioMetadata.Builder { 3449*344a7f5eSAndroid Build Coastguard Worker ctor public RadioMetadata.Builder(); 3450*344a7f5eSAndroid Build Coastguard Worker ctor public RadioMetadata.Builder(android.hardware.radio.RadioMetadata); 3451*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioMetadata build(); 3452*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioMetadata.Builder putBitmap(String, android.graphics.Bitmap); 3453*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioMetadata.Builder putClock(String, long, int); 3454*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioMetadata.Builder putInt(String, int); 3455*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.radio.RadioMetadata.Builder putString(String, String); 3456*344a7f5eSAndroid Build Coastguard Worker } 3457*344a7f5eSAndroid Build Coastguard Worker 3458*344a7f5eSAndroid Build Coastguard Worker public static final class RadioMetadata.Clock implements android.os.Parcelable { 3459*344a7f5eSAndroid Build Coastguard Worker ctor public RadioMetadata.Clock(long, int); 3460*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3461*344a7f5eSAndroid Build Coastguard Worker method public int getTimezoneOffsetMinutes(); 3462*344a7f5eSAndroid Build Coastguard Worker method public long getUtcEpochSeconds(); 3463*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3464*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioMetadata.Clock> CREATOR; 3465*344a7f5eSAndroid Build Coastguard Worker } 3466*344a7f5eSAndroid Build Coastguard Worker 3467*344a7f5eSAndroid Build Coastguard Worker public abstract class RadioTuner { 3468*344a7f5eSAndroid Build Coastguard Worker ctor public RadioTuner(); 3469*344a7f5eSAndroid Build Coastguard Worker method public abstract int cancel(); 3470*344a7f5eSAndroid Build Coastguard Worker method public abstract void cancelAnnouncement(); 3471*344a7f5eSAndroid Build Coastguard Worker method public abstract void close(); 3472*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract int getConfiguration(android.hardware.radio.RadioManager.BandConfig[]); 3473*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.radio.ProgramList getDynamicProgramList(@Nullable android.hardware.radio.ProgramList.Filter); 3474*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean getMute(); 3475*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Map<java.lang.String,java.lang.String> getParameters(@NonNull java.util.List<java.lang.String>); 3476*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract int getProgramInformation(android.hardware.radio.RadioManager.ProgramInfo[]); 3477*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public abstract java.util.List<android.hardware.radio.RadioManager.ProgramInfo> getProgramList(@Nullable java.util.Map<java.lang.String,java.lang.String>); 3478*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean hasControl(); 3479*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract boolean isAnalogForced(); 3480*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract boolean isAntennaConnected(); 3481*344a7f5eSAndroid Build Coastguard Worker method public boolean isConfigFlagSet(int); 3482*344a7f5eSAndroid Build Coastguard Worker method public boolean isConfigFlagSupported(int); 3483*344a7f5eSAndroid Build Coastguard Worker method public abstract int scan(int, boolean); 3484*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract void setAnalogForced(boolean); 3485*344a7f5eSAndroid Build Coastguard Worker method public void setConfigFlag(int, boolean); 3486*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract int setConfiguration(android.hardware.radio.RadioManager.BandConfig); 3487*344a7f5eSAndroid Build Coastguard Worker method public abstract int setMute(boolean); 3488*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Map<java.lang.String,java.lang.String> setParameters(@NonNull java.util.Map<java.lang.String,java.lang.String>); 3489*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean startBackgroundScan(); 3490*344a7f5eSAndroid Build Coastguard Worker method public abstract int step(int, boolean); 3491*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract int tune(int, int); 3492*344a7f5eSAndroid Build Coastguard Worker method public abstract void tune(@NonNull android.hardware.radio.ProgramSelector); 3493*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_DOWN = 1; // 0x1 3494*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_UP = 0; // 0x0 3495*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int ERROR_BACKGROUND_SCAN_FAILED = 6; // 0x6 3496*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int ERROR_BACKGROUND_SCAN_UNAVAILABLE = 5; // 0x5 3497*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int ERROR_CANCELLED = 2; // 0x2 3498*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int ERROR_CONFIG = 4; // 0x4 3499*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int ERROR_HARDWARE_FAILURE = 0; // 0x0 3500*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int ERROR_SCAN_TIMEOUT = 3; // 0x3 3501*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int ERROR_SERVER_DIED = 1; // 0x1 3502*344a7f5eSAndroid Build Coastguard Worker } 3503*344a7f5eSAndroid Build Coastguard Worker 3504*344a7f5eSAndroid Build Coastguard Worker public abstract static class RadioTuner.Callback { 3505*344a7f5eSAndroid Build Coastguard Worker ctor public RadioTuner.Callback(); 3506*344a7f5eSAndroid Build Coastguard Worker method public void onAntennaState(boolean); 3507*344a7f5eSAndroid Build Coastguard Worker method public void onBackgroundScanAvailabilityChange(boolean); 3508*344a7f5eSAndroid Build Coastguard Worker method public void onBackgroundScanComplete(); 3509*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onConfigurationChanged(android.hardware.radio.RadioManager.BandConfig); 3510*344a7f5eSAndroid Build Coastguard Worker method public void onControlChanged(boolean); 3511*344a7f5eSAndroid Build Coastguard Worker method public void onEmergencyAnnouncement(boolean); 3512*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onError(int); 3513*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onMetadataChanged(android.hardware.radio.RadioMetadata); 3514*344a7f5eSAndroid Build Coastguard Worker method public void onParametersUpdated(@NonNull java.util.Map<java.lang.String,java.lang.String>); 3515*344a7f5eSAndroid Build Coastguard Worker method public void onProgramInfoChanged(android.hardware.radio.RadioManager.ProgramInfo); 3516*344a7f5eSAndroid Build Coastguard Worker method public void onProgramListChanged(); 3517*344a7f5eSAndroid Build Coastguard Worker method public void onTrafficAnnouncement(boolean); 3518*344a7f5eSAndroid Build Coastguard Worker method public void onTuneFailed(int, @Nullable android.hardware.radio.ProgramSelector); 3519*344a7f5eSAndroid Build Coastguard Worker } 3520*344a7f5eSAndroid Build Coastguard Worker 3521*344a7f5eSAndroid Build Coastguard Worker} 3522*344a7f5eSAndroid Build Coastguard Worker 3523*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.soundtrigger { 3524*344a7f5eSAndroid Build Coastguard Worker 3525*344a7f5eSAndroid Build Coastguard Worker public class SoundTrigger { 3526*344a7f5eSAndroid Build Coastguard Worker field public static final int RECOGNITION_MODE_GENERIC = 8; // 0x8 3527*344a7f5eSAndroid Build Coastguard Worker field public static final int RECOGNITION_MODE_USER_AUTHENTICATION = 4; // 0x4 3528*344a7f5eSAndroid Build Coastguard Worker field public static final int RECOGNITION_MODE_USER_IDENTIFICATION = 2; // 0x2 3529*344a7f5eSAndroid Build Coastguard Worker field public static final int RECOGNITION_MODE_VOICE_TRIGGER = 1; // 0x1 3530*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_OK = 0; // 0x0 3531*344a7f5eSAndroid Build Coastguard Worker } 3532*344a7f5eSAndroid Build Coastguard Worker 3533*344a7f5eSAndroid Build Coastguard Worker public static final class SoundTrigger.Keyphrase implements android.os.Parcelable { 3534*344a7f5eSAndroid Build Coastguard Worker ctor public SoundTrigger.Keyphrase(int, int, @NonNull java.util.Locale, @NonNull String, @Nullable int[]); 3535*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 3536*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Locale getLocale(); 3537*344a7f5eSAndroid Build Coastguard Worker method public int getRecognitionModes(); 3538*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getText(); 3539*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getUsers(); 3540*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.hardware.soundtrigger.SoundTrigger.Keyphrase readFromParcel(@NonNull android.os.Parcel); 3541*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 3542*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.Keyphrase> CREATOR; 3543*344a7f5eSAndroid Build Coastguard Worker } 3544*344a7f5eSAndroid Build Coastguard Worker 3545*344a7f5eSAndroid Build Coastguard Worker public static final class SoundTrigger.KeyphraseSoundModel extends android.hardware.soundtrigger.SoundTrigger.SoundModel implements android.os.Parcelable { 3546*344a7f5eSAndroid Build Coastguard Worker ctor public SoundTrigger.KeyphraseSoundModel(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[], int); 3547*344a7f5eSAndroid Build Coastguard Worker ctor public SoundTrigger.KeyphraseSoundModel(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[]); 3548*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.soundtrigger.SoundTrigger.Keyphrase[] getKeyphrases(); 3549*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel readFromParcel(@NonNull android.os.Parcel); 3550*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 3551*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel> CREATOR; 3552*344a7f5eSAndroid Build Coastguard Worker } 3553*344a7f5eSAndroid Build Coastguard Worker 3554*344a7f5eSAndroid Build Coastguard Worker public static final class SoundTrigger.ModelParamRange implements android.os.Parcelable { 3555*344a7f5eSAndroid Build Coastguard Worker method public int getEnd(); 3556*344a7f5eSAndroid Build Coastguard Worker method public int getStart(); 3557*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 3558*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.ModelParamRange> CREATOR; 3559*344a7f5eSAndroid Build Coastguard Worker } 3560*344a7f5eSAndroid Build Coastguard Worker 3561*344a7f5eSAndroid Build Coastguard Worker public static final class SoundTrigger.ModuleProperties implements android.os.Parcelable { 3562*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3563*344a7f5eSAndroid Build Coastguard Worker method public int getAudioCapabilities(); 3564*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getDescription(); 3565*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 3566*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getImplementor(); 3567*344a7f5eSAndroid Build Coastguard Worker method public int getMaxBufferMillis(); 3568*344a7f5eSAndroid Build Coastguard Worker method public int getMaxKeyphrases(); 3569*344a7f5eSAndroid Build Coastguard Worker method public int getMaxSoundModels(); 3570*344a7f5eSAndroid Build Coastguard Worker method public int getMaxUsers(); 3571*344a7f5eSAndroid Build Coastguard Worker method public int getPowerConsumptionMw(); 3572*344a7f5eSAndroid Build Coastguard Worker method public int getRecognitionModes(); 3573*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getSupportedModelArch(); 3574*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.UUID getUuid(); 3575*344a7f5eSAndroid Build Coastguard Worker method public int getVersion(); 3576*344a7f5eSAndroid Build Coastguard Worker method public boolean isCaptureTransitionSupported(); 3577*344a7f5eSAndroid Build Coastguard Worker method public boolean isConcurrentCaptureSupported(); 3578*344a7f5eSAndroid Build Coastguard Worker method public boolean isTriggerReturnedInEvent(); 3579*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3580*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_CAPABILITY_ECHO_CANCELLATION = 1; // 0x1 3581*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_CAPABILITY_NOISE_SUPPRESSION = 2; // 0x2 3582*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.ModuleProperties> CREATOR; 3583*344a7f5eSAndroid Build Coastguard Worker } 3584*344a7f5eSAndroid Build Coastguard Worker 3585*344a7f5eSAndroid Build Coastguard Worker public static class SoundTrigger.RecognitionEvent { 3586*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.AudioFormat getCaptureFormat(); 3587*344a7f5eSAndroid Build Coastguard Worker method public int getCaptureSession(); 3588*344a7f5eSAndroid Build Coastguard Worker method public byte[] getData(); 3589*344a7f5eSAndroid Build Coastguard Worker method public boolean isCaptureAvailable(); 3590*344a7f5eSAndroid Build Coastguard Worker } 3591*344a7f5eSAndroid Build Coastguard Worker 3592*344a7f5eSAndroid Build Coastguard Worker public static class SoundTrigger.SoundModel { 3593*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getData(); 3594*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 3595*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.UUID getUuid(); 3596*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.UUID getVendorUuid(); 3597*344a7f5eSAndroid Build Coastguard Worker method public int getVersion(); 3598*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_GENERIC_SOUND = 1; // 0x1 3599*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_KEYPHRASE = 0; // 0x0 3600*344a7f5eSAndroid Build Coastguard Worker } 3601*344a7f5eSAndroid Build Coastguard Worker 3602*344a7f5eSAndroid Build Coastguard Worker} 3603*344a7f5eSAndroid Build Coastguard Worker 3604*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.usb { 3605*344a7f5eSAndroid Build Coastguard Worker 3606*344a7f5eSAndroid Build Coastguard Worker public class UsbDeviceConnection { 3607*344a7f5eSAndroid Build Coastguard Worker method public boolean resetDevice(); 3608*344a7f5eSAndroid Build Coastguard Worker } 3609*344a7f5eSAndroid Build Coastguard Worker 3610*344a7f5eSAndroid Build Coastguard Worker public class UsbManager { 3611*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public long getCurrentFunctions(); 3612*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_USB) public java.util.List<android.hardware.usb.UsbPort> getPorts(); 3613*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void grantPermission(android.hardware.usb.UsbDevice, String); 3614*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void resetUsbGadget(); 3615*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void setCurrentFunctions(long); 3616*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.MANAGE_USB) public static final String ACTION_USB_PORT_CHANGED = "android.hardware.usb.action.USB_PORT_CHANGED"; 3617*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_USB_STATE = "android.hardware.usb.action.USB_STATE"; 3618*344a7f5eSAndroid Build Coastguard Worker field public static final long FUNCTION_ACCESSORY = 2L; // 0x2L 3619*344a7f5eSAndroid Build Coastguard Worker field public static final long FUNCTION_ADB = 1L; // 0x1L 3620*344a7f5eSAndroid Build Coastguard Worker field public static final long FUNCTION_AUDIO_SOURCE = 64L; // 0x40L 3621*344a7f5eSAndroid Build Coastguard Worker field public static final long FUNCTION_MIDI = 8L; // 0x8L 3622*344a7f5eSAndroid Build Coastguard Worker field public static final long FUNCTION_MTP = 4L; // 0x4L 3623*344a7f5eSAndroid Build Coastguard Worker field public static final long FUNCTION_NCM = 1024L; // 0x400L 3624*344a7f5eSAndroid Build Coastguard Worker field public static final long FUNCTION_NONE = 0L; // 0x0L 3625*344a7f5eSAndroid Build Coastguard Worker field public static final long FUNCTION_PTP = 16L; // 0x10L 3626*344a7f5eSAndroid Build Coastguard Worker field public static final long FUNCTION_RNDIS = 32L; // 0x20L 3627*344a7f5eSAndroid Build Coastguard Worker field public static final String USB_CONFIGURED = "configured"; 3628*344a7f5eSAndroid Build Coastguard Worker field public static final String USB_CONNECTED = "connected"; 3629*344a7f5eSAndroid Build Coastguard Worker field public static final String USB_FUNCTION_NCM = "ncm"; 3630*344a7f5eSAndroid Build Coastguard Worker field public static final String USB_FUNCTION_RNDIS = "rndis"; 3631*344a7f5eSAndroid Build Coastguard Worker } 3632*344a7f5eSAndroid Build Coastguard Worker 3633*344a7f5eSAndroid Build Coastguard Worker public final class UsbPort { 3634*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USB) public android.hardware.usb.UsbPortStatus getStatus(); 3635*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void setRoles(int, int); 3636*344a7f5eSAndroid Build Coastguard Worker } 3637*344a7f5eSAndroid Build Coastguard Worker 3638*344a7f5eSAndroid Build Coastguard Worker public final class UsbPortStatus implements android.os.Parcelable { 3639*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3640*344a7f5eSAndroid Build Coastguard Worker method public int getCurrentDataRole(); 3641*344a7f5eSAndroid Build Coastguard Worker method public int getCurrentMode(); 3642*344a7f5eSAndroid Build Coastguard Worker method public int getCurrentPowerRole(); 3643*344a7f5eSAndroid Build Coastguard Worker method public int getSupportedRoleCombinations(); 3644*344a7f5eSAndroid Build Coastguard Worker method public boolean isConnected(); 3645*344a7f5eSAndroid Build Coastguard Worker method public boolean isRoleCombinationSupported(int, int); 3646*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3647*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.usb.UsbPortStatus> CREATOR; 3648*344a7f5eSAndroid Build Coastguard Worker field public static final int DATA_ROLE_DEVICE = 2; // 0x2 3649*344a7f5eSAndroid Build Coastguard Worker field public static final int DATA_ROLE_HOST = 1; // 0x1 3650*344a7f5eSAndroid Build Coastguard Worker field public static final int DATA_ROLE_NONE = 0; // 0x0 3651*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_AUDIO_ACCESSORY = 4; // 0x4 3652*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_DEBUG_ACCESSORY = 8; // 0x8 3653*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_DFP = 2; // 0x2 3654*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_NONE = 0; // 0x0 3655*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_UFP = 1; // 0x1 3656*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_ROLE_NONE = 0; // 0x0 3657*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_ROLE_SINK = 2; // 0x2 3658*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_ROLE_SOURCE = 1; // 0x1 3659*344a7f5eSAndroid Build Coastguard Worker } 3660*344a7f5eSAndroid Build Coastguard Worker 3661*344a7f5eSAndroid Build Coastguard Worker} 3662*344a7f5eSAndroid Build Coastguard Worker 3663*344a7f5eSAndroid Build Coastguard Workerpackage android.location { 3664*344a7f5eSAndroid Build Coastguard Worker 3665*344a7f5eSAndroid Build Coastguard Worker public abstract class BatchedLocationCallback { 3666*344a7f5eSAndroid Build Coastguard Worker ctor public BatchedLocationCallback(); 3667*344a7f5eSAndroid Build Coastguard Worker method public void onLocationBatch(java.util.List<android.location.Location>); 3668*344a7f5eSAndroid Build Coastguard Worker } 3669*344a7f5eSAndroid Build Coastguard Worker 3670*344a7f5eSAndroid Build Coastguard Worker public final class GnssCapabilities { 3671*344a7f5eSAndroid Build Coastguard Worker method public boolean hasGeofencing(); 3672*344a7f5eSAndroid Build Coastguard Worker method public boolean hasLowPowerMode(); 3673*344a7f5eSAndroid Build Coastguard Worker method public boolean hasMeasurementCorrections(); 3674*344a7f5eSAndroid Build Coastguard Worker method public boolean hasMeasurementCorrectionsExcessPathLength(); 3675*344a7f5eSAndroid Build Coastguard Worker method public boolean hasMeasurementCorrectionsLosSats(); 3676*344a7f5eSAndroid Build Coastguard Worker method public boolean hasMeasurementCorrectionsReflectingPane(); 3677*344a7f5eSAndroid Build Coastguard Worker method public boolean hasMeasurements(); 3678*344a7f5eSAndroid Build Coastguard Worker method public boolean hasNavMessages(); 3679*344a7f5eSAndroid Build Coastguard Worker method public boolean hasSatelliteBlacklist(); 3680*344a7f5eSAndroid Build Coastguard Worker } 3681*344a7f5eSAndroid Build Coastguard Worker 3682*344a7f5eSAndroid Build Coastguard Worker public final class GnssMeasurementCorrections implements android.os.Parcelable { 3683*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3684*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=-1000.0F, to=10000.0f) public double getAltitudeMeters(); 3685*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=0.0f, to=360.0f) public float getEnvironmentBearingDegrees(); 3686*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=0.0f, to=180.0f) public float getEnvironmentBearingUncertaintyDegrees(); 3687*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=0.0f) public double getHorizontalPositionUncertaintyMeters(); 3688*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=-90.0F, to=90.0f) public double getLatitudeDegrees(); 3689*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=-180.0F, to=180.0f) public double getLongitudeDegrees(); 3690*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.location.GnssSingleSatCorrection> getSingleSatelliteCorrectionList(); 3691*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public long getToaGpsNanosecondsOfWeek(); 3692*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=0.0f) public double getVerticalPositionUncertaintyMeters(); 3693*344a7f5eSAndroid Build Coastguard Worker method public boolean hasEnvironmentBearing(); 3694*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 3695*344a7f5eSAndroid Build Coastguard Worker field public static final android.os.Parcelable.Creator<android.location.GnssMeasurementCorrections> CREATOR; 3696*344a7f5eSAndroid Build Coastguard Worker } 3697*344a7f5eSAndroid Build Coastguard Worker 3698*344a7f5eSAndroid Build Coastguard Worker public static final class GnssMeasurementCorrections.Builder { 3699*344a7f5eSAndroid Build Coastguard Worker ctor public GnssMeasurementCorrections.Builder(); 3700*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssMeasurementCorrections build(); 3701*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssMeasurementCorrections.Builder setAltitudeMeters(@FloatRange(from=-1000.0F, to=10000.0f) double); 3702*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssMeasurementCorrections.Builder setEnvironmentBearingDegrees(@FloatRange(from=0.0f, to=360.0f) float); 3703*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssMeasurementCorrections.Builder setEnvironmentBearingUncertaintyDegrees(@FloatRange(from=0.0f, to=180.0f) float); 3704*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssMeasurementCorrections.Builder setHorizontalPositionUncertaintyMeters(@FloatRange(from=0.0f) double); 3705*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssMeasurementCorrections.Builder setLatitudeDegrees(@FloatRange(from=-90.0F, to=90.0f) double); 3706*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssMeasurementCorrections.Builder setLongitudeDegrees(@FloatRange(from=-180.0F, to=180.0f) double); 3707*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssMeasurementCorrections.Builder setSingleSatelliteCorrectionList(@NonNull java.util.List<android.location.GnssSingleSatCorrection>); 3708*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssMeasurementCorrections.Builder setToaGpsNanosecondsOfWeek(@IntRange(from=0) long); 3709*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssMeasurementCorrections.Builder setVerticalPositionUncertaintyMeters(@FloatRange(from=0.0f) double); 3710*344a7f5eSAndroid Build Coastguard Worker } 3711*344a7f5eSAndroid Build Coastguard Worker 3712*344a7f5eSAndroid Build Coastguard Worker public final class GnssReflectingPlane implements android.os.Parcelable { 3713*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3714*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=-1000.0F, to=10000.0f) public double getAltitudeMeters(); 3715*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=0.0f, to=360.0f) public double getAzimuthDegrees(); 3716*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=-90.0F, to=90.0f) public double getLatitudeDegrees(); 3717*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=-180.0F, to=180.0f) public double getLongitudeDegrees(); 3718*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 3719*344a7f5eSAndroid Build Coastguard Worker field public static final android.os.Parcelable.Creator<android.location.GnssReflectingPlane> CREATOR; 3720*344a7f5eSAndroid Build Coastguard Worker } 3721*344a7f5eSAndroid Build Coastguard Worker 3722*344a7f5eSAndroid Build Coastguard Worker public static final class GnssReflectingPlane.Builder { 3723*344a7f5eSAndroid Build Coastguard Worker ctor public GnssReflectingPlane.Builder(); 3724*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssReflectingPlane build(); 3725*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssReflectingPlane.Builder setAltitudeMeters(@FloatRange(from=-1000.0F, to=10000.0f) double); 3726*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssReflectingPlane.Builder setAzimuthDegrees(@FloatRange(from=0.0f, to=360.0f) double); 3727*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssReflectingPlane.Builder setLatitudeDegrees(@FloatRange(from=-90.0F, to=90.0f) double); 3728*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssReflectingPlane.Builder setLongitudeDegrees(@FloatRange(from=-180.0F, to=180.0f) double); 3729*344a7f5eSAndroid Build Coastguard Worker } 3730*344a7f5eSAndroid Build Coastguard Worker 3731*344a7f5eSAndroid Build Coastguard Worker public final class GnssRequest implements android.os.Parcelable { 3732*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3733*344a7f5eSAndroid Build Coastguard Worker method public boolean isFullTracking(); 3734*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 3735*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssRequest> CREATOR; 3736*344a7f5eSAndroid Build Coastguard Worker } 3737*344a7f5eSAndroid Build Coastguard Worker 3738*344a7f5eSAndroid Build Coastguard Worker public static final class GnssRequest.Builder { 3739*344a7f5eSAndroid Build Coastguard Worker ctor public GnssRequest.Builder(); 3740*344a7f5eSAndroid Build Coastguard Worker ctor public GnssRequest.Builder(@NonNull android.location.GnssRequest); 3741*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssRequest build(); 3742*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssRequest.Builder setFullTracking(boolean); 3743*344a7f5eSAndroid Build Coastguard Worker } 3744*344a7f5eSAndroid Build Coastguard Worker 3745*344a7f5eSAndroid Build Coastguard Worker public final class GnssSingleSatCorrection implements android.os.Parcelable { 3746*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3747*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=0.0f, fromInclusive=false) public float getCarrierFrequencyHz(); 3748*344a7f5eSAndroid Build Coastguard Worker method public int getConstellationType(); 3749*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=0.0f) public float getExcessPathLengthMeters(); 3750*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=0.0f) public float getExcessPathLengthUncertaintyMeters(); 3751*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=0.0f, to=1.0f) public float getProbabilityLineOfSight(); 3752*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.location.GnssReflectingPlane getReflectingPlane(); 3753*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getSatelliteId(); 3754*344a7f5eSAndroid Build Coastguard Worker method public boolean hasExcessPathLength(); 3755*344a7f5eSAndroid Build Coastguard Worker method public boolean hasExcessPathLengthUncertainty(); 3756*344a7f5eSAndroid Build Coastguard Worker method public boolean hasReflectingPlane(); 3757*344a7f5eSAndroid Build Coastguard Worker method public boolean hasValidSatelliteLineOfSight(); 3758*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 3759*344a7f5eSAndroid Build Coastguard Worker field public static final android.os.Parcelable.Creator<android.location.GnssSingleSatCorrection> CREATOR; 3760*344a7f5eSAndroid Build Coastguard Worker } 3761*344a7f5eSAndroid Build Coastguard Worker 3762*344a7f5eSAndroid Build Coastguard Worker public static final class GnssSingleSatCorrection.Builder { 3763*344a7f5eSAndroid Build Coastguard Worker ctor public GnssSingleSatCorrection.Builder(); 3764*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssSingleSatCorrection build(); 3765*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssSingleSatCorrection.Builder setCarrierFrequencyHz(@FloatRange(from=0.0f, fromInclusive=false) float); 3766*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssSingleSatCorrection.Builder setConstellationType(int); 3767*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssSingleSatCorrection.Builder setExcessPathLengthMeters(@FloatRange(from=0.0f) float); 3768*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssSingleSatCorrection.Builder setExcessPathLengthUncertaintyMeters(@FloatRange(from=0.0f) float); 3769*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssSingleSatCorrection.Builder setProbabilityLineOfSight(@FloatRange(from=0.0f, to=1.0f) float); 3770*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssSingleSatCorrection.Builder setReflectingPlane(@Nullable android.location.GnssReflectingPlane); 3771*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.GnssSingleSatCorrection.Builder setSatelliteId(@IntRange(from=0) int); 3772*344a7f5eSAndroid Build Coastguard Worker } 3773*344a7f5eSAndroid Build Coastguard Worker 3774*344a7f5eSAndroid Build Coastguard Worker @Deprecated public class GpsClock implements android.os.Parcelable { 3775*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int describeContents(); 3776*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getBiasInNs(); 3777*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getBiasUncertaintyInNs(); 3778*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getDriftInNsPerSec(); 3779*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getDriftUncertaintyInNsPerSec(); 3780*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public long getFullBiasInNs(); 3781*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public short getLeapSecond(); 3782*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public long getTimeInNs(); 3783*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getTimeUncertaintyInNs(); 3784*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public byte getType(); 3785*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasBiasInNs(); 3786*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasBiasUncertaintyInNs(); 3787*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasDriftInNsPerSec(); 3788*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasDriftUncertaintyInNsPerSec(); 3789*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasFullBiasInNs(); 3790*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasLeapSecond(); 3791*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasTimeUncertaintyInNs(); 3792*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void reset(); 3793*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetBiasInNs(); 3794*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetBiasUncertaintyInNs(); 3795*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetDriftInNsPerSec(); 3796*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetDriftUncertaintyInNsPerSec(); 3797*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetFullBiasInNs(); 3798*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetLeapSecond(); 3799*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetTimeUncertaintyInNs(); 3800*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void set(android.location.GpsClock); 3801*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setBiasInNs(double); 3802*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setBiasUncertaintyInNs(double); 3803*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setDriftInNsPerSec(double); 3804*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setDriftUncertaintyInNsPerSec(double); 3805*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setFullBiasInNs(long); 3806*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setLeapSecond(short); 3807*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setTimeInNs(long); 3808*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setTimeUncertaintyInNs(double); 3809*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setType(byte); 3810*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void writeToParcel(android.os.Parcel, int); 3811*344a7f5eSAndroid Build Coastguard Worker field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsClock> CREATOR; 3812*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte TYPE_GPS_TIME = 2; // 0x2 3813*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte TYPE_LOCAL_HW_TIME = 1; // 0x1 3814*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte TYPE_UNKNOWN = 0; // 0x0 3815*344a7f5eSAndroid Build Coastguard Worker } 3816*344a7f5eSAndroid Build Coastguard Worker 3817*344a7f5eSAndroid Build Coastguard Worker @Deprecated public class GpsMeasurement implements android.os.Parcelable { 3818*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int describeContents(); 3819*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getAccumulatedDeltaRangeInMeters(); 3820*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public short getAccumulatedDeltaRangeState(); 3821*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getAccumulatedDeltaRangeUncertaintyInMeters(); 3822*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getAzimuthInDeg(); 3823*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getAzimuthUncertaintyInDeg(); 3824*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getBitNumber(); 3825*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public long getCarrierCycles(); 3826*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public float getCarrierFrequencyInHz(); 3827*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getCarrierPhase(); 3828*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getCarrierPhaseUncertainty(); 3829*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getCn0InDbHz(); 3830*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getCodePhaseInChips(); 3831*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getCodePhaseUncertaintyInChips(); 3832*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getDopplerShiftInHz(); 3833*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getDopplerShiftUncertaintyInHz(); 3834*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getElevationInDeg(); 3835*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getElevationUncertaintyInDeg(); 3836*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public byte getLossOfLock(); 3837*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public byte getMultipathIndicator(); 3838*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public byte getPrn(); 3839*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getPseudorangeInMeters(); 3840*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getPseudorangeRateInMetersPerSec(); 3841*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getPseudorangeRateUncertaintyInMetersPerSec(); 3842*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getPseudorangeUncertaintyInMeters(); 3843*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public long getReceivedGpsTowInNs(); 3844*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public long getReceivedGpsTowUncertaintyInNs(); 3845*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getSnrInDb(); 3846*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public short getState(); 3847*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public short getTimeFromLastBitInMs(); 3848*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public double getTimeOffsetInNs(); 3849*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasAzimuthInDeg(); 3850*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasAzimuthUncertaintyInDeg(); 3851*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasBitNumber(); 3852*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasCarrierCycles(); 3853*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasCarrierFrequencyInHz(); 3854*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasCarrierPhase(); 3855*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasCarrierPhaseUncertainty(); 3856*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasCodePhaseInChips(); 3857*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasCodePhaseUncertaintyInChips(); 3858*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasDopplerShiftInHz(); 3859*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasDopplerShiftUncertaintyInHz(); 3860*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasElevationInDeg(); 3861*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasElevationUncertaintyInDeg(); 3862*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasPseudorangeInMeters(); 3863*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasPseudorangeUncertaintyInMeters(); 3864*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasSnrInDb(); 3865*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean hasTimeFromLastBitInMs(); 3866*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean isPseudorangeRateCorrected(); 3867*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean isUsedInFix(); 3868*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void reset(); 3869*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetAzimuthInDeg(); 3870*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetAzimuthUncertaintyInDeg(); 3871*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetBitNumber(); 3872*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetCarrierCycles(); 3873*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetCarrierFrequencyInHz(); 3874*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetCarrierPhase(); 3875*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetCarrierPhaseUncertainty(); 3876*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetCodePhaseInChips(); 3877*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetCodePhaseUncertaintyInChips(); 3878*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetDopplerShiftInHz(); 3879*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetDopplerShiftUncertaintyInHz(); 3880*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetElevationInDeg(); 3881*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetElevationUncertaintyInDeg(); 3882*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetPseudorangeInMeters(); 3883*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetPseudorangeUncertaintyInMeters(); 3884*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetSnrInDb(); 3885*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetTimeFromLastBitInMs(); 3886*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void set(android.location.GpsMeasurement); 3887*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setAccumulatedDeltaRangeInMeters(double); 3888*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setAccumulatedDeltaRangeState(short); 3889*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setAccumulatedDeltaRangeUncertaintyInMeters(double); 3890*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setAzimuthInDeg(double); 3891*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setAzimuthUncertaintyInDeg(double); 3892*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setBitNumber(int); 3893*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setCarrierCycles(long); 3894*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setCarrierFrequencyInHz(float); 3895*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setCarrierPhase(double); 3896*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setCarrierPhaseUncertainty(double); 3897*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setCn0InDbHz(double); 3898*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setCodePhaseInChips(double); 3899*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setCodePhaseUncertaintyInChips(double); 3900*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setDopplerShiftInHz(double); 3901*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setDopplerShiftUncertaintyInHz(double); 3902*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setElevationInDeg(double); 3903*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setElevationUncertaintyInDeg(double); 3904*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setLossOfLock(byte); 3905*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setMultipathIndicator(byte); 3906*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setPrn(byte); 3907*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setPseudorangeInMeters(double); 3908*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setPseudorangeRateInMetersPerSec(double); 3909*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setPseudorangeRateUncertaintyInMetersPerSec(double); 3910*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setPseudorangeUncertaintyInMeters(double); 3911*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setReceivedGpsTowInNs(long); 3912*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setReceivedGpsTowUncertaintyInNs(long); 3913*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setSnrInDb(double); 3914*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setState(short); 3915*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setTimeFromLastBitInMs(short); 3916*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setTimeOffsetInNs(double); 3917*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setUsedInFix(boolean); 3918*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void writeToParcel(android.os.Parcel, int); 3919*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short ADR_STATE_CYCLE_SLIP = 4; // 0x4 3920*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short ADR_STATE_RESET = 2; // 0x2 3921*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short ADR_STATE_UNKNOWN = 0; // 0x0 3922*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short ADR_STATE_VALID = 1; // 0x1 3923*344a7f5eSAndroid Build Coastguard Worker field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsMeasurement> CREATOR; 3924*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte LOSS_OF_LOCK_CYCLE_SLIP = 2; // 0x2 3925*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte LOSS_OF_LOCK_OK = 1; // 0x1 3926*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte LOSS_OF_LOCK_UNKNOWN = 0; // 0x0 3927*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte MULTIPATH_INDICATOR_DETECTED = 1; // 0x1 3928*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte MULTIPATH_INDICATOR_NOT_USED = 2; // 0x2 3929*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte MULTIPATH_INDICATOR_UNKNOWN = 0; // 0x0 3930*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short STATE_BIT_SYNC = 2; // 0x2 3931*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short STATE_CODE_LOCK = 1; // 0x1 3932*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short STATE_MSEC_AMBIGUOUS = 16; // 0x10 3933*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short STATE_SUBFRAME_SYNC = 4; // 0x4 3934*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short STATE_TOW_DECODED = 8; // 0x8 3935*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short STATE_UNKNOWN = 0; // 0x0 3936*344a7f5eSAndroid Build Coastguard Worker } 3937*344a7f5eSAndroid Build Coastguard Worker 3938*344a7f5eSAndroid Build Coastguard Worker @Deprecated public class GpsMeasurementsEvent implements android.os.Parcelable { 3939*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public GpsMeasurementsEvent(android.location.GpsClock, android.location.GpsMeasurement[]); 3940*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int describeContents(); 3941*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public android.location.GpsClock getClock(); 3942*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public java.util.Collection<android.location.GpsMeasurement> getMeasurements(); 3943*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void writeToParcel(android.os.Parcel, int); 3944*344a7f5eSAndroid Build Coastguard Worker field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsMeasurementsEvent> CREATOR; 3945*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int STATUS_GPS_LOCATION_DISABLED = 2; // 0x2 3946*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int STATUS_NOT_SUPPORTED = 0; // 0x0 3947*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int STATUS_READY = 1; // 0x1 3948*344a7f5eSAndroid Build Coastguard Worker } 3949*344a7f5eSAndroid Build Coastguard Worker 3950*344a7f5eSAndroid Build Coastguard Worker @Deprecated public static interface GpsMeasurementsEvent.Listener { 3951*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onGpsMeasurementsReceived(android.location.GpsMeasurementsEvent); 3952*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onStatusChanged(int); 3953*344a7f5eSAndroid Build Coastguard Worker } 3954*344a7f5eSAndroid Build Coastguard Worker 3955*344a7f5eSAndroid Build Coastguard Worker @Deprecated public class GpsNavigationMessage implements android.os.Parcelable { 3956*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int describeContents(); 3957*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public byte[] getData(); 3958*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public short getMessageId(); 3959*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public byte getPrn(); 3960*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public short getStatus(); 3961*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public short getSubmessageId(); 3962*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public byte getType(); 3963*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void reset(); 3964*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void set(android.location.GpsNavigationMessage); 3965*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setData(byte[]); 3966*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setMessageId(short); 3967*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setPrn(byte); 3968*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setStatus(short); 3969*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setSubmessageId(short); 3970*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setType(byte); 3971*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void writeToParcel(android.os.Parcel, int); 3972*344a7f5eSAndroid Build Coastguard Worker field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsNavigationMessage> CREATOR; 3973*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short STATUS_PARITY_PASSED = 1; // 0x1 3974*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short STATUS_PARITY_REBUILT = 2; // 0x2 3975*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final short STATUS_UNKNOWN = 0; // 0x0 3976*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte TYPE_CNAV2 = 4; // 0x4 3977*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte TYPE_L1CA = 1; // 0x1 3978*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte TYPE_L2CNAV = 2; // 0x2 3979*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte TYPE_L5CNAV = 3; // 0x3 3980*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final byte TYPE_UNKNOWN = 0; // 0x0 3981*344a7f5eSAndroid Build Coastguard Worker } 3982*344a7f5eSAndroid Build Coastguard Worker 3983*344a7f5eSAndroid Build Coastguard Worker @Deprecated public class GpsNavigationMessageEvent implements android.os.Parcelable { 3984*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public GpsNavigationMessageEvent(android.location.GpsNavigationMessage); 3985*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int describeContents(); 3986*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public android.location.GpsNavigationMessage getNavigationMessage(); 3987*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void writeToParcel(android.os.Parcel, int); 3988*344a7f5eSAndroid Build Coastguard Worker field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsNavigationMessageEvent> CREATOR; 3989*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static int STATUS_GPS_LOCATION_DISABLED; 3990*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static int STATUS_NOT_SUPPORTED; 3991*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static int STATUS_READY; 3992*344a7f5eSAndroid Build Coastguard Worker } 3993*344a7f5eSAndroid Build Coastguard Worker 3994*344a7f5eSAndroid Build Coastguard Worker @Deprecated public static interface GpsNavigationMessageEvent.Listener { 3995*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onGpsNavigationMessageReceived(android.location.GpsNavigationMessageEvent); 3996*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onStatusChanged(int); 3997*344a7f5eSAndroid Build Coastguard Worker } 3998*344a7f5eSAndroid Build Coastguard Worker 3999*344a7f5eSAndroid Build Coastguard Worker public class Location implements android.os.Parcelable { 4000*344a7f5eSAndroid Build Coastguard Worker method public boolean isComplete(); 4001*344a7f5eSAndroid Build Coastguard Worker method public void makeComplete(); 4002*344a7f5eSAndroid Build Coastguard Worker method public void setIsFromMockProvider(boolean); 4003*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; 4004*344a7f5eSAndroid Build Coastguard Worker } 4005*344a7f5eSAndroid Build Coastguard Worker 4006*344a7f5eSAndroid Build Coastguard Worker public class LocationManager { 4007*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void flushGnssBatch(); 4008*344a7f5eSAndroid Build Coastguard Worker method @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<android.location.Location>); 4009*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getExtraLocationControllerPackage(); 4010*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public int getGnssBatchSize(); 4011*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public void injectGnssMeasurementCorrections(@NonNull android.location.GnssMeasurementCorrections); 4012*344a7f5eSAndroid Build Coastguard Worker method public boolean isExtraLocationControllerPackageEnabled(); 4013*344a7f5eSAndroid Build Coastguard Worker method public boolean isLocationEnabledForUser(@NonNull android.os.UserHandle); 4014*344a7f5eSAndroid Build Coastguard Worker method public boolean isProviderEnabledForUser(@NonNull String, @NonNull android.os.UserHandle); 4015*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public boolean isProviderPackage(@NonNull String); 4016*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public boolean registerGnssBatchedLocationCallback(long, boolean, @NonNull android.location.BatchedLocationCallback, @Nullable android.os.Handler); 4017*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.LOCATION_HARDWARE}) public boolean registerGnssMeasurementsCallback(@NonNull android.location.GnssRequest, @NonNull java.util.concurrent.Executor, @NonNull android.location.GnssMeasurementsEvent.Callback); 4018*344a7f5eSAndroid Build Coastguard Worker method @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); 4019*344a7f5eSAndroid Build Coastguard Worker method @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); 4020*344a7f5eSAndroid Build Coastguard Worker method @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); 4021*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setExtraLocationControllerPackage(@Nullable String); 4022*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setExtraLocationControllerPackageEnabled(boolean); 4023*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setLocationEnabledForUser(boolean, @NonNull android.os.UserHandle); 4024*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean setProviderEnabledForUser(@NonNull String, boolean, @NonNull android.os.UserHandle); 4025*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public boolean unregisterGnssBatchedLocationCallback(@NonNull android.location.BatchedLocationCallback); 4026*344a7f5eSAndroid Build Coastguard Worker } 4027*344a7f5eSAndroid Build Coastguard Worker 4028*344a7f5eSAndroid Build Coastguard Worker public final class LocationRequest implements android.os.Parcelable { 4029*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.location.LocationRequest create(); 4030*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.location.LocationRequest createFromDeprecatedCriteria(@NonNull android.location.Criteria, long, float, boolean); 4031*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.location.LocationRequest createFromDeprecatedProvider(@NonNull String, long, float, boolean); 4032*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4033*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public long getExpireAt(); 4034*344a7f5eSAndroid Build Coastguard Worker method public long getExpireIn(); 4035*344a7f5eSAndroid Build Coastguard Worker method public long getFastestInterval(); 4036*344a7f5eSAndroid Build Coastguard Worker method public boolean getHideFromAppOps(); 4037*344a7f5eSAndroid Build Coastguard Worker method public long getInterval(); 4038*344a7f5eSAndroid Build Coastguard Worker method public int getNumUpdates(); 4039*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getProvider(); 4040*344a7f5eSAndroid Build Coastguard Worker method public int getQuality(); 4041*344a7f5eSAndroid Build Coastguard Worker method public float getSmallestDisplacement(); 4042*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.WorkSource getWorkSource(); 4043*344a7f5eSAndroid Build Coastguard Worker method public boolean isLocationSettingsIgnored(); 4044*344a7f5eSAndroid Build Coastguard Worker method public boolean isLowPowerMode(); 4045*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public android.location.LocationRequest setExpireAt(long); 4046*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setExpireIn(long); 4047*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setFastestInterval(long); 4048*344a7f5eSAndroid Build Coastguard Worker method public void setHideFromAppOps(boolean); 4049*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setInterval(long); 4050*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public android.location.LocationRequest setLocationSettingsIgnored(boolean); 4051*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setLowPowerMode(boolean); 4052*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setNumUpdates(int); 4053*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setProvider(@NonNull String); 4054*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setQuality(int); 4055*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setSmallestDisplacement(float); 4056*344a7f5eSAndroid Build Coastguard Worker method public void setWorkSource(@Nullable android.os.WorkSource); 4057*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4058*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCURACY_BLOCK = 102; // 0x66 4059*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCURACY_CITY = 104; // 0x68 4060*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCURACY_FINE = 100; // 0x64 4061*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.location.LocationRequest> CREATOR; 4062*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_HIGH = 203; // 0xcb 4063*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_LOW = 201; // 0xc9 4064*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_NONE = 200; // 0xc8 4065*344a7f5eSAndroid Build Coastguard Worker } 4066*344a7f5eSAndroid Build Coastguard Worker 4067*344a7f5eSAndroid Build Coastguard Worker} 4068*344a7f5eSAndroid Build Coastguard Worker 4069*344a7f5eSAndroid Build Coastguard Workerpackage android.media { 4070*344a7f5eSAndroid Build Coastguard Worker 4071*344a7f5eSAndroid Build Coastguard Worker public final class AudioAttributes implements android.os.Parcelable { 4072*344a7f5eSAndroid Build Coastguard Worker method public int getAllFlags(); 4073*344a7f5eSAndroid Build Coastguard Worker method public android.os.Bundle getBundle(); 4074*344a7f5eSAndroid Build Coastguard Worker method public int getCapturePreset(); 4075*344a7f5eSAndroid Build Coastguard Worker method public int getSystemUsage(); 4076*344a7f5eSAndroid Build Coastguard Worker method public static boolean isSystemUsage(int); 4077*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_BEACON = 8; // 0x8 4078*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_BYPASS_INTERRUPTION_POLICY = 64; // 0x40 4079*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_BYPASS_MUTE = 128; // 0x80 4080*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_HW_HOTWORD = 32; // 0x20 4081*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_ANNOUNCEMENT = 1003; // 0x3eb 4082*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public static final int USAGE_CALL_ASSISTANT = 17; // 0x11 4083*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_EMERGENCY = 1000; // 0x3e8 4084*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_SAFETY = 1001; // 0x3e9 4085*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_VEHICLE_STATUS = 1002; // 0x3ea 4086*344a7f5eSAndroid Build Coastguard Worker } 4087*344a7f5eSAndroid Build Coastguard Worker 4088*344a7f5eSAndroid Build Coastguard Worker public static class AudioAttributes.Builder { 4089*344a7f5eSAndroid Build Coastguard Worker method public android.media.AudioAttributes.Builder addBundle(@NonNull android.os.Bundle); 4090*344a7f5eSAndroid Build Coastguard Worker method public android.media.AudioAttributes.Builder setCapturePreset(int); 4091*344a7f5eSAndroid Build Coastguard Worker method public android.media.AudioAttributes.Builder setInternalCapturePreset(int); 4092*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioAttributes.Builder setSystemUsage(int); 4093*344a7f5eSAndroid Build Coastguard Worker } 4094*344a7f5eSAndroid Build Coastguard Worker 4095*344a7f5eSAndroid Build Coastguard Worker public final class AudioDeviceAttributes implements android.os.Parcelable { 4096*344a7f5eSAndroid Build Coastguard Worker ctor public AudioDeviceAttributes(@NonNull android.media.AudioDeviceInfo); 4097*344a7f5eSAndroid Build Coastguard Worker ctor public AudioDeviceAttributes(int, int, @NonNull String); 4098*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4099*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getAddress(); 4100*344a7f5eSAndroid Build Coastguard Worker method public int getRole(); 4101*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 4102*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 4103*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioDeviceAttributes> CREATOR; 4104*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLE_INPUT = 1; // 0x1 4105*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLE_OUTPUT = 2; // 0x2 4106*344a7f5eSAndroid Build Coastguard Worker } 4107*344a7f5eSAndroid Build Coastguard Worker 4108*344a7f5eSAndroid Build Coastguard Worker public final class AudioDeviceInfo { 4109*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_REMOTE_SUBMIX = 25; // 0x19 4110*344a7f5eSAndroid Build Coastguard Worker } 4111*344a7f5eSAndroid Build Coastguard Worker 4112*344a7f5eSAndroid Build Coastguard Worker public final class AudioFocusInfo implements android.os.Parcelable { 4113*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4114*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.AudioAttributes getAttributes(); 4115*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getClientId(); 4116*344a7f5eSAndroid Build Coastguard Worker method public int getClientUid(); 4117*344a7f5eSAndroid Build Coastguard Worker method public int getFlags(); 4118*344a7f5eSAndroid Build Coastguard Worker method public int getGainRequest(); 4119*344a7f5eSAndroid Build Coastguard Worker method public int getLossReceived(); 4120*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 4121*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4122*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioFocusInfo> CREATOR; 4123*344a7f5eSAndroid Build Coastguard Worker } 4124*344a7f5eSAndroid Build Coastguard Worker 4125*344a7f5eSAndroid Build Coastguard Worker public final class AudioFocusRequest { 4126*344a7f5eSAndroid Build Coastguard Worker method public boolean locksFocus(); 4127*344a7f5eSAndroid Build Coastguard Worker } 4128*344a7f5eSAndroid Build Coastguard Worker 4129*344a7f5eSAndroid Build Coastguard Worker public static final class AudioFocusRequest.Builder { 4130*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.AudioFocusRequest.Builder setLocksFocus(boolean); 4131*344a7f5eSAndroid Build Coastguard Worker } 4132*344a7f5eSAndroid Build Coastguard Worker 4133*344a7f5eSAndroid Build Coastguard Worker public class AudioManager { 4134*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes); 4135*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void addOnPreferredDeviceForStrategyChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.OnPreferredDeviceForStrategyChangedListener) throws java.lang.SecurityException; 4136*344a7f5eSAndroid Build Coastguard Worker method public void clearAudioServerStateCallback(); 4137*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int dispatchAudioFocusChange(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy); 4138*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public long getAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo); 4139*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static java.util.List<android.media.audiopolicy.AudioProductStrategy> getAudioProductStrategies(); 4140*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static java.util.List<android.media.audiopolicy.AudioVolumeGroup> getAudioVolumeGroups(); 4141*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public java.util.List<android.media.AudioDeviceAttributes> getDevicesForAttributes(@NonNull android.media.AudioAttributes); 4142*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public long getMaxAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo); 4143*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getMaxVolumeIndexForAttributes(@NonNull android.media.AudioAttributes); 4144*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getMinVolumeIndexForAttributes(@NonNull android.media.AudioAttributes); 4145*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioDeviceAttributes getPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); 4146*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int[] getSupportedSystemUsages(); 4147*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getVolumeIndexForAttributes(@NonNull android.media.AudioAttributes); 4148*344a7f5eSAndroid Build Coastguard Worker method public boolean isAudioServerRunning(); 4149*344a7f5eSAndroid Build Coastguard Worker method public boolean isHdmiSystemAudioSupported(); 4150*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int registerAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy); 4151*344a7f5eSAndroid Build Coastguard Worker method public void registerVolumeGroupCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.VolumeGroupCallback); 4152*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void removeOnPreferredDeviceForStrategyChangedListener(@NonNull android.media.AudioManager.OnPreferredDeviceForStrategyChangedListener); 4153*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean removePreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); 4154*344a7f5eSAndroid Build Coastguard Worker 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; 4155*344a7f5eSAndroid Build Coastguard Worker 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; 4156*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int requestAudioFocus(@NonNull android.media.AudioFocusRequest, @Nullable android.media.audiopolicy.AudioPolicy); 4157*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo, @IntRange(from=0) long); 4158*344a7f5eSAndroid Build Coastguard Worker method public void setAudioServerStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.AudioServerStateCallback); 4159*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setFocusRequestResult(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy); 4160*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull android.media.AudioDeviceAttributes); 4161*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setSupportedSystemUsages(@NonNull int[]); 4162*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setVolumeIndexForAttributes(@NonNull android.media.AudioAttributes, int, int); 4163*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void unregisterAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy); 4164*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void unregisterAudioPolicyAsync(@NonNull android.media.audiopolicy.AudioPolicy); 4165*344a7f5eSAndroid Build Coastguard Worker method public void unregisterVolumeGroupCallback(@NonNull android.media.AudioManager.VolumeGroupCallback); 4166*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIOFOCUS_FLAG_DELAY_OK = 1; // 0x1 4167*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIOFOCUS_FLAG_LOCK = 4; // 0x4 4168*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS = 2; // 0x2 4169*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int STREAM_ASSISTANT = 11; // 0xb 4170*344a7f5eSAndroid Build Coastguard Worker field public static final int SUCCESS = 0; // 0x0 4171*344a7f5eSAndroid Build Coastguard Worker } 4172*344a7f5eSAndroid Build Coastguard Worker 4173*344a7f5eSAndroid Build Coastguard Worker public abstract static class AudioManager.AudioServerStateCallback { 4174*344a7f5eSAndroid Build Coastguard Worker ctor public AudioManager.AudioServerStateCallback(); 4175*344a7f5eSAndroid Build Coastguard Worker method public void onAudioServerDown(); 4176*344a7f5eSAndroid Build Coastguard Worker method public void onAudioServerUp(); 4177*344a7f5eSAndroid Build Coastguard Worker } 4178*344a7f5eSAndroid Build Coastguard Worker 4179*344a7f5eSAndroid Build Coastguard Worker public static interface AudioManager.OnPreferredDeviceForStrategyChangedListener { 4180*344a7f5eSAndroid Build Coastguard Worker method public void onPreferredDeviceForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @Nullable android.media.AudioDeviceAttributes); 4181*344a7f5eSAndroid Build Coastguard Worker } 4182*344a7f5eSAndroid Build Coastguard Worker 4183*344a7f5eSAndroid Build Coastguard Worker public abstract static class AudioManager.VolumeGroupCallback { 4184*344a7f5eSAndroid Build Coastguard Worker ctor public AudioManager.VolumeGroupCallback(); 4185*344a7f5eSAndroid Build Coastguard Worker method public void onAudioVolumeGroupChanged(int, int); 4186*344a7f5eSAndroid Build Coastguard Worker } 4187*344a7f5eSAndroid Build Coastguard Worker 4188*344a7f5eSAndroid Build Coastguard Worker public final class AudioPlaybackConfiguration implements android.os.Parcelable { 4189*344a7f5eSAndroid Build Coastguard Worker method public int getClientPid(); 4190*344a7f5eSAndroid Build Coastguard Worker method public int getClientUid(); 4191*344a7f5eSAndroid Build Coastguard Worker method public int getPlayerInterfaceId(); 4192*344a7f5eSAndroid Build Coastguard Worker method public android.media.PlayerProxy getPlayerProxy(); 4193*344a7f5eSAndroid Build Coastguard Worker method public int getPlayerState(); 4194*344a7f5eSAndroid Build Coastguard Worker method public int getPlayerType(); 4195*344a7f5eSAndroid Build Coastguard Worker method public boolean isActive(); 4196*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYER_STATE_IDLE = 1; // 0x1 4197*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYER_STATE_PAUSED = 3; // 0x3 4198*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYER_STATE_RELEASED = 0; // 0x0 4199*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYER_STATE_STARTED = 2; // 0x2 4200*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYER_STATE_STOPPED = 4; // 0x4 4201*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYER_STATE_UNKNOWN = -1; // 0xffffffff 4202*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYER_TYPE_JAM_AUDIOTRACK = 1; // 0x1 4203*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYER_TYPE_JAM_MEDIAPLAYER = 2; // 0x2 4204*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYER_TYPE_JAM_SOUNDPOOL = 3; // 0x3 4205*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYER_TYPE_SLES_AUDIOPLAYER_BUFFERQUEUE = 11; // 0xb 4206*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYER_TYPE_SLES_AUDIOPLAYER_URI_FD = 12; // 0xc 4207*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYER_TYPE_UNKNOWN = -1; // 0xffffffff 4208*344a7f5eSAndroid Build Coastguard Worker } 4209*344a7f5eSAndroid Build Coastguard Worker 4210*344a7f5eSAndroid Build Coastguard Worker public class AudioRecord implements android.media.AudioRecordingMonitor android.media.AudioRouting android.media.MicrophoneDirection { 4211*344a7f5eSAndroid Build Coastguard Worker ctor public AudioRecord(android.media.AudioAttributes, android.media.AudioFormat, int, int) throws java.lang.IllegalArgumentException; 4212*344a7f5eSAndroid Build Coastguard Worker } 4213*344a7f5eSAndroid Build Coastguard Worker 4214*344a7f5eSAndroid Build Coastguard Worker public static class AudioRecord.Builder { 4215*344a7f5eSAndroid Build Coastguard Worker method public android.media.AudioRecord.Builder setAudioAttributes(@NonNull android.media.AudioAttributes) throws java.lang.IllegalArgumentException; 4216*344a7f5eSAndroid Build Coastguard Worker method public android.media.AudioRecord.Builder setSessionId(int) throws java.lang.IllegalArgumentException; 4217*344a7f5eSAndroid Build Coastguard Worker } 4218*344a7f5eSAndroid Build Coastguard Worker 4219*344a7f5eSAndroid Build Coastguard Worker public final class AudioRecordingConfiguration implements android.os.Parcelable { 4220*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getClientUid(); 4221*344a7f5eSAndroid Build Coastguard Worker } 4222*344a7f5eSAndroid Build Coastguard Worker 4223*344a7f5eSAndroid Build Coastguard Worker public class AudioTrack implements android.media.AudioRouting android.media.VolumeAutomation { 4224*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int ENCAPSULATION_MODE_HANDLE = 2; // 0x2 4225*344a7f5eSAndroid Build Coastguard Worker } 4226*344a7f5eSAndroid Build Coastguard Worker 4227*344a7f5eSAndroid Build Coastguard Worker public static class AudioTrack.Builder { 4228*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioTrack.Builder setTunerConfiguration(@NonNull android.media.AudioTrack.TunerConfiguration); 4229*344a7f5eSAndroid Build Coastguard Worker } 4230*344a7f5eSAndroid Build Coastguard Worker 4231*344a7f5eSAndroid Build Coastguard Worker public static class AudioTrack.TunerConfiguration { 4232*344a7f5eSAndroid Build Coastguard Worker ctor @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public AudioTrack.TunerConfiguration(@IntRange(from=1) int, @IntRange(from=1) int); 4233*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=1) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getContentId(); 4234*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=1) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getSyncId(); 4235*344a7f5eSAndroid Build Coastguard Worker } 4236*344a7f5eSAndroid Build Coastguard Worker 4237*344a7f5eSAndroid Build Coastguard Worker public class HwAudioSource { 4238*344a7f5eSAndroid Build Coastguard Worker method public boolean isPlaying(); 4239*344a7f5eSAndroid Build Coastguard Worker method public void start(); 4240*344a7f5eSAndroid Build Coastguard Worker method public void stop(); 4241*344a7f5eSAndroid Build Coastguard Worker } 4242*344a7f5eSAndroid Build Coastguard Worker 4243*344a7f5eSAndroid Build Coastguard Worker public static final class HwAudioSource.Builder { 4244*344a7f5eSAndroid Build Coastguard Worker ctor public HwAudioSource.Builder(); 4245*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.HwAudioSource build(); 4246*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.HwAudioSource.Builder setAudioAttributes(@NonNull android.media.AudioAttributes); 4247*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.HwAudioSource.Builder setAudioDeviceInfo(@NonNull android.media.AudioDeviceInfo); 4248*344a7f5eSAndroid Build Coastguard Worker } 4249*344a7f5eSAndroid Build Coastguard Worker 4250*344a7f5eSAndroid Build Coastguard Worker public final class MediaRecorder.AudioSource { 4251*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_OUTPUT) public static final int ECHO_REFERENCE = 1997; // 0x7cd 4252*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public static final int HOTWORD = 1999; // 0x7cf 4253*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_OUTPUT) public static final int RADIO_TUNER = 1998; // 0x7ce 4254*344a7f5eSAndroid Build Coastguard Worker } 4255*344a7f5eSAndroid Build Coastguard Worker 4256*344a7f5eSAndroid Build Coastguard Worker public class PlayerProxy { 4257*344a7f5eSAndroid Build Coastguard Worker method public void pause(); 4258*344a7f5eSAndroid Build Coastguard Worker method public void setPan(float); 4259*344a7f5eSAndroid Build Coastguard Worker method public void setStartDelayMs(int); 4260*344a7f5eSAndroid Build Coastguard Worker method public void setVolume(float); 4261*344a7f5eSAndroid Build Coastguard Worker method public void start(); 4262*344a7f5eSAndroid Build Coastguard Worker method public void stop(); 4263*344a7f5eSAndroid Build Coastguard Worker } 4264*344a7f5eSAndroid Build Coastguard Worker 4265*344a7f5eSAndroid Build Coastguard Worker public class RingtoneManager { 4266*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SETTINGS) public static void ensureDefaultRingtones(@NonNull android.content.Context); 4267*344a7f5eSAndroid Build Coastguard Worker } 4268*344a7f5eSAndroid Build Coastguard Worker 4269*344a7f5eSAndroid Build Coastguard Worker} 4270*344a7f5eSAndroid Build Coastguard Worker 4271*344a7f5eSAndroid Build Coastguard Workerpackage android.media.audiofx { 4272*344a7f5eSAndroid Build Coastguard Worker 4273*344a7f5eSAndroid Build Coastguard Worker public class AudioEffect { 4274*344a7f5eSAndroid Build Coastguard Worker ctor @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public AudioEffect(@NonNull java.util.UUID, @NonNull android.media.AudioDeviceAttributes); 4275*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static boolean isEffectSupportedForDevice(@NonNull java.util.UUID, @NonNull android.media.AudioDeviceAttributes); 4276*344a7f5eSAndroid Build Coastguard Worker } 4277*344a7f5eSAndroid Build Coastguard Worker 4278*344a7f5eSAndroid Build Coastguard Worker} 4279*344a7f5eSAndroid Build Coastguard Worker 4280*344a7f5eSAndroid Build Coastguard Workerpackage android.media.audiopolicy { 4281*344a7f5eSAndroid Build Coastguard Worker 4282*344a7f5eSAndroid Build Coastguard Worker public class AudioMix { 4283*344a7f5eSAndroid Build Coastguard Worker method public int getMixState(); 4284*344a7f5eSAndroid Build Coastguard Worker field public static final int MIX_STATE_DISABLED = -1; // 0xffffffff 4285*344a7f5eSAndroid Build Coastguard Worker field public static final int MIX_STATE_IDLE = 0; // 0x0 4286*344a7f5eSAndroid Build Coastguard Worker field public static final int MIX_STATE_MIXING = 1; // 0x1 4287*344a7f5eSAndroid Build Coastguard Worker field public static final int ROUTE_FLAG_LOOP_BACK = 2; // 0x2 4288*344a7f5eSAndroid Build Coastguard Worker field public static final int ROUTE_FLAG_RENDER = 1; // 0x1 4289*344a7f5eSAndroid Build Coastguard Worker } 4290*344a7f5eSAndroid Build Coastguard Worker 4291*344a7f5eSAndroid Build Coastguard Worker public static class AudioMix.Builder { 4292*344a7f5eSAndroid Build Coastguard Worker ctor public AudioMix.Builder(android.media.audiopolicy.AudioMixingRule) throws java.lang.IllegalArgumentException; 4293*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMix build() throws java.lang.IllegalArgumentException; 4294*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMix.Builder setDevice(@NonNull android.media.AudioDeviceInfo) throws java.lang.IllegalArgumentException; 4295*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMix.Builder setFormat(android.media.AudioFormat) throws java.lang.IllegalArgumentException; 4296*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMix.Builder setRouteFlags(int) throws java.lang.IllegalArgumentException; 4297*344a7f5eSAndroid Build Coastguard Worker } 4298*344a7f5eSAndroid Build Coastguard Worker 4299*344a7f5eSAndroid Build Coastguard Worker public class AudioMixingRule { 4300*344a7f5eSAndroid Build Coastguard Worker field public static final int RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET = 2; // 0x2 4301*344a7f5eSAndroid Build Coastguard Worker field public static final int RULE_MATCH_ATTRIBUTE_USAGE = 1; // 0x1 4302*344a7f5eSAndroid Build Coastguard Worker field public static final int RULE_MATCH_UID = 4; // 0x4 4303*344a7f5eSAndroid Build Coastguard Worker field public static final int RULE_MATCH_USERID = 8; // 0x8 4304*344a7f5eSAndroid Build Coastguard Worker } 4305*344a7f5eSAndroid Build Coastguard Worker 4306*344a7f5eSAndroid Build Coastguard Worker public static class AudioMixingRule.Builder { 4307*344a7f5eSAndroid Build Coastguard Worker ctor public AudioMixingRule.Builder(); 4308*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMixingRule.Builder addMixRule(int, Object) throws java.lang.IllegalArgumentException; 4309*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMixingRule.Builder addRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException; 4310*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioMixingRule.Builder allowPrivilegedPlaybackCapture(boolean); 4311*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMixingRule build(); 4312*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMixingRule.Builder excludeMixRule(int, Object) throws java.lang.IllegalArgumentException; 4313*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMixingRule.Builder excludeRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException; 4314*344a7f5eSAndroid Build Coastguard Worker } 4315*344a7f5eSAndroid Build Coastguard Worker 4316*344a7f5eSAndroid Build Coastguard Worker public class AudioPolicy { 4317*344a7f5eSAndroid Build Coastguard Worker method public int attachMixes(@NonNull java.util.List<android.media.audiopolicy.AudioMix>); 4318*344a7f5eSAndroid Build Coastguard Worker method public android.media.AudioRecord createAudioRecordSink(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException; 4319*344a7f5eSAndroid Build Coastguard Worker method public android.media.AudioTrack createAudioTrackSource(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException; 4320*344a7f5eSAndroid Build Coastguard Worker method public int detachMixes(@NonNull java.util.List<android.media.audiopolicy.AudioMix>); 4321*344a7f5eSAndroid Build Coastguard Worker method public int getFocusDuckingBehavior(); 4322*344a7f5eSAndroid Build Coastguard Worker method public int getStatus(); 4323*344a7f5eSAndroid Build Coastguard Worker method public boolean removeUidDeviceAffinity(int); 4324*344a7f5eSAndroid Build Coastguard Worker method public boolean removeUserIdDeviceAffinity(int); 4325*344a7f5eSAndroid Build Coastguard Worker method public int setFocusDuckingBehavior(int) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException; 4326*344a7f5eSAndroid Build Coastguard Worker method public void setRegistration(String); 4327*344a7f5eSAndroid Build Coastguard Worker method public boolean setUidDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>); 4328*344a7f5eSAndroid Build Coastguard Worker method public boolean setUserIdDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>); 4329*344a7f5eSAndroid Build Coastguard Worker method public String toLogFriendlyString(); 4330*344a7f5eSAndroid Build Coastguard Worker field public static final int FOCUS_POLICY_DUCKING_DEFAULT = 0; // 0x0 4331*344a7f5eSAndroid Build Coastguard Worker field public static final int FOCUS_POLICY_DUCKING_IN_APP = 0; // 0x0 4332*344a7f5eSAndroid Build Coastguard Worker field public static final int FOCUS_POLICY_DUCKING_IN_POLICY = 1; // 0x1 4333*344a7f5eSAndroid Build Coastguard Worker field public static final int POLICY_STATUS_REGISTERED = 2; // 0x2 4334*344a7f5eSAndroid Build Coastguard Worker field public static final int POLICY_STATUS_UNREGISTERED = 1; // 0x1 4335*344a7f5eSAndroid Build Coastguard Worker } 4336*344a7f5eSAndroid Build Coastguard Worker 4337*344a7f5eSAndroid Build Coastguard Worker public abstract static class AudioPolicy.AudioPolicyFocusListener { 4338*344a7f5eSAndroid Build Coastguard Worker ctor public AudioPolicy.AudioPolicyFocusListener(); 4339*344a7f5eSAndroid Build Coastguard Worker method public void onAudioFocusAbandon(android.media.AudioFocusInfo); 4340*344a7f5eSAndroid Build Coastguard Worker method public void onAudioFocusGrant(android.media.AudioFocusInfo, int); 4341*344a7f5eSAndroid Build Coastguard Worker method public void onAudioFocusLoss(android.media.AudioFocusInfo, boolean); 4342*344a7f5eSAndroid Build Coastguard Worker method public void onAudioFocusRequest(android.media.AudioFocusInfo, int); 4343*344a7f5eSAndroid Build Coastguard Worker } 4344*344a7f5eSAndroid Build Coastguard Worker 4345*344a7f5eSAndroid Build Coastguard Worker public abstract static class AudioPolicy.AudioPolicyStatusListener { 4346*344a7f5eSAndroid Build Coastguard Worker ctor public AudioPolicy.AudioPolicyStatusListener(); 4347*344a7f5eSAndroid Build Coastguard Worker method public void onMixStateUpdate(android.media.audiopolicy.AudioMix); 4348*344a7f5eSAndroid Build Coastguard Worker method public void onStatusChange(); 4349*344a7f5eSAndroid Build Coastguard Worker } 4350*344a7f5eSAndroid Build Coastguard Worker 4351*344a7f5eSAndroid Build Coastguard Worker public abstract static class AudioPolicy.AudioPolicyVolumeCallback { 4352*344a7f5eSAndroid Build Coastguard Worker ctor public AudioPolicy.AudioPolicyVolumeCallback(); 4353*344a7f5eSAndroid Build Coastguard Worker method public void onVolumeAdjustment(int); 4354*344a7f5eSAndroid Build Coastguard Worker } 4355*344a7f5eSAndroid Build Coastguard Worker 4356*344a7f5eSAndroid Build Coastguard Worker public static class AudioPolicy.Builder { 4357*344a7f5eSAndroid Build Coastguard Worker ctor public AudioPolicy.Builder(android.content.Context); 4358*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioPolicy.Builder addMix(@NonNull android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException; 4359*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioPolicy build(); 4360*344a7f5eSAndroid Build Coastguard Worker method public void setAudioPolicyFocusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyFocusListener); 4361*344a7f5eSAndroid Build Coastguard Worker method public void setAudioPolicyStatusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyStatusListener); 4362*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setAudioPolicyVolumeCallback(@NonNull android.media.audiopolicy.AudioPolicy.AudioPolicyVolumeCallback); 4363*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsAudioFocusPolicy(boolean); 4364*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setLooper(@NonNull android.os.Looper) throws java.lang.IllegalArgumentException; 4365*344a7f5eSAndroid Build Coastguard Worker } 4366*344a7f5eSAndroid Build Coastguard Worker 4367*344a7f5eSAndroid Build Coastguard Worker public final class AudioProductStrategy implements android.os.Parcelable { 4368*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.audiopolicy.AudioProductStrategy createInvalidAudioProductStrategy(int); 4369*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4370*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.AudioAttributes getAudioAttributes(); 4371*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 4372*344a7f5eSAndroid Build Coastguard Worker method public boolean supportsAudioAttributes(@NonNull android.media.AudioAttributes); 4373*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 4374*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioProductStrategy> CREATOR; 4375*344a7f5eSAndroid Build Coastguard Worker } 4376*344a7f5eSAndroid Build Coastguard Worker 4377*344a7f5eSAndroid Build Coastguard Worker public final class AudioVolumeGroup implements android.os.Parcelable { 4378*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4379*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.media.AudioAttributes> getAudioAttributes(); 4380*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 4381*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getLegacyStreamTypes(); 4382*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String name(); 4383*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 4384*344a7f5eSAndroid Build Coastguard Worker field public static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioVolumeGroup> CREATOR; 4385*344a7f5eSAndroid Build Coastguard Worker field public static final int DEFAULT_VOLUME_GROUP = -1; // 0xffffffff 4386*344a7f5eSAndroid Build Coastguard Worker } 4387*344a7f5eSAndroid Build Coastguard Worker 4388*344a7f5eSAndroid Build Coastguard Worker} 4389*344a7f5eSAndroid Build Coastguard Worker 4390*344a7f5eSAndroid Build Coastguard Workerpackage android.media.session { 4391*344a7f5eSAndroid Build Coastguard Worker 4392*344a7f5eSAndroid Build Coastguard Worker public final class MediaSessionManager { 4393*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void addOnMediaKeyEventDispatchedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.OnMediaKeyEventDispatchedListener); 4394*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void addOnMediaKeyEventSessionChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.OnMediaKeyEventSessionChangedListener); 4395*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void removeOnMediaKeyEventDispatchedListener(@NonNull android.media.session.MediaSessionManager.OnMediaKeyEventDispatchedListener); 4396*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void removeOnMediaKeyEventSessionChangedListener(@NonNull android.media.session.MediaSessionManager.OnMediaKeyEventSessionChangedListener); 4397*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.SET_MEDIA_KEY_LISTENER) public void setOnMediaKeyListener(android.media.session.MediaSessionManager.OnMediaKeyListener, @Nullable android.os.Handler); 4398*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER) public void setOnVolumeKeyLongPressListener(android.media.session.MediaSessionManager.OnVolumeKeyLongPressListener, @Nullable android.os.Handler); 4399*344a7f5eSAndroid Build Coastguard Worker } 4400*344a7f5eSAndroid Build Coastguard Worker 4401*344a7f5eSAndroid Build Coastguard Worker public static interface MediaSessionManager.OnMediaKeyEventDispatchedListener { 4402*344a7f5eSAndroid Build Coastguard Worker method public void onMediaKeyEventDispatched(@NonNull android.view.KeyEvent, @NonNull String, @Nullable android.media.session.MediaSession.Token); 4403*344a7f5eSAndroid Build Coastguard Worker } 4404*344a7f5eSAndroid Build Coastguard Worker 4405*344a7f5eSAndroid Build Coastguard Worker public static interface MediaSessionManager.OnMediaKeyEventSessionChangedListener { 4406*344a7f5eSAndroid Build Coastguard Worker method public void onMediaKeyEventSessionChanged(@NonNull String, @Nullable android.media.session.MediaSession.Token); 4407*344a7f5eSAndroid Build Coastguard Worker } 4408*344a7f5eSAndroid Build Coastguard Worker 4409*344a7f5eSAndroid Build Coastguard Worker public static interface MediaSessionManager.OnMediaKeyListener { 4410*344a7f5eSAndroid Build Coastguard Worker method public boolean onMediaKey(android.view.KeyEvent); 4411*344a7f5eSAndroid Build Coastguard Worker } 4412*344a7f5eSAndroid Build Coastguard Worker 4413*344a7f5eSAndroid Build Coastguard Worker public static interface MediaSessionManager.OnVolumeKeyLongPressListener { 4414*344a7f5eSAndroid Build Coastguard Worker method public void onVolumeKeyLongPress(android.view.KeyEvent); 4415*344a7f5eSAndroid Build Coastguard Worker } 4416*344a7f5eSAndroid Build Coastguard Worker 4417*344a7f5eSAndroid Build Coastguard Worker} 4418*344a7f5eSAndroid Build Coastguard Worker 4419*344a7f5eSAndroid Build Coastguard Workerpackage android.media.soundtrigger { 4420*344a7f5eSAndroid Build Coastguard Worker 4421*344a7f5eSAndroid Build Coastguard Worker public abstract class SoundTriggerDetectionService extends android.app.Service { 4422*344a7f5eSAndroid Build Coastguard Worker ctor public SoundTriggerDetectionService(); 4423*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onConnected(@NonNull java.util.UUID, @Nullable android.os.Bundle); 4424*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onDisconnected(@NonNull java.util.UUID, @Nullable android.os.Bundle); 4425*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onError(@NonNull java.util.UUID, @Nullable android.os.Bundle, int, int); 4426*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onGenericRecognitionEvent(@NonNull java.util.UUID, @Nullable android.os.Bundle, int, @NonNull android.hardware.soundtrigger.SoundTrigger.RecognitionEvent); 4427*344a7f5eSAndroid Build Coastguard Worker method @MainThread public abstract void onStopOperation(@NonNull java.util.UUID, @Nullable android.os.Bundle, int); 4428*344a7f5eSAndroid Build Coastguard Worker method public final void operationFinished(@Nullable java.util.UUID, int); 4429*344a7f5eSAndroid Build Coastguard Worker } 4430*344a7f5eSAndroid Build Coastguard Worker 4431*344a7f5eSAndroid Build Coastguard Worker public final class SoundTriggerDetector { 4432*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public boolean startRecognition(int); 4433*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public boolean stopRecognition(); 4434*344a7f5eSAndroid Build Coastguard Worker field public static final int RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS = 2; // 0x2 4435*344a7f5eSAndroid Build Coastguard Worker field public static final int RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO = 1; // 0x1 4436*344a7f5eSAndroid Build Coastguard Worker field public static final int RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION = 4; // 0x4 4437*344a7f5eSAndroid Build Coastguard Worker field public static final int RECOGNITION_FLAG_ENABLE_AUDIO_NOISE_SUPPRESSION = 8; // 0x8 4438*344a7f5eSAndroid Build Coastguard Worker } 4439*344a7f5eSAndroid Build Coastguard Worker 4440*344a7f5eSAndroid Build Coastguard Worker public abstract static class SoundTriggerDetector.Callback { 4441*344a7f5eSAndroid Build Coastguard Worker ctor public SoundTriggerDetector.Callback(); 4442*344a7f5eSAndroid Build Coastguard Worker method public abstract void onAvailabilityChanged(int); 4443*344a7f5eSAndroid Build Coastguard Worker method public abstract void onDetected(@NonNull android.media.soundtrigger.SoundTriggerDetector.EventPayload); 4444*344a7f5eSAndroid Build Coastguard Worker method public abstract void onError(); 4445*344a7f5eSAndroid Build Coastguard Worker method public abstract void onRecognitionPaused(); 4446*344a7f5eSAndroid Build Coastguard Worker method public abstract void onRecognitionResumed(); 4447*344a7f5eSAndroid Build Coastguard Worker } 4448*344a7f5eSAndroid Build Coastguard Worker 4449*344a7f5eSAndroid Build Coastguard Worker public static class SoundTriggerDetector.EventPayload { 4450*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.AudioFormat getCaptureAudioFormat(); 4451*344a7f5eSAndroid Build Coastguard Worker method @Nullable public byte[] getTriggerAudio(); 4452*344a7f5eSAndroid Build Coastguard Worker } 4453*344a7f5eSAndroid Build Coastguard Worker 4454*344a7f5eSAndroid Build Coastguard Worker public final class SoundTriggerManager { 4455*344a7f5eSAndroid Build Coastguard Worker method @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); 4456*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public void deleteModel(java.util.UUID); 4457*344a7f5eSAndroid Build Coastguard Worker method public int getDetectionServiceOperationsTimeout(); 4458*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.media.soundtrigger.SoundTriggerManager.Model getModel(java.util.UUID); 4459*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.hardware.soundtrigger.SoundTrigger.ModuleProperties getModuleProperties(); 4460*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public int getParameter(@NonNull java.util.UUID, int); 4461*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.hardware.soundtrigger.SoundTrigger.ModelParamRange queryParameter(@Nullable java.util.UUID, int); 4462*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public int setParameter(@Nullable java.util.UUID, int, int); 4463*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public void updateModel(android.media.soundtrigger.SoundTriggerManager.Model); 4464*344a7f5eSAndroid Build Coastguard Worker } 4465*344a7f5eSAndroid Build Coastguard Worker 4466*344a7f5eSAndroid Build Coastguard Worker public static class SoundTriggerManager.Model { 4467*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.soundtrigger.SoundTriggerManager.Model create(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[], int); 4468*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.soundtrigger.SoundTriggerManager.Model create(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[]); 4469*344a7f5eSAndroid Build Coastguard Worker method @Nullable public byte[] getModelData(); 4470*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.UUID getModelUuid(); 4471*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.UUID getVendorUuid(); 4472*344a7f5eSAndroid Build Coastguard Worker method public int getVersion(); 4473*344a7f5eSAndroid Build Coastguard Worker } 4474*344a7f5eSAndroid Build Coastguard Worker 4475*344a7f5eSAndroid Build Coastguard Worker} 4476*344a7f5eSAndroid Build Coastguard Worker 4477*344a7f5eSAndroid Build Coastguard Workerpackage android.media.tv { 4478*344a7f5eSAndroid Build Coastguard Worker 4479*344a7f5eSAndroid Build Coastguard Worker public final class DvbDeviceInfo implements android.os.Parcelable { 4480*344a7f5eSAndroid Build Coastguard Worker ctor public DvbDeviceInfo(int, int); 4481*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4482*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getAdapterId(); 4483*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getDeviceId(); 4484*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 4485*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.media.tv.DvbDeviceInfo> CREATOR; 4486*344a7f5eSAndroid Build Coastguard Worker } 4487*344a7f5eSAndroid Build Coastguard Worker 4488*344a7f5eSAndroid Build Coastguard Worker public final class TvContentRatingSystemInfo implements android.os.Parcelable { 4489*344a7f5eSAndroid Build Coastguard Worker method public static android.media.tv.TvContentRatingSystemInfo createTvContentRatingSystemInfo(int, android.content.pm.ApplicationInfo); 4490*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4491*344a7f5eSAndroid Build Coastguard Worker method public android.net.Uri getXmlUri(); 4492*344a7f5eSAndroid Build Coastguard Worker method public boolean isSystemDefined(); 4493*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4494*344a7f5eSAndroid Build Coastguard Worker } 4495*344a7f5eSAndroid Build Coastguard Worker 4496*344a7f5eSAndroid Build Coastguard Worker public final class TvContract { 4497*344a7f5eSAndroid Build Coastguard Worker method public static android.net.Uri buildChannelsUriForInput(@Nullable String, boolean); 4498*344a7f5eSAndroid Build Coastguard Worker method public static android.net.Uri buildChannelsUriForInput(@Nullable String, @Nullable String, boolean); 4499*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_CHANNEL_BROWSABLE_REQUESTED = "android.media.tv.action.CHANNEL_BROWSABLE_REQUESTED"; 4500*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_BLOCKED_PACKAGES = "android.media.tv.extra.BLOCKED_PACKAGES"; 4501*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_COLUMN_NAME = "android.media.tv.extra.COLUMN_NAME"; 4502*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_DATA_TYPE = "android.media.tv.extra.DATA_TYPE"; 4503*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_DEFAULT_VALUE = "android.media.tv.extra.DEFAULT_VALUE"; 4504*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_EXISTING_COLUMN_NAMES = "android.media.tv.extra.EXISTING_COLUMN_NAMES"; 4505*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PACKAGE_NAME = "android.media.tv.extra.PACKAGE_NAME"; 4506*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_RESULT_CODE = "android.media.tv.extra.RESULT_CODE"; 4507*344a7f5eSAndroid Build Coastguard Worker field public static final String METHOD_ADD_COLUMN = "add_column"; 4508*344a7f5eSAndroid Build Coastguard Worker field public static final String METHOD_BLOCK_PACKAGE = "block_package"; 4509*344a7f5eSAndroid Build Coastguard Worker field public static final String METHOD_GET_BLOCKED_PACKAGES = "get_blocked_packages"; 4510*344a7f5eSAndroid Build Coastguard Worker field public static final String METHOD_GET_COLUMNS = "get_columns"; 4511*344a7f5eSAndroid Build Coastguard Worker field public static final String METHOD_UNBLOCK_PACKAGE = "unblock_package"; 4512*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_ERROR_INVALID_ARGUMENT = 2; // 0x2 4513*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_ERROR_IO = 1; // 0x1 4514*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_OK = 0; // 0x0 4515*344a7f5eSAndroid Build Coastguard Worker } 4516*344a7f5eSAndroid Build Coastguard Worker 4517*344a7f5eSAndroid Build Coastguard Worker public static final class TvContract.WatchedPrograms implements android.media.tv.TvContract.BaseTvColumns { 4518*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_CHANNEL_ID = "channel_id"; 4519*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_DESCRIPTION = "description"; 4520*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_END_TIME_UTC_MILLIS = "end_time_utc_millis"; 4521*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_INTERNAL_SESSION_TOKEN = "session_token"; 4522*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_INTERNAL_TUNE_PARAMS = "tune_params"; 4523*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis"; 4524*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_TITLE = "title"; 4525*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_WATCH_END_TIME_UTC_MILLIS = "watch_end_time_utc_millis"; 4526*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_WATCH_START_TIME_UTC_MILLIS = "watch_start_time_utc_millis"; 4527*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/watched_program"; 4528*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTENT_TYPE = "vnd.android.cursor.dir/watched_program"; 4529*344a7f5eSAndroid Build Coastguard Worker field public static final android.net.Uri CONTENT_URI; 4530*344a7f5eSAndroid Build Coastguard Worker } 4531*344a7f5eSAndroid Build Coastguard Worker 4532*344a7f5eSAndroid Build Coastguard Worker public final class TvInputHardwareInfo implements android.os.Parcelable { 4533*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4534*344a7f5eSAndroid Build Coastguard Worker method public String getAudioAddress(); 4535*344a7f5eSAndroid Build Coastguard Worker method public int getAudioType(); 4536*344a7f5eSAndroid Build Coastguard Worker method public int getCableConnectionStatus(); 4537*344a7f5eSAndroid Build Coastguard Worker method public int getDeviceId(); 4538*344a7f5eSAndroid Build Coastguard Worker method public int getHdmiPortId(); 4539*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 4540*344a7f5eSAndroid Build Coastguard Worker method public void readFromParcel(android.os.Parcel); 4541*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4542*344a7f5eSAndroid Build Coastguard Worker field public static final int CABLE_CONNECTION_STATUS_CONNECTED = 1; // 0x1 4543*344a7f5eSAndroid Build Coastguard Worker field public static final int CABLE_CONNECTION_STATUS_DISCONNECTED = 2; // 0x2 4544*344a7f5eSAndroid Build Coastguard Worker field public static final int CABLE_CONNECTION_STATUS_UNKNOWN = 0; // 0x0 4545*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.media.tv.TvInputHardwareInfo> CREATOR; 4546*344a7f5eSAndroid Build Coastguard Worker field public static final int TV_INPUT_TYPE_COMPONENT = 6; // 0x6 4547*344a7f5eSAndroid Build Coastguard Worker field public static final int TV_INPUT_TYPE_COMPOSITE = 3; // 0x3 4548*344a7f5eSAndroid Build Coastguard Worker field public static final int TV_INPUT_TYPE_DISPLAY_PORT = 10; // 0xa 4549*344a7f5eSAndroid Build Coastguard Worker field public static final int TV_INPUT_TYPE_DVI = 8; // 0x8 4550*344a7f5eSAndroid Build Coastguard Worker field public static final int TV_INPUT_TYPE_HDMI = 9; // 0x9 4551*344a7f5eSAndroid Build Coastguard Worker field public static final int TV_INPUT_TYPE_OTHER_HARDWARE = 1; // 0x1 4552*344a7f5eSAndroid Build Coastguard Worker field public static final int TV_INPUT_TYPE_SCART = 5; // 0x5 4553*344a7f5eSAndroid Build Coastguard Worker field public static final int TV_INPUT_TYPE_SVIDEO = 4; // 0x4 4554*344a7f5eSAndroid Build Coastguard Worker field public static final int TV_INPUT_TYPE_TUNER = 2; // 0x2 4555*344a7f5eSAndroid Build Coastguard Worker field public static final int TV_INPUT_TYPE_VGA = 7; // 0x7 4556*344a7f5eSAndroid Build Coastguard Worker } 4557*344a7f5eSAndroid Build Coastguard Worker 4558*344a7f5eSAndroid Build Coastguard Worker public static final class TvInputHardwareInfo.Builder { 4559*344a7f5eSAndroid Build Coastguard Worker ctor public TvInputHardwareInfo.Builder(); 4560*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputHardwareInfo.Builder audioAddress(String); 4561*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputHardwareInfo.Builder audioType(int); 4562*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputHardwareInfo build(); 4563*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputHardwareInfo.Builder cableConnectionStatus(int); 4564*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputHardwareInfo.Builder deviceId(int); 4565*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputHardwareInfo.Builder hdmiPortId(int); 4566*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputHardwareInfo.Builder type(int); 4567*344a7f5eSAndroid Build Coastguard Worker } 4568*344a7f5eSAndroid Build Coastguard Worker 4569*344a7f5eSAndroid Build Coastguard Worker public final class TvInputInfo implements android.os.Parcelable { 4570*344a7f5eSAndroid Build Coastguard Worker 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; 4571*344a7f5eSAndroid Build Coastguard Worker 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; 4572*344a7f5eSAndroid Build Coastguard Worker 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; 4573*344a7f5eSAndroid Build Coastguard Worker 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; 4574*344a7f5eSAndroid Build Coastguard Worker method public android.hardware.hdmi.HdmiDeviceInfo getHdmiDeviceInfo(); 4575*344a7f5eSAndroid Build Coastguard Worker method public boolean isConnectedToHdmiSwitch(); 4576*344a7f5eSAndroid Build Coastguard Worker method public boolean isHardwareInput(); 4577*344a7f5eSAndroid Build Coastguard Worker method public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.Context, int); 4578*344a7f5eSAndroid Build Coastguard Worker } 4579*344a7f5eSAndroid Build Coastguard Worker 4580*344a7f5eSAndroid Build Coastguard Worker public static final class TvInputInfo.Builder { 4581*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputInfo.Builder setHdmiDeviceInfo(android.hardware.hdmi.HdmiDeviceInfo); 4582*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputInfo.Builder setIcon(android.graphics.drawable.Icon); 4583*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputInfo.Builder setIcon(android.graphics.drawable.Icon, int); 4584*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputInfo.Builder setLabel(CharSequence); 4585*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputInfo.Builder setLabel(@StringRes int); 4586*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputInfo.Builder setParentId(String); 4587*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvInputInfo.Builder setTvInputHardwareInfo(android.media.tv.TvInputHardwareInfo); 4588*344a7f5eSAndroid Build Coastguard Worker } 4589*344a7f5eSAndroid Build Coastguard Worker 4590*344a7f5eSAndroid Build Coastguard Worker public static final class TvInputInfo.TvInputSettings { 4591*344a7f5eSAndroid Build Coastguard Worker method public static java.util.Map<java.lang.String,java.lang.String> getCustomLabels(android.content.Context, int); 4592*344a7f5eSAndroid Build Coastguard Worker method public static java.util.Set<java.lang.String> getHiddenTvInputIds(android.content.Context, int); 4593*344a7f5eSAndroid Build Coastguard Worker method public static void putCustomLabels(android.content.Context, java.util.Map<java.lang.String,java.lang.String>, int); 4594*344a7f5eSAndroid Build Coastguard Worker method public static void putHiddenTvInputs(android.content.Context, java.util.Set<java.lang.String>, int); 4595*344a7f5eSAndroid Build Coastguard Worker } 4596*344a7f5eSAndroid Build Coastguard Worker 4597*344a7f5eSAndroid Build Coastguard Worker public final class TvInputManager { 4598*344a7f5eSAndroid Build Coastguard Worker 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); 4599*344a7f5eSAndroid Build Coastguard Worker 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); 4600*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void addBlockedRating(@NonNull android.media.tv.TvContentRating); 4601*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CAPTURE_TV_INPUT) public boolean captureFrame(String, android.view.Surface, android.media.tv.TvStreamConfig); 4602*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CAPTURE_TV_INPUT) public java.util.List<android.media.tv.TvStreamConfig> getAvailableTvStreamConfigList(String); 4603*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.DVB_DEVICE") public java.util.List<android.media.tv.DvbDeviceInfo> getDvbDeviceList(); 4604*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public java.util.List<android.media.tv.TvInputHardwareInfo> getHardwareList(); 4605*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_CONTENT_RATING_SYSTEMS) public java.util.List<android.media.tv.TvContentRatingSystemInfo> getTvContentRatingSystemList(); 4606*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CAPTURE_TV_INPUT) public boolean isSingleSessionActive(); 4607*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.NOTIFY_TV_INPUTS) public void notifyPreviewProgramAddedToWatchNext(String, long, long); 4608*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.NOTIFY_TV_INPUTS) public void notifyPreviewProgramBrowsableDisabled(String, long); 4609*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.NOTIFY_TV_INPUTS) public void notifyWatchNextProgramBrowsableDisabled(String, long); 4610*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission("android.permission.DVB_DEVICE") public android.os.ParcelFileDescriptor openDvbDevice(@NonNull android.media.tv.DvbDeviceInfo, int); 4611*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public void releaseTvInputHardware(int, android.media.tv.TvInputManager.Hardware); 4612*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void removeBlockedRating(@NonNull android.media.tv.TvContentRating); 4613*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void setParentalControlsEnabled(boolean); 4614*344a7f5eSAndroid Build Coastguard Worker } 4615*344a7f5eSAndroid Build Coastguard Worker 4616*344a7f5eSAndroid Build Coastguard Worker public static final class TvInputManager.Hardware { 4617*344a7f5eSAndroid Build Coastguard Worker method public void overrideAudioSink(int, String, int, int, int); 4618*344a7f5eSAndroid Build Coastguard Worker method public void setStreamVolume(float); 4619*344a7f5eSAndroid Build Coastguard Worker method public boolean setSurface(android.view.Surface, android.media.tv.TvStreamConfig); 4620*344a7f5eSAndroid Build Coastguard Worker } 4621*344a7f5eSAndroid Build Coastguard Worker 4622*344a7f5eSAndroid Build Coastguard Worker public abstract static class TvInputManager.HardwareCallback { 4623*344a7f5eSAndroid Build Coastguard Worker ctor public TvInputManager.HardwareCallback(); 4624*344a7f5eSAndroid Build Coastguard Worker method public abstract void onReleased(); 4625*344a7f5eSAndroid Build Coastguard Worker method public abstract void onStreamConfigChanged(android.media.tv.TvStreamConfig[]); 4626*344a7f5eSAndroid Build Coastguard Worker } 4627*344a7f5eSAndroid Build Coastguard Worker 4628*344a7f5eSAndroid Build Coastguard Worker public abstract class TvInputService extends android.app.Service { 4629*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.TvInputInfo onHardwareAdded(android.media.tv.TvInputHardwareInfo); 4630*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String onHardwareRemoved(android.media.tv.TvInputHardwareInfo); 4631*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.TvInputInfo onHdmiDeviceAdded(android.hardware.hdmi.HdmiDeviceInfo); 4632*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String onHdmiDeviceRemoved(android.hardware.hdmi.HdmiDeviceInfo); 4633*344a7f5eSAndroid Build Coastguard Worker method public void onHdmiDeviceUpdated(@NonNull android.hardware.hdmi.HdmiDeviceInfo); 4634*344a7f5eSAndroid Build Coastguard Worker } 4635*344a7f5eSAndroid Build Coastguard Worker 4636*344a7f5eSAndroid Build Coastguard Worker public abstract static class TvInputService.RecordingSession { 4637*344a7f5eSAndroid Build Coastguard Worker method public void notifySessionEvent(@NonNull String, android.os.Bundle); 4638*344a7f5eSAndroid Build Coastguard Worker } 4639*344a7f5eSAndroid Build Coastguard Worker 4640*344a7f5eSAndroid Build Coastguard Worker public abstract static class TvInputService.Session implements android.view.KeyEvent.Callback { 4641*344a7f5eSAndroid Build Coastguard Worker method public void notifySessionEvent(@NonNull String, android.os.Bundle); 4642*344a7f5eSAndroid Build Coastguard Worker method public void onSetMain(boolean); 4643*344a7f5eSAndroid Build Coastguard Worker } 4644*344a7f5eSAndroid Build Coastguard Worker 4645*344a7f5eSAndroid Build Coastguard Worker public abstract static class TvRecordingClient.RecordingCallback { 4646*344a7f5eSAndroid Build Coastguard Worker method public void onEvent(String, String, android.os.Bundle); 4647*344a7f5eSAndroid Build Coastguard Worker } 4648*344a7f5eSAndroid Build Coastguard Worker 4649*344a7f5eSAndroid Build Coastguard Worker public class TvStreamConfig implements android.os.Parcelable { 4650*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4651*344a7f5eSAndroid Build Coastguard Worker method public int getGeneration(); 4652*344a7f5eSAndroid Build Coastguard Worker method public int getMaxHeight(); 4653*344a7f5eSAndroid Build Coastguard Worker method public int getMaxWidth(); 4654*344a7f5eSAndroid Build Coastguard Worker method public int getStreamId(); 4655*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 4656*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4657*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.media.tv.TvStreamConfig> CREATOR; 4658*344a7f5eSAndroid Build Coastguard Worker field public static final int STREAM_TYPE_BUFFER_PRODUCER = 2; // 0x2 4659*344a7f5eSAndroid Build Coastguard Worker field public static final int STREAM_TYPE_INDEPENDENT_VIDEO_SOURCE = 1; // 0x1 4660*344a7f5eSAndroid Build Coastguard Worker } 4661*344a7f5eSAndroid Build Coastguard Worker 4662*344a7f5eSAndroid Build Coastguard Worker public static final class TvStreamConfig.Builder { 4663*344a7f5eSAndroid Build Coastguard Worker ctor public TvStreamConfig.Builder(); 4664*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvStreamConfig build(); 4665*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvStreamConfig.Builder generation(int); 4666*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvStreamConfig.Builder maxHeight(int); 4667*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvStreamConfig.Builder maxWidth(int); 4668*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvStreamConfig.Builder streamId(int); 4669*344a7f5eSAndroid Build Coastguard Worker method public android.media.tv.TvStreamConfig.Builder type(int); 4670*344a7f5eSAndroid Build Coastguard Worker } 4671*344a7f5eSAndroid Build Coastguard Worker 4672*344a7f5eSAndroid Build Coastguard Worker public class TvView extends android.view.ViewGroup { 4673*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.CHANGE_HDMI_CEC_ACTIVE_SOURCE") public void setMain(); 4674*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void unblockContent(android.media.tv.TvContentRating); 4675*344a7f5eSAndroid Build Coastguard Worker } 4676*344a7f5eSAndroid Build Coastguard Worker 4677*344a7f5eSAndroid Build Coastguard Worker public abstract static class TvView.TvInputCallback { 4678*344a7f5eSAndroid Build Coastguard Worker method public void onEvent(String, String, android.os.Bundle); 4679*344a7f5eSAndroid Build Coastguard Worker } 4680*344a7f5eSAndroid Build Coastguard Worker 4681*344a7f5eSAndroid Build Coastguard Worker} 4682*344a7f5eSAndroid Build Coastguard Worker 4683*344a7f5eSAndroid Build Coastguard Workerpackage android.media.tv.tuner { 4684*344a7f5eSAndroid Build Coastguard Worker 4685*344a7f5eSAndroid Build Coastguard Worker public class DemuxCapabilities { 4686*344a7f5eSAndroid Build Coastguard Worker method public int getAudioFilterCount(); 4687*344a7f5eSAndroid Build Coastguard Worker method public int getDemuxCount(); 4688*344a7f5eSAndroid Build Coastguard Worker method public int getFilterCapabilities(); 4689*344a7f5eSAndroid Build Coastguard Worker method @NonNull @Size(5) public int[] getLinkCapabilities(); 4690*344a7f5eSAndroid Build Coastguard Worker method public int getPcrFilterCount(); 4691*344a7f5eSAndroid Build Coastguard Worker method public int getPesFilterCount(); 4692*344a7f5eSAndroid Build Coastguard Worker method public int getPlaybackCount(); 4693*344a7f5eSAndroid Build Coastguard Worker method public int getRecordCount(); 4694*344a7f5eSAndroid Build Coastguard Worker method public int getSectionFilterCount(); 4695*344a7f5eSAndroid Build Coastguard Worker method public long getSectionFilterLength(); 4696*344a7f5eSAndroid Build Coastguard Worker method public int getTsFilterCount(); 4697*344a7f5eSAndroid Build Coastguard Worker method public int getVideoFilterCount(); 4698*344a7f5eSAndroid Build Coastguard Worker method public boolean isTimeFilterSupported(); 4699*344a7f5eSAndroid Build Coastguard Worker } 4700*344a7f5eSAndroid Build Coastguard Worker 4701*344a7f5eSAndroid Build Coastguard Worker public class Descrambler implements java.lang.AutoCloseable { 4702*344a7f5eSAndroid Build Coastguard Worker method public int addPid(int, int, @Nullable android.media.tv.tuner.filter.Filter); 4703*344a7f5eSAndroid Build Coastguard Worker method public void close(); 4704*344a7f5eSAndroid Build Coastguard Worker method public int removePid(int, int, @Nullable android.media.tv.tuner.filter.Filter); 4705*344a7f5eSAndroid Build Coastguard Worker method public int setKeyToken(@NonNull byte[]); 4706*344a7f5eSAndroid Build Coastguard Worker field public static final int PID_TYPE_MMTP = 2; // 0x2 4707*344a7f5eSAndroid Build Coastguard Worker field public static final int PID_TYPE_T = 1; // 0x1 4708*344a7f5eSAndroid Build Coastguard Worker } 4709*344a7f5eSAndroid Build Coastguard Worker 4710*344a7f5eSAndroid Build Coastguard Worker public class Lnb implements java.lang.AutoCloseable { 4711*344a7f5eSAndroid Build Coastguard Worker method public void close(); 4712*344a7f5eSAndroid Build Coastguard Worker method public int sendDiseqcMessage(@NonNull byte[]); 4713*344a7f5eSAndroid Build Coastguard Worker method public int setSatellitePosition(int); 4714*344a7f5eSAndroid Build Coastguard Worker method public int setTone(int); 4715*344a7f5eSAndroid Build Coastguard Worker method public int setVoltage(int); 4716*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_TYPE_DISEQC_RX_OVERFLOW = 0; // 0x0 4717*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_TYPE_DISEQC_RX_PARITY_ERROR = 2; // 0x2 4718*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_TYPE_DISEQC_RX_TIMEOUT = 1; // 0x1 4719*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_TYPE_LNB_OVERLOAD = 3; // 0x3 4720*344a7f5eSAndroid Build Coastguard Worker field public static final int POSITION_A = 1; // 0x1 4721*344a7f5eSAndroid Build Coastguard Worker field public static final int POSITION_B = 2; // 0x2 4722*344a7f5eSAndroid Build Coastguard Worker field public static final int POSITION_UNDEFINED = 0; // 0x0 4723*344a7f5eSAndroid Build Coastguard Worker field public static final int TONE_CONTINUOUS = 1; // 0x1 4724*344a7f5eSAndroid Build Coastguard Worker field public static final int TONE_NONE = 0; // 0x0 4725*344a7f5eSAndroid Build Coastguard Worker field public static final int VOLTAGE_11V = 2; // 0x2 4726*344a7f5eSAndroid Build Coastguard Worker field public static final int VOLTAGE_12V = 3; // 0x3 4727*344a7f5eSAndroid Build Coastguard Worker field public static final int VOLTAGE_13V = 4; // 0x4 4728*344a7f5eSAndroid Build Coastguard Worker field public static final int VOLTAGE_14V = 5; // 0x5 4729*344a7f5eSAndroid Build Coastguard Worker field public static final int VOLTAGE_15V = 6; // 0x6 4730*344a7f5eSAndroid Build Coastguard Worker field public static final int VOLTAGE_18V = 7; // 0x7 4731*344a7f5eSAndroid Build Coastguard Worker field public static final int VOLTAGE_19V = 8; // 0x8 4732*344a7f5eSAndroid Build Coastguard Worker field public static final int VOLTAGE_5V = 1; // 0x1 4733*344a7f5eSAndroid Build Coastguard Worker field public static final int VOLTAGE_NONE = 0; // 0x0 4734*344a7f5eSAndroid Build Coastguard Worker } 4735*344a7f5eSAndroid Build Coastguard Worker 4736*344a7f5eSAndroid Build Coastguard Worker public interface LnbCallback { 4737*344a7f5eSAndroid Build Coastguard Worker method public void onDiseqcMessage(@NonNull byte[]); 4738*344a7f5eSAndroid Build Coastguard Worker method public void onEvent(int); 4739*344a7f5eSAndroid Build Coastguard Worker } 4740*344a7f5eSAndroid Build Coastguard Worker 4741*344a7f5eSAndroid Build Coastguard Worker public class Tuner implements java.lang.AutoCloseable { 4742*344a7f5eSAndroid Build Coastguard Worker ctor @RequiresPermission(android.Manifest.permission.ACCESS_TV_TUNER) public Tuner(@NonNull android.content.Context, @Nullable String, int); 4743*344a7f5eSAndroid Build Coastguard Worker method public int cancelScanning(); 4744*344a7f5eSAndroid Build Coastguard Worker method public int cancelTuning(); 4745*344a7f5eSAndroid Build Coastguard Worker method public void clearOnTuneEventListener(); 4746*344a7f5eSAndroid Build Coastguard Worker method public void clearResourceLostListener(); 4747*344a7f5eSAndroid Build Coastguard Worker method public void close(); 4748*344a7f5eSAndroid Build Coastguard Worker method public int connectCiCam(int); 4749*344a7f5eSAndroid Build Coastguard Worker method public int disconnectCiCam(); 4750*344a7f5eSAndroid Build Coastguard Worker method public int getAvSyncHwId(@NonNull android.media.tv.tuner.filter.Filter); 4751*344a7f5eSAndroid Build Coastguard Worker method public long getAvSyncTime(int); 4752*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.tuner.DemuxCapabilities getDemuxCapabilities(); 4753*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.tuner.frontend.FrontendInfo getFrontendInfo(); 4754*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.tuner.frontend.FrontendStatus getFrontendStatus(@NonNull int[]); 4755*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_TV_DESCRAMBLER) public android.media.tv.tuner.Descrambler openDescrambler(); 4756*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.tuner.dvr.DvrPlayback openDvrPlayback(long, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.dvr.OnPlaybackStatusChangedListener); 4757*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.tuner.dvr.DvrRecorder openDvrRecorder(long, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.dvr.OnRecordStatusChangedListener); 4758*344a7f5eSAndroid Build Coastguard Worker 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); 4759*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.tuner.Lnb openLnb(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.LnbCallback); 4760*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.tuner.Lnb openLnbByName(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.LnbCallback); 4761*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.tuner.filter.TimeFilter openTimeFilter(); 4762*344a7f5eSAndroid Build Coastguard Worker method public int scan(@NonNull android.media.tv.tuner.frontend.FrontendSettings, int, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.frontend.ScanCallback); 4763*344a7f5eSAndroid Build Coastguard Worker method public int setLnaEnabled(boolean); 4764*344a7f5eSAndroid Build Coastguard Worker method public void setOnTuneEventListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.frontend.OnTuneEventListener); 4765*344a7f5eSAndroid Build Coastguard Worker method public void setResourceLostListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.Tuner.OnResourceLostListener); 4766*344a7f5eSAndroid Build Coastguard Worker method public void shareFrontendFromTuner(@NonNull android.media.tv.tuner.Tuner); 4767*344a7f5eSAndroid Build Coastguard Worker method public int tune(@NonNull android.media.tv.tuner.frontend.FrontendSettings); 4768*344a7f5eSAndroid Build Coastguard Worker method public void updateResourcePriority(int, int); 4769*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_AV_SYNC_ID = -1; // 0xffffffff 4770*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_FILTER_ID = -1; // 0xffffffff 4771*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_STREAM_ID = 65535; // 0xffff 4772*344a7f5eSAndroid Build Coastguard Worker field public static final long INVALID_TIMESTAMP = -1L; // 0xffffffffffffffffL 4773*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_TS_PID = 65535; // 0xffff 4774*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_INVALID_ARGUMENT = 4; // 0x4 4775*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_INVALID_STATE = 3; // 0x3 4776*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_NOT_INITIALIZED = 2; // 0x2 4777*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_OUT_OF_MEMORY = 5; // 0x5 4778*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_SUCCESS = 0; // 0x0 4779*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_UNAVAILABLE = 1; // 0x1 4780*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_UNKNOWN_ERROR = 6; // 0x6 4781*344a7f5eSAndroid Build Coastguard Worker field public static final int SCAN_TYPE_AUTO = 1; // 0x1 4782*344a7f5eSAndroid Build Coastguard Worker field public static final int SCAN_TYPE_BLIND = 2; // 0x2 4783*344a7f5eSAndroid Build Coastguard Worker field public static final int SCAN_TYPE_UNDEFINED = 0; // 0x0 4784*344a7f5eSAndroid Build Coastguard Worker } 4785*344a7f5eSAndroid Build Coastguard Worker 4786*344a7f5eSAndroid Build Coastguard Worker public static interface Tuner.OnResourceLostListener { 4787*344a7f5eSAndroid Build Coastguard Worker method public void onResourceLost(@NonNull android.media.tv.tuner.Tuner); 4788*344a7f5eSAndroid Build Coastguard Worker } 4789*344a7f5eSAndroid Build Coastguard Worker 4790*344a7f5eSAndroid Build Coastguard Worker} 4791*344a7f5eSAndroid Build Coastguard Worker 4792*344a7f5eSAndroid Build Coastguard Workerpackage android.media.tv.tuner.dvr { 4793*344a7f5eSAndroid Build Coastguard Worker 4794*344a7f5eSAndroid Build Coastguard Worker public class DvrPlayback implements java.lang.AutoCloseable { 4795*344a7f5eSAndroid Build Coastguard Worker method public int attachFilter(@NonNull android.media.tv.tuner.filter.Filter); 4796*344a7f5eSAndroid Build Coastguard Worker method public void close(); 4797*344a7f5eSAndroid Build Coastguard Worker method public int configure(@NonNull android.media.tv.tuner.dvr.DvrSettings); 4798*344a7f5eSAndroid Build Coastguard Worker method public int detachFilter(@NonNull android.media.tv.tuner.filter.Filter); 4799*344a7f5eSAndroid Build Coastguard Worker method public int flush(); 4800*344a7f5eSAndroid Build Coastguard Worker method public long read(long); 4801*344a7f5eSAndroid Build Coastguard Worker method public long read(@NonNull byte[], long, long); 4802*344a7f5eSAndroid Build Coastguard Worker method public void setFileDescriptor(@NonNull android.os.ParcelFileDescriptor); 4803*344a7f5eSAndroid Build Coastguard Worker method public int start(); 4804*344a7f5eSAndroid Build Coastguard Worker method public int stop(); 4805*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYBACK_STATUS_ALMOST_EMPTY = 2; // 0x2 4806*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYBACK_STATUS_ALMOST_FULL = 4; // 0x4 4807*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYBACK_STATUS_EMPTY = 1; // 0x1 4808*344a7f5eSAndroid Build Coastguard Worker field public static final int PLAYBACK_STATUS_FULL = 8; // 0x8 4809*344a7f5eSAndroid Build Coastguard Worker } 4810*344a7f5eSAndroid Build Coastguard Worker 4811*344a7f5eSAndroid Build Coastguard Worker public class DvrRecorder implements java.lang.AutoCloseable { 4812*344a7f5eSAndroid Build Coastguard Worker method public int attachFilter(@NonNull android.media.tv.tuner.filter.Filter); 4813*344a7f5eSAndroid Build Coastguard Worker method public void close(); 4814*344a7f5eSAndroid Build Coastguard Worker method public int configure(@NonNull android.media.tv.tuner.dvr.DvrSettings); 4815*344a7f5eSAndroid Build Coastguard Worker method public int detachFilter(@NonNull android.media.tv.tuner.filter.Filter); 4816*344a7f5eSAndroid Build Coastguard Worker method public int flush(); 4817*344a7f5eSAndroid Build Coastguard Worker method public void setFileDescriptor(@NonNull android.os.ParcelFileDescriptor); 4818*344a7f5eSAndroid Build Coastguard Worker method public int start(); 4819*344a7f5eSAndroid Build Coastguard Worker method public int stop(); 4820*344a7f5eSAndroid Build Coastguard Worker method public long write(long); 4821*344a7f5eSAndroid Build Coastguard Worker method public long write(@NonNull byte[], long, long); 4822*344a7f5eSAndroid Build Coastguard Worker } 4823*344a7f5eSAndroid Build Coastguard Worker 4824*344a7f5eSAndroid Build Coastguard Worker public class DvrSettings { 4825*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.dvr.DvrSettings.Builder builder(); 4826*344a7f5eSAndroid Build Coastguard Worker method public int getDataFormat(); 4827*344a7f5eSAndroid Build Coastguard Worker method public long getHighThreshold(); 4828*344a7f5eSAndroid Build Coastguard Worker method public long getLowThreshold(); 4829*344a7f5eSAndroid Build Coastguard Worker method public long getPacketSize(); 4830*344a7f5eSAndroid Build Coastguard Worker method public int getStatusMask(); 4831*344a7f5eSAndroid Build Coastguard Worker field public static final int DATA_FORMAT_ES = 2; // 0x2 4832*344a7f5eSAndroid Build Coastguard Worker field public static final int DATA_FORMAT_PES = 1; // 0x1 4833*344a7f5eSAndroid Build Coastguard Worker field public static final int DATA_FORMAT_SHV_TLV = 3; // 0x3 4834*344a7f5eSAndroid Build Coastguard Worker field public static final int DATA_FORMAT_TS = 0; // 0x0 4835*344a7f5eSAndroid Build Coastguard Worker } 4836*344a7f5eSAndroid Build Coastguard Worker 4837*344a7f5eSAndroid Build Coastguard Worker public static final class DvrSettings.Builder { 4838*344a7f5eSAndroid Build Coastguard Worker ctor public DvrSettings.Builder(); 4839*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.dvr.DvrSettings build(); 4840*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setDataFormat(int); 4841*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setHighThreshold(long); 4842*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setLowThreshold(long); 4843*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setPacketSize(long); 4844*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setStatusMask(int); 4845*344a7f5eSAndroid Build Coastguard Worker } 4846*344a7f5eSAndroid Build Coastguard Worker 4847*344a7f5eSAndroid Build Coastguard Worker public interface OnPlaybackStatusChangedListener { 4848*344a7f5eSAndroid Build Coastguard Worker method public void onPlaybackStatusChanged(int); 4849*344a7f5eSAndroid Build Coastguard Worker } 4850*344a7f5eSAndroid Build Coastguard Worker 4851*344a7f5eSAndroid Build Coastguard Worker public interface OnRecordStatusChangedListener { 4852*344a7f5eSAndroid Build Coastguard Worker method public void onRecordStatusChanged(int); 4853*344a7f5eSAndroid Build Coastguard Worker } 4854*344a7f5eSAndroid Build Coastguard Worker 4855*344a7f5eSAndroid Build Coastguard Worker} 4856*344a7f5eSAndroid Build Coastguard Worker 4857*344a7f5eSAndroid Build Coastguard Workerpackage android.media.tv.tuner.filter { 4858*344a7f5eSAndroid Build Coastguard Worker 4859*344a7f5eSAndroid Build Coastguard Worker public final class AlpFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration { 4860*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.filter.AlpFilterConfiguration.Builder builder(); 4861*344a7f5eSAndroid Build Coastguard Worker method public int getLengthType(); 4862*344a7f5eSAndroid Build Coastguard Worker method public int getPacketType(); 4863*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 4864*344a7f5eSAndroid Build Coastguard Worker field public static final int LENGTH_TYPE_UNDEFINED = 0; // 0x0 4865*344a7f5eSAndroid Build Coastguard Worker field public static final int LENGTH_TYPE_WITHOUT_ADDITIONAL_HEADER = 1; // 0x1 4866*344a7f5eSAndroid Build Coastguard Worker field public static final int LENGTH_TYPE_WITH_ADDITIONAL_HEADER = 2; // 0x2 4867*344a7f5eSAndroid Build Coastguard Worker field public static final int PACKET_TYPE_COMPRESSED = 2; // 0x2 4868*344a7f5eSAndroid Build Coastguard Worker field public static final int PACKET_TYPE_EXTENSION = 6; // 0x6 4869*344a7f5eSAndroid Build Coastguard Worker field public static final int PACKET_TYPE_IPV4 = 0; // 0x0 4870*344a7f5eSAndroid Build Coastguard Worker field public static final int PACKET_TYPE_MPEG2_TS = 7; // 0x7 4871*344a7f5eSAndroid Build Coastguard Worker field public static final int PACKET_TYPE_SIGNALING = 4; // 0x4 4872*344a7f5eSAndroid Build Coastguard Worker } 4873*344a7f5eSAndroid Build Coastguard Worker 4874*344a7f5eSAndroid Build Coastguard Worker public static final class AlpFilterConfiguration.Builder { 4875*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration build(); 4876*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration.Builder setLengthType(int); 4877*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration.Builder setPacketType(int); 4878*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings); 4879*344a7f5eSAndroid Build Coastguard Worker } 4880*344a7f5eSAndroid Build Coastguard Worker 4881*344a7f5eSAndroid Build Coastguard Worker public class AudioDescriptor { 4882*344a7f5eSAndroid Build Coastguard Worker method public byte getAdFade(); 4883*344a7f5eSAndroid Build Coastguard Worker method public byte getAdGainCenter(); 4884*344a7f5eSAndroid Build Coastguard Worker method public byte getAdGainFront(); 4885*344a7f5eSAndroid Build Coastguard Worker method public byte getAdGainSurround(); 4886*344a7f5eSAndroid Build Coastguard Worker method public byte getAdPan(); 4887*344a7f5eSAndroid Build Coastguard Worker method public char getAdVersionTextTag(); 4888*344a7f5eSAndroid Build Coastguard Worker } 4889*344a7f5eSAndroid Build Coastguard Worker 4890*344a7f5eSAndroid Build Coastguard Worker public class AvSettings extends android.media.tv.tuner.filter.Settings { 4891*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.filter.AvSettings.Builder builder(int, boolean); 4892*344a7f5eSAndroid Build Coastguard Worker method public boolean isPassthrough(); 4893*344a7f5eSAndroid Build Coastguard Worker } 4894*344a7f5eSAndroid Build Coastguard Worker 4895*344a7f5eSAndroid Build Coastguard Worker public static class AvSettings.Builder { 4896*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.AvSettings build(); 4897*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.AvSettings.Builder setPassthrough(boolean); 4898*344a7f5eSAndroid Build Coastguard Worker } 4899*344a7f5eSAndroid Build Coastguard Worker 4900*344a7f5eSAndroid Build Coastguard Worker public class DownloadEvent extends android.media.tv.tuner.filter.FilterEvent { 4901*344a7f5eSAndroid Build Coastguard Worker method public int getDataLength(); 4902*344a7f5eSAndroid Build Coastguard Worker method public int getItemFragmentIndex(); 4903*344a7f5eSAndroid Build Coastguard Worker method public int getItemId(); 4904*344a7f5eSAndroid Build Coastguard Worker method public int getLastItemFragmentIndex(); 4905*344a7f5eSAndroid Build Coastguard Worker method public int getMpuSequenceNumber(); 4906*344a7f5eSAndroid Build Coastguard Worker } 4907*344a7f5eSAndroid Build Coastguard Worker 4908*344a7f5eSAndroid Build Coastguard Worker public class DownloadSettings extends android.media.tv.tuner.filter.Settings { 4909*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.filter.DownloadSettings.Builder builder(int); 4910*344a7f5eSAndroid Build Coastguard Worker method public int getDownloadId(); 4911*344a7f5eSAndroid Build Coastguard Worker } 4912*344a7f5eSAndroid Build Coastguard Worker 4913*344a7f5eSAndroid Build Coastguard Worker public static class DownloadSettings.Builder { 4914*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.DownloadSettings build(); 4915*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.DownloadSettings.Builder setDownloadId(int); 4916*344a7f5eSAndroid Build Coastguard Worker } 4917*344a7f5eSAndroid Build Coastguard Worker 4918*344a7f5eSAndroid Build Coastguard Worker public class Filter implements java.lang.AutoCloseable { 4919*344a7f5eSAndroid Build Coastguard Worker method public void close(); 4920*344a7f5eSAndroid Build Coastguard Worker method public int configure(@NonNull android.media.tv.tuner.filter.FilterConfiguration); 4921*344a7f5eSAndroid Build Coastguard Worker method public int flush(); 4922*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 4923*344a7f5eSAndroid Build Coastguard Worker method public int read(@NonNull byte[], long, long); 4924*344a7f5eSAndroid Build Coastguard Worker method public int setDataSource(@Nullable android.media.tv.tuner.filter.Filter); 4925*344a7f5eSAndroid Build Coastguard Worker method public int start(); 4926*344a7f5eSAndroid Build Coastguard Worker method public int stop(); 4927*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_DATA_READY = 1; // 0x1 4928*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_HIGH_WATER = 4; // 0x4 4929*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_LOW_WATER = 2; // 0x2 4930*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_OVERFLOW = 8; // 0x8 4931*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_AUDIO = 3; // 0x3 4932*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_DOWNLOAD = 5; // 0x5 4933*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_IP = 13; // 0xd 4934*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_IP_PAYLOAD = 12; // 0xc 4935*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_MMTP = 10; // 0xa 4936*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_NTP = 11; // 0xb 4937*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_PAYLOAD_THROUGH = 14; // 0xe 4938*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_PCR = 8; // 0x8 4939*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_PES = 2; // 0x2 4940*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_PTP = 16; // 0x10 4941*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_RECORD = 6; // 0x6 4942*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_SECTION = 1; // 0x1 4943*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_TEMI = 9; // 0x9 4944*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_TLV = 15; // 0xf 4945*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_TS = 7; // 0x7 4946*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_UNDEFINED = 0; // 0x0 4947*344a7f5eSAndroid Build Coastguard Worker field public static final int SUBTYPE_VIDEO = 4; // 0x4 4948*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ALP = 16; // 0x10 4949*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_IP = 4; // 0x4 4950*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_MMTP = 2; // 0x2 4951*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_TLV = 8; // 0x8 4952*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_TS = 1; // 0x1 4953*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_UNDEFINED = 0; // 0x0 4954*344a7f5eSAndroid Build Coastguard Worker } 4955*344a7f5eSAndroid Build Coastguard Worker 4956*344a7f5eSAndroid Build Coastguard Worker public interface FilterCallback { 4957*344a7f5eSAndroid Build Coastguard Worker method public void onFilterEvent(@NonNull android.media.tv.tuner.filter.Filter, @NonNull android.media.tv.tuner.filter.FilterEvent[]); 4958*344a7f5eSAndroid Build Coastguard Worker method public void onFilterStatusChanged(@NonNull android.media.tv.tuner.filter.Filter, int); 4959*344a7f5eSAndroid Build Coastguard Worker } 4960*344a7f5eSAndroid Build Coastguard Worker 4961*344a7f5eSAndroid Build Coastguard Worker public abstract class FilterConfiguration { 4962*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.tuner.filter.Settings getSettings(); 4963*344a7f5eSAndroid Build Coastguard Worker method public abstract int getType(); 4964*344a7f5eSAndroid Build Coastguard Worker } 4965*344a7f5eSAndroid Build Coastguard Worker 4966*344a7f5eSAndroid Build Coastguard Worker public abstract class FilterEvent { 4967*344a7f5eSAndroid Build Coastguard Worker ctor public FilterEvent(); 4968*344a7f5eSAndroid Build Coastguard Worker } 4969*344a7f5eSAndroid Build Coastguard Worker 4970*344a7f5eSAndroid Build Coastguard Worker public final class IpFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration { 4971*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.filter.IpFilterConfiguration.Builder builder(); 4972*344a7f5eSAndroid Build Coastguard Worker method @NonNull @Size(min=4, max=16) public byte[] getDstIpAddress(); 4973*344a7f5eSAndroid Build Coastguard Worker method public int getDstPort(); 4974*344a7f5eSAndroid Build Coastguard Worker method @NonNull @Size(min=4, max=16) public byte[] getSrcIpAddress(); 4975*344a7f5eSAndroid Build Coastguard Worker method public int getSrcPort(); 4976*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 4977*344a7f5eSAndroid Build Coastguard Worker method public boolean isPassthrough(); 4978*344a7f5eSAndroid Build Coastguard Worker } 4979*344a7f5eSAndroid Build Coastguard Worker 4980*344a7f5eSAndroid Build Coastguard Worker public static final class IpFilterConfiguration.Builder { 4981*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration build(); 4982*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setDstIpAddress(@NonNull byte[]); 4983*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setDstPort(int); 4984*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setPassthrough(boolean); 4985*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings); 4986*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setSrcIpAddress(@NonNull byte[]); 4987*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setSrcPort(int); 4988*344a7f5eSAndroid Build Coastguard Worker } 4989*344a7f5eSAndroid Build Coastguard Worker 4990*344a7f5eSAndroid Build Coastguard Worker public class IpPayloadEvent extends android.media.tv.tuner.filter.FilterEvent { 4991*344a7f5eSAndroid Build Coastguard Worker method public int getDataLength(); 4992*344a7f5eSAndroid Build Coastguard Worker } 4993*344a7f5eSAndroid Build Coastguard Worker 4994*344a7f5eSAndroid Build Coastguard Worker public class MediaEvent extends android.media.tv.tuner.filter.FilterEvent { 4995*344a7f5eSAndroid Build Coastguard Worker method public long getAudioHandle(); 4996*344a7f5eSAndroid Build Coastguard Worker method public long getAvDataId(); 4997*344a7f5eSAndroid Build Coastguard Worker method public long getDataLength(); 4998*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.tuner.filter.AudioDescriptor getExtraMetaData(); 4999*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.MediaCodec.LinearBlock getLinearBlock(); 5000*344a7f5eSAndroid Build Coastguard Worker method public int getMpuSequenceNumber(); 5001*344a7f5eSAndroid Build Coastguard Worker method public long getOffset(); 5002*344a7f5eSAndroid Build Coastguard Worker method public long getPts(); 5003*344a7f5eSAndroid Build Coastguard Worker method public int getStreamId(); 5004*344a7f5eSAndroid Build Coastguard Worker method public boolean isPrivateData(); 5005*344a7f5eSAndroid Build Coastguard Worker method public boolean isPtsPresent(); 5006*344a7f5eSAndroid Build Coastguard Worker method public boolean isSecureMemory(); 5007*344a7f5eSAndroid Build Coastguard Worker } 5008*344a7f5eSAndroid Build Coastguard Worker 5009*344a7f5eSAndroid Build Coastguard Worker public final class MmtpFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration { 5010*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.filter.MmtpFilterConfiguration.Builder builder(); 5011*344a7f5eSAndroid Build Coastguard Worker method public int getMmtpPacketId(); 5012*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5013*344a7f5eSAndroid Build Coastguard Worker } 5014*344a7f5eSAndroid Build Coastguard Worker 5015*344a7f5eSAndroid Build Coastguard Worker public static final class MmtpFilterConfiguration.Builder { 5016*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.MmtpFilterConfiguration build(); 5017*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.MmtpFilterConfiguration.Builder setMmtpPacketId(int); 5018*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.MmtpFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings); 5019*344a7f5eSAndroid Build Coastguard Worker } 5020*344a7f5eSAndroid Build Coastguard Worker 5021*344a7f5eSAndroid Build Coastguard Worker public class MmtpRecordEvent extends android.media.tv.tuner.filter.FilterEvent { 5022*344a7f5eSAndroid Build Coastguard Worker method public long getDataLength(); 5023*344a7f5eSAndroid Build Coastguard Worker method public int getScHevcIndexMask(); 5024*344a7f5eSAndroid Build Coastguard Worker } 5025*344a7f5eSAndroid Build Coastguard Worker 5026*344a7f5eSAndroid Build Coastguard Worker public class PesEvent extends android.media.tv.tuner.filter.FilterEvent { 5027*344a7f5eSAndroid Build Coastguard Worker method public int getDataLength(); 5028*344a7f5eSAndroid Build Coastguard Worker method public int getMpuSequenceNumber(); 5029*344a7f5eSAndroid Build Coastguard Worker method public int getStreamId(); 5030*344a7f5eSAndroid Build Coastguard Worker } 5031*344a7f5eSAndroid Build Coastguard Worker 5032*344a7f5eSAndroid Build Coastguard Worker public class PesSettings extends android.media.tv.tuner.filter.Settings { 5033*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.filter.PesSettings.Builder builder(int); 5034*344a7f5eSAndroid Build Coastguard Worker method public int getStreamId(); 5035*344a7f5eSAndroid Build Coastguard Worker method public boolean isRaw(); 5036*344a7f5eSAndroid Build Coastguard Worker } 5037*344a7f5eSAndroid Build Coastguard Worker 5038*344a7f5eSAndroid Build Coastguard Worker public static class PesSettings.Builder { 5039*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.PesSettings build(); 5040*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.PesSettings.Builder setRaw(boolean); 5041*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.PesSettings.Builder setStreamId(int); 5042*344a7f5eSAndroid Build Coastguard Worker } 5043*344a7f5eSAndroid Build Coastguard Worker 5044*344a7f5eSAndroid Build Coastguard Worker public class RecordSettings extends android.media.tv.tuner.filter.Settings { 5045*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.filter.RecordSettings.Builder builder(int); 5046*344a7f5eSAndroid Build Coastguard Worker method public int getScIndexMask(); 5047*344a7f5eSAndroid Build Coastguard Worker method public int getScIndexType(); 5048*344a7f5eSAndroid Build Coastguard Worker method public int getTsIndexMask(); 5049*344a7f5eSAndroid Build Coastguard Worker field public static final int INDEX_TYPE_NONE = 0; // 0x0 5050*344a7f5eSAndroid Build Coastguard Worker field public static final int INDEX_TYPE_SC = 1; // 0x1 5051*344a7f5eSAndroid Build Coastguard Worker field public static final int INDEX_TYPE_SC_HEVC = 2; // 0x2 5052*344a7f5eSAndroid Build Coastguard Worker field public static final int SC_HEVC_INDEX_AUD = 2; // 0x2 5053*344a7f5eSAndroid Build Coastguard Worker field public static final int SC_HEVC_INDEX_SLICE_BLA_N_LP = 16; // 0x10 5054*344a7f5eSAndroid Build Coastguard Worker field public static final int SC_HEVC_INDEX_SLICE_BLA_W_RADL = 8; // 0x8 5055*344a7f5eSAndroid Build Coastguard Worker field public static final int SC_HEVC_INDEX_SLICE_CE_BLA_W_LP = 4; // 0x4 5056*344a7f5eSAndroid Build Coastguard Worker field public static final int SC_HEVC_INDEX_SLICE_IDR_N_LP = 64; // 0x40 5057*344a7f5eSAndroid Build Coastguard Worker field public static final int SC_HEVC_INDEX_SLICE_IDR_W_RADL = 32; // 0x20 5058*344a7f5eSAndroid Build Coastguard Worker field public static final int SC_HEVC_INDEX_SLICE_TRAIL_CRA = 128; // 0x80 5059*344a7f5eSAndroid Build Coastguard Worker field public static final int SC_HEVC_INDEX_SPS = 1; // 0x1 5060*344a7f5eSAndroid Build Coastguard Worker field public static final int SC_INDEX_B_FRAME = 4; // 0x4 5061*344a7f5eSAndroid Build Coastguard Worker field public static final int SC_INDEX_I_FRAME = 1; // 0x1 5062*344a7f5eSAndroid Build Coastguard Worker field public static final int SC_INDEX_P_FRAME = 2; // 0x2 5063*344a7f5eSAndroid Build Coastguard Worker field public static final int SC_INDEX_SEQUENCE = 8; // 0x8 5064*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_ADAPTATION_EXTENSION_FLAG = 4096; // 0x1000 5065*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_CHANGE_TO_EVEN_SCRAMBLED = 8; // 0x8 5066*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_CHANGE_TO_NOT_SCRAMBLED = 4; // 0x4 5067*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_CHANGE_TO_ODD_SCRAMBLED = 16; // 0x10 5068*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_DISCONTINUITY_INDICATOR = 32; // 0x20 5069*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_FIRST_PACKET = 1; // 0x1 5070*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_OPCR_FLAG = 512; // 0x200 5071*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_PAYLOAD_UNIT_START_INDICATOR = 2; // 0x2 5072*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_PCR_FLAG = 256; // 0x100 5073*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_PRIORITY_INDICATOR = 128; // 0x80 5074*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_PRIVATE_DATA = 2048; // 0x800 5075*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_RANDOM_ACCESS_INDICATOR = 64; // 0x40 5076*344a7f5eSAndroid Build Coastguard Worker field public static final int TS_INDEX_SPLICING_POINT_FLAG = 1024; // 0x400 5077*344a7f5eSAndroid Build Coastguard Worker } 5078*344a7f5eSAndroid Build Coastguard Worker 5079*344a7f5eSAndroid Build Coastguard Worker public static class RecordSettings.Builder { 5080*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.RecordSettings build(); 5081*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.RecordSettings.Builder setScIndexMask(int); 5082*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.RecordSettings.Builder setScIndexType(int); 5083*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.RecordSettings.Builder setTsIndexMask(int); 5084*344a7f5eSAndroid Build Coastguard Worker } 5085*344a7f5eSAndroid Build Coastguard Worker 5086*344a7f5eSAndroid Build Coastguard Worker public class SectionEvent extends android.media.tv.tuner.filter.FilterEvent { 5087*344a7f5eSAndroid Build Coastguard Worker method public int getDataLength(); 5088*344a7f5eSAndroid Build Coastguard Worker method public int getSectionNumber(); 5089*344a7f5eSAndroid Build Coastguard Worker method public int getTableId(); 5090*344a7f5eSAndroid Build Coastguard Worker method public int getVersion(); 5091*344a7f5eSAndroid Build Coastguard Worker } 5092*344a7f5eSAndroid Build Coastguard Worker 5093*344a7f5eSAndroid Build Coastguard Worker public abstract class SectionSettings extends android.media.tv.tuner.filter.Settings { 5094*344a7f5eSAndroid Build Coastguard Worker method public boolean isCrcEnabled(); 5095*344a7f5eSAndroid Build Coastguard Worker method public boolean isRaw(); 5096*344a7f5eSAndroid Build Coastguard Worker method public boolean isRepeat(); 5097*344a7f5eSAndroid Build Coastguard Worker } 5098*344a7f5eSAndroid Build Coastguard Worker 5099*344a7f5eSAndroid Build Coastguard Worker public abstract static class SectionSettings.Builder<T extends android.media.tv.tuner.filter.SectionSettings.Builder<T>> { 5100*344a7f5eSAndroid Build Coastguard Worker method @NonNull public T setCrcEnabled(boolean); 5101*344a7f5eSAndroid Build Coastguard Worker method @NonNull public T setRaw(boolean); 5102*344a7f5eSAndroid Build Coastguard Worker method @NonNull public T setRepeat(boolean); 5103*344a7f5eSAndroid Build Coastguard Worker } 5104*344a7f5eSAndroid Build Coastguard Worker 5105*344a7f5eSAndroid Build Coastguard Worker public class SectionSettingsWithSectionBits extends android.media.tv.tuner.filter.SectionSettings { 5106*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder builder(int); 5107*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getFilterBytes(); 5108*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getMask(); 5109*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getMode(); 5110*344a7f5eSAndroid Build Coastguard Worker } 5111*344a7f5eSAndroid Build Coastguard Worker 5112*344a7f5eSAndroid Build Coastguard Worker public static class SectionSettingsWithSectionBits.Builder extends android.media.tv.tuner.filter.SectionSettings.Builder<android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder> { 5113*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits build(); 5114*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder setFilter(@NonNull byte[]); 5115*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder setMask(@NonNull byte[]); 5116*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder setMode(@NonNull byte[]); 5117*344a7f5eSAndroid Build Coastguard Worker } 5118*344a7f5eSAndroid Build Coastguard Worker 5119*344a7f5eSAndroid Build Coastguard Worker public class SectionSettingsWithTableInfo extends android.media.tv.tuner.filter.SectionSettings { 5120*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder builder(int); 5121*344a7f5eSAndroid Build Coastguard Worker method public int getTableId(); 5122*344a7f5eSAndroid Build Coastguard Worker method public int getVersion(); 5123*344a7f5eSAndroid Build Coastguard Worker } 5124*344a7f5eSAndroid Build Coastguard Worker 5125*344a7f5eSAndroid Build Coastguard Worker public static class SectionSettingsWithTableInfo.Builder extends android.media.tv.tuner.filter.SectionSettings.Builder<android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder> { 5126*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithTableInfo build(); 5127*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder setTableId(int); 5128*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder setVersion(int); 5129*344a7f5eSAndroid Build Coastguard Worker } 5130*344a7f5eSAndroid Build Coastguard Worker 5131*344a7f5eSAndroid Build Coastguard Worker public abstract class Settings { 5132*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5133*344a7f5eSAndroid Build Coastguard Worker } 5134*344a7f5eSAndroid Build Coastguard Worker 5135*344a7f5eSAndroid Build Coastguard Worker public class TemiEvent extends android.media.tv.tuner.filter.FilterEvent { 5136*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getDescriptorData(); 5137*344a7f5eSAndroid Build Coastguard Worker method public byte getDescriptorTag(); 5138*344a7f5eSAndroid Build Coastguard Worker method public long getPts(); 5139*344a7f5eSAndroid Build Coastguard Worker } 5140*344a7f5eSAndroid Build Coastguard Worker 5141*344a7f5eSAndroid Build Coastguard Worker public class TimeFilter implements java.lang.AutoCloseable { 5142*344a7f5eSAndroid Build Coastguard Worker method public int clearTimestamp(); 5143*344a7f5eSAndroid Build Coastguard Worker method public void close(); 5144*344a7f5eSAndroid Build Coastguard Worker method public long getSourceTime(); 5145*344a7f5eSAndroid Build Coastguard Worker method public long getTimeStamp(); 5146*344a7f5eSAndroid Build Coastguard Worker method public int setCurrentTimestamp(long); 5147*344a7f5eSAndroid Build Coastguard Worker } 5148*344a7f5eSAndroid Build Coastguard Worker 5149*344a7f5eSAndroid Build Coastguard Worker public final class TlvFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration { 5150*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.filter.TlvFilterConfiguration.Builder builder(); 5151*344a7f5eSAndroid Build Coastguard Worker method public int getPacketType(); 5152*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5153*344a7f5eSAndroid Build Coastguard Worker method public boolean isCompressedIpPacket(); 5154*344a7f5eSAndroid Build Coastguard Worker method public boolean isPassthrough(); 5155*344a7f5eSAndroid Build Coastguard Worker field public static final int PACKET_TYPE_COMPRESSED = 3; // 0x3 5156*344a7f5eSAndroid Build Coastguard Worker field public static final int PACKET_TYPE_IPV4 = 1; // 0x1 5157*344a7f5eSAndroid Build Coastguard Worker field public static final int PACKET_TYPE_IPV6 = 2; // 0x2 5158*344a7f5eSAndroid Build Coastguard Worker field public static final int PACKET_TYPE_NULL = 255; // 0xff 5159*344a7f5eSAndroid Build Coastguard Worker field public static final int PACKET_TYPE_SIGNALING = 254; // 0xfe 5160*344a7f5eSAndroid Build Coastguard Worker } 5161*344a7f5eSAndroid Build Coastguard Worker 5162*344a7f5eSAndroid Build Coastguard Worker public static final class TlvFilterConfiguration.Builder { 5163*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration build(); 5164*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setCompressedIpPacket(boolean); 5165*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setPacketType(int); 5166*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setPassthrough(boolean); 5167*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings); 5168*344a7f5eSAndroid Build Coastguard Worker } 5169*344a7f5eSAndroid Build Coastguard Worker 5170*344a7f5eSAndroid Build Coastguard Worker public final class TsFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration { 5171*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.filter.TsFilterConfiguration.Builder builder(); 5172*344a7f5eSAndroid Build Coastguard Worker method public int getTpid(); 5173*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5174*344a7f5eSAndroid Build Coastguard Worker } 5175*344a7f5eSAndroid Build Coastguard Worker 5176*344a7f5eSAndroid Build Coastguard Worker public static final class TsFilterConfiguration.Builder { 5177*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.TsFilterConfiguration build(); 5178*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.TsFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings); 5179*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.filter.TsFilterConfiguration.Builder setTpid(int); 5180*344a7f5eSAndroid Build Coastguard Worker } 5181*344a7f5eSAndroid Build Coastguard Worker 5182*344a7f5eSAndroid Build Coastguard Worker public class TsRecordEvent extends android.media.tv.tuner.filter.FilterEvent { 5183*344a7f5eSAndroid Build Coastguard Worker method public long getDataLength(); 5184*344a7f5eSAndroid Build Coastguard Worker method public int getPacketId(); 5185*344a7f5eSAndroid Build Coastguard Worker method public int getScIndexMask(); 5186*344a7f5eSAndroid Build Coastguard Worker method public int getTsIndexMask(); 5187*344a7f5eSAndroid Build Coastguard Worker } 5188*344a7f5eSAndroid Build Coastguard Worker 5189*344a7f5eSAndroid Build Coastguard Worker} 5190*344a7f5eSAndroid Build Coastguard Worker 5191*344a7f5eSAndroid Build Coastguard Workerpackage android.media.tv.tuner.frontend { 5192*344a7f5eSAndroid Build Coastguard Worker 5193*344a7f5eSAndroid Build Coastguard Worker public class AnalogFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { 5194*344a7f5eSAndroid Build Coastguard Worker method public int getSifStandardCapability(); 5195*344a7f5eSAndroid Build Coastguard Worker method public int getSignalTypeCapability(); 5196*344a7f5eSAndroid Build Coastguard Worker } 5197*344a7f5eSAndroid Build Coastguard Worker 5198*344a7f5eSAndroid Build Coastguard Worker public class AnalogFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { 5199*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder builder(); 5200*344a7f5eSAndroid Build Coastguard Worker method public int getSifStandard(); 5201*344a7f5eSAndroid Build Coastguard Worker method public int getSignalType(); 5202*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5203*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_AUTO = 1; // 0x1 5204*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_BG = 2; // 0x2 5205*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_BG_A2 = 4; // 0x4 5206*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_BG_NICAM = 8; // 0x8 5207*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_DK = 32; // 0x20 5208*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_DK1_A2 = 64; // 0x40 5209*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_DK2_A2 = 128; // 0x80 5210*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_DK3_A2 = 256; // 0x100 5211*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_DK_NICAM = 512; // 0x200 5212*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_I = 16; // 0x10 5213*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_I_NICAM = 32768; // 0x8000 5214*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_L = 1024; // 0x400 5215*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_L_NICAM = 65536; // 0x10000 5216*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_L_PRIME = 131072; // 0x20000 5217*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_M = 2048; // 0x800 5218*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_M_A2 = 8192; // 0x2000 5219*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_M_BTSC = 4096; // 0x1000 5220*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_M_EIAJ = 16384; // 0x4000 5221*344a7f5eSAndroid Build Coastguard Worker field public static final int SIF_UNDEFINED = 0; // 0x0 5222*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNAL_TYPE_AUTO = 1; // 0x1 5223*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNAL_TYPE_NTSC = 32; // 0x20 5224*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNAL_TYPE_NTSC_443 = 64; // 0x40 5225*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNAL_TYPE_PAL = 2; // 0x2 5226*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNAL_TYPE_PAL_60 = 16; // 0x10 5227*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNAL_TYPE_PAL_M = 4; // 0x4 5228*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNAL_TYPE_PAL_N = 8; // 0x8 5229*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNAL_TYPE_SECAM = 128; // 0x80 5230*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNAL_TYPE_UNDEFINED = 0; // 0x0 5231*344a7f5eSAndroid Build Coastguard Worker } 5232*344a7f5eSAndroid Build Coastguard Worker 5233*344a7f5eSAndroid Build Coastguard Worker public static class AnalogFrontendSettings.Builder { 5234*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings build(); 5235*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setFrequency(int); 5236*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setSifStandard(int); 5237*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setSignalType(int); 5238*344a7f5eSAndroid Build Coastguard Worker } 5239*344a7f5eSAndroid Build Coastguard Worker 5240*344a7f5eSAndroid Build Coastguard Worker public class Atsc3FrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { 5241*344a7f5eSAndroid Build Coastguard Worker method public int getBandwidthCapability(); 5242*344a7f5eSAndroid Build Coastguard Worker method public int getDemodOutputFormatCapability(); 5243*344a7f5eSAndroid Build Coastguard Worker method public int getFecCapability(); 5244*344a7f5eSAndroid Build Coastguard Worker method public int getModulationCapability(); 5245*344a7f5eSAndroid Build Coastguard Worker method public int getPlpCodeRateCapability(); 5246*344a7f5eSAndroid Build Coastguard Worker method public int getTimeInterleaveModeCapability(); 5247*344a7f5eSAndroid Build Coastguard Worker } 5248*344a7f5eSAndroid Build Coastguard Worker 5249*344a7f5eSAndroid Build Coastguard Worker public class Atsc3FrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { 5250*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder builder(); 5251*344a7f5eSAndroid Build Coastguard Worker method public int getBandwidth(); 5252*344a7f5eSAndroid Build Coastguard Worker method public int getDemodOutputFormat(); 5253*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings[] getPlpSettings(); 5254*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5255*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_AUTO = 1; // 0x1 5256*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_BANDWIDTH_6MHZ = 2; // 0x2 5257*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_BANDWIDTH_7MHZ = 4; // 0x4 5258*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_BANDWIDTH_8MHZ = 8; // 0x8 5259*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0 5260*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_10_15 = 512; // 0x200 5261*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_11_15 = 1024; // 0x400 5262*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_12_15 = 2048; // 0x800 5263*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_13_15 = 4096; // 0x1000 5264*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_2_15 = 2; // 0x2 5265*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_3_15 = 4; // 0x4 5266*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_4_15 = 8; // 0x8 5267*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_5_15 = 16; // 0x10 5268*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_6_15 = 32; // 0x20 5269*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_7_15 = 64; // 0x40 5270*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_8_15 = 128; // 0x80 5271*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_9_15 = 256; // 0x100 5272*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_AUTO = 1; // 0x1 5273*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_UNDEFINED = 0; // 0x0 5274*344a7f5eSAndroid Build Coastguard Worker field public static final int DEMOD_OUTPUT_FORMAT_ATSC3_LINKLAYER_PACKET = 1; // 0x1 5275*344a7f5eSAndroid Build Coastguard Worker field public static final int DEMOD_OUTPUT_FORMAT_BASEBAND_PACKET = 2; // 0x2 5276*344a7f5eSAndroid Build Coastguard Worker field public static final int DEMOD_OUTPUT_FORMAT_UNDEFINED = 0; // 0x0 5277*344a7f5eSAndroid Build Coastguard Worker field public static final int FEC_AUTO = 1; // 0x1 5278*344a7f5eSAndroid Build Coastguard Worker field public static final int FEC_BCH_LDPC_16K = 2; // 0x2 5279*344a7f5eSAndroid Build Coastguard Worker field public static final int FEC_BCH_LDPC_64K = 4; // 0x4 5280*344a7f5eSAndroid Build Coastguard Worker field public static final int FEC_CRC_LDPC_16K = 8; // 0x8 5281*344a7f5eSAndroid Build Coastguard Worker field public static final int FEC_CRC_LDPC_64K = 16; // 0x10 5282*344a7f5eSAndroid Build Coastguard Worker field public static final int FEC_LDPC_16K = 32; // 0x20 5283*344a7f5eSAndroid Build Coastguard Worker field public static final int FEC_LDPC_64K = 64; // 0x40 5284*344a7f5eSAndroid Build Coastguard Worker field public static final int FEC_UNDEFINED = 0; // 0x0 5285*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_AUTO = 1; // 0x1 5286*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_1024QAM = 32; // 0x20 5287*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_16QAM = 4; // 0x4 5288*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_256QAM = 16; // 0x10 5289*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_4096QAM = 64; // 0x40 5290*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_64QAM = 8; // 0x8 5291*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_QPSK = 2; // 0x2 5292*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_UNDEFINED = 0; // 0x0 5293*344a7f5eSAndroid Build Coastguard Worker field public static final int TIME_INTERLEAVE_MODE_AUTO = 1; // 0x1 5294*344a7f5eSAndroid Build Coastguard Worker field public static final int TIME_INTERLEAVE_MODE_CTI = 2; // 0x2 5295*344a7f5eSAndroid Build Coastguard Worker field public static final int TIME_INTERLEAVE_MODE_HTI = 4; // 0x4 5296*344a7f5eSAndroid Build Coastguard Worker field public static final int TIME_INTERLEAVE_MODE_UNDEFINED = 0; // 0x0 5297*344a7f5eSAndroid Build Coastguard Worker } 5298*344a7f5eSAndroid Build Coastguard Worker 5299*344a7f5eSAndroid Build Coastguard Worker public static class Atsc3FrontendSettings.Builder { 5300*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings build(); 5301*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setBandwidth(int); 5302*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setDemodOutputFormat(int); 5303*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setFrequency(int); 5304*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setPlpSettings(@NonNull android.media.tv.tuner.frontend.Atsc3PlpSettings[]); 5305*344a7f5eSAndroid Build Coastguard Worker } 5306*344a7f5eSAndroid Build Coastguard Worker 5307*344a7f5eSAndroid Build Coastguard Worker public class Atsc3PlpInfo { 5308*344a7f5eSAndroid Build Coastguard Worker method public boolean getLlsFlag(); 5309*344a7f5eSAndroid Build Coastguard Worker method public int getPlpId(); 5310*344a7f5eSAndroid Build Coastguard Worker } 5311*344a7f5eSAndroid Build Coastguard Worker 5312*344a7f5eSAndroid Build Coastguard Worker public class Atsc3PlpSettings { 5313*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder builder(); 5314*344a7f5eSAndroid Build Coastguard Worker method public int getCodeRate(); 5315*344a7f5eSAndroid Build Coastguard Worker method public int getFec(); 5316*344a7f5eSAndroid Build Coastguard Worker method public int getInterleaveMode(); 5317*344a7f5eSAndroid Build Coastguard Worker method public int getModulation(); 5318*344a7f5eSAndroid Build Coastguard Worker method public int getPlpId(); 5319*344a7f5eSAndroid Build Coastguard Worker } 5320*344a7f5eSAndroid Build Coastguard Worker 5321*344a7f5eSAndroid Build Coastguard Worker public static class Atsc3PlpSettings.Builder { 5322*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings build(); 5323*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setCodeRate(int); 5324*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setFec(int); 5325*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setInterleaveMode(int); 5326*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setModulation(int); 5327*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setPlpId(int); 5328*344a7f5eSAndroid Build Coastguard Worker } 5329*344a7f5eSAndroid Build Coastguard Worker 5330*344a7f5eSAndroid Build Coastguard Worker public class AtscFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { 5331*344a7f5eSAndroid Build Coastguard Worker method public int getModulationCapability(); 5332*344a7f5eSAndroid Build Coastguard Worker } 5333*344a7f5eSAndroid Build Coastguard Worker 5334*344a7f5eSAndroid Build Coastguard Worker public class AtscFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { 5335*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.frontend.AtscFrontendSettings.Builder builder(); 5336*344a7f5eSAndroid Build Coastguard Worker method public int getModulation(); 5337*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5338*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_AUTO = 1; // 0x1 5339*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_16VSB = 8; // 0x8 5340*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_8VSB = 4; // 0x4 5341*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_UNDEFINED = 0; // 0x0 5342*344a7f5eSAndroid Build Coastguard Worker } 5343*344a7f5eSAndroid Build Coastguard Worker 5344*344a7f5eSAndroid Build Coastguard Worker public static class AtscFrontendSettings.Builder { 5345*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings build(); 5346*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings.Builder setFrequency(int); 5347*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings.Builder setModulation(int); 5348*344a7f5eSAndroid Build Coastguard Worker } 5349*344a7f5eSAndroid Build Coastguard Worker 5350*344a7f5eSAndroid Build Coastguard Worker public class DvbcFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { 5351*344a7f5eSAndroid Build Coastguard Worker method public int getAnnexCapability(); 5352*344a7f5eSAndroid Build Coastguard Worker method public int getFecCapability(); 5353*344a7f5eSAndroid Build Coastguard Worker method public int getModulationCapability(); 5354*344a7f5eSAndroid Build Coastguard Worker } 5355*344a7f5eSAndroid Build Coastguard Worker 5356*344a7f5eSAndroid Build Coastguard Worker public class DvbcFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { 5357*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder builder(); 5358*344a7f5eSAndroid Build Coastguard Worker method public int getAnnex(); 5359*344a7f5eSAndroid Build Coastguard Worker method public long getInnerFec(); 5360*344a7f5eSAndroid Build Coastguard Worker method public int getModulation(); 5361*344a7f5eSAndroid Build Coastguard Worker method public int getOuterFec(); 5362*344a7f5eSAndroid Build Coastguard Worker method public int getSpectralInversion(); 5363*344a7f5eSAndroid Build Coastguard Worker method public int getSymbolRate(); 5364*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5365*344a7f5eSAndroid Build Coastguard Worker field public static final int ANNEX_A = 1; // 0x1 5366*344a7f5eSAndroid Build Coastguard Worker field public static final int ANNEX_B = 2; // 0x2 5367*344a7f5eSAndroid Build Coastguard Worker field public static final int ANNEX_C = 4; // 0x4 5368*344a7f5eSAndroid Build Coastguard Worker field public static final int ANNEX_UNDEFINED = 0; // 0x0 5369*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_AUTO = 1; // 0x1 5370*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_128QAM = 16; // 0x10 5371*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_16QAM = 2; // 0x2 5372*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_256QAM = 32; // 0x20 5373*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_32QAM = 4; // 0x4 5374*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_64QAM = 8; // 0x8 5375*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_UNDEFINED = 0; // 0x0 5376*344a7f5eSAndroid Build Coastguard Worker field public static final int OUTER_FEC_OUTER_FEC_NONE = 1; // 0x1 5377*344a7f5eSAndroid Build Coastguard Worker field public static final int OUTER_FEC_OUTER_FEC_RS = 2; // 0x2 5378*344a7f5eSAndroid Build Coastguard Worker field public static final int OUTER_FEC_UNDEFINED = 0; // 0x0 5379*344a7f5eSAndroid Build Coastguard Worker field public static final int SPECTRAL_INVERSION_INVERTED = 2; // 0x2 5380*344a7f5eSAndroid Build Coastguard Worker field public static final int SPECTRAL_INVERSION_NORMAL = 1; // 0x1 5381*344a7f5eSAndroid Build Coastguard Worker field public static final int SPECTRAL_INVERSION_UNDEFINED = 0; // 0x0 5382*344a7f5eSAndroid Build Coastguard Worker } 5383*344a7f5eSAndroid Build Coastguard Worker 5384*344a7f5eSAndroid Build Coastguard Worker public static class DvbcFrontendSettings.Builder { 5385*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings build(); 5386*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setAnnex(int); 5387*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setFrequency(int); 5388*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setInnerFec(long); 5389*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setModulation(int); 5390*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setOuterFec(int); 5391*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setSpectralInversion(int); 5392*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setSymbolRate(int); 5393*344a7f5eSAndroid Build Coastguard Worker } 5394*344a7f5eSAndroid Build Coastguard Worker 5395*344a7f5eSAndroid Build Coastguard Worker public class DvbsCodeRate { 5396*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.frontend.DvbsCodeRate.Builder builder(); 5397*344a7f5eSAndroid Build Coastguard Worker method public int getBitsPer1000Symbol(); 5398*344a7f5eSAndroid Build Coastguard Worker method public long getInnerFec(); 5399*344a7f5eSAndroid Build Coastguard Worker method public boolean isLinear(); 5400*344a7f5eSAndroid Build Coastguard Worker method public boolean isShortFrameEnabled(); 5401*344a7f5eSAndroid Build Coastguard Worker } 5402*344a7f5eSAndroid Build Coastguard Worker 5403*344a7f5eSAndroid Build Coastguard Worker public static class DvbsCodeRate.Builder { 5404*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate build(); 5405*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setBitsPer1000Symbol(int); 5406*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setInnerFec(long); 5407*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setLinear(boolean); 5408*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setShortFrameEnabled(boolean); 5409*344a7f5eSAndroid Build Coastguard Worker } 5410*344a7f5eSAndroid Build Coastguard Worker 5411*344a7f5eSAndroid Build Coastguard Worker public class DvbsFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { 5412*344a7f5eSAndroid Build Coastguard Worker method public long getInnerFecCapability(); 5413*344a7f5eSAndroid Build Coastguard Worker method public int getModulationCapability(); 5414*344a7f5eSAndroid Build Coastguard Worker method public int getStandardCapability(); 5415*344a7f5eSAndroid Build Coastguard Worker } 5416*344a7f5eSAndroid Build Coastguard Worker 5417*344a7f5eSAndroid Build Coastguard Worker public class DvbsFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { 5418*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder builder(); 5419*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.tv.tuner.frontend.DvbsCodeRate getCodeRate(); 5420*344a7f5eSAndroid Build Coastguard Worker method public int getInputStreamId(); 5421*344a7f5eSAndroid Build Coastguard Worker method public int getModulation(); 5422*344a7f5eSAndroid Build Coastguard Worker method public int getPilot(); 5423*344a7f5eSAndroid Build Coastguard Worker method public int getRolloff(); 5424*344a7f5eSAndroid Build Coastguard Worker method public int getStandard(); 5425*344a7f5eSAndroid Build Coastguard Worker method public int getSymbolRate(); 5426*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5427*344a7f5eSAndroid Build Coastguard Worker method public int getVcmMode(); 5428*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_AUTO = 1; // 0x1 5429*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_128APSK = 2048; // 0x800 5430*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_16APSK = 256; // 0x100 5431*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_16PSK = 16; // 0x10 5432*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_16QAM = 8; // 0x8 5433*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_256APSK = 4096; // 0x1000 5434*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_32APSK = 512; // 0x200 5435*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_32PSK = 32; // 0x20 5436*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_64APSK = 1024; // 0x400 5437*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_8APSK = 128; // 0x80 5438*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_8PSK = 4; // 0x4 5439*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_ACM = 64; // 0x40 5440*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_QPSK = 2; // 0x2 5441*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_RESERVED = 8192; // 0x2000 5442*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_UNDEFINED = 0; // 0x0 5443*344a7f5eSAndroid Build Coastguard Worker field public static final int PILOT_AUTO = 3; // 0x3 5444*344a7f5eSAndroid Build Coastguard Worker field public static final int PILOT_OFF = 2; // 0x2 5445*344a7f5eSAndroid Build Coastguard Worker field public static final int PILOT_ON = 1; // 0x1 5446*344a7f5eSAndroid Build Coastguard Worker field public static final int PILOT_UNDEFINED = 0; // 0x0 5447*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLLOFF_0_10 = 5; // 0x5 5448*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLLOFF_0_15 = 4; // 0x4 5449*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLLOFF_0_20 = 3; // 0x3 5450*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLLOFF_0_25 = 2; // 0x2 5451*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLLOFF_0_35 = 1; // 0x1 5452*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLLOFF_0_5 = 6; // 0x6 5453*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLLOFF_UNDEFINED = 0; // 0x0 5454*344a7f5eSAndroid Build Coastguard Worker field public static final int STANDARD_AUTO = 1; // 0x1 5455*344a7f5eSAndroid Build Coastguard Worker field public static final int STANDARD_S = 2; // 0x2 5456*344a7f5eSAndroid Build Coastguard Worker field public static final int STANDARD_S2 = 4; // 0x4 5457*344a7f5eSAndroid Build Coastguard Worker field public static final int STANDARD_S2X = 8; // 0x8 5458*344a7f5eSAndroid Build Coastguard Worker field public static final int VCM_MODE_AUTO = 1; // 0x1 5459*344a7f5eSAndroid Build Coastguard Worker field public static final int VCM_MODE_MANUAL = 2; // 0x2 5460*344a7f5eSAndroid Build Coastguard Worker field public static final int VCM_MODE_UNDEFINED = 0; // 0x0 5461*344a7f5eSAndroid Build Coastguard Worker } 5462*344a7f5eSAndroid Build Coastguard Worker 5463*344a7f5eSAndroid Build Coastguard Worker public static class DvbsFrontendSettings.Builder { 5464*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings build(); 5465*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setCodeRate(@Nullable android.media.tv.tuner.frontend.DvbsCodeRate); 5466*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setFrequency(int); 5467*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setInputStreamId(int); 5468*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setModulation(int); 5469*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setPilot(int); 5470*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setRolloff(int); 5471*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setStandard(int); 5472*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setSymbolRate(int); 5473*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setVcmMode(int); 5474*344a7f5eSAndroid Build Coastguard Worker } 5475*344a7f5eSAndroid Build Coastguard Worker 5476*344a7f5eSAndroid Build Coastguard Worker public class DvbtFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { 5477*344a7f5eSAndroid Build Coastguard Worker method public int getBandwidthCapability(); 5478*344a7f5eSAndroid Build Coastguard Worker method public int getCodeRateCapability(); 5479*344a7f5eSAndroid Build Coastguard Worker method public int getConstellationCapability(); 5480*344a7f5eSAndroid Build Coastguard Worker method public int getGuardIntervalCapability(); 5481*344a7f5eSAndroid Build Coastguard Worker method public int getHierarchyCapability(); 5482*344a7f5eSAndroid Build Coastguard Worker method public int getTransmissionModeCapability(); 5483*344a7f5eSAndroid Build Coastguard Worker method public boolean isMisoSupported(); 5484*344a7f5eSAndroid Build Coastguard Worker method public boolean isT2Supported(); 5485*344a7f5eSAndroid Build Coastguard Worker } 5486*344a7f5eSAndroid Build Coastguard Worker 5487*344a7f5eSAndroid Build Coastguard Worker public class DvbtFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { 5488*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder builder(); 5489*344a7f5eSAndroid Build Coastguard Worker method public int getBandwidth(); 5490*344a7f5eSAndroid Build Coastguard Worker method public int getConstellation(); 5491*344a7f5eSAndroid Build Coastguard Worker method public int getGuardInterval(); 5492*344a7f5eSAndroid Build Coastguard Worker method public int getHierarchy(); 5493*344a7f5eSAndroid Build Coastguard Worker method public int getHighPriorityCodeRate(); 5494*344a7f5eSAndroid Build Coastguard Worker method public int getLowPriorityCodeRate(); 5495*344a7f5eSAndroid Build Coastguard Worker method public int getPlpGroupId(); 5496*344a7f5eSAndroid Build Coastguard Worker method public int getPlpId(); 5497*344a7f5eSAndroid Build Coastguard Worker method public int getPlpMode(); 5498*344a7f5eSAndroid Build Coastguard Worker method public int getStandard(); 5499*344a7f5eSAndroid Build Coastguard Worker method public int getTransmissionMode(); 5500*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5501*344a7f5eSAndroid Build Coastguard Worker method public boolean isHighPriority(); 5502*344a7f5eSAndroid Build Coastguard Worker method public boolean isMiso(); 5503*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_10MHZ = 64; // 0x40 5504*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_1_7MHZ = 32; // 0x20 5505*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_5MHZ = 16; // 0x10 5506*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_6MHZ = 8; // 0x8 5507*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_7MHZ = 4; // 0x4 5508*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_8MHZ = 2; // 0x2 5509*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_AUTO = 1; // 0x1 5510*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0 5511*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_1_2 = 2; // 0x2 5512*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_2_3 = 4; // 0x4 5513*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_3_4 = 8; // 0x8 5514*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_3_5 = 64; // 0x40 5515*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_4_5 = 128; // 0x80 5516*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_5_6 = 16; // 0x10 5517*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_6_7 = 256; // 0x100 5518*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_7_8 = 32; // 0x20 5519*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_8_9 = 512; // 0x200 5520*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_AUTO = 1; // 0x1 5521*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_UNDEFINED = 0; // 0x0 5522*344a7f5eSAndroid Build Coastguard Worker field public static final int CONSTELLATION_16QAM = 4; // 0x4 5523*344a7f5eSAndroid Build Coastguard Worker field public static final int CONSTELLATION_256QAM = 16; // 0x10 5524*344a7f5eSAndroid Build Coastguard Worker field public static final int CONSTELLATION_64QAM = 8; // 0x8 5525*344a7f5eSAndroid Build Coastguard Worker field public static final int CONSTELLATION_AUTO = 1; // 0x1 5526*344a7f5eSAndroid Build Coastguard Worker field public static final int CONSTELLATION_QPSK = 2; // 0x2 5527*344a7f5eSAndroid Build Coastguard Worker field public static final int CONSTELLATION_UNDEFINED = 0; // 0x0 5528*344a7f5eSAndroid Build Coastguard Worker field public static final int GUARD_INTERVAL_19_128 = 64; // 0x40 5529*344a7f5eSAndroid Build Coastguard Worker field public static final int GUARD_INTERVAL_19_256 = 128; // 0x80 5530*344a7f5eSAndroid Build Coastguard Worker field public static final int GUARD_INTERVAL_1_128 = 32; // 0x20 5531*344a7f5eSAndroid Build Coastguard Worker field public static final int GUARD_INTERVAL_1_16 = 4; // 0x4 5532*344a7f5eSAndroid Build Coastguard Worker field public static final int GUARD_INTERVAL_1_32 = 2; // 0x2 5533*344a7f5eSAndroid Build Coastguard Worker field public static final int GUARD_INTERVAL_1_4 = 16; // 0x10 5534*344a7f5eSAndroid Build Coastguard Worker field public static final int GUARD_INTERVAL_1_8 = 8; // 0x8 5535*344a7f5eSAndroid Build Coastguard Worker field public static final int GUARD_INTERVAL_AUTO = 1; // 0x1 5536*344a7f5eSAndroid Build Coastguard Worker field public static final int GUARD_INTERVAL_UNDEFINED = 0; // 0x0 5537*344a7f5eSAndroid Build Coastguard Worker field public static final int HIERARCHY_1_INDEPTH = 64; // 0x40 5538*344a7f5eSAndroid Build Coastguard Worker field public static final int HIERARCHY_1_NATIVE = 4; // 0x4 5539*344a7f5eSAndroid Build Coastguard Worker field public static final int HIERARCHY_2_INDEPTH = 128; // 0x80 5540*344a7f5eSAndroid Build Coastguard Worker field public static final int HIERARCHY_2_NATIVE = 8; // 0x8 5541*344a7f5eSAndroid Build Coastguard Worker field public static final int HIERARCHY_4_INDEPTH = 256; // 0x100 5542*344a7f5eSAndroid Build Coastguard Worker field public static final int HIERARCHY_4_NATIVE = 16; // 0x10 5543*344a7f5eSAndroid Build Coastguard Worker field public static final int HIERARCHY_AUTO = 1; // 0x1 5544*344a7f5eSAndroid Build Coastguard Worker field public static final int HIERARCHY_NON_INDEPTH = 32; // 0x20 5545*344a7f5eSAndroid Build Coastguard Worker field public static final int HIERARCHY_NON_NATIVE = 2; // 0x2 5546*344a7f5eSAndroid Build Coastguard Worker field public static final int HIERARCHY_UNDEFINED = 0; // 0x0 5547*344a7f5eSAndroid Build Coastguard Worker field public static final int PLP_MODE_AUTO = 1; // 0x1 5548*344a7f5eSAndroid Build Coastguard Worker field public static final int PLP_MODE_MANUAL = 2; // 0x2 5549*344a7f5eSAndroid Build Coastguard Worker field public static final int PLP_MODE_UNDEFINED = 0; // 0x0 5550*344a7f5eSAndroid Build Coastguard Worker field public static final int STANDARD_AUTO = 1; // 0x1 5551*344a7f5eSAndroid Build Coastguard Worker field public static final int STANDARD_T = 2; // 0x2 5552*344a7f5eSAndroid Build Coastguard Worker field public static final int STANDARD_T2 = 4; // 0x4 5553*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSMISSION_MODE_16K = 32; // 0x20 5554*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSMISSION_MODE_1K = 16; // 0x10 5555*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSMISSION_MODE_2K = 2; // 0x2 5556*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSMISSION_MODE_32K = 64; // 0x40 5557*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSMISSION_MODE_4K = 8; // 0x8 5558*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSMISSION_MODE_8K = 4; // 0x4 5559*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSMISSION_MODE_AUTO = 1; // 0x1 5560*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSMISSION_MODE_UNDEFINED = 0; // 0x0 5561*344a7f5eSAndroid Build Coastguard Worker } 5562*344a7f5eSAndroid Build Coastguard Worker 5563*344a7f5eSAndroid Build Coastguard Worker public static class DvbtFrontendSettings.Builder { 5564*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings build(); 5565*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setBandwidth(int); 5566*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setConstellation(int); 5567*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setFrequency(int); 5568*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setGuardInterval(int); 5569*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setHierarchy(int); 5570*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setHighPriority(boolean); 5571*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setHighPriorityCodeRate(int); 5572*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setLowPriorityCodeRate(int); 5573*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setMiso(boolean); 5574*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setPlpGroupId(int); 5575*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setPlpId(int); 5576*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setPlpMode(int); 5577*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setStandard(int); 5578*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setTransmissionMode(int); 5579*344a7f5eSAndroid Build Coastguard Worker } 5580*344a7f5eSAndroid Build Coastguard Worker 5581*344a7f5eSAndroid Build Coastguard Worker public abstract class FrontendCapabilities { 5582*344a7f5eSAndroid Build Coastguard Worker ctor public FrontendCapabilities(); 5583*344a7f5eSAndroid Build Coastguard Worker } 5584*344a7f5eSAndroid Build Coastguard Worker 5585*344a7f5eSAndroid Build Coastguard Worker public class FrontendInfo { 5586*344a7f5eSAndroid Build Coastguard Worker method public int getAcquireRange(); 5587*344a7f5eSAndroid Build Coastguard Worker method public int getExclusiveGroupId(); 5588*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.util.Range<java.lang.Integer> getFrequencyRange(); 5589*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.FrontendCapabilities getFrontendCapabilities(); 5590*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 5591*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getStatusCapabilities(); 5592*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.util.Range<java.lang.Integer> getSymbolRateRange(); 5593*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5594*344a7f5eSAndroid Build Coastguard Worker } 5595*344a7f5eSAndroid Build Coastguard Worker 5596*344a7f5eSAndroid Build Coastguard Worker public abstract class FrontendSettings { 5597*344a7f5eSAndroid Build Coastguard Worker method public int getFrequency(); 5598*344a7f5eSAndroid Build Coastguard Worker method public abstract int getType(); 5599*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_11_15 = 4194304L; // 0x400000L 5600*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_11_20 = 8388608L; // 0x800000L 5601*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_11_45 = 16777216L; // 0x1000000L 5602*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_13_18 = 33554432L; // 0x2000000L 5603*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_13_45 = 67108864L; // 0x4000000L 5604*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_14_45 = 134217728L; // 0x8000000L 5605*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_1_2 = 2L; // 0x2L 5606*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_1_3 = 4L; // 0x4L 5607*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_1_4 = 8L; // 0x8L 5608*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_1_5 = 16L; // 0x10L 5609*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_23_36 = 268435456L; // 0x10000000L 5610*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_25_36 = 536870912L; // 0x20000000L 5611*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_26_45 = 1073741824L; // 0x40000000L 5612*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_28_45 = -2147483648L; // 0xffffffff80000000L 5613*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_29_45 = 1L; // 0x1L 5614*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_2_3 = 32L; // 0x20L 5615*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_2_5 = 64L; // 0x40L 5616*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_2_9 = 128L; // 0x80L 5617*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_31_45 = 2L; // 0x2L 5618*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_32_45 = 4L; // 0x4L 5619*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_3_4 = 256L; // 0x100L 5620*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_3_5 = 512L; // 0x200L 5621*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_4_15 = 2048L; // 0x800L 5622*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_4_5 = 1024L; // 0x400L 5623*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_5_6 = 4096L; // 0x1000L 5624*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_5_9 = 8192L; // 0x2000L 5625*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_6_7 = 16384L; // 0x4000L 5626*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_77_90 = 8L; // 0x8L 5627*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_7_15 = 131072L; // 0x20000L 5628*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_7_8 = 32768L; // 0x8000L 5629*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_7_9 = 65536L; // 0x10000L 5630*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_8_15 = 524288L; // 0x80000L 5631*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_8_9 = 262144L; // 0x40000L 5632*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_9_10 = 1048576L; // 0x100000L 5633*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_9_20 = 2097152L; // 0x200000L 5634*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_AUTO = 1L; // 0x1L 5635*344a7f5eSAndroid Build Coastguard Worker field public static final long FEC_UNDEFINED = 0L; // 0x0L 5636*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ANALOG = 1; // 0x1 5637*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ATSC = 2; // 0x2 5638*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ATSC3 = 3; // 0x3 5639*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_DVBC = 4; // 0x4 5640*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_DVBS = 5; // 0x5 5641*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_DVBT = 6; // 0x6 5642*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ISDBS = 7; // 0x7 5643*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ISDBS3 = 8; // 0x8 5644*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ISDBT = 9; // 0x9 5645*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_UNDEFINED = 0; // 0x0 5646*344a7f5eSAndroid Build Coastguard Worker } 5647*344a7f5eSAndroid Build Coastguard Worker 5648*344a7f5eSAndroid Build Coastguard Worker public class FrontendStatus { 5649*344a7f5eSAndroid Build Coastguard Worker method public int getAgc(); 5650*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.FrontendStatus.Atsc3PlpTuningInfo[] getAtsc3PlpTuningInfo(); 5651*344a7f5eSAndroid Build Coastguard Worker method public int getBer(); 5652*344a7f5eSAndroid Build Coastguard Worker method public int getFreqOffset(); 5653*344a7f5eSAndroid Build Coastguard Worker method public int getHierarchy(); 5654*344a7f5eSAndroid Build Coastguard Worker method public long getInnerFec(); 5655*344a7f5eSAndroid Build Coastguard Worker method @NonNull public boolean[] getLayerErrors(); 5656*344a7f5eSAndroid Build Coastguard Worker method public int getLnbVoltage(); 5657*344a7f5eSAndroid Build Coastguard Worker method public int getMer(); 5658*344a7f5eSAndroid Build Coastguard Worker method public int getModulation(); 5659*344a7f5eSAndroid Build Coastguard Worker method public int getPer(); 5660*344a7f5eSAndroid Build Coastguard Worker method public int getPerBer(); 5661*344a7f5eSAndroid Build Coastguard Worker method public int getPlpId(); 5662*344a7f5eSAndroid Build Coastguard Worker method public int getSignalQuality(); 5663*344a7f5eSAndroid Build Coastguard Worker method public int getSignalStrength(); 5664*344a7f5eSAndroid Build Coastguard Worker method public int getSnr(); 5665*344a7f5eSAndroid Build Coastguard Worker method public int getSpectralInversion(); 5666*344a7f5eSAndroid Build Coastguard Worker method public int getSymbolRate(); 5667*344a7f5eSAndroid Build Coastguard Worker method public boolean isDemodLocked(); 5668*344a7f5eSAndroid Build Coastguard Worker method public boolean isEwbs(); 5669*344a7f5eSAndroid Build Coastguard Worker method public boolean isLnaOn(); 5670*344a7f5eSAndroid Build Coastguard Worker method public boolean isRfLocked(); 5671*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_AGC = 14; // 0xe 5672*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_ATSC3_PLP_INFO = 21; // 0x15 5673*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_BER = 2; // 0x2 5674*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_DEMOD_LOCK = 0; // 0x0 5675*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_EWBS = 13; // 0xd 5676*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_FEC = 8; // 0x8 5677*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_FREQ_OFFSET = 18; // 0x12 5678*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_HIERARCHY = 19; // 0x13 5679*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_LAYER_ERROR = 16; // 0x10 5680*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_LNA = 15; // 0xf 5681*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_LNB_VOLTAGE = 11; // 0xb 5682*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_MER = 17; // 0x11 5683*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_MODULATION = 9; // 0x9 5684*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_PER = 3; // 0x3 5685*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_PLP_ID = 12; // 0xc 5686*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_PRE_BER = 4; // 0x4 5687*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_RF_LOCK = 20; // 0x14 5688*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_SIGNAL_QUALITY = 5; // 0x5 5689*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_SIGNAL_STRENGTH = 6; // 0x6 5690*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_SNR = 1; // 0x1 5691*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_SPECTRAL = 10; // 0xa 5692*344a7f5eSAndroid Build Coastguard Worker field public static final int FRONTEND_STATUS_TYPE_SYMBOL_RATE = 7; // 0x7 5693*344a7f5eSAndroid Build Coastguard Worker } 5694*344a7f5eSAndroid Build Coastguard Worker 5695*344a7f5eSAndroid Build Coastguard Worker public static class FrontendStatus.Atsc3PlpTuningInfo { 5696*344a7f5eSAndroid Build Coastguard Worker method public int getPlpId(); 5697*344a7f5eSAndroid Build Coastguard Worker method public int getUec(); 5698*344a7f5eSAndroid Build Coastguard Worker method public boolean isLocked(); 5699*344a7f5eSAndroid Build Coastguard Worker } 5700*344a7f5eSAndroid Build Coastguard Worker 5701*344a7f5eSAndroid Build Coastguard Worker public class Isdbs3FrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { 5702*344a7f5eSAndroid Build Coastguard Worker method public int getCodeRateCapability(); 5703*344a7f5eSAndroid Build Coastguard Worker method public int getModulationCapability(); 5704*344a7f5eSAndroid Build Coastguard Worker } 5705*344a7f5eSAndroid Build Coastguard Worker 5706*344a7f5eSAndroid Build Coastguard Worker public class Isdbs3FrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { 5707*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder builder(); 5708*344a7f5eSAndroid Build Coastguard Worker method public int getCodeRate(); 5709*344a7f5eSAndroid Build Coastguard Worker method public int getModulation(); 5710*344a7f5eSAndroid Build Coastguard Worker method public int getRolloff(); 5711*344a7f5eSAndroid Build Coastguard Worker method public int getStreamId(); 5712*344a7f5eSAndroid Build Coastguard Worker method public int getStreamIdType(); 5713*344a7f5eSAndroid Build Coastguard Worker method public int getSymbolRate(); 5714*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5715*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_1_2 = 8; // 0x8 5716*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_1_3 = 2; // 0x2 5717*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_2_3 = 32; // 0x20 5718*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_2_5 = 4; // 0x4 5719*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_3_4 = 64; // 0x40 5720*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_3_5 = 16; // 0x10 5721*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_4_5 = 256; // 0x100 5722*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_5_6 = 512; // 0x200 5723*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_7_8 = 1024; // 0x400 5724*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_7_9 = 128; // 0x80 5725*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_9_10 = 2048; // 0x800 5726*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_AUTO = 1; // 0x1 5727*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_UNDEFINED = 0; // 0x0 5728*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_AUTO = 1; // 0x1 5729*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_16APSK = 16; // 0x10 5730*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_32APSK = 32; // 0x20 5731*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_8PSK = 8; // 0x8 5732*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_BPSK = 2; // 0x2 5733*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_QPSK = 4; // 0x4 5734*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_UNDEFINED = 0; // 0x0 5735*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLLOFF_0_03 = 1; // 0x1 5736*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLLOFF_UNDEFINED = 0; // 0x0 5737*344a7f5eSAndroid Build Coastguard Worker } 5738*344a7f5eSAndroid Build Coastguard Worker 5739*344a7f5eSAndroid Build Coastguard Worker public static class Isdbs3FrontendSettings.Builder { 5740*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings build(); 5741*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setCodeRate(int); 5742*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setFrequency(int); 5743*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setModulation(int); 5744*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setRolloff(int); 5745*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setStreamId(int); 5746*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setStreamIdType(int); 5747*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setSymbolRate(int); 5748*344a7f5eSAndroid Build Coastguard Worker } 5749*344a7f5eSAndroid Build Coastguard Worker 5750*344a7f5eSAndroid Build Coastguard Worker public class IsdbsFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { 5751*344a7f5eSAndroid Build Coastguard Worker method public int getCodeRateCapability(); 5752*344a7f5eSAndroid Build Coastguard Worker method public int getModulationCapability(); 5753*344a7f5eSAndroid Build Coastguard Worker } 5754*344a7f5eSAndroid Build Coastguard Worker 5755*344a7f5eSAndroid Build Coastguard Worker public class IsdbsFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { 5756*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder builder(); 5757*344a7f5eSAndroid Build Coastguard Worker method public int getCodeRate(); 5758*344a7f5eSAndroid Build Coastguard Worker method public int getModulation(); 5759*344a7f5eSAndroid Build Coastguard Worker method public int getRolloff(); 5760*344a7f5eSAndroid Build Coastguard Worker method public int getStreamId(); 5761*344a7f5eSAndroid Build Coastguard Worker method public int getStreamIdType(); 5762*344a7f5eSAndroid Build Coastguard Worker method public int getSymbolRate(); 5763*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5764*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_1_2 = 2; // 0x2 5765*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_2_3 = 4; // 0x4 5766*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_3_4 = 8; // 0x8 5767*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_5_6 = 16; // 0x10 5768*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_7_8 = 32; // 0x20 5769*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_AUTO = 1; // 0x1 5770*344a7f5eSAndroid Build Coastguard Worker field public static final int CODERATE_UNDEFINED = 0; // 0x0 5771*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_AUTO = 1; // 0x1 5772*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_BPSK = 2; // 0x2 5773*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_QPSK = 4; // 0x4 5774*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_TC8PSK = 8; // 0x8 5775*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_UNDEFINED = 0; // 0x0 5776*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLLOFF_0_35 = 1; // 0x1 5777*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLLOFF_UNDEFINED = 0; // 0x0 5778*344a7f5eSAndroid Build Coastguard Worker field public static final int STREAM_ID_TYPE_ID = 0; // 0x0 5779*344a7f5eSAndroid Build Coastguard Worker field public static final int STREAM_ID_TYPE_RELATIVE_NUMBER = 1; // 0x1 5780*344a7f5eSAndroid Build Coastguard Worker } 5781*344a7f5eSAndroid Build Coastguard Worker 5782*344a7f5eSAndroid Build Coastguard Worker public static class IsdbsFrontendSettings.Builder { 5783*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings build(); 5784*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setCodeRate(int); 5785*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setFrequency(int); 5786*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setModulation(int); 5787*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setRolloff(int); 5788*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setStreamId(int); 5789*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setStreamIdType(int); 5790*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setSymbolRate(int); 5791*344a7f5eSAndroid Build Coastguard Worker } 5792*344a7f5eSAndroid Build Coastguard Worker 5793*344a7f5eSAndroid Build Coastguard Worker public class IsdbtFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities { 5794*344a7f5eSAndroid Build Coastguard Worker method public int getBandwidthCapability(); 5795*344a7f5eSAndroid Build Coastguard Worker method public int getCodeRateCapability(); 5796*344a7f5eSAndroid Build Coastguard Worker method public int getGuardIntervalCapability(); 5797*344a7f5eSAndroid Build Coastguard Worker method public int getModeCapability(); 5798*344a7f5eSAndroid Build Coastguard Worker method public int getModulationCapability(); 5799*344a7f5eSAndroid Build Coastguard Worker } 5800*344a7f5eSAndroid Build Coastguard Worker 5801*344a7f5eSAndroid Build Coastguard Worker public class IsdbtFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings { 5802*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder builder(); 5803*344a7f5eSAndroid Build Coastguard Worker method public int getBandwidth(); 5804*344a7f5eSAndroid Build Coastguard Worker method public int getCodeRate(); 5805*344a7f5eSAndroid Build Coastguard Worker method public int getGuardInterval(); 5806*344a7f5eSAndroid Build Coastguard Worker method public int getMode(); 5807*344a7f5eSAndroid Build Coastguard Worker method public int getModulation(); 5808*344a7f5eSAndroid Build Coastguard Worker method public int getServiceAreaId(); 5809*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5810*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_6MHZ = 8; // 0x8 5811*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_7MHZ = 4; // 0x4 5812*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_8MHZ = 2; // 0x2 5813*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_AUTO = 1; // 0x1 5814*344a7f5eSAndroid Build Coastguard Worker field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0 5815*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_1 = 2; // 0x2 5816*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_2 = 4; // 0x4 5817*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_3 = 8; // 0x8 5818*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_AUTO = 1; // 0x1 5819*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_UNDEFINED = 0; // 0x0 5820*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_AUTO = 1; // 0x1 5821*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_16QAM = 8; // 0x8 5822*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_64QAM = 16; // 0x10 5823*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_DQPSK = 2; // 0x2 5824*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_MOD_QPSK = 4; // 0x4 5825*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULATION_UNDEFINED = 0; // 0x0 5826*344a7f5eSAndroid Build Coastguard Worker } 5827*344a7f5eSAndroid Build Coastguard Worker 5828*344a7f5eSAndroid Build Coastguard Worker public static class IsdbtFrontendSettings.Builder { 5829*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings build(); 5830*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setBandwidth(int); 5831*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setCodeRate(int); 5832*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setFrequency(int); 5833*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setGuardInterval(int); 5834*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setMode(int); 5835*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setModulation(int); 5836*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setServiceAreaId(int); 5837*344a7f5eSAndroid Build Coastguard Worker } 5838*344a7f5eSAndroid Build Coastguard Worker 5839*344a7f5eSAndroid Build Coastguard Worker public interface OnTuneEventListener { 5840*344a7f5eSAndroid Build Coastguard Worker method public void onTuneEvent(int); 5841*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNAL_LOCKED = 0; // 0x0 5842*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNAL_LOST_LOCK = 2; // 0x2 5843*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNAL_NO_SIGNAL = 1; // 0x1 5844*344a7f5eSAndroid Build Coastguard Worker } 5845*344a7f5eSAndroid Build Coastguard Worker 5846*344a7f5eSAndroid Build Coastguard Worker public interface ScanCallback { 5847*344a7f5eSAndroid Build Coastguard Worker method public void onAnalogSifStandardReported(int); 5848*344a7f5eSAndroid Build Coastguard Worker method public void onAtsc3PlpInfosReported(@NonNull android.media.tv.tuner.frontend.Atsc3PlpInfo[]); 5849*344a7f5eSAndroid Build Coastguard Worker method public void onDvbsStandardReported(int); 5850*344a7f5eSAndroid Build Coastguard Worker method public void onDvbtStandardReported(int); 5851*344a7f5eSAndroid Build Coastguard Worker method public void onFrequenciesReported(@NonNull int[]); 5852*344a7f5eSAndroid Build Coastguard Worker method public void onGroupIdsReported(@NonNull int[]); 5853*344a7f5eSAndroid Build Coastguard Worker method public void onHierarchyReported(int); 5854*344a7f5eSAndroid Build Coastguard Worker method public void onInputStreamIdsReported(@NonNull int[]); 5855*344a7f5eSAndroid Build Coastguard Worker method public void onLocked(); 5856*344a7f5eSAndroid Build Coastguard Worker method public void onPlpIdsReported(@NonNull int[]); 5857*344a7f5eSAndroid Build Coastguard Worker method public void onProgress(@IntRange(from=0, to=100) int); 5858*344a7f5eSAndroid Build Coastguard Worker method public void onScanStopped(); 5859*344a7f5eSAndroid Build Coastguard Worker method public void onSignalTypeReported(int); 5860*344a7f5eSAndroid Build Coastguard Worker method public void onSymbolRatesReported(@NonNull int[]); 5861*344a7f5eSAndroid Build Coastguard Worker } 5862*344a7f5eSAndroid Build Coastguard Worker 5863*344a7f5eSAndroid Build Coastguard Worker} 5864*344a7f5eSAndroid Build Coastguard Worker 5865*344a7f5eSAndroid Build Coastguard Workerpackage android.media.voice { 5866*344a7f5eSAndroid Build Coastguard Worker 5867*344a7f5eSAndroid Build Coastguard Worker public final class KeyphraseModelManager { 5868*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public void deleteKeyphraseSoundModel(int, @NonNull java.util.Locale); 5869*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int, @NonNull java.util.Locale); 5870*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public void updateKeyphraseSoundModel(@NonNull android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel); 5871*344a7f5eSAndroid Build Coastguard Worker } 5872*344a7f5eSAndroid Build Coastguard Worker 5873*344a7f5eSAndroid Build Coastguard Worker} 5874*344a7f5eSAndroid Build Coastguard Worker 5875*344a7f5eSAndroid Build Coastguard Workerpackage android.metrics { 5876*344a7f5eSAndroid Build Coastguard Worker 5877*344a7f5eSAndroid Build Coastguard Worker public class LogMaker { 5878*344a7f5eSAndroid Build Coastguard Worker ctor public LogMaker(int); 5879*344a7f5eSAndroid Build Coastguard Worker ctor public LogMaker(Object[]); 5880*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker addTaggedData(int, Object); 5881*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker clearCategory(); 5882*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker clearPackageName(); 5883*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker clearSubtype(); 5884*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker clearTaggedData(int); 5885*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker clearType(); 5886*344a7f5eSAndroid Build Coastguard Worker method public void deserialize(Object[]); 5887*344a7f5eSAndroid Build Coastguard Worker method public int getCategory(); 5888*344a7f5eSAndroid Build Coastguard Worker method public long getCounterBucket(); 5889*344a7f5eSAndroid Build Coastguard Worker method public String getCounterName(); 5890*344a7f5eSAndroid Build Coastguard Worker method public int getCounterValue(); 5891*344a7f5eSAndroid Build Coastguard Worker method public String getPackageName(); 5892*344a7f5eSAndroid Build Coastguard Worker method public int getProcessId(); 5893*344a7f5eSAndroid Build Coastguard Worker method public int getSubtype(); 5894*344a7f5eSAndroid Build Coastguard Worker method public Object getTaggedData(int); 5895*344a7f5eSAndroid Build Coastguard Worker method public long getTimestamp(); 5896*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5897*344a7f5eSAndroid Build Coastguard Worker method public int getUid(); 5898*344a7f5eSAndroid Build Coastguard Worker method public boolean isLongCounterBucket(); 5899*344a7f5eSAndroid Build Coastguard Worker method public boolean isSubsetOf(android.metrics.LogMaker); 5900*344a7f5eSAndroid Build Coastguard Worker method public boolean isValidValue(Object); 5901*344a7f5eSAndroid Build Coastguard Worker method public Object[] serialize(); 5902*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker setCategory(int); 5903*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker setPackageName(String); 5904*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker setSubtype(int); 5905*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker setType(int); 5906*344a7f5eSAndroid Build Coastguard Worker } 5907*344a7f5eSAndroid Build Coastguard Worker 5908*344a7f5eSAndroid Build Coastguard Worker public class MetricsReader { 5909*344a7f5eSAndroid Build Coastguard Worker ctor public MetricsReader(); 5910*344a7f5eSAndroid Build Coastguard Worker method public void checkpoint(); 5911*344a7f5eSAndroid Build Coastguard Worker method public boolean hasNext(); 5912*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker next(); 5913*344a7f5eSAndroid Build Coastguard Worker method public void read(long); 5914*344a7f5eSAndroid Build Coastguard Worker method public void reset(); 5915*344a7f5eSAndroid Build Coastguard Worker } 5916*344a7f5eSAndroid Build Coastguard Worker 5917*344a7f5eSAndroid Build Coastguard Worker} 5918*344a7f5eSAndroid Build Coastguard Worker 5919*344a7f5eSAndroid Build Coastguard Workerpackage android.net { 5920*344a7f5eSAndroid Build Coastguard Worker 5921*344a7f5eSAndroid Build Coastguard Worker public class CaptivePortal implements android.os.Parcelable { 5922*344a7f5eSAndroid Build Coastguard Worker method public void logEvent(int, @NonNull String); 5923*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.NETWORK_STACK) public void reevaluateNetwork(); 5924*344a7f5eSAndroid Build Coastguard Worker method public void useNetwork(); 5925*344a7f5eSAndroid Build Coastguard Worker field public static final int APP_REQUEST_REEVALUATION_REQUIRED = 100; // 0x64 5926*344a7f5eSAndroid Build Coastguard Worker field public static final int APP_RETURN_DISMISSED = 0; // 0x0 5927*344a7f5eSAndroid Build Coastguard Worker field public static final int APP_RETURN_UNWANTED = 1; // 0x1 5928*344a7f5eSAndroid Build Coastguard Worker field public static final int APP_RETURN_WANTED_AS_IS = 2; // 0x2 5929*344a7f5eSAndroid Build Coastguard Worker } 5930*344a7f5eSAndroid Build Coastguard Worker 5931*344a7f5eSAndroid Build Coastguard Worker public final class CaptivePortalData implements android.os.Parcelable { 5932*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 5933*344a7f5eSAndroid Build Coastguard Worker method public long getByteLimit(); 5934*344a7f5eSAndroid Build Coastguard Worker method public long getExpiryTimeMillis(); 5935*344a7f5eSAndroid Build Coastguard Worker method public long getRefreshTimeMillis(); 5936*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.Uri getUserPortalUrl(); 5937*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.Uri getVenueInfoUrl(); 5938*344a7f5eSAndroid Build Coastguard Worker method public boolean isCaptive(); 5939*344a7f5eSAndroid Build Coastguard Worker method public boolean isSessionExtendable(); 5940*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 5941*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.CaptivePortalData> CREATOR; 5942*344a7f5eSAndroid Build Coastguard Worker } 5943*344a7f5eSAndroid Build Coastguard Worker 5944*344a7f5eSAndroid Build Coastguard Worker public static class CaptivePortalData.Builder { 5945*344a7f5eSAndroid Build Coastguard Worker ctor public CaptivePortalData.Builder(); 5946*344a7f5eSAndroid Build Coastguard Worker ctor public CaptivePortalData.Builder(@Nullable android.net.CaptivePortalData); 5947*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData build(); 5948*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setBytesRemaining(long); 5949*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setCaptive(boolean); 5950*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setExpiryTime(long); 5951*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setRefreshTime(long); 5952*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setSessionExtendable(boolean); 5953*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setUserPortalUrl(@Nullable android.net.Uri); 5954*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setVenueInfoUrl(@Nullable android.net.Uri); 5955*344a7f5eSAndroid Build Coastguard Worker } 5956*344a7f5eSAndroid Build Coastguard Worker 5957*344a7f5eSAndroid Build Coastguard Worker public class ConnectivityManager { 5958*344a7f5eSAndroid Build Coastguard Worker 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); 5959*344a7f5eSAndroid Build Coastguard Worker 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); 5960*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public String getCaptivePortalServerUrl(); 5961*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void getLatestTetheringEntitlementResult(int, boolean, @NonNull java.util.concurrent.Executor, @NonNull android.net.ConnectivityManager.OnTetheringEntitlementResultListener); 5962*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.TETHER_PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public boolean isTetheringSupported(); 5963*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_FACTORY}) public int registerNetworkProvider(@NonNull android.net.NetworkProvider); 5964*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void registerTetheringEventCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.ConnectivityManager.OnTetheringEventCallback); 5965*344a7f5eSAndroid Build Coastguard Worker 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); 5966*344a7f5eSAndroid Build Coastguard Worker 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); 5967*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public boolean shouldAvoidBadWifi(); 5968*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void startCaptivePortalApp(@NonNull android.net.Network, @NonNull android.os.Bundle); 5969*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void startTethering(int, boolean, android.net.ConnectivityManager.OnStartTetheringCallback); 5970*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void startTethering(int, boolean, android.net.ConnectivityManager.OnStartTetheringCallback, android.os.Handler); 5971*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void stopTethering(int); 5972*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_FACTORY}) public void unregisterNetworkProvider(@NonNull android.net.NetworkProvider); 5973*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void unregisterTetheringEventCallback(@NonNull android.net.ConnectivityManager.OnTetheringEventCallback); 5974*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CAPTIVE_PORTAL_PROBE_SPEC = "android.net.extra.CAPTIVE_PORTAL_PROBE_SPEC"; 5975*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CAPTIVE_PORTAL_USER_AGENT = "android.net.extra.CAPTIVE_PORTAL_USER_AGENT"; 5976*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHERING_BLUETOOTH = 2; // 0x2 5977*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHERING_USB = 1; // 0x1 5978*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHERING_WIFI = 0; // 0x0 5979*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int TETHER_ERROR_ENTITLEMENT_UNKONWN = 13; // 0xd 5980*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0 5981*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int TETHER_ERROR_PROVISION_FAILED = 11; // 0xb 5982*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_NONE = -1; // 0xffffffff 5983*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int TYPE_WIFI_P2P = 13; // 0xd 5984*344a7f5eSAndroid Build Coastguard Worker } 5985*344a7f5eSAndroid Build Coastguard Worker 5986*344a7f5eSAndroid Build Coastguard Worker @Deprecated public abstract static class ConnectivityManager.OnStartTetheringCallback { 5987*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public ConnectivityManager.OnStartTetheringCallback(); 5988*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onTetheringFailed(); 5989*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onTetheringStarted(); 5990*344a7f5eSAndroid Build Coastguard Worker } 5991*344a7f5eSAndroid Build Coastguard Worker 5992*344a7f5eSAndroid Build Coastguard Worker @Deprecated public static interface ConnectivityManager.OnTetheringEntitlementResultListener { 5993*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onTetheringEntitlementResult(int); 5994*344a7f5eSAndroid Build Coastguard Worker } 5995*344a7f5eSAndroid Build Coastguard Worker 5996*344a7f5eSAndroid Build Coastguard Worker @Deprecated public abstract static class ConnectivityManager.OnTetheringEventCallback { 5997*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public ConnectivityManager.OnTetheringEventCallback(); 5998*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onUpstreamChanged(@Nullable android.net.Network); 5999*344a7f5eSAndroid Build Coastguard Worker } 6000*344a7f5eSAndroid Build Coastguard Worker 6001*344a7f5eSAndroid Build Coastguard Worker public class EthernetManager { 6002*344a7f5eSAndroid Build Coastguard Worker 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); 6003*344a7f5eSAndroid Build Coastguard Worker } 6004*344a7f5eSAndroid Build Coastguard Worker 6005*344a7f5eSAndroid Build Coastguard Worker public static interface EthernetManager.TetheredInterfaceCallback { 6006*344a7f5eSAndroid Build Coastguard Worker method public void onAvailable(@NonNull String); 6007*344a7f5eSAndroid Build Coastguard Worker method public void onUnavailable(); 6008*344a7f5eSAndroid Build Coastguard Worker } 6009*344a7f5eSAndroid Build Coastguard Worker 6010*344a7f5eSAndroid Build Coastguard Worker public static class EthernetManager.TetheredInterfaceRequest { 6011*344a7f5eSAndroid Build Coastguard Worker method public void release(); 6012*344a7f5eSAndroid Build Coastguard Worker } 6013*344a7f5eSAndroid Build Coastguard Worker 6014*344a7f5eSAndroid Build Coastguard Worker public final class InvalidPacketException extends java.lang.Exception { 6015*344a7f5eSAndroid Build Coastguard Worker ctor public InvalidPacketException(int); 6016*344a7f5eSAndroid Build Coastguard Worker method public int getError(); 6017*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_INVALID_IP_ADDRESS = -21; // 0xffffffeb 6018*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_INVALID_LENGTH = -23; // 0xffffffe9 6019*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_INVALID_PORT = -22; // 0xffffffea 6020*344a7f5eSAndroid Build Coastguard Worker } 6021*344a7f5eSAndroid Build Coastguard Worker 6022*344a7f5eSAndroid Build Coastguard Worker public final class IpConfiguration implements android.os.Parcelable { 6023*344a7f5eSAndroid Build Coastguard Worker ctor public IpConfiguration(); 6024*344a7f5eSAndroid Build Coastguard Worker ctor public IpConfiguration(@NonNull android.net.IpConfiguration); 6025*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6026*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.ProxyInfo getHttpProxy(); 6027*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.IpConfiguration.IpAssignment getIpAssignment(); 6028*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.IpConfiguration.ProxySettings getProxySettings(); 6029*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.StaticIpConfiguration getStaticIpConfiguration(); 6030*344a7f5eSAndroid Build Coastguard Worker method public void setHttpProxy(@Nullable android.net.ProxyInfo); 6031*344a7f5eSAndroid Build Coastguard Worker method public void setIpAssignment(@NonNull android.net.IpConfiguration.IpAssignment); 6032*344a7f5eSAndroid Build Coastguard Worker method public void setProxySettings(@NonNull android.net.IpConfiguration.ProxySettings); 6033*344a7f5eSAndroid Build Coastguard Worker method public void setStaticIpConfiguration(@Nullable android.net.StaticIpConfiguration); 6034*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 6035*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.IpConfiguration> CREATOR; 6036*344a7f5eSAndroid Build Coastguard Worker } 6037*344a7f5eSAndroid Build Coastguard Worker 6038*344a7f5eSAndroid Build Coastguard Worker public enum IpConfiguration.IpAssignment { 6039*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.net.IpConfiguration.IpAssignment DHCP; 6040*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.net.IpConfiguration.IpAssignment STATIC; 6041*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.net.IpConfiguration.IpAssignment UNASSIGNED; 6042*344a7f5eSAndroid Build Coastguard Worker } 6043*344a7f5eSAndroid Build Coastguard Worker 6044*344a7f5eSAndroid Build Coastguard Worker public enum IpConfiguration.ProxySettings { 6045*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.net.IpConfiguration.ProxySettings NONE; 6046*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.net.IpConfiguration.ProxySettings PAC; 6047*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.net.IpConfiguration.ProxySettings STATIC; 6048*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.net.IpConfiguration.ProxySettings UNASSIGNED; 6049*344a7f5eSAndroid Build Coastguard Worker } 6050*344a7f5eSAndroid Build Coastguard Worker 6051*344a7f5eSAndroid Build Coastguard Worker public final class IpPrefix implements android.os.Parcelable { 6052*344a7f5eSAndroid Build Coastguard Worker ctor public IpPrefix(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int); 6053*344a7f5eSAndroid Build Coastguard Worker ctor public IpPrefix(@NonNull String); 6054*344a7f5eSAndroid Build Coastguard Worker } 6055*344a7f5eSAndroid Build Coastguard Worker 6056*344a7f5eSAndroid Build Coastguard Worker public final class IpSecManager { 6057*344a7f5eSAndroid Build Coastguard Worker 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; 6058*344a7f5eSAndroid Build Coastguard Worker 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; 6059*344a7f5eSAndroid Build Coastguard Worker } 6060*344a7f5eSAndroid Build Coastguard Worker 6061*344a7f5eSAndroid Build Coastguard Worker public static final class IpSecManager.IpSecTunnelInterface implements java.lang.AutoCloseable { 6062*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public void addAddress(@NonNull java.net.InetAddress, int) throws java.io.IOException; 6063*344a7f5eSAndroid Build Coastguard Worker method public void close(); 6064*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getInterfaceName(); 6065*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public void removeAddress(@NonNull java.net.InetAddress, int) throws java.io.IOException; 6066*344a7f5eSAndroid Build Coastguard Worker } 6067*344a7f5eSAndroid Build Coastguard Worker 6068*344a7f5eSAndroid Build Coastguard Worker public static class IpSecTransform.Builder { 6069*344a7f5eSAndroid Build Coastguard Worker 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; 6070*344a7f5eSAndroid Build Coastguard Worker } 6071*344a7f5eSAndroid Build Coastguard Worker 6072*344a7f5eSAndroid Build Coastguard Worker public class KeepalivePacketData { 6073*344a7f5eSAndroid Build Coastguard Worker 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; 6074*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.net.InetAddress getDstAddress(); 6075*344a7f5eSAndroid Build Coastguard Worker method public int getDstPort(); 6076*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getPacket(); 6077*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.net.InetAddress getSrcAddress(); 6078*344a7f5eSAndroid Build Coastguard Worker method public int getSrcPort(); 6079*344a7f5eSAndroid Build Coastguard Worker } 6080*344a7f5eSAndroid Build Coastguard Worker 6081*344a7f5eSAndroid Build Coastguard Worker public class LinkAddress implements android.os.Parcelable { 6082*344a7f5eSAndroid Build Coastguard Worker ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int, int, int); 6083*344a7f5eSAndroid Build Coastguard Worker ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int, int, int, long, long); 6084*344a7f5eSAndroid Build Coastguard Worker ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int); 6085*344a7f5eSAndroid Build Coastguard Worker ctor public LinkAddress(@NonNull String); 6086*344a7f5eSAndroid Build Coastguard Worker ctor public LinkAddress(@NonNull String, int, int); 6087*344a7f5eSAndroid Build Coastguard Worker method public long getDeprecationTime(); 6088*344a7f5eSAndroid Build Coastguard Worker method public long getExpirationTime(); 6089*344a7f5eSAndroid Build Coastguard Worker method public boolean isGlobalPreferred(); 6090*344a7f5eSAndroid Build Coastguard Worker method public boolean isIpv4(); 6091*344a7f5eSAndroid Build Coastguard Worker method public boolean isIpv6(); 6092*344a7f5eSAndroid Build Coastguard Worker method public boolean isSameAddressAs(@Nullable android.net.LinkAddress); 6093*344a7f5eSAndroid Build Coastguard Worker field public static final long LIFETIME_PERMANENT = 9223372036854775807L; // 0x7fffffffffffffffL 6094*344a7f5eSAndroid Build Coastguard Worker field public static final long LIFETIME_UNKNOWN = -1L; // 0xffffffffffffffffL 6095*344a7f5eSAndroid Build Coastguard Worker } 6096*344a7f5eSAndroid Build Coastguard Worker 6097*344a7f5eSAndroid Build Coastguard Worker public final class LinkProperties implements android.os.Parcelable { 6098*344a7f5eSAndroid Build Coastguard Worker ctor public LinkProperties(@Nullable android.net.LinkProperties); 6099*344a7f5eSAndroid Build Coastguard Worker ctor public LinkProperties(@Nullable android.net.LinkProperties, boolean); 6100*344a7f5eSAndroid Build Coastguard Worker method public boolean addDnsServer(@NonNull java.net.InetAddress); 6101*344a7f5eSAndroid Build Coastguard Worker method public boolean addLinkAddress(@NonNull android.net.LinkAddress); 6102*344a7f5eSAndroid Build Coastguard Worker method public boolean addPcscfServer(@NonNull java.net.InetAddress); 6103*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.net.InetAddress> getAddresses(); 6104*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.lang.String> getAllInterfaceNames(); 6105*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.net.LinkAddress> getAllLinkAddresses(); 6106*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.net.RouteInfo> getAllRoutes(); 6107*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.Uri getCaptivePortalApiUrl(); 6108*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.CaptivePortalData getCaptivePortalData(); 6109*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.net.InetAddress> getPcscfServers(); 6110*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getTcpBufferSizes(); 6111*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.net.InetAddress> getValidatedPrivateDnsServers(); 6112*344a7f5eSAndroid Build Coastguard Worker method public boolean hasGlobalIpv6Address(); 6113*344a7f5eSAndroid Build Coastguard Worker method public boolean hasIpv4Address(); 6114*344a7f5eSAndroid Build Coastguard Worker method public boolean hasIpv4DefaultRoute(); 6115*344a7f5eSAndroid Build Coastguard Worker method public boolean hasIpv4DnsServer(); 6116*344a7f5eSAndroid Build Coastguard Worker method public boolean hasIpv6DefaultRoute(); 6117*344a7f5eSAndroid Build Coastguard Worker method public boolean hasIpv6DnsServer(); 6118*344a7f5eSAndroid Build Coastguard Worker method public boolean isIpv4Provisioned(); 6119*344a7f5eSAndroid Build Coastguard Worker method public boolean isIpv6Provisioned(); 6120*344a7f5eSAndroid Build Coastguard Worker method public boolean isProvisioned(); 6121*344a7f5eSAndroid Build Coastguard Worker method public boolean isReachable(@NonNull java.net.InetAddress); 6122*344a7f5eSAndroid Build Coastguard Worker method public boolean removeDnsServer(@NonNull java.net.InetAddress); 6123*344a7f5eSAndroid Build Coastguard Worker method public boolean removeLinkAddress(@NonNull android.net.LinkAddress); 6124*344a7f5eSAndroid Build Coastguard Worker method public boolean removeRoute(@NonNull android.net.RouteInfo); 6125*344a7f5eSAndroid Build Coastguard Worker method public void setCaptivePortalApiUrl(@Nullable android.net.Uri); 6126*344a7f5eSAndroid Build Coastguard Worker method public void setCaptivePortalData(@Nullable android.net.CaptivePortalData); 6127*344a7f5eSAndroid Build Coastguard Worker method public void setPcscfServers(@NonNull java.util.Collection<java.net.InetAddress>); 6128*344a7f5eSAndroid Build Coastguard Worker method public void setPrivateDnsServerName(@Nullable String); 6129*344a7f5eSAndroid Build Coastguard Worker method public void setTcpBufferSizes(@Nullable String); 6130*344a7f5eSAndroid Build Coastguard Worker method public void setUsePrivateDns(boolean); 6131*344a7f5eSAndroid Build Coastguard Worker method public void setValidatedPrivateDnsServers(@NonNull java.util.Collection<java.net.InetAddress>); 6132*344a7f5eSAndroid Build Coastguard Worker } 6133*344a7f5eSAndroid Build Coastguard Worker 6134*344a7f5eSAndroid Build Coastguard Worker public final class MatchAllNetworkSpecifier extends android.net.NetworkSpecifier implements android.os.Parcelable { 6135*344a7f5eSAndroid Build Coastguard Worker ctor public MatchAllNetworkSpecifier(); 6136*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6137*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 6138*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.MatchAllNetworkSpecifier> CREATOR; 6139*344a7f5eSAndroid Build Coastguard Worker } 6140*344a7f5eSAndroid Build Coastguard Worker 6141*344a7f5eSAndroid Build Coastguard Worker public final class NattKeepalivePacketData extends android.net.KeepalivePacketData implements android.os.Parcelable { 6142*344a7f5eSAndroid Build Coastguard Worker ctor public NattKeepalivePacketData(@NonNull java.net.InetAddress, int, @NonNull java.net.InetAddress, int, @NonNull byte[]) throws android.net.InvalidPacketException; 6143*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6144*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 6145*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.NattKeepalivePacketData> CREATOR; 6146*344a7f5eSAndroid Build Coastguard Worker } 6147*344a7f5eSAndroid Build Coastguard Worker 6148*344a7f5eSAndroid Build Coastguard Worker public class Network implements android.os.Parcelable { 6149*344a7f5eSAndroid Build Coastguard Worker ctor public Network(@NonNull android.net.Network); 6150*344a7f5eSAndroid Build Coastguard Worker method public int getNetId(); 6151*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.Network getPrivateDnsBypassingCopy(); 6152*344a7f5eSAndroid Build Coastguard Worker } 6153*344a7f5eSAndroid Build Coastguard Worker 6154*344a7f5eSAndroid Build Coastguard Worker public abstract class NetworkAgent { 6155*344a7f5eSAndroid Build Coastguard Worker 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); 6156*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.Network getNetwork(); 6157*344a7f5eSAndroid Build Coastguard Worker method public void markConnected(); 6158*344a7f5eSAndroid Build Coastguard Worker method public void onAddKeepalivePacketFilter(int, @NonNull android.net.KeepalivePacketData); 6159*344a7f5eSAndroid Build Coastguard Worker method public void onAutomaticReconnectDisabled(); 6160*344a7f5eSAndroid Build Coastguard Worker method public void onNetworkUnwanted(); 6161*344a7f5eSAndroid Build Coastguard Worker method public void onRemoveKeepalivePacketFilter(int); 6162*344a7f5eSAndroid Build Coastguard Worker method public void onSaveAcceptUnvalidated(boolean); 6163*344a7f5eSAndroid Build Coastguard Worker method public void onSignalStrengthThresholdsUpdated(@NonNull int[]); 6164*344a7f5eSAndroid Build Coastguard Worker method public void onStartSocketKeepalive(int, @NonNull java.time.Duration, @NonNull android.net.KeepalivePacketData); 6165*344a7f5eSAndroid Build Coastguard Worker method public void onStopSocketKeepalive(int); 6166*344a7f5eSAndroid Build Coastguard Worker method public void onValidationStatus(int, @Nullable android.net.Uri); 6167*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.Network register(); 6168*344a7f5eSAndroid Build Coastguard Worker method public final void sendLinkProperties(@NonNull android.net.LinkProperties); 6169*344a7f5eSAndroid Build Coastguard Worker method public final void sendNetworkCapabilities(@NonNull android.net.NetworkCapabilities); 6170*344a7f5eSAndroid Build Coastguard Worker method public final void sendNetworkScore(@IntRange(from=0, to=99) int); 6171*344a7f5eSAndroid Build Coastguard Worker method public final void sendSocketKeepaliveEvent(int, int); 6172*344a7f5eSAndroid Build Coastguard Worker method public void unregister(); 6173*344a7f5eSAndroid Build Coastguard Worker field public static final int VALIDATION_STATUS_NOT_VALID = 2; // 0x2 6174*344a7f5eSAndroid Build Coastguard Worker field public static final int VALIDATION_STATUS_VALID = 1; // 0x1 6175*344a7f5eSAndroid Build Coastguard Worker } 6176*344a7f5eSAndroid Build Coastguard Worker 6177*344a7f5eSAndroid Build Coastguard Worker public final class NetworkAgentConfig implements android.os.Parcelable { 6178*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6179*344a7f5eSAndroid Build Coastguard Worker method public int getLegacyType(); 6180*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getLegacyTypeName(); 6181*344a7f5eSAndroid Build Coastguard Worker method public boolean isExplicitlySelected(); 6182*344a7f5eSAndroid Build Coastguard Worker method public boolean isPartialConnectivityAcceptable(); 6183*344a7f5eSAndroid Build Coastguard Worker method public boolean isUnvalidatedConnectivityAcceptable(); 6184*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 6185*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkAgentConfig> CREATOR; 6186*344a7f5eSAndroid Build Coastguard Worker } 6187*344a7f5eSAndroid Build Coastguard Worker 6188*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkAgentConfig.Builder { 6189*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkAgentConfig.Builder(); 6190*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkAgentConfig build(); 6191*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkAgentConfig.Builder setExplicitlySelected(boolean); 6192*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkAgentConfig.Builder setLegacyType(int); 6193*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkAgentConfig.Builder setLegacyTypeName(@NonNull String); 6194*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkAgentConfig.Builder setPartialConnectivityAcceptable(boolean); 6195*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkAgentConfig.Builder setUnvalidatedConnectivityAcceptable(boolean); 6196*344a7f5eSAndroid Build Coastguard Worker } 6197*344a7f5eSAndroid Build Coastguard Worker 6198*344a7f5eSAndroid Build Coastguard Worker public final class NetworkCapabilities implements android.os.Parcelable { 6199*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getAdministratorUids(); 6200*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getSsid(); 6201*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getTransportTypes(); 6202*344a7f5eSAndroid Build Coastguard Worker method public boolean satisfiedByNetworkCapabilities(@Nullable android.net.NetworkCapabilities); 6203*344a7f5eSAndroid Build Coastguard Worker field public static final int NET_CAPABILITY_OEM_PAID = 22; // 0x16 6204*344a7f5eSAndroid Build Coastguard Worker field public static final int NET_CAPABILITY_PARTIAL_CONNECTIVITY = 24; // 0x18 6205*344a7f5eSAndroid Build Coastguard Worker } 6206*344a7f5eSAndroid Build Coastguard Worker 6207*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkCapabilities.Builder { 6208*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkCapabilities.Builder(); 6209*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkCapabilities.Builder(@NonNull android.net.NetworkCapabilities); 6210*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder addCapability(int); 6211*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder addTransportType(int); 6212*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities build(); 6213*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder removeCapability(int); 6214*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder removeTransportType(int); 6215*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setAdministratorUids(@NonNull int[]); 6216*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder setLinkDownstreamBandwidthKbps(int); 6217*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder setLinkUpstreamBandwidthKbps(int); 6218*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder setNetworkSpecifier(@Nullable android.net.NetworkSpecifier); 6219*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setOwnerUid(int); 6220*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setRequestorPackageName(@Nullable String); 6221*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setRequestorUid(int); 6222*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP) public android.net.NetworkCapabilities.Builder setSignalStrength(int); 6223*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setSsid(@Nullable String); 6224*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.net.TransportInfo); 6225*344a7f5eSAndroid Build Coastguard Worker } 6226*344a7f5eSAndroid Build Coastguard Worker 6227*344a7f5eSAndroid Build Coastguard Worker public class NetworkKey implements android.os.Parcelable { 6228*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkKey(android.net.WifiKey); 6229*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.net.NetworkKey createFromScanResult(@NonNull android.net.wifi.ScanResult); 6230*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6231*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 6232*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkKey> CREATOR; 6233*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_WIFI = 1; // 0x1 6234*344a7f5eSAndroid Build Coastguard Worker field public final int type; 6235*344a7f5eSAndroid Build Coastguard Worker field public final android.net.WifiKey wifiKey; 6236*344a7f5eSAndroid Build Coastguard Worker } 6237*344a7f5eSAndroid Build Coastguard Worker 6238*344a7f5eSAndroid Build Coastguard Worker public class NetworkProvider { 6239*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkProvider(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull String); 6240*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public void declareNetworkRequestUnfulfillable(@NonNull android.net.NetworkRequest); 6241*344a7f5eSAndroid Build Coastguard Worker method public int getProviderId(); 6242*344a7f5eSAndroid Build Coastguard Worker method public void onNetworkRequestWithdrawn(@NonNull android.net.NetworkRequest); 6243*344a7f5eSAndroid Build Coastguard Worker method public void onNetworkRequested(@NonNull android.net.NetworkRequest, @IntRange(from=0, to=99) int, int); 6244*344a7f5eSAndroid Build Coastguard Worker field public static final int ID_NONE = -1; // 0xffffffff 6245*344a7f5eSAndroid Build Coastguard Worker } 6246*344a7f5eSAndroid Build Coastguard Worker 6247*344a7f5eSAndroid Build Coastguard Worker public abstract class NetworkRecommendationProvider { 6248*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkRecommendationProvider(android.content.Context, java.util.concurrent.Executor); 6249*344a7f5eSAndroid Build Coastguard Worker method public final android.os.IBinder getBinder(); 6250*344a7f5eSAndroid Build Coastguard Worker method public abstract void onRequestScores(android.net.NetworkKey[]); 6251*344a7f5eSAndroid Build Coastguard Worker } 6252*344a7f5eSAndroid Build Coastguard Worker 6253*344a7f5eSAndroid Build Coastguard Worker public class NetworkRequest implements android.os.Parcelable { 6254*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getRequestorPackageName(); 6255*344a7f5eSAndroid Build Coastguard Worker method public int getRequestorUid(); 6256*344a7f5eSAndroid Build Coastguard Worker } 6257*344a7f5eSAndroid Build Coastguard Worker 6258*344a7f5eSAndroid Build Coastguard Worker public static class NetworkRequest.Builder { 6259*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP) public android.net.NetworkRequest.Builder setSignalStrength(int); 6260*344a7f5eSAndroid Build Coastguard Worker } 6261*344a7f5eSAndroid Build Coastguard Worker 6262*344a7f5eSAndroid Build Coastguard Worker public class NetworkScoreManager { 6263*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public boolean clearScores() throws java.lang.SecurityException; 6264*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public void disableScoring() throws java.lang.SecurityException; 6265*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public String getActiveScorerPackage(); 6266*344a7f5eSAndroid Build Coastguard Worker method @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; 6267*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES) public boolean requestScores(@NonNull java.util.Collection<android.net.NetworkKey>) throws java.lang.SecurityException; 6268*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public boolean setActiveScorer(String) throws java.lang.SecurityException; 6269*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.SCORE_NETWORKS) public boolean updateScores(@NonNull android.net.ScoredNetwork[]) throws java.lang.SecurityException; 6270*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String ACTION_CHANGE_ACTIVE = "android.net.scoring.CHANGE_ACTIVE"; 6271*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_CUSTOM_ENABLE = "android.net.scoring.CUSTOM_ENABLE"; 6272*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_RECOMMEND_NETWORKS = "android.net.action.RECOMMEND_NETWORKS"; 6273*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SCORER_CHANGED = "android.net.scoring.SCORER_CHANGED"; 6274*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String ACTION_SCORE_NETWORKS = "android.net.scoring.SCORE_NETWORKS"; 6275*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String EXTRA_NETWORKS_TO_SCORE = "networksToScore"; 6276*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_NEW_SCORER = "newScorer"; 6277*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String EXTRA_PACKAGE_NAME = "packageName"; 6278*344a7f5eSAndroid Build Coastguard Worker field public static final int SCORE_FILTER_CURRENT_NETWORK = 1; // 0x1 6279*344a7f5eSAndroid Build Coastguard Worker field public static final int SCORE_FILTER_NONE = 0; // 0x0 6280*344a7f5eSAndroid Build Coastguard Worker field public static final int SCORE_FILTER_SCAN_RESULTS = 2; // 0x2 6281*344a7f5eSAndroid Build Coastguard Worker } 6282*344a7f5eSAndroid Build Coastguard Worker 6283*344a7f5eSAndroid Build Coastguard Worker public abstract static class NetworkScoreManager.NetworkScoreCallback { 6284*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkScoreManager.NetworkScoreCallback(); 6285*344a7f5eSAndroid Build Coastguard Worker method public abstract void onScoresInvalidated(); 6286*344a7f5eSAndroid Build Coastguard Worker method public abstract void onScoresUpdated(@NonNull java.util.Collection<android.net.ScoredNetwork>); 6287*344a7f5eSAndroid Build Coastguard Worker } 6288*344a7f5eSAndroid Build Coastguard Worker 6289*344a7f5eSAndroid Build Coastguard Worker public abstract class NetworkSpecifier { 6290*344a7f5eSAndroid Build Coastguard Worker method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkSpecifier); 6291*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.NetworkSpecifier redact(); 6292*344a7f5eSAndroid Build Coastguard Worker } 6293*344a7f5eSAndroid Build Coastguard Worker 6294*344a7f5eSAndroid Build Coastguard Worker public class NetworkStack { 6295*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.os.IBinder getService(); 6296*344a7f5eSAndroid Build Coastguard Worker field public static final String PERMISSION_MAINLINE_NETWORK_STACK = "android.permission.MAINLINE_NETWORK_STACK"; 6297*344a7f5eSAndroid Build Coastguard Worker } 6298*344a7f5eSAndroid Build Coastguard Worker 6299*344a7f5eSAndroid Build Coastguard Worker public final class NetworkStats implements android.os.Parcelable { 6300*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkStats(long, int); 6301*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkStats add(@NonNull android.net.NetworkStats); 6302*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkStats addEntry(@NonNull android.net.NetworkStats.Entry); 6303*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6304*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkStats subtract(@NonNull android.net.NetworkStats); 6305*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 6306*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkStats> CREATOR; 6307*344a7f5eSAndroid Build Coastguard Worker field public static final int DEFAULT_NETWORK_NO = 0; // 0x0 6308*344a7f5eSAndroid Build Coastguard Worker field public static final int DEFAULT_NETWORK_YES = 1; // 0x1 6309*344a7f5eSAndroid Build Coastguard Worker field public static final String IFACE_VT = "vt_data0"; 6310*344a7f5eSAndroid Build Coastguard Worker field public static final int METERED_NO = 0; // 0x0 6311*344a7f5eSAndroid Build Coastguard Worker field public static final int METERED_YES = 1; // 0x1 6312*344a7f5eSAndroid Build Coastguard Worker field public static final int ROAMING_NO = 0; // 0x0 6313*344a7f5eSAndroid Build Coastguard Worker field public static final int ROAMING_YES = 1; // 0x1 6314*344a7f5eSAndroid Build Coastguard Worker field public static final int SET_DEFAULT = 0; // 0x0 6315*344a7f5eSAndroid Build Coastguard Worker field public static final int SET_FOREGROUND = 1; // 0x1 6316*344a7f5eSAndroid Build Coastguard Worker field public static final int TAG_NONE = 0; // 0x0 6317*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_ALL = -1; // 0xffffffff 6318*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_TETHERING = -5; // 0xfffffffb 6319*344a7f5eSAndroid Build Coastguard Worker } 6320*344a7f5eSAndroid Build Coastguard Worker 6321*344a7f5eSAndroid Build Coastguard Worker public static class NetworkStats.Entry { 6322*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkStats.Entry(@Nullable String, int, int, int, int, int, int, long, long, long, long, long); 6323*344a7f5eSAndroid Build Coastguard Worker } 6324*344a7f5eSAndroid Build Coastguard Worker 6325*344a7f5eSAndroid Build Coastguard Worker public final class RouteInfo implements android.os.Parcelable { 6326*344a7f5eSAndroid Build Coastguard Worker ctor public RouteInfo(@Nullable android.net.IpPrefix, @Nullable java.net.InetAddress, @Nullable String, int); 6327*344a7f5eSAndroid Build Coastguard Worker ctor public RouteInfo(@Nullable android.net.IpPrefix, @Nullable java.net.InetAddress, @Nullable String, int, int); 6328*344a7f5eSAndroid Build Coastguard Worker method public int getMtu(); 6329*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 6330*344a7f5eSAndroid Build Coastguard Worker field public static final int RTN_THROW = 9; // 0x9 6331*344a7f5eSAndroid Build Coastguard Worker field public static final int RTN_UNICAST = 1; // 0x1 6332*344a7f5eSAndroid Build Coastguard Worker field public static final int RTN_UNREACHABLE = 7; // 0x7 6333*344a7f5eSAndroid Build Coastguard Worker } 6334*344a7f5eSAndroid Build Coastguard Worker 6335*344a7f5eSAndroid Build Coastguard Worker public class RssiCurve implements android.os.Parcelable { 6336*344a7f5eSAndroid Build Coastguard Worker ctor public RssiCurve(int, int, byte[]); 6337*344a7f5eSAndroid Build Coastguard Worker ctor public RssiCurve(int, int, byte[], int); 6338*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6339*344a7f5eSAndroid Build Coastguard Worker method public byte lookupScore(int); 6340*344a7f5eSAndroid Build Coastguard Worker method public byte lookupScore(int, boolean); 6341*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 6342*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.RssiCurve> CREATOR; 6343*344a7f5eSAndroid Build Coastguard Worker field public final int activeNetworkRssiBoost; 6344*344a7f5eSAndroid Build Coastguard Worker field public final int bucketWidth; 6345*344a7f5eSAndroid Build Coastguard Worker field public final byte[] rssiBuckets; 6346*344a7f5eSAndroid Build Coastguard Worker field public final int start; 6347*344a7f5eSAndroid Build Coastguard Worker } 6348*344a7f5eSAndroid Build Coastguard Worker 6349*344a7f5eSAndroid Build Coastguard Worker public class ScoredNetwork implements android.os.Parcelable { 6350*344a7f5eSAndroid Build Coastguard Worker ctor public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve); 6351*344a7f5eSAndroid Build Coastguard Worker ctor public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve, boolean); 6352*344a7f5eSAndroid Build Coastguard Worker ctor public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve, boolean, @Nullable android.os.Bundle); 6353*344a7f5eSAndroid Build Coastguard Worker method public int calculateBadge(int); 6354*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6355*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 6356*344a7f5eSAndroid Build Coastguard Worker field public static final String ATTRIBUTES_KEY_BADGING_CURVE = "android.net.attributes.key.BADGING_CURVE"; 6357*344a7f5eSAndroid Build Coastguard Worker field public static final String ATTRIBUTES_KEY_HAS_CAPTIVE_PORTAL = "android.net.attributes.key.HAS_CAPTIVE_PORTAL"; 6358*344a7f5eSAndroid Build Coastguard Worker field public static final String ATTRIBUTES_KEY_RANKING_SCORE_OFFSET = "android.net.attributes.key.RANKING_SCORE_OFFSET"; 6359*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.ScoredNetwork> CREATOR; 6360*344a7f5eSAndroid Build Coastguard Worker field @Nullable public final android.os.Bundle attributes; 6361*344a7f5eSAndroid Build Coastguard Worker field public final boolean meteredHint; 6362*344a7f5eSAndroid Build Coastguard Worker field public final android.net.NetworkKey networkKey; 6363*344a7f5eSAndroid Build Coastguard Worker field public final android.net.RssiCurve rssiCurve; 6364*344a7f5eSAndroid Build Coastguard Worker } 6365*344a7f5eSAndroid Build Coastguard Worker 6366*344a7f5eSAndroid Build Coastguard Worker public abstract class SocketKeepalive implements java.lang.AutoCloseable { 6367*344a7f5eSAndroid Build Coastguard Worker field public static final int SUCCESS = 0; // 0x0 6368*344a7f5eSAndroid Build Coastguard Worker } 6369*344a7f5eSAndroid Build Coastguard Worker 6370*344a7f5eSAndroid Build Coastguard Worker public final class StaticIpConfiguration implements android.os.Parcelable { 6371*344a7f5eSAndroid Build Coastguard Worker ctor public StaticIpConfiguration(); 6372*344a7f5eSAndroid Build Coastguard Worker ctor public StaticIpConfiguration(@Nullable android.net.StaticIpConfiguration); 6373*344a7f5eSAndroid Build Coastguard Worker method public void addDnsServer(@NonNull java.net.InetAddress); 6374*344a7f5eSAndroid Build Coastguard Worker method public void clear(); 6375*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6376*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.net.InetAddress> getDnsServers(); 6377*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getDomains(); 6378*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.net.InetAddress getGateway(); 6379*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.LinkAddress getIpAddress(); 6380*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.net.RouteInfo> getRoutes(@Nullable String); 6381*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 6382*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.StaticIpConfiguration> CREATOR; 6383*344a7f5eSAndroid Build Coastguard Worker } 6384*344a7f5eSAndroid Build Coastguard Worker 6385*344a7f5eSAndroid Build Coastguard Worker public static final class StaticIpConfiguration.Builder { 6386*344a7f5eSAndroid Build Coastguard Worker ctor public StaticIpConfiguration.Builder(); 6387*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.StaticIpConfiguration build(); 6388*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.StaticIpConfiguration.Builder setDnsServers(@NonNull Iterable<java.net.InetAddress>); 6389*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.StaticIpConfiguration.Builder setDomains(@Nullable String); 6390*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.StaticIpConfiguration.Builder setGateway(@Nullable java.net.InetAddress); 6391*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.StaticIpConfiguration.Builder setIpAddress(@Nullable android.net.LinkAddress); 6392*344a7f5eSAndroid Build Coastguard Worker } 6393*344a7f5eSAndroid Build Coastguard Worker 6394*344a7f5eSAndroid Build Coastguard Worker public class TrafficStats { 6395*344a7f5eSAndroid Build Coastguard Worker method public static void setThreadStatsTagApp(); 6396*344a7f5eSAndroid Build Coastguard Worker method public static void setThreadStatsTagBackup(); 6397*344a7f5eSAndroid Build Coastguard Worker method public static void setThreadStatsTagRestore(); 6398*344a7f5eSAndroid Build Coastguard Worker field public static final int TAG_NETWORK_STACK_IMPERSONATION_RANGE_END = -113; // 0xffffff8f 6399*344a7f5eSAndroid Build Coastguard Worker field public static final int TAG_NETWORK_STACK_IMPERSONATION_RANGE_START = -128; // 0xffffff80 6400*344a7f5eSAndroid Build Coastguard Worker field public static final int TAG_NETWORK_STACK_RANGE_END = -257; // 0xfffffeff 6401*344a7f5eSAndroid Build Coastguard Worker field public static final int TAG_NETWORK_STACK_RANGE_START = -768; // 0xfffffd00 6402*344a7f5eSAndroid Build Coastguard Worker field public static final int TAG_SYSTEM_IMPERSONATION_RANGE_END = -241; // 0xffffff0f 6403*344a7f5eSAndroid Build Coastguard Worker field public static final int TAG_SYSTEM_IMPERSONATION_RANGE_START = -256; // 0xffffff00 6404*344a7f5eSAndroid Build Coastguard Worker } 6405*344a7f5eSAndroid Build Coastguard Worker 6406*344a7f5eSAndroid Build Coastguard Worker public abstract class Uri implements java.lang.Comparable<android.net.Uri> android.os.Parcelable { 6407*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String toSafeString(); 6408*344a7f5eSAndroid Build Coastguard Worker } 6409*344a7f5eSAndroid Build Coastguard Worker 6410*344a7f5eSAndroid Build Coastguard Worker public class VpnService extends android.app.Service { 6411*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_VPN) public static void prepareAndAuthorize(android.content.Context); 6412*344a7f5eSAndroid Build Coastguard Worker } 6413*344a7f5eSAndroid Build Coastguard Worker 6414*344a7f5eSAndroid Build Coastguard Worker public class WebAddress { 6415*344a7f5eSAndroid Build Coastguard Worker ctor public WebAddress(String) throws android.net.ParseException; 6416*344a7f5eSAndroid Build Coastguard Worker } 6417*344a7f5eSAndroid Build Coastguard Worker 6418*344a7f5eSAndroid Build Coastguard Worker public class WifiKey implements android.os.Parcelable { 6419*344a7f5eSAndroid Build Coastguard Worker ctor public WifiKey(String, String); 6420*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6421*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 6422*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.WifiKey> CREATOR; 6423*344a7f5eSAndroid Build Coastguard Worker field public final String bssid; 6424*344a7f5eSAndroid Build Coastguard Worker field public final String ssid; 6425*344a7f5eSAndroid Build Coastguard Worker } 6426*344a7f5eSAndroid Build Coastguard Worker 6427*344a7f5eSAndroid Build Coastguard Worker} 6428*344a7f5eSAndroid Build Coastguard Worker 6429*344a7f5eSAndroid Build Coastguard Workerpackage android.net.apf { 6430*344a7f5eSAndroid Build Coastguard Worker 6431*344a7f5eSAndroid Build Coastguard Worker public final class ApfCapabilities implements android.os.Parcelable { 6432*344a7f5eSAndroid Build Coastguard Worker ctor public ApfCapabilities(int, int, int); 6433*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6434*344a7f5eSAndroid Build Coastguard Worker method public static boolean getApfDrop8023Frames(); 6435*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static int[] getApfEtherTypeBlackList(); 6436*344a7f5eSAndroid Build Coastguard Worker method public boolean hasDataAccess(); 6437*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 6438*344a7f5eSAndroid Build Coastguard Worker field public static final android.os.Parcelable.Creator<android.net.apf.ApfCapabilities> CREATOR; 6439*344a7f5eSAndroid Build Coastguard Worker field public final int apfPacketFormat; 6440*344a7f5eSAndroid Build Coastguard Worker field public final int apfVersionSupported; 6441*344a7f5eSAndroid Build Coastguard Worker field public final int maximumApfProgramSize; 6442*344a7f5eSAndroid Build Coastguard Worker } 6443*344a7f5eSAndroid Build Coastguard Worker 6444*344a7f5eSAndroid Build Coastguard Worker} 6445*344a7f5eSAndroid Build Coastguard Worker 6446*344a7f5eSAndroid Build Coastguard Workerpackage android.net.metrics { 6447*344a7f5eSAndroid Build Coastguard Worker 6448*344a7f5eSAndroid Build Coastguard Worker public final class ApfProgramEvent implements android.net.metrics.IpConnectivityLog.Event { 6449*344a7f5eSAndroid Build Coastguard Worker } 6450*344a7f5eSAndroid Build Coastguard Worker 6451*344a7f5eSAndroid Build Coastguard Worker public static final class ApfProgramEvent.Builder { 6452*344a7f5eSAndroid Build Coastguard Worker ctor public ApfProgramEvent.Builder(); 6453*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent build(); 6454*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent.Builder setActualLifetime(long); 6455*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent.Builder setCurrentRas(int); 6456*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFilteredRas(int); 6457*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFlags(boolean, boolean); 6458*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent.Builder setLifetime(long); 6459*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent.Builder setProgramLength(int); 6460*344a7f5eSAndroid Build Coastguard Worker } 6461*344a7f5eSAndroid Build Coastguard Worker 6462*344a7f5eSAndroid Build Coastguard Worker public final class ApfStats implements android.net.metrics.IpConnectivityLog.Event { 6463*344a7f5eSAndroid Build Coastguard Worker } 6464*344a7f5eSAndroid Build Coastguard Worker 6465*344a7f5eSAndroid Build Coastguard Worker public static final class ApfStats.Builder { 6466*344a7f5eSAndroid Build Coastguard Worker ctor public ApfStats.Builder(); 6467*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats build(); 6468*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setDroppedRas(int); 6469*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setDurationMs(long); 6470*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setMatchingRas(int); 6471*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setMaxProgramSize(int); 6472*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setParseErrors(int); 6473*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdates(int); 6474*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdatesAll(int); 6475*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdatesAllowingMulticast(int); 6476*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setReceivedRas(int); 6477*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setZeroLifetimeRas(int); 6478*344a7f5eSAndroid Build Coastguard Worker } 6479*344a7f5eSAndroid Build Coastguard Worker 6480*344a7f5eSAndroid Build Coastguard Worker public final class DhcpClientEvent implements android.net.metrics.IpConnectivityLog.Event { 6481*344a7f5eSAndroid Build Coastguard Worker } 6482*344a7f5eSAndroid Build Coastguard Worker 6483*344a7f5eSAndroid Build Coastguard Worker public static final class DhcpClientEvent.Builder { 6484*344a7f5eSAndroid Build Coastguard Worker ctor public DhcpClientEvent.Builder(); 6485*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.DhcpClientEvent build(); 6486*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.DhcpClientEvent.Builder setDurationMs(int); 6487*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.DhcpClientEvent.Builder setMsg(String); 6488*344a7f5eSAndroid Build Coastguard Worker } 6489*344a7f5eSAndroid Build Coastguard Worker 6490*344a7f5eSAndroid Build Coastguard Worker public final class DhcpErrorEvent implements android.net.metrics.IpConnectivityLog.Event { 6491*344a7f5eSAndroid Build Coastguard Worker ctor public DhcpErrorEvent(int); 6492*344a7f5eSAndroid Build Coastguard Worker method public static int errorCodeWithOption(int, int); 6493*344a7f5eSAndroid Build Coastguard Worker field public static final int BOOTP_TOO_SHORT = 67174400; // 0x4010000 6494*344a7f5eSAndroid Build Coastguard Worker field public static final int BUFFER_UNDERFLOW = 83951616; // 0x5010000 6495*344a7f5eSAndroid Build Coastguard Worker field public static final int DHCP_BAD_MAGIC_COOKIE = 67239936; // 0x4020000 6496*344a7f5eSAndroid Build Coastguard Worker field public static final int DHCP_ERROR = 4; // 0x4 6497*344a7f5eSAndroid Build Coastguard Worker field public static final int DHCP_INVALID_OPTION_LENGTH = 67305472; // 0x4030000 6498*344a7f5eSAndroid Build Coastguard Worker field public static final int DHCP_NO_COOKIE = 67502080; // 0x4060000 6499*344a7f5eSAndroid Build Coastguard Worker field public static final int DHCP_NO_MSG_TYPE = 67371008; // 0x4040000 6500*344a7f5eSAndroid Build Coastguard Worker field public static final int DHCP_UNKNOWN_MSG_TYPE = 67436544; // 0x4050000 6501*344a7f5eSAndroid Build Coastguard Worker field public static final int L2_ERROR = 1; // 0x1 6502*344a7f5eSAndroid Build Coastguard Worker field public static final int L2_TOO_SHORT = 16842752; // 0x1010000 6503*344a7f5eSAndroid Build Coastguard Worker field public static final int L2_WRONG_ETH_TYPE = 16908288; // 0x1020000 6504*344a7f5eSAndroid Build Coastguard Worker field public static final int L3_ERROR = 2; // 0x2 6505*344a7f5eSAndroid Build Coastguard Worker field public static final int L3_INVALID_IP = 33751040; // 0x2030000 6506*344a7f5eSAndroid Build Coastguard Worker field public static final int L3_NOT_IPV4 = 33685504; // 0x2020000 6507*344a7f5eSAndroid Build Coastguard Worker field public static final int L3_TOO_SHORT = 33619968; // 0x2010000 6508*344a7f5eSAndroid Build Coastguard Worker field public static final int L4_ERROR = 3; // 0x3 6509*344a7f5eSAndroid Build Coastguard Worker field public static final int L4_NOT_UDP = 50397184; // 0x3010000 6510*344a7f5eSAndroid Build Coastguard Worker field public static final int L4_WRONG_PORT = 50462720; // 0x3020000 6511*344a7f5eSAndroid Build Coastguard Worker field public static final int MISC_ERROR = 5; // 0x5 6512*344a7f5eSAndroid Build Coastguard Worker field public static final int PARSING_ERROR = 84082688; // 0x5030000 6513*344a7f5eSAndroid Build Coastguard Worker field public static final int RECEIVE_ERROR = 84017152; // 0x5020000 6514*344a7f5eSAndroid Build Coastguard Worker } 6515*344a7f5eSAndroid Build Coastguard Worker 6516*344a7f5eSAndroid Build Coastguard Worker public class IpConnectivityLog { 6517*344a7f5eSAndroid Build Coastguard Worker ctor public IpConnectivityLog(); 6518*344a7f5eSAndroid Build Coastguard Worker method public boolean log(long, @NonNull android.net.metrics.IpConnectivityLog.Event); 6519*344a7f5eSAndroid Build Coastguard Worker method public boolean log(@NonNull String, @NonNull android.net.metrics.IpConnectivityLog.Event); 6520*344a7f5eSAndroid Build Coastguard Worker method public boolean log(@NonNull android.net.Network, @NonNull int[], @NonNull android.net.metrics.IpConnectivityLog.Event); 6521*344a7f5eSAndroid Build Coastguard Worker method public boolean log(int, @NonNull int[], @NonNull android.net.metrics.IpConnectivityLog.Event); 6522*344a7f5eSAndroid Build Coastguard Worker method public boolean log(@NonNull android.net.metrics.IpConnectivityLog.Event); 6523*344a7f5eSAndroid Build Coastguard Worker } 6524*344a7f5eSAndroid Build Coastguard Worker 6525*344a7f5eSAndroid Build Coastguard Worker public static interface IpConnectivityLog.Event extends android.os.Parcelable { 6526*344a7f5eSAndroid Build Coastguard Worker } 6527*344a7f5eSAndroid Build Coastguard Worker 6528*344a7f5eSAndroid Build Coastguard Worker public final class IpManagerEvent implements android.net.metrics.IpConnectivityLog.Event { 6529*344a7f5eSAndroid Build Coastguard Worker ctor public IpManagerEvent(int, long); 6530*344a7f5eSAndroid Build Coastguard Worker field public static final int COMPLETE_LIFECYCLE = 3; // 0x3 6531*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_INTERFACE_NOT_FOUND = 8; // 0x8 6532*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_INVALID_PROVISIONING = 7; // 0x7 6533*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_STARTING_IPREACHABILITYMONITOR = 6; // 0x6 6534*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_STARTING_IPV4 = 4; // 0x4 6535*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_STARTING_IPV6 = 5; // 0x5 6536*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_FAIL = 2; // 0x2 6537*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_OK = 1; // 0x1 6538*344a7f5eSAndroid Build Coastguard Worker } 6539*344a7f5eSAndroid Build Coastguard Worker 6540*344a7f5eSAndroid Build Coastguard Worker public final class IpReachabilityEvent implements android.net.metrics.IpConnectivityLog.Event { 6541*344a7f5eSAndroid Build Coastguard Worker ctor public IpReachabilityEvent(int); 6542*344a7f5eSAndroid Build Coastguard Worker field public static final int NUD_FAILED = 512; // 0x200 6543*344a7f5eSAndroid Build Coastguard Worker field public static final int NUD_FAILED_ORGANIC = 1024; // 0x400 6544*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE = 256; // 0x100 6545*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_LOST = 768; // 0x300 6546*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_LOST_ORGANIC = 1280; // 0x500 6547*344a7f5eSAndroid Build Coastguard Worker } 6548*344a7f5eSAndroid Build Coastguard Worker 6549*344a7f5eSAndroid Build Coastguard Worker public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event { 6550*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkEvent(int, long); 6551*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkEvent(int); 6552*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_CAPTIVE_PORTAL_FOUND = 4; // 0x4 6553*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_CONNECTED = 1; // 0x1 6554*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_CONSECUTIVE_DNS_TIMEOUT_FOUND = 12; // 0xc 6555*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_DISCONNECTED = 7; // 0x7 6556*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_FIRST_VALIDATION_PORTAL_FOUND = 10; // 0xa 6557*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_FIRST_VALIDATION_SUCCESS = 8; // 0x8 6558*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_LINGER = 5; // 0x5 6559*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_PARTIAL_CONNECTIVITY = 13; // 0xd 6560*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_REVALIDATION_PORTAL_FOUND = 11; // 0xb 6561*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_REVALIDATION_SUCCESS = 9; // 0x9 6562*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_UNLINGER = 6; // 0x6 6563*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_VALIDATED = 2; // 0x2 6564*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_VALIDATION_FAILED = 3; // 0x3 6565*344a7f5eSAndroid Build Coastguard Worker } 6566*344a7f5eSAndroid Build Coastguard Worker 6567*344a7f5eSAndroid Build Coastguard Worker public final class RaEvent implements android.net.metrics.IpConnectivityLog.Event { 6568*344a7f5eSAndroid Build Coastguard Worker } 6569*344a7f5eSAndroid Build Coastguard Worker 6570*344a7f5eSAndroid Build Coastguard Worker public static final class RaEvent.Builder { 6571*344a7f5eSAndroid Build Coastguard Worker ctor public RaEvent.Builder(); 6572*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent build(); 6573*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent.Builder updateDnsslLifetime(long); 6574*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent.Builder updatePrefixPreferredLifetime(long); 6575*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent.Builder updatePrefixValidLifetime(long); 6576*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent.Builder updateRdnssLifetime(long); 6577*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent.Builder updateRouteInfoLifetime(long); 6578*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent.Builder updateRouterLifetime(long); 6579*344a7f5eSAndroid Build Coastguard Worker } 6580*344a7f5eSAndroid Build Coastguard Worker 6581*344a7f5eSAndroid Build Coastguard Worker public final class ValidationProbeEvent implements android.net.metrics.IpConnectivityLog.Event { 6582*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String getProbeName(int); 6583*344a7f5eSAndroid Build Coastguard Worker field public static final int DNS_FAILURE = 0; // 0x0 6584*344a7f5eSAndroid Build Coastguard Worker field public static final int DNS_SUCCESS = 1; // 0x1 6585*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE_DNS = 0; // 0x0 6586*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE_FALLBACK = 4; // 0x4 6587*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE_HTTP = 1; // 0x1 6588*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE_HTTPS = 2; // 0x2 6589*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE_PAC = 3; // 0x3 6590*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE_PRIVDNS = 5; // 0x5 6591*344a7f5eSAndroid Build Coastguard Worker } 6592*344a7f5eSAndroid Build Coastguard Worker 6593*344a7f5eSAndroid Build Coastguard Worker public static final class ValidationProbeEvent.Builder { 6594*344a7f5eSAndroid Build Coastguard Worker ctor public ValidationProbeEvent.Builder(); 6595*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ValidationProbeEvent build(); 6596*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setDurationMs(long); 6597*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setProbeType(int, boolean); 6598*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setReturnCode(int); 6599*344a7f5eSAndroid Build Coastguard Worker } 6600*344a7f5eSAndroid Build Coastguard Worker 6601*344a7f5eSAndroid Build Coastguard Worker} 6602*344a7f5eSAndroid Build Coastguard Worker 6603*344a7f5eSAndroid Build Coastguard Workerpackage android.net.netstats.provider { 6604*344a7f5eSAndroid Build Coastguard Worker 6605*344a7f5eSAndroid Build Coastguard Worker public abstract class NetworkStatsProvider { 6606*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkStatsProvider(); 6607*344a7f5eSAndroid Build Coastguard Worker method public void notifyAlertReached(); 6608*344a7f5eSAndroid Build Coastguard Worker method public void notifyLimitReached(); 6609*344a7f5eSAndroid Build Coastguard Worker method public void notifyStatsUpdated(int, @NonNull android.net.NetworkStats, @NonNull android.net.NetworkStats); 6610*344a7f5eSAndroid Build Coastguard Worker method public abstract void onRequestStatsUpdate(int); 6611*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetAlert(long); 6612*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetLimit(@NonNull String, long); 6613*344a7f5eSAndroid Build Coastguard Worker field public static final int QUOTA_UNLIMITED = -1; // 0xffffffff 6614*344a7f5eSAndroid Build Coastguard Worker } 6615*344a7f5eSAndroid Build Coastguard Worker 6616*344a7f5eSAndroid Build Coastguard Worker} 6617*344a7f5eSAndroid Build Coastguard Worker 6618*344a7f5eSAndroid Build Coastguard Workerpackage android.net.sip { 6619*344a7f5eSAndroid Build Coastguard Worker 6620*344a7f5eSAndroid Build Coastguard Worker public class SipAudioCall { 6621*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.rtp.AudioGroup getAudioGroup(); 6622*344a7f5eSAndroid Build Coastguard Worker method public void setAudioGroup(@NonNull android.net.rtp.AudioGroup); 6623*344a7f5eSAndroid Build Coastguard Worker } 6624*344a7f5eSAndroid Build Coastguard Worker 6625*344a7f5eSAndroid Build Coastguard Worker public class SipManager { 6626*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.net.sip.SipProfile> getProfiles() throws android.net.sip.SipException; 6627*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SIP_CALL_OPTION_CHANGED = "android.net.sip.action.SIP_CALL_OPTION_CHANGED"; 6628*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SIP_INCOMING_CALL = "android.net.sip.action.SIP_INCOMING_CALL"; 6629*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SIP_REMOVE_PROFILE = "android.net.sip.action.SIP_REMOVE_PROFILE"; 6630*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SIP_SERVICE_UP = "android.net.sip.action.SIP_SERVICE_UP"; 6631*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_START_SIP = "android.net.sip.action.START_SIP"; 6632*344a7f5eSAndroid Build Coastguard Worker } 6633*344a7f5eSAndroid Build Coastguard Worker 6634*344a7f5eSAndroid Build Coastguard Worker public class SipProfile implements java.lang.Cloneable android.os.Parcelable java.io.Serializable { 6635*344a7f5eSAndroid Build Coastguard Worker method public int getCallingUid(); 6636*344a7f5eSAndroid Build Coastguard Worker } 6637*344a7f5eSAndroid Build Coastguard Worker 6638*344a7f5eSAndroid Build Coastguard Worker} 6639*344a7f5eSAndroid Build Coastguard Worker 6640*344a7f5eSAndroid Build Coastguard Workerpackage android.net.util { 6641*344a7f5eSAndroid Build Coastguard Worker 6642*344a7f5eSAndroid Build Coastguard Worker public final class SocketUtils { 6643*344a7f5eSAndroid Build Coastguard Worker method public static void bindSocketToInterface(@NonNull java.io.FileDescriptor, @NonNull String) throws android.system.ErrnoException; 6644*344a7f5eSAndroid Build Coastguard Worker method public static void closeSocket(@Nullable java.io.FileDescriptor) throws java.io.IOException; 6645*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.net.SocketAddress makeNetlinkSocketAddress(int, int); 6646*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int); 6647*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, @NonNull byte[]); 6648*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int, @NonNull byte[]); 6649*344a7f5eSAndroid Build Coastguard Worker } 6650*344a7f5eSAndroid Build Coastguard Worker 6651*344a7f5eSAndroid Build Coastguard Worker} 6652*344a7f5eSAndroid Build Coastguard Worker 6653*344a7f5eSAndroid Build Coastguard Workerpackage android.net.wifi { 6654*344a7f5eSAndroid Build Coastguard Worker 6655*344a7f5eSAndroid Build Coastguard Worker public final class WifiMigration { 6656*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static java.io.InputStream convertAndRetrieveSharedConfigStoreFile(int); 6657*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static java.io.InputStream convertAndRetrieveUserConfigStoreFile(int, @NonNull android.os.UserHandle); 6658*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.net.wifi.WifiMigration.SettingsMigrationData loadFromSettings(@NonNull android.content.Context); 6659*344a7f5eSAndroid Build Coastguard Worker method public static void removeSharedConfigStoreFile(int); 6660*344a7f5eSAndroid Build Coastguard Worker method public static void removeUserConfigStoreFile(int, @NonNull android.os.UserHandle); 6661*344a7f5eSAndroid Build Coastguard Worker field public static final int STORE_FILE_SHARED_GENERAL = 0; // 0x0 6662*344a7f5eSAndroid Build Coastguard Worker field public static final int STORE_FILE_SHARED_SOFTAP = 1; // 0x1 6663*344a7f5eSAndroid Build Coastguard Worker field public static final int STORE_FILE_USER_GENERAL = 2; // 0x2 6664*344a7f5eSAndroid Build Coastguard Worker field public static final int STORE_FILE_USER_NETWORK_SUGGESTIONS = 3; // 0x3 6665*344a7f5eSAndroid Build Coastguard Worker } 6666*344a7f5eSAndroid Build Coastguard Worker 6667*344a7f5eSAndroid Build Coastguard Worker public static final class WifiMigration.SettingsMigrationData implements android.os.Parcelable { 6668*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6669*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getP2pDeviceName(); 6670*344a7f5eSAndroid Build Coastguard Worker method public boolean isP2pFactoryResetPending(); 6671*344a7f5eSAndroid Build Coastguard Worker method public boolean isScanAlwaysAvailable(); 6672*344a7f5eSAndroid Build Coastguard Worker method public boolean isScanThrottleEnabled(); 6673*344a7f5eSAndroid Build Coastguard Worker method public boolean isSoftApTimeoutEnabled(); 6674*344a7f5eSAndroid Build Coastguard Worker method public boolean isVerboseLoggingEnabled(); 6675*344a7f5eSAndroid Build Coastguard Worker method public boolean isWakeUpEnabled(); 6676*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 6677*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.WifiMigration.SettingsMigrationData> CREATOR; 6678*344a7f5eSAndroid Build Coastguard Worker } 6679*344a7f5eSAndroid Build Coastguard Worker 6680*344a7f5eSAndroid Build Coastguard Worker public static final class WifiMigration.SettingsMigrationData.Builder { 6681*344a7f5eSAndroid Build Coastguard Worker ctor public WifiMigration.SettingsMigrationData.Builder(); 6682*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData build(); 6683*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setP2pDeviceName(@Nullable String); 6684*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setP2pFactoryResetPending(boolean); 6685*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setScanAlwaysAvailable(boolean); 6686*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setScanThrottleEnabled(boolean); 6687*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setSoftApTimeoutEnabled(boolean); 6688*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setVerboseLoggingEnabled(boolean); 6689*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setWakeUpEnabled(boolean); 6690*344a7f5eSAndroid Build Coastguard Worker } 6691*344a7f5eSAndroid Build Coastguard Worker 6692*344a7f5eSAndroid Build Coastguard Worker} 6693*344a7f5eSAndroid Build Coastguard Worker 6694*344a7f5eSAndroid Build Coastguard Workerpackage android.net.wifi.nl80211 { 6695*344a7f5eSAndroid Build Coastguard Worker 6696*344a7f5eSAndroid Build Coastguard Worker public final class DeviceWiphyCapabilities implements android.os.Parcelable { 6697*344a7f5eSAndroid Build Coastguard Worker ctor public DeviceWiphyCapabilities(); 6698*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6699*344a7f5eSAndroid Build Coastguard Worker method public int getMaxNumberRxSpatialStreams(); 6700*344a7f5eSAndroid Build Coastguard Worker method public int getMaxNumberTxSpatialStreams(); 6701*344a7f5eSAndroid Build Coastguard Worker method public boolean isChannelWidthSupported(int); 6702*344a7f5eSAndroid Build Coastguard Worker method public boolean isWifiStandardSupported(int); 6703*344a7f5eSAndroid Build Coastguard Worker method public void setWifiStandardSupport(int, boolean); 6704*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 6705*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.DeviceWiphyCapabilities> CREATOR; 6706*344a7f5eSAndroid Build Coastguard Worker } 6707*344a7f5eSAndroid Build Coastguard Worker 6708*344a7f5eSAndroid Build Coastguard Worker public final class NativeScanResult implements android.os.Parcelable { 6709*344a7f5eSAndroid Build Coastguard Worker ctor public NativeScanResult(); 6710*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6711*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.MacAddress getBssid(); 6712*344a7f5eSAndroid Build Coastguard Worker method public int getCapabilities(); 6713*344a7f5eSAndroid Build Coastguard Worker method public int getFrequencyMhz(); 6714*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getInformationElements(); 6715*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.net.wifi.nl80211.RadioChainInfo> getRadioChainInfos(); 6716*344a7f5eSAndroid Build Coastguard Worker method public int getSignalMbm(); 6717*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getSsid(); 6718*344a7f5eSAndroid Build Coastguard Worker method public long getTsf(); 6719*344a7f5eSAndroid Build Coastguard Worker method public boolean isAssociated(); 6720*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 6721*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_APSD = 2048; // 0x800 6722*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_CF_POLLABLE = 4; // 0x4 6723*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_CF_POLL_REQUEST = 8; // 0x8 6724*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_CHANNEL_AGILITY = 128; // 0x80 6725*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_DELAYED_BLOCK_ACK = 16384; // 0x4000 6726*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_DSSS_OFDM = 8192; // 0x2000 6727*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_ESS = 1; // 0x1 6728*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_IBSS = 2; // 0x2 6729*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_IMMEDIATE_BLOCK_ACK = 32768; // 0x8000 6730*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_PBCC = 64; // 0x40 6731*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_PRIVACY = 16; // 0x10 6732*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_QOS = 512; // 0x200 6733*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_RADIO_MANAGEMENT = 4096; // 0x1000 6734*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_SHORT_PREAMBLE = 32; // 0x20 6735*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_SHORT_SLOT_TIME = 1024; // 0x400 6736*344a7f5eSAndroid Build Coastguard Worker field public static final int BSS_CAPABILITY_SPECTRUM_MANAGEMENT = 256; // 0x100 6737*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.NativeScanResult> CREATOR; 6738*344a7f5eSAndroid Build Coastguard Worker } 6739*344a7f5eSAndroid Build Coastguard Worker 6740*344a7f5eSAndroid Build Coastguard Worker public final class NativeWifiClient implements android.os.Parcelable { 6741*344a7f5eSAndroid Build Coastguard Worker ctor public NativeWifiClient(@Nullable android.net.MacAddress); 6742*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6743*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.MacAddress getMacAddress(); 6744*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 6745*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.NativeWifiClient> CREATOR; 6746*344a7f5eSAndroid Build Coastguard Worker } 6747*344a7f5eSAndroid Build Coastguard Worker 6748*344a7f5eSAndroid Build Coastguard Worker public final class PnoNetwork implements android.os.Parcelable { 6749*344a7f5eSAndroid Build Coastguard Worker ctor public PnoNetwork(); 6750*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6751*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getFrequenciesMhz(); 6752*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getSsid(); 6753*344a7f5eSAndroid Build Coastguard Worker method public boolean isHidden(); 6754*344a7f5eSAndroid Build Coastguard Worker method public void setFrequenciesMhz(@NonNull int[]); 6755*344a7f5eSAndroid Build Coastguard Worker method public void setHidden(boolean); 6756*344a7f5eSAndroid Build Coastguard Worker method public void setSsid(@NonNull byte[]); 6757*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 6758*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.PnoNetwork> CREATOR; 6759*344a7f5eSAndroid Build Coastguard Worker } 6760*344a7f5eSAndroid Build Coastguard Worker 6761*344a7f5eSAndroid Build Coastguard Worker public final class PnoSettings implements android.os.Parcelable { 6762*344a7f5eSAndroid Build Coastguard Worker ctor public PnoSettings(); 6763*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6764*344a7f5eSAndroid Build Coastguard Worker method public long getIntervalMillis(); 6765*344a7f5eSAndroid Build Coastguard Worker method public int getMin2gRssiDbm(); 6766*344a7f5eSAndroid Build Coastguard Worker method public int getMin5gRssiDbm(); 6767*344a7f5eSAndroid Build Coastguard Worker method public int getMin6gRssiDbm(); 6768*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.net.wifi.nl80211.PnoNetwork> getPnoNetworks(); 6769*344a7f5eSAndroid Build Coastguard Worker method public void setIntervalMillis(long); 6770*344a7f5eSAndroid Build Coastguard Worker method public void setMin2gRssiDbm(int); 6771*344a7f5eSAndroid Build Coastguard Worker method public void setMin5gRssiDbm(int); 6772*344a7f5eSAndroid Build Coastguard Worker method public void setMin6gRssiDbm(int); 6773*344a7f5eSAndroid Build Coastguard Worker method public void setPnoNetworks(@NonNull java.util.List<android.net.wifi.nl80211.PnoNetwork>); 6774*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 6775*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.PnoSettings> CREATOR; 6776*344a7f5eSAndroid Build Coastguard Worker } 6777*344a7f5eSAndroid Build Coastguard Worker 6778*344a7f5eSAndroid Build Coastguard Worker public final class RadioChainInfo implements android.os.Parcelable { 6779*344a7f5eSAndroid Build Coastguard Worker ctor public RadioChainInfo(int, int); 6780*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6781*344a7f5eSAndroid Build Coastguard Worker method public int getChainId(); 6782*344a7f5eSAndroid Build Coastguard Worker method public int getLevelDbm(); 6783*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 6784*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.RadioChainInfo> CREATOR; 6785*344a7f5eSAndroid Build Coastguard Worker } 6786*344a7f5eSAndroid Build Coastguard Worker 6787*344a7f5eSAndroid Build Coastguard Worker public class WifiNl80211Manager { 6788*344a7f5eSAndroid Build Coastguard Worker method public void abortScan(@NonNull String); 6789*344a7f5eSAndroid Build Coastguard Worker method public void enableVerboseLogging(boolean); 6790*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getChannelsMhzForBand(int); 6791*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.wifi.nl80211.DeviceWiphyCapabilities getDeviceWiphyCapabilities(@NonNull String); 6792*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.net.wifi.nl80211.NativeScanResult> getScanResults(@NonNull String, int); 6793*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.wifi.nl80211.WifiNl80211Manager.TxPacketCounters getTxPacketCounters(@NonNull String); 6794*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.net.wifi.nl80211.WifiNl80211Manager.OemSecurityType parseOemSecurityTypeElement(int, int, @NonNull byte[]); 6795*344a7f5eSAndroid Build Coastguard Worker method public boolean registerApCallback(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.SoftApCallback); 6796*344a7f5eSAndroid Build Coastguard Worker method public void sendMgmtFrame(@NonNull String, @NonNull byte[], int, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.SendMgmtFrameCallback); 6797*344a7f5eSAndroid Build Coastguard Worker method public void setOnServiceDeadCallback(@NonNull Runnable); 6798*344a7f5eSAndroid Build Coastguard Worker 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); 6799*344a7f5eSAndroid Build Coastguard Worker method public boolean setupInterfaceForSoftApMode(@NonNull String); 6800*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.wifi.nl80211.WifiNl80211Manager.SignalPollResult signalPoll(@NonNull String); 6801*344a7f5eSAndroid Build Coastguard Worker method public boolean startPnoScan(@NonNull String, @NonNull android.net.wifi.nl80211.PnoSettings, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.PnoScanRequestCallback); 6802*344a7f5eSAndroid Build Coastguard Worker method public boolean startScan(@NonNull String, int, @Nullable java.util.Set<java.lang.Integer>, @Nullable java.util.List<byte[]>); 6803*344a7f5eSAndroid Build Coastguard Worker method public boolean stopPnoScan(@NonNull String); 6804*344a7f5eSAndroid Build Coastguard Worker method public boolean tearDownClientInterface(@NonNull String); 6805*344a7f5eSAndroid Build Coastguard Worker method public boolean tearDownInterfaces(); 6806*344a7f5eSAndroid Build Coastguard Worker method public boolean tearDownSoftApInterface(@NonNull String); 6807*344a7f5eSAndroid Build Coastguard Worker field public static final int SCAN_TYPE_PNO_SCAN = 1; // 0x1 6808*344a7f5eSAndroid Build Coastguard Worker field public static final int SCAN_TYPE_SINGLE_SCAN = 0; // 0x0 6809*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_MGMT_FRAME_ERROR_ALREADY_STARTED = 5; // 0x5 6810*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_MGMT_FRAME_ERROR_MCS_UNSUPPORTED = 2; // 0x2 6811*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_MGMT_FRAME_ERROR_NO_ACK = 3; // 0x3 6812*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_MGMT_FRAME_ERROR_TIMEOUT = 4; // 0x4 6813*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_MGMT_FRAME_ERROR_UNKNOWN = 1; // 0x1 6814*344a7f5eSAndroid Build Coastguard Worker } 6815*344a7f5eSAndroid Build Coastguard Worker 6816*344a7f5eSAndroid Build Coastguard Worker public static class WifiNl80211Manager.OemSecurityType { 6817*344a7f5eSAndroid Build Coastguard Worker ctor public WifiNl80211Manager.OemSecurityType(int, @NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<java.lang.Integer>, int); 6818*344a7f5eSAndroid Build Coastguard Worker field public final int groupCipher; 6819*344a7f5eSAndroid Build Coastguard Worker field @NonNull public final java.util.List<java.lang.Integer> keyManagement; 6820*344a7f5eSAndroid Build Coastguard Worker field @NonNull public final java.util.List<java.lang.Integer> pairwiseCipher; 6821*344a7f5eSAndroid Build Coastguard Worker field public final int protocol; 6822*344a7f5eSAndroid Build Coastguard Worker } 6823*344a7f5eSAndroid Build Coastguard Worker 6824*344a7f5eSAndroid Build Coastguard Worker public static interface WifiNl80211Manager.PnoScanRequestCallback { 6825*344a7f5eSAndroid Build Coastguard Worker method public void onPnoRequestFailed(); 6826*344a7f5eSAndroid Build Coastguard Worker method public void onPnoRequestSucceeded(); 6827*344a7f5eSAndroid Build Coastguard Worker } 6828*344a7f5eSAndroid Build Coastguard Worker 6829*344a7f5eSAndroid Build Coastguard Worker public static interface WifiNl80211Manager.ScanEventCallback { 6830*344a7f5eSAndroid Build Coastguard Worker method public void onScanFailed(); 6831*344a7f5eSAndroid Build Coastguard Worker method public void onScanResultReady(); 6832*344a7f5eSAndroid Build Coastguard Worker } 6833*344a7f5eSAndroid Build Coastguard Worker 6834*344a7f5eSAndroid Build Coastguard Worker public static interface WifiNl80211Manager.SendMgmtFrameCallback { 6835*344a7f5eSAndroid Build Coastguard Worker method public void onAck(int); 6836*344a7f5eSAndroid Build Coastguard Worker method public void onFailure(int); 6837*344a7f5eSAndroid Build Coastguard Worker } 6838*344a7f5eSAndroid Build Coastguard Worker 6839*344a7f5eSAndroid Build Coastguard Worker public static class WifiNl80211Manager.SignalPollResult { 6840*344a7f5eSAndroid Build Coastguard Worker field public final int associationFrequencyMHz; 6841*344a7f5eSAndroid Build Coastguard Worker field public final int currentRssiDbm; 6842*344a7f5eSAndroid Build Coastguard Worker field public final int rxBitrateMbps; 6843*344a7f5eSAndroid Build Coastguard Worker field public final int txBitrateMbps; 6844*344a7f5eSAndroid Build Coastguard Worker } 6845*344a7f5eSAndroid Build Coastguard Worker 6846*344a7f5eSAndroid Build Coastguard Worker public static interface WifiNl80211Manager.SoftApCallback { 6847*344a7f5eSAndroid Build Coastguard Worker method public void onConnectedClientsChanged(@NonNull android.net.wifi.nl80211.NativeWifiClient, boolean); 6848*344a7f5eSAndroid Build Coastguard Worker method public void onFailure(); 6849*344a7f5eSAndroid Build Coastguard Worker method public void onSoftApChannelSwitched(int, int); 6850*344a7f5eSAndroid Build Coastguard Worker } 6851*344a7f5eSAndroid Build Coastguard Worker 6852*344a7f5eSAndroid Build Coastguard Worker public static class WifiNl80211Manager.TxPacketCounters { 6853*344a7f5eSAndroid Build Coastguard Worker field public final int txPacketFailed; 6854*344a7f5eSAndroid Build Coastguard Worker field public final int txPacketSucceeded; 6855*344a7f5eSAndroid Build Coastguard Worker } 6856*344a7f5eSAndroid Build Coastguard Worker 6857*344a7f5eSAndroid Build Coastguard Worker} 6858*344a7f5eSAndroid Build Coastguard Worker 6859*344a7f5eSAndroid Build Coastguard Workerpackage android.nfc { 6860*344a7f5eSAndroid Build Coastguard Worker 6861*344a7f5eSAndroid Build Coastguard Worker public final class NfcAdapter { 6862*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean addNfcUnlockHandler(android.nfc.NfcAdapter.NfcUnlockHandler, String[]); 6863*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean disable(); 6864*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean disable(boolean); 6865*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean disableNdefPush(); 6866*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean enable(); 6867*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean enableNdefPush(); 6868*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean enableSecureNfc(boolean); 6869*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean removeNfcUnlockHandler(android.nfc.NfcAdapter.NfcUnlockHandler); 6870*344a7f5eSAndroid Build Coastguard Worker method public void setNdefPushMessage(android.nfc.NdefMessage, android.app.Activity, int); 6871*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_NDEF_PUSH_NO_CONFIRM = 1; // 0x1 6872*344a7f5eSAndroid Build Coastguard Worker } 6873*344a7f5eSAndroid Build Coastguard Worker 6874*344a7f5eSAndroid Build Coastguard Worker public static interface NfcAdapter.NfcUnlockHandler { 6875*344a7f5eSAndroid Build Coastguard Worker method public boolean onUnlockAttempted(android.nfc.Tag); 6876*344a7f5eSAndroid Build Coastguard Worker } 6877*344a7f5eSAndroid Build Coastguard Worker 6878*344a7f5eSAndroid Build Coastguard Worker} 6879*344a7f5eSAndroid Build Coastguard Worker 6880*344a7f5eSAndroid Build Coastguard Workerpackage android.os { 6881*344a7f5eSAndroid Build Coastguard Worker 6882*344a7f5eSAndroid Build Coastguard Worker public class BatteryManager { 6883*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.POWER_SAVER) public boolean setChargingStateUpdateDelayMillis(int); 6884*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_EVENTS = "android.os.extra.EVENTS"; 6885*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_EVENT_TIMESTAMP = "android.os.extra.EVENT_TIMESTAMP"; 6886*344a7f5eSAndroid Build Coastguard Worker } 6887*344a7f5eSAndroid Build Coastguard Worker 6888*344a7f5eSAndroid Build Coastguard Worker public final class BatterySaverPolicyConfig implements android.os.Parcelable { 6889*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 6890*344a7f5eSAndroid Build Coastguard Worker method public float getAdjustBrightnessFactor(); 6891*344a7f5eSAndroid Build Coastguard Worker method public boolean getAdvertiseIsEnabled(); 6892*344a7f5eSAndroid Build Coastguard Worker method public boolean getDeferFullBackup(); 6893*344a7f5eSAndroid Build Coastguard Worker method public boolean getDeferKeyValueBackup(); 6894*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Map<java.lang.String,java.lang.String> getDeviceSpecificSettings(); 6895*344a7f5eSAndroid Build Coastguard Worker method public boolean getDisableAnimation(); 6896*344a7f5eSAndroid Build Coastguard Worker method public boolean getDisableAod(); 6897*344a7f5eSAndroid Build Coastguard Worker method public boolean getDisableLaunchBoost(); 6898*344a7f5eSAndroid Build Coastguard Worker method public boolean getDisableOptionalSensors(); 6899*344a7f5eSAndroid Build Coastguard Worker method public boolean getDisableSoundTrigger(); 6900*344a7f5eSAndroid Build Coastguard Worker method public boolean getDisableVibration(); 6901*344a7f5eSAndroid Build Coastguard Worker method public boolean getEnableAdjustBrightness(); 6902*344a7f5eSAndroid Build Coastguard Worker method public boolean getEnableDataSaver(); 6903*344a7f5eSAndroid Build Coastguard Worker method public boolean getEnableFirewall(); 6904*344a7f5eSAndroid Build Coastguard Worker method public boolean getEnableNightMode(); 6905*344a7f5eSAndroid Build Coastguard Worker method public boolean getEnableQuickDoze(); 6906*344a7f5eSAndroid Build Coastguard Worker method public boolean getForceAllAppsStandby(); 6907*344a7f5eSAndroid Build Coastguard Worker method public boolean getForceBackgroundCheck(); 6908*344a7f5eSAndroid Build Coastguard Worker method public int getLocationMode(); 6909*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 6910*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.BatterySaverPolicyConfig> CREATOR; 6911*344a7f5eSAndroid Build Coastguard Worker } 6912*344a7f5eSAndroid Build Coastguard Worker 6913*344a7f5eSAndroid Build Coastguard Worker public static final class BatterySaverPolicyConfig.Builder { 6914*344a7f5eSAndroid Build Coastguard Worker ctor public BatterySaverPolicyConfig.Builder(); 6915*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder addDeviceSpecificSetting(@NonNull String, @NonNull String); 6916*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig build(); 6917*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setAdjustBrightnessFactor(float); 6918*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setAdvertiseIsEnabled(boolean); 6919*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDeferFullBackup(boolean); 6920*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDeferKeyValueBackup(boolean); 6921*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableAnimation(boolean); 6922*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableAod(boolean); 6923*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableLaunchBoost(boolean); 6924*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableOptionalSensors(boolean); 6925*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableSoundTrigger(boolean); 6926*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableVibration(boolean); 6927*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableAdjustBrightness(boolean); 6928*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableDataSaver(boolean); 6929*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableFirewall(boolean); 6930*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableNightMode(boolean); 6931*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableQuickDoze(boolean); 6932*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setForceAllAppsStandby(boolean); 6933*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setForceBackgroundCheck(boolean); 6934*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BatterySaverPolicyConfig.Builder setLocationMode(int); 6935*344a7f5eSAndroid Build Coastguard Worker } 6936*344a7f5eSAndroid Build Coastguard Worker 6937*344a7f5eSAndroid Build Coastguard Worker public final class BatteryStatsManager { 6938*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public android.os.connectivity.CellularBatteryStats getCellularBatteryStats(); 6939*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public android.os.connectivity.WifiBatteryStats getWifiBatteryStats(); 6940*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportFullWifiLockAcquiredFromSource(@NonNull android.os.WorkSource); 6941*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportFullWifiLockReleasedFromSource(@NonNull android.os.WorkSource); 6942*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiBatchedScanStartedFromSource(@NonNull android.os.WorkSource, @IntRange(from=0) int); 6943*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiBatchedScanStoppedFromSource(@NonNull android.os.WorkSource); 6944*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiMulticastDisabled(@NonNull android.os.WorkSource); 6945*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiMulticastEnabled(@NonNull android.os.WorkSource); 6946*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiOff(); 6947*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiOn(); 6948*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiRssiChanged(@IntRange(from=0xffffff81, to=0) int); 6949*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiScanStartedFromSource(@NonNull android.os.WorkSource); 6950*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiScanStoppedFromSource(@NonNull android.os.WorkSource); 6951*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiState(int, @Nullable String); 6952*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiSupplicantStateChanged(int, boolean); 6953*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_STATE_OFF = 0; // 0x0 6954*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_STATE_OFF_SCANNING = 1; // 0x1 6955*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_STATE_ON_CONNECTED_P2P = 5; // 0x5 6956*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_STATE_ON_CONNECTED_STA = 4; // 0x4 6957*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_STATE_ON_CONNECTED_STA_P2P = 6; // 0x6 6958*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_STATE_ON_DISCONNECTED = 3; // 0x3 6959*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_STATE_ON_NO_NETWORKS = 2; // 0x2 6960*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_STATE_SOFT_AP = 7; // 0x7 6961*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_ASSOCIATED = 7; // 0x7 6962*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_ASSOCIATING = 6; // 0x6 6963*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_AUTHENTICATING = 5; // 0x5 6964*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_COMPLETED = 10; // 0xa 6965*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_DISCONNECTED = 1; // 0x1 6966*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_DORMANT = 11; // 0xb 6967*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_FOUR_WAY_HANDSHAKE = 8; // 0x8 6968*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_GROUP_HANDSHAKE = 9; // 0x9 6969*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_INACTIVE = 3; // 0x3 6970*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_INTERFACE_DISABLED = 2; // 0x2 6971*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_INVALID = 0; // 0x0 6972*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_SCANNING = 4; // 0x4 6973*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_SUPPL_STATE_UNINITIALIZED = 12; // 0xc 6974*344a7f5eSAndroid Build Coastguard Worker } 6975*344a7f5eSAndroid Build Coastguard Worker 6976*344a7f5eSAndroid Build Coastguard Worker public class Binder implements android.os.IBinder { 6977*344a7f5eSAndroid Build Coastguard Worker method public int handleShellCommand(@NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull String[]); 6978*344a7f5eSAndroid Build Coastguard Worker method public static void setProxyTransactListener(@Nullable android.os.Binder.ProxyTransactListener); 6979*344a7f5eSAndroid Build Coastguard Worker } 6980*344a7f5eSAndroid Build Coastguard Worker 6981*344a7f5eSAndroid Build Coastguard Worker public static interface Binder.ProxyTransactListener { 6982*344a7f5eSAndroid Build Coastguard Worker method public void onTransactEnded(@Nullable Object); 6983*344a7f5eSAndroid Build Coastguard Worker method @Nullable public Object onTransactStarted(@NonNull android.os.IBinder, int); 6984*344a7f5eSAndroid Build Coastguard Worker } 6985*344a7f5eSAndroid Build Coastguard Worker 6986*344a7f5eSAndroid Build Coastguard Worker public final class BugreportManager { 6987*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.DUMP) public void cancelBugreport(); 6988*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.DUMP) public void requestBugreport(@NonNull android.os.BugreportParams, @Nullable CharSequence, @Nullable CharSequence); 6989*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.DUMP) 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); 6990*344a7f5eSAndroid Build Coastguard Worker } 6991*344a7f5eSAndroid Build Coastguard Worker 6992*344a7f5eSAndroid Build Coastguard Worker public abstract static class BugreportManager.BugreportCallback { 6993*344a7f5eSAndroid Build Coastguard Worker ctor public BugreportManager.BugreportCallback(); 6994*344a7f5eSAndroid Build Coastguard Worker method public void onError(int); 6995*344a7f5eSAndroid Build Coastguard Worker method public void onFinished(); 6996*344a7f5eSAndroid Build Coastguard Worker method public void onProgress(@FloatRange(from=0.0f, to=100.0f) float); 6997*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS = 5; // 0x5 6998*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_ERROR_INVALID_INPUT = 1; // 0x1 6999*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_ERROR_RUNTIME = 2; // 0x2 7000*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT = 4; // 0x4 7001*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_ERROR_USER_DENIED_CONSENT = 3; // 0x3 7002*344a7f5eSAndroid Build Coastguard Worker } 7003*344a7f5eSAndroid Build Coastguard Worker 7004*344a7f5eSAndroid Build Coastguard Worker public final class BugreportParams { 7005*344a7f5eSAndroid Build Coastguard Worker ctor public BugreportParams(int); 7006*344a7f5eSAndroid Build Coastguard Worker method public int getMode(); 7007*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_MODE_FULL = 0; // 0x0 7008*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_MODE_INTERACTIVE = 1; // 0x1 7009*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_MODE_REMOTE = 2; // 0x2 7010*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_MODE_TELEPHONY = 4; // 0x4 7011*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_MODE_WEAR = 3; // 0x3 7012*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_MODE_WIFI = 5; // 0x5 7013*344a7f5eSAndroid Build Coastguard Worker } 7014*344a7f5eSAndroid Build Coastguard Worker 7015*344a7f5eSAndroid Build Coastguard Worker public static class Build.VERSION { 7016*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String PREVIEW_SDK_FINGERPRINT; 7017*344a7f5eSAndroid Build Coastguard Worker } 7018*344a7f5eSAndroid Build Coastguard Worker 7019*344a7f5eSAndroid Build Coastguard Worker public final class ConfigUpdate { 7020*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_UPDATE_CARRIER_ID_DB = "android.os.action.UPDATE_CARRIER_ID_DB"; 7021*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_UPDATE_CARRIER_PROVISIONING_URLS = "android.intent.action.UPDATE_CARRIER_PROVISIONING_URLS"; 7022*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_UPDATE_CONVERSATION_ACTIONS = "android.intent.action.UPDATE_CONVERSATION_ACTIONS"; 7023*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_UPDATE_CT_LOGS = "android.intent.action.UPDATE_CT_LOGS"; 7024*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_UPDATE_EMERGENCY_NUMBER_DB = "android.os.action.UPDATE_EMERGENCY_NUMBER_DB"; 7025*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_UPDATE_INTENT_FIREWALL = "android.intent.action.UPDATE_INTENT_FIREWALL"; 7026*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_UPDATE_LANG_ID = "android.intent.action.UPDATE_LANG_ID"; 7027*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_UPDATE_NETWORK_WATCHLIST = "android.intent.action.UPDATE_NETWORK_WATCHLIST"; 7028*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_UPDATE_PINS = "android.intent.action.UPDATE_PINS"; 7029*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_UPDATE_SMART_SELECTION = "android.intent.action.UPDATE_SMART_SELECTION"; 7030*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_UPDATE_SMS_SHORT_CODES = "android.intent.action.UPDATE_SMS_SHORT_CODES"; 7031*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_REQUIRED_HASH = "android.os.extra.REQUIRED_HASH"; 7032*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_VERSION = "android.os.extra.VERSION"; 7033*344a7f5eSAndroid Build Coastguard Worker } 7034*344a7f5eSAndroid Build Coastguard Worker 7035*344a7f5eSAndroid Build Coastguard Worker public class Environment { 7036*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.util.Collection<java.io.File> getInternalMediaDirectories(); 7037*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.File getOdmDirectory(); 7038*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.File getOemDirectory(); 7039*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.File getProductDirectory(); 7040*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public static java.io.File getProductServicesDirectory(); 7041*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.File getSystemExtDirectory(); 7042*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.File getVendorDirectory(); 7043*344a7f5eSAndroid Build Coastguard Worker } 7044*344a7f5eSAndroid Build Coastguard Worker 7045*344a7f5eSAndroid Build Coastguard Worker public class HidlMemory implements java.io.Closeable { 7046*344a7f5eSAndroid Build Coastguard Worker ctor public HidlMemory(@NonNull String, @IntRange(from=0) long, @Nullable android.os.NativeHandle); 7047*344a7f5eSAndroid Build Coastguard Worker method public void close() throws java.io.IOException; 7048*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.HidlMemory dup() throws java.io.IOException; 7049*344a7f5eSAndroid Build Coastguard Worker method protected void finalize(); 7050*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.NativeHandle getHandle(); 7051*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getName(); 7052*344a7f5eSAndroid Build Coastguard Worker method public long getSize(); 7053*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.NativeHandle releaseHandle(); 7054*344a7f5eSAndroid Build Coastguard Worker } 7055*344a7f5eSAndroid Build Coastguard Worker 7056*344a7f5eSAndroid Build Coastguard Worker public class HidlSupport { 7057*344a7f5eSAndroid Build Coastguard Worker method public static boolean deepEquals(Object, Object); 7058*344a7f5eSAndroid Build Coastguard Worker method public static int deepHashCode(Object); 7059*344a7f5eSAndroid Build Coastguard Worker method public static int getPidIfSharable(); 7060*344a7f5eSAndroid Build Coastguard Worker method public static boolean interfacesEqual(android.os.IHwInterface, Object); 7061*344a7f5eSAndroid Build Coastguard Worker } 7062*344a7f5eSAndroid Build Coastguard Worker 7063*344a7f5eSAndroid Build Coastguard Worker public abstract class HwBinder implements android.os.IHwBinder { 7064*344a7f5eSAndroid Build Coastguard Worker ctor public HwBinder(); 7065*344a7f5eSAndroid Build Coastguard Worker method public static final void configureRpcThreadpool(long, boolean); 7066*344a7f5eSAndroid Build Coastguard Worker method public static void enableInstrumentation(); 7067*344a7f5eSAndroid Build Coastguard Worker method public static final android.os.IHwBinder getService(String, String) throws java.util.NoSuchElementException, android.os.RemoteException; 7068*344a7f5eSAndroid Build Coastguard Worker method public static final android.os.IHwBinder getService(String, String, boolean) throws java.util.NoSuchElementException, android.os.RemoteException; 7069*344a7f5eSAndroid Build Coastguard Worker method public static final void joinRpcThreadpool(); 7070*344a7f5eSAndroid Build Coastguard Worker method public abstract void onTransact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException; 7071*344a7f5eSAndroid Build Coastguard Worker method public final void registerService(String) throws android.os.RemoteException; 7072*344a7f5eSAndroid Build Coastguard Worker method public final void transact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException; 7073*344a7f5eSAndroid Build Coastguard Worker } 7074*344a7f5eSAndroid Build Coastguard Worker 7075*344a7f5eSAndroid Build Coastguard Worker public class HwBlob { 7076*344a7f5eSAndroid Build Coastguard Worker ctor public HwBlob(int); 7077*344a7f5eSAndroid Build Coastguard Worker method public final void copyToBoolArray(long, boolean[], int); 7078*344a7f5eSAndroid Build Coastguard Worker method public final void copyToDoubleArray(long, double[], int); 7079*344a7f5eSAndroid Build Coastguard Worker method public final void copyToFloatArray(long, float[], int); 7080*344a7f5eSAndroid Build Coastguard Worker method public final void copyToInt16Array(long, short[], int); 7081*344a7f5eSAndroid Build Coastguard Worker method public final void copyToInt32Array(long, int[], int); 7082*344a7f5eSAndroid Build Coastguard Worker method public final void copyToInt64Array(long, long[], int); 7083*344a7f5eSAndroid Build Coastguard Worker method public final void copyToInt8Array(long, byte[], int); 7084*344a7f5eSAndroid Build Coastguard Worker method public final boolean getBool(long); 7085*344a7f5eSAndroid Build Coastguard Worker method public final double getDouble(long); 7086*344a7f5eSAndroid Build Coastguard Worker method public final long getFieldHandle(long); 7087*344a7f5eSAndroid Build Coastguard Worker method public final float getFloat(long); 7088*344a7f5eSAndroid Build Coastguard Worker method public final short getInt16(long); 7089*344a7f5eSAndroid Build Coastguard Worker method public final int getInt32(long); 7090*344a7f5eSAndroid Build Coastguard Worker method public final long getInt64(long); 7091*344a7f5eSAndroid Build Coastguard Worker method public final byte getInt8(long); 7092*344a7f5eSAndroid Build Coastguard Worker method public final String getString(long); 7093*344a7f5eSAndroid Build Coastguard Worker method public final long handle(); 7094*344a7f5eSAndroid Build Coastguard Worker method public final void putBlob(long, android.os.HwBlob); 7095*344a7f5eSAndroid Build Coastguard Worker method public final void putBool(long, boolean); 7096*344a7f5eSAndroid Build Coastguard Worker method public final void putBoolArray(long, boolean[]); 7097*344a7f5eSAndroid Build Coastguard Worker method public final void putDouble(long, double); 7098*344a7f5eSAndroid Build Coastguard Worker method public final void putDoubleArray(long, double[]); 7099*344a7f5eSAndroid Build Coastguard Worker method public final void putFloat(long, float); 7100*344a7f5eSAndroid Build Coastguard Worker method public final void putFloatArray(long, float[]); 7101*344a7f5eSAndroid Build Coastguard Worker method public final void putHidlMemory(long, @NonNull android.os.HidlMemory); 7102*344a7f5eSAndroid Build Coastguard Worker method public final void putInt16(long, short); 7103*344a7f5eSAndroid Build Coastguard Worker method public final void putInt16Array(long, short[]); 7104*344a7f5eSAndroid Build Coastguard Worker method public final void putInt32(long, int); 7105*344a7f5eSAndroid Build Coastguard Worker method public final void putInt32Array(long, int[]); 7106*344a7f5eSAndroid Build Coastguard Worker method public final void putInt64(long, long); 7107*344a7f5eSAndroid Build Coastguard Worker method public final void putInt64Array(long, long[]); 7108*344a7f5eSAndroid Build Coastguard Worker method public final void putInt8(long, byte); 7109*344a7f5eSAndroid Build Coastguard Worker method public final void putInt8Array(long, byte[]); 7110*344a7f5eSAndroid Build Coastguard Worker method public final void putNativeHandle(long, @Nullable android.os.NativeHandle); 7111*344a7f5eSAndroid Build Coastguard Worker method public final void putString(long, String); 7112*344a7f5eSAndroid Build Coastguard Worker method public static Boolean[] wrapArray(@NonNull boolean[]); 7113*344a7f5eSAndroid Build Coastguard Worker method public static Long[] wrapArray(@NonNull long[]); 7114*344a7f5eSAndroid Build Coastguard Worker method public static Byte[] wrapArray(@NonNull byte[]); 7115*344a7f5eSAndroid Build Coastguard Worker method public static Short[] wrapArray(@NonNull short[]); 7116*344a7f5eSAndroid Build Coastguard Worker method public static Integer[] wrapArray(@NonNull int[]); 7117*344a7f5eSAndroid Build Coastguard Worker method public static Float[] wrapArray(@NonNull float[]); 7118*344a7f5eSAndroid Build Coastguard Worker method public static Double[] wrapArray(@NonNull double[]); 7119*344a7f5eSAndroid Build Coastguard Worker } 7120*344a7f5eSAndroid Build Coastguard Worker 7121*344a7f5eSAndroid Build Coastguard Worker public class HwParcel { 7122*344a7f5eSAndroid Build Coastguard Worker ctor public HwParcel(); 7123*344a7f5eSAndroid Build Coastguard Worker method public final void enforceInterface(String); 7124*344a7f5eSAndroid Build Coastguard Worker method public final boolean readBool(); 7125*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Boolean> readBoolVector(); 7126*344a7f5eSAndroid Build Coastguard Worker method public final android.os.HwBlob readBuffer(long); 7127*344a7f5eSAndroid Build Coastguard Worker method public final double readDouble(); 7128*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Double> readDoubleVector(); 7129*344a7f5eSAndroid Build Coastguard Worker method public final android.os.HwBlob readEmbeddedBuffer(long, long, long, boolean); 7130*344a7f5eSAndroid Build Coastguard Worker method @NonNull @Nullable public final android.os.HidlMemory readEmbeddedHidlMemory(long, long, long); 7131*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.os.NativeHandle readEmbeddedNativeHandle(long, long); 7132*344a7f5eSAndroid Build Coastguard Worker method public final float readFloat(); 7133*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Float> readFloatVector(); 7134*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.os.HidlMemory readHidlMemory(); 7135*344a7f5eSAndroid Build Coastguard Worker method public final short readInt16(); 7136*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Short> readInt16Vector(); 7137*344a7f5eSAndroid Build Coastguard Worker method public final int readInt32(); 7138*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Integer> readInt32Vector(); 7139*344a7f5eSAndroid Build Coastguard Worker method public final long readInt64(); 7140*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Long> readInt64Vector(); 7141*344a7f5eSAndroid Build Coastguard Worker method public final byte readInt8(); 7142*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Byte> readInt8Vector(); 7143*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.os.NativeHandle readNativeHandle(); 7144*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final java.util.ArrayList<android.os.NativeHandle> readNativeHandleVector(); 7145*344a7f5eSAndroid Build Coastguard Worker method public final String readString(); 7146*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.String> readStringVector(); 7147*344a7f5eSAndroid Build Coastguard Worker method public final android.os.IHwBinder readStrongBinder(); 7148*344a7f5eSAndroid Build Coastguard Worker method public final void release(); 7149*344a7f5eSAndroid Build Coastguard Worker method public final void releaseTemporaryStorage(); 7150*344a7f5eSAndroid Build Coastguard Worker method public final void send(); 7151*344a7f5eSAndroid Build Coastguard Worker method public final void verifySuccess(); 7152*344a7f5eSAndroid Build Coastguard Worker method public final void writeBool(boolean); 7153*344a7f5eSAndroid Build Coastguard Worker method public final void writeBoolVector(java.util.ArrayList<java.lang.Boolean>); 7154*344a7f5eSAndroid Build Coastguard Worker method public final void writeBuffer(android.os.HwBlob); 7155*344a7f5eSAndroid Build Coastguard Worker method public final void writeDouble(double); 7156*344a7f5eSAndroid Build Coastguard Worker method public final void writeDoubleVector(java.util.ArrayList<java.lang.Double>); 7157*344a7f5eSAndroid Build Coastguard Worker method public final void writeFloat(float); 7158*344a7f5eSAndroid Build Coastguard Worker method public final void writeFloatVector(java.util.ArrayList<java.lang.Float>); 7159*344a7f5eSAndroid Build Coastguard Worker method public final void writeHidlMemory(@NonNull android.os.HidlMemory); 7160*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt16(short); 7161*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt16Vector(java.util.ArrayList<java.lang.Short>); 7162*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt32(int); 7163*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt32Vector(java.util.ArrayList<java.lang.Integer>); 7164*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt64(long); 7165*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt64Vector(java.util.ArrayList<java.lang.Long>); 7166*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt8(byte); 7167*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt8Vector(java.util.ArrayList<java.lang.Byte>); 7168*344a7f5eSAndroid Build Coastguard Worker method public final void writeInterfaceToken(String); 7169*344a7f5eSAndroid Build Coastguard Worker method public final void writeNativeHandle(@Nullable android.os.NativeHandle); 7170*344a7f5eSAndroid Build Coastguard Worker method public final void writeNativeHandleVector(@NonNull java.util.ArrayList<android.os.NativeHandle>); 7171*344a7f5eSAndroid Build Coastguard Worker method public final void writeStatus(int); 7172*344a7f5eSAndroid Build Coastguard Worker method public final void writeString(String); 7173*344a7f5eSAndroid Build Coastguard Worker method public final void writeStringVector(java.util.ArrayList<java.lang.String>); 7174*344a7f5eSAndroid Build Coastguard Worker method public final void writeStrongBinder(android.os.IHwBinder); 7175*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_SUCCESS = 0; // 0x0 7176*344a7f5eSAndroid Build Coastguard Worker } 7177*344a7f5eSAndroid Build Coastguard Worker 7178*344a7f5eSAndroid Build Coastguard Worker public interface IHwBinder { 7179*344a7f5eSAndroid Build Coastguard Worker method public boolean linkToDeath(android.os.IHwBinder.DeathRecipient, long); 7180*344a7f5eSAndroid Build Coastguard Worker method public android.os.IHwInterface queryLocalInterface(String); 7181*344a7f5eSAndroid Build Coastguard Worker method public void transact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException; 7182*344a7f5eSAndroid Build Coastguard Worker method public boolean unlinkToDeath(android.os.IHwBinder.DeathRecipient); 7183*344a7f5eSAndroid Build Coastguard Worker } 7184*344a7f5eSAndroid Build Coastguard Worker 7185*344a7f5eSAndroid Build Coastguard Worker public static interface IHwBinder.DeathRecipient { 7186*344a7f5eSAndroid Build Coastguard Worker method public void serviceDied(long); 7187*344a7f5eSAndroid Build Coastguard Worker } 7188*344a7f5eSAndroid Build Coastguard Worker 7189*344a7f5eSAndroid Build Coastguard Worker public interface IHwInterface { 7190*344a7f5eSAndroid Build Coastguard Worker method public android.os.IHwBinder asBinder(); 7191*344a7f5eSAndroid Build Coastguard Worker } 7192*344a7f5eSAndroid Build Coastguard Worker 7193*344a7f5eSAndroid Build Coastguard Worker public class IncidentManager { 7194*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public void approveReport(android.net.Uri); 7195*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.REQUEST_INCIDENT_REPORT_APPROVAL") public void cancelAuthorization(android.os.IncidentManager.AuthListener); 7196*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void deleteIncidentReports(android.net.Uri); 7197*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public void denyReport(android.net.Uri); 7198*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public android.os.IncidentManager.IncidentReport getIncidentReport(android.net.Uri); 7199*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public java.util.List<android.net.Uri> getIncidentReportList(String); 7200*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public java.util.List<android.os.IncidentManager.PendingReport> getPendingReports(); 7201*344a7f5eSAndroid Build Coastguard Worker method public void registerSection(int, @NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.os.IncidentManager.DumpCallback); 7202*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void reportIncident(android.os.IncidentReportArgs); 7203*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.REQUEST_INCIDENT_REPORT_APPROVAL") public void requestAuthorization(int, String, int, android.os.IncidentManager.AuthListener); 7204*344a7f5eSAndroid Build Coastguard Worker method public void unregisterSection(int); 7205*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_CONFIRMATION_DIALOG = 1; // 0x1 7206*344a7f5eSAndroid Build Coastguard Worker field public static final int PRIVACY_POLICY_AUTO = 200; // 0xc8 7207*344a7f5eSAndroid Build Coastguard Worker field public static final int PRIVACY_POLICY_EXPLICIT = 100; // 0x64 7208*344a7f5eSAndroid Build Coastguard Worker field public static final int PRIVACY_POLICY_LOCAL = 0; // 0x0 7209*344a7f5eSAndroid Build Coastguard Worker } 7210*344a7f5eSAndroid Build Coastguard Worker 7211*344a7f5eSAndroid Build Coastguard Worker public static class IncidentManager.AuthListener { 7212*344a7f5eSAndroid Build Coastguard Worker ctor public IncidentManager.AuthListener(); 7213*344a7f5eSAndroid Build Coastguard Worker method public void onReportApproved(); 7214*344a7f5eSAndroid Build Coastguard Worker method public void onReportDenied(); 7215*344a7f5eSAndroid Build Coastguard Worker } 7216*344a7f5eSAndroid Build Coastguard Worker 7217*344a7f5eSAndroid Build Coastguard Worker public static class IncidentManager.DumpCallback { 7218*344a7f5eSAndroid Build Coastguard Worker ctor public IncidentManager.DumpCallback(); 7219*344a7f5eSAndroid Build Coastguard Worker method public void onDumpSection(int, @NonNull java.io.OutputStream); 7220*344a7f5eSAndroid Build Coastguard Worker } 7221*344a7f5eSAndroid Build Coastguard Worker 7222*344a7f5eSAndroid Build Coastguard Worker public static class IncidentManager.IncidentReport implements java.io.Closeable android.os.Parcelable { 7223*344a7f5eSAndroid Build Coastguard Worker ctor public IncidentManager.IncidentReport(android.os.Parcel); 7224*344a7f5eSAndroid Build Coastguard Worker method public void close(); 7225*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 7226*344a7f5eSAndroid Build Coastguard Worker method public java.io.InputStream getInputStream() throws java.io.IOException; 7227*344a7f5eSAndroid Build Coastguard Worker method public long getPrivacyPolicy(); 7228*344a7f5eSAndroid Build Coastguard Worker method public long getTimestamp(); 7229*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 7230*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.IncidentManager.IncidentReport> CREATOR; 7231*344a7f5eSAndroid Build Coastguard Worker } 7232*344a7f5eSAndroid Build Coastguard Worker 7233*344a7f5eSAndroid Build Coastguard Worker public static class IncidentManager.PendingReport { 7234*344a7f5eSAndroid Build Coastguard Worker ctor public IncidentManager.PendingReport(@NonNull android.net.Uri); 7235*344a7f5eSAndroid Build Coastguard Worker method public int getFlags(); 7236*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getRequestingPackage(); 7237*344a7f5eSAndroid Build Coastguard Worker method public long getTimestamp(); 7238*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.Uri getUri(); 7239*344a7f5eSAndroid Build Coastguard Worker } 7240*344a7f5eSAndroid Build Coastguard Worker 7241*344a7f5eSAndroid Build Coastguard Worker public final class IncidentReportArgs implements android.os.Parcelable { 7242*344a7f5eSAndroid Build Coastguard Worker ctor public IncidentReportArgs(); 7243*344a7f5eSAndroid Build Coastguard Worker ctor public IncidentReportArgs(android.os.Parcel); 7244*344a7f5eSAndroid Build Coastguard Worker method public void addHeader(byte[]); 7245*344a7f5eSAndroid Build Coastguard Worker method public void addSection(int); 7246*344a7f5eSAndroid Build Coastguard Worker method public boolean containsSection(int); 7247*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 7248*344a7f5eSAndroid Build Coastguard Worker method public boolean isAll(); 7249*344a7f5eSAndroid Build Coastguard Worker method public void readFromParcel(android.os.Parcel); 7250*344a7f5eSAndroid Build Coastguard Worker method public int sectionCount(); 7251*344a7f5eSAndroid Build Coastguard Worker method public void setAll(boolean); 7252*344a7f5eSAndroid Build Coastguard Worker method public void setPrivacyPolicy(int); 7253*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 7254*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.IncidentReportArgs> CREATOR; 7255*344a7f5eSAndroid Build Coastguard Worker } 7256*344a7f5eSAndroid Build Coastguard Worker 7257*344a7f5eSAndroid Build Coastguard Worker public final class NativeHandle implements java.io.Closeable { 7258*344a7f5eSAndroid Build Coastguard Worker ctor public NativeHandle(); 7259*344a7f5eSAndroid Build Coastguard Worker ctor public NativeHandle(@NonNull java.io.FileDescriptor, boolean); 7260*344a7f5eSAndroid Build Coastguard Worker ctor public NativeHandle(@NonNull java.io.FileDescriptor[], @NonNull int[], boolean); 7261*344a7f5eSAndroid Build Coastguard Worker method public void close() throws java.io.IOException; 7262*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.NativeHandle dup() throws java.io.IOException; 7263*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.io.FileDescriptor getFileDescriptor(); 7264*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.io.FileDescriptor[] getFileDescriptors(); 7265*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getInts(); 7266*344a7f5eSAndroid Build Coastguard Worker method public boolean hasSingleFileDescriptor(); 7267*344a7f5eSAndroid Build Coastguard Worker } 7268*344a7f5eSAndroid Build Coastguard Worker 7269*344a7f5eSAndroid Build Coastguard Worker public final class PowerManager { 7270*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.READ_DREAM_STATE, android.Manifest.permission.WRITE_DREAM_STATE}) public void dream(long); 7271*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public boolean forceSuspend(); 7272*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.POWER_SAVER) public int getPowerSaveModeTrigger(); 7273*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplayAvailable(); 7274*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplaySuppressed(); 7275*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplaySuppressedForToken(@NonNull String); 7276*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setAdaptivePowerSaveEnabled(boolean); 7277*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setAdaptivePowerSavePolicy(@NonNull android.os.BatterySaverPolicyConfig); 7278*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.POWER_SAVER) public boolean setDynamicPowerSaveHint(boolean, int); 7279*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setPowerSaveModeEnabled(boolean); 7280*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void suppressAmbientDisplay(@NonNull String, boolean); 7281*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.USER_ACTIVITY}) public void userActivity(long, int, int); 7282*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_SAVE_MODE_TRIGGER_DYNAMIC = 1; // 0x1 7283*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_SAVE_MODE_TRIGGER_PERCENTAGE = 0; // 0x0 7284*344a7f5eSAndroid Build Coastguard Worker field public static final String REBOOT_USERSPACE = "userspace"; 7285*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_ACTIVITY_EVENT_ACCESSIBILITY = 3; // 0x3 7286*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_ACTIVITY_EVENT_BUTTON = 1; // 0x1 7287*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_ACTIVITY_EVENT_OTHER = 0; // 0x0 7288*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_ACTIVITY_EVENT_TOUCH = 2; // 0x2 7289*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_ACTIVITY_FLAG_INDIRECT = 2; // 0x2 7290*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_ACTIVITY_FLAG_NO_CHANGE_LIGHTS = 1; // 0x1 7291*344a7f5eSAndroid Build Coastguard Worker } 7292*344a7f5eSAndroid Build Coastguard Worker 7293*344a7f5eSAndroid Build Coastguard Worker public class PowerWhitelistManager { 7294*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void addToWhitelist(@NonNull String); 7295*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void addToWhitelist(@NonNull java.util.List<java.lang.String>); 7296*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void whitelistAppTemporarily(@NonNull String, long); 7297*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public long whitelistAppTemporarilyForEvent(@NonNull String, int, @NonNull String); 7298*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_MMS = 2; // 0x2 7299*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_SMS = 1; // 0x1 7300*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_UNSPECIFIED = 0; // 0x0 7301*344a7f5eSAndroid Build Coastguard Worker } 7302*344a7f5eSAndroid Build Coastguard Worker 7303*344a7f5eSAndroid Build Coastguard Worker public class RecoverySystem { 7304*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void cancelScheduledUpdate(android.content.Context) throws java.io.IOException; 7305*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void clearPrepareForUnattendedUpdate(@NonNull android.content.Context) throws java.io.IOException; 7306*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void installPackage(android.content.Context, java.io.File, boolean) throws java.io.IOException; 7307*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void prepareForUnattendedUpdate(@NonNull android.content.Context, @NonNull String, @Nullable android.content.IntentSender) throws java.io.IOException; 7308*344a7f5eSAndroid Build Coastguard Worker 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; 7309*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void processPackage(android.content.Context, java.io.File, android.os.RecoverySystem.ProgressListener) throws java.io.IOException; 7310*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void rebootAndApply(@NonNull android.content.Context, @NonNull String, @NonNull String) throws java.io.IOException; 7311*344a7f5eSAndroid Build Coastguard Worker 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; 7312*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void scheduleUpdateOnBoot(android.content.Context, java.io.File) throws java.io.IOException; 7313*344a7f5eSAndroid Build Coastguard Worker method public static boolean verifyPackageCompatibility(java.io.File) throws java.io.IOException; 7314*344a7f5eSAndroid Build Coastguard Worker } 7315*344a7f5eSAndroid Build Coastguard Worker 7316*344a7f5eSAndroid Build Coastguard Worker public final class RemoteCallback implements android.os.Parcelable { 7317*344a7f5eSAndroid Build Coastguard Worker ctor public RemoteCallback(android.os.RemoteCallback.OnResultListener); 7318*344a7f5eSAndroid Build Coastguard Worker ctor public RemoteCallback(@NonNull android.os.RemoteCallback.OnResultListener, @Nullable android.os.Handler); 7319*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 7320*344a7f5eSAndroid Build Coastguard Worker method public void sendResult(@Nullable android.os.Bundle); 7321*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 7322*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.RemoteCallback> CREATOR; 7323*344a7f5eSAndroid Build Coastguard Worker } 7324*344a7f5eSAndroid Build Coastguard Worker 7325*344a7f5eSAndroid Build Coastguard Worker public static interface RemoteCallback.OnResultListener { 7326*344a7f5eSAndroid Build Coastguard Worker method public void onResult(@Nullable android.os.Bundle); 7327*344a7f5eSAndroid Build Coastguard Worker } 7328*344a7f5eSAndroid Build Coastguard Worker 7329*344a7f5eSAndroid Build Coastguard Worker public class ServiceSpecificException extends java.lang.RuntimeException { 7330*344a7f5eSAndroid Build Coastguard Worker ctor public ServiceSpecificException(int, @Nullable String); 7331*344a7f5eSAndroid Build Coastguard Worker ctor public ServiceSpecificException(int); 7332*344a7f5eSAndroid Build Coastguard Worker field public final int errorCode; 7333*344a7f5eSAndroid Build Coastguard Worker } 7334*344a7f5eSAndroid Build Coastguard Worker 7335*344a7f5eSAndroid Build Coastguard Worker public class SystemConfigManager { 7336*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_CARRIER_APP_INFO) public java.util.Set<java.lang.String> getDisabledUntilUsedPreinstalledCarrierApps(); 7337*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_CARRIER_APP_INFO) public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getDisabledUntilUsedPreinstalledCarrierAssociatedApps(); 7338*344a7f5eSAndroid Build Coastguard Worker } 7339*344a7f5eSAndroid Build Coastguard Worker 7340*344a7f5eSAndroid Build Coastguard Worker public class SystemProperties { 7341*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String get(@NonNull String); 7342*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String get(@NonNull String, @Nullable String); 7343*344a7f5eSAndroid Build Coastguard Worker method public static boolean getBoolean(@NonNull String, boolean); 7344*344a7f5eSAndroid Build Coastguard Worker method public static int getInt(@NonNull String, int); 7345*344a7f5eSAndroid Build Coastguard Worker method public static long getLong(@NonNull String, long); 7346*344a7f5eSAndroid Build Coastguard Worker } 7347*344a7f5eSAndroid Build Coastguard Worker 7348*344a7f5eSAndroid Build Coastguard Worker public class SystemUpdateManager { 7349*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.READ_SYSTEM_UPDATE_INFO, android.Manifest.permission.RECOVERY}) public android.os.Bundle retrieveSystemUpdateInfo(); 7350*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVERY) public void updateSystemUpdateInfo(android.os.PersistableBundle); 7351*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_IS_SECURITY_UPDATE = "is_security_update"; 7352*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_STATUS = "status"; 7353*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_TARGET_BUILD_FINGERPRINT = "target_build_fingerprint"; 7354*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_TARGET_SECURITY_PATCH_LEVEL = "target_security_patch_level"; 7355*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_TITLE = "title"; 7356*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_IDLE = 1; // 0x1 7357*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_IN_PROGRESS = 3; // 0x3 7358*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_UNKNOWN = 0; // 0x0 7359*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_WAITING_DOWNLOAD = 2; // 0x2 7360*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_WAITING_INSTALL = 4; // 0x4 7361*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_WAITING_REBOOT = 5; // 0x5 7362*344a7f5eSAndroid Build Coastguard Worker } 7363*344a7f5eSAndroid Build Coastguard Worker 7364*344a7f5eSAndroid Build Coastguard Worker public class UpdateEngine { 7365*344a7f5eSAndroid Build Coastguard Worker ctor public UpdateEngine(); 7366*344a7f5eSAndroid Build Coastguard Worker method @NonNull @WorkerThread public android.os.UpdateEngine.AllocateSpaceResult allocateSpace(@NonNull String, @NonNull String[]); 7367*344a7f5eSAndroid Build Coastguard Worker method public void applyPayload(String, long, long, String[]); 7368*344a7f5eSAndroid Build Coastguard Worker method public void applyPayload(@NonNull android.content.res.AssetFileDescriptor, @NonNull String[]); 7369*344a7f5eSAndroid Build Coastguard Worker method public boolean bind(android.os.UpdateEngineCallback, android.os.Handler); 7370*344a7f5eSAndroid Build Coastguard Worker method public boolean bind(android.os.UpdateEngineCallback); 7371*344a7f5eSAndroid Build Coastguard Worker method public void cancel(); 7372*344a7f5eSAndroid Build Coastguard Worker method @WorkerThread public int cleanupAppliedPayload(); 7373*344a7f5eSAndroid Build Coastguard Worker method public void resetStatus(); 7374*344a7f5eSAndroid Build Coastguard Worker method public void resume(); 7375*344a7f5eSAndroid Build Coastguard Worker method public void suspend(); 7376*344a7f5eSAndroid Build Coastguard Worker method public boolean unbind(); 7377*344a7f5eSAndroid Build Coastguard Worker method public boolean verifyPayloadMetadata(String); 7378*344a7f5eSAndroid Build Coastguard Worker } 7379*344a7f5eSAndroid Build Coastguard Worker 7380*344a7f5eSAndroid Build Coastguard Worker public static final class UpdateEngine.AllocateSpaceResult { 7381*344a7f5eSAndroid Build Coastguard Worker method public int getErrorCode(); 7382*344a7f5eSAndroid Build Coastguard Worker method public long getFreeSpaceRequired(); 7383*344a7f5eSAndroid Build Coastguard Worker } 7384*344a7f5eSAndroid Build Coastguard Worker 7385*344a7f5eSAndroid Build Coastguard Worker public static final class UpdateEngine.ErrorCodeConstants { 7386*344a7f5eSAndroid Build Coastguard Worker ctor public UpdateEngine.ErrorCodeConstants(); 7387*344a7f5eSAndroid Build Coastguard Worker field public static final int DEVICE_CORRUPTED = 61; // 0x3d 7388*344a7f5eSAndroid Build Coastguard Worker field public static final int DOWNLOAD_PAYLOAD_VERIFICATION_ERROR = 12; // 0xc 7389*344a7f5eSAndroid Build Coastguard Worker field public static final int DOWNLOAD_TRANSFER_ERROR = 9; // 0x9 7390*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR = 1; // 0x1 7391*344a7f5eSAndroid Build Coastguard Worker field public static final int FILESYSTEM_COPIER_ERROR = 4; // 0x4 7392*344a7f5eSAndroid Build Coastguard Worker field public static final int INSTALL_DEVICE_OPEN_ERROR = 7; // 0x7 7393*344a7f5eSAndroid Build Coastguard Worker field public static final int KERNEL_DEVICE_OPEN_ERROR = 8; // 0x8 7394*344a7f5eSAndroid Build Coastguard Worker field public static final int NOT_ENOUGH_SPACE = 60; // 0x3c 7395*344a7f5eSAndroid Build Coastguard Worker field public static final int PAYLOAD_HASH_MISMATCH_ERROR = 10; // 0xa 7396*344a7f5eSAndroid Build Coastguard Worker field public static final int PAYLOAD_MISMATCHED_TYPE_ERROR = 6; // 0x6 7397*344a7f5eSAndroid Build Coastguard Worker field public static final int PAYLOAD_SIZE_MISMATCH_ERROR = 11; // 0xb 7398*344a7f5eSAndroid Build Coastguard Worker field public static final int PAYLOAD_TIMESTAMP_ERROR = 51; // 0x33 7399*344a7f5eSAndroid Build Coastguard Worker field public static final int POST_INSTALL_RUNNER_ERROR = 5; // 0x5 7400*344a7f5eSAndroid Build Coastguard Worker field public static final int SUCCESS = 0; // 0x0 7401*344a7f5eSAndroid Build Coastguard Worker field public static final int UPDATED_BUT_NOT_ACTIVE = 52; // 0x34 7402*344a7f5eSAndroid Build Coastguard Worker } 7403*344a7f5eSAndroid Build Coastguard Worker 7404*344a7f5eSAndroid Build Coastguard Worker public static final class UpdateEngine.UpdateStatusConstants { 7405*344a7f5eSAndroid Build Coastguard Worker ctor public UpdateEngine.UpdateStatusConstants(); 7406*344a7f5eSAndroid Build Coastguard Worker field public static final int ATTEMPTING_ROLLBACK = 8; // 0x8 7407*344a7f5eSAndroid Build Coastguard Worker field public static final int CHECKING_FOR_UPDATE = 1; // 0x1 7408*344a7f5eSAndroid Build Coastguard Worker field public static final int DISABLED = 9; // 0x9 7409*344a7f5eSAndroid Build Coastguard Worker field public static final int DOWNLOADING = 3; // 0x3 7410*344a7f5eSAndroid Build Coastguard Worker field public static final int FINALIZING = 5; // 0x5 7411*344a7f5eSAndroid Build Coastguard Worker field public static final int IDLE = 0; // 0x0 7412*344a7f5eSAndroid Build Coastguard Worker field public static final int REPORTING_ERROR_EVENT = 7; // 0x7 7413*344a7f5eSAndroid Build Coastguard Worker field public static final int UPDATED_NEED_REBOOT = 6; // 0x6 7414*344a7f5eSAndroid Build Coastguard Worker field public static final int UPDATE_AVAILABLE = 2; // 0x2 7415*344a7f5eSAndroid Build Coastguard Worker field public static final int VERIFYING = 4; // 0x4 7416*344a7f5eSAndroid Build Coastguard Worker } 7417*344a7f5eSAndroid Build Coastguard Worker 7418*344a7f5eSAndroid Build Coastguard Worker public abstract class UpdateEngineCallback { 7419*344a7f5eSAndroid Build Coastguard Worker ctor public UpdateEngineCallback(); 7420*344a7f5eSAndroid Build Coastguard Worker method public abstract void onPayloadApplicationComplete(int); 7421*344a7f5eSAndroid Build Coastguard Worker method public abstract void onStatusUpdate(int, float); 7422*344a7f5eSAndroid Build Coastguard Worker } 7423*344a7f5eSAndroid Build Coastguard Worker 7424*344a7f5eSAndroid Build Coastguard Worker public final class UserHandle implements android.os.Parcelable { 7425*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String formatUid(int); 7426*344a7f5eSAndroid Build Coastguard Worker method public static int getAppId(int); 7427*344a7f5eSAndroid Build Coastguard Worker method public int getIdentifier(); 7428*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean isOwner(); 7429*344a7f5eSAndroid Build Coastguard Worker method public boolean isSystem(); 7430*344a7f5eSAndroid Build Coastguard Worker method public static int myUserId(); 7431*344a7f5eSAndroid Build Coastguard Worker method public static android.os.UserHandle of(int); 7432*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.UserHandle ALL; 7433*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.UserHandle CURRENT; 7434*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.UserHandle SYSTEM; 7435*344a7f5eSAndroid Build Coastguard Worker } 7436*344a7f5eSAndroid Build Coastguard Worker 7437*344a7f5eSAndroid Build Coastguard Worker public class UserManager { 7438*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void clearSeedAccountData(); 7439*344a7f5eSAndroid Build Coastguard Worker 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<java.lang.String>) throws android.os.UserManager.UserOperationException; 7440*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}, conditional=true) public java.util.List<android.os.UserHandle> getAllProfiles(); 7441*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}, conditional=true) public java.util.List<android.os.UserHandle> getEnabledProfiles(); 7442*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.os.UserHandle getProfileParent(@NonNull android.os.UserHandle); 7443*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getSeedAccountName(); 7444*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.os.PersistableBundle getSeedAccountOptions(); 7445*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getSeedAccountType(); 7446*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public long[] getSerialNumbersOfUsers(boolean); 7447*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public java.util.List<android.os.UserHandle> getUserHandles(boolean); 7448*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.GET_ACCOUNTS_PRIVILEGED}) public android.graphics.Bitmap getUserIcon(); 7449*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @android.os.UserManager.UserRestrictionSource @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public int getUserRestrictionSource(String, android.os.UserHandle); 7450*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public java.util.List<android.os.UserManager.EnforcingUser> getUserRestrictionSources(String, android.os.UserHandle); 7451*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.READ_PHONE_STATE, android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public int getUserSwitchability(); 7452*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean hasRestrictedProfiles(); 7453*344a7f5eSAndroid Build Coastguard Worker 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); 7454*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isAdminUser(); 7455*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isGuestUser(); 7456*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean isManagedProfile(int); 7457*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isPrimaryUser(); 7458*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean isProfile(); 7459*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isRestrictedProfile(); 7460*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isRestrictedProfile(@NonNull android.os.UserHandle); 7461*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isSameProfileGroup(@NonNull android.os.UserHandle, @NonNull android.os.UserHandle); 7462*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.GET_ACCOUNTS_PRIVILEGED}) public boolean isUserNameSet(); 7463*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isUserOfType(@NonNull String); 7464*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean isUserUnlockingOrUnlocked(@NonNull android.os.UserHandle); 7465*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean removeUser(@NonNull android.os.UserHandle); 7466*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setUserIcon(@NonNull android.graphics.Bitmap) throws android.os.UserManager.UserOperationException; 7467*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setUserName(@Nullable String); 7468*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_USER_RESTRICTIONS_CHANGED = "android.os.action.USER_RESTRICTIONS_CHANGED"; 7469*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String DISALLOW_OEM_UNLOCK = "no_oem_unlock"; 7470*344a7f5eSAndroid Build Coastguard Worker field public static final String DISALLOW_RUN_IN_BACKGROUND = "no_run_in_background"; 7471*344a7f5eSAndroid Build Coastguard Worker field public static final int RESTRICTION_NOT_SET = 0; // 0x0 7472*344a7f5eSAndroid Build Coastguard Worker field public static final int RESTRICTION_SOURCE_DEVICE_OWNER = 2; // 0x2 7473*344a7f5eSAndroid Build Coastguard Worker field public static final int RESTRICTION_SOURCE_PROFILE_OWNER = 4; // 0x4 7474*344a7f5eSAndroid Build Coastguard Worker field public static final int RESTRICTION_SOURCE_SYSTEM = 1; // 0x1 7475*344a7f5eSAndroid Build Coastguard Worker field public static final int SWITCHABILITY_STATUS_OK = 0; // 0x0 7476*344a7f5eSAndroid Build Coastguard Worker field public static final int SWITCHABILITY_STATUS_SYSTEM_USER_LOCKED = 4; // 0x4 7477*344a7f5eSAndroid Build Coastguard Worker field public static final int SWITCHABILITY_STATUS_USER_IN_CALL = 1; // 0x1 7478*344a7f5eSAndroid Build Coastguard Worker field public static final int SWITCHABILITY_STATUS_USER_SWITCH_DISALLOWED = 2; // 0x2 7479*344a7f5eSAndroid Build Coastguard Worker field public static final String USER_TYPE_FULL_SECONDARY = "android.os.usertype.full.SECONDARY"; 7480*344a7f5eSAndroid Build Coastguard Worker field public static final String USER_TYPE_FULL_SYSTEM = "android.os.usertype.full.SYSTEM"; 7481*344a7f5eSAndroid Build Coastguard Worker field public static final String USER_TYPE_PROFILE_MANAGED = "android.os.usertype.profile.MANAGED"; 7482*344a7f5eSAndroid Build Coastguard Worker field public static final String USER_TYPE_SYSTEM_HEADLESS = "android.os.usertype.system.HEADLESS"; 7483*344a7f5eSAndroid Build Coastguard Worker } 7484*344a7f5eSAndroid Build Coastguard Worker 7485*344a7f5eSAndroid Build Coastguard Worker public static final class UserManager.EnforcingUser implements android.os.Parcelable { 7486*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 7487*344a7f5eSAndroid Build Coastguard Worker method public android.os.UserHandle getUserHandle(); 7488*344a7f5eSAndroid Build Coastguard Worker method @android.os.UserManager.UserRestrictionSource public int getUserRestrictionSource(); 7489*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 7490*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.UserManager.EnforcingUser> CREATOR; 7491*344a7f5eSAndroid Build Coastguard Worker } 7492*344a7f5eSAndroid Build Coastguard Worker 7493*344a7f5eSAndroid Build Coastguard Worker @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 { 7494*344a7f5eSAndroid Build Coastguard Worker } 7495*344a7f5eSAndroid Build Coastguard Worker 7496*344a7f5eSAndroid Build Coastguard Worker public abstract class Vibrator { 7497*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public void addVibratorStateListener(@NonNull android.os.Vibrator.OnVibratorStateChangedListener); 7498*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public void addVibratorStateListener(@NonNull java.util.concurrent.Executor, @NonNull android.os.Vibrator.OnVibratorStateChangedListener); 7499*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public boolean isVibrating(); 7500*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public void removeVibratorStateListener(@NonNull android.os.Vibrator.OnVibratorStateChangedListener); 7501*344a7f5eSAndroid Build Coastguard Worker } 7502*344a7f5eSAndroid Build Coastguard Worker 7503*344a7f5eSAndroid Build Coastguard Worker public static interface Vibrator.OnVibratorStateChangedListener { 7504*344a7f5eSAndroid Build Coastguard Worker method public void onVibratorStateChanged(boolean); 7505*344a7f5eSAndroid Build Coastguard Worker } 7506*344a7f5eSAndroid Build Coastguard Worker 7507*344a7f5eSAndroid Build Coastguard Worker public class WorkSource implements android.os.Parcelable { 7508*344a7f5eSAndroid Build Coastguard Worker ctor public WorkSource(int); 7509*344a7f5eSAndroid Build Coastguard Worker ctor public WorkSource(int, @NonNull String); 7510*344a7f5eSAndroid Build Coastguard Worker method public android.os.WorkSource.WorkChain createWorkChain(); 7511*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getPackageName(int); 7512*344a7f5eSAndroid Build Coastguard Worker method public int getUid(int); 7513*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.util.List<android.os.WorkSource.WorkChain> getWorkChains(); 7514*344a7f5eSAndroid Build Coastguard Worker method public boolean isEmpty(); 7515*344a7f5eSAndroid Build Coastguard Worker method public int size(); 7516*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.WorkSource withoutNames(); 7517*344a7f5eSAndroid Build Coastguard Worker } 7518*344a7f5eSAndroid Build Coastguard Worker 7519*344a7f5eSAndroid Build Coastguard Worker public static final class WorkSource.WorkChain implements android.os.Parcelable { 7520*344a7f5eSAndroid Build Coastguard Worker ctor public WorkSource.WorkChain(); 7521*344a7f5eSAndroid Build Coastguard Worker method public android.os.WorkSource.WorkChain addNode(int, @Nullable String); 7522*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 7523*344a7f5eSAndroid Build Coastguard Worker method public String getAttributionTag(); 7524*344a7f5eSAndroid Build Coastguard Worker method public int getAttributionUid(); 7525*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 7526*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.WorkSource.WorkChain> CREATOR; 7527*344a7f5eSAndroid Build Coastguard Worker } 7528*344a7f5eSAndroid Build Coastguard Worker 7529*344a7f5eSAndroid Build Coastguard Worker} 7530*344a7f5eSAndroid Build Coastguard Worker 7531*344a7f5eSAndroid Build Coastguard Workerpackage android.os.connectivity { 7532*344a7f5eSAndroid Build Coastguard Worker 7533*344a7f5eSAndroid Build Coastguard Worker public final class CellularBatteryStats implements android.os.Parcelable { 7534*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 7535*344a7f5eSAndroid Build Coastguard Worker method public long getEnergyConsumedMaMillis(); 7536*344a7f5eSAndroid Build Coastguard Worker method public long getIdleTimeMillis(); 7537*344a7f5eSAndroid Build Coastguard Worker method public long getKernelActiveTimeMillis(); 7538*344a7f5eSAndroid Build Coastguard Worker method public long getLoggingDurationMillis(); 7539*344a7f5eSAndroid Build Coastguard Worker method public long getMonitoredRailChargeConsumedMaMillis(); 7540*344a7f5eSAndroid Build Coastguard Worker method public long getNumBytesRx(); 7541*344a7f5eSAndroid Build Coastguard Worker method public long getNumBytesTx(); 7542*344a7f5eSAndroid Build Coastguard Worker method public long getNumPacketsRx(); 7543*344a7f5eSAndroid Build Coastguard Worker method public long getNumPacketsTx(); 7544*344a7f5eSAndroid Build Coastguard Worker method public long getRxTimeMillis(); 7545*344a7f5eSAndroid Build Coastguard Worker method public long getSleepTimeMillis(); 7546*344a7f5eSAndroid Build Coastguard Worker method @NonNull public long getTimeInRatMicros(int); 7547*344a7f5eSAndroid Build Coastguard Worker method @NonNull public long getTimeInRxSignalStrengthLevelMicros(@IntRange(from=android.telephony.CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN, to=android.telephony.CellSignalStrength.SIGNAL_STRENGTH_GREAT) int); 7548*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 7549*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.connectivity.CellularBatteryStats> CREATOR; 7550*344a7f5eSAndroid Build Coastguard Worker } 7551*344a7f5eSAndroid Build Coastguard Worker 7552*344a7f5eSAndroid Build Coastguard Worker public final class WifiActivityEnergyInfo implements android.os.Parcelable { 7553*344a7f5eSAndroid Build Coastguard Worker ctor public WifiActivityEnergyInfo(long, int, @IntRange(from=0) long, @IntRange(from=0) long, @IntRange(from=0) long, @IntRange(from=0) long); 7554*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 7555*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public long getControllerEnergyUsedMicroJoules(); 7556*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public long getControllerIdleDurationMillis(); 7557*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public long getControllerRxDurationMillis(); 7558*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public long getControllerScanDurationMillis(); 7559*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public long getControllerTxDurationMillis(); 7560*344a7f5eSAndroid Build Coastguard Worker method public int getStackState(); 7561*344a7f5eSAndroid Build Coastguard Worker method public long getTimeSinceBootMillis(); 7562*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 7563*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.connectivity.WifiActivityEnergyInfo> CREATOR; 7564*344a7f5eSAndroid Build Coastguard Worker field public static final int STACK_STATE_INVALID = 0; // 0x0 7565*344a7f5eSAndroid Build Coastguard Worker field public static final int STACK_STATE_STATE_ACTIVE = 1; // 0x1 7566*344a7f5eSAndroid Build Coastguard Worker field public static final int STACK_STATE_STATE_IDLE = 3; // 0x3 7567*344a7f5eSAndroid Build Coastguard Worker field public static final int STACK_STATE_STATE_SCANNING = 2; // 0x2 7568*344a7f5eSAndroid Build Coastguard Worker } 7569*344a7f5eSAndroid Build Coastguard Worker 7570*344a7f5eSAndroid Build Coastguard Worker public final class WifiBatteryStats implements android.os.Parcelable { 7571*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 7572*344a7f5eSAndroid Build Coastguard Worker method public long getAppScanRequestCount(); 7573*344a7f5eSAndroid Build Coastguard Worker method public long getEnergyConsumedMaMillis(); 7574*344a7f5eSAndroid Build Coastguard Worker method public long getIdleTimeMillis(); 7575*344a7f5eSAndroid Build Coastguard Worker method public long getKernelActiveTimeMillis(); 7576*344a7f5eSAndroid Build Coastguard Worker method public long getLoggingDurationMillis(); 7577*344a7f5eSAndroid Build Coastguard Worker method public long getMonitoredRailChargeConsumedMaMillis(); 7578*344a7f5eSAndroid Build Coastguard Worker method public long getNumBytesRx(); 7579*344a7f5eSAndroid Build Coastguard Worker method public long getNumBytesTx(); 7580*344a7f5eSAndroid Build Coastguard Worker method public long getNumPacketsRx(); 7581*344a7f5eSAndroid Build Coastguard Worker method public long getNumPacketsTx(); 7582*344a7f5eSAndroid Build Coastguard Worker method public long getRxTimeMillis(); 7583*344a7f5eSAndroid Build Coastguard Worker method public long getScanTimeMillis(); 7584*344a7f5eSAndroid Build Coastguard Worker method public long getSleepTimeMillis(); 7585*344a7f5eSAndroid Build Coastguard Worker method public long getTxTimeMillis(); 7586*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 7587*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.connectivity.WifiBatteryStats> CREATOR; 7588*344a7f5eSAndroid Build Coastguard Worker } 7589*344a7f5eSAndroid Build Coastguard Worker 7590*344a7f5eSAndroid Build Coastguard Worker} 7591*344a7f5eSAndroid Build Coastguard Worker 7592*344a7f5eSAndroid Build Coastguard Workerpackage android.os.image { 7593*344a7f5eSAndroid Build Coastguard Worker 7594*344a7f5eSAndroid Build Coastguard Worker public class DynamicSystemClient { 7595*344a7f5eSAndroid Build Coastguard Worker ctor public DynamicSystemClient(@NonNull android.content.Context); 7596*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void bind(); 7597*344a7f5eSAndroid Build Coastguard Worker method public void setOnStatusChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.os.image.DynamicSystemClient.OnStatusChangedListener); 7598*344a7f5eSAndroid Build Coastguard Worker method public void setOnStatusChangedListener(@NonNull android.os.image.DynamicSystemClient.OnStatusChangedListener); 7599*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void start(@NonNull android.net.Uri, long); 7600*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void start(@NonNull android.net.Uri, long, long); 7601*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void unbind(); 7602*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_ERROR_EXCEPTION = 6; // 0x6 7603*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_ERROR_INVALID_URL = 4; // 0x4 7604*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_ERROR_IO = 3; // 0x3 7605*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_ERROR_IPC = 5; // 0x5 7606*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_INSTALL_CANCELLED = 2; // 0x2 7607*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_INSTALL_COMPLETED = 1; // 0x1 7608*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_NOT_SPECIFIED = 0; // 0x0 7609*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_IN_PROGRESS = 2; // 0x2 7610*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_IN_USE = 4; // 0x4 7611*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_NOT_STARTED = 1; // 0x1 7612*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_READY = 3; // 0x3 7613*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_UNKNOWN = 0; // 0x0 7614*344a7f5eSAndroid Build Coastguard Worker } 7615*344a7f5eSAndroid Build Coastguard Worker 7616*344a7f5eSAndroid Build Coastguard Worker public static interface DynamicSystemClient.OnStatusChangedListener { 7617*344a7f5eSAndroid Build Coastguard Worker method public void onStatusChanged(int, int, long, @Nullable Throwable); 7618*344a7f5eSAndroid Build Coastguard Worker } 7619*344a7f5eSAndroid Build Coastguard Worker 7620*344a7f5eSAndroid Build Coastguard Worker} 7621*344a7f5eSAndroid Build Coastguard Worker 7622*344a7f5eSAndroid Build Coastguard Workerpackage android.os.storage { 7623*344a7f5eSAndroid Build Coastguard Worker 7624*344a7f5eSAndroid Build Coastguard Worker public class StorageManager { 7625*344a7f5eSAndroid Build Coastguard Worker method @WorkerThread public void allocateBytes(@NonNull java.util.UUID, long, @RequiresPermission int) throws java.io.IOException; 7626*344a7f5eSAndroid Build Coastguard Worker method @WorkerThread public void allocateBytes(java.io.FileDescriptor, long, @RequiresPermission int) throws java.io.IOException; 7627*344a7f5eSAndroid Build Coastguard Worker method @WorkerThread public long getAllocatableBytes(@NonNull java.util.UUID, @RequiresPermission int) throws java.io.IOException; 7628*344a7f5eSAndroid Build Coastguard Worker method public static boolean hasIsolatedStorage(); 7629*344a7f5eSAndroid Build Coastguard Worker method public void updateExternalStorageFileQuotaType(@NonNull java.io.File, int) throws java.io.IOException; 7630*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.ALLOCATE_AGGRESSIVE) public static final int FLAG_ALLOCATE_AGGRESSIVE = 1; // 0x1 7631*344a7f5eSAndroid Build Coastguard Worker field public static final int QUOTA_TYPE_MEDIA_AUDIO = 2; // 0x2 7632*344a7f5eSAndroid Build Coastguard Worker field public static final int QUOTA_TYPE_MEDIA_IMAGE = 1; // 0x1 7633*344a7f5eSAndroid Build Coastguard Worker field public static final int QUOTA_TYPE_MEDIA_NONE = 0; // 0x0 7634*344a7f5eSAndroid Build Coastguard Worker field public static final int QUOTA_TYPE_MEDIA_VIDEO = 3; // 0x3 7635*344a7f5eSAndroid Build Coastguard Worker } 7636*344a7f5eSAndroid Build Coastguard Worker 7637*344a7f5eSAndroid Build Coastguard Worker public final class StorageVolume implements android.os.Parcelable { 7638*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getId(); 7639*344a7f5eSAndroid Build Coastguard Worker } 7640*344a7f5eSAndroid Build Coastguard Worker 7641*344a7f5eSAndroid Build Coastguard Worker} 7642*344a7f5eSAndroid Build Coastguard Worker 7643*344a7f5eSAndroid Build Coastguard Workerpackage android.permission { 7644*344a7f5eSAndroid Build Coastguard Worker 7645*344a7f5eSAndroid Build Coastguard Worker public final class PermissionControllerManager { 7646*344a7f5eSAndroid Build Coastguard Worker 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<java.lang.Boolean>); 7647*344a7f5eSAndroid Build Coastguard Worker 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<byte[]>); 7648*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public void revokeRuntimePermissions(@NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>, boolean, int, @NonNull java.util.concurrent.Executor, @NonNull android.permission.PermissionControllerManager.OnRevokeRuntimePermissionsCallback); 7649*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.RESTORE_RUNTIME_PERMISSIONS}) public void stageAndApplyRuntimePermissionsBackup(@NonNull byte[], @NonNull android.os.UserHandle); 7650*344a7f5eSAndroid Build Coastguard Worker field public static final int COUNT_ONLY_WHEN_GRANTED = 1; // 0x1 7651*344a7f5eSAndroid Build Coastguard Worker field public static final int COUNT_WHEN_SYSTEM = 2; // 0x2 7652*344a7f5eSAndroid Build Coastguard Worker field public static final int REASON_INSTALLER_POLICY_VIOLATION = 2; // 0x2 7653*344a7f5eSAndroid Build Coastguard Worker field public static final int REASON_MALWARE = 1; // 0x1 7654*344a7f5eSAndroid Build Coastguard Worker } 7655*344a7f5eSAndroid Build Coastguard Worker 7656*344a7f5eSAndroid Build Coastguard Worker public abstract static class PermissionControllerManager.OnRevokeRuntimePermissionsCallback { 7657*344a7f5eSAndroid Build Coastguard Worker ctor public PermissionControllerManager.OnRevokeRuntimePermissionsCallback(); 7658*344a7f5eSAndroid Build Coastguard Worker method public abstract void onRevokeRuntimePermissions(@NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>); 7659*344a7f5eSAndroid Build Coastguard Worker } 7660*344a7f5eSAndroid Build Coastguard Worker 7661*344a7f5eSAndroid Build Coastguard Worker public abstract class PermissionControllerService extends android.app.Service { 7662*344a7f5eSAndroid Build Coastguard Worker ctor public PermissionControllerService(); 7663*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public void onApplyStagedRuntimePermissionBackup(@NonNull String, @NonNull android.os.UserHandle, @NonNull java.util.function.Consumer<java.lang.Boolean>); 7664*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.os.IBinder onBind(android.content.Intent); 7665*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public abstract void onCountPermissionApps(@NonNull java.util.List<java.lang.String>, int, @NonNull java.util.function.IntConsumer); 7666*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public abstract void onGetAppPermissions(@NonNull String, @NonNull java.util.function.Consumer<java.util.List<android.permission.RuntimePermissionPresentationInfo>>); 7667*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public abstract void onGetPermissionUsages(boolean, long, @NonNull java.util.function.Consumer<java.util.List<android.permission.RuntimePermissionUsageInfo>>); 7668*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public abstract void onGetRuntimePermissionsBackup(@NonNull android.os.UserHandle, @NonNull java.io.OutputStream, @NonNull Runnable); 7669*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public abstract void onGrantOrUpgradeDefaultRuntimePermissions(@NonNull Runnable); 7670*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public void onOneTimePermissionSessionTimeout(@NonNull String); 7671*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @BinderThread public void onRestoreDelayedRuntimePermissionsBackup(@NonNull String, @NonNull android.os.UserHandle, @NonNull java.util.function.Consumer<java.lang.Boolean>); 7672*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @BinderThread public void onRestoreRuntimePermissionsBackup(@NonNull android.os.UserHandle, @NonNull java.io.InputStream, @NonNull Runnable); 7673*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public abstract void onRevokeRuntimePermission(@NonNull String, @NonNull String, @NonNull Runnable); 7674*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public abstract void onRevokeRuntimePermissions(@NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>, boolean, int, @NonNull String, @NonNull java.util.function.Consumer<java.util.Map<java.lang.String,java.util.List<java.lang.String>>>); 7675*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public abstract void onSetRuntimePermissionGrantStateByDeviceAdmin(@NonNull String, @NonNull String, @NonNull String, int, @NonNull java.util.function.Consumer<java.lang.Boolean>); 7676*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public void onStageAndApplyRuntimePermissionsBackup(@NonNull android.os.UserHandle, @NonNull java.io.InputStream, @NonNull Runnable); 7677*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public void onUpdateUserSensitivePermissionFlags(int, @NonNull java.util.concurrent.Executor, @NonNull Runnable); 7678*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public void onUpdateUserSensitivePermissionFlags(int, @NonNull Runnable); 7679*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.permission.PermissionControllerService"; 7680*344a7f5eSAndroid Build Coastguard Worker } 7681*344a7f5eSAndroid Build Coastguard Worker 7682*344a7f5eSAndroid Build Coastguard Worker public final class PermissionManager { 7683*344a7f5eSAndroid Build Coastguard Worker method public int checkDeviceIdentifierAccess(@Nullable String, @Nullable String, @Nullable String, int, int); 7684*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY) public java.util.Set<java.lang.String> getAutoRevokeExemptionGrantedPackages(); 7685*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY) public java.util.Set<java.lang.String> getAutoRevokeExemptionRequestedPackages(); 7686*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) @RequiresPermission(anyOf={android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY, android.Manifest.permission.UPGRADE_RUNTIME_PERMISSIONS}) public int getRuntimePermissionsVersion(); 7687*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.permission.PermissionManager.SplitPermissionInfo> getSplitPermissions(); 7688*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY, android.Manifest.permission.UPGRADE_RUNTIME_PERMISSIONS}) public void setRuntimePermissionsVersion(@IntRange(from=0) int); 7689*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS) public void startOneTimePermissionSession(@NonNull String, long, int, int); 7690*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS) public void stopOneTimePermissionSession(@NonNull String); 7691*344a7f5eSAndroid Build Coastguard Worker } 7692*344a7f5eSAndroid Build Coastguard Worker 7693*344a7f5eSAndroid Build Coastguard Worker public static final class PermissionManager.SplitPermissionInfo { 7694*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.lang.String> getNewPermissions(); 7695*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getSplitPermission(); 7696*344a7f5eSAndroid Build Coastguard Worker method public int getTargetSdk(); 7697*344a7f5eSAndroid Build Coastguard Worker } 7698*344a7f5eSAndroid Build Coastguard Worker 7699*344a7f5eSAndroid Build Coastguard Worker public final class RuntimePermissionPresentationInfo implements android.os.Parcelable { 7700*344a7f5eSAndroid Build Coastguard Worker ctor public RuntimePermissionPresentationInfo(@NonNull CharSequence, boolean, boolean); 7701*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 7702*344a7f5eSAndroid Build Coastguard Worker method @NonNull public CharSequence getLabel(); 7703*344a7f5eSAndroid Build Coastguard Worker method public boolean isGranted(); 7704*344a7f5eSAndroid Build Coastguard Worker method public boolean isStandard(); 7705*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 7706*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.permission.RuntimePermissionPresentationInfo> CREATOR; 7707*344a7f5eSAndroid Build Coastguard Worker } 7708*344a7f5eSAndroid Build Coastguard Worker 7709*344a7f5eSAndroid Build Coastguard Worker public final class RuntimePermissionUsageInfo implements android.os.Parcelable { 7710*344a7f5eSAndroid Build Coastguard Worker ctor public RuntimePermissionUsageInfo(@NonNull String, int); 7711*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 7712*344a7f5eSAndroid Build Coastguard Worker method public int getAppAccessCount(); 7713*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getName(); 7714*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 7715*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.permission.RuntimePermissionUsageInfo> CREATOR; 7716*344a7f5eSAndroid Build Coastguard Worker } 7717*344a7f5eSAndroid Build Coastguard Worker 7718*344a7f5eSAndroid Build Coastguard Worker} 7719*344a7f5eSAndroid Build Coastguard Worker 7720*344a7f5eSAndroid Build Coastguard Workerpackage android.permissionpresenterservice { 7721*344a7f5eSAndroid Build Coastguard Worker 7722*344a7f5eSAndroid Build Coastguard Worker @Deprecated public abstract class RuntimePermissionPresenterService extends android.app.Service { 7723*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public RuntimePermissionPresenterService(); 7724*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final void attachBaseContext(android.content.Context); 7725*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final android.os.IBinder onBind(android.content.Intent); 7726*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract java.util.List<android.content.pm.permission.RuntimePermissionPresentationInfo> onGetAppPermissions(@NonNull String); 7727*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String SERVICE_INTERFACE = "android.permissionpresenterservice.RuntimePermissionPresenterService"; 7728*344a7f5eSAndroid Build Coastguard Worker } 7729*344a7f5eSAndroid Build Coastguard Worker 7730*344a7f5eSAndroid Build Coastguard Worker} 7731*344a7f5eSAndroid Build Coastguard Worker 7732*344a7f5eSAndroid Build Coastguard Workerpackage android.preference { 7733*344a7f5eSAndroid Build Coastguard Worker 7734*344a7f5eSAndroid Build Coastguard Worker @Deprecated public class PreferenceManager { 7735*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean isStorageCredentialProtected(); 7736*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setStorageCredentialProtected(); 7737*344a7f5eSAndroid Build Coastguard Worker } 7738*344a7f5eSAndroid Build Coastguard Worker 7739*344a7f5eSAndroid Build Coastguard Worker} 7740*344a7f5eSAndroid Build Coastguard Worker 7741*344a7f5eSAndroid Build Coastguard Workerpackage android.print { 7742*344a7f5eSAndroid Build Coastguard Worker 7743*344a7f5eSAndroid Build Coastguard Worker public final class PrintManager { 7744*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICE_RECOMMENDATIONS) public void addPrintServiceRecommendationsChangeListener(@NonNull android.print.PrintManager.PrintServiceRecommendationsChangeListener, @Nullable android.os.Handler); 7745*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICES) public void addPrintServicesChangeListener(@NonNull android.print.PrintManager.PrintServicesChangeListener, @Nullable android.os.Handler); 7746*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICE_RECOMMENDATIONS) public java.util.List<android.printservice.recommendation.RecommendationInfo> getPrintServiceRecommendations(); 7747*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICES) public java.util.List<android.printservice.PrintServiceInfo> getPrintServices(int); 7748*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICE_RECOMMENDATIONS) public void removePrintServiceRecommendationsChangeListener(@NonNull android.print.PrintManager.PrintServiceRecommendationsChangeListener); 7749*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICES) public void removePrintServicesChangeListener(@NonNull android.print.PrintManager.PrintServicesChangeListener); 7750*344a7f5eSAndroid Build Coastguard Worker field public static final int ENABLED_SERVICES = 1; // 0x1 7751*344a7f5eSAndroid Build Coastguard Worker } 7752*344a7f5eSAndroid Build Coastguard Worker 7753*344a7f5eSAndroid Build Coastguard Worker public static interface PrintManager.PrintServiceRecommendationsChangeListener { 7754*344a7f5eSAndroid Build Coastguard Worker method public void onPrintServiceRecommendationsChanged(); 7755*344a7f5eSAndroid Build Coastguard Worker } 7756*344a7f5eSAndroid Build Coastguard Worker 7757*344a7f5eSAndroid Build Coastguard Worker public static interface PrintManager.PrintServicesChangeListener { 7758*344a7f5eSAndroid Build Coastguard Worker method public void onPrintServicesChanged(); 7759*344a7f5eSAndroid Build Coastguard Worker } 7760*344a7f5eSAndroid Build Coastguard Worker 7761*344a7f5eSAndroid Build Coastguard Worker} 7762*344a7f5eSAndroid Build Coastguard Worker 7763*344a7f5eSAndroid Build Coastguard Workerpackage android.printservice { 7764*344a7f5eSAndroid Build Coastguard Worker 7765*344a7f5eSAndroid Build Coastguard Worker public final class PrintServiceInfo implements android.os.Parcelable { 7766*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 7767*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.ComponentName getComponentName(); 7768*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 7769*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.printservice.PrintServiceInfo> CREATOR; 7770*344a7f5eSAndroid Build Coastguard Worker } 7771*344a7f5eSAndroid Build Coastguard Worker 7772*344a7f5eSAndroid Build Coastguard Worker} 7773*344a7f5eSAndroid Build Coastguard Worker 7774*344a7f5eSAndroid Build Coastguard Workerpackage android.printservice.recommendation { 7775*344a7f5eSAndroid Build Coastguard Worker 7776*344a7f5eSAndroid Build Coastguard Worker public final class RecommendationInfo implements android.os.Parcelable { 7777*344a7f5eSAndroid Build Coastguard Worker ctor public RecommendationInfo(@NonNull CharSequence, @NonNull CharSequence, @NonNull java.util.List<java.net.InetAddress>, boolean); 7778*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public RecommendationInfo(@NonNull CharSequence, @NonNull CharSequence, @IntRange(from=0) int, boolean); 7779*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 7780*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.net.InetAddress> getDiscoveredPrinters(); 7781*344a7f5eSAndroid Build Coastguard Worker method public CharSequence getName(); 7782*344a7f5eSAndroid Build Coastguard Worker method public int getNumDiscoveredPrinters(); 7783*344a7f5eSAndroid Build Coastguard Worker method public CharSequence getPackageName(); 7784*344a7f5eSAndroid Build Coastguard Worker method public boolean recommendsMultiVendorService(); 7785*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 7786*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.printservice.recommendation.RecommendationInfo> CREATOR; 7787*344a7f5eSAndroid Build Coastguard Worker } 7788*344a7f5eSAndroid Build Coastguard Worker 7789*344a7f5eSAndroid Build Coastguard Worker public abstract class RecommendationService extends android.app.Service { 7790*344a7f5eSAndroid Build Coastguard Worker ctor public RecommendationService(); 7791*344a7f5eSAndroid Build Coastguard Worker method public final android.os.IBinder onBind(android.content.Intent); 7792*344a7f5eSAndroid Build Coastguard Worker method public abstract void onConnected(); 7793*344a7f5eSAndroid Build Coastguard Worker method public abstract void onDisconnected(); 7794*344a7f5eSAndroid Build Coastguard Worker method public final void updateRecommendations(@Nullable java.util.List<android.printservice.recommendation.RecommendationInfo>); 7795*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.printservice.recommendation.RecommendationService"; 7796*344a7f5eSAndroid Build Coastguard Worker } 7797*344a7f5eSAndroid Build Coastguard Worker 7798*344a7f5eSAndroid Build Coastguard Worker} 7799*344a7f5eSAndroid Build Coastguard Worker 7800*344a7f5eSAndroid Build Coastguard Workerpackage android.provider { 7801*344a7f5eSAndroid Build Coastguard Worker 7802*344a7f5eSAndroid Build Coastguard Worker @Deprecated public static final class ContactsContract.MetadataSync implements android.provider.BaseColumns android.provider.ContactsContract.MetadataSyncColumns { 7803*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/contact_metadata"; 7804*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/contact_metadata"; 7805*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final android.net.Uri CONTENT_URI; 7806*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String METADATA_AUTHORITY = "com.android.contacts.metadata"; 7807*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final android.net.Uri METADATA_AUTHORITY_URI; 7808*344a7f5eSAndroid Build Coastguard Worker } 7809*344a7f5eSAndroid Build Coastguard Worker 7810*344a7f5eSAndroid Build Coastguard Worker @Deprecated protected static interface ContactsContract.MetadataSyncColumns { 7811*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String ACCOUNT_NAME = "account_name"; 7812*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String ACCOUNT_TYPE = "account_type"; 7813*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String DATA = "data"; 7814*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String DATA_SET = "data_set"; 7815*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String DELETED = "deleted"; 7816*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String RAW_CONTACT_BACKUP_ID = "raw_contact_backup_id"; 7817*344a7f5eSAndroid Build Coastguard Worker } 7818*344a7f5eSAndroid Build Coastguard Worker 7819*344a7f5eSAndroid Build Coastguard Worker @Deprecated public static final class ContactsContract.MetadataSyncState implements android.provider.BaseColumns android.provider.ContactsContract.MetadataSyncStateColumns { 7820*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/contact_metadata_sync_state"; 7821*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/contact_metadata_sync_state"; 7822*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final android.net.Uri CONTENT_URI; 7823*344a7f5eSAndroid Build Coastguard Worker } 7824*344a7f5eSAndroid Build Coastguard Worker 7825*344a7f5eSAndroid Build Coastguard Worker @Deprecated protected static interface ContactsContract.MetadataSyncStateColumns { 7826*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String ACCOUNT_NAME = "account_name"; 7827*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String ACCOUNT_TYPE = "account_type"; 7828*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String DATA_SET = "data_set"; 7829*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String STATE = "state"; 7830*344a7f5eSAndroid Build Coastguard Worker } 7831*344a7f5eSAndroid Build Coastguard Worker 7832*344a7f5eSAndroid Build Coastguard Worker public final class DeviceConfig { 7833*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static void addOnPropertiesChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertiesChangedListener); 7834*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static boolean getBoolean(@NonNull String, @NonNull String, boolean); 7835*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static float getFloat(@NonNull String, @NonNull String, float); 7836*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static int getInt(@NonNull String, @NonNull String, int); 7837*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static long getLong(@NonNull String, @NonNull String, long); 7838*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static android.provider.DeviceConfig.Properties getProperties(@NonNull String, @NonNull java.lang.String...); 7839*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static String getProperty(@NonNull String, @NonNull String); 7840*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static String getString(@NonNull String, @NonNull String, @Nullable String); 7841*344a7f5eSAndroid Build Coastguard Worker method public static void removeOnPropertiesChangedListener(@NonNull android.provider.DeviceConfig.OnPropertiesChangedListener); 7842*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static void resetToDefaults(int, @Nullable String); 7843*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static boolean setProperties(@NonNull android.provider.DeviceConfig.Properties) throws android.provider.DeviceConfig.BadConfigException; 7844*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static boolean setProperty(@NonNull String, @NonNull String, @Nullable String, boolean); 7845*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_ACTIVITY_MANAGER = "activity_manager"; 7846*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_ACTIVITY_MANAGER_NATIVE_BOOT = "activity_manager_native_boot"; 7847*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_APP_COMPAT = "app_compat"; 7848*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_ATTENTION_MANAGER_SERVICE = "attention_manager_service"; 7849*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_AUTOFILL = "autofill"; 7850*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_BIOMETRICS = "biometrics"; 7851*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_BLOBSTORE = "blobstore"; 7852*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_CONNECTIVITY = "connectivity"; 7853*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_CONTENT_CAPTURE = "content_capture"; 7854*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String NAMESPACE_DEX_BOOT = "dex_boot"; 7855*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_DISPLAY_MANAGER = "display_manager"; 7856*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_GAME_DRIVER = "game_driver"; 7857*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_INPUT_NATIVE_BOOT = "input_native_boot"; 7858*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_INTELLIGENCE_ATTENTION = "intelligence_attention"; 7859*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_MEDIA_NATIVE = "media_native"; 7860*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_NETD_NATIVE = "netd_native"; 7861*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_PACKAGE_MANAGER_SERVICE = "package_manager_service"; 7862*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_PERMISSIONS = "permissions"; 7863*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_PRIVACY = "privacy"; 7864*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_ROLLBACK = "rollback"; 7865*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_ROLLBACK_BOOT = "rollback_boot"; 7866*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_RUNTIME = "runtime"; 7867*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_RUNTIME_NATIVE = "runtime_native"; 7868*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_RUNTIME_NATIVE_BOOT = "runtime_native_boot"; 7869*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_SCHEDULER = "scheduler"; 7870*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String NAMESPACE_STORAGE = "storage"; 7871*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_STORAGE_NATIVE_BOOT = "storage_native_boot"; 7872*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_SYSTEMUI = "systemui"; 7873*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_TELEPHONY = "telephony"; 7874*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_TEXTCLASSIFIER = "textclassifier"; 7875*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_WINDOW_MANAGER_NATIVE_BOOT = "window_manager_native_boot"; 7876*344a7f5eSAndroid Build Coastguard Worker } 7877*344a7f5eSAndroid Build Coastguard Worker 7878*344a7f5eSAndroid Build Coastguard Worker public static class DeviceConfig.BadConfigException extends java.lang.Exception { 7879*344a7f5eSAndroid Build Coastguard Worker ctor public DeviceConfig.BadConfigException(); 7880*344a7f5eSAndroid Build Coastguard Worker } 7881*344a7f5eSAndroid Build Coastguard Worker 7882*344a7f5eSAndroid Build Coastguard Worker public static interface DeviceConfig.OnPropertiesChangedListener { 7883*344a7f5eSAndroid Build Coastguard Worker method public void onPropertiesChanged(@NonNull android.provider.DeviceConfig.Properties); 7884*344a7f5eSAndroid Build Coastguard Worker } 7885*344a7f5eSAndroid Build Coastguard Worker 7886*344a7f5eSAndroid Build Coastguard Worker public static class DeviceConfig.Properties { 7887*344a7f5eSAndroid Build Coastguard Worker method public boolean getBoolean(@NonNull String, boolean); 7888*344a7f5eSAndroid Build Coastguard Worker method public float getFloat(@NonNull String, float); 7889*344a7f5eSAndroid Build Coastguard Worker method public int getInt(@NonNull String, int); 7890*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.lang.String> getKeyset(); 7891*344a7f5eSAndroid Build Coastguard Worker method public long getLong(@NonNull String, long); 7892*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getNamespace(); 7893*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getString(@NonNull String, @Nullable String); 7894*344a7f5eSAndroid Build Coastguard Worker } 7895*344a7f5eSAndroid Build Coastguard Worker 7896*344a7f5eSAndroid Build Coastguard Worker public static final class DeviceConfig.Properties.Builder { 7897*344a7f5eSAndroid Build Coastguard Worker ctor public DeviceConfig.Properties.Builder(@NonNull String); 7898*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfig.Properties build(); 7899*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfig.Properties.Builder setBoolean(@NonNull String, boolean); 7900*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfig.Properties.Builder setFloat(@NonNull String, float); 7901*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfig.Properties.Builder setInt(@NonNull String, int); 7902*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfig.Properties.Builder setLong(@NonNull String, long); 7903*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfig.Properties.Builder setString(@NonNull String, @Nullable String); 7904*344a7f5eSAndroid Build Coastguard Worker } 7905*344a7f5eSAndroid Build Coastguard Worker 7906*344a7f5eSAndroid Build Coastguard Worker public final class DocumentsContract { 7907*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.net.Uri buildDocumentUriAsUser(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); 7908*344a7f5eSAndroid Build Coastguard Worker method public static boolean isManageMode(@NonNull android.net.Uri); 7909*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.net.Uri setManageMode(@NonNull android.net.Uri); 7910*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_DOCUMENT_ROOT_SETTINGS = "android.provider.action.DOCUMENT_ROOT_SETTINGS"; 7911*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_MANAGE_DOCUMENT = "android.provider.action.MANAGE_DOCUMENT"; 7912*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_SHOW_ADVANCED = "android.provider.extra.SHOW_ADVANCED"; 7913*344a7f5eSAndroid Build Coastguard Worker } 7914*344a7f5eSAndroid Build Coastguard Worker 7915*344a7f5eSAndroid Build Coastguard Worker public static final class DocumentsContract.Root { 7916*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_ADVANCED = 65536; // 0x10000 7917*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_HAS_SETTINGS = 131072; // 0x20000 7918*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_REMOVABLE_SD = 262144; // 0x40000 7919*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_REMOVABLE_USB = 524288; // 0x80000 7920*344a7f5eSAndroid Build Coastguard Worker } 7921*344a7f5eSAndroid Build Coastguard Worker 7922*344a7f5eSAndroid Build Coastguard Worker public abstract class SearchIndexableData { 7923*344a7f5eSAndroid Build Coastguard Worker ctor public SearchIndexableData(); 7924*344a7f5eSAndroid Build Coastguard Worker ctor public SearchIndexableData(android.content.Context); 7925*344a7f5eSAndroid Build Coastguard Worker field public String className; 7926*344a7f5eSAndroid Build Coastguard Worker field public android.content.Context context; 7927*344a7f5eSAndroid Build Coastguard Worker field public boolean enabled; 7928*344a7f5eSAndroid Build Coastguard Worker field public int iconResId; 7929*344a7f5eSAndroid Build Coastguard Worker field public String intentAction; 7930*344a7f5eSAndroid Build Coastguard Worker field public String intentTargetClass; 7931*344a7f5eSAndroid Build Coastguard Worker field public String intentTargetPackage; 7932*344a7f5eSAndroid Build Coastguard Worker field public String key; 7933*344a7f5eSAndroid Build Coastguard Worker field public java.util.Locale locale; 7934*344a7f5eSAndroid Build Coastguard Worker field public String packageName; 7935*344a7f5eSAndroid Build Coastguard Worker field public int rank; 7936*344a7f5eSAndroid Build Coastguard Worker field public int userId; 7937*344a7f5eSAndroid Build Coastguard Worker } 7938*344a7f5eSAndroid Build Coastguard Worker 7939*344a7f5eSAndroid Build Coastguard Worker public class SearchIndexableResource extends android.provider.SearchIndexableData { 7940*344a7f5eSAndroid Build Coastguard Worker ctor public SearchIndexableResource(int, int, String, int); 7941*344a7f5eSAndroid Build Coastguard Worker ctor public SearchIndexableResource(android.content.Context); 7942*344a7f5eSAndroid Build Coastguard Worker field public int xmlResId; 7943*344a7f5eSAndroid Build Coastguard Worker } 7944*344a7f5eSAndroid Build Coastguard Worker 7945*344a7f5eSAndroid Build Coastguard Worker public class SearchIndexablesContract { 7946*344a7f5eSAndroid Build Coastguard Worker ctor public SearchIndexablesContract(); 7947*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE = 0; // 0x0 7948*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_CLASS_NAME = 7; // 0x7 7949*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_ENTRIES = 4; // 0x4 7950*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_ICON_RESID = 8; // 0x8 7951*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_INTENT_ACTION = 9; // 0x9 7952*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_INTENT_TARGET_CLASS = 11; // 0xb 7953*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE = 10; // 0xa 7954*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_KEY = 12; // 0xc 7955*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_KEYWORDS = 5; // 0x5 7956*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_RANK = 0; // 0x0 7957*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_SCREEN_TITLE = 6; // 0x6 7958*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_SUMMARY_OFF = 3; // 0x3 7959*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_SUMMARY_ON = 2; // 0x2 7960*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_TITLE = 1; // 0x1 7961*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_RAW_USER_ID = 13; // 0xd 7962*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_XML_RES_CLASS_NAME = 2; // 0x2 7963*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_XML_RES_ICON_RESID = 3; // 0x3 7964*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_XML_RES_INTENT_ACTION = 4; // 0x4 7965*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS = 6; // 0x6 7966*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE = 5; // 0x5 7967*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_XML_RES_RANK = 0; // 0x0 7968*344a7f5eSAndroid Build Coastguard Worker field public static final int COLUMN_INDEX_XML_RES_RESID = 1; // 0x1 7969*344a7f5eSAndroid Build Coastguard Worker field public static final String DYNAMIC_INDEXABLES_RAW = "dynamic_indexables_raw"; 7970*344a7f5eSAndroid Build Coastguard Worker field public static final String DYNAMIC_INDEXABLES_RAW_PATH = "settings/dynamic_indexables_raw"; 7971*344a7f5eSAndroid Build Coastguard Worker field public static final String INDEXABLES_RAW = "indexables_raw"; 7972*344a7f5eSAndroid Build Coastguard Worker field public static final String[] INDEXABLES_RAW_COLUMNS; 7973*344a7f5eSAndroid Build Coastguard Worker field public static final String INDEXABLES_RAW_PATH = "settings/indexables_raw"; 7974*344a7f5eSAndroid Build Coastguard Worker field public static final String INDEXABLES_XML_RES = "indexables_xml_res"; 7975*344a7f5eSAndroid Build Coastguard Worker field public static final String[] INDEXABLES_XML_RES_COLUMNS; 7976*344a7f5eSAndroid Build Coastguard Worker field public static final String INDEXABLES_XML_RES_PATH = "settings/indexables_xml_res"; 7977*344a7f5eSAndroid Build Coastguard Worker field public static final String NON_INDEXABLES_KEYS = "non_indexables_key"; 7978*344a7f5eSAndroid Build Coastguard Worker field public static final String[] NON_INDEXABLES_KEYS_COLUMNS; 7979*344a7f5eSAndroid Build Coastguard Worker field public static final String NON_INDEXABLES_KEYS_PATH = "settings/non_indexables_key"; 7980*344a7f5eSAndroid Build Coastguard Worker field public static final String PROVIDER_INTERFACE = "android.content.action.SEARCH_INDEXABLES_PROVIDER"; 7981*344a7f5eSAndroid Build Coastguard Worker field public static final String SLICE_URI_PAIRS = "slice_uri_pairs"; 7982*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String[] SLICE_URI_PAIRS_COLUMNS; 7983*344a7f5eSAndroid Build Coastguard Worker field public static final String SLICE_URI_PAIRS_PATH = "settings/slice_uri_pairs"; 7984*344a7f5eSAndroid Build Coastguard Worker } 7985*344a7f5eSAndroid Build Coastguard Worker 7986*344a7f5eSAndroid Build Coastguard Worker public static class SearchIndexablesContract.BaseColumns { 7987*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_CLASS_NAME = "className"; 7988*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_ICON_RESID = "iconResId"; 7989*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_INTENT_ACTION = "intentAction"; 7990*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_INTENT_TARGET_CLASS = "intentTargetClass"; 7991*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_INTENT_TARGET_PACKAGE = "intentTargetPackage"; 7992*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_RANK = "rank"; 7993*344a7f5eSAndroid Build Coastguard Worker } 7994*344a7f5eSAndroid Build Coastguard Worker 7995*344a7f5eSAndroid Build Coastguard Worker public static final class SearchIndexablesContract.NonIndexableKey extends android.provider.SearchIndexablesContract.BaseColumns { 7996*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_KEY_VALUE = "key"; 7997*344a7f5eSAndroid Build Coastguard Worker field public static final String MIME_TYPE = "vnd.android.cursor.dir/non_indexables_key"; 7998*344a7f5eSAndroid Build Coastguard Worker } 7999*344a7f5eSAndroid Build Coastguard Worker 8000*344a7f5eSAndroid Build Coastguard Worker public static final class SearchIndexablesContract.RawData extends android.provider.SearchIndexablesContract.BaseColumns { 8001*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_ENTRIES = "entries"; 8002*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_KEY = "key"; 8003*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_KEYWORDS = "keywords"; 8004*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_SCREEN_TITLE = "screenTitle"; 8005*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_SUMMARY_OFF = "summaryOff"; 8006*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_SUMMARY_ON = "summaryOn"; 8007*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_TITLE = "title"; 8008*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_USER_ID = "user_id"; 8009*344a7f5eSAndroid Build Coastguard Worker field public static final String MIME_TYPE = "vnd.android.cursor.dir/indexables_raw"; 8010*344a7f5eSAndroid Build Coastguard Worker } 8011*344a7f5eSAndroid Build Coastguard Worker 8012*344a7f5eSAndroid Build Coastguard Worker public static final class SearchIndexablesContract.SliceUriPairColumns { 8013*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY = "key"; 8014*344a7f5eSAndroid Build Coastguard Worker field public static final String SLICE_URI = "slice_uri"; 8015*344a7f5eSAndroid Build Coastguard Worker } 8016*344a7f5eSAndroid Build Coastguard Worker 8017*344a7f5eSAndroid Build Coastguard Worker public static final class SearchIndexablesContract.XmlResource extends android.provider.SearchIndexablesContract.BaseColumns { 8018*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_XML_RESID = "xmlResId"; 8019*344a7f5eSAndroid Build Coastguard Worker field public static final String MIME_TYPE = "vnd.android.cursor.dir/indexables_xml_res"; 8020*344a7f5eSAndroid Build Coastguard Worker } 8021*344a7f5eSAndroid Build Coastguard Worker 8022*344a7f5eSAndroid Build Coastguard Worker public abstract class SearchIndexablesProvider extends android.content.ContentProvider { 8023*344a7f5eSAndroid Build Coastguard Worker ctor public SearchIndexablesProvider(); 8024*344a7f5eSAndroid Build Coastguard Worker method public final int delete(android.net.Uri, String, String[]); 8025*344a7f5eSAndroid Build Coastguard Worker method public String getType(android.net.Uri); 8026*344a7f5eSAndroid Build Coastguard Worker method public final android.net.Uri insert(android.net.Uri, android.content.ContentValues); 8027*344a7f5eSAndroid Build Coastguard Worker method public android.database.Cursor query(android.net.Uri, String[], String, String[], String); 8028*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.database.Cursor queryDynamicRawData(@Nullable String[]); 8029*344a7f5eSAndroid Build Coastguard Worker method public abstract android.database.Cursor queryNonIndexableKeys(String[]); 8030*344a7f5eSAndroid Build Coastguard Worker method public abstract android.database.Cursor queryRawData(String[]); 8031*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.database.Cursor querySliceUriPairs(); 8032*344a7f5eSAndroid Build Coastguard Worker method public abstract android.database.Cursor queryXmlResources(String[]); 8033*344a7f5eSAndroid Build Coastguard Worker method public final int update(android.net.Uri, android.content.ContentValues, String, String[]); 8034*344a7f5eSAndroid Build Coastguard Worker } 8035*344a7f5eSAndroid Build Coastguard Worker 8036*344a7f5eSAndroid Build Coastguard Worker public final class Settings { 8037*344a7f5eSAndroid Build Coastguard Worker method public static boolean checkAndNoteWriteSettingsOperation(@NonNull android.content.Context, int, @NonNull String, boolean); 8038*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_ACCESSIBILITY_DETAILS_SETTINGS = "android.settings.ACCESSIBILITY_DETAILS_SETTINGS"; 8039*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_BUGREPORT_HANDLER_SETTINGS = "android.settings.BUGREPORT_HANDLER_SETTINGS"; 8040*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_ENTERPRISE_PRIVACY_SETTINGS = "android.settings.ENTERPRISE_PRIVACY_SETTINGS"; 8041*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_LOCATION_CONTROLLER_EXTRA_PACKAGE_SETTINGS = "android.settings.LOCATION_CONTROLLER_EXTRA_PACKAGE_SETTINGS"; 8042*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_MANAGE_APP_OVERLAY_PERMISSION = "android.settings.MANAGE_APP_OVERLAY_PERMISSION"; 8043*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_MANAGE_DOMAIN_URLS = "android.settings.MANAGE_DOMAIN_URLS"; 8044*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS = "android.settings.MANAGE_MORE_DEFAULT_APPS_SETTINGS"; 8045*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_NOTIFICATION_POLICY_ACCESS_DETAIL_SETTINGS = "android.settings.NOTIFICATION_POLICY_ACCESS_DETAIL_SETTINGS"; 8046*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_REQUEST_ENABLE_CONTENT_CAPTURE = "android.settings.REQUEST_ENABLE_CONTENT_CAPTURE"; 8047*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SHOW_ADMIN_SUPPORT_DETAILS = "android.settings.SHOW_ADMIN_SUPPORT_DETAILS"; 8048*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_TETHER_PROVISIONING_UI = "android.settings.TETHER_PROVISIONING_UI"; 8049*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_TETHER_SETTINGS = "android.settings.TETHER_SETTINGS"; 8050*344a7f5eSAndroid Build Coastguard Worker } 8051*344a7f5eSAndroid Build Coastguard Worker 8052*344a7f5eSAndroid Build Coastguard Worker public static final class Settings.Global extends android.provider.Settings.NameValueTable { 8053*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, @Nullable String, boolean); 8054*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static void resetToDefaults(@NonNull android.content.ContentResolver, @Nullable String); 8055*344a7f5eSAndroid Build Coastguard Worker field public static final String AIRPLANE_MODE_TOGGLEABLE_RADIOS = "airplane_mode_toggleable_radios"; 8056*344a7f5eSAndroid Build Coastguard Worker field public static final String APP_STANDBY_ENABLED = "app_standby_enabled"; 8057*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES = "autofill_compat_mode_allowed_packages"; 8058*344a7f5eSAndroid Build Coastguard Worker field public static final String CARRIER_APP_NAMES = "carrier_app_names"; 8059*344a7f5eSAndroid Build Coastguard Worker field public static final String CARRIER_APP_WHITELIST = "carrier_app_whitelist"; 8060*344a7f5eSAndroid Build Coastguard Worker field public static final String DEFAULT_SM_DP_PLUS = "default_sm_dp_plus"; 8061*344a7f5eSAndroid Build Coastguard Worker field public static final String DEVICE_DEMO_MODE = "device_demo_mode"; 8062*344a7f5eSAndroid Build Coastguard Worker field public static final String DEVICE_PROVISIONING_MOBILE_DATA_ENABLED = "device_provisioning_mobile_data"; 8063*344a7f5eSAndroid Build Coastguard Worker field public static final String EUICC_PROVISIONED = "euicc_provisioned"; 8064*344a7f5eSAndroid Build Coastguard Worker field public static final String EUICC_SUPPORTED_COUNTRIES = "euicc_supported_countries"; 8065*344a7f5eSAndroid Build Coastguard Worker field public static final String EUICC_UNSUPPORTED_COUNTRIES = "euicc_unsupported_countries"; 8066*344a7f5eSAndroid Build Coastguard Worker field public static final String INSTALL_CARRIER_APP_NOTIFICATION_PERSISTENT = "install_carrier_app_notification_persistent"; 8067*344a7f5eSAndroid Build Coastguard Worker field public static final String INSTALL_CARRIER_APP_NOTIFICATION_SLEEP_MILLIS = "install_carrier_app_notification_sleep_millis"; 8068*344a7f5eSAndroid Build Coastguard Worker field public static final String OTA_DISABLE_AUTOMATIC_UPDATE = "ota_disable_automatic_update"; 8069*344a7f5eSAndroid Build Coastguard Worker field public static final String REQUIRE_PASSWORD_TO_DECRYPT = "require_password_to_decrypt"; 8070*344a7f5eSAndroid Build Coastguard Worker field public static final String TETHER_OFFLOAD_DISABLED = "tether_offload_disabled"; 8071*344a7f5eSAndroid Build Coastguard Worker field public static final String TETHER_SUPPORTED = "tether_supported"; 8072*344a7f5eSAndroid Build Coastguard Worker field public static final String THEATER_MODE_ON = "theater_mode_on"; 8073*344a7f5eSAndroid Build Coastguard Worker field public static final String WEBVIEW_MULTIPROCESS = "webview_multiprocess"; 8074*344a7f5eSAndroid Build Coastguard Worker field public static final String WIFI_BADGING_THRESHOLDS = "wifi_badging_thresholds"; 8075*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String WIFI_WAKEUP_ENABLED = "wifi_wakeup_enabled"; 8076*344a7f5eSAndroid Build Coastguard Worker } 8077*344a7f5eSAndroid Build Coastguard Worker 8078*344a7f5eSAndroid Build Coastguard Worker public static final class Settings.Secure extends android.provider.Settings.NameValueTable { 8079*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, @Nullable String, boolean); 8080*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static void resetToDefaults(@NonNull android.content.ContentResolver, @Nullable String); 8081*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED = "accessibility_display_magnification_navbar_enabled"; 8082*344a7f5eSAndroid Build Coastguard Worker field public static final String ASSIST_GESTURE_SETUP_COMPLETE = "assist_gesture_setup_complete"; 8083*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_FEATURE_FIELD_CLASSIFICATION = "autofill_field_classification"; 8084*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_USER_DATA_MAX_CATEGORY_COUNT = "autofill_user_data_max_category_count"; 8085*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_USER_DATA_MAX_FIELD_CLASSIFICATION_IDS_SIZE = "autofill_user_data_max_field_classification_size"; 8086*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_USER_DATA_MAX_USER_DATA_SIZE = "autofill_user_data_max_user_data_size"; 8087*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_USER_DATA_MAX_VALUE_LENGTH = "autofill_user_data_max_value_length"; 8088*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_USER_DATA_MIN_VALUE_LENGTH = "autofill_user_data_min_value_length"; 8089*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTO_REVOKE_DISABLED = "auto_revoke_disabled"; 8090*344a7f5eSAndroid Build Coastguard Worker field public static final String COMPLETED_CATEGORY_PREFIX = "suggested.completed_category."; 8091*344a7f5eSAndroid Build Coastguard Worker field public static final String DOZE_ALWAYS_ON = "doze_always_on"; 8092*344a7f5eSAndroid Build Coastguard Worker field public static final String HUSH_GESTURE_USED = "hush_gesture_used"; 8093*344a7f5eSAndroid Build Coastguard Worker field public static final String INSTANT_APPS_ENABLED = "instant_apps_enabled"; 8094*344a7f5eSAndroid Build Coastguard Worker field public static final String LAST_SETUP_SHOWN = "last_setup_shown"; 8095*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCATION_ACCESS_CHECK_DELAY_MILLIS = "location_access_check_delay_millis"; 8096*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCATION_ACCESS_CHECK_INTERVAL_MILLIS = "location_access_check_interval_millis"; 8097*344a7f5eSAndroid Build Coastguard Worker field public static final int LOCATION_MODE_ON = 3; // 0x3 8098*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String LOCATION_PERMISSIONS_UPGRADE_TO_Q_MODE = "location_permissions_upgrade_to_q_mode"; 8099*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS = "lock_screen_allow_private_notifications"; 8100*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCK_SCREEN_SHOW_NOTIFICATIONS = "lock_screen_show_notifications"; 8101*344a7f5eSAndroid Build Coastguard Worker field public static final String ODI_CAPTIONS_ENABLED = "odi_captions_enabled"; 8102*344a7f5eSAndroid Build Coastguard Worker field public static final String THEME_CUSTOMIZATION_OVERLAY_PACKAGES = "theme_customization_overlay_packages"; 8103*344a7f5eSAndroid Build Coastguard Worker field public static final String USER_SETUP_COMPLETE = "user_setup_complete"; 8104*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_SETUP_PERSONALIZATION_COMPLETE = 10; // 0xa 8105*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_SETUP_PERSONALIZATION_NOT_STARTED = 0; // 0x0 8106*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_SETUP_PERSONALIZATION_PAUSED = 2; // 0x2 8107*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_SETUP_PERSONALIZATION_STARTED = 1; // 0x1 8108*344a7f5eSAndroid Build Coastguard Worker field public static final String USER_SETUP_PERSONALIZATION_STATE = "user_setup_personalization_state"; 8109*344a7f5eSAndroid Build Coastguard Worker field public static final String VOLUME_HUSH_GESTURE = "volume_hush_gesture"; 8110*344a7f5eSAndroid Build Coastguard Worker field public static final int VOLUME_HUSH_MUTE = 2; // 0x2 8111*344a7f5eSAndroid Build Coastguard Worker field public static final int VOLUME_HUSH_OFF = 0; // 0x0 8112*344a7f5eSAndroid Build Coastguard Worker field public static final int VOLUME_HUSH_VIBRATE = 1; // 0x1 8113*344a7f5eSAndroid Build Coastguard Worker } 8114*344a7f5eSAndroid Build Coastguard Worker 8115*344a7f5eSAndroid Build Coastguard Worker public static final class Settings.System extends android.provider.Settings.NameValueTable { 8116*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, boolean); 8117*344a7f5eSAndroid Build Coastguard Worker } 8118*344a7f5eSAndroid Build Coastguard Worker 8119*344a7f5eSAndroid Build Coastguard Worker public static final class Telephony.Carriers implements android.provider.BaseColumns { 8120*344a7f5eSAndroid Build Coastguard Worker field public static final String APN_SET_ID = "apn_set_id"; 8121*344a7f5eSAndroid Build Coastguard Worker field public static final int CARRIER_EDITED = 4; // 0x4 8122*344a7f5eSAndroid Build Coastguard Worker field public static final String EDITED_STATUS = "edited"; 8123*344a7f5eSAndroid Build Coastguard Worker field public static final String MAX_CONNECTIONS = "max_conns"; 8124*344a7f5eSAndroid Build Coastguard Worker field public static final String MODEM_PERSIST = "modem_cognitive"; 8125*344a7f5eSAndroid Build Coastguard Worker field public static final String MTU = "mtu"; 8126*344a7f5eSAndroid Build Coastguard Worker field public static final int NO_APN_SET_ID = 0; // 0x0 8127*344a7f5eSAndroid Build Coastguard Worker field public static final String TIME_LIMIT_FOR_MAX_CONNECTIONS = "max_conns_time"; 8128*344a7f5eSAndroid Build Coastguard Worker field public static final int UNEDITED = 0; // 0x0 8129*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_DELETED = 2; // 0x2 8130*344a7f5eSAndroid Build Coastguard Worker field public static final String USER_EDITABLE = "user_editable"; 8131*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_EDITED = 1; // 0x1 8132*344a7f5eSAndroid Build Coastguard Worker field public static final String USER_VISIBLE = "user_visible"; 8133*344a7f5eSAndroid Build Coastguard Worker field public static final String WAIT_TIME_RETRY = "wait_time"; 8134*344a7f5eSAndroid Build Coastguard Worker } 8135*344a7f5eSAndroid Build Coastguard Worker 8136*344a7f5eSAndroid Build Coastguard Worker public static final class Telephony.CellBroadcasts implements android.provider.BaseColumns { 8137*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String AUTHORITY_LEGACY = "cellbroadcast-legacy"; 8138*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri AUTHORITY_LEGACY_URI; 8139*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String CALL_METHOD_GET_PREFERENCE = "get_preference"; 8140*344a7f5eSAndroid Build Coastguard Worker field public static final String CID = "cid"; 8141*344a7f5eSAndroid Build Coastguard Worker field public static final String CMAS_CATEGORY = "cmas_category"; 8142*344a7f5eSAndroid Build Coastguard Worker field public static final String CMAS_CERTAINTY = "cmas_certainty"; 8143*344a7f5eSAndroid Build Coastguard Worker field public static final String CMAS_MESSAGE_CLASS = "cmas_message_class"; 8144*344a7f5eSAndroid Build Coastguard Worker field public static final String CMAS_RESPONSE_TYPE = "cmas_response_type"; 8145*344a7f5eSAndroid Build Coastguard Worker field public static final String CMAS_SEVERITY = "cmas_severity"; 8146*344a7f5eSAndroid Build Coastguard Worker field public static final String CMAS_URGENCY = "cmas_urgency"; 8147*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri CONTENT_URI; 8148*344a7f5eSAndroid Build Coastguard Worker field public static final String DATA_CODING_SCHEME = "dcs"; 8149*344a7f5eSAndroid Build Coastguard Worker field public static final String DEFAULT_SORT_ORDER = "date DESC"; 8150*344a7f5eSAndroid Build Coastguard Worker field public static final String DELIVERY_TIME = "date"; 8151*344a7f5eSAndroid Build Coastguard Worker field public static final String ETWS_WARNING_TYPE = "etws_warning_type"; 8152*344a7f5eSAndroid Build Coastguard Worker field public static final String GEOGRAPHICAL_SCOPE = "geo_scope"; 8153*344a7f5eSAndroid Build Coastguard Worker field public static final String GEOMETRIES = "geometries"; 8154*344a7f5eSAndroid Build Coastguard Worker field public static final String LAC = "lac"; 8155*344a7f5eSAndroid Build Coastguard Worker field public static final String LANGUAGE_CODE = "language"; 8156*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCATION_CHECK_TIME = "location_check_time"; 8157*344a7f5eSAndroid Build Coastguard Worker field public static final String MAXIMUM_WAIT_TIME = "maximum_wait_time"; 8158*344a7f5eSAndroid Build Coastguard Worker field public static final String MESSAGE_BODY = "body"; 8159*344a7f5eSAndroid Build Coastguard Worker field public static final String MESSAGE_BROADCASTED = "message_broadcasted"; 8160*344a7f5eSAndroid Build Coastguard Worker field public static final String MESSAGE_DISPLAYED = "message_displayed"; 8161*344a7f5eSAndroid Build Coastguard Worker field public static final String MESSAGE_FORMAT = "format"; 8162*344a7f5eSAndroid Build Coastguard Worker field @NonNull @RequiresPermission(android.Manifest.permission.READ_CELL_BROADCASTS) public static final android.net.Uri MESSAGE_HISTORY_URI; 8163*344a7f5eSAndroid Build Coastguard Worker field public static final String MESSAGE_PRIORITY = "priority"; 8164*344a7f5eSAndroid Build Coastguard Worker field public static final String MESSAGE_READ = "read"; 8165*344a7f5eSAndroid Build Coastguard Worker field public static final String PLMN = "plmn"; 8166*344a7f5eSAndroid Build Coastguard Worker field public static final String RECEIVED_TIME = "received_time"; 8167*344a7f5eSAndroid Build Coastguard Worker field public static final String SERIAL_NUMBER = "serial_number"; 8168*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_CATEGORY = "service_category"; 8169*344a7f5eSAndroid Build Coastguard Worker field public static final String SLOT_INDEX = "slot_index"; 8170*344a7f5eSAndroid Build Coastguard Worker field public static final String SUBSCRIPTION_ID = "sub_id"; 8171*344a7f5eSAndroid Build Coastguard Worker } 8172*344a7f5eSAndroid Build Coastguard Worker 8173*344a7f5eSAndroid Build Coastguard Worker public static final class Telephony.CellBroadcasts.Preference { 8174*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String ENABLE_ALERT_VIBRATION_PREF = "enable_alert_vibrate"; 8175*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String ENABLE_AREA_UPDATE_INFO_PREF = "enable_area_update_info_alerts"; 8176*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String ENABLE_CMAS_AMBER_PREF = "enable_cmas_amber_alerts"; 8177*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String ENABLE_CMAS_EXTREME_THREAT_PREF = "enable_cmas_extreme_threat_alerts"; 8178*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String ENABLE_CMAS_IN_SECOND_LANGUAGE_PREF = "receive_cmas_in_second_language"; 8179*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String ENABLE_CMAS_PRESIDENTIAL_PREF = "enable_cmas_presidential_alerts"; 8180*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String ENABLE_CMAS_SEVERE_THREAT_PREF = "enable_cmas_severe_threat_alerts"; 8181*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String ENABLE_EMERGENCY_PERF = "enable_emergency_alerts"; 8182*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String ENABLE_PUBLIC_SAFETY_PREF = "enable_public_safety_messages"; 8183*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String ENABLE_STATE_LOCAL_TEST_PREF = "enable_state_local_test_alerts"; 8184*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String ENABLE_TEST_ALERT_PREF = "enable_test_alerts"; 8185*344a7f5eSAndroid Build Coastguard Worker } 8186*344a7f5eSAndroid Build Coastguard Worker 8187*344a7f5eSAndroid Build Coastguard Worker public static final class Telephony.Sms.Intents { 8188*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SMS_EMERGENCY_CB_RECEIVED = "android.provider.action.SMS_EMERGENCY_CB_RECEIVED"; 8189*344a7f5eSAndroid Build Coastguard Worker } 8190*344a7f5eSAndroid Build Coastguard Worker 8191*344a7f5eSAndroid Build Coastguard Worker public final class TimeZoneRulesDataContract { 8192*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTHORITY = "com.android.timezone"; 8193*344a7f5eSAndroid Build Coastguard Worker } 8194*344a7f5eSAndroid Build Coastguard Worker 8195*344a7f5eSAndroid Build Coastguard Worker public static final class TimeZoneRulesDataContract.Operation { 8196*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_DISTRO_MAJOR_VERSION = "distro_major_version"; 8197*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_DISTRO_MINOR_VERSION = "distro_minor_version"; 8198*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_REVISION = "revision"; 8199*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_RULES_VERSION = "rules_version"; 8200*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_TYPE = "type"; 8201*344a7f5eSAndroid Build Coastguard Worker field public static final android.net.Uri CONTENT_URI; 8202*344a7f5eSAndroid Build Coastguard Worker field public static final String TYPE_INSTALL = "INSTALL"; 8203*344a7f5eSAndroid Build Coastguard Worker field public static final String TYPE_NO_OP = "NOOP"; 8204*344a7f5eSAndroid Build Coastguard Worker field public static final String TYPE_UNINSTALL = "UNINSTALL"; 8205*344a7f5eSAndroid Build Coastguard Worker } 8206*344a7f5eSAndroid Build Coastguard Worker 8207*344a7f5eSAndroid Build Coastguard Worker} 8208*344a7f5eSAndroid Build Coastguard Worker 8209*344a7f5eSAndroid Build Coastguard Workerpackage android.se.omapi { 8210*344a7f5eSAndroid Build Coastguard Worker 8211*344a7f5eSAndroid Build Coastguard Worker public final class Reader { 8212*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.SECURE_ELEMENT_PRIVILEGED_OPERATION) public boolean reset(); 8213*344a7f5eSAndroid Build Coastguard Worker } 8214*344a7f5eSAndroid Build Coastguard Worker 8215*344a7f5eSAndroid Build Coastguard Worker} 8216*344a7f5eSAndroid Build Coastguard Worker 8217*344a7f5eSAndroid Build Coastguard Workerpackage android.security.keystore { 8218*344a7f5eSAndroid Build Coastguard Worker 8219*344a7f5eSAndroid Build Coastguard Worker public class AndroidKeyStoreProvider extends java.security.Provider { 8220*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.security.KeyStore getKeyStoreForUid(int) throws java.security.KeyStoreException, java.security.NoSuchProviderException; 8221*344a7f5eSAndroid Build Coastguard Worker } 8222*344a7f5eSAndroid Build Coastguard Worker 8223*344a7f5eSAndroid Build Coastguard Worker public abstract class AttestationUtils { 8224*344a7f5eSAndroid Build Coastguard Worker 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; 8225*344a7f5eSAndroid Build Coastguard Worker field public static final int ID_TYPE_IMEI = 2; // 0x2 8226*344a7f5eSAndroid Build Coastguard Worker field public static final int ID_TYPE_MEID = 3; // 0x3 8227*344a7f5eSAndroid Build Coastguard Worker field public static final int ID_TYPE_SERIAL = 1; // 0x1 8228*344a7f5eSAndroid Build Coastguard Worker field public static final int USE_INDIVIDUAL_ATTESTATION = 4; // 0x4 8229*344a7f5eSAndroid Build Coastguard Worker } 8230*344a7f5eSAndroid Build Coastguard Worker 8231*344a7f5eSAndroid Build Coastguard Worker public class DeviceIdAttestationException extends java.lang.Exception { 8232*344a7f5eSAndroid Build Coastguard Worker ctor public DeviceIdAttestationException(@Nullable String); 8233*344a7f5eSAndroid Build Coastguard Worker ctor public DeviceIdAttestationException(@Nullable String, @Nullable Throwable); 8234*344a7f5eSAndroid Build Coastguard Worker } 8235*344a7f5eSAndroid Build Coastguard Worker 8236*344a7f5eSAndroid Build Coastguard Worker public static final class KeyGenParameterSpec.Builder { 8237*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setUid(int); 8238*344a7f5eSAndroid Build Coastguard Worker } 8239*344a7f5eSAndroid Build Coastguard Worker 8240*344a7f5eSAndroid Build Coastguard Worker} 8241*344a7f5eSAndroid Build Coastguard Worker 8242*344a7f5eSAndroid Build Coastguard Workerpackage android.security.keystore.recovery { 8243*344a7f5eSAndroid Build Coastguard Worker 8244*344a7f5eSAndroid Build Coastguard Worker public class DecryptionFailedException extends java.security.GeneralSecurityException { 8245*344a7f5eSAndroid Build Coastguard Worker ctor public DecryptionFailedException(String); 8246*344a7f5eSAndroid Build Coastguard Worker } 8247*344a7f5eSAndroid Build Coastguard Worker 8248*344a7f5eSAndroid Build Coastguard Worker public class InternalRecoveryServiceException extends java.security.GeneralSecurityException { 8249*344a7f5eSAndroid Build Coastguard Worker ctor public InternalRecoveryServiceException(String); 8250*344a7f5eSAndroid Build Coastguard Worker ctor public InternalRecoveryServiceException(String, Throwable); 8251*344a7f5eSAndroid Build Coastguard Worker } 8252*344a7f5eSAndroid Build Coastguard Worker 8253*344a7f5eSAndroid Build Coastguard Worker public final class KeyChainProtectionParams implements android.os.Parcelable { 8254*344a7f5eSAndroid Build Coastguard Worker method public void clearSecret(); 8255*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8256*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.security.keystore.recovery.KeyDerivationParams getKeyDerivationParams(); 8257*344a7f5eSAndroid Build Coastguard Worker method public int getLockScreenUiFormat(); 8258*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getSecret(); 8259*344a7f5eSAndroid Build Coastguard Worker method public int getUserSecretType(); 8260*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8261*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.security.keystore.recovery.KeyChainProtectionParams> CREATOR; 8262*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_LOCKSCREEN = 100; // 0x64 8263*344a7f5eSAndroid Build Coastguard Worker field public static final int UI_FORMAT_PASSWORD = 2; // 0x2 8264*344a7f5eSAndroid Build Coastguard Worker field public static final int UI_FORMAT_PATTERN = 3; // 0x3 8265*344a7f5eSAndroid Build Coastguard Worker field public static final int UI_FORMAT_PIN = 1; // 0x1 8266*344a7f5eSAndroid Build Coastguard Worker } 8267*344a7f5eSAndroid Build Coastguard Worker 8268*344a7f5eSAndroid Build Coastguard Worker public static class KeyChainProtectionParams.Builder { 8269*344a7f5eSAndroid Build Coastguard Worker ctor public KeyChainProtectionParams.Builder(); 8270*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams build(); 8271*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setKeyDerivationParams(@NonNull android.security.keystore.recovery.KeyDerivationParams); 8272*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setLockScreenUiFormat(int); 8273*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setSecret(@NonNull byte[]); 8274*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setUserSecretType(int); 8275*344a7f5eSAndroid Build Coastguard Worker } 8276*344a7f5eSAndroid Build Coastguard Worker 8277*344a7f5eSAndroid Build Coastguard Worker public final class KeyChainSnapshot implements android.os.Parcelable { 8278*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8279*344a7f5eSAndroid Build Coastguard Worker method public long getCounterId(); 8280*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getEncryptedRecoveryKeyBlob(); 8281*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.security.keystore.recovery.KeyChainProtectionParams> getKeyChainProtectionParams(); 8282*344a7f5eSAndroid Build Coastguard Worker method public int getMaxAttempts(); 8283*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getServerParams(); 8284*344a7f5eSAndroid Build Coastguard Worker method public int getSnapshotVersion(); 8285*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.security.cert.CertPath getTrustedHardwareCertPath(); 8286*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.security.keystore.recovery.WrappedApplicationKey> getWrappedApplicationKeys(); 8287*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8288*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.security.keystore.recovery.KeyChainSnapshot> CREATOR; 8289*344a7f5eSAndroid Build Coastguard Worker } 8290*344a7f5eSAndroid Build Coastguard Worker 8291*344a7f5eSAndroid Build Coastguard Worker public final class KeyDerivationParams implements android.os.Parcelable { 8292*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.security.keystore.recovery.KeyDerivationParams createScryptParams(@NonNull byte[], int); 8293*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.security.keystore.recovery.KeyDerivationParams createSha256Params(@NonNull byte[]); 8294*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8295*344a7f5eSAndroid Build Coastguard Worker method public int getAlgorithm(); 8296*344a7f5eSAndroid Build Coastguard Worker method public int getMemoryDifficulty(); 8297*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getSalt(); 8298*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8299*344a7f5eSAndroid Build Coastguard Worker field public static final int ALGORITHM_SCRYPT = 2; // 0x2 8300*344a7f5eSAndroid Build Coastguard Worker field public static final int ALGORITHM_SHA256 = 1; // 0x1 8301*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.security.keystore.recovery.KeyDerivationParams> CREATOR; 8302*344a7f5eSAndroid Build Coastguard Worker } 8303*344a7f5eSAndroid Build Coastguard Worker 8304*344a7f5eSAndroid Build Coastguard Worker public class LockScreenRequiredException extends java.security.GeneralSecurityException { 8305*344a7f5eSAndroid Build Coastguard Worker ctor public LockScreenRequiredException(String); 8306*344a7f5eSAndroid Build Coastguard Worker } 8307*344a7f5eSAndroid Build Coastguard Worker 8308*344a7f5eSAndroid Build Coastguard Worker public class RecoveryController { 8309*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public android.security.keystore.recovery.RecoverySession createRecoverySession(); 8310*344a7f5eSAndroid Build Coastguard Worker 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; 8311*344a7f5eSAndroid Build Coastguard Worker 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; 8312*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.List<java.lang.String> getAliases() throws android.security.keystore.recovery.InternalRecoveryServiceException; 8313*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public static android.security.keystore.recovery.RecoveryController getInstance(@NonNull android.content.Context); 8314*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key getKey(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException, java.security.UnrecoverableKeyException; 8315*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public android.security.keystore.recovery.KeyChainSnapshot getKeyChainSnapshot() throws android.security.keystore.recovery.InternalRecoveryServiceException; 8316*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public int[] getRecoverySecretTypes() throws android.security.keystore.recovery.InternalRecoveryServiceException; 8317*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public int getRecoveryStatus(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException; 8318*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.Map<java.lang.String,java.security.cert.X509Certificate> getRootCertificates(); 8319*344a7f5eSAndroid Build Coastguard Worker 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; 8320*344a7f5eSAndroid Build Coastguard Worker 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; 8321*344a7f5eSAndroid Build Coastguard Worker 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; 8322*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public static boolean isRecoverableKeyStoreEnabled(@NonNull android.content.Context); 8323*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void removeKey(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException; 8324*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setRecoverySecretTypes(@NonNull int[]) throws android.security.keystore.recovery.InternalRecoveryServiceException; 8325*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setRecoveryStatus(@NonNull String, int) throws android.security.keystore.recovery.InternalRecoveryServiceException; 8326*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setServerParams(@NonNull byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException; 8327*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setSnapshotCreatedPendingIntent(@Nullable android.app.PendingIntent) throws android.security.keystore.recovery.InternalRecoveryServiceException; 8328*344a7f5eSAndroid Build Coastguard Worker field public static final int RECOVERY_STATUS_PERMANENT_FAILURE = 3; // 0x3 8329*344a7f5eSAndroid Build Coastguard Worker field public static final int RECOVERY_STATUS_SYNCED = 0; // 0x0 8330*344a7f5eSAndroid Build Coastguard Worker field public static final int RECOVERY_STATUS_SYNC_IN_PROGRESS = 1; // 0x1 8331*344a7f5eSAndroid Build Coastguard Worker } 8332*344a7f5eSAndroid Build Coastguard Worker 8333*344a7f5eSAndroid Build Coastguard Worker public class RecoverySession implements java.lang.AutoCloseable { 8334*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void close(); 8335*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.Map<java.lang.String,java.security.Key> recoverKeyChainSnapshot(@NonNull byte[], @NonNull java.util.List<android.security.keystore.recovery.WrappedApplicationKey>) throws android.security.keystore.recovery.DecryptionFailedException, android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.SessionExpiredException; 8336*344a7f5eSAndroid Build Coastguard Worker 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<android.security.keystore.recovery.KeyChainProtectionParams>) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException; 8337*344a7f5eSAndroid Build Coastguard Worker } 8338*344a7f5eSAndroid Build Coastguard Worker 8339*344a7f5eSAndroid Build Coastguard Worker public class SessionExpiredException extends java.security.GeneralSecurityException { 8340*344a7f5eSAndroid Build Coastguard Worker ctor public SessionExpiredException(String); 8341*344a7f5eSAndroid Build Coastguard Worker } 8342*344a7f5eSAndroid Build Coastguard Worker 8343*344a7f5eSAndroid Build Coastguard Worker public final class WrappedApplicationKey implements android.os.Parcelable { 8344*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8345*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getAlias(); 8346*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getEncryptedKeyMaterial(); 8347*344a7f5eSAndroid Build Coastguard Worker method @Nullable public byte[] getMetadata(); 8348*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8349*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.security.keystore.recovery.WrappedApplicationKey> CREATOR; 8350*344a7f5eSAndroid Build Coastguard Worker } 8351*344a7f5eSAndroid Build Coastguard Worker 8352*344a7f5eSAndroid Build Coastguard Worker public static class WrappedApplicationKey.Builder { 8353*344a7f5eSAndroid Build Coastguard Worker ctor public WrappedApplicationKey.Builder(); 8354*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.security.keystore.recovery.WrappedApplicationKey build(); 8355*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.security.keystore.recovery.WrappedApplicationKey.Builder setAlias(@NonNull String); 8356*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.security.keystore.recovery.WrappedApplicationKey.Builder setEncryptedKeyMaterial(@NonNull byte[]); 8357*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.security.keystore.recovery.WrappedApplicationKey.Builder setMetadata(@Nullable byte[]); 8358*344a7f5eSAndroid Build Coastguard Worker } 8359*344a7f5eSAndroid Build Coastguard Worker 8360*344a7f5eSAndroid Build Coastguard Worker} 8361*344a7f5eSAndroid Build Coastguard Worker 8362*344a7f5eSAndroid Build Coastguard Workerpackage android.service.appprediction { 8363*344a7f5eSAndroid Build Coastguard Worker 8364*344a7f5eSAndroid Build Coastguard Worker public abstract class AppPredictionService extends android.app.Service { 8365*344a7f5eSAndroid Build Coastguard Worker ctor public AppPredictionService(); 8366*344a7f5eSAndroid Build Coastguard Worker method @MainThread public abstract void onAppTargetEvent(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull android.app.prediction.AppTargetEvent); 8367*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); 8368*344a7f5eSAndroid Build Coastguard Worker method public void onCreatePredictionSession(@NonNull android.app.prediction.AppPredictionContext, @NonNull android.app.prediction.AppPredictionSessionId); 8369*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onDestroyPredictionSession(@NonNull android.app.prediction.AppPredictionSessionId); 8370*344a7f5eSAndroid Build Coastguard Worker method @MainThread public abstract void onLaunchLocationShown(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull String, @NonNull java.util.List<android.app.prediction.AppTargetId>); 8371*344a7f5eSAndroid Build Coastguard Worker method @MainThread public abstract void onRequestPredictionUpdate(@NonNull android.app.prediction.AppPredictionSessionId); 8372*344a7f5eSAndroid Build Coastguard Worker method @MainThread public abstract void onSortAppTargets(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull java.util.List<android.app.prediction.AppTarget>, @NonNull android.os.CancellationSignal, @NonNull java.util.function.Consumer<java.util.List<android.app.prediction.AppTarget>>); 8373*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onStartPredictionUpdates(); 8374*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onStopPredictionUpdates(); 8375*344a7f5eSAndroid Build Coastguard Worker method public final void updatePredictions(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull java.util.List<android.app.prediction.AppTarget>); 8376*344a7f5eSAndroid Build Coastguard Worker } 8377*344a7f5eSAndroid Build Coastguard Worker 8378*344a7f5eSAndroid Build Coastguard Worker} 8379*344a7f5eSAndroid Build Coastguard Worker 8380*344a7f5eSAndroid Build Coastguard Workerpackage android.service.attention { 8381*344a7f5eSAndroid Build Coastguard Worker 8382*344a7f5eSAndroid Build Coastguard Worker public abstract class AttentionService extends android.app.Service { 8383*344a7f5eSAndroid Build Coastguard Worker ctor public AttentionService(); 8384*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); 8385*344a7f5eSAndroid Build Coastguard Worker method public abstract void onCancelAttentionCheck(@NonNull android.service.attention.AttentionService.AttentionCallback); 8386*344a7f5eSAndroid Build Coastguard Worker method public abstract void onCheckAttention(@NonNull android.service.attention.AttentionService.AttentionCallback); 8387*344a7f5eSAndroid Build Coastguard Worker field public static final int ATTENTION_FAILURE_CAMERA_PERMISSION_ABSENT = 6; // 0x6 8388*344a7f5eSAndroid Build Coastguard Worker field public static final int ATTENTION_FAILURE_CANCELLED = 3; // 0x3 8389*344a7f5eSAndroid Build Coastguard Worker field public static final int ATTENTION_FAILURE_PREEMPTED = 4; // 0x4 8390*344a7f5eSAndroid Build Coastguard Worker field public static final int ATTENTION_FAILURE_TIMED_OUT = 5; // 0x5 8391*344a7f5eSAndroid Build Coastguard Worker field public static final int ATTENTION_FAILURE_UNKNOWN = 2; // 0x2 8392*344a7f5eSAndroid Build Coastguard Worker field public static final int ATTENTION_SUCCESS_ABSENT = 0; // 0x0 8393*344a7f5eSAndroid Build Coastguard Worker field public static final int ATTENTION_SUCCESS_PRESENT = 1; // 0x1 8394*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.attention.AttentionService"; 8395*344a7f5eSAndroid Build Coastguard Worker } 8396*344a7f5eSAndroid Build Coastguard Worker 8397*344a7f5eSAndroid Build Coastguard Worker public static final class AttentionService.AttentionCallback { 8398*344a7f5eSAndroid Build Coastguard Worker method public void onFailure(int); 8399*344a7f5eSAndroid Build Coastguard Worker method public void onSuccess(int, long); 8400*344a7f5eSAndroid Build Coastguard Worker } 8401*344a7f5eSAndroid Build Coastguard Worker 8402*344a7f5eSAndroid Build Coastguard Worker} 8403*344a7f5eSAndroid Build Coastguard Worker 8404*344a7f5eSAndroid Build Coastguard Workerpackage android.service.autofill { 8405*344a7f5eSAndroid Build Coastguard Worker 8406*344a7f5eSAndroid Build Coastguard Worker public abstract class AutofillFieldClassificationService extends android.app.Service { 8407*344a7f5eSAndroid Build Coastguard Worker ctor public AutofillFieldClassificationService(); 8408*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder onBind(android.content.Intent); 8409*344a7f5eSAndroid Build Coastguard Worker method @Nullable public float[][] onCalculateScores(@NonNull java.util.List<android.view.autofill.AutofillValue>, @NonNull java.util.List<java.lang.String>, @NonNull java.util.List<java.lang.String>, @Nullable String, @Nullable android.os.Bundle, @Nullable java.util.Map, @Nullable java.util.Map); 8410*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @Nullable public float[][] onGetScores(@Nullable String, @Nullable android.os.Bundle, @NonNull java.util.List<android.view.autofill.AutofillValue>, @NonNull java.util.List<java.lang.String>); 8411*344a7f5eSAndroid Build Coastguard Worker field public static final String REQUIRED_ALGORITHM_CREDIT_CARD = "CREDIT_CARD"; 8412*344a7f5eSAndroid Build Coastguard Worker field public static final String REQUIRED_ALGORITHM_EDIT_DISTANCE = "EDIT_DISTANCE"; 8413*344a7f5eSAndroid Build Coastguard Worker field public static final String REQUIRED_ALGORITHM_EXACT_MATCH = "EXACT_MATCH"; 8414*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.autofill.AutofillFieldClassificationService"; 8415*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_META_DATA_KEY_AVAILABLE_ALGORITHMS = "android.autofill.field_classification.available_algorithms"; 8416*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_META_DATA_KEY_DEFAULT_ALGORITHM = "android.autofill.field_classification.default_algorithm"; 8417*344a7f5eSAndroid Build Coastguard Worker } 8418*344a7f5eSAndroid Build Coastguard Worker 8419*344a7f5eSAndroid Build Coastguard Worker public static final class Dataset.Builder { 8420*344a7f5eSAndroid Build Coastguard Worker ctor public Dataset.Builder(@NonNull android.service.autofill.InlinePresentation); 8421*344a7f5eSAndroid Build Coastguard Worker method @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); 8422*344a7f5eSAndroid Build Coastguard Worker } 8423*344a7f5eSAndroid Build Coastguard Worker 8424*344a7f5eSAndroid Build Coastguard Worker public abstract class InlineSuggestionRenderService extends android.app.Service { 8425*344a7f5eSAndroid Build Coastguard Worker ctor public InlineSuggestionRenderService(); 8426*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); 8427*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.Bundle onGetInlineSuggestionsRendererInfo(); 8428*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.View onRenderSuggestion(@NonNull android.service.autofill.InlinePresentation, int, int); 8429*344a7f5eSAndroid Build Coastguard Worker method public final void startIntentSender(@NonNull android.content.IntentSender); 8430*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.autofill.InlineSuggestionRenderService"; 8431*344a7f5eSAndroid Build Coastguard Worker } 8432*344a7f5eSAndroid Build Coastguard Worker 8433*344a7f5eSAndroid Build Coastguard Worker} 8434*344a7f5eSAndroid Build Coastguard Worker 8435*344a7f5eSAndroid Build Coastguard Workerpackage android.service.autofill.augmented { 8436*344a7f5eSAndroid Build Coastguard Worker 8437*344a7f5eSAndroid Build Coastguard Worker public abstract class AugmentedAutofillService extends android.app.Service { 8438*344a7f5eSAndroid Build Coastguard Worker ctor public AugmentedAutofillService(); 8439*344a7f5eSAndroid Build Coastguard Worker method protected final void dump(java.io.FileDescriptor, java.io.PrintWriter, String[]); 8440*344a7f5eSAndroid Build Coastguard Worker method protected void dump(@NonNull java.io.PrintWriter, @NonNull String[]); 8441*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.service.autofill.FillEventHistory getFillEventHistory(); 8442*344a7f5eSAndroid Build Coastguard Worker method public void onConnected(); 8443*344a7f5eSAndroid Build Coastguard Worker method public void onDisconnected(); 8444*344a7f5eSAndroid Build Coastguard Worker 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); 8445*344a7f5eSAndroid Build Coastguard Worker method public final boolean requestAutofill(@NonNull android.content.ComponentName, @NonNull android.view.autofill.AutofillId); 8446*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.autofill.augmented.AugmentedAutofillService"; 8447*344a7f5eSAndroid Build Coastguard Worker } 8448*344a7f5eSAndroid Build Coastguard Worker 8449*344a7f5eSAndroid Build Coastguard Worker public final class FillCallback { 8450*344a7f5eSAndroid Build Coastguard Worker method public void onSuccess(@Nullable android.service.autofill.augmented.FillResponse); 8451*344a7f5eSAndroid Build Coastguard Worker } 8452*344a7f5eSAndroid Build Coastguard Worker 8453*344a7f5eSAndroid Build Coastguard Worker public final class FillController { 8454*344a7f5eSAndroid Build Coastguard Worker method public void autofill(@NonNull java.util.List<android.util.Pair<android.view.autofill.AutofillId,android.view.autofill.AutofillValue>>); 8455*344a7f5eSAndroid Build Coastguard Worker } 8456*344a7f5eSAndroid Build Coastguard Worker 8457*344a7f5eSAndroid Build Coastguard Worker public final class FillRequest { 8458*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.ComponentName getActivityComponent(); 8459*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.view.autofill.AutofillId getFocusedId(); 8460*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.view.autofill.AutofillValue getFocusedValue(); 8461*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.inputmethod.InlineSuggestionsRequest getInlineSuggestionsRequest(); 8462*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.service.autofill.augmented.PresentationParams getPresentationParams(); 8463*344a7f5eSAndroid Build Coastguard Worker method public int getTaskId(); 8464*344a7f5eSAndroid Build Coastguard Worker } 8465*344a7f5eSAndroid Build Coastguard Worker 8466*344a7f5eSAndroid Build Coastguard Worker public final class FillResponse { 8467*344a7f5eSAndroid Build Coastguard Worker } 8468*344a7f5eSAndroid Build Coastguard Worker 8469*344a7f5eSAndroid Build Coastguard Worker public static final class FillResponse.Builder { 8470*344a7f5eSAndroid Build Coastguard Worker ctor public FillResponse.Builder(); 8471*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.service.autofill.augmented.FillResponse build(); 8472*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.service.autofill.augmented.FillResponse.Builder setClientState(@NonNull android.os.Bundle); 8473*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.service.autofill.augmented.FillResponse.Builder setFillWindow(@NonNull android.service.autofill.augmented.FillWindow); 8474*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.service.autofill.augmented.FillResponse.Builder setInlineSuggestions(@NonNull java.util.List<android.service.autofill.Dataset>); 8475*344a7f5eSAndroid Build Coastguard Worker } 8476*344a7f5eSAndroid Build Coastguard Worker 8477*344a7f5eSAndroid Build Coastguard Worker public final class FillWindow implements java.lang.AutoCloseable { 8478*344a7f5eSAndroid Build Coastguard Worker ctor public FillWindow(); 8479*344a7f5eSAndroid Build Coastguard Worker method public void destroy(); 8480*344a7f5eSAndroid Build Coastguard Worker method public boolean update(@NonNull android.service.autofill.augmented.PresentationParams.Area, @NonNull android.view.View, long); 8481*344a7f5eSAndroid Build Coastguard Worker } 8482*344a7f5eSAndroid Build Coastguard Worker 8483*344a7f5eSAndroid Build Coastguard Worker public abstract class PresentationParams { 8484*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.service.autofill.augmented.PresentationParams.Area getSuggestionArea(); 8485*344a7f5eSAndroid Build Coastguard Worker } 8486*344a7f5eSAndroid Build Coastguard Worker 8487*344a7f5eSAndroid Build Coastguard Worker public abstract static class PresentationParams.Area { 8488*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.graphics.Rect getBounds(); 8489*344a7f5eSAndroid Build Coastguard Worker } 8490*344a7f5eSAndroid Build Coastguard Worker 8491*344a7f5eSAndroid Build Coastguard Worker} 8492*344a7f5eSAndroid Build Coastguard Worker 8493*344a7f5eSAndroid Build Coastguard Workerpackage android.service.carrier { 8494*344a7f5eSAndroid Build Coastguard Worker 8495*344a7f5eSAndroid Build Coastguard Worker public abstract class ApnService extends android.app.Service { 8496*344a7f5eSAndroid Build Coastguard Worker ctor public ApnService(); 8497*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.IBinder onBind(@Nullable android.content.Intent); 8498*344a7f5eSAndroid Build Coastguard Worker method @NonNull @WorkerThread public abstract java.util.List<android.content.ContentValues> onRestoreApns(int); 8499*344a7f5eSAndroid Build Coastguard Worker } 8500*344a7f5eSAndroid Build Coastguard Worker 8501*344a7f5eSAndroid Build Coastguard Worker} 8502*344a7f5eSAndroid Build Coastguard Worker 8503*344a7f5eSAndroid Build Coastguard Workerpackage android.service.contentcapture { 8504*344a7f5eSAndroid Build Coastguard Worker 8505*344a7f5eSAndroid Build Coastguard Worker public final class ActivityEvent implements android.os.Parcelable { 8506*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8507*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.ComponentName getComponentName(); 8508*344a7f5eSAndroid Build Coastguard Worker method public int getEventType(); 8509*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 8510*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.contentcapture.ActivityEvent> CREATOR; 8511*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ACTIVITY_DESTROYED = 24; // 0x18 8512*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ACTIVITY_PAUSED = 2; // 0x2 8513*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ACTIVITY_RESUMED = 1; // 0x1 8514*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ACTIVITY_STOPPED = 23; // 0x17 8515*344a7f5eSAndroid Build Coastguard Worker } 8516*344a7f5eSAndroid Build Coastguard Worker 8517*344a7f5eSAndroid Build Coastguard Worker public abstract class ContentCaptureService extends android.app.Service { 8518*344a7f5eSAndroid Build Coastguard Worker ctor public ContentCaptureService(); 8519*344a7f5eSAndroid Build Coastguard Worker method public final void disableSelf(); 8520*344a7f5eSAndroid Build Coastguard Worker method public void onActivityEvent(@NonNull android.service.contentcapture.ActivityEvent); 8521*344a7f5eSAndroid Build Coastguard Worker method public void onActivitySnapshot(@NonNull android.view.contentcapture.ContentCaptureSessionId, @NonNull android.service.contentcapture.SnapshotData); 8522*344a7f5eSAndroid Build Coastguard Worker method public void onConnected(); 8523*344a7f5eSAndroid Build Coastguard Worker method public void onContentCaptureEvent(@NonNull android.view.contentcapture.ContentCaptureSessionId, @NonNull android.view.contentcapture.ContentCaptureEvent); 8524*344a7f5eSAndroid Build Coastguard Worker method public void onCreateContentCaptureSession(@NonNull android.view.contentcapture.ContentCaptureContext, @NonNull android.view.contentcapture.ContentCaptureSessionId); 8525*344a7f5eSAndroid Build Coastguard Worker method public void onDataRemovalRequest(@NonNull android.view.contentcapture.DataRemovalRequest); 8526*344a7f5eSAndroid Build Coastguard Worker method public void onDataShareRequest(@NonNull android.view.contentcapture.DataShareRequest, @NonNull android.service.contentcapture.DataShareCallback); 8527*344a7f5eSAndroid Build Coastguard Worker method public void onDestroyContentCaptureSession(@NonNull android.view.contentcapture.ContentCaptureSessionId); 8528*344a7f5eSAndroid Build Coastguard Worker method public void onDisconnected(); 8529*344a7f5eSAndroid Build Coastguard Worker method public final void setContentCaptureConditions(@NonNull String, @Nullable java.util.Set<android.view.contentcapture.ContentCaptureCondition>); 8530*344a7f5eSAndroid Build Coastguard Worker method public final void setContentCaptureWhitelist(@Nullable java.util.Set<java.lang.String>, @Nullable java.util.Set<android.content.ComponentName>); 8531*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.contentcapture.ContentCaptureService"; 8532*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_META_DATA = "android.content_capture"; 8533*344a7f5eSAndroid Build Coastguard Worker } 8534*344a7f5eSAndroid Build Coastguard Worker 8535*344a7f5eSAndroid Build Coastguard Worker public interface DataShareCallback { 8536*344a7f5eSAndroid Build Coastguard Worker method public void onAccept(@NonNull java.util.concurrent.Executor, @NonNull android.service.contentcapture.DataShareReadAdapter); 8537*344a7f5eSAndroid Build Coastguard Worker method public void onReject(); 8538*344a7f5eSAndroid Build Coastguard Worker } 8539*344a7f5eSAndroid Build Coastguard Worker 8540*344a7f5eSAndroid Build Coastguard Worker public interface DataShareReadAdapter { 8541*344a7f5eSAndroid Build Coastguard Worker method public void onError(int); 8542*344a7f5eSAndroid Build Coastguard Worker method public void onStart(@NonNull android.os.ParcelFileDescriptor); 8543*344a7f5eSAndroid Build Coastguard Worker } 8544*344a7f5eSAndroid Build Coastguard Worker 8545*344a7f5eSAndroid Build Coastguard Worker public final class SnapshotData implements android.os.Parcelable { 8546*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8547*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.assist.AssistContent getAssistContent(); 8548*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.Bundle getAssistData(); 8549*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.assist.AssistStructure getAssistStructure(); 8550*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 8551*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.contentcapture.SnapshotData> CREATOR; 8552*344a7f5eSAndroid Build Coastguard Worker } 8553*344a7f5eSAndroid Build Coastguard Worker 8554*344a7f5eSAndroid Build Coastguard Worker} 8555*344a7f5eSAndroid Build Coastguard Worker 8556*344a7f5eSAndroid Build Coastguard Workerpackage android.service.contentsuggestions { 8557*344a7f5eSAndroid Build Coastguard Worker 8558*344a7f5eSAndroid Build Coastguard Worker public abstract class ContentSuggestionsService extends android.app.Service { 8559*344a7f5eSAndroid Build Coastguard Worker ctor public ContentSuggestionsService(); 8560*344a7f5eSAndroid Build Coastguard Worker method public abstract void onClassifyContentSelections(@NonNull android.app.contentsuggestions.ClassificationsRequest, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.ClassificationsCallback); 8561*344a7f5eSAndroid Build Coastguard Worker method public abstract void onNotifyInteraction(@NonNull String, @NonNull android.os.Bundle); 8562*344a7f5eSAndroid Build Coastguard Worker method public abstract void onProcessContextImage(int, @Nullable android.graphics.Bitmap, @NonNull android.os.Bundle); 8563*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSuggestContentSelections(@NonNull android.app.contentsuggestions.SelectionsRequest, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.SelectionsCallback); 8564*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.contentsuggestions.ContentSuggestionsService"; 8565*344a7f5eSAndroid Build Coastguard Worker } 8566*344a7f5eSAndroid Build Coastguard Worker 8567*344a7f5eSAndroid Build Coastguard Worker} 8568*344a7f5eSAndroid Build Coastguard Worker 8569*344a7f5eSAndroid Build Coastguard Workerpackage android.service.dataloader { 8570*344a7f5eSAndroid Build Coastguard Worker 8571*344a7f5eSAndroid Build Coastguard Worker public abstract class DataLoaderService extends android.app.Service { 8572*344a7f5eSAndroid Build Coastguard Worker ctor public DataLoaderService(); 8573*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.service.dataloader.DataLoaderService.DataLoader onCreateDataLoader(@NonNull android.content.pm.DataLoaderParams); 8574*344a7f5eSAndroid Build Coastguard Worker } 8575*344a7f5eSAndroid Build Coastguard Worker 8576*344a7f5eSAndroid Build Coastguard Worker public static interface DataLoaderService.DataLoader { 8577*344a7f5eSAndroid Build Coastguard Worker method public boolean onCreate(@NonNull android.content.pm.DataLoaderParams, @NonNull android.service.dataloader.DataLoaderService.FileSystemConnector); 8578*344a7f5eSAndroid Build Coastguard Worker method public boolean onPrepareImage(@NonNull java.util.Collection<android.content.pm.InstallationFile>, @NonNull java.util.Collection<java.lang.String>); 8579*344a7f5eSAndroid Build Coastguard Worker } 8580*344a7f5eSAndroid Build Coastguard Worker 8581*344a7f5eSAndroid Build Coastguard Worker public static final class DataLoaderService.FileSystemConnector { 8582*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void writeData(@NonNull String, long, long, @NonNull android.os.ParcelFileDescriptor) throws java.io.IOException; 8583*344a7f5eSAndroid Build Coastguard Worker } 8584*344a7f5eSAndroid Build Coastguard Worker 8585*344a7f5eSAndroid Build Coastguard Worker} 8586*344a7f5eSAndroid Build Coastguard Worker 8587*344a7f5eSAndroid Build Coastguard Workerpackage android.service.euicc { 8588*344a7f5eSAndroid Build Coastguard Worker 8589*344a7f5eSAndroid Build Coastguard Worker public final class DownloadSubscriptionResult implements android.os.Parcelable { 8590*344a7f5eSAndroid Build Coastguard Worker ctor public DownloadSubscriptionResult(int, int, int); 8591*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8592*344a7f5eSAndroid Build Coastguard Worker method public int getCardId(); 8593*344a7f5eSAndroid Build Coastguard Worker method public int getResolvableErrors(); 8594*344a7f5eSAndroid Build Coastguard Worker method public int getResult(); 8595*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8596*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.DownloadSubscriptionResult> CREATOR; 8597*344a7f5eSAndroid Build Coastguard Worker } 8598*344a7f5eSAndroid Build Coastguard Worker 8599*344a7f5eSAndroid Build Coastguard Worker public final class EuiccProfileInfo implements android.os.Parcelable { 8600*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8601*344a7f5eSAndroid Build Coastguard Worker method public android.service.carrier.CarrierIdentifier getCarrierIdentifier(); 8602*344a7f5eSAndroid Build Coastguard Worker method public String getIccid(); 8603*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getNickname(); 8604*344a7f5eSAndroid Build Coastguard Worker method @android.service.euicc.EuiccProfileInfo.PolicyRule public int getPolicyRules(); 8605*344a7f5eSAndroid Build Coastguard Worker method @android.service.euicc.EuiccProfileInfo.ProfileClass public int getProfileClass(); 8606*344a7f5eSAndroid Build Coastguard Worker method public String getProfileName(); 8607*344a7f5eSAndroid Build Coastguard Worker method public String getServiceProviderName(); 8608*344a7f5eSAndroid Build Coastguard Worker method @android.service.euicc.EuiccProfileInfo.ProfileState public int getState(); 8609*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.util.List<android.telephony.UiccAccessRule> getUiccAccessRules(); 8610*344a7f5eSAndroid Build Coastguard Worker method public boolean hasPolicyRule(@android.service.euicc.EuiccProfileInfo.PolicyRule int); 8611*344a7f5eSAndroid Build Coastguard Worker method public boolean hasPolicyRules(); 8612*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8613*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.EuiccProfileInfo> CREATOR; 8614*344a7f5eSAndroid Build Coastguard Worker field public static final int POLICY_RULE_DELETE_AFTER_DISABLING = 4; // 0x4 8615*344a7f5eSAndroid Build Coastguard Worker field public static final int POLICY_RULE_DO_NOT_DELETE = 2; // 0x2 8616*344a7f5eSAndroid Build Coastguard Worker field public static final int POLICY_RULE_DO_NOT_DISABLE = 1; // 0x1 8617*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_CLASS_OPERATIONAL = 2; // 0x2 8618*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_CLASS_PROVISIONING = 1; // 0x1 8619*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_CLASS_TESTING = 0; // 0x0 8620*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_STATE_DISABLED = 0; // 0x0 8621*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_STATE_ENABLED = 1; // 0x1 8622*344a7f5eSAndroid Build Coastguard Worker } 8623*344a7f5eSAndroid Build Coastguard Worker 8624*344a7f5eSAndroid Build Coastguard Worker public static final class EuiccProfileInfo.Builder { 8625*344a7f5eSAndroid Build Coastguard Worker ctor public EuiccProfileInfo.Builder(String); 8626*344a7f5eSAndroid Build Coastguard Worker ctor public EuiccProfileInfo.Builder(android.service.euicc.EuiccProfileInfo); 8627*344a7f5eSAndroid Build Coastguard Worker method public android.service.euicc.EuiccProfileInfo build(); 8628*344a7f5eSAndroid Build Coastguard Worker method public android.service.euicc.EuiccProfileInfo.Builder setCarrierIdentifier(android.service.carrier.CarrierIdentifier); 8629*344a7f5eSAndroid Build Coastguard Worker method public android.service.euicc.EuiccProfileInfo.Builder setIccid(String); 8630*344a7f5eSAndroid Build Coastguard Worker method public android.service.euicc.EuiccProfileInfo.Builder setNickname(String); 8631*344a7f5eSAndroid Build Coastguard Worker method public android.service.euicc.EuiccProfileInfo.Builder setPolicyRules(@android.service.euicc.EuiccProfileInfo.PolicyRule int); 8632*344a7f5eSAndroid Build Coastguard Worker method public android.service.euicc.EuiccProfileInfo.Builder setProfileClass(@android.service.euicc.EuiccProfileInfo.ProfileClass int); 8633*344a7f5eSAndroid Build Coastguard Worker method public android.service.euicc.EuiccProfileInfo.Builder setProfileName(String); 8634*344a7f5eSAndroid Build Coastguard Worker method public android.service.euicc.EuiccProfileInfo.Builder setServiceProviderName(String); 8635*344a7f5eSAndroid Build Coastguard Worker method public android.service.euicc.EuiccProfileInfo.Builder setState(@android.service.euicc.EuiccProfileInfo.ProfileState int); 8636*344a7f5eSAndroid Build Coastguard Worker method public android.service.euicc.EuiccProfileInfo.Builder setUiccAccessRule(@Nullable java.util.List<android.telephony.UiccAccessRule>); 8637*344a7f5eSAndroid Build Coastguard Worker } 8638*344a7f5eSAndroid Build Coastguard Worker 8639*344a7f5eSAndroid Build Coastguard Worker @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 { 8640*344a7f5eSAndroid Build Coastguard Worker } 8641*344a7f5eSAndroid Build Coastguard Worker 8642*344a7f5eSAndroid Build Coastguard Worker @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 { 8643*344a7f5eSAndroid Build Coastguard Worker } 8644*344a7f5eSAndroid Build Coastguard Worker 8645*344a7f5eSAndroid Build Coastguard Worker @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 { 8646*344a7f5eSAndroid Build Coastguard Worker } 8647*344a7f5eSAndroid Build Coastguard Worker 8648*344a7f5eSAndroid Build Coastguard Worker public abstract class EuiccService extends android.app.Service { 8649*344a7f5eSAndroid Build Coastguard Worker ctor public EuiccService(); 8650*344a7f5eSAndroid Build Coastguard Worker method public void dump(@NonNull java.io.PrintWriter); 8651*344a7f5eSAndroid Build Coastguard Worker method public int encodeSmdxSubjectAndReasonCode(@Nullable String, @Nullable String) throws java.lang.IllegalArgumentException, java.lang.NumberFormatException, java.lang.UnsupportedOperationException; 8652*344a7f5eSAndroid Build Coastguard Worker method @CallSuper public android.os.IBinder onBind(android.content.Intent); 8653*344a7f5eSAndroid Build Coastguard Worker method public abstract int onDeleteSubscription(int, String); 8654*344a7f5eSAndroid Build Coastguard Worker method public android.service.euicc.DownloadSubscriptionResult onDownloadSubscription(int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean, boolean, @Nullable android.os.Bundle); 8655*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int onDownloadSubscription(int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean, boolean); 8656*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract int onEraseSubscriptions(int); 8657*344a7f5eSAndroid Build Coastguard Worker method public int onEraseSubscriptions(int, @android.telephony.euicc.EuiccCardManager.ResetOption int); 8658*344a7f5eSAndroid Build Coastguard Worker method public abstract android.service.euicc.GetDefaultDownloadableSubscriptionListResult onGetDefaultDownloadableSubscriptionList(int, boolean); 8659*344a7f5eSAndroid Build Coastguard Worker method public abstract android.service.euicc.GetDownloadableSubscriptionMetadataResult onGetDownloadableSubscriptionMetadata(int, android.telephony.euicc.DownloadableSubscription, boolean); 8660*344a7f5eSAndroid Build Coastguard Worker method public abstract String onGetEid(int); 8661*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract android.telephony.euicc.EuiccInfo onGetEuiccInfo(int); 8662*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract android.service.euicc.GetEuiccProfileInfoListResult onGetEuiccProfileInfoList(int); 8663*344a7f5eSAndroid Build Coastguard Worker method @android.telephony.euicc.EuiccManager.OtaStatus public abstract int onGetOtaStatus(int); 8664*344a7f5eSAndroid Build Coastguard Worker method public abstract int onRetainSubscriptionsForFactoryReset(int); 8665*344a7f5eSAndroid Build Coastguard Worker method public abstract void onStartOtaIfNecessary(int, android.service.euicc.EuiccService.OtaStatusChangedCallback); 8666*344a7f5eSAndroid Build Coastguard Worker method public abstract int onSwitchToSubscription(int, @Nullable String, boolean); 8667*344a7f5eSAndroid Build Coastguard Worker method public abstract int onUpdateSubscriptionNickname(int, String, String); 8668*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_BIND_CARRIER_PROVISIONING_SERVICE = "android.service.euicc.action.BIND_CARRIER_PROVISIONING_SERVICE"; 8669*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_DELETE_SUBSCRIPTION_PRIVILEGED = "android.service.euicc.action.DELETE_SUBSCRIPTION_PRIVILEGED"; 8670*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_MANAGE_EMBEDDED_SUBSCRIPTIONS = "android.service.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS"; 8671*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_PROVISION_EMBEDDED_SUBSCRIPTION = "android.service.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION"; 8672*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_RENAME_SUBSCRIPTION_PRIVILEGED = "android.service.euicc.action.RENAME_SUBSCRIPTION_PRIVILEGED"; 8673*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String ACTION_RESOLVE_CONFIRMATION_CODE = "android.service.euicc.action.RESOLVE_CONFIRMATION_CODE"; 8674*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_RESOLVE_DEACTIVATE_SIM = "android.service.euicc.action.RESOLVE_DEACTIVATE_SIM"; 8675*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_RESOLVE_NO_PRIVILEGES = "android.service.euicc.action.RESOLVE_NO_PRIVILEGES"; 8676*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_RESOLVE_RESOLVABLE_ERRORS = "android.service.euicc.action.RESOLVE_RESOLVABLE_ERRORS"; 8677*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_START_CARRIER_ACTIVATION = "android.service.euicc.action.START_CARRIER_ACTIVATION"; 8678*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_START_EUICC_ACTIVATION = "android.service.euicc.action.START_EUICC_ACTIVATION"; 8679*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED = "android.service.euicc.action.TOGGLE_SUBSCRIPTION_PRIVILEGED"; 8680*344a7f5eSAndroid Build Coastguard Worker field public static final String CATEGORY_EUICC_UI = "android.service.euicc.category.EUICC_UI"; 8681*344a7f5eSAndroid Build Coastguard Worker field public static final String EUICC_SERVICE_INTERFACE = "android.service.euicc.EuiccService"; 8682*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_RESOLUTION_ALLOW_POLICY_RULES = "android.service.euicc.extra.RESOLUTION_ALLOW_POLICY_RULES"; 8683*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_RESOLUTION_CALLING_PACKAGE = "android.service.euicc.extra.RESOLUTION_CALLING_PACKAGE"; 8684*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_RESOLUTION_CARD_ID = "android.service.euicc.extra.RESOLUTION_CARD_ID"; 8685*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_RESOLUTION_CONFIRMATION_CODE = "android.service.euicc.extra.RESOLUTION_CONFIRMATION_CODE"; 8686*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_RESOLUTION_CONFIRMATION_CODE_RETRIED = "android.service.euicc.extra.RESOLUTION_CONFIRMATION_CODE_RETRIED"; 8687*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_RESOLUTION_CONSENT = "android.service.euicc.extra.RESOLUTION_CONSENT"; 8688*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_RESOLVABLE_ERRORS = "android.service.euicc.extra.RESOLVABLE_ERRORS"; 8689*344a7f5eSAndroid Build Coastguard Worker field public static final int RESOLVABLE_ERROR_CONFIRMATION_CODE = 1; // 0x1 8690*344a7f5eSAndroid Build Coastguard Worker field public static final int RESOLVABLE_ERROR_POLICY_RULES = 2; // 0x2 8691*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_FIRST_USER = 1; // 0x1 8692*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_MUST_DEACTIVATE_SIM = -1; // 0xffffffff 8693*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int RESULT_NEED_CONFIRMATION_CODE = -2; // 0xfffffffe 8694*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_OK = 0; // 0x0 8695*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_RESOLVABLE_ERRORS = -2; // 0xfffffffe 8696*344a7f5eSAndroid Build Coastguard Worker } 8697*344a7f5eSAndroid Build Coastguard Worker 8698*344a7f5eSAndroid Build Coastguard Worker public abstract static class EuiccService.OtaStatusChangedCallback { 8699*344a7f5eSAndroid Build Coastguard Worker ctor public EuiccService.OtaStatusChangedCallback(); 8700*344a7f5eSAndroid Build Coastguard Worker method public abstract void onOtaStatusChanged(int); 8701*344a7f5eSAndroid Build Coastguard Worker } 8702*344a7f5eSAndroid Build Coastguard Worker 8703*344a7f5eSAndroid Build Coastguard Worker public final class GetDefaultDownloadableSubscriptionListResult implements android.os.Parcelable { 8704*344a7f5eSAndroid Build Coastguard Worker ctor public GetDefaultDownloadableSubscriptionListResult(int, @Nullable android.telephony.euicc.DownloadableSubscription[]); 8705*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8706*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.util.List<android.telephony.euicc.DownloadableSubscription> getDownloadableSubscriptions(); 8707*344a7f5eSAndroid Build Coastguard Worker method public int getResult(); 8708*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8709*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.GetDefaultDownloadableSubscriptionListResult> CREATOR; 8710*344a7f5eSAndroid Build Coastguard Worker } 8711*344a7f5eSAndroid Build Coastguard Worker 8712*344a7f5eSAndroid Build Coastguard Worker public final class GetDownloadableSubscriptionMetadataResult implements android.os.Parcelable { 8713*344a7f5eSAndroid Build Coastguard Worker ctor public GetDownloadableSubscriptionMetadataResult(int, @Nullable android.telephony.euicc.DownloadableSubscription); 8714*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8715*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.telephony.euicc.DownloadableSubscription getDownloadableSubscription(); 8716*344a7f5eSAndroid Build Coastguard Worker method public int getResult(); 8717*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8718*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.GetDownloadableSubscriptionMetadataResult> CREATOR; 8719*344a7f5eSAndroid Build Coastguard Worker } 8720*344a7f5eSAndroid Build Coastguard Worker 8721*344a7f5eSAndroid Build Coastguard Worker public final class GetEuiccProfileInfoListResult implements android.os.Parcelable { 8722*344a7f5eSAndroid Build Coastguard Worker ctor public GetEuiccProfileInfoListResult(int, @Nullable android.service.euicc.EuiccProfileInfo[], boolean); 8723*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8724*344a7f5eSAndroid Build Coastguard Worker method public boolean getIsRemovable(); 8725*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.util.List<android.service.euicc.EuiccProfileInfo> getProfiles(); 8726*344a7f5eSAndroid Build Coastguard Worker method public int getResult(); 8727*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8728*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.GetEuiccProfileInfoListResult> CREATOR; 8729*344a7f5eSAndroid Build Coastguard Worker } 8730*344a7f5eSAndroid Build Coastguard Worker 8731*344a7f5eSAndroid Build Coastguard Worker} 8732*344a7f5eSAndroid Build Coastguard Worker 8733*344a7f5eSAndroid Build Coastguard Workerpackage android.service.notification { 8734*344a7f5eSAndroid Build Coastguard Worker 8735*344a7f5eSAndroid Build Coastguard Worker public final class Adjustment implements android.os.Parcelable { 8736*344a7f5eSAndroid Build Coastguard Worker ctor public Adjustment(String, String, android.os.Bundle, CharSequence, int); 8737*344a7f5eSAndroid Build Coastguard Worker ctor public Adjustment(@NonNull String, @NonNull String, @NonNull android.os.Bundle, @NonNull CharSequence, @NonNull android.os.UserHandle); 8738*344a7f5eSAndroid Build Coastguard Worker ctor protected Adjustment(android.os.Parcel); 8739*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8740*344a7f5eSAndroid Build Coastguard Worker method @NonNull public CharSequence getExplanation(); 8741*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getKey(); 8742*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackage(); 8743*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.Bundle getSignals(); 8744*344a7f5eSAndroid Build Coastguard Worker method public int getUser(); 8745*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.UserHandle getUserHandle(); 8746*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8747*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.Adjustment> CREATOR; 8748*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_CONTEXTUAL_ACTIONS = "key_contextual_actions"; 8749*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_IMPORTANCE = "key_importance"; 8750*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_NOT_CONVERSATION = "key_not_conversation"; 8751*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_PEOPLE = "key_people"; 8752*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_RANKING_SCORE = "key_ranking_score"; 8753*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_SNOOZE_CRITERIA = "key_snooze_criteria"; 8754*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_TEXT_REPLIES = "key_text_replies"; 8755*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_USER_SENTIMENT = "key_user_sentiment"; 8756*344a7f5eSAndroid Build Coastguard Worker } 8757*344a7f5eSAndroid Build Coastguard Worker 8758*344a7f5eSAndroid Build Coastguard Worker public abstract class NotificationAssistantService extends android.service.notification.NotificationListenerService { 8759*344a7f5eSAndroid Build Coastguard Worker ctor public NotificationAssistantService(); 8760*344a7f5eSAndroid Build Coastguard Worker method public final void adjustNotification(@NonNull android.service.notification.Adjustment); 8761*344a7f5eSAndroid Build Coastguard Worker method public final void adjustNotifications(@NonNull java.util.List<android.service.notification.Adjustment>); 8762*344a7f5eSAndroid Build Coastguard Worker method public void onActionInvoked(@NonNull String, @NonNull android.app.Notification.Action, int); 8763*344a7f5eSAndroid Build Coastguard Worker method public void onAllowedAdjustmentsChanged(); 8764*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.os.IBinder onBind(@Nullable android.content.Intent); 8765*344a7f5eSAndroid Build Coastguard Worker method public void onNotificationDirectReplied(@NonNull String); 8766*344a7f5eSAndroid Build Coastguard Worker method @Nullable public abstract android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification); 8767*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification, @NonNull android.app.NotificationChannel); 8768*344a7f5eSAndroid Build Coastguard Worker method public void onNotificationExpansionChanged(@NonNull String, boolean, boolean); 8769*344a7f5eSAndroid Build Coastguard Worker method public abstract void onNotificationSnoozedUntilContext(@NonNull android.service.notification.StatusBarNotification, @NonNull String); 8770*344a7f5eSAndroid Build Coastguard Worker method public void onNotificationVisibilityChanged(@NonNull String, boolean); 8771*344a7f5eSAndroid Build Coastguard Worker method public void onNotificationsSeen(@NonNull java.util.List<java.lang.String>); 8772*344a7f5eSAndroid Build Coastguard Worker method public void onPanelHidden(); 8773*344a7f5eSAndroid Build Coastguard Worker method public void onPanelRevealed(int); 8774*344a7f5eSAndroid Build Coastguard Worker method public void onSuggestedReplySent(@NonNull String, @NonNull CharSequence, int); 8775*344a7f5eSAndroid Build Coastguard Worker method public final void unsnoozeNotification(@NonNull String); 8776*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.notification.NotificationAssistantService"; 8777*344a7f5eSAndroid Build Coastguard Worker field public static final int SOURCE_FROM_APP = 0; // 0x0 8778*344a7f5eSAndroid Build Coastguard Worker field public static final int SOURCE_FROM_ASSISTANT = 1; // 0x1 8779*344a7f5eSAndroid Build Coastguard Worker } 8780*344a7f5eSAndroid Build Coastguard Worker 8781*344a7f5eSAndroid Build Coastguard Worker public abstract class NotificationListenerService extends android.app.Service { 8782*344a7f5eSAndroid Build Coastguard Worker method public void onNotificationRemoved(@NonNull android.service.notification.StatusBarNotification, @NonNull android.service.notification.NotificationListenerService.RankingMap, @NonNull android.service.notification.NotificationStats, int); 8783*344a7f5eSAndroid Build Coastguard Worker } 8784*344a7f5eSAndroid Build Coastguard Worker 8785*344a7f5eSAndroid Build Coastguard Worker public final class NotificationStats implements android.os.Parcelable { 8786*344a7f5eSAndroid Build Coastguard Worker ctor public NotificationStats(); 8787*344a7f5eSAndroid Build Coastguard Worker ctor protected NotificationStats(android.os.Parcel); 8788*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8789*344a7f5eSAndroid Build Coastguard Worker method public int getDismissalSentiment(); 8790*344a7f5eSAndroid Build Coastguard Worker method public int getDismissalSurface(); 8791*344a7f5eSAndroid Build Coastguard Worker method public boolean hasDirectReplied(); 8792*344a7f5eSAndroid Build Coastguard Worker method public boolean hasExpanded(); 8793*344a7f5eSAndroid Build Coastguard Worker method public boolean hasInteracted(); 8794*344a7f5eSAndroid Build Coastguard Worker method public boolean hasSeen(); 8795*344a7f5eSAndroid Build Coastguard Worker method public boolean hasSnoozed(); 8796*344a7f5eSAndroid Build Coastguard Worker method public boolean hasViewedSettings(); 8797*344a7f5eSAndroid Build Coastguard Worker method public void setDirectReplied(); 8798*344a7f5eSAndroid Build Coastguard Worker method public void setDismissalSentiment(int); 8799*344a7f5eSAndroid Build Coastguard Worker method public void setDismissalSurface(int); 8800*344a7f5eSAndroid Build Coastguard Worker method public void setExpanded(); 8801*344a7f5eSAndroid Build Coastguard Worker method public void setSeen(); 8802*344a7f5eSAndroid Build Coastguard Worker method public void setSnoozed(); 8803*344a7f5eSAndroid Build Coastguard Worker method public void setViewedSettings(); 8804*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8805*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.NotificationStats> CREATOR; 8806*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISSAL_AOD = 2; // 0x2 8807*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISSAL_NOT_DISMISSED = -1; // 0xffffffff 8808*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISSAL_OTHER = 0; // 0x0 8809*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISSAL_PEEK = 1; // 0x1 8810*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISSAL_SHADE = 3; // 0x3 8811*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISS_SENTIMENT_NEGATIVE = 0; // 0x0 8812*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISS_SENTIMENT_NEUTRAL = 1; // 0x1 8813*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISS_SENTIMENT_POSITIVE = 2; // 0x2 8814*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISS_SENTIMENT_UNKNOWN = -1000; // 0xfffffc18 8815*344a7f5eSAndroid Build Coastguard Worker } 8816*344a7f5eSAndroid Build Coastguard Worker 8817*344a7f5eSAndroid Build Coastguard Worker public final class SnoozeCriterion implements android.os.Parcelable { 8818*344a7f5eSAndroid Build Coastguard Worker ctor public SnoozeCriterion(String, CharSequence, CharSequence); 8819*344a7f5eSAndroid Build Coastguard Worker ctor protected SnoozeCriterion(android.os.Parcel); 8820*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8821*344a7f5eSAndroid Build Coastguard Worker method public CharSequence getConfirmation(); 8822*344a7f5eSAndroid Build Coastguard Worker method public CharSequence getExplanation(); 8823*344a7f5eSAndroid Build Coastguard Worker method public String getId(); 8824*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8825*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.SnoozeCriterion> CREATOR; 8826*344a7f5eSAndroid Build Coastguard Worker } 8827*344a7f5eSAndroid Build Coastguard Worker 8828*344a7f5eSAndroid Build Coastguard Worker} 8829*344a7f5eSAndroid Build Coastguard Worker 8830*344a7f5eSAndroid Build Coastguard Workerpackage android.service.oemlock { 8831*344a7f5eSAndroid Build Coastguard Worker 8832*344a7f5eSAndroid Build Coastguard Worker public class OemLockManager { 8833*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE) public String getLockName(); 8834*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE) public boolean isOemUnlockAllowedByCarrier(); 8835*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USER_OEM_UNLOCK_STATE) public boolean isOemUnlockAllowedByUser(); 8836*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE) public void setOemUnlockAllowedByCarrier(boolean, @Nullable byte[]); 8837*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USER_OEM_UNLOCK_STATE) public void setOemUnlockAllowedByUser(boolean); 8838*344a7f5eSAndroid Build Coastguard Worker } 8839*344a7f5eSAndroid Build Coastguard Worker 8840*344a7f5eSAndroid Build Coastguard Worker} 8841*344a7f5eSAndroid Build Coastguard Worker 8842*344a7f5eSAndroid Build Coastguard Workerpackage android.service.persistentdata { 8843*344a7f5eSAndroid Build Coastguard Worker 8844*344a7f5eSAndroid Build Coastguard Worker public class PersistentDataBlockManager { 8845*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.ACCESS_PDB_STATE") public int getDataBlockSize(); 8846*344a7f5eSAndroid Build Coastguard Worker method @android.service.persistentdata.PersistentDataBlockManager.FlashLockState @RequiresPermission(anyOf={android.Manifest.permission.READ_OEM_UNLOCK_STATE, "android.permission.OEM_UNLOCK_STATE"}) public int getFlashLockState(); 8847*344a7f5eSAndroid Build Coastguard Worker method public long getMaximumDataBlockSize(); 8848*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_OEM_UNLOCK_STATE, "android.permission.OEM_UNLOCK_STATE"}) public boolean getOemUnlockEnabled(); 8849*344a7f5eSAndroid Build Coastguard Worker method public byte[] read(); 8850*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission("android.permission.OEM_UNLOCK_STATE") public void setOemUnlockEnabled(boolean); 8851*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.OEM_UNLOCK_STATE") public void wipe(); 8852*344a7f5eSAndroid Build Coastguard Worker method public int write(byte[]); 8853*344a7f5eSAndroid Build Coastguard Worker field public static final int FLASH_LOCK_LOCKED = 1; // 0x1 8854*344a7f5eSAndroid Build Coastguard Worker field public static final int FLASH_LOCK_UNKNOWN = -1; // 0xffffffff 8855*344a7f5eSAndroid Build Coastguard Worker field public static final int FLASH_LOCK_UNLOCKED = 0; // 0x0 8856*344a7f5eSAndroid Build Coastguard Worker } 8857*344a7f5eSAndroid Build Coastguard Worker 8858*344a7f5eSAndroid Build Coastguard Worker @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 { 8859*344a7f5eSAndroid Build Coastguard Worker } 8860*344a7f5eSAndroid Build Coastguard Worker 8861*344a7f5eSAndroid Build Coastguard Worker} 8862*344a7f5eSAndroid Build Coastguard Worker 8863*344a7f5eSAndroid Build Coastguard Workerpackage android.service.quicksettings { 8864*344a7f5eSAndroid Build Coastguard Worker 8865*344a7f5eSAndroid Build Coastguard Worker public class TileService extends android.app.Service { 8866*344a7f5eSAndroid Build Coastguard Worker method public final void setStatusIcon(android.graphics.drawable.Icon, String); 8867*344a7f5eSAndroid Build Coastguard Worker } 8868*344a7f5eSAndroid Build Coastguard Worker 8869*344a7f5eSAndroid Build Coastguard Worker} 8870*344a7f5eSAndroid Build Coastguard Worker 8871*344a7f5eSAndroid Build Coastguard Workerpackage android.service.resolver { 8872*344a7f5eSAndroid Build Coastguard Worker 8873*344a7f5eSAndroid Build Coastguard Worker public abstract class ResolverRankerService extends android.app.Service { 8874*344a7f5eSAndroid Build Coastguard Worker ctor public ResolverRankerService(); 8875*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder onBind(android.content.Intent); 8876*344a7f5eSAndroid Build Coastguard Worker method public void onPredictSharingProbabilities(java.util.List<android.service.resolver.ResolverTarget>); 8877*344a7f5eSAndroid Build Coastguard Worker method public void onTrainRankingModel(java.util.List<android.service.resolver.ResolverTarget>, int); 8878*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_PERMISSION = "android.permission.BIND_RESOLVER_RANKER_SERVICE"; 8879*344a7f5eSAndroid Build Coastguard Worker field public static final String HOLD_PERMISSION = "android.permission.PROVIDE_RESOLVER_RANKER_SERVICE"; 8880*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.resolver.ResolverRankerService"; 8881*344a7f5eSAndroid Build Coastguard Worker } 8882*344a7f5eSAndroid Build Coastguard Worker 8883*344a7f5eSAndroid Build Coastguard Worker public final class ResolverTarget implements android.os.Parcelable { 8884*344a7f5eSAndroid Build Coastguard Worker ctor public ResolverTarget(); 8885*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8886*344a7f5eSAndroid Build Coastguard Worker method public float getChooserScore(); 8887*344a7f5eSAndroid Build Coastguard Worker method public float getLaunchScore(); 8888*344a7f5eSAndroid Build Coastguard Worker method public float getRecencyScore(); 8889*344a7f5eSAndroid Build Coastguard Worker method public float getSelectProbability(); 8890*344a7f5eSAndroid Build Coastguard Worker method public float getTimeSpentScore(); 8891*344a7f5eSAndroid Build Coastguard Worker method public void setChooserScore(float); 8892*344a7f5eSAndroid Build Coastguard Worker method public void setLaunchScore(float); 8893*344a7f5eSAndroid Build Coastguard Worker method public void setRecencyScore(float); 8894*344a7f5eSAndroid Build Coastguard Worker method public void setSelectProbability(float); 8895*344a7f5eSAndroid Build Coastguard Worker method public void setTimeSpentScore(float); 8896*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8897*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.resolver.ResolverTarget> CREATOR; 8898*344a7f5eSAndroid Build Coastguard Worker } 8899*344a7f5eSAndroid Build Coastguard Worker 8900*344a7f5eSAndroid Build Coastguard Worker} 8901*344a7f5eSAndroid Build Coastguard Worker 8902*344a7f5eSAndroid Build Coastguard Workerpackage android.service.settings.suggestions { 8903*344a7f5eSAndroid Build Coastguard Worker 8904*344a7f5eSAndroid Build Coastguard Worker public final class Suggestion implements android.os.Parcelable { 8905*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 8906*344a7f5eSAndroid Build Coastguard Worker method public int getFlags(); 8907*344a7f5eSAndroid Build Coastguard Worker method public android.graphics.drawable.Icon getIcon(); 8908*344a7f5eSAndroid Build Coastguard Worker method public String getId(); 8909*344a7f5eSAndroid Build Coastguard Worker method public android.app.PendingIntent getPendingIntent(); 8910*344a7f5eSAndroid Build Coastguard Worker method public CharSequence getSummary(); 8911*344a7f5eSAndroid Build Coastguard Worker method public CharSequence getTitle(); 8912*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 8913*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.settings.suggestions.Suggestion> CREATOR; 8914*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_HAS_BUTTON = 1; // 0x1 8915*344a7f5eSAndroid Build Coastguard Worker } 8916*344a7f5eSAndroid Build Coastguard Worker 8917*344a7f5eSAndroid Build Coastguard Worker public static class Suggestion.Builder { 8918*344a7f5eSAndroid Build Coastguard Worker ctor public Suggestion.Builder(String); 8919*344a7f5eSAndroid Build Coastguard Worker method public android.service.settings.suggestions.Suggestion build(); 8920*344a7f5eSAndroid Build Coastguard Worker method public android.service.settings.suggestions.Suggestion.Builder setFlags(int); 8921*344a7f5eSAndroid Build Coastguard Worker method public android.service.settings.suggestions.Suggestion.Builder setIcon(android.graphics.drawable.Icon); 8922*344a7f5eSAndroid Build Coastguard Worker method public android.service.settings.suggestions.Suggestion.Builder setPendingIntent(android.app.PendingIntent); 8923*344a7f5eSAndroid Build Coastguard Worker method public android.service.settings.suggestions.Suggestion.Builder setSummary(CharSequence); 8924*344a7f5eSAndroid Build Coastguard Worker method public android.service.settings.suggestions.Suggestion.Builder setTitle(CharSequence); 8925*344a7f5eSAndroid Build Coastguard Worker } 8926*344a7f5eSAndroid Build Coastguard Worker 8927*344a7f5eSAndroid Build Coastguard Worker public abstract class SuggestionService extends android.app.Service { 8928*344a7f5eSAndroid Build Coastguard Worker ctor public SuggestionService(); 8929*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder onBind(android.content.Intent); 8930*344a7f5eSAndroid Build Coastguard Worker method public abstract java.util.List<android.service.settings.suggestions.Suggestion> onGetSuggestions(); 8931*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSuggestionDismissed(android.service.settings.suggestions.Suggestion); 8932*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSuggestionLaunched(android.service.settings.suggestions.Suggestion); 8933*344a7f5eSAndroid Build Coastguard Worker } 8934*344a7f5eSAndroid Build Coastguard Worker 8935*344a7f5eSAndroid Build Coastguard Worker} 8936*344a7f5eSAndroid Build Coastguard Worker 8937*344a7f5eSAndroid Build Coastguard Workerpackage android.service.storage { 8938*344a7f5eSAndroid Build Coastguard Worker 8939*344a7f5eSAndroid Build Coastguard Worker public abstract class ExternalStorageService extends android.app.Service { 8940*344a7f5eSAndroid Build Coastguard Worker ctor public ExternalStorageService(); 8941*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); 8942*344a7f5eSAndroid Build Coastguard Worker method public abstract void onEndSession(@NonNull String) throws java.io.IOException; 8943*344a7f5eSAndroid Build Coastguard Worker method public abstract void onStartSession(@NonNull String, int, @NonNull android.os.ParcelFileDescriptor, @NonNull java.io.File, @NonNull java.io.File) throws java.io.IOException; 8944*344a7f5eSAndroid Build Coastguard Worker method public abstract void onVolumeStateChanged(@NonNull android.os.storage.StorageVolume) throws java.io.IOException; 8945*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_SESSION_ATTRIBUTE_INDEXABLE = 2; // 0x2 8946*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_SESSION_TYPE_FUSE = 1; // 0x1 8947*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.storage.ExternalStorageService"; 8948*344a7f5eSAndroid Build Coastguard Worker } 8949*344a7f5eSAndroid Build Coastguard Worker 8950*344a7f5eSAndroid Build Coastguard Worker} 8951*344a7f5eSAndroid Build Coastguard Worker 8952*344a7f5eSAndroid Build Coastguard Workerpackage android.service.textclassifier { 8953*344a7f5eSAndroid Build Coastguard Worker 8954*344a7f5eSAndroid Build Coastguard Worker public abstract class TextClassifierService extends android.app.Service { 8955*344a7f5eSAndroid Build Coastguard Worker ctor public TextClassifierService(); 8956*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.view.textclassifier.TextClassifier getDefaultTextClassifierImplementation(@NonNull android.content.Context); 8957*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final android.view.textclassifier.TextClassifier getLocalTextClassifier(); 8958*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); 8959*344a7f5eSAndroid Build Coastguard Worker 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<android.view.textclassifier.TextClassification>); 8960*344a7f5eSAndroid Build Coastguard Worker method public void onConnected(); 8961*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onCreateTextClassificationSession(@NonNull android.view.textclassifier.TextClassificationContext, @NonNull android.view.textclassifier.TextClassificationSessionId); 8962*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onDestroyTextClassificationSession(@NonNull android.view.textclassifier.TextClassificationSessionId); 8963*344a7f5eSAndroid Build Coastguard Worker 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<android.view.textclassifier.TextLanguage>); 8964*344a7f5eSAndroid Build Coastguard Worker method public void onDisconnected(); 8965*344a7f5eSAndroid Build Coastguard Worker 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<android.view.textclassifier.TextLinks>); 8966*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @MainThread public void onSelectionEvent(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.SelectionEvent); 8967*344a7f5eSAndroid Build Coastguard Worker 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<android.view.textclassifier.ConversationActions>); 8968*344a7f5eSAndroid Build Coastguard Worker 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<android.view.textclassifier.TextSelection>); 8969*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onTextClassifierEvent(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextClassifierEvent); 8970*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.textclassifier.TextClassifierService"; 8971*344a7f5eSAndroid Build Coastguard Worker } 8972*344a7f5eSAndroid Build Coastguard Worker 8973*344a7f5eSAndroid Build Coastguard Worker public static interface TextClassifierService.Callback<T> { 8974*344a7f5eSAndroid Build Coastguard Worker method public void onFailure(@NonNull CharSequence); 8975*344a7f5eSAndroid Build Coastguard Worker method public void onSuccess(T); 8976*344a7f5eSAndroid Build Coastguard Worker } 8977*344a7f5eSAndroid Build Coastguard Worker 8978*344a7f5eSAndroid Build Coastguard Worker} 8979*344a7f5eSAndroid Build Coastguard Worker 8980*344a7f5eSAndroid Build Coastguard Workerpackage android.service.trust { 8981*344a7f5eSAndroid Build Coastguard Worker 8982*344a7f5eSAndroid Build Coastguard Worker public class TrustAgentService extends android.app.Service { 8983*344a7f5eSAndroid Build Coastguard Worker ctor public TrustAgentService(); 8984*344a7f5eSAndroid Build Coastguard Worker method public final void addEscrowToken(byte[], android.os.UserHandle); 8985*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final void grantTrust(CharSequence, long, boolean); 8986*344a7f5eSAndroid Build Coastguard Worker method public final void grantTrust(CharSequence, long, int); 8987*344a7f5eSAndroid Build Coastguard Worker method public final void isEscrowTokenActive(long, android.os.UserHandle); 8988*344a7f5eSAndroid Build Coastguard Worker method public final android.os.IBinder onBind(android.content.Intent); 8989*344a7f5eSAndroid Build Coastguard Worker method public boolean onConfigure(java.util.List<android.os.PersistableBundle>); 8990*344a7f5eSAndroid Build Coastguard Worker method public void onDeviceLocked(); 8991*344a7f5eSAndroid Build Coastguard Worker method public void onDeviceUnlockLockout(long); 8992*344a7f5eSAndroid Build Coastguard Worker method public void onDeviceUnlocked(); 8993*344a7f5eSAndroid Build Coastguard Worker method public void onEscrowTokenAdded(byte[], long, android.os.UserHandle); 8994*344a7f5eSAndroid Build Coastguard Worker method public void onEscrowTokenRemoved(long, boolean); 8995*344a7f5eSAndroid Build Coastguard Worker method public void onEscrowTokenStateReceived(long, int); 8996*344a7f5eSAndroid Build Coastguard Worker method public void onTrustTimeout(); 8997*344a7f5eSAndroid Build Coastguard Worker method public void onUnlockAttempt(boolean); 8998*344a7f5eSAndroid Build Coastguard Worker method public final void removeEscrowToken(long, android.os.UserHandle); 8999*344a7f5eSAndroid Build Coastguard Worker method public final void revokeTrust(); 9000*344a7f5eSAndroid Build Coastguard Worker method public final void setManagingTrust(boolean); 9001*344a7f5eSAndroid Build Coastguard Worker method public final void showKeyguardErrorMessage(@NonNull CharSequence); 9002*344a7f5eSAndroid Build Coastguard Worker method public final void unlockUserWithToken(long, byte[], android.os.UserHandle); 9003*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_GRANT_TRUST_DISMISS_KEYGUARD = 2; // 0x2 9004*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_GRANT_TRUST_INITIATED_BY_USER = 1; // 0x1 9005*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.trust.TrustAgentService"; 9006*344a7f5eSAndroid Build Coastguard Worker field public static final int TOKEN_STATE_ACTIVE = 1; // 0x1 9007*344a7f5eSAndroid Build Coastguard Worker field public static final int TOKEN_STATE_INACTIVE = 0; // 0x0 9008*344a7f5eSAndroid Build Coastguard Worker field public static final String TRUST_AGENT_META_DATA = "android.service.trust.trustagent"; 9009*344a7f5eSAndroid Build Coastguard Worker } 9010*344a7f5eSAndroid Build Coastguard Worker 9011*344a7f5eSAndroid Build Coastguard Worker} 9012*344a7f5eSAndroid Build Coastguard Worker 9013*344a7f5eSAndroid Build Coastguard Workerpackage android.service.voice { 9014*344a7f5eSAndroid Build Coastguard Worker 9015*344a7f5eSAndroid Build Coastguard Worker public class VoiceInteractionService extends android.app.Service { 9016*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public final android.media.voice.KeyphraseModelManager createKeyphraseModelManager(); 9017*344a7f5eSAndroid Build Coastguard Worker } 9018*344a7f5eSAndroid Build Coastguard Worker 9019*344a7f5eSAndroid Build Coastguard Worker} 9020*344a7f5eSAndroid Build Coastguard Worker 9021*344a7f5eSAndroid Build Coastguard Workerpackage android.service.wallpaper { 9022*344a7f5eSAndroid Build Coastguard Worker 9023*344a7f5eSAndroid Build Coastguard Worker public class WallpaperService.Engine { 9024*344a7f5eSAndroid Build Coastguard Worker method public boolean isInAmbientMode(); 9025*344a7f5eSAndroid Build Coastguard Worker method public void onAmbientModeChanged(boolean, long); 9026*344a7f5eSAndroid Build Coastguard Worker } 9027*344a7f5eSAndroid Build Coastguard Worker 9028*344a7f5eSAndroid Build Coastguard Worker} 9029*344a7f5eSAndroid Build Coastguard Worker 9030*344a7f5eSAndroid Build Coastguard Workerpackage android.service.watchdog { 9031*344a7f5eSAndroid Build Coastguard Worker 9032*344a7f5eSAndroid Build Coastguard Worker public abstract class ExplicitHealthCheckService extends android.app.Service { 9033*344a7f5eSAndroid Build Coastguard Worker ctor public ExplicitHealthCheckService(); 9034*344a7f5eSAndroid Build Coastguard Worker method public final void notifyHealthCheckPassed(@NonNull String); 9035*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); 9036*344a7f5eSAndroid Build Coastguard Worker method public abstract void onCancelHealthCheck(@NonNull String); 9037*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract java.util.List<java.lang.String> onGetRequestedPackages(); 9038*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract java.util.List<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> onGetSupportedPackages(); 9039*344a7f5eSAndroid Build Coastguard Worker method public abstract void onRequestHealthCheck(@NonNull String); 9040*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_PERMISSION = "android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE"; 9041*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.watchdog.ExplicitHealthCheckService"; 9042*344a7f5eSAndroid Build Coastguard Worker } 9043*344a7f5eSAndroid Build Coastguard Worker 9044*344a7f5eSAndroid Build Coastguard Worker public static final class ExplicitHealthCheckService.PackageConfig implements android.os.Parcelable { 9045*344a7f5eSAndroid Build Coastguard Worker ctor public ExplicitHealthCheckService.PackageConfig(@NonNull String, long); 9046*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9047*344a7f5eSAndroid Build Coastguard Worker method public long getHealthCheckTimeoutMillis(); 9048*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 9049*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9050*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> CREATOR; 9051*344a7f5eSAndroid Build Coastguard Worker } 9052*344a7f5eSAndroid Build Coastguard Worker 9053*344a7f5eSAndroid Build Coastguard Worker} 9054*344a7f5eSAndroid Build Coastguard Worker 9055*344a7f5eSAndroid Build Coastguard Workerpackage android.telecom { 9056*344a7f5eSAndroid Build Coastguard Worker 9057*344a7f5eSAndroid Build Coastguard Worker @Deprecated public class AudioState implements android.os.Parcelable { 9058*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public AudioState(boolean, int, int); 9059*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public AudioState(android.telecom.AudioState); 9060*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public AudioState(android.telecom.CallAudioState); 9061*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public static String audioRouteToString(int); 9062*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int describeContents(); 9063*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getRoute(); 9064*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getSupportedRouteMask(); 9065*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean isMuted(); 9066*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void writeToParcel(android.os.Parcel, int); 9067*344a7f5eSAndroid Build Coastguard Worker field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.telecom.AudioState> CREATOR; 9068*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int ROUTE_BLUETOOTH = 2; // 0x2 9069*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int ROUTE_EARPIECE = 1; // 0x1 9070*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int ROUTE_SPEAKER = 8; // 0x8 9071*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int ROUTE_WIRED_HEADSET = 4; // 0x4 9072*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int ROUTE_WIRED_OR_EARPIECE = 5; // 0x5 9073*344a7f5eSAndroid Build Coastguard Worker } 9074*344a7f5eSAndroid Build Coastguard Worker 9075*344a7f5eSAndroid Build Coastguard Worker public final class Call { 9076*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void addListener(android.telecom.Call.Listener); 9077*344a7f5eSAndroid Build Coastguard Worker method public void enterBackgroundAudioProcessing(); 9078*344a7f5eSAndroid Build Coastguard Worker method public void exitBackgroundAudioProcessing(boolean); 9079*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void removeListener(android.telecom.Call.Listener); 9080*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int STATE_PRE_DIAL_WAIT = 8; // 0x8 9081*344a7f5eSAndroid Build Coastguard Worker } 9082*344a7f5eSAndroid Build Coastguard Worker 9083*344a7f5eSAndroid Build Coastguard Worker @Deprecated public abstract static class Call.Listener extends android.telecom.Call.Callback { 9084*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public Call.Listener(); 9085*344a7f5eSAndroid Build Coastguard Worker } 9086*344a7f5eSAndroid Build Coastguard Worker 9087*344a7f5eSAndroid Build Coastguard Worker public static class CallScreeningService.CallResponse.Builder { 9088*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.CallScreeningService.CallResponse.Builder setShouldScreenCallViaAudioProcessing(boolean); 9089*344a7f5eSAndroid Build Coastguard Worker } 9090*344a7f5eSAndroid Build Coastguard Worker 9091*344a7f5eSAndroid Build Coastguard Worker public abstract class Conference extends android.telecom.Conferenceable { 9092*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final android.telecom.AudioState getAudioState(); 9093*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final long getConnectTimeMillis(); 9094*344a7f5eSAndroid Build Coastguard Worker method public android.telecom.Connection getPrimaryConnection(); 9095*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final String getTelecomCallId(); 9096*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onAudioStateChanged(android.telecom.AudioState); 9097*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setAddress(@NonNull android.net.Uri, int); 9098*344a7f5eSAndroid Build Coastguard Worker method public final void setCallerDisplayName(@NonNull String, int); 9099*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setConferenceState(boolean); 9100*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final void setConnectTimeMillis(long); 9101*344a7f5eSAndroid Build Coastguard Worker } 9102*344a7f5eSAndroid Build Coastguard Worker 9103*344a7f5eSAndroid Build Coastguard Worker public abstract class Connection extends android.telecom.Conferenceable { 9104*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final android.telecom.AudioState getAudioState(); 9105*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public final long getConnectTimeMillis(); 9106*344a7f5eSAndroid Build Coastguard Worker method public final long getConnectionStartElapsedRealtimeMillis(); 9107*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.telecom.PhoneAccountHandle getPhoneAccountHandle(); 9108*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final String getTelecomCallId(); 9109*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onAudioStateChanged(android.telecom.AudioState); 9110*344a7f5eSAndroid Build Coastguard Worker method public final void resetConnectionTime(); 9111*344a7f5eSAndroid Build Coastguard Worker method public void setCallDirection(int); 9112*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setConnectTimeMillis(@IntRange(from=0) long); 9113*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setConnectionStartElapsedRealtimeMillis(long); 9114*344a7f5eSAndroid Build Coastguard Worker method public void setPhoneAccountHandle(@NonNull android.telecom.PhoneAccountHandle); 9115*344a7f5eSAndroid Build Coastguard Worker method public void setTelecomCallId(@NonNull String); 9116*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_CONFERENCE_HAS_NO_CHILDREN = 2097152; // 0x200000 9117*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_SPEED_UP_MT_AUDIO = 262144; // 0x40000 9118*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_DISABLE_ADD_CALL = "android.telecom.extra.DISABLE_ADD_CALL"; 9119*344a7f5eSAndroid Build Coastguard Worker field public static final int PROPERTY_EMERGENCY_CALLBACK_MODE = 1; // 0x1 9120*344a7f5eSAndroid Build Coastguard Worker field public static final int PROPERTY_GENERIC_CONFERENCE = 2; // 0x2 9121*344a7f5eSAndroid Build Coastguard Worker field public static final int PROPERTY_IS_DOWNGRADED_CONFERENCE = 64; // 0x40 9122*344a7f5eSAndroid Build Coastguard Worker field public static final int PROPERTY_REMOTELY_HOSTED = 2048; // 0x800 9123*344a7f5eSAndroid Build Coastguard Worker } 9124*344a7f5eSAndroid Build Coastguard Worker 9125*344a7f5eSAndroid Build Coastguard Worker public final class ConnectionRequest implements android.os.Parcelable { 9126*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getTelecomCallId(); 9127*344a7f5eSAndroid Build Coastguard Worker } 9128*344a7f5eSAndroid Build Coastguard Worker 9129*344a7f5eSAndroid Build Coastguard Worker public abstract class ConnectionService extends android.app.Service { 9130*344a7f5eSAndroid Build Coastguard Worker method public final void addExistingConnection(@NonNull android.telecom.PhoneAccountHandle, @NonNull android.telecom.Connection, @NonNull android.telecom.Conference); 9131*344a7f5eSAndroid Build Coastguard Worker } 9132*344a7f5eSAndroid Build Coastguard Worker 9133*344a7f5eSAndroid Build Coastguard Worker public abstract class InCallService extends android.app.Service { 9134*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public android.telecom.Phone getPhone(); 9135*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onPhoneCreated(android.telecom.Phone); 9136*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onPhoneDestroyed(android.telecom.Phone); 9137*344a7f5eSAndroid Build Coastguard Worker } 9138*344a7f5eSAndroid Build Coastguard Worker 9139*344a7f5eSAndroid Build Coastguard Worker public class ParcelableCallAnalytics implements android.os.Parcelable { 9140*344a7f5eSAndroid Build Coastguard Worker ctor public ParcelableCallAnalytics(long, long, int, boolean, boolean, int, int, boolean, String, boolean, java.util.List<android.telecom.ParcelableCallAnalytics.AnalyticsEvent>, java.util.List<android.telecom.ParcelableCallAnalytics.EventTiming>); 9141*344a7f5eSAndroid Build Coastguard Worker ctor public ParcelableCallAnalytics(android.os.Parcel); 9142*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telecom.ParcelableCallAnalytics.AnalyticsEvent> analyticsEvents(); 9143*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9144*344a7f5eSAndroid Build Coastguard Worker method public long getCallDurationMillis(); 9145*344a7f5eSAndroid Build Coastguard Worker method public int getCallTechnologies(); 9146*344a7f5eSAndroid Build Coastguard Worker method public int getCallTerminationCode(); 9147*344a7f5eSAndroid Build Coastguard Worker method public int getCallType(); 9148*344a7f5eSAndroid Build Coastguard Worker method public String getConnectionService(); 9149*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telecom.ParcelableCallAnalytics.EventTiming> getEventTimings(); 9150*344a7f5eSAndroid Build Coastguard Worker method public long getStartTimeMillis(); 9151*344a7f5eSAndroid Build Coastguard Worker method public boolean isAdditionalCall(); 9152*344a7f5eSAndroid Build Coastguard Worker method public boolean isCreatedFromExistingConnection(); 9153*344a7f5eSAndroid Build Coastguard Worker method public boolean isEmergencyCall(); 9154*344a7f5eSAndroid Build Coastguard Worker method public boolean isInterrupted(); 9155*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9156*344a7f5eSAndroid Build Coastguard Worker field public static final int CALLTYPE_INCOMING = 1; // 0x1 9157*344a7f5eSAndroid Build Coastguard Worker field public static final int CALLTYPE_OUTGOING = 2; // 0x2 9158*344a7f5eSAndroid Build Coastguard Worker field public static final int CALLTYPE_UNKNOWN = 0; // 0x0 9159*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_PHONE = 1; // 0x1 9160*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telecom.ParcelableCallAnalytics> CREATOR; 9161*344a7f5eSAndroid Build Coastguard Worker field public static final int GSM_PHONE = 2; // 0x2 9162*344a7f5eSAndroid Build Coastguard Worker field public static final int IMS_PHONE = 4; // 0x4 9163*344a7f5eSAndroid Build Coastguard Worker field public static final long MILLIS_IN_1_SECOND = 1000L; // 0x3e8L 9164*344a7f5eSAndroid Build Coastguard Worker field public static final long MILLIS_IN_5_MINUTES = 300000L; // 0x493e0L 9165*344a7f5eSAndroid Build Coastguard Worker field public static final int SIP_PHONE = 8; // 0x8 9166*344a7f5eSAndroid Build Coastguard Worker field public static final int STILL_CONNECTED = -1; // 0xffffffff 9167*344a7f5eSAndroid Build Coastguard Worker field public static final int THIRD_PARTY_PHONE = 16; // 0x10 9168*344a7f5eSAndroid Build Coastguard Worker } 9169*344a7f5eSAndroid Build Coastguard Worker 9170*344a7f5eSAndroid Build Coastguard Worker public static final class ParcelableCallAnalytics.AnalyticsEvent implements android.os.Parcelable { 9171*344a7f5eSAndroid Build Coastguard Worker ctor public ParcelableCallAnalytics.AnalyticsEvent(int, long); 9172*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9173*344a7f5eSAndroid Build Coastguard Worker method public int getEventName(); 9174*344a7f5eSAndroid Build Coastguard Worker method public long getTimeSinceLastEvent(); 9175*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9176*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_ROUTE_BT = 204; // 0xcc 9177*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_ROUTE_EARPIECE = 205; // 0xcd 9178*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_ROUTE_HEADSET = 206; // 0xce 9179*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_ROUTE_SPEAKER = 207; // 0xcf 9180*344a7f5eSAndroid Build Coastguard Worker field public static final int BIND_CS = 5; // 0x5 9181*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCK_CHECK_FINISHED = 105; // 0x69 9182*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCK_CHECK_INITIATED = 104; // 0x68 9183*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFERENCE_WITH = 300; // 0x12c 9184*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telecom.ParcelableCallAnalytics.AnalyticsEvent> CREATOR; 9185*344a7f5eSAndroid Build Coastguard Worker field public static final int CS_BOUND = 6; // 0x6 9186*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECT_TO_VM_FINISHED = 103; // 0x67 9187*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECT_TO_VM_INITIATED = 102; // 0x66 9188*344a7f5eSAndroid Build Coastguard Worker field public static final int FILTERING_COMPLETED = 107; // 0x6b 9189*344a7f5eSAndroid Build Coastguard Worker field public static final int FILTERING_INITIATED = 106; // 0x6a 9190*344a7f5eSAndroid Build Coastguard Worker field public static final int FILTERING_TIMED_OUT = 108; // 0x6c 9191*344a7f5eSAndroid Build Coastguard Worker field public static final int MUTE = 202; // 0xca 9192*344a7f5eSAndroid Build Coastguard Worker field public static final int REMOTELY_HELD = 402; // 0x192 9193*344a7f5eSAndroid Build Coastguard Worker field public static final int REMOTELY_UNHELD = 403; // 0x193 9194*344a7f5eSAndroid Build Coastguard Worker field public static final int REQUEST_ACCEPT = 7; // 0x7 9195*344a7f5eSAndroid Build Coastguard Worker field public static final int REQUEST_HOLD = 400; // 0x190 9196*344a7f5eSAndroid Build Coastguard Worker field public static final int REQUEST_PULL = 500; // 0x1f4 9197*344a7f5eSAndroid Build Coastguard Worker field public static final int REQUEST_REJECT = 8; // 0x8 9198*344a7f5eSAndroid Build Coastguard Worker field public static final int REQUEST_UNHOLD = 401; // 0x191 9199*344a7f5eSAndroid Build Coastguard Worker field public static final int SCREENING_COMPLETED = 101; // 0x65 9200*344a7f5eSAndroid Build Coastguard Worker field public static final int SCREENING_SENT = 100; // 0x64 9201*344a7f5eSAndroid Build Coastguard Worker field public static final int SET_ACTIVE = 1; // 0x1 9202*344a7f5eSAndroid Build Coastguard Worker field public static final int SET_DIALING = 4; // 0x4 9203*344a7f5eSAndroid Build Coastguard Worker field public static final int SET_DISCONNECTED = 2; // 0x2 9204*344a7f5eSAndroid Build Coastguard Worker field public static final int SET_HOLD = 404; // 0x194 9205*344a7f5eSAndroid Build Coastguard Worker field public static final int SET_PARENT = 302; // 0x12e 9206*344a7f5eSAndroid Build Coastguard Worker field public static final int SET_SELECT_PHONE_ACCOUNT = 0; // 0x0 9207*344a7f5eSAndroid Build Coastguard Worker field public static final int SILENCE = 201; // 0xc9 9208*344a7f5eSAndroid Build Coastguard Worker field public static final int SKIP_RINGING = 200; // 0xc8 9209*344a7f5eSAndroid Build Coastguard Worker field public static final int SPLIT_CONFERENCE = 301; // 0x12d 9210*344a7f5eSAndroid Build Coastguard Worker field public static final int START_CONNECTION = 3; // 0x3 9211*344a7f5eSAndroid Build Coastguard Worker field public static final int SWAP = 405; // 0x195 9212*344a7f5eSAndroid Build Coastguard Worker field public static final int UNMUTE = 203; // 0xcb 9213*344a7f5eSAndroid Build Coastguard Worker } 9214*344a7f5eSAndroid Build Coastguard Worker 9215*344a7f5eSAndroid Build Coastguard Worker public static final class ParcelableCallAnalytics.EventTiming implements android.os.Parcelable { 9216*344a7f5eSAndroid Build Coastguard Worker ctor public ParcelableCallAnalytics.EventTiming(int, long); 9217*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9218*344a7f5eSAndroid Build Coastguard Worker method public int getName(); 9219*344a7f5eSAndroid Build Coastguard Worker method public long getTime(); 9220*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9221*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCEPT_TIMING = 0; // 0x0 9222*344a7f5eSAndroid Build Coastguard Worker field public static final int BIND_CS_TIMING = 6; // 0x6 9223*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCK_CHECK_FINISHED_TIMING = 9; // 0x9 9224*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telecom.ParcelableCallAnalytics.EventTiming> CREATOR; 9225*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECT_TO_VM_FINISHED_TIMING = 8; // 0x8 9226*344a7f5eSAndroid Build Coastguard Worker field public static final int DISCONNECT_TIMING = 2; // 0x2 9227*344a7f5eSAndroid Build Coastguard Worker field public static final int FILTERING_COMPLETED_TIMING = 10; // 0xa 9228*344a7f5eSAndroid Build Coastguard Worker field public static final int FILTERING_TIMED_OUT_TIMING = 11; // 0xb 9229*344a7f5eSAndroid Build Coastguard Worker field public static final int HOLD_TIMING = 3; // 0x3 9230*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID = 999999; // 0xf423f 9231*344a7f5eSAndroid Build Coastguard Worker field public static final int OUTGOING_TIME_TO_DIALING_TIMING = 5; // 0x5 9232*344a7f5eSAndroid Build Coastguard Worker field public static final int REJECT_TIMING = 1; // 0x1 9233*344a7f5eSAndroid Build Coastguard Worker field public static final int SCREENING_COMPLETED_TIMING = 7; // 0x7 9234*344a7f5eSAndroid Build Coastguard Worker field public static final int UNHOLD_TIMING = 4; // 0x4 9235*344a7f5eSAndroid Build Coastguard Worker } 9236*344a7f5eSAndroid Build Coastguard Worker 9237*344a7f5eSAndroid Build Coastguard Worker @Deprecated public final class Phone { 9238*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void addListener(android.telecom.Phone.Listener); 9239*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean canAddCall(); 9240*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public android.telecom.AudioState getAudioState(); 9241*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public android.telecom.CallAudioState getCallAudioState(); 9242*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public java.util.List<android.telecom.Call> getCalls(); 9243*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void removeListener(android.telecom.Phone.Listener); 9244*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void requestBluetoothAudio(String); 9245*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setAudioRoute(int); 9246*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setMuted(boolean); 9247*344a7f5eSAndroid Build Coastguard Worker } 9248*344a7f5eSAndroid Build Coastguard Worker 9249*344a7f5eSAndroid Build Coastguard Worker @Deprecated public abstract static class Phone.Listener { 9250*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public Phone.Listener(); 9251*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onAudioStateChanged(android.telecom.Phone, android.telecom.AudioState); 9252*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onBringToForeground(android.telecom.Phone, boolean); 9253*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onCallAdded(android.telecom.Phone, android.telecom.Call); 9254*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onCallAudioStateChanged(android.telecom.Phone, android.telecom.CallAudioState); 9255*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onCallRemoved(android.telecom.Phone, android.telecom.Call); 9256*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onCanAddCallChanged(android.telecom.Phone, boolean); 9257*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onSilenceRinger(android.telecom.Phone); 9258*344a7f5eSAndroid Build Coastguard Worker } 9259*344a7f5eSAndroid Build Coastguard Worker 9260*344a7f5eSAndroid Build Coastguard Worker public final class PhoneAccount implements android.os.Parcelable { 9261*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_MULTI_USER = 32; // 0x20 9262*344a7f5eSAndroid Build Coastguard Worker } 9263*344a7f5eSAndroid Build Coastguard Worker 9264*344a7f5eSAndroid Build Coastguard Worker public static class PhoneAccount.Builder { 9265*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telecom.PhoneAccount.Builder setGroupId(@NonNull String); 9266*344a7f5eSAndroid Build Coastguard Worker } 9267*344a7f5eSAndroid Build Coastguard Worker 9268*344a7f5eSAndroid Build Coastguard Worker public class PhoneAccountSuggestionService extends android.app.Service { 9269*344a7f5eSAndroid Build Coastguard Worker ctor public PhoneAccountSuggestionService(); 9270*344a7f5eSAndroid Build Coastguard Worker method public void onAccountSuggestionRequest(@NonNull String); 9271*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder onBind(android.content.Intent); 9272*344a7f5eSAndroid Build Coastguard Worker method public final void suggestPhoneAccounts(@NonNull String, @NonNull java.util.List<android.telecom.PhoneAccountSuggestion>); 9273*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.telecom.PhoneAccountSuggestionService"; 9274*344a7f5eSAndroid Build Coastguard Worker } 9275*344a7f5eSAndroid Build Coastguard Worker 9276*344a7f5eSAndroid Build Coastguard Worker public final class RemoteConference { 9277*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setAudioState(android.telecom.AudioState); 9278*344a7f5eSAndroid Build Coastguard Worker } 9279*344a7f5eSAndroid Build Coastguard Worker 9280*344a7f5eSAndroid Build Coastguard Worker public final class RemoteConnection { 9281*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setAudioState(android.telecom.AudioState); 9282*344a7f5eSAndroid Build Coastguard Worker } 9283*344a7f5eSAndroid Build Coastguard Worker 9284*344a7f5eSAndroid Build Coastguard Worker public final class StatusHints implements android.os.Parcelable { 9285*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public StatusHints(android.content.ComponentName, CharSequence, int, android.os.Bundle); 9286*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public android.graphics.drawable.Drawable getIcon(android.content.Context); 9287*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getIconResId(); 9288*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public android.content.ComponentName getPackageName(); 9289*344a7f5eSAndroid Build Coastguard Worker } 9290*344a7f5eSAndroid Build Coastguard Worker 9291*344a7f5eSAndroid Build Coastguard Worker public final class TelecomAnalytics implements android.os.Parcelable { 9292*344a7f5eSAndroid Build Coastguard Worker ctor public TelecomAnalytics(java.util.List<android.telecom.TelecomAnalytics.SessionTiming>, java.util.List<android.telecom.ParcelableCallAnalytics>); 9293*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9294*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telecom.ParcelableCallAnalytics> getCallAnalytics(); 9295*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telecom.TelecomAnalytics.SessionTiming> getSessionTimings(); 9296*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9297*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telecom.TelecomAnalytics> CREATOR; 9298*344a7f5eSAndroid Build Coastguard Worker } 9299*344a7f5eSAndroid Build Coastguard Worker 9300*344a7f5eSAndroid Build Coastguard Worker public static final class TelecomAnalytics.SessionTiming implements android.os.Parcelable { 9301*344a7f5eSAndroid Build Coastguard Worker ctor public TelecomAnalytics.SessionTiming(int, long); 9302*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9303*344a7f5eSAndroid Build Coastguard Worker method public Integer getKey(); 9304*344a7f5eSAndroid Build Coastguard Worker method public long getTime(); 9305*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9306*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telecom.TelecomAnalytics.SessionTiming> CREATOR; 9307*344a7f5eSAndroid Build Coastguard Worker field public static final int CSW_ADD_CONFERENCE_CALL = 108; // 0x6c 9308*344a7f5eSAndroid Build Coastguard Worker field public static final int CSW_HANDLE_CREATE_CONNECTION_COMPLETE = 100; // 0x64 9309*344a7f5eSAndroid Build Coastguard Worker field public static final int CSW_REMOVE_CALL = 106; // 0x6a 9310*344a7f5eSAndroid Build Coastguard Worker field public static final int CSW_SET_ACTIVE = 101; // 0x65 9311*344a7f5eSAndroid Build Coastguard Worker field public static final int CSW_SET_DIALING = 103; // 0x67 9312*344a7f5eSAndroid Build Coastguard Worker field public static final int CSW_SET_DISCONNECTED = 104; // 0x68 9313*344a7f5eSAndroid Build Coastguard Worker field public static final int CSW_SET_IS_CONFERENCED = 107; // 0x6b 9314*344a7f5eSAndroid Build Coastguard Worker field public static final int CSW_SET_ON_HOLD = 105; // 0x69 9315*344a7f5eSAndroid Build Coastguard Worker field public static final int CSW_SET_RINGING = 102; // 0x66 9316*344a7f5eSAndroid Build Coastguard Worker field public static final int ICA_ANSWER_CALL = 1; // 0x1 9317*344a7f5eSAndroid Build Coastguard Worker field public static final int ICA_CONFERENCE = 8; // 0x8 9318*344a7f5eSAndroid Build Coastguard Worker field public static final int ICA_DISCONNECT_CALL = 3; // 0x3 9319*344a7f5eSAndroid Build Coastguard Worker field public static final int ICA_HOLD_CALL = 4; // 0x4 9320*344a7f5eSAndroid Build Coastguard Worker field public static final int ICA_MUTE = 6; // 0x6 9321*344a7f5eSAndroid Build Coastguard Worker field public static final int ICA_REJECT_CALL = 2; // 0x2 9322*344a7f5eSAndroid Build Coastguard Worker field public static final int ICA_SET_AUDIO_ROUTE = 7; // 0x7 9323*344a7f5eSAndroid Build Coastguard Worker field public static final int ICA_UNHOLD_CALL = 5; // 0x5 9324*344a7f5eSAndroid Build Coastguard Worker } 9325*344a7f5eSAndroid Build Coastguard Worker 9326*344a7f5eSAndroid Build Coastguard Worker public class TelecomManager { 9327*344a7f5eSAndroid Build Coastguard Worker method public void addNewUnknownCall(android.telecom.PhoneAccountHandle, android.os.Bundle); 9328*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void clearAccounts(); 9329*344a7f5eSAndroid Build Coastguard Worker method public void clearPhoneAccounts(); 9330*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.Intent createLaunchEmergencyDialerIntent(@Nullable String); 9331*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.DUMP) public android.telecom.TelecomAnalytics dumpAnalytics(); 9332*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void enablePhoneAccount(android.telecom.PhoneAccountHandle, boolean); 9333*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telecom.PhoneAccountHandle> getAllPhoneAccountHandles(); 9334*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telecom.PhoneAccount> getAllPhoneAccounts(); 9335*344a7f5eSAndroid Build Coastguard Worker method public int getAllPhoneAccountsCount(); 9336*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<android.telecom.PhoneAccountHandle> getCallCapablePhoneAccounts(boolean); 9337*344a7f5eSAndroid Build Coastguard Worker method public int getCallState(); 9338*344a7f5eSAndroid Build Coastguard Worker method public android.telecom.PhoneAccountHandle getConnectionManager(); 9339*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCurrentTtyMode(); 9340*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getDefaultDialerPackage(@NonNull android.os.UserHandle); 9341*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public android.content.ComponentName getDefaultPhoneApp(); 9342*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telecom.PhoneAccountHandle> getPhoneAccountsForPackage(); 9343*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public java.util.List<android.telecom.PhoneAccountHandle> getPhoneAccountsSupportingScheme(String); 9344*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isInEmergencyCall(); 9345*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRinging(); 9346*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUserSelectedOutgoingPhoneAccount(@Nullable android.telecom.PhoneAccountHandle); 9347*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CALL_BACK_INTENT = "android.telecom.extra.CALL_BACK_INTENT"; 9348*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CLEAR_MISSED_CALLS_INTENT = "android.telecom.extra.CLEAR_MISSED_CALLS_INTENT"; 9349*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CONNECTION_SERVICE = "android.telecom.extra.CONNECTION_SERVICE"; 9350*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_IS_USER_INTENT_EMERGENCY_CALL = "android.telecom.extra.IS_USER_INTENT_EMERGENCY_CALL"; 9351*344a7f5eSAndroid Build Coastguard Worker field public static final int TTY_MODE_FULL = 1; // 0x1 9352*344a7f5eSAndroid Build Coastguard Worker field public static final int TTY_MODE_HCO = 2; // 0x2 9353*344a7f5eSAndroid Build Coastguard Worker field public static final int TTY_MODE_OFF = 0; // 0x0 9354*344a7f5eSAndroid Build Coastguard Worker field public static final int TTY_MODE_VCO = 3; // 0x3 9355*344a7f5eSAndroid Build Coastguard Worker } 9356*344a7f5eSAndroid Build Coastguard Worker 9357*344a7f5eSAndroid Build Coastguard Worker} 9358*344a7f5eSAndroid Build Coastguard Worker 9359*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony { 9360*344a7f5eSAndroid Build Coastguard Worker 9361*344a7f5eSAndroid Build Coastguard Worker public final class AccessNetworkConstants { 9362*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSPORT_TYPE_INVALID = -1; // 0xffffffff 9363*344a7f5eSAndroid Build Coastguard Worker } 9364*344a7f5eSAndroid Build Coastguard Worker 9365*344a7f5eSAndroid Build Coastguard Worker public static final class AccessNetworkConstants.NgranBands { 9366*344a7f5eSAndroid Build Coastguard Worker method public static int getFrequencyRangeGroup(int); 9367*344a7f5eSAndroid Build Coastguard Worker field public static final int FREQUENCY_RANGE_GROUP_1 = 1; // 0x1 9368*344a7f5eSAndroid Build Coastguard Worker field public static final int FREQUENCY_RANGE_GROUP_2 = 2; // 0x2 9369*344a7f5eSAndroid Build Coastguard Worker field public static final int FREQUENCY_RANGE_GROUP_UNKNOWN = 0; // 0x0 9370*344a7f5eSAndroid Build Coastguard Worker } 9371*344a7f5eSAndroid Build Coastguard Worker 9372*344a7f5eSAndroid Build Coastguard Worker public final class BarringInfo implements android.os.Parcelable { 9373*344a7f5eSAndroid Build Coastguard Worker ctor public BarringInfo(); 9374*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.BarringInfo createLocationInfoSanitizedCopy(); 9375*344a7f5eSAndroid Build Coastguard Worker } 9376*344a7f5eSAndroid Build Coastguard Worker 9377*344a7f5eSAndroid Build Coastguard Worker public final class CallAttributes implements android.os.Parcelable { 9378*344a7f5eSAndroid Build Coastguard Worker ctor public CallAttributes(@NonNull android.telephony.PreciseCallState, int, @NonNull android.telephony.CallQuality); 9379*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9380*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CallQuality getCallQuality(); 9381*344a7f5eSAndroid Build Coastguard Worker method public int getNetworkType(); 9382*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.PreciseCallState getPreciseCallState(); 9383*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9384*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CallAttributes> CREATOR; 9385*344a7f5eSAndroid Build Coastguard Worker } 9386*344a7f5eSAndroid Build Coastguard Worker 9387*344a7f5eSAndroid Build Coastguard Worker public final class CallQuality implements android.os.Parcelable { 9388*344a7f5eSAndroid Build Coastguard Worker ctor public CallQuality(int, int, int, int, int, int, int, int, int, int, int); 9389*344a7f5eSAndroid Build Coastguard Worker ctor public CallQuality(int, int, int, int, int, int, int, int, int, int, int, boolean, boolean, boolean); 9390*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9391*344a7f5eSAndroid Build Coastguard Worker method public int getAverageRelativeJitter(); 9392*344a7f5eSAndroid Build Coastguard Worker method public int getAverageRoundTripTime(); 9393*344a7f5eSAndroid Build Coastguard Worker method public int getCallDuration(); 9394*344a7f5eSAndroid Build Coastguard Worker method public int getCodecType(); 9395*344a7f5eSAndroid Build Coastguard Worker method public int getDownlinkCallQualityLevel(); 9396*344a7f5eSAndroid Build Coastguard Worker method public int getMaxRelativeJitter(); 9397*344a7f5eSAndroid Build Coastguard Worker method public int getNumRtpPacketsNotReceived(); 9398*344a7f5eSAndroid Build Coastguard Worker method public int getNumRtpPacketsReceived(); 9399*344a7f5eSAndroid Build Coastguard Worker method public int getNumRtpPacketsTransmitted(); 9400*344a7f5eSAndroid Build Coastguard Worker method public int getNumRtpPacketsTransmittedLost(); 9401*344a7f5eSAndroid Build Coastguard Worker method public int getUplinkCallQualityLevel(); 9402*344a7f5eSAndroid Build Coastguard Worker method public boolean isIncomingSilenceDetectedAtCallSetup(); 9403*344a7f5eSAndroid Build Coastguard Worker method public boolean isOutgoingSilenceDetectedAtCallSetup(); 9404*344a7f5eSAndroid Build Coastguard Worker method public boolean isRtpInactivityDetected(); 9405*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9406*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_QUALITY_BAD = 4; // 0x4 9407*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_QUALITY_EXCELLENT = 0; // 0x0 9408*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_QUALITY_FAIR = 2; // 0x2 9409*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_QUALITY_GOOD = 1; // 0x1 9410*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_QUALITY_NOT_AVAILABLE = 5; // 0x5 9411*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_QUALITY_POOR = 3; // 0x3 9412*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CallQuality> CREATOR; 9413*344a7f5eSAndroid Build Coastguard Worker } 9414*344a7f5eSAndroid Build Coastguard Worker 9415*344a7f5eSAndroid Build Coastguard Worker public class CarrierConfigManager { 9416*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getDefaultCarrierServicePackageName(); 9417*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.os.PersistableBundle getDefaultConfig(); 9418*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void overrideConfig(int, @Nullable android.os.PersistableBundle); 9419*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void updateConfigForPhoneId(int, String); 9420*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_CARRIER_SETUP_APP_STRING = "carrier_setup_app_string"; 9421*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_SUPPORT_CDMA_1X_VOICE_CALLS_BOOL = "support_cdma_1x_voice_calls_bool"; 9422*344a7f5eSAndroid Build Coastguard Worker } 9423*344a7f5eSAndroid Build Coastguard Worker 9424*344a7f5eSAndroid Build Coastguard Worker public static final class CarrierConfigManager.Wifi { 9425*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_HOTSPOT_MAX_CLIENT_COUNT = "wifi.hotspot_maximum_client_count"; 9426*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_PREFIX = "wifi."; 9427*344a7f5eSAndroid Build Coastguard Worker } 9428*344a7f5eSAndroid Build Coastguard Worker 9429*344a7f5eSAndroid Build Coastguard Worker public final class CarrierRestrictionRules implements android.os.Parcelable { 9430*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.lang.Boolean> areCarrierIdentifiersAllowed(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>); 9431*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9432*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedCarriers(); 9433*344a7f5eSAndroid Build Coastguard Worker method public int getDefaultCarrierRestriction(); 9434*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getExcludedCarriers(); 9435*344a7f5eSAndroid Build Coastguard Worker method public int getMultiSimPolicy(); 9436*344a7f5eSAndroid Build Coastguard Worker method public boolean isAllCarriersAllowed(); 9437*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9438*344a7f5eSAndroid Build Coastguard Worker field public static final int CARRIER_RESTRICTION_DEFAULT_ALLOWED = 1; // 0x1 9439*344a7f5eSAndroid Build Coastguard Worker field public static final int CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED = 0; // 0x0 9440*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CarrierRestrictionRules> CREATOR; 9441*344a7f5eSAndroid Build Coastguard Worker field public static final int MULTISIM_POLICY_NONE = 0; // 0x0 9442*344a7f5eSAndroid Build Coastguard Worker field public static final int MULTISIM_POLICY_ONE_VALID_SIM_MUST_BE_PRESENT = 1; // 0x1 9443*344a7f5eSAndroid Build Coastguard Worker } 9444*344a7f5eSAndroid Build Coastguard Worker 9445*344a7f5eSAndroid Build Coastguard Worker public static final class CarrierRestrictionRules.Builder { 9446*344a7f5eSAndroid Build Coastguard Worker ctor public CarrierRestrictionRules.Builder(); 9447*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CarrierRestrictionRules build(); 9448*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CarrierRestrictionRules.Builder setAllCarriersAllowed(); 9449*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CarrierRestrictionRules.Builder setAllowedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>); 9450*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CarrierRestrictionRules.Builder setDefaultCarrierRestriction(int); 9451*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CarrierRestrictionRules.Builder setExcludedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>); 9452*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CarrierRestrictionRules.Builder setMultiSimPolicy(int); 9453*344a7f5eSAndroid Build Coastguard Worker } 9454*344a7f5eSAndroid Build Coastguard Worker 9455*344a7f5eSAndroid Build Coastguard Worker public class CbGeoUtils { 9456*344a7f5eSAndroid Build Coastguard Worker } 9457*344a7f5eSAndroid Build Coastguard Worker 9458*344a7f5eSAndroid Build Coastguard Worker public static class CbGeoUtils.Circle implements android.telephony.CbGeoUtils.Geometry { 9459*344a7f5eSAndroid Build Coastguard Worker ctor public CbGeoUtils.Circle(@NonNull android.telephony.CbGeoUtils.LatLng, double); 9460*344a7f5eSAndroid Build Coastguard Worker method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng); 9461*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CbGeoUtils.LatLng getCenter(); 9462*344a7f5eSAndroid Build Coastguard Worker method public double getRadius(); 9463*344a7f5eSAndroid Build Coastguard Worker } 9464*344a7f5eSAndroid Build Coastguard Worker 9465*344a7f5eSAndroid Build Coastguard Worker public static interface CbGeoUtils.Geometry { 9466*344a7f5eSAndroid Build Coastguard Worker method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng); 9467*344a7f5eSAndroid Build Coastguard Worker } 9468*344a7f5eSAndroid Build Coastguard Worker 9469*344a7f5eSAndroid Build Coastguard Worker public static class CbGeoUtils.LatLng { 9470*344a7f5eSAndroid Build Coastguard Worker ctor public CbGeoUtils.LatLng(double, double); 9471*344a7f5eSAndroid Build Coastguard Worker method public double distance(@NonNull android.telephony.CbGeoUtils.LatLng); 9472*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CbGeoUtils.LatLng subtract(@NonNull android.telephony.CbGeoUtils.LatLng); 9473*344a7f5eSAndroid Build Coastguard Worker field public final double lat; 9474*344a7f5eSAndroid Build Coastguard Worker field public final double lng; 9475*344a7f5eSAndroid Build Coastguard Worker } 9476*344a7f5eSAndroid Build Coastguard Worker 9477*344a7f5eSAndroid Build Coastguard Worker public static class CbGeoUtils.Polygon implements android.telephony.CbGeoUtils.Geometry { 9478*344a7f5eSAndroid Build Coastguard Worker ctor public CbGeoUtils.Polygon(@NonNull java.util.List<android.telephony.CbGeoUtils.LatLng>); 9479*344a7f5eSAndroid Build Coastguard Worker method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng); 9480*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.telephony.CbGeoUtils.LatLng> getVertices(); 9481*344a7f5eSAndroid Build Coastguard Worker } 9482*344a7f5eSAndroid Build Coastguard Worker 9483*344a7f5eSAndroid Build Coastguard Worker public class CellBroadcastIntents { 9484*344a7f5eSAndroid Build Coastguard Worker 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); 9485*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_AREA_INFO_UPDATED = "android.telephony.action.AREA_INFO_UPDATED"; 9486*344a7f5eSAndroid Build Coastguard Worker } 9487*344a7f5eSAndroid Build Coastguard Worker 9488*344a7f5eSAndroid Build Coastguard Worker public abstract class CellBroadcastService extends android.app.Service { 9489*344a7f5eSAndroid Build Coastguard Worker ctor public CellBroadcastService(); 9490*344a7f5eSAndroid Build Coastguard Worker method @NonNull @WorkerThread public abstract CharSequence getCellBroadcastAreaInfo(int); 9491*344a7f5eSAndroid Build Coastguard Worker method @CallSuper public android.os.IBinder onBind(@Nullable android.content.Intent); 9492*344a7f5eSAndroid Build Coastguard Worker method public abstract void onCdmaCellBroadcastSms(int, @NonNull byte[], int); 9493*344a7f5eSAndroid Build Coastguard Worker method public abstract void onCdmaScpMessage(int, @NonNull java.util.List<android.telephony.cdma.CdmaSmsCbProgramData>, @NonNull String, @NonNull java.util.function.Consumer<android.os.Bundle>); 9494*344a7f5eSAndroid Build Coastguard Worker method public abstract void onGsmCellBroadcastSms(int, @NonNull byte[]); 9495*344a7f5eSAndroid Build Coastguard Worker field public static final String CELL_BROADCAST_SERVICE_INTERFACE = "android.telephony.CellBroadcastService"; 9496*344a7f5eSAndroid Build Coastguard Worker } 9497*344a7f5eSAndroid Build Coastguard Worker 9498*344a7f5eSAndroid Build Coastguard Worker public abstract class CellIdentity implements android.os.Parcelable { 9499*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract android.telephony.CellLocation asCellLocation(); 9500*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract android.telephony.CellIdentity sanitizeLocationInfo(); 9501*344a7f5eSAndroid Build Coastguard Worker } 9502*344a7f5eSAndroid Build Coastguard Worker 9503*344a7f5eSAndroid Build Coastguard Worker public final class CellIdentityCdma extends android.telephony.CellIdentity { 9504*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.cdma.CdmaCellLocation asCellLocation(); 9505*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CellIdentityCdma sanitizeLocationInfo(); 9506*344a7f5eSAndroid Build Coastguard Worker } 9507*344a7f5eSAndroid Build Coastguard Worker 9508*344a7f5eSAndroid Build Coastguard Worker public final class CellIdentityGsm extends android.telephony.CellIdentity { 9509*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation(); 9510*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CellIdentityGsm sanitizeLocationInfo(); 9511*344a7f5eSAndroid Build Coastguard Worker } 9512*344a7f5eSAndroid Build Coastguard Worker 9513*344a7f5eSAndroid Build Coastguard Worker public final class CellIdentityLte extends android.telephony.CellIdentity { 9514*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation(); 9515*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CellIdentityLte sanitizeLocationInfo(); 9516*344a7f5eSAndroid Build Coastguard Worker } 9517*344a7f5eSAndroid Build Coastguard Worker 9518*344a7f5eSAndroid Build Coastguard Worker public final class CellIdentityNr extends android.telephony.CellIdentity { 9519*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CellLocation asCellLocation(); 9520*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CellIdentityNr sanitizeLocationInfo(); 9521*344a7f5eSAndroid Build Coastguard Worker } 9522*344a7f5eSAndroid Build Coastguard Worker 9523*344a7f5eSAndroid Build Coastguard Worker public final class CellIdentityTdscdma extends android.telephony.CellIdentity { 9524*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation(); 9525*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CellIdentityTdscdma sanitizeLocationInfo(); 9526*344a7f5eSAndroid Build Coastguard Worker } 9527*344a7f5eSAndroid Build Coastguard Worker 9528*344a7f5eSAndroid Build Coastguard Worker public final class CellIdentityWcdma extends android.telephony.CellIdentity { 9529*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation(); 9530*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.CellIdentityWcdma sanitizeLocationInfo(); 9531*344a7f5eSAndroid Build Coastguard Worker } 9532*344a7f5eSAndroid Build Coastguard Worker 9533*344a7f5eSAndroid Build Coastguard Worker public final class DataFailCause { 9534*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int VSNCP_APN_UNATHORIZED = 2238; // 0x8be 9535*344a7f5eSAndroid Build Coastguard Worker } 9536*344a7f5eSAndroid Build Coastguard Worker 9537*344a7f5eSAndroid Build Coastguard Worker public final class DataSpecificRegistrationInfo implements android.os.Parcelable { 9538*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9539*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.LteVopsSupportInfo getLteVopsSupportInfo(); 9540*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9541*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.DataSpecificRegistrationInfo> CREATOR; 9542*344a7f5eSAndroid Build Coastguard Worker } 9543*344a7f5eSAndroid Build Coastguard Worker 9544*344a7f5eSAndroid Build Coastguard Worker public final class DisconnectCause { 9545*344a7f5eSAndroid Build Coastguard Worker field public static final int ALREADY_DIALING = 72; // 0x48 9546*344a7f5eSAndroid Build Coastguard Worker field public static final int ANSWERED_ELSEWHERE = 52; // 0x34 9547*344a7f5eSAndroid Build Coastguard Worker field public static final int BUSY = 4; // 0x4 9548*344a7f5eSAndroid Build Coastguard Worker field public static final int CALLING_DISABLED = 74; // 0x4a 9549*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_BARRED = 20; // 0x14 9550*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_PULLED = 51; // 0x33 9551*344a7f5eSAndroid Build Coastguard Worker field public static final int CANT_CALL_WHILE_RINGING = 73; // 0x49 9552*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_ACCESS_BLOCKED = 35; // 0x23 9553*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_ACCESS_FAILURE = 32; // 0x20 9554*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_ALREADY_ACTIVATED = 49; // 0x31 9555*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_DROP = 27; // 0x1b 9556*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_INTERCEPT = 28; // 0x1c 9557*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_LOCKED_UNTIL_POWER_CYCLE = 26; // 0x1a 9558*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_NOT_EMERGENCY = 34; // 0x22 9559*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_PREEMPTED = 33; // 0x21 9560*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_REORDER = 29; // 0x1d 9561*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_RETRY_ORDER = 31; // 0x1f 9562*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_SO_REJECT = 30; // 0x1e 9563*344a7f5eSAndroid Build Coastguard Worker field public static final int CONGESTION = 5; // 0x5 9564*344a7f5eSAndroid Build Coastguard Worker field public static final int CS_RESTRICTED = 22; // 0x16 9565*344a7f5eSAndroid Build Coastguard Worker field public static final int CS_RESTRICTED_EMERGENCY = 24; // 0x18 9566*344a7f5eSAndroid Build Coastguard Worker field public static final int CS_RESTRICTED_NORMAL = 23; // 0x17 9567*344a7f5eSAndroid Build Coastguard Worker field public static final int DATA_DISABLED = 54; // 0x36 9568*344a7f5eSAndroid Build Coastguard Worker field public static final int DATA_LIMIT_REACHED = 55; // 0x37 9569*344a7f5eSAndroid Build Coastguard Worker field public static final int DIALED_CALL_FORWARDING_WHILE_ROAMING = 57; // 0x39 9570*344a7f5eSAndroid Build Coastguard Worker field public static final int DIALED_MMI = 39; // 0x27 9571*344a7f5eSAndroid Build Coastguard Worker field public static final int DIAL_LOW_BATTERY = 62; // 0x3e 9572*344a7f5eSAndroid Build Coastguard Worker field public static final int DIAL_MODIFIED_TO_DIAL = 48; // 0x30 9573*344a7f5eSAndroid Build Coastguard Worker field public static final int DIAL_MODIFIED_TO_DIAL_VIDEO = 66; // 0x42 9574*344a7f5eSAndroid Build Coastguard Worker field public static final int DIAL_MODIFIED_TO_SS = 47; // 0x2f 9575*344a7f5eSAndroid Build Coastguard Worker field public static final int DIAL_MODIFIED_TO_USSD = 46; // 0x2e 9576*344a7f5eSAndroid Build Coastguard Worker field public static final int DIAL_VIDEO_MODIFIED_TO_DIAL = 69; // 0x45 9577*344a7f5eSAndroid Build Coastguard Worker field public static final int DIAL_VIDEO_MODIFIED_TO_DIAL_VIDEO = 70; // 0x46 9578*344a7f5eSAndroid Build Coastguard Worker field public static final int DIAL_VIDEO_MODIFIED_TO_SS = 67; // 0x43 9579*344a7f5eSAndroid Build Coastguard Worker field public static final int DIAL_VIDEO_MODIFIED_TO_USSD = 68; // 0x44 9580*344a7f5eSAndroid Build Coastguard Worker field public static final int EMERGENCY_PERM_FAILURE = 64; // 0x40 9581*344a7f5eSAndroid Build Coastguard Worker field public static final int EMERGENCY_TEMP_FAILURE = 63; // 0x3f 9582*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_UNSPECIFIED = 36; // 0x24 9583*344a7f5eSAndroid Build Coastguard Worker field public static final int FDN_BLOCKED = 21; // 0x15 9584*344a7f5eSAndroid Build Coastguard Worker field public static final int ICC_ERROR = 19; // 0x13 9585*344a7f5eSAndroid Build Coastguard Worker field public static final int IMEI_NOT_ACCEPTED = 58; // 0x3a 9586*344a7f5eSAndroid Build Coastguard Worker field public static final int IMS_ACCESS_BLOCKED = 60; // 0x3c 9587*344a7f5eSAndroid Build Coastguard Worker field public static final int IMS_MERGED_SUCCESSFULLY = 45; // 0x2d 9588*344a7f5eSAndroid Build Coastguard Worker field public static final int IMS_SIP_ALTERNATE_EMERGENCY_CALL = 71; // 0x47 9589*344a7f5eSAndroid Build Coastguard Worker field public static final int INCOMING_AUTO_REJECTED = 81; // 0x51 9590*344a7f5eSAndroid Build Coastguard Worker field public static final int INCOMING_MISSED = 1; // 0x1 9591*344a7f5eSAndroid Build Coastguard Worker field public static final int INCOMING_REJECTED = 16; // 0x10 9592*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_CREDENTIALS = 10; // 0xa 9593*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_NUMBER = 7; // 0x7 9594*344a7f5eSAndroid Build Coastguard Worker field public static final int LIMIT_EXCEEDED = 15; // 0xf 9595*344a7f5eSAndroid Build Coastguard Worker field public static final int LOCAL = 3; // 0x3 9596*344a7f5eSAndroid Build Coastguard Worker field public static final int LOST_SIGNAL = 14; // 0xe 9597*344a7f5eSAndroid Build Coastguard Worker field public static final int LOW_BATTERY = 61; // 0x3d 9598*344a7f5eSAndroid Build Coastguard Worker field public static final int MAXIMUM_NUMBER_OF_CALLS_REACHED = 53; // 0x35 9599*344a7f5eSAndroid Build Coastguard Worker field public static final int MMI = 6; // 0x6 9600*344a7f5eSAndroid Build Coastguard Worker field public static final int NORMAL = 2; // 0x2 9601*344a7f5eSAndroid Build Coastguard Worker field public static final int NORMAL_UNSPECIFIED = 65; // 0x41 9602*344a7f5eSAndroid Build Coastguard Worker field public static final int NOT_DISCONNECTED = 0; // 0x0 9603*344a7f5eSAndroid Build Coastguard Worker field public static final int NOT_VALID = -1; // 0xffffffff 9604*344a7f5eSAndroid Build Coastguard Worker field public static final int NO_PHONE_NUMBER_SUPPLIED = 38; // 0x26 9605*344a7f5eSAndroid Build Coastguard Worker field public static final int NUMBER_UNREACHABLE = 8; // 0x8 9606*344a7f5eSAndroid Build Coastguard Worker field public static final int OTASP_PROVISIONING_IN_PROCESS = 76; // 0x4c 9607*344a7f5eSAndroid Build Coastguard Worker field public static final int OUTGOING_CANCELED = 44; // 0x2c 9608*344a7f5eSAndroid Build Coastguard Worker field public static final int OUTGOING_EMERGENCY_CALL_PLACED = 80; // 0x50 9609*344a7f5eSAndroid Build Coastguard Worker field public static final int OUTGOING_FAILURE = 43; // 0x2b 9610*344a7f5eSAndroid Build Coastguard Worker field public static final int OUT_OF_NETWORK = 11; // 0xb 9611*344a7f5eSAndroid Build Coastguard Worker field public static final int OUT_OF_SERVICE = 18; // 0x12 9612*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_OFF = 17; // 0x11 9613*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVER_ERROR = 12; // 0xc 9614*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVER_UNREACHABLE = 9; // 0x9 9615*344a7f5eSAndroid Build Coastguard Worker field public static final int TIMED_OUT = 13; // 0xd 9616*344a7f5eSAndroid Build Coastguard Worker field public static final int TOO_MANY_ONGOING_CALLS = 75; // 0x4b 9617*344a7f5eSAndroid Build Coastguard Worker field public static final int UNOBTAINABLE_NUMBER = 25; // 0x19 9618*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_CALL_NOT_ALLOWED_WHILE_TTY_ENABLED = 50; // 0x32 9619*344a7f5eSAndroid Build Coastguard Worker field public static final int VOICEMAIL_NUMBER_MISSING = 40; // 0x28 9620*344a7f5eSAndroid Build Coastguard Worker field public static final int WIFI_LOST = 59; // 0x3b 9621*344a7f5eSAndroid Build Coastguard Worker } 9622*344a7f5eSAndroid Build Coastguard Worker 9623*344a7f5eSAndroid Build Coastguard Worker public final class ImsiEncryptionInfo implements android.os.Parcelable { 9624*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9625*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getKeyIdentifier(); 9626*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.security.PublicKey getPublicKey(); 9627*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 9628*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ImsiEncryptionInfo> CREATOR; 9629*344a7f5eSAndroid Build Coastguard Worker } 9630*344a7f5eSAndroid Build Coastguard Worker 9631*344a7f5eSAndroid Build Coastguard Worker public final class LteVopsSupportInfo implements android.os.Parcelable { 9632*344a7f5eSAndroid Build Coastguard Worker ctor public LteVopsSupportInfo(int, int); 9633*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9634*344a7f5eSAndroid Build Coastguard Worker method public int getEmcBearerSupport(); 9635*344a7f5eSAndroid Build Coastguard Worker method public int getVopsSupport(); 9636*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9637*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.LteVopsSupportInfo> CREATOR; 9638*344a7f5eSAndroid Build Coastguard Worker field public static final int LTE_STATUS_NOT_AVAILABLE = 1; // 0x1 9639*344a7f5eSAndroid Build Coastguard Worker field public static final int LTE_STATUS_NOT_SUPPORTED = 3; // 0x3 9640*344a7f5eSAndroid Build Coastguard Worker field public static final int LTE_STATUS_SUPPORTED = 2; // 0x2 9641*344a7f5eSAndroid Build Coastguard Worker } 9642*344a7f5eSAndroid Build Coastguard Worker 9643*344a7f5eSAndroid Build Coastguard Worker public class MbmsDownloadSession implements java.lang.AutoCloseable { 9644*344a7f5eSAndroid Build Coastguard Worker field public static final String MBMS_DOWNLOAD_SERVICE_ACTION = "android.telephony.action.EmbmsDownload"; 9645*344a7f5eSAndroid Build Coastguard Worker } 9646*344a7f5eSAndroid Build Coastguard Worker 9647*344a7f5eSAndroid Build Coastguard Worker public class MbmsGroupCallSession implements java.lang.AutoCloseable { 9648*344a7f5eSAndroid Build Coastguard Worker field public static final String MBMS_GROUP_CALL_SERVICE_ACTION = "android.telephony.action.EmbmsGroupCall"; 9649*344a7f5eSAndroid Build Coastguard Worker } 9650*344a7f5eSAndroid Build Coastguard Worker 9651*344a7f5eSAndroid Build Coastguard Worker public class MbmsStreamingSession implements java.lang.AutoCloseable { 9652*344a7f5eSAndroid Build Coastguard Worker field public static final String MBMS_STREAMING_SERVICE_ACTION = "android.telephony.action.EmbmsStreaming"; 9653*344a7f5eSAndroid Build Coastguard Worker } 9654*344a7f5eSAndroid Build Coastguard Worker 9655*344a7f5eSAndroid Build Coastguard Worker public final class NetworkRegistrationInfo implements android.os.Parcelable { 9656*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.telephony.DataSpecificRegistrationInfo getDataSpecificInfo(); 9657*344a7f5eSAndroid Build Coastguard Worker method public int getRegistrationState(); 9658*344a7f5eSAndroid Build Coastguard Worker method public int getRejectCause(); 9659*344a7f5eSAndroid Build Coastguard Worker method public int getRoamingType(); 9660*344a7f5eSAndroid Build Coastguard Worker method public boolean isEmergencyEnabled(); 9661*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9662*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_STATE_DENIED = 3; // 0x3 9663*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_STATE_HOME = 1; // 0x1 9664*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_STATE_NOT_REGISTERED_OR_SEARCHING = 0; // 0x0 9665*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_STATE_NOT_REGISTERED_SEARCHING = 2; // 0x2 9666*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_STATE_ROAMING = 5; // 0x5 9667*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_STATE_UNKNOWN = 4; // 0x4 9668*344a7f5eSAndroid Build Coastguard Worker } 9669*344a7f5eSAndroid Build Coastguard Worker 9670*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkRegistrationInfo.Builder { 9671*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkRegistrationInfo.Builder(); 9672*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo build(); 9673*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAccessNetworkTechnology(int); 9674*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAvailableServices(@NonNull java.util.List<java.lang.Integer>); 9675*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setCellIdentity(@Nullable android.telephony.CellIdentity); 9676*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setDomain(int); 9677*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setEmergencyOnly(boolean); 9678*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRegisteredPlmn(@Nullable String); 9679*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRegistrationState(int); 9680*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRejectCause(int); 9681*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setTransportType(int); 9682*344a7f5eSAndroid Build Coastguard Worker } 9683*344a7f5eSAndroid Build Coastguard Worker 9684*344a7f5eSAndroid Build Coastguard Worker public abstract class NetworkService extends android.app.Service { 9685*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkService(); 9686*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder onBind(android.content.Intent); 9687*344a7f5eSAndroid Build Coastguard Worker method @Nullable public abstract android.telephony.NetworkService.NetworkServiceProvider onCreateNetworkServiceProvider(int); 9688*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.telephony.NetworkService"; 9689*344a7f5eSAndroid Build Coastguard Worker } 9690*344a7f5eSAndroid Build Coastguard Worker 9691*344a7f5eSAndroid Build Coastguard Worker public abstract class NetworkService.NetworkServiceProvider implements java.lang.AutoCloseable { 9692*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkService.NetworkServiceProvider(int); 9693*344a7f5eSAndroid Build Coastguard Worker method public abstract void close(); 9694*344a7f5eSAndroid Build Coastguard Worker method public final int getSlotIndex(); 9695*344a7f5eSAndroid Build Coastguard Worker method public final void notifyNetworkRegistrationInfoChanged(); 9696*344a7f5eSAndroid Build Coastguard Worker method public void requestNetworkRegistrationInfo(int, @NonNull android.telephony.NetworkServiceCallback); 9697*344a7f5eSAndroid Build Coastguard Worker } 9698*344a7f5eSAndroid Build Coastguard Worker 9699*344a7f5eSAndroid Build Coastguard Worker public class NetworkServiceCallback { 9700*344a7f5eSAndroid Build Coastguard Worker method public void onRequestNetworkRegistrationInfoComplete(int, @Nullable android.telephony.NetworkRegistrationInfo); 9701*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_ERROR_BUSY = 3; // 0x3 9702*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_ERROR_FAILED = 5; // 0x5 9703*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_ERROR_ILLEGAL_STATE = 4; // 0x4 9704*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_ERROR_INVALID_ARG = 2; // 0x2 9705*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_ERROR_UNSUPPORTED = 1; // 0x1 9706*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_SUCCESS = 0; // 0x0 9707*344a7f5eSAndroid Build Coastguard Worker } 9708*344a7f5eSAndroid Build Coastguard Worker 9709*344a7f5eSAndroid Build Coastguard Worker public interface NumberVerificationCallback { 9710*344a7f5eSAndroid Build Coastguard Worker method public default void onCallReceived(@NonNull String); 9711*344a7f5eSAndroid Build Coastguard Worker method public default void onVerificationFailed(int); 9712*344a7f5eSAndroid Build Coastguard Worker field public static final int REASON_CONCURRENT_REQUESTS = 4; // 0x4 9713*344a7f5eSAndroid Build Coastguard Worker field public static final int REASON_IN_ECBM = 5; // 0x5 9714*344a7f5eSAndroid Build Coastguard Worker field public static final int REASON_IN_EMERGENCY_CALL = 6; // 0x6 9715*344a7f5eSAndroid Build Coastguard Worker field public static final int REASON_NETWORK_NOT_AVAILABLE = 2; // 0x2 9716*344a7f5eSAndroid Build Coastguard Worker field public static final int REASON_TIMED_OUT = 1; // 0x1 9717*344a7f5eSAndroid Build Coastguard Worker field public static final int REASON_TOO_MANY_CALLS = 3; // 0x3 9718*344a7f5eSAndroid Build Coastguard Worker field public static final int REASON_UNSPECIFIED = 0; // 0x0 9719*344a7f5eSAndroid Build Coastguard Worker } 9720*344a7f5eSAndroid Build Coastguard Worker 9721*344a7f5eSAndroid Build Coastguard Worker public final class PhoneNumberRange implements android.os.Parcelable { 9722*344a7f5eSAndroid Build Coastguard Worker ctor public PhoneNumberRange(@NonNull String, @NonNull String, @NonNull String, @NonNull String); 9723*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9724*344a7f5eSAndroid Build Coastguard Worker method public boolean matches(@NonNull String); 9725*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9726*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.PhoneNumberRange> CREATOR; 9727*344a7f5eSAndroid Build Coastguard Worker } 9728*344a7f5eSAndroid Build Coastguard Worker 9729*344a7f5eSAndroid Build Coastguard Worker public class PhoneNumberUtils { 9730*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String getUsernameFromUriNumber(@NonNull String); 9731*344a7f5eSAndroid Build Coastguard Worker method public static boolean isUriNumber(@Nullable String); 9732*344a7f5eSAndroid Build Coastguard Worker method public static boolean isVoiceMailNumber(@NonNull android.content.Context, int, @Nullable String); 9733*344a7f5eSAndroid Build Coastguard Worker } 9734*344a7f5eSAndroid Build Coastguard Worker 9735*344a7f5eSAndroid Build Coastguard Worker public class PhoneStateListener { 9736*344a7f5eSAndroid Build Coastguard Worker method public void onCallAttributesChanged(@NonNull android.telephony.CallAttributes); 9737*344a7f5eSAndroid Build Coastguard Worker method public void onOutgoingEmergencyCall(@NonNull android.telephony.emergency.EmergencyNumber); 9738*344a7f5eSAndroid Build Coastguard Worker method public void onOutgoingEmergencySms(@NonNull android.telephony.emergency.EmergencyNumber); 9739*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE") public void onPreciseCallStateChanged(@NonNull android.telephony.PreciseCallState); 9740*344a7f5eSAndroid Build Coastguard Worker method public void onRadioPowerStateChanged(int); 9741*344a7f5eSAndroid Build Coastguard Worker method public void onSrvccStateChanged(int); 9742*344a7f5eSAndroid Build Coastguard Worker method public void onVoiceActivationStateChanged(int); 9743*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE") public static final int LISTEN_CALL_ATTRIBUTES_CHANGED = 67108864; // 0x4000000 9744*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public static final int LISTEN_OUTGOING_EMERGENCY_CALL = 268435456; // 0x10000000 9745*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public static final int LISTEN_OUTGOING_EMERGENCY_SMS = 536870912; // 0x20000000 9746*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE") public static final int LISTEN_PRECISE_CALL_STATE = 2048; // 0x800 9747*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int LISTEN_RADIO_POWER_STATE_CHANGED = 8388608; // 0x800000 9748*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int LISTEN_SRVCC_STATE_CHANGED = 16384; // 0x4000 9749*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int LISTEN_VOICE_ACTIVATION_STATE = 131072; // 0x20000 9750*344a7f5eSAndroid Build Coastguard Worker } 9751*344a7f5eSAndroid Build Coastguard Worker 9752*344a7f5eSAndroid Build Coastguard Worker public final class PreciseCallState implements android.os.Parcelable { 9753*344a7f5eSAndroid Build Coastguard Worker ctor public PreciseCallState(int, int, int, int, int); 9754*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9755*344a7f5eSAndroid Build Coastguard Worker method public int getBackgroundCallState(); 9756*344a7f5eSAndroid Build Coastguard Worker method public int getForegroundCallState(); 9757*344a7f5eSAndroid Build Coastguard Worker method public int getRingingCallState(); 9758*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9759*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.PreciseCallState> CREATOR; 9760*344a7f5eSAndroid Build Coastguard Worker field public static final int PRECISE_CALL_STATE_ACTIVE = 1; // 0x1 9761*344a7f5eSAndroid Build Coastguard Worker field public static final int PRECISE_CALL_STATE_ALERTING = 4; // 0x4 9762*344a7f5eSAndroid Build Coastguard Worker field public static final int PRECISE_CALL_STATE_DIALING = 3; // 0x3 9763*344a7f5eSAndroid Build Coastguard Worker field public static final int PRECISE_CALL_STATE_DISCONNECTED = 7; // 0x7 9764*344a7f5eSAndroid Build Coastguard Worker field public static final int PRECISE_CALL_STATE_DISCONNECTING = 8; // 0x8 9765*344a7f5eSAndroid Build Coastguard Worker field public static final int PRECISE_CALL_STATE_HOLDING = 2; // 0x2 9766*344a7f5eSAndroid Build Coastguard Worker field public static final int PRECISE_CALL_STATE_IDLE = 0; // 0x0 9767*344a7f5eSAndroid Build Coastguard Worker field public static final int PRECISE_CALL_STATE_INCOMING = 5; // 0x5 9768*344a7f5eSAndroid Build Coastguard Worker field public static final int PRECISE_CALL_STATE_NOT_VALID = -1; // 0xffffffff 9769*344a7f5eSAndroid Build Coastguard Worker field public static final int PRECISE_CALL_STATE_WAITING = 6; // 0x6 9770*344a7f5eSAndroid Build Coastguard Worker } 9771*344a7f5eSAndroid Build Coastguard Worker 9772*344a7f5eSAndroid Build Coastguard Worker public final class PreciseDataConnectionState implements android.os.Parcelable { 9773*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public String getDataConnectionApn(); 9774*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getDataConnectionApnTypeBitMask(); 9775*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getDataConnectionFailCause(); 9776*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getDataConnectionState(); 9777*344a7f5eSAndroid Build Coastguard Worker } 9778*344a7f5eSAndroid Build Coastguard Worker 9779*344a7f5eSAndroid Build Coastguard Worker public final class PreciseDisconnectCause { 9780*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCESS_CLASS_BLOCKED = 260; // 0x104 9781*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCESS_INFORMATION_DISCARDED = 43; // 0x2b 9782*344a7f5eSAndroid Build Coastguard Worker field public static final int ACM_LIMIT_EXCEEDED = 68; // 0x44 9783*344a7f5eSAndroid Build Coastguard Worker field public static final int BEARER_CAPABILITY_NOT_AUTHORIZED = 57; // 0x39 9784*344a7f5eSAndroid Build Coastguard Worker field public static final int BEARER_NOT_AVAIL = 58; // 0x3a 9785*344a7f5eSAndroid Build Coastguard Worker field public static final int BEARER_SERVICE_NOT_IMPLEMENTED = 65; // 0x41 9786*344a7f5eSAndroid Build Coastguard Worker field public static final int BUSY = 17; // 0x11 9787*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_BARRED = 240; // 0xf0 9788*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_REJECTED = 21; // 0x15 9789*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_ACCESS_BLOCKED = 1009; // 0x3f1 9790*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_ACCESS_FAILURE = 1006; // 0x3ee 9791*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_DROP = 1001; // 0x3e9 9792*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_INTERCEPT = 1002; // 0x3ea 9793*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_LOCKED_UNTIL_POWER_CYCLE = 1000; // 0x3e8 9794*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_NOT_EMERGENCY = 1008; // 0x3f0 9795*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_PREEMPTED = 1007; // 0x3ef 9796*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_REORDER = 1003; // 0x3eb 9797*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_RETRY_ORDER = 1005; // 0x3ed 9798*344a7f5eSAndroid Build Coastguard Worker field public static final int CDMA_SO_REJECT = 1004; // 0x3ec 9799*344a7f5eSAndroid Build Coastguard Worker field public static final int CHANNEL_NOT_AVAIL = 44; // 0x2c 9800*344a7f5eSAndroid Build Coastguard Worker field public static final int CHANNEL_UNACCEPTABLE = 6; // 0x6 9801*344a7f5eSAndroid Build Coastguard Worker field public static final int CONDITIONAL_IE_ERROR = 100; // 0x64 9802*344a7f5eSAndroid Build Coastguard Worker field public static final int DESTINATION_OUT_OF_ORDER = 27; // 0x1b 9803*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_UNSPECIFIED = 65535; // 0xffff 9804*344a7f5eSAndroid Build Coastguard Worker field public static final int FACILITY_REJECTED = 29; // 0x1d 9805*344a7f5eSAndroid Build Coastguard Worker field public static final int FDN_BLOCKED = 241; // 0xf1 9806*344a7f5eSAndroid Build Coastguard Worker field public static final int IMEI_NOT_ACCEPTED = 243; // 0xf3 9807*344a7f5eSAndroid Build Coastguard Worker field public static final int IMSI_UNKNOWN_IN_VLR = 242; // 0xf2 9808*344a7f5eSAndroid Build Coastguard Worker field public static final int INCOMING_CALLS_BARRED_WITHIN_CUG = 55; // 0x37 9809*344a7f5eSAndroid Build Coastguard Worker field public static final int INCOMPATIBLE_DESTINATION = 88; // 0x58 9810*344a7f5eSAndroid Build Coastguard Worker field public static final int INFORMATION_ELEMENT_NON_EXISTENT = 99; // 0x63 9811*344a7f5eSAndroid Build Coastguard Worker field public static final int INTERWORKING_UNSPECIFIED = 127; // 0x7f 9812*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_MANDATORY_INFORMATION = 96; // 0x60 9813*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_NUMBER_FORMAT = 28; // 0x1c 9814*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_TRANSACTION_IDENTIFIER = 81; // 0x51 9815*344a7f5eSAndroid Build Coastguard Worker field public static final int MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101; // 0x65 9816*344a7f5eSAndroid Build Coastguard Worker field public static final int MESSAGE_TYPE_NON_IMPLEMENTED = 97; // 0x61 9817*344a7f5eSAndroid Build Coastguard Worker field public static final int MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98; // 0x62 9818*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_DETACH = 261; // 0x105 9819*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_OUT_OF_ORDER = 38; // 0x26 9820*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_REJECT = 252; // 0xfc 9821*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_RESP_TIMEOUT = 251; // 0xfb 9822*344a7f5eSAndroid Build Coastguard Worker field public static final int NORMAL = 16; // 0x10 9823*344a7f5eSAndroid Build Coastguard Worker field public static final int NORMAL_UNSPECIFIED = 31; // 0x1f 9824*344a7f5eSAndroid Build Coastguard Worker field public static final int NOT_VALID = -1; // 0xffffffff 9825*344a7f5eSAndroid Build Coastguard Worker field public static final int NO_ANSWER_FROM_USER = 19; // 0x13 9826*344a7f5eSAndroid Build Coastguard Worker field public static final int NO_CIRCUIT_AVAIL = 34; // 0x22 9827*344a7f5eSAndroid Build Coastguard Worker field public static final int NO_DISCONNECT_CAUSE_AVAILABLE = 0; // 0x0 9828*344a7f5eSAndroid Build Coastguard Worker field public static final int NO_ROUTE_TO_DESTINATION = 3; // 0x3 9829*344a7f5eSAndroid Build Coastguard Worker field public static final int NO_USER_RESPONDING = 18; // 0x12 9830*344a7f5eSAndroid Build Coastguard Worker field public static final int NO_VALID_SIM = 249; // 0xf9 9831*344a7f5eSAndroid Build Coastguard Worker field public static final int NUMBER_CHANGED = 22; // 0x16 9832*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_1 = 61441; // 0xf001 9833*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_10 = 61450; // 0xf00a 9834*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_11 = 61451; // 0xf00b 9835*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_12 = 61452; // 0xf00c 9836*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_13 = 61453; // 0xf00d 9837*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_14 = 61454; // 0xf00e 9838*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_15 = 61455; // 0xf00f 9839*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_2 = 61442; // 0xf002 9840*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_3 = 61443; // 0xf003 9841*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_4 = 61444; // 0xf004 9842*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_5 = 61445; // 0xf005 9843*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_6 = 61446; // 0xf006 9844*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_7 = 61447; // 0xf007 9845*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_8 = 61448; // 0xf008 9846*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_CAUSE_9 = 61449; // 0xf009 9847*344a7f5eSAndroid Build Coastguard Worker field public static final int ONLY_DIGITAL_INFORMATION_BEARER_AVAILABLE = 70; // 0x46 9848*344a7f5eSAndroid Build Coastguard Worker field public static final int OPERATOR_DETERMINED_BARRING = 8; // 0x8 9849*344a7f5eSAndroid Build Coastguard Worker field public static final int OUT_OF_SRV = 248; // 0xf8 9850*344a7f5eSAndroid Build Coastguard Worker field public static final int PREEMPTION = 25; // 0x19 9851*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTOCOL_ERROR_UNSPECIFIED = 111; // 0x6f 9852*344a7f5eSAndroid Build Coastguard Worker field public static final int QOS_NOT_AVAIL = 49; // 0x31 9853*344a7f5eSAndroid Build Coastguard Worker field public static final int RADIO_ACCESS_FAILURE = 253; // 0xfd 9854*344a7f5eSAndroid Build Coastguard Worker field public static final int RADIO_INTERNAL_ERROR = 250; // 0xfa 9855*344a7f5eSAndroid Build Coastguard Worker field public static final int RADIO_LINK_FAILURE = 254; // 0xfe 9856*344a7f5eSAndroid Build Coastguard Worker field public static final int RADIO_LINK_LOST = 255; // 0xff 9857*344a7f5eSAndroid Build Coastguard Worker field public static final int RADIO_OFF = 247; // 0xf7 9858*344a7f5eSAndroid Build Coastguard Worker field public static final int RADIO_RELEASE_ABNORMAL = 259; // 0x103 9859*344a7f5eSAndroid Build Coastguard Worker field public static final int RADIO_RELEASE_NORMAL = 258; // 0x102 9860*344a7f5eSAndroid Build Coastguard Worker field public static final int RADIO_SETUP_FAILURE = 257; // 0x101 9861*344a7f5eSAndroid Build Coastguard Worker field public static final int RADIO_UPLINK_FAILURE = 256; // 0x100 9862*344a7f5eSAndroid Build Coastguard Worker field public static final int RECOVERY_ON_TIMER_EXPIRED = 102; // 0x66 9863*344a7f5eSAndroid Build Coastguard Worker field public static final int REQUESTED_FACILITY_NOT_IMPLEMENTED = 69; // 0x45 9864*344a7f5eSAndroid Build Coastguard Worker field public static final int REQUESTED_FACILITY_NOT_SUBSCRIBED = 50; // 0x32 9865*344a7f5eSAndroid Build Coastguard Worker field public static final int RESOURCES_UNAVAILABLE_OR_UNSPECIFIED = 47; // 0x2f 9866*344a7f5eSAndroid Build Coastguard Worker field public static final int SEMANTICALLY_INCORRECT_MESSAGE = 95; // 0x5f 9867*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_OPTION_NOT_AVAILABLE = 63; // 0x3f 9868*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_OR_OPTION_NOT_IMPLEMENTED = 79; // 0x4f 9869*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_ENQUIRY = 30; // 0x1e 9870*344a7f5eSAndroid Build Coastguard Worker field public static final int SWITCHING_CONGESTION = 42; // 0x2a 9871*344a7f5eSAndroid Build Coastguard Worker field public static final int TEMPORARY_FAILURE = 41; // 0x29 9872*344a7f5eSAndroid Build Coastguard Worker field public static final int UNOBTAINABLE_NUMBER = 1; // 0x1 9873*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_NOT_MEMBER_OF_CUG = 87; // 0x57 9874*344a7f5eSAndroid Build Coastguard Worker } 9875*344a7f5eSAndroid Build Coastguard Worker 9876*344a7f5eSAndroid Build Coastguard Worker public class ServiceState implements android.os.Parcelable { 9877*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.telephony.NetworkRegistrationInfo getNetworkRegistrationInfo(int, int); 9878*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoListForDomain(int); 9879*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoListForTransportType(int); 9880*344a7f5eSAndroid Build Coastguard Worker field public static final int ROAMING_TYPE_DOMESTIC = 2; // 0x2 9881*344a7f5eSAndroid Build Coastguard Worker field public static final int ROAMING_TYPE_INTERNATIONAL = 3; // 0x3 9882*344a7f5eSAndroid Build Coastguard Worker field public static final int ROAMING_TYPE_NOT_ROAMING = 0; // 0x0 9883*344a7f5eSAndroid Build Coastguard Worker field public static final int ROAMING_TYPE_UNKNOWN = 1; // 0x1 9884*344a7f5eSAndroid Build Coastguard Worker } 9885*344a7f5eSAndroid Build Coastguard Worker 9886*344a7f5eSAndroid Build Coastguard Worker public final class SmsCbCmasInfo implements android.os.Parcelable { 9887*344a7f5eSAndroid Build Coastguard Worker ctor public SmsCbCmasInfo(int, int, int, int, int, int); 9888*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9889*344a7f5eSAndroid Build Coastguard Worker method public int getCategory(); 9890*344a7f5eSAndroid Build Coastguard Worker method public int getCertainty(); 9891*344a7f5eSAndroid Build Coastguard Worker method public int getMessageClass(); 9892*344a7f5eSAndroid Build Coastguard Worker method public int getResponseType(); 9893*344a7f5eSAndroid Build Coastguard Worker method public int getSeverity(); 9894*344a7f5eSAndroid Build Coastguard Worker method public int getUrgency(); 9895*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9896*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_CBRNE = 10; // 0xa 9897*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_ENV = 7; // 0x7 9898*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_FIRE = 5; // 0x5 9899*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_GEO = 0; // 0x0 9900*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_HEALTH = 6; // 0x6 9901*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_INFRA = 9; // 0x9 9902*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_MET = 1; // 0x1 9903*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_OTHER = 11; // 0xb 9904*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_RESCUE = 4; // 0x4 9905*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_SAFETY = 2; // 0x2 9906*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_SECURITY = 3; // 0x3 9907*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_TRANSPORT = 8; // 0x8 9908*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CATEGORY_UNKNOWN = -1; // 0xffffffff 9909*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CERTAINTY_LIKELY = 1; // 0x1 9910*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CERTAINTY_OBSERVED = 0; // 0x0 9911*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CERTAINTY_UNKNOWN = -1; // 0xffffffff 9912*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY = 3; // 0x3 9913*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CLASS_CMAS_EXERCISE = 5; // 0x5 9914*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CLASS_EXTREME_THREAT = 1; // 0x1 9915*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CLASS_OPERATOR_DEFINED_USE = 6; // 0x6 9916*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT = 0; // 0x0 9917*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CLASS_REQUIRED_MONTHLY_TEST = 4; // 0x4 9918*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CLASS_SEVERE_THREAT = 2; // 0x2 9919*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_CLASS_UNKNOWN = -1; // 0xffffffff 9920*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_RESPONSE_TYPE_ASSESS = 6; // 0x6 9921*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_RESPONSE_TYPE_AVOID = 5; // 0x5 9922*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_RESPONSE_TYPE_EVACUATE = 1; // 0x1 9923*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_RESPONSE_TYPE_EXECUTE = 3; // 0x3 9924*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_RESPONSE_TYPE_MONITOR = 4; // 0x4 9925*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_RESPONSE_TYPE_NONE = 7; // 0x7 9926*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_RESPONSE_TYPE_PREPARE = 2; // 0x2 9927*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_RESPONSE_TYPE_SHELTER = 0; // 0x0 9928*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_RESPONSE_TYPE_UNKNOWN = -1; // 0xffffffff 9929*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_SEVERITY_EXTREME = 0; // 0x0 9930*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_SEVERITY_SEVERE = 1; // 0x1 9931*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_SEVERITY_UNKNOWN = -1; // 0xffffffff 9932*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_URGENCY_EXPECTED = 1; // 0x1 9933*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_URGENCY_IMMEDIATE = 0; // 0x0 9934*344a7f5eSAndroid Build Coastguard Worker field public static final int CMAS_URGENCY_UNKNOWN = -1; // 0xffffffff 9935*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbCmasInfo> CREATOR; 9936*344a7f5eSAndroid Build Coastguard Worker } 9937*344a7f5eSAndroid Build Coastguard Worker 9938*344a7f5eSAndroid Build Coastguard Worker public final class SmsCbEtwsInfo implements android.os.Parcelable { 9939*344a7f5eSAndroid Build Coastguard Worker ctor public SmsCbEtwsInfo(int, boolean, boolean, boolean, @Nullable byte[]); 9940*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9941*344a7f5eSAndroid Build Coastguard Worker method @Nullable public byte[] getPrimaryNotificationSignature(); 9942*344a7f5eSAndroid Build Coastguard Worker method public long getPrimaryNotificationTimestamp(); 9943*344a7f5eSAndroid Build Coastguard Worker method public int getWarningType(); 9944*344a7f5eSAndroid Build Coastguard Worker method public boolean isEmergencyUserAlert(); 9945*344a7f5eSAndroid Build Coastguard Worker method public boolean isPopupAlert(); 9946*344a7f5eSAndroid Build Coastguard Worker method public boolean isPrimary(); 9947*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9948*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbEtwsInfo> CREATOR; 9949*344a7f5eSAndroid Build Coastguard Worker field public static final int ETWS_WARNING_TYPE_EARTHQUAKE = 0; // 0x0 9950*344a7f5eSAndroid Build Coastguard Worker field public static final int ETWS_WARNING_TYPE_EARTHQUAKE_AND_TSUNAMI = 2; // 0x2 9951*344a7f5eSAndroid Build Coastguard Worker field public static final int ETWS_WARNING_TYPE_OTHER_EMERGENCY = 4; // 0x4 9952*344a7f5eSAndroid Build Coastguard Worker field public static final int ETWS_WARNING_TYPE_TEST_MESSAGE = 3; // 0x3 9953*344a7f5eSAndroid Build Coastguard Worker field public static final int ETWS_WARNING_TYPE_TSUNAMI = 1; // 0x1 9954*344a7f5eSAndroid Build Coastguard Worker field public static final int ETWS_WARNING_TYPE_UNKNOWN = -1; // 0xffffffff 9955*344a7f5eSAndroid Build Coastguard Worker } 9956*344a7f5eSAndroid Build Coastguard Worker 9957*344a7f5eSAndroid Build Coastguard Worker public final class SmsCbLocation implements android.os.Parcelable { 9958*344a7f5eSAndroid Build Coastguard Worker ctor public SmsCbLocation(@NonNull String, int, int); 9959*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9960*344a7f5eSAndroid Build Coastguard Worker method public int getCid(); 9961*344a7f5eSAndroid Build Coastguard Worker method public int getLac(); 9962*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPlmn(); 9963*344a7f5eSAndroid Build Coastguard Worker method public boolean isInLocationArea(@NonNull android.telephony.SmsCbLocation); 9964*344a7f5eSAndroid Build Coastguard Worker method public boolean isInLocationArea(@Nullable String, int, int); 9965*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9966*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbLocation> CREATOR; 9967*344a7f5eSAndroid Build Coastguard Worker } 9968*344a7f5eSAndroid Build Coastguard Worker 9969*344a7f5eSAndroid Build Coastguard Worker public final class SmsCbMessage implements android.os.Parcelable { 9970*344a7f5eSAndroid Build Coastguard Worker 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<android.telephony.CbGeoUtils.Geometry>, long, int, int); 9971*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.telephony.SmsCbMessage createFromCursor(@NonNull android.database.Cursor); 9972*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 9973*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.telephony.SmsCbCmasInfo getCmasWarningInfo(); 9974*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.ContentValues getContentValues(); 9975*344a7f5eSAndroid Build Coastguard Worker method public int getDataCodingScheme(); 9976*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.telephony.SmsCbEtwsInfo getEtwsWarningInfo(); 9977*344a7f5eSAndroid Build Coastguard Worker method public int getGeographicalScope(); 9978*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.telephony.CbGeoUtils.Geometry> getGeometries(); 9979*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getLanguageCode(); 9980*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.SmsCbLocation getLocation(); 9981*344a7f5eSAndroid Build Coastguard Worker method public int getMaximumWaitingDuration(); 9982*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getMessageBody(); 9983*344a7f5eSAndroid Build Coastguard Worker method public int getMessageFormat(); 9984*344a7f5eSAndroid Build Coastguard Worker method public int getMessagePriority(); 9985*344a7f5eSAndroid Build Coastguard Worker method public long getReceivedTime(); 9986*344a7f5eSAndroid Build Coastguard Worker method public int getSerialNumber(); 9987*344a7f5eSAndroid Build Coastguard Worker method public int getServiceCategory(); 9988*344a7f5eSAndroid Build Coastguard Worker method public int getSlotIndex(); 9989*344a7f5eSAndroid Build Coastguard Worker method public int getSubscriptionId(); 9990*344a7f5eSAndroid Build Coastguard Worker method public boolean isCmasMessage(); 9991*344a7f5eSAndroid Build Coastguard Worker method public boolean isEmergencyMessage(); 9992*344a7f5eSAndroid Build Coastguard Worker method public boolean isEtwsMessage(); 9993*344a7f5eSAndroid Build Coastguard Worker method public boolean needGeoFencingCheck(); 9994*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 9995*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbMessage> CREATOR; 9996*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOGRAPHICAL_SCOPE_CELL_WIDE = 3; // 0x3 9997*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOGRAPHICAL_SCOPE_CELL_WIDE_IMMEDIATE = 0; // 0x0 9998*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOGRAPHICAL_SCOPE_LOCATION_AREA_WIDE = 2; // 0x2 9999*344a7f5eSAndroid Build Coastguard Worker field public static final int GEOGRAPHICAL_SCOPE_PLMN_WIDE = 1; // 0x1 10000*344a7f5eSAndroid Build Coastguard Worker field public static final int MAXIMUM_WAIT_TIME_NOT_SET = 255; // 0xff 10001*344a7f5eSAndroid Build Coastguard Worker field public static final int MESSAGE_FORMAT_3GPP = 1; // 0x1 10002*344a7f5eSAndroid Build Coastguard Worker field public static final int MESSAGE_FORMAT_3GPP2 = 2; // 0x2 10003*344a7f5eSAndroid Build Coastguard Worker field public static final int MESSAGE_PRIORITY_EMERGENCY = 3; // 0x3 10004*344a7f5eSAndroid Build Coastguard Worker field public static final int MESSAGE_PRIORITY_INTERACTIVE = 1; // 0x1 10005*344a7f5eSAndroid Build Coastguard Worker field public static final int MESSAGE_PRIORITY_NORMAL = 0; // 0x0 10006*344a7f5eSAndroid Build Coastguard Worker field public static final int MESSAGE_PRIORITY_URGENT = 2; // 0x2 10007*344a7f5eSAndroid Build Coastguard Worker } 10008*344a7f5eSAndroid Build Coastguard Worker 10009*344a7f5eSAndroid Build Coastguard Worker public final class SmsManager { 10010*344a7f5eSAndroid Build Coastguard Worker method public boolean disableCellBroadcastRange(int, int, int); 10011*344a7f5eSAndroid Build Coastguard Worker method public boolean enableCellBroadcastRange(int, int, int); 10012*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getPremiumSmsConsent(@NonNull String); 10013*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSmsCapacityOnIcc(); 10014*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void sendMultipartTextMessageWithoutPersisting(String, String, java.util.List<java.lang.String>, java.util.List<android.app.PendingIntent>, java.util.List<android.app.PendingIntent>); 10015*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setPremiumSmsConsent(@NonNull String, int); 10016*344a7f5eSAndroid Build Coastguard Worker field public static final int PREMIUM_SMS_CONSENT_ALWAYS_ALLOW = 3; // 0x3 10017*344a7f5eSAndroid Build Coastguard Worker field public static final int PREMIUM_SMS_CONSENT_ASK_USER = 1; // 0x1 10018*344a7f5eSAndroid Build Coastguard Worker field public static final int PREMIUM_SMS_CONSENT_NEVER_ALLOW = 2; // 0x2 10019*344a7f5eSAndroid Build Coastguard Worker field public static final int PREMIUM_SMS_CONSENT_UNKNOWN = 0; // 0x0 10020*344a7f5eSAndroid Build Coastguard Worker } 10021*344a7f5eSAndroid Build Coastguard Worker 10022*344a7f5eSAndroid Build Coastguard Worker public class SmsMessage { 10023*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.telephony.SmsMessage createFromNativeSmsSubmitPdu(@NonNull byte[], boolean); 10024*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.telephony.SmsMessage.SubmitPdu getSmsPdu(int, int, @Nullable String, @NonNull String, @NonNull String, long); 10025*344a7f5eSAndroid Build Coastguard Worker 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); 10026*344a7f5eSAndroid Build Coastguard Worker } 10027*344a7f5eSAndroid Build Coastguard Worker 10028*344a7f5eSAndroid Build Coastguard Worker public class SubscriptionInfo implements android.os.Parcelable { 10029*344a7f5eSAndroid Build Coastguard Worker method public boolean areUiccApplicationsEnabled(); 10030*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.util.List<android.telephony.UiccAccessRule> getAccessRules(); 10031*344a7f5eSAndroid Build Coastguard Worker method public int getProfileClass(); 10032*344a7f5eSAndroid Build Coastguard Worker method public boolean isGroupDisabled(); 10033*344a7f5eSAndroid Build Coastguard Worker } 10034*344a7f5eSAndroid Build Coastguard Worker 10035*344a7f5eSAndroid Build Coastguard Worker public class SubscriptionManager { 10036*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean canDisablePhysicalSubscription(); 10037*344a7f5eSAndroid Build Coastguard Worker method public boolean canManageSubscription(@NonNull android.telephony.SubscriptionInfo, @NonNull String); 10038*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int[] getActiveSubscriptionIdList(); 10039*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.SubscriptionInfo getActiveSubscriptionInfoForIcc(@NonNull String); 10040*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telephony.SubscriptionInfo> getAvailableSubscriptionInfoList(); 10041*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int[] getCompleteActiveSubscriptionIdList(); 10042*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getEnabledSubscriptionId(int); 10043*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.res.Resources getResourcesForSubId(@NonNull android.content.Context, int); 10044*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isSubscriptionEnabled(int); 10045*344a7f5eSAndroid Build Coastguard Worker method public void requestEmbeddedSubscriptionInfoListRefresh(); 10046*344a7f5eSAndroid Build Coastguard Worker method public void requestEmbeddedSubscriptionInfoListRefresh(int); 10047*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultDataSubId(int); 10048*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultSmsSubId(int); 10049*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultVoiceSubscriptionId(int); 10050*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setPreferredDataSubscriptionId(int, boolean, @Nullable java.util.concurrent.Executor, @Nullable java.util.function.Consumer<java.lang.Integer>); 10051*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setSubscriptionEnabled(int, boolean); 10052*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUiccApplicationsEnabled(int, boolean); 10053*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.MANAGE_SUBSCRIPTION_PLANS) public static final String ACTION_SUBSCRIPTION_PLANS_CHANGED = "android.telephony.action.SUBSCRIPTION_PLANS_CHANGED"; 10054*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri ADVANCED_CALLING_ENABLED_CONTENT_URI; 10055*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int PROFILE_CLASS_DEFAULT = -1; // 0xffffffff 10056*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_CLASS_OPERATIONAL = 2; // 0x2 10057*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_CLASS_PROVISIONING = 1; // 0x1 10058*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_CLASS_TESTING = 0; // 0x0 10059*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_CLASS_UNSET = -1; // 0xffffffff 10060*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri VT_ENABLED_CONTENT_URI; 10061*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri WFC_ENABLED_CONTENT_URI; 10062*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri WFC_MODE_CONTENT_URI; 10063*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri WFC_ROAMING_ENABLED_CONTENT_URI; 10064*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri WFC_ROAMING_MODE_CONTENT_URI; 10065*344a7f5eSAndroid Build Coastguard Worker } 10066*344a7f5eSAndroid Build Coastguard Worker 10067*344a7f5eSAndroid Build Coastguard Worker public static class SubscriptionPlan.Builder { 10068*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringDaily(java.time.ZonedDateTime); 10069*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringMonthly(java.time.ZonedDateTime); 10070*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringWeekly(java.time.ZonedDateTime); 10071*344a7f5eSAndroid Build Coastguard Worker } 10072*344a7f5eSAndroid Build Coastguard Worker 10073*344a7f5eSAndroid Build Coastguard Worker public final class TelephonyHistogram implements android.os.Parcelable { 10074*344a7f5eSAndroid Build Coastguard Worker ctor public TelephonyHistogram(int, int, int); 10075*344a7f5eSAndroid Build Coastguard Worker ctor public TelephonyHistogram(android.telephony.TelephonyHistogram); 10076*344a7f5eSAndroid Build Coastguard Worker ctor public TelephonyHistogram(android.os.Parcel); 10077*344a7f5eSAndroid Build Coastguard Worker method public void addTimeTaken(int); 10078*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10079*344a7f5eSAndroid Build Coastguard Worker method public int getAverageTime(); 10080*344a7f5eSAndroid Build Coastguard Worker method public int getBucketCount(); 10081*344a7f5eSAndroid Build Coastguard Worker method public int[] getBucketCounters(); 10082*344a7f5eSAndroid Build Coastguard Worker method public int[] getBucketEndPoints(); 10083*344a7f5eSAndroid Build Coastguard Worker method public int getCategory(); 10084*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 10085*344a7f5eSAndroid Build Coastguard Worker method public int getMaxTime(); 10086*344a7f5eSAndroid Build Coastguard Worker method public int getMinTime(); 10087*344a7f5eSAndroid Build Coastguard Worker method public int getSampleCount(); 10088*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10089*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.TelephonyHistogram> CREATOR; 10090*344a7f5eSAndroid Build Coastguard Worker field public static final int TELEPHONY_CATEGORY_RIL = 1; // 0x1 10091*344a7f5eSAndroid Build Coastguard Worker } 10092*344a7f5eSAndroid Build Coastguard Worker 10093*344a7f5eSAndroid Build Coastguard Worker public class TelephonyManager { 10094*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public void call(String, String); 10095*344a7f5eSAndroid Build Coastguard Worker method public int checkCarrierPrivilegesForPackage(String); 10096*344a7f5eSAndroid Build Coastguard Worker method public int checkCarrierPrivilegesForPackageAnyPhone(String); 10097*344a7f5eSAndroid Build Coastguard Worker method public void dial(String); 10098*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean disableDataConnectivity(); 10099*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean enableDataConnectivity(); 10100*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean enableModemForSlot(int, boolean); 10101*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void enableVideoCalling(boolean); 10102*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getAidForAppType(int); 10103*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedCarriers(int); 10104*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getAllowedNetworkTypes(); 10105*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.ComponentName getAndUpdateDefaultRespondViaMessageApplication(); 10106*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int); 10107*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<java.lang.String> getCarrierPackageNamesForIntent(android.content.Intent); 10108*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<java.lang.String> getCarrierPackageNamesForIntentAndPhone(android.content.Intent, int); 10109*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCarrierPrivilegeStatus(int); 10110*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<java.lang.String> getCarrierPrivilegedPackagesForAllActiveSubscriptions(); 10111*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.CarrierRestrictionRules getCarrierRestrictionRules(); 10112*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMdn(); 10113*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMdn(int); 10114*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMin(); 10115*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMin(int); 10116*344a7f5eSAndroid Build Coastguard Worker method public String getCdmaPrlVersion(); 10117*344a7f5eSAndroid Build Coastguard Worker method public int getCurrentPhoneType(); 10118*344a7f5eSAndroid Build Coastguard Worker method public int getCurrentPhoneType(int); 10119*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getDataActivationState(); 10120*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean getDataEnabled(); 10121*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean getDataEnabled(int); 10122*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.ComponentName getDefaultRespondViaMessageApplication(); 10123*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getDeviceSoftwareVersion(int); 10124*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean getEmergencyCallbackMode(); 10125*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getEmergencyNumberDbVersion(); 10126*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getIsimDomain(); 10127*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getIsimIst(); 10128*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.Map<java.lang.Integer,java.lang.Integer> getLogicalToPhysicalSlotMapping(); 10129*344a7f5eSAndroid Build Coastguard Worker method public int getMaxNumberOfSimultaneouslyActiveSims(); 10130*344a7f5eSAndroid Build Coastguard Worker method public static long getMaxNumberVerificationTimeoutMillis(); 10131*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String[] getMergedImsisFromGroup(); 10132*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getPreferredNetworkTypeBitmask(); 10133*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public int getRadioPowerState(); 10134*344a7f5eSAndroid Build Coastguard Worker method public int getSimApplicationState(); 10135*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSimApplicationState(int); 10136*344a7f5eSAndroid Build Coastguard Worker method public int getSimCardState(); 10137*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSimCardState(int); 10138*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.Locale getSimLocale(); 10139*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getSupportedRadioAccessFamily(); 10140*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public java.util.List<android.telephony.TelephonyHistogram> getTelephonyHistograms(); 10141*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.UiccSlotInfo[] getUiccSlotsInfo(); 10142*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.Bundle getVisualVoicemailSettings(); 10143*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getVoiceActivationState(); 10144*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean handlePinMmi(String); 10145*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean handlePinMmiForSubscriber(int, String); 10146*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean iccCloseLogicalChannelBySlot(int, int); 10147*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannelBySlot(int, @Nullable String, int); 10148*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String iccTransmitApduBasicChannelBySlot(int, int, int, int, int, int, @Nullable String); 10149*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String iccTransmitApduLogicalChannelBySlot(int, int, int, int, int, int, int, @Nullable String); 10150*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isAnyRadioPoweredOn(); 10151*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isApnMetered(int); 10152*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isApplicationOnUicc(int); 10153*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isDataConnectionAllowed(); 10154*344a7f5eSAndroid Build Coastguard Worker method public boolean isDataConnectivityPossible(); 10155*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isDataEnabledForApn(int); 10156*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isEmergencyAssistanceEnabled(); 10157*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public boolean isIccLockEnabled(); 10158*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isIdle(); 10159*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isLteCdmaEvdoGsmWcdmaEnabled(); 10160*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isOffhook(); 10161*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isOpportunisticNetworkEnabled(); 10162*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isPotentialEmergencyNumber(@NonNull String); 10163*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRadioOn(); 10164*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRinging(); 10165*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isTetheringApnRequired(); 10166*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isVideoCallingEnabled(); 10167*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public boolean isVisualVoicemailEnabled(android.telecom.PhoneAccountHandle); 10168*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean matchesCurrentSimOperator(@NonNull String, int, @Nullable String); 10169*344a7f5eSAndroid Build Coastguard Worker method public boolean needsOtaServiceProvisioning(); 10170*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void notifyOtaEmergencyNumberDbInstalled(); 10171*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean rebootRadio(); 10172*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void reportDefaultNetworkStatus(boolean); 10173*344a7f5eSAndroid Build Coastguard Worker 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); 10174*344a7f5eSAndroid Build Coastguard Worker 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); 10175*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void resetAllCarrierActions(); 10176*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void resetCarrierKeysForImsiEncryption(); 10177*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public void resetIms(int); 10178*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void resetOtaEmergencyNumberDbFilePath(); 10179*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean resetRadioConfig(); 10180*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONNECTIVITY_INTERNAL) public void resetSettings(); 10181*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int setAllowedCarriers(int, java.util.List<android.service.carrier.CarrierIdentifier>); 10182*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setAllowedNetworkTypes(long); 10183*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCarrierDataEnabled(boolean); 10184*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int setCarrierRestrictionRules(@NonNull android.telephony.CarrierRestrictionRules); 10185*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDataActivationState(int); 10186*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDataEnabled(int, boolean); 10187*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDataRoamingEnabled(boolean); 10188*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setMultiSimCarrierRestriction(boolean); 10189*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setOpportunisticNetworkState(boolean); 10190*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setPreferredNetworkTypeBitmask(long); 10191*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setRadio(boolean); 10192*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setRadioEnabled(boolean); 10193*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setRadioPower(boolean); 10194*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimPowerState(int); 10195*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimPowerStateForSlot(int, int); 10196*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSystemSelectionChannels(@NonNull java.util.List<android.telephony.RadioAccessSpecifier>, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>); 10197*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSystemSelectionChannels(@NonNull java.util.List<android.telephony.RadioAccessSpecifier>); 10198*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setVisualVoicemailEnabled(android.telecom.PhoneAccountHandle, boolean); 10199*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoiceActivationState(int); 10200*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void shutdownAllRadios(); 10201*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean supplyPin(String); 10202*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int[] supplyPinReportResult(String); 10203*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean supplyPuk(String, String); 10204*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int[] supplyPukReportResult(String, String); 10205*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean switchSlots(int[]); 10206*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void toggleRadioOnOff(); 10207*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void updateOtaEmergencyNumberDbFilePath(@NonNull android.os.ParcelFileDescriptor); 10208*344a7f5eSAndroid Build Coastguard Worker method public void updateServiceLocation(); 10209*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final String ACTION_ANOMALY_REPORTED = "android.telephony.action.ANOMALY_REPORTED"; 10210*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED = "android.intent.action.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED"; 10211*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED = "android.intent.action.ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED"; 10212*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_EMERGENCY_ASSISTANCE = "android.telephony.action.EMERGENCY_ASSISTANCE"; 10213*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_EMERGENCY_CALLBACK_MODE_CHANGED = "android.intent.action.EMERGENCY_CALLBACK_MODE_CHANGED"; 10214*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_EMERGENCY_CALL_STATE_CHANGED = "android.intent.action.EMERGENCY_CALL_STATE_CHANGED"; 10215*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_REQUEST_OMADM_CONFIGURATION_UPDATE = "com.android.omadm.service.CONFIGURATION_UPDATE"; 10216*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS = "android.telephony.action.SHOW_NOTICE_ECM_BLOCK_OTHERS"; 10217*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SIM_APPLICATION_STATE_CHANGED = "android.telephony.action.SIM_APPLICATION_STATE_CHANGED"; 10218*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SIM_CARD_STATE_CHANGED = "android.telephony.action.SIM_CARD_STATE_CHANGED"; 10219*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SIM_SLOT_STATUS_CHANGED = "android.telephony.action.SIM_SLOT_STATUS_CHANGED"; 10220*344a7f5eSAndroid Build Coastguard Worker field public static final int CARRIER_PRIVILEGE_STATUS_ERROR_LOADING_RULES = -2; // 0xfffffffe 10221*344a7f5eSAndroid Build Coastguard Worker field public static final int CARRIER_PRIVILEGE_STATUS_HAS_ACCESS = 1; // 0x1 10222*344a7f5eSAndroid Build Coastguard Worker field public static final int CARRIER_PRIVILEGE_STATUS_NO_ACCESS = 0; // 0x0 10223*344a7f5eSAndroid Build Coastguard Worker field public static final int CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED = -1; // 0xffffffff 10224*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ANOMALY_DESCRIPTION = "android.telephony.extra.ANOMALY_DESCRIPTION"; 10225*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ANOMALY_ID = "android.telephony.extra.ANOMALY_ID"; 10226*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PHONE_IN_ECM_STATE = "android.telephony.extra.PHONE_IN_ECM_STATE"; 10227*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PHONE_IN_EMERGENCY_CALL = "android.telephony.extra.PHONE_IN_EMERGENCY_CALL"; 10228*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_SIM_STATE = "android.telephony.extra.SIM_STATE"; 10229*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_VISUAL_VOICEMAIL_ENABLED_BY_USER_BOOL = "android.telephony.extra.VISUAL_VOICEMAIL_ENABLED_BY_USER_BOOL"; 10230*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_VOICEMAIL_SCRAMBLED_PIN_STRING = "android.telephony.extra.VOICEMAIL_SCRAMBLED_PIN_STRING"; 10231*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_EMERGENCY_NUMBER_DB_VERSION = -1; // 0xffffffff 10232*344a7f5eSAndroid Build Coastguard Worker field public static final int KEY_TYPE_EPDG = 1; // 0x1 10233*344a7f5eSAndroid Build Coastguard Worker field public static final int KEY_TYPE_WLAN = 2; // 0x2 10234*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_1xRTT = 64L; // 0x40L 10235*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_CDMA = 8L; // 0x8L 10236*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_EDGE = 2L; // 0x2L 10237*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_EHRPD = 8192L; // 0x2000L 10238*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_EVDO_0 = 16L; // 0x10L 10239*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_EVDO_A = 32L; // 0x20L 10240*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_EVDO_B = 2048L; // 0x800L 10241*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_GPRS = 1L; // 0x1L 10242*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_GSM = 32768L; // 0x8000L 10243*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_HSDPA = 128L; // 0x80L 10244*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_HSPA = 512L; // 0x200L 10245*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_HSPAP = 16384L; // 0x4000L 10246*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_HSUPA = 256L; // 0x100L 10247*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_IWLAN = 131072L; // 0x20000L 10248*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_LTE = 4096L; // 0x1000L 10249*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_LTE_CA = 262144L; // 0x40000L 10250*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_NR = 524288L; // 0x80000L 10251*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_TD_SCDMA = 65536L; // 0x10000L 10252*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_UMTS = 4L; // 0x4L 10253*344a7f5eSAndroid Build Coastguard Worker field public static final long NETWORK_TYPE_BITMASK_UNKNOWN = 0L; // 0x0L 10254*344a7f5eSAndroid Build Coastguard Worker field public static final int RADIO_POWER_OFF = 0; // 0x0 10255*344a7f5eSAndroid Build Coastguard Worker field public static final int RADIO_POWER_ON = 1; // 0x1 10256*344a7f5eSAndroid Build Coastguard Worker field public static final int RADIO_POWER_UNAVAILABLE = 2; // 0x2 10257*344a7f5eSAndroid Build Coastguard Worker field public static final int SET_CARRIER_RESTRICTION_ERROR = 2; // 0x2 10258*344a7f5eSAndroid Build Coastguard Worker field public static final int SET_CARRIER_RESTRICTION_NOT_SUPPORTED = 1; // 0x1 10259*344a7f5eSAndroid Build Coastguard Worker field public static final int SET_CARRIER_RESTRICTION_SUCCESS = 0; // 0x0 10260*344a7f5eSAndroid Build Coastguard Worker field public static final int SIM_ACTIVATION_STATE_ACTIVATED = 2; // 0x2 10261*344a7f5eSAndroid Build Coastguard Worker field public static final int SIM_ACTIVATION_STATE_ACTIVATING = 1; // 0x1 10262*344a7f5eSAndroid Build Coastguard Worker field public static final int SIM_ACTIVATION_STATE_DEACTIVATED = 3; // 0x3 10263*344a7f5eSAndroid Build Coastguard Worker field public static final int SIM_ACTIVATION_STATE_RESTRICTED = 4; // 0x4 10264*344a7f5eSAndroid Build Coastguard Worker field public static final int SIM_ACTIVATION_STATE_UNKNOWN = 0; // 0x0 10265*344a7f5eSAndroid Build Coastguard Worker field public static final int SIM_STATE_LOADED = 10; // 0xa 10266*344a7f5eSAndroid Build Coastguard Worker field public static final int SIM_STATE_PRESENT = 11; // 0xb 10267*344a7f5eSAndroid Build Coastguard Worker field public static final int SRVCC_STATE_HANDOVER_CANCELED = 3; // 0x3 10268*344a7f5eSAndroid Build Coastguard Worker field public static final int SRVCC_STATE_HANDOVER_COMPLETED = 1; // 0x1 10269*344a7f5eSAndroid Build Coastguard Worker field public static final int SRVCC_STATE_HANDOVER_FAILED = 2; // 0x2 10270*344a7f5eSAndroid Build Coastguard Worker field public static final int SRVCC_STATE_HANDOVER_NONE = -1; // 0xffffffff 10271*344a7f5eSAndroid Build Coastguard Worker field public static final int SRVCC_STATE_HANDOVER_STARTED = 0; // 0x0 10272*344a7f5eSAndroid Build Coastguard Worker } 10273*344a7f5eSAndroid Build Coastguard Worker 10274*344a7f5eSAndroid Build Coastguard Worker public final class UiccAccessRule implements android.os.Parcelable { 10275*344a7f5eSAndroid Build Coastguard Worker ctor public UiccAccessRule(byte[], @Nullable String, long); 10276*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10277*344a7f5eSAndroid Build Coastguard Worker method public int getCarrierPrivilegeStatus(android.content.pm.PackageInfo); 10278*344a7f5eSAndroid Build Coastguard Worker method public int getCarrierPrivilegeStatus(android.content.pm.Signature, String); 10279*344a7f5eSAndroid Build Coastguard Worker method public String getCertificateHexString(); 10280*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getPackageName(); 10281*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10282*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.UiccAccessRule> CREATOR; 10283*344a7f5eSAndroid Build Coastguard Worker } 10284*344a7f5eSAndroid Build Coastguard Worker 10285*344a7f5eSAndroid Build Coastguard Worker public class UiccSlotInfo implements android.os.Parcelable { 10286*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public UiccSlotInfo(boolean, boolean, String, int, int, boolean); 10287*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10288*344a7f5eSAndroid Build Coastguard Worker method public String getCardId(); 10289*344a7f5eSAndroid Build Coastguard Worker method public int getCardStateInfo(); 10290*344a7f5eSAndroid Build Coastguard Worker method public boolean getIsActive(); 10291*344a7f5eSAndroid Build Coastguard Worker method public boolean getIsEuicc(); 10292*344a7f5eSAndroid Build Coastguard Worker method public boolean getIsExtendedApduSupported(); 10293*344a7f5eSAndroid Build Coastguard Worker method public int getLogicalSlotIdx(); 10294*344a7f5eSAndroid Build Coastguard Worker method public boolean isRemovable(); 10295*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10296*344a7f5eSAndroid Build Coastguard Worker field public static final int CARD_STATE_INFO_ABSENT = 1; // 0x1 10297*344a7f5eSAndroid Build Coastguard Worker field public static final int CARD_STATE_INFO_ERROR = 3; // 0x3 10298*344a7f5eSAndroid Build Coastguard Worker field public static final int CARD_STATE_INFO_PRESENT = 2; // 0x2 10299*344a7f5eSAndroid Build Coastguard Worker field public static final int CARD_STATE_INFO_RESTRICTED = 4; // 0x4 10300*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.UiccSlotInfo> CREATOR; 10301*344a7f5eSAndroid Build Coastguard Worker } 10302*344a7f5eSAndroid Build Coastguard Worker 10303*344a7f5eSAndroid Build Coastguard Worker public abstract class VisualVoicemailService extends android.app.Service { 10304*344a7f5eSAndroid Build Coastguard Worker method public static final void sendVisualVoicemailSms(android.content.Context, android.telecom.PhoneAccountHandle, String, short, String, android.app.PendingIntent); 10305*344a7f5eSAndroid Build Coastguard Worker method public static final void setSmsFilterSettings(android.content.Context, android.telecom.PhoneAccountHandle, android.telephony.VisualVoicemailSmsFilterSettings); 10306*344a7f5eSAndroid Build Coastguard Worker } 10307*344a7f5eSAndroid Build Coastguard Worker 10308*344a7f5eSAndroid Build Coastguard Worker} 10309*344a7f5eSAndroid Build Coastguard Worker 10310*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.cdma { 10311*344a7f5eSAndroid Build Coastguard Worker 10312*344a7f5eSAndroid Build Coastguard Worker public final class CdmaSmsCbProgramData implements android.os.Parcelable { 10313*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10314*344a7f5eSAndroid Build Coastguard Worker method public int getCategory(); 10315*344a7f5eSAndroid Build Coastguard Worker method public int getOperation(); 10316*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10317*344a7f5eSAndroid Build Coastguard Worker field public static final int CATEGORY_CMAS_CHILD_ABDUCTION_EMERGENCY = 4099; // 0x1003 10318*344a7f5eSAndroid Build Coastguard Worker field public static final int CATEGORY_CMAS_EXTREME_THREAT = 4097; // 0x1001 10319*344a7f5eSAndroid Build Coastguard Worker field public static final int CATEGORY_CMAS_LAST_RESERVED_VALUE = 4351; // 0x10ff 10320*344a7f5eSAndroid Build Coastguard Worker field public static final int CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT = 4096; // 0x1000 10321*344a7f5eSAndroid Build Coastguard Worker field public static final int CATEGORY_CMAS_SEVERE_THREAT = 4098; // 0x1002 10322*344a7f5eSAndroid Build Coastguard Worker field public static final int CATEGORY_CMAS_TEST_MESSAGE = 4100; // 0x1004 10323*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.cdma.CdmaSmsCbProgramData> CREATOR; 10324*344a7f5eSAndroid Build Coastguard Worker field public static final int OPERATION_ADD_CATEGORY = 1; // 0x1 10325*344a7f5eSAndroid Build Coastguard Worker field public static final int OPERATION_CLEAR_CATEGORIES = 2; // 0x2 10326*344a7f5eSAndroid Build Coastguard Worker field public static final int OPERATION_DELETE_CATEGORY = 0; // 0x0 10327*344a7f5eSAndroid Build Coastguard Worker } 10328*344a7f5eSAndroid Build Coastguard Worker 10329*344a7f5eSAndroid Build Coastguard Worker} 10330*344a7f5eSAndroid Build Coastguard Worker 10331*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.data { 10332*344a7f5eSAndroid Build Coastguard Worker 10333*344a7f5eSAndroid Build Coastguard Worker public final class DataCallResponse implements android.os.Parcelable { 10334*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10335*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.net.LinkAddress> getAddresses(); 10336*344a7f5eSAndroid Build Coastguard Worker method public int getCause(); 10337*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.net.InetAddress> getDnsAddresses(); 10338*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.net.InetAddress> getGatewayAddresses(); 10339*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 10340*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getInterfaceName(); 10341*344a7f5eSAndroid Build Coastguard Worker method public int getLinkStatus(); 10342*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getMtu(); 10343*344a7f5eSAndroid Build Coastguard Worker method public int getMtuV4(); 10344*344a7f5eSAndroid Build Coastguard Worker method public int getMtuV6(); 10345*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.net.InetAddress> getPcscfAddresses(); 10346*344a7f5eSAndroid Build Coastguard Worker method public int getProtocolType(); 10347*344a7f5eSAndroid Build Coastguard Worker method public int getSuggestedRetryTime(); 10348*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10349*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.DataCallResponse> CREATOR; 10350*344a7f5eSAndroid Build Coastguard Worker field public static final int LINK_STATUS_ACTIVE = 2; // 0x2 10351*344a7f5eSAndroid Build Coastguard Worker field public static final int LINK_STATUS_DORMANT = 1; // 0x1 10352*344a7f5eSAndroid Build Coastguard Worker field public static final int LINK_STATUS_INACTIVE = 0; // 0x0 10353*344a7f5eSAndroid Build Coastguard Worker field public static final int LINK_STATUS_UNKNOWN = -1; // 0xffffffff 10354*344a7f5eSAndroid Build Coastguard Worker } 10355*344a7f5eSAndroid Build Coastguard Worker 10356*344a7f5eSAndroid Build Coastguard Worker public static final class DataCallResponse.Builder { 10357*344a7f5eSAndroid Build Coastguard Worker ctor public DataCallResponse.Builder(); 10358*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse build(); 10359*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse.Builder setAddresses(@NonNull java.util.List<android.net.LinkAddress>); 10360*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse.Builder setCause(int); 10361*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse.Builder setDnsAddresses(@NonNull java.util.List<java.net.InetAddress>); 10362*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse.Builder setGatewayAddresses(@NonNull java.util.List<java.net.InetAddress>); 10363*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse.Builder setId(int); 10364*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse.Builder setInterfaceName(@NonNull String); 10365*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse.Builder setLinkStatus(int); 10366*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public android.telephony.data.DataCallResponse.Builder setMtu(int); 10367*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse.Builder setMtuV4(int); 10368*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse.Builder setMtuV6(int); 10369*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse.Builder setPcscfAddresses(@NonNull java.util.List<java.net.InetAddress>); 10370*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse.Builder setProtocolType(int); 10371*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataCallResponse.Builder setSuggestedRetryTime(int); 10372*344a7f5eSAndroid Build Coastguard Worker } 10373*344a7f5eSAndroid Build Coastguard Worker 10374*344a7f5eSAndroid Build Coastguard Worker public final class DataProfile implements android.os.Parcelable { 10375*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10376*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getApn(); 10377*344a7f5eSAndroid Build Coastguard Worker method public int getAuthType(); 10378*344a7f5eSAndroid Build Coastguard Worker method public int getBearerBitmask(); 10379*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getMtu(); 10380*344a7f5eSAndroid Build Coastguard Worker method public int getMtuV4(); 10381*344a7f5eSAndroid Build Coastguard Worker method public int getMtuV6(); 10382*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getPassword(); 10383*344a7f5eSAndroid Build Coastguard Worker method public int getProfileId(); 10384*344a7f5eSAndroid Build Coastguard Worker method public int getProtocolType(); 10385*344a7f5eSAndroid Build Coastguard Worker method public int getRoamingProtocolType(); 10386*344a7f5eSAndroid Build Coastguard Worker method public int getSupportedApnTypesBitmask(); 10387*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 10388*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getUserName(); 10389*344a7f5eSAndroid Build Coastguard Worker method public boolean isEnabled(); 10390*344a7f5eSAndroid Build Coastguard Worker method public boolean isPersistent(); 10391*344a7f5eSAndroid Build Coastguard Worker method public boolean isPreferred(); 10392*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10393*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.DataProfile> CREATOR; 10394*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_3GPP = 1; // 0x1 10395*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_3GPP2 = 2; // 0x2 10396*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_COMMON = 0; // 0x0 10397*344a7f5eSAndroid Build Coastguard Worker } 10398*344a7f5eSAndroid Build Coastguard Worker 10399*344a7f5eSAndroid Build Coastguard Worker public static final class DataProfile.Builder { 10400*344a7f5eSAndroid Build Coastguard Worker ctor public DataProfile.Builder(); 10401*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile build(); 10402*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder enable(boolean); 10403*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setApn(@NonNull String); 10404*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setAuthType(int); 10405*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setBearerBitmask(int); 10406*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setMtu(int); 10407*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setMtuV4(int); 10408*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setMtuV6(int); 10409*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setPassword(@NonNull String); 10410*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setPersistent(boolean); 10411*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setPreferred(boolean); 10412*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setProfileId(int); 10413*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setProtocolType(int); 10414*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setRoamingProtocolType(int); 10415*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setSupportedApnTypesBitmask(int); 10416*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setType(int); 10417*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.data.DataProfile.Builder setUserName(@NonNull String); 10418*344a7f5eSAndroid Build Coastguard Worker } 10419*344a7f5eSAndroid Build Coastguard Worker 10420*344a7f5eSAndroid Build Coastguard Worker public abstract class DataService extends android.app.Service { 10421*344a7f5eSAndroid Build Coastguard Worker ctor public DataService(); 10422*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder onBind(android.content.Intent); 10423*344a7f5eSAndroid Build Coastguard Worker method @Nullable public abstract android.telephony.data.DataService.DataServiceProvider onCreateDataServiceProvider(int); 10424*344a7f5eSAndroid Build Coastguard Worker field public static final int REQUEST_REASON_HANDOVER = 3; // 0x3 10425*344a7f5eSAndroid Build Coastguard Worker field public static final int REQUEST_REASON_NORMAL = 1; // 0x1 10426*344a7f5eSAndroid Build Coastguard Worker field public static final int REQUEST_REASON_SHUTDOWN = 2; // 0x2 10427*344a7f5eSAndroid Build Coastguard Worker field public static final int REQUEST_REASON_UNKNOWN = 0; // 0x0 10428*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.telephony.data.DataService"; 10429*344a7f5eSAndroid Build Coastguard Worker } 10430*344a7f5eSAndroid Build Coastguard Worker 10431*344a7f5eSAndroid Build Coastguard Worker public abstract class DataService.DataServiceProvider implements java.lang.AutoCloseable { 10432*344a7f5eSAndroid Build Coastguard Worker ctor public DataService.DataServiceProvider(int); 10433*344a7f5eSAndroid Build Coastguard Worker method public abstract void close(); 10434*344a7f5eSAndroid Build Coastguard Worker method public void deactivateDataCall(int, int, @Nullable android.telephony.data.DataServiceCallback); 10435*344a7f5eSAndroid Build Coastguard Worker method public final int getSlotIndex(); 10436*344a7f5eSAndroid Build Coastguard Worker method public final void notifyDataCallListChanged(java.util.List<android.telephony.data.DataCallResponse>); 10437*344a7f5eSAndroid Build Coastguard Worker method public void requestDataCallList(@NonNull android.telephony.data.DataServiceCallback); 10438*344a7f5eSAndroid Build Coastguard Worker method public void setDataProfile(@NonNull java.util.List<android.telephony.data.DataProfile>, boolean, @NonNull android.telephony.data.DataServiceCallback); 10439*344a7f5eSAndroid Build Coastguard Worker method public void setInitialAttachApn(@NonNull android.telephony.data.DataProfile, boolean, @NonNull android.telephony.data.DataServiceCallback); 10440*344a7f5eSAndroid Build Coastguard Worker method public void setupDataCall(int, @NonNull android.telephony.data.DataProfile, boolean, boolean, int, @Nullable android.net.LinkProperties, @NonNull android.telephony.data.DataServiceCallback); 10441*344a7f5eSAndroid Build Coastguard Worker } 10442*344a7f5eSAndroid Build Coastguard Worker 10443*344a7f5eSAndroid Build Coastguard Worker public class DataServiceCallback { 10444*344a7f5eSAndroid Build Coastguard Worker method public void onDataCallListChanged(@NonNull java.util.List<android.telephony.data.DataCallResponse>); 10445*344a7f5eSAndroid Build Coastguard Worker method public void onDeactivateDataCallComplete(int); 10446*344a7f5eSAndroid Build Coastguard Worker method public void onRequestDataCallListComplete(int, @NonNull java.util.List<android.telephony.data.DataCallResponse>); 10447*344a7f5eSAndroid Build Coastguard Worker method public void onSetDataProfileComplete(int); 10448*344a7f5eSAndroid Build Coastguard Worker method public void onSetInitialAttachApnComplete(int); 10449*344a7f5eSAndroid Build Coastguard Worker method public void onSetupDataCallComplete(int, @Nullable android.telephony.data.DataCallResponse); 10450*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_ERROR_BUSY = 3; // 0x3 10451*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_ERROR_ILLEGAL_STATE = 4; // 0x4 10452*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_ERROR_INVALID_ARG = 2; // 0x2 10453*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_ERROR_UNSUPPORTED = 1; // 0x1 10454*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_SUCCESS = 0; // 0x0 10455*344a7f5eSAndroid Build Coastguard Worker } 10456*344a7f5eSAndroid Build Coastguard Worker 10457*344a7f5eSAndroid Build Coastguard Worker public abstract class QualifiedNetworksService extends android.app.Service { 10458*344a7f5eSAndroid Build Coastguard Worker ctor public QualifiedNetworksService(); 10459*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract android.telephony.data.QualifiedNetworksService.NetworkAvailabilityProvider onCreateNetworkAvailabilityProvider(int); 10460*344a7f5eSAndroid Build Coastguard Worker field public static final String QUALIFIED_NETWORKS_SERVICE_INTERFACE = "android.telephony.data.QualifiedNetworksService"; 10461*344a7f5eSAndroid Build Coastguard Worker } 10462*344a7f5eSAndroid Build Coastguard Worker 10463*344a7f5eSAndroid Build Coastguard Worker public abstract class QualifiedNetworksService.NetworkAvailabilityProvider implements java.lang.AutoCloseable { 10464*344a7f5eSAndroid Build Coastguard Worker ctor public QualifiedNetworksService.NetworkAvailabilityProvider(int); 10465*344a7f5eSAndroid Build Coastguard Worker method public abstract void close(); 10466*344a7f5eSAndroid Build Coastguard Worker method public final int getSlotIndex(); 10467*344a7f5eSAndroid Build Coastguard Worker method public final void updateQualifiedNetworkTypes(int, @NonNull java.util.List<java.lang.Integer>); 10468*344a7f5eSAndroid Build Coastguard Worker } 10469*344a7f5eSAndroid Build Coastguard Worker 10470*344a7f5eSAndroid Build Coastguard Worker} 10471*344a7f5eSAndroid Build Coastguard Worker 10472*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.euicc { 10473*344a7f5eSAndroid Build Coastguard Worker 10474*344a7f5eSAndroid Build Coastguard Worker public final class DownloadableSubscription implements android.os.Parcelable { 10475*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telephony.UiccAccessRule> getAccessRules(); 10476*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getCarrierName(); 10477*344a7f5eSAndroid Build Coastguard Worker } 10478*344a7f5eSAndroid Build Coastguard Worker 10479*344a7f5eSAndroid Build Coastguard Worker public static final class DownloadableSubscription.Builder { 10480*344a7f5eSAndroid Build Coastguard Worker ctor public DownloadableSubscription.Builder(); 10481*344a7f5eSAndroid Build Coastguard Worker ctor public DownloadableSubscription.Builder(android.telephony.euicc.DownloadableSubscription); 10482*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.euicc.DownloadableSubscription build(); 10483*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.euicc.DownloadableSubscription.Builder setAccessRules(java.util.List<android.telephony.UiccAccessRule>); 10484*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.euicc.DownloadableSubscription.Builder setCarrierName(String); 10485*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.euicc.DownloadableSubscription.Builder setConfirmationCode(String); 10486*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.euicc.DownloadableSubscription.Builder setEncodedActivationCode(String); 10487*344a7f5eSAndroid Build Coastguard Worker } 10488*344a7f5eSAndroid Build Coastguard Worker 10489*344a7f5eSAndroid Build Coastguard Worker public class EuiccCardManager { 10490*344a7f5eSAndroid Build Coastguard Worker method public void authenticateServer(String, String, byte[], byte[], byte[], byte[], java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>); 10491*344a7f5eSAndroid Build Coastguard Worker method public void cancelSession(String, byte[], @android.telephony.euicc.EuiccCardManager.CancelReason int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>); 10492*344a7f5eSAndroid Build Coastguard Worker method public void deleteProfile(String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>); 10493*344a7f5eSAndroid Build Coastguard Worker method public void disableProfile(String, String, boolean, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>); 10494*344a7f5eSAndroid Build Coastguard Worker method public void listNotifications(String, @android.telephony.euicc.EuiccNotification.Event int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.telephony.euicc.EuiccNotification[]>); 10495*344a7f5eSAndroid Build Coastguard Worker method public void loadBoundProfilePackage(String, byte[], java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>); 10496*344a7f5eSAndroid Build Coastguard Worker method public void prepareDownload(String, @Nullable byte[], byte[], byte[], byte[], java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>); 10497*344a7f5eSAndroid Build Coastguard Worker method public void removeNotificationFromList(String, int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>); 10498*344a7f5eSAndroid Build Coastguard Worker method public void requestAllProfiles(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.service.euicc.EuiccProfileInfo[]>); 10499*344a7f5eSAndroid Build Coastguard Worker method public void requestDefaultSmdpAddress(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.String>); 10500*344a7f5eSAndroid Build Coastguard Worker method public void requestEuiccChallenge(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>); 10501*344a7f5eSAndroid Build Coastguard Worker method public void requestEuiccInfo1(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>); 10502*344a7f5eSAndroid Build Coastguard Worker method public void requestEuiccInfo2(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>); 10503*344a7f5eSAndroid Build Coastguard Worker method public void requestProfile(String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.service.euicc.EuiccProfileInfo>); 10504*344a7f5eSAndroid Build Coastguard Worker method public void requestRulesAuthTable(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.telephony.euicc.EuiccRulesAuthTable>); 10505*344a7f5eSAndroid Build Coastguard Worker method public void requestSmdsAddress(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.String>); 10506*344a7f5eSAndroid Build Coastguard Worker method public void resetMemory(String, @android.telephony.euicc.EuiccCardManager.ResetOption int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>); 10507*344a7f5eSAndroid Build Coastguard Worker method public void retrieveNotification(String, int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.telephony.euicc.EuiccNotification>); 10508*344a7f5eSAndroid Build Coastguard Worker method public void retrieveNotificationList(String, @android.telephony.euicc.EuiccNotification.Event int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.telephony.euicc.EuiccNotification[]>); 10509*344a7f5eSAndroid Build Coastguard Worker method public void setDefaultSmdpAddress(String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>); 10510*344a7f5eSAndroid Build Coastguard Worker method public void setNickname(String, String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>); 10511*344a7f5eSAndroid Build Coastguard Worker method public void switchToProfile(String, String, boolean, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.service.euicc.EuiccProfileInfo>); 10512*344a7f5eSAndroid Build Coastguard Worker field public static final int CANCEL_REASON_END_USER_REJECTED = 0; // 0x0 10513*344a7f5eSAndroid Build Coastguard Worker field public static final int CANCEL_REASON_POSTPONED = 1; // 0x1 10514*344a7f5eSAndroid Build Coastguard Worker field public static final int CANCEL_REASON_PPR_NOT_ALLOWED = 3; // 0x3 10515*344a7f5eSAndroid Build Coastguard Worker field public static final int CANCEL_REASON_TIMEOUT = 2; // 0x2 10516*344a7f5eSAndroid Build Coastguard Worker field public static final int RESET_OPTION_DELETE_FIELD_LOADED_TEST_PROFILES = 2; // 0x2 10517*344a7f5eSAndroid Build Coastguard Worker field public static final int RESET_OPTION_DELETE_OPERATIONAL_PROFILES = 1; // 0x1 10518*344a7f5eSAndroid Build Coastguard Worker field public static final int RESET_OPTION_RESET_DEFAULT_SMDP_ADDRESS = 4; // 0x4 10519*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_CALLER_NOT_ALLOWED = -3; // 0xfffffffd 10520*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_EUICC_NOT_FOUND = -2; // 0xfffffffe 10521*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_OK = 0; // 0x0 10522*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_UNKNOWN_ERROR = -1; // 0xffffffff 10523*344a7f5eSAndroid Build Coastguard Worker } 10524*344a7f5eSAndroid Build Coastguard Worker 10525*344a7f5eSAndroid Build Coastguard Worker @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 { 10526*344a7f5eSAndroid Build Coastguard Worker } 10527*344a7f5eSAndroid Build Coastguard Worker 10528*344a7f5eSAndroid Build Coastguard Worker @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 { 10529*344a7f5eSAndroid Build Coastguard Worker } 10530*344a7f5eSAndroid Build Coastguard Worker 10531*344a7f5eSAndroid Build Coastguard Worker public static interface EuiccCardManager.ResultCallback<T> { 10532*344a7f5eSAndroid Build Coastguard Worker method public void onComplete(int, T); 10533*344a7f5eSAndroid Build Coastguard Worker } 10534*344a7f5eSAndroid Build Coastguard Worker 10535*344a7f5eSAndroid Build Coastguard Worker public class EuiccManager { 10536*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void continueOperation(android.content.Intent, android.os.Bundle); 10537*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void eraseSubscriptions(@NonNull android.app.PendingIntent); 10538*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void eraseSubscriptions(@android.telephony.euicc.EuiccCardManager.ResetOption int, @NonNull android.app.PendingIntent); 10539*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void getDefaultDownloadableSubscriptionList(android.app.PendingIntent); 10540*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void getDownloadableSubscriptionMetadata(android.telephony.euicc.DownloadableSubscription, android.app.PendingIntent); 10541*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public int getOtaStatus(); 10542*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public java.util.List<java.lang.String> getSupportedCountries(); 10543*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public java.util.List<java.lang.String> getUnsupportedCountries(); 10544*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public boolean isSupportedCountry(@NonNull String); 10545*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void setSupportedCountries(@NonNull java.util.List<java.lang.String>); 10546*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void setUnsupportedCountries(@NonNull java.util.List<java.lang.String>); 10547*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_DELETE_SUBSCRIPTION_PRIVILEGED = "android.telephony.euicc.action.DELETE_SUBSCRIPTION_PRIVILEGED"; 10548*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public static final String ACTION_OTA_STATUS_CHANGED = "android.telephony.euicc.action.OTA_STATUS_CHANGED"; 10549*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_PROVISION_EMBEDDED_SUBSCRIPTION = "android.telephony.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION"; 10550*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_RENAME_SUBSCRIPTION_PRIVILEGED = "android.telephony.euicc.action.RENAME_SUBSCRIPTION_PRIVILEGED"; 10551*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED = "android.telephony.euicc.action.TOGGLE_SUBSCRIPTION_PRIVILEGED"; 10552*344a7f5eSAndroid Build Coastguard Worker field public static final int EUICC_ACTIVATION_TYPE_ACCOUNT_REQUIRED = 4; // 0x4 10553*344a7f5eSAndroid Build Coastguard Worker field public static final int EUICC_ACTIVATION_TYPE_BACKUP = 2; // 0x2 10554*344a7f5eSAndroid Build Coastguard Worker field public static final int EUICC_ACTIVATION_TYPE_DEFAULT = 1; // 0x1 10555*344a7f5eSAndroid Build Coastguard Worker field public static final int EUICC_ACTIVATION_TYPE_TRANSFER = 3; // 0x3 10556*344a7f5eSAndroid Build Coastguard Worker field public static final int EUICC_OTA_FAILED = 2; // 0x2 10557*344a7f5eSAndroid Build Coastguard Worker field public static final int EUICC_OTA_IN_PROGRESS = 1; // 0x1 10558*344a7f5eSAndroid Build Coastguard Worker field public static final int EUICC_OTA_NOT_NEEDED = 4; // 0x4 10559*344a7f5eSAndroid Build Coastguard Worker field public static final int EUICC_OTA_STATUS_UNAVAILABLE = 5; // 0x5 10560*344a7f5eSAndroid Build Coastguard Worker field public static final int EUICC_OTA_SUCCEEDED = 3; // 0x3 10561*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ACTIVATION_TYPE = "android.telephony.euicc.extra.ACTIVATION_TYPE"; 10562*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_EMBEDDED_SUBSCRIPTION_DOWNLOADABLE_SUBSCRIPTIONS = "android.telephony.euicc.extra.EMBEDDED_SUBSCRIPTION_DOWNLOADABLE_SUBSCRIPTIONS"; 10563*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ENABLE_SUBSCRIPTION = "android.telephony.euicc.extra.ENABLE_SUBSCRIPTION"; 10564*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_FORCE_PROVISION = "android.telephony.euicc.extra.FORCE_PROVISION"; 10565*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_FROM_SUBSCRIPTION_ID = "android.telephony.euicc.extra.FROM_SUBSCRIPTION_ID"; 10566*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PHYSICAL_SLOT_ID = "android.telephony.euicc.extra.PHYSICAL_SLOT_ID"; 10567*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_SUBSCRIPTION_ID = "android.telephony.euicc.extra.SUBSCRIPTION_ID"; 10568*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_SUBSCRIPTION_NICKNAME = "android.telephony.euicc.extra.SUBSCRIPTION_NICKNAME"; 10569*344a7f5eSAndroid Build Coastguard Worker } 10570*344a7f5eSAndroid Build Coastguard Worker 10571*344a7f5eSAndroid Build Coastguard Worker @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 { 10572*344a7f5eSAndroid Build Coastguard Worker } 10573*344a7f5eSAndroid Build Coastguard Worker 10574*344a7f5eSAndroid Build Coastguard Worker public final class EuiccNotification implements android.os.Parcelable { 10575*344a7f5eSAndroid Build Coastguard Worker ctor public EuiccNotification(int, String, @android.telephony.euicc.EuiccNotification.Event int, @Nullable byte[]); 10576*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10577*344a7f5eSAndroid Build Coastguard Worker method @Nullable public byte[] getData(); 10578*344a7f5eSAndroid Build Coastguard Worker method @android.telephony.euicc.EuiccNotification.Event public int getEvent(); 10579*344a7f5eSAndroid Build Coastguard Worker method public int getSeq(); 10580*344a7f5eSAndroid Build Coastguard Worker method public String getTargetAddr(); 10581*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10582*344a7f5eSAndroid Build Coastguard Worker field @android.telephony.euicc.EuiccNotification.Event public static final int ALL_EVENTS = 15; // 0xf 10583*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.euicc.EuiccNotification> CREATOR; 10584*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_DELETE = 8; // 0x8 10585*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_DISABLE = 4; // 0x4 10586*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_ENABLE = 2; // 0x2 10587*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_INSTALL = 1; // 0x1 10588*344a7f5eSAndroid Build Coastguard Worker } 10589*344a7f5eSAndroid Build Coastguard Worker 10590*344a7f5eSAndroid Build Coastguard Worker @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 { 10591*344a7f5eSAndroid Build Coastguard Worker } 10592*344a7f5eSAndroid Build Coastguard Worker 10593*344a7f5eSAndroid Build Coastguard Worker public final class EuiccRulesAuthTable implements android.os.Parcelable { 10594*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10595*344a7f5eSAndroid Build Coastguard Worker method public int findIndex(@android.service.euicc.EuiccProfileInfo.PolicyRule int, android.service.carrier.CarrierIdentifier); 10596*344a7f5eSAndroid Build Coastguard Worker method public boolean hasPolicyRuleFlag(int, @android.telephony.euicc.EuiccRulesAuthTable.PolicyRuleFlag int); 10597*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10598*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.euicc.EuiccRulesAuthTable> CREATOR; 10599*344a7f5eSAndroid Build Coastguard Worker field public static final int POLICY_RULE_FLAG_CONSENT_REQUIRED = 1; // 0x1 10600*344a7f5eSAndroid Build Coastguard Worker } 10601*344a7f5eSAndroid Build Coastguard Worker 10602*344a7f5eSAndroid Build Coastguard Worker public static final class EuiccRulesAuthTable.Builder { 10603*344a7f5eSAndroid Build Coastguard Worker ctor public EuiccRulesAuthTable.Builder(int); 10604*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.euicc.EuiccRulesAuthTable.Builder add(int, java.util.List<android.service.carrier.CarrierIdentifier>, int); 10605*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.euicc.EuiccRulesAuthTable build(); 10606*344a7f5eSAndroid Build Coastguard Worker } 10607*344a7f5eSAndroid Build Coastguard Worker 10608*344a7f5eSAndroid Build Coastguard Worker @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 { 10609*344a7f5eSAndroid Build Coastguard Worker } 10610*344a7f5eSAndroid Build Coastguard Worker 10611*344a7f5eSAndroid Build Coastguard Worker} 10612*344a7f5eSAndroid Build Coastguard Worker 10613*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.ims { 10614*344a7f5eSAndroid Build Coastguard Worker 10615*344a7f5eSAndroid Build Coastguard Worker public final class ImsCallForwardInfo implements android.os.Parcelable { 10616*344a7f5eSAndroid Build Coastguard Worker ctor public ImsCallForwardInfo(int, int, int, int, @NonNull String, int); 10617*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10618*344a7f5eSAndroid Build Coastguard Worker method public int getCondition(); 10619*344a7f5eSAndroid Build Coastguard Worker method public String getNumber(); 10620*344a7f5eSAndroid Build Coastguard Worker method public int getServiceClass(); 10621*344a7f5eSAndroid Build Coastguard Worker method public int getStatus(); 10622*344a7f5eSAndroid Build Coastguard Worker method public int getTimeSeconds(); 10623*344a7f5eSAndroid Build Coastguard Worker method public int getToA(); 10624*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10625*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_ALL = 4; // 0x4 10626*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_ALL_CONDITIONAL = 5; // 0x5 10627*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_BUSY = 1; // 0x1 10628*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_NOT_LOGGED_IN = 6; // 0x6 10629*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_NOT_REACHABLE = 3; // 0x3 10630*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_NO_REPLY = 2; // 0x2 10631*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_UNCONDITIONAL = 0; // 0x0 10632*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsCallForwardInfo> CREATOR; 10633*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_ACTIVE = 1; // 0x1 10634*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_NOT_ACTIVE = 0; // 0x0 10635*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_OF_ADDRESS_INTERNATIONAL = 145; // 0x91 10636*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_OF_ADDRESS_UNKNOWN = 129; // 0x81 10637*344a7f5eSAndroid Build Coastguard Worker } 10638*344a7f5eSAndroid Build Coastguard Worker 10639*344a7f5eSAndroid Build Coastguard Worker public final class ImsCallProfile implements android.os.Parcelable { 10640*344a7f5eSAndroid Build Coastguard Worker ctor public ImsCallProfile(); 10641*344a7f5eSAndroid Build Coastguard Worker ctor public ImsCallProfile(int, int); 10642*344a7f5eSAndroid Build Coastguard Worker ctor public ImsCallProfile(int, int, android.os.Bundle, android.telephony.ims.ImsStreamMediaProfile); 10643*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10644*344a7f5eSAndroid Build Coastguard Worker method public String getCallExtra(String); 10645*344a7f5eSAndroid Build Coastguard Worker method public String getCallExtra(String, String); 10646*344a7f5eSAndroid Build Coastguard Worker method public boolean getCallExtraBoolean(String); 10647*344a7f5eSAndroid Build Coastguard Worker method public boolean getCallExtraBoolean(String, boolean); 10648*344a7f5eSAndroid Build Coastguard Worker method public int getCallExtraInt(String); 10649*344a7f5eSAndroid Build Coastguard Worker method public int getCallExtraInt(String, int); 10650*344a7f5eSAndroid Build Coastguard Worker method public android.os.Bundle getCallExtras(); 10651*344a7f5eSAndroid Build Coastguard Worker method public int getCallType(); 10652*344a7f5eSAndroid Build Coastguard Worker method public static int getCallTypeFromVideoState(int); 10653*344a7f5eSAndroid Build Coastguard Worker method public int getCallerNumberVerificationStatus(); 10654*344a7f5eSAndroid Build Coastguard Worker method public int getEmergencyCallRouting(); 10655*344a7f5eSAndroid Build Coastguard Worker method public int getEmergencyServiceCategories(); 10656*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.lang.String> getEmergencyUrns(); 10657*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.ImsStreamMediaProfile getMediaProfile(); 10658*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.Bundle getProprietaryCallExtras(); 10659*344a7f5eSAndroid Build Coastguard Worker method public int getRestrictCause(); 10660*344a7f5eSAndroid Build Coastguard Worker method public int getServiceType(); 10661*344a7f5eSAndroid Build Coastguard Worker method public static int getVideoStateFromCallType(int); 10662*344a7f5eSAndroid Build Coastguard Worker method public static int getVideoStateFromImsCallProfile(android.telephony.ims.ImsCallProfile); 10663*344a7f5eSAndroid Build Coastguard Worker method public boolean hasKnownUserIntentEmergency(); 10664*344a7f5eSAndroid Build Coastguard Worker method public boolean isEmergencyCallTesting(); 10665*344a7f5eSAndroid Build Coastguard Worker method public boolean isVideoCall(); 10666*344a7f5eSAndroid Build Coastguard Worker method public boolean isVideoPaused(); 10667*344a7f5eSAndroid Build Coastguard Worker method public static int presentationToOir(int); 10668*344a7f5eSAndroid Build Coastguard Worker method public void setCallExtra(String, String); 10669*344a7f5eSAndroid Build Coastguard Worker method public void setCallExtraBoolean(String, boolean); 10670*344a7f5eSAndroid Build Coastguard Worker method public void setCallExtraInt(String, int); 10671*344a7f5eSAndroid Build Coastguard Worker method public void setCallRestrictCause(int); 10672*344a7f5eSAndroid Build Coastguard Worker method public void setCallerNumberVerificationStatus(int); 10673*344a7f5eSAndroid Build Coastguard Worker method public void setEmergencyCallRouting(int); 10674*344a7f5eSAndroid Build Coastguard Worker method public void setEmergencyCallTesting(boolean); 10675*344a7f5eSAndroid Build Coastguard Worker method public void setEmergencyServiceCategories(int); 10676*344a7f5eSAndroid Build Coastguard Worker method public void setEmergencyUrns(@NonNull java.util.List<java.lang.String>); 10677*344a7f5eSAndroid Build Coastguard Worker method public void setHasKnownUserIntentEmergency(boolean); 10678*344a7f5eSAndroid Build Coastguard Worker method public void updateCallExtras(android.telephony.ims.ImsCallProfile); 10679*344a7f5eSAndroid Build Coastguard Worker method public void updateCallType(android.telephony.ims.ImsCallProfile); 10680*344a7f5eSAndroid Build Coastguard Worker method public void updateMediaProfile(android.telephony.ims.ImsCallProfile); 10681*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10682*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_RESTRICT_CAUSE_DISABLED = 2; // 0x2 10683*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_RESTRICT_CAUSE_HD = 3; // 0x3 10684*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_RESTRICT_CAUSE_NONE = 0; // 0x0 10685*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_RESTRICT_CAUSE_RAT = 1; // 0x1 10686*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VIDEO_N_VOICE = 3; // 0x3 10687*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VOICE = 2; // 0x2 10688*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VOICE_N_VIDEO = 1; // 0x1 10689*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VS = 8; // 0x8 10690*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VS_RX = 10; // 0xa 10691*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VS_TX = 9; // 0x9 10692*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VT = 4; // 0x4 10693*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VT_NODIR = 7; // 0x7 10694*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VT_RX = 6; // 0x6 10695*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VT_TX = 5; // 0x5 10696*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsCallProfile> CREATOR; 10697*344a7f5eSAndroid Build Coastguard Worker field public static final int DIALSTRING_NORMAL = 0; // 0x0 10698*344a7f5eSAndroid Build Coastguard Worker field public static final int DIALSTRING_SS_CONF = 1; // 0x1 10699*344a7f5eSAndroid Build Coastguard Worker field public static final int DIALSTRING_USSD = 2; // 0x2 10700*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ADDITIONAL_CALL_INFO = "AdditionalCallInfo"; 10701*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ADDITIONAL_SIP_INVITE_FIELDS = "android.telephony.ims.extra.ADDITIONAL_SIP_INVITE_FIELDS"; 10702*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CALL_DISCONNECT_CAUSE = "android.telephony.ims.extra.CALL_DISCONNECT_CAUSE"; 10703*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CALL_NETWORK_TYPE = "android.telephony.ims.extra.CALL_NETWORK_TYPE"; 10704*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String EXTRA_CALL_RAT_TYPE = "CallRadioTech"; 10705*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CHILD_NUMBER = "ChildNum"; 10706*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CNA = "cna"; 10707*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CNAP = "cnap"; 10708*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CODEC = "Codec"; 10709*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_DIALSTRING = "dialstring"; 10710*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_DISPLAY_TEXT = "DisplayText"; 10711*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_EMERGENCY_CALL = "e_call"; 10712*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_FORWARDED_NUMBER = "android.telephony.ims.extra.FORWARDED_NUMBER"; 10713*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_IS_CALL_PULL = "CallPull"; 10714*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_OI = "oi"; 10715*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_OIR = "oir"; 10716*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_REMOTE_URI = "remote_uri"; 10717*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_USSD = "ussd"; 10718*344a7f5eSAndroid Build Coastguard Worker field public static final int OIR_DEFAULT = 0; // 0x0 10719*344a7f5eSAndroid Build Coastguard Worker field public static final int OIR_PRESENTATION_NOT_RESTRICTED = 2; // 0x2 10720*344a7f5eSAndroid Build Coastguard Worker field public static final int OIR_PRESENTATION_PAYPHONE = 4; // 0x4 10721*344a7f5eSAndroid Build Coastguard Worker field public static final int OIR_PRESENTATION_RESTRICTED = 1; // 0x1 10722*344a7f5eSAndroid Build Coastguard Worker field public static final int OIR_PRESENTATION_UNKNOWN = 3; // 0x3 10723*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_TYPE_EMERGENCY = 2; // 0x2 10724*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_TYPE_NONE = 0; // 0x0 10725*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_TYPE_NORMAL = 1; // 0x1 10726*344a7f5eSAndroid Build Coastguard Worker field public static final int VERIFICATION_STATUS_FAILED = 2; // 0x2 10727*344a7f5eSAndroid Build Coastguard Worker field public static final int VERIFICATION_STATUS_NOT_VERIFIED = 0; // 0x0 10728*344a7f5eSAndroid Build Coastguard Worker field public static final int VERIFICATION_STATUS_PASSED = 1; // 0x1 10729*344a7f5eSAndroid Build Coastguard Worker } 10730*344a7f5eSAndroid Build Coastguard Worker 10731*344a7f5eSAndroid Build Coastguard Worker public class ImsCallSessionListener { 10732*344a7f5eSAndroid Build Coastguard Worker method public void callQualityChanged(@NonNull android.telephony.CallQuality); 10733*344a7f5eSAndroid Build Coastguard Worker method public void callSessionConferenceExtendFailed(android.telephony.ims.ImsReasonInfo); 10734*344a7f5eSAndroid Build Coastguard Worker method public void callSessionConferenceExtendReceived(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile); 10735*344a7f5eSAndroid Build Coastguard Worker method public void callSessionConferenceExtended(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile); 10736*344a7f5eSAndroid Build Coastguard Worker method public void callSessionConferenceStateUpdated(android.telephony.ims.ImsConferenceState); 10737*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void callSessionHandover(int, int, android.telephony.ims.ImsReasonInfo); 10738*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void callSessionHandoverFailed(int, int, android.telephony.ims.ImsReasonInfo); 10739*344a7f5eSAndroid Build Coastguard Worker method public void callSessionHeld(android.telephony.ims.ImsCallProfile); 10740*344a7f5eSAndroid Build Coastguard Worker method public void callSessionHoldFailed(android.telephony.ims.ImsReasonInfo); 10741*344a7f5eSAndroid Build Coastguard Worker method public void callSessionHoldReceived(android.telephony.ims.ImsCallProfile); 10742*344a7f5eSAndroid Build Coastguard Worker method public void callSessionInitiated(android.telephony.ims.ImsCallProfile); 10743*344a7f5eSAndroid Build Coastguard Worker method public void callSessionInitiatedFailed(android.telephony.ims.ImsReasonInfo); 10744*344a7f5eSAndroid Build Coastguard Worker method public void callSessionInviteParticipantsRequestDelivered(); 10745*344a7f5eSAndroid Build Coastguard Worker method public void callSessionInviteParticipantsRequestFailed(android.telephony.ims.ImsReasonInfo); 10746*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void callSessionMayHandover(int, int); 10747*344a7f5eSAndroid Build Coastguard Worker method public void callSessionMergeComplete(android.telephony.ims.stub.ImsCallSessionImplBase); 10748*344a7f5eSAndroid Build Coastguard Worker method public void callSessionMergeFailed(android.telephony.ims.ImsReasonInfo); 10749*344a7f5eSAndroid Build Coastguard Worker method public void callSessionMergeStarted(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile); 10750*344a7f5eSAndroid Build Coastguard Worker method public void callSessionMultipartyStateChanged(boolean); 10751*344a7f5eSAndroid Build Coastguard Worker method public void callSessionProgressing(android.telephony.ims.ImsStreamMediaProfile); 10752*344a7f5eSAndroid Build Coastguard Worker method public void callSessionRemoveParticipantsRequestDelivered(); 10753*344a7f5eSAndroid Build Coastguard Worker method public void callSessionRemoveParticipantsRequestFailed(android.telephony.ims.ImsReasonInfo); 10754*344a7f5eSAndroid Build Coastguard Worker method public void callSessionResumeFailed(android.telephony.ims.ImsReasonInfo); 10755*344a7f5eSAndroid Build Coastguard Worker method public void callSessionResumeReceived(android.telephony.ims.ImsCallProfile); 10756*344a7f5eSAndroid Build Coastguard Worker method public void callSessionResumed(android.telephony.ims.ImsCallProfile); 10757*344a7f5eSAndroid Build Coastguard Worker method public void callSessionRttAudioIndicatorChanged(@NonNull android.telephony.ims.ImsStreamMediaProfile); 10758*344a7f5eSAndroid Build Coastguard Worker method public void callSessionRttMessageReceived(String); 10759*344a7f5eSAndroid Build Coastguard Worker method public void callSessionRttModifyRequestReceived(android.telephony.ims.ImsCallProfile); 10760*344a7f5eSAndroid Build Coastguard Worker method public void callSessionRttModifyResponseReceived(int); 10761*344a7f5eSAndroid Build Coastguard Worker method public void callSessionSuppServiceReceived(android.telephony.ims.ImsSuppServiceNotification); 10762*344a7f5eSAndroid Build Coastguard Worker method public void callSessionTerminated(android.telephony.ims.ImsReasonInfo); 10763*344a7f5eSAndroid Build Coastguard Worker method public void callSessionTtyModeReceived(int); 10764*344a7f5eSAndroid Build Coastguard Worker method public void callSessionUpdateFailed(android.telephony.ims.ImsReasonInfo); 10765*344a7f5eSAndroid Build Coastguard Worker method public void callSessionUpdateReceived(android.telephony.ims.ImsCallProfile); 10766*344a7f5eSAndroid Build Coastguard Worker method public void callSessionUpdated(android.telephony.ims.ImsCallProfile); 10767*344a7f5eSAndroid Build Coastguard Worker method public void callSessionUssdMessageReceived(int, String); 10768*344a7f5eSAndroid Build Coastguard Worker method public void onHandover(int, int, @Nullable android.telephony.ims.ImsReasonInfo); 10769*344a7f5eSAndroid Build Coastguard Worker method public void onHandoverFailed(int, int, @NonNull android.telephony.ims.ImsReasonInfo); 10770*344a7f5eSAndroid Build Coastguard Worker method public void onMayHandover(int, int); 10771*344a7f5eSAndroid Build Coastguard Worker } 10772*344a7f5eSAndroid Build Coastguard Worker 10773*344a7f5eSAndroid Build Coastguard Worker public final class ImsConferenceState implements android.os.Parcelable { 10774*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10775*344a7f5eSAndroid Build Coastguard Worker method public static int getConnectionStateForStatus(String); 10776*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10777*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsConferenceState> CREATOR; 10778*344a7f5eSAndroid Build Coastguard Worker field public static final String DISPLAY_TEXT = "display-text"; 10779*344a7f5eSAndroid Build Coastguard Worker field public static final String ENDPOINT = "endpoint"; 10780*344a7f5eSAndroid Build Coastguard Worker field public static final String SIP_STATUS_CODE = "sipstatuscode"; 10781*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS = "status"; 10782*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_ALERTING = "alerting"; 10783*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_CONNECTED = "connected"; 10784*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_CONNECT_FAIL = "connect-fail"; 10785*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_DIALING_IN = "dialing-in"; 10786*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_DIALING_OUT = "dialing-out"; 10787*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_DISCONNECTED = "disconnected"; 10788*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_DISCONNECTING = "disconnecting"; 10789*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_MUTED_VIA_FOCUS = "muted-via-focus"; 10790*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_ON_HOLD = "on-hold"; 10791*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_PENDING = "pending"; 10792*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_SEND_ONLY = "sendonly"; 10793*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_SEND_RECV = "sendrecv"; 10794*344a7f5eSAndroid Build Coastguard Worker field public static final String USER = "user"; 10795*344a7f5eSAndroid Build Coastguard Worker field public final java.util.HashMap<java.lang.String,android.os.Bundle> mParticipants; 10796*344a7f5eSAndroid Build Coastguard Worker } 10797*344a7f5eSAndroid Build Coastguard Worker 10798*344a7f5eSAndroid Build Coastguard Worker public final class ImsException extends java.lang.Exception { 10799*344a7f5eSAndroid Build Coastguard Worker ctor public ImsException(@Nullable String); 10800*344a7f5eSAndroid Build Coastguard Worker ctor public ImsException(@Nullable String, int); 10801*344a7f5eSAndroid Build Coastguard Worker ctor public ImsException(@Nullable String, int, @Nullable Throwable); 10802*344a7f5eSAndroid Build Coastguard Worker } 10803*344a7f5eSAndroid Build Coastguard Worker 10804*344a7f5eSAndroid Build Coastguard Worker public final class ImsExternalCallState implements android.os.Parcelable { 10805*344a7f5eSAndroid Build Coastguard Worker ctor public ImsExternalCallState(@NonNull String, @NonNull android.net.Uri, @Nullable android.net.Uri, boolean, int, int, boolean); 10806*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10807*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.Uri getAddress(); 10808*344a7f5eSAndroid Build Coastguard Worker method public int getCallId(); 10809*344a7f5eSAndroid Build Coastguard Worker method public int getCallState(); 10810*344a7f5eSAndroid Build Coastguard Worker method public int getCallType(); 10811*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.Uri getLocalAddress(); 10812*344a7f5eSAndroid Build Coastguard Worker method public boolean isCallHeld(); 10813*344a7f5eSAndroid Build Coastguard Worker method public boolean isCallPullable(); 10814*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10815*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_STATE_CONFIRMED = 1; // 0x1 10816*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_STATE_TERMINATED = 2; // 0x2 10817*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsExternalCallState> CREATOR; 10818*344a7f5eSAndroid Build Coastguard Worker } 10819*344a7f5eSAndroid Build Coastguard Worker 10820*344a7f5eSAndroid Build Coastguard Worker public class ImsMmTelManager implements android.telephony.ims.RegistrationManager { 10821*344a7f5eSAndroid Build Coastguard Worker 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); 10822*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void getFeatureState(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>) throws android.telephony.ims.ImsException; 10823*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void getRegistrationState(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>); 10824*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getVoWiFiRoamingModeSetting(); 10825*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isAvailable(int, int); 10826*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isCapable(int, int); 10827*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void isSupported(int, int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>) throws android.telephony.ims.ImsException; 10828*344a7f5eSAndroid Build Coastguard Worker 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; 10829*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setAdvancedCallingSettingEnabled(boolean); 10830*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setRttCapabilitySetting(boolean); 10831*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiModeSetting(int); 10832*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiNonPersistent(boolean, int); 10833*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiRoamingModeSetting(int); 10834*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiRoamingSettingEnabled(boolean); 10835*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiSettingEnabled(boolean); 10836*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVtSettingEnabled(boolean); 10837*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void unregisterImsRegistrationCallback(@NonNull android.telephony.ims.ImsMmTelManager.RegistrationCallback); 10838*344a7f5eSAndroid Build Coastguard Worker } 10839*344a7f5eSAndroid Build Coastguard Worker 10840*344a7f5eSAndroid Build Coastguard Worker @Deprecated public static class ImsMmTelManager.RegistrationCallback extends android.telephony.ims.RegistrationManager.RegistrationCallback { 10841*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public ImsMmTelManager.RegistrationCallback(); 10842*344a7f5eSAndroid Build Coastguard Worker } 10843*344a7f5eSAndroid Build Coastguard Worker 10844*344a7f5eSAndroid Build Coastguard Worker public final class ImsReasonInfo implements android.os.Parcelable { 10845*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_MSG_SERVICE_NOT_AUTHORIZED = "Forbidden. Not Authorized for Service"; 10846*344a7f5eSAndroid Build Coastguard Worker } 10847*344a7f5eSAndroid Build Coastguard Worker 10848*344a7f5eSAndroid Build Coastguard Worker public class ImsService extends android.app.Service { 10849*344a7f5eSAndroid Build Coastguard Worker ctor public ImsService(); 10850*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.feature.MmTelFeature createMmTelFeature(int); 10851*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.feature.RcsFeature createRcsFeature(int); 10852*344a7f5eSAndroid Build Coastguard Worker method public void disableIms(int); 10853*344a7f5eSAndroid Build Coastguard Worker method public void enableIms(int); 10854*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.stub.ImsConfigImplBase getConfig(int); 10855*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.stub.ImsRegistrationImplBase getRegistration(int); 10856*344a7f5eSAndroid Build Coastguard Worker method public final void onUpdateSupportedImsFeatures(android.telephony.ims.stub.ImsFeatureConfiguration) throws android.os.RemoteException; 10857*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.stub.ImsFeatureConfiguration querySupportedImsFeatures(); 10858*344a7f5eSAndroid Build Coastguard Worker method public void readyForFeatureCreation(); 10859*344a7f5eSAndroid Build Coastguard Worker } 10860*344a7f5eSAndroid Build Coastguard Worker 10861*344a7f5eSAndroid Build Coastguard Worker public final class ImsSsData implements android.os.Parcelable { 10862*344a7f5eSAndroid Build Coastguard Worker ctor public ImsSsData(int, int, int, int, int); 10863*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10864*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.util.List<android.telephony.ims.ImsCallForwardInfo> getCallForwardInfo(); 10865*344a7f5eSAndroid Build Coastguard Worker method public int getRequestType(); 10866*344a7f5eSAndroid Build Coastguard Worker method public int getResult(); 10867*344a7f5eSAndroid Build Coastguard Worker method public int getServiceClass(); 10868*344a7f5eSAndroid Build Coastguard Worker method public int getServiceType(); 10869*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.telephony.ims.ImsSsInfo> getSuppServiceInfo(); 10870*344a7f5eSAndroid Build Coastguard Worker method public int getTeleserviceType(); 10871*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeBarring(); 10872*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeCf(); 10873*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeClip(); 10874*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeClir(); 10875*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeColp(); 10876*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeColr(); 10877*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeCw(); 10878*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeIcb(); 10879*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeInterrogation(); 10880*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeUnConditional(); 10881*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10882*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsSsData> CREATOR; 10883*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_SUCCESS = 0; // 0x0 10884*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_DATA = 2; // 0x2 10885*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_DATA_CIRCUIT_ASYNC = 32; // 0x20 10886*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_DATA_CIRCUIT_SYNC = 16; // 0x10 10887*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_DATA_PACKET_ACCESS = 64; // 0x40 10888*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_DATA_PAD = 128; // 0x80 10889*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_FAX = 4; // 0x4 10890*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_NONE = 0; // 0x0 10891*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_SMS = 8; // 0x8 10892*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_VOICE = 1; // 0x1 10893*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ACTIVATION = 0; // 0x0 10894*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ALL_BARRING = 18; // 0x12 10895*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ALL_DATA_TELESERVICES = 3; // 0x3 10896*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ALL_TELESERVICES_EXCEPT_SMS = 5; // 0x5 10897*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ALL_TELESEVICES = 1; // 0x1 10898*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ALL_TELE_AND_BEARER_SERVICES = 0; // 0x0 10899*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_BAIC = 16; // 0x10 10900*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_BAIC_ROAMING = 17; // 0x11 10901*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_BAOC = 13; // 0xd 10902*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_BAOIC = 14; // 0xe 10903*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_BAOIC_EXC_HOME = 15; // 0xf 10904*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CFU = 0; // 0x0 10905*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CFUT = 6; // 0x6 10906*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CF_ALL = 4; // 0x4 10907*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CF_ALL_CONDITIONAL = 5; // 0x5 10908*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CF_BUSY = 1; // 0x1 10909*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CF_NOT_REACHABLE = 3; // 0x3 10910*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CF_NO_REPLY = 2; // 0x2 10911*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CLIP = 7; // 0x7 10912*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CLIR = 8; // 0x8 10913*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CNAP = 11; // 0xb 10914*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_COLP = 9; // 0x9 10915*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_COLR = 10; // 0xa 10916*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_DEACTIVATION = 1; // 0x1 10917*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ERASURE = 4; // 0x4 10918*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_INCOMING_BARRING = 20; // 0x14 10919*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_INCOMING_BARRING_ANONYMOUS = 22; // 0x16 10920*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_INCOMING_BARRING_DN = 21; // 0x15 10921*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_INTERROGATION = 2; // 0x2 10922*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_OUTGOING_BARRING = 19; // 0x13 10923*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_REGISTRATION = 3; // 0x3 10924*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_SMS_SERVICES = 4; // 0x4 10925*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_TELEPHONY = 2; // 0x2 10926*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_WAIT = 12; // 0xc 10927*344a7f5eSAndroid Build Coastguard Worker } 10928*344a7f5eSAndroid Build Coastguard Worker 10929*344a7f5eSAndroid Build Coastguard Worker public static final class ImsSsData.Builder { 10930*344a7f5eSAndroid Build Coastguard Worker ctor public ImsSsData.Builder(int, int, int, int, int); 10931*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsData build(); 10932*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsData.Builder setCallForwardingInfo(@NonNull java.util.List<android.telephony.ims.ImsCallForwardInfo>); 10933*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsData.Builder setSuppServiceInfo(@NonNull java.util.List<android.telephony.ims.ImsSsInfo>); 10934*344a7f5eSAndroid Build Coastguard Worker } 10935*344a7f5eSAndroid Build Coastguard Worker 10936*344a7f5eSAndroid Build Coastguard Worker public final class ImsSsInfo implements android.os.Parcelable { 10937*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public ImsSsInfo(int, @Nullable String); 10938*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10939*344a7f5eSAndroid Build Coastguard Worker method public int getClirInterrogationStatus(); 10940*344a7f5eSAndroid Build Coastguard Worker method public int getClirOutgoingState(); 10941*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public String getIcbNum(); 10942*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getIncomingCommunicationBarringNumber(); 10943*344a7f5eSAndroid Build Coastguard Worker method public int getProvisionStatus(); 10944*344a7f5eSAndroid Build Coastguard Worker method public int getStatus(); 10945*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10946*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_OUTGOING_DEFAULT = 0; // 0x0 10947*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_OUTGOING_INVOCATION = 1; // 0x1 10948*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_OUTGOING_SUPPRESSION = 2; // 0x2 10949*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_STATUS_NOT_PROVISIONED = 0; // 0x0 10950*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_STATUS_PROVISIONED_PERMANENT = 1; // 0x1 10951*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_STATUS_TEMPORARILY_ALLOWED = 4; // 0x4 10952*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_STATUS_TEMPORARILY_RESTRICTED = 3; // 0x3 10953*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_STATUS_UNKNOWN = 2; // 0x2 10954*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsSsInfo> CREATOR; 10955*344a7f5eSAndroid Build Coastguard Worker field public static final int DISABLED = 0; // 0x0 10956*344a7f5eSAndroid Build Coastguard Worker field public static final int ENABLED = 1; // 0x1 10957*344a7f5eSAndroid Build Coastguard Worker field public static final int NOT_REGISTERED = -1; // 0xffffffff 10958*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_NOT_PROVISIONED = 0; // 0x0 10959*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_PROVISIONED = 1; // 0x1 10960*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_PROVISIONING_UNKNOWN = -1; // 0xffffffff 10961*344a7f5eSAndroid Build Coastguard Worker } 10962*344a7f5eSAndroid Build Coastguard Worker 10963*344a7f5eSAndroid Build Coastguard Worker public static final class ImsSsInfo.Builder { 10964*344a7f5eSAndroid Build Coastguard Worker ctor public ImsSsInfo.Builder(int); 10965*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsInfo build(); 10966*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsInfo.Builder setClirInterrogationStatus(int); 10967*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsInfo.Builder setClirOutgoingState(int); 10968*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsInfo.Builder setIncomingCommunicationBarringNumber(@NonNull String); 10969*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsInfo.Builder setProvisionStatus(int); 10970*344a7f5eSAndroid Build Coastguard Worker } 10971*344a7f5eSAndroid Build Coastguard Worker 10972*344a7f5eSAndroid Build Coastguard Worker public final class ImsStreamMediaProfile implements android.os.Parcelable { 10973*344a7f5eSAndroid Build Coastguard Worker ctor public ImsStreamMediaProfile(int, int, int, int, int); 10974*344a7f5eSAndroid Build Coastguard Worker method public void copyFrom(android.telephony.ims.ImsStreamMediaProfile); 10975*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 10976*344a7f5eSAndroid Build Coastguard Worker method public int getAudioDirection(); 10977*344a7f5eSAndroid Build Coastguard Worker method public int getAudioQuality(); 10978*344a7f5eSAndroid Build Coastguard Worker method public int getRttMode(); 10979*344a7f5eSAndroid Build Coastguard Worker method public int getVideoDirection(); 10980*344a7f5eSAndroid Build Coastguard Worker method public int getVideoQuality(); 10981*344a7f5eSAndroid Build Coastguard Worker method public boolean isReceivingRttAudio(); 10982*344a7f5eSAndroid Build Coastguard Worker method public boolean isRttCall(); 10983*344a7f5eSAndroid Build Coastguard Worker method public void setReceivingRttAudio(boolean); 10984*344a7f5eSAndroid Build Coastguard Worker method public void setRttMode(int); 10985*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 10986*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_AMR = 1; // 0x1 10987*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_AMR_WB = 2; // 0x2 10988*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVRC = 4; // 0x4 10989*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVRC_B = 5; // 0x5 10990*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVRC_NW = 7; // 0x7 10991*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVRC_WB = 6; // 0x6 10992*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVS_FB = 20; // 0x14 10993*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVS_NB = 17; // 0x11 10994*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVS_SWB = 19; // 0x13 10995*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVS_WB = 18; // 0x12 10996*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_G711A = 13; // 0xd 10997*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_G711AB = 15; // 0xf 10998*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_G711U = 11; // 0xb 10999*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_G722 = 14; // 0xe 11000*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_G723 = 12; // 0xc 11001*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_G729 = 16; // 0x10 11002*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_GSM_EFR = 8; // 0x8 11003*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_GSM_FR = 9; // 0x9 11004*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_GSM_HR = 10; // 0xa 11005*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_NONE = 0; // 0x0 11006*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_QCELP13K = 3; // 0x3 11007*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsStreamMediaProfile> CREATOR; 11008*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_INACTIVE = 0; // 0x0 11009*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_INVALID = -1; // 0xffffffff 11010*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_RECEIVE = 1; // 0x1 11011*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_SEND = 2; // 0x2 11012*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_SEND_RECEIVE = 3; // 0x3 11013*344a7f5eSAndroid Build Coastguard Worker field public static final int RTT_MODE_DISABLED = 0; // 0x0 11014*344a7f5eSAndroid Build Coastguard Worker field public static final int RTT_MODE_FULL = 1; // 0x1 11015*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_QUALITY_NONE = 0; // 0x0 11016*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_QUALITY_QCIF = 1; // 0x1 11017*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_QUALITY_QVGA_LANDSCAPE = 2; // 0x2 11018*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_QUALITY_QVGA_PORTRAIT = 4; // 0x4 11019*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_QUALITY_VGA_LANDSCAPE = 8; // 0x8 11020*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_QUALITY_VGA_PORTRAIT = 16; // 0x10 11021*344a7f5eSAndroid Build Coastguard Worker } 11022*344a7f5eSAndroid Build Coastguard Worker 11023*344a7f5eSAndroid Build Coastguard Worker public final class ImsSuppServiceNotification implements android.os.Parcelable { 11024*344a7f5eSAndroid Build Coastguard Worker ctor public ImsSuppServiceNotification(int, int, int, int, String, String[]); 11025*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 11026*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 11027*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsSuppServiceNotification> CREATOR; 11028*344a7f5eSAndroid Build Coastguard Worker field public final int code; 11029*344a7f5eSAndroid Build Coastguard Worker field public final String[] history; 11030*344a7f5eSAndroid Build Coastguard Worker field public final int index; 11031*344a7f5eSAndroid Build Coastguard Worker field public final int notificationType; 11032*344a7f5eSAndroid Build Coastguard Worker field public final String number; 11033*344a7f5eSAndroid Build Coastguard Worker field public final int type; 11034*344a7f5eSAndroid Build Coastguard Worker } 11035*344a7f5eSAndroid Build Coastguard Worker 11036*344a7f5eSAndroid Build Coastguard Worker public class ImsUtListener { 11037*344a7f5eSAndroid Build Coastguard Worker method public void onLineIdentificationSupplementaryServiceResponse(int, @NonNull android.telephony.ims.ImsSsInfo); 11038*344a7f5eSAndroid Build Coastguard Worker method public void onSupplementaryServiceIndication(android.telephony.ims.ImsSsData); 11039*344a7f5eSAndroid Build Coastguard Worker method public void onUtConfigurationCallBarringQueried(int, android.telephony.ims.ImsSsInfo[]); 11040*344a7f5eSAndroid Build Coastguard Worker method public void onUtConfigurationCallForwardQueried(int, android.telephony.ims.ImsCallForwardInfo[]); 11041*344a7f5eSAndroid Build Coastguard Worker method public void onUtConfigurationCallWaitingQueried(int, android.telephony.ims.ImsSsInfo[]); 11042*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onUtConfigurationQueried(int, android.os.Bundle); 11043*344a7f5eSAndroid Build Coastguard Worker method public void onUtConfigurationQueryFailed(int, android.telephony.ims.ImsReasonInfo); 11044*344a7f5eSAndroid Build Coastguard Worker method public void onUtConfigurationUpdateFailed(int, android.telephony.ims.ImsReasonInfo); 11045*344a7f5eSAndroid Build Coastguard Worker method public void onUtConfigurationUpdated(int); 11046*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String BUNDLE_KEY_CLIR = "queryClir"; 11047*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String BUNDLE_KEY_SSINFO = "imsSsInfo"; 11048*344a7f5eSAndroid Build Coastguard Worker } 11049*344a7f5eSAndroid Build Coastguard Worker 11050*344a7f5eSAndroid Build Coastguard Worker public abstract class ImsVideoCallProvider { 11051*344a7f5eSAndroid Build Coastguard Worker ctor public ImsVideoCallProvider(); 11052*344a7f5eSAndroid Build Coastguard Worker method public void changeCallDataUsage(long); 11053*344a7f5eSAndroid Build Coastguard Worker method public void changeCameraCapabilities(android.telecom.VideoProfile.CameraCapabilities); 11054*344a7f5eSAndroid Build Coastguard Worker method public void changePeerDimensions(int, int); 11055*344a7f5eSAndroid Build Coastguard Worker method public void changeVideoQuality(int); 11056*344a7f5eSAndroid Build Coastguard Worker method public void handleCallSessionEvent(int); 11057*344a7f5eSAndroid Build Coastguard Worker method public abstract void onRequestCallDataUsage(); 11058*344a7f5eSAndroid Build Coastguard Worker method public abstract void onRequestCameraCapabilities(); 11059*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSendSessionModifyRequest(android.telecom.VideoProfile, android.telecom.VideoProfile); 11060*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSendSessionModifyResponse(android.telecom.VideoProfile); 11061*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetCamera(String); 11062*344a7f5eSAndroid Build Coastguard Worker method public void onSetCamera(String, int); 11063*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetDeviceOrientation(int); 11064*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetDisplaySurface(android.view.Surface); 11065*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetPauseImage(android.net.Uri); 11066*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetPreviewSurface(android.view.Surface); 11067*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetZoom(float); 11068*344a7f5eSAndroid Build Coastguard Worker method public void receiveSessionModifyRequest(android.telecom.VideoProfile); 11069*344a7f5eSAndroid Build Coastguard Worker method public void receiveSessionModifyResponse(int, android.telecom.VideoProfile, android.telecom.VideoProfile); 11070*344a7f5eSAndroid Build Coastguard Worker } 11071*344a7f5eSAndroid Build Coastguard Worker 11072*344a7f5eSAndroid Build Coastguard Worker public class ProvisioningManager { 11073*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.telephony.ims.ProvisioningManager createForSubscriptionId(int); 11074*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public int getProvisioningIntValue(int); 11075*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public boolean getProvisioningStatusForCapability(int, int); 11076*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public String getProvisioningStringValue(int); 11077*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public boolean getRcsProvisioningStatusForCapability(int); 11078*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void notifyRcsAutoConfigurationReceived(@NonNull byte[], boolean); 11079*344a7f5eSAndroid Build Coastguard Worker 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; 11080*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public int setProvisioningIntValue(int, int); 11081*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public void setProvisioningStatusForCapability(int, int, boolean); 11082*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public int setProvisioningStringValue(int, @NonNull String); 11083*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public void setRcsProvisioningStatusForCapability(int, boolean); 11084*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void unregisterProvisioningChangedCallback(@NonNull android.telephony.ims.ProvisioningManager.Callback); 11085*344a7f5eSAndroid Build Coastguard Worker field public static final int KEY_VOICE_OVER_WIFI_MODE_OVERRIDE = 27; // 0x1b 11086*344a7f5eSAndroid Build Coastguard Worker field public static final int KEY_VOICE_OVER_WIFI_ROAMING_ENABLED_OVERRIDE = 26; // 0x1a 11087*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_VALUE_DISABLED = 0; // 0x0 11088*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_VALUE_ENABLED = 1; // 0x1 11089*344a7f5eSAndroid Build Coastguard Worker field public static final String STRING_QUERY_RESULT_ERROR_GENERIC = "STRING_QUERY_RESULT_ERROR_GENERIC"; 11090*344a7f5eSAndroid Build Coastguard Worker field public static final String STRING_QUERY_RESULT_ERROR_NOT_READY = "STRING_QUERY_RESULT_ERROR_NOT_READY"; 11091*344a7f5eSAndroid Build Coastguard Worker } 11092*344a7f5eSAndroid Build Coastguard Worker 11093*344a7f5eSAndroid Build Coastguard Worker public static class ProvisioningManager.Callback { 11094*344a7f5eSAndroid Build Coastguard Worker ctor public ProvisioningManager.Callback(); 11095*344a7f5eSAndroid Build Coastguard Worker method public void onProvisioningIntChanged(int, int); 11096*344a7f5eSAndroid Build Coastguard Worker method public void onProvisioningStringChanged(int, @NonNull String); 11097*344a7f5eSAndroid Build Coastguard Worker } 11098*344a7f5eSAndroid Build Coastguard Worker 11099*344a7f5eSAndroid Build Coastguard Worker public class RcsUceAdapter { 11100*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUceSettingEnabled(boolean) throws android.telephony.ims.ImsException; 11101*344a7f5eSAndroid Build Coastguard Worker } 11102*344a7f5eSAndroid Build Coastguard Worker 11103*344a7f5eSAndroid Build Coastguard Worker} 11104*344a7f5eSAndroid Build Coastguard Worker 11105*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.ims.feature { 11106*344a7f5eSAndroid Build Coastguard Worker 11107*344a7f5eSAndroid Build Coastguard Worker public final class CapabilityChangeRequest implements android.os.Parcelable { 11108*344a7f5eSAndroid Build Coastguard Worker method public void addCapabilitiesToDisableForTech(int, int); 11109*344a7f5eSAndroid Build Coastguard Worker method public void addCapabilitiesToEnableForTech(int, int); 11110*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 11111*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telephony.ims.feature.CapabilityChangeRequest.CapabilityPair> getCapabilitiesToDisable(); 11112*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telephony.ims.feature.CapabilityChangeRequest.CapabilityPair> getCapabilitiesToEnable(); 11113*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 11114*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.feature.CapabilityChangeRequest> CREATOR; 11115*344a7f5eSAndroid Build Coastguard Worker } 11116*344a7f5eSAndroid Build Coastguard Worker 11117*344a7f5eSAndroid Build Coastguard Worker public static class CapabilityChangeRequest.CapabilityPair { 11118*344a7f5eSAndroid Build Coastguard Worker ctor public CapabilityChangeRequest.CapabilityPair(int, int); 11119*344a7f5eSAndroid Build Coastguard Worker method public int getCapability(); 11120*344a7f5eSAndroid Build Coastguard Worker method public int getRadioTech(); 11121*344a7f5eSAndroid Build Coastguard Worker } 11122*344a7f5eSAndroid Build Coastguard Worker 11123*344a7f5eSAndroid Build Coastguard Worker public abstract class ImsFeature { 11124*344a7f5eSAndroid Build Coastguard Worker ctor public ImsFeature(); 11125*344a7f5eSAndroid Build Coastguard Worker method public abstract void changeEnabledCapabilities(android.telephony.ims.feature.CapabilityChangeRequest, android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy); 11126*344a7f5eSAndroid Build Coastguard Worker method public int getFeatureState(); 11127*344a7f5eSAndroid Build Coastguard Worker method public final int getSlotIndex(); 11128*344a7f5eSAndroid Build Coastguard Worker method public abstract void onFeatureReady(); 11129*344a7f5eSAndroid Build Coastguard Worker method public abstract void onFeatureRemoved(); 11130*344a7f5eSAndroid Build Coastguard Worker method public final void setFeatureState(int); 11131*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_ERROR_GENERIC = -1; // 0xffffffff 11132*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_SUCCESS = 0; // 0x0 11133*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_EMERGENCY_MMTEL = 0; // 0x0 11134*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_MMTEL = 1; // 0x1 11135*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_RCS = 2; // 0x2 11136*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_INITIALIZING = 1; // 0x1 11137*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_READY = 2; // 0x2 11138*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_UNAVAILABLE = 0; // 0x0 11139*344a7f5eSAndroid Build Coastguard Worker } 11140*344a7f5eSAndroid Build Coastguard Worker 11141*344a7f5eSAndroid Build Coastguard Worker @Deprecated public static class ImsFeature.Capabilities { 11142*344a7f5eSAndroid Build Coastguard Worker field @Deprecated protected int mCapabilities; 11143*344a7f5eSAndroid Build Coastguard Worker } 11144*344a7f5eSAndroid Build Coastguard Worker 11145*344a7f5eSAndroid Build Coastguard Worker protected static class ImsFeature.CapabilityCallbackProxy { 11146*344a7f5eSAndroid Build Coastguard Worker method public void onChangeCapabilityConfigurationError(int, int, int); 11147*344a7f5eSAndroid Build Coastguard Worker } 11148*344a7f5eSAndroid Build Coastguard Worker 11149*344a7f5eSAndroid Build Coastguard Worker public class MmTelFeature extends android.telephony.ims.feature.ImsFeature { 11150*344a7f5eSAndroid Build Coastguard Worker ctor public MmTelFeature(); 11151*344a7f5eSAndroid Build Coastguard Worker method public void changeEnabledCapabilities(@NonNull android.telephony.ims.feature.CapabilityChangeRequest, @NonNull android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy); 11152*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.telephony.ims.ImsCallProfile createCallProfile(int, int); 11153*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.telephony.ims.stub.ImsCallSessionImplBase createCallSession(@NonNull android.telephony.ims.ImsCallProfile); 11154*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.stub.ImsEcbmImplBase getEcbm(); 11155*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.stub.ImsMultiEndpointImplBase getMultiEndpoint(); 11156*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.stub.ImsSmsImplBase getSmsImplementation(); 11157*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.stub.ImsUtImplBase getUt(); 11158*344a7f5eSAndroid Build Coastguard Worker method public final void notifyCapabilitiesStatusChanged(@NonNull android.telephony.ims.feature.MmTelFeature.MmTelCapabilities); 11159*344a7f5eSAndroid Build Coastguard Worker method public final void notifyIncomingCall(@NonNull android.telephony.ims.stub.ImsCallSessionImplBase, @NonNull android.os.Bundle); 11160*344a7f5eSAndroid Build Coastguard Worker method public final void notifyRejectedCall(@NonNull android.telephony.ims.ImsCallProfile, @NonNull android.telephony.ims.ImsReasonInfo); 11161*344a7f5eSAndroid Build Coastguard Worker method public final void notifyVoiceMessageCountUpdate(int); 11162*344a7f5eSAndroid Build Coastguard Worker method public void onFeatureReady(); 11163*344a7f5eSAndroid Build Coastguard Worker method public void onFeatureRemoved(); 11164*344a7f5eSAndroid Build Coastguard Worker method public boolean queryCapabilityConfiguration(int, int); 11165*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.telephony.ims.feature.MmTelFeature.MmTelCapabilities queryCapabilityStatus(); 11166*344a7f5eSAndroid Build Coastguard Worker method public void setUiTtyMode(int, @Nullable android.os.Message); 11167*344a7f5eSAndroid Build Coastguard Worker method public int shouldProcessCall(@NonNull String[]); 11168*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_IS_UNKNOWN_CALL = "android.telephony.ims.feature.extra.IS_UNKNOWN_CALL"; 11169*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_IS_USSD = "android.telephony.ims.feature.extra.IS_USSD"; 11170*344a7f5eSAndroid Build Coastguard Worker field public static final int PROCESS_CALL_CSFB = 1; // 0x1 11171*344a7f5eSAndroid Build Coastguard Worker field public static final int PROCESS_CALL_IMS = 0; // 0x0 11172*344a7f5eSAndroid Build Coastguard Worker } 11173*344a7f5eSAndroid Build Coastguard Worker 11174*344a7f5eSAndroid Build Coastguard Worker public static class MmTelFeature.MmTelCapabilities extends android.telephony.ims.feature.ImsFeature.Capabilities { 11175*344a7f5eSAndroid Build Coastguard Worker ctor public MmTelFeature.MmTelCapabilities(); 11176*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public MmTelFeature.MmTelCapabilities(android.telephony.ims.feature.ImsFeature.Capabilities); 11177*344a7f5eSAndroid Build Coastguard Worker ctor public MmTelFeature.MmTelCapabilities(int); 11178*344a7f5eSAndroid Build Coastguard Worker method public final void addCapabilities(int); 11179*344a7f5eSAndroid Build Coastguard Worker method public final boolean isCapable(int); 11180*344a7f5eSAndroid Build Coastguard Worker method public final void removeCapabilities(int); 11181*344a7f5eSAndroid Build Coastguard Worker } 11182*344a7f5eSAndroid Build Coastguard Worker 11183*344a7f5eSAndroid Build Coastguard Worker public class RcsFeature extends android.telephony.ims.feature.ImsFeature { 11184*344a7f5eSAndroid Build Coastguard Worker ctor public RcsFeature(); 11185*344a7f5eSAndroid Build Coastguard Worker method public void changeEnabledCapabilities(@NonNull android.telephony.ims.feature.CapabilityChangeRequest, @NonNull android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy); 11186*344a7f5eSAndroid Build Coastguard Worker method public void onFeatureReady(); 11187*344a7f5eSAndroid Build Coastguard Worker method public void onFeatureRemoved(); 11188*344a7f5eSAndroid Build Coastguard Worker } 11189*344a7f5eSAndroid Build Coastguard Worker 11190*344a7f5eSAndroid Build Coastguard Worker} 11191*344a7f5eSAndroid Build Coastguard Worker 11192*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.ims.stub { 11193*344a7f5eSAndroid Build Coastguard Worker 11194*344a7f5eSAndroid Build Coastguard Worker public class ImsCallSessionImplBase implements java.lang.AutoCloseable { 11195*344a7f5eSAndroid Build Coastguard Worker ctor public ImsCallSessionImplBase(); 11196*344a7f5eSAndroid Build Coastguard Worker method public void accept(int, android.telephony.ims.ImsStreamMediaProfile); 11197*344a7f5eSAndroid Build Coastguard Worker method public void close(); 11198*344a7f5eSAndroid Build Coastguard Worker method public void deflect(String); 11199*344a7f5eSAndroid Build Coastguard Worker method public void extendToConference(String[]); 11200*344a7f5eSAndroid Build Coastguard Worker method public String getCallId(); 11201*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.ImsCallProfile getCallProfile(); 11202*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.ImsVideoCallProvider getImsVideoCallProvider(); 11203*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.ImsCallProfile getLocalCallProfile(); 11204*344a7f5eSAndroid Build Coastguard Worker method public String getProperty(String); 11205*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.ImsCallProfile getRemoteCallProfile(); 11206*344a7f5eSAndroid Build Coastguard Worker method public int getState(); 11207*344a7f5eSAndroid Build Coastguard Worker method public void hold(android.telephony.ims.ImsStreamMediaProfile); 11208*344a7f5eSAndroid Build Coastguard Worker method public void inviteParticipants(String[]); 11209*344a7f5eSAndroid Build Coastguard Worker method public boolean isInCall(); 11210*344a7f5eSAndroid Build Coastguard Worker method public boolean isMultiparty(); 11211*344a7f5eSAndroid Build Coastguard Worker method public void merge(); 11212*344a7f5eSAndroid Build Coastguard Worker method public void reject(int); 11213*344a7f5eSAndroid Build Coastguard Worker method public void removeParticipants(String[]); 11214*344a7f5eSAndroid Build Coastguard Worker method public void resume(android.telephony.ims.ImsStreamMediaProfile); 11215*344a7f5eSAndroid Build Coastguard Worker method public void sendDtmf(char, android.os.Message); 11216*344a7f5eSAndroid Build Coastguard Worker method public void sendRttMessage(String); 11217*344a7f5eSAndroid Build Coastguard Worker method public void sendRttModifyRequest(android.telephony.ims.ImsCallProfile); 11218*344a7f5eSAndroid Build Coastguard Worker method public void sendRttModifyResponse(boolean); 11219*344a7f5eSAndroid Build Coastguard Worker method public void sendUssd(String); 11220*344a7f5eSAndroid Build Coastguard Worker method public void setListener(android.telephony.ims.ImsCallSessionListener); 11221*344a7f5eSAndroid Build Coastguard Worker method public void setMute(boolean); 11222*344a7f5eSAndroid Build Coastguard Worker method public void start(String, android.telephony.ims.ImsCallProfile); 11223*344a7f5eSAndroid Build Coastguard Worker method public void startConference(String[], android.telephony.ims.ImsCallProfile); 11224*344a7f5eSAndroid Build Coastguard Worker method public void startDtmf(char); 11225*344a7f5eSAndroid Build Coastguard Worker method public void stopDtmf(); 11226*344a7f5eSAndroid Build Coastguard Worker method public void terminate(int); 11227*344a7f5eSAndroid Build Coastguard Worker method public void update(int, android.telephony.ims.ImsStreamMediaProfile); 11228*344a7f5eSAndroid Build Coastguard Worker field public static final int USSD_MODE_NOTIFY = 0; // 0x0 11229*344a7f5eSAndroid Build Coastguard Worker field public static final int USSD_MODE_REQUEST = 1; // 0x1 11230*344a7f5eSAndroid Build Coastguard Worker } 11231*344a7f5eSAndroid Build Coastguard Worker 11232*344a7f5eSAndroid Build Coastguard Worker public static class ImsCallSessionImplBase.State { 11233*344a7f5eSAndroid Build Coastguard Worker method public static String toString(int); 11234*344a7f5eSAndroid Build Coastguard Worker field public static final int ESTABLISHED = 4; // 0x4 11235*344a7f5eSAndroid Build Coastguard Worker field public static final int ESTABLISHING = 3; // 0x3 11236*344a7f5eSAndroid Build Coastguard Worker field public static final int IDLE = 0; // 0x0 11237*344a7f5eSAndroid Build Coastguard Worker field public static final int INITIATED = 1; // 0x1 11238*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID = -1; // 0xffffffff 11239*344a7f5eSAndroid Build Coastguard Worker field public static final int NEGOTIATING = 2; // 0x2 11240*344a7f5eSAndroid Build Coastguard Worker field public static final int REESTABLISHING = 6; // 0x6 11241*344a7f5eSAndroid Build Coastguard Worker field public static final int RENEGOTIATING = 5; // 0x5 11242*344a7f5eSAndroid Build Coastguard Worker field public static final int TERMINATED = 8; // 0x8 11243*344a7f5eSAndroid Build Coastguard Worker field public static final int TERMINATING = 7; // 0x7 11244*344a7f5eSAndroid Build Coastguard Worker } 11245*344a7f5eSAndroid Build Coastguard Worker 11246*344a7f5eSAndroid Build Coastguard Worker public class ImsConfigImplBase { 11247*344a7f5eSAndroid Build Coastguard Worker ctor public ImsConfigImplBase(); 11248*344a7f5eSAndroid Build Coastguard Worker method public int getConfigInt(int); 11249*344a7f5eSAndroid Build Coastguard Worker method public String getConfigString(int); 11250*344a7f5eSAndroid Build Coastguard Worker method public final void notifyProvisionedValueChanged(int, int); 11251*344a7f5eSAndroid Build Coastguard Worker method public final void notifyProvisionedValueChanged(int, String); 11252*344a7f5eSAndroid Build Coastguard Worker method public void notifyRcsAutoConfigurationReceived(@NonNull byte[], boolean); 11253*344a7f5eSAndroid Build Coastguard Worker method public int setConfig(int, int); 11254*344a7f5eSAndroid Build Coastguard Worker method public int setConfig(int, String); 11255*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_RESULT_FAILED = 1; // 0x1 11256*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_RESULT_SUCCESS = 0; // 0x0 11257*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_RESULT_UNKNOWN = -1; // 0xffffffff 11258*344a7f5eSAndroid Build Coastguard Worker } 11259*344a7f5eSAndroid Build Coastguard Worker 11260*344a7f5eSAndroid Build Coastguard Worker public class ImsEcbmImplBase { 11261*344a7f5eSAndroid Build Coastguard Worker ctor public ImsEcbmImplBase(); 11262*344a7f5eSAndroid Build Coastguard Worker method public final void enteredEcbm(); 11263*344a7f5eSAndroid Build Coastguard Worker method public void exitEmergencyCallbackMode(); 11264*344a7f5eSAndroid Build Coastguard Worker method public final void exitedEcbm(); 11265*344a7f5eSAndroid Build Coastguard Worker } 11266*344a7f5eSAndroid Build Coastguard Worker 11267*344a7f5eSAndroid Build Coastguard Worker public final class ImsFeatureConfiguration implements android.os.Parcelable { 11268*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 11269*344a7f5eSAndroid Build Coastguard Worker method public java.util.Set<android.telephony.ims.stub.ImsFeatureConfiguration.FeatureSlotPair> getServiceFeatures(); 11270*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 11271*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.stub.ImsFeatureConfiguration> CREATOR; 11272*344a7f5eSAndroid Build Coastguard Worker } 11273*344a7f5eSAndroid Build Coastguard Worker 11274*344a7f5eSAndroid Build Coastguard Worker public static class ImsFeatureConfiguration.Builder { 11275*344a7f5eSAndroid Build Coastguard Worker ctor public ImsFeatureConfiguration.Builder(); 11276*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.stub.ImsFeatureConfiguration.Builder addFeature(int, int); 11277*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.stub.ImsFeatureConfiguration build(); 11278*344a7f5eSAndroid Build Coastguard Worker } 11279*344a7f5eSAndroid Build Coastguard Worker 11280*344a7f5eSAndroid Build Coastguard Worker public static final class ImsFeatureConfiguration.FeatureSlotPair { 11281*344a7f5eSAndroid Build Coastguard Worker ctor public ImsFeatureConfiguration.FeatureSlotPair(int, int); 11282*344a7f5eSAndroid Build Coastguard Worker field public final int featureType; 11283*344a7f5eSAndroid Build Coastguard Worker field public final int slotId; 11284*344a7f5eSAndroid Build Coastguard Worker } 11285*344a7f5eSAndroid Build Coastguard Worker 11286*344a7f5eSAndroid Build Coastguard Worker public class ImsMultiEndpointImplBase { 11287*344a7f5eSAndroid Build Coastguard Worker ctor public ImsMultiEndpointImplBase(); 11288*344a7f5eSAndroid Build Coastguard Worker method public final void onImsExternalCallStateUpdate(java.util.List<android.telephony.ims.ImsExternalCallState>); 11289*344a7f5eSAndroid Build Coastguard Worker method public void requestImsExternalCallStateInfo(); 11290*344a7f5eSAndroid Build Coastguard Worker } 11291*344a7f5eSAndroid Build Coastguard Worker 11292*344a7f5eSAndroid Build Coastguard Worker public class ImsRegistrationImplBase { 11293*344a7f5eSAndroid Build Coastguard Worker ctor public ImsRegistrationImplBase(); 11294*344a7f5eSAndroid Build Coastguard Worker method public final void onDeregistered(android.telephony.ims.ImsReasonInfo); 11295*344a7f5eSAndroid Build Coastguard Worker method public final void onRegistered(int); 11296*344a7f5eSAndroid Build Coastguard Worker method public final void onRegistering(int); 11297*344a7f5eSAndroid Build Coastguard Worker method public final void onSubscriberAssociatedUriChanged(android.net.Uri[]); 11298*344a7f5eSAndroid Build Coastguard Worker method public final void onTechnologyChangeFailed(int, android.telephony.ims.ImsReasonInfo); 11299*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_TECH_IWLAN = 1; // 0x1 11300*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_TECH_LTE = 0; // 0x0 11301*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_TECH_NONE = -1; // 0xffffffff 11302*344a7f5eSAndroid Build Coastguard Worker } 11303*344a7f5eSAndroid Build Coastguard Worker 11304*344a7f5eSAndroid Build Coastguard Worker public class ImsSmsImplBase { 11305*344a7f5eSAndroid Build Coastguard Worker ctor public ImsSmsImplBase(); 11306*344a7f5eSAndroid Build Coastguard Worker method public void acknowledgeSms(int, @IntRange(from=0, to=65535) int, int); 11307*344a7f5eSAndroid Build Coastguard Worker method public void acknowledgeSmsReport(int, @IntRange(from=0, to=65535) int, int); 11308*344a7f5eSAndroid Build Coastguard Worker method public String getSmsFormat(); 11309*344a7f5eSAndroid Build Coastguard Worker method public void onReady(); 11310*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final void onSendSmsResult(int, @IntRange(from=0, to=65535) int, int, int) throws java.lang.RuntimeException; 11311*344a7f5eSAndroid Build Coastguard Worker method public final void onSendSmsResultError(int, @IntRange(from=0, to=65535) int, int, int, int) throws java.lang.RuntimeException; 11312*344a7f5eSAndroid Build Coastguard Worker method public final void onSendSmsResultSuccess(int, @IntRange(from=0, to=65535) int) throws java.lang.RuntimeException; 11313*344a7f5eSAndroid Build Coastguard Worker method public final void onSmsReceived(int, String, byte[]) throws java.lang.RuntimeException; 11314*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final void onSmsStatusReportReceived(int, @IntRange(from=0, to=65535) int, String, byte[]) throws java.lang.RuntimeException; 11315*344a7f5eSAndroid Build Coastguard Worker method public final void onSmsStatusReportReceived(int, String, byte[]) throws java.lang.RuntimeException; 11316*344a7f5eSAndroid Build Coastguard Worker method public void sendSms(int, @IntRange(from=0, to=65535) int, String, String, boolean, byte[]); 11317*344a7f5eSAndroid Build Coastguard Worker field public static final int DELIVER_STATUS_ERROR_GENERIC = 2; // 0x2 11318*344a7f5eSAndroid Build Coastguard Worker field public static final int DELIVER_STATUS_ERROR_NO_MEMORY = 3; // 0x3 11319*344a7f5eSAndroid Build Coastguard Worker field public static final int DELIVER_STATUS_ERROR_REQUEST_NOT_SUPPORTED = 4; // 0x4 11320*344a7f5eSAndroid Build Coastguard Worker field public static final int DELIVER_STATUS_OK = 1; // 0x1 11321*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_NO_NETWORK_ERROR = -1; // 0xffffffff 11322*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_STATUS_ERROR = 2; // 0x2 11323*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_STATUS_ERROR_FALLBACK = 4; // 0x4 11324*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_STATUS_ERROR_RETRY = 3; // 0x3 11325*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_STATUS_OK = 1; // 0x1 11326*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_REPORT_STATUS_ERROR = 2; // 0x2 11327*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_REPORT_STATUS_OK = 1; // 0x1 11328*344a7f5eSAndroid Build Coastguard Worker } 11329*344a7f5eSAndroid Build Coastguard Worker 11330*344a7f5eSAndroid Build Coastguard Worker public class ImsUtImplBase { 11331*344a7f5eSAndroid Build Coastguard Worker ctor public ImsUtImplBase(); 11332*344a7f5eSAndroid Build Coastguard Worker method public void close(); 11333*344a7f5eSAndroid Build Coastguard Worker method public int queryCallBarring(int); 11334*344a7f5eSAndroid Build Coastguard Worker method public int queryCallBarringForServiceClass(int, int); 11335*344a7f5eSAndroid Build Coastguard Worker method public int queryCallForward(int, String); 11336*344a7f5eSAndroid Build Coastguard Worker method public int queryCallWaiting(); 11337*344a7f5eSAndroid Build Coastguard Worker method public int queryClip(); 11338*344a7f5eSAndroid Build Coastguard Worker method public int queryClir(); 11339*344a7f5eSAndroid Build Coastguard Worker method public int queryColp(); 11340*344a7f5eSAndroid Build Coastguard Worker method public int queryColr(); 11341*344a7f5eSAndroid Build Coastguard Worker method public void setListener(android.telephony.ims.ImsUtListener); 11342*344a7f5eSAndroid Build Coastguard Worker method public int transact(android.os.Bundle); 11343*344a7f5eSAndroid Build Coastguard Worker method public int updateCallBarring(int, int, String[]); 11344*344a7f5eSAndroid Build Coastguard Worker method public int updateCallBarringForServiceClass(int, int, String[], int); 11345*344a7f5eSAndroid Build Coastguard Worker method public int updateCallForward(int, int, String, int, int); 11346*344a7f5eSAndroid Build Coastguard Worker method public int updateCallWaiting(boolean, int); 11347*344a7f5eSAndroid Build Coastguard Worker method public int updateClip(boolean); 11348*344a7f5eSAndroid Build Coastguard Worker method public int updateClir(int); 11349*344a7f5eSAndroid Build Coastguard Worker method public int updateColp(boolean); 11350*344a7f5eSAndroid Build Coastguard Worker method public int updateColr(int); 11351*344a7f5eSAndroid Build Coastguard Worker } 11352*344a7f5eSAndroid Build Coastguard Worker 11353*344a7f5eSAndroid Build Coastguard Worker} 11354*344a7f5eSAndroid Build Coastguard Worker 11355*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.mbms { 11356*344a7f5eSAndroid Build Coastguard Worker 11357*344a7f5eSAndroid Build Coastguard Worker public static class DownloadRequest.Builder { 11358*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.mbms.DownloadRequest.Builder setServiceId(String); 11359*344a7f5eSAndroid Build Coastguard Worker } 11360*344a7f5eSAndroid Build Coastguard Worker 11361*344a7f5eSAndroid Build Coastguard Worker public final class FileInfo implements android.os.Parcelable { 11362*344a7f5eSAndroid Build Coastguard Worker ctor public FileInfo(android.net.Uri, String); 11363*344a7f5eSAndroid Build Coastguard Worker } 11364*344a7f5eSAndroid Build Coastguard Worker 11365*344a7f5eSAndroid Build Coastguard Worker public final class FileServiceInfo extends android.telephony.mbms.ServiceInfo implements android.os.Parcelable { 11366*344a7f5eSAndroid Build Coastguard Worker ctor public FileServiceInfo(java.util.Map<java.util.Locale,java.lang.String>, String, java.util.List<java.util.Locale>, String, java.util.Date, java.util.Date, java.util.List<android.telephony.mbms.FileInfo>); 11367*344a7f5eSAndroid Build Coastguard Worker } 11368*344a7f5eSAndroid Build Coastguard Worker 11369*344a7f5eSAndroid Build Coastguard Worker public class MbmsDownloadReceiver extends android.content.BroadcastReceiver { 11370*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_APP_NOTIFICATION_ERROR = 6; // 0x6 11371*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_BAD_TEMP_FILE_ROOT = 3; // 0x3 11372*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_DOWNLOAD_FINALIZATION_ERROR = 4; // 0x4 11373*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_INVALID_ACTION = 1; // 0x1 11374*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_MALFORMED_INTENT = 2; // 0x2 11375*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_OK = 0; // 0x0 11376*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_TEMP_FILE_GENERATION_ERROR = 5; // 0x5 11377*344a7f5eSAndroid Build Coastguard Worker } 11378*344a7f5eSAndroid Build Coastguard Worker 11379*344a7f5eSAndroid Build Coastguard Worker public final class StreamingServiceInfo extends android.telephony.mbms.ServiceInfo implements android.os.Parcelable { 11380*344a7f5eSAndroid Build Coastguard Worker ctor public StreamingServiceInfo(java.util.Map<java.util.Locale,java.lang.String>, String, java.util.List<java.util.Locale>, String, java.util.Date, java.util.Date); 11381*344a7f5eSAndroid Build Coastguard Worker } 11382*344a7f5eSAndroid Build Coastguard Worker 11383*344a7f5eSAndroid Build Coastguard Worker public final class UriPathPair implements android.os.Parcelable { 11384*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 11385*344a7f5eSAndroid Build Coastguard Worker method public android.net.Uri getContentUri(); 11386*344a7f5eSAndroid Build Coastguard Worker method public android.net.Uri getFilePathUri(); 11387*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 11388*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.mbms.UriPathPair> CREATOR; 11389*344a7f5eSAndroid Build Coastguard Worker } 11390*344a7f5eSAndroid Build Coastguard Worker 11391*344a7f5eSAndroid Build Coastguard Worker} 11392*344a7f5eSAndroid Build Coastguard Worker 11393*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.mbms.vendor { 11394*344a7f5eSAndroid Build Coastguard Worker 11395*344a7f5eSAndroid Build Coastguard Worker public class MbmsDownloadServiceBase extends android.os.Binder implements android.os.IInterface { 11396*344a7f5eSAndroid Build Coastguard Worker ctor public MbmsDownloadServiceBase(); 11397*344a7f5eSAndroid Build Coastguard Worker method public int addProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException; 11398*344a7f5eSAndroid Build Coastguard Worker method public int addStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException; 11399*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder asBinder(); 11400*344a7f5eSAndroid Build Coastguard Worker method public int cancelDownload(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException; 11401*344a7f5eSAndroid Build Coastguard Worker method public void dispose(int) throws android.os.RemoteException; 11402*344a7f5eSAndroid Build Coastguard Worker method public int download(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException; 11403*344a7f5eSAndroid Build Coastguard Worker method public int initialize(int, android.telephony.mbms.MbmsDownloadSessionCallback) throws android.os.RemoteException; 11404*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.telephony.mbms.DownloadRequest> listPendingDownloads(int) throws android.os.RemoteException; 11405*344a7f5eSAndroid Build Coastguard Worker method public void onAppCallbackDied(int, int); 11406*344a7f5eSAndroid Build Coastguard Worker method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException; 11407*344a7f5eSAndroid Build Coastguard Worker method public int removeProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException; 11408*344a7f5eSAndroid Build Coastguard Worker method public int removeStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException; 11409*344a7f5eSAndroid Build Coastguard Worker method public int requestDownloadState(android.telephony.mbms.DownloadRequest, android.telephony.mbms.FileInfo) throws android.os.RemoteException; 11410*344a7f5eSAndroid Build Coastguard Worker method public int requestUpdateFileServices(int, java.util.List<java.lang.String>) throws android.os.RemoteException; 11411*344a7f5eSAndroid Build Coastguard Worker method public int resetDownloadKnowledge(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException; 11412*344a7f5eSAndroid Build Coastguard Worker method public int setTempFileRootDirectory(int, String) throws android.os.RemoteException; 11413*344a7f5eSAndroid Build Coastguard Worker } 11414*344a7f5eSAndroid Build Coastguard Worker 11415*344a7f5eSAndroid Build Coastguard Worker public class MbmsGroupCallServiceBase extends android.app.Service { 11416*344a7f5eSAndroid Build Coastguard Worker ctor public MbmsGroupCallServiceBase(); 11417*344a7f5eSAndroid Build Coastguard Worker method public void dispose(int) throws android.os.RemoteException; 11418*344a7f5eSAndroid Build Coastguard Worker method public int initialize(@NonNull android.telephony.mbms.MbmsGroupCallSessionCallback, int) throws android.os.RemoteException; 11419*344a7f5eSAndroid Build Coastguard Worker method public void onAppCallbackDied(int, int); 11420*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder onBind(android.content.Intent); 11421*344a7f5eSAndroid Build Coastguard Worker method public int startGroupCall(int, long, @NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<java.lang.Integer>, @NonNull android.telephony.mbms.GroupCallCallback); 11422*344a7f5eSAndroid Build Coastguard Worker method public void stopGroupCall(int, long); 11423*344a7f5eSAndroid Build Coastguard Worker method public void updateGroupCall(int, long, @NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<java.lang.Integer>); 11424*344a7f5eSAndroid Build Coastguard Worker } 11425*344a7f5eSAndroid Build Coastguard Worker 11426*344a7f5eSAndroid Build Coastguard Worker public class MbmsStreamingServiceBase extends android.os.Binder implements android.os.IInterface { 11427*344a7f5eSAndroid Build Coastguard Worker ctor public MbmsStreamingServiceBase(); 11428*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder asBinder(); 11429*344a7f5eSAndroid Build Coastguard Worker method public void dispose(int) throws android.os.RemoteException; 11430*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.Uri getPlaybackUri(int, String) throws android.os.RemoteException; 11431*344a7f5eSAndroid Build Coastguard Worker method public int initialize(android.telephony.mbms.MbmsStreamingSessionCallback, int) throws android.os.RemoteException; 11432*344a7f5eSAndroid Build Coastguard Worker method public void onAppCallbackDied(int, int); 11433*344a7f5eSAndroid Build Coastguard Worker method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException; 11434*344a7f5eSAndroid Build Coastguard Worker method public int requestUpdateStreamingServices(int, java.util.List<java.lang.String>) throws android.os.RemoteException; 11435*344a7f5eSAndroid Build Coastguard Worker method public int startStreaming(int, String, android.telephony.mbms.StreamingServiceCallback) throws android.os.RemoteException; 11436*344a7f5eSAndroid Build Coastguard Worker method public void stopStreaming(int, String) throws android.os.RemoteException; 11437*344a7f5eSAndroid Build Coastguard Worker } 11438*344a7f5eSAndroid Build Coastguard Worker 11439*344a7f5eSAndroid Build Coastguard Worker public class VendorUtils { 11440*344a7f5eSAndroid Build Coastguard Worker ctor public VendorUtils(); 11441*344a7f5eSAndroid Build Coastguard Worker method public static android.content.ComponentName getAppReceiverFromPackageName(android.content.Context, String); 11442*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_CLEANUP = "android.telephony.mbms.action.CLEANUP"; 11443*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_DOWNLOAD_RESULT_INTERNAL = "android.telephony.mbms.action.DOWNLOAD_RESULT_INTERNAL"; 11444*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_FILE_DESCRIPTOR_REQUEST = "android.telephony.mbms.action.FILE_DESCRIPTOR_REQUEST"; 11445*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_FD_COUNT = "android.telephony.mbms.extra.FD_COUNT"; 11446*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_FINAL_URI = "android.telephony.mbms.extra.FINAL_URI"; 11447*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_FREE_URI_LIST = "android.telephony.mbms.extra.FREE_URI_LIST"; 11448*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PAUSED_LIST = "android.telephony.mbms.extra.PAUSED_LIST"; 11449*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PAUSED_URI_LIST = "android.telephony.mbms.extra.PAUSED_URI_LIST"; 11450*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_SERVICE_ID = "android.telephony.mbms.extra.SERVICE_ID"; 11451*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_TEMP_FILES_IN_USE = "android.telephony.mbms.extra.TEMP_FILES_IN_USE"; 11452*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_TEMP_FILE_ROOT = "android.telephony.mbms.extra.TEMP_FILE_ROOT"; 11453*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_TEMP_LIST = "android.telephony.mbms.extra.TEMP_LIST"; 11454*344a7f5eSAndroid Build Coastguard Worker } 11455*344a7f5eSAndroid Build Coastguard Worker 11456*344a7f5eSAndroid Build Coastguard Worker} 11457*344a7f5eSAndroid Build Coastguard Worker 11458*344a7f5eSAndroid Build Coastguard Workerpackage android.util { 11459*344a7f5eSAndroid Build Coastguard Worker 11460*344a7f5eSAndroid Build Coastguard Worker public class EventLog { 11461*344a7f5eSAndroid Build Coastguard Worker method public static void readEventsOnWrapping(int[], long, java.util.Collection<android.util.EventLog.Event>) throws java.io.IOException; 11462*344a7f5eSAndroid Build Coastguard Worker } 11463*344a7f5eSAndroid Build Coastguard Worker 11464*344a7f5eSAndroid Build Coastguard Worker public static final class EventLog.Event { 11465*344a7f5eSAndroid Build Coastguard Worker method public int getUid(); 11466*344a7f5eSAndroid Build Coastguard Worker } 11467*344a7f5eSAndroid Build Coastguard Worker 11468*344a7f5eSAndroid Build Coastguard Worker} 11469*344a7f5eSAndroid Build Coastguard Worker 11470*344a7f5eSAndroid Build Coastguard Workerpackage android.view { 11471*344a7f5eSAndroid Build Coastguard Worker 11472*344a7f5eSAndroid Build Coastguard Worker public abstract class Window { 11473*344a7f5eSAndroid Build Coastguard Worker method public void addSystemFlags(@android.view.WindowManager.LayoutParams.SystemFlags int); 11474*344a7f5eSAndroid Build Coastguard Worker } 11475*344a7f5eSAndroid Build Coastguard Worker 11476*344a7f5eSAndroid Build Coastguard Worker public interface WindowManager extends android.view.ViewManager { 11477*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public android.graphics.Region getCurrentImeTouchRegion(); 11478*344a7f5eSAndroid Build Coastguard Worker } 11479*344a7f5eSAndroid Build Coastguard Worker 11480*344a7f5eSAndroid Build Coastguard Worker public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable { 11481*344a7f5eSAndroid Build Coastguard Worker method public final long getUserActivityTimeout(); 11482*344a7f5eSAndroid Build Coastguard Worker method public final void setUserActivityTimeout(long); 11483*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS) public static final int SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS = 524288; // 0x80000 11484*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.INTERNAL_SYSTEM_WINDOW) public static final int SYSTEM_FLAG_SHOW_FOR_ALL_USERS = 16; // 0x10 11485*344a7f5eSAndroid Build Coastguard Worker } 11486*344a7f5eSAndroid Build Coastguard Worker 11487*344a7f5eSAndroid Build Coastguard Worker @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 { 11488*344a7f5eSAndroid Build Coastguard Worker } 11489*344a7f5eSAndroid Build Coastguard Worker 11490*344a7f5eSAndroid Build Coastguard Worker} 11491*344a7f5eSAndroid Build Coastguard Worker 11492*344a7f5eSAndroid Build Coastguard Workerpackage android.view.accessibility { 11493*344a7f5eSAndroid Build Coastguard Worker 11494*344a7f5eSAndroid Build Coastguard Worker public final class AccessibilityManager { 11495*344a7f5eSAndroid Build Coastguard Worker method public int getAccessibilityWindowId(@Nullable android.os.IBinder); 11496*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public void performAccessibilityShortcut(); 11497*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public void registerSystemAction(@NonNull android.app.RemoteAction, int); 11498*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public void unregisterSystemAction(int); 11499*344a7f5eSAndroid Build Coastguard Worker } 11500*344a7f5eSAndroid Build Coastguard Worker 11501*344a7f5eSAndroid Build Coastguard Worker} 11502*344a7f5eSAndroid Build Coastguard Worker 11503*344a7f5eSAndroid Build Coastguard Workerpackage android.view.autofill { 11504*344a7f5eSAndroid Build Coastguard Worker 11505*344a7f5eSAndroid Build Coastguard Worker public final class AutofillManager { 11506*344a7f5eSAndroid Build Coastguard Worker method public void setAugmentedAutofillWhitelist(@Nullable java.util.Set<java.lang.String>, @Nullable java.util.Set<android.content.ComponentName>); 11507*344a7f5eSAndroid Build Coastguard Worker } 11508*344a7f5eSAndroid Build Coastguard Worker 11509*344a7f5eSAndroid Build Coastguard Worker} 11510*344a7f5eSAndroid Build Coastguard Worker 11511*344a7f5eSAndroid Build Coastguard Workerpackage android.view.contentcapture { 11512*344a7f5eSAndroid Build Coastguard Worker 11513*344a7f5eSAndroid Build Coastguard Worker public final class ContentCaptureContext implements android.os.Parcelable { 11514*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.ComponentName getActivityComponent(); 11515*344a7f5eSAndroid Build Coastguard Worker method public int getDisplayId(); 11516*344a7f5eSAndroid Build Coastguard Worker method public int getFlags(); 11517*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.contentcapture.ContentCaptureSessionId getParentSessionId(); 11518*344a7f5eSAndroid Build Coastguard Worker method public int getTaskId(); 11519*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_DISABLED_BY_APP = 1; // 0x1 11520*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_DISABLED_BY_FLAG_SECURE = 2; // 0x2 11521*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_RECONNECTED = 4; // 0x4 11522*344a7f5eSAndroid Build Coastguard Worker } 11523*344a7f5eSAndroid Build Coastguard Worker 11524*344a7f5eSAndroid Build Coastguard Worker public final class ContentCaptureEvent implements android.os.Parcelable { 11525*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 11526*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.contentcapture.ContentCaptureContext getContentCaptureContext(); 11527*344a7f5eSAndroid Build Coastguard Worker method public long getEventTime(); 11528*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.autofill.AutofillId getId(); 11529*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.util.List<android.view.autofill.AutofillId> getIds(); 11530*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.graphics.Insets getInsets(); 11531*344a7f5eSAndroid Build Coastguard Worker method @Nullable public CharSequence getText(); 11532*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 11533*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.contentcapture.ViewNode getViewNode(); 11534*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 11535*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.view.contentcapture.ContentCaptureEvent> CREATOR; 11536*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_CONTEXT_UPDATED = 6; // 0x6 11537*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_SESSION_PAUSED = 8; // 0x8 11538*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_SESSION_RESUMED = 7; // 0x7 11539*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIEW_APPEARED = 1; // 0x1 11540*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIEW_DISAPPEARED = 2; // 0x2 11541*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIEW_INSETS_CHANGED = 9; // 0x9 11542*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIEW_TEXT_CHANGED = 3; // 0x3 11543*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIEW_TREE_APPEARED = 5; // 0x5 11544*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIEW_TREE_APPEARING = 4; // 0x4 11545*344a7f5eSAndroid Build Coastguard Worker } 11546*344a7f5eSAndroid Build Coastguard Worker 11547*344a7f5eSAndroid Build Coastguard Worker public final class ContentCaptureManager { 11548*344a7f5eSAndroid Build Coastguard Worker method public boolean isContentCaptureFeatureEnabled(); 11549*344a7f5eSAndroid Build Coastguard Worker field public static final int NO_SESSION_ID = 0; // 0x0 11550*344a7f5eSAndroid Build Coastguard Worker } 11551*344a7f5eSAndroid Build Coastguard Worker 11552*344a7f5eSAndroid Build Coastguard Worker public final class ViewNode extends android.app.assist.AssistStructure.ViewNode { 11553*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.autofill.AutofillId getParentAutofillId(); 11554*344a7f5eSAndroid Build Coastguard Worker } 11555*344a7f5eSAndroid Build Coastguard Worker 11556*344a7f5eSAndroid Build Coastguard Worker} 11557*344a7f5eSAndroid Build Coastguard Worker 11558*344a7f5eSAndroid Build Coastguard Workerpackage android.webkit { 11559*344a7f5eSAndroid Build Coastguard Worker 11560*344a7f5eSAndroid Build Coastguard Worker public abstract class CookieManager { 11561*344a7f5eSAndroid Build Coastguard Worker method protected abstract boolean allowFileSchemeCookiesImpl(); 11562*344a7f5eSAndroid Build Coastguard Worker method public abstract String getCookie(String, boolean); 11563*344a7f5eSAndroid Build Coastguard Worker method public String getCookie(android.net.WebAddress); 11564*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean hasCookies(boolean); 11565*344a7f5eSAndroid Build Coastguard Worker method protected abstract void setAcceptFileSchemeCookiesImpl(boolean); 11566*344a7f5eSAndroid Build Coastguard Worker } 11567*344a7f5eSAndroid Build Coastguard Worker 11568*344a7f5eSAndroid Build Coastguard Worker public class FindActionModeCallback implements android.view.ActionMode.Callback android.text.TextWatcher android.view.View.OnClickListener android.webkit.WebView.FindListener { 11569*344a7f5eSAndroid Build Coastguard Worker ctor public FindActionModeCallback(android.content.Context); 11570*344a7f5eSAndroid Build Coastguard Worker method public void afterTextChanged(android.text.Editable); 11571*344a7f5eSAndroid Build Coastguard Worker method public void beforeTextChanged(CharSequence, int, int, int); 11572*344a7f5eSAndroid Build Coastguard Worker method public void findAll(); 11573*344a7f5eSAndroid Build Coastguard Worker method public void finish(); 11574*344a7f5eSAndroid Build Coastguard Worker method public int getActionModeGlobalBottom(); 11575*344a7f5eSAndroid Build Coastguard Worker method public boolean onActionItemClicked(android.view.ActionMode, android.view.MenuItem); 11576*344a7f5eSAndroid Build Coastguard Worker method public void onClick(android.view.View); 11577*344a7f5eSAndroid Build Coastguard Worker method public boolean onCreateActionMode(android.view.ActionMode, android.view.Menu); 11578*344a7f5eSAndroid Build Coastguard Worker method public void onDestroyActionMode(android.view.ActionMode); 11579*344a7f5eSAndroid Build Coastguard Worker method public void onFindResultReceived(int, int, boolean); 11580*344a7f5eSAndroid Build Coastguard Worker method public boolean onPrepareActionMode(android.view.ActionMode, android.view.Menu); 11581*344a7f5eSAndroid Build Coastguard Worker method public void onTextChanged(CharSequence, int, int, int); 11582*344a7f5eSAndroid Build Coastguard Worker method public void setText(String); 11583*344a7f5eSAndroid Build Coastguard Worker method public void setWebView(@NonNull android.webkit.WebView); 11584*344a7f5eSAndroid Build Coastguard Worker method public void showSoftInput(); 11585*344a7f5eSAndroid Build Coastguard Worker method public void updateMatchCount(int, int, boolean); 11586*344a7f5eSAndroid Build Coastguard Worker } 11587*344a7f5eSAndroid Build Coastguard Worker 11588*344a7f5eSAndroid Build Coastguard Worker public static class FindActionModeCallback.NoAction implements android.view.ActionMode.Callback { 11589*344a7f5eSAndroid Build Coastguard Worker ctor public FindActionModeCallback.NoAction(); 11590*344a7f5eSAndroid Build Coastguard Worker method public boolean onActionItemClicked(android.view.ActionMode, android.view.MenuItem); 11591*344a7f5eSAndroid Build Coastguard Worker method public boolean onCreateActionMode(android.view.ActionMode, android.view.Menu); 11592*344a7f5eSAndroid Build Coastguard Worker method public void onDestroyActionMode(android.view.ActionMode); 11593*344a7f5eSAndroid Build Coastguard Worker method public boolean onPrepareActionMode(android.view.ActionMode, android.view.Menu); 11594*344a7f5eSAndroid Build Coastguard Worker } 11595*344a7f5eSAndroid Build Coastguard Worker 11596*344a7f5eSAndroid Build Coastguard Worker public class GeolocationPermissions { 11597*344a7f5eSAndroid Build Coastguard Worker ctor public GeolocationPermissions(); 11598*344a7f5eSAndroid Build Coastguard Worker } 11599*344a7f5eSAndroid Build Coastguard Worker 11600*344a7f5eSAndroid Build Coastguard Worker public class HttpAuthHandler extends android.os.Handler { 11601*344a7f5eSAndroid Build Coastguard Worker ctor public HttpAuthHandler(); 11602*344a7f5eSAndroid Build Coastguard Worker } 11603*344a7f5eSAndroid Build Coastguard Worker 11604*344a7f5eSAndroid Build Coastguard Worker public class JsDialogHelper { 11605*344a7f5eSAndroid Build Coastguard Worker ctor public JsDialogHelper(android.webkit.JsPromptResult, int, String, String, String); 11606*344a7f5eSAndroid Build Coastguard Worker ctor public JsDialogHelper(android.webkit.JsPromptResult, android.os.Message); 11607*344a7f5eSAndroid Build Coastguard Worker method public boolean invokeCallback(android.webkit.WebChromeClient, android.webkit.WebView); 11608*344a7f5eSAndroid Build Coastguard Worker method public void showDialog(android.content.Context); 11609*344a7f5eSAndroid Build Coastguard Worker field public static final int ALERT = 1; // 0x1 11610*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIRM = 2; // 0x2 11611*344a7f5eSAndroid Build Coastguard Worker field public static final int PROMPT = 3; // 0x3 11612*344a7f5eSAndroid Build Coastguard Worker field public static final int UNLOAD = 4; // 0x4 11613*344a7f5eSAndroid Build Coastguard Worker } 11614*344a7f5eSAndroid Build Coastguard Worker 11615*344a7f5eSAndroid Build Coastguard Worker public class JsPromptResult extends android.webkit.JsResult { 11616*344a7f5eSAndroid Build Coastguard Worker ctor public JsPromptResult(android.webkit.JsResult.ResultReceiver); 11617*344a7f5eSAndroid Build Coastguard Worker method public String getStringResult(); 11618*344a7f5eSAndroid Build Coastguard Worker } 11619*344a7f5eSAndroid Build Coastguard Worker 11620*344a7f5eSAndroid Build Coastguard Worker public class JsResult { 11621*344a7f5eSAndroid Build Coastguard Worker ctor public JsResult(android.webkit.JsResult.ResultReceiver); 11622*344a7f5eSAndroid Build Coastguard Worker method public final boolean getResult(); 11623*344a7f5eSAndroid Build Coastguard Worker } 11624*344a7f5eSAndroid Build Coastguard Worker 11625*344a7f5eSAndroid Build Coastguard Worker public static interface JsResult.ResultReceiver { 11626*344a7f5eSAndroid Build Coastguard Worker method public void onJsResultComplete(android.webkit.JsResult); 11627*344a7f5eSAndroid Build Coastguard Worker } 11628*344a7f5eSAndroid Build Coastguard Worker 11629*344a7f5eSAndroid Build Coastguard Worker public interface PacProcessor { 11630*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String findProxyForUrl(@NonNull String); 11631*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.webkit.PacProcessor getInstance(); 11632*344a7f5eSAndroid Build Coastguard Worker method public boolean setProxyScript(@NonNull String); 11633*344a7f5eSAndroid Build Coastguard Worker } 11634*344a7f5eSAndroid Build Coastguard Worker 11635*344a7f5eSAndroid Build Coastguard Worker public class SslErrorHandler extends android.os.Handler { 11636*344a7f5eSAndroid Build Coastguard Worker ctor public SslErrorHandler(); 11637*344a7f5eSAndroid Build Coastguard Worker } 11638*344a7f5eSAndroid Build Coastguard Worker 11639*344a7f5eSAndroid Build Coastguard Worker @Deprecated public abstract class TokenBindingService { 11640*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public TokenBindingService(); 11641*344a7f5eSAndroid Build Coastguard Worker } 11642*344a7f5eSAndroid Build Coastguard Worker 11643*344a7f5eSAndroid Build Coastguard Worker public class WebChromeClient { 11644*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void openFileChooser(android.webkit.ValueCallback<android.net.Uri>, String, String); 11645*344a7f5eSAndroid Build Coastguard Worker } 11646*344a7f5eSAndroid Build Coastguard Worker 11647*344a7f5eSAndroid Build Coastguard Worker public abstract class WebHistoryItem implements java.lang.Cloneable { 11648*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract int getId(); 11649*344a7f5eSAndroid Build Coastguard Worker } 11650*344a7f5eSAndroid Build Coastguard Worker 11651*344a7f5eSAndroid Build Coastguard Worker @Deprecated public abstract class WebIconDatabase { 11652*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract void bulkRequestIconForPageUrl(android.content.ContentResolver, String, android.webkit.WebIconDatabase.IconListener); 11653*344a7f5eSAndroid Build Coastguard Worker } 11654*344a7f5eSAndroid Build Coastguard Worker 11655*344a7f5eSAndroid Build Coastguard Worker public abstract class WebMessagePort { 11656*344a7f5eSAndroid Build Coastguard Worker ctor public WebMessagePort(); 11657*344a7f5eSAndroid Build Coastguard Worker } 11658*344a7f5eSAndroid Build Coastguard Worker 11659*344a7f5eSAndroid Build Coastguard Worker public abstract class WebResourceError { 11660*344a7f5eSAndroid Build Coastguard Worker ctor public WebResourceError(); 11661*344a7f5eSAndroid Build Coastguard Worker } 11662*344a7f5eSAndroid Build Coastguard Worker 11663*344a7f5eSAndroid Build Coastguard Worker public class WebResourceResponse { 11664*344a7f5eSAndroid Build Coastguard Worker ctor public WebResourceResponse(boolean, String, String, int, String, java.util.Map<java.lang.String,java.lang.String>, java.io.InputStream); 11665*344a7f5eSAndroid Build Coastguard Worker } 11666*344a7f5eSAndroid Build Coastguard Worker 11667*344a7f5eSAndroid Build Coastguard Worker public abstract class WebSettings { 11668*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean getAcceptThirdPartyCookies(); 11669*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract boolean getNavDump(); 11670*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract boolean getPluginsEnabled(); 11671*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract boolean getUseWebViewBackgroundForOverscrollBackground(); 11672*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract int getUserAgent(); 11673*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean getVideoOverlayForEmbeddedEncryptedVideoEnabled(); 11674*344a7f5eSAndroid Build Coastguard Worker method public abstract void setAcceptThirdPartyCookies(boolean); 11675*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract void setNavDump(boolean); 11676*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract void setPluginsEnabled(boolean); 11677*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract void setUseWebViewBackgroundForOverscrollBackground(boolean); 11678*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract void setUserAgent(int); 11679*344a7f5eSAndroid Build Coastguard Worker method public abstract void setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean); 11680*344a7f5eSAndroid Build Coastguard Worker } 11681*344a7f5eSAndroid Build Coastguard Worker 11682*344a7f5eSAndroid Build Coastguard Worker public class WebStorage { 11683*344a7f5eSAndroid Build Coastguard Worker ctor public WebStorage(); 11684*344a7f5eSAndroid Build Coastguard Worker } 11685*344a7f5eSAndroid Build Coastguard Worker 11686*344a7f5eSAndroid Build Coastguard Worker public static class WebStorage.Origin { 11687*344a7f5eSAndroid Build Coastguard Worker ctor protected WebStorage.Origin(String, long, long); 11688*344a7f5eSAndroid Build Coastguard Worker } 11689*344a7f5eSAndroid Build Coastguard Worker 11690*344a7f5eSAndroid Build Coastguard Worker public class WebView extends android.widget.AbsoluteLayout implements android.view.ViewGroup.OnHierarchyChangeListener android.view.ViewTreeObserver.OnGlobalFocusChangeListener { 11691*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebViewProvider getWebViewProvider(); 11692*344a7f5eSAndroid Build Coastguard Worker } 11693*344a7f5eSAndroid Build Coastguard Worker 11694*344a7f5eSAndroid Build Coastguard Worker public static class WebView.HitTestResult { 11695*344a7f5eSAndroid Build Coastguard Worker ctor public WebView.HitTestResult(); 11696*344a7f5eSAndroid Build Coastguard Worker method public void setExtra(String); 11697*344a7f5eSAndroid Build Coastguard Worker method public void setType(int); 11698*344a7f5eSAndroid Build Coastguard Worker } 11699*344a7f5eSAndroid Build Coastguard Worker 11700*344a7f5eSAndroid Build Coastguard Worker public class WebView.PrivateAccess { 11701*344a7f5eSAndroid Build Coastguard Worker ctor public WebView.PrivateAccess(); 11702*344a7f5eSAndroid Build Coastguard Worker method public void awakenScrollBars(int); 11703*344a7f5eSAndroid Build Coastguard Worker method public void awakenScrollBars(int, boolean); 11704*344a7f5eSAndroid Build Coastguard Worker method public float getHorizontalScrollFactor(); 11705*344a7f5eSAndroid Build Coastguard Worker method public int getHorizontalScrollbarHeight(); 11706*344a7f5eSAndroid Build Coastguard Worker method public float getVerticalScrollFactor(); 11707*344a7f5eSAndroid Build Coastguard Worker method public void onScrollChanged(int, int, int, int); 11708*344a7f5eSAndroid Build Coastguard Worker method public void overScrollBy(int, int, int, int, int, int, int, int, boolean); 11709*344a7f5eSAndroid Build Coastguard Worker method public void setMeasuredDimension(int, int); 11710*344a7f5eSAndroid Build Coastguard Worker method public void setScrollXRaw(int); 11711*344a7f5eSAndroid Build Coastguard Worker method public void setScrollYRaw(int); 11712*344a7f5eSAndroid Build Coastguard Worker method public void super_computeScroll(); 11713*344a7f5eSAndroid Build Coastguard Worker method public boolean super_dispatchKeyEvent(android.view.KeyEvent); 11714*344a7f5eSAndroid Build Coastguard Worker method public int super_getScrollBarStyle(); 11715*344a7f5eSAndroid Build Coastguard Worker method public void super_onDrawVerticalScrollBar(android.graphics.Canvas, android.graphics.drawable.Drawable, int, int, int, int); 11716*344a7f5eSAndroid Build Coastguard Worker method public boolean super_onGenericMotionEvent(android.view.MotionEvent); 11717*344a7f5eSAndroid Build Coastguard Worker method public boolean super_onHoverEvent(android.view.MotionEvent); 11718*344a7f5eSAndroid Build Coastguard Worker method public boolean super_performAccessibilityAction(int, android.os.Bundle); 11719*344a7f5eSAndroid Build Coastguard Worker method public boolean super_performLongClick(); 11720*344a7f5eSAndroid Build Coastguard Worker method public boolean super_requestFocus(int, android.graphics.Rect); 11721*344a7f5eSAndroid Build Coastguard Worker method public void super_scrollTo(int, int); 11722*344a7f5eSAndroid Build Coastguard Worker method public boolean super_setFrame(int, int, int, int); 11723*344a7f5eSAndroid Build Coastguard Worker method public void super_setLayoutParams(android.view.ViewGroup.LayoutParams); 11724*344a7f5eSAndroid Build Coastguard Worker method public void super_startActivityForResult(android.content.Intent, int); 11725*344a7f5eSAndroid Build Coastguard Worker } 11726*344a7f5eSAndroid Build Coastguard Worker 11727*344a7f5eSAndroid Build Coastguard Worker public final class WebViewDelegate { 11728*344a7f5eSAndroid Build Coastguard Worker method public void addWebViewAssetPath(android.content.Context); 11729*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void callDrawGlFunction(android.graphics.Canvas, long); 11730*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void callDrawGlFunction(@NonNull android.graphics.Canvas, long, @Nullable Runnable); 11731*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean canInvokeDrawGlFunctor(android.view.View); 11732*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void detachDrawGlFunctor(android.view.View, long); 11733*344a7f5eSAndroid Build Coastguard Worker method public void drawWebViewFunctor(@NonNull android.graphics.Canvas, int); 11734*344a7f5eSAndroid Build Coastguard Worker method public android.app.Application getApplication(); 11735*344a7f5eSAndroid Build Coastguard Worker method public String getDataDirectorySuffix(); 11736*344a7f5eSAndroid Build Coastguard Worker method public String getErrorString(android.content.Context, int); 11737*344a7f5eSAndroid Build Coastguard Worker method public int getPackageId(android.content.res.Resources, String); 11738*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void invokeDrawGlFunctor(android.view.View, long, boolean); 11739*344a7f5eSAndroid Build Coastguard Worker method public boolean isMultiProcessEnabled(); 11740*344a7f5eSAndroid Build Coastguard Worker method public boolean isTraceTagEnabled(); 11741*344a7f5eSAndroid Build Coastguard Worker method public void setOnTraceEnabledChangeListener(android.webkit.WebViewDelegate.OnTraceEnabledChangeListener); 11742*344a7f5eSAndroid Build Coastguard Worker } 11743*344a7f5eSAndroid Build Coastguard Worker 11744*344a7f5eSAndroid Build Coastguard Worker public static interface WebViewDelegate.OnTraceEnabledChangeListener { 11745*344a7f5eSAndroid Build Coastguard Worker method public void onTraceEnabledChange(boolean); 11746*344a7f5eSAndroid Build Coastguard Worker } 11747*344a7f5eSAndroid Build Coastguard Worker 11748*344a7f5eSAndroid Build Coastguard Worker public final class WebViewFactory { 11749*344a7f5eSAndroid Build Coastguard Worker ctor public WebViewFactory(); 11750*344a7f5eSAndroid Build Coastguard Worker method public static android.content.pm.PackageInfo getLoadedPackageInfo(); 11751*344a7f5eSAndroid Build Coastguard Worker method public static int loadWebViewNativeLibraryFromPackage(String, ClassLoader); 11752*344a7f5eSAndroid Build Coastguard Worker method public static void prepareWebViewInZygote(); 11753*344a7f5eSAndroid Build Coastguard Worker field public static final int LIBLOAD_ADDRESS_SPACE_NOT_RESERVED = 2; // 0x2 11754*344a7f5eSAndroid Build Coastguard Worker field public static final int LIBLOAD_FAILED_JNI_CALL = 7; // 0x7 11755*344a7f5eSAndroid Build Coastguard Worker field public static final int LIBLOAD_FAILED_LISTING_WEBVIEW_PACKAGES = 4; // 0x4 11756*344a7f5eSAndroid Build Coastguard Worker field public static final int LIBLOAD_FAILED_TO_FIND_NAMESPACE = 10; // 0xa 11757*344a7f5eSAndroid Build Coastguard Worker field public static final int LIBLOAD_FAILED_TO_LOAD_LIBRARY = 6; // 0x6 11758*344a7f5eSAndroid Build Coastguard Worker field public static final int LIBLOAD_FAILED_TO_OPEN_RELRO_FILE = 5; // 0x5 11759*344a7f5eSAndroid Build Coastguard Worker field public static final int LIBLOAD_FAILED_WAITING_FOR_RELRO = 3; // 0x3 11760*344a7f5eSAndroid Build Coastguard Worker field public static final int LIBLOAD_FAILED_WAITING_FOR_WEBVIEW_REASON_UNKNOWN = 8; // 0x8 11761*344a7f5eSAndroid Build Coastguard Worker field public static final int LIBLOAD_SUCCESS = 0; // 0x0 11762*344a7f5eSAndroid Build Coastguard Worker field public static final int LIBLOAD_WRONG_PACKAGE_NAME = 1; // 0x1 11763*344a7f5eSAndroid Build Coastguard Worker } 11764*344a7f5eSAndroid Build Coastguard Worker 11765*344a7f5eSAndroid Build Coastguard Worker public interface WebViewFactoryProvider { 11766*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebViewProvider createWebView(android.webkit.WebView, android.webkit.WebView.PrivateAccess); 11767*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.CookieManager getCookieManager(); 11768*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.GeolocationPermissions getGeolocationPermissions(); 11769*344a7f5eSAndroid Build Coastguard Worker method @NonNull public default android.webkit.PacProcessor getPacProcessor(); 11770*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.ServiceWorkerController getServiceWorkerController(); 11771*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebViewFactoryProvider.Statics getStatics(); 11772*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public android.webkit.TokenBindingService getTokenBindingService(); 11773*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.TracingController getTracingController(); 11774*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebIconDatabase getWebIconDatabase(); 11775*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebStorage getWebStorage(); 11776*344a7f5eSAndroid Build Coastguard Worker method public ClassLoader getWebViewClassLoader(); 11777*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebViewDatabase getWebViewDatabase(android.content.Context); 11778*344a7f5eSAndroid Build Coastguard Worker } 11779*344a7f5eSAndroid Build Coastguard Worker 11780*344a7f5eSAndroid Build Coastguard Worker public static interface WebViewFactoryProvider.Statics { 11781*344a7f5eSAndroid Build Coastguard Worker method public void clearClientCertPreferences(Runnable); 11782*344a7f5eSAndroid Build Coastguard Worker method public void enableSlowWholeDocumentDraw(); 11783*344a7f5eSAndroid Build Coastguard Worker method public String findAddress(String); 11784*344a7f5eSAndroid Build Coastguard Worker method public void freeMemoryForTests(); 11785*344a7f5eSAndroid Build Coastguard Worker method public String getDefaultUserAgent(android.content.Context); 11786*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.Uri getSafeBrowsingPrivacyPolicyUrl(); 11787*344a7f5eSAndroid Build Coastguard Worker method public void initSafeBrowsing(android.content.Context, android.webkit.ValueCallback<java.lang.Boolean>); 11788*344a7f5eSAndroid Build Coastguard Worker method public android.net.Uri[] parseFileChooserResult(int, android.content.Intent); 11789*344a7f5eSAndroid Build Coastguard Worker method public void setSafeBrowsingWhitelist(java.util.List<java.lang.String>, android.webkit.ValueCallback<java.lang.Boolean>); 11790*344a7f5eSAndroid Build Coastguard Worker method public void setWebContentsDebuggingEnabled(boolean); 11791*344a7f5eSAndroid Build Coastguard Worker } 11792*344a7f5eSAndroid Build Coastguard Worker 11793*344a7f5eSAndroid Build Coastguard Worker public interface WebViewProvider { 11794*344a7f5eSAndroid Build Coastguard Worker method public void addJavascriptInterface(Object, String); 11795*344a7f5eSAndroid Build Coastguard Worker method public boolean canGoBack(); 11796*344a7f5eSAndroid Build Coastguard Worker method public boolean canGoBackOrForward(int); 11797*344a7f5eSAndroid Build Coastguard Worker method public boolean canGoForward(); 11798*344a7f5eSAndroid Build Coastguard Worker method public boolean canZoomIn(); 11799*344a7f5eSAndroid Build Coastguard Worker method public boolean canZoomOut(); 11800*344a7f5eSAndroid Build Coastguard Worker method public android.graphics.Picture capturePicture(); 11801*344a7f5eSAndroid Build Coastguard Worker method public void clearCache(boolean); 11802*344a7f5eSAndroid Build Coastguard Worker method public void clearFormData(); 11803*344a7f5eSAndroid Build Coastguard Worker method public void clearHistory(); 11804*344a7f5eSAndroid Build Coastguard Worker method public void clearMatches(); 11805*344a7f5eSAndroid Build Coastguard Worker method public void clearSslPreferences(); 11806*344a7f5eSAndroid Build Coastguard Worker method public void clearView(); 11807*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebBackForwardList copyBackForwardList(); 11808*344a7f5eSAndroid Build Coastguard Worker method public android.print.PrintDocumentAdapter createPrintDocumentAdapter(String); 11809*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebMessagePort[] createWebMessageChannel(); 11810*344a7f5eSAndroid Build Coastguard Worker method public void destroy(); 11811*344a7f5eSAndroid Build Coastguard Worker method public void documentHasImages(android.os.Message); 11812*344a7f5eSAndroid Build Coastguard Worker method public void dumpViewHierarchyWithProperties(java.io.BufferedWriter, int); 11813*344a7f5eSAndroid Build Coastguard Worker method public void evaluateJavaScript(String, android.webkit.ValueCallback<java.lang.String>); 11814*344a7f5eSAndroid Build Coastguard Worker method public int findAll(String); 11815*344a7f5eSAndroid Build Coastguard Worker method public void findAllAsync(String); 11816*344a7f5eSAndroid Build Coastguard Worker method public android.view.View findHierarchyView(String, int); 11817*344a7f5eSAndroid Build Coastguard Worker method public void findNext(boolean); 11818*344a7f5eSAndroid Build Coastguard Worker method public void flingScroll(int, int); 11819*344a7f5eSAndroid Build Coastguard Worker method public void freeMemory(); 11820*344a7f5eSAndroid Build Coastguard Worker method public android.net.http.SslCertificate getCertificate(); 11821*344a7f5eSAndroid Build Coastguard Worker method public int getContentHeight(); 11822*344a7f5eSAndroid Build Coastguard Worker method public int getContentWidth(); 11823*344a7f5eSAndroid Build Coastguard Worker method public android.graphics.Bitmap getFavicon(); 11824*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebView.HitTestResult getHitTestResult(); 11825*344a7f5eSAndroid Build Coastguard Worker method public String[] getHttpAuthUsernamePassword(String, String); 11826*344a7f5eSAndroid Build Coastguard Worker method public String getOriginalUrl(); 11827*344a7f5eSAndroid Build Coastguard Worker method public int getProgress(); 11828*344a7f5eSAndroid Build Coastguard Worker method public boolean getRendererPriorityWaivedWhenNotVisible(); 11829*344a7f5eSAndroid Build Coastguard Worker method public int getRendererRequestedPriority(); 11830*344a7f5eSAndroid Build Coastguard Worker method public float getScale(); 11831*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebViewProvider.ScrollDelegate getScrollDelegate(); 11832*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebSettings getSettings(); 11833*344a7f5eSAndroid Build Coastguard Worker method @NonNull public default android.view.textclassifier.TextClassifier getTextClassifier(); 11834*344a7f5eSAndroid Build Coastguard Worker method public String getTitle(); 11835*344a7f5eSAndroid Build Coastguard Worker method public String getTouchIconUrl(); 11836*344a7f5eSAndroid Build Coastguard Worker method public String getUrl(); 11837*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebViewProvider.ViewDelegate getViewDelegate(); 11838*344a7f5eSAndroid Build Coastguard Worker method public int getVisibleTitleHeight(); 11839*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebChromeClient getWebChromeClient(); 11840*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebViewClient getWebViewClient(); 11841*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.webkit.WebViewRenderProcess getWebViewRenderProcess(); 11842*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.webkit.WebViewRenderProcessClient getWebViewRenderProcessClient(); 11843*344a7f5eSAndroid Build Coastguard Worker method public android.view.View getZoomControls(); 11844*344a7f5eSAndroid Build Coastguard Worker method public void goBack(); 11845*344a7f5eSAndroid Build Coastguard Worker method public void goBackOrForward(int); 11846*344a7f5eSAndroid Build Coastguard Worker method public void goForward(); 11847*344a7f5eSAndroid Build Coastguard Worker method public void init(java.util.Map<java.lang.String,java.lang.Object>, boolean); 11848*344a7f5eSAndroid Build Coastguard Worker method public void insertVisualStateCallback(long, android.webkit.WebView.VisualStateCallback); 11849*344a7f5eSAndroid Build Coastguard Worker method public void invokeZoomPicker(); 11850*344a7f5eSAndroid Build Coastguard Worker method public boolean isPaused(); 11851*344a7f5eSAndroid Build Coastguard Worker method public boolean isPrivateBrowsingEnabled(); 11852*344a7f5eSAndroid Build Coastguard Worker method public void loadData(String, String, String); 11853*344a7f5eSAndroid Build Coastguard Worker method public void loadDataWithBaseURL(String, String, String, String, String); 11854*344a7f5eSAndroid Build Coastguard Worker method public void loadUrl(String, java.util.Map<java.lang.String,java.lang.String>); 11855*344a7f5eSAndroid Build Coastguard Worker method public void loadUrl(String); 11856*344a7f5eSAndroid Build Coastguard Worker method public void notifyFindDialogDismissed(); 11857*344a7f5eSAndroid Build Coastguard Worker method public void onPause(); 11858*344a7f5eSAndroid Build Coastguard Worker method public void onResume(); 11859*344a7f5eSAndroid Build Coastguard Worker method public boolean overlayHorizontalScrollbar(); 11860*344a7f5eSAndroid Build Coastguard Worker method public boolean overlayVerticalScrollbar(); 11861*344a7f5eSAndroid Build Coastguard Worker method public boolean pageDown(boolean); 11862*344a7f5eSAndroid Build Coastguard Worker method public boolean pageUp(boolean); 11863*344a7f5eSAndroid Build Coastguard Worker method public void pauseTimers(); 11864*344a7f5eSAndroid Build Coastguard Worker method public void postMessageToMainFrame(android.webkit.WebMessage, android.net.Uri); 11865*344a7f5eSAndroid Build Coastguard Worker method public void postUrl(String, byte[]); 11866*344a7f5eSAndroid Build Coastguard Worker method public void reload(); 11867*344a7f5eSAndroid Build Coastguard Worker method public void removeJavascriptInterface(String); 11868*344a7f5eSAndroid Build Coastguard Worker method public void requestFocusNodeHref(android.os.Message); 11869*344a7f5eSAndroid Build Coastguard Worker method public void requestImageRef(android.os.Message); 11870*344a7f5eSAndroid Build Coastguard Worker method public boolean restorePicture(android.os.Bundle, java.io.File); 11871*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebBackForwardList restoreState(android.os.Bundle); 11872*344a7f5eSAndroid Build Coastguard Worker method public void resumeTimers(); 11873*344a7f5eSAndroid Build Coastguard Worker method public void savePassword(String, String, String); 11874*344a7f5eSAndroid Build Coastguard Worker method public boolean savePicture(android.os.Bundle, java.io.File); 11875*344a7f5eSAndroid Build Coastguard Worker method public android.webkit.WebBackForwardList saveState(android.os.Bundle); 11876*344a7f5eSAndroid Build Coastguard Worker method public void saveWebArchive(String); 11877*344a7f5eSAndroid Build Coastguard Worker method public void saveWebArchive(String, boolean, android.webkit.ValueCallback<java.lang.String>); 11878*344a7f5eSAndroid Build Coastguard Worker method public void setCertificate(android.net.http.SslCertificate); 11879*344a7f5eSAndroid Build Coastguard Worker method public void setDownloadListener(android.webkit.DownloadListener); 11880*344a7f5eSAndroid Build Coastguard Worker method public void setFindListener(android.webkit.WebView.FindListener); 11881*344a7f5eSAndroid Build Coastguard Worker method public void setHorizontalScrollbarOverlay(boolean); 11882*344a7f5eSAndroid Build Coastguard Worker method public void setHttpAuthUsernamePassword(String, String, String, String); 11883*344a7f5eSAndroid Build Coastguard Worker method public void setInitialScale(int); 11884*344a7f5eSAndroid Build Coastguard Worker method public void setMapTrackballToArrowKeys(boolean); 11885*344a7f5eSAndroid Build Coastguard Worker method public void setNetworkAvailable(boolean); 11886*344a7f5eSAndroid Build Coastguard Worker method public void setPictureListener(android.webkit.WebView.PictureListener); 11887*344a7f5eSAndroid Build Coastguard Worker method public void setRendererPriorityPolicy(int, boolean); 11888*344a7f5eSAndroid Build Coastguard Worker method public default void setTextClassifier(@Nullable android.view.textclassifier.TextClassifier); 11889*344a7f5eSAndroid Build Coastguard Worker method public void setVerticalScrollbarOverlay(boolean); 11890*344a7f5eSAndroid Build Coastguard Worker method public void setWebChromeClient(android.webkit.WebChromeClient); 11891*344a7f5eSAndroid Build Coastguard Worker method public void setWebViewClient(android.webkit.WebViewClient); 11892*344a7f5eSAndroid Build Coastguard Worker method public void setWebViewRenderProcessClient(@Nullable java.util.concurrent.Executor, @Nullable android.webkit.WebViewRenderProcessClient); 11893*344a7f5eSAndroid Build Coastguard Worker method public boolean showFindDialog(String, boolean); 11894*344a7f5eSAndroid Build Coastguard Worker method public void stopLoading(); 11895*344a7f5eSAndroid Build Coastguard Worker method public boolean zoomBy(float); 11896*344a7f5eSAndroid Build Coastguard Worker method public boolean zoomIn(); 11897*344a7f5eSAndroid Build Coastguard Worker method public boolean zoomOut(); 11898*344a7f5eSAndroid Build Coastguard Worker } 11899*344a7f5eSAndroid Build Coastguard Worker 11900*344a7f5eSAndroid Build Coastguard Worker public static interface WebViewProvider.ScrollDelegate { 11901*344a7f5eSAndroid Build Coastguard Worker method public int computeHorizontalScrollOffset(); 11902*344a7f5eSAndroid Build Coastguard Worker method public int computeHorizontalScrollRange(); 11903*344a7f5eSAndroid Build Coastguard Worker method public void computeScroll(); 11904*344a7f5eSAndroid Build Coastguard Worker method public int computeVerticalScrollExtent(); 11905*344a7f5eSAndroid Build Coastguard Worker method public int computeVerticalScrollOffset(); 11906*344a7f5eSAndroid Build Coastguard Worker method public int computeVerticalScrollRange(); 11907*344a7f5eSAndroid Build Coastguard Worker } 11908*344a7f5eSAndroid Build Coastguard Worker 11909*344a7f5eSAndroid Build Coastguard Worker public static interface WebViewProvider.ViewDelegate { 11910*344a7f5eSAndroid Build Coastguard Worker method public default void autofill(android.util.SparseArray<android.view.autofill.AutofillValue>); 11911*344a7f5eSAndroid Build Coastguard Worker method public boolean dispatchKeyEvent(android.view.KeyEvent); 11912*344a7f5eSAndroid Build Coastguard Worker method public android.view.View findFocus(android.view.View); 11913*344a7f5eSAndroid Build Coastguard Worker method public android.view.accessibility.AccessibilityNodeProvider getAccessibilityNodeProvider(); 11914*344a7f5eSAndroid Build Coastguard Worker method public android.os.Handler getHandler(android.os.Handler); 11915*344a7f5eSAndroid Build Coastguard Worker method public default boolean isVisibleToUserForAutofill(int); 11916*344a7f5eSAndroid Build Coastguard Worker method public void onActivityResult(int, int, android.content.Intent); 11917*344a7f5eSAndroid Build Coastguard Worker method public void onAttachedToWindow(); 11918*344a7f5eSAndroid Build Coastguard Worker method public default boolean onCheckIsTextEditor(); 11919*344a7f5eSAndroid Build Coastguard Worker method public void onConfigurationChanged(android.content.res.Configuration); 11920*344a7f5eSAndroid Build Coastguard Worker method public android.view.inputmethod.InputConnection onCreateInputConnection(android.view.inputmethod.EditorInfo); 11921*344a7f5eSAndroid Build Coastguard Worker method public void onDetachedFromWindow(); 11922*344a7f5eSAndroid Build Coastguard Worker method public boolean onDragEvent(android.view.DragEvent); 11923*344a7f5eSAndroid Build Coastguard Worker method public void onDraw(android.graphics.Canvas); 11924*344a7f5eSAndroid Build Coastguard Worker method public void onDrawVerticalScrollBar(android.graphics.Canvas, android.graphics.drawable.Drawable, int, int, int, int); 11925*344a7f5eSAndroid Build Coastguard Worker method public void onFinishTemporaryDetach(); 11926*344a7f5eSAndroid Build Coastguard Worker method public void onFocusChanged(boolean, int, android.graphics.Rect); 11927*344a7f5eSAndroid Build Coastguard Worker method public boolean onGenericMotionEvent(android.view.MotionEvent); 11928*344a7f5eSAndroid Build Coastguard Worker method public boolean onHoverEvent(android.view.MotionEvent); 11929*344a7f5eSAndroid Build Coastguard Worker method public void onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent); 11930*344a7f5eSAndroid Build Coastguard Worker method public void onInitializeAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo); 11931*344a7f5eSAndroid Build Coastguard Worker method public boolean onKeyDown(int, android.view.KeyEvent); 11932*344a7f5eSAndroid Build Coastguard Worker method public boolean onKeyMultiple(int, int, android.view.KeyEvent); 11933*344a7f5eSAndroid Build Coastguard Worker method public boolean onKeyUp(int, android.view.KeyEvent); 11934*344a7f5eSAndroid Build Coastguard Worker method public void onMeasure(int, int); 11935*344a7f5eSAndroid Build Coastguard Worker method public default void onMovedToDisplay(int, android.content.res.Configuration); 11936*344a7f5eSAndroid Build Coastguard Worker method public void onOverScrolled(int, int, boolean, boolean); 11937*344a7f5eSAndroid Build Coastguard Worker method public default void onProvideAutofillVirtualStructure(android.view.ViewStructure, int); 11938*344a7f5eSAndroid Build Coastguard Worker method public default void onProvideContentCaptureStructure(@NonNull android.view.ViewStructure, int); 11939*344a7f5eSAndroid Build Coastguard Worker method public void onProvideVirtualStructure(android.view.ViewStructure); 11940*344a7f5eSAndroid Build Coastguard Worker method public void onScrollChanged(int, int, int, int); 11941*344a7f5eSAndroid Build Coastguard Worker method public void onSizeChanged(int, int, int, int); 11942*344a7f5eSAndroid Build Coastguard Worker method public void onStartTemporaryDetach(); 11943*344a7f5eSAndroid Build Coastguard Worker method public boolean onTouchEvent(android.view.MotionEvent); 11944*344a7f5eSAndroid Build Coastguard Worker method public boolean onTrackballEvent(android.view.MotionEvent); 11945*344a7f5eSAndroid Build Coastguard Worker method public void onVisibilityChanged(android.view.View, int); 11946*344a7f5eSAndroid Build Coastguard Worker method public void onWindowFocusChanged(boolean); 11947*344a7f5eSAndroid Build Coastguard Worker method public void onWindowVisibilityChanged(int); 11948*344a7f5eSAndroid Build Coastguard Worker method public boolean performAccessibilityAction(int, android.os.Bundle); 11949*344a7f5eSAndroid Build Coastguard Worker method public boolean performLongClick(); 11950*344a7f5eSAndroid Build Coastguard Worker method public void preDispatchDraw(android.graphics.Canvas); 11951*344a7f5eSAndroid Build Coastguard Worker method public boolean requestChildRectangleOnScreen(android.view.View, android.graphics.Rect, boolean); 11952*344a7f5eSAndroid Build Coastguard Worker method public boolean requestFocus(int, android.graphics.Rect); 11953*344a7f5eSAndroid Build Coastguard Worker method public void setBackgroundColor(int); 11954*344a7f5eSAndroid Build Coastguard Worker method public boolean setFrame(int, int, int, int); 11955*344a7f5eSAndroid Build Coastguard Worker method public void setLayerType(int, android.graphics.Paint); 11956*344a7f5eSAndroid Build Coastguard Worker method public void setLayoutParams(android.view.ViewGroup.LayoutParams); 11957*344a7f5eSAndroid Build Coastguard Worker method public void setOverScrollMode(int); 11958*344a7f5eSAndroid Build Coastguard Worker method public void setScrollBarStyle(int); 11959*344a7f5eSAndroid Build Coastguard Worker method public boolean shouldDelayChildPressedState(); 11960*344a7f5eSAndroid Build Coastguard Worker } 11961*344a7f5eSAndroid Build Coastguard Worker 11962*344a7f5eSAndroid Build Coastguard Worker public final class WebViewProviderInfo implements android.os.Parcelable { 11963*344a7f5eSAndroid Build Coastguard Worker ctor public WebViewProviderInfo(String, String, boolean, boolean, String[]); 11964*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 11965*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 11966*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.webkit.WebViewProviderInfo> CREATOR; 11967*344a7f5eSAndroid Build Coastguard Worker field public final boolean availableByDefault; 11968*344a7f5eSAndroid Build Coastguard Worker field public final String description; 11969*344a7f5eSAndroid Build Coastguard Worker field public final boolean isFallback; 11970*344a7f5eSAndroid Build Coastguard Worker field public final String packageName; 11971*344a7f5eSAndroid Build Coastguard Worker field public final android.content.pm.Signature[] signatures; 11972*344a7f5eSAndroid Build Coastguard Worker } 11973*344a7f5eSAndroid Build Coastguard Worker 11974*344a7f5eSAndroid Build Coastguard Worker public final class WebViewUpdateService { 11975*344a7f5eSAndroid Build Coastguard Worker method public static android.webkit.WebViewProviderInfo[] getAllWebViewPackages(); 11976*344a7f5eSAndroid Build Coastguard Worker method public static String getCurrentWebViewPackageName(); 11977*344a7f5eSAndroid Build Coastguard Worker method public static android.webkit.WebViewProviderInfo[] getValidWebViewPackages(); 11978*344a7f5eSAndroid Build Coastguard Worker } 11979*344a7f5eSAndroid Build Coastguard Worker 11980*344a7f5eSAndroid Build Coastguard Worker} 11981*344a7f5eSAndroid Build Coastguard Worker 11982