1// Signature format: 2.0
2package android {
3
4  public static final class Manifest.permission {
5    field public static final String ACCESS_AMBIENT_CONTEXT_EVENT = "android.permission.ACCESS_AMBIENT_CONTEXT_EVENT";
6    field public static final String ACCESS_AMBIENT_LIGHT_STATS = "android.permission.ACCESS_AMBIENT_LIGHT_STATS";
7    field public static final String ACCESS_BROADCAST_RADIO = "android.permission.ACCESS_BROADCAST_RADIO";
8    field public static final String ACCESS_BROADCAST_RESPONSE_STATS = "android.permission.ACCESS_BROADCAST_RESPONSE_STATS";
9    field public static final String ACCESS_CACHE_FILESYSTEM = "android.permission.ACCESS_CACHE_FILESYSTEM";
10    field @FlaggedApi("android.app.contextualsearch.flags.enable_service") public static final String ACCESS_CONTEXTUAL_SEARCH = "android.permission.ACCESS_CONTEXTUAL_SEARCH";
11    field public static final String ACCESS_CONTEXT_HUB = "android.permission.ACCESS_CONTEXT_HUB";
12    field public static final String ACCESS_DRM_CERTIFICATES = "android.permission.ACCESS_DRM_CERTIFICATES";
13    field @Deprecated public static final String ACCESS_FM_RADIO = "android.permission.ACCESS_FM_RADIO";
14    field public static final String ACCESS_FPS_COUNTER = "android.permission.ACCESS_FPS_COUNTER";
15    field @FlaggedApi("android.multiuser.flags.enable_permission_to_access_hidden_profiles") public static final String ACCESS_HIDDEN_PROFILES_FULL = "android.permission.ACCESS_HIDDEN_PROFILES_FULL";
16    field public static final String ACCESS_INSTANT_APPS = "android.permission.ACCESS_INSTANT_APPS";
17    field @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public static final String ACCESS_LAST_KNOWN_CELL_ID = "android.permission.ACCESS_LAST_KNOWN_CELL_ID";
18    field public static final String ACCESS_LOCUS_ID_USAGE_STATS = "android.permission.ACCESS_LOCUS_ID_USAGE_STATS";
19    field public static final String ACCESS_MOCK_LOCATION = "android.permission.ACCESS_MOCK_LOCATION";
20    field public static final String ACCESS_MTP = "android.permission.ACCESS_MTP";
21    field public static final String ACCESS_NETWORK_CONDITIONS = "android.permission.ACCESS_NETWORK_CONDITIONS";
22    field public static final String ACCESS_NOTIFICATIONS = "android.permission.ACCESS_NOTIFICATIONS";
23    field public static final String ACCESS_PDB_STATE = "android.permission.ACCESS_PDB_STATE";
24    field public static final String ACCESS_RCS_USER_CAPABILITY_EXCHANGE = "android.permission.ACCESS_RCS_USER_CAPABILITY_EXCHANGE";
25    field public static final String ACCESS_SHARED_LIBRARIES = "android.permission.ACCESS_SHARED_LIBRARIES";
26    field public static final String ACCESS_SHORTCUTS = "android.permission.ACCESS_SHORTCUTS";
27    field @FlaggedApi("android.app.smartspace.flags.access_smartspace") public static final String ACCESS_SMARTSPACE = "android.permission.ACCESS_SMARTSPACE";
28    field public static final String ACCESS_SURFACE_FLINGER = "android.permission.ACCESS_SURFACE_FLINGER";
29    field public static final String ACCESS_TUNED_INFO = "android.permission.ACCESS_TUNED_INFO";
30    field public static final String ACCESS_TV_DESCRAMBLER = "android.permission.ACCESS_TV_DESCRAMBLER";
31    field public static final String ACCESS_TV_SHARED_FILTER = "android.permission.ACCESS_TV_SHARED_FILTER";
32    field public static final String ACCESS_TV_TUNER = "android.permission.ACCESS_TV_TUNER";
33    field public static final String ACCESS_ULTRASOUND = "android.permission.ACCESS_ULTRASOUND";
34    field public static final String ACCESS_VIBRATOR_STATE = "android.permission.ACCESS_VIBRATOR_STATE";
35    field public static final String ACTIVITY_EMBEDDING = "android.permission.ACTIVITY_EMBEDDING";
36    field public static final String ADD_ALWAYS_UNLOCKED_DISPLAY = "android.permission.ADD_ALWAYS_UNLOCKED_DISPLAY";
37    field public static final String ADD_TRUSTED_DISPLAY = "android.permission.ADD_TRUSTED_DISPLAY";
38    field public static final String ADJUST_RUNTIME_PERMISSIONS_POLICY = "android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY";
39    field public static final String ALLOCATE_AGGRESSIVE = "android.permission.ALLOCATE_AGGRESSIVE";
40    field public static final String ALLOW_ANY_CODEC_FOR_PLAYBACK = "android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK";
41    field public static final String ALLOW_PLACE_IN_MULTI_PANE_SETTINGS = "android.permission.ALLOW_PLACE_IN_MULTI_PANE_SETTINGS";
42    field public static final String ALLOW_SLIPPERY_TOUCHES = "android.permission.ALLOW_SLIPPERY_TOUCHES";
43    field @FlaggedApi("com.android.window.flags.always_update_wallpaper_permission") public static final String ALWAYS_UPDATE_WALLPAPER = "android.permission.ALWAYS_UPDATE_WALLPAPER";
44    field public static final String AMBIENT_WALLPAPER = "android.permission.AMBIENT_WALLPAPER";
45    field public static final String APPROVE_INCIDENT_REPORTS = "android.permission.APPROVE_INCIDENT_REPORTS";
46    field public static final String ASSOCIATE_COMPANION_DEVICES = "android.permission.ASSOCIATE_COMPANION_DEVICES";
47    field public static final String BACKGROUND_CAMERA = "android.permission.BACKGROUND_CAMERA";
48    field public static final String BACKUP = "android.permission.BACKUP";
49    field public static final String BATTERY_PREDICTION = "android.permission.BATTERY_PREDICTION";
50    field public static final String BIND_AMBIENT_CONTEXT_DETECTION_SERVICE = "android.permission.BIND_AMBIENT_CONTEXT_DETECTION_SERVICE";
51    field public static final String BIND_ATTENTION_SERVICE = "android.permission.BIND_ATTENTION_SERVICE";
52    field public static final String BIND_AUGMENTED_AUTOFILL_SERVICE = "android.permission.BIND_AUGMENTED_AUTOFILL_SERVICE";
53    field public static final String BIND_CALL_DIAGNOSTIC_SERVICE = "android.permission.BIND_CALL_DIAGNOSTIC_SERVICE";
54    field public static final String BIND_CALL_STREAMING_SERVICE = "android.permission.BIND_CALL_STREAMING_SERVICE";
55    field public static final String BIND_CELL_BROADCAST_SERVICE = "android.permission.BIND_CELL_BROADCAST_SERVICE";
56    field @Deprecated public static final String BIND_CONNECTION_SERVICE = "android.permission.BIND_CONNECTION_SERVICE";
57    field public static final String BIND_CONTENT_CAPTURE_SERVICE = "android.permission.BIND_CONTENT_CAPTURE_SERVICE";
58    field public static final String BIND_CONTENT_SUGGESTIONS_SERVICE = "android.permission.BIND_CONTENT_SUGGESTIONS_SERVICE";
59    field public static final String BIND_DIRECTORY_SEARCH = "android.permission.BIND_DIRECTORY_SEARCH";
60    field public static final String BIND_DISPLAY_HASHING_SERVICE = "android.permission.BIND_DISPLAY_HASHING_SERVICE";
61    field @FlaggedApi("com.android.internal.telephony.flags.use_oem_domain_selection_service") public static final String BIND_DOMAIN_SELECTION_SERVICE = "android.permission.BIND_DOMAIN_SELECTION_SERVICE";
62    field public static final String BIND_DOMAIN_VERIFICATION_AGENT = "android.permission.BIND_DOMAIN_VERIFICATION_AGENT";
63    field public static final String BIND_EUICC_SERVICE = "android.permission.BIND_EUICC_SERVICE";
64    field public static final String BIND_EXTERNAL_STORAGE_SERVICE = "android.permission.BIND_EXTERNAL_STORAGE_SERVICE";
65    field public static final String BIND_FIELD_CLASSIFICATION_SERVICE = "android.permission.BIND_FIELD_CLASSIFICATION_SERVICE";
66    field public static final String BIND_GBA_SERVICE = "android.permission.BIND_GBA_SERVICE";
67    field public static final String BIND_HOTWORD_DETECTION_SERVICE = "android.permission.BIND_HOTWORD_DETECTION_SERVICE";
68    field public static final String BIND_IMS_SERVICE = "android.permission.BIND_IMS_SERVICE";
69    field public static final String BIND_KEYGUARD_APPWIDGET = "android.permission.BIND_KEYGUARD_APPWIDGET";
70    field public static final String BIND_MUSIC_RECOGNITION_SERVICE = "android.permission.BIND_MUSIC_RECOGNITION_SERVICE";
71    field public static final String BIND_NETWORK_RECOMMENDATION_SERVICE = "android.permission.BIND_NETWORK_RECOMMENDATION_SERVICE";
72    field public static final String BIND_NOTIFICATION_ASSISTANT_SERVICE = "android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE";
73    field @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public static final String BIND_ON_DEVICE_INTELLIGENCE_SERVICE = "android.permission.BIND_ON_DEVICE_INTELLIGENCE_SERVICE";
74    field @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public static final String BIND_ON_DEVICE_SANDBOXED_INFERENCE_SERVICE = "android.permission.BIND_ON_DEVICE_SANDBOXED_INFERENCE_SERVICE";
75    field public static final String BIND_PHONE_ACCOUNT_SUGGESTION_SERVICE = "android.permission.BIND_PHONE_ACCOUNT_SUGGESTION_SERVICE";
76    field public static final String BIND_PRINT_RECOMMENDATION_SERVICE = "android.permission.BIND_PRINT_RECOMMENDATION_SERVICE";
77    field public static final String BIND_REMOTE_LOCKSCREEN_VALIDATION_SERVICE = "android.permission.BIND_REMOTE_LOCKSCREEN_VALIDATION_SERVICE";
78    field public static final String BIND_RESOLVER_RANKER_SERVICE = "android.permission.BIND_RESOLVER_RANKER_SERVICE";
79    field public static final String BIND_RESUME_ON_REBOOT_SERVICE = "android.permission.BIND_RESUME_ON_REBOOT_SERVICE";
80    field public static final String BIND_ROTATION_RESOLVER_SERVICE = "android.permission.BIND_ROTATION_RESOLVER_SERVICE";
81    field public static final String BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE = "android.permission.BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE";
82    field public static final String BIND_SATELLITE_SERVICE = "android.permission.BIND_SATELLITE_SERVICE";
83    field public static final String BIND_SETTINGS_SUGGESTIONS_SERVICE = "android.permission.BIND_SETTINGS_SUGGESTIONS_SERVICE";
84    field public static final String BIND_SOUND_TRIGGER_DETECTION_SERVICE = "android.permission.BIND_SOUND_TRIGGER_DETECTION_SERVICE";
85    field public static final String BIND_TELEPHONY_DATA_SERVICE = "android.permission.BIND_TELEPHONY_DATA_SERVICE";
86    field public static final String BIND_TELEPHONY_NETWORK_SERVICE = "android.permission.BIND_TELEPHONY_NETWORK_SERVICE";
87    field public static final String BIND_TEXTCLASSIFIER_SERVICE = "android.permission.BIND_TEXTCLASSIFIER_SERVICE";
88    field public static final String BIND_TIME_ZONE_PROVIDER_SERVICE = "android.permission.BIND_TIME_ZONE_PROVIDER_SERVICE";
89    field public static final String BIND_TRACE_REPORT_SERVICE = "android.permission.BIND_TRACE_REPORT_SERVICE";
90    field public static final String BIND_TRANSLATION_SERVICE = "android.permission.BIND_TRANSLATION_SERVICE";
91    field public static final String BIND_TRUST_AGENT = "android.permission.BIND_TRUST_AGENT";
92    field public static final String BIND_TV_REMOTE_SERVICE = "android.permission.BIND_TV_REMOTE_SERVICE";
93    field public static final String BIND_VISUAL_QUERY_DETECTION_SERVICE = "android.permission.BIND_VISUAL_QUERY_DETECTION_SERVICE";
94    field public static final String BIND_WALLPAPER_EFFECTS_GENERATION_SERVICE = "android.permission.BIND_WALLPAPER_EFFECTS_GENERATION_SERVICE";
95    field public static final String BIND_WEARABLE_SENSING_SERVICE = "android.permission.BIND_WEARABLE_SENSING_SERVICE";
96    field public static final String BLUETOOTH_MAP = "android.permission.BLUETOOTH_MAP";
97    field public static final String BRICK = "android.permission.BRICK";
98    field public static final String BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_USAGE";
99    field public static final String BROADCAST_CLOSE_SYSTEM_DIALOGS = "android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS";
100    field @Deprecated public static final String BROADCAST_NETWORK_PRIVILEGED = "android.permission.BROADCAST_NETWORK_PRIVILEGED";
101    field public static final String BYPASS_ROLE_QUALIFICATION = "android.permission.BYPASS_ROLE_QUALIFICATION";
102    field public static final String CALL_AUDIO_INTERCEPTION = "android.permission.CALL_AUDIO_INTERCEPTION";
103    field public static final String CAMERA_DISABLE_TRANSMIT_LED = "android.permission.CAMERA_DISABLE_TRANSMIT_LED";
104    field @FlaggedApi("com.android.internal.camera.flags.camera_hsum_permission") public static final String CAMERA_HEADLESS_SYSTEM_USER = "android.permission.CAMERA_HEADLESS_SYSTEM_USER";
105    field public static final String CAMERA_OPEN_CLOSE_LISTENER = "android.permission.CAMERA_OPEN_CLOSE_LISTENER";
106    field @FlaggedApi("com.android.internal.camera.flags.camera_privacy_allowlist") public static final String CAMERA_PRIVACY_ALLOWLIST = "android.permission.CAMERA_PRIVACY_ALLOWLIST";
107    field public static final String CAPTURE_AUDIO_HOTWORD = "android.permission.CAPTURE_AUDIO_HOTWORD";
108    field public static final String CAPTURE_CONSENTLESS_BUGREPORT_ON_USERDEBUG_BUILD = "android.permission.CAPTURE_CONSENTLESS_BUGREPORT_ON_USERDEBUG_BUILD";
109    field public static final String CAPTURE_MEDIA_OUTPUT = "android.permission.CAPTURE_MEDIA_OUTPUT";
110    field public static final String CAPTURE_TUNER_AUDIO_INPUT = "android.permission.CAPTURE_TUNER_AUDIO_INPUT";
111    field public static final String CAPTURE_TV_INPUT = "android.permission.CAPTURE_TV_INPUT";
112    field public static final String CAPTURE_VOICE_COMMUNICATION_OUTPUT = "android.permission.CAPTURE_VOICE_COMMUNICATION_OUTPUT";
113    field public static final String CHANGE_APP_IDLE_STATE = "android.permission.CHANGE_APP_IDLE_STATE";
114    field public static final String CHANGE_APP_LAUNCH_TIME_ESTIMATE = "android.permission.CHANGE_APP_LAUNCH_TIME_ESTIMATE";
115    field public static final String CHANGE_DEVICE_IDLE_TEMP_WHITELIST = "android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST";
116    field public static final String CHECK_REMOTE_LOCKSCREEN = "android.permission.CHECK_REMOTE_LOCKSCREEN";
117    field public static final String CLEAR_APP_USER_DATA = "android.permission.CLEAR_APP_USER_DATA";
118    field public static final String COMPANION_APPROVE_WIFI_CONNECTIONS = "android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS";
119    field public static final String CONFIGURE_DISPLAY_BRIGHTNESS = "android.permission.CONFIGURE_DISPLAY_BRIGHTNESS";
120    field @FlaggedApi("android.security.frp_enforcement") public static final String CONFIGURE_FACTORY_RESET_PROTECTION = "android.permission.CONFIGURE_FACTORY_RESET_PROTECTION";
121    field public static final String CONFIGURE_INTERACT_ACROSS_PROFILES = "android.permission.CONFIGURE_INTERACT_ACROSS_PROFILES";
122    field @Deprecated public static final String CONNECTIVITY_INTERNAL = "android.permission.CONNECTIVITY_INTERNAL";
123    field public static final String CONNECTIVITY_USE_RESTRICTED_NETWORKS = "android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS";
124    field public static final String CONTROL_DEVICE_LIGHTS = "android.permission.CONTROL_DEVICE_LIGHTS";
125    field public static final String CONTROL_DISPLAY_COLOR_TRANSFORMS = "android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS";
126    field public static final String CONTROL_DISPLAY_SATURATION = "android.permission.CONTROL_DISPLAY_SATURATION";
127    field public static final String CONTROL_INCALL_EXPERIENCE = "android.permission.CONTROL_INCALL_EXPERIENCE";
128    field public static final String CONTROL_KEYGUARD_SECURE_NOTIFICATIONS = "android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS";
129    field public static final String CONTROL_OEM_PAID_NETWORK_PREFERENCE = "android.permission.CONTROL_OEM_PAID_NETWORK_PREFERENCE";
130    field public static final String CONTROL_VPN = "android.permission.CONTROL_VPN";
131    field public static final String CREATE_USERS = "android.permission.CREATE_USERS";
132    field public static final String CREATE_VIRTUAL_DEVICE = "android.permission.CREATE_VIRTUAL_DEVICE";
133    field public static final String CRYPT_KEEPER = "android.permission.CRYPT_KEEPER";
134    field public static final String DEVICE_POWER = "android.permission.DEVICE_POWER";
135    field public static final String DISABLE_SYSTEM_SOUND_EFFECTS = "android.permission.DISABLE_SYSTEM_SOUND_EFFECTS";
136    field public static final String DISPATCH_PROVISIONING_MESSAGE = "android.permission.DISPATCH_PROVISIONING_MESSAGE";
137    field public static final String DOMAIN_VERIFICATION_AGENT = "android.permission.DOMAIN_VERIFICATION_AGENT";
138    field @FlaggedApi("com.android.window.flags.untrusted_embedding_any_app_permission") public static final String EMBED_ANY_APP_IN_UNTRUSTED_MODE = "android.permission.EMBED_ANY_APP_IN_UNTRUSTED_MODE";
139    field @FlaggedApi("android.content.pm.emergency_install_permission") public static final String EMERGENCY_INSTALL_PACKAGES = "android.permission.EMERGENCY_INSTALL_PACKAGES";
140    field public static final String ENTER_CAR_MODE_PRIORITIZED = "android.permission.ENTER_CAR_MODE_PRIORITIZED";
141    field public static final String EXEMPT_FROM_AUDIO_RECORD_RESTRICTIONS = "android.permission.EXEMPT_FROM_AUDIO_RECORD_RESTRICTIONS";
142    field public static final String FORCE_BACK = "android.permission.FORCE_BACK";
143    field public static final String FORCE_STOP_PACKAGES = "android.permission.FORCE_STOP_PACKAGES";
144    field public static final String GET_APP_METADATA = "android.permission.GET_APP_METADATA";
145    field public static final String GET_APP_OPS_STATS = "android.permission.GET_APP_OPS_STATS";
146    field @FlaggedApi("android.app.bic_client") public static final String GET_BACKGROUND_INSTALLED_PACKAGES = "android.permission.GET_BACKGROUND_INSTALLED_PACKAGES";
147    field @FlaggedApi("android.app.get_binding_uid_importance") public static final String GET_BINDING_UID_IMPORTANCE = "android.permission.GET_BINDING_UID_IMPORTANCE";
148    field public static final String GET_HISTORICAL_APP_OPS_STATS = "android.permission.GET_HISTORICAL_APP_OPS_STATS";
149    field public static final String GET_PROCESS_STATE_AND_OOM_SCORE = "android.permission.GET_PROCESS_STATE_AND_OOM_SCORE";
150    field public static final String GET_RUNTIME_PERMISSIONS = "android.permission.GET_RUNTIME_PERMISSIONS";
151    field public static final String GET_TOP_ACTIVITY_INFO = "android.permission.GET_TOP_ACTIVITY_INFO";
152    field @Deprecated public static final String GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS = "android.permission.GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS";
153    field public static final String GRANT_RUNTIME_PERMISSIONS = "android.permission.GRANT_RUNTIME_PERMISSIONS";
154    field public static final String GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS = "android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS";
155    field public static final String HANDLE_CAR_MODE_CHANGES = "android.permission.HANDLE_CAR_MODE_CHANGES";
156    field public static final String HARDWARE_TEST = "android.permission.HARDWARE_TEST";
157    field public static final String HDMI_CEC = "android.permission.HDMI_CEC";
158    field @Deprecated public static final String HIDE_NON_SYSTEM_OVERLAY_WINDOWS = "android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS";
159    field public static final String INJECT_EVENTS = "android.permission.INJECT_EVENTS";
160    field public static final String INSTALL_DPC_PACKAGES = "android.permission.INSTALL_DPC_PACKAGES";
161    field public static final String INSTALL_DYNAMIC_SYSTEM = "android.permission.INSTALL_DYNAMIC_SYSTEM";
162    field public static final String INSTALL_EXISTING_PACKAGES = "com.android.permission.INSTALL_EXISTING_PACKAGES";
163    field public static final String INSTALL_GRANT_RUNTIME_PERMISSIONS = "android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS";
164    field public static final String INSTALL_LOCATION_TIME_ZONE_PROVIDER_SERVICE = "android.permission.INSTALL_LOCATION_TIME_ZONE_PROVIDER_SERVICE";
165    field public static final String INSTALL_PACKAGE_UPDATES = "android.permission.INSTALL_PACKAGE_UPDATES";
166    field public static final String INSTALL_SELF_UPDATES = "android.permission.INSTALL_SELF_UPDATES";
167    field public static final String INTENT_FILTER_VERIFICATION_AGENT = "android.permission.INTENT_FILTER_VERIFICATION_AGENT";
168    field public static final String INTERACT_ACROSS_USERS = "android.permission.INTERACT_ACROSS_USERS";
169    field public static final String INTERACT_ACROSS_USERS_FULL = "android.permission.INTERACT_ACROSS_USERS_FULL";
170    field public static final String INTERNAL_SYSTEM_WINDOW = "android.permission.INTERNAL_SYSTEM_WINDOW";
171    field public static final String INVOKE_CARRIER_SETUP = "android.permission.INVOKE_CARRIER_SETUP";
172    field public static final String KEYPHRASE_ENROLLMENT_APPLICATION = "android.permission.KEYPHRASE_ENROLLMENT_APPLICATION";
173    field public static final String KILL_ALL_BACKGROUND_PROCESSES = "android.permission.KILL_ALL_BACKGROUND_PROCESSES";
174    field public static final String KILL_UID = "android.permission.KILL_UID";
175    field public static final String LAUNCH_DEVICE_MANAGER_SETUP = "android.permission.LAUNCH_DEVICE_MANAGER_SETUP";
176    field public static final String LAUNCH_PERMISSION_SETTINGS = "android.permission.LAUNCH_PERMISSION_SETTINGS";
177    field public static final String LOCAL_MAC_ADDRESS = "android.permission.LOCAL_MAC_ADDRESS";
178    field public static final String LOCATION_BYPASS = "android.permission.LOCATION_BYPASS";
179    field public static final String LOCK_DEVICE = "android.permission.LOCK_DEVICE";
180    field public static final String LOG_FOREGROUND_RESOURCE_USE = "android.permission.LOG_FOREGROUND_RESOURCE_USE";
181    field public static final String LOOP_RADIO = "android.permission.LOOP_RADIO";
182    field public static final String MANAGE_ACCESSIBILITY = "android.permission.MANAGE_ACCESSIBILITY";
183    field @Deprecated public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS";
184    field public static final String MANAGE_ACTIVITY_TASKS = "android.permission.MANAGE_ACTIVITY_TASKS";
185    field public static final String MANAGE_APP_HIBERNATION = "android.permission.MANAGE_APP_HIBERNATION";
186    field public static final String MANAGE_APP_OPS_RESTRICTIONS = "android.permission.MANAGE_APP_OPS_RESTRICTIONS";
187    field public static final String MANAGE_APP_PREDICTIONS = "android.permission.MANAGE_APP_PREDICTIONS";
188    field public static final String MANAGE_APP_TOKENS = "android.permission.MANAGE_APP_TOKENS";
189    field public static final String MANAGE_AUTO_FILL = "android.permission.MANAGE_AUTO_FILL";
190    field public static final String MANAGE_BLUETOOTH_WHEN_WIRELESS_CONSENT_REQUIRED = "android.permission.MANAGE_BLUETOOTH_WHEN_WIRELESS_CONSENT_REQUIRED";
191    field public static final String MANAGE_CARRIER_OEM_UNLOCK_STATE = "android.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE";
192    field public static final String MANAGE_CA_CERTIFICATES = "android.permission.MANAGE_CA_CERTIFICATES";
193    field public static final String MANAGE_CLIPBOARD_ACCESS_NOTIFICATION = "android.permission.MANAGE_CLIPBOARD_ACCESS_NOTIFICATION";
194    field public static final String MANAGE_CLOUDSEARCH = "android.permission.MANAGE_CLOUDSEARCH";
195    field public static final String MANAGE_CONTENT_CAPTURE = "android.permission.MANAGE_CONTENT_CAPTURE";
196    field public static final String MANAGE_CONTENT_SUGGESTIONS = "android.permission.MANAGE_CONTENT_SUGGESTIONS";
197    field public static final String MANAGE_DEBUGGING = "android.permission.MANAGE_DEBUGGING";
198    field public static final String MANAGE_DEFAULT_APPLICATIONS = "android.permission.MANAGE_DEFAULT_APPLICATIONS";
199    field public static final String MANAGE_DEVICE_ADMINS = "android.permission.MANAGE_DEVICE_ADMINS";
200    field public static final String MANAGE_DEVICE_POLICY_APP_EXEMPTIONS = "android.permission.MANAGE_DEVICE_POLICY_APP_EXEMPTIONS";
201    field @FlaggedApi("android.app.admin.flags.security_log_v2_enabled") public static final String MANAGE_DEVICE_POLICY_AUDIT_LOGGING = "android.permission.MANAGE_DEVICE_POLICY_AUDIT_LOGGING";
202    field @FlaggedApi("android.permission.flags.enhanced_confirmation_mode_apis_enabled") public static final String MANAGE_ENHANCED_CONFIRMATION_STATES = "android.permission.MANAGE_ENHANCED_CONFIRMATION_STATES";
203    field public static final String MANAGE_ETHERNET_NETWORKS = "android.permission.MANAGE_ETHERNET_NETWORKS";
204    field public static final String MANAGE_FACTORY_RESET_PROTECTION = "android.permission.MANAGE_FACTORY_RESET_PROTECTION";
205    field public static final String MANAGE_GAME_ACTIVITY = "android.permission.MANAGE_GAME_ACTIVITY";
206    field public static final String MANAGE_GAME_MODE = "android.permission.MANAGE_GAME_MODE";
207    field public static final String MANAGE_HOTWORD_DETECTION = "android.permission.MANAGE_HOTWORD_DETECTION";
208    field public static final String MANAGE_IPSEC_TUNNELS = "android.permission.MANAGE_IPSEC_TUNNELS";
209    field public static final String MANAGE_LOW_POWER_STANDBY = "android.permission.MANAGE_LOW_POWER_STANDBY";
210    field public static final String MANAGE_MUSIC_RECOGNITION = "android.permission.MANAGE_MUSIC_RECOGNITION";
211    field public static final String MANAGE_NOTIFICATION_LISTENERS = "android.permission.MANAGE_NOTIFICATION_LISTENERS";
212    field public static final String MANAGE_ONE_TIME_PERMISSION_SESSIONS = "android.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS";
213    field public static final String MANAGE_PROFILE_AND_DEVICE_OWNERS = "android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS";
214    field public static final String MANAGE_ROLE_HOLDERS = "android.permission.MANAGE_ROLE_HOLDERS";
215    field public static final String MANAGE_ROLLBACKS = "android.permission.MANAGE_ROLLBACKS";
216    field public static final String MANAGE_ROTATION_RESOLVER = "android.permission.MANAGE_ROTATION_RESOLVER";
217    field public static final String MANAGE_SAFETY_CENTER = "android.permission.MANAGE_SAFETY_CENTER";
218    field public static final String MANAGE_SEARCH_UI = "android.permission.MANAGE_SEARCH_UI";
219    field public static final String MANAGE_SENSOR_PRIVACY = "android.permission.MANAGE_SENSOR_PRIVACY";
220    field public static final String MANAGE_SMARTSPACE = "android.permission.MANAGE_SMARTSPACE";
221    field public static final String MANAGE_SOUND_TRIGGER = "android.permission.MANAGE_SOUND_TRIGGER";
222    field public static final String MANAGE_SPEECH_RECOGNITION = "android.permission.MANAGE_SPEECH_RECOGNITION";
223    field public static final String MANAGE_SUBSCRIPTION_PLANS = "android.permission.MANAGE_SUBSCRIPTION_PLANS";
224    field public static final String MANAGE_SUBSCRIPTION_USER_ASSOCIATION = "android.permission.MANAGE_SUBSCRIPTION_USER_ASSOCIATION";
225    field public static final String MANAGE_TEST_NETWORKS = "android.permission.MANAGE_TEST_NETWORKS";
226    field public static final String MANAGE_TIME_AND_ZONE_DETECTION = "android.permission.MANAGE_TIME_AND_ZONE_DETECTION";
227    field public static final String MANAGE_UI_TRANSLATION = "android.permission.MANAGE_UI_TRANSLATION";
228    field public static final String MANAGE_USB = "android.permission.MANAGE_USB";
229    field public static final String MANAGE_USERS = "android.permission.MANAGE_USERS";
230    field public static final String MANAGE_USER_OEM_UNLOCK_STATE = "android.permission.MANAGE_USER_OEM_UNLOCK_STATE";
231    field public static final String MANAGE_VOICE_KEYPHRASES = "android.permission.MANAGE_VOICE_KEYPHRASES";
232    field public static final String MANAGE_WALLPAPER_EFFECTS_GENERATION = "android.permission.MANAGE_WALLPAPER_EFFECTS_GENERATION";
233    field public static final String MANAGE_WEAK_ESCROW_TOKEN = "android.permission.MANAGE_WEAK_ESCROW_TOKEN";
234    field public static final String MANAGE_WEARABLE_SENSING_SERVICE = "android.permission.MANAGE_WEARABLE_SENSING_SERVICE";
235    field public static final String MANAGE_WIFI_COUNTRY_CODE = "android.permission.MANAGE_WIFI_COUNTRY_CODE";
236    field public static final String MARK_DEVICE_ORGANIZATION_OWNED = "android.permission.MARK_DEVICE_ORGANIZATION_OWNED";
237    field public static final String MEDIA_RESOURCE_OVERRIDE_PID = "android.permission.MEDIA_RESOURCE_OVERRIDE_PID";
238    field public static final String MIGRATE_HEALTH_CONNECT_DATA = "android.permission.MIGRATE_HEALTH_CONNECT_DATA";
239    field public static final String MODIFY_APPWIDGET_BIND_PERMISSIONS = "android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS";
240    field public static final String MODIFY_AUDIO_ROUTING = "android.permission.MODIFY_AUDIO_ROUTING";
241    field public static final String MODIFY_AUDIO_SETTINGS_PRIVILEGED = "android.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED";
242    field public static final String MODIFY_CELL_BROADCASTS = "android.permission.MODIFY_CELL_BROADCASTS";
243    field public static final String MODIFY_DAY_NIGHT_MODE = "android.permission.MODIFY_DAY_NIGHT_MODE";
244    field @Deprecated public static final String MODIFY_NETWORK_ACCOUNTING = "android.permission.MODIFY_NETWORK_ACCOUNTING";
245    field public static final String MODIFY_PARENTAL_CONTROLS = "android.permission.MODIFY_PARENTAL_CONTROLS";
246    field public static final String MODIFY_QUIET_MODE = "android.permission.MODIFY_QUIET_MODE";
247    field public static final String MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE = "android.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE";
248    field public static final String MONITOR_DEVICE_CONFIG_ACCESS = "android.permission.MONITOR_DEVICE_CONFIG_ACCESS";
249    field public static final String MOVE_PACKAGE = "android.permission.MOVE_PACKAGE";
250    field public static final String NETWORK_AIRPLANE_MODE = "android.permission.NETWORK_AIRPLANE_MODE";
251    field public static final String NETWORK_CARRIER_PROVISIONING = "android.permission.NETWORK_CARRIER_PROVISIONING";
252    field public static final String NETWORK_FACTORY = "android.permission.NETWORK_FACTORY";
253    field public static final String NETWORK_MANAGED_PROVISIONING = "android.permission.NETWORK_MANAGED_PROVISIONING";
254    field public static final String NETWORK_SCAN = "android.permission.NETWORK_SCAN";
255    field public static final String NETWORK_SETTINGS = "android.permission.NETWORK_SETTINGS";
256    field public static final String NETWORK_SETUP_WIZARD = "android.permission.NETWORK_SETUP_WIZARD";
257    field public static final String NETWORK_SIGNAL_STRENGTH_WAKEUP = "android.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP";
258    field public static final String NETWORK_STACK = "android.permission.NETWORK_STACK";
259    field public static final String NETWORK_STATS_PROVIDER = "android.permission.NETWORK_STATS_PROVIDER";
260    field public static final String NFC_SET_CONTROLLER_ALWAYS_ON = "android.permission.NFC_SET_CONTROLLER_ALWAYS_ON";
261    field public static final String NOTIFICATION_DURING_SETUP = "android.permission.NOTIFICATION_DURING_SETUP";
262    field public static final String NOTIFY_TV_INPUTS = "android.permission.NOTIFY_TV_INPUTS";
263    field public static final String OBSERVE_APP_USAGE = "android.permission.OBSERVE_APP_USAGE";
264    field public static final String OBSERVE_NETWORK_POLICY = "android.permission.OBSERVE_NETWORK_POLICY";
265    field public static final String OBSERVE_ROLE_HOLDERS = "android.permission.OBSERVE_ROLE_HOLDERS";
266    field public static final String OBSERVE_SENSOR_PRIVACY = "android.permission.OBSERVE_SENSOR_PRIVACY";
267    field public static final String OPEN_ACCESSIBILITY_DETAILS_SETTINGS = "android.permission.OPEN_ACCESSIBILITY_DETAILS_SETTINGS";
268    field public static final String OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD = "android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD";
269    field @FlaggedApi("com.android.input.flags.override_key_behavior_permission_apis") public static final String OVERRIDE_SYSTEM_KEY_BEHAVIOR_IN_FOCUSED_WINDOW = "android.permission.OVERRIDE_SYSTEM_KEY_BEHAVIOR_IN_FOCUSED_WINDOW";
270    field public static final String PACKAGE_VERIFICATION_AGENT = "android.permission.PACKAGE_VERIFICATION_AGENT";
271    field public static final String PACKET_KEEPALIVE_OFFLOAD = "android.permission.PACKET_KEEPALIVE_OFFLOAD";
272    field public static final String PEERS_MAC_ADDRESS = "android.permission.PEERS_MAC_ADDRESS";
273    field public static final String PERFORM_CDMA_PROVISIONING = "android.permission.PERFORM_CDMA_PROVISIONING";
274    field public static final String PERFORM_IMS_SINGLE_REGISTRATION = "android.permission.PERFORM_IMS_SINGLE_REGISTRATION";
275    field public static final String PERFORM_SIM_ACTIVATION = "android.permission.PERFORM_SIM_ACTIVATION";
276    field public static final String POWER_SAVER = "android.permission.POWER_SAVER";
277    field @FlaggedApi("android.permission.flags.factory_reset_prep_permission_apis") public static final String PREPARE_FACTORY_RESET = "android.permission.PREPARE_FACTORY_RESET";
278    field public static final String PROVIDE_DEFAULT_ENABLED_CREDENTIAL_SERVICE = "android.permission.PROVIDE_DEFAULT_ENABLED_CREDENTIAL_SERVICE";
279    field public static final String PROVIDE_RESOLVER_RANKER_SERVICE = "android.permission.PROVIDE_RESOLVER_RANKER_SERVICE";
280    field public static final String PROVIDE_TRUST_AGENT = "android.permission.PROVIDE_TRUST_AGENT";
281    field public static final String PROVISION_DEMO_DEVICE = "android.permission.PROVISION_DEMO_DEVICE";
282    field @FlaggedApi("android.content.pm.quarantined_enabled") public static final String QUARANTINE_APPS = "android.permission.QUARANTINE_APPS";
283    field public static final String QUERY_ADMIN_POLICY = "android.permission.QUERY_ADMIN_POLICY";
284    field public static final String QUERY_CLONED_APPS = "android.permission.QUERY_CLONED_APPS";
285    field @FlaggedApi("android.app.admin.flags.device_theft_api_enabled") public static final String QUERY_DEVICE_STOLEN_STATE = "android.permission.QUERY_DEVICE_STOLEN_STATE";
286    field @Deprecated public static final String QUERY_TIME_ZONE_RULES = "android.permission.QUERY_TIME_ZONE_RULES";
287    field public static final String QUERY_USERS = "android.permission.QUERY_USERS";
288    field public static final String RADIO_SCAN_WITHOUT_LOCATION = "android.permission.RADIO_SCAN_WITHOUT_LOCATION";
289    field public static final String READ_ACTIVE_EMERGENCY_SESSION = "android.permission.READ_ACTIVE_EMERGENCY_SESSION";
290    field public static final String READ_APP_SPECIFIC_LOCALES = "android.permission.READ_APP_SPECIFIC_LOCALES";
291    field @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public static final String READ_BLOCKED_NUMBERS = "android.permission.READ_BLOCKED_NUMBERS";
292    field public static final String READ_CARRIER_APP_INFO = "android.permission.READ_CARRIER_APP_INFO";
293    field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS";
294    field public static final String READ_CLIPBOARD_IN_BACKGROUND = "android.permission.READ_CLIPBOARD_IN_BACKGROUND";
295    field public static final String READ_CONTENT_RATING_SYSTEMS = "android.permission.READ_CONTENT_RATING_SYSTEMS";
296    field public static final String READ_DEVICE_CONFIG = "android.permission.READ_DEVICE_CONFIG";
297    field public static final String READ_DREAM_STATE = "android.permission.READ_DREAM_STATE";
298    field public static final String READ_GLOBAL_APP_SEARCH_DATA = "android.permission.READ_GLOBAL_APP_SEARCH_DATA";
299    field @FlaggedApi("android.content.pm.get_resolved_apk_path") public static final String READ_INSTALLED_SESSION_PATHS = "android.permission.READ_INSTALLED_SESSION_PATHS";
300    field public static final String READ_INSTALL_SESSIONS = "android.permission.READ_INSTALL_SESSIONS";
301    field public static final String READ_NETWORK_USAGE_HISTORY = "android.permission.READ_NETWORK_USAGE_HISTORY";
302    field public static final String READ_OEM_UNLOCK_STATE = "android.permission.READ_OEM_UNLOCK_STATE";
303    field public static final String READ_PEOPLE_DATA = "android.permission.READ_PEOPLE_DATA";
304    field public static final String READ_PRINT_SERVICES = "android.permission.READ_PRINT_SERVICES";
305    field public static final String READ_PRINT_SERVICE_RECOMMENDATIONS = "android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS";
306    field public static final String READ_PRIVILEGED_PHONE_STATE = "android.permission.READ_PRIVILEGED_PHONE_STATE";
307    field public static final String READ_PROJECTION_STATE = "android.permission.READ_PROJECTION_STATE";
308    field public static final String READ_RESTRICTED_STATS = "android.permission.READ_RESTRICTED_STATS";
309    field public static final String READ_RUNTIME_PROFILES = "android.permission.READ_RUNTIME_PROFILES";
310    field public static final String READ_SAFETY_CENTER_STATUS = "android.permission.READ_SAFETY_CENTER_STATUS";
311    field public static final String READ_SEARCH_INDEXABLES = "android.permission.READ_SEARCH_INDEXABLES";
312    field @FlaggedApi("android.app.system_terms_of_address_enabled") public static final String READ_SYSTEM_GRAMMATICAL_GENDER = "android.permission.READ_SYSTEM_GRAMMATICAL_GENDER";
313    field public static final String READ_SYSTEM_UPDATE_INFO = "android.permission.READ_SYSTEM_UPDATE_INFO";
314    field public static final String READ_WALLPAPER_INTERNAL = "android.permission.READ_WALLPAPER_INTERNAL";
315    field public static final String READ_WIFI_CREDENTIAL = "android.permission.READ_WIFI_CREDENTIAL";
316    field public static final String READ_WRITE_SYNC_DISABLED_MODE_CONFIG = "android.permission.READ_WRITE_SYNC_DISABLED_MODE_CONFIG";
317    field public static final String REAL_GET_TASKS = "android.permission.REAL_GET_TASKS";
318    field public static final String RECEIVE_BLUETOOTH_MAP = "android.permission.RECEIVE_BLUETOOTH_MAP";
319    field public static final String RECEIVE_DATA_ACTIVITY_CHANGE = "android.permission.RECEIVE_DATA_ACTIVITY_CHANGE";
320    field public static final String RECEIVE_DEVICE_CUSTOMIZATION_READY = "android.permission.RECEIVE_DEVICE_CUSTOMIZATION_READY";
321    field public static final String RECEIVE_EMERGENCY_BROADCAST = "android.permission.RECEIVE_EMERGENCY_BROADCAST";
322    field @FlaggedApi("android.permission.flags.voice_activation_permission_apis") public static final String RECEIVE_SANDBOX_TRIGGER_AUDIO = "android.permission.RECEIVE_SANDBOX_TRIGGER_AUDIO";
323    field @FlaggedApi("android.view.flags.sensitive_content_app_protection_api") public static final String RECEIVE_SENSITIVE_NOTIFICATIONS = "android.permission.RECEIVE_SENSITIVE_NOTIFICATIONS";
324    field public static final String RECEIVE_WIFI_CREDENTIAL_CHANGE = "android.permission.RECEIVE_WIFI_CREDENTIAL_CHANGE";
325    field public static final String RECORD_BACKGROUND_AUDIO = "android.permission.RECORD_BACKGROUND_AUDIO";
326    field public static final String RECOVERY = "android.permission.RECOVERY";
327    field public static final String RECOVER_KEYSTORE = "android.permission.RECOVER_KEYSTORE";
328    field public static final String REGISTER_CALL_PROVIDER = "android.permission.REGISTER_CALL_PROVIDER";
329    field public static final String REGISTER_CONNECTION_MANAGER = "android.permission.REGISTER_CONNECTION_MANAGER";
330    field @FlaggedApi("android.net.platform.flags.register_nsd_offload_engine") public static final String REGISTER_NSD_OFFLOAD_ENGINE = "android.permission.REGISTER_NSD_OFFLOAD_ENGINE";
331    field public static final String REGISTER_SIM_SUBSCRIPTION = "android.permission.REGISTER_SIM_SUBSCRIPTION";
332    field public static final String REGISTER_STATS_PULL_ATOM = "android.permission.REGISTER_STATS_PULL_ATOM";
333    field public static final String REMOTE_DISPLAY_PROVIDER = "android.permission.REMOTE_DISPLAY_PROVIDER";
334    field public static final String REMOVE_DRM_CERTIFICATES = "android.permission.REMOVE_DRM_CERTIFICATES";
335    field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS";
336    field public static final String RENOUNCE_PERMISSIONS = "android.permission.RENOUNCE_PERMISSIONS";
337    field @FlaggedApi("android.app.usage.report_usage_stats_permission") public static final String REPORT_USAGE_STATS = "android.permission.REPORT_USAGE_STATS";
338    field @Deprecated public static final String REQUEST_NETWORK_SCORES = "android.permission.REQUEST_NETWORK_SCORES";
339    field public static final String REQUEST_NOTIFICATION_ASSISTANT_SERVICE = "android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE";
340    field public static final String RESET_PASSWORD = "android.permission.RESET_PASSWORD";
341    field public static final String RESTART_WIFI_SUBSYSTEM = "android.permission.RESTART_WIFI_SUBSYSTEM";
342    field public static final String RESTORE_RUNTIME_PERMISSIONS = "android.permission.RESTORE_RUNTIME_PERMISSIONS";
343    field public static final String RESTRICTED_VR_ACCESS = "android.permission.RESTRICTED_VR_ACCESS";
344    field public static final String RETRIEVE_WINDOW_CONTENT = "android.permission.RETRIEVE_WINDOW_CONTENT";
345    field public static final String REVIEW_ACCESSIBILITY_SERVICES = "android.permission.REVIEW_ACCESSIBILITY_SERVICES";
346    field public static final String REVOKE_RUNTIME_PERMISSIONS = "android.permission.REVOKE_RUNTIME_PERMISSIONS";
347    field public static final String ROTATE_SURFACE_FLINGER = "android.permission.ROTATE_SURFACE_FLINGER";
348    field public static final String SATELLITE_COMMUNICATION = "android.permission.SATELLITE_COMMUNICATION";
349    field public static final String SCHEDULE_PRIORITIZED_ALARM = "android.permission.SCHEDULE_PRIORITIZED_ALARM";
350    field @Deprecated public static final String SCORE_NETWORKS = "android.permission.SCORE_NETWORKS";
351    field public static final String SECURE_ELEMENT_PRIVILEGED_OPERATION = "android.permission.SECURE_ELEMENT_PRIVILEGED_OPERATION";
352    field public static final String SEND_CATEGORY_CAR_NOTIFICATIONS = "android.permission.SEND_CATEGORY_CAR_NOTIFICATIONS";
353    field public static final String SEND_DEVICE_CUSTOMIZATION_READY = "android.permission.SEND_DEVICE_CUSTOMIZATION_READY";
354    field public static final String SEND_SAFETY_CENTER_UPDATE = "android.permission.SEND_SAFETY_CENTER_UPDATE";
355    field public static final String SEND_SHOW_SUSPENDED_APP_DETAILS = "android.permission.SEND_SHOW_SUSPENDED_APP_DETAILS";
356    field public static final String SEND_SMS_NO_CONFIRMATION = "android.permission.SEND_SMS_NO_CONFIRMATION";
357    field public static final String SERIAL_PORT = "android.permission.SERIAL_PORT";
358    field public static final String SET_ACTIVITY_WATCHER = "android.permission.SET_ACTIVITY_WATCHER";
359    field public static final String SET_CLIP_SOURCE = "android.permission.SET_CLIP_SOURCE";
360    field public static final String SET_DEFAULT_ACCOUNT_FOR_CONTACTS = "android.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS";
361    field public static final String SET_HARMFUL_APP_WARNINGS = "android.permission.SET_HARMFUL_APP_WARNINGS";
362    field public static final String SET_LOW_POWER_STANDBY_PORTS = "android.permission.SET_LOW_POWER_STANDBY_PORTS";
363    field public static final String SET_MEDIA_KEY_LISTENER = "android.permission.SET_MEDIA_KEY_LISTENER";
364    field public static final String SET_ORIENTATION = "android.permission.SET_ORIENTATION";
365    field public static final String SET_POINTER_SPEED = "android.permission.SET_POINTER_SPEED";
366    field public static final String SET_SCREEN_COMPATIBILITY = "android.permission.SET_SCREEN_COMPATIBILITY";
367    field public static final String SET_SYSTEM_AUDIO_CAPTION = "android.permission.SET_SYSTEM_AUDIO_CAPTION";
368    field public static final String SET_UNRESTRICTED_KEEP_CLEAR_AREAS = "android.permission.SET_UNRESTRICTED_KEEP_CLEAR_AREAS";
369    field public static final String SET_VOLUME_KEY_LONG_PRESS_LISTENER = "android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER";
370    field public static final String SET_WALLPAPER_COMPONENT = "android.permission.SET_WALLPAPER_COMPONENT";
371    field public static final String SET_WALLPAPER_DIM_AMOUNT = "android.permission.SET_WALLPAPER_DIM_AMOUNT";
372    field @FlaggedApi("android.nfc.enable_nfc_mainline") public static final String SHOW_CUSTOMIZED_RESOLVER = "android.permission.SHOW_CUSTOMIZED_RESOLVER";
373    field public static final String SHOW_KEYGUARD_MESSAGE = "android.permission.SHOW_KEYGUARD_MESSAGE";
374    field public static final String SHUTDOWN = "android.permission.SHUTDOWN";
375    field public static final String SIGNAL_REBOOT_READINESS = "android.permission.SIGNAL_REBOOT_READINESS";
376    field public static final String SOUND_TRIGGER_RUN_IN_BATTERY_SAVER = "android.permission.SOUND_TRIGGER_RUN_IN_BATTERY_SAVER";
377    field public static final String STAGE_HEALTH_CONNECT_REMOTE_DATA = "android.permission.STAGE_HEALTH_CONNECT_REMOTE_DATA";
378    field public static final String START_ACTIVITIES_FROM_BACKGROUND = "android.permission.START_ACTIVITIES_FROM_BACKGROUND";
379    field public static final String START_CROSS_PROFILE_ACTIVITIES = "android.permission.START_CROSS_PROFILE_ACTIVITIES";
380    field public static final String START_REVIEW_PERMISSION_DECISIONS = "android.permission.START_REVIEW_PERMISSION_DECISIONS";
381    field public static final String START_TASKS_FROM_RECENTS = "android.permission.START_TASKS_FROM_RECENTS";
382    field public static final String STATUS_BAR_SERVICE = "android.permission.STATUS_BAR_SERVICE";
383    field public static final String STOP_APP_SWITCHES = "android.permission.STOP_APP_SWITCHES";
384    field public static final String SUBSTITUTE_NOTIFICATION_APP_NAME = "android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME";
385    field public static final String SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON = "android.permission.SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON";
386    field public static final String SUGGEST_EXTERNAL_TIME = "android.permission.SUGGEST_EXTERNAL_TIME";
387    field public static final String SUSPEND_APPS = "android.permission.SUSPEND_APPS";
388    field public static final String SYSTEM_APPLICATION_OVERLAY = "android.permission.SYSTEM_APPLICATION_OVERLAY";
389    field public static final String SYSTEM_CAMERA = "android.permission.SYSTEM_CAMERA";
390    field public static final String TETHER_PRIVILEGED = "android.permission.TETHER_PRIVILEGED";
391    field @FlaggedApi("com.android.net.thread.platform.flags.thread_enabled_platform") public static final String THREAD_NETWORK_PRIVILEGED = "android.permission.THREAD_NETWORK_PRIVILEGED";
392    field public static final String TIS_EXTENSION_INTERFACE = "android.permission.TIS_EXTENSION_INTERFACE";
393    field public static final String TOGGLE_AUTOMOTIVE_PROJECTION = "android.permission.TOGGLE_AUTOMOTIVE_PROJECTION";
394    field public static final String TRIGGER_LOST_MODE = "android.permission.TRIGGER_LOST_MODE";
395    field public static final String TV_INPUT_HARDWARE = "android.permission.TV_INPUT_HARDWARE";
396    field public static final String TV_VIRTUAL_REMOTE_CONTROLLER = "android.permission.TV_VIRTUAL_REMOTE_CONTROLLER";
397    field public static final String UNLIMITED_SHORTCUTS_API_CALLS = "android.permission.UNLIMITED_SHORTCUTS_API_CALLS";
398    field public static final String UPDATE_APP_OPS_STATS = "android.permission.UPDATE_APP_OPS_STATS";
399    field public static final String UPDATE_DEVICE_MANAGEMENT_RESOURCES = "android.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES";
400    field public static final String UPDATE_DOMAIN_VERIFICATION_USER_SELECTION = "android.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION";
401    field public static final String UPDATE_FONTS = "android.permission.UPDATE_FONTS";
402    field public static final String UPDATE_LOCK = "android.permission.UPDATE_LOCK";
403    field @Deprecated public static final String UPDATE_TIME_ZONE_RULES = "android.permission.UPDATE_TIME_ZONE_RULES";
404    field public static final String UPGRADE_RUNTIME_PERMISSIONS = "android.permission.UPGRADE_RUNTIME_PERMISSIONS";
405    field public static final String USER_ACTIVITY = "android.permission.USER_ACTIVITY";
406    field public static final String USE_COLORIZED_NOTIFICATIONS = "android.permission.USE_COLORIZED_NOTIFICATIONS";
407    field @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public static final String USE_ON_DEVICE_INTELLIGENCE = "android.permission.USE_ON_DEVICE_INTELLIGENCE";
408    field public static final String USE_RESERVED_DISK = "android.permission.USE_RESERVED_DISK";
409    field public static final String UWB_PRIVILEGED = "android.permission.UWB_PRIVILEGED";
410    field public static final String WHITELIST_AUTO_REVOKE_PERMISSIONS = "android.permission.WHITELIST_AUTO_REVOKE_PERMISSIONS";
411    field public static final String WHITELIST_RESTRICTED_PERMISSIONS = "android.permission.WHITELIST_RESTRICTED_PERMISSIONS";
412    field public static final String WIFI_ACCESS_COEX_UNSAFE_CHANNELS = "android.permission.WIFI_ACCESS_COEX_UNSAFE_CHANNELS";
413    field public static final String WIFI_SET_DEVICE_MOBILITY_STATE = "android.permission.WIFI_SET_DEVICE_MOBILITY_STATE";
414    field public static final String WIFI_UPDATE_COEX_UNSAFE_CHANNELS = "android.permission.WIFI_UPDATE_COEX_UNSAFE_CHANNELS";
415    field public static final String WIFI_UPDATE_USABILITY_STATS_SCORE = "android.permission.WIFI_UPDATE_USABILITY_STATS_SCORE";
416    field public static final String WRITE_ALLOWLISTED_DEVICE_CONFIG = "android.permission.WRITE_ALLOWLISTED_DEVICE_CONFIG";
417    field @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public static final String WRITE_BLOCKED_NUMBERS = "android.permission.WRITE_BLOCKED_NUMBERS";
418    field public static final String WRITE_DEVICE_CONFIG = "android.permission.WRITE_DEVICE_CONFIG";
419    field public static final String WRITE_DREAM_STATE = "android.permission.WRITE_DREAM_STATE";
420    field public static final String WRITE_EMBEDDED_SUBSCRIPTIONS = "android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS";
421    field @Deprecated public static final String WRITE_MEDIA_STORAGE = "android.permission.WRITE_MEDIA_STORAGE";
422    field public static final String WRITE_OBB = "android.permission.WRITE_OBB";
423    field public static final String WRITE_SECURITY_LOG = "android.permission.WRITE_SECURITY_LOG";
424    field public static final String WRITE_SMS = "android.permission.WRITE_SMS";
425    field @FlaggedApi("android.provider.user_keys") public static final String WRITE_VERIFICATION_STATE_E2EE_CONTACT_KEYS = "android.permission.WRITE_VERIFICATION_STATE_E2EE_CONTACT_KEYS";
426  }
427
428  public static final class Manifest.permission_group {
429    field public static final String UNDEFINED = "android.permission-group.UNDEFINED";
430  }
431
432  public static final class R.array {
433    field public static final int config_keySystemUuidMapping = 17235973; // 0x1070005
434    field public static final int config_optionalIpSecAlgorithms = 17235974; // 0x1070006
435  }
436
437  public static final class R.attr {
438    field public static final int allowClearUserDataOnFailedRestore = 16844288; // 0x1010600
439    field @FlaggedApi("android.content.res.manifest_flagging") public static final int featureFlag;
440    field public static final int gameSessionService = 16844373; // 0x1010655
441    field public static final int hotwordDetectionService = 16844326; // 0x1010626
442    field @FlaggedApi("android.companion.virtual.flags.vdm_custom_ime") public static final int isVirtualDeviceOnly;
443    field public static final int isVrOnly = 16844152; // 0x1010578
444    field public static final int minExtensionVersion = 16844305; // 0x1010611
445    field public static final int playHomeTransitionSound = 16844358; // 0x1010646
446    field public static final int requiredSystemPropertyName = 16844133; // 0x1010565
447    field public static final int requiredSystemPropertyValue = 16844134; // 0x1010566
448    field public static final int sdkVersion = 16844304; // 0x1010610
449    field public static final int supportsAmbientMode = 16844173; // 0x101058d
450    field public static final int userRestriction = 16844164; // 0x1010584
451    field public static final int visualQueryDetectionService = 16844410; // 0x101067a
452  }
453
454  public static final class R.bool {
455    field public static final int config_enableDefaultNotes = 17891338; // 0x111000a
456    field public static final int config_enableDefaultNotesForWorkProfile = 17891339; // 0x111000b
457    field public static final int config_enableQrCodeScannerOnLockScreen = 17891336; // 0x1110008
458    field public static final int config_safetyProtectionEnabled = 17891337; // 0x1110009
459    field public static final int config_sendPackageName = 17891328; // 0x1110000
460    field public static final int config_showDefaultAssistant = 17891329; // 0x1110001
461    field public static final int config_showDefaultEmergency = 17891330; // 0x1110002
462    field public static final int config_showDefaultHome = 17891331; // 0x1110003
463  }
464
465  public static final class R.color {
466    field public static final int system_notification_accent_color = 17170460; // 0x106001c
467  }
468
469  public static final class R.dimen {
470    field public static final int config_restrictedIconSize = 17104903; // 0x1050007
471    field public static final int config_viewConfigurationHandwritingGestureLineMargin = 17104906; // 0x105000a
472  }
473
474  public static final class R.drawable {
475    field public static final int ic_info = 17301684; // 0x10800b4
476    field public static final int ic_safety_protection = 17301685; // 0x10800b5
477  }
478
479  public static final class R.raw {
480    field public static final int loaderror = 17825792; // 0x1100000
481    field public static final int nodomain = 17825793; // 0x1100001
482  }
483
484  public static final class R.string {
485    field public static final int config_customMediaKeyDispatcher = 17039404; // 0x104002c
486    field public static final int config_customMediaSessionPolicyProvider = 17039405; // 0x104002d
487    field public static final int config_defaultAssistant = 17039393; // 0x1040021
488    field public static final int config_defaultAutomotiveNavigation = 17039424; // 0x1040040
489    field public static final int config_defaultBrowser = 17039394; // 0x1040022
490    field public static final int config_defaultCallRedirection = 17039397; // 0x1040025
491    field public static final int config_defaultCallScreening = 17039398; // 0x1040026
492    field public static final int config_defaultDialer = 17039395; // 0x1040023
493    field public static final int config_defaultNotes = 17039429; // 0x1040045
494    field @FlaggedApi("android.permission.flags.retail_demo_role_enabled") public static final int config_defaultRetailDemo;
495    field public static final int config_defaultSms = 17039396; // 0x1040024
496    field @FlaggedApi("android.permission.flags.wallet_role_enabled") public static final int config_defaultWallet;
497    field public static final int config_devicePolicyManagement = 17039421; // 0x104003d
498    field public static final int config_feedbackIntentExtraKey = 17039391; // 0x104001f
499    field public static final int config_feedbackIntentNameKey = 17039392; // 0x1040020
500    field public static final int config_helpIntentExtraKey = 17039389; // 0x104001d
501    field public static final int config_helpIntentNameKey = 17039390; // 0x104001e
502    field public static final int config_helpPackageNameKey = 17039387; // 0x104001b
503    field public static final int config_helpPackageNameValue = 17039388; // 0x104001c
504    field public static final int config_systemActivityRecognizer = 17039416; // 0x1040038
505    field public static final int config_systemAmbientAudioIntelligence = 17039411; // 0x1040033
506    field public static final int config_systemAppProtectionService = 17039422; // 0x104003e
507    field public static final int config_systemAudioIntelligence = 17039412; // 0x1040034
508    field public static final int config_systemAutomotiveCalendarSyncManager = 17039423; // 0x104003f
509    field public static final int config_systemAutomotiveCluster = 17039400; // 0x1040028
510    field public static final int config_systemAutomotiveProjection = 17039401; // 0x1040029
511    field public static final int config_systemCallStreaming = 17039431; // 0x1040047
512    field public static final int config_systemCompanionDeviceProvider = 17039417; // 0x1040039
513    field public static final int config_systemContacts = 17039403; // 0x104002b
514    field public static final int config_systemFinancedDeviceController = 17039430; // 0x1040046
515    field public static final int config_systemGallery = 17039399; // 0x1040027
516    field public static final int config_systemNotificationIntelligence = 17039413; // 0x1040035
517    field public static final int config_systemSettingsIntelligence = 17039426; // 0x1040042
518    field public static final int config_systemShell = 17039402; // 0x104002a
519    field public static final int config_systemSpeechRecognizer = 17039406; // 0x104002e
520    field public static final int config_systemSupervision = 17039420; // 0x104003c
521    field public static final int config_systemTelevisionNotificationHandler = 17039409; // 0x1040031
522    field public static final int config_systemTextIntelligence = 17039414; // 0x1040036
523    field public static final int config_systemUi = 17039418; // 0x104003a
524    field public static final int config_systemUiIntelligence = 17039410; // 0x1040032
525    field public static final int config_systemVisualIntelligence = 17039415; // 0x1040037
526    field public static final int config_systemWearHealthService = 17039428; // 0x1040044
527    field public static final int config_systemWellbeing = 17039408; // 0x1040030
528    field public static final int config_systemWifiCoexManager = 17039407; // 0x104002f
529    field public static final int safety_protection_display_text = 17039425; // 0x1040041
530  }
531
532  public static final class R.style {
533    field public static final int Theme_DeviceDefault_DocumentsUI = 16974562; // 0x10302e2
534    field public static final int Theme_Leanback_FormWizard = 16974544; // 0x10302d0
535  }
536
537}
538
539package android.accessibilityservice {
540
541  public class AccessibilityServiceInfo implements android.os.Parcelable {
542    method public void setAccessibilityTool(boolean);
543  }
544
545}
546
547package android.accounts {
548
549  public class AccountManager {
550    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);
551  }
552
553}
554
555package android.app {
556
557  @UiContext public class Activity extends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.view.KeyEvent.Callback android.view.LayoutInflater.Factory2 android.view.View.OnCreateContextMenuListener android.view.Window.Callback {
558    method public void convertFromTranslucent();
559    method public boolean convertToTranslucent(android.app.Activity.TranslucentConversionListener, android.app.ActivityOptions);
560    method @Deprecated public boolean isBackgroundVisibleBehind();
561    method @Deprecated public void onBackgroundVisibleBehindChanged(boolean);
562    method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void startActivityForResultAsUser(@NonNull android.content.Intent, int, @NonNull android.os.UserHandle);
563    method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void startActivityForResultAsUser(@NonNull android.content.Intent, int, @Nullable android.os.Bundle, @NonNull android.os.UserHandle);
564    method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void startActivityForResultAsUser(@NonNull android.content.Intent, @NonNull String, int, @Nullable android.os.Bundle, @NonNull android.os.UserHandle);
565  }
566
567  public static interface Activity.TranslucentConversionListener {
568    method public void onTranslucentConversionComplete(boolean);
569  }
570
571  public class ActivityManager {
572    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void addOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener, int);
573    method @FlaggedApi("android.app.uid_importance_listener_for_uids") @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void addOnUidImportanceListener(@NonNull android.app.ActivityManager.OnUidImportanceListener, int, @NonNull int[]);
574    method @RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) public void forceStopPackage(String);
575    method @FlaggedApi("android.app.get_binding_uid_importance") @RequiresPermission(android.Manifest.permission.GET_BINDING_UID_IMPORTANCE) public int getBindingUidImportance(int);
576    method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public static int getCurrentUser();
577    method @FlaggedApi("android.app.app_start_info") @NonNull @RequiresPermission(android.Manifest.permission.DUMP) public java.util.List<android.app.ApplicationStartInfo> getExternalHistoricalProcessStartReasons(@NonNull String, @IntRange(from=0) int);
578    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
579    method @NonNull public java.util.Collection<java.util.Locale> getSupportedLocales();
580    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getUidImportance(int);
581    method @RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) public void killProcessesWhenImperceptible(@NonNull int[], @NonNull String);
582    method @RequiresPermission(android.Manifest.permission.KILL_UID) public void killUid(int, String);
583    method @RequiresPermission(android.Manifest.permission.LOG_FOREGROUND_RESOURCE_USE) public void noteForegroundResourceUseBegin(int, int, int) throws java.lang.SecurityException;
584    method @RequiresPermission(android.Manifest.permission.LOG_FOREGROUND_RESOURCE_USE) public void noteForegroundResourceUseEnd(int, int, int) throws java.lang.SecurityException;
585    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void removeOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener);
586    method public void setDeviceLocales(@NonNull android.os.LocaleList);
587    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public static void setPersistentVrThread(int);
588    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public boolean startProfile(@NonNull android.os.UserHandle);
589    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public boolean stopProfile(@NonNull android.os.UserHandle);
590    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean switchUser(@NonNull android.os.UserHandle);
591    field public static final int FOREGROUND_SERVICE_API_TYPE_AUDIO = 5; // 0x5
592    field public static final int FOREGROUND_SERVICE_API_TYPE_BLUETOOTH = 2; // 0x2
593    field public static final int FOREGROUND_SERVICE_API_TYPE_CAMERA = 1; // 0x1
594    field public static final int FOREGROUND_SERVICE_API_TYPE_CDM = 9; // 0x9
595    field public static final int FOREGROUND_SERVICE_API_TYPE_LOCATION = 3; // 0x3
596    field public static final int FOREGROUND_SERVICE_API_TYPE_MEDIA_PLAYBACK = 4; // 0x4
597    field public static final int FOREGROUND_SERVICE_API_TYPE_MICROPHONE = 6; // 0x6
598    field public static final int FOREGROUND_SERVICE_API_TYPE_PHONE_CALL = 7; // 0x7
599    field public static final int FOREGROUND_SERVICE_API_TYPE_USB = 8; // 0x8
600    field public static final int PROCESS_CAPABILITY_FOREGROUND_CAMERA = 2; // 0x2
601    field public static final int PROCESS_CAPABILITY_FOREGROUND_LOCATION = 1; // 0x1
602    field public static final int PROCESS_CAPABILITY_FOREGROUND_MICROPHONE = 4; // 0x4
603    field public static final int PROCESS_CAPABILITY_NONE = 0; // 0x0
604  }
605
606  public static interface ActivityManager.OnUidImportanceListener {
607    method public void onUidImportance(int, int);
608  }
609
610  public class ActivityOptions {
611    method public int getLaunchTaskId();
612    method @RequiresPermission(android.Manifest.permission.START_TASKS_FROM_RECENTS) public void setLaunchTaskId(int);
613  }
614
615  public class AlarmManager {
616    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void set(int, long, long, long, @NonNull android.app.PendingIntent, @Nullable android.os.WorkSource);
617    method @Deprecated @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void set(int, long, long, long, @NonNull android.app.AlarmManager.OnAlarmListener, @Nullable android.os.Handler, @Nullable android.os.WorkSource);
618    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void setExact(int, long, @Nullable String, @NonNull java.util.concurrent.Executor, @NonNull android.os.WorkSource, @NonNull android.app.AlarmManager.OnAlarmListener);
619    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void setExactAndAllowWhileIdle(int, long, @Nullable String, @NonNull java.util.concurrent.Executor, @Nullable android.os.WorkSource, @NonNull android.app.AlarmManager.OnAlarmListener);
620    method @RequiresPermission(android.Manifest.permission.SCHEDULE_PRIORITIZED_ALARM) public void setPrioritized(int, long, long, @Nullable String, @NonNull java.util.concurrent.Executor, @NonNull android.app.AlarmManager.OnAlarmListener);
621    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void setWindow(int, long, long, @Nullable String, @NonNull java.util.concurrent.Executor, @Nullable android.os.WorkSource, @NonNull android.app.AlarmManager.OnAlarmListener);
622  }
623
624  public class AppOpsManager {
625    method @Nullable @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public android.app.RuntimeAppOpAccessMessage collectRuntimeAppOpAccessMessage();
626    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>);
627    method public static String[] getOpStrs();
628    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...);
629    method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getPackagesForOps(@Nullable String[]);
630    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getPackagesForOps(@Nullable String[], @NonNull String);
631    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.permission.PermissionGroupUsage> getPermissionGroupUsageForPrivacyIndicator(boolean);
632    method public static int opToDefaultMode(@NonNull String);
633    method @Nullable public static String opToPermission(@NonNull String);
634    method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setMode(@NonNull String, int, @Nullable String, int);
635    method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setUidMode(@NonNull String, int, int);
636    method @RequiresPermission(value="android.permission.WATCH_APPOPS", conditional=true) public void startWatchingNoted(@NonNull String[], @NonNull android.app.AppOpsManager.OnOpNotedListener);
637    method @RequiresPermission(value="android.permission.WATCH_APPOPS", conditional=true) public void startWatchingNoted(@NonNull String[], @NonNull java.util.concurrent.Executor, @NonNull android.app.AppOpsManager.OnOpNotedListener);
638    method public void stopWatchingNoted(@NonNull android.app.AppOpsManager.OnOpNotedListener);
639    field public static final int HISTORY_FLAGS_ALL = 3; // 0x3
640    field public static final int HISTORY_FLAG_AGGREGATE = 1; // 0x1
641    field public static final int HISTORY_FLAG_DISCRETE = 2; // 0x2
642    field public static final int HISTORY_FLAG_GET_ATTRIBUTION_CHAINS = 4; // 0x4
643    field public static final String OPSTR_ACCEPT_HANDOVER = "android:accept_handover";
644    field public static final String OPSTR_ACCESS_ACCESSIBILITY = "android:access_accessibility";
645    field public static final String OPSTR_ACCESS_NOTIFICATIONS = "android:access_notifications";
646    field @FlaggedApi("android.permission.flags.enhanced_confirmation_mode_apis_enabled") public static final String OPSTR_ACCESS_RESTRICTED_SETTINGS = "android:access_restricted_settings";
647    field public static final String OPSTR_ACTIVATE_PLATFORM_VPN = "android:activate_platform_vpn";
648    field public static final String OPSTR_ACTIVATE_VPN = "android:activate_vpn";
649    field public static final String OPSTR_ASSIST_SCREENSHOT = "android:assist_screenshot";
650    field public static final String OPSTR_ASSIST_STRUCTURE = "android:assist_structure";
651    field public static final String OPSTR_AUDIO_ACCESSIBILITY_VOLUME = "android:audio_accessibility_volume";
652    field public static final String OPSTR_AUDIO_ALARM_VOLUME = "android:audio_alarm_volume";
653    field public static final String OPSTR_AUDIO_BLUETOOTH_VOLUME = "android:audio_bluetooth_volume";
654    field public static final String OPSTR_AUDIO_MASTER_VOLUME = "android:audio_master_volume";
655    field public static final String OPSTR_AUDIO_MEDIA_VOLUME = "android:audio_media_volume";
656    field public static final String OPSTR_AUDIO_NOTIFICATION_VOLUME = "android:audio_notification_volume";
657    field public static final String OPSTR_AUDIO_RING_VOLUME = "android:audio_ring_volume";
658    field public static final String OPSTR_AUDIO_VOICE_VOLUME = "android:audio_voice_volume";
659    field public static final String OPSTR_AUTO_REVOKE_MANAGED_BY_INSTALLER = "android:auto_revoke_managed_by_installer";
660    field public static final String OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED = "android:auto_revoke_permissions_if_unused";
661    field public static final String OPSTR_BIND_ACCESSIBILITY_SERVICE = "android:bind_accessibility_service";
662    field public static final String OPSTR_CAPTURE_CONSENTLESS_BUGREPORT_ON_USERDEBUG_BUILD = "android:capture_consentless_bugreport_on_userdebug_build";
663    field public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state";
664    field @FlaggedApi("android.view.contentprotection.flags.create_accessibility_overlay_app_op_enabled") public static final String OPSTR_CREATE_ACCESSIBILITY_OVERLAY = "android:create_accessibility_overlay";
665    field @FlaggedApi("android.location.flags.location_bypass") public static final String OPSTR_EMERGENCY_LOCATION = "android:emergency_location";
666    field @FlaggedApi("android.permission.flags.op_enable_mobile_data_by_user") public static final String OPSTR_ENABLE_MOBILE_DATA_BY_USER = "android:enable_mobile_data_by_user";
667    field public static final String OPSTR_ESTABLISH_VPN_MANAGER = "android:establish_vpn_manager";
668    field public static final String OPSTR_ESTABLISH_VPN_SERVICE = "android:establish_vpn_service";
669    field public static final String OPSTR_GET_ACCOUNTS = "android:get_accounts";
670    field public static final String OPSTR_GPS = "android:gps";
671    field public static final String OPSTR_INSTANT_APP_START_FOREGROUND = "android:instant_app_start_foreground";
672    field public static final String OPSTR_INTERACT_ACROSS_PROFILES = "android:interact_across_profiles";
673    field public static final String OPSTR_LEGACY_STORAGE = "android:legacy_storage";
674    field public static final String OPSTR_LOADER_USAGE_STATS = "android:loader_usage_stats";
675    field public static final String OPSTR_MANAGE_EXTERNAL_STORAGE = "android:manage_external_storage";
676    field public static final String OPSTR_MANAGE_IPSEC_TUNNELS = "android:manage_ipsec_tunnels";
677    field public static final String OPSTR_MANAGE_ONGOING_CALLS = "android:manage_ongoing_calls";
678    field @FlaggedApi("com.android.media.flags.enable_privileged_routing_for_media_routing_control") public static final String OPSTR_MEDIA_ROUTING_CONTROL = "android:media_routing_control";
679    field public static final String OPSTR_MUTE_MICROPHONE = "android:mute_microphone";
680    field public static final String OPSTR_NEIGHBORING_CELLS = "android:neighboring_cells";
681    field public static final String OPSTR_PHONE_CALL_CAMERA = "android:phone_call_camera";
682    field public static final String OPSTR_PHONE_CALL_MICROPHONE = "android:phone_call_microphone";
683    field public static final String OPSTR_PLAY_AUDIO = "android:play_audio";
684    field public static final String OPSTR_POST_NOTIFICATION = "android:post_notification";
685    field public static final String OPSTR_PROJECT_MEDIA = "android:project_media";
686    field @FlaggedApi("android.view.contentprotection.flags.rapid_clear_notifications_by_listener_app_op_enabled") public static final String OPSTR_RAPID_CLEAR_NOTIFICATIONS_BY_LISTENER = "android:rapid_clear_notifications_by_listener";
687    field public static final String OPSTR_READ_CLIPBOARD = "android:read_clipboard";
688    field public static final String OPSTR_READ_ICC_SMS = "android:read_icc_sms";
689    field public static final String OPSTR_READ_MEDIA_AUDIO = "android:read_media_audio";
690    field public static final String OPSTR_READ_MEDIA_IMAGES = "android:read_media_images";
691    field public static final String OPSTR_READ_MEDIA_VIDEO = "android:read_media_video";
692    field public static final String OPSTR_READ_MEDIA_VISUAL_USER_SELECTED = "android:read_media_visual_user_selected";
693    field public static final String OPSTR_READ_WRITE_HEALTH_DATA = "android:read_write_health_data";
694    field public static final String OPSTR_RECEIVE_AMBIENT_TRIGGER_AUDIO = "android:receive_ambient_trigger_audio";
695    field public static final String OPSTR_RECEIVE_EMERGENCY_BROADCAST = "android:receive_emergency_broadcast";
696    field public static final String OPSTR_RECEIVE_EXPLICIT_USER_INTERACTION_AUDIO = "android:receive_explicit_user_interaction_audio";
697    field public static final String OPSTR_REQUEST_DELETE_PACKAGES = "android:request_delete_packages";
698    field public static final String OPSTR_REQUEST_INSTALL_PACKAGES = "android:request_install_packages";
699    field public static final String OPSTR_RUN_ANY_IN_BACKGROUND = "android:run_any_in_background";
700    field public static final String OPSTR_RUN_IN_BACKGROUND = "android:run_in_background";
701    field public static final String OPSTR_START_FOREGROUND = "android:start_foreground";
702    field public static final String OPSTR_SYSTEM_EXEMPT_FROM_HIBERNATION = "android:system_exempt_from_hibernation";
703    field public static final String OPSTR_TAKE_AUDIO_FOCUS = "android:take_audio_focus";
704    field public static final String OPSTR_TAKE_MEDIA_BUTTONS = "android:take_media_buttons";
705    field public static final String OPSTR_TOAST_WINDOW = "android:toast_window";
706    field public static final String OPSTR_TURN_SCREEN_ON = "android:turn_screen_on";
707    field public static final String OPSTR_VIBRATE = "android:vibrate";
708    field public static final String OPSTR_WAKE_LOCK = "android:wake_lock";
709    field public static final String OPSTR_WIFI_SCAN = "android:wifi_scan";
710    field public static final String OPSTR_WRITE_CLIPBOARD = "android:write_clipboard";
711    field public static final String OPSTR_WRITE_ICC_SMS = "android:write_icc_sms";
712    field public static final String OPSTR_WRITE_MEDIA_AUDIO = "android:write_media_audio";
713    field public static final String OPSTR_WRITE_MEDIA_IMAGES = "android:write_media_images";
714    field public static final String OPSTR_WRITE_MEDIA_VIDEO = "android:write_media_video";
715    field public static final String OPSTR_WRITE_SMS = "android:write_sms";
716    field public static final String OPSTR_WRITE_WALLPAPER = "android:write_wallpaper";
717    field public static final int OP_FLAGS_ALL = 31; // 0x1f
718    field public static final int OP_FLAGS_ALL_TRUSTED = 13; // 0xd
719    field public static final int OP_FLAG_SELF = 1; // 0x1
720    field public static final int OP_FLAG_TRUSTED_PROXIED = 8; // 0x8
721    field public static final int OP_FLAG_TRUSTED_PROXY = 2; // 0x2
722    field public static final int OP_FLAG_UNTRUSTED_PROXIED = 16; // 0x10
723    field public static final int OP_FLAG_UNTRUSTED_PROXY = 4; // 0x4
724    field public static final int UID_STATE_BACKGROUND = 600; // 0x258
725    field public static final int UID_STATE_CACHED = 700; // 0x2bc
726    field public static final int UID_STATE_FOREGROUND = 500; // 0x1f4
727    field public static final int UID_STATE_FOREGROUND_SERVICE = 400; // 0x190
728    field @Deprecated public static final int UID_STATE_FOREGROUND_SERVICE_LOCATION = 300; // 0x12c
729    field public static final int UID_STATE_PERSISTENT = 100; // 0x64
730    field public static final int UID_STATE_TOP = 200; // 0xc8
731  }
732
733  public static final class AppOpsManager.AttributedHistoricalOps implements android.os.Parcelable {
734    method public int describeContents();
735    method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String);
736    method @NonNull public android.app.AppOpsManager.HistoricalOp getOpAt(@IntRange(from=0) int);
737    method @IntRange(from=0) public int getOpCount();
738    method @Nullable public String getTag();
739    method public void writeToParcel(@NonNull android.os.Parcel, int);
740    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.AttributedHistoricalOps> CREATOR;
741  }
742
743  public static final class AppOpsManager.AttributedOpEntry implements android.os.Parcelable {
744    method public int describeContents();
745    method public long getLastAccessBackgroundTime(int);
746    method public long getLastAccessForegroundTime(int);
747    method public long getLastAccessTime(int);
748    method public long getLastAccessTime(int, int, int);
749    method public long getLastBackgroundDuration(int);
750    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastBackgroundProxyInfo(int);
751    method public long getLastDuration(int);
752    method public long getLastDuration(int, int, int);
753    method public long getLastForegroundDuration(int);
754    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastForegroundProxyInfo(int);
755    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int);
756    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int, int, int);
757    method public long getLastRejectBackgroundTime(int);
758    method public long getLastRejectForegroundTime(int);
759    method public long getLastRejectTime(int);
760    method public long getLastRejectTime(int, int, int);
761    method public boolean isRunning();
762    method public void writeToParcel(@NonNull android.os.Parcel, int);
763    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.AttributedOpEntry> CREATOR;
764  }
765
766  public static final class AppOpsManager.HistoricalOp implements android.os.Parcelable {
767    method public int describeContents();
768    method public long getAccessCount(int, int, int);
769    method public long getAccessDuration(int, int, int);
770    method public long getBackgroundAccessCount(int);
771    method public long getBackgroundAccessDuration(int);
772    method @NonNull public java.util.List<android.app.AppOpsManager.AttributedOpEntry> getBackgroundDiscreteAccesses(int);
773    method public long getBackgroundRejectCount(int);
774    method @NonNull public android.app.AppOpsManager.AttributedOpEntry getDiscreteAccessAt(@IntRange(from=0) int);
775    method @IntRange(from=0) public int getDiscreteAccessCount();
776    method @NonNull public java.util.List<android.app.AppOpsManager.AttributedOpEntry> getDiscreteAccesses(int, int, int);
777    method public long getForegroundAccessCount(int);
778    method public long getForegroundAccessDuration(int);
779    method @NonNull public java.util.List<android.app.AppOpsManager.AttributedOpEntry> getForegroundDiscreteAccesses(int);
780    method public long getForegroundRejectCount(int);
781    method @NonNull public String getOpName();
782    method public long getRejectCount(int, int, int);
783    method public void writeToParcel(android.os.Parcel, int);
784    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOp> CREATOR;
785  }
786
787  public static final class AppOpsManager.HistoricalOps implements android.os.Parcelable {
788    method public int describeContents();
789    method public long getBeginTimeMillis();
790    method public long getEndTimeMillis();
791    method @IntRange(from=0) public int getUidCount();
792    method @Nullable public android.app.AppOpsManager.HistoricalUidOps getUidOps(int);
793    method @NonNull public android.app.AppOpsManager.HistoricalUidOps getUidOpsAt(@IntRange(from=0) int);
794    method public void writeToParcel(android.os.Parcel, int);
795    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOps> CREATOR;
796  }
797
798  public static final class AppOpsManager.HistoricalOpsRequest {
799  }
800
801  public static final class AppOpsManager.HistoricalOpsRequest.Builder {
802    ctor public AppOpsManager.HistoricalOpsRequest.Builder(long, long);
803    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest build();
804    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setAttributionTag(@Nullable String);
805    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setFlags(int);
806    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setHistoryFlags(int);
807    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setOpNames(@Nullable java.util.List<java.lang.String>);
808    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setPackageName(@Nullable String);
809    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setUid(int);
810  }
811
812  public static final class AppOpsManager.HistoricalPackageOps implements android.os.Parcelable {
813    method public int describeContents();
814    method @Nullable public android.app.AppOpsManager.AttributedHistoricalOps getAttributedOps(@Nullable String);
815    method @NonNull public android.app.AppOpsManager.AttributedHistoricalOps getAttributedOpsAt(@IntRange(from=0) int);
816    method @IntRange(from=0) public int getAttributedOpsCount();
817    method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String);
818    method @NonNull public android.app.AppOpsManager.HistoricalOp getOpAt(@IntRange(from=0) int);
819    method @IntRange(from=0) public int getOpCount();
820    method @NonNull public String getPackageName();
821    method public void writeToParcel(@NonNull android.os.Parcel, int);
822    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalPackageOps> CREATOR;
823  }
824
825  public static final class AppOpsManager.HistoricalUidOps implements android.os.Parcelable {
826    method public int describeContents();
827    method @IntRange(from=0) public int getPackageCount();
828    method @Nullable public android.app.AppOpsManager.HistoricalPackageOps getPackageOps(@NonNull String);
829    method @NonNull public android.app.AppOpsManager.HistoricalPackageOps getPackageOpsAt(@IntRange(from=0) int);
830    method public int getUid();
831    method public void writeToParcel(android.os.Parcel, int);
832    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalUidOps> CREATOR;
833  }
834
835  public static interface AppOpsManager.OnOpNotedListener {
836    method public void onOpNoted(@NonNull String, int, @NonNull String, @Nullable String, int, int);
837    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") public default void onOpNoted(@NonNull String, int, @NonNull String, @Nullable String, int, int, int);
838  }
839
840  public static final class AppOpsManager.OpEntry implements android.os.Parcelable {
841    method public int describeContents();
842    method @NonNull public java.util.Map<java.lang.String,android.app.AppOpsManager.AttributedOpEntry> getAttributedOpEntries();
843    method @Deprecated public long getDuration();
844    method public long getLastAccessBackgroundTime(int);
845    method public long getLastAccessForegroundTime(int);
846    method public long getLastAccessTime(int);
847    method public long getLastAccessTime(int, int, int);
848    method public long getLastBackgroundDuration(int);
849    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastBackgroundProxyInfo(int);
850    method public long getLastDuration(int);
851    method public long getLastDuration(int, int, int);
852    method public long getLastForegroundDuration(int);
853    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastForegroundProxyInfo(int);
854    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int);
855    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int, int, int);
856    method public long getLastRejectBackgroundTime(int);
857    method public long getLastRejectForegroundTime(int);
858    method public long getLastRejectTime(int);
859    method public long getLastRejectTime(int, int, int);
860    method public int getMode();
861    method @NonNull public String getOpStr();
862    method @Deprecated @Nullable public String getProxyPackageName();
863    method @Deprecated @Nullable public String getProxyPackageName(int, int);
864    method @Deprecated public int getProxyUid();
865    method @Deprecated public int getProxyUid(int, int);
866    method public boolean isRunning();
867    method public void writeToParcel(android.os.Parcel, int);
868    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR;
869  }
870
871  public static final class AppOpsManager.OpEventProxyInfo implements android.os.Parcelable {
872    method public int describeContents();
873    method @Nullable public String getAttributionTag();
874    method @Nullable public String getPackageName();
875    method @IntRange(from=0) public int getUid();
876    method public void writeToParcel(@NonNull android.os.Parcel, int);
877    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEventProxyInfo> CREATOR;
878  }
879
880  public static final class AppOpsManager.PackageOps implements android.os.Parcelable {
881    method public int describeContents();
882    method @NonNull public java.util.List<android.app.AppOpsManager.OpEntry> getOps();
883    method @NonNull public String getPackageName();
884    method public int getUid();
885    method public void writeToParcel(@NonNull android.os.Parcel, int);
886    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.PackageOps> CREATOR;
887  }
888
889  @FlaggedApi("android.app.bic_client") public final class BackgroundInstallControlManager {
890    method @FlaggedApi("android.app.bic_client") @NonNull @RequiresPermission(android.Manifest.permission.GET_BACKGROUND_INSTALLED_PACKAGES) public java.util.List<android.content.pm.PackageInfo> getBackgroundInstalledPackages(long);
891  }
892
893  public class BroadcastOptions {
894    method public void clearRequireCompatChange();
895    method public int getPendingIntentBackgroundActivityStartMode();
896    method @Deprecated public boolean isPendingIntentBackgroundActivityLaunchAllowed();
897    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RESPONSE_STATS) public void recordResponseEventWhileInBackground(@IntRange(from=0) long);
898    method @RequiresPermission(android.Manifest.permission.START_ACTIVITIES_FROM_BACKGROUND) public void setBackgroundActivityStartsAllowed(boolean);
899    method public void setDontSendToRestrictedApps(boolean);
900    method @Deprecated public void setPendingIntentBackgroundActivityLaunchAllowed(boolean);
901    method @NonNull public android.app.BroadcastOptions setPendingIntentBackgroundActivityStartMode(int);
902    method public void setRequireAllOfPermissions(@Nullable String[]);
903    method public void setRequireCompatChange(long, boolean);
904    method public void setRequireNoneOfPermissions(@Nullable String[]);
905    method @RequiresPermission(anyOf={android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST, android.Manifest.permission.START_ACTIVITIES_FROM_BACKGROUND, android.Manifest.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND}) public void setTemporaryAppAllowlist(long, int, int, @Nullable String);
906    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST, android.Manifest.permission.START_ACTIVITIES_FROM_BACKGROUND, android.Manifest.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND}) public void setTemporaryAppWhitelistDuration(long);
907  }
908
909  public class DownloadManager {
910    method @RequiresPermission(android.Manifest.permission.WRITE_MEDIA_STORAGE) public void onMediaStoreDownloadsDeleted(@NonNull android.util.LongSparseArray<java.lang.String>);
911    field public static final String ACTION_DOWNLOAD_COMPLETED = "android.intent.action.DOWNLOAD_COMPLETED";
912  }
913
914  public final class GameManager {
915    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public android.app.GameModeInfo getGameModeInfo(@NonNull String);
916    method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public void setGameMode(@NonNull String, int);
917    method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public void updateCustomGameModeConfiguration(@NonNull String, @NonNull android.app.GameModeConfiguration);
918  }
919
920  public final class GameModeConfiguration implements android.os.Parcelable {
921    method public int describeContents();
922    method public int getFpsOverride();
923    method public float getScalingFactor();
924    method public void writeToParcel(@NonNull android.os.Parcel, int);
925    field @NonNull public static final android.os.Parcelable.Creator<android.app.GameModeConfiguration> CREATOR;
926    field public static final int FPS_OVERRIDE_NONE = 0; // 0x0
927  }
928
929  public static final class GameModeConfiguration.Builder {
930    ctor public GameModeConfiguration.Builder();
931    ctor public GameModeConfiguration.Builder(@NonNull android.app.GameModeConfiguration);
932    method @NonNull public android.app.GameModeConfiguration build();
933    method @NonNull public android.app.GameModeConfiguration.Builder setFpsOverride(int);
934    method @NonNull public android.app.GameModeConfiguration.Builder setScalingFactor(float);
935  }
936
937  public final class GameModeInfo implements android.os.Parcelable {
938    ctor @Deprecated public GameModeInfo(int, @NonNull int[]);
939    method public int describeContents();
940    method public int getActiveGameMode();
941    method @NonNull public int[] getAvailableGameModes();
942    method @Nullable public android.app.GameModeConfiguration getGameModeConfiguration(int);
943    method @NonNull public int[] getOverriddenGameModes();
944    method public boolean isDownscalingAllowed();
945    method public boolean isFpsOverrideAllowed();
946    method public void writeToParcel(@NonNull android.os.Parcel, int);
947    field @NonNull public static final android.os.Parcelable.Creator<android.app.GameModeInfo> CREATOR;
948  }
949
950  public static final class GameModeInfo.Builder {
951    ctor public GameModeInfo.Builder();
952    method @NonNull public android.app.GameModeInfo build();
953    method @NonNull public android.app.GameModeInfo.Builder setActiveGameMode(@NonNull int);
954    method @NonNull public android.app.GameModeInfo.Builder setAvailableGameModes(@NonNull int[]);
955    method @NonNull public android.app.GameModeInfo.Builder setDownscalingAllowed(boolean);
956    method @NonNull public android.app.GameModeInfo.Builder setFpsOverrideAllowed(boolean);
957    method @NonNull public android.app.GameModeInfo.Builder setGameModeConfiguration(int, @NonNull android.app.GameModeConfiguration);
958    method @NonNull public android.app.GameModeInfo.Builder setOverriddenGameModes(@NonNull int[]);
959  }
960
961  public abstract class InstantAppResolverService extends android.app.Service {
962    ctor public InstantAppResolverService();
963    method public final void attachBaseContext(android.content.Context);
964    method public final android.os.IBinder onBind(android.content.Intent);
965    method @Deprecated public void onGetInstantAppIntentFilter(@Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
966    method @Deprecated public void onGetInstantAppIntentFilter(@NonNull android.content.Intent, @Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
967    method @Deprecated public void onGetInstantAppIntentFilter(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
968    method @MainThread public void onGetInstantAppIntentFilter(@NonNull android.content.pm.InstantAppRequestInfo, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
969    method @Deprecated public void onGetInstantAppResolveInfo(@Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
970    method @Deprecated public void onGetInstantAppResolveInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
971    method @Deprecated public void onGetInstantAppResolveInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
972    method @MainThread public void onGetInstantAppResolveInfo(@NonNull android.content.pm.InstantAppRequestInfo, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
973  }
974
975  public static final class InstantAppResolverService.InstantAppResolutionCallback {
976    method public void onInstantAppResolveInfo(java.util.List<android.content.pm.InstantAppResolveInfo>);
977  }
978
979  public class KeyguardManager {
980    method @RequiresPermission(android.Manifest.permission.MANAGE_WEAK_ESCROW_TOKEN) public long addWeakEscrowToken(@NonNull byte[], @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull android.app.KeyguardManager.WeakEscrowTokenActivatedListener);
981    method @NonNull @RequiresPermission(android.Manifest.permission.CHECK_REMOTE_LOCKSCREEN) public android.content.Intent createConfirmDeviceCredentialForRemoteValidationIntent(@NonNull android.app.RemoteLockscreenValidationSession, @NonNull android.content.ComponentName, @Nullable CharSequence, @Nullable CharSequence, @Nullable CharSequence, @Nullable CharSequence);
982    method public android.content.Intent createConfirmFactoryResetCredentialIntent(CharSequence, CharSequence, CharSequence);
983    method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public int getMinLockLength(boolean, int);
984    method @RequiresPermission(android.Manifest.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS) public boolean getPrivateNotificationsAllowed();
985    method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public boolean isValidLockPasswordComplexity(int, @NonNull byte[], int);
986    method @RequiresPermission(android.Manifest.permission.MANAGE_WEAK_ESCROW_TOKEN) public boolean isWeakEscrowTokenActive(long, @NonNull android.os.UserHandle);
987    method @RequiresPermission(android.Manifest.permission.MANAGE_WEAK_ESCROW_TOKEN) public boolean isWeakEscrowTokenValid(long, @NonNull byte[], @NonNull android.os.UserHandle);
988    method @RequiresPermission(android.Manifest.permission.MANAGE_WEAK_ESCROW_TOKEN) public boolean registerWeakEscrowTokenRemovedListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.KeyguardManager.WeakEscrowTokenRemovedListener);
989    method @RequiresPermission(android.Manifest.permission.MANAGE_WEAK_ESCROW_TOKEN) public boolean removeWeakEscrowToken(long, @NonNull android.os.UserHandle);
990    method @RequiresPermission(android.Manifest.permission.SHOW_KEYGUARD_MESSAGE) public void requestDismissKeyguard(@NonNull android.app.Activity, @Nullable CharSequence, @Nullable android.app.KeyguardManager.KeyguardDismissCallback);
991    method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public boolean setLock(int, @NonNull byte[], int);
992    method @RequiresPermission(android.Manifest.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS) public void setPrivateNotificationsAllowed(boolean);
993    method @NonNull @RequiresPermission(android.Manifest.permission.CHECK_REMOTE_LOCKSCREEN) public android.app.RemoteLockscreenValidationSession startRemoteLockscreenValidation();
994    method @RequiresPermission(android.Manifest.permission.MANAGE_WEAK_ESCROW_TOKEN) public boolean unregisterWeakEscrowTokenRemovedListener(@NonNull android.app.KeyguardManager.WeakEscrowTokenRemovedListener);
995    method @NonNull @RequiresPermission(android.Manifest.permission.CHECK_REMOTE_LOCKSCREEN) public android.app.RemoteLockscreenValidationResult validateRemoteLockscreen(@NonNull byte[]);
996    field public static final int PASSWORD = 0; // 0x0
997    field public static final int PATTERN = 2; // 0x2
998    field public static final int PIN = 1; // 0x1
999  }
1000
1001  public static interface KeyguardManager.WeakEscrowTokenActivatedListener {
1002    method public void onWeakEscrowTokenActivated(long, @NonNull android.os.UserHandle);
1003  }
1004
1005  public static interface KeyguardManager.WeakEscrowTokenRemovedListener {
1006    method public void onWeakEscrowTokenRemoved(long, @NonNull android.os.UserHandle);
1007  }
1008
1009  public class LocaleManager {
1010    method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public void setApplicationLocales(@NonNull String, @NonNull android.os.LocaleList);
1011  }
1012
1013  public class Notification implements android.os.Parcelable {
1014    field public static final String CATEGORY_CAR_EMERGENCY = "car_emergency";
1015    field public static final String CATEGORY_CAR_INFORMATION = "car_information";
1016    field public static final String CATEGORY_CAR_WARNING = "car_warning";
1017    field @RequiresPermission(android.Manifest.permission.NOTIFICATION_DURING_SETUP) public static final String EXTRA_ALLOW_DURING_SETUP = "android.allowDuringSetup";
1018    field @RequiresPermission(android.Manifest.permission.SUBSTITUTE_NOTIFICATION_APP_NAME) public static final String EXTRA_SUBSTITUTE_APP_NAME = "android.substName";
1019    field public static final int FLAG_AUTOGROUP_SUMMARY = 1024; // 0x400
1020  }
1021
1022  public static class Notification.Action implements android.os.Parcelable {
1023    field public static final int SEMANTIC_ACTION_CONVERSATION_IS_PHISHING = 12; // 0xc
1024    field public static final int SEMANTIC_ACTION_MARK_CONVERSATION_AS_PRIORITY = 11; // 0xb
1025  }
1026
1027  @FlaggedApi("android.app.api_tvextender") public static final class Notification.TvExtender implements android.app.Notification.Extender {
1028    method public boolean getSuppressShowOverApps();
1029    method public android.app.Notification.TvExtender setChannel(String);
1030  }
1031
1032  public final class NotificationChannel implements android.os.Parcelable {
1033    method public int getUserLockedFields();
1034    method public boolean isDeleted();
1035    method public void populateFromXml(org.xmlpull.v1.XmlPullParser);
1036    method public org.json.JSONObject toJson() throws org.json.JSONException;
1037    method public void writeXml(org.xmlpull.v1.XmlSerializer) throws java.io.IOException;
1038    field public static final int USER_LOCKED_SOUND = 32; // 0x20
1039  }
1040
1041  public final class NotificationChannelGroup implements android.os.Parcelable {
1042    method public org.json.JSONObject toJson() throws org.json.JSONException;
1043  }
1044
1045  public class NotificationManager {
1046    method @NonNull public java.util.List<java.lang.String> getAllowedAssistantAdjustments();
1047    method @Nullable public android.content.ComponentName getAllowedNotificationAssistant();
1048    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_NOTIFICATION_LISTENERS) public java.util.List<android.content.ComponentName> getEnabledNotificationListeners();
1049    method public boolean isNotificationAssistantAccessGranted(@NonNull android.content.ComponentName);
1050    method @FlaggedApi("android.service.notification.callstyle_callback_api") @RequiresPermission(allOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.ACCESS_NOTIFICATIONS}) public void registerCallNotificationEventListener(@NonNull String, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull android.app.NotificationManager.CallNotificationEventListener);
1051    method public void setNotificationAssistantAccessGranted(@Nullable android.content.ComponentName, boolean);
1052    method @RequiresPermission(android.Manifest.permission.MANAGE_NOTIFICATION_LISTENERS) public void setNotificationListenerAccessGranted(@NonNull android.content.ComponentName, boolean, boolean);
1053    method @FlaggedApi("android.service.notification.callstyle_callback_api") @RequiresPermission(allOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.ACCESS_NOTIFICATIONS}) public void unregisterCallNotificationEventListener(@NonNull android.app.NotificationManager.CallNotificationEventListener);
1054    field @RequiresPermission(android.Manifest.permission.STATUS_BAR_SERVICE) public static final String ACTION_CLOSE_NOTIFICATION_HANDLER_PANEL = "android.app.action.CLOSE_NOTIFICATION_HANDLER_PANEL";
1055    field @RequiresPermission(android.Manifest.permission.STATUS_BAR_SERVICE) public static final String ACTION_OPEN_NOTIFICATION_HANDLER_PANEL = "android.app.action.OPEN_NOTIFICATION_HANDLER_PANEL";
1056    field @RequiresPermission(android.Manifest.permission.STATUS_BAR_SERVICE) public static final String ACTION_TOGGLE_NOTIFICATION_HANDLER_PANEL = "android.app.action.TOGGLE_NOTIFICATION_HANDLER_PANEL";
1057  }
1058
1059  @FlaggedApi("android.service.notification.callstyle_callback_api") public static interface NotificationManager.CallNotificationEventListener {
1060    method @FlaggedApi("android.service.notification.callstyle_callback_api") public void onCallNotificationPosted(@NonNull String, @NonNull android.os.UserHandle);
1061    method @FlaggedApi("android.service.notification.callstyle_callback_api") public void onCallNotificationRemoved(@NonNull String, @NonNull android.os.UserHandle);
1062  }
1063
1064  public final class RemoteLockscreenValidationResult implements android.os.Parcelable {
1065    method public int describeContents();
1066    method public int getResultCode();
1067    method public long getTimeoutMillis();
1068    method public void writeToParcel(@NonNull android.os.Parcel, int);
1069    field @NonNull public static final android.os.Parcelable.Creator<android.app.RemoteLockscreenValidationResult> CREATOR;
1070    field public static final int RESULT_GUESS_INVALID = 2; // 0x2
1071    field public static final int RESULT_GUESS_VALID = 1; // 0x1
1072    field public static final int RESULT_LOCKOUT = 3; // 0x3
1073    field public static final int RESULT_NO_REMAINING_ATTEMPTS = 4; // 0x4
1074    field public static final int RESULT_SESSION_EXPIRED = 5; // 0x5
1075  }
1076
1077  public static final class RemoteLockscreenValidationResult.Builder {
1078    ctor public RemoteLockscreenValidationResult.Builder();
1079    method @NonNull public android.app.RemoteLockscreenValidationResult build();
1080    method @NonNull public android.app.RemoteLockscreenValidationResult.Builder setResultCode(int);
1081    method @NonNull public android.app.RemoteLockscreenValidationResult.Builder setTimeoutMillis(long);
1082  }
1083
1084  public final class RemoteLockscreenValidationSession implements android.os.Parcelable {
1085    method public int describeContents();
1086    method public int getLockType();
1087    method public int getRemainingAttempts();
1088    method @NonNull public byte[] getSourcePublicKey();
1089    method public void writeToParcel(@NonNull android.os.Parcel, int);
1090    field @NonNull public static final android.os.Parcelable.Creator<android.app.RemoteLockscreenValidationSession> CREATOR;
1091  }
1092
1093  public static final class RemoteLockscreenValidationSession.Builder {
1094    ctor public RemoteLockscreenValidationSession.Builder();
1095    method @NonNull public android.app.RemoteLockscreenValidationSession build();
1096    method @NonNull public android.app.RemoteLockscreenValidationSession.Builder setLockType(int);
1097    method @NonNull public android.app.RemoteLockscreenValidationSession.Builder setRemainingAttempts(int);
1098    method @NonNull public android.app.RemoteLockscreenValidationSession.Builder setSourcePublicKey(@NonNull byte[]);
1099  }
1100
1101  public final class RuntimeAppOpAccessMessage implements android.os.Parcelable {
1102    ctor public RuntimeAppOpAccessMessage(@IntRange(from=0L) int, @IntRange(from=0L) int, @NonNull String, @Nullable String, @NonNull String, int);
1103    method public int describeContents();
1104    method @Nullable public String getAttributionTag();
1105    method @NonNull public String getMessage();
1106    method @NonNull public String getOp();
1107    method @NonNull public String getPackageName();
1108    method public int getSamplingStrategy();
1109    method @IntRange(from=0L) public int getUid();
1110    method public void writeToParcel(@NonNull android.os.Parcel, int);
1111    field @NonNull public static final android.os.Parcelable.Creator<android.app.RuntimeAppOpAccessMessage> CREATOR;
1112  }
1113
1114  public class SearchManager implements android.content.DialogInterface.OnCancelListener android.content.DialogInterface.OnDismissListener {
1115    method public void launchAssist(@Nullable android.os.Bundle);
1116  }
1117
1118  public class StatusBarManager {
1119    method @NonNull @RequiresPermission(android.Manifest.permission.STATUS_BAR) public android.app.StatusBarManager.DisableInfo getDisableInfo();
1120    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public int getNavBarMode();
1121    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void registerNearbyMediaDevicesProvider(@NonNull android.media.NearbyMediaDevicesProvider);
1122    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setDisabledForSetup(boolean);
1123    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setNavBarMode(int);
1124    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void unregisterNearbyMediaDevicesProvider(@NonNull android.media.NearbyMediaDevicesProvider);
1125    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void updateMediaTapToTransferReceiverDisplay(int, @NonNull android.media.MediaRoute2Info, @Nullable android.graphics.drawable.Icon, @Nullable CharSequence);
1126    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void updateMediaTapToTransferSenderDisplay(int, @NonNull android.media.MediaRoute2Info, @Nullable java.util.concurrent.Executor, @Nullable Runnable);
1127    field public static final int MEDIA_TRANSFER_RECEIVER_STATE_CLOSE_TO_SENDER = 0; // 0x0
1128    field public static final int MEDIA_TRANSFER_RECEIVER_STATE_FAR_FROM_SENDER = 1; // 0x1
1129    field public static final int MEDIA_TRANSFER_RECEIVER_STATE_TRANSFER_TO_RECEIVER_FAILED = 3; // 0x3
1130    field public static final int MEDIA_TRANSFER_RECEIVER_STATE_TRANSFER_TO_RECEIVER_SUCCEEDED = 2; // 0x2
1131    field public static final int MEDIA_TRANSFER_SENDER_STATE_ALMOST_CLOSE_TO_END_CAST = 1; // 0x1
1132    field public static final int MEDIA_TRANSFER_SENDER_STATE_ALMOST_CLOSE_TO_START_CAST = 0; // 0x0
1133    field public static final int MEDIA_TRANSFER_SENDER_STATE_FAR_FROM_RECEIVER = 8; // 0x8
1134    field public static final int MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_FAILED = 6; // 0x6
1135    field public static final int MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_SUCCEEDED = 4; // 0x4
1136    field public static final int MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_TRIGGERED = 2; // 0x2
1137    field public static final int MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_FAILED = 7; // 0x7
1138    field public static final int MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_SUCCEEDED = 5; // 0x5
1139    field public static final int MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_TRIGGERED = 3; // 0x3
1140    field public static final int NAV_BAR_MODE_DEFAULT = 0; // 0x0
1141    field public static final int NAV_BAR_MODE_KIDS = 1; // 0x1
1142  }
1143
1144  public static final class StatusBarManager.DisableInfo implements android.os.Parcelable {
1145    method public boolean areAllComponentsEnabled();
1146    method public int describeContents();
1147    method public boolean isNavigateToHomeDisabled();
1148    method public boolean isNotificationPeekingDisabled();
1149    method public boolean isRecentsDisabled();
1150    method public boolean isSearchDisabled();
1151    method public boolean isStatusBarExpansionDisabled();
1152    method public void writeToParcel(@NonNull android.os.Parcel, int);
1153    field @NonNull public static final android.os.Parcelable.Creator<android.app.StatusBarManager.DisableInfo> CREATOR;
1154  }
1155
1156  public final class SystemServiceRegistry {
1157    method public static <TServiceClass> void registerContextAwareService(@NonNull String, @NonNull Class<TServiceClass>, @NonNull android.app.SystemServiceRegistry.ContextAwareServiceProducerWithBinder<TServiceClass>);
1158    method public static <TServiceClass> void registerContextAwareService(@NonNull String, @NonNull Class<TServiceClass>, @NonNull android.app.SystemServiceRegistry.ContextAwareServiceProducerWithoutBinder<TServiceClass>);
1159    method public static <TServiceClass> void registerStaticService(@NonNull String, @NonNull Class<TServiceClass>, @NonNull android.app.SystemServiceRegistry.StaticServiceProducerWithBinder<TServiceClass>);
1160    method public static <TServiceClass> void registerStaticService(@NonNull String, @NonNull Class<TServiceClass>, @NonNull android.app.SystemServiceRegistry.StaticServiceProducerWithoutBinder<TServiceClass>);
1161  }
1162
1163  public static interface SystemServiceRegistry.ContextAwareServiceProducerWithBinder<TServiceClass> {
1164    method @NonNull public TServiceClass createService(@NonNull android.content.Context, @NonNull android.os.IBinder);
1165  }
1166
1167  public static interface SystemServiceRegistry.ContextAwareServiceProducerWithoutBinder<TServiceClass> {
1168    method @NonNull public TServiceClass createService(@NonNull android.content.Context);
1169  }
1170
1171  public static interface SystemServiceRegistry.StaticServiceProducerWithBinder<TServiceClass> {
1172    method @NonNull public TServiceClass createService(@NonNull android.os.IBinder);
1173  }
1174
1175  public static interface SystemServiceRegistry.StaticServiceProducerWithoutBinder<TServiceClass> {
1176    method @NonNull public TServiceClass createService();
1177  }
1178
1179  public class UiModeManager {
1180    method @RequiresPermission(android.Manifest.permission.READ_PROJECTION_STATE) public void addOnProjectionStateChangedListener(int, @NonNull java.util.concurrent.Executor, @NonNull android.app.UiModeManager.OnProjectionStateChangedListener);
1181    method @RequiresPermission(android.Manifest.permission.ENTER_CAR_MODE_PRIORITIZED) public void enableCarMode(@IntRange(from=0) int, int);
1182    method @RequiresPermission(android.Manifest.permission.READ_PROJECTION_STATE) public int getActiveProjectionTypes();
1183    method @RequiresPermission(android.Manifest.permission.MODIFY_DAY_NIGHT_MODE) public int getNightModeCustomType();
1184    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PROJECTION_STATE) public java.util.Set<java.lang.String> getProjectingPackages(int);
1185    method @RequiresPermission(value=android.Manifest.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean releaseProjection(int);
1186    method @RequiresPermission(android.Manifest.permission.READ_PROJECTION_STATE) public void removeOnProjectionStateChangedListener(@NonNull android.app.UiModeManager.OnProjectionStateChangedListener);
1187    method @RequiresPermission(value=android.Manifest.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int);
1188    method @RequiresPermission(android.Manifest.permission.MODIFY_DAY_NIGHT_MODE) public boolean setNightModeActivatedForCustomMode(int, boolean);
1189    method @RequiresPermission(android.Manifest.permission.MODIFY_DAY_NIGHT_MODE) public void setNightModeCustomType(int);
1190    field public static final String ACTION_ENTER_CAR_MODE_PRIORITIZED = "android.app.action.ENTER_CAR_MODE_PRIORITIZED";
1191    field public static final String ACTION_EXIT_CAR_MODE_PRIORITIZED = "android.app.action.EXIT_CAR_MODE_PRIORITIZED";
1192    field public static final int DEFAULT_PRIORITY = 0; // 0x0
1193    field public static final String EXTRA_CALLING_PACKAGE = "android.app.extra.CALLING_PACKAGE";
1194    field public static final String EXTRA_PRIORITY = "android.app.extra.PRIORITY";
1195    field public static final int MODE_NIGHT_CUSTOM_TYPE_BEDTIME = 1; // 0x1
1196    field public static final int MODE_NIGHT_CUSTOM_TYPE_SCHEDULE = 0; // 0x0
1197    field public static final int MODE_NIGHT_CUSTOM_TYPE_UNKNOWN = -1; // 0xffffffff
1198    field public static final int PROJECTION_TYPE_ALL = -1; // 0xffffffff
1199    field public static final int PROJECTION_TYPE_AUTOMOTIVE = 1; // 0x1
1200    field public static final int PROJECTION_TYPE_NONE = 0; // 0x0
1201  }
1202
1203  public static interface UiModeManager.OnProjectionStateChangedListener {
1204    method public void onProjectionStateChanged(int, @NonNull java.util.Set<java.lang.String>);
1205  }
1206
1207  public final class Vr2dDisplayProperties implements android.os.Parcelable {
1208    ctor public Vr2dDisplayProperties(int, int, int);
1209    method public int describeContents();
1210    method public void dump(@NonNull java.io.PrintWriter, @NonNull String);
1211    method public int getAddedFlags();
1212    method public int getDpi();
1213    method public int getHeight();
1214    method public int getRemovedFlags();
1215    method public int getWidth();
1216    method public void writeToParcel(android.os.Parcel, int);
1217    field @NonNull public static final android.os.Parcelable.Creator<android.app.Vr2dDisplayProperties> CREATOR;
1218    field public static final int FLAG_VIRTUAL_DISPLAY_ENABLED = 1; // 0x1
1219  }
1220
1221  public static final class Vr2dDisplayProperties.Builder {
1222    ctor public Vr2dDisplayProperties.Builder();
1223    method @NonNull public android.app.Vr2dDisplayProperties.Builder addFlags(int);
1224    method @NonNull public android.app.Vr2dDisplayProperties build();
1225    method @NonNull public android.app.Vr2dDisplayProperties.Builder removeFlags(int);
1226    method @NonNull public android.app.Vr2dDisplayProperties.Builder setDimensions(int, int, int);
1227    method @NonNull public android.app.Vr2dDisplayProperties.Builder setEnabled(boolean);
1228  }
1229
1230  public class VrManager {
1231    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public int getVr2dDisplayId();
1232    method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public boolean isPersistentVrModeEnabled();
1233    method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public boolean isVrModeEnabled();
1234    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);
1235    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setAndBindVrCompositor(android.content.ComponentName);
1236    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setPersistentVrModeEnabled(boolean);
1237    method @RequiresPermission("android.permission.ACCESS_VR_MANAGER") public void setStandbyEnabled(boolean);
1238    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setVr2dDisplayProperties(@NonNull android.app.Vr2dDisplayProperties);
1239    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setVrInputMethod(@Nullable android.content.ComponentName);
1240    method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public void unregisterVrStateCallback(@NonNull android.app.VrStateCallback);
1241  }
1242
1243  public abstract class VrStateCallback {
1244    ctor public VrStateCallback();
1245    method public void onPersistentVrStateChanged(boolean);
1246    method public void onVrStateChanged(boolean);
1247  }
1248
1249  public final class WallpaperInfo implements android.os.Parcelable {
1250    method public boolean supportsAmbientMode();
1251  }
1252
1253  public class WallpaperManager {
1254    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public void clearWallpaper(int, int);
1255    method @FloatRange(from=0.0f, to=1.0f) @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_DIM_AMOUNT) public float getWallpaperDimAmount();
1256    method public void setDisplayOffset(android.os.IBinder, int, int);
1257    method @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_COMPONENT) public boolean setWallpaperComponent(android.content.ComponentName);
1258    method @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_COMPONENT) public boolean setWallpaperComponentWithFlags(@NonNull android.content.ComponentName, int);
1259    method @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_DIM_AMOUNT) public void setWallpaperDimAmount(@FloatRange(from=0.0f, to=1.0f) float);
1260  }
1261
1262}
1263
1264package android.app.admin {
1265
1266  public final class AccountTypePolicyKey extends android.app.admin.PolicyKey {
1267    method public int describeContents();
1268    method @NonNull public String getAccountType();
1269    method public void writeToParcel(@NonNull android.os.Parcel, int);
1270    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.AccountTypePolicyKey> CREATOR;
1271  }
1272
1273  public abstract class Authority implements android.os.Parcelable {
1274    method public int describeContents();
1275  }
1276
1277  public final class DeviceAdminAuthority extends android.app.admin.Authority {
1278    ctor public DeviceAdminAuthority();
1279    method public void writeToParcel(@NonNull android.os.Parcel, int);
1280    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.DeviceAdminAuthority> CREATOR;
1281  }
1282
1283  public final class DevicePolicyDrawableResource implements android.os.Parcelable {
1284    ctor public DevicePolicyDrawableResource(@NonNull android.content.Context, @NonNull String, @NonNull String, @NonNull String, @DrawableRes int);
1285    ctor public DevicePolicyDrawableResource(@NonNull android.content.Context, @NonNull String, @NonNull String, @DrawableRes int);
1286    method public int describeContents();
1287    method @NonNull public String getDrawableId();
1288    method @NonNull public String getDrawableSource();
1289    method @NonNull public String getDrawableStyle();
1290    method @DrawableRes public int getResourceIdInCallingPackage();
1291    method public void writeToParcel(@NonNull android.os.Parcel, int);
1292    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.DevicePolicyDrawableResource> CREATOR;
1293  }
1294
1295  public final class DevicePolicyIdentifiers {
1296    field @FlaggedApi("android.app.admin.flags.security_log_v2_enabled") public static final String AUDIT_LOGGING_POLICY = "auditLogging";
1297  }
1298
1299  public class DevicePolicyKeyguardService extends android.app.Service {
1300    ctor public DevicePolicyKeyguardService();
1301    method @Nullable public void dismiss();
1302    method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent);
1303    method @Nullable public android.view.SurfaceControlViewHost.SurfacePackage onCreateKeyguardSurface(@NonNull android.os.IBinder);
1304  }
1305
1306  public class DevicePolicyManager {
1307    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public int checkProvisioningPrecondition(@NonNull String, @NonNull String);
1308    method @FlaggedApi("android.app.admin.flags.security_log_v2_enabled") @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_POLICY_AUDIT_LOGGING) public void clearAuditLogEventCallback();
1309    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public android.os.UserHandle createAndProvisionManagedProfile(@NonNull android.app.admin.ManagedProfileProvisioningParams) throws android.app.admin.ProvisioningException;
1310    method @Nullable public android.content.Intent createProvisioningIntentFromNfcIntent(@NonNull android.content.Intent);
1311    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void finalizeWorkProfileProvisioning(@NonNull android.os.UserHandle, @Nullable android.accounts.Account);
1312    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_POLICY_APP_EXEMPTIONS) public java.util.Set<java.lang.Integer> getApplicationExemptions(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException;
1313    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public boolean getBluetoothContactSharingDisabled(@NonNull android.os.UserHandle);
1314    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getDeviceOwner();
1315    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}) public android.content.ComponentName getDeviceOwnerComponentOnAnyUser();
1316    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}) public String getDeviceOwnerNameOnAnyUser();
1317    method @Nullable public CharSequence getDeviceOwnerOrganizationName();
1318    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.os.UserHandle getDeviceOwnerUser();
1319    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public android.app.admin.DevicePolicyState getDevicePolicyState();
1320    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public String getFinancedDeviceKioskRoleHolder();
1321    method @FlaggedApi("android.app.admin.flags.device_policy_size_tracking_enabled") @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public int getMaxPolicyStorageLimit();
1322    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_ADMIN_POLICY}) public java.util.List<java.lang.String> getPermittedAccessibilityServices(int);
1323    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_ADMIN_POLICY}) public java.util.List<java.lang.String> getPermittedInputMethodsForCurrentUser();
1324    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public java.util.List<android.os.UserHandle> getPolicyManagedProfiles(@NonNull android.os.UserHandle);
1325    method @Nullable public android.content.ComponentName getProfileOwner() throws java.lang.IllegalArgumentException;
1326    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}) public String getProfileOwnerNameAsUser(int) throws java.lang.IllegalArgumentException;
1327    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}) public int getUserProvisioningState();
1328    method @FlaggedApi("android.app.admin.flags.security_log_v2_enabled") @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_POLICY_AUDIT_LOGGING) public boolean isAuditLogEnabled();
1329    method public boolean isDeviceManaged();
1330    method @FlaggedApi("android.app.admin.flags.device_theft_api_enabled") @RequiresPermission(android.Manifest.permission.QUERY_DEVICE_STOLEN_STATE) public boolean isDevicePotentiallyStolen();
1331    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isDeviceProvisioned();
1332    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isDeviceProvisioningConfigApplied();
1333    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public boolean isDpcDownloaded();
1334    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}) public boolean isManagedKiosk();
1335    method public boolean isSecondaryLockscreenEnabled(@NonNull android.os.UserHandle);
1336    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}) public boolean isUnattendedManagedKiosk();
1337    method @RequiresPermission("android.permission.NOTIFY_PENDING_SYSTEM_UPDATE") public void notifyPendingSystemUpdate(long);
1338    method @RequiresPermission("android.permission.NOTIFY_PENDING_SYSTEM_UPDATE") public void notifyPendingSystemUpdate(long, boolean);
1339    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public boolean packageHasActiveAdmins(String);
1340    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS, android.Manifest.permission.PROVISION_DEMO_DEVICE}) public void provisionFullyManagedDevice(@NonNull android.app.admin.FullyManagedDeviceProvisioningParams) throws android.app.admin.ProvisioningException;
1341    method @RequiresPermission(android.Manifest.permission.TRIGGER_LOST_MODE) public void sendLostModeLocationUpdate(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
1342    method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_ADMINS) public boolean setActiveProfileOwner(@NonNull android.content.ComponentName, String) throws java.lang.IllegalArgumentException;
1343    method @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_POLICY_APP_EXEMPTIONS) public void setApplicationExemptions(@NonNull String, @NonNull java.util.Set<java.lang.Integer>) throws android.content.pm.PackageManager.NameNotFoundException;
1344    method @FlaggedApi("android.app.admin.flags.security_log_v2_enabled") @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_POLICY_AUDIT_LOGGING) public void setAuditLogEnabled(boolean);
1345    method @FlaggedApi("android.app.admin.flags.security_log_v2_enabled") @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_POLICY_AUDIT_LOGGING) public void setAuditLogEventCallback(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.util.List<android.app.admin.SecurityLog.SecurityEvent>>);
1346    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setDeviceProvisioningConfigApplied();
1347    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void setDpcDownloaded(boolean);
1348    method @FlaggedApi("android.app.admin.flags.device_policy_size_tracking_enabled") @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void setMaxPolicyStorageLimit(int);
1349    method @Deprecated @RequiresPermission(value=android.Manifest.permission.GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS, conditional=true) public void setProfileOwnerCanAccessDeviceIds(@NonNull android.content.ComponentName);
1350    method public void setSecondaryLockscreenEnabled(@NonNull android.content.ComponentName, boolean);
1351    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void setUserProvisioningState(int, @NonNull android.os.UserHandle);
1352    method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public boolean shouldAllowBypassingDevicePolicyManagementRoleQualification();
1353    field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_ALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED";
1354    field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_DISALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED";
1355    field public static final String ACTION_BIND_SECONDARY_LOCKSCREEN_SERVICE = "android.app.action.BIND_SECONDARY_LOCKSCREEN_SERVICE";
1356    field @RequiresPermission(android.Manifest.permission.DISPATCH_PROVISIONING_MESSAGE) public static final String ACTION_ESTABLISH_NETWORK_CONNECTION = "android.app.action.ESTABLISH_NETWORK_CONNECTION";
1357    field public static final String ACTION_LOST_MODE_LOCATION_UPDATE = "android.app.action.LOST_MODE_LOCATION_UPDATE";
1358    field public static final String ACTION_PROVISION_FINALIZATION = "android.app.action.PROVISION_FINALIZATION";
1359    field public static final String ACTION_PROVISION_FINANCED_DEVICE = "android.app.action.PROVISION_FINANCED_DEVICE";
1360    field public static final String ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE = "android.app.action.PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE";
1361    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";
1362    field @RequiresPermission(android.Manifest.permission.LAUNCH_DEVICE_MANAGER_SETUP) public static final String ACTION_ROLE_HOLDER_PROVISION_FINALIZATION = "android.app.action.ROLE_HOLDER_PROVISION_FINALIZATION";
1363    field @RequiresPermission(android.Manifest.permission.LAUNCH_DEVICE_MANAGER_SETUP) public static final String ACTION_ROLE_HOLDER_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE = "android.app.action.ROLE_HOLDER_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE";
1364    field @RequiresPermission(android.Manifest.permission.LAUNCH_DEVICE_MANAGER_SETUP) public static final String ACTION_ROLE_HOLDER_PROVISION_MANAGED_PROFILE = "android.app.action.ROLE_HOLDER_PROVISION_MANAGED_PROFILE";
1365    field public static final String ACTION_SET_PROFILE_OWNER = "android.app.action.SET_PROFILE_OWNER";
1366    field @Deprecated public static final String ACTION_STATE_USER_SETUP_COMPLETE = "android.app.action.STATE_USER_SETUP_COMPLETE";
1367    field @RequiresPermission(android.Manifest.permission.LAUNCH_DEVICE_MANAGER_SETUP) public static final String ACTION_UPDATE_DEVICE_POLICY_MANAGEMENT_ROLE_HOLDER = "android.app.action.UPDATE_DEVICE_POLICY_MANAGEMENT_ROLE_HOLDER";
1368    field public static final int EXEMPT_FROM_ACTIVITY_BG_START_RESTRICTION = 2; // 0x2
1369    field public static final int EXEMPT_FROM_DISMISSIBLE_NOTIFICATIONS = 1; // 0x1
1370    field public static final int EXEMPT_FROM_HIBERNATION = 3; // 0x3
1371    field public static final int EXEMPT_FROM_POWER_RESTRICTIONS = 4; // 0x4
1372    field public static final int EXEMPT_FROM_SUSPENSION = 0; // 0x0
1373    field public static final String EXTRA_FORCE_UPDATE_ROLE_HOLDER = "android.app.extra.FORCE_UPDATE_ROLE_HOLDER";
1374    field public static final String EXTRA_LOST_MODE_LOCATION = "android.app.extra.LOST_MODE_LOCATION";
1375    field public static final String EXTRA_PROFILE_OWNER_NAME = "android.app.extra.PROFILE_OWNER_NAME";
1376    field @Deprecated public static final String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_URI = "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_URI";
1377    field @Deprecated public static final String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL = "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL";
1378    field public static final String EXTRA_PROVISIONING_ORGANIZATION_NAME = "android.app.extra.PROVISIONING_ORGANIZATION_NAME";
1379    field public static final String EXTRA_PROVISIONING_RETURN_BEFORE_POLICY_COMPLIANCE = "android.app.extra.PROVISIONING_RETURN_BEFORE_POLICY_COMPLIANCE";
1380    field public static final String EXTRA_PROVISIONING_ROLE_HOLDER_CUSTOM_USER_CONSENT_INTENT = "android.app.extra.PROVISIONING_ROLE_HOLDER_CUSTOM_USER_CONSENT_INTENT";
1381    field public static final String EXTRA_PROVISIONING_ROLE_HOLDER_EXTRAS_BUNDLE = "android.app.extra.PROVISIONING_ROLE_HOLDER_EXTRAS_BUNDLE";
1382    field public static final String EXTRA_PROVISIONING_ROLE_HOLDER_PACKAGE_DOWNLOAD_COOKIE_HEADER = "android.app.extra.PROVISIONING_ROLE_HOLDER_PACKAGE_DOWNLOAD_COOKIE_HEADER";
1383    field public static final String EXTRA_PROVISIONING_ROLE_HOLDER_PACKAGE_DOWNLOAD_LOCATION = "android.app.extra.PROVISIONING_ROLE_HOLDER_PACKAGE_DOWNLOAD_LOCATION";
1384    field public static final String EXTRA_PROVISIONING_ROLE_HOLDER_SIGNATURE_CHECKSUM = "android.app.extra.PROVISIONING_ROLE_HOLDER_SIGNATURE_CHECKSUM";
1385    field public static final String EXTRA_PROVISIONING_SKIP_OWNERSHIP_DISCLAIMER = "android.app.extra.PROVISIONING_SKIP_OWNERSHIP_DISCLAIMER";
1386    field public static final String EXTRA_PROVISIONING_SUPPORTED_MODES = "android.app.extra.PROVISIONING_SUPPORTED_MODES";
1387    field public static final String EXTRA_PROVISIONING_SUPPORT_URL = "android.app.extra.PROVISIONING_SUPPORT_URL";
1388    field public static final String EXTRA_PROVISIONING_TRIGGER = "android.app.extra.PROVISIONING_TRIGGER";
1389    field public static final String EXTRA_RESTRICTION = "android.app.extra.RESTRICTION";
1390    field public static final String EXTRA_ROLE_HOLDER_PROVISIONING_INITIATOR_PACKAGE = "android.app.extra.ROLE_HOLDER_PROVISIONING_INITIATOR_PACKAGE";
1391    field public static final String EXTRA_ROLE_HOLDER_STATE = "android.app.extra.ROLE_HOLDER_STATE";
1392    field public static final String EXTRA_ROLE_HOLDER_UPDATE_RESULT_CODE = "android.app.extra.ROLE_HOLDER_UPDATE_RESULT_CODE";
1393    field public static final int FLAG_SUPPORTED_MODES_DEVICE_OWNER = 4; // 0x4
1394    field public static final int FLAG_SUPPORTED_MODES_ORGANIZATION_OWNED = 1; // 0x1
1395    field public static final int FLAG_SUPPORTED_MODES_PERSONALLY_OWNED = 2; // 0x2
1396    field public static final int PROVISIONING_TRIGGER_CLOUD_ENROLLMENT = 1; // 0x1
1397    field public static final int PROVISIONING_TRIGGER_MANAGED_ACCOUNT = 4; // 0x4
1398    field public static final int PROVISIONING_TRIGGER_NFC = 5; // 0x5
1399    field @Deprecated public static final int PROVISIONING_TRIGGER_PERSISTENT_DEVICE_OWNER = 3; // 0x3
1400    field public static final int PROVISIONING_TRIGGER_QR_CODE = 2; // 0x2
1401    field public static final int PROVISIONING_TRIGGER_UNSPECIFIED = 0; // 0x0
1402    field public static final String REQUIRED_APP_MANAGED_DEVICE = "android.app.REQUIRED_APP_MANAGED_DEVICE";
1403    field public static final String REQUIRED_APP_MANAGED_PROFILE = "android.app.REQUIRED_APP_MANAGED_PROFILE";
1404    field public static final String REQUIRED_APP_MANAGED_USER = "android.app.REQUIRED_APP_MANAGED_USER";
1405    field public static final int RESULT_DEVICE_OWNER_SET = 123; // 0x7b
1406    field public static final int RESULT_UPDATE_DEVICE_POLICY_MANAGEMENT_ROLE_HOLDER_PROVISIONING_DISABLED = 3; // 0x3
1407    field public static final int RESULT_UPDATE_DEVICE_POLICY_MANAGEMENT_ROLE_HOLDER_RECOVERABLE_ERROR = 1; // 0x1
1408    field public static final int RESULT_UPDATE_DEVICE_POLICY_MANAGEMENT_ROLE_HOLDER_UNRECOVERABLE_ERROR = 2; // 0x2
1409    field public static final int RESULT_UPDATE_ROLE_HOLDER = 2; // 0x2
1410    field public static final int RESULT_WORK_PROFILE_CREATED = 122; // 0x7a
1411    field public static final int STATE_USER_PROFILE_COMPLETE = 4; // 0x4
1412    field public static final int STATE_USER_PROFILE_FINALIZED = 5; // 0x5
1413    field public static final int STATE_USER_SETUP_COMPLETE = 2; // 0x2
1414    field public static final int STATE_USER_SETUP_FINALIZED = 3; // 0x3
1415    field public static final int STATE_USER_SETUP_INCOMPLETE = 1; // 0x1
1416    field public static final int STATE_USER_UNMANAGED = 0; // 0x0
1417    field public static final int STATUS_ACCOUNTS_NOT_EMPTY = 6; // 0x6
1418    field public static final int STATUS_CANNOT_ADD_MANAGED_PROFILE = 11; // 0xb
1419    field public static final int STATUS_DEVICE_ADMIN_NOT_SUPPORTED = 13; // 0xd
1420    field public static final int STATUS_HAS_DEVICE_OWNER = 1; // 0x1
1421    field public static final int STATUS_HAS_PAIRED = 8; // 0x8
1422    field @FlaggedApi("android.app.admin.flags.headless_device_owner_single_user_enabled") public static final int STATUS_HEADLESS_ONLY_SYSTEM_USER = 17; // 0x11
1423    field public static final int STATUS_HEADLESS_SYSTEM_USER_MODE_NOT_SUPPORTED = 16; // 0x10
1424    field public static final int STATUS_MANAGED_USERS_NOT_SUPPORTED = 9; // 0x9
1425    field public static final int STATUS_NONSYSTEM_USER_EXISTS = 5; // 0x5
1426    field public static final int STATUS_NOT_SYSTEM_USER = 7; // 0x7
1427    field public static final int STATUS_OK = 0; // 0x0
1428    field public static final int STATUS_PROVISIONING_NOT_ALLOWED_FOR_NON_DEVELOPER_USERS = 15; // 0xf
1429    field public static final int STATUS_SYSTEM_USER = 10; // 0xa
1430    field public static final int STATUS_UNKNOWN_ERROR = -1; // 0xffffffff
1431    field public static final int STATUS_USER_HAS_PROFILE_OWNER = 2; // 0x2
1432    field public static final int STATUS_USER_NOT_RUNNING = 3; // 0x3
1433    field public static final int STATUS_USER_SETUP_COMPLETED = 4; // 0x4
1434  }
1435
1436  public static final class DevicePolicyResources.Strings {
1437  }
1438
1439  public static final class DevicePolicyResources.Strings.DefaultAppSettings {
1440    field public static final String HOME_MISSING_WORK_PROFILE_SUPPORT_MESSAGE = "DefaultAppSettings.HOME_MISSING_WORK_PROFILE_SUPPORT_MESSAGE";
1441    field public static final String WORK_PROFILE_DEFAULT_APPS_TITLE = "DefaultAppSettings.WORK_PROFILE_DEFAULT_APPS_TITLE";
1442  }
1443
1444  public static final class DevicePolicyResources.Strings.PermissionSettings {
1445    field public static final String BACKGROUND_ACCESS_DISABLED_BY_ADMIN_MESSAGE = "PermissionSettings.BACKGROUND_ACCESS_DISABLED_BY_ADMIN_MESSAGE";
1446    field public static final String BACKGROUND_ACCESS_ENABLED_BY_ADMIN_MESSAGE = "PermissionSettings.BACKGROUND_ACCESS_ENABLED_BY_ADMIN_MESSAGE";
1447    field public static final String FOREGROUND_ACCESS_ENABLED_BY_ADMIN_MESSAGE = "PermissionSettings.FOREGROUND_ACCESS_ENABLED_BY_ADMIN_MESSAGE";
1448    field public static final String LOCATION_AUTO_GRANTED_MESSAGE = "PermissionSettings.LOCATION_AUTO_GRANTED_MESSAGE";
1449  }
1450
1451  public class DevicePolicyResourcesManager {
1452    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES) public void resetDrawables(@NonNull java.util.Set<java.lang.String>);
1453    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES) public void resetStrings(@NonNull java.util.Set<java.lang.String>);
1454    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES) public void setDrawables(@NonNull java.util.Set<android.app.admin.DevicePolicyDrawableResource>);
1455    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES) public void setStrings(@NonNull java.util.Set<android.app.admin.DevicePolicyStringResource>);
1456  }
1457
1458  public final class DevicePolicyState implements android.os.Parcelable {
1459    method public int describeContents();
1460    method @NonNull public java.util.Map<android.os.UserHandle,java.util.Map<android.app.admin.PolicyKey,android.app.admin.PolicyState<?>>> getPoliciesForAllUsers();
1461    method @NonNull public java.util.Map<android.app.admin.PolicyKey,android.app.admin.PolicyState<?>> getPoliciesForUser(@NonNull android.os.UserHandle);
1462    method public void writeToParcel(@NonNull android.os.Parcel, int);
1463    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.DevicePolicyState> CREATOR;
1464  }
1465
1466  public final class DevicePolicyStringResource implements android.os.Parcelable {
1467    ctor public DevicePolicyStringResource(@NonNull android.content.Context, @NonNull String, @StringRes int);
1468    method public int describeContents();
1469    method public int getResourceIdInCallingPackage();
1470    method @NonNull public String getStringId();
1471    method public void writeToParcel(@NonNull android.os.Parcel, int);
1472    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.DevicePolicyStringResource> CREATOR;
1473  }
1474
1475  public final class DpcAuthority extends android.app.admin.Authority {
1476    ctor public DpcAuthority();
1477    method public void writeToParcel(@NonNull android.os.Parcel, int);
1478    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.DpcAuthority> CREATOR;
1479  }
1480
1481  public final class EnforcingAdmin implements android.os.Parcelable {
1482    ctor public EnforcingAdmin(@NonNull String, @NonNull android.app.admin.Authority, @NonNull android.os.UserHandle);
1483    method public int describeContents();
1484    method @NonNull public android.app.admin.Authority getAuthority();
1485    method @NonNull public String getPackageName();
1486    method @NonNull public android.os.UserHandle getUserHandle();
1487    method public void writeToParcel(@NonNull android.os.Parcel, int);
1488    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.EnforcingAdmin> CREATOR;
1489  }
1490
1491  public final class FullyManagedDeviceProvisioningParams implements android.os.Parcelable {
1492    method public boolean canDeviceOwnerGrantSensorsPermissions();
1493    method public int describeContents();
1494    method @NonNull public android.os.PersistableBundle getAdminExtras();
1495    method @NonNull public android.content.ComponentName getDeviceAdminComponentName();
1496    method public long getLocalTime();
1497    method @Nullable public java.util.Locale getLocale();
1498    method @NonNull public String getOwnerName();
1499    method @Nullable public String getTimeZone();
1500    method public boolean isDemoDevice();
1501    method public boolean isLeaveAllSystemAppsEnabled();
1502    method public void writeToParcel(@NonNull android.os.Parcel, @Nullable int);
1503    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.FullyManagedDeviceProvisioningParams> CREATOR;
1504  }
1505
1506  public static final class FullyManagedDeviceProvisioningParams.Builder {
1507    ctor public FullyManagedDeviceProvisioningParams.Builder(@NonNull android.content.ComponentName, @NonNull String);
1508    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams build();
1509    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setAdminExtras(@NonNull android.os.PersistableBundle);
1510    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setCanDeviceOwnerGrantSensorsPermissions(boolean);
1511    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setDemoDevice(boolean);
1512    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setLeaveAllSystemAppsEnabled(boolean);
1513    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setLocalTime(long);
1514    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setLocale(@Nullable java.util.Locale);
1515    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setTimeZone(@Nullable String);
1516  }
1517
1518  public final class IntentFilterPolicyKey extends android.app.admin.PolicyKey {
1519    method public int describeContents();
1520    method @NonNull public android.content.IntentFilter getIntentFilter();
1521    method public void writeToParcel(@NonNull android.os.Parcel, int);
1522    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.IntentFilterPolicyKey> CREATOR;
1523  }
1524
1525  public final class LockTaskPolicy implements android.os.Parcelable {
1526    method public int describeContents();
1527    method public int getFlags();
1528    method @NonNull public java.util.Set<java.lang.String> getPackages();
1529    method public void writeToParcel(@NonNull android.os.Parcel, int);
1530    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.LockTaskPolicy> CREATOR;
1531  }
1532
1533  public final class ManagedProfileProvisioningParams implements android.os.Parcelable {
1534    method public int describeContents();
1535    method @Nullable public android.accounts.Account getAccountToMigrate();
1536    method @NonNull public android.os.PersistableBundle getAdminExtras();
1537    method @NonNull public String getOwnerName();
1538    method @NonNull public android.content.ComponentName getProfileAdminComponentName();
1539    method @Nullable public String getProfileName();
1540    method public boolean isKeepingAccountOnMigration();
1541    method public boolean isLeaveAllSystemAppsEnabled();
1542    method public boolean isOrganizationOwnedProvisioning();
1543    method public void writeToParcel(@NonNull android.os.Parcel, @Nullable int);
1544    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.ManagedProfileProvisioningParams> CREATOR;
1545  }
1546
1547  public static final class ManagedProfileProvisioningParams.Builder {
1548    ctor public ManagedProfileProvisioningParams.Builder(@NonNull android.content.ComponentName, @NonNull String);
1549    method @NonNull public android.app.admin.ManagedProfileProvisioningParams build();
1550    method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setAccountToMigrate(@Nullable android.accounts.Account);
1551    method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setAdminExtras(@NonNull android.os.PersistableBundle);
1552    method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setKeepingAccountOnMigration(boolean);
1553    method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setLeaveAllSystemAppsEnabled(boolean);
1554    method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setOrganizationOwnedProvisioning(boolean);
1555    method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setProfileName(@Nullable String);
1556  }
1557
1558  public final class NoArgsPolicyKey extends android.app.admin.PolicyKey {
1559    method public int describeContents();
1560    method public void writeToParcel(@NonNull android.os.Parcel, int);
1561    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.NoArgsPolicyKey> CREATOR;
1562  }
1563
1564  public final class PackagePermissionPolicyKey extends android.app.admin.PolicyKey {
1565    method public int describeContents();
1566    method @NonNull public String getPackageName();
1567    method @NonNull public String getPermissionName();
1568    method public void writeToParcel(@NonNull android.os.Parcel, int);
1569    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.PackagePermissionPolicyKey> CREATOR;
1570  }
1571
1572  public final class PackagePolicyKey extends android.app.admin.PolicyKey {
1573    method public int describeContents();
1574    method @NonNull public String getPackageName();
1575    method public void writeToParcel(@NonNull android.os.Parcel, int);
1576    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.PackagePolicyKey> CREATOR;
1577  }
1578
1579  public abstract class PolicyKey implements android.os.Parcelable {
1580    method @NonNull public String getIdentifier();
1581  }
1582
1583  public final class PolicyState<V> implements android.os.Parcelable {
1584    method public int describeContents();
1585    method @Nullable public V getCurrentResolvedPolicy();
1586    method @NonNull public java.util.LinkedHashMap<android.app.admin.EnforcingAdmin,V> getPoliciesSetByAdmins();
1587    method public void writeToParcel(@NonNull android.os.Parcel, int);
1588    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.PolicyState<?>> CREATOR;
1589  }
1590
1591  public class ProvisioningException extends android.util.AndroidException {
1592    ctor public ProvisioningException(@NonNull Exception, int);
1593    ctor public ProvisioningException(@NonNull Exception, int, @Nullable String);
1594    method public int getProvisioningError();
1595    field public static final int ERROR_ADMIN_PACKAGE_INSTALLATION_FAILED = 3; // 0x3
1596    field public static final int ERROR_PRE_CONDITION_FAILED = 1; // 0x1
1597    field public static final int ERROR_PROFILE_CREATION_FAILED = 2; // 0x2
1598    field public static final int ERROR_REMOVE_NON_REQUIRED_APPS_FAILED = 6; // 0x6
1599    field public static final int ERROR_SETTING_PROFILE_OWNER_FAILED = 4; // 0x4
1600    field public static final int ERROR_SET_DEVICE_OWNER_FAILED = 7; // 0x7
1601    field public static final int ERROR_STARTING_PROFILE_FAILED = 5; // 0x5
1602    field public static final int ERROR_UNKNOWN = 0; // 0x0
1603  }
1604
1605  public final class RoleAuthority extends android.app.admin.Authority {
1606    ctor public RoleAuthority(@NonNull java.util.Set<java.lang.String>);
1607    method @NonNull public java.util.Set<java.lang.String> getRoles();
1608    method public void writeToParcel(@NonNull android.os.Parcel, int);
1609    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.RoleAuthority> CREATOR;
1610  }
1611
1612  public class SecurityLog {
1613    method @RequiresPermission(android.Manifest.permission.WRITE_SECURITY_LOG) public static int writeEvent(int, @NonNull java.lang.Object...);
1614  }
1615
1616  public final class SystemUpdatePolicy implements android.os.Parcelable {
1617    method public android.app.admin.SystemUpdatePolicy.InstallationOption getInstallationOptionAt(long);
1618    field public static final int TYPE_PAUSE = 4; // 0x4
1619  }
1620
1621  public static class SystemUpdatePolicy.InstallationOption {
1622    method public long getEffectiveTime();
1623    method public int getType();
1624  }
1625
1626  public final class UnknownAuthority extends android.app.admin.Authority {
1627    ctor public UnknownAuthority();
1628    method public void writeToParcel(@NonNull android.os.Parcel, int);
1629    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.UnknownAuthority> CREATOR;
1630  }
1631
1632  public final class UserRestrictionPolicyKey extends android.app.admin.PolicyKey {
1633    method public int describeContents();
1634    method @NonNull public String getRestriction();
1635    method public void writeToParcel(@NonNull android.os.Parcel, int);
1636    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.UserRestrictionPolicyKey> CREATOR;
1637  }
1638
1639}
1640
1641package android.app.ambientcontext {
1642
1643  public final class AmbientContextEvent implements android.os.Parcelable {
1644    method public int describeContents();
1645    method public int getConfidenceLevel();
1646    method public int getDensityLevel();
1647    method @NonNull public java.time.Instant getEndTime();
1648    method public int getEventType();
1649    method @NonNull public java.time.Instant getStartTime();
1650    method @NonNull public android.os.PersistableBundle getVendorData();
1651    method public void writeToParcel(@NonNull android.os.Parcel, int);
1652    field @NonNull public static final android.os.Parcelable.Creator<android.app.ambientcontext.AmbientContextEvent> CREATOR;
1653    field public static final int EVENT_BACK_DOUBLE_TAP = 3; // 0x3
1654    field public static final int EVENT_COUGH = 1; // 0x1
1655    field public static final int EVENT_SNORE = 2; // 0x2
1656    field public static final int EVENT_UNKNOWN = 0; // 0x0
1657    field public static final int EVENT_VENDOR_WEARABLE_START = 100000; // 0x186a0
1658    field public static final String KEY_VENDOR_WEARABLE_EVENT_NAME = "wearable_event_name";
1659    field public static final int LEVEL_HIGH = 5; // 0x5
1660    field public static final int LEVEL_LOW = 1; // 0x1
1661    field public static final int LEVEL_MEDIUM = 3; // 0x3
1662    field public static final int LEVEL_MEDIUM_HIGH = 4; // 0x4
1663    field public static final int LEVEL_MEDIUM_LOW = 2; // 0x2
1664    field public static final int LEVEL_UNKNOWN = 0; // 0x0
1665  }
1666
1667  public static final class AmbientContextEvent.Builder {
1668    ctor public AmbientContextEvent.Builder();
1669    method @NonNull public android.app.ambientcontext.AmbientContextEvent build();
1670    method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setConfidenceLevel(int);
1671    method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setDensityLevel(int);
1672    method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setEndTime(@NonNull java.time.Instant);
1673    method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setEventType(int);
1674    method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setStartTime(@NonNull java.time.Instant);
1675    method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setVendorData(@NonNull android.os.PersistableBundle);
1676  }
1677
1678  public final class AmbientContextEventRequest implements android.os.Parcelable {
1679    method public int describeContents();
1680    method @NonNull public java.util.Set<java.lang.Integer> getEventTypes();
1681    method @NonNull public android.os.PersistableBundle getOptions();
1682    method public void writeToParcel(@NonNull android.os.Parcel, int);
1683    field @NonNull public static final android.os.Parcelable.Creator<android.app.ambientcontext.AmbientContextEventRequest> CREATOR;
1684  }
1685
1686  public static final class AmbientContextEventRequest.Builder {
1687    ctor public AmbientContextEventRequest.Builder();
1688    method @NonNull public android.app.ambientcontext.AmbientContextEventRequest.Builder addEventType(int);
1689    method @NonNull public android.app.ambientcontext.AmbientContextEventRequest build();
1690    method @NonNull public android.app.ambientcontext.AmbientContextEventRequest.Builder setOptions(@NonNull android.os.PersistableBundle);
1691  }
1692
1693  public final class AmbientContextManager {
1694    method @NonNull public static java.util.List<android.app.ambientcontext.AmbientContextEvent> getEventsFromIntent(@NonNull android.content.Intent);
1695    method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_CONTEXT_EVENT) public void queryAmbientContextServiceStatus(@NonNull java.util.Set<java.lang.Integer>, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
1696    method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_CONTEXT_EVENT) public void registerObserver(@NonNull android.app.ambientcontext.AmbientContextEventRequest, @NonNull android.app.PendingIntent, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
1697    method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_CONTEXT_EVENT) public void startConsentActivity(@NonNull java.util.Set<java.lang.Integer>);
1698    method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_CONTEXT_EVENT) public void unregisterObserver();
1699    field public static final String EXTRA_AMBIENT_CONTEXT_EVENTS = "android.app.ambientcontext.extra.AMBIENT_CONTEXT_EVENTS";
1700    field public static final int STATUS_ACCESS_DENIED = 5; // 0x5
1701    field public static final int STATUS_MICROPHONE_DISABLED = 4; // 0x4
1702    field public static final int STATUS_NOT_SUPPORTED = 2; // 0x2
1703    field public static final int STATUS_SERVICE_UNAVAILABLE = 3; // 0x3
1704    field public static final int STATUS_SUCCESS = 1; // 0x1
1705    field public static final int STATUS_UNKNOWN = 0; // 0x0
1706  }
1707
1708}
1709
1710package android.app.assist {
1711
1712  public final class ActivityId implements android.os.Parcelable {
1713    method public int describeContents();
1714    method public void writeToParcel(@NonNull android.os.Parcel, int);
1715    field @NonNull public static final android.os.Parcelable.Creator<android.app.assist.ActivityId> CREATOR;
1716  }
1717
1718  public static class AssistStructure.ViewNode {
1719    ctor public AssistStructure.ViewNode();
1720  }
1721
1722}
1723
1724package android.app.backup {
1725
1726  public class BackupDataInput {
1727    ctor public BackupDataInput(java.io.FileDescriptor);
1728  }
1729
1730  public class BackupDataOutput {
1731    ctor public BackupDataOutput(java.io.FileDescriptor);
1732    ctor public BackupDataOutput(java.io.FileDescriptor, long);
1733  }
1734
1735  public class BackupManager {
1736    method @RequiresPermission(android.Manifest.permission.BACKUP) public void backupNow();
1737    method @RequiresPermission(android.Manifest.permission.BACKUP) public android.app.backup.RestoreSession beginRestoreSession();
1738    method @RequiresPermission(android.Manifest.permission.BACKUP) public void cancelBackups();
1739    method @RequiresPermission(android.Manifest.permission.BACKUP) public void excludeKeysFromRestore(@NonNull String, @NonNull java.util.List<java.lang.String>);
1740    method @RequiresPermission(android.Manifest.permission.BACKUP) public long getAvailableRestoreToken(String);
1741    method @NonNull public android.app.backup.BackupRestoreEventLogger getBackupRestoreEventLogger(@NonNull android.app.backup.BackupAgent);
1742    method @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.Intent getConfigurationIntent(String);
1743    method @RequiresPermission(android.Manifest.permission.BACKUP) public String getCurrentTransport();
1744    method @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.ComponentName getCurrentTransportComponent();
1745    method @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.Intent getDataManagementIntent(String);
1746    method @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public CharSequence getDataManagementIntentLabel(@NonNull String);
1747    method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public String getDataManagementLabel(@NonNull String);
1748    method @NonNull public android.app.backup.BackupRestoreEventLogger getDelayedRestoreLogger();
1749    method @RequiresPermission(android.Manifest.permission.BACKUP) public String getDestinationString(String);
1750    method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isAppEligibleForBackup(String);
1751    method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isBackupEnabled();
1752    method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isBackupServiceActive(android.os.UserHandle);
1753    method @RequiresPermission(android.Manifest.permission.BACKUP) public String[] listAllTransports();
1754    method public void reportDelayedRestoreResult(@NonNull android.app.backup.BackupRestoreEventLogger);
1755    method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], android.app.backup.BackupObserver);
1756    method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], android.app.backup.BackupObserver, android.app.backup.BackupManagerMonitor, int);
1757    method @Deprecated public int requestRestore(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor);
1758    method @Deprecated @RequiresPermission(android.Manifest.permission.BACKUP) public String selectBackupTransport(String);
1759    method @RequiresPermission(android.Manifest.permission.BACKUP) public void selectBackupTransport(android.content.ComponentName, android.app.backup.SelectBackupTransportCallback);
1760    method @RequiresPermission(android.Manifest.permission.BACKUP) public void setAncestralSerialNumber(long);
1761    method @RequiresPermission(android.Manifest.permission.BACKUP) public void setAutoRestore(boolean);
1762    method @RequiresPermission(android.Manifest.permission.BACKUP) public void setBackupEnabled(boolean);
1763    method @RequiresPermission(allOf={android.Manifest.permission.BACKUP, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}, conditional=true) public void setFrameworkSchedulingEnabled(boolean);
1764    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);
1765    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);
1766    field public static final int ERROR_AGENT_FAILURE = -1003; // 0xfffffc15
1767    field public static final int ERROR_BACKUP_CANCELLED = -2003; // 0xfffff82d
1768    field public static final int ERROR_BACKUP_NOT_ALLOWED = -2001; // 0xfffff82f
1769    field public static final int ERROR_PACKAGE_NOT_FOUND = -2002; // 0xfffff82e
1770    field public static final int ERROR_TRANSPORT_ABORTED = -1000; // 0xfffffc18
1771    field public static final int ERROR_TRANSPORT_INVALID = -2; // 0xfffffffe
1772    field public static final int ERROR_TRANSPORT_PACKAGE_REJECTED = -1002; // 0xfffffc16
1773    field public static final int ERROR_TRANSPORT_QUOTA_EXCEEDED = -1005; // 0xfffffc13
1774    field public static final int ERROR_TRANSPORT_UNAVAILABLE = -1; // 0xffffffff
1775    field public static final int FLAG_NON_INCREMENTAL_BACKUP = 1; // 0x1
1776    field public static final String PACKAGE_MANAGER_SENTINEL = "@pm@";
1777    field public static final int SUCCESS = 0; // 0x0
1778  }
1779
1780  public class BackupManagerMonitor {
1781    ctor public BackupManagerMonitor();
1782    method public void onEvent(android.os.Bundle);
1783    field public static final String EXTRA_LOG_AGENT_LOGGING_RESULTS = "android.app.backup.extra.LOG_AGENT_LOGGING_RESULTS";
1784    field public static final String EXTRA_LOG_CANCEL_ALL = "android.app.backup.extra.LOG_CANCEL_ALL";
1785    field public static final String EXTRA_LOG_EVENT_CATEGORY = "android.app.backup.extra.LOG_EVENT_CATEGORY";
1786    field public static final String EXTRA_LOG_EVENT_ID = "android.app.backup.extra.LOG_EVENT_ID";
1787    field public static final String EXTRA_LOG_EVENT_PACKAGE_LONG_VERSION = "android.app.backup.extra.LOG_EVENT_PACKAGE_FULL_VERSION";
1788    field public static final String EXTRA_LOG_EVENT_PACKAGE_NAME = "android.app.backup.extra.LOG_EVENT_PACKAGE_NAME";
1789    field @Deprecated public static final String EXTRA_LOG_EVENT_PACKAGE_VERSION = "android.app.backup.extra.LOG_EVENT_PACKAGE_VERSION";
1790    field public static final String EXTRA_LOG_EXCEPTION_FULL_BACKUP = "android.app.backup.extra.LOG_EXCEPTION_FULL_BACKUP";
1791    field public static final String EXTRA_LOG_ILLEGAL_KEY = "android.app.backup.extra.LOG_ILLEGAL_KEY";
1792    field public static final String EXTRA_LOG_MANIFEST_PACKAGE_NAME = "android.app.backup.extra.LOG_MANIFEST_PACKAGE_NAME";
1793    field public static final String EXTRA_LOG_OLD_VERSION = "android.app.backup.extra.LOG_OLD_VERSION";
1794    field public static final String EXTRA_LOG_POLICY_ALLOW_APKS = "android.app.backup.extra.LOG_POLICY_ALLOW_APKS";
1795    field public static final String EXTRA_LOG_PREFLIGHT_ERROR = "android.app.backup.extra.LOG_PREFLIGHT_ERROR";
1796    field public static final String EXTRA_LOG_RESTORE_ANYWAY = "android.app.backup.extra.LOG_RESTORE_ANYWAY";
1797    field public static final String EXTRA_LOG_RESTORE_VERSION = "android.app.backup.extra.LOG_RESTORE_VERSION";
1798    field public static final String EXTRA_LOG_WIDGET_PACKAGE_NAME = "android.app.backup.extra.LOG_WIDGET_PACKAGE_NAME";
1799    field public static final int LOG_EVENT_CATEGORY_AGENT = 2; // 0x2
1800    field public static final int LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY = 3; // 0x3
1801    field public static final int LOG_EVENT_CATEGORY_TRANSPORT = 1; // 0x1
1802    field public static final int LOG_EVENT_ID_AGENT_LOGGING_RESULTS = 52; // 0x34
1803    field public static final int LOG_EVENT_ID_APK_NOT_INSTALLED = 40; // 0x28
1804    field public static final int LOG_EVENT_ID_APP_HAS_NO_AGENT = 28; // 0x1c
1805    field public static final int LOG_EVENT_ID_BACKUP_DISABLED = 13; // 0xd
1806    field public static final int LOG_EVENT_ID_CANNOT_RESTORE_WITHOUT_APK = 41; // 0x29
1807    field public static final int LOG_EVENT_ID_CANT_FIND_AGENT = 30; // 0x1e
1808    field public static final int LOG_EVENT_ID_CORRUPT_MANIFEST = 46; // 0x2e
1809    field public static final int LOG_EVENT_ID_DEVICE_NOT_PROVISIONED = 14; // 0xe
1810    field public static final int LOG_EVENT_ID_ERROR_PREFLIGHT = 16; // 0x10
1811    field public static final int LOG_EVENT_ID_EXCEPTION_FULL_BACKUP = 19; // 0x13
1812    field public static final int LOG_EVENT_ID_EXPECTED_DIFFERENT_PACKAGE = 43; // 0x2b
1813    field public static final int LOG_EVENT_ID_FULL_BACKUP_CANCEL = 4; // 0x4
1814    field public static final int LOG_EVENT_ID_FULL_RESTORE_ALLOW_BACKUP_FALSE = 39; // 0x27
1815    field public static final int LOG_EVENT_ID_FULL_RESTORE_SIGNATURE_MISMATCH = 37; // 0x25
1816    field public static final int LOG_EVENT_ID_FULL_RESTORE_TIMEOUT = 45; // 0x2d
1817    field public static final int LOG_EVENT_ID_ILLEGAL_KEY = 5; // 0x5
1818    field public static final int LOG_EVENT_ID_KEY_VALUE_BACKUP_CANCEL = 21; // 0x15
1819    field public static final int LOG_EVENT_ID_KEY_VALUE_RESTORE_TIMEOUT = 31; // 0x1f
1820    field public static final int LOG_EVENT_ID_LOST_TRANSPORT = 25; // 0x19
1821    field public static final int LOG_EVENT_ID_MISSING_SIGNATURE = 42; // 0x2a
1822    field public static final int LOG_EVENT_ID_NO_DATA_TO_SEND = 7; // 0x7
1823    field public static final int LOG_EVENT_ID_NO_PACKAGES = 49; // 0x31
1824    field public static final int LOG_EVENT_ID_NO_PM_METADATA_RECEIVED = 23; // 0x17
1825    field public static final int LOG_EVENT_ID_NO_RESTORE_METADATA_AVAILABLE = 22; // 0x16
1826    field public static final int LOG_EVENT_ID_PACKAGE_INELIGIBLE = 9; // 0x9
1827    field public static final int LOG_EVENT_ID_PACKAGE_KEY_VALUE_PARTICIPANT = 10; // 0xa
1828    field public static final int LOG_EVENT_ID_PACKAGE_NOT_FOUND = 12; // 0xc
1829    field public static final int LOG_EVENT_ID_PACKAGE_NOT_PRESENT = 26; // 0x1a
1830    field public static final int LOG_EVENT_ID_PACKAGE_STOPPED = 11; // 0xb
1831    field public static final int LOG_EVENT_ID_PACKAGE_TRANSPORT_NOT_PRESENT = 15; // 0xf
1832    field public static final int LOG_EVENT_ID_PM_AGENT_HAS_NO_METADATA = 24; // 0x18
1833    field public static final int LOG_EVENT_ID_QUOTA_HIT_PREFLIGHT = 18; // 0x12
1834    field public static final int LOG_EVENT_ID_RESTORE_ANY_VERSION = 34; // 0x22
1835    field public static final int LOG_EVENT_ID_RESTORE_VERSION_HIGHER = 27; // 0x1b
1836    field public static final int LOG_EVENT_ID_SIGNATURE_MISMATCH = 29; // 0x1d
1837    field public static final int LOG_EVENT_ID_SYSTEM_APP_NO_AGENT = 38; // 0x26
1838    field public static final int LOG_EVENT_ID_TRANSPORT_IS_NULL = 50; // 0x32
1839    field public static final int LOG_EVENT_ID_TRANSPORT_NON_INCREMENTAL_BACKUP_REQUIRED = 51; // 0x33
1840    field public static final int LOG_EVENT_ID_UNKNOWN_VERSION = 44; // 0x2c
1841    field public static final int LOG_EVENT_ID_VERSIONS_MATCH = 35; // 0x23
1842    field public static final int LOG_EVENT_ID_VERSION_OF_BACKUP_OLDER = 36; // 0x24
1843    field public static final int LOG_EVENT_ID_WIDGET_METADATA_MISMATCH = 47; // 0x2f
1844    field public static final int LOG_EVENT_ID_WIDGET_UNKNOWN_VERSION = 48; // 0x30
1845  }
1846
1847  public abstract class BackupObserver {
1848    ctor public BackupObserver();
1849    method public void backupFinished(int);
1850    method public void onResult(String, int);
1851    method public void onUpdate(String, android.app.backup.BackupProgress);
1852  }
1853
1854  public class BackupProgress implements android.os.Parcelable {
1855    ctor public BackupProgress(long, long);
1856    method public int describeContents();
1857    method public void writeToParcel(android.os.Parcel, int);
1858    field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.BackupProgress> CREATOR;
1859    field public final long bytesExpected;
1860    field public final long bytesTransferred;
1861  }
1862
1863  public final class BackupRestoreEventLogger {
1864    method public void logBackupMetadata(@NonNull String, @NonNull String);
1865    method public void logItemsBackedUp(@NonNull String, int);
1866    method public void logItemsBackupFailed(@NonNull String, int, @Nullable String);
1867    method public void logItemsRestoreFailed(@NonNull String, int, @Nullable String);
1868    method public void logItemsRestored(@NonNull String, int);
1869    method public void logRestoreMetadata(@NonNull String, @NonNull String);
1870  }
1871
1872  public static final class BackupRestoreEventLogger.DataTypeResult implements android.os.Parcelable {
1873    ctor public BackupRestoreEventLogger.DataTypeResult(@NonNull String);
1874    method public int describeContents();
1875    method @NonNull public String getDataType();
1876    method @NonNull public java.util.Map<java.lang.String,java.lang.Integer> getErrors();
1877    method public int getFailCount();
1878    method @Nullable public byte[] getMetadataHash();
1879    method public int getSuccessCount();
1880    method public void writeToParcel(@NonNull android.os.Parcel, int);
1881    field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.BackupRestoreEventLogger.DataTypeResult> CREATOR;
1882  }
1883
1884  public class BackupTransport {
1885    ctor public BackupTransport();
1886    method public int abortFullRestore();
1887    method public void cancelFullBackup();
1888    method public int checkFullBackupSize(long);
1889    method public int clearBackupData(android.content.pm.PackageInfo);
1890    method public android.content.Intent configurationIntent();
1891    method public String currentDestinationString();
1892    method public android.content.Intent dataManagementIntent();
1893    method @Nullable public CharSequence dataManagementIntentLabel();
1894    method @Deprecated @Nullable public String dataManagementLabel();
1895    method public int finishBackup();
1896    method public void finishRestore();
1897    method public android.app.backup.RestoreSet[] getAvailableRestoreSets();
1898    method @Nullable public android.app.backup.BackupManagerMonitor getBackupManagerMonitor();
1899    method public long getBackupQuota(String, boolean);
1900    method public android.os.IBinder getBinder();
1901    method public long getCurrentRestoreSet();
1902    method public int getNextFullRestoreDataChunk(android.os.ParcelFileDescriptor);
1903    method public int getRestoreData(android.os.ParcelFileDescriptor);
1904    method public int getTransportFlags();
1905    method public int initializeDevice();
1906    method public boolean isAppEligibleForBackup(android.content.pm.PackageInfo, boolean);
1907    method public String name();
1908    method public android.app.backup.RestoreDescription nextRestorePackage();
1909    method public int performBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor, int);
1910    method public int performBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor);
1911    method public int performFullBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor, int);
1912    method public int performFullBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor);
1913    method public long requestBackupTime();
1914    method public long requestFullBackupTime();
1915    method public int sendBackupData(int);
1916    method public int startRestore(long, android.content.pm.PackageInfo[]);
1917    method public String transportDirName();
1918    field public static final int AGENT_ERROR = -1003; // 0xfffffc15
1919    field public static final int AGENT_UNKNOWN = -1004; // 0xfffffc14
1920    field public static final String EXTRA_TRANSPORT_REGISTRATION = "android.app.backup.extra.TRANSPORT_REGISTRATION";
1921    field public static final int FLAG_DATA_NOT_CHANGED = 8; // 0x8
1922    field public static final int FLAG_INCREMENTAL = 2; // 0x2
1923    field public static final int FLAG_NON_INCREMENTAL = 4; // 0x4
1924    field public static final int FLAG_USER_INITIATED = 1; // 0x1
1925    field public static final int NO_MORE_DATA = -1; // 0xffffffff
1926    field public static final int TRANSPORT_ERROR = -1000; // 0xfffffc18
1927    field public static final int TRANSPORT_NON_INCREMENTAL_BACKUP_REQUIRED = -1006; // 0xfffffc12
1928    field public static final int TRANSPORT_NOT_INITIALIZED = -1001; // 0xfffffc17
1929    field public static final int TRANSPORT_OK = 0; // 0x0
1930    field public static final int TRANSPORT_PACKAGE_REJECTED = -1002; // 0xfffffc16
1931    field public static final int TRANSPORT_QUOTA_EXCEEDED = -1005; // 0xfffffc13
1932  }
1933
1934  public class RestoreDescription implements android.os.Parcelable {
1935    ctor public RestoreDescription(String, int);
1936    method public int describeContents();
1937    method public int getDataType();
1938    method public String getPackageName();
1939    method public void writeToParcel(android.os.Parcel, int);
1940    field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.RestoreDescription> CREATOR;
1941    field public static final android.app.backup.RestoreDescription NO_MORE_PACKAGES;
1942    field public static final int TYPE_FULL_STREAM = 2; // 0x2
1943    field public static final int TYPE_KEY_VALUE = 1; // 0x1
1944  }
1945
1946  public abstract class RestoreObserver {
1947    method public void restoreSetsAvailable(android.app.backup.RestoreSet[]);
1948  }
1949
1950  public class RestoreSession {
1951    method public void endRestoreSession();
1952    method public int getAvailableRestoreSets(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor);
1953    method public int getAvailableRestoreSets(android.app.backup.RestoreObserver);
1954    method public int restoreAll(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor);
1955    method public int restoreAll(long, android.app.backup.RestoreObserver);
1956    method public int restorePackage(String, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor);
1957    method public int restorePackage(String, android.app.backup.RestoreObserver);
1958    method public int restorePackages(long, @Nullable android.app.backup.RestoreObserver, @NonNull java.util.Set<java.lang.String>, @Nullable android.app.backup.BackupManagerMonitor);
1959    method public int restorePackages(long, @Nullable android.app.backup.RestoreObserver, @NonNull java.util.Set<java.lang.String>);
1960  }
1961
1962  public class RestoreSet implements android.os.Parcelable {
1963    ctor public RestoreSet();
1964    ctor public RestoreSet(@Nullable String, @Nullable String, long);
1965    ctor public RestoreSet(@Nullable String, @Nullable String, long, int);
1966    method public int describeContents();
1967    method public void writeToParcel(android.os.Parcel, int);
1968    field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.RestoreSet> CREATOR;
1969    field public final int backupTransportFlags;
1970    field @Nullable public String device;
1971    field @Nullable public String name;
1972    field public long token;
1973  }
1974
1975  public abstract class SelectBackupTransportCallback {
1976    ctor public SelectBackupTransportCallback();
1977    method public void onFailure(int);
1978    method public void onSuccess(String);
1979  }
1980
1981}
1982
1983package android.app.cloudsearch {
1984
1985  public class CloudSearchManager {
1986    method @RequiresPermission(android.Manifest.permission.MANAGE_CLOUDSEARCH) public void search(@NonNull android.app.cloudsearch.SearchRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.cloudsearch.CloudSearchManager.CallBack);
1987  }
1988
1989  public static interface CloudSearchManager.CallBack {
1990    method public void onSearchFailed(@NonNull android.app.cloudsearch.SearchRequest, @NonNull android.app.cloudsearch.SearchResponse);
1991    method public void onSearchSucceeded(@NonNull android.app.cloudsearch.SearchRequest, @NonNull android.app.cloudsearch.SearchResponse);
1992  }
1993
1994  public final class SearchRequest implements android.os.Parcelable {
1995    method public int describeContents();
1996    method @NonNull public String getCallerPackageName();
1997    method public float getMaxLatencyMillis();
1998    method @NonNull public String getQuery();
1999    method @NonNull public String getRequestId();
2000    method public int getResultNumber();
2001    method public int getResultOffset();
2002    method @NonNull public android.os.Bundle getSearchConstraints();
2003    method public void writeToParcel(@NonNull android.os.Parcel, int);
2004    field public static final String CONSTRAINT_IS_PRESUBMIT_SUGGESTION = "android.app.cloudsearch.IS_PRESUBMIT_SUGGESTION";
2005    field public static final String CONSTRAINT_SEARCH_PROVIDER_FILTER = "android.app.cloudsearch.SEARCH_PROVIDER_FILTER";
2006    field @NonNull public static final android.os.Parcelable.Creator<android.app.cloudsearch.SearchRequest> CREATOR;
2007  }
2008
2009  public static final class SearchRequest.Builder {
2010    ctor public SearchRequest.Builder(@NonNull String);
2011    method @NonNull public android.app.cloudsearch.SearchRequest build();
2012    method @NonNull public android.app.cloudsearch.SearchRequest.Builder setMaxLatencyMillis(float);
2013    method @NonNull public android.app.cloudsearch.SearchRequest.Builder setQuery(@NonNull String);
2014    method @NonNull public android.app.cloudsearch.SearchRequest.Builder setResultNumber(int);
2015    method @NonNull public android.app.cloudsearch.SearchRequest.Builder setResultOffset(int);
2016    method @NonNull public android.app.cloudsearch.SearchRequest.Builder setSearchConstraints(@Nullable android.os.Bundle);
2017  }
2018
2019  public final class SearchResponse implements android.os.Parcelable {
2020    method public int describeContents();
2021    method @NonNull public java.util.List<android.app.cloudsearch.SearchResult> getSearchResults();
2022    method @NonNull public String getSource();
2023    method public int getStatusCode();
2024    method public void writeToParcel(@NonNull android.os.Parcel, int);
2025    field @NonNull public static final android.os.Parcelable.Creator<android.app.cloudsearch.SearchResponse> CREATOR;
2026    field public static final int SEARCH_STATUS_NO_INTERNET = 2; // 0x2
2027    field public static final int SEARCH_STATUS_OK = 0; // 0x0
2028    field public static final int SEARCH_STATUS_TIME_OUT = 1; // 0x1
2029    field public static final int SEARCH_STATUS_UNKNOWN = -1; // 0xffffffff
2030  }
2031
2032  public static final class SearchResponse.Builder {
2033    ctor public SearchResponse.Builder(int);
2034    method @NonNull public android.app.cloudsearch.SearchResponse build();
2035    method @NonNull public android.app.cloudsearch.SearchResponse.Builder setSearchResults(@NonNull java.util.List<android.app.cloudsearch.SearchResult>);
2036    method @NonNull public android.app.cloudsearch.SearchResponse.Builder setStatusCode(int);
2037  }
2038
2039  public final class SearchResult implements android.os.Parcelable {
2040    method public int describeContents();
2041    method @NonNull public android.os.Bundle getExtraInfos();
2042    method public float getScore();
2043    method @NonNull public String getSnippet();
2044    method @NonNull public String getTitle();
2045    method public void writeToParcel(@NonNull android.os.Parcel, int);
2046    field @NonNull public static final android.os.Parcelable.Creator<android.app.cloudsearch.SearchResult> CREATOR;
2047    field public static final String EXTRAINFO_ACTION_APP_CARD = "android.app.cloudsearch.ACTION_APP_CARD";
2048    field public static final String EXTRAINFO_ACTION_BUTTON_IMAGE_PREREGISTERING = "android.app.cloudsearch.ACTION_BUTTON_IMAGE";
2049    field public static final String EXTRAINFO_ACTION_BUTTON_TEXT_PREREGISTERING = "android.app.cloudsearch.ACTION_BUTTON_TEXT";
2050    field public static final String EXTRAINFO_ACTION_INSTALL_BUTTON = "android.app.cloudsearch.ACTION_INSTALL_BUTTON";
2051    field public static final String EXTRAINFO_APP_BADGES = "android.app.cloudsearch.APP_BADGES";
2052    field public static final String EXTRAINFO_APP_CONTAINS_ADS_DISCLAIMER = "android.app.cloudsearch.APP_CONTAINS_ADS_DISCLAIMER";
2053    field public static final String EXTRAINFO_APP_CONTAINS_IAP_DISCLAIMER = "android.app.cloudsearch.APP_CONTAINS_IAP_DISCLAIMER";
2054    field public static final String EXTRAINFO_APP_DEVELOPER_NAME = "android.app.cloudsearch.APP_DEVELOPER_NAME";
2055    field public static final String EXTRAINFO_APP_DOMAIN_URL = "android.app.cloudsearch.APP_DOMAIN_URL";
2056    field public static final String EXTRAINFO_APP_IARC = "android.app.cloudsearch.APP_IARC";
2057    field public static final String EXTRAINFO_APP_ICON = "android.app.cloudsearch.APP_ICON";
2058    field public static final String EXTRAINFO_APP_INSTALL_COUNT = "android.app.cloudsearch.APP_INSTALL_COUNT";
2059    field public static final String EXTRAINFO_APP_PACKAGE_NAME = "android.app.cloudsearch.APP_PACKAGE_NAME";
2060    field public static final String EXTRAINFO_APP_REVIEW_COUNT = "android.app.cloudsearch.APP_REVIEW_COUNT";
2061    field public static final String EXTRAINFO_APP_SIZE_BYTES = "android.app.cloudsearch.APP_SIZE_BYTES";
2062    field public static final String EXTRAINFO_APP_STAR_RATING = "android.app.cloudsearch.APP_STAR_RATING";
2063    field public static final String EXTRAINFO_LONG_DESCRIPTION = "android.app.cloudsearch.LONG_DESCRIPTION";
2064    field public static final String EXTRAINFO_SCREENSHOTS = "android.app.cloudsearch.SCREENSHOTS";
2065    field public static final String EXTRAINFO_SHORT_DESCRIPTION = "android.app.cloudsearch.SHORT_DESCRIPTION";
2066    field public static final String EXTRAINFO_WEB_ICON = "android.app.cloudsearch.WEB_ICON";
2067    field public static final String EXTRAINFO_WEB_URL = "android.app.cloudsearch.WEB_URL";
2068  }
2069
2070  public static final class SearchResult.Builder {
2071    ctor public SearchResult.Builder(@NonNull String, @NonNull android.os.Bundle);
2072    method @NonNull public android.app.cloudsearch.SearchResult build();
2073    method @NonNull public android.app.cloudsearch.SearchResult.Builder setExtraInfos(@NonNull android.os.Bundle);
2074    method @NonNull public android.app.cloudsearch.SearchResult.Builder setScore(float);
2075    method @NonNull public android.app.cloudsearch.SearchResult.Builder setSnippet(@NonNull String);
2076    method @NonNull public android.app.cloudsearch.SearchResult.Builder setTitle(@NonNull String);
2077  }
2078
2079}
2080
2081package android.app.compat {
2082
2083  public final class CompatChanges {
2084    method public static boolean isChangeEnabled(long);
2085    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);
2086    method @RequiresPermission(allOf={"android.permission.READ_COMPAT_CHANGE_CONFIG", "android.permission.LOG_COMPAT_CHANGE"}) public static boolean isChangeEnabled(long, int);
2087    method @RequiresPermission(android.Manifest.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD) public static void putAllPackageOverrides(@NonNull java.util.Map<java.lang.String,java.util.Map<java.lang.Long,android.app.compat.PackageOverride>>);
2088    method @RequiresPermission(android.Manifest.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD) public static void putPackageOverrides(@NonNull String, @NonNull java.util.Map<java.lang.Long,android.app.compat.PackageOverride>);
2089    method @RequiresPermission(android.Manifest.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD) public static void removeAllPackageOverrides(@NonNull java.util.Map<java.lang.String,java.util.Set<java.lang.Long>>);
2090    method @RequiresPermission(android.Manifest.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD) public static void removePackageOverrides(@NonNull String, @NonNull java.util.Set<java.lang.Long>);
2091  }
2092
2093  public final class PackageOverride {
2094    method public long getMaxVersionCode();
2095    method public long getMinVersionCode();
2096    method public boolean isEnabled();
2097  }
2098
2099  public static final class PackageOverride.Builder {
2100    ctor public PackageOverride.Builder();
2101    method @NonNull public android.app.compat.PackageOverride build();
2102    method @NonNull public android.app.compat.PackageOverride.Builder setEnabled(boolean);
2103    method @NonNull public android.app.compat.PackageOverride.Builder setMaxVersionCode(long);
2104    method @NonNull public android.app.compat.PackageOverride.Builder setMinVersionCode(long);
2105  }
2106
2107}
2108
2109package android.app.contentsuggestions {
2110
2111  public final class ClassificationsRequest implements android.os.Parcelable {
2112    method public int describeContents();
2113    method @NonNull public android.os.Bundle getExtras();
2114    method @NonNull public java.util.List<android.app.contentsuggestions.ContentSelection> getSelections();
2115    method public void writeToParcel(android.os.Parcel, int);
2116    field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.ClassificationsRequest> CREATOR;
2117  }
2118
2119  public static final class ClassificationsRequest.Builder {
2120    ctor public ClassificationsRequest.Builder(@NonNull java.util.List<android.app.contentsuggestions.ContentSelection>);
2121    method @NonNull public android.app.contentsuggestions.ClassificationsRequest build();
2122    method @NonNull public android.app.contentsuggestions.ClassificationsRequest.Builder setExtras(@NonNull android.os.Bundle);
2123  }
2124
2125  public final class ContentClassification implements android.os.Parcelable {
2126    ctor public ContentClassification(@NonNull String, @NonNull android.os.Bundle);
2127    method public int describeContents();
2128    method @NonNull public android.os.Bundle getExtras();
2129    method @NonNull public String getId();
2130    method public void writeToParcel(android.os.Parcel, int);
2131    field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.ContentClassification> CREATOR;
2132  }
2133
2134  public final class ContentSelection implements android.os.Parcelable {
2135    ctor public ContentSelection(@NonNull String, @NonNull android.os.Bundle);
2136    method public int describeContents();
2137    method @NonNull public android.os.Bundle getExtras();
2138    method @NonNull public String getId();
2139    method public void writeToParcel(android.os.Parcel, int);
2140    field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.ContentSelection> CREATOR;
2141  }
2142
2143  public final class ContentSuggestionsManager {
2144    method public void classifyContentSelections(@NonNull android.app.contentsuggestions.ClassificationsRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.ClassificationsCallback);
2145    method public boolean isEnabled();
2146    method public void notifyInteraction(@NonNull String, @NonNull android.os.Bundle);
2147    method public void provideContextImage(@NonNull android.graphics.Bitmap, @NonNull android.os.Bundle);
2148    method public void provideContextImage(int, @NonNull android.os.Bundle);
2149    method public void suggestContentSelections(@NonNull android.app.contentsuggestions.SelectionsRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.SelectionsCallback);
2150  }
2151
2152  public static interface ContentSuggestionsManager.ClassificationsCallback {
2153    method public void onContentClassificationsAvailable(int, @NonNull java.util.List<android.app.contentsuggestions.ContentClassification>);
2154  }
2155
2156  public static interface ContentSuggestionsManager.SelectionsCallback {
2157    method public void onContentSelectionsAvailable(int, @NonNull java.util.List<android.app.contentsuggestions.ContentSelection>);
2158  }
2159
2160  public final class SelectionsRequest implements android.os.Parcelable {
2161    method public int describeContents();
2162    method @NonNull public android.os.Bundle getExtras();
2163    method @Nullable public android.graphics.Point getInterestPoint();
2164    method public int getTaskId();
2165    method public void writeToParcel(android.os.Parcel, int);
2166    field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.SelectionsRequest> CREATOR;
2167  }
2168
2169  public static final class SelectionsRequest.Builder {
2170    ctor public SelectionsRequest.Builder(int);
2171    method @NonNull public android.app.contentsuggestions.SelectionsRequest build();
2172    method @NonNull public android.app.contentsuggestions.SelectionsRequest.Builder setExtras(@NonNull android.os.Bundle);
2173    method @NonNull public android.app.contentsuggestions.SelectionsRequest.Builder setInterestPoint(@NonNull android.graphics.Point);
2174  }
2175
2176}
2177
2178package android.app.contextualsearch {
2179
2180  @FlaggedApi("android.app.contextualsearch.flags.enable_service") public final class CallbackToken implements android.os.Parcelable {
2181    ctor public CallbackToken();
2182    method public int describeContents();
2183    method public void getContextualSearchState(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<android.app.contextualsearch.ContextualSearchState,java.lang.Throwable>);
2184    method public void writeToParcel(@NonNull android.os.Parcel, int);
2185    field @NonNull public static final android.os.Parcelable.Creator<android.app.contextualsearch.CallbackToken> CREATOR;
2186  }
2187
2188  @FlaggedApi("android.app.contextualsearch.flags.enable_service") public final class ContextualSearchManager {
2189    method @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXTUAL_SEARCH) public void startContextualSearch(int);
2190    field public static final String ACTION_LAUNCH_CONTEXTUAL_SEARCH = "android.app.contextualsearch.action.LAUNCH_CONTEXTUAL_SEARCH";
2191    field public static final int ENTRYPOINT_LONG_PRESS_HOME = 2; // 0x2
2192    field public static final int ENTRYPOINT_LONG_PRESS_META = 10; // 0xa
2193    field public static final int ENTRYPOINT_LONG_PRESS_NAV_HANDLE = 1; // 0x1
2194    field public static final int ENTRYPOINT_LONG_PRESS_OVERVIEW = 3; // 0x3
2195    field public static final int ENTRYPOINT_OVERVIEW_ACTION = 4; // 0x4
2196    field public static final int ENTRYPOINT_OVERVIEW_MENU = 5; // 0x5
2197    field public static final int ENTRYPOINT_SYSTEM_ACTION = 9; // 0x9
2198    field public static final String EXTRA_ENTRYPOINT = "android.app.contextualsearch.extra.ENTRYPOINT";
2199    field public static final String EXTRA_FLAG_SECURE_FOUND = "android.app.contextualsearch.extra.FLAG_SECURE_FOUND";
2200    field public static final String EXTRA_IS_MANAGED_PROFILE_VISIBLE = "android.app.contextualsearch.extra.IS_MANAGED_PROFILE_VISIBLE";
2201    field public static final String EXTRA_SCREENSHOT = "android.app.contextualsearch.extra.SCREENSHOT";
2202    field public static final String EXTRA_TOKEN = "android.app.contextualsearch.extra.TOKEN";
2203    field public static final String EXTRA_VISIBLE_PACKAGE_NAMES = "android.app.contextualsearch.extra.VISIBLE_PACKAGE_NAMES";
2204  }
2205
2206  @FlaggedApi("android.app.contextualsearch.flags.enable_service") public final class ContextualSearchState implements android.os.Parcelable {
2207    ctor public ContextualSearchState(@Nullable android.app.assist.AssistStructure, @Nullable android.app.assist.AssistContent, @NonNull android.os.Bundle);
2208    method public int describeContents();
2209    method @Nullable public android.app.assist.AssistContent getContent();
2210    method @NonNull public android.os.Bundle getExtras();
2211    method @Nullable public android.app.assist.AssistStructure getStructure();
2212    method public void writeToParcel(@NonNull android.os.Parcel, int);
2213    field @NonNull public static final android.os.Parcelable.Creator<android.app.contextualsearch.ContextualSearchState> CREATOR;
2214  }
2215
2216}
2217
2218package android.app.job {
2219
2220  public abstract class JobScheduler {
2221    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public abstract int scheduleAsPackage(@NonNull android.app.job.JobInfo, @NonNull String, int, String);
2222  }
2223
2224  public class JobSchedulerFrameworkInitializer {
2225    method public static void registerServiceWrappers();
2226  }
2227
2228}
2229
2230package android.app.ondeviceintelligence {
2231
2232  @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public interface DownloadCallback {
2233    method public void onDownloadCompleted(@NonNull android.os.PersistableBundle);
2234    method public void onDownloadFailed(int, @Nullable String, @NonNull android.os.PersistableBundle);
2235    method public default void onDownloadProgress(long);
2236    method public default void onDownloadStarted(long);
2237    field public static final int DOWNLOAD_FAILURE_STATUS_DOWNLOADING = 3; // 0x3
2238    field public static final int DOWNLOAD_FAILURE_STATUS_NETWORK_FAILURE = 2; // 0x2
2239    field public static final int DOWNLOAD_FAILURE_STATUS_NOT_ENOUGH_DISK_SPACE = 1; // 0x1
2240    field public static final int DOWNLOAD_FAILURE_STATUS_UNAVAILABLE = 4; // 0x4
2241    field public static final int DOWNLOAD_FAILURE_STATUS_UNKNOWN = 0; // 0x0
2242  }
2243
2244  @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public final class Feature implements android.os.Parcelable {
2245    method public int describeContents();
2246    method @NonNull public android.os.PersistableBundle getFeatureParams();
2247    method public int getId();
2248    method @Nullable public String getModelName();
2249    method @Nullable public String getName();
2250    method public int getType();
2251    method public int getVariant();
2252    method public void writeToParcel(@NonNull android.os.Parcel, int);
2253    field @NonNull public static final android.os.Parcelable.Creator<android.app.ondeviceintelligence.Feature> CREATOR;
2254  }
2255
2256  public static final class Feature.Builder {
2257    ctor public Feature.Builder(int);
2258    method @NonNull public android.app.ondeviceintelligence.Feature build();
2259    method @NonNull public android.app.ondeviceintelligence.Feature.Builder setFeatureParams(@NonNull android.os.PersistableBundle);
2260    method @NonNull public android.app.ondeviceintelligence.Feature.Builder setModelName(@NonNull String);
2261    method @NonNull public android.app.ondeviceintelligence.Feature.Builder setName(@NonNull String);
2262    method @NonNull public android.app.ondeviceintelligence.Feature.Builder setType(int);
2263    method @NonNull public android.app.ondeviceintelligence.Feature.Builder setVariant(int);
2264  }
2265
2266  @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public final class FeatureDetails implements android.os.Parcelable {
2267    ctor public FeatureDetails(int, @NonNull android.os.PersistableBundle);
2268    ctor public FeatureDetails(int);
2269    method public int describeContents();
2270    method @NonNull public android.os.PersistableBundle getFeatureDetailParams();
2271    method public int getFeatureStatus();
2272    method public void writeToParcel(@NonNull android.os.Parcel, int);
2273    field @NonNull public static final android.os.Parcelable.Creator<android.app.ondeviceintelligence.FeatureDetails> CREATOR;
2274    field public static final int FEATURE_STATUS_AVAILABLE = 3; // 0x3
2275    field public static final int FEATURE_STATUS_DOWNLOADABLE = 1; // 0x1
2276    field public static final int FEATURE_STATUS_DOWNLOADING = 2; // 0x2
2277    field public static final int FEATURE_STATUS_SERVICE_UNAVAILABLE = 4; // 0x4
2278    field public static final int FEATURE_STATUS_UNAVAILABLE = 0; // 0x0
2279  }
2280
2281  @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public class OnDeviceIntelligenceException extends java.lang.Exception {
2282    ctor public OnDeviceIntelligenceException(int, @NonNull String, @NonNull android.os.PersistableBundle);
2283    ctor public OnDeviceIntelligenceException(int, @NonNull android.os.PersistableBundle);
2284    ctor public OnDeviceIntelligenceException(int, @NonNull String);
2285    ctor public OnDeviceIntelligenceException(int);
2286    method public int getErrorCode();
2287    method @NonNull public android.os.PersistableBundle getErrorParams();
2288    field public static final int ON_DEVICE_INTELLIGENCE_SERVICE_UNAVAILABLE = 100; // 0x64
2289    field public static final int PROCESSING_ERROR_BAD_DATA = 2; // 0x2
2290    field public static final int PROCESSING_ERROR_BAD_REQUEST = 3; // 0x3
2291    field public static final int PROCESSING_ERROR_BUSY = 9; // 0x9
2292    field public static final int PROCESSING_ERROR_CANCELLED = 7; // 0x7
2293    field public static final int PROCESSING_ERROR_COMPUTE_ERROR = 5; // 0x5
2294    field public static final int PROCESSING_ERROR_INTERNAL = 14; // 0xe
2295    field public static final int PROCESSING_ERROR_IPC_ERROR = 6; // 0x6
2296    field public static final int PROCESSING_ERROR_NOT_AVAILABLE = 8; // 0x8
2297    field public static final int PROCESSING_ERROR_REQUEST_NOT_SAFE = 4; // 0x4
2298    field public static final int PROCESSING_ERROR_REQUEST_TOO_LARGE = 12; // 0xc
2299    field public static final int PROCESSING_ERROR_RESPONSE_NOT_SAFE = 11; // 0xb
2300    field public static final int PROCESSING_ERROR_SAFETY_ERROR = 10; // 0xa
2301    field public static final int PROCESSING_ERROR_SERVICE_UNAVAILABLE = 15; // 0xf
2302    field public static final int PROCESSING_ERROR_SUSPENDED = 13; // 0xd
2303    field public static final int PROCESSING_ERROR_UNKNOWN = 1; // 0x1
2304    field public static final int PROCESSING_UPDATE_STATUS_CONNECTION_FAILED = 200; // 0xc8
2305  }
2306
2307  @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public final class OnDeviceIntelligenceManager {
2308    method @RequiresPermission(android.Manifest.permission.USE_ON_DEVICE_INTELLIGENCE) public void getFeature(int, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<android.app.ondeviceintelligence.Feature,android.app.ondeviceintelligence.OnDeviceIntelligenceException>);
2309    method @RequiresPermission(android.Manifest.permission.USE_ON_DEVICE_INTELLIGENCE) public void getFeatureDetails(@NonNull android.app.ondeviceintelligence.Feature, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<android.app.ondeviceintelligence.FeatureDetails,android.app.ondeviceintelligence.OnDeviceIntelligenceException>);
2310    method @Nullable @RequiresPermission(android.Manifest.permission.USE_ON_DEVICE_INTELLIGENCE) public String getRemoteServicePackageName();
2311    method @RequiresPermission(android.Manifest.permission.USE_ON_DEVICE_INTELLIGENCE) public void getVersion(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.LongConsumer);
2312    method @RequiresPermission(android.Manifest.permission.USE_ON_DEVICE_INTELLIGENCE) public void listFeatures(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.util.List<android.app.ondeviceintelligence.Feature>,android.app.ondeviceintelligence.OnDeviceIntelligenceException>);
2313    method @RequiresPermission(android.Manifest.permission.USE_ON_DEVICE_INTELLIGENCE) public void processRequest(@NonNull android.app.ondeviceintelligence.Feature, @NonNull android.os.Bundle, int, @Nullable android.os.CancellationSignal, @Nullable android.app.ondeviceintelligence.ProcessingSignal, @NonNull java.util.concurrent.Executor, @NonNull android.app.ondeviceintelligence.ProcessingCallback);
2314    method @RequiresPermission(android.Manifest.permission.USE_ON_DEVICE_INTELLIGENCE) public void processRequestStreaming(@NonNull android.app.ondeviceintelligence.Feature, @NonNull android.os.Bundle, int, @Nullable android.os.CancellationSignal, @Nullable android.app.ondeviceintelligence.ProcessingSignal, @NonNull java.util.concurrent.Executor, @NonNull android.app.ondeviceintelligence.StreamingProcessingCallback);
2315    method @RequiresPermission(android.Manifest.permission.USE_ON_DEVICE_INTELLIGENCE) public void requestFeatureDownload(@NonNull android.app.ondeviceintelligence.Feature, @Nullable android.os.CancellationSignal, @NonNull java.util.concurrent.Executor, @NonNull android.app.ondeviceintelligence.DownloadCallback);
2316    method @RequiresPermission(android.Manifest.permission.USE_ON_DEVICE_INTELLIGENCE) public void requestTokenInfo(@NonNull android.app.ondeviceintelligence.Feature, @NonNull android.os.Bundle, @Nullable android.os.CancellationSignal, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<android.app.ondeviceintelligence.TokenInfo,android.app.ondeviceintelligence.OnDeviceIntelligenceException>);
2317    field public static final int REQUEST_TYPE_EMBEDDINGS = 2; // 0x2
2318    field public static final int REQUEST_TYPE_INFERENCE = 0; // 0x0
2319    field public static final int REQUEST_TYPE_PREPARE = 1; // 0x1
2320  }
2321
2322  @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public interface ProcessingCallback {
2323    method public default void onDataAugmentRequest(@NonNull android.os.Bundle, @NonNull java.util.function.Consumer<android.os.Bundle>);
2324    method public void onError(@NonNull android.app.ondeviceintelligence.OnDeviceIntelligenceException);
2325    method public void onResult(@NonNull android.os.Bundle);
2326  }
2327
2328  @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public final class ProcessingSignal {
2329    ctor public ProcessingSignal();
2330    method public void sendSignal(@NonNull android.os.PersistableBundle);
2331    method public void setOnProcessingSignalCallback(@NonNull java.util.concurrent.Executor, @Nullable android.app.ondeviceintelligence.ProcessingSignal.OnProcessingSignalCallback);
2332  }
2333
2334  public static interface ProcessingSignal.OnProcessingSignalCallback {
2335    method public void onSignalReceived(@NonNull android.os.PersistableBundle);
2336  }
2337
2338  @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public interface StreamingProcessingCallback extends android.app.ondeviceintelligence.ProcessingCallback {
2339    method public void onPartialResult(@NonNull android.os.Bundle);
2340  }
2341
2342  @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public final class TokenInfo implements android.os.Parcelable {
2343    ctor public TokenInfo(long, @NonNull android.os.PersistableBundle);
2344    ctor public TokenInfo(long);
2345    method public int describeContents();
2346    method public long getCount();
2347    method @NonNull public android.os.PersistableBundle getInfoParams();
2348    method public void writeToParcel(@NonNull android.os.Parcel, int);
2349    field @NonNull public static final android.os.Parcelable.Creator<android.app.ondeviceintelligence.TokenInfo> CREATOR;
2350  }
2351
2352}
2353
2354package android.app.people {
2355
2356  public final class PeopleManager {
2357    method @RequiresPermission(android.Manifest.permission.READ_PEOPLE_DATA) public boolean isConversation(@NonNull String, @NonNull String);
2358  }
2359
2360}
2361
2362package android.app.prediction {
2363
2364  public final class AppPredictionContext implements android.os.Parcelable {
2365    method public int describeContents();
2366    method @Nullable public android.os.Bundle getExtras();
2367    method @NonNull public String getPackageName();
2368    method @IntRange(from=0) public int getPredictedTargetCount();
2369    method @NonNull public String getUiSurface();
2370    method public void writeToParcel(@NonNull android.os.Parcel, int);
2371    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionContext> CREATOR;
2372  }
2373
2374  public static final class AppPredictionContext.Builder {
2375    ctor public AppPredictionContext.Builder(@NonNull android.content.Context);
2376    method @NonNull public android.app.prediction.AppPredictionContext build();
2377    method @NonNull public android.app.prediction.AppPredictionContext.Builder setExtras(@Nullable android.os.Bundle);
2378    method @NonNull public android.app.prediction.AppPredictionContext.Builder setPredictedTargetCount(@IntRange(from=0) int);
2379    method @NonNull public android.app.prediction.AppPredictionContext.Builder setUiSurface(@NonNull String);
2380  }
2381
2382  public final class AppPredictionManager {
2383    method @NonNull public android.app.prediction.AppPredictor createAppPredictionSession(@NonNull android.app.prediction.AppPredictionContext);
2384  }
2385
2386  public final class AppPredictionSessionId implements android.os.Parcelable {
2387    method public int describeContents();
2388    method public void writeToParcel(android.os.Parcel, int);
2389    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionSessionId> CREATOR;
2390  }
2391
2392  public final class AppPredictor {
2393    method public void destroy();
2394    method public void notifyAppTargetEvent(@NonNull android.app.prediction.AppTargetEvent);
2395    method public void notifyLaunchLocationShown(@NonNull String, @NonNull java.util.List<android.app.prediction.AppTargetId>);
2396    method public void registerPredictionUpdates(@NonNull java.util.concurrent.Executor, @NonNull android.app.prediction.AppPredictor.Callback);
2397    method public void requestPredictionUpdate();
2398    method @FlaggedApi("android.service.appprediction.flags.service_features_api") public void requestServiceFeatures(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.os.Bundle>);
2399    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>>);
2400    method public void unregisterPredictionUpdates(@NonNull android.app.prediction.AppPredictor.Callback);
2401  }
2402
2403  public static interface AppPredictor.Callback {
2404    method public void onTargetsAvailable(@NonNull java.util.List<android.app.prediction.AppTarget>);
2405  }
2406
2407  public final class AppTarget implements android.os.Parcelable {
2408    method public int describeContents();
2409    method @Nullable public String getClassName();
2410    method @NonNull public android.app.prediction.AppTargetId getId();
2411    method @NonNull public String getPackageName();
2412    method @IntRange(from=0) public int getRank();
2413    method @Nullable public android.content.pm.ShortcutInfo getShortcutInfo();
2414    method @NonNull public android.os.UserHandle getUser();
2415    method public void writeToParcel(android.os.Parcel, int);
2416    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTarget> CREATOR;
2417  }
2418
2419  public static final class AppTarget.Builder {
2420    ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull String, @NonNull android.os.UserHandle);
2421    ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull android.content.pm.ShortcutInfo);
2422    method @NonNull public android.app.prediction.AppTarget build();
2423    method @NonNull public android.app.prediction.AppTarget.Builder setClassName(@NonNull String);
2424    method @NonNull public android.app.prediction.AppTarget.Builder setRank(@IntRange(from=0) int);
2425  }
2426
2427  public final class AppTargetEvent implements android.os.Parcelable {
2428    method public int describeContents();
2429    method public int getAction();
2430    method @Nullable public String getLaunchLocation();
2431    method @Nullable public android.app.prediction.AppTarget getTarget();
2432    method public void writeToParcel(android.os.Parcel, int);
2433    field public static final int ACTION_DISMISS = 2; // 0x2
2434    field public static final int ACTION_LAUNCH = 1; // 0x1
2435    field public static final int ACTION_PIN = 3; // 0x3
2436    field public static final int ACTION_UNDISMISS = 5; // 0x5
2437    field public static final int ACTION_UNPIN = 4; // 0x4
2438    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetEvent> CREATOR;
2439  }
2440
2441  public static final class AppTargetEvent.Builder {
2442    ctor public AppTargetEvent.Builder(@Nullable android.app.prediction.AppTarget, int);
2443    method @NonNull public android.app.prediction.AppTargetEvent build();
2444    method @NonNull public android.app.prediction.AppTargetEvent.Builder setLaunchLocation(@Nullable String);
2445  }
2446
2447  public final class AppTargetId implements android.os.Parcelable {
2448    ctor public AppTargetId(@NonNull String);
2449    method public int describeContents();
2450    method public void writeToParcel(android.os.Parcel, int);
2451    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetId> CREATOR;
2452  }
2453
2454}
2455
2456package android.app.search {
2457
2458  public final class Query implements android.os.Parcelable {
2459    ctor public Query(@NonNull String, long, @NonNull android.os.Bundle);
2460    ctor public Query(@NonNull String, long);
2461    method public int describeContents();
2462    method @NonNull public android.os.Bundle getExtras();
2463    method @NonNull public String getInput();
2464    method public long getTimestampMillis();
2465    method public void writeToParcel(@NonNull android.os.Parcel, int);
2466    field @NonNull public static final android.os.Parcelable.Creator<android.app.search.Query> CREATOR;
2467    field public static final String EXTRA_IME_HEIGHT = "android.app.search.extra.IME_HEIGHT";
2468  }
2469
2470  public final class SearchAction implements android.os.Parcelable {
2471    method public int describeContents();
2472    method @Nullable public CharSequence getContentDescription();
2473    method @Nullable public android.os.Bundle getExtras();
2474    method @Nullable public android.graphics.drawable.Icon getIcon();
2475    method @NonNull public String getId();
2476    method @Nullable public android.content.Intent getIntent();
2477    method @Nullable public android.app.PendingIntent getPendingIntent();
2478    method @Nullable public CharSequence getSubtitle();
2479    method @NonNull public CharSequence getTitle();
2480    method @Nullable public android.os.UserHandle getUserHandle();
2481    method public void writeToParcel(@NonNull android.os.Parcel, int);
2482    field @NonNull public static final android.os.Parcelable.Creator<android.app.search.SearchAction> CREATOR;
2483  }
2484
2485  public static final class SearchAction.Builder {
2486    ctor public SearchAction.Builder(@NonNull String, @NonNull String);
2487    method @NonNull public android.app.search.SearchAction build();
2488    method @NonNull public android.app.search.SearchAction.Builder setContentDescription(@Nullable CharSequence);
2489    method @NonNull public android.app.search.SearchAction.Builder setExtras(@Nullable android.os.Bundle);
2490    method @NonNull public android.app.search.SearchAction.Builder setIcon(@Nullable android.graphics.drawable.Icon);
2491    method @NonNull public android.app.search.SearchAction.Builder setIntent(@Nullable android.content.Intent);
2492    method @NonNull public android.app.search.SearchAction.Builder setPendingIntent(@Nullable android.app.PendingIntent);
2493    method @NonNull public android.app.search.SearchAction.Builder setSubtitle(@Nullable CharSequence);
2494    method @NonNull public android.app.search.SearchAction.Builder setUserHandle(@Nullable android.os.UserHandle);
2495  }
2496
2497  public final class SearchContext implements android.os.Parcelable {
2498    ctor public SearchContext(int, int);
2499    ctor public SearchContext(int, int, @NonNull android.os.Bundle);
2500    method public int describeContents();
2501    method @NonNull public android.os.Bundle getExtras();
2502    method @Nullable public String getPackageName();
2503    method @NonNull public int getResultTypes();
2504    method @NonNull public int getTimeoutMillis();
2505    method public void writeToParcel(@NonNull android.os.Parcel, int);
2506    field @NonNull public static final android.os.Parcelable.Creator<android.app.search.SearchContext> CREATOR;
2507  }
2508
2509  public final class SearchSession implements java.lang.AutoCloseable {
2510    method public void close();
2511    method protected void finalize();
2512    method public void notifyEvent(@NonNull android.app.search.Query, @NonNull android.app.search.SearchTargetEvent);
2513    method @Nullable public void query(@NonNull android.app.search.Query, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.util.List<android.app.search.SearchTarget>>);
2514    method public void registerEmptyQueryResultUpdateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.app.search.SearchSession.Callback);
2515    method public void unregisterEmptyQueryResultUpdateCallback(@NonNull android.app.search.SearchSession.Callback);
2516  }
2517
2518  public static interface SearchSession.Callback {
2519    method public void onTargetsAvailable(@NonNull java.util.List<android.app.search.SearchTarget>);
2520  }
2521
2522  public final class SearchSessionId implements android.os.Parcelable {
2523    method public int describeContents();
2524    method public void writeToParcel(@NonNull android.os.Parcel, int);
2525    field @NonNull public static final android.os.Parcelable.Creator<android.app.search.SearchSessionId> CREATOR;
2526  }
2527
2528  public final class SearchTarget implements android.os.Parcelable {
2529    method public int describeContents();
2530    method @Nullable public android.appwidget.AppWidgetProviderInfo getAppWidgetProviderInfo();
2531    method @NonNull public android.os.Bundle getExtras();
2532    method @NonNull public String getId();
2533    method @NonNull public String getLayoutType();
2534    method @NonNull public String getPackageName();
2535    method @NonNull public String getParentId();
2536    method public int getResultType();
2537    method public float getScore();
2538    method @Nullable public android.app.search.SearchAction getSearchAction();
2539    method @Nullable public android.content.pm.ShortcutInfo getShortcutInfo();
2540    method @Nullable public android.net.Uri getSliceUri();
2541    method @NonNull public android.os.UserHandle getUserHandle();
2542    method public boolean isHidden();
2543    method public void writeToParcel(@NonNull android.os.Parcel, int);
2544    field @NonNull public static final android.os.Parcelable.Creator<android.app.search.SearchTarget> CREATOR;
2545    field public static final String LAYOUT_TYPE_ICON = "icon";
2546    field public static final String LAYOUT_TYPE_ICON_ROW = "icon_row";
2547    field public static final String LAYOUT_TYPE_SHORT_ICON_ROW = "short_icon_row";
2548    field public static final int RESULT_TYPE_APPLICATION = 1; // 0x1
2549    field public static final int RESULT_TYPE_SHORTCUT = 2; // 0x2
2550    field public static final int RESULT_TYPE_SLICE = 4; // 0x4
2551    field public static final int RESULT_TYPE_WIDGETS = 8; // 0x8
2552  }
2553
2554  public static final class SearchTarget.Builder {
2555    ctor public SearchTarget.Builder(int, @NonNull String, @NonNull String);
2556    method @NonNull public android.app.search.SearchTarget build();
2557    method @NonNull public android.app.search.SearchTarget.Builder setAppWidgetProviderInfo(@NonNull android.appwidget.AppWidgetProviderInfo);
2558    method @NonNull public android.app.search.SearchTarget.Builder setExtras(@NonNull android.os.Bundle);
2559    method @NonNull public android.app.search.SearchTarget.Builder setHidden(boolean);
2560    method @NonNull public android.app.search.SearchTarget.Builder setPackageName(@NonNull String);
2561    method @NonNull public android.app.search.SearchTarget.Builder setParentId(@NonNull String);
2562    method @NonNull public android.app.search.SearchTarget.Builder setScore(@FloatRange(from=0.0f, to=1.0f) float);
2563    method @NonNull public android.app.search.SearchTarget.Builder setSearchAction(@Nullable android.app.search.SearchAction);
2564    method @NonNull public android.app.search.SearchTarget.Builder setShortcutInfo(@NonNull android.content.pm.ShortcutInfo);
2565    method @NonNull public android.app.search.SearchTarget.Builder setSliceUri(@NonNull android.net.Uri);
2566    method @NonNull public android.app.search.SearchTarget.Builder setUserHandle(@NonNull android.os.UserHandle);
2567  }
2568
2569  public final class SearchTargetEvent implements android.os.Parcelable {
2570    method public int describeContents();
2571    method public int getAction();
2572    method public int getFlags();
2573    method @Nullable public String getLaunchLocation();
2574    method @NonNull public String getTargetId();
2575    method @NonNull public java.util.List<java.lang.String> getTargetIds();
2576    method public void writeToParcel(@NonNull android.os.Parcel, int);
2577    field public static final int ACTION_DELETE = 9; // 0x9
2578    field public static final int ACTION_DISMISS = 10; // 0xa
2579    field public static final int ACTION_DRAGNDROP = 7; // 0x7
2580    field public static final int ACTION_LAUNCH_KEYBOARD_FOCUS = 6; // 0x6
2581    field public static final int ACTION_LAUNCH_TOUCH = 5; // 0x5
2582    field public static final int ACTION_LONGPRESS = 4; // 0x4
2583    field public static final int ACTION_SURFACE_INVISIBLE = 8; // 0x8
2584    field public static final int ACTION_SURFACE_VISIBLE = 1; // 0x1
2585    field public static final int ACTION_TAP = 3; // 0x3
2586    field @NonNull public static final android.os.Parcelable.Creator<android.app.search.SearchTargetEvent> CREATOR;
2587    field public static final int FLAG_IME_SHOWN = 1; // 0x1
2588  }
2589
2590  public static final class SearchTargetEvent.Builder {
2591    ctor public SearchTargetEvent.Builder(@NonNull String, int);
2592    ctor public SearchTargetEvent.Builder(@NonNull java.util.List<java.lang.String>, int);
2593    method @NonNull public android.app.search.SearchTargetEvent build();
2594    method @NonNull public android.app.search.SearchTargetEvent.Builder setFlags(int);
2595    method @NonNull public android.app.search.SearchTargetEvent.Builder setLaunchLocation(@Nullable String);
2596  }
2597
2598  public final class SearchUiManager {
2599    method @NonNull public android.app.search.SearchSession createSearchSession(@NonNull android.app.search.SearchContext);
2600  }
2601
2602}
2603
2604package android.app.smartspace {
2605
2606  public final class SmartspaceAction implements android.os.Parcelable {
2607    method public int describeContents();
2608    method @Nullable public CharSequence getContentDescription();
2609    method @Nullable public android.os.Bundle getExtras();
2610    method @Nullable public android.graphics.drawable.Icon getIcon();
2611    method @NonNull public String getId();
2612    method @Nullable public android.content.Intent getIntent();
2613    method @Nullable public android.app.PendingIntent getPendingIntent();
2614    method @Nullable public CharSequence getSubtitle();
2615    method @NonNull public CharSequence getTitle();
2616    method @Nullable public android.os.UserHandle getUserHandle();
2617    method public void writeToParcel(@NonNull android.os.Parcel, int);
2618    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.SmartspaceAction> CREATOR;
2619  }
2620
2621  public static final class SmartspaceAction.Builder {
2622    ctor public SmartspaceAction.Builder(@NonNull String, @NonNull String);
2623    method @NonNull public android.app.smartspace.SmartspaceAction build();
2624    method @NonNull public android.app.smartspace.SmartspaceAction.Builder setContentDescription(@Nullable CharSequence);
2625    method @NonNull public android.app.smartspace.SmartspaceAction.Builder setExtras(@Nullable android.os.Bundle);
2626    method @NonNull public android.app.smartspace.SmartspaceAction.Builder setIcon(@Nullable android.graphics.drawable.Icon);
2627    method @NonNull public android.app.smartspace.SmartspaceAction.Builder setIntent(@Nullable android.content.Intent);
2628    method @NonNull public android.app.smartspace.SmartspaceAction.Builder setPendingIntent(@Nullable android.app.PendingIntent);
2629    method @NonNull public android.app.smartspace.SmartspaceAction.Builder setSubtitle(@Nullable CharSequence);
2630    method @NonNull public android.app.smartspace.SmartspaceAction.Builder setUserHandle(@Nullable android.os.UserHandle);
2631  }
2632
2633  public final class SmartspaceConfig implements android.os.Parcelable {
2634    method public int describeContents();
2635    method @Nullable public android.os.Bundle getExtras();
2636    method @NonNull public String getPackageName();
2637    method @NonNull public int getSmartspaceTargetCount();
2638    method @NonNull public String getUiSurface();
2639    method public void writeToParcel(@NonNull android.os.Parcel, int);
2640    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.SmartspaceConfig> CREATOR;
2641  }
2642
2643  public static final class SmartspaceConfig.Builder {
2644    ctor public SmartspaceConfig.Builder(@NonNull android.content.Context, @NonNull String);
2645    method @NonNull public android.app.smartspace.SmartspaceConfig build();
2646    method @NonNull public android.app.smartspace.SmartspaceConfig.Builder setExtras(@NonNull android.os.Bundle);
2647    method @NonNull public android.app.smartspace.SmartspaceConfig.Builder setSmartspaceTargetCount(@IntRange(from=0, to=50) int);
2648  }
2649
2650  public final class SmartspaceManager {
2651    method @NonNull public android.app.smartspace.SmartspaceSession createSmartspaceSession(@NonNull android.app.smartspace.SmartspaceConfig);
2652  }
2653
2654  public final class SmartspaceSession implements java.lang.AutoCloseable {
2655    method public void addOnTargetsAvailableListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.smartspace.SmartspaceSession.OnTargetsAvailableListener);
2656    method public void close();
2657    method protected void finalize();
2658    method public void notifySmartspaceEvent(@NonNull android.app.smartspace.SmartspaceTargetEvent);
2659    method public void removeOnTargetsAvailableListener(@NonNull android.app.smartspace.SmartspaceSession.OnTargetsAvailableListener);
2660    method public void requestSmartspaceUpdate();
2661  }
2662
2663  public static interface SmartspaceSession.OnTargetsAvailableListener {
2664    method public void onTargetsAvailable(@NonNull java.util.List<android.app.smartspace.SmartspaceTarget>);
2665  }
2666
2667  public final class SmartspaceSessionId implements android.os.Parcelable {
2668    method public int describeContents();
2669    method @Nullable public String getId();
2670    method @NonNull public android.os.UserHandle getUserHandle();
2671    method public void writeToParcel(@NonNull android.os.Parcel, int);
2672    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.SmartspaceSessionId> CREATOR;
2673  }
2674
2675  public final class SmartspaceTarget implements android.os.Parcelable {
2676    method public int describeContents();
2677    method @NonNull public java.util.List<android.app.smartspace.SmartspaceAction> getActionChips();
2678    method @Nullable public String getAssociatedSmartspaceTargetId();
2679    method @Nullable public android.app.smartspace.SmartspaceAction getBaseAction();
2680    method @NonNull public android.content.ComponentName getComponentName();
2681    method public long getCreationTimeMillis();
2682    method public long getExpiryTimeMillis();
2683    method public int getFeatureType();
2684    method @Nullable public android.app.smartspace.SmartspaceAction getHeaderAction();
2685    method @NonNull public java.util.List<android.app.smartspace.SmartspaceAction> getIconGrid();
2686    method @FlaggedApi("android.app.smartspace.flags.remote_views") @Nullable public android.widget.RemoteViews getRemoteViews();
2687    method public float getScore();
2688    method @Nullable public android.net.Uri getSliceUri();
2689    method @NonNull public String getSmartspaceTargetId();
2690    method @Nullable public String getSourceNotificationKey();
2691    method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData getTemplateData();
2692    method @NonNull public android.os.UserHandle getUserHandle();
2693    method @Nullable public android.appwidget.AppWidgetProviderInfo getWidget();
2694    method public boolean isSensitive();
2695    method public boolean shouldShowExpanded();
2696    method public void writeToParcel(@NonNull android.os.Parcel, int);
2697    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.SmartspaceTarget> CREATOR;
2698    field public static final int FEATURE_ALARM = 7; // 0x7
2699    field public static final int FEATURE_BEDTIME_ROUTINE = 16; // 0x10
2700    field public static final int FEATURE_BLAZE_BUILD_PROGRESS = 40; // 0x28
2701    field public static final int FEATURE_CALENDAR = 2; // 0x2
2702    field public static final int FEATURE_COMMUTE_TIME = 3; // 0x3
2703    field public static final int FEATURE_CONSENT = 11; // 0xb
2704    field public static final int FEATURE_CROSS_DEVICE_TIMER = 32; // 0x20
2705    field public static final int FEATURE_DOORBELL = 30; // 0x1e
2706    field public static final int FEATURE_DRIVING_MODE = 26; // 0x1a
2707    field public static final int FEATURE_EARTHQUAKE_ALERT = 38; // 0x26
2708    field public static final int FEATURE_EARTHQUAKE_OCCURRED = 41; // 0x29
2709    field public static final int FEATURE_ETA_MONITORING = 18; // 0x12
2710    field public static final int FEATURE_FITNESS_TRACKING = 17; // 0x11
2711    field public static final int FEATURE_FLASHLIGHT = 28; // 0x1c
2712    field public static final int FEATURE_FLIGHT = 4; // 0x4
2713    field public static final int FEATURE_GAS_STATION_PAYMENT = 24; // 0x18
2714    field public static final int FEATURE_HOLIDAY_ALARM = 34; // 0x22
2715    field public static final int FEATURE_LOYALTY_CARD = 14; // 0xe
2716    field public static final int FEATURE_MEDIA = 15; // 0xf
2717    field public static final int FEATURE_MEDIA_HEADS_UP = 36; // 0x24
2718    field public static final int FEATURE_MEDIA_RESUME = 31; // 0x1f
2719    field public static final int FEATURE_MISSED_CALL = 19; // 0x13
2720    field public static final int FEATURE_ONBOARDING = 8; // 0x8
2721    field public static final int FEATURE_PACKAGE_TRACKING = 20; // 0x14
2722    field public static final int FEATURE_PAIRED_DEVICE_STATE = 25; // 0x19
2723    field public static final int FEATURE_REMINDER = 6; // 0x6
2724    field public static final int FEATURE_SAFETY_CHECK = 35; // 0x23
2725    field public static final int FEATURE_SEVERE_WEATHER_ALERT = 33; // 0x21
2726    field public static final int FEATURE_SHOPPING_LIST = 13; // 0xd
2727    field public static final int FEATURE_SLEEP_SUMMARY = 27; // 0x1b
2728    field public static final int FEATURE_SPORTS = 9; // 0x9
2729    field public static final int FEATURE_STEP_COUNTING = 37; // 0x25
2730    field public static final int FEATURE_STEP_DATE = 39; // 0x27
2731    field public static final int FEATURE_STOCK_PRICE_CHANGE = 12; // 0xc
2732    field public static final int FEATURE_STOPWATCH = 22; // 0x16
2733    field public static final int FEATURE_TIMER = 21; // 0x15
2734    field public static final int FEATURE_TIME_TO_LEAVE = 29; // 0x1d
2735    field public static final int FEATURE_TIPS = 5; // 0x5
2736    field public static final int FEATURE_UNDEFINED = 0; // 0x0
2737    field public static final int FEATURE_UPCOMING_ALARM = 23; // 0x17
2738    field public static final int FEATURE_WEATHER = 1; // 0x1
2739    field public static final int FEATURE_WEATHER_ALERT = 10; // 0xa
2740    field public static final int UI_TEMPLATE_CAROUSEL = 4; // 0x4
2741    field public static final int UI_TEMPLATE_COMBINED_CARDS = 6; // 0x6
2742    field public static final int UI_TEMPLATE_DEFAULT = 1; // 0x1
2743    field public static final int UI_TEMPLATE_HEAD_TO_HEAD = 5; // 0x5
2744    field public static final int UI_TEMPLATE_SUB_CARD = 7; // 0x7
2745    field public static final int UI_TEMPLATE_SUB_IMAGE = 2; // 0x2
2746    field public static final int UI_TEMPLATE_SUB_LIST = 3; // 0x3
2747    field public static final int UI_TEMPLATE_UNDEFINED = 0; // 0x0
2748  }
2749
2750  public static final class SmartspaceTarget.Builder {
2751    ctor public SmartspaceTarget.Builder(@NonNull String, @NonNull android.content.ComponentName, @NonNull android.os.UserHandle);
2752    method @NonNull public android.app.smartspace.SmartspaceTarget build();
2753    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setActionChips(@NonNull java.util.List<android.app.smartspace.SmartspaceAction>);
2754    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setAssociatedSmartspaceTargetId(@NonNull String);
2755    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setBaseAction(@NonNull android.app.smartspace.SmartspaceAction);
2756    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setCreationTimeMillis(long);
2757    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setExpiryTimeMillis(long);
2758    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setFeatureType(int);
2759    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setHeaderAction(@NonNull android.app.smartspace.SmartspaceAction);
2760    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setIconGrid(@NonNull java.util.List<android.app.smartspace.SmartspaceAction>);
2761    method @FlaggedApi("android.app.smartspace.flags.remote_views") @NonNull public android.app.smartspace.SmartspaceTarget.Builder setRemoteViews(@NonNull android.widget.RemoteViews);
2762    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setScore(float);
2763    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setSensitive(boolean);
2764    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setShouldShowExpanded(boolean);
2765    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setSliceUri(@NonNull android.net.Uri);
2766    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setSourceNotificationKey(@NonNull String);
2767    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setTemplateData(@Nullable android.app.smartspace.uitemplatedata.BaseTemplateData);
2768    method @NonNull public android.app.smartspace.SmartspaceTarget.Builder setWidget(@NonNull android.appwidget.AppWidgetProviderInfo);
2769  }
2770
2771  public final class SmartspaceTargetEvent implements android.os.Parcelable {
2772    method public int describeContents();
2773    method @NonNull public int getEventType();
2774    method @Nullable public String getSmartspaceActionId();
2775    method @Nullable public android.app.smartspace.SmartspaceTarget getSmartspaceTarget();
2776    method public void writeToParcel(@NonNull android.os.Parcel, int);
2777    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.SmartspaceTargetEvent> CREATOR;
2778    field public static final int EVENT_TARGET_BLOCK = 5; // 0x5
2779    field public static final int EVENT_TARGET_DISMISS = 4; // 0x4
2780    field public static final int EVENT_TARGET_HIDDEN = 3; // 0x3
2781    field public static final int EVENT_TARGET_INTERACTION = 1; // 0x1
2782    field public static final int EVENT_TARGET_SHOWN = 2; // 0x2
2783    field public static final int EVENT_UI_SURFACE_HIDDEN = 7; // 0x7
2784    field public static final int EVENT_UI_SURFACE_SHOWN = 6; // 0x6
2785  }
2786
2787  public static final class SmartspaceTargetEvent.Builder {
2788    ctor public SmartspaceTargetEvent.Builder(int);
2789    method @NonNull public android.app.smartspace.SmartspaceTargetEvent build();
2790    method @NonNull public android.app.smartspace.SmartspaceTargetEvent.Builder setSmartspaceActionId(@NonNull String);
2791    method @NonNull public android.app.smartspace.SmartspaceTargetEvent.Builder setSmartspaceTarget(@NonNull android.app.smartspace.SmartspaceTarget);
2792  }
2793
2794}
2795
2796package android.app.smartspace.uitemplatedata {
2797
2798  public class BaseTemplateData implements android.os.Parcelable {
2799    method public int describeContents();
2800    method public int getLayoutWeight();
2801    method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo getPrimaryItem();
2802    method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo getSubtitleItem();
2803    method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo getSubtitleSupplementalItem();
2804    method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo getSupplementalAlarmItem();
2805    method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo getSupplementalLineItem();
2806    method public int getTemplateType();
2807    method public void writeToParcel(@NonNull android.os.Parcel, int);
2808    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.BaseTemplateData> CREATOR;
2809  }
2810
2811  public static class BaseTemplateData.Builder {
2812    ctor public BaseTemplateData.Builder(int);
2813    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData build();
2814    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.Builder setLayoutWeight(int);
2815    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.Builder setPrimaryItem(@NonNull android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo);
2816    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.Builder setSubtitleItem(@NonNull android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo);
2817    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.Builder setSubtitleSupplementalItem(@NonNull android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo);
2818    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.Builder setSupplementalAlarmItem(@NonNull android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo);
2819    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.Builder setSupplementalLineItem(@NonNull android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo);
2820  }
2821
2822  public static final class BaseTemplateData.SubItemInfo implements android.os.Parcelable {
2823    method public int describeContents();
2824    method @Nullable public android.app.smartspace.uitemplatedata.Icon getIcon();
2825    method @Nullable public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemLoggingInfo getLoggingInfo();
2826    method @Nullable public android.app.smartspace.uitemplatedata.TapAction getTapAction();
2827    method @Nullable public android.app.smartspace.uitemplatedata.Text getText();
2828    method public void writeToParcel(@NonNull android.os.Parcel, int);
2829    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo> CREATOR;
2830  }
2831
2832  public static final class BaseTemplateData.SubItemInfo.Builder {
2833    ctor public BaseTemplateData.SubItemInfo.Builder();
2834    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo build();
2835    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo.Builder setIcon(@NonNull android.app.smartspace.uitemplatedata.Icon);
2836    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo.Builder setLoggingInfo(@NonNull android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemLoggingInfo);
2837    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo.Builder setTapAction(@NonNull android.app.smartspace.uitemplatedata.TapAction);
2838    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemInfo.Builder setText(@NonNull android.app.smartspace.uitemplatedata.Text);
2839  }
2840
2841  public static final class BaseTemplateData.SubItemLoggingInfo implements android.os.Parcelable {
2842    method public int describeContents();
2843    method public int getFeatureType();
2844    method public int getInstanceId();
2845    method @Nullable public CharSequence getPackageName();
2846    method public void writeToParcel(@NonNull android.os.Parcel, int);
2847    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemLoggingInfo> CREATOR;
2848  }
2849
2850  public static final class BaseTemplateData.SubItemLoggingInfo.Builder {
2851    ctor public BaseTemplateData.SubItemLoggingInfo.Builder(int, int);
2852    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemLoggingInfo build();
2853    method @NonNull public android.app.smartspace.uitemplatedata.BaseTemplateData.SubItemLoggingInfo.Builder setPackageName(@NonNull CharSequence);
2854  }
2855
2856  public final class CarouselTemplateData extends android.app.smartspace.uitemplatedata.BaseTemplateData {
2857    method @Nullable public android.app.smartspace.uitemplatedata.TapAction getCarouselAction();
2858    method @NonNull public java.util.List<android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem> getCarouselItems();
2859    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.CarouselTemplateData> CREATOR;
2860  }
2861
2862  public static final class CarouselTemplateData.Builder extends android.app.smartspace.uitemplatedata.BaseTemplateData.Builder {
2863    ctor public CarouselTemplateData.Builder(@NonNull java.util.List<android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem>);
2864    method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData build();
2865    method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData.Builder setCarouselAction(@NonNull android.app.smartspace.uitemplatedata.TapAction);
2866  }
2867
2868  public static final class CarouselTemplateData.CarouselItem implements android.os.Parcelable {
2869    method public int describeContents();
2870    method @Nullable public android.app.smartspace.uitemplatedata.Icon getImage();
2871    method @Nullable public android.app.smartspace.uitemplatedata.Text getLowerText();
2872    method @Nullable public android.app.smartspace.uitemplatedata.TapAction getTapAction();
2873    method @Nullable public android.app.smartspace.uitemplatedata.Text getUpperText();
2874    method public void writeToParcel(@NonNull android.os.Parcel, int);
2875    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem> CREATOR;
2876  }
2877
2878  public static final class CarouselTemplateData.CarouselItem.Builder {
2879    ctor public CarouselTemplateData.CarouselItem.Builder();
2880    method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem build();
2881    method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem.Builder setImage(@Nullable android.app.smartspace.uitemplatedata.Icon);
2882    method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem.Builder setLowerText(@Nullable android.app.smartspace.uitemplatedata.Text);
2883    method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem.Builder setTapAction(@Nullable android.app.smartspace.uitemplatedata.TapAction);
2884    method @NonNull public android.app.smartspace.uitemplatedata.CarouselTemplateData.CarouselItem.Builder setUpperText(@Nullable android.app.smartspace.uitemplatedata.Text);
2885  }
2886
2887  public final class CombinedCardsTemplateData extends android.app.smartspace.uitemplatedata.BaseTemplateData {
2888    method @NonNull public java.util.List<android.app.smartspace.uitemplatedata.BaseTemplateData> getCombinedCardDataList();
2889    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.CombinedCardsTemplateData> CREATOR;
2890  }
2891
2892  public static final class CombinedCardsTemplateData.Builder extends android.app.smartspace.uitemplatedata.BaseTemplateData.Builder {
2893    ctor public CombinedCardsTemplateData.Builder(@NonNull java.util.List<android.app.smartspace.uitemplatedata.BaseTemplateData>);
2894    method @NonNull public android.app.smartspace.uitemplatedata.CombinedCardsTemplateData build();
2895  }
2896
2897  public final class HeadToHeadTemplateData extends android.app.smartspace.uitemplatedata.BaseTemplateData {
2898    method @Nullable public android.app.smartspace.uitemplatedata.TapAction getHeadToHeadAction();
2899    method @Nullable public android.app.smartspace.uitemplatedata.Icon getHeadToHeadFirstCompetitorIcon();
2900    method @Nullable public android.app.smartspace.uitemplatedata.Text getHeadToHeadFirstCompetitorText();
2901    method @Nullable public android.app.smartspace.uitemplatedata.Icon getHeadToHeadSecondCompetitorIcon();
2902    method @Nullable public android.app.smartspace.uitemplatedata.Text getHeadToHeadSecondCompetitorText();
2903    method @Nullable public android.app.smartspace.uitemplatedata.Text getHeadToHeadTitle();
2904    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.HeadToHeadTemplateData> CREATOR;
2905  }
2906
2907  public static final class HeadToHeadTemplateData.Builder extends android.app.smartspace.uitemplatedata.BaseTemplateData.Builder {
2908    ctor public HeadToHeadTemplateData.Builder();
2909    method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData build();
2910    method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData.Builder setHeadToHeadAction(@Nullable android.app.smartspace.uitemplatedata.TapAction);
2911    method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData.Builder setHeadToHeadFirstCompetitorIcon(@Nullable android.app.smartspace.uitemplatedata.Icon);
2912    method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData.Builder setHeadToHeadFirstCompetitorText(@Nullable android.app.smartspace.uitemplatedata.Text);
2913    method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData.Builder setHeadToHeadSecondCompetitorIcon(@Nullable android.app.smartspace.uitemplatedata.Icon);
2914    method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData.Builder setHeadToHeadSecondCompetitorText(@Nullable android.app.smartspace.uitemplatedata.Text);
2915    method @NonNull public android.app.smartspace.uitemplatedata.HeadToHeadTemplateData.Builder setHeadToHeadTitle(@Nullable android.app.smartspace.uitemplatedata.Text);
2916  }
2917
2918  public final class Icon implements android.os.Parcelable {
2919    method public int describeContents();
2920    method @Nullable public CharSequence getContentDescription();
2921    method @NonNull public android.graphics.drawable.Icon getIcon();
2922    method public boolean shouldTint();
2923    method public void writeToParcel(@NonNull android.os.Parcel, int);
2924    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.Icon> CREATOR;
2925  }
2926
2927  public static final class Icon.Builder {
2928    ctor public Icon.Builder(@NonNull android.graphics.drawable.Icon);
2929    method @NonNull public android.app.smartspace.uitemplatedata.Icon build();
2930    method @NonNull public android.app.smartspace.uitemplatedata.Icon.Builder setContentDescription(@NonNull CharSequence);
2931    method @NonNull public android.app.smartspace.uitemplatedata.Icon.Builder setShouldTint(boolean);
2932  }
2933
2934  public final class SubCardTemplateData extends android.app.smartspace.uitemplatedata.BaseTemplateData {
2935    method @Nullable public android.app.smartspace.uitemplatedata.TapAction getSubCardAction();
2936    method @NonNull public android.app.smartspace.uitemplatedata.Icon getSubCardIcon();
2937    method @Nullable public android.app.smartspace.uitemplatedata.Text getSubCardText();
2938    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.SubCardTemplateData> CREATOR;
2939  }
2940
2941  public static final class SubCardTemplateData.Builder extends android.app.smartspace.uitemplatedata.BaseTemplateData.Builder {
2942    ctor public SubCardTemplateData.Builder(@NonNull android.app.smartspace.uitemplatedata.Icon);
2943    method @NonNull public android.app.smartspace.uitemplatedata.SubCardTemplateData build();
2944    method @NonNull public android.app.smartspace.uitemplatedata.SubCardTemplateData.Builder setSubCardAction(@NonNull android.app.smartspace.uitemplatedata.TapAction);
2945    method @NonNull public android.app.smartspace.uitemplatedata.SubCardTemplateData.Builder setSubCardText(@NonNull android.app.smartspace.uitemplatedata.Text);
2946  }
2947
2948  public final class SubImageTemplateData extends android.app.smartspace.uitemplatedata.BaseTemplateData {
2949    method @Nullable public android.app.smartspace.uitemplatedata.TapAction getSubImageAction();
2950    method @NonNull public java.util.List<android.app.smartspace.uitemplatedata.Text> getSubImageTexts();
2951    method @NonNull public java.util.List<android.app.smartspace.uitemplatedata.Icon> getSubImages();
2952    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.SubImageTemplateData> CREATOR;
2953  }
2954
2955  public static final class SubImageTemplateData.Builder extends android.app.smartspace.uitemplatedata.BaseTemplateData.Builder {
2956    ctor public SubImageTemplateData.Builder(@NonNull java.util.List<android.app.smartspace.uitemplatedata.Text>, @NonNull java.util.List<android.app.smartspace.uitemplatedata.Icon>);
2957    method @NonNull public android.app.smartspace.uitemplatedata.SubImageTemplateData build();
2958    method @NonNull public android.app.smartspace.uitemplatedata.SubImageTemplateData.Builder setSubImageAction(@NonNull android.app.smartspace.uitemplatedata.TapAction);
2959  }
2960
2961  public final class SubListTemplateData extends android.app.smartspace.uitemplatedata.BaseTemplateData {
2962    method @Nullable public android.app.smartspace.uitemplatedata.TapAction getSubListAction();
2963    method @Nullable public android.app.smartspace.uitemplatedata.Icon getSubListIcon();
2964    method @NonNull public java.util.List<android.app.smartspace.uitemplatedata.Text> getSubListTexts();
2965    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.SubListTemplateData> CREATOR;
2966  }
2967
2968  public static final class SubListTemplateData.Builder extends android.app.smartspace.uitemplatedata.BaseTemplateData.Builder {
2969    ctor public SubListTemplateData.Builder(@NonNull java.util.List<android.app.smartspace.uitemplatedata.Text>);
2970    method @NonNull public android.app.smartspace.uitemplatedata.SubListTemplateData build();
2971    method @NonNull public android.app.smartspace.uitemplatedata.SubListTemplateData.Builder setSubListAction(@NonNull android.app.smartspace.uitemplatedata.TapAction);
2972    method @NonNull public android.app.smartspace.uitemplatedata.SubListTemplateData.Builder setSubListIcon(@NonNull android.app.smartspace.uitemplatedata.Icon);
2973  }
2974
2975  public final class TapAction implements android.os.Parcelable {
2976    method public int describeContents();
2977    method @Nullable public android.os.Bundle getExtras();
2978    method @Nullable public CharSequence getId();
2979    method @Nullable public android.content.Intent getIntent();
2980    method @Nullable public android.app.PendingIntent getPendingIntent();
2981    method @Nullable public android.os.UserHandle getUserHandle();
2982    method public boolean shouldShowOnLockscreen();
2983    method public void writeToParcel(@NonNull android.os.Parcel, int);
2984    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.TapAction> CREATOR;
2985  }
2986
2987  public static final class TapAction.Builder {
2988    ctor public TapAction.Builder(@NonNull CharSequence);
2989    method @NonNull public android.app.smartspace.uitemplatedata.TapAction build();
2990    method @NonNull public android.app.smartspace.uitemplatedata.TapAction.Builder setExtras(@NonNull android.os.Bundle);
2991    method @NonNull public android.app.smartspace.uitemplatedata.TapAction.Builder setIntent(@NonNull android.content.Intent);
2992    method @NonNull public android.app.smartspace.uitemplatedata.TapAction.Builder setPendingIntent(@NonNull android.app.PendingIntent);
2993    method @NonNull public android.app.smartspace.uitemplatedata.TapAction.Builder setShouldShowOnLockscreen(@NonNull boolean);
2994    method @NonNull public android.app.smartspace.uitemplatedata.TapAction.Builder setUserHandle(@Nullable android.os.UserHandle);
2995  }
2996
2997  public final class Text implements android.os.Parcelable {
2998    method public int describeContents();
2999    method public int getMaxLines();
3000    method @NonNull public CharSequence getText();
3001    method @NonNull public android.text.TextUtils.TruncateAt getTruncateAtType();
3002    method public void writeToParcel(@NonNull android.os.Parcel, int);
3003    field @NonNull public static final android.os.Parcelable.Creator<android.app.smartspace.uitemplatedata.Text> CREATOR;
3004  }
3005
3006  public static final class Text.Builder {
3007    ctor public Text.Builder(@NonNull CharSequence);
3008    method @NonNull public android.app.smartspace.uitemplatedata.Text build();
3009    method @NonNull public android.app.smartspace.uitemplatedata.Text.Builder setMaxLines(int);
3010    method @NonNull public android.app.smartspace.uitemplatedata.Text.Builder setTruncateAtType(@NonNull android.text.TextUtils.TruncateAt);
3011  }
3012
3013}
3014
3015package android.app.time {
3016
3017  public final class Capabilities {
3018    field public static final int CAPABILITY_NOT_ALLOWED = 20; // 0x14
3019    field public static final int CAPABILITY_NOT_APPLICABLE = 30; // 0x1e
3020    field public static final int CAPABILITY_NOT_SUPPORTED = 10; // 0xa
3021    field public static final int CAPABILITY_POSSESSED = 40; // 0x28
3022  }
3023
3024  public final class ExternalTimeSuggestion implements android.os.Parcelable {
3025    ctor public ExternalTimeSuggestion(long, long);
3026    method public void addDebugInfo(@NonNull java.lang.String...);
3027    method public int describeContents();
3028    method @NonNull public java.util.List<java.lang.String> getDebugInfo();
3029    method public void writeToParcel(@NonNull android.os.Parcel, int);
3030    field @NonNull public static final android.os.Parcelable.Creator<android.app.time.ExternalTimeSuggestion> CREATOR;
3031  }
3032
3033  public final class TimeCapabilities implements android.os.Parcelable {
3034    method public int describeContents();
3035    method public int getConfigureAutoDetectionEnabledCapability();
3036    method public int getSetManualTimeCapability();
3037    method public void writeToParcel(@NonNull android.os.Parcel, int);
3038    field @NonNull public static final android.os.Parcelable.Creator<android.app.time.TimeCapabilities> CREATOR;
3039  }
3040
3041  public final class TimeCapabilitiesAndConfig implements android.os.Parcelable {
3042    method public int describeContents();
3043    method @NonNull public android.app.time.TimeCapabilities getCapabilities();
3044    method @NonNull public android.app.time.TimeConfiguration getConfiguration();
3045    method public void writeToParcel(@NonNull android.os.Parcel, int);
3046    field @NonNull public static final android.os.Parcelable.Creator<android.app.time.TimeCapabilitiesAndConfig> CREATOR;
3047  }
3048
3049  public final class TimeConfiguration implements android.os.Parcelable {
3050    method public int describeContents();
3051    method public boolean isAutoDetectionEnabled();
3052    method public void writeToParcel(@NonNull android.os.Parcel, int);
3053    field @NonNull public static final android.os.Parcelable.Creator<android.app.time.TimeConfiguration> CREATOR;
3054  }
3055
3056  public static final class TimeConfiguration.Builder {
3057    ctor public TimeConfiguration.Builder();
3058    ctor public TimeConfiguration.Builder(@NonNull android.app.time.TimeConfiguration);
3059    method @NonNull public android.app.time.TimeConfiguration build();
3060    method @NonNull public android.app.time.TimeConfiguration.Builder setAutoDetectionEnabled(boolean);
3061  }
3062
3063  public final class TimeManager {
3064    method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public void addTimeZoneDetectorListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.time.TimeManager.TimeZoneDetectorListener);
3065    method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public boolean confirmTime(@NonNull android.app.time.UnixEpochTime);
3066    method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public boolean confirmTimeZone(@NonNull String);
3067    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public android.app.time.TimeCapabilitiesAndConfig getTimeCapabilitiesAndConfig();
3068    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public android.app.time.TimeState getTimeState();
3069    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public android.app.time.TimeZoneCapabilitiesAndConfig getTimeZoneCapabilitiesAndConfig();
3070    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public android.app.time.TimeZoneState getTimeZoneState();
3071    method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public void removeTimeZoneDetectorListener(@NonNull android.app.time.TimeManager.TimeZoneDetectorListener);
3072    method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public boolean setManualTime(@NonNull android.app.time.UnixEpochTime);
3073    method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public boolean setManualTimeZone(@NonNull String);
3074    method @RequiresPermission(android.Manifest.permission.SUGGEST_EXTERNAL_TIME) public void suggestExternalTime(@NonNull android.app.time.ExternalTimeSuggestion);
3075    method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public boolean updateTimeConfiguration(@NonNull android.app.time.TimeConfiguration);
3076    method @RequiresPermission(android.Manifest.permission.MANAGE_TIME_AND_ZONE_DETECTION) public boolean updateTimeZoneConfiguration(@NonNull android.app.time.TimeZoneConfiguration);
3077  }
3078
3079  @java.lang.FunctionalInterface public static interface TimeManager.TimeZoneDetectorListener {
3080    method public void onChange();
3081  }
3082
3083  public final class TimeState implements android.os.Parcelable {
3084    method public int describeContents();
3085    method @NonNull public android.app.time.UnixEpochTime getUnixEpochTime();
3086    method public boolean getUserShouldConfirmTime();
3087    method public void writeToParcel(@NonNull android.os.Parcel, int);
3088    field @NonNull public static final android.os.Parcelable.Creator<android.app.time.TimeState> CREATOR;
3089  }
3090
3091  public final class TimeZoneCapabilities implements android.os.Parcelable {
3092    method public int describeContents();
3093    method public int getConfigureAutoDetectionEnabledCapability();
3094    method public int getConfigureGeoDetectionEnabledCapability();
3095    method public int getSetManualTimeZoneCapability();
3096    method public void writeToParcel(@NonNull android.os.Parcel, int);
3097    field @NonNull public static final android.os.Parcelable.Creator<android.app.time.TimeZoneCapabilities> CREATOR;
3098  }
3099
3100  public final class TimeZoneCapabilitiesAndConfig implements android.os.Parcelable {
3101    method public int describeContents();
3102    method @NonNull public android.app.time.TimeZoneCapabilities getCapabilities();
3103    method @NonNull public android.app.time.TimeZoneConfiguration getConfiguration();
3104    method public void writeToParcel(@NonNull android.os.Parcel, int);
3105    field @NonNull public static final android.os.Parcelable.Creator<android.app.time.TimeZoneCapabilitiesAndConfig> CREATOR;
3106  }
3107
3108  public final class TimeZoneConfiguration implements android.os.Parcelable {
3109    method public int describeContents();
3110    method public boolean isAutoDetectionEnabled();
3111    method public boolean isGeoDetectionEnabled();
3112    method public void writeToParcel(@NonNull android.os.Parcel, int);
3113    field @NonNull public static final android.os.Parcelable.Creator<android.app.time.TimeZoneConfiguration> CREATOR;
3114  }
3115
3116  public static final class TimeZoneConfiguration.Builder {
3117    ctor public TimeZoneConfiguration.Builder();
3118    ctor public TimeZoneConfiguration.Builder(@NonNull android.app.time.TimeZoneConfiguration);
3119    method @NonNull public android.app.time.TimeZoneConfiguration build();
3120    method @NonNull public android.app.time.TimeZoneConfiguration.Builder setAutoDetectionEnabled(boolean);
3121    method @NonNull public android.app.time.TimeZoneConfiguration.Builder setGeoDetectionEnabled(boolean);
3122  }
3123
3124  public final class TimeZoneState implements android.os.Parcelable {
3125    method public int describeContents();
3126    method @NonNull public String getId();
3127    method public boolean getUserShouldConfirmId();
3128    method public void writeToParcel(@NonNull android.os.Parcel, int);
3129    field @NonNull public static final android.os.Parcelable.Creator<android.app.time.TimeZoneState> CREATOR;
3130  }
3131
3132  public final class UnixEpochTime implements android.os.Parcelable {
3133    ctor public UnixEpochTime(long, long);
3134    method @NonNull public android.app.time.UnixEpochTime at(long);
3135    method public int describeContents();
3136    method public long getElapsedRealtimeMillis();
3137    method public long getUnixEpochTimeMillis();
3138    method public void writeToParcel(@NonNull android.os.Parcel, int);
3139    field @NonNull public static final android.os.Parcelable.Creator<android.app.time.UnixEpochTime> CREATOR;
3140  }
3141
3142}
3143
3144package android.app.usage {
3145
3146  public final class BroadcastResponseStats implements android.os.Parcelable {
3147    ctor public BroadcastResponseStats(@NonNull String, @IntRange(from=1) long);
3148    method public int describeContents();
3149    method @IntRange(from=0) public int getBroadcastsDispatchedCount();
3150    method @IntRange(from=1) public long getId();
3151    method @IntRange(from=0) public int getNotificationsCancelledCount();
3152    method @IntRange(from=0) public int getNotificationsPostedCount();
3153    method @IntRange(from=0) public int getNotificationsUpdatedCount();
3154    method @NonNull public String getPackageName();
3155    method public void writeToParcel(@NonNull android.os.Parcel, int);
3156    field @NonNull public static final android.os.Parcelable.Creator<android.app.usage.BroadcastResponseStats> CREATOR;
3157  }
3158
3159  public final class CacheQuotaHint implements android.os.Parcelable {
3160    ctor public CacheQuotaHint(@NonNull android.app.usage.CacheQuotaHint.Builder);
3161    method public int describeContents();
3162    method public long getQuota();
3163    method public int getUid();
3164    method @Nullable public android.app.usage.UsageStats getUsageStats();
3165    method @Nullable public String getVolumeUuid();
3166    method public void writeToParcel(@NonNull android.os.Parcel, int);
3167    field @NonNull public static final android.os.Parcelable.Creator<android.app.usage.CacheQuotaHint> CREATOR;
3168    field public static final long QUOTA_NOT_SET = -1L; // 0xffffffffffffffffL
3169  }
3170
3171  public static final class CacheQuotaHint.Builder {
3172    ctor public CacheQuotaHint.Builder();
3173    ctor public CacheQuotaHint.Builder(@NonNull android.app.usage.CacheQuotaHint);
3174    method @NonNull public android.app.usage.CacheQuotaHint build();
3175    method @NonNull public android.app.usage.CacheQuotaHint.Builder setQuota(long);
3176    method @NonNull public android.app.usage.CacheQuotaHint.Builder setUid(int);
3177    method @NonNull public android.app.usage.CacheQuotaHint.Builder setUsageStats(@Nullable android.app.usage.UsageStats);
3178    method @NonNull public android.app.usage.CacheQuotaHint.Builder setVolumeUuid(@Nullable String);
3179  }
3180
3181  public abstract class CacheQuotaService extends android.app.Service {
3182    ctor public CacheQuotaService();
3183    method public android.os.IBinder onBind(android.content.Intent);
3184    method public abstract java.util.List<android.app.usage.CacheQuotaHint> onComputeCacheQuotaHints(java.util.List<android.app.usage.CacheQuotaHint>);
3185    field public static final String SERVICE_INTERFACE = "android.app.usage.CacheQuotaService";
3186  }
3187
3188  public static final class UsageEvents.Event {
3189    method public int getInstanceId();
3190    method @Nullable public String getNotificationChannelId();
3191    method @Nullable public String getTaskRootClassName();
3192    method @Nullable public String getTaskRootPackageName();
3193    method public boolean isInstantApp();
3194    field public static final int NOTIFICATION_INTERRUPTION = 12; // 0xc
3195    field public static final int NOTIFICATION_SEEN = 10; // 0xa
3196    field public static final int SLICE_PINNED = 14; // 0xe
3197    field public static final int SLICE_PINNED_PRIV = 13; // 0xd
3198    field public static final int SYSTEM_INTERACTION = 6; // 0x6
3199  }
3200
3201  public final class UsageStats implements android.os.Parcelable {
3202    method public int getAppLaunchCount();
3203    method public long getLastTimeAnyComponentUsed();
3204  }
3205
3206  public final class UsageStatsManager {
3207    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RESPONSE_STATS) public void clearBroadcastResponseStats(@Nullable String, @IntRange(from=0) long);
3208    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getAppStandbyBucket(String);
3209    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public java.util.Map<java.lang.String,java.lang.Integer> getAppStandbyBuckets();
3210    method @RequiresPermission(allOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.PACKAGE_USAGE_STATS}) public long getLastTimeAnyComponentUsed(@NonNull String);
3211    method public int getUsageSource();
3212    method @RequiresPermission(android.Manifest.permission.BIND_CARRIER_SERVICES) public void onCarrierPrivilegedAppsChanged();
3213    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RESPONSE_STATS) public java.util.List<android.app.usage.BroadcastResponseStats> queryBroadcastResponseStats(@Nullable String, @IntRange(from=0) long);
3214    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);
3215    method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void registerAppUsageObserver(int, @NonNull String[], long, @NonNull java.util.concurrent.TimeUnit, @NonNull android.app.PendingIntent);
3216    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);
3217    method public void reportUsageStart(@NonNull android.app.Activity, @NonNull String);
3218    method public void reportUsageStart(@NonNull android.app.Activity, @NonNull String, long);
3219    method public void reportUsageStop(@NonNull android.app.Activity, @NonNull String);
3220    method @RequiresPermission(android.Manifest.permission.CHANGE_APP_IDLE_STATE) public void setAppStandbyBucket(String, int);
3221    method @RequiresPermission(android.Manifest.permission.CHANGE_APP_IDLE_STATE) public void setAppStandbyBuckets(java.util.Map<java.lang.String,java.lang.Integer>);
3222    method @RequiresPermission(android.Manifest.permission.CHANGE_APP_LAUNCH_TIME_ESTIMATE) public void setEstimatedLaunchTimeMillis(@NonNull String, long);
3223    method @RequiresPermission(android.Manifest.permission.CHANGE_APP_LAUNCH_TIME_ESTIMATE) public void setEstimatedLaunchTimesMillis(@NonNull java.util.Map<java.lang.String,java.lang.Long>);
3224    method @RequiresPermission(allOf={android.Manifest.permission.SUSPEND_APPS, android.Manifest.permission.OBSERVE_APP_USAGE}) public void unregisterAppUsageLimitObserver(int);
3225    method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void unregisterAppUsageObserver(int);
3226    method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void unregisterUsageSessionObserver(int);
3227    method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void whitelistAppTemporarily(String, long, android.os.UserHandle);
3228    field public static final String EXTRA_OBSERVER_ID = "android.app.usage.extra.OBSERVER_ID";
3229    field public static final String EXTRA_TIME_LIMIT = "android.app.usage.extra.TIME_LIMIT";
3230    field public static final String EXTRA_TIME_USED = "android.app.usage.extra.TIME_USED";
3231    field public static final int STANDBY_BUCKET_EXEMPTED = 5; // 0x5
3232    field public static final int STANDBY_BUCKET_NEVER = 50; // 0x32
3233    field public static final int USAGE_SOURCE_CURRENT_ACTIVITY = 2; // 0x2
3234    field public static final int USAGE_SOURCE_TASK_ROOT_ACTIVITY = 1; // 0x1
3235  }
3236
3237}
3238
3239package android.app.wallpapereffectsgeneration {
3240
3241  public final class CameraAttributes implements android.os.Parcelable {
3242    method public int describeContents();
3243    method @NonNull public float[] getAnchorPointInOutputUvSpace();
3244    method @NonNull public float[] getAnchorPointInWorldSpace();
3245    method @FloatRange(from=-90.0F, to=90.0f) public float getCameraOrbitPitchDegrees();
3246    method @FloatRange(from=-180.0F, to=180.0f) public float getCameraOrbitYawDegrees();
3247    method public float getDollyDistanceInWorldSpace();
3248    method @FloatRange(from=0.0f) public float getFrustumFarInWorldSpace();
3249    method @FloatRange(from=0.0f) public float getFrustumNearInWorldSpace();
3250    method @FloatRange(from=0.0f, to=180.0f, fromInclusive=false) public float getVerticalFovDegrees();
3251    method public void writeToParcel(@NonNull android.os.Parcel, int);
3252    field @NonNull public static final android.os.Parcelable.Creator<android.app.wallpapereffectsgeneration.CameraAttributes> CREATOR;
3253  }
3254
3255  public static final class CameraAttributes.Builder {
3256    ctor public CameraAttributes.Builder(@NonNull @Size(3) float[], @NonNull @Size(2) float[]);
3257    method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes build();
3258    method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes.Builder setCameraOrbitPitchDegrees(@FloatRange(from=-90.0F, to=90.0f) float);
3259    method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes.Builder setCameraOrbitYawDegrees(@FloatRange(from=-180.0F, to=180.0f) float);
3260    method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes.Builder setDollyDistanceInWorldSpace(float);
3261    method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes.Builder setFrustumFarInWorldSpace(@FloatRange(from=0.0f) float);
3262    method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes.Builder setFrustumNearInWorldSpace(@FloatRange(from=0.0f) float);
3263    method @NonNull public android.app.wallpapereffectsgeneration.CameraAttributes.Builder setVerticalFovDegrees(@FloatRange(from=0.0f, to=180.0f, fromInclusive=false) float);
3264  }
3265
3266  public final class CinematicEffectRequest implements android.os.Parcelable {
3267    ctor public CinematicEffectRequest(@NonNull String, @NonNull android.graphics.Bitmap);
3268    method public int describeContents();
3269    method @NonNull public android.graphics.Bitmap getBitmap();
3270    method @NonNull public String getTaskId();
3271    method public void writeToParcel(@NonNull android.os.Parcel, int);
3272    field @NonNull public static final android.os.Parcelable.Creator<android.app.wallpapereffectsgeneration.CinematicEffectRequest> CREATOR;
3273  }
3274
3275  public final class CinematicEffectResponse implements android.os.Parcelable {
3276    method public int describeContents();
3277    method @Nullable public android.app.wallpapereffectsgeneration.CameraAttributes getEndKeyFrame();
3278    method public int getImageContentType();
3279    method @Nullable public android.app.wallpapereffectsgeneration.CameraAttributes getStartKeyFrame();
3280    method public int getStatusCode();
3281    method @NonNull public String getTaskId();
3282    method @NonNull public java.util.List<android.app.wallpapereffectsgeneration.TexturedMesh> getTexturedMeshes();
3283    method public void writeToParcel(@NonNull android.os.Parcel, int);
3284    field public static final int CINEMATIC_EFFECT_STATUS_ANIMATION_FAILURE = 10; // 0xa
3285    field public static final int CINEMATIC_EFFECT_STATUS_CONTENT_TARGET_ERROR = 8; // 0x8
3286    field public static final int CINEMATIC_EFFECT_STATUS_CONTENT_TOO_FLAT = 9; // 0x9
3287    field public static final int CINEMATIC_EFFECT_STATUS_CONTENT_UNSUPPORTED = 7; // 0x7
3288    field public static final int CINEMATIC_EFFECT_STATUS_ERROR = 0; // 0x0
3289    field public static final int CINEMATIC_EFFECT_STATUS_FEATURE_DISABLED = 5; // 0x5
3290    field public static final int CINEMATIC_EFFECT_STATUS_IMAGE_FORMAT_NOT_SUITABLE = 6; // 0x6
3291    field public static final int CINEMATIC_EFFECT_STATUS_NOT_READY = 2; // 0x2
3292    field public static final int CINEMATIC_EFFECT_STATUS_OK = 1; // 0x1
3293    field public static final int CINEMATIC_EFFECT_STATUS_PENDING = 3; // 0x3
3294    field public static final int CINEMATIC_EFFECT_STATUS_TOO_MANY_REQUESTS = 4; // 0x4
3295    field @NonNull public static final android.os.Parcelable.Creator<android.app.wallpapereffectsgeneration.CinematicEffectResponse> CREATOR;
3296    field public static final int IMAGE_CONTENT_TYPE_LANDSCAPE = 2; // 0x2
3297    field public static final int IMAGE_CONTENT_TYPE_OTHER = 3; // 0x3
3298    field public static final int IMAGE_CONTENT_TYPE_PEOPLE_PORTRAIT = 1; // 0x1
3299    field public static final int IMAGE_CONTENT_TYPE_UNKNOWN = 0; // 0x0
3300  }
3301
3302  public static final class CinematicEffectResponse.Builder {
3303    ctor public CinematicEffectResponse.Builder(int, @NonNull String);
3304    method @NonNull public android.app.wallpapereffectsgeneration.CinematicEffectResponse build();
3305    method @NonNull public android.app.wallpapereffectsgeneration.CinematicEffectResponse.Builder setEndKeyFrame(@Nullable android.app.wallpapereffectsgeneration.CameraAttributes);
3306    method @NonNull public android.app.wallpapereffectsgeneration.CinematicEffectResponse.Builder setImageContentType(int);
3307    method @NonNull public android.app.wallpapereffectsgeneration.CinematicEffectResponse.Builder setStartKeyFrame(@Nullable android.app.wallpapereffectsgeneration.CameraAttributes);
3308    method @NonNull public android.app.wallpapereffectsgeneration.CinematicEffectResponse.Builder setTexturedMeshes(@NonNull java.util.List<android.app.wallpapereffectsgeneration.TexturedMesh>);
3309  }
3310
3311  public final class TexturedMesh implements android.os.Parcelable {
3312    method public int describeContents();
3313    method @NonNull public android.graphics.Bitmap getBitmap();
3314    method @NonNull public int[] getIndices();
3315    method @NonNull public int getIndicesLayoutType();
3316    method @NonNull public float[] getVertices();
3317    method @NonNull public int getVerticesLayoutType();
3318    method public void writeToParcel(@NonNull android.os.Parcel, int);
3319    field @NonNull public static final android.os.Parcelable.Creator<android.app.wallpapereffectsgeneration.TexturedMesh> CREATOR;
3320    field public static final int INDICES_LAYOUT_TRIANGLES = 1; // 0x1
3321    field public static final int INDICES_LAYOUT_UNDEFINED = 0; // 0x0
3322    field public static final int VERTICES_LAYOUT_POSITION3_UV2 = 1; // 0x1
3323    field public static final int VERTICES_LAYOUT_UNDEFINED = 0; // 0x0
3324  }
3325
3326  public static final class TexturedMesh.Builder {
3327    ctor public TexturedMesh.Builder(@NonNull android.graphics.Bitmap);
3328    method @NonNull public android.app.wallpapereffectsgeneration.TexturedMesh build();
3329    method @NonNull public android.app.wallpapereffectsgeneration.TexturedMesh.Builder setIndices(@NonNull int[]);
3330    method @NonNull public android.app.wallpapereffectsgeneration.TexturedMesh.Builder setIndicesLayoutType(int);
3331    method @NonNull public android.app.wallpapereffectsgeneration.TexturedMesh.Builder setVertices(@NonNull float[]);
3332    method @NonNull public android.app.wallpapereffectsgeneration.TexturedMesh.Builder setVerticesLayoutType(int);
3333  }
3334
3335  public final class WallpaperEffectsGenerationManager {
3336    method @RequiresPermission(android.Manifest.permission.MANAGE_WALLPAPER_EFFECTS_GENERATION) public void generateCinematicEffect(@NonNull android.app.wallpapereffectsgeneration.CinematicEffectRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.wallpapereffectsgeneration.WallpaperEffectsGenerationManager.CinematicEffectListener);
3337  }
3338
3339  public static interface WallpaperEffectsGenerationManager.CinematicEffectListener {
3340    method public void onCinematicEffectGenerated(@NonNull android.app.wallpapereffectsgeneration.CinematicEffectResponse);
3341  }
3342
3343}
3344
3345package android.app.wearable {
3346
3347  @FlaggedApi("android.app.wearable.enable_data_request_observer_api") public final class WearableSensingDataRequest implements android.os.Parcelable {
3348    method public int describeContents();
3349    method public int getDataSize();
3350    method public int getDataType();
3351    method public static int getMaxRequestSize();
3352    method public static int getRateLimit();
3353    method @NonNull public static java.time.Duration getRateLimitWindowSize();
3354    method @NonNull public android.os.PersistableBundle getRequestDetails();
3355    method public void writeToParcel(@NonNull android.os.Parcel, int);
3356    field @NonNull public static final android.os.Parcelable.Creator<android.app.wearable.WearableSensingDataRequest> CREATOR;
3357  }
3358
3359  @FlaggedApi("android.app.wearable.enable_data_request_observer_api") public static final class WearableSensingDataRequest.Builder {
3360    ctor public WearableSensingDataRequest.Builder(int);
3361    method @NonNull public android.app.wearable.WearableSensingDataRequest build();
3362    method @NonNull public android.app.wearable.WearableSensingDataRequest.Builder setRequestDetails(@NonNull android.os.PersistableBundle);
3363  }
3364
3365  public class WearableSensingManager {
3366    method @FlaggedApi("android.app.wearable.enable_data_request_observer_api") @Nullable public static android.app.wearable.WearableSensingDataRequest getDataRequestFromIntent(@NonNull android.content.Intent);
3367    method @FlaggedApi("android.app.wearable.enable_provide_wearable_connection_api") @RequiresPermission(android.Manifest.permission.MANAGE_WEARABLE_SENSING_SERVICE) public void provideConnection(@NonNull android.os.ParcelFileDescriptor, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
3368    method @RequiresPermission(android.Manifest.permission.MANAGE_WEARABLE_SENSING_SERVICE) public void provideData(@NonNull android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
3369    method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_WEARABLE_SENSING_SERVICE) public void provideDataStream(@NonNull android.os.ParcelFileDescriptor, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
3370    method @FlaggedApi("android.app.wearable.enable_data_request_observer_api") @RequiresPermission(android.Manifest.permission.MANAGE_WEARABLE_SENSING_SERVICE) public void registerDataRequestObserver(int, @NonNull android.app.PendingIntent, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
3371    method @FlaggedApi("android.app.wearable.enable_hotword_wearable_sensing_api") @RequiresPermission(android.Manifest.permission.MANAGE_WEARABLE_SENSING_SERVICE) public void startHotwordRecognition(@Nullable android.content.ComponentName, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
3372    method @FlaggedApi("android.app.wearable.enable_hotword_wearable_sensing_api") @RequiresPermission(android.Manifest.permission.MANAGE_WEARABLE_SENSING_SERVICE) public void stopHotwordRecognition(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
3373    method @FlaggedApi("android.app.wearable.enable_data_request_observer_api") @RequiresPermission(android.Manifest.permission.MANAGE_WEARABLE_SENSING_SERVICE) public void unregisterDataRequestObserver(int, @NonNull android.app.PendingIntent, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
3374    field public static final int STATUS_ACCESS_DENIED = 5; // 0x5
3375    field @FlaggedApi("android.app.wearable.enable_provide_wearable_connection_api") public static final int STATUS_CHANNEL_ERROR = 7; // 0x7
3376    field public static final int STATUS_SERVICE_UNAVAILABLE = 3; // 0x3
3377    field public static final int STATUS_SUCCESS = 1; // 0x1
3378    field public static final int STATUS_UNKNOWN = 0; // 0x0
3379    field @Deprecated public static final int STATUS_UNSUPPORTED = 2; // 0x2
3380    field @FlaggedApi("android.app.wearable.enable_data_request_observer_api") public static final int STATUS_UNSUPPORTED_DATA_TYPE = 8; // 0x8
3381    field @FlaggedApi("android.app.wearable.enable_unsupported_operation_status_code") public static final int STATUS_UNSUPPORTED_OPERATION = 6; // 0x6
3382    field public static final int STATUS_WEARABLE_UNAVAILABLE = 4; // 0x4
3383  }
3384
3385}
3386
3387package android.apphibernation {
3388
3389  public class AppHibernationManager {
3390    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public java.util.List<java.lang.String> getHibernatingPackagesForUser();
3391    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public java.util.Map<java.lang.String,android.apphibernation.HibernationStats> getHibernationStatsForUser(@NonNull java.util.Set<java.lang.String>);
3392    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public java.util.Map<java.lang.String,android.apphibernation.HibernationStats> getHibernationStatsForUser();
3393    method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public boolean isHibernatingForUser(@NonNull String);
3394    method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public boolean isHibernatingGlobally(@NonNull String);
3395    method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public boolean isOatArtifactDeletionEnabled();
3396    method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public void setHibernatingForUser(@NonNull String, boolean);
3397    method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public void setHibernatingGlobally(@NonNull String, boolean);
3398  }
3399
3400  public final class HibernationStats implements android.os.Parcelable {
3401    method public int describeContents();
3402    method public long getDiskBytesSaved();
3403    method public void writeToParcel(@NonNull android.os.Parcel, int);
3404    field @NonNull public static final android.os.Parcelable.Creator<android.apphibernation.HibernationStats> CREATOR;
3405  }
3406
3407}
3408
3409package android.companion {
3410
3411  public final class AssociationInfo implements android.os.Parcelable {
3412    method @NonNull public String getPackageName();
3413  }
3414
3415  public final class CompanionDeviceManager {
3416    method @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public void addOnAssociationsChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.companion.CompanionDeviceManager.OnAssociationsChangedListener);
3417    method @RequiresPermission(android.Manifest.permission.ASSOCIATE_COMPANION_DEVICES) public void associate(@NonNull String, @NonNull android.net.MacAddress, @NonNull byte[]);
3418    method @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public boolean canPairWithoutPrompt(@NonNull String, @NonNull String, @NonNull android.os.UserHandle);
3419    method @NonNull @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public java.util.List<android.companion.AssociationInfo> getAllAssociations();
3420    method @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public boolean isDeviceAssociatedForWifiConnection(@NonNull String, @NonNull android.net.MacAddress, @NonNull android.os.UserHandle);
3421    method @RequiresPermission(android.Manifest.permission.REQUEST_COMPANION_SELF_MANAGED) public void notifyDeviceAppeared(int);
3422    method @RequiresPermission(android.Manifest.permission.REQUEST_COMPANION_SELF_MANAGED) public void notifyDeviceDisappeared(int);
3423    method @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public void removeOnAssociationsChangedListener(@NonNull android.companion.CompanionDeviceManager.OnAssociationsChangedListener);
3424  }
3425
3426  public static interface CompanionDeviceManager.OnAssociationsChangedListener {
3427    method public void onAssociationsChanged(@NonNull java.util.List<android.companion.AssociationInfo>);
3428  }
3429
3430}
3431
3432package android.companion.virtual {
3433
3434  public final class VirtualDevice implements android.os.Parcelable {
3435    method @FlaggedApi("android.companion.virtual.flags.vdm_public_apis") public boolean hasCustomAudioInputSupport();
3436    method @FlaggedApi("android.companion.virtual.flags.vdm_public_apis") public boolean hasCustomCameraSupport();
3437  }
3438
3439  public final class VirtualDeviceManager {
3440    method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.companion.virtual.VirtualDeviceManager.VirtualDevice createVirtualDevice(int, @NonNull android.companion.virtual.VirtualDeviceParams);
3441    method @FlaggedApi("android.companion.virtual.flags.persistent_device_id_api") @NonNull public java.util.Set<java.lang.String> getAllPersistentDeviceIds();
3442    method @FlaggedApi("android.companion.virtual.flags.persistent_device_id_api") @Nullable public CharSequence getDisplayNameForPersistentDeviceId(@NonNull String);
3443    field public static final int LAUNCH_FAILURE_NO_ACTIVITY = 2; // 0x2
3444    field public static final int LAUNCH_FAILURE_PENDING_INTENT_CANCELED = 1; // 0x1
3445    field public static final int LAUNCH_SUCCESS = 0; // 0x0
3446    field @FlaggedApi("android.companion.virtual.flags.persistent_device_id_api") public static final String PERSISTENT_DEVICE_ID_DEFAULT = "default:0";
3447  }
3448
3449  public static interface VirtualDeviceManager.ActivityListener {
3450    method public void onDisplayEmpty(int);
3451    method @Deprecated public void onTopActivityChanged(int, @NonNull android.content.ComponentName);
3452    method public default void onTopActivityChanged(int, @NonNull android.content.ComponentName, int);
3453  }
3454
3455  public static interface VirtualDeviceManager.IntentInterceptorCallback {
3456    method public void onIntentIntercepted(@NonNull android.content.Intent);
3457  }
3458
3459  public static interface VirtualDeviceManager.SoundEffectListener {
3460    method public void onPlaySoundEffect(int);
3461  }
3462
3463  public static class VirtualDeviceManager.VirtualDevice implements java.lang.AutoCloseable {
3464    method public void addActivityListener(@NonNull java.util.concurrent.Executor, @NonNull android.companion.virtual.VirtualDeviceManager.ActivityListener);
3465    method @FlaggedApi("android.companion.virtual.flags.dynamic_policy") @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void addActivityPolicyExemption(@NonNull android.content.ComponentName);
3466    method public void addSoundEffectListener(@NonNull java.util.concurrent.Executor, @NonNull android.companion.virtual.VirtualDeviceManager.SoundEffectListener);
3467    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close();
3468    method @NonNull public android.content.Context createContext();
3469    method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.companion.virtual.audio.VirtualAudioDevice createVirtualAudioDevice(@NonNull android.hardware.display.VirtualDisplay, @Nullable java.util.concurrent.Executor, @Nullable android.companion.virtual.audio.VirtualAudioDevice.AudioConfigurationChangeCallback);
3470    method @FlaggedApi("android.companion.virtual.flags.virtual_camera") @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.companion.virtual.camera.VirtualCamera createVirtualCamera(@NonNull android.companion.virtual.camera.VirtualCameraConfig);
3471    method @Deprecated @Nullable public android.hardware.display.VirtualDisplay createVirtualDisplay(@IntRange(from=1) int, @IntRange(from=1) int, @IntRange(from=1) int, @Nullable android.view.Surface, int, @Nullable java.util.concurrent.Executor, @Nullable android.hardware.display.VirtualDisplay.Callback);
3472    method @Nullable public android.hardware.display.VirtualDisplay createVirtualDisplay(@NonNull android.hardware.display.VirtualDisplayConfig, @Nullable java.util.concurrent.Executor, @Nullable android.hardware.display.VirtualDisplay.Callback);
3473    method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualDpad createVirtualDpad(@NonNull android.hardware.input.VirtualDpadConfig);
3474    method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualKeyboard createVirtualKeyboard(@NonNull android.hardware.input.VirtualKeyboardConfig);
3475    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualKeyboard createVirtualKeyboard(@NonNull android.hardware.display.VirtualDisplay, @NonNull String, int, int);
3476    method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualMouse createVirtualMouse(@NonNull android.hardware.input.VirtualMouseConfig);
3477    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualMouse createVirtualMouse(@NonNull android.hardware.display.VirtualDisplay, @NonNull String, int, int);
3478    method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualNavigationTouchpad createVirtualNavigationTouchpad(@NonNull android.hardware.input.VirtualNavigationTouchpadConfig);
3479    method @FlaggedApi("android.companion.virtual.flags.virtual_stylus") @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualStylus createVirtualStylus(@NonNull android.hardware.input.VirtualStylusConfig);
3480    method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualTouchscreen createVirtualTouchscreen(@NonNull android.hardware.input.VirtualTouchscreenConfig);
3481    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualTouchscreen createVirtualTouchscreen(@NonNull android.hardware.display.VirtualDisplay, @NonNull String, int, int);
3482    method public int getDeviceId();
3483    method @FlaggedApi("android.companion.virtual.flags.vdm_public_apis") @Nullable public String getPersistentDeviceId();
3484    method @NonNull public java.util.List<android.companion.virtual.sensor.VirtualSensor> getVirtualSensorList();
3485    method public void launchPendingIntent(int, @NonNull android.app.PendingIntent, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.IntConsumer);
3486    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void registerIntentInterceptor(@NonNull android.content.IntentFilter, @NonNull java.util.concurrent.Executor, @NonNull android.companion.virtual.VirtualDeviceManager.IntentInterceptorCallback);
3487    method public void removeActivityListener(@NonNull android.companion.virtual.VirtualDeviceManager.ActivityListener);
3488    method @FlaggedApi("android.companion.virtual.flags.dynamic_policy") @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void removeActivityPolicyExemption(@NonNull android.content.ComponentName);
3489    method public void removeSoundEffectListener(@NonNull android.companion.virtual.VirtualDeviceManager.SoundEffectListener);
3490    method @FlaggedApi("android.companion.virtual.flags.dynamic_policy") @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void setDevicePolicy(int, int);
3491    method @FlaggedApi("android.companion.virtual.flags.vdm_custom_ime") @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void setDisplayImePolicy(int, int);
3492    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void setShowPointerIcon(boolean);
3493    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void unregisterIntentInterceptor(@NonNull android.companion.virtual.VirtualDeviceManager.IntentInterceptorCallback);
3494  }
3495
3496  public final class VirtualDeviceParams implements android.os.Parcelable {
3497    method public int describeContents();
3498    method @Deprecated @NonNull public java.util.Set<android.content.ComponentName> getAllowedActivities();
3499    method @Deprecated @NonNull public java.util.Set<android.content.ComponentName> getAllowedCrossTaskNavigations();
3500    method public int getAudioPlaybackSessionId();
3501    method public int getAudioRecordingSessionId();
3502    method @Deprecated @NonNull public java.util.Set<android.content.ComponentName> getBlockedActivities();
3503    method @Deprecated @NonNull public java.util.Set<android.content.ComponentName> getBlockedCrossTaskNavigations();
3504    method @Deprecated public int getDefaultActivityPolicy();
3505    method @Deprecated public int getDefaultNavigationPolicy();
3506    method public int getDevicePolicy(int);
3507    method @FlaggedApi("android.companion.virtual.flags.vdm_custom_home") @Nullable public android.content.ComponentName getHomeComponent();
3508    method @FlaggedApi("android.companion.virtual.flags.vdm_custom_ime") @Nullable public android.content.ComponentName getInputMethodComponent();
3509    method public int getLockState();
3510    method @Nullable public String getName();
3511    method @NonNull public java.util.Set<android.os.UserHandle> getUsersWithMatchingAccounts();
3512    method @NonNull public java.util.List<android.companion.virtual.sensor.VirtualSensorConfig> getVirtualSensorConfigs();
3513    method public void writeToParcel(@NonNull android.os.Parcel, int);
3514    field @Deprecated public static final int ACTIVITY_POLICY_DEFAULT_ALLOWED = 0; // 0x0
3515    field @Deprecated public static final int ACTIVITY_POLICY_DEFAULT_BLOCKED = 1; // 0x1
3516    field @NonNull public static final android.os.Parcelable.Creator<android.companion.virtual.VirtualDeviceParams> CREATOR;
3517    field public static final int DEVICE_POLICY_CUSTOM = 1; // 0x1
3518    field public static final int DEVICE_POLICY_DEFAULT = 0; // 0x0
3519    field public static final int LOCK_STATE_ALWAYS_UNLOCKED = 1; // 0x1
3520    field public static final int LOCK_STATE_DEFAULT = 0; // 0x0
3521    field @Deprecated public static final int NAVIGATION_POLICY_DEFAULT_ALLOWED = 0; // 0x0
3522    field @Deprecated public static final int NAVIGATION_POLICY_DEFAULT_BLOCKED = 1; // 0x1
3523    field @FlaggedApi("android.companion.virtual.flags.dynamic_policy") public static final int POLICY_TYPE_ACTIVITY = 3; // 0x3
3524    field public static final int POLICY_TYPE_AUDIO = 1; // 0x1
3525    field @FlaggedApi("android.companion.virtual.flags.virtual_camera") public static final int POLICY_TYPE_CAMERA = 5; // 0x5
3526    field @FlaggedApi("android.companion.virtual.flags.cross_device_clipboard") public static final int POLICY_TYPE_CLIPBOARD = 4; // 0x4
3527    field public static final int POLICY_TYPE_RECENTS = 2; // 0x2
3528    field public static final int POLICY_TYPE_SENSORS = 0; // 0x0
3529  }
3530
3531  public static final class VirtualDeviceParams.Builder {
3532    ctor public VirtualDeviceParams.Builder();
3533    method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder addVirtualSensorConfig(@NonNull android.companion.virtual.sensor.VirtualSensorConfig);
3534    method @NonNull public android.companion.virtual.VirtualDeviceParams build();
3535    method @Deprecated @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setAllowedActivities(@NonNull java.util.Set<android.content.ComponentName>);
3536    method @Deprecated @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setAllowedCrossTaskNavigations(@NonNull java.util.Set<android.content.ComponentName>);
3537    method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setAudioPlaybackSessionId(int);
3538    method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setAudioRecordingSessionId(int);
3539    method @Deprecated @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setBlockedActivities(@NonNull java.util.Set<android.content.ComponentName>);
3540    method @Deprecated @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setBlockedCrossTaskNavigations(@NonNull java.util.Set<android.content.ComponentName>);
3541    method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setDevicePolicy(int, int);
3542    method @FlaggedApi("android.companion.virtual.flags.vdm_custom_home") @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setHomeComponent(@Nullable android.content.ComponentName);
3543    method @FlaggedApi("android.companion.virtual.flags.vdm_custom_ime") @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setInputMethodComponent(@Nullable android.content.ComponentName);
3544    method @NonNull @RequiresPermission(value=android.Manifest.permission.ADD_ALWAYS_UNLOCKED_DISPLAY, conditional=true) public android.companion.virtual.VirtualDeviceParams.Builder setLockState(int);
3545    method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setName(@NonNull String);
3546    method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setUsersWithMatchingAccounts(@NonNull java.util.Set<android.os.UserHandle>);
3547    method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setVirtualSensorCallback(@NonNull java.util.concurrent.Executor, @NonNull android.companion.virtual.sensor.VirtualSensorCallback);
3548    method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setVirtualSensorDirectChannelCallback(@NonNull java.util.concurrent.Executor, @NonNull android.companion.virtual.sensor.VirtualSensorDirectChannelCallback);
3549  }
3550
3551}
3552
3553package android.companion.virtual.audio {
3554
3555  public final class AudioCapture {
3556    method @NonNull public android.media.AudioFormat getFormat();
3557    method public int getRecordingState();
3558    method public int read(@NonNull byte[], int, int);
3559    method public int read(@NonNull byte[], int, int, int);
3560    method public int read(@NonNull java.nio.ByteBuffer, int);
3561    method public int read(@NonNull java.nio.ByteBuffer, int, int);
3562    method public int read(@NonNull float[], int, int, int);
3563    method public int read(@NonNull short[], int, int);
3564    method public int read(@NonNull short[], int, int, int);
3565    method public void startRecording();
3566    method public void stop();
3567  }
3568
3569  public final class AudioInjection {
3570    method @NonNull public android.media.AudioFormat getFormat();
3571    method public int getPlayState();
3572    method public void play();
3573    method public void stop();
3574    method public int write(@NonNull byte[], int, int);
3575    method public int write(@NonNull byte[], int, int, int);
3576    method public int write(@NonNull java.nio.ByteBuffer, int, int);
3577    method public int write(@NonNull java.nio.ByteBuffer, int, int, long);
3578    method public int write(@NonNull float[], int, int, int);
3579    method public int write(@NonNull short[], int, int);
3580    method public int write(@NonNull short[], int, int, int);
3581  }
3582
3583  public final class VirtualAudioDevice implements java.io.Closeable {
3584    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void close();
3585    method @Nullable public android.companion.virtual.audio.AudioCapture getAudioCapture();
3586    method @Nullable public android.companion.virtual.audio.AudioInjection getAudioInjection();
3587    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.companion.virtual.audio.AudioCapture startAudioCapture(@NonNull android.media.AudioFormat);
3588    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.companion.virtual.audio.AudioInjection startAudioInjection(@NonNull android.media.AudioFormat);
3589  }
3590
3591  public static interface VirtualAudioDevice.AudioConfigurationChangeCallback {
3592    method public void onPlaybackConfigChanged(@NonNull java.util.List<android.media.AudioPlaybackConfiguration>);
3593    method public void onRecordingConfigChanged(@NonNull java.util.List<android.media.AudioRecordingConfiguration>);
3594  }
3595
3596}
3597
3598package android.companion.virtual.camera {
3599
3600  @FlaggedApi("android.companion.virtual.flags.virtual_camera") public final class VirtualCamera implements java.io.Closeable {
3601    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close();
3602    method @NonNull public android.companion.virtual.camera.VirtualCameraConfig getConfig();
3603  }
3604
3605  @FlaggedApi("android.companion.virtual.flags.virtual_camera") public interface VirtualCameraCallback {
3606    method public default void onProcessCaptureRequest(int, long);
3607    method public void onStreamClosed(int);
3608    method public void onStreamConfigured(int, @NonNull android.view.Surface, @IntRange(from=1) int, @IntRange(from=1) int, int);
3609  }
3610
3611  @FlaggedApi("android.companion.virtual.flags.virtual_camera") public final class VirtualCameraConfig implements android.os.Parcelable {
3612    method public int describeContents();
3613    method public int getLensFacing();
3614    method @NonNull public String getName();
3615    method public int getSensorOrientation();
3616    method @NonNull public java.util.Set<android.companion.virtual.camera.VirtualCameraStreamConfig> getStreamConfigs();
3617    method public void writeToParcel(@NonNull android.os.Parcel, int);
3618    field @NonNull public static final android.os.Parcelable.Creator<android.companion.virtual.camera.VirtualCameraConfig> CREATOR;
3619    field public static final int SENSOR_ORIENTATION_0 = 0; // 0x0
3620    field public static final int SENSOR_ORIENTATION_180 = 180; // 0xb4
3621    field public static final int SENSOR_ORIENTATION_270 = 270; // 0x10e
3622    field public static final int SENSOR_ORIENTATION_90 = 90; // 0x5a
3623  }
3624
3625  @FlaggedApi("android.companion.virtual.flags.virtual_camera") public static final class VirtualCameraConfig.Builder {
3626    ctor public VirtualCameraConfig.Builder(@NonNull String);
3627    method @NonNull public android.companion.virtual.camera.VirtualCameraConfig.Builder addStreamConfig(@IntRange(from=1) int, @IntRange(from=1) int, int, @IntRange(from=1) int);
3628    method @NonNull public android.companion.virtual.camera.VirtualCameraConfig build();
3629    method @NonNull public android.companion.virtual.camera.VirtualCameraConfig.Builder setLensFacing(int);
3630    method @NonNull public android.companion.virtual.camera.VirtualCameraConfig.Builder setSensorOrientation(int);
3631    method @NonNull public android.companion.virtual.camera.VirtualCameraConfig.Builder setVirtualCameraCallback(@NonNull java.util.concurrent.Executor, @NonNull android.companion.virtual.camera.VirtualCameraCallback);
3632  }
3633
3634  @FlaggedApi("android.companion.virtual.flags.virtual_camera") public final class VirtualCameraStreamConfig implements android.os.Parcelable {
3635    method public int describeContents();
3636    method public int getFormat();
3637    method @IntRange(from=1) public int getHeight();
3638    method @IntRange(from=1) public int getMaximumFramesPerSecond();
3639    method @IntRange(from=1) public int getWidth();
3640    method public void writeToParcel(@NonNull android.os.Parcel, int);
3641    field @NonNull public static final android.os.Parcelable.Creator<android.companion.virtual.camera.VirtualCameraStreamConfig> CREATOR;
3642  }
3643
3644}
3645
3646package android.companion.virtual.sensor {
3647
3648  public final class VirtualSensor implements android.os.Parcelable {
3649    method public int describeContents();
3650    method public int getDeviceId();
3651    method @NonNull public String getName();
3652    method public int getType();
3653    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendEvent(@NonNull android.companion.virtual.sensor.VirtualSensorEvent);
3654    method public void writeToParcel(@NonNull android.os.Parcel, int);
3655    field @NonNull public static final android.os.Parcelable.Creator<android.companion.virtual.sensor.VirtualSensor> CREATOR;
3656  }
3657
3658  public interface VirtualSensorCallback {
3659    method public void onConfigurationChanged(@NonNull android.companion.virtual.sensor.VirtualSensor, boolean, @NonNull java.time.Duration, @NonNull java.time.Duration);
3660  }
3661
3662  public final class VirtualSensorConfig implements android.os.Parcelable {
3663    method public int describeContents();
3664    method public int getDirectChannelTypesSupported();
3665    method public int getHighestDirectReportRateLevel();
3666    method public int getMaxDelay();
3667    method public float getMaximumRange();
3668    method public int getMinDelay();
3669    method @NonNull public String getName();
3670    method public float getPower();
3671    method public float getResolution();
3672    method public int getType();
3673    method @Nullable public String getVendor();
3674    method public void writeToParcel(@NonNull android.os.Parcel, int);
3675    field @NonNull public static final android.os.Parcelable.Creator<android.companion.virtual.sensor.VirtualSensorConfig> CREATOR;
3676  }
3677
3678  public static final class VirtualSensorConfig.Builder {
3679    ctor public VirtualSensorConfig.Builder(@IntRange(from=1) int, @NonNull String);
3680    method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig build();
3681    method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setDirectChannelTypesSupported(int);
3682    method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setHighestDirectReportRateLevel(int);
3683    method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setMaxDelay(int);
3684    method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setMaximumRange(float);
3685    method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setMinDelay(int);
3686    method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setPower(float);
3687    method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setResolution(float);
3688    method @NonNull public android.companion.virtual.sensor.VirtualSensorConfig.Builder setVendor(@Nullable String);
3689  }
3690
3691  public interface VirtualSensorDirectChannelCallback {
3692    method public void onDirectChannelConfigured(@IntRange(from=1) int, @NonNull android.companion.virtual.sensor.VirtualSensor, int, @IntRange(from=1) int);
3693    method public void onDirectChannelCreated(@IntRange(from=1) int, @NonNull android.os.SharedMemory);
3694    method public void onDirectChannelDestroyed(@IntRange(from=1) int);
3695  }
3696
3697  public final class VirtualSensorDirectChannelWriter implements java.lang.AutoCloseable {
3698    ctor public VirtualSensorDirectChannelWriter();
3699    method public void addChannel(@IntRange(from=1) int, @NonNull android.os.SharedMemory) throws android.system.ErrnoException;
3700    method public void close();
3701    method public boolean configureChannel(@IntRange(from=1) int, @NonNull android.companion.virtual.sensor.VirtualSensor, int, @IntRange(from=1) int);
3702    method public void removeChannel(@IntRange(from=1) int);
3703    method public boolean writeSensorEvent(@NonNull android.companion.virtual.sensor.VirtualSensor, @NonNull android.companion.virtual.sensor.VirtualSensorEvent);
3704  }
3705
3706  public final class VirtualSensorEvent implements android.os.Parcelable {
3707    method public int describeContents();
3708    method public long getTimestampNanos();
3709    method @NonNull public float[] getValues();
3710    method public void writeToParcel(@NonNull android.os.Parcel, int);
3711    field @NonNull public static final android.os.Parcelable.Creator<android.companion.virtual.sensor.VirtualSensorEvent> CREATOR;
3712  }
3713
3714  public static final class VirtualSensorEvent.Builder {
3715    ctor public VirtualSensorEvent.Builder(@NonNull float[]);
3716    method @NonNull public android.companion.virtual.sensor.VirtualSensorEvent build();
3717    method @NonNull public android.companion.virtual.sensor.VirtualSensorEvent.Builder setTimestampNanos(long);
3718  }
3719
3720}
3721
3722package android.content {
3723
3724  public class ApexEnvironment {
3725    method @NonNull public static android.content.ApexEnvironment getApexEnvironment(@NonNull String);
3726    method @NonNull public java.io.File getCredentialProtectedDataDirForUser(@NonNull android.os.UserHandle);
3727    method @NonNull public java.io.File getDeviceProtectedDataDir();
3728    method @NonNull public java.io.File getDeviceProtectedDataDirForUser(@NonNull android.os.UserHandle);
3729  }
3730
3731  public final class AttributionSource implements android.os.Parcelable {
3732    method @NonNull @RequiresPermission(android.Manifest.permission.RENOUNCE_PERMISSIONS) public java.util.Set<java.lang.String> getRenouncedPermissions();
3733  }
3734
3735  public static final class AttributionSource.Builder {
3736    method @NonNull @RequiresPermission(android.Manifest.permission.RENOUNCE_PERMISSIONS) public android.content.AttributionSource.Builder setRenouncedPermissions(@Nullable java.util.Set<java.lang.String>);
3737  }
3738
3739  public abstract class BroadcastReceiver {
3740    method @NonNull public final android.os.UserHandle getSendingUser();
3741  }
3742
3743  public class ClipboardManager extends android.text.ClipboardManager {
3744    method @RequiresPermission(android.Manifest.permission.MANAGE_CLIPBOARD_ACCESS_NOTIFICATION) public boolean areClipboardAccessNotificationsEnabled();
3745    method @RequiresPermission(android.Manifest.permission.MANAGE_CLIPBOARD_ACCESS_NOTIFICATION) public void setClipboardAccessNotificationsEnabled(boolean);
3746    method @RequiresPermission(android.Manifest.permission.SET_CLIP_SOURCE) public void setPrimaryClipAsPackage(@NonNull android.content.ClipData, @NonNull String);
3747  }
3748
3749  public abstract class ContentProvider implements android.content.ComponentCallbacks2 {
3750    method public int checkUriPermission(@NonNull android.net.Uri, int, int);
3751  }
3752
3753  public class ContentProviderClient implements java.lang.AutoCloseable {
3754    method @RequiresPermission(android.Manifest.permission.REMOVE_TASKS) public void setDetectNotResponding(long);
3755  }
3756
3757  public abstract class ContentResolver {
3758    method public int checkUriPermission(@NonNull android.net.Uri, int, int);
3759    method @NonNull public static android.net.Uri decodeFromFile(@NonNull java.io.File);
3760    method @NonNull public static java.io.File encodeToFile(@NonNull android.net.Uri);
3761    method @Nullable @RequiresPermission("android.permission.CACHE_CONTENT") public android.os.Bundle getCache(@NonNull android.net.Uri);
3762    method @RequiresPermission("android.permission.CACHE_CONTENT") public void putCache(@NonNull android.net.Uri, @Nullable android.os.Bundle);
3763  }
3764
3765  public abstract class Context {
3766    method @NonNull public android.content.Context createContextAsUser(@NonNull android.os.UserHandle, int);
3767    method public abstract android.content.Context createCredentialProtectedStorageContext();
3768    method @NonNull public android.content.Context createPackageContextAsUser(@NonNull String, int, @NonNull android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException;
3769    method @Nullable public abstract java.io.File getPreloadsFileCache();
3770    method public abstract boolean isCredentialProtectedStorage();
3771    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);
3772    method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public android.content.Intent registerReceiverForAllUsers(@Nullable android.content.BroadcastReceiver, @NonNull android.content.IntentFilter, @Nullable String, @Nullable android.os.Handler, int);
3773    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);
3774    method public void sendBroadcastMultiplePermissions(@NonNull android.content.Intent, @NonNull String[], @Nullable android.app.BroadcastOptions);
3775    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public void startActivityAsUser(@NonNull @RequiresPermission android.content.Intent, @NonNull android.os.UserHandle);
3776    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public void startActivityAsUser(@NonNull @RequiresPermission android.content.Intent, @Nullable android.os.Bundle, @NonNull android.os.UserHandle);
3777    field public static final String AMBIENT_CONTEXT_SERVICE = "ambient_context";
3778    field public static final String APP_HIBERNATION_SERVICE = "app_hibernation";
3779    field public static final String APP_INTEGRITY_SERVICE = "app_integrity";
3780    field public static final String APP_PREDICTION_SERVICE = "app_prediction";
3781    field public static final String AUDIO_DEVICE_VOLUME_SERVICE = "audio_device_volume";
3782    field public static final String BACKUP_SERVICE = "backup";
3783    field public static final String BATTERY_STATS_SERVICE = "batterystats";
3784    field public static final int BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS = 1048576; // 0x100000
3785    field @Deprecated public static final int BIND_ALLOW_FOREGROUND_SERVICE_STARTS_FROM_BACKGROUND = 262144; // 0x40000
3786    field @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") public static final String BLOCKED_NUMBERS_SERVICE = "blocked_numbers";
3787    field public static final String CLOUDSEARCH_SERVICE = "cloudsearch";
3788    field public static final String CONTENT_SUGGESTIONS_SERVICE = "content_suggestions";
3789    field public static final String CONTEXTHUB_SERVICE = "contexthub";
3790    field @FlaggedApi("android.app.contextualsearch.flags.enable_service") public static final String CONTEXTUAL_SEARCH_SERVICE = "contextual_search";
3791    field @FlaggedApi("android.permission.flags.enhanced_confirmation_mode_apis_enabled") public static final String ECM_ENHANCED_CONFIRMATION_SERVICE = "ecm_enhanced_confirmation";
3792    field public static final String ETHERNET_SERVICE = "ethernet";
3793    field public static final String EUICC_CARD_SERVICE = "euicc_card";
3794    field public static final String FONT_SERVICE = "font";
3795    field public static final String HDMI_CONTROL_SERVICE = "hdmi_control";
3796    field public static final String MEDIA_TRANSCODING_SERVICE = "media_transcoding";
3797    field public static final String MUSIC_RECOGNITION_SERVICE = "music_recognition";
3798    field public static final String NEARBY_SERVICE = "nearby";
3799    field public static final String NETD_SERVICE = "netd";
3800    field @Deprecated public static final String NETWORK_SCORE_SERVICE = "network_score";
3801    field public static final String OEM_LOCK_SERVICE = "oem_lock";
3802    field @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public static final String ON_DEVICE_INTELLIGENCE_SERVICE = "on_device_intelligence";
3803    field public static final String PERMISSION_CONTROLLER_SERVICE = "permission_controller";
3804    field public static final String PERMISSION_SERVICE = "permission";
3805    field public static final String REBOOT_READINESS_SERVICE = "reboot_readiness";
3806    field public static final String ROLLBACK_SERVICE = "rollback";
3807    field public static final String SAFETY_CENTER_SERVICE = "safety_center";
3808    field public static final String SEARCH_UI_SERVICE = "search_ui";
3809    field public static final String SECURE_ELEMENT_SERVICE = "secure_element";
3810    field public static final String SHARED_CONNECTIVITY_SERVICE = "shared_connectivity";
3811    field public static final String SMARTSPACE_SERVICE = "smartspace";
3812    field public static final String STATS_MANAGER = "stats";
3813    field public static final String SYSTEM_CONFIG_SERVICE = "system_config";
3814    field public static final String SYSTEM_UPDATE_SERVICE = "system_update";
3815    field public static final String TETHERING_SERVICE = "tethering";
3816    field @FlaggedApi("com.android.net.thread.platform.flags.thread_enabled_platform") public static final String THREAD_NETWORK_SERVICE = "thread_network";
3817    field public static final String TIME_MANAGER_SERVICE = "time_manager";
3818    field public static final String TRANSLATION_MANAGER_SERVICE = "translation";
3819    field public static final String UI_TRANSLATION_SERVICE = "ui_translation";
3820    field public static final String UWB_SERVICE = "uwb";
3821    field public static final String VIRTUALIZATION_SERVICE = "virtualization";
3822    field public static final String VR_SERVICE = "vrmanager";
3823    field public static final String WALLPAPER_EFFECTS_GENERATION_SERVICE = "wallpaper_effects_generation";
3824    field public static final String WEARABLE_SENSING_SERVICE = "wearable_sensing";
3825    field public static final String WIFI_NL80211_SERVICE = "wifinl80211";
3826    field @Deprecated public static final String WIFI_RTT_SERVICE = "rttmanager";
3827    field public static final String WIFI_SCANNING_SERVICE = "wifiscanner";
3828  }
3829
3830  public final class ContextParams {
3831    method @NonNull @RequiresPermission(android.Manifest.permission.RENOUNCE_PERMISSIONS) public java.util.Set<java.lang.String> getRenouncedPermissions();
3832  }
3833
3834  public static final class ContextParams.Builder {
3835    method @NonNull @RequiresPermission(android.Manifest.permission.RENOUNCE_PERMISSIONS) public android.content.ContextParams.Builder setRenouncedPermissions(@Nullable java.util.Set<java.lang.String>);
3836  }
3837
3838  public class ContextWrapper extends android.content.Context {
3839    method public android.content.Context createCredentialProtectedStorageContext();
3840    method @Nullable public java.io.File getPreloadsFileCache();
3841    method public boolean isCredentialProtectedStorage();
3842    method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, @Nullable String, @Nullable android.os.Bundle);
3843  }
3844
3845  public class Intent implements java.lang.Cloneable android.os.Parcelable {
3846    field public static final String ACTION_ACTIVITY_RECOGNIZER = "android.intent.action.ACTIVITY_RECOGNIZER";
3847    field public static final String ACTION_BATTERY_LEVEL_CHANGED = "android.intent.action.BATTERY_LEVEL_CHANGED";
3848    field public static final String ACTION_CALL_EMERGENCY = "android.intent.action.CALL_EMERGENCY";
3849    field public static final String ACTION_CALL_PRIVILEGED = "android.intent.action.CALL_PRIVILEGED";
3850    field public static final String ACTION_DEVICE_CUSTOMIZATION_READY = "android.intent.action.DEVICE_CUSTOMIZATION_READY";
3851    field public static final String ACTION_DIAL_EMERGENCY = "android.intent.action.DIAL_EMERGENCY";
3852    field public static final String ACTION_DOMAINS_NEED_VERIFICATION = "android.intent.action.DOMAINS_NEED_VERIFICATION";
3853    field public static final String ACTION_FACTORY_RESET = "android.intent.action.FACTORY_RESET";
3854    field public static final String ACTION_GLOBAL_BUTTON = "android.intent.action.GLOBAL_BUTTON";
3855    field public static final String ACTION_INCIDENT_REPORT_READY = "android.intent.action.INCIDENT_REPORT_READY";
3856    field public static final String ACTION_INSTALL_INSTANT_APP_PACKAGE = "android.intent.action.INSTALL_INSTANT_APP_PACKAGE";
3857    field public static final String ACTION_INSTANT_APP_RESOLVER_SETTINGS = "android.intent.action.INSTANT_APP_RESOLVER_SETTINGS";
3858    field @Deprecated public static final String ACTION_INTENT_FILTER_NEEDS_VERIFICATION = "android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION";
3859    field public static final String ACTION_LOAD_DATA = "android.intent.action.LOAD_DATA";
3860    field @FlaggedApi("android.security.frp_enforcement") public static final String ACTION_MAIN_USER_LOCKSCREEN_KNOWLEDGE_FACTOR_CHANGED = "android.intent.action.MAIN_USER_LOCKSCREEN_KNOWLEDGE_FACTOR_CHANGED";
3861    field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_MANAGE_APP_PERMISSION = "android.intent.action.MANAGE_APP_PERMISSION";
3862    field @Deprecated public static final String ACTION_MANAGE_APP_PERMISSIONS = "android.intent.action.MANAGE_APP_PERMISSIONS";
3863    field @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public static final String ACTION_MANAGE_DEFAULT_APP = "android.intent.action.MANAGE_DEFAULT_APP";
3864    field public static final String ACTION_MANAGE_PERMISSIONS = "android.intent.action.MANAGE_PERMISSIONS";
3865    field public static final String ACTION_MANAGE_PERMISSION_APPS = "android.intent.action.MANAGE_PERMISSION_APPS";
3866    field @RequiresPermission(android.Manifest.permission.START_VIEW_PERMISSION_USAGE) public static final String ACTION_MANAGE_PERMISSION_USAGE = "android.intent.action.MANAGE_PERMISSION_USAGE";
3867    field @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public static final String ACTION_MANAGE_SPECIAL_APP_ACCESSES = "android.intent.action.MANAGE_SPECIAL_APP_ACCESSES";
3868    field @RequiresPermission(android.Manifest.permission.MASTER_CLEAR) public static final String ACTION_MASTER_CLEAR_NOTIFICATION = "android.intent.action.MASTER_CLEAR_NOTIFICATION";
3869    field public static final String ACTION_PACKAGE_NEEDS_INTEGRITY_VERIFICATION = "android.intent.action.PACKAGE_NEEDS_INTEGRITY_VERIFICATION";
3870    field public static final String ACTION_PACKAGE_UNSUSPENDED_MANUALLY = "android.intent.action.PACKAGE_UNSUSPENDED_MANUALLY";
3871    field public static final String ACTION_PENDING_INCIDENT_REPORTS_CHANGED = "android.intent.action.PENDING_INCIDENT_REPORTS_CHANGED";
3872    field public static final String ACTION_PRE_BOOT_COMPLETED = "android.intent.action.PRE_BOOT_COMPLETED";
3873    field public static final String ACTION_QUERY_PACKAGE_RESTART = "android.intent.action.QUERY_PACKAGE_RESTART";
3874    field public static final String ACTION_RESOLVE_INSTANT_APP_PACKAGE = "android.intent.action.RESOLVE_INSTANT_APP_PACKAGE";
3875    field @RequiresPermission(android.Manifest.permission.REVIEW_ACCESSIBILITY_SERVICES) public static final String ACTION_REVIEW_ACCESSIBILITY_SERVICES = "android.intent.action.REVIEW_ACCESSIBILITY_SERVICES";
3876    field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_APP_DATA_SHARING_UPDATES = "android.intent.action.REVIEW_APP_DATA_SHARING_UPDATES";
3877    field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_ONGOING_PERMISSION_USAGE = "android.intent.action.REVIEW_ONGOING_PERMISSION_USAGE";
3878    field public static final String ACTION_REVIEW_PERMISSIONS = "android.intent.action.REVIEW_PERMISSIONS";
3879    field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_PERMISSION_HISTORY = "android.intent.action.REVIEW_PERMISSION_HISTORY";
3880    field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_PERMISSION_USAGE = "android.intent.action.REVIEW_PERMISSION_USAGE";
3881    field public static final String ACTION_ROLLBACK_COMMITTED = "android.intent.action.ROLLBACK_COMMITTED";
3882    field public static final String ACTION_SHOW_SUSPENDED_APP_DETAILS = "android.intent.action.SHOW_SUSPENDED_APP_DETAILS";
3883    field @Deprecated public static final String ACTION_SIM_STATE_CHANGED = "android.intent.action.SIM_STATE_CHANGED";
3884    field public static final String ACTION_SPLIT_CONFIGURATION_CHANGED = "android.intent.action.SPLIT_CONFIGURATION_CHANGED";
3885    field public static final String ACTION_UPGRADE_SETUP = "android.intent.action.UPGRADE_SETUP";
3886    field public static final String ACTION_USER_ADDED = "android.intent.action.USER_ADDED";
3887    field public static final String ACTION_USER_REMOVED = "android.intent.action.USER_REMOVED";
3888    field public static final String ACTION_USER_SWITCHED = "android.intent.action.USER_SWITCHED";
3889    field @RequiresPermission(android.Manifest.permission.START_VIEW_APP_FEATURES) public static final String ACTION_VIEW_APP_FEATURES = "android.intent.action.VIEW_APP_FEATURES";
3890    field @RequiresPermission(android.Manifest.permission.MANAGE_SENSOR_PRIVACY) public static final String ACTION_VIEW_SAFETY_CENTER_QS = "android.intent.action.VIEW_SAFETY_CENTER_QS";
3891    field public static final String ACTION_VOICE_ASSIST = "android.intent.action.VOICE_ASSIST";
3892    field public static final String CATEGORY_LEANBACK_SETTINGS = "android.intent.category.LEANBACK_SETTINGS";
3893    field public static final String EXTRA_CALLING_PACKAGE = "android.intent.extra.CALLING_PACKAGE";
3894    field public static final String EXTRA_FORCE_FACTORY_RESET = "android.intent.extra.FORCE_FACTORY_RESET";
3895    field public static final String EXTRA_INSTALL_RESULT = "android.intent.extra.INSTALL_RESULT";
3896    field public static final String EXTRA_INSTANT_APP_ACTION = "android.intent.extra.INSTANT_APP_ACTION";
3897    field public static final String EXTRA_INSTANT_APP_BUNDLES = "android.intent.extra.INSTANT_APP_BUNDLES";
3898    field public static final String EXTRA_INSTANT_APP_EXTRAS = "android.intent.extra.INSTANT_APP_EXTRAS";
3899    field public static final String EXTRA_INSTANT_APP_FAILURE = "android.intent.extra.INSTANT_APP_FAILURE";
3900    field public static final String EXTRA_INSTANT_APP_HOSTNAME = "android.intent.extra.INSTANT_APP_HOSTNAME";
3901    field public static final String EXTRA_INSTANT_APP_SUCCESS = "android.intent.extra.INSTANT_APP_SUCCESS";
3902    field public static final String EXTRA_INSTANT_APP_TOKEN = "android.intent.extra.INSTANT_APP_TOKEN";
3903    field public static final String EXTRA_LONG_VERSION_CODE = "android.intent.extra.LONG_VERSION_CODE";
3904    field public static final String EXTRA_ORIGINATING_UID = "android.intent.extra.ORIGINATING_UID";
3905    field public static final String EXTRA_PERMISSION_NAME = "android.intent.extra.PERMISSION_NAME";
3906    field public static final String EXTRA_REASON = "android.intent.extra.REASON";
3907    field public static final String EXTRA_REMOTE_CALLBACK = "android.intent.extra.REMOTE_CALLBACK";
3908    field public static final String EXTRA_RESULT_NEEDED = "android.intent.extra.RESULT_NEEDED";
3909    field public static final String EXTRA_ROLE_NAME = "android.intent.extra.ROLE_NAME";
3910    field public static final String EXTRA_SHOWING_ATTRIBUTION = "android.intent.extra.SHOWING_ATTRIBUTION";
3911    field public static final String EXTRA_UNINSTALL_ALL_USERS = "android.intent.extra.UNINSTALL_ALL_USERS";
3912    field public static final String EXTRA_UNKNOWN_INSTANT_APP = "android.intent.extra.UNKNOWN_INSTANT_APP";
3913    field public static final String EXTRA_USER_HANDLE = "android.intent.extra.user_handle";
3914    field public static final String EXTRA_VERIFICATION_BUNDLE = "android.intent.extra.VERIFICATION_BUNDLE";
3915    field public static final int FLAG_RECEIVER_INCLUDE_BACKGROUND = 16777216; // 0x1000000
3916    field public static final int FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT = 67108864; // 0x4000000
3917    field public static final String METADATA_SETUP_VERSION = "android.SETUP_VERSION";
3918  }
3919
3920  public class IntentFilter implements android.os.Parcelable {
3921    method public final int getOrder();
3922    method public final void setOrder(int);
3923  }
3924
3925}
3926
3927package android.content.integrity {
3928
3929  public class AppIntegrityManager {
3930    method @NonNull public String getCurrentRuleSetProvider();
3931    method @NonNull public String getCurrentRuleSetVersion();
3932    method public void updateRuleSet(@NonNull android.content.integrity.RuleSet, @NonNull android.content.IntentSender);
3933    field public static final String EXTRA_STATUS = "android.content.integrity.extra.STATUS";
3934    field public static final int STATUS_FAILURE = 1; // 0x1
3935    field public static final int STATUS_SUCCESS = 0; // 0x0
3936  }
3937
3938  public abstract class IntegrityFormula {
3939    method @NonNull public static android.content.integrity.IntegrityFormula all(@NonNull android.content.integrity.IntegrityFormula...);
3940    method @NonNull public static android.content.integrity.IntegrityFormula any(@NonNull android.content.integrity.IntegrityFormula...);
3941    method @NonNull public static android.content.integrity.IntegrityFormula not(@NonNull android.content.integrity.IntegrityFormula);
3942  }
3943
3944  public static final class IntegrityFormula.Application {
3945    method @NonNull public static android.content.integrity.IntegrityFormula certificateLineageContains(@NonNull String);
3946    method @NonNull public static android.content.integrity.IntegrityFormula certificatesContain(@NonNull String);
3947    method @NonNull public static android.content.integrity.IntegrityFormula isPreInstalled();
3948    method @NonNull public static android.content.integrity.IntegrityFormula packageNameEquals(@NonNull String);
3949    method @NonNull public static android.content.integrity.IntegrityFormula versionCodeEquals(@NonNull long);
3950    method @NonNull public static android.content.integrity.IntegrityFormula versionCodeGreaterThan(@NonNull long);
3951    method @NonNull public static android.content.integrity.IntegrityFormula versionCodeGreaterThanOrEqualTo(@NonNull long);
3952  }
3953
3954  public static final class IntegrityFormula.Installer {
3955    method @NonNull public static android.content.integrity.IntegrityFormula certificatesContain(@NonNull String);
3956    method @NonNull public static android.content.integrity.IntegrityFormula notAllowedByManifest();
3957    method @NonNull public static android.content.integrity.IntegrityFormula packageNameEquals(@NonNull String);
3958  }
3959
3960  public static final class IntegrityFormula.SourceStamp {
3961    method @NonNull public static android.content.integrity.IntegrityFormula notTrusted();
3962    method @NonNull public static android.content.integrity.IntegrityFormula stampCertificateHashEquals(@NonNull String);
3963  }
3964
3965  public final class Rule implements android.os.Parcelable {
3966    ctor public Rule(@NonNull android.content.integrity.IntegrityFormula, int);
3967    method public int describeContents();
3968    method public int getEffect();
3969    method @NonNull public android.content.integrity.IntegrityFormula getFormula();
3970    method public void writeToParcel(@NonNull android.os.Parcel, int);
3971    field @NonNull public static final android.os.Parcelable.Creator<android.content.integrity.Rule> CREATOR;
3972    field public static final int DENY = 0; // 0x0
3973    field public static final int FORCE_ALLOW = 1; // 0x1
3974  }
3975
3976  public class RuleSet {
3977    method @NonNull public java.util.List<android.content.integrity.Rule> getRules();
3978    method @NonNull public String getVersion();
3979  }
3980
3981  public static class RuleSet.Builder {
3982    ctor public RuleSet.Builder();
3983    method @NonNull public android.content.integrity.RuleSet.Builder addRules(@NonNull java.util.List<android.content.integrity.Rule>);
3984    method @NonNull public android.content.integrity.RuleSet build();
3985    method @NonNull public android.content.integrity.RuleSet.Builder setVersion(@NonNull String);
3986  }
3987
3988}
3989
3990package android.content.om {
3991
3992  public final class OverlayInfo implements android.os.Parcelable {
3993    method @Nullable public String getCategory();
3994    method @NonNull public String getPackageName();
3995    method public int getUserId();
3996    method public boolean isEnabled();
3997  }
3998
3999  public class OverlayManager {
4000    method @Nullable public android.content.om.OverlayInfo getOverlayInfo(@NonNull String, @NonNull android.os.UserHandle);
4001    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);
4002    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;
4003    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;
4004  }
4005
4006}
4007
4008package android.content.pm {
4009
4010  public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
4011    method @RequiresPermission(android.Manifest.permission.DELETE_PACKAGES) public boolean hasFragileUserData();
4012    method public boolean isEncryptionAware();
4013    method public boolean isInstantApp();
4014    method public boolean isOem();
4015    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public boolean isPrivilegedApp();
4016    method public boolean isProduct();
4017    method public boolean isVendor();
4018    field public String credentialProtectedDataDir;
4019    field public int targetSandboxVersion;
4020  }
4021
4022  public class CrossProfileApps {
4023    method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_PROFILES, android.Manifest.permission.START_CROSS_PROFILE_ACTIVITIES}) public void startActivity(@NonNull android.content.ComponentName, @NonNull android.os.UserHandle, @Nullable android.app.Activity, @Nullable android.os.Bundle);
4024    method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_PROFILES, android.Manifest.permission.START_CROSS_PROFILE_ACTIVITIES}) public void startActivity(@NonNull android.content.ComponentName, @NonNull android.os.UserHandle);
4025  }
4026
4027  public class DataLoaderParams {
4028    method @NonNull public static final android.content.pm.DataLoaderParams forIncremental(@NonNull android.content.ComponentName, @NonNull String);
4029    method @NonNull public static final android.content.pm.DataLoaderParams forStreaming(@NonNull android.content.ComponentName, @NonNull String);
4030    method @NonNull public final String getArguments();
4031    method @NonNull public final android.content.ComponentName getComponentName();
4032    method @NonNull public final int getType();
4033  }
4034
4035  public final class InstallationFile {
4036    method public long getLengthBytes();
4037    method public int getLocation();
4038    method @Nullable public byte[] getMetadata();
4039    method @NonNull public String getName();
4040    method @Nullable public byte[] getSignature();
4041  }
4042
4043  public final class InstantAppInfo implements android.os.Parcelable {
4044    ctor public InstantAppInfo(android.content.pm.ApplicationInfo, String[], String[]);
4045    ctor public InstantAppInfo(String, CharSequence, String[], String[]);
4046    method public int describeContents();
4047    method @Nullable public android.content.pm.ApplicationInfo getApplicationInfo();
4048    method @Nullable public String[] getGrantedPermissions();
4049    method @NonNull public String getPackageName();
4050    method @Nullable public String[] getRequestedPermissions();
4051    method @NonNull public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.pm.PackageManager);
4052    method @NonNull public CharSequence loadLabel(@NonNull android.content.pm.PackageManager);
4053    method public void writeToParcel(android.os.Parcel, int);
4054    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppInfo> CREATOR;
4055  }
4056
4057  public final class InstantAppIntentFilter implements android.os.Parcelable {
4058    ctor public InstantAppIntentFilter(@Nullable String, @NonNull java.util.List<android.content.IntentFilter>);
4059    method public int describeContents();
4060    method public java.util.List<android.content.IntentFilter> getFilters();
4061    method public String getSplitName();
4062    method public void writeToParcel(android.os.Parcel, int);
4063    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppIntentFilter> CREATOR;
4064  }
4065
4066  public final class InstantAppRequestInfo implements android.os.Parcelable {
4067    ctor public InstantAppRequestInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, boolean, @NonNull String);
4068    method public int describeContents();
4069    method @Nullable public int[] getHostDigestPrefix();
4070    method @NonNull public android.content.Intent getIntent();
4071    method @NonNull public String getToken();
4072    method @NonNull public android.os.UserHandle getUserHandle();
4073    method public boolean isRequesterInstantApp();
4074    method public void writeToParcel(@NonNull android.os.Parcel, int);
4075    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppRequestInfo> CREATOR;
4076  }
4077
4078  public final class InstantAppResolveInfo implements android.os.Parcelable {
4079    ctor public InstantAppResolveInfo(@NonNull android.content.pm.InstantAppResolveInfo.InstantAppDigest, @Nullable String, @Nullable java.util.List<android.content.pm.InstantAppIntentFilter>, int);
4080    ctor public InstantAppResolveInfo(@NonNull android.content.pm.InstantAppResolveInfo.InstantAppDigest, @Nullable String, @Nullable java.util.List<android.content.pm.InstantAppIntentFilter>, long, @Nullable android.os.Bundle);
4081    ctor public InstantAppResolveInfo(@NonNull String, @Nullable String, @Nullable java.util.List<android.content.pm.InstantAppIntentFilter>);
4082    ctor public InstantAppResolveInfo(@Nullable android.os.Bundle);
4083    method public int describeContents();
4084    method public byte[] getDigestBytes();
4085    method public int getDigestPrefix();
4086    method @Nullable public android.os.Bundle getExtras();
4087    method public java.util.List<android.content.pm.InstantAppIntentFilter> getIntentFilters();
4088    method public long getLongVersionCode();
4089    method public String getPackageName();
4090    method @Deprecated public int getVersionCode();
4091    method public boolean shouldLetInstallerDecide();
4092    method public void writeToParcel(android.os.Parcel, int);
4093    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppResolveInfo> CREATOR;
4094  }
4095
4096  public static final class InstantAppResolveInfo.InstantAppDigest implements android.os.Parcelable {
4097    ctor public InstantAppResolveInfo.InstantAppDigest(@NonNull String);
4098    method public int describeContents();
4099    method public byte[][] getDigestBytes();
4100    method public int[] getDigestPrefix();
4101    method public void writeToParcel(android.os.Parcel, int);
4102    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppResolveInfo.InstantAppDigest> CREATOR;
4103    field public static final android.content.pm.InstantAppResolveInfo.InstantAppDigest UNDEFINED;
4104  }
4105
4106  public final class IntentFilterVerificationInfo implements android.os.Parcelable {
4107    method public int describeContents();
4108    method public java.util.Set<java.lang.String> getDomains();
4109    method public String getPackageName();
4110    method public int getStatus();
4111    method public void writeToParcel(android.os.Parcel, int);
4112    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.IntentFilterVerificationInfo> CREATOR;
4113  }
4114
4115  public class LauncherApps {
4116    method @Nullable public android.content.pm.LauncherApps.AppUsageLimit getAppUsageLimit(@NonNull String, @NonNull android.os.UserHandle);
4117  }
4118
4119  public static final class LauncherApps.AppUsageLimit implements android.os.Parcelable {
4120    method public int describeContents();
4121    method public long getTotalUsageLimit();
4122    method public long getUsageRemaining();
4123    method public void writeToParcel(android.os.Parcel, int);
4124    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.AppUsageLimit> CREATOR;
4125  }
4126
4127  public static class LauncherApps.ShortcutQuery {
4128    field public static final int FLAG_GET_PERSISTED_DATA = 4096; // 0x1000
4129    field @RequiresPermission(android.Manifest.permission.ACCESS_SHORTCUTS) public static final int FLAG_GET_PERSONS_DATA = 2048; // 0x800
4130  }
4131
4132  public class PackageInstaller {
4133    method @NonNull public android.content.pm.PackageInstaller.InstallInfo readInstallInfo(@NonNull java.io.File, int) throws android.content.pm.PackageInstaller.PackageParsingException;
4134    method @FlaggedApi("android.content.pm.read_install_info") @NonNull public android.content.pm.PackageInstaller.InstallInfo readInstallInfo(@NonNull android.os.ParcelFileDescriptor, @Nullable String, int) throws android.content.pm.PackageInstaller.PackageParsingException;
4135    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setPermissionsResult(int, boolean);
4136    field public static final String ACTION_CONFIRM_INSTALL = "android.content.pm.action.CONFIRM_INSTALL";
4137    field public static final String ACTION_CONFIRM_PRE_APPROVAL = "android.content.pm.action.CONFIRM_PRE_APPROVAL";
4138    field public static final int DATA_LOADER_TYPE_INCREMENTAL = 2; // 0x2
4139    field public static final int DATA_LOADER_TYPE_NONE = 0; // 0x0
4140    field public static final int DATA_LOADER_TYPE_STREAMING = 1; // 0x1
4141    field public static final String EXTRA_CALLBACK = "android.content.pm.extra.CALLBACK";
4142    field public static final String EXTRA_DATA_LOADER_TYPE = "android.content.pm.extra.DATA_LOADER_TYPE";
4143    field @FlaggedApi("android.content.pm.archiving") public static final String EXTRA_DELETE_FLAGS = "android.content.pm.extra.DELETE_FLAGS";
4144    field public static final String EXTRA_LEGACY_STATUS = "android.content.pm.extra.LEGACY_STATUS";
4145    field @Deprecated public static final String EXTRA_RESOLVED_BASE_PATH = "android.content.pm.extra.RESOLVED_BASE_PATH";
4146    field public static final int LOCATION_DATA_APP = 0; // 0x0
4147    field public static final int LOCATION_MEDIA_DATA = 2; // 0x2
4148    field public static final int LOCATION_MEDIA_OBB = 1; // 0x1
4149    field public static final int REASON_CONFIRM_PACKAGE_CHANGE = 0; // 0x0
4150    field public static final int REASON_OWNERSHIP_CHANGED = 1; // 0x1
4151    field public static final int REASON_REMIND_OWNERSHIP = 2; // 0x2
4152  }
4153
4154  public static class PackageInstaller.InstallInfo {
4155    method public long calculateInstalledSize(@NonNull android.content.pm.PackageInstaller.SessionParams) throws java.io.IOException;
4156    method @FlaggedApi("android.content.pm.read_install_info") public long calculateInstalledSize(@NonNull android.content.pm.PackageInstaller.SessionParams, @NonNull android.os.ParcelFileDescriptor) throws java.io.IOException;
4157    method public int getInstallLocation();
4158    method @NonNull public String getPackageName();
4159  }
4160
4161  public static class PackageInstaller.PackageParsingException extends java.lang.Exception {
4162    method public int getErrorCode();
4163  }
4164
4165  public static class PackageInstaller.Session implements java.io.Closeable {
4166    method @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public void addFile(int, @NonNull String, long, @NonNull byte[], @Nullable byte[]);
4167    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void commitTransferred(@NonNull android.content.IntentSender);
4168    method @Nullable @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public android.content.pm.DataLoaderParams getDataLoaderParams();
4169    method @FlaggedApi("android.content.pm.set_pre_verified_domains") @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_INSTANT_APPS) public java.util.Set<java.lang.String> getPreVerifiedDomains();
4170    method @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public void removeFile(int, @NonNull String);
4171    method @FlaggedApi("android.content.pm.set_pre_verified_domains") @RequiresPermission(android.Manifest.permission.ACCESS_INSTANT_APPS) public void setPreVerifiedDomains(@NonNull java.util.Set<java.lang.String>);
4172  }
4173
4174  public static class PackageInstaller.SessionInfo implements android.os.Parcelable {
4175    method public boolean getAllocateAggressive();
4176    method @Deprecated public boolean getAllowDowngrade();
4177    method public int getAutoRevokePermissionsMode();
4178    method public boolean getEnableRollback();
4179    method @Nullable public String[] getGrantedRuntimePermissions();
4180    method public boolean getInstallAsFullApp(boolean);
4181    method public boolean getInstallAsInstantApp(boolean);
4182    method public boolean getInstallAsVirtualPreload();
4183    method public int getPendingUserActionReason();
4184    method public boolean getRequestDowngrade();
4185    method @FlaggedApi("android.content.pm.get_resolved_apk_path") @Nullable @RequiresPermission(android.Manifest.permission.READ_INSTALLED_SESSION_PATHS) public String getResolvedBaseApkPath();
4186    method public int getRollbackDataPolicy();
4187    method @NonNull public java.util.Set<java.lang.String> getWhitelistedRestrictedPermissions();
4188  }
4189
4190  public static class PackageInstaller.SessionParams implements android.os.Parcelable {
4191    method @RequiresPermission(android.Manifest.permission.ALLOCATE_AGGRESSIVE) public void setAllocateAggressive(boolean);
4192    method @Deprecated public void setAllowDowngrade(boolean);
4193    method @RequiresPermission(allOf={android.Manifest.permission.INSTALL_PACKAGES, "com.android.permission.USE_INSTALLER_V2"}) public void setDataLoaderParams(@NonNull android.content.pm.DataLoaderParams);
4194    method public void setEnableRollback(boolean);
4195    method public void setEnableRollback(boolean, int);
4196    method @Deprecated @RequiresPermission(android.Manifest.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS) public void setGrantedRuntimePermissions(String[]);
4197    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setInstallAsApex();
4198    method public void setInstallAsInstantApp(boolean);
4199    method public void setInstallAsVirtualPreload();
4200    method public void setRequestDowngrade(boolean);
4201    method @FlaggedApi("android.content.pm.recoverability_detection") @RequiresPermission(android.Manifest.permission.MANAGE_ROLLBACKS) public void setRollbackImpactLevel(int);
4202    method @FlaggedApi("android.content.pm.rollback_lifetime") @RequiresPermission(android.Manifest.permission.MANAGE_ROLLBACKS) public void setRollbackLifetimeMillis(long);
4203    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setStaged();
4204  }
4205
4206  public class PackageItemInfo {
4207    method public static void forceSafeLabels();
4208    method @Deprecated @NonNull public CharSequence loadSafeLabel(@NonNull android.content.pm.PackageManager);
4209    method @NonNull public CharSequence loadSafeLabel(@NonNull android.content.pm.PackageManager, @FloatRange(from=0) float, int);
4210  }
4211
4212  public abstract class PackageManager {
4213    method @RequiresPermission("android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS") public abstract void addOnPermissionsChangeListener(@NonNull android.content.pm.PackageManager.OnPermissionsChangedListener);
4214    method public abstract boolean arePermissionsIndividuallyControlled();
4215    method @NonNull public boolean canUserUninstall(@NonNull String, @NonNull android.os.UserHandle);
4216    method @NonNull public abstract java.util.List<android.content.IntentFilter> getAllIntentFilters(@NonNull String);
4217    method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_METADATA) public android.os.PersistableBundle getAppMetadata(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException;
4218    method @FlaggedApi("android.content.pm.asl_in_apk_app_metadata_source") @RequiresPermission(android.Manifest.permission.GET_APP_METADATA) public int getAppMetadataSource(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException;
4219    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;
4220    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.pm.ApplicationInfo getApplicationInfoAsUser(@NonNull String, @NonNull android.content.pm.PackageManager.ApplicationInfoFlags, @NonNull android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException;
4221    method @NonNull public android.content.pm.dex.ArtManager getArtManager();
4222    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_SHARED_LIBRARIES) public java.util.List<android.content.pm.SharedLibraryInfo> getDeclaredSharedLibraries(@NonNull String, int);
4223    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_SHARED_LIBRARIES) public java.util.List<android.content.pm.SharedLibraryInfo> getDeclaredSharedLibraries(@NonNull String, @NonNull android.content.pm.PackageManager.PackageInfoFlags);
4224    method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract String getDefaultBrowserPackageNameAsUser(int);
4225    method @Nullable @RequiresPermission(android.Manifest.permission.SET_HARMFUL_APP_WARNINGS) public CharSequence getHarmfulAppWarning(@NonNull String);
4226    method @Nullable public String getIncidentReportApproverPackageName();
4227    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int);
4228    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(@NonNull android.content.pm.PackageManager.PackageInfoFlags, int);
4229    method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_INSTANT_APPS) public abstract android.graphics.drawable.Drawable getInstantAppIcon(String);
4230    method @Nullable public abstract android.content.ComponentName getInstantAppInstallerComponent();
4231    method @Nullable public abstract android.content.ComponentName getInstantAppResolverSettingsComponent();
4232    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_INSTANT_APPS) public abstract java.util.List<android.content.pm.InstantAppInfo> getInstantApps();
4233    method @Deprecated @NonNull public abstract java.util.List<android.content.pm.IntentFilterVerificationInfo> getIntentFilterVerifications(@NonNull String);
4234    method @Deprecated @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract int getIntentVerificationStatusAsUser(@NonNull String, int);
4235    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public int getPackageUidAsUser(@NonNull String, @NonNull android.content.pm.PackageManager.PackageInfoFlags, int) throws android.content.pm.PackageManager.NameNotFoundException;
4236    method @NonNull public String getPermissionControllerPackageName();
4237    method @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);
4238    method @NonNull @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] getUnsuspendablePackages(@NonNull String[]);
4239    method @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public abstract void grantRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle);
4240    method @Deprecated public abstract int installExistingPackage(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException;
4241    method @Deprecated public abstract int installExistingPackage(@NonNull String, int) throws android.content.pm.PackageManager.NameNotFoundException;
4242    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);
4243    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryBroadcastReceiversAsUser(@NonNull android.content.Intent, @NonNull android.content.pm.PackageManager.ResolveInfoFlags, @NonNull android.os.UserHandle);
4244    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);
4245    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryIntentActivitiesAsUser(@NonNull android.content.Intent, @NonNull android.content.pm.PackageManager.ResolveInfoFlags, @NonNull android.os.UserHandle);
4246    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);
4247    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryIntentContentProvidersAsUser(@NonNull android.content.Intent, @NonNull android.content.pm.PackageManager.ResolveInfoFlags, @NonNull android.os.UserHandle);
4248    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);
4249    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryIntentServicesAsUser(@NonNull android.content.Intent, @NonNull android.content.pm.PackageManager.ResolveInfoFlags, @NonNull android.os.UserHandle);
4250    method public abstract void registerDexModule(@NonNull String, @Nullable android.content.pm.PackageManager.DexModuleRegisterCallback);
4251    method @RequiresPermission("android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS") public abstract void removeOnPermissionsChangeListener(@NonNull android.content.pm.PackageManager.OnPermissionsChangedListener);
4252    method public void replacePreferredActivity(@NonNull android.content.IntentFilter, int, @NonNull java.util.List<android.content.ComponentName>, @NonNull android.content.ComponentName);
4253    method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public abstract void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle);
4254    method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle, @NonNull String);
4255    method public void sendDeviceCustomizationReadyBroadcast();
4256    method @RequiresPermission(allOf={android.Manifest.permission.SET_PREFERRED_APPLICATIONS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public abstract boolean setDefaultBrowserPackageNameAsUser(@Nullable String, int);
4257    method @NonNull @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] setDistractingPackageRestrictions(@NonNull String[], int);
4258    method @RequiresPermission(android.Manifest.permission.SET_HARMFUL_APP_WARNINGS) public void setHarmfulAppWarning(@NonNull String, @Nullable CharSequence);
4259    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);
4260    method @Nullable @RequiresPermission(value=android.Manifest.permission.SUSPEND_APPS, conditional=true) public String[] setPackagesSuspended(@Nullable String[], boolean, @Nullable android.os.PersistableBundle, @Nullable android.os.PersistableBundle, @Nullable android.content.pm.SuspendDialogInfo);
4261    method @FlaggedApi("android.content.pm.quarantined_enabled") @Nullable @RequiresPermission(anyOf={android.Manifest.permission.SUSPEND_APPS, android.Manifest.permission.QUARANTINE_APPS}, conditional=true) public String[] setPackagesSuspended(@Nullable String[], boolean, @Nullable android.os.PersistableBundle, @Nullable android.os.PersistableBundle, @Nullable android.content.pm.SuspendDialogInfo, int);
4262    method @RequiresPermission(value=android.Manifest.permission.CHANGE_COMPONENT_ENABLED_STATE, conditional=true) public void setSyntheticAppDetailsActivityEnabled(@NonNull String, boolean);
4263    method public void setSystemAppState(@NonNull String, int);
4264    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public abstract void setUpdateAvailable(@NonNull String, boolean);
4265    method @NonNull public boolean shouldShowNewAppInstalledNotification();
4266    method @Deprecated @RequiresPermission(android.Manifest.permission.SET_PREFERRED_APPLICATIONS) public abstract boolean updateIntentVerificationStatusAsUser(@NonNull String, int, int);
4267    method @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS}) public abstract void updatePermissionFlags(@NonNull String, @NonNull String, int, int, @NonNull android.os.UserHandle);
4268    method @Deprecated @RequiresPermission(android.Manifest.permission.INTENT_FILTER_VERIFICATION_AGENT) public abstract void verifyIntentFilter(int, int, @NonNull java.util.List<java.lang.String>);
4269    field public static final String ACTION_REQUEST_PERMISSIONS = "android.content.pm.action.REQUEST_PERMISSIONS";
4270    field public static final String ACTION_REQUEST_PERMISSIONS_FOR_OTHER = "android.content.pm.action.REQUEST_PERMISSIONS_FOR_OTHER";
4271    field @FlaggedApi("android.content.pm.asl_in_apk_app_metadata_source") public static final int APP_METADATA_SOURCE_APK = 1; // 0x1
4272    field @FlaggedApi("android.content.pm.asl_in_apk_app_metadata_source") public static final int APP_METADATA_SOURCE_INSTALLER = 2; // 0x2
4273    field @FlaggedApi("android.content.pm.asl_in_apk_app_metadata_source") public static final int APP_METADATA_SOURCE_SYSTEM_IMAGE = 3; // 0x3
4274    field @FlaggedApi("android.content.pm.asl_in_apk_app_metadata_source") public static final int APP_METADATA_SOURCE_UNKNOWN = 0; // 0x0
4275    field public static final int DELETE_ALL_USERS = 2; // 0x2
4276    field public static final int DELETE_FAILED_ABORTED = -5; // 0xfffffffb
4277    field public static final int DELETE_FAILED_DEVICE_POLICY_MANAGER = -2; // 0xfffffffe
4278    field public static final int DELETE_FAILED_INTERNAL_ERROR = -1; // 0xffffffff
4279    field public static final int DELETE_FAILED_OWNER_BLOCKED = -4; // 0xfffffffc
4280    field public static final int DELETE_KEEP_DATA = 1; // 0x1
4281    field public static final int DELETE_SUCCEEDED = 1; // 0x1
4282    field @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") public static final String EXTRA_REQUEST_PERMISSIONS_DEVICE_ID = "android.content.pm.extra.REQUEST_PERMISSIONS_DEVICE_ID";
4283    field public static final String EXTRA_REQUEST_PERMISSIONS_LEGACY_ACCESS_PERMISSION_NAMES = "android.content.pm.extra.REQUEST_PERMISSIONS_LEGACY_ACCESS_PERMISSION_NAMES";
4284    field public static final String EXTRA_REQUEST_PERMISSIONS_NAMES = "android.content.pm.extra.REQUEST_PERMISSIONS_NAMES";
4285    field public static final String EXTRA_REQUEST_PERMISSIONS_RESULTS = "android.content.pm.extra.REQUEST_PERMISSIONS_RESULTS";
4286    field public static final String FEATURE_BROADCAST_RADIO = "android.hardware.broadcastradio";
4287    field public static final String FEATURE_CONTEXT_HUB = "android.hardware.context_hub";
4288    field public static final String FEATURE_EROFS = "android.software.erofs";
4289    field public static final String FEATURE_EROFS_LEGACY = "android.software.erofs_legacy";
4290    field public static final String FEATURE_GAME_SERVICE = "android.software.game_service";
4291    field public static final String FEATURE_INCREMENTAL_DELIVERY = "android.software.incremental_delivery";
4292    field public static final String FEATURE_REBOOT_ESCROW = "android.hardware.reboot_escrow";
4293    field public static final String FEATURE_TELEPHONY_CARRIERLOCK = "android.hardware.telephony.carrierlock";
4294    field public static final String FEATURE_TELEPHONY_IMS_SINGLE_REGISTRATION = "android.hardware.telephony.ims.singlereg";
4295    field public static final String FEATURE_VIRTUALIZATION_FRAMEWORK = "android.software.virtualization_framework";
4296    field public static final int FLAGS_PERMISSION_RESERVED_PERMISSION_CONTROLLER = -268435456; // 0xf0000000
4297    field public static final int FLAG_PERMISSION_APPLY_RESTRICTION = 16384; // 0x4000
4298    field public static final int FLAG_PERMISSION_AUTO_REVOKED = 131072; // 0x20000
4299    field public static final int FLAG_PERMISSION_GRANTED_BY_DEFAULT = 32; // 0x20
4300    field public static final int FLAG_PERMISSION_GRANTED_BY_ROLE = 32768; // 0x8000
4301    field public static final int FLAG_PERMISSION_ONE_TIME = 65536; // 0x10000
4302    field public static final int FLAG_PERMISSION_POLICY_FIXED = 4; // 0x4
4303    field public static final int FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT = 2048; // 0x800
4304    field public static final int FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT = 4096; // 0x1000
4305    field public static final int FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT = 8192; // 0x2000
4306    field public static final int FLAG_PERMISSION_REVIEW_REQUIRED = 64; // 0x40
4307    field public static final int FLAG_PERMISSION_REVOKED_COMPAT = 8; // 0x8
4308    field @Deprecated public static final int FLAG_PERMISSION_REVOKE_ON_UPGRADE = 8; // 0x8
4309    field public static final int FLAG_PERMISSION_REVOKE_WHEN_REQUESTED = 128; // 0x80
4310    field public static final int FLAG_PERMISSION_SELECTED_LOCATION_ACCURACY = 524288; // 0x80000
4311    field public static final int FLAG_PERMISSION_SYSTEM_FIXED = 16; // 0x10
4312    field public static final int FLAG_PERMISSION_USER_FIXED = 2; // 0x2
4313    field public static final int FLAG_PERMISSION_USER_SENSITIVE_WHEN_DENIED = 512; // 0x200
4314    field public static final int FLAG_PERMISSION_USER_SENSITIVE_WHEN_GRANTED = 256; // 0x100
4315    field public static final int FLAG_PERMISSION_USER_SET = 1; // 0x1
4316    field @FlaggedApi("android.content.pm.quarantined_enabled") public static final int FLAG_SUSPEND_QUARANTINED = 1; // 0x1
4317    field public static final int INSTALL_FAILED_ALREADY_EXISTS = -1; // 0xffffffff
4318    field public static final int INSTALL_FAILED_CONFLICTING_PROVIDER = -13; // 0xfffffff3
4319    field public static final int INSTALL_FAILED_CONTAINER_ERROR = -18; // 0xffffffee
4320    field public static final int INSTALL_FAILED_CPU_ABI_INCOMPATIBLE = -16; // 0xfffffff0
4321    field public static final int INSTALL_FAILED_DEXOPT = -11; // 0xfffffff5
4322    field public static final int INSTALL_FAILED_DUPLICATE_PACKAGE = -5; // 0xfffffffb
4323    field public static final int INSTALL_FAILED_INSUFFICIENT_STORAGE = -4; // 0xfffffffc
4324    field public static final int INSTALL_FAILED_INTERNAL_ERROR = -110; // 0xffffff92
4325    field public static final int INSTALL_FAILED_INVALID_APK = -2; // 0xfffffffe
4326    field public static final int INSTALL_FAILED_INVALID_INSTALL_LOCATION = -19; // 0xffffffed
4327    field public static final int INSTALL_FAILED_INVALID_URI = -3; // 0xfffffffd
4328    field public static final int INSTALL_FAILED_MEDIA_UNAVAILABLE = -20; // 0xffffffec
4329    field public static final int INSTALL_FAILED_MISSING_FEATURE = -17; // 0xffffffef
4330    field public static final int INSTALL_FAILED_MISSING_SHARED_LIBRARY = -9; // 0xfffffff7
4331    field public static final int INSTALL_FAILED_NEWER_SDK = -14; // 0xfffffff2
4332    field public static final int INSTALL_FAILED_NO_SHARED_USER = -6; // 0xfffffffa
4333    field public static final int INSTALL_FAILED_OLDER_SDK = -12; // 0xfffffff4
4334    field public static final int INSTALL_FAILED_PACKAGE_CHANGED = -23; // 0xffffffe9
4335    field public static final int INSTALL_FAILED_PERMISSION_MODEL_DOWNGRADE = -26; // 0xffffffe6
4336    field public static final int INSTALL_FAILED_REPLACE_COULDNT_DELETE = -10; // 0xfffffff6
4337    field public static final int INSTALL_FAILED_SANDBOX_VERSION_DOWNGRADE = -27; // 0xffffffe5
4338    field public static final int INSTALL_FAILED_SHARED_USER_INCOMPATIBLE = -8; // 0xfffffff8
4339    field public static final int INSTALL_FAILED_TEST_ONLY = -15; // 0xfffffff1
4340    field public static final int INSTALL_FAILED_UPDATE_INCOMPATIBLE = -7; // 0xfffffff9
4341    field public static final int INSTALL_FAILED_VERIFICATION_FAILURE = -22; // 0xffffffea
4342    field public static final int INSTALL_FAILED_VERIFICATION_TIMEOUT = -21; // 0xffffffeb
4343    field public static final int INSTALL_PARSE_FAILED_BAD_MANIFEST = -101; // 0xffffff9b
4344    field public static final int INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME = -106; // 0xffffff96
4345    field public static final int INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID = -107; // 0xffffff95
4346    field public static final int INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING = -105; // 0xffffff97
4347    field public static final int INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES = -104; // 0xffffff98
4348    field public static final int INSTALL_PARSE_FAILED_MANIFEST_EMPTY = -109; // 0xffffff93
4349    field public static final int INSTALL_PARSE_FAILED_MANIFEST_MALFORMED = -108; // 0xffffff94
4350    field public static final int INSTALL_PARSE_FAILED_NOT_APK = -100; // 0xffffff9c
4351    field public static final int INSTALL_PARSE_FAILED_NO_CERTIFICATES = -103; // 0xffffff99
4352    field public static final int INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION = -102; // 0xffffff9a
4353    field public static final int INSTALL_SUCCEEDED = 1; // 0x1
4354    field @Deprecated public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS = 2; // 0x2
4355    field @Deprecated public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS_ASK = 4; // 0x4
4356    field @Deprecated public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ASK = 1; // 0x1
4357    field @Deprecated public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER = 3; // 0x3
4358    field @Deprecated public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED = 0; // 0x0
4359    field @Deprecated public static final int INTENT_FILTER_VERIFICATION_FAILURE = -1; // 0xffffffff
4360    field @Deprecated public static final int INTENT_FILTER_VERIFICATION_SUCCESS = 1; // 0x1
4361    field @Deprecated public static final int MASK_PERMISSION_FLAGS = 255; // 0xff
4362    field public static final int MATCH_ANY_USER = 4194304; // 0x400000
4363    field @Deprecated public static final int MATCH_CLONE_PROFILE = 536870912; // 0x20000000
4364    field @FlaggedApi("android.content.pm.fix_duplicated_flags") public static final long MATCH_CLONE_PROFILE_LONG = 17179869184L; // 0x400000000L
4365    field public static final int MATCH_FACTORY_ONLY = 2097152; // 0x200000
4366    field public static final int MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS = 536870912; // 0x20000000
4367    field public static final int MATCH_INSTANT = 8388608; // 0x800000
4368    field public static final int MODULE_APEX_NAME = 1; // 0x1
4369    field public static final int RESTRICTION_HIDE_FROM_SUGGESTIONS = 1; // 0x1
4370    field public static final int RESTRICTION_HIDE_NOTIFICATIONS = 2; // 0x2
4371    field public static final int RESTRICTION_NONE = 0; // 0x0
4372    field public static final int ROLLBACK_DATA_POLICY_RESTORE = 0; // 0x0
4373    field public static final int ROLLBACK_DATA_POLICY_RETAIN = 2; // 0x2
4374    field public static final int ROLLBACK_DATA_POLICY_WIPE = 1; // 0x1
4375    field @FlaggedApi("android.content.pm.recoverability_detection") public static final int ROLLBACK_USER_IMPACT_HIGH = 1; // 0x1
4376    field @FlaggedApi("android.content.pm.recoverability_detection") public static final int ROLLBACK_USER_IMPACT_LOW = 0; // 0x0
4377    field @FlaggedApi("android.content.pm.recoverability_detection") public static final int ROLLBACK_USER_IMPACT_ONLY_MANUAL = 2; // 0x2
4378    field public static final int SYSTEM_APP_STATE_HIDDEN_UNTIL_INSTALLED_HIDDEN = 0; // 0x0
4379    field public static final int SYSTEM_APP_STATE_HIDDEN_UNTIL_INSTALLED_VISIBLE = 1; // 0x1
4380    field public static final int SYSTEM_APP_STATE_INSTALLED = 2; // 0x2
4381    field public static final int SYSTEM_APP_STATE_UNINSTALLED = 3; // 0x3
4382  }
4383
4384  public abstract static class PackageManager.DexModuleRegisterCallback {
4385    ctor public PackageManager.DexModuleRegisterCallback();
4386    method public abstract void onDexModuleRegistered(String, boolean, String);
4387  }
4388
4389  public static interface PackageManager.OnPermissionsChangedListener {
4390    method public void onPermissionsChanged(int);
4391    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") public default void onPermissionsChanged(int, @NonNull String);
4392  }
4393
4394  public static final class PackageManager.UninstallCompleteCallback implements android.os.Parcelable {
4395    method public int describeContents();
4396    method public void onUninstallComplete(@NonNull String, int, @Nullable String);
4397    method public void writeToParcel(@NonNull android.os.Parcel, int);
4398    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.PackageManager.UninstallCompleteCallback> CREATOR;
4399  }
4400
4401  public class PermissionGroupInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
4402    field @StringRes public final int backgroundRequestDetailResourceId;
4403    field @StringRes public final int backgroundRequestResourceId;
4404    field @StringRes public final int requestDetailResourceId;
4405    field @StringRes public int requestRes;
4406  }
4407
4408  public class PermissionInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
4409    field public static final int FLAG_REMOVED = 2; // 0x2
4410    field public static final int PROTECTION_FLAG_APP_PREDICTOR = 2097152; // 0x200000
4411    field public static final int PROTECTION_FLAG_COMPANION = 8388608; // 0x800000
4412    field public static final int PROTECTION_FLAG_CONFIGURATOR = 524288; // 0x80000
4413    field @Deprecated public static final int PROTECTION_FLAG_DOCUMENTER = 262144; // 0x40000
4414    field public static final int PROTECTION_FLAG_INCIDENT_REPORT_APPROVER = 1048576; // 0x100000
4415    field public static final int PROTECTION_FLAG_KNOWN_SIGNER = 134217728; // 0x8000000
4416    field public static final int PROTECTION_FLAG_MODULE = 4194304; // 0x400000
4417    field public static final int PROTECTION_FLAG_OEM = 16384; // 0x4000
4418    field public static final int PROTECTION_FLAG_RECENTS = 33554432; // 0x2000000
4419    field @Deprecated public static final int PROTECTION_FLAG_RETAIL_DEMO = 16777216; // 0x1000000
4420    field public static final int PROTECTION_FLAG_ROLE = 67108864; // 0x4000000
4421    field public static final int PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER = 65536; // 0x10000
4422    field public static final int PROTECTION_FLAG_VENDOR_PRIVILEGED = 32768; // 0x8000
4423    field @Deprecated public static final int PROTECTION_FLAG_WELLBEING = 131072; // 0x20000
4424    field @Nullable public final String backgroundPermission;
4425    field @NonNull public java.util.Set<java.lang.String> knownCerts;
4426    field @StringRes public int requestRes;
4427  }
4428
4429  public class ResolveInfo implements android.os.Parcelable {
4430    field public boolean handleAllWebDataURI;
4431  }
4432
4433  public final class ShortcutInfo implements android.os.Parcelable {
4434    method @Nullable public android.app.Person[] getPersons();
4435  }
4436
4437  public class ShortcutManager {
4438    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_PREDICTIONS) @WorkerThread public java.util.List<android.content.pm.ShortcutManager.ShareShortcutInfo> getShareTargets(@NonNull android.content.IntentFilter);
4439    method public boolean hasShareTargets(@NonNull String);
4440  }
4441
4442  public static final class ShortcutManager.ShareShortcutInfo implements android.os.Parcelable {
4443    method public int describeContents();
4444    method @NonNull public android.content.pm.ShortcutInfo getShortcutInfo();
4445    method @NonNull public android.content.ComponentName getTargetComponent();
4446    method public void writeToParcel(@NonNull android.os.Parcel, int);
4447    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.ShortcutManager.ShareShortcutInfo> CREATOR;
4448  }
4449
4450  public final class SuspendDialogInfo implements android.os.Parcelable {
4451    method public int describeContents();
4452    method public void writeToParcel(android.os.Parcel, int);
4453    field public static final int BUTTON_ACTION_MORE_DETAILS = 0; // 0x0
4454    field public static final int BUTTON_ACTION_UNSUSPEND = 1; // 0x1
4455    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.SuspendDialogInfo> CREATOR;
4456  }
4457
4458  public static final class SuspendDialogInfo.Builder {
4459    ctor public SuspendDialogInfo.Builder();
4460    method @NonNull public android.content.pm.SuspendDialogInfo build();
4461    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setIcon(@DrawableRes int);
4462    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setMessage(@NonNull String);
4463    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setMessage(@StringRes int);
4464    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setNeutralButtonAction(int);
4465    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setNeutralButtonText(@StringRes int);
4466    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setNeutralButtonText(@NonNull String);
4467    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setTitle(@StringRes int);
4468    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setTitle(@NonNull String);
4469  }
4470
4471  public final class UserProperties implements android.os.Parcelable {
4472    method public int describeContents();
4473    method public int getCrossProfileContentSharingStrategy();
4474    method public int getShowInQuietMode();
4475    method public int getShowInSharingSurfaces();
4476    method public boolean isCredentialShareableWithParent();
4477    method public boolean isMediaSharedWithParent();
4478    method public void writeToParcel(@NonNull android.os.Parcel, int);
4479    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.UserProperties> CREATOR;
4480    field public static final int CROSS_PROFILE_CONTENT_SHARING_DELEGATE_FROM_PARENT = 1; // 0x1
4481    field public static final int CROSS_PROFILE_CONTENT_SHARING_NO_DELEGATION = 0; // 0x0
4482    field public static final int CROSS_PROFILE_CONTENT_SHARING_UNKNOWN = -1; // 0xffffffff
4483    field public static final int SHOW_IN_QUIET_MODE_DEFAULT = 2; // 0x2
4484    field public static final int SHOW_IN_QUIET_MODE_HIDDEN = 1; // 0x1
4485    field public static final int SHOW_IN_QUIET_MODE_PAUSED = 0; // 0x0
4486    field public static final int SHOW_IN_QUIET_MODE_UNKNOWN = -1; // 0xffffffff
4487    field public static final int SHOW_IN_SHARING_SURFACES_NO = 2; // 0x2
4488    field public static final int SHOW_IN_SHARING_SURFACES_SEPARATE = 1; // 0x1
4489    field public static final int SHOW_IN_SHARING_SURFACES_UNKNOWN = -1; // 0xffffffff
4490    field public static final int SHOW_IN_SHARING_SURFACES_WITH_PARENT = 0; // 0x0
4491  }
4492
4493}
4494
4495package android.content.pm.dex {
4496
4497  public class ArtManager {
4498    method @RequiresPermission(allOf={android.Manifest.permission.READ_RUNTIME_PROFILES, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean isRuntimeProfilingEnabled(int);
4499    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);
4500    field public static final int PROFILE_APPS = 0; // 0x0
4501    field public static final int PROFILE_BOOT_IMAGE = 1; // 0x1
4502    field public static final int SNAPSHOT_FAILED_CODE_PATH_NOT_FOUND = 1; // 0x1
4503    field public static final int SNAPSHOT_FAILED_INTERNAL_ERROR = 2; // 0x2
4504    field public static final int SNAPSHOT_FAILED_PACKAGE_NOT_FOUND = 0; // 0x0
4505  }
4506
4507  public abstract static class ArtManager.SnapshotRuntimeProfileCallback {
4508    ctor public ArtManager.SnapshotRuntimeProfileCallback();
4509    method public abstract void onError(int);
4510    method public abstract void onSuccess(android.os.ParcelFileDescriptor);
4511  }
4512
4513}
4514
4515package android.content.pm.permission {
4516
4517  @Deprecated public final class RuntimePermissionPresentationInfo implements android.os.Parcelable {
4518    ctor @Deprecated public RuntimePermissionPresentationInfo(CharSequence, boolean, boolean);
4519    method @Deprecated public int describeContents();
4520    method @Deprecated @NonNull public CharSequence getLabel();
4521    method @Deprecated public boolean isGranted();
4522    method @Deprecated public boolean isStandard();
4523    method @Deprecated public void writeToParcel(android.os.Parcel, int);
4524    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.content.pm.permission.RuntimePermissionPresentationInfo> CREATOR;
4525  }
4526
4527}
4528
4529package android.content.pm.verify.domain {
4530
4531  public final class DomainOwner implements android.os.Parcelable {
4532    ctor public DomainOwner(@NonNull String, boolean);
4533    method public int describeContents();
4534    method @NonNull public String getPackageName();
4535    method public boolean isOverrideable();
4536    method public void writeToParcel(@NonNull android.os.Parcel, int);
4537    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.verify.domain.DomainOwner> CREATOR;
4538  }
4539
4540  public final class DomainVerificationInfo implements android.os.Parcelable {
4541    method public int describeContents();
4542    method @NonNull public java.util.Map<java.lang.String,java.lang.Integer> getHostToStateMap();
4543    method @NonNull public java.util.UUID getIdentifier();
4544    method @NonNull public String getPackageName();
4545    method public void writeToParcel(@NonNull android.os.Parcel, int);
4546    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.verify.domain.DomainVerificationInfo> CREATOR;
4547    field public static final int STATE_FIRST_VERIFIER_DEFINED = 1024; // 0x400
4548    field public static final int STATE_MODIFIABLE_UNVERIFIED = 3; // 0x3
4549    field public static final int STATE_MODIFIABLE_VERIFIED = 4; // 0x4
4550    field public static final int STATE_NO_RESPONSE = 0; // 0x0
4551    field public static final int STATE_SUCCESS = 1; // 0x1
4552    field public static final int STATE_UNMODIFIABLE = 2; // 0x2
4553  }
4554
4555  public final class DomainVerificationManager {
4556    method @Nullable @RequiresPermission(android.Manifest.permission.DOMAIN_VERIFICATION_AGENT) public android.content.pm.verify.domain.DomainVerificationInfo getDomainVerificationInfo(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException;
4557    method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION) public java.util.SortedSet<android.content.pm.verify.domain.DomainOwner> getOwnersForDomain(@NonNull String);
4558    method @FlaggedApi("android.content.pm.relative_reference_intent_filters") @NonNull public java.util.Map<java.lang.String,java.util.List<android.content.UriRelativeFilterGroup>> getUriRelativeFilterGroups(@NonNull String, @NonNull java.util.List<java.lang.String>);
4559    method @NonNull @RequiresPermission(android.Manifest.permission.DOMAIN_VERIFICATION_AGENT) public java.util.List<java.lang.String> queryValidVerificationPackageNames();
4560    method @RequiresPermission(android.Manifest.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION) public void setDomainVerificationLinkHandlingAllowed(@NonNull String, boolean) throws android.content.pm.PackageManager.NameNotFoundException;
4561    method @CheckResult @RequiresPermission(android.Manifest.permission.DOMAIN_VERIFICATION_AGENT) public int setDomainVerificationStatus(@NonNull java.util.UUID, @NonNull java.util.Set<java.lang.String>, int) throws android.content.pm.PackageManager.NameNotFoundException;
4562    method @CheckResult @RequiresPermission(android.Manifest.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION) public int setDomainVerificationUserSelection(@NonNull java.util.UUID, @NonNull java.util.Set<java.lang.String>, boolean) throws android.content.pm.PackageManager.NameNotFoundException;
4563    method @FlaggedApi("android.content.pm.relative_reference_intent_filters") @RequiresPermission(android.Manifest.permission.DOMAIN_VERIFICATION_AGENT) public void setUriRelativeFilterGroups(@NonNull String, @NonNull java.util.Map<java.lang.String,java.util.List<android.content.UriRelativeFilterGroup>>);
4564    field public static final int ERROR_DOMAIN_SET_ID_INVALID = 1; // 0x1
4565    field public static final int ERROR_UNABLE_TO_APPROVE = 3; // 0x3
4566    field public static final int ERROR_UNKNOWN_DOMAIN = 2; // 0x2
4567    field public static final String EXTRA_VERIFICATION_REQUEST = "android.content.pm.verify.domain.extra.VERIFICATION_REQUEST";
4568    field public static final int STATUS_OK = 0; // 0x0
4569  }
4570
4571  public final class DomainVerificationRequest implements android.os.Parcelable {
4572    method public int describeContents();
4573    method @NonNull public java.util.Set<java.lang.String> getPackageNames();
4574    method public void writeToParcel(@NonNull android.os.Parcel, int);
4575    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.verify.domain.DomainVerificationRequest> CREATOR;
4576  }
4577
4578  public final class DomainVerificationUserState implements android.os.Parcelable {
4579    method @NonNull public java.util.UUID getIdentifier();
4580  }
4581
4582}
4583
4584package android.content.rollback {
4585
4586  public final class PackageRollbackInfo implements android.os.Parcelable {
4587    method public int describeContents();
4588    method @NonNull public String getPackageName();
4589    method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackFrom();
4590    method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackTo();
4591    method public void writeToParcel(android.os.Parcel, int);
4592    field @NonNull public static final android.os.Parcelable.Creator<android.content.rollback.PackageRollbackInfo> CREATOR;
4593  }
4594
4595  public final class RollbackInfo implements android.os.Parcelable {
4596    method public int describeContents();
4597    method @NonNull public java.util.List<android.content.pm.VersionedPackage> getCausePackages();
4598    method public int getCommittedSessionId();
4599    method @NonNull public java.util.List<android.content.rollback.PackageRollbackInfo> getPackages();
4600    method public int getRollbackId();
4601    method public boolean isStaged();
4602    method public void writeToParcel(android.os.Parcel, int);
4603    field @NonNull public static final android.os.Parcelable.Creator<android.content.rollback.RollbackInfo> CREATOR;
4604  }
4605
4606  public final class RollbackManager {
4607    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);
4608    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) public java.util.List<android.content.rollback.RollbackInfo> getAvailableRollbacks();
4609    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) public java.util.List<android.content.rollback.RollbackInfo> getRecentlyCommittedRollbacks();
4610    field public static final String EXTRA_STATUS = "android.content.rollback.extra.STATUS";
4611    field public static final String EXTRA_STATUS_MESSAGE = "android.content.rollback.extra.STATUS_MESSAGE";
4612    field public static final int STATUS_FAILURE = 1; // 0x1
4613    field public static final int STATUS_FAILURE_INSTALL = 3; // 0x3
4614    field public static final int STATUS_FAILURE_ROLLBACK_UNAVAILABLE = 2; // 0x2
4615    field public static final int STATUS_SUCCESS = 0; // 0x0
4616  }
4617
4618}
4619
4620package android.credentials.selection {
4621
4622  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public final class AuthenticationEntry implements android.os.Parcelable {
4623    ctor public AuthenticationEntry(@NonNull String, @NonNull String, @NonNull android.app.slice.Slice, int, @NonNull android.content.Intent);
4624    method public int describeContents();
4625    method @Nullable public android.content.Intent getFrameworkExtrasIntent();
4626    method @NonNull public String getKey();
4627    method @NonNull public android.app.slice.Slice getSlice();
4628    method @NonNull public int getStatus();
4629    method @NonNull public String getSubkey();
4630    method public void writeToParcel(@NonNull android.os.Parcel, int);
4631    field @NonNull public static final android.os.Parcelable.Creator<android.credentials.selection.AuthenticationEntry> CREATOR;
4632    field public static final int STATUS_LOCKED = 0; // 0x0
4633    field public static final int STATUS_UNLOCKED_BUT_EMPTY_LESS_RECENT = 1; // 0x1
4634    field public static final int STATUS_UNLOCKED_BUT_EMPTY_MOST_RECENT = 2; // 0x2
4635  }
4636
4637  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public final class CancelSelectionRequest implements android.os.Parcelable {
4638    ctor public CancelSelectionRequest(@NonNull android.credentials.selection.RequestToken, boolean, @NonNull String);
4639    method public int describeContents();
4640    method @NonNull public String getPackageName();
4641    method @NonNull public android.credentials.selection.RequestToken getRequestToken();
4642    method public boolean shouldShowCancellationExplanation();
4643    method public void writeToParcel(@NonNull android.os.Parcel, int);
4644    field @NonNull public static final android.os.Parcelable.Creator<android.credentials.selection.CancelSelectionRequest> CREATOR;
4645  }
4646
4647  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public final class CreateCredentialProviderInfo {
4648    method @NonNull public String getProviderName();
4649    method @Nullable public android.credentials.selection.Entry getRemoteEntry();
4650    method @NonNull public java.util.List<android.credentials.selection.Entry> getSaveEntries();
4651  }
4652
4653  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public static final class CreateCredentialProviderInfo.Builder {
4654    ctor public CreateCredentialProviderInfo.Builder(@NonNull String);
4655    method @NonNull public android.credentials.selection.CreateCredentialProviderInfo build();
4656    method @NonNull public android.credentials.selection.CreateCredentialProviderInfo.Builder setRemoteEntry(@Nullable android.credentials.selection.Entry);
4657    method @NonNull public android.credentials.selection.CreateCredentialProviderInfo.Builder setSaveEntries(@NonNull java.util.List<android.credentials.selection.Entry>);
4658  }
4659
4660  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public final class DisabledProviderInfo {
4661    ctor public DisabledProviderInfo(@NonNull String);
4662    method @NonNull public String getProviderName();
4663  }
4664
4665  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public final class Entry implements android.os.Parcelable {
4666    ctor public Entry(@NonNull String, @NonNull String, @NonNull android.app.slice.Slice, @NonNull android.content.Intent);
4667    method public int describeContents();
4668    method @Nullable public android.content.Intent getFrameworkExtrasIntent();
4669    method @NonNull public String getKey();
4670    method @NonNull public android.app.slice.Slice getSlice();
4671    method @NonNull public String getSubkey();
4672    method public void writeToParcel(@NonNull android.os.Parcel, int);
4673    field @NonNull public static final android.os.Parcelable.Creator<android.credentials.selection.Entry> CREATOR;
4674  }
4675
4676  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public final class FailureResult {
4677    ctor public FailureResult(int, @Nullable String);
4678    method public int getErrorCode();
4679    method @Nullable public String getErrorMessage();
4680    method public static void sendFailureResult(@NonNull android.os.ResultReceiver, @NonNull android.credentials.selection.FailureResult);
4681    field public static final int ERROR_CODE_CANCELED_AND_LAUNCHED_SETTINGS = 2; // 0x2
4682    field public static final int ERROR_CODE_DIALOG_CANCELED_BY_USER = 1; // 0x1
4683    field public static final int ERROR_CODE_UI_FAILURE = 0; // 0x0
4684  }
4685
4686  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public final class GetCredentialProviderInfo {
4687    method @NonNull public java.util.List<android.credentials.selection.Entry> getActionChips();
4688    method @NonNull public java.util.List<android.credentials.selection.AuthenticationEntry> getAuthenticationEntries();
4689    method @NonNull public java.util.List<android.credentials.selection.Entry> getCredentialEntries();
4690    method @NonNull public String getProviderName();
4691    method @Nullable public android.credentials.selection.Entry getRemoteEntry();
4692  }
4693
4694  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public static final class GetCredentialProviderInfo.Builder {
4695    ctor public GetCredentialProviderInfo.Builder(@NonNull String);
4696    method @NonNull public android.credentials.selection.GetCredentialProviderInfo build();
4697    method @NonNull public android.credentials.selection.GetCredentialProviderInfo.Builder setActionChips(@NonNull java.util.List<android.credentials.selection.Entry>);
4698    method @NonNull public android.credentials.selection.GetCredentialProviderInfo.Builder setAuthenticationEntries(@NonNull java.util.List<android.credentials.selection.AuthenticationEntry>);
4699    method @NonNull public android.credentials.selection.GetCredentialProviderInfo.Builder setCredentialEntries(@NonNull java.util.List<android.credentials.selection.Entry>);
4700    method @NonNull public android.credentials.selection.GetCredentialProviderInfo.Builder setRemoteEntry(@Nullable android.credentials.selection.Entry);
4701  }
4702
4703  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public final class IntentHelper {
4704    method @Nullable public static android.credentials.selection.CancelSelectionRequest extractCancelUiRequest(@NonNull android.content.Intent);
4705    method @NonNull public static java.util.List<android.credentials.selection.CreateCredentialProviderInfo> extractCreateCredentialProviderInfoList(@NonNull android.content.Intent);
4706    method @NonNull public static java.util.List<android.credentials.selection.DisabledProviderInfo> extractDisabledProviderInfoList(@NonNull android.content.Intent);
4707    method @NonNull public static java.util.List<android.credentials.selection.GetCredentialProviderInfo> extractGetCredentialProviderInfoList(@NonNull android.content.Intent);
4708    method @Nullable public static android.credentials.selection.RequestInfo extractRequestInfo(@NonNull android.content.Intent);
4709    method @Nullable public static android.os.ResultReceiver extractResultReceiver(@NonNull android.content.Intent);
4710  }
4711
4712  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public final class ProviderPendingIntentResponse implements android.os.Parcelable {
4713    ctor public ProviderPendingIntentResponse(int, @Nullable android.content.Intent);
4714    method public int describeContents();
4715    method public int getResultCode();
4716    method @Nullable public android.content.Intent getResultData();
4717    method public void writeToParcel(@NonNull android.os.Parcel, int);
4718    field @NonNull public static final android.os.Parcelable.Creator<android.credentials.selection.ProviderPendingIntentResponse> CREATOR;
4719  }
4720
4721  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public final class RequestInfo implements android.os.Parcelable {
4722    method public int describeContents();
4723    method @Nullable public android.credentials.CreateCredentialRequest getCreateCredentialRequest();
4724    method @NonNull public java.util.List<java.lang.String> getDefaultProviderIds();
4725    method @Nullable public android.credentials.GetCredentialRequest getGetCredentialRequest();
4726    method @NonNull public String getPackageName();
4727    method @NonNull public java.util.List<java.lang.String> getRegistryProviderIds();
4728    method @NonNull public android.credentials.selection.RequestToken getRequestToken();
4729    method @NonNull public String getType();
4730    method public boolean hasPermissionToOverrideDefault();
4731    method public boolean isShowAllOptionsRequested();
4732    method public void writeToParcel(@NonNull android.os.Parcel, int);
4733    field @NonNull public static final android.os.Parcelable.Creator<android.credentials.selection.RequestInfo> CREATOR;
4734    field @NonNull public static final String TYPE_CREATE = "android.credentials.selection.TYPE_CREATE";
4735    field @NonNull public static final String TYPE_GET = "android.credentials.selection.TYPE_GET";
4736    field @NonNull public static final String TYPE_UNDEFINED = "android.credentials.selection.TYPE_UNDEFINED";
4737  }
4738
4739  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public final class RequestToken {
4740  }
4741
4742  @FlaggedApi("android.credentials.flags.configurable_selector_ui_enabled") public final class UserSelectionResult {
4743    ctor public UserSelectionResult(@NonNull String, @NonNull String, @NonNull String, @Nullable android.credentials.selection.ProviderPendingIntentResponse);
4744    method @NonNull public String getEntryKey();
4745    method @NonNull public String getEntrySubkey();
4746    method @Nullable public android.credentials.selection.ProviderPendingIntentResponse getPendingIntentProviderResponse();
4747    method @NonNull public String getProviderId();
4748    method public static void sendUserSelectionResult(@NonNull android.os.ResultReceiver, @NonNull android.credentials.selection.UserSelectionResult);
4749  }
4750
4751}
4752
4753package android.database {
4754
4755  public abstract class ContentObserver {
4756    method public void onChange(boolean, @NonNull java.util.Collection<android.net.Uri>, int, @NonNull android.os.UserHandle);
4757  }
4758
4759}
4760
4761package android.debug {
4762
4763  public class AdbManager {
4764    method @RequiresPermission(android.Manifest.permission.MANAGE_DEBUGGING) public boolean isAdbWifiQrSupported();
4765    method @RequiresPermission(android.Manifest.permission.MANAGE_DEBUGGING) public boolean isAdbWifiSupported();
4766  }
4767
4768}
4769
4770package android.graphics.fonts {
4771
4772  public final class FontFamilyUpdateRequest {
4773    method @NonNull public java.util.List<android.graphics.fonts.FontFamilyUpdateRequest.FontFamily> getFontFamilies();
4774    method @NonNull public java.util.List<android.graphics.fonts.FontFileUpdateRequest> getFontFileUpdateRequests();
4775  }
4776
4777  public static final class FontFamilyUpdateRequest.Builder {
4778    ctor public FontFamilyUpdateRequest.Builder();
4779    method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.Builder addFontFamily(@NonNull android.graphics.fonts.FontFamilyUpdateRequest.FontFamily);
4780    method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.Builder addFontFileUpdateRequest(@NonNull android.graphics.fonts.FontFileUpdateRequest);
4781    method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest build();
4782  }
4783
4784  public static final class FontFamilyUpdateRequest.Font {
4785    method @NonNull public java.util.List<android.graphics.fonts.FontVariationAxis> getAxes();
4786    method @IntRange(from=0) public int getIndex();
4787    method @NonNull public String getPostScriptName();
4788    method @NonNull public android.graphics.fonts.FontStyle getStyle();
4789  }
4790
4791  public static final class FontFamilyUpdateRequest.Font.Builder {
4792    ctor public FontFamilyUpdateRequest.Font.Builder(@NonNull String, @NonNull android.graphics.fonts.FontStyle);
4793    method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.Font build();
4794    method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.Font.Builder setAxes(@NonNull java.util.List<android.graphics.fonts.FontVariationAxis>);
4795    method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.Font.Builder setIndex(@IntRange(from=0) int);
4796  }
4797
4798  public static final class FontFamilyUpdateRequest.FontFamily {
4799    method @NonNull public java.util.List<android.graphics.fonts.FontFamilyUpdateRequest.Font> getFonts();
4800    method @NonNull public String getName();
4801  }
4802
4803  public static final class FontFamilyUpdateRequest.FontFamily.Builder {
4804    ctor public FontFamilyUpdateRequest.FontFamily.Builder(@NonNull String, @NonNull java.util.List<android.graphics.fonts.FontFamilyUpdateRequest.Font>);
4805    method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.FontFamily.Builder addFont(@NonNull android.graphics.fonts.FontFamilyUpdateRequest.Font);
4806    method @NonNull public android.graphics.fonts.FontFamilyUpdateRequest.FontFamily build();
4807  }
4808
4809  public final class FontFileUpdateRequest {
4810    ctor public FontFileUpdateRequest(@NonNull android.os.ParcelFileDescriptor, @NonNull byte[]);
4811    method @NonNull public android.os.ParcelFileDescriptor getParcelFileDescriptor();
4812    method @NonNull public byte[] getSignature();
4813  }
4814
4815  public class FontManager {
4816    method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_FONTS) public android.text.FontConfig getFontConfig();
4817    method @RequiresPermission(android.Manifest.permission.UPDATE_FONTS) public int updateFontFamily(@NonNull android.graphics.fonts.FontFamilyUpdateRequest, @IntRange(from=0) int);
4818    field public static final int RESULT_ERROR_DOWNGRADING = -5; // 0xfffffffb
4819    field public static final int RESULT_ERROR_FAILED_TO_WRITE_FONT_FILE = -1; // 0xffffffff
4820    field public static final int RESULT_ERROR_FAILED_UPDATE_CONFIG = -6; // 0xfffffffa
4821    field public static final int RESULT_ERROR_FONT_NOT_FOUND = -9; // 0xfffffff7
4822    field public static final int RESULT_ERROR_FONT_UPDATER_DISABLED = -7; // 0xfffffff9
4823    field public static final int RESULT_ERROR_INVALID_FONT_FILE = -3; // 0xfffffffd
4824    field public static final int RESULT_ERROR_INVALID_FONT_NAME = -4; // 0xfffffffc
4825    field public static final int RESULT_ERROR_VERIFICATION_FAILURE = -2; // 0xfffffffe
4826    field public static final int RESULT_ERROR_VERSION_MISMATCH = -8; // 0xfffffff8
4827    field public static final int RESULT_SUCCESS = 0; // 0x0
4828  }
4829
4830}
4831
4832package android.hardware {
4833
4834  public final class Sensor {
4835    method public java.util.UUID getUuid();
4836    method public boolean isDataInjectionSupported();
4837    field public static final String STRING_TYPE_DYNAMIC_SENSOR_META = "android.sensor.dynamic_sensor_meta";
4838    field public static final String STRING_TYPE_WRIST_TILT_GESTURE = "android.sensor.wrist_tilt_gesture";
4839    field public static final int TYPE_DYNAMIC_SENSOR_META = 32; // 0x20
4840    field public static final int TYPE_WRIST_TILT_GESTURE = 26; // 0x1a
4841  }
4842
4843  public abstract class SensorManager {
4844    method public boolean initDataInjection(boolean);
4845    method public boolean injectSensorData(android.hardware.Sensor, float[], int, long);
4846  }
4847
4848  public final class SensorPrivacyManager {
4849    method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public void addSensorPrivacyListener(int, @NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener);
4850    method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public void addSensorPrivacyListener(int, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener);
4851    method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public void addSensorPrivacyListener(@NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener);
4852    method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public void addSensorPrivacyListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener);
4853    method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public boolean areAnySensorPrivacyTogglesEnabled(int);
4854    method @FlaggedApi("com.android.internal.camera.flags.camera_privacy_allowlist") @NonNull @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public java.util.List<java.lang.String> getCameraPrivacyAllowlist();
4855    method @FlaggedApi("com.android.internal.camera.flags.camera_privacy_allowlist") @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public int getSensorPrivacyState(int, int);
4856    method @FlaggedApi("com.android.internal.camera.flags.camera_privacy_allowlist") @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public boolean isCameraPrivacyEnabled(@NonNull String);
4857    method @Deprecated @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public boolean isSensorPrivacyEnabled(int);
4858    method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public boolean isSensorPrivacyEnabled(int, int);
4859    method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public void removeSensorPrivacyListener(int, @NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener);
4860    method @RequiresPermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public void removeSensorPrivacyListener(@NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener);
4861    method @RequiresPermission(android.Manifest.permission.MANAGE_SENSOR_PRIVACY) public void setSensorPrivacy(int, boolean);
4862    method @FlaggedApi("com.android.internal.camera.flags.camera_privacy_allowlist") @RequiresPermission(android.Manifest.permission.MANAGE_SENSOR_PRIVACY) public void setSensorPrivacyState(int, int);
4863  }
4864
4865  public static interface SensorPrivacyManager.OnSensorPrivacyChangedListener {
4866    method public default void onSensorPrivacyChanged(@NonNull android.hardware.SensorPrivacyManager.OnSensorPrivacyChangedListener.SensorPrivacyChangedParams);
4867    method @Deprecated public void onSensorPrivacyChanged(int, boolean);
4868  }
4869
4870  public static class SensorPrivacyManager.OnSensorPrivacyChangedListener.SensorPrivacyChangedParams {
4871    method public int getSensor();
4872    method @FlaggedApi("com.android.internal.camera.flags.camera_privacy_allowlist") public int getState();
4873    method public int getToggleType();
4874    method public boolean isEnabled();
4875  }
4876
4877  @FlaggedApi("com.android.internal.camera.flags.camera_privacy_allowlist") public static class SensorPrivacyManager.StateTypes {
4878    field public static final int DISABLED = 2; // 0x2
4879    field public static final int ENABLED = 1; // 0x1
4880    field public static final int ENABLED_EXCEPT_ALLOWLISTED_APPS = 3; // 0x3
4881  }
4882
4883}
4884
4885package android.hardware.biometrics {
4886
4887  public static interface BiometricManager.Authenticators {
4888    field @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static final int BIOMETRIC_CONVENIENCE = 4095; // 0xfff
4889    field @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static final int EMPTY_SET = 0; // 0x0
4890  }
4891
4892}
4893
4894package android.hardware.camera2 {
4895
4896  public abstract class CameraDevice implements java.lang.AutoCloseable {
4897    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;
4898    field public static final int SESSION_OPERATION_MODE_CONSTRAINED_HIGH_SPEED = 1; // 0x1
4899    field public static final int SESSION_OPERATION_MODE_NORMAL = 0; // 0x0
4900    field public static final int SESSION_OPERATION_MODE_VENDOR_START = 32768; // 0x8000
4901  }
4902
4903  public final class CameraManager {
4904    method @RequiresPermission(allOf={android.Manifest.permission.SYSTEM_CAMERA, android.Manifest.permission.CAMERA}) public void openCamera(@NonNull String, int, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.camera2.CameraDevice.StateCallback) throws android.hardware.camera2.CameraAccessException;
4905  }
4906
4907  public abstract static class CameraManager.AvailabilityCallback {
4908    method @RequiresPermission(android.Manifest.permission.CAMERA_OPEN_CLOSE_LISTENER) public void onCameraClosed(@NonNull String);
4909    method @RequiresPermission(android.Manifest.permission.CAMERA_OPEN_CLOSE_LISTENER) public void onCameraOpened(@NonNull String, @NonNull String);
4910  }
4911
4912}
4913
4914package android.hardware.camera2.extension {
4915
4916  @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract class AdvancedExtender {
4917    ctor @FlaggedApi("com.android.internal.camera.flags.concert_mode") public AdvancedExtender(@NonNull android.hardware.camera2.CameraManager);
4918    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @NonNull public abstract java.util.List<android.hardware.camera2.CaptureRequest.Key> getAvailableCaptureRequestKeys(@NonNull String);
4919    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @NonNull public abstract java.util.List<android.hardware.camera2.CaptureResult.Key> getAvailableCaptureResultKeys(@NonNull String);
4920    method @FlaggedApi("com.android.internal.camera.flags.camera_extensions_characteristics_get") @NonNull public abstract java.util.List<android.util.Pair<android.hardware.camera2.CameraCharacteristics.Key,java.lang.Object>> getAvailableCharacteristicsKeyValues();
4921    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public long getMetadataVendorId(@NonNull String);
4922    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @NonNull public abstract android.hardware.camera2.extension.SessionProcessor getSessionProcessor();
4923    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @NonNull public abstract java.util.Map<java.lang.Integer,java.util.List<android.util.Size>> getSupportedCaptureOutputResolutions(@NonNull String);
4924    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @NonNull public abstract java.util.Map<java.lang.Integer,java.util.List<android.util.Size>> getSupportedPreviewOutputResolutions(@NonNull String);
4925    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract void initialize(@NonNull String, @NonNull android.hardware.camera2.extension.CharacteristicsMap);
4926    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract boolean isExtensionAvailable(@NonNull String, @NonNull android.hardware.camera2.extension.CharacteristicsMap);
4927  }
4928
4929  @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract class CameraExtensionService extends android.app.Service {
4930    ctor @FlaggedApi("com.android.internal.camera.flags.concert_mode") protected CameraExtensionService();
4931    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @NonNull public final android.os.IBinder onBind(@Nullable android.content.Intent);
4932    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @NonNull public abstract android.hardware.camera2.extension.AdvancedExtender onInitializeAdvancedExtension(int);
4933    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract boolean onRegisterClient(@NonNull android.os.IBinder);
4934    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract void onUnregisterClient(@NonNull android.os.IBinder);
4935  }
4936
4937  @FlaggedApi("com.android.internal.camera.flags.concert_mode") public final class CameraOutputSurface {
4938    ctor @FlaggedApi("com.android.internal.camera.flags.concert_mode") public CameraOutputSurface(@NonNull android.view.Surface, @NonNull android.util.Size);
4939    method @FlaggedApi("com.android.internal.camera.flags.extension_10_bit") public int getColorSpace();
4940    method @FlaggedApi("com.android.internal.camera.flags.extension_10_bit") public long getDynamicRangeProfile();
4941    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public int getImageFormat();
4942    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @NonNull public android.util.Size getSize();
4943    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @NonNull public android.view.Surface getSurface();
4944    method @FlaggedApi("com.android.internal.camera.flags.extension_10_bit") public void setDynamicRangeProfile(long);
4945  }
4946
4947  @FlaggedApi("com.android.internal.camera.flags.concert_mode") public class CharacteristicsMap {
4948    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @Nullable public android.hardware.camera2.CameraCharacteristics get(@NonNull String);
4949    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @NonNull public java.util.Set<java.lang.String> getCameraIds();
4950  }
4951
4952  @FlaggedApi("com.android.internal.camera.flags.concert_mode") public class ExtensionConfiguration {
4953    ctor @FlaggedApi("com.android.internal.camera.flags.concert_mode") public ExtensionConfiguration(int, int, @NonNull java.util.List<android.hardware.camera2.extension.ExtensionOutputConfiguration>, @Nullable android.hardware.camera2.CaptureRequest);
4954    method @FlaggedApi("com.android.internal.camera.flags.extension_10_bit") public void setColorSpace(int);
4955  }
4956
4957  @FlaggedApi("com.android.internal.camera.flags.concert_mode") public class ExtensionOutputConfiguration {
4958    ctor @FlaggedApi("com.android.internal.camera.flags.concert_mode") public ExtensionOutputConfiguration(@NonNull java.util.List<android.hardware.camera2.extension.CameraOutputSurface>, int, @Nullable String, int);
4959  }
4960
4961  @FlaggedApi("com.android.internal.camera.flags.concert_mode") public final class RequestProcessor {
4962    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void abortCaptures();
4963    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public int setRepeating(@NonNull android.hardware.camera2.extension.RequestProcessor.Request, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.camera2.extension.RequestProcessor.RequestCallback) throws android.hardware.camera2.CameraAccessException;
4964    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void stopRepeating();
4965    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public int submit(@NonNull android.hardware.camera2.extension.RequestProcessor.Request, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.camera2.extension.RequestProcessor.RequestCallback) throws android.hardware.camera2.CameraAccessException;
4966    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public int submitBurst(@NonNull java.util.List<android.hardware.camera2.extension.RequestProcessor.Request>, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.camera2.extension.RequestProcessor.RequestCallback) throws android.hardware.camera2.CameraAccessException;
4967  }
4968
4969  @FlaggedApi("com.android.internal.camera.flags.concert_mode") public static final class RequestProcessor.Request {
4970    ctor @FlaggedApi("com.android.internal.camera.flags.concert_mode") public RequestProcessor.Request(@NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<android.util.Pair<android.hardware.camera2.CaptureRequest.Key,java.lang.Object>>, int);
4971    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @NonNull public java.util.List<android.util.Pair<android.hardware.camera2.CaptureRequest.Key,java.lang.Object>> getParameters();
4972  }
4973
4974  @FlaggedApi("com.android.internal.camera.flags.concert_mode") public static interface RequestProcessor.RequestCallback {
4975    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureBufferLost(@NonNull android.hardware.camera2.extension.RequestProcessor.Request, long, int);
4976    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureCompleted(@NonNull android.hardware.camera2.extension.RequestProcessor.Request, @Nullable android.hardware.camera2.TotalCaptureResult);
4977    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureFailed(@NonNull android.hardware.camera2.extension.RequestProcessor.Request, @NonNull android.hardware.camera2.CaptureFailure);
4978    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureProgressed(@NonNull android.hardware.camera2.extension.RequestProcessor.Request, @NonNull android.hardware.camera2.CaptureResult);
4979    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureSequenceAborted(int);
4980    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureSequenceCompleted(int, long);
4981    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureStarted(@NonNull android.hardware.camera2.extension.RequestProcessor.Request, long, long);
4982  }
4983
4984  @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract class SessionProcessor {
4985    ctor @FlaggedApi("com.android.internal.camera.flags.concert_mode") public SessionProcessor();
4986    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract void deInitSession(@NonNull android.os.IBinder);
4987    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") @NonNull public abstract android.hardware.camera2.extension.ExtensionConfiguration initSession(@NonNull android.os.IBinder, @NonNull String, @NonNull android.hardware.camera2.extension.CharacteristicsMap, @NonNull android.hardware.camera2.extension.CameraOutputSurface, @NonNull android.hardware.camera2.extension.CameraOutputSurface);
4988    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract void onCaptureSessionEnd();
4989    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract void onCaptureSessionStart(@NonNull android.hardware.camera2.extension.RequestProcessor, @NonNull String);
4990    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract void setParameters(@NonNull android.hardware.camera2.CaptureRequest);
4991    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract int startMultiFrameCapture(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.camera2.extension.SessionProcessor.CaptureCallback);
4992    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract int startRepeating(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.camera2.extension.SessionProcessor.CaptureCallback);
4993    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract int startTrigger(@NonNull android.hardware.camera2.CaptureRequest, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.camera2.extension.SessionProcessor.CaptureCallback);
4994    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public abstract void stopRepeating();
4995  }
4996
4997  @FlaggedApi("com.android.internal.camera.flags.concert_mode") public static interface SessionProcessor.CaptureCallback {
4998    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureCompleted(long, int, @NonNull java.util.Map<android.hardware.camera2.CaptureResult.Key,java.lang.Object>);
4999    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureFailed(int, int);
5000    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureProcessStarted(int);
5001    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureSequenceAborted(int);
5002    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureSequenceCompleted(int);
5003    method @FlaggedApi("com.android.internal.camera.flags.concert_mode") public void onCaptureStarted(int, long);
5004  }
5005
5006}
5007
5008package android.hardware.camera2.params {
5009
5010  public final class OutputConfiguration implements android.os.Parcelable {
5011    ctor public OutputConfiguration(@NonNull android.view.Surface, int);
5012    ctor public OutputConfiguration(int, @NonNull android.view.Surface, int);
5013    method public int getRotation();
5014    field public static final int ROTATION_0 = 0; // 0x0
5015    field public static final int ROTATION_180 = 2; // 0x2
5016    field public static final int ROTATION_270 = 3; // 0x3
5017    field public static final int ROTATION_90 = 1; // 0x1
5018  }
5019
5020}
5021
5022package android.hardware.devicestate {
5023
5024  @FlaggedApi("android.hardware.devicestate.feature.flags.device_state_property_api") public final class DeviceState {
5025    method @IntRange(from=0x0) public int getIdentifier();
5026    method @NonNull public String getName();
5027    method public boolean hasProperties(@NonNull int...);
5028    method public boolean hasProperty(int);
5029    field public static final int PROPERTY_EMULATED_ONLY = 10; // 0xa
5030    field public static final int PROPERTY_EXTENDED_DEVICE_STATE_EXTERNAL_DISPLAY = 15; // 0xf
5031    field public static final int PROPERTY_FEATURE_DUAL_DISPLAY_INTERNAL_DEFAULT = 17; // 0x11
5032    field public static final int PROPERTY_FEATURE_REAR_DISPLAY = 16; // 0x10
5033    field public static final int PROPERTY_FOLDABLE_DISPLAY_CONFIGURATION_INNER_PRIMARY = 12; // 0xc
5034    field public static final int PROPERTY_FOLDABLE_DISPLAY_CONFIGURATION_OUTER_PRIMARY = 11; // 0xb
5035    field public static final int PROPERTY_FOLDABLE_HARDWARE_CONFIGURATION_FOLD_IN_CLOSED = 1; // 0x1
5036    field public static final int PROPERTY_FOLDABLE_HARDWARE_CONFIGURATION_FOLD_IN_HALF_OPEN = 2; // 0x2
5037    field public static final int PROPERTY_FOLDABLE_HARDWARE_CONFIGURATION_FOLD_IN_OPEN = 3; // 0x3
5038    field public static final int PROPERTY_POWER_CONFIGURATION_TRIGGER_SLEEP = 13; // 0xd
5039    field public static final int PROPERTY_POWER_CONFIGURATION_TRIGGER_WAKE = 14; // 0xe
5040  }
5041
5042  @FlaggedApi("android.hardware.devicestate.feature.flags.device_state_property_api") public final class DeviceStateManager {
5043    method @NonNull public java.util.List<android.hardware.devicestate.DeviceState> getSupportedDeviceStates();
5044    method public void registerCallback(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.devicestate.DeviceStateManager.DeviceStateCallback);
5045    method public void unregisterCallback(@NonNull android.hardware.devicestate.DeviceStateManager.DeviceStateCallback);
5046  }
5047
5048  public static interface DeviceStateManager.DeviceStateCallback {
5049    method public void onDeviceStateChanged(@NonNull android.hardware.devicestate.DeviceState);
5050    method public default void onSupportedStatesChanged(@NonNull java.util.List<android.hardware.devicestate.DeviceState>);
5051  }
5052
5053}
5054
5055package android.hardware.display {
5056
5057  public final class AmbientBrightnessDayStats implements android.os.Parcelable {
5058    method public int describeContents();
5059    method public float[] getBucketBoundaries();
5060    method public java.time.LocalDate getLocalDate();
5061    method public float[] getStats();
5062    method public void writeToParcel(android.os.Parcel, int);
5063    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.AmbientBrightnessDayStats> CREATOR;
5064  }
5065
5066  public final class BrightnessChangeEvent implements android.os.Parcelable {
5067    method public int describeContents();
5068    method public void writeToParcel(android.os.Parcel, int);
5069    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessChangeEvent> CREATOR;
5070    field public final float batteryLevel;
5071    field public final float brightness;
5072    field public final long colorSampleDuration;
5073    field public final int colorTemperature;
5074    field @Nullable public final long[] colorValueBuckets;
5075    field public final boolean isDefaultBrightnessConfig;
5076    field public final boolean isUserSetBrightness;
5077    field public final float lastBrightness;
5078    field public final long[] luxTimestamps;
5079    field public final float[] luxValues;
5080    field public final boolean nightMode;
5081    field public final String packageName;
5082    field public final float powerBrightnessFactor;
5083    field public final boolean reduceBrightColors;
5084    field public final float reduceBrightColorsOffset;
5085    field public final int reduceBrightColorsStrength;
5086    field public final long timeStamp;
5087    field @NonNull public final String uniqueDisplayId;
5088  }
5089
5090  public final class BrightnessConfiguration implements android.os.Parcelable {
5091    method public int describeContents();
5092    method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByCategory(int);
5093    method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByPackageName(@NonNull String);
5094    method public android.util.Pair<float[],float[]> getCurve();
5095    method public float getShortTermModelLowerLuxMultiplier();
5096    method public long getShortTermModelTimeoutMillis();
5097    method public float getShortTermModelUpperLuxMultiplier();
5098    method public boolean shouldCollectColorSamples();
5099    method public void writeToParcel(android.os.Parcel, int);
5100    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessConfiguration> CREATOR;
5101    field public static final long SHORT_TERM_TIMEOUT_UNSET = -1L; // 0xffffffffffffffffL
5102  }
5103
5104  public static class BrightnessConfiguration.Builder {
5105    ctor public BrightnessConfiguration.Builder(float[], float[]);
5106    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByCategory(int, @NonNull android.hardware.display.BrightnessCorrection);
5107    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByPackageName(@NonNull String, @NonNull android.hardware.display.BrightnessCorrection);
5108    method @NonNull public android.hardware.display.BrightnessConfiguration build();
5109    method public int getMaxCorrectionsByCategory();
5110    method public int getMaxCorrectionsByPackageName();
5111    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setDescription(@Nullable String);
5112    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelLowerLuxMultiplier(@FloatRange(from=0.0f) float);
5113    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelTimeoutMillis(long);
5114    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelUpperLuxMultiplier(@FloatRange(from=0.0f) float);
5115    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShouldCollectColorSamples(boolean);
5116  }
5117
5118  public final class BrightnessCorrection implements android.os.Parcelable {
5119    method @FloatRange(from=0.0) public float apply(@FloatRange(from=0.0) float);
5120    method @NonNull public static android.hardware.display.BrightnessCorrection createScaleAndTranslateLog(float, float);
5121    method public int describeContents();
5122    method public void writeToParcel(android.os.Parcel, int);
5123    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessCorrection> CREATOR;
5124  }
5125
5126  public final class ColorDisplayManager {
5127    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public int getNightDisplayAutoMode();
5128    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public int getTransformCapabilities();
5129    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setAppSaturationLevel(@NonNull String, @IntRange(from=0, to=100) int);
5130    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayAutoMode(int);
5131    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayCustomEndTime(@NonNull java.time.LocalTime);
5132    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayCustomStartTime(@NonNull java.time.LocalTime);
5133    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setSaturationLevel(@IntRange(from=0, to=100) int);
5134    field public static final int AUTO_MODE_CUSTOM_TIME = 1; // 0x1
5135    field public static final int AUTO_MODE_DISABLED = 0; // 0x0
5136    field public static final int AUTO_MODE_TWILIGHT = 2; // 0x2
5137    field public static final int CAPABILITY_HARDWARE_ACCELERATION_GLOBAL = 2; // 0x2
5138    field public static final int CAPABILITY_HARDWARE_ACCELERATION_PER_APP = 4; // 0x4
5139    field public static final int CAPABILITY_NONE = 0; // 0x0
5140    field public static final int CAPABILITY_PROTECTED_CONTENT = 1; // 0x1
5141  }
5142
5143  public final class DisplayManager {
5144    method @Nullable @RequiresPermission("android.permission.CAPTURE_VIDEO_OUTPUT") public static android.hardware.display.VirtualDisplay createVirtualDisplay(@NonNull String, int, int, int, @Nullable android.view.Surface);
5145    method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_LIGHT_STATS) public java.util.List<android.hardware.display.AmbientBrightnessDayStats> getAmbientBrightnessStats();
5146    method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getBrightnessConfiguration();
5147    method @Nullable @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getBrightnessConfigurationForDisplay(@NonNull String);
5148    method @RequiresPermission(android.Manifest.permission.BRIGHTNESS_SLIDER_USAGE) public java.util.List<android.hardware.display.BrightnessChangeEvent> getBrightnessEvents();
5149    method @Nullable @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getDefaultBrightnessConfiguration();
5150    method public android.util.Pair<float[],float[]> getMinimumBrightnessCurve();
5151    method public android.graphics.Point getStableDisplaySize();
5152    method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public void setBrightnessConfiguration(android.hardware.display.BrightnessConfiguration);
5153    method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public void setBrightnessConfigurationForDisplay(@NonNull android.hardware.display.BrightnessConfiguration, @NonNull String);
5154    method @Deprecated @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_SATURATION) public void setSaturationLevel(float);
5155    field @FlaggedApi("android.companion.virtual.flags.vdm_public_apis") public static final int VIRTUAL_DISPLAY_FLAG_ROTATES_WITH_CONTENT = 128; // 0x80
5156    field public static final int VIRTUAL_DISPLAY_FLAG_STEAL_TOP_FOCUS_DISABLED = 65536; // 0x10000
5157    field public static final int VIRTUAL_DISPLAY_FLAG_TRUSTED = 1024; // 0x400
5158  }
5159
5160  public final class VirtualDisplayConfig implements android.os.Parcelable {
5161    method @FlaggedApi("android.companion.virtual.flags.vdm_custom_home") public boolean isHomeSupported();
5162  }
5163
5164  public static final class VirtualDisplayConfig.Builder {
5165    method @FlaggedApi("android.companion.virtual.flags.vdm_custom_home") @NonNull public android.hardware.display.VirtualDisplayConfig.Builder setHomeSupported(boolean);
5166  }
5167
5168}
5169
5170package android.hardware.hdmi {
5171
5172  public abstract class HdmiClient {
5173    method public android.hardware.hdmi.HdmiDeviceInfo getActiveSource();
5174    method public void selectDevice(int, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.hdmi.HdmiClient.OnDeviceSelectedListener);
5175    method public void sendKeyEvent(int, boolean);
5176    method public void sendVendorCommand(int, byte[], boolean);
5177    method public void setVendorCommandListener(@NonNull android.hardware.hdmi.HdmiControlManager.VendorCommandListener);
5178    method public void setVendorCommandListener(@NonNull android.hardware.hdmi.HdmiControlManager.VendorCommandListener, int);
5179  }
5180
5181  public static interface HdmiClient.OnDeviceSelectedListener {
5182    method public void onDeviceSelected(int, int);
5183  }
5184
5185  public final class HdmiControlManager {
5186    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void addHdmiCecEnabledChangeListener(@NonNull android.hardware.hdmi.HdmiControlManager.CecSettingChangeListener);
5187    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void addHdmiCecEnabledChangeListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.hdmi.HdmiControlManager.CecSettingChangeListener);
5188    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void addHotplugEventListener(android.hardware.hdmi.HdmiControlManager.HotplugEventListener);
5189    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void addHotplugEventListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.hdmi.HdmiControlManager.HotplugEventListener);
5190    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public java.util.List<java.lang.Integer> getAllowedCecSettingIntValues(@NonNull String);
5191    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public java.util.List<java.lang.String> getAllowedCecSettingStringValues(@NonNull String);
5192    method @Nullable public android.hardware.hdmi.HdmiClient getClient(int);
5193    method @NonNull public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getConnectedDevices();
5194    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getEarcEnabled();
5195    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getHdmiCecEnabled();
5196    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getHdmiCecVersion();
5197    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getHdmiCecVolumeControlEnabled();
5198    method public int getPhysicalAddress();
5199    method @Nullable public android.hardware.hdmi.HdmiPlaybackClient getPlaybackClient();
5200    method @NonNull public java.util.List<android.hardware.hdmi.HdmiPortInfo> getPortInfo();
5201    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public String getPowerControlMode();
5202    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public String getPowerStateChangeOnActiveSourceLost();
5203    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getRoutingControl();
5204    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getSadPresenceInQuery(@NonNull String);
5205    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getSoundbarMode();
5206    method @Nullable public android.hardware.hdmi.HdmiSwitchClient getSwitchClient();
5207    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getSystemAudioControl();
5208    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getSystemAudioModeMuting();
5209    method @Nullable public android.hardware.hdmi.HdmiTvClient getTvClient();
5210    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getTvSendStandbyOnSleep();
5211    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public int getTvWakeOnOneTouchPlay();
5212    method @NonNull @RequiresPermission(android.Manifest.permission.HDMI_CEC) public java.util.List<java.lang.String> getUserCecSettings();
5213    method public boolean isDeviceConnected(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
5214    method public void powerOffDevice(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
5215    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void removeHdmiCecEnabledChangeListener(@NonNull android.hardware.hdmi.HdmiControlManager.CecSettingChangeListener);
5216    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void removeHotplugEventListener(android.hardware.hdmi.HdmiControlManager.HotplugEventListener);
5217    method public void setActiveSource(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
5218    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setEarcEnabled(@NonNull int);
5219    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setHdmiCecEnabled(@NonNull int);
5220    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setHdmiCecVersion(@NonNull int);
5221    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setHdmiCecVolumeControlEnabled(int);
5222    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setPowerControlMode(@NonNull String);
5223    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setPowerStateChangeOnActiveSourceLost(@NonNull String);
5224    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setRoutingControl(@NonNull int);
5225    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setSadPresenceInQuery(@NonNull String, int);
5226    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setSadsPresenceInQuery(@NonNull java.util.List<java.lang.String>, int);
5227    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setSoundbarMode(int);
5228    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setStandbyMode(boolean);
5229    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setSystemAudioControl(@NonNull int);
5230    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setSystemAudioModeMuting(@NonNull int);
5231    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setTvSendStandbyOnSleep(@NonNull int);
5232    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setTvWakeOnOneTouchPlay(@NonNull int);
5233    field public static final String ACTION_OSD_MESSAGE = "android.hardware.hdmi.action.OSD_MESSAGE";
5234    field public static final int AVR_VOLUME_MUTED = 101; // 0x65
5235    field public static final String CEC_SETTING_NAME_HDMI_CEC_ENABLED = "hdmi_cec_enabled";
5236    field public static final String CEC_SETTING_NAME_HDMI_CEC_VERSION = "hdmi_cec_version";
5237    field public static final String CEC_SETTING_NAME_POWER_CONTROL_MODE = "power_control_mode";
5238    field public static final String CEC_SETTING_NAME_POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST = "power_state_change_on_active_source_lost";
5239    field public static final String CEC_SETTING_NAME_QUERY_SAD_AAC = "query_sad_aac";
5240    field public static final String CEC_SETTING_NAME_QUERY_SAD_ATRAC = "query_sad_atrac";
5241    field public static final String CEC_SETTING_NAME_QUERY_SAD_DD = "query_sad_dd";
5242    field public static final String CEC_SETTING_NAME_QUERY_SAD_DDP = "query_sad_ddp";
5243    field public static final String CEC_SETTING_NAME_QUERY_SAD_DST = "query_sad_dst";
5244    field public static final String CEC_SETTING_NAME_QUERY_SAD_DTS = "query_sad_dts";
5245    field public static final String CEC_SETTING_NAME_QUERY_SAD_DTSHD = "query_sad_dtshd";
5246    field public static final String CEC_SETTING_NAME_QUERY_SAD_LPCM = "query_sad_lpcm";
5247    field public static final String CEC_SETTING_NAME_QUERY_SAD_MAX = "query_sad_max";
5248    field public static final String CEC_SETTING_NAME_QUERY_SAD_MP3 = "query_sad_mp3";
5249    field public static final String CEC_SETTING_NAME_QUERY_SAD_MPEG1 = "query_sad_mpeg1";
5250    field public static final String CEC_SETTING_NAME_QUERY_SAD_MPEG2 = "query_sad_mpeg2";
5251    field public static final String CEC_SETTING_NAME_QUERY_SAD_ONEBITAUDIO = "query_sad_onebitaudio";
5252    field public static final String CEC_SETTING_NAME_QUERY_SAD_TRUEHD = "query_sad_truehd";
5253    field public static final String CEC_SETTING_NAME_QUERY_SAD_WMAPRO = "query_sad_wmapro";
5254    field public static final String CEC_SETTING_NAME_ROUTING_CONTROL = "routing_control";
5255    field public static final String CEC_SETTING_NAME_SOUNDBAR_MODE = "soundbar_mode";
5256    field public static final String CEC_SETTING_NAME_SYSTEM_AUDIO_CONTROL = "system_audio_control";
5257    field public static final String CEC_SETTING_NAME_SYSTEM_AUDIO_MODE_MUTING = "system_audio_mode_muting";
5258    field public static final String CEC_SETTING_NAME_TV_SEND_STANDBY_ON_SLEEP = "tv_send_standby_on_sleep";
5259    field public static final String CEC_SETTING_NAME_TV_WAKE_ON_ONE_TOUCH_PLAY = "tv_wake_on_one_touch_play";
5260    field public static final String CEC_SETTING_NAME_VOLUME_CONTROL_MODE = "volume_control_enabled";
5261    field public static final int CLEAR_TIMER_STATUS_CEC_DISABLE = 162; // 0xa2
5262    field public static final int CLEAR_TIMER_STATUS_CHECK_RECORDER_CONNECTION = 160; // 0xa0
5263    field public static final int CLEAR_TIMER_STATUS_FAIL_TO_CLEAR_SELECTED_SOURCE = 161; // 0xa1
5264    field public static final int CLEAR_TIMER_STATUS_TIMER_CLEARED = 128; // 0x80
5265    field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_NO_INFO_AVAILABLE = 2; // 0x2
5266    field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_NO_MATCHING = 1; // 0x1
5267    field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_RECORDING = 0; // 0x0
5268    field public static final int CONTROL_STATE_CHANGED_REASON_SETTING = 1; // 0x1
5269    field public static final int CONTROL_STATE_CHANGED_REASON_STANDBY = 3; // 0x3
5270    field public static final int CONTROL_STATE_CHANGED_REASON_START = 0; // 0x0
5271    field public static final int CONTROL_STATE_CHANGED_REASON_WAKEUP = 2; // 0x2
5272    field public static final int DEVICE_EVENT_ADD_DEVICE = 1; // 0x1
5273    field public static final int DEVICE_EVENT_REMOVE_DEVICE = 2; // 0x2
5274    field public static final int DEVICE_EVENT_UPDATE_DEVICE = 3; // 0x3
5275    field public static final int EARC_FEATURE_DISABLED = 0; // 0x0
5276    field public static final int EARC_FEATURE_ENABLED = 1; // 0x1
5277    field public static final String EXTRA_MESSAGE_EXTRA_PARAM1 = "android.hardware.hdmi.extra.MESSAGE_EXTRA_PARAM1";
5278    field public static final String EXTRA_MESSAGE_ID = "android.hardware.hdmi.extra.MESSAGE_ID";
5279    field public static final int HDMI_CEC_CONTROL_DISABLED = 0; // 0x0
5280    field public static final int HDMI_CEC_CONTROL_ENABLED = 1; // 0x1
5281    field public static final int HDMI_CEC_VERSION_1_4_B = 5; // 0x5
5282    field public static final int HDMI_CEC_VERSION_2_0 = 6; // 0x6
5283    field public static final int ONE_TOUCH_RECORD_ALREADY_RECORDING = 18; // 0x12
5284    field public static final int ONE_TOUCH_RECORD_CEC_DISABLED = 51; // 0x33
5285    field public static final int ONE_TOUCH_RECORD_CHECK_RECORDER_CONNECTION = 49; // 0x31
5286    field public static final int ONE_TOUCH_RECORD_DISALLOW_TO_COPY = 13; // 0xd
5287    field public static final int ONE_TOUCH_RECORD_DISALLOW_TO_FUTHER_COPIES = 14; // 0xe
5288    field public static final int ONE_TOUCH_RECORD_FAIL_TO_RECORD_DISPLAYED_SCREEN = 50; // 0x32
5289    field public static final int ONE_TOUCH_RECORD_INVALID_EXTERNAL_PHYSICAL_ADDRESS = 10; // 0xa
5290    field public static final int ONE_TOUCH_RECORD_INVALID_EXTERNAL_PLUG_NUMBER = 9; // 0x9
5291    field public static final int ONE_TOUCH_RECORD_MEDIA_PROBLEM = 21; // 0x15
5292    field public static final int ONE_TOUCH_RECORD_MEDIA_PROTECTED = 19; // 0x13
5293    field public static final int ONE_TOUCH_RECORD_NOT_ENOUGH_SPACE = 22; // 0x16
5294    field public static final int ONE_TOUCH_RECORD_NO_MEDIA = 16; // 0x10
5295    field public static final int ONE_TOUCH_RECORD_NO_OR_INSUFFICIENT_CA_ENTITLEMENTS = 12; // 0xc
5296    field public static final int ONE_TOUCH_RECORD_NO_SOURCE_SIGNAL = 20; // 0x14
5297    field public static final int ONE_TOUCH_RECORD_OTHER_REASON = 31; // 0x1f
5298    field public static final int ONE_TOUCH_RECORD_PARENT_LOCK_ON = 23; // 0x17
5299    field public static final int ONE_TOUCH_RECORD_PLAYING = 17; // 0x11
5300    field public static final int ONE_TOUCH_RECORD_PREVIOUS_RECORDING_IN_PROGRESS = 48; // 0x30
5301    field public static final int ONE_TOUCH_RECORD_RECORDING_ALREADY_TERMINATED = 27; // 0x1b
5302    field public static final int ONE_TOUCH_RECORD_RECORDING_ANALOGUE_SERVICE = 3; // 0x3
5303    field public static final int ONE_TOUCH_RECORD_RECORDING_CURRENTLY_SELECTED_SOURCE = 1; // 0x1
5304    field public static final int ONE_TOUCH_RECORD_RECORDING_DIGITAL_SERVICE = 2; // 0x2
5305    field public static final int ONE_TOUCH_RECORD_RECORDING_EXTERNAL_INPUT = 4; // 0x4
5306    field public static final int ONE_TOUCH_RECORD_RECORDING_TERMINATED_NORMALLY = 26; // 0x1a
5307    field public static final int ONE_TOUCH_RECORD_UNABLE_ANALOGUE_SERVICE = 6; // 0x6
5308    field public static final int ONE_TOUCH_RECORD_UNABLE_DIGITAL_SERVICE = 5; // 0x5
5309    field public static final int ONE_TOUCH_RECORD_UNABLE_SELECTED_SERVICE = 7; // 0x7
5310    field public static final int ONE_TOUCH_RECORD_UNSUPPORTED_CA = 11; // 0xb
5311    field public static final int OSD_MESSAGE_ARC_CONNECTED_INVALID_PORT = 1; // 0x1
5312    field public static final int OSD_MESSAGE_AVR_VOLUME_CHANGED = 2; // 0x2
5313    field public static final String POWER_CONTROL_MODE_BROADCAST = "broadcast";
5314    field public static final String POWER_CONTROL_MODE_NONE = "none";
5315    field public static final String POWER_CONTROL_MODE_TV = "to_tv";
5316    field public static final String POWER_CONTROL_MODE_TV_AND_AUDIO_SYSTEM = "to_tv_and_audio_system";
5317    field public static final String POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST_NONE = "none";
5318    field public static final String POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST_STANDBY_NOW = "standby_now";
5319    field public static final int POWER_STATUS_ON = 0; // 0x0
5320    field public static final int POWER_STATUS_STANDBY = 1; // 0x1
5321    field public static final int POWER_STATUS_TRANSIENT_TO_ON = 2; // 0x2
5322    field public static final int POWER_STATUS_TRANSIENT_TO_STANDBY = 3; // 0x3
5323    field public static final int POWER_STATUS_UNKNOWN = -1; // 0xffffffff
5324    field public static final int QUERY_SAD_DISABLED = 0; // 0x0
5325    field public static final int QUERY_SAD_ENABLED = 1; // 0x1
5326    field @Deprecated public static final int RESULT_ALREADY_IN_PROGRESS = 4; // 0x4
5327    field public static final int RESULT_COMMUNICATION_FAILED = 7; // 0x7
5328    field public static final int RESULT_EXCEPTION = 5; // 0x5
5329    field public static final int RESULT_INCORRECT_MODE = 6; // 0x6
5330    field public static final int RESULT_SOURCE_NOT_AVAILABLE = 2; // 0x2
5331    field public static final int RESULT_SUCCESS = 0; // 0x0
5332    field public static final int RESULT_TARGET_NOT_AVAILABLE = 3; // 0x3
5333    field public static final int RESULT_TIMEOUT = 1; // 0x1
5334    field public static final int ROUTING_CONTROL_DISABLED = 0; // 0x0
5335    field public static final int ROUTING_CONTROL_ENABLED = 1; // 0x1
5336    field public static final String SETTING_NAME_EARC_ENABLED = "earc_enabled";
5337    field public static final int SOUNDBAR_MODE_DISABLED = 0; // 0x0
5338    field public static final int SOUNDBAR_MODE_ENABLED = 1; // 0x1
5339    field public static final int SYSTEM_AUDIO_CONTROL_DISABLED = 0; // 0x0
5340    field public static final int SYSTEM_AUDIO_CONTROL_ENABLED = 1; // 0x1
5341    field public static final int SYSTEM_AUDIO_MODE_MUTING_DISABLED = 0; // 0x0
5342    field public static final int SYSTEM_AUDIO_MODE_MUTING_ENABLED = 1; // 0x1
5343    field public static final int TIMER_RECORDING_RESULT_EXTRA_CEC_DISABLED = 3; // 0x3
5344    field public static final int TIMER_RECORDING_RESULT_EXTRA_CHECK_RECORDER_CONNECTION = 1; // 0x1
5345    field public static final int TIMER_RECORDING_RESULT_EXTRA_FAIL_TO_RECORD_SELECTED_SOURCE = 2; // 0x2
5346    field public static final int TIMER_RECORDING_RESULT_EXTRA_NO_ERROR = 0; // 0x0
5347    field public static final int TIMER_RECORDING_TYPE_ANALOGUE = 2; // 0x2
5348    field public static final int TIMER_RECORDING_TYPE_DIGITAL = 1; // 0x1
5349    field public static final int TIMER_RECORDING_TYPE_EXTERNAL = 3; // 0x3
5350    field public static final int TIMER_STATUS_MEDIA_INFO_NOT_PRESENT = 2; // 0x2
5351    field public static final int TIMER_STATUS_MEDIA_INFO_PRESENT_NOT_PROTECTED = 0; // 0x0
5352    field public static final int TIMER_STATUS_MEDIA_INFO_PRESENT_PROTECTED = 1; // 0x1
5353    field public static final int TIMER_STATUS_NOT_PROGRAMMED_CA_NOT_SUPPORTED = 6; // 0x6
5354    field public static final int TIMER_STATUS_NOT_PROGRAMMED_CLOCK_FAILURE = 10; // 0xa
5355    field public static final int TIMER_STATUS_NOT_PROGRAMMED_DATE_OUT_OF_RANGE = 2; // 0x2
5356    field public static final int TIMER_STATUS_NOT_PROGRAMMED_DUPLICATED = 14; // 0xe
5357    field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_EXTERNAL_PHYSICAL_NUMBER = 5; // 0x5
5358    field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_EXTERNAL_PLUG_NUMBER = 4; // 0x4
5359    field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_SEQUENCE = 3; // 0x3
5360    field public static final int TIMER_STATUS_NOT_PROGRAMMED_NO_CA_ENTITLEMENTS = 7; // 0x7
5361    field public static final int TIMER_STATUS_NOT_PROGRAMMED_NO_FREE_TIME = 1; // 0x1
5362    field public static final int TIMER_STATUS_NOT_PROGRAMMED_PARENTAL_LOCK_ON = 9; // 0x9
5363    field public static final int TIMER_STATUS_NOT_PROGRAMMED_UNSUPPORTED_RESOLUTION = 8; // 0x8
5364    field public static final int TIMER_STATUS_PROGRAMMED_INFO_ENOUGH_SPACE = 8; // 0x8
5365    field public static final int TIMER_STATUS_PROGRAMMED_INFO_MIGHT_NOT_ENOUGH_SPACE = 11; // 0xb
5366    field public static final int TIMER_STATUS_PROGRAMMED_INFO_NOT_ENOUGH_SPACE = 9; // 0x9
5367    field public static final int TIMER_STATUS_PROGRAMMED_INFO_NO_MEDIA_INFO = 10; // 0xa
5368    field public static final int TV_SEND_STANDBY_ON_SLEEP_DISABLED = 0; // 0x0
5369    field public static final int TV_SEND_STANDBY_ON_SLEEP_ENABLED = 1; // 0x1
5370    field public static final int TV_WAKE_ON_ONE_TOUCH_PLAY_DISABLED = 0; // 0x0
5371    field public static final int TV_WAKE_ON_ONE_TOUCH_PLAY_ENABLED = 1; // 0x1
5372    field public static final int VOLUME_CONTROL_DISABLED = 0; // 0x0
5373    field public static final int VOLUME_CONTROL_ENABLED = 1; // 0x1
5374  }
5375
5376  public static interface HdmiControlManager.CecSettingChangeListener {
5377    method public void onChange(@NonNull String);
5378  }
5379
5380  public static interface HdmiControlManager.HotplugEventListener {
5381    method public void onReceived(android.hardware.hdmi.HdmiHotplugEvent);
5382  }
5383
5384  public static interface HdmiControlManager.VendorCommandListener {
5385    method public void onControlStateChanged(boolean, int);
5386    method public void onReceived(int, int, byte[], boolean);
5387  }
5388
5389  public class HdmiDeviceInfo implements android.os.Parcelable {
5390    ctor @Deprecated public HdmiDeviceInfo();
5391    method public int describeContents();
5392    method public int getAdopterId();
5393    method public int getDeviceId();
5394    method public int getDevicePowerStatus();
5395    method public int getDeviceType();
5396    method public String getDisplayName();
5397    method public int getId();
5398    method public int getLogicalAddress();
5399    method public int getPhysicalAddress();
5400    method public int getPortId();
5401    method public int getVendorId();
5402    method public static int idForCecDevice(int);
5403    method public static int idForHardware(int);
5404    method public static int idForMhlDevice(int);
5405    method public boolean isCecDevice();
5406    method public boolean isInactivated();
5407    method public boolean isMhlDevice();
5408    method public boolean isSourceType();
5409    method public void writeToParcel(android.os.Parcel, int);
5410    field public static final int ADDR_INTERNAL = 0; // 0x0
5411    field public static final int ADDR_INVALID = -1; // 0xffffffff
5412    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiDeviceInfo> CREATOR;
5413    field public static final int DEVICE_AUDIO_SYSTEM = 5; // 0x5
5414    field public static final int DEVICE_INACTIVE = -1; // 0xffffffff
5415    field public static final int DEVICE_PLAYBACK = 4; // 0x4
5416    field public static final int DEVICE_RECORDER = 1; // 0x1
5417    field public static final int DEVICE_RESERVED = 2; // 0x2
5418    field public static final int DEVICE_TUNER = 3; // 0x3
5419    field public static final int DEVICE_TV = 0; // 0x0
5420    field public static final int ID_INVALID = 65535; // 0xffff
5421    field public static final android.hardware.hdmi.HdmiDeviceInfo INACTIVE_DEVICE;
5422    field public static final int PATH_INTERNAL = 0; // 0x0
5423    field public static final int PATH_INVALID = 65535; // 0xffff
5424    field public static final int PORT_INVALID = -1; // 0xffffffff
5425    field public static final int VENDOR_ID_UNKNOWN = 16777215; // 0xffffff
5426  }
5427
5428  public final class HdmiHotplugEvent implements android.os.Parcelable {
5429    method public int describeContents();
5430    method public int getPort();
5431    method public boolean isConnected();
5432    method public void writeToParcel(android.os.Parcel, int);
5433    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiHotplugEvent> CREATOR;
5434  }
5435
5436  public final class HdmiPlaybackClient extends android.hardware.hdmi.HdmiClient {
5437    method public int getDeviceType();
5438    method public void oneTouchPlay(android.hardware.hdmi.HdmiPlaybackClient.OneTouchPlayCallback);
5439    method public void queryDisplayStatus(android.hardware.hdmi.HdmiPlaybackClient.DisplayStatusCallback);
5440    method public void sendStandby();
5441  }
5442
5443  public static interface HdmiPlaybackClient.DisplayStatusCallback {
5444    method public void onComplete(int);
5445  }
5446
5447  public static interface HdmiPlaybackClient.OneTouchPlayCallback {
5448    method public void onComplete(int);
5449  }
5450
5451  public final class HdmiPortInfo implements android.os.Parcelable {
5452    ctor @Deprecated public HdmiPortInfo(int, int, int, boolean, boolean, boolean);
5453    method public int describeContents();
5454    method public int getAddress();
5455    method public int getId();
5456    method public int getType();
5457    method public boolean isArcSupported();
5458    method public boolean isCecSupported();
5459    method public boolean isEarcSupported();
5460    method public boolean isMhlSupported();
5461    method public void writeToParcel(android.os.Parcel, int);
5462    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiPortInfo> CREATOR;
5463    field public static final int PORT_INPUT = 0; // 0x0
5464    field public static final int PORT_OUTPUT = 1; // 0x1
5465  }
5466
5467  public static final class HdmiPortInfo.Builder {
5468    ctor public HdmiPortInfo.Builder(int, int, int);
5469    method @NonNull public android.hardware.hdmi.HdmiPortInfo build();
5470    method @NonNull public android.hardware.hdmi.HdmiPortInfo.Builder setArcSupported(boolean);
5471    method @NonNull public android.hardware.hdmi.HdmiPortInfo.Builder setCecSupported(boolean);
5472    method @NonNull public android.hardware.hdmi.HdmiPortInfo.Builder setEarcSupported(boolean);
5473    method @NonNull public android.hardware.hdmi.HdmiPortInfo.Builder setMhlSupported(boolean);
5474  }
5475
5476  public abstract class HdmiRecordListener {
5477    ctor public HdmiRecordListener();
5478    method public void onClearTimerRecordingResult(int, int);
5479    method public void onOneTouchRecordResult(int, int);
5480    method public abstract android.hardware.hdmi.HdmiRecordSources.RecordSource onOneTouchRecordSourceRequested(int);
5481    method public void onTimerRecordingResult(int, android.hardware.hdmi.HdmiRecordListener.TimerStatusData);
5482  }
5483
5484  public static class HdmiRecordListener.TimerStatusData {
5485    method public int getDurationHour();
5486    method public int getDurationMinute();
5487    method public int getExtraError();
5488    method public int getMediaInfo();
5489    method public int getNotProgammedError();
5490    method public int getProgrammedInfo();
5491    method public boolean isOverlapped();
5492    method public boolean isProgrammed();
5493  }
5494
5495  public final class HdmiRecordSources {
5496    method public static boolean checkRecordSource(byte[]);
5497    method public static android.hardware.hdmi.HdmiRecordSources.OwnSource ofOwnSource();
5498  }
5499
5500  public static final class HdmiRecordSources.AnalogueServiceSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource {
5501  }
5502
5503  public static final class HdmiRecordSources.DigitalServiceSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource {
5504  }
5505
5506  public static final class HdmiRecordSources.ExternalPhysicalAddress extends android.hardware.hdmi.HdmiRecordSources.RecordSource {
5507  }
5508
5509  public static final class HdmiRecordSources.ExternalPlugData extends android.hardware.hdmi.HdmiRecordSources.RecordSource {
5510  }
5511
5512  public static final class HdmiRecordSources.OwnSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource {
5513  }
5514
5515  public abstract static class HdmiRecordSources.RecordSource {
5516  }
5517
5518  public class HdmiSwitchClient extends android.hardware.hdmi.HdmiClient {
5519    method public int getDeviceType();
5520    method @Deprecated @NonNull public java.util.List<android.hardware.hdmi.HdmiPortInfo> getPortInfo();
5521    method public void selectPort(int, @NonNull android.hardware.hdmi.HdmiSwitchClient.OnSelectListener);
5522    method public void selectPort(int, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.hdmi.HdmiSwitchClient.OnSelectListener);
5523  }
5524
5525  public static interface HdmiSwitchClient.OnSelectListener {
5526    method public void onSelect(int);
5527  }
5528
5529  public class HdmiTimerRecordSources {
5530    method public static boolean checkTimerRecordSource(int, byte[]);
5531    method public static android.hardware.hdmi.HdmiTimerRecordSources.Duration durationOf(int, int);
5532    method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofAnalogueSource(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.AnalogueServiceSource);
5533    method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofDigitalSource(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.DigitalServiceSource);
5534    method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofExternalPhysicalAddress(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.ExternalPhysicalAddress);
5535    method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofExternalPlug(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.ExternalPlugData);
5536    method public static android.hardware.hdmi.HdmiTimerRecordSources.Time timeOf(int, int);
5537    method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo timerInfoOf(int, int, android.hardware.hdmi.HdmiTimerRecordSources.Time, android.hardware.hdmi.HdmiTimerRecordSources.Duration, int);
5538    field public static final int RECORDING_SEQUENCE_REPEAT_FRIDAY = 32; // 0x20
5539    field public static final int RECORDING_SEQUENCE_REPEAT_MONDAY = 2; // 0x2
5540    field public static final int RECORDING_SEQUENCE_REPEAT_ONCE_ONLY = 0; // 0x0
5541    field public static final int RECORDING_SEQUENCE_REPEAT_SATUREDAY = 64; // 0x40
5542    field public static final int RECORDING_SEQUENCE_REPEAT_SUNDAY = 1; // 0x1
5543    field public static final int RECORDING_SEQUENCE_REPEAT_THURSDAY = 16; // 0x10
5544    field public static final int RECORDING_SEQUENCE_REPEAT_TUESDAY = 4; // 0x4
5545    field public static final int RECORDING_SEQUENCE_REPEAT_WEDNESDAY = 8; // 0x8
5546  }
5547
5548  public static final class HdmiTimerRecordSources.Duration {
5549  }
5550
5551  public static final class HdmiTimerRecordSources.Time {
5552  }
5553
5554  public static final class HdmiTimerRecordSources.TimerInfo {
5555  }
5556
5557  public static final class HdmiTimerRecordSources.TimerRecordSource {
5558  }
5559
5560  public final class HdmiTvClient extends android.hardware.hdmi.HdmiClient {
5561    method public void clearTimerRecording(int, int, android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource);
5562    method @Deprecated public void deviceSelect(int, @NonNull android.hardware.hdmi.HdmiTvClient.SelectCallback);
5563    method @Deprecated public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getDeviceList();
5564    method public int getDeviceType();
5565    method public void portSelect(int, @NonNull android.hardware.hdmi.HdmiTvClient.SelectCallback);
5566    method public void sendMhlVendorCommand(int, int, int, byte[]);
5567    method public void sendStandby(int);
5568    method public void setHdmiMhlVendorCommandListener(android.hardware.hdmi.HdmiTvClient.HdmiMhlVendorCommandListener);
5569    method public void setInputChangeListener(android.hardware.hdmi.HdmiTvClient.InputChangeListener);
5570    method public void setRecordListener(@NonNull android.hardware.hdmi.HdmiRecordListener);
5571    method public void setSystemAudioMode(boolean, android.hardware.hdmi.HdmiTvClient.SelectCallback);
5572    method public void setSystemAudioMute(boolean);
5573    method public void setSystemAudioVolume(int, int, int);
5574    method public void startOneTouchRecord(int, @NonNull android.hardware.hdmi.HdmiRecordSources.RecordSource);
5575    method public void startTimerRecording(int, int, android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource);
5576    method public void stopOneTouchRecord(int);
5577    field public static final int VENDOR_DATA_SIZE = 16; // 0x10
5578  }
5579
5580  public static interface HdmiTvClient.HdmiMhlVendorCommandListener {
5581    method public void onReceived(int, int, int, byte[]);
5582  }
5583
5584  public static interface HdmiTvClient.InputChangeListener {
5585    method public void onChanged(android.hardware.hdmi.HdmiDeviceInfo);
5586  }
5587
5588  public static interface HdmiTvClient.SelectCallback {
5589    method public void onComplete(int);
5590  }
5591
5592}
5593
5594package android.hardware.input {
5595
5596  public class VirtualDpad implements java.io.Closeable {
5597    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close();
5598    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendKeyEvent(@NonNull android.hardware.input.VirtualKeyEvent);
5599  }
5600
5601  public final class VirtualDpadConfig extends android.hardware.input.VirtualInputDeviceConfig implements android.os.Parcelable {
5602    method public int describeContents();
5603    method public void writeToParcel(@NonNull android.os.Parcel, int);
5604    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualDpadConfig> CREATOR;
5605  }
5606
5607  public static final class VirtualDpadConfig.Builder extends android.hardware.input.VirtualInputDeviceConfig.Builder<android.hardware.input.VirtualDpadConfig.Builder> {
5608    ctor public VirtualDpadConfig.Builder();
5609    method @NonNull public android.hardware.input.VirtualDpadConfig build();
5610  }
5611
5612  public abstract class VirtualInputDeviceConfig {
5613    ctor protected VirtualInputDeviceConfig(@NonNull android.hardware.input.VirtualInputDeviceConfig.Builder<? extends android.hardware.input.VirtualInputDeviceConfig.Builder<?>>);
5614    ctor protected VirtualInputDeviceConfig(@NonNull android.os.Parcel);
5615    method public int getAssociatedDisplayId();
5616    method @NonNull public String getInputDeviceName();
5617    method public int getProductId();
5618    method public int getVendorId();
5619  }
5620
5621  public abstract static class VirtualInputDeviceConfig.Builder<T extends android.hardware.input.VirtualInputDeviceConfig.Builder<T>> {
5622    ctor public VirtualInputDeviceConfig.Builder();
5623    method @NonNull public T setAssociatedDisplayId(int);
5624    method @NonNull public T setInputDeviceName(@NonNull String);
5625    method @NonNull public T setProductId(int);
5626    method @NonNull public T setVendorId(int);
5627  }
5628
5629  public final class VirtualKeyEvent implements android.os.Parcelable {
5630    method public int describeContents();
5631    method public int getAction();
5632    method public long getEventTimeNanos();
5633    method public int getKeyCode();
5634    method public void writeToParcel(@NonNull android.os.Parcel, int);
5635    field public static final int ACTION_DOWN = 0; // 0x0
5636    field public static final int ACTION_UP = 1; // 0x1
5637    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualKeyEvent> CREATOR;
5638  }
5639
5640  public static final class VirtualKeyEvent.Builder {
5641    ctor public VirtualKeyEvent.Builder();
5642    method @NonNull public android.hardware.input.VirtualKeyEvent build();
5643    method @NonNull public android.hardware.input.VirtualKeyEvent.Builder setAction(int);
5644    method @NonNull public android.hardware.input.VirtualKeyEvent.Builder setEventTimeNanos(long);
5645    method @NonNull public android.hardware.input.VirtualKeyEvent.Builder setKeyCode(int);
5646  }
5647
5648  public class VirtualKeyboard implements java.io.Closeable {
5649    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close();
5650    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendKeyEvent(@NonNull android.hardware.input.VirtualKeyEvent);
5651  }
5652
5653  public final class VirtualKeyboardConfig extends android.hardware.input.VirtualInputDeviceConfig implements android.os.Parcelable {
5654    method public int describeContents();
5655    method @NonNull public String getLanguageTag();
5656    method @NonNull public String getLayoutType();
5657    method public void writeToParcel(@NonNull android.os.Parcel, int);
5658    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualKeyboardConfig> CREATOR;
5659    field public static final String DEFAULT_LANGUAGE_TAG = "en-Latn-US";
5660    field public static final String DEFAULT_LAYOUT_TYPE = "qwerty";
5661  }
5662
5663  public static final class VirtualKeyboardConfig.Builder extends android.hardware.input.VirtualInputDeviceConfig.Builder<android.hardware.input.VirtualKeyboardConfig.Builder> {
5664    ctor public VirtualKeyboardConfig.Builder();
5665    method @NonNull public android.hardware.input.VirtualKeyboardConfig build();
5666    method @NonNull public android.hardware.input.VirtualKeyboardConfig.Builder setLanguageTag(@NonNull String);
5667    method @NonNull public android.hardware.input.VirtualKeyboardConfig.Builder setLayoutType(@NonNull String);
5668  }
5669
5670  public class VirtualMouse implements java.io.Closeable {
5671    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close();
5672    method @NonNull @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public android.graphics.PointF getCursorPosition();
5673    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendButtonEvent(@NonNull android.hardware.input.VirtualMouseButtonEvent);
5674    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendRelativeEvent(@NonNull android.hardware.input.VirtualMouseRelativeEvent);
5675    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendScrollEvent(@NonNull android.hardware.input.VirtualMouseScrollEvent);
5676  }
5677
5678  public final class VirtualMouseButtonEvent implements android.os.Parcelable {
5679    method public int describeContents();
5680    method public int getAction();
5681    method public int getButtonCode();
5682    method public long getEventTimeNanos();
5683    method public void writeToParcel(@NonNull android.os.Parcel, int);
5684    field public static final int ACTION_BUTTON_PRESS = 11; // 0xb
5685    field public static final int ACTION_BUTTON_RELEASE = 12; // 0xc
5686    field public static final int BUTTON_BACK = 8; // 0x8
5687    field public static final int BUTTON_FORWARD = 16; // 0x10
5688    field public static final int BUTTON_PRIMARY = 1; // 0x1
5689    field public static final int BUTTON_SECONDARY = 2; // 0x2
5690    field public static final int BUTTON_TERTIARY = 4; // 0x4
5691    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualMouseButtonEvent> CREATOR;
5692  }
5693
5694  public static final class VirtualMouseButtonEvent.Builder {
5695    ctor public VirtualMouseButtonEvent.Builder();
5696    method @NonNull public android.hardware.input.VirtualMouseButtonEvent build();
5697    method @NonNull public android.hardware.input.VirtualMouseButtonEvent.Builder setAction(int);
5698    method @NonNull public android.hardware.input.VirtualMouseButtonEvent.Builder setButtonCode(int);
5699    method @NonNull public android.hardware.input.VirtualMouseButtonEvent.Builder setEventTimeNanos(long);
5700  }
5701
5702  public final class VirtualMouseConfig extends android.hardware.input.VirtualInputDeviceConfig implements android.os.Parcelable {
5703    method public int describeContents();
5704    method public void writeToParcel(@NonNull android.os.Parcel, int);
5705    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualMouseConfig> CREATOR;
5706  }
5707
5708  public static final class VirtualMouseConfig.Builder extends android.hardware.input.VirtualInputDeviceConfig.Builder<android.hardware.input.VirtualMouseConfig.Builder> {
5709    ctor public VirtualMouseConfig.Builder();
5710    method @NonNull public android.hardware.input.VirtualMouseConfig build();
5711  }
5712
5713  public final class VirtualMouseRelativeEvent implements android.os.Parcelable {
5714    method public int describeContents();
5715    method public long getEventTimeNanos();
5716    method public float getRelativeX();
5717    method public float getRelativeY();
5718    method public void writeToParcel(@NonNull android.os.Parcel, int);
5719    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualMouseRelativeEvent> CREATOR;
5720  }
5721
5722  public static final class VirtualMouseRelativeEvent.Builder {
5723    ctor public VirtualMouseRelativeEvent.Builder();
5724    method @NonNull public android.hardware.input.VirtualMouseRelativeEvent build();
5725    method @NonNull public android.hardware.input.VirtualMouseRelativeEvent.Builder setEventTimeNanos(long);
5726    method @NonNull public android.hardware.input.VirtualMouseRelativeEvent.Builder setRelativeX(float);
5727    method @NonNull public android.hardware.input.VirtualMouseRelativeEvent.Builder setRelativeY(float);
5728  }
5729
5730  public final class VirtualMouseScrollEvent implements android.os.Parcelable {
5731    method public int describeContents();
5732    method public long getEventTimeNanos();
5733    method public float getXAxisMovement();
5734    method public float getYAxisMovement();
5735    method public void writeToParcel(@NonNull android.os.Parcel, int);
5736    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualMouseScrollEvent> CREATOR;
5737  }
5738
5739  public static final class VirtualMouseScrollEvent.Builder {
5740    ctor public VirtualMouseScrollEvent.Builder();
5741    method @NonNull public android.hardware.input.VirtualMouseScrollEvent build();
5742    method @NonNull public android.hardware.input.VirtualMouseScrollEvent.Builder setEventTimeNanos(long);
5743    method @NonNull public android.hardware.input.VirtualMouseScrollEvent.Builder setXAxisMovement(@FloatRange(from=-1.0F, to=1.0f) float);
5744    method @NonNull public android.hardware.input.VirtualMouseScrollEvent.Builder setYAxisMovement(@FloatRange(from=-1.0F, to=1.0f) float);
5745  }
5746
5747  public class VirtualNavigationTouchpad implements java.io.Closeable {
5748    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close();
5749    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendTouchEvent(@NonNull android.hardware.input.VirtualTouchEvent);
5750  }
5751
5752  public final class VirtualNavigationTouchpadConfig extends android.hardware.input.VirtualInputDeviceConfig implements android.os.Parcelable {
5753    method public int describeContents();
5754    method @IntRange(from=1) public int getHeight();
5755    method @IntRange(from=1) public int getWidth();
5756    method public void writeToParcel(@NonNull android.os.Parcel, int);
5757    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualNavigationTouchpadConfig> CREATOR;
5758  }
5759
5760  public static final class VirtualNavigationTouchpadConfig.Builder extends android.hardware.input.VirtualInputDeviceConfig.Builder<android.hardware.input.VirtualNavigationTouchpadConfig.Builder> {
5761    ctor public VirtualNavigationTouchpadConfig.Builder(@IntRange(from=1) int, @IntRange(from=1) int);
5762    method @NonNull public android.hardware.input.VirtualNavigationTouchpadConfig build();
5763  }
5764
5765  @FlaggedApi("android.companion.virtual.flags.virtual_stylus") public class VirtualStylus implements java.io.Closeable {
5766    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close();
5767    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendButtonEvent(@NonNull android.hardware.input.VirtualStylusButtonEvent);
5768    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendMotionEvent(@NonNull android.hardware.input.VirtualStylusMotionEvent);
5769  }
5770
5771  @FlaggedApi("android.companion.virtual.flags.virtual_stylus") public final class VirtualStylusButtonEvent implements android.os.Parcelable {
5772    method public int describeContents();
5773    method public int getAction();
5774    method public int getButtonCode();
5775    method public long getEventTimeNanos();
5776    method public void writeToParcel(@NonNull android.os.Parcel, int);
5777    field public static final int ACTION_BUTTON_PRESS = 11; // 0xb
5778    field public static final int ACTION_BUTTON_RELEASE = 12; // 0xc
5779    field public static final int BUTTON_PRIMARY = 32; // 0x20
5780    field public static final int BUTTON_SECONDARY = 64; // 0x40
5781    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualStylusButtonEvent> CREATOR;
5782  }
5783
5784  @FlaggedApi("android.companion.virtual.flags.virtual_stylus") public static final class VirtualStylusButtonEvent.Builder {
5785    ctor public VirtualStylusButtonEvent.Builder();
5786    method @NonNull public android.hardware.input.VirtualStylusButtonEvent build();
5787    method @NonNull public android.hardware.input.VirtualStylusButtonEvent.Builder setAction(int);
5788    method @NonNull public android.hardware.input.VirtualStylusButtonEvent.Builder setButtonCode(int);
5789    method @NonNull public android.hardware.input.VirtualStylusButtonEvent.Builder setEventTimeNanos(long);
5790  }
5791
5792  @FlaggedApi("android.companion.virtual.flags.virtual_stylus") public final class VirtualStylusConfig extends android.hardware.input.VirtualInputDeviceConfig implements android.os.Parcelable {
5793    method public int describeContents();
5794    method public int getHeight();
5795    method public int getWidth();
5796    method public void writeToParcel(@NonNull android.os.Parcel, int);
5797    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualStylusConfig> CREATOR;
5798  }
5799
5800  @FlaggedApi("android.companion.virtual.flags.virtual_stylus") public static final class VirtualStylusConfig.Builder extends android.hardware.input.VirtualInputDeviceConfig.Builder<android.hardware.input.VirtualStylusConfig.Builder> {
5801    ctor public VirtualStylusConfig.Builder(@IntRange(from=1) int, @IntRange(from=1) int);
5802    method @NonNull public android.hardware.input.VirtualStylusConfig build();
5803  }
5804
5805  @FlaggedApi("android.companion.virtual.flags.virtual_stylus") public final class VirtualStylusMotionEvent implements android.os.Parcelable {
5806    method public int describeContents();
5807    method public int getAction();
5808    method public long getEventTimeNanos();
5809    method public int getPressure();
5810    method public int getTiltX();
5811    method public int getTiltY();
5812    method public int getToolType();
5813    method public int getX();
5814    method public int getY();
5815    method public void writeToParcel(@NonNull android.os.Parcel, int);
5816    field public static final int ACTION_DOWN = 0; // 0x0
5817    field public static final int ACTION_MOVE = 2; // 0x2
5818    field public static final int ACTION_UP = 1; // 0x1
5819    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualStylusMotionEvent> CREATOR;
5820    field public static final int TOOL_TYPE_ERASER = 4; // 0x4
5821    field public static final int TOOL_TYPE_STYLUS = 2; // 0x2
5822  }
5823
5824  @FlaggedApi("android.companion.virtual.flags.virtual_stylus") public static final class VirtualStylusMotionEvent.Builder {
5825    ctor public VirtualStylusMotionEvent.Builder();
5826    method @NonNull public android.hardware.input.VirtualStylusMotionEvent build();
5827    method @NonNull public android.hardware.input.VirtualStylusMotionEvent.Builder setAction(int);
5828    method @NonNull public android.hardware.input.VirtualStylusMotionEvent.Builder setEventTimeNanos(long);
5829    method @NonNull public android.hardware.input.VirtualStylusMotionEvent.Builder setPressure(@IntRange(from=0x0, to=0xff) int);
5830    method @NonNull public android.hardware.input.VirtualStylusMotionEvent.Builder setTiltX(@IntRange(from=0xffffffa6, to=0x5a) int);
5831    method @NonNull public android.hardware.input.VirtualStylusMotionEvent.Builder setTiltY(@IntRange(from=0xffffffa6, to=0x5a) int);
5832    method @NonNull public android.hardware.input.VirtualStylusMotionEvent.Builder setToolType(int);
5833    method @NonNull public android.hardware.input.VirtualStylusMotionEvent.Builder setX(int);
5834    method @NonNull public android.hardware.input.VirtualStylusMotionEvent.Builder setY(int);
5835  }
5836
5837  public final class VirtualTouchEvent implements android.os.Parcelable {
5838    method public int describeContents();
5839    method public int getAction();
5840    method public long getEventTimeNanos();
5841    method public float getMajorAxisSize();
5842    method public int getPointerId();
5843    method public float getPressure();
5844    method public int getToolType();
5845    method public float getX();
5846    method public float getY();
5847    method public void writeToParcel(@NonNull android.os.Parcel, int);
5848    field public static final int ACTION_CANCEL = 3; // 0x3
5849    field public static final int ACTION_DOWN = 0; // 0x0
5850    field public static final int ACTION_MOVE = 2; // 0x2
5851    field public static final int ACTION_UP = 1; // 0x1
5852    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualTouchEvent> CREATOR;
5853    field public static final int TOOL_TYPE_FINGER = 1; // 0x1
5854    field public static final int TOOL_TYPE_PALM = 5; // 0x5
5855  }
5856
5857  public static final class VirtualTouchEvent.Builder {
5858    ctor public VirtualTouchEvent.Builder();
5859    method @NonNull public android.hardware.input.VirtualTouchEvent build();
5860    method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setAction(int);
5861    method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setEventTimeNanos(long);
5862    method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setMajorAxisSize(@FloatRange(from=0.0f) float);
5863    method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setPointerId(@IntRange(from=0, to=0x10 - 1) int);
5864    method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setPressure(@FloatRange(from=0.0f) float);
5865    method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setToolType(int);
5866    method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setX(float);
5867    method @NonNull public android.hardware.input.VirtualTouchEvent.Builder setY(float);
5868  }
5869
5870  public class VirtualTouchscreen implements java.io.Closeable {
5871    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void close();
5872    method @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendTouchEvent(@NonNull android.hardware.input.VirtualTouchEvent);
5873  }
5874
5875  public final class VirtualTouchscreenConfig extends android.hardware.input.VirtualInputDeviceConfig implements android.os.Parcelable {
5876    method public int describeContents();
5877    method public int getHeight();
5878    method public int getWidth();
5879    method public void writeToParcel(@NonNull android.os.Parcel, int);
5880    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.VirtualTouchscreenConfig> CREATOR;
5881  }
5882
5883  public static final class VirtualTouchscreenConfig.Builder extends android.hardware.input.VirtualInputDeviceConfig.Builder<android.hardware.input.VirtualTouchscreenConfig.Builder> {
5884    ctor public VirtualTouchscreenConfig.Builder(@IntRange(from=1) int, @IntRange(from=1) int);
5885    method @NonNull public android.hardware.input.VirtualTouchscreenConfig build();
5886  }
5887
5888}
5889
5890package android.hardware.lights {
5891
5892  public final class LightState implements android.os.Parcelable {
5893    ctor @Deprecated public LightState(@ColorInt int);
5894  }
5895
5896  public abstract class LightsManager {
5897    field @Deprecated public static final int LIGHT_TYPE_MICROPHONE = 8; // 0x8
5898  }
5899
5900  public static final class LightsRequest.Builder {
5901    method @Deprecated @NonNull public android.hardware.lights.LightsRequest.Builder setLight(@NonNull android.hardware.lights.Light, @NonNull android.hardware.lights.LightState);
5902  }
5903
5904}
5905
5906package android.hardware.location {
5907
5908  public class ContextHubClient implements java.io.Closeable {
5909    method public void close();
5910    method @NonNull public android.hardware.location.ContextHubInfo getAttachedHub();
5911    method @IntRange(from=0, to=65535) public int getId();
5912    method @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public int sendMessageToNanoApp(@NonNull android.hardware.location.NanoAppMessage);
5913    method @FlaggedApi("android.chre.flags.reliable_message") @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubTransaction<java.lang.Void> sendReliableMessageToNanoApp(@NonNull android.hardware.location.NanoAppMessage);
5914  }
5915
5916  public class ContextHubClientCallback {
5917    ctor public ContextHubClientCallback();
5918    method public void onClientAuthorizationChanged(@NonNull android.hardware.location.ContextHubClient, long, int);
5919    method public void onHubReset(android.hardware.location.ContextHubClient);
5920    method public void onMessageFromNanoApp(android.hardware.location.ContextHubClient, android.hardware.location.NanoAppMessage);
5921    method public void onNanoAppAborted(android.hardware.location.ContextHubClient, long, int);
5922    method public void onNanoAppDisabled(android.hardware.location.ContextHubClient, long);
5923    method public void onNanoAppEnabled(android.hardware.location.ContextHubClient, long);
5924    method public void onNanoAppLoaded(android.hardware.location.ContextHubClient, long);
5925    method public void onNanoAppUnloaded(android.hardware.location.ContextHubClient, long);
5926  }
5927
5928  public class ContextHubInfo implements android.os.Parcelable {
5929    ctor public ContextHubInfo();
5930    method public int describeContents();
5931    method public byte getChreApiMajorVersion();
5932    method public byte getChreApiMinorVersion();
5933    method public short getChrePatchVersion();
5934    method public long getChrePlatformId();
5935    method public int getId();
5936    method public int getMaxPacketLengthBytes();
5937    method public android.hardware.location.MemoryRegion[] getMemoryRegions();
5938    method public String getName();
5939    method public float getPeakMips();
5940    method public float getPeakPowerDrawMw();
5941    method public int getPlatformVersion();
5942    method public float getSleepPowerDrawMw();
5943    method public int getStaticSwVersion();
5944    method public float getStoppedPowerDrawMw();
5945    method public int[] getSupportedSensors();
5946    method public String getToolchain();
5947    method public int getToolchainVersion();
5948    method public String getVendor();
5949    method @FlaggedApi("android.chre.flags.reliable_message") public boolean supportsReliableMessages();
5950    method public void writeToParcel(android.os.Parcel, int);
5951    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.ContextHubInfo> CREATOR;
5952  }
5953
5954  public class ContextHubIntentEvent {
5955    method @NonNull public static android.hardware.location.ContextHubIntentEvent fromIntent(@NonNull android.content.Intent);
5956    method public int getClientAuthorizationState();
5957    method @NonNull public android.hardware.location.ContextHubInfo getContextHubInfo();
5958    method public int getEventType();
5959    method public int getNanoAppAbortCode();
5960    method public long getNanoAppId();
5961    method @NonNull public android.hardware.location.NanoAppMessage getNanoAppMessage();
5962  }
5963
5964  public final class ContextHubManager {
5965    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubClient createClient(@Nullable android.content.Context, @NonNull android.hardware.location.ContextHubInfo, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.location.ContextHubClientCallback);
5966    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.ContextHubClientCallback, @NonNull java.util.concurrent.Executor);
5967    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.ContextHubClientCallback);
5968    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubClient createClient(@Nullable android.content.Context, @NonNull android.hardware.location.ContextHubInfo, @NonNull android.app.PendingIntent, long);
5969    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.app.PendingIntent, long);
5970    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubTransaction<java.lang.Void> disableNanoApp(@NonNull android.hardware.location.ContextHubInfo, long);
5971    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubTransaction<java.lang.Void> enableNanoApp(@NonNull android.hardware.location.ContextHubInfo, long);
5972    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public int[] findNanoAppOnHub(int, @NonNull android.hardware.location.NanoAppFilter);
5973    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public int[] getContextHubHandles();
5974    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubInfo getContextHubInfo(int);
5975    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public java.util.List<android.hardware.location.ContextHubInfo> getContextHubs();
5976    method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.NanoAppInstanceInfo getNanoAppInstanceInfo(int);
5977    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public int loadNanoApp(int, @NonNull android.hardware.location.NanoApp);
5978    method @NonNull @RequiresPermission(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);
5979    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubTransaction<java.util.List<android.hardware.location.NanoAppState>> queryNanoApps(@NonNull android.hardware.location.ContextHubInfo);
5980    method @Deprecated public int registerCallback(@NonNull android.hardware.location.ContextHubManager.Callback);
5981    method @Deprecated public int registerCallback(android.hardware.location.ContextHubManager.Callback, android.os.Handler);
5982    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public int sendMessage(int, int, @NonNull android.hardware.location.ContextHubMessage);
5983    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public int unloadNanoApp(int);
5984    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public android.hardware.location.ContextHubTransaction<java.lang.Void> unloadNanoApp(@NonNull android.hardware.location.ContextHubInfo, long);
5985    method @Deprecated public int unregisterCallback(@NonNull android.hardware.location.ContextHubManager.Callback);
5986    field public static final int AUTHORIZATION_DENIED = 0; // 0x0
5987    field public static final int AUTHORIZATION_DENIED_GRACE_PERIOD = 1; // 0x1
5988    field public static final int AUTHORIZATION_GRANTED = 2; // 0x2
5989    field public static final int EVENT_CLIENT_AUTHORIZATION = 7; // 0x7
5990    field public static final int EVENT_HUB_RESET = 6; // 0x6
5991    field public static final int EVENT_NANOAPP_ABORTED = 4; // 0x4
5992    field public static final int EVENT_NANOAPP_DISABLED = 3; // 0x3
5993    field public static final int EVENT_NANOAPP_ENABLED = 2; // 0x2
5994    field public static final int EVENT_NANOAPP_LOADED = 0; // 0x0
5995    field public static final int EVENT_NANOAPP_MESSAGE = 5; // 0x5
5996    field public static final int EVENT_NANOAPP_UNLOADED = 1; // 0x1
5997    field public static final String EXTRA_CLIENT_AUTHORIZATION_STATE = "android.hardware.location.extra.CLIENT_AUTHORIZATION_STATE";
5998    field public static final String EXTRA_CONTEXT_HUB_INFO = "android.hardware.location.extra.CONTEXT_HUB_INFO";
5999    field public static final String EXTRA_EVENT_TYPE = "android.hardware.location.extra.EVENT_TYPE";
6000    field public static final String EXTRA_MESSAGE = "android.hardware.location.extra.MESSAGE";
6001    field public static final String EXTRA_NANOAPP_ABORT_CODE = "android.hardware.location.extra.NANOAPP_ABORT_CODE";
6002    field public static final String EXTRA_NANOAPP_ID = "android.hardware.location.extra.NANOAPP_ID";
6003  }
6004
6005  @Deprecated public abstract static class ContextHubManager.Callback {
6006    ctor @Deprecated protected ContextHubManager.Callback();
6007    method @Deprecated public abstract void onMessageReceipt(int, int, @NonNull android.hardware.location.ContextHubMessage);
6008  }
6009
6010  @Deprecated public class ContextHubMessage implements android.os.Parcelable {
6011    ctor @Deprecated public ContextHubMessage(int, int, byte[]);
6012    method @Deprecated public int describeContents();
6013    method @Deprecated public byte[] getData();
6014    method @Deprecated public int getMsgType();
6015    method @Deprecated public int getVersion();
6016    method @Deprecated public void setMsgData(byte[]);
6017    method @Deprecated public void setMsgType(int);
6018    method @Deprecated public void setVersion(int);
6019    method @Deprecated public void writeToParcel(android.os.Parcel, int);
6020    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.ContextHubMessage> CREATOR;
6021  }
6022
6023  public class ContextHubTransaction<T> {
6024    method public int getType();
6025    method public void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnCompleteListener<T>, @NonNull java.util.concurrent.Executor);
6026    method public void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnCompleteListener<T>);
6027    method public static String typeToString(int, boolean);
6028    method public android.hardware.location.ContextHubTransaction.Response<T> waitForResponse(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException;
6029    field public static final int RESULT_FAILED_AT_HUB = 5; // 0x5
6030    field public static final int RESULT_FAILED_BAD_PARAMS = 2; // 0x2
6031    field public static final int RESULT_FAILED_BUSY = 4; // 0x4
6032    field public static final int RESULT_FAILED_HAL_UNAVAILABLE = 8; // 0x8
6033    field @FlaggedApi("android.chre.flags.reliable_message") public static final int RESULT_FAILED_NOT_SUPPORTED = 9; // 0x9
6034    field public static final int RESULT_FAILED_SERVICE_INTERNAL_FAILURE = 7; // 0x7
6035    field public static final int RESULT_FAILED_TIMEOUT = 6; // 0x6
6036    field public static final int RESULT_FAILED_UNINITIALIZED = 3; // 0x3
6037    field public static final int RESULT_FAILED_UNKNOWN = 1; // 0x1
6038    field public static final int RESULT_SUCCESS = 0; // 0x0
6039    field public static final int TYPE_DISABLE_NANOAPP = 3; // 0x3
6040    field public static final int TYPE_ENABLE_NANOAPP = 2; // 0x2
6041    field public static final int TYPE_LOAD_NANOAPP = 0; // 0x0
6042    field public static final int TYPE_QUERY_NANOAPPS = 4; // 0x4
6043    field @FlaggedApi("android.chre.flags.reliable_message") public static final int TYPE_RELIABLE_MESSAGE = 5; // 0x5
6044    field public static final int TYPE_UNLOAD_NANOAPP = 1; // 0x1
6045  }
6046
6047  @java.lang.FunctionalInterface public static interface ContextHubTransaction.OnCompleteListener<L> {
6048    method public void onComplete(android.hardware.location.ContextHubTransaction<L>, android.hardware.location.ContextHubTransaction.Response<L>);
6049  }
6050
6051  public static class ContextHubTransaction.Response<R> {
6052    method public R getContents();
6053    method public int getResult();
6054  }
6055
6056  public final class GeofenceHardware {
6057    method public boolean addGeofence(int, int, android.hardware.location.GeofenceHardwareRequest, android.hardware.location.GeofenceHardwareCallback);
6058    method public int[] getMonitoringTypes();
6059    method public int getStatusOfMonitoringType(int);
6060    method public boolean pauseGeofence(int, int);
6061    method public boolean registerForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback);
6062    method public boolean removeGeofence(int, int);
6063    method public boolean resumeGeofence(int, int, int);
6064    method public boolean unregisterForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback);
6065    field public static final int GEOFENCE_ENTERED = 1; // 0x1
6066    field public static final int GEOFENCE_ERROR_ID_EXISTS = 2; // 0x2
6067    field public static final int GEOFENCE_ERROR_ID_UNKNOWN = 3; // 0x3
6068    field public static final int GEOFENCE_ERROR_INSUFFICIENT_MEMORY = 6; // 0x6
6069    field public static final int GEOFENCE_ERROR_INVALID_TRANSITION = 4; // 0x4
6070    field public static final int GEOFENCE_ERROR_TOO_MANY_GEOFENCES = 1; // 0x1
6071    field public static final int GEOFENCE_EXITED = 2; // 0x2
6072    field public static final int GEOFENCE_FAILURE = 5; // 0x5
6073    field public static final int GEOFENCE_SUCCESS = 0; // 0x0
6074    field public static final int GEOFENCE_UNCERTAIN = 4; // 0x4
6075    field public static final int MONITORING_TYPE_FUSED_HARDWARE = 1; // 0x1
6076    field public static final int MONITORING_TYPE_GPS_HARDWARE = 0; // 0x0
6077    field public static final int MONITOR_CURRENTLY_AVAILABLE = 0; // 0x0
6078    field public static final int MONITOR_CURRENTLY_UNAVAILABLE = 1; // 0x1
6079    field public static final int MONITOR_UNSUPPORTED = 2; // 0x2
6080    field public static final int SOURCE_TECHNOLOGY_BLUETOOTH = 16; // 0x10
6081    field public static final int SOURCE_TECHNOLOGY_CELL = 8; // 0x8
6082    field public static final int SOURCE_TECHNOLOGY_GNSS = 1; // 0x1
6083    field public static final int SOURCE_TECHNOLOGY_SENSORS = 4; // 0x4
6084    field public static final int SOURCE_TECHNOLOGY_WIFI = 2; // 0x2
6085  }
6086
6087  public abstract class GeofenceHardwareCallback {
6088    ctor public GeofenceHardwareCallback();
6089    method public void onGeofenceAdd(int, int);
6090    method public void onGeofencePause(int, int);
6091    method public void onGeofenceRemove(int, int);
6092    method public void onGeofenceResume(int, int);
6093    method public void onGeofenceTransition(int, int, android.location.Location, long, int);
6094  }
6095
6096  public abstract class GeofenceHardwareMonitorCallback {
6097    ctor public GeofenceHardwareMonitorCallback();
6098    method @Deprecated public void onMonitoringSystemChange(int, boolean, android.location.Location);
6099    method public void onMonitoringSystemChange(android.hardware.location.GeofenceHardwareMonitorEvent);
6100  }
6101
6102  public class GeofenceHardwareMonitorEvent implements android.os.Parcelable {
6103    ctor public GeofenceHardwareMonitorEvent(int, int, int, android.location.Location);
6104    method public int describeContents();
6105    method public android.location.Location getLocation();
6106    method public int getMonitoringStatus();
6107    method public int getMonitoringType();
6108    method public int getSourceTechnologies();
6109    method public void writeToParcel(android.os.Parcel, int);
6110    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.GeofenceHardwareMonitorEvent> CREATOR;
6111  }
6112
6113  public final class GeofenceHardwareRequest {
6114    ctor public GeofenceHardwareRequest();
6115    method public static android.hardware.location.GeofenceHardwareRequest createCircularGeofence(double, double, double);
6116    method public int getLastTransition();
6117    method public double getLatitude();
6118    method public double getLongitude();
6119    method public int getMonitorTransitions();
6120    method public int getNotificationResponsiveness();
6121    method public double getRadius();
6122    method public int getSourceTechnologies();
6123    method public int getUnknownTimer();
6124    method public void setLastTransition(int);
6125    method public void setMonitorTransitions(int);
6126    method public void setNotificationResponsiveness(int);
6127    method public void setSourceTechnologies(int);
6128    method public void setUnknownTimer(int);
6129  }
6130
6131  public class MemoryRegion implements android.os.Parcelable {
6132    ctor public MemoryRegion(android.os.Parcel);
6133    method public int describeContents();
6134    method public int getCapacityBytes();
6135    method public int getFreeCapacityBytes();
6136    method public boolean isExecutable();
6137    method public boolean isReadable();
6138    method public boolean isWritable();
6139    method public void writeToParcel(android.os.Parcel, int);
6140    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.MemoryRegion> CREATOR;
6141  }
6142
6143  @Deprecated public class NanoApp implements android.os.Parcelable {
6144    ctor @Deprecated public NanoApp();
6145    ctor @Deprecated public NanoApp(int, byte[]);
6146    ctor @Deprecated public NanoApp(long, byte[]);
6147    method @Deprecated public int describeContents();
6148    method @Deprecated public byte[] getAppBinary();
6149    method @Deprecated public long getAppId();
6150    method @Deprecated public int getAppVersion();
6151    method @Deprecated public String getName();
6152    method @Deprecated public int getNeededExecMemBytes();
6153    method @Deprecated public int getNeededReadMemBytes();
6154    method @Deprecated public int[] getNeededSensors();
6155    method @Deprecated public int getNeededWriteMemBytes();
6156    method @Deprecated public int[] getOutputEvents();
6157    method @Deprecated public String getPublisher();
6158    method @Deprecated public void setAppBinary(byte[]);
6159    method @Deprecated public void setAppId(long);
6160    method @Deprecated public void setAppVersion(int);
6161    method @Deprecated public void setName(String);
6162    method @Deprecated public void setNeededExecMemBytes(int);
6163    method @Deprecated public void setNeededReadMemBytes(int);
6164    method @Deprecated public void setNeededSensors(int[]);
6165    method @Deprecated public void setNeededWriteMemBytes(int);
6166    method @Deprecated public void setOutputEvents(int[]);
6167    method @Deprecated public void setPublisher(String);
6168    method @Deprecated public void writeToParcel(android.os.Parcel, int);
6169    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoApp> CREATOR;
6170  }
6171
6172  public final class NanoAppBinary implements android.os.Parcelable {
6173    ctor public NanoAppBinary(byte[]);
6174    method public int describeContents();
6175    method public byte[] getBinary();
6176    method public byte[] getBinaryNoHeader();
6177    method public int getFlags();
6178    method public int getHeaderVersion();
6179    method public long getHwHubType();
6180    method public long getNanoAppId();
6181    method public int getNanoAppVersion();
6182    method public byte getTargetChreApiMajorVersion();
6183    method public byte getTargetChreApiMinorVersion();
6184    method public boolean hasValidHeader();
6185    method public boolean isEncrypted();
6186    method public boolean isSigned();
6187    method public void writeToParcel(android.os.Parcel, int);
6188    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppBinary> CREATOR;
6189  }
6190
6191  @Deprecated public class NanoAppFilter implements android.os.Parcelable {
6192    ctor @Deprecated public NanoAppFilter(long, int, int, long);
6193    method @Deprecated public int describeContents();
6194    method @Deprecated public boolean testMatch(android.hardware.location.NanoAppInstanceInfo);
6195    method @Deprecated public void writeToParcel(android.os.Parcel, int);
6196    field @Deprecated public static final int APP_ANY = -1; // 0xffffffff
6197    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppFilter> CREATOR;
6198    field @Deprecated public static final int FLAGS_VERSION_ANY = -1; // 0xffffffff
6199    field @Deprecated public static final int FLAGS_VERSION_GREAT_THAN = 2; // 0x2
6200    field @Deprecated public static final int FLAGS_VERSION_LESS_THAN = 4; // 0x4
6201    field @Deprecated public static final int FLAGS_VERSION_STRICTLY_EQUAL = 8; // 0x8
6202    field @Deprecated public static final int HUB_ANY = -1; // 0xffffffff
6203    field @Deprecated public static final int VENDOR_ANY = -1; // 0xffffffff
6204  }
6205
6206  @Deprecated public class NanoAppInstanceInfo implements android.os.Parcelable {
6207    ctor @Deprecated public NanoAppInstanceInfo();
6208    method @Deprecated public int describeContents();
6209    method @Deprecated public long getAppId();
6210    method @Deprecated public int getAppVersion();
6211    method @Deprecated public int getContexthubId();
6212    method @Deprecated public int getHandle();
6213    method @Deprecated public String getName();
6214    method @Deprecated public int getNeededExecMemBytes();
6215    method @Deprecated public int getNeededReadMemBytes();
6216    method @Deprecated @NonNull public int[] getNeededSensors();
6217    method @Deprecated public int getNeededWriteMemBytes();
6218    method @Deprecated @NonNull public int[] getOutputEvents();
6219    method @Deprecated public String getPublisher();
6220    method @Deprecated public void writeToParcel(android.os.Parcel, int);
6221    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppInstanceInfo> CREATOR;
6222  }
6223
6224  public final class NanoAppMessage implements android.os.Parcelable {
6225    method public static android.hardware.location.NanoAppMessage createMessageFromNanoApp(long, int, byte[], boolean);
6226    method @FlaggedApi("android.chre.flags.reliable_message") @NonNull public static android.hardware.location.NanoAppMessage createMessageFromNanoApp(long, int, @NonNull byte[], boolean, boolean, int);
6227    method public static android.hardware.location.NanoAppMessage createMessageToNanoApp(long, int, byte[]);
6228    method public int describeContents();
6229    method public byte[] getMessageBody();
6230    method @FlaggedApi("android.chre.flags.reliable_message") public int getMessageSequenceNumber();
6231    method public int getMessageType();
6232    method public long getNanoAppId();
6233    method public boolean isBroadcastMessage();
6234    method @FlaggedApi("android.chre.flags.reliable_message") public boolean isReliable();
6235    method public void writeToParcel(android.os.Parcel, int);
6236    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppMessage> CREATOR;
6237  }
6238
6239  public final class NanoAppRpcService implements android.os.Parcelable {
6240    ctor public NanoAppRpcService(long, int);
6241    method public int describeContents();
6242    method public long getId();
6243    method public int getVersion();
6244    method public void writeToParcel(@NonNull android.os.Parcel, int);
6245    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppRpcService> CREATOR;
6246  }
6247
6248  public final class NanoAppState implements android.os.Parcelable {
6249    ctor public NanoAppState(long, int, boolean);
6250    ctor public NanoAppState(long, int, boolean, @NonNull java.util.List<java.lang.String>);
6251    ctor public NanoAppState(long, int, boolean, @NonNull java.util.List<java.lang.String>, @NonNull java.util.List<android.hardware.location.NanoAppRpcService>);
6252    method public int describeContents();
6253    method public long getNanoAppId();
6254    method @NonNull public java.util.List<java.lang.String> getNanoAppPermissions();
6255    method public long getNanoAppVersion();
6256    method @NonNull public java.util.List<android.hardware.location.NanoAppRpcService> getRpcServices();
6257    method public boolean isEnabled();
6258    method public void writeToParcel(android.os.Parcel, int);
6259    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppState> CREATOR;
6260  }
6261
6262}
6263
6264package android.hardware.radio {
6265
6266  public final class Announcement implements android.os.Parcelable {
6267    method public int describeContents();
6268    method @NonNull public android.hardware.radio.ProgramSelector getSelector();
6269    method public int getType();
6270    method @NonNull public java.util.Map<java.lang.String,java.lang.String> getVendorInfo();
6271    method public void writeToParcel(android.os.Parcel, int);
6272    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.Announcement> CREATOR;
6273    field public static final int TYPE_EMERGENCY = 1; // 0x1
6274    field public static final int TYPE_EVENT = 6; // 0x6
6275    field public static final int TYPE_MISC = 8; // 0x8
6276    field public static final int TYPE_NEWS = 5; // 0x5
6277    field public static final int TYPE_SPORT = 7; // 0x7
6278    field public static final int TYPE_TRAFFIC = 3; // 0x3
6279    field public static final int TYPE_WARNING = 2; // 0x2
6280    field public static final int TYPE_WEATHER = 4; // 0x4
6281  }
6282
6283  public static interface Announcement.OnListUpdatedListener {
6284    method public void onListUpdated(java.util.Collection<android.hardware.radio.Announcement>);
6285  }
6286
6287  public final class ProgramList implements java.lang.AutoCloseable {
6288    method public void addOnCompleteListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.OnCompleteListener);
6289    method public void addOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnCompleteListener);
6290    method public void close();
6291    method @Deprecated @Nullable public android.hardware.radio.RadioManager.ProgramInfo get(@NonNull android.hardware.radio.ProgramSelector.Identifier);
6292    method @FlaggedApi("android.hardware.radio.hd_radio_improved") @NonNull public java.util.List<android.hardware.radio.RadioManager.ProgramInfo> getProgramInfos(@NonNull android.hardware.radio.ProgramSelector.Identifier);
6293    method public void registerListCallback(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.ListCallback);
6294    method public void registerListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback);
6295    method public void removeOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnCompleteListener);
6296    method @NonNull public java.util.List<android.hardware.radio.RadioManager.ProgramInfo> toList();
6297    method public void unregisterListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback);
6298  }
6299
6300  public static final class ProgramList.Filter implements android.os.Parcelable {
6301    ctor public ProgramList.Filter(@NonNull java.util.Set<java.lang.Integer>, @NonNull java.util.Set<android.hardware.radio.ProgramSelector.Identifier>, boolean, boolean);
6302    method public boolean areCategoriesIncluded();
6303    method public boolean areModificationsExcluded();
6304    method public int describeContents();
6305    method @NonNull public java.util.Set<java.lang.Integer> getIdentifierTypes();
6306    method @NonNull public java.util.Set<android.hardware.radio.ProgramSelector.Identifier> getIdentifiers();
6307    method public void writeToParcel(android.os.Parcel, int);
6308    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.ProgramList.Filter> CREATOR;
6309  }
6310
6311  public abstract static class ProgramList.ListCallback {
6312    ctor public ProgramList.ListCallback();
6313    method public void onItemChanged(@NonNull android.hardware.radio.ProgramSelector.Identifier);
6314    method public void onItemRemoved(@NonNull android.hardware.radio.ProgramSelector.Identifier);
6315  }
6316
6317  public static interface ProgramList.OnCompleteListener {
6318    method public void onComplete();
6319  }
6320
6321  public final class ProgramSelector implements android.os.Parcelable {
6322    ctor public ProgramSelector(int, @NonNull android.hardware.radio.ProgramSelector.Identifier, @Nullable android.hardware.radio.ProgramSelector.Identifier[], @Nullable long[]);
6323    method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(int, int);
6324    method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(int, int, int);
6325    method public int describeContents();
6326    method @NonNull public android.hardware.radio.ProgramSelector.Identifier[] getAllIds(int);
6327    method public long getFirstId(int);
6328    method @NonNull public android.hardware.radio.ProgramSelector.Identifier getPrimaryId();
6329    method @Deprecated public int getProgramType();
6330    method @NonNull public android.hardware.radio.ProgramSelector.Identifier[] getSecondaryIds();
6331    method @Deprecated @NonNull public long[] getVendorIds();
6332    method @NonNull public android.hardware.radio.ProgramSelector withSecondaryPreferred(@NonNull android.hardware.radio.ProgramSelector.Identifier);
6333    method public void writeToParcel(android.os.Parcel, int);
6334    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.ProgramSelector> CREATOR;
6335    field public static final int IDENTIFIER_TYPE_AMFM_FREQUENCY = 1; // 0x1
6336    field public static final int IDENTIFIER_TYPE_DAB_DMB_SID_EXT = 14; // 0xe
6337    field public static final int IDENTIFIER_TYPE_DAB_ENSEMBLE = 6; // 0x6
6338    field public static final int IDENTIFIER_TYPE_DAB_FREQUENCY = 8; // 0x8
6339    field public static final int IDENTIFIER_TYPE_DAB_SCID = 7; // 0x7
6340    field @Deprecated public static final int IDENTIFIER_TYPE_DAB_SIDECC = 5; // 0x5
6341    field @Deprecated public static final int IDENTIFIER_TYPE_DAB_SID_EXT = 5; // 0x5
6342    field public static final int IDENTIFIER_TYPE_DRMO_FREQUENCY = 10; // 0xa
6343    field @Deprecated public static final int IDENTIFIER_TYPE_DRMO_MODULATION = 11; // 0xb
6344    field public static final int IDENTIFIER_TYPE_DRMO_SERVICE_ID = 9; // 0x9
6345    field public static final int IDENTIFIER_TYPE_HD_STATION_ID_EXT = 3; // 0x3
6346    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final int IDENTIFIER_TYPE_HD_STATION_LOCATION = 15; // 0xf
6347    field public static final int IDENTIFIER_TYPE_HD_STATION_NAME = 10004; // 0x2714
6348    field @Deprecated public static final int IDENTIFIER_TYPE_HD_SUBCHANNEL = 4; // 0x4
6349    field public static final int IDENTIFIER_TYPE_INVALID = 0; // 0x0
6350    field public static final int IDENTIFIER_TYPE_RDS_PI = 2; // 0x2
6351    field @Deprecated public static final int IDENTIFIER_TYPE_SXM_CHANNEL = 13; // 0xd
6352    field @Deprecated public static final int IDENTIFIER_TYPE_SXM_SERVICE_ID = 12; // 0xc
6353    field public static final int IDENTIFIER_TYPE_VENDOR_END = 1999; // 0x7cf
6354    field @Deprecated public static final int IDENTIFIER_TYPE_VENDOR_PRIMARY_END = 1999; // 0x7cf
6355    field @Deprecated public static final int IDENTIFIER_TYPE_VENDOR_PRIMARY_START = 1000; // 0x3e8
6356    field public static final int IDENTIFIER_TYPE_VENDOR_START = 1000; // 0x3e8
6357    field @Deprecated public static final int PROGRAM_TYPE_AM = 1; // 0x1
6358    field @Deprecated public static final int PROGRAM_TYPE_AM_HD = 3; // 0x3
6359    field @Deprecated public static final int PROGRAM_TYPE_DAB = 5; // 0x5
6360    field @Deprecated public static final int PROGRAM_TYPE_DRMO = 6; // 0x6
6361    field @Deprecated public static final int PROGRAM_TYPE_FM = 2; // 0x2
6362    field @Deprecated public static final int PROGRAM_TYPE_FM_HD = 4; // 0x4
6363    field @Deprecated public static final int PROGRAM_TYPE_INVALID = 0; // 0x0
6364    field @Deprecated public static final int PROGRAM_TYPE_SXM = 7; // 0x7
6365    field @Deprecated public static final int PROGRAM_TYPE_VENDOR_END = 1999; // 0x7cf
6366    field @Deprecated public static final int PROGRAM_TYPE_VENDOR_START = 1000; // 0x3e8
6367    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final int SUB_CHANNEL_HD_1 = 1; // 0x1
6368    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final int SUB_CHANNEL_HD_2 = 2; // 0x2
6369    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final int SUB_CHANNEL_HD_3 = 4; // 0x4
6370    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final int SUB_CHANNEL_HD_4 = 8; // 0x8
6371    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final int SUB_CHANNEL_HD_5 = 16; // 0x10
6372    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final int SUB_CHANNEL_HD_6 = 32; // 0x20
6373    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final int SUB_CHANNEL_HD_7 = 64; // 0x40
6374    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final int SUB_CHANNEL_HD_8 = 128; // 0x80
6375  }
6376
6377  public static final class ProgramSelector.Identifier implements android.os.Parcelable {
6378    ctor public ProgramSelector.Identifier(int, long);
6379    method public int describeContents();
6380    method public int getType();
6381    method public long getValue();
6382    method public boolean isCategoryType();
6383    method public void writeToParcel(android.os.Parcel, int);
6384    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.ProgramSelector.Identifier> CREATOR;
6385  }
6386
6387  public class RadioManager {
6388    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void addAnnouncementListener(@NonNull java.util.Set<java.lang.Integer>, @NonNull android.hardware.radio.Announcement.OnListUpdatedListener);
6389    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);
6390    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public int listModules(java.util.List<android.hardware.radio.RadioManager.ModuleProperties>);
6391    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);
6392    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void removeAnnouncementListener(@NonNull android.hardware.radio.Announcement.OnListUpdatedListener);
6393    field public static final int BAND_AM = 0; // 0x0
6394    field public static final int BAND_AM_HD = 3; // 0x3
6395    field public static final int BAND_FM = 1; // 0x1
6396    field public static final int BAND_FM_HD = 2; // 0x2
6397    field public static final int BAND_INVALID = -1; // 0xffffffff
6398    field public static final int CLASS_AM_FM = 0; // 0x0
6399    field public static final int CLASS_DT = 2; // 0x2
6400    field public static final int CLASS_SAT = 1; // 0x1
6401    field public static final int CONFIG_DAB_DAB_LINKING = 6; // 0x6
6402    field public static final int CONFIG_DAB_DAB_SOFT_LINKING = 8; // 0x8
6403    field public static final int CONFIG_DAB_FM_LINKING = 7; // 0x7
6404    field public static final int CONFIG_DAB_FM_SOFT_LINKING = 9; // 0x9
6405    field @Deprecated public static final int CONFIG_FORCE_ANALOG = 2; // 0x2
6406    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final int CONFIG_FORCE_ANALOG_AM = 11; // 0xb
6407    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final int CONFIG_FORCE_ANALOG_FM = 10; // 0xa
6408    field public static final int CONFIG_FORCE_DIGITAL = 3; // 0x3
6409    field public static final int CONFIG_FORCE_MONO = 1; // 0x1
6410    field public static final int CONFIG_RDS_AF = 4; // 0x4
6411    field public static final int CONFIG_RDS_REG = 5; // 0x5
6412    field public static final int REGION_ITU_1 = 0; // 0x0
6413    field public static final int REGION_ITU_2 = 1; // 0x1
6414    field public static final int REGION_JAPAN = 3; // 0x3
6415    field public static final int REGION_KOREA = 4; // 0x4
6416    field public static final int REGION_OIRT = 2; // 0x2
6417    field public static final int STATUS_BAD_VALUE = -22; // 0xffffffea
6418    field public static final int STATUS_DEAD_OBJECT = -32; // 0xffffffe0
6419    field public static final int STATUS_ERROR = -2147483648; // 0x80000000
6420    field public static final int STATUS_INVALID_OPERATION = -38; // 0xffffffda
6421    field public static final int STATUS_NO_INIT = -19; // 0xffffffed
6422    field public static final int STATUS_OK = 0; // 0x0
6423    field public static final int STATUS_PERMISSION_DENIED = -1; // 0xffffffff
6424    field public static final int STATUS_TIMED_OUT = -110; // 0xffffff92
6425  }
6426
6427  public static class RadioManager.AmBandConfig extends android.hardware.radio.RadioManager.BandConfig {
6428    method public boolean getStereo();
6429    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.AmBandConfig> CREATOR;
6430  }
6431
6432  public static class RadioManager.AmBandConfig.Builder {
6433    ctor public RadioManager.AmBandConfig.Builder(android.hardware.radio.RadioManager.AmBandDescriptor);
6434    ctor public RadioManager.AmBandConfig.Builder(android.hardware.radio.RadioManager.AmBandConfig);
6435    method public android.hardware.radio.RadioManager.AmBandConfig build();
6436    method public android.hardware.radio.RadioManager.AmBandConfig.Builder setStereo(boolean);
6437  }
6438
6439  public static class RadioManager.AmBandDescriptor extends android.hardware.radio.RadioManager.BandDescriptor {
6440    method public boolean isStereoSupported();
6441    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.AmBandDescriptor> CREATOR;
6442  }
6443
6444  public static class RadioManager.BandConfig implements android.os.Parcelable {
6445    method public int describeContents();
6446    method public int getLowerLimit();
6447    method public int getRegion();
6448    method public int getSpacing();
6449    method public int getType();
6450    method public int getUpperLimit();
6451    method public void writeToParcel(android.os.Parcel, int);
6452    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.BandConfig> CREATOR;
6453  }
6454
6455  public static class RadioManager.BandDescriptor implements android.os.Parcelable {
6456    method public int describeContents();
6457    method public int getLowerLimit();
6458    method public int getRegion();
6459    method public int getSpacing();
6460    method public int getType();
6461    method public int getUpperLimit();
6462    method public boolean isAmBand();
6463    method public boolean isFmBand();
6464    method public void writeToParcel(android.os.Parcel, int);
6465    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.BandDescriptor> CREATOR;
6466  }
6467
6468  public static class RadioManager.FmBandConfig extends android.hardware.radio.RadioManager.BandConfig {
6469    method public boolean getAf();
6470    method public boolean getEa();
6471    method public boolean getRds();
6472    method public boolean getStereo();
6473    method public boolean getTa();
6474    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.FmBandConfig> CREATOR;
6475  }
6476
6477  public static class RadioManager.FmBandConfig.Builder {
6478    ctor public RadioManager.FmBandConfig.Builder(android.hardware.radio.RadioManager.FmBandDescriptor);
6479    ctor public RadioManager.FmBandConfig.Builder(android.hardware.radio.RadioManager.FmBandConfig);
6480    method public android.hardware.radio.RadioManager.FmBandConfig build();
6481    method public android.hardware.radio.RadioManager.FmBandConfig.Builder setAf(boolean);
6482    method public android.hardware.radio.RadioManager.FmBandConfig.Builder setEa(boolean);
6483    method public android.hardware.radio.RadioManager.FmBandConfig.Builder setRds(boolean);
6484    method public android.hardware.radio.RadioManager.FmBandConfig.Builder setStereo(boolean);
6485    method public android.hardware.radio.RadioManager.FmBandConfig.Builder setTa(boolean);
6486  }
6487
6488  public static class RadioManager.FmBandDescriptor extends android.hardware.radio.RadioManager.BandDescriptor {
6489    method public boolean isAfSupported();
6490    method public boolean isEaSupported();
6491    method public boolean isRdsSupported();
6492    method public boolean isStereoSupported();
6493    method public boolean isTaSupported();
6494    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.FmBandDescriptor> CREATOR;
6495  }
6496
6497  public static class RadioManager.ModuleProperties implements android.os.Parcelable {
6498    method public int describeContents();
6499    method public android.hardware.radio.RadioManager.BandDescriptor[] getBands();
6500    method public int getClassId();
6501    method @Nullable public java.util.Map<java.lang.String,java.lang.Integer> getDabFrequencyTable();
6502    method public int getId();
6503    method public String getImplementor();
6504    method public int getNumAudioSources();
6505    method public int getNumTuners();
6506    method public String getProduct();
6507    method public String getSerial();
6508    method @NonNull public String getServiceName();
6509    method @NonNull public java.util.Map<java.lang.String,java.lang.String> getVendorInfo();
6510    method public String getVersion();
6511    method public boolean isBackgroundScanningSupported();
6512    method public boolean isCaptureSupported();
6513    method public boolean isInitializationRequired();
6514    method public boolean isProgramIdentifierSupported(int);
6515    method public boolean isProgramTypeSupported(int);
6516    method public void writeToParcel(android.os.Parcel, int);
6517    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.ModuleProperties> CREATOR;
6518  }
6519
6520  public static class RadioManager.ProgramInfo implements android.os.Parcelable {
6521    method public int describeContents();
6522    method @Deprecated public int getChannel();
6523    method @Nullable public android.hardware.radio.ProgramSelector.Identifier getLogicallyTunedTo();
6524    method public android.hardware.radio.RadioMetadata getMetadata();
6525    method @Nullable public android.hardware.radio.ProgramSelector.Identifier getPhysicallyTunedTo();
6526    method @Nullable public java.util.Collection<android.hardware.radio.ProgramSelector.Identifier> getRelatedContent();
6527    method @NonNull public android.hardware.radio.ProgramSelector getSelector();
6528    method public int getSignalStrength();
6529    method @Deprecated public int getSubChannel();
6530    method @NonNull public java.util.Map<java.lang.String,java.lang.String> getVendorInfo();
6531    method @Deprecated public boolean isDigital();
6532    method @FlaggedApi("android.hardware.radio.hd_radio_improved") public boolean isHdAudioAvailable();
6533    method @FlaggedApi("android.hardware.radio.hd_radio_improved") public boolean isHdSisAvailable();
6534    method public boolean isLive();
6535    method public boolean isMuted();
6536    method @FlaggedApi("android.hardware.radio.hd_radio_improved") public boolean isSignalAcquired();
6537    method public boolean isStereo();
6538    method public boolean isTrafficAnnouncementActive();
6539    method public boolean isTrafficProgram();
6540    method public boolean isTuned();
6541    method public void writeToParcel(android.os.Parcel, int);
6542    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.ProgramInfo> CREATOR;
6543  }
6544
6545  public final class RadioMetadata implements android.os.Parcelable {
6546    method public boolean containsKey(String);
6547    method public int describeContents();
6548    method @Deprecated public android.graphics.Bitmap getBitmap(String);
6549    method @FlaggedApi("android.hardware.radio.hd_radio_improved") public int getBitmapId(@NonNull String);
6550    method public android.hardware.radio.RadioMetadata.Clock getClock(String);
6551    method public int getInt(String);
6552    method public String getString(String);
6553    method @FlaggedApi("android.hardware.radio.hd_radio_improved") @NonNull public String[] getStringArray(@NonNull String);
6554    method public java.util.Set<java.lang.String> keySet();
6555    method public int size();
6556    method public void writeToParcel(android.os.Parcel, int);
6557    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioMetadata> CREATOR;
6558    field public static final String METADATA_KEY_ALBUM = "android.hardware.radio.metadata.ALBUM";
6559    field public static final String METADATA_KEY_ART = "android.hardware.radio.metadata.ART";
6560    field public static final String METADATA_KEY_ARTIST = "android.hardware.radio.metadata.ARTIST";
6561    field public static final String METADATA_KEY_CLOCK = "android.hardware.radio.metadata.CLOCK";
6562    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final String METADATA_KEY_COMMENT_ACTUAL_TEXT = "android.hardware.radio.metadata.COMMENT_ACTUAL_TEXT";
6563    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final String METADATA_KEY_COMMENT_SHORT_DESCRIPTION = "android.hardware.radio.metadata.COMMENT_SHORT_DESCRIPTION";
6564    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final String METADATA_KEY_COMMERCIAL = "android.hardware.radio.metadata.COMMERCIAL";
6565    field public static final String METADATA_KEY_DAB_COMPONENT_NAME = "android.hardware.radio.metadata.DAB_COMPONENT_NAME";
6566    field public static final String METADATA_KEY_DAB_COMPONENT_NAME_SHORT = "android.hardware.radio.metadata.DAB_COMPONENT_NAME_SHORT";
6567    field public static final String METADATA_KEY_DAB_ENSEMBLE_NAME = "android.hardware.radio.metadata.DAB_ENSEMBLE_NAME";
6568    field public static final String METADATA_KEY_DAB_ENSEMBLE_NAME_SHORT = "android.hardware.radio.metadata.DAB_ENSEMBLE_NAME_SHORT";
6569    field public static final String METADATA_KEY_DAB_SERVICE_NAME = "android.hardware.radio.metadata.DAB_SERVICE_NAME";
6570    field public static final String METADATA_KEY_DAB_SERVICE_NAME_SHORT = "android.hardware.radio.metadata.DAB_SERVICE_NAME_SHORT";
6571    field public static final String METADATA_KEY_GENRE = "android.hardware.radio.metadata.GENRE";
6572    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final String METADATA_KEY_HD_STATION_NAME_LONG = "android.hardware.radio.metadata.HD_STATION_NAME_LONG";
6573    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final String METADATA_KEY_HD_STATION_NAME_SHORT = "android.hardware.radio.metadata.HD_STATION_NAME_SHORT";
6574    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final String METADATA_KEY_HD_SUBCHANNELS_AVAILABLE = "android.hardware.radio.metadata.HD_SUBCHANNELS_AVAILABLE";
6575    field public static final String METADATA_KEY_ICON = "android.hardware.radio.metadata.ICON";
6576    field public static final String METADATA_KEY_PROGRAM_NAME = "android.hardware.radio.metadata.PROGRAM_NAME";
6577    field public static final String METADATA_KEY_RBDS_PTY = "android.hardware.radio.metadata.RBDS_PTY";
6578    field public static final String METADATA_KEY_RDS_PI = "android.hardware.radio.metadata.RDS_PI";
6579    field public static final String METADATA_KEY_RDS_PS = "android.hardware.radio.metadata.RDS_PS";
6580    field public static final String METADATA_KEY_RDS_PTY = "android.hardware.radio.metadata.RDS_PTY";
6581    field public static final String METADATA_KEY_RDS_RT = "android.hardware.radio.metadata.RDS_RT";
6582    field public static final String METADATA_KEY_TITLE = "android.hardware.radio.metadata.TITLE";
6583    field @FlaggedApi("android.hardware.radio.hd_radio_improved") public static final String METADATA_KEY_UFIDS = "android.hardware.radio.metadata.UFIDS";
6584  }
6585
6586  public static final class RadioMetadata.Builder {
6587    ctor public RadioMetadata.Builder();
6588    ctor public RadioMetadata.Builder(android.hardware.radio.RadioMetadata);
6589    method public android.hardware.radio.RadioMetadata build();
6590    method public android.hardware.radio.RadioMetadata.Builder putBitmap(String, android.graphics.Bitmap);
6591    method public android.hardware.radio.RadioMetadata.Builder putClock(String, long, int);
6592    method public android.hardware.radio.RadioMetadata.Builder putInt(String, int);
6593    method public android.hardware.radio.RadioMetadata.Builder putString(String, String);
6594    method @FlaggedApi("android.hardware.radio.hd_radio_improved") @NonNull public android.hardware.radio.RadioMetadata.Builder putStringArray(@NonNull String, @NonNull String[]);
6595  }
6596
6597  public static final class RadioMetadata.Clock implements android.os.Parcelable {
6598    ctor public RadioMetadata.Clock(long, int);
6599    method public int describeContents();
6600    method public int getTimezoneOffsetMinutes();
6601    method public long getUtcEpochSeconds();
6602    method public void writeToParcel(android.os.Parcel, int);
6603    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioMetadata.Clock> CREATOR;
6604  }
6605
6606  public abstract class RadioTuner {
6607    ctor public RadioTuner();
6608    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int cancel();
6609    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract void cancelAnnouncement();
6610    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract void close();
6611    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int getConfiguration(android.hardware.radio.RadioManager.BandConfig[]);
6612    method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public android.hardware.radio.ProgramList getDynamicProgramList(@Nullable android.hardware.radio.ProgramList.Filter);
6613    method @FlaggedApi("android.hardware.radio.hd_radio_improved") @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public android.graphics.Bitmap getMetadataImage(int);
6614    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract boolean getMute();
6615    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public java.util.Map<java.lang.String,java.lang.String> getParameters(@NonNull java.util.List<java.lang.String>);
6616    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int getProgramInformation(android.hardware.radio.RadioManager.ProgramInfo[]);
6617    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract java.util.List<android.hardware.radio.RadioManager.ProgramInfo> getProgramList(@Nullable java.util.Map<java.lang.String,java.lang.String>);
6618    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract boolean hasControl();
6619    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract boolean isAnalogForced();
6620    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract boolean isAntennaConnected();
6621    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public boolean isConfigFlagSet(int);
6622    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public boolean isConfigFlagSupported(int);
6623    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int scan(int, boolean);
6624    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public int seek(int, boolean);
6625    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract void setAnalogForced(boolean);
6626    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void setConfigFlag(int, boolean);
6627    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int setConfiguration(android.hardware.radio.RadioManager.BandConfig);
6628    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int setMute(boolean);
6629    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public java.util.Map<java.lang.String,java.lang.String> setParameters(@NonNull java.util.Map<java.lang.String,java.lang.String>);
6630    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract boolean startBackgroundScan();
6631    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int step(int, boolean);
6632    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract int tune(int, int);
6633    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public abstract void tune(@NonNull android.hardware.radio.ProgramSelector);
6634    field public static final int DIRECTION_DOWN = 1; // 0x1
6635    field public static final int DIRECTION_UP = 0; // 0x0
6636    field @Deprecated public static final int ERROR_BACKGROUND_SCAN_FAILED = 6; // 0x6
6637    field @Deprecated public static final int ERROR_BACKGROUND_SCAN_UNAVAILABLE = 5; // 0x5
6638    field @Deprecated public static final int ERROR_CANCELLED = 2; // 0x2
6639    field @Deprecated public static final int ERROR_CONFIG = 4; // 0x4
6640    field @Deprecated public static final int ERROR_HARDWARE_FAILURE = 0; // 0x0
6641    field @Deprecated public static final int ERROR_SCAN_TIMEOUT = 3; // 0x3
6642    field @Deprecated public static final int ERROR_SERVER_DIED = 1; // 0x1
6643    field public static final int TUNER_RESULT_CANCELED = 6; // 0x6
6644    field public static final int TUNER_RESULT_INTERNAL_ERROR = 1; // 0x1
6645    field public static final int TUNER_RESULT_INVALID_ARGUMENTS = 2; // 0x2
6646    field public static final int TUNER_RESULT_INVALID_STATE = 3; // 0x3
6647    field public static final int TUNER_RESULT_NOT_SUPPORTED = 4; // 0x4
6648    field public static final int TUNER_RESULT_OK = 0; // 0x0
6649    field public static final int TUNER_RESULT_TIMEOUT = 5; // 0x5
6650    field public static final int TUNER_RESULT_UNKNOWN_ERROR = 7; // 0x7
6651  }
6652
6653  public abstract static class RadioTuner.Callback {
6654    ctor public RadioTuner.Callback();
6655    method public void onAntennaState(boolean);
6656    method public void onBackgroundScanAvailabilityChange(boolean);
6657    method public void onBackgroundScanComplete();
6658    method public void onConfigFlagUpdated(int, boolean);
6659    method @Deprecated public void onConfigurationChanged(android.hardware.radio.RadioManager.BandConfig);
6660    method public void onControlChanged(boolean);
6661    method public void onEmergencyAnnouncement(boolean);
6662    method @Deprecated public void onError(int);
6663    method @Deprecated public void onMetadataChanged(android.hardware.radio.RadioMetadata);
6664    method public void onParametersUpdated(@NonNull java.util.Map<java.lang.String,java.lang.String>);
6665    method public void onProgramInfoChanged(android.hardware.radio.RadioManager.ProgramInfo);
6666    method public void onProgramListChanged();
6667    method public void onTrafficAnnouncement(boolean);
6668    method public void onTuneFailed(int, @Nullable android.hardware.radio.ProgramSelector);
6669  }
6670
6671}
6672
6673package android.hardware.soundtrigger {
6674
6675  public class SoundTrigger {
6676    field public static final int RECOGNITION_MODE_GENERIC = 8; // 0x8
6677    field public static final int RECOGNITION_MODE_USER_AUTHENTICATION = 4; // 0x4
6678    field public static final int RECOGNITION_MODE_USER_IDENTIFICATION = 2; // 0x2
6679    field public static final int RECOGNITION_MODE_VOICE_TRIGGER = 1; // 0x1
6680    field public static final int STATUS_OK = 0; // 0x0
6681  }
6682
6683  public static final class SoundTrigger.Keyphrase implements android.os.Parcelable {
6684    ctor public SoundTrigger.Keyphrase(int, int, @NonNull java.util.Locale, @NonNull String, @Nullable int[]);
6685    method public int describeContents();
6686    method public int getId();
6687    method @NonNull public java.util.Locale getLocale();
6688    method public int getRecognitionModes();
6689    method @NonNull public String getText();
6690    method @NonNull public int[] getUsers();
6691    method @NonNull public static android.hardware.soundtrigger.SoundTrigger.Keyphrase readFromParcel(@NonNull android.os.Parcel);
6692    method public void writeToParcel(@NonNull android.os.Parcel, int);
6693    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.Keyphrase> CREATOR;
6694  }
6695
6696  public static final class SoundTrigger.KeyphraseRecognitionExtra implements android.os.Parcelable {
6697    method public int describeContents();
6698    method @IntRange(from=0, to=100) public int getCoarseConfidenceLevel();
6699    method public int getKeyphraseId();
6700    method public int getRecognitionModes();
6701    method public void writeToParcel(@NonNull android.os.Parcel, int);
6702    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionExtra> CREATOR;
6703  }
6704
6705  public static final class SoundTrigger.KeyphraseSoundModel extends android.hardware.soundtrigger.SoundTrigger.SoundModel implements android.os.Parcelable {
6706    ctor public SoundTrigger.KeyphraseSoundModel(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[], int);
6707    ctor public SoundTrigger.KeyphraseSoundModel(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[]);
6708    method public int describeContents();
6709    method @NonNull public android.hardware.soundtrigger.SoundTrigger.Keyphrase[] getKeyphrases();
6710    method @NonNull public static android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel readFromParcel(@NonNull android.os.Parcel);
6711    method public void writeToParcel(@NonNull android.os.Parcel, int);
6712    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel> CREATOR;
6713  }
6714
6715  public static final class SoundTrigger.ModelParamRange implements android.os.Parcelable {
6716    method public int describeContents();
6717    method public int getEnd();
6718    method public int getStart();
6719    method public void writeToParcel(@NonNull android.os.Parcel, int);
6720    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.ModelParamRange> CREATOR;
6721  }
6722
6723  public static final class SoundTrigger.ModuleProperties implements android.os.Parcelable {
6724    method public int describeContents();
6725    method public int getAudioCapabilities();
6726    method @NonNull public String getDescription();
6727    method public int getId();
6728    method @NonNull public String getImplementor();
6729    method public int getMaxBufferMillis();
6730    method public int getMaxKeyphrases();
6731    method public int getMaxSoundModels();
6732    method public int getMaxUsers();
6733    method public int getPowerConsumptionMw();
6734    method public int getRecognitionModes();
6735    method @NonNull public String getSupportedModelArch();
6736    method @NonNull public java.util.UUID getUuid();
6737    method public int getVersion();
6738    method public boolean isCaptureTransitionSupported();
6739    method public boolean isConcurrentCaptureSupported();
6740    method public boolean isTriggerReturnedInEvent();
6741    method public void writeToParcel(android.os.Parcel, int);
6742    field public static final int AUDIO_CAPABILITY_ECHO_CANCELLATION = 1; // 0x1
6743    field public static final int AUDIO_CAPABILITY_NOISE_SUPPRESSION = 2; // 0x2
6744    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.ModuleProperties> CREATOR;
6745  }
6746
6747  public static class SoundTrigger.RecognitionEvent {
6748    method @Nullable public android.media.AudioFormat getCaptureFormat();
6749    method public int getCaptureSession();
6750    method public byte[] getData();
6751    method public long getHalEventReceivedMillis();
6752    method public boolean isCaptureAvailable();
6753  }
6754
6755  public static class SoundTrigger.SoundModel {
6756    method @NonNull public byte[] getData();
6757    method public int getType();
6758    method @NonNull public java.util.UUID getUuid();
6759    method @NonNull public java.util.UUID getVendorUuid();
6760    method public int getVersion();
6761    field public static final int TYPE_GENERIC_SOUND = 1; // 0x1
6762    field public static final int TYPE_KEYPHRASE = 0; // 0x0
6763  }
6764
6765}
6766
6767package android.hardware.usb {
6768
6769  public final class DisplayPortAltModeInfo implements android.os.Parcelable {
6770    method public int describeContents();
6771    method public int getCableStatus();
6772    method public int getLinkTrainingStatus();
6773    method public int getNumberOfLanes();
6774    method public int getPartnerSinkStatus();
6775    method public boolean isHotPlugDetectActive();
6776    method public void writeToParcel(@NonNull android.os.Parcel, int);
6777    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.usb.DisplayPortAltModeInfo> CREATOR;
6778    field public static final int DISPLAYPORT_ALT_MODE_STATUS_CAPABLE_DISABLED = 2; // 0x2
6779    field public static final int DISPLAYPORT_ALT_MODE_STATUS_ENABLED = 3; // 0x3
6780    field public static final int DISPLAYPORT_ALT_MODE_STATUS_NOT_CAPABLE = 1; // 0x1
6781    field public static final int DISPLAYPORT_ALT_MODE_STATUS_UNKNOWN = 0; // 0x0
6782    field public static final int LINK_TRAINING_STATUS_FAILURE = 2; // 0x2
6783    field public static final int LINK_TRAINING_STATUS_SUCCESS = 1; // 0x1
6784    field public static final int LINK_TRAINING_STATUS_UNKNOWN = 0; // 0x0
6785  }
6786
6787  public class UsbDeviceConnection {
6788    method public boolean resetDevice();
6789  }
6790
6791  public class UsbManager {
6792    method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public long getCurrentFunctions();
6793    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_USB) public java.util.List<android.hardware.usb.UsbPort> getPorts();
6794    method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void grantPermission(android.hardware.usb.UsbDevice, String);
6795    method public static boolean isUvcSupportEnabled();
6796    method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void registerDisplayPortAltModeInfoListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.usb.UsbManager.DisplayPortAltModeInfoListener);
6797    method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void resetUsbGadget();
6798    method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void setCurrentFunctions(long);
6799    method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void unregisterDisplayPortAltModeInfoListener(@NonNull android.hardware.usb.UsbManager.DisplayPortAltModeInfoListener);
6800    field @RequiresPermission(android.Manifest.permission.MANAGE_USB) public static final String ACTION_USB_ACCESSORY_HANDSHAKE = "android.hardware.usb.action.USB_ACCESSORY_HANDSHAKE";
6801    field @RequiresPermission(android.Manifest.permission.MANAGE_USB) public static final String ACTION_USB_PORT_CHANGED = "android.hardware.usb.action.USB_PORT_CHANGED";
6802    field @RequiresPermission(android.Manifest.permission.MANAGE_USB) public static final String ACTION_USB_PORT_COMPLIANCE_CHANGED = "android.hardware.usb.action.USB_PORT_COMPLIANCE_CHANGED";
6803    field public static final String ACTION_USB_STATE = "android.hardware.usb.action.USB_STATE";
6804    field public static final String EXTRA_ACCESSORY_HANDSHAKE_END = "android.hardware.usb.extra.ACCESSORY_HANDSHAKE_END";
6805    field public static final String EXTRA_ACCESSORY_START = "android.hardware.usb.extra.ACCESSORY_START";
6806    field public static final String EXTRA_ACCESSORY_STRING_COUNT = "android.hardware.usb.extra.ACCESSORY_STRING_COUNT";
6807    field public static final String EXTRA_ACCESSORY_UEVENT_TIME = "android.hardware.usb.extra.ACCESSORY_UEVENT_TIME";
6808    field public static final long FUNCTION_ACCESSORY = 2L; // 0x2L
6809    field public static final long FUNCTION_ADB = 1L; // 0x1L
6810    field public static final long FUNCTION_AUDIO_SOURCE = 64L; // 0x40L
6811    field public static final long FUNCTION_MIDI = 8L; // 0x8L
6812    field public static final long FUNCTION_MTP = 4L; // 0x4L
6813    field public static final long FUNCTION_NCM = 1024L; // 0x400L
6814    field public static final long FUNCTION_NONE = 0L; // 0x0L
6815    field public static final long FUNCTION_PTP = 16L; // 0x10L
6816    field public static final long FUNCTION_RNDIS = 32L; // 0x20L
6817    field public static final long FUNCTION_UVC = 128L; // 0x80L
6818    field public static final String USB_CONFIGURED = "configured";
6819    field public static final String USB_CONNECTED = "connected";
6820    field public static final String USB_FUNCTION_NCM = "ncm";
6821    field public static final String USB_FUNCTION_RNDIS = "rndis";
6822  }
6823
6824  public static interface UsbManager.DisplayPortAltModeInfoListener {
6825    method public void onDisplayPortAltModeInfoChanged(@NonNull String, @NonNull android.hardware.usb.DisplayPortAltModeInfo);
6826  }
6827
6828  public final class UsbPort {
6829    method @CheckResult @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int enableLimitPowerTransfer(boolean);
6830    method @CheckResult @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int enableUsbData(boolean);
6831    method @CheckResult @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int enableUsbDataWhileDocked();
6832    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USB) public android.hardware.usb.UsbPortStatus getStatus();
6833    method public boolean isAltModeSupported(int);
6834    method @CheckResult @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void resetUsbPort(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
6835    method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void setRoles(int, int);
6836    method @CheckResult @RequiresPermission(android.Manifest.permission.MANAGE_USB) public boolean supportsComplianceWarnings();
6837    field public static final int ENABLE_LIMIT_POWER_TRANSFER_ERROR_INTERNAL = 1; // 0x1
6838    field public static final int ENABLE_LIMIT_POWER_TRANSFER_ERROR_NOT_SUPPORTED = 2; // 0x2
6839    field public static final int ENABLE_LIMIT_POWER_TRANSFER_ERROR_OTHER = 4; // 0x4
6840    field public static final int ENABLE_LIMIT_POWER_TRANSFER_ERROR_PORT_MISMATCH = 3; // 0x3
6841    field public static final int ENABLE_LIMIT_POWER_TRANSFER_SUCCESS = 0; // 0x0
6842    field public static final int ENABLE_USB_DATA_ERROR_INTERNAL = 1; // 0x1
6843    field public static final int ENABLE_USB_DATA_ERROR_NOT_SUPPORTED = 2; // 0x2
6844    field public static final int ENABLE_USB_DATA_ERROR_OTHER = 4; // 0x4
6845    field public static final int ENABLE_USB_DATA_ERROR_PORT_MISMATCH = 3; // 0x3
6846    field public static final int ENABLE_USB_DATA_SUCCESS = 0; // 0x0
6847    field public static final int ENABLE_USB_DATA_WHILE_DOCKED_ERROR_DATA_ENABLED = 4; // 0x4
6848    field public static final int ENABLE_USB_DATA_WHILE_DOCKED_ERROR_INTERNAL = 1; // 0x1
6849    field public static final int ENABLE_USB_DATA_WHILE_DOCKED_ERROR_NOT_SUPPORTED = 2; // 0x2
6850    field public static final int ENABLE_USB_DATA_WHILE_DOCKED_ERROR_OTHER = 5; // 0x5
6851    field public static final int ENABLE_USB_DATA_WHILE_DOCKED_ERROR_PORT_MISMATCH = 3; // 0x3
6852    field public static final int ENABLE_USB_DATA_WHILE_DOCKED_SUCCESS = 0; // 0x0
6853    field public static final int FLAG_ALT_MODE_TYPE_DISPLAYPORT = 1; // 0x1
6854    field public static final int RESET_USB_PORT_ERROR_INTERNAL = 1; // 0x1
6855    field public static final int RESET_USB_PORT_ERROR_NOT_SUPPORTED = 2; // 0x2
6856    field public static final int RESET_USB_PORT_ERROR_OTHER = 4; // 0x4
6857    field public static final int RESET_USB_PORT_ERROR_PORT_MISMATCH = 3; // 0x3
6858    field public static final int RESET_USB_PORT_SUCCESS = 0; // 0x0
6859  }
6860
6861  public final class UsbPortStatus implements android.os.Parcelable {
6862    method public int describeContents();
6863    method @CheckResult @NonNull public int[] getComplianceWarnings();
6864    method public int getCurrentDataRole();
6865    method public int getCurrentMode();
6866    method public int getCurrentPowerRole();
6867    method @Nullable public android.hardware.usb.DisplayPortAltModeInfo getDisplayPortAltModeInfo();
6868    method public int getPlugState();
6869    method public int getPowerBrickConnectionStatus();
6870    method public int getSupportedRoleCombinations();
6871    method public int getUsbDataStatus();
6872    method public boolean isConnected();
6873    method @FlaggedApi("android.hardware.usb.flags.enable_is_pd_compliant_api") public boolean isPdCompliant();
6874    method public boolean isPowerTransferLimited();
6875    method public boolean isRoleCombinationSupported(int, int);
6876    method public void writeToParcel(android.os.Parcel, int);
6877    field public static final int COMPLIANCE_WARNING_BC_1_2 = 3; // 0x3
6878    field public static final int COMPLIANCE_WARNING_DEBUG_ACCESSORY = 2; // 0x2
6879    field @FlaggedApi("android.hardware.usb.flags.enable_usb_data_compliance_warning") public static final int COMPLIANCE_WARNING_ENUMERATION_FAIL = 7; // 0x7
6880    field @FlaggedApi("android.hardware.usb.flags.enable_usb_data_compliance_warning") public static final int COMPLIANCE_WARNING_FLAKY_CONNECTION = 8; // 0x8
6881    field @FlaggedApi("android.hardware.usb.flags.enable_usb_data_compliance_warning") public static final int COMPLIANCE_WARNING_INPUT_POWER_LIMITED = 5; // 0x5
6882    field @FlaggedApi("android.hardware.usb.flags.enable_usb_data_compliance_warning") public static final int COMPLIANCE_WARNING_MISSING_DATA_LINES = 6; // 0x6
6883    field public static final int COMPLIANCE_WARNING_MISSING_RP = 4; // 0x4
6884    field public static final int COMPLIANCE_WARNING_OTHER = 1; // 0x1
6885    field @FlaggedApi("android.hardware.usb.flags.enable_usb_data_compliance_warning") public static final int COMPLIANCE_WARNING_UNRELIABLE_IO = 9; // 0x9
6886    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.usb.UsbPortStatus> CREATOR;
6887    field public static final int DATA_ROLE_DEVICE = 2; // 0x2
6888    field public static final int DATA_ROLE_HOST = 1; // 0x1
6889    field public static final int DATA_ROLE_NONE = 0; // 0x0
6890    field public static final int DATA_STATUS_DISABLED_CONTAMINANT = 4; // 0x4
6891    field public static final int DATA_STATUS_DISABLED_DEBUG = 32; // 0x20
6892    field public static final int DATA_STATUS_DISABLED_DOCK = 8; // 0x8
6893    field public static final int DATA_STATUS_DISABLED_DOCK_DEVICE_MODE = 128; // 0x80
6894    field public static final int DATA_STATUS_DISABLED_DOCK_HOST_MODE = 64; // 0x40
6895    field public static final int DATA_STATUS_DISABLED_FORCE = 16; // 0x10
6896    field public static final int DATA_STATUS_DISABLED_OVERHEAT = 2; // 0x2
6897    field public static final int DATA_STATUS_ENABLED = 1; // 0x1
6898    field public static final int DATA_STATUS_UNKNOWN = 0; // 0x0
6899    field public static final int MODE_AUDIO_ACCESSORY = 4; // 0x4
6900    field public static final int MODE_DEBUG_ACCESSORY = 8; // 0x8
6901    field public static final int MODE_DFP = 2; // 0x2
6902    field public static final int MODE_NONE = 0; // 0x0
6903    field public static final int MODE_UFP = 1; // 0x1
6904    field public static final int PLUG_STATE_PLUGGED_ORIENTATION_FLIPPED = 4; // 0x4
6905    field public static final int PLUG_STATE_PLUGGED_ORIENTATION_NORMAL = 3; // 0x3
6906    field public static final int PLUG_STATE_PLUGGED_ORIENTATION_UNKNOWN = 2; // 0x2
6907    field public static final int PLUG_STATE_UNKNOWN = 0; // 0x0
6908    field public static final int PLUG_STATE_UNPLUGGED = 1; // 0x1
6909    field public static final int POWER_BRICK_STATUS_CONNECTED = 1; // 0x1
6910    field public static final int POWER_BRICK_STATUS_DISCONNECTED = 2; // 0x2
6911    field public static final int POWER_BRICK_STATUS_UNKNOWN = 0; // 0x0
6912    field public static final int POWER_ROLE_NONE = 0; // 0x0
6913    field public static final int POWER_ROLE_SINK = 2; // 0x2
6914    field public static final int POWER_ROLE_SOURCE = 1; // 0x1
6915  }
6916
6917}
6918
6919package android.location {
6920
6921  public class Location implements android.os.Parcelable {
6922    method public void makeComplete();
6923    method @Deprecated public void setIsFromMockProvider(boolean);
6924    field @Deprecated public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation";
6925  }
6926
6927}
6928
6929package android.media {
6930
6931  public final class AudioAttributes implements android.os.Parcelable {
6932    method public int getAllFlags();
6933    method public android.os.Bundle getBundle();
6934    method public int getCapturePreset();
6935    method public int getSystemUsage();
6936    method public static boolean isSystemUsage(int);
6937    field @RequiresPermission(android.Manifest.permission.ACCESS_ULTRASOUND) public static final int CONTENT_TYPE_ULTRASOUND = 1997; // 0x7cd
6938    field public static final int FLAG_BEACON = 8; // 0x8
6939    field public static final int FLAG_BYPASS_INTERRUPTION_POLICY = 64; // 0x40
6940    field public static final int FLAG_BYPASS_MUTE = 128; // 0x80
6941    field public static final int FLAG_HW_HOTWORD = 32; // 0x20
6942    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_ANNOUNCEMENT = 1003; // 0x3eb
6943    field @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public static final int USAGE_CALL_ASSISTANT = 17; // 0x11
6944    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_EMERGENCY = 1000; // 0x3e8
6945    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_SAFETY = 1001; // 0x3e9
6946    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_VEHICLE_STATUS = 1002; // 0x3ea
6947  }
6948
6949  public static class AudioAttributes.Builder {
6950    method public android.media.AudioAttributes.Builder addBundle(@NonNull android.os.Bundle);
6951    method public android.media.AudioAttributes.Builder setCapturePreset(int);
6952    method @NonNull @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public android.media.AudioAttributes.Builder setHotwordModeEnabled(boolean);
6953    method public android.media.AudioAttributes.Builder setInternalCapturePreset(int);
6954    method @NonNull public android.media.AudioAttributes.Builder setInternalContentType(int);
6955    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioAttributes.Builder setSystemUsage(int);
6956  }
6957
6958  public class AudioDescriptor implements android.os.Parcelable {
6959    ctor public AudioDescriptor(int, int, @NonNull byte[]);
6960  }
6961
6962  public final class AudioDeviceAttributes implements android.os.Parcelable {
6963    ctor public AudioDeviceAttributes(@NonNull android.media.AudioDeviceInfo);
6964    ctor public AudioDeviceAttributes(int, int, @NonNull String);
6965    ctor public AudioDeviceAttributes(int, int, @NonNull String, @NonNull String, @NonNull java.util.List<android.media.AudioProfile>, @NonNull java.util.List<android.media.AudioDescriptor>);
6966    method public int describeContents();
6967    method public boolean equalTypeAddress(@Nullable Object);
6968    method @NonNull public String getAddress();
6969    method @NonNull public java.util.List<android.media.AudioDescriptor> getAudioDescriptors();
6970    method @NonNull public java.util.List<android.media.AudioProfile> getAudioProfiles();
6971    method @NonNull public String getName();
6972    method public int getRole();
6973    method public int getType();
6974    method public void writeToParcel(@NonNull android.os.Parcel, int);
6975    field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioDeviceAttributes> CREATOR;
6976    field public static final int ROLE_INPUT = 1; // 0x1
6977    field public static final int ROLE_OUTPUT = 2; // 0x2
6978  }
6979
6980  public class AudioDeviceVolumeManager {
6981    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED}) public android.media.VolumeInfo getDeviceVolume(@NonNull android.media.VolumeInfo, @NonNull android.media.AudioDeviceAttributes);
6982    method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED}) public void setDeviceVolume(@NonNull android.media.VolumeInfo, @NonNull android.media.AudioDeviceAttributes);
6983  }
6984
6985  public final class AudioFocusInfo implements android.os.Parcelable {
6986    method public int describeContents();
6987    method @NonNull public android.media.AudioAttributes getAttributes();
6988    method @NonNull public String getClientId();
6989    method public int getClientUid();
6990    method public int getFlags();
6991    method public int getGainRequest();
6992    method public int getLossReceived();
6993    method @NonNull public String getPackageName();
6994    method public void writeToParcel(android.os.Parcel, int);
6995    field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioFocusInfo> CREATOR;
6996  }
6997
6998  public final class AudioFocusRequest {
6999    method public boolean locksFocus();
7000  }
7001
7002  public static final class AudioFocusRequest.Builder {
7003    method @NonNull public android.media.AudioFocusRequest.Builder setLocksFocus(boolean);
7004  }
7005
7006  public class AudioManager {
7007    method @Deprecated public int abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes);
7008    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void addAssistantServicesUids(@NonNull int[]);
7009    method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, "android.permission.QUERY_AUDIO_STATE"}) public void addOnDevicesForAttributesChangedListener(@NonNull android.media.AudioAttributes, @NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.OnDevicesForAttributesChangedListener);
7010    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void addOnNonDefaultDevicesForStrategyChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.OnNonDefaultDevicesForStrategyChangedListener) throws java.lang.SecurityException;
7011    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void addOnPreferredDeviceForStrategyChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.OnPreferredDeviceForStrategyChangedListener) throws java.lang.SecurityException;
7012    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void addOnPreferredDevicesForCapturePresetChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.OnPreferredDevicesForCapturePresetChangedListener) throws java.lang.SecurityException;
7013    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void addOnPreferredDevicesForStrategyChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.OnPreferredDevicesForStrategyChangedListener) throws java.lang.SecurityException;
7014    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void addOnStreamAliasingChangedListener(@NonNull java.util.concurrent.Executor, @NonNull Runnable);
7015    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void cancelMuteAwaitConnection(@NonNull android.media.AudioDeviceAttributes) throws java.lang.IllegalStateException;
7016    method public void clearAudioServerStateCallback();
7017    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean clearPreferredDevicesForCapturePreset(int);
7018    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int dispatchAudioFocusChange(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
7019    method @FlaggedApi("android.media.audiopolicy.enable_fade_manager_configuration") @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public int dispatchAudioFocusChangeWithFade(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy, @NonNull java.util.List<android.media.AudioFocusInfo>, @Nullable android.media.FadeManagerConfiguration);
7020    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int[] getActiveAssistantServicesUids();
7021    method @IntRange(from=0) public long getAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo);
7022    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int[] getAssistantServicesUids();
7023    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static java.util.List<android.media.audiopolicy.AudioProductStrategy> getAudioProductStrategies();
7024    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static java.util.List<android.media.audiopolicy.AudioVolumeGroup> getAudioVolumeGroups();
7025    method @NonNull @RequiresPermission(android.Manifest.permission.CALL_AUDIO_INTERCEPTION) public android.media.AudioRecord getCallDownlinkExtractionAudioRecord(@NonNull android.media.AudioFormat);
7026    method @NonNull @RequiresPermission(android.Manifest.permission.CALL_AUDIO_INTERCEPTION) public android.media.AudioTrack getCallUplinkInjectionAudioTrack(@NonNull android.media.AudioFormat);
7027    method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, "android.permission.QUERY_AUDIO_STATE", android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED}) public int getDeviceVolumeBehavior(@NonNull android.media.AudioDeviceAttributes);
7028    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, "android.permission.QUERY_AUDIO_STATE"}) public java.util.List<android.media.AudioDeviceAttributes> getDevicesForAttributes(@NonNull android.media.AudioAttributes);
7029    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public java.util.List<java.lang.Integer> getIndependentStreamTypes();
7030    method @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public int getLastAudibleStreamVolume(int);
7031    method @IntRange(from=0) @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public int getLastAudibleVolumeForVolumeGroup(int);
7032    method @IntRange(from=0) public long getMaxAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo);
7033    method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getMaxVolumeIndexForAttributes(@NonNull android.media.AudioAttributes);
7034    method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getMinVolumeIndexForAttributes(@NonNull android.media.AudioAttributes);
7035    method @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioDeviceAttributes getMutingExpectedDevice();
7036    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public java.util.List<android.media.AudioDeviceAttributes> getNonDefaultDevicesForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy);
7037    method @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioDeviceAttributes getPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy);
7038    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public java.util.List<android.media.AudioDeviceAttributes> getPreferredDevicesForCapturePreset(int);
7039    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public java.util.List<android.media.AudioDeviceAttributes> getPreferredDevicesForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy);
7040    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public int getStreamTypeAlias(int);
7041    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int[] getSupportedSystemUsages();
7042    method @IntRange(from=0) @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public int getVolumeGroupMaxVolumeIndex(int);
7043    method @IntRange(from=0) @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public int getVolumeGroupMinVolumeIndex(int);
7044    method @IntRange(from=0) @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public int getVolumeGroupVolumeIndex(int);
7045    method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getVolumeIndexForAttributes(@NonNull android.media.AudioAttributes);
7046    method public boolean isAudioServerRunning();
7047    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean isBluetoothVariableLatencyEnabled();
7048    method public boolean isHdmiSystemAudioSupported();
7049    method @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public boolean isHotwordStreamSupported(boolean);
7050    method @RequiresPermission(android.Manifest.permission.CALL_AUDIO_INTERCEPTION) public boolean isPstnCallAudioInterceptable();
7051    method @RequiresPermission(android.Manifest.permission.ACCESS_ULTRASOUND) public boolean isUltrasoundSupported();
7052    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void muteAwaitConnection(@NonNull int[], @NonNull android.media.AudioDeviceAttributes, long, @NonNull java.util.concurrent.TimeUnit) throws java.lang.IllegalStateException;
7053    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int registerAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
7054    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void registerMuteAwaitConnectionCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.MuteAwaitConnectionCallback);
7055    method public void registerVolumeGroupCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.VolumeGroupCallback);
7056    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void removeAssistantServicesUids(@NonNull int[]);
7057    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean removeDeviceAsNonDefaultForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull android.media.AudioDeviceAttributes);
7058    method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, "android.permission.QUERY_AUDIO_STATE"}) public void removeOnDevicesForAttributesChangedListener(@NonNull android.media.AudioManager.OnDevicesForAttributesChangedListener);
7059    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void removeOnNonDefaultDevicesForStrategyChangedListener(@NonNull android.media.AudioManager.OnNonDefaultDevicesForStrategyChangedListener);
7060    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void removeOnPreferredDeviceForStrategyChangedListener(@NonNull android.media.AudioManager.OnPreferredDeviceForStrategyChangedListener);
7061    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void removeOnPreferredDevicesForCapturePresetChangedListener(@NonNull android.media.AudioManager.OnPreferredDevicesForCapturePresetChangedListener);
7062    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void removeOnPreferredDevicesForStrategyChangedListener(@NonNull android.media.AudioManager.OnPreferredDevicesForStrategyChangedListener);
7063    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void removeOnStreamAliasingChangedListener(@NonNull Runnable);
7064    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean removePreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy);
7065    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;
7066    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;
7067    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int requestAudioFocus(@NonNull android.media.AudioFocusRequest, @Nullable android.media.audiopolicy.AudioPolicy);
7068    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setActiveAssistantServiceUids(@NonNull int[]);
7069    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo, @IntRange(from=0) long);
7070    method public void setAudioServerStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.AudioServerStateCallback);
7071    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setBluetoothVariableLatencyEnabled(boolean);
7072    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setDeviceAsNonDefaultForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull android.media.AudioDeviceAttributes);
7073    method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED}) public void setDeviceVolumeBehavior(@NonNull android.media.AudioDeviceAttributes, int);
7074    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setFocusRequestResult(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
7075    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setPreferredDeviceForCapturePreset(int, @NonNull android.media.AudioDeviceAttributes);
7076    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull android.media.AudioDeviceAttributes);
7077    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setPreferredDevicesForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull java.util.List<android.media.AudioDeviceAttributes>);
7078    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setSupportedSystemUsages(@NonNull int[]);
7079    method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public void setVolumeGroupVolumeIndex(int, int, int);
7080    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setVolumeIndexForAttributes(@NonNull android.media.AudioAttributes, int, int);
7081    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean supportsBluetoothVariableLatency();
7082    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void unregisterAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
7083    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void unregisterAudioPolicyAsync(@NonNull android.media.audiopolicy.AudioPolicy);
7084    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void unregisterMuteAwaitConnectionCallback(@NonNull android.media.AudioManager.MuteAwaitConnectionCallback);
7085    method public void unregisterVolumeGroupCallback(@NonNull android.media.AudioManager.VolumeGroupCallback);
7086    field public static final String ACTION_VOLUME_CHANGED = "android.media.VOLUME_CHANGED_ACTION";
7087    field public static final int AUDIOFOCUS_FLAG_DELAY_OK = 1; // 0x1
7088    field public static final int AUDIOFOCUS_FLAG_LOCK = 4; // 0x4
7089    field public static final int AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS = 2; // 0x2
7090    field public static final int DEVICE_VOLUME_BEHAVIOR_ABSOLUTE = 3; // 0x3
7091    field public static final int DEVICE_VOLUME_BEHAVIOR_ABSOLUTE_ADJUST_ONLY = 5; // 0x5
7092    field public static final int DEVICE_VOLUME_BEHAVIOR_ABSOLUTE_MULTI_MODE = 4; // 0x4
7093    field public static final int DEVICE_VOLUME_BEHAVIOR_FIXED = 2; // 0x2
7094    field public static final int DEVICE_VOLUME_BEHAVIOR_FULL = 1; // 0x1
7095    field public static final int DEVICE_VOLUME_BEHAVIOR_VARIABLE = 0; // 0x0
7096    field public static final String EXTRA_VOLUME_STREAM_TYPE = "android.media.EXTRA_VOLUME_STREAM_TYPE";
7097    field public static final String EXTRA_VOLUME_STREAM_VALUE = "android.media.EXTRA_VOLUME_STREAM_VALUE";
7098    field public static final int FLAG_BLUETOOTH_ABS_VOLUME = 64; // 0x40
7099    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int STREAM_ASSISTANT = 11; // 0xb
7100    field public static final int STREAM_BLUETOOTH_SCO = 6; // 0x6
7101    field public static final int SUCCESS = 0; // 0x0
7102  }
7103
7104  public abstract static class AudioManager.AudioServerStateCallback {
7105    ctor public AudioManager.AudioServerStateCallback();
7106    method public void onAudioServerDown();
7107    method public void onAudioServerUp();
7108  }
7109
7110  public abstract static class AudioManager.MuteAwaitConnectionCallback {
7111    ctor public AudioManager.MuteAwaitConnectionCallback();
7112    method public void onMutedUntilConnection(@NonNull android.media.AudioDeviceAttributes, @NonNull int[]);
7113    method public void onUnmutedEvent(int, @NonNull android.media.AudioDeviceAttributes, @NonNull int[]);
7114    field public static final int EVENT_CANCEL = 3; // 0x3
7115    field public static final int EVENT_CONNECTION = 1; // 0x1
7116    field public static final int EVENT_TIMEOUT = 2; // 0x2
7117  }
7118
7119  public static interface AudioManager.OnDevicesForAttributesChangedListener {
7120    method public void onDevicesForAttributesChanged(@NonNull android.media.AudioAttributes, @NonNull java.util.List<android.media.AudioDeviceAttributes>);
7121  }
7122
7123  public static interface AudioManager.OnNonDefaultDevicesForStrategyChangedListener {
7124    method public void onNonDefaultDevicesForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull java.util.List<android.media.AudioDeviceAttributes>);
7125  }
7126
7127  @Deprecated public static interface AudioManager.OnPreferredDeviceForStrategyChangedListener {
7128    method @Deprecated public void onPreferredDeviceForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @Nullable android.media.AudioDeviceAttributes);
7129  }
7130
7131  public static interface AudioManager.OnPreferredDevicesForCapturePresetChangedListener {
7132    method public void onPreferredDevicesForCapturePresetChanged(int, @NonNull java.util.List<android.media.AudioDeviceAttributes>);
7133  }
7134
7135  public static interface AudioManager.OnPreferredDevicesForStrategyChangedListener {
7136    method public void onPreferredDevicesForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull java.util.List<android.media.AudioDeviceAttributes>);
7137  }
7138
7139  public abstract static class AudioManager.VolumeGroupCallback {
7140    ctor public AudioManager.VolumeGroupCallback();
7141    method public void onAudioVolumeGroupChanged(int, int);
7142  }
7143
7144  public final class AudioPlaybackConfiguration implements android.os.Parcelable {
7145    method public int getChannelMask();
7146    method public int getClientPid();
7147    method public int getClientUid();
7148    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getMutedBy();
7149    method public int getPlayerInterfaceId();
7150    method public android.media.PlayerProxy getPlayerProxy();
7151    method public int getPlayerState();
7152    method public int getPlayerType();
7153    method @IntRange(from=0) public int getSampleRate();
7154    method @IntRange(from=0) public int getSessionId();
7155    method public boolean isActive();
7156    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean isMuted();
7157    method public boolean isSpatialized();
7158    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int MUTED_BY_APP_OPS = 8; // 0x8
7159    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int MUTED_BY_CLIENT_VOLUME = 16; // 0x10
7160    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int MUTED_BY_MASTER = 1; // 0x1
7161    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int MUTED_BY_STREAM_MUTED = 4; // 0x4
7162    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int MUTED_BY_STREAM_VOLUME = 2; // 0x2
7163    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int MUTED_BY_VOLUME_SHAPER = 32; // 0x20
7164    field public static final int PLAYER_STATE_IDLE = 1; // 0x1
7165    field public static final int PLAYER_STATE_PAUSED = 3; // 0x3
7166    field public static final int PLAYER_STATE_RELEASED = 0; // 0x0
7167    field public static final int PLAYER_STATE_STARTED = 2; // 0x2
7168    field public static final int PLAYER_STATE_STOPPED = 4; // 0x4
7169    field public static final int PLAYER_STATE_UNKNOWN = -1; // 0xffffffff
7170    field public static final int PLAYER_TYPE_AAUDIO = 13; // 0xd
7171    field public static final int PLAYER_TYPE_JAM_AUDIOTRACK = 1; // 0x1
7172    field public static final int PLAYER_TYPE_JAM_MEDIAPLAYER = 2; // 0x2
7173    field public static final int PLAYER_TYPE_JAM_SOUNDPOOL = 3; // 0x3
7174    field public static final int PLAYER_TYPE_SLES_AUDIOPLAYER_BUFFERQUEUE = 11; // 0xb
7175    field public static final int PLAYER_TYPE_SLES_AUDIOPLAYER_URI_FD = 12; // 0xc
7176    field public static final int PLAYER_TYPE_UNKNOWN = -1; // 0xffffffff
7177  }
7178
7179  public class AudioProfile implements android.os.Parcelable {
7180    ctor public AudioProfile(int, @NonNull int[], @NonNull int[], @NonNull int[], int);
7181  }
7182
7183  public class AudioRecord implements android.media.AudioRecordingMonitor android.media.AudioRouting android.media.MicrophoneDirection {
7184    ctor @RequiresPermission(android.Manifest.permission.RECORD_AUDIO) public AudioRecord(android.media.AudioAttributes, android.media.AudioFormat, int, int) throws java.lang.IllegalArgumentException;
7185    method public static long getMaxSharedAudioHistoryMillis();
7186    method public boolean isHotwordLookbackStream();
7187    method public boolean isHotwordStream();
7188    method @NonNull @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public android.media.MediaSyncEvent shareAudioHistory(@NonNull String, @IntRange(from=0) long);
7189  }
7190
7191  public static class AudioRecord.Builder {
7192    method public android.media.AudioRecord.Builder setAudioAttributes(@NonNull android.media.AudioAttributes) throws java.lang.IllegalArgumentException;
7193    method @NonNull @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public android.media.AudioRecord.Builder setMaxSharedAudioHistoryMillis(long) throws java.lang.IllegalArgumentException;
7194    method @NonNull @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public android.media.AudioRecord.Builder setRequestHotwordLookbackStream(boolean);
7195    method @NonNull @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public android.media.AudioRecord.Builder setRequestHotwordStream(boolean);
7196    method public android.media.AudioRecord.Builder setSessionId(int) throws java.lang.IllegalArgumentException;
7197    method @NonNull public android.media.AudioRecord.Builder setSharedAudioEvent(@NonNull android.media.MediaSyncEvent) throws java.lang.IllegalArgumentException;
7198  }
7199
7200  public final class AudioRecordingConfiguration implements android.os.Parcelable {
7201    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getClientUid();
7202  }
7203
7204  public class AudioTrack implements android.media.AudioRouting android.media.VolumeAutomation {
7205    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int ENCAPSULATION_MODE_HANDLE = 2; // 0x2
7206  }
7207
7208  public static class AudioTrack.Builder {
7209    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioTrack.Builder setTunerConfiguration(@NonNull android.media.AudioTrack.TunerConfiguration);
7210  }
7211
7212  public static class AudioTrack.TunerConfiguration {
7213    ctor @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public AudioTrack.TunerConfiguration(@IntRange(from=0) int, @IntRange(from=1) int);
7214    method @IntRange(from=1) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getContentId();
7215    method @IntRange(from=1) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getSyncId();
7216    field public static final int CONTENT_ID_NONE = 0; // 0x0
7217  }
7218
7219  @FlaggedApi("android.media.audiopolicy.enable_fade_manager_configuration") public final class FadeManagerConfiguration implements android.os.Parcelable {
7220    method public int describeContents();
7221    method @NonNull public java.util.List<android.media.AudioAttributes> getAudioAttributesWithVolumeShaperConfigs();
7222    method @IntRange(from=1) public static long getDefaultFadeInDurationMillis();
7223    method @IntRange(from=1) public static long getDefaultFadeOutDurationMillis();
7224    method @IntRange(from=0) public long getFadeInDelayForOffenders();
7225    method @IntRange(from=0) public long getFadeInDurationForAudioAttributes(@NonNull android.media.AudioAttributes);
7226    method @IntRange(from=0) public long getFadeInDurationForUsage(int);
7227    method @Nullable public android.media.VolumeShaper.Configuration getFadeInVolumeShaperConfigForAudioAttributes(@NonNull android.media.AudioAttributes);
7228    method @Nullable public android.media.VolumeShaper.Configuration getFadeInVolumeShaperConfigForUsage(int);
7229    method @IntRange(from=0) public long getFadeOutDurationForAudioAttributes(@NonNull android.media.AudioAttributes);
7230    method @IntRange(from=0) public long getFadeOutDurationForUsage(int);
7231    method @Nullable public android.media.VolumeShaper.Configuration getFadeOutVolumeShaperConfigForAudioAttributes(@NonNull android.media.AudioAttributes);
7232    method @Nullable public android.media.VolumeShaper.Configuration getFadeOutVolumeShaperConfigForUsage(int);
7233    method public int getFadeState();
7234    method @NonNull public java.util.List<java.lang.Integer> getFadeableUsages();
7235    method @NonNull public java.util.List<android.media.AudioAttributes> getUnfadeableAudioAttributes();
7236    method @NonNull public java.util.List<java.lang.Integer> getUnfadeableContentTypes();
7237    method @NonNull public java.util.List<java.lang.Integer> getUnfadeablePlayerTypes();
7238    method @NonNull public java.util.List<java.lang.Integer> getUnfadeableUids();
7239    method public boolean isAudioAttributesUnfadeable(@NonNull android.media.AudioAttributes);
7240    method public boolean isContentTypeUnfadeable(int);
7241    method public boolean isFadeEnabled();
7242    method public boolean isPlayerTypeUnfadeable(int);
7243    method public boolean isUidUnfadeable(int);
7244    method public boolean isUsageFadeable(int);
7245    method public void writeToParcel(@NonNull android.os.Parcel, int);
7246    field @NonNull public static final android.os.Parcelable.Creator<android.media.FadeManagerConfiguration> CREATOR;
7247    field public static final long DURATION_NOT_SET = 0L; // 0x0L
7248    field public static final int FADE_STATE_DISABLED = 0; // 0x0
7249    field public static final int FADE_STATE_ENABLED_DEFAULT = 1; // 0x1
7250    field public static final String TAG = "FadeManagerConfiguration";
7251    field public static final int VOLUME_SHAPER_SYSTEM_FADE_ID = 2; // 0x2
7252  }
7253
7254  public static final class FadeManagerConfiguration.Builder {
7255    ctor public FadeManagerConfiguration.Builder();
7256    ctor public FadeManagerConfiguration.Builder(@IntRange(from=1) long, @IntRange(from=1) long);
7257    ctor public FadeManagerConfiguration.Builder(@NonNull android.media.FadeManagerConfiguration);
7258    method @NonNull public android.media.FadeManagerConfiguration.Builder addFadeableUsage(int);
7259    method @NonNull public android.media.FadeManagerConfiguration.Builder addUnfadeableAudioAttributes(@NonNull android.media.AudioAttributes);
7260    method @NonNull public android.media.FadeManagerConfiguration.Builder addUnfadeableContentType(int);
7261    method @NonNull public android.media.FadeManagerConfiguration.Builder addUnfadeableUid(int);
7262    method @NonNull public android.media.FadeManagerConfiguration build();
7263    method @NonNull public android.media.FadeManagerConfiguration.Builder clearFadeableUsages();
7264    method @NonNull public android.media.FadeManagerConfiguration.Builder clearUnfadeableAudioAttributes();
7265    method @NonNull public android.media.FadeManagerConfiguration.Builder clearUnfadeableContentTypes();
7266    method @NonNull public android.media.FadeManagerConfiguration.Builder clearUnfadeableUids();
7267    method @NonNull public android.media.FadeManagerConfiguration.Builder setFadeInDelayForOffenders(@IntRange(from=0) long);
7268    method @NonNull public android.media.FadeManagerConfiguration.Builder setFadeInDurationForAudioAttributes(@NonNull android.media.AudioAttributes, @IntRange(from=0) long);
7269    method @NonNull public android.media.FadeManagerConfiguration.Builder setFadeInDurationForUsage(int, @IntRange(from=0) long);
7270    method @NonNull public android.media.FadeManagerConfiguration.Builder setFadeInVolumeShaperConfigForAudioAttributes(@NonNull android.media.AudioAttributes, @Nullable android.media.VolumeShaper.Configuration);
7271    method @NonNull public android.media.FadeManagerConfiguration.Builder setFadeInVolumeShaperConfigForUsage(int, @Nullable android.media.VolumeShaper.Configuration);
7272    method @NonNull public android.media.FadeManagerConfiguration.Builder setFadeOutDurationForAudioAttributes(@NonNull android.media.AudioAttributes, @IntRange(from=0) long);
7273    method @NonNull public android.media.FadeManagerConfiguration.Builder setFadeOutDurationForUsage(int, @IntRange(from=0) long);
7274    method @NonNull public android.media.FadeManagerConfiguration.Builder setFadeOutVolumeShaperConfigForAudioAttributes(@NonNull android.media.AudioAttributes, @Nullable android.media.VolumeShaper.Configuration);
7275    method @NonNull public android.media.FadeManagerConfiguration.Builder setFadeOutVolumeShaperConfigForUsage(int, @Nullable android.media.VolumeShaper.Configuration);
7276    method @NonNull public android.media.FadeManagerConfiguration.Builder setFadeState(int);
7277    method @NonNull public android.media.FadeManagerConfiguration.Builder setFadeableUsages(@NonNull java.util.List<java.lang.Integer>);
7278    method @NonNull public android.media.FadeManagerConfiguration.Builder setUnfadeableAudioAttributes(@NonNull java.util.List<android.media.AudioAttributes>);
7279    method @NonNull public android.media.FadeManagerConfiguration.Builder setUnfadeableContentTypes(@NonNull java.util.List<java.lang.Integer>);
7280    method @NonNull public android.media.FadeManagerConfiguration.Builder setUnfadeableUids(@NonNull java.util.List<java.lang.Integer>);
7281  }
7282
7283  public class HwAudioSource {
7284    method public boolean isPlaying();
7285    method public void start();
7286    method public void stop();
7287  }
7288
7289  public static final class HwAudioSource.Builder {
7290    ctor public HwAudioSource.Builder();
7291    method @NonNull public android.media.HwAudioSource build();
7292    method @NonNull public android.media.HwAudioSource.Builder setAudioAttributes(@NonNull android.media.AudioAttributes);
7293    method @NonNull public android.media.HwAudioSource.Builder setAudioDeviceInfo(@NonNull android.media.AudioDeviceInfo);
7294  }
7295
7296  public final class MediaCodec {
7297    method @NonNull @RequiresPermission(android.Manifest.permission.MEDIA_RESOURCE_OVERRIDE_PID) public static android.media.MediaCodec createByCodecNameForClient(@NonNull String, int, int) throws java.io.IOException;
7298  }
7299
7300  public class MediaPlayer implements android.media.AudioRouting android.media.VolumeAutomation {
7301    method @RequiresPermission(android.Manifest.permission.BIND_IMS_SERVICE) public void setOnRtpRxNoticeListener(@NonNull android.content.Context, @NonNull java.util.concurrent.Executor, @NonNull android.media.MediaPlayer.OnRtpRxNoticeListener);
7302  }
7303
7304  public static interface MediaPlayer.OnRtpRxNoticeListener {
7305    method public void onRtpRxNotice(@NonNull android.media.MediaPlayer, int, @NonNull int[]);
7306  }
7307
7308  public final class MediaRecorder.AudioSource {
7309    field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_OUTPUT) public static final int ECHO_REFERENCE = 1997; // 0x7cd
7310    field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public static final int HOTWORD = 1999; // 0x7cf
7311    field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_OUTPUT) public static final int RADIO_TUNER = 1998; // 0x7ce
7312    field @RequiresPermission(android.Manifest.permission.ACCESS_ULTRASOUND) public static final int ULTRASOUND = 2000; // 0x7d0
7313  }
7314
7315  public final class MediaRouter2 {
7316    method @NonNull public java.util.List<android.media.MediaRoute2Info> getAllRoutes();
7317    method @Nullable public String getClientPackageName();
7318    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MEDIA_CONTENT_CONTROL, android.Manifest.permission.MEDIA_ROUTING_CONTROL}) public static android.media.MediaRouter2 getInstance(@NonNull android.content.Context, @NonNull String);
7319    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void startScan();
7320    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void stopScan();
7321    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void transfer(@NonNull android.media.MediaRouter2.RoutingController, @NonNull android.media.MediaRoute2Info);
7322  }
7323
7324  public abstract static class MediaRouter2.RouteCallback {
7325    method public void onPreferredFeaturesChanged(@NonNull java.util.List<java.lang.String>);
7326  }
7327
7328  public class MediaSyncEvent implements android.os.Parcelable {
7329    field public static final int SYNC_EVENT_SHARE_AUDIO_HISTORY = 100; // 0x64
7330  }
7331
7332  public final class NearbyDevice implements android.os.Parcelable {
7333    ctor public NearbyDevice(@NonNull String, int);
7334    method public int describeContents();
7335    method @NonNull public String getMediaRoute2Id();
7336    method public int getRangeZone();
7337    method public void writeToParcel(@NonNull android.os.Parcel, int);
7338    field @NonNull public static final android.os.Parcelable.Creator<android.media.NearbyDevice> CREATOR;
7339    field public static final int RANGE_CLOSE = 3; // 0x3
7340    field public static final int RANGE_FAR = 1; // 0x1
7341    field public static final int RANGE_LONG = 2; // 0x2
7342    field public static final int RANGE_UNKNOWN = 0; // 0x0
7343    field public static final int RANGE_WITHIN_REACH = 4; // 0x4
7344  }
7345
7346  public interface NearbyMediaDevicesProvider {
7347    method public void registerNearbyDevicesCallback(@NonNull java.util.function.Consumer<java.util.List<android.media.NearbyDevice>>);
7348    method public void unregisterNearbyDevicesCallback(@NonNull java.util.function.Consumer<java.util.List<android.media.NearbyDevice>>);
7349  }
7350
7351  public class PlayerProxy {
7352    method public void pause();
7353    method public void setPan(float);
7354    method public void setStartDelayMs(int);
7355    method public void setVolume(float);
7356    method public void start();
7357    method public void stop();
7358  }
7359
7360  public class RingtoneManager {
7361    method @RequiresPermission(android.Manifest.permission.WRITE_SETTINGS) public static void ensureDefaultRingtones(@NonNull android.content.Context);
7362  }
7363
7364  public final class RouteDiscoveryPreference implements android.os.Parcelable {
7365    field public static final android.media.RouteDiscoveryPreference EMPTY;
7366  }
7367
7368  public class Spatializer {
7369    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void addCompatibleAudioDevice(@NonNull android.media.AudioDeviceAttributes);
7370    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void addOnHeadTrackingModeChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.Spatializer.OnHeadTrackingModeChangedListener);
7371    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void clearOnHeadToSoundstagePoseUpdatedListener();
7372    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void clearOnSpatializerOutputChangedListener();
7373    method @NonNull @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public java.util.List<android.media.AudioDeviceAttributes> getCompatibleAudioDevices();
7374    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public int getDesiredHeadTrackingMode();
7375    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void getEffectParameter(int, @NonNull byte[]);
7376    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public int getHeadTrackingMode();
7377    method @IntRange(from=0) @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public int getOutput();
7378    method @NonNull @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public java.util.List<java.lang.Integer> getSupportedHeadTrackingModes();
7379    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public boolean hasHeadTracker(@NonNull android.media.AudioDeviceAttributes);
7380    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public boolean isAvailableForDevice(@NonNull android.media.AudioDeviceAttributes);
7381    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public boolean isHeadTrackerEnabled(@NonNull android.media.AudioDeviceAttributes);
7382    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void recenterHeadTracker();
7383    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void removeCompatibleAudioDevice(@NonNull android.media.AudioDeviceAttributes);
7384    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void removeOnHeadTrackingModeChangedListener(@NonNull android.media.Spatializer.OnHeadTrackingModeChangedListener);
7385    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setDesiredHeadTrackingMode(int);
7386    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setEffectParameter(int, @NonNull byte[]);
7387    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setEnabled(boolean);
7388    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setGlobalTransform(@NonNull float[]);
7389    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setHeadTrackerEnabled(boolean, @NonNull android.media.AudioDeviceAttributes);
7390    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setOnHeadToSoundstagePoseUpdatedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.Spatializer.OnHeadToSoundstagePoseUpdatedListener);
7391    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public void setOnSpatializerOutputChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.Spatializer.OnSpatializerOutputChangedListener);
7392    field @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static final int HEAD_TRACKING_MODE_DISABLED = -1; // 0xffffffff
7393    field @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static final int HEAD_TRACKING_MODE_OTHER = 0; // 0x0
7394    field @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static final int HEAD_TRACKING_MODE_RELATIVE_DEVICE = 2; // 0x2
7395    field @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static final int HEAD_TRACKING_MODE_RELATIVE_WORLD = 1; // 0x1
7396    field @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static final int HEAD_TRACKING_MODE_UNSUPPORTED = -2; // 0xfffffffe
7397  }
7398
7399  public static interface Spatializer.OnHeadToSoundstagePoseUpdatedListener {
7400    method public void onHeadToSoundstagePoseUpdated(@NonNull android.media.Spatializer, @NonNull float[]);
7401  }
7402
7403  public static interface Spatializer.OnHeadTrackingModeChangedListener {
7404    method public void onDesiredHeadTrackingModeChanged(@NonNull android.media.Spatializer, int);
7405    method public void onHeadTrackingModeChanged(@NonNull android.media.Spatializer, int);
7406  }
7407
7408  public static interface Spatializer.OnSpatializerOutputChangedListener {
7409    method public void onSpatializerOutputChanged(@NonNull android.media.Spatializer, @IntRange(from=0) int);
7410  }
7411
7412  public final class VolumeInfo implements android.os.Parcelable {
7413    method public int describeContents();
7414    method @NonNull public static android.media.VolumeInfo getDefaultVolumeInfo();
7415    method public int getMaxVolumeIndex();
7416    method public int getMinVolumeIndex();
7417    method public int getStreamType();
7418    method @NonNull public android.media.audiopolicy.AudioVolumeGroup getVolumeGroup();
7419    method public int getVolumeIndex();
7420    method public boolean hasMuteCommand();
7421    method public boolean hasStreamType();
7422    method public boolean hasVolumeGroup();
7423    method public boolean isMuted();
7424    method public void writeToParcel(@NonNull android.os.Parcel, int);
7425    field @NonNull public static final android.os.Parcelable.Creator<android.media.VolumeInfo> CREATOR;
7426    field public static final int INDEX_NOT_SET = -100; // 0xffffff9c
7427  }
7428
7429  public static final class VolumeInfo.Builder {
7430    ctor public VolumeInfo.Builder(int);
7431    ctor public VolumeInfo.Builder(@NonNull android.media.audiopolicy.AudioVolumeGroup);
7432    ctor public VolumeInfo.Builder(@NonNull android.media.VolumeInfo);
7433    method @NonNull public android.media.VolumeInfo build();
7434    method @NonNull public android.media.VolumeInfo.Builder setMaxVolumeIndex(int);
7435    method @NonNull public android.media.VolumeInfo.Builder setMinVolumeIndex(int);
7436    method @NonNull public android.media.VolumeInfo.Builder setMuted(boolean);
7437    method @NonNull public android.media.VolumeInfo.Builder setVolumeIndex(int);
7438  }
7439
7440}
7441
7442package android.media.audiofx {
7443
7444  public class AudioEffect {
7445    ctor @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public AudioEffect(@NonNull java.util.UUID, @NonNull android.media.AudioDeviceAttributes);
7446    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static boolean isEffectSupportedForDevice(@NonNull java.util.UUID, @NonNull android.media.AudioDeviceAttributes);
7447  }
7448
7449}
7450
7451package android.media.audiopolicy {
7452
7453  public class AudioMix implements android.os.Parcelable {
7454    method public int describeContents();
7455    method public int getMixState();
7456    method public void writeToParcel(@NonNull android.os.Parcel, int);
7457    field @NonNull public static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioMix> CREATOR;
7458    field public static final int MIX_STATE_DISABLED = -1; // 0xffffffff
7459    field public static final int MIX_STATE_IDLE = 0; // 0x0
7460    field public static final int MIX_STATE_MIXING = 1; // 0x1
7461    field public static final int ROUTE_FLAG_LOOP_BACK = 2; // 0x2
7462    field public static final int ROUTE_FLAG_RENDER = 1; // 0x1
7463  }
7464
7465  public static class AudioMix.Builder {
7466    ctor public AudioMix.Builder(@NonNull android.media.audiopolicy.AudioMixingRule) throws java.lang.IllegalArgumentException;
7467    method public android.media.audiopolicy.AudioMix build() throws java.lang.IllegalArgumentException;
7468    method public android.media.audiopolicy.AudioMix.Builder setDevice(@NonNull android.media.AudioDeviceInfo) throws java.lang.IllegalArgumentException;
7469    method public android.media.audiopolicy.AudioMix.Builder setFormat(@NonNull android.media.AudioFormat) throws java.lang.IllegalArgumentException;
7470    method public android.media.audiopolicy.AudioMix.Builder setRouteFlags(int) throws java.lang.IllegalArgumentException;
7471  }
7472
7473  public class AudioMixingRule implements android.os.Parcelable {
7474    method public int describeContents();
7475    method public int getTargetMixRole();
7476    method public void writeToParcel(@NonNull android.os.Parcel, int);
7477    field @NonNull public static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioMixingRule> CREATOR;
7478    field public static final int MIX_ROLE_INJECTOR = 1; // 0x1
7479    field public static final int MIX_ROLE_PLAYERS = 0; // 0x0
7480    field public static final int RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET = 2; // 0x2
7481    field public static final int RULE_MATCH_ATTRIBUTE_USAGE = 1; // 0x1
7482    field public static final int RULE_MATCH_AUDIO_SESSION_ID = 16; // 0x10
7483    field public static final int RULE_MATCH_UID = 4; // 0x4
7484    field public static final int RULE_MATCH_USERID = 8; // 0x8
7485  }
7486
7487  public static class AudioMixingRule.Builder {
7488    ctor public AudioMixingRule.Builder();
7489    method public android.media.audiopolicy.AudioMixingRule.Builder addMixRule(int, Object) throws java.lang.IllegalArgumentException;
7490    method public android.media.audiopolicy.AudioMixingRule.Builder addRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException;
7491    method @NonNull public android.media.audiopolicy.AudioMixingRule.Builder allowPrivilegedPlaybackCapture(boolean);
7492    method public android.media.audiopolicy.AudioMixingRule build();
7493    method public android.media.audiopolicy.AudioMixingRule.Builder excludeMixRule(int, Object) throws java.lang.IllegalArgumentException;
7494    method public android.media.audiopolicy.AudioMixingRule.Builder excludeRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException;
7495    method @NonNull public android.media.audiopolicy.AudioMixingRule.Builder setTargetMixRole(int);
7496  }
7497
7498  public class AudioPolicy {
7499    method public int attachMixes(@NonNull java.util.List<android.media.audiopolicy.AudioMix>);
7500    method @FlaggedApi("android.media.audiopolicy.enable_fade_manager_configuration") @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public int clearFadeManagerConfigurationForFocusLoss();
7501    method public android.media.AudioRecord createAudioRecordSink(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException;
7502    method public android.media.AudioTrack createAudioTrackSource(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException;
7503    method public int detachMixes(@NonNull java.util.List<android.media.audiopolicy.AudioMix>);
7504    method @FlaggedApi("android.media.audiopolicy.enable_fade_manager_configuration") @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public android.media.FadeManagerConfiguration getFadeManagerConfigurationForFocusLoss();
7505    method public int getFocusDuckingBehavior();
7506    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public java.util.List<android.media.AudioFocusInfo> getFocusStack();
7507    method public int getStatus();
7508    method public boolean removeUidDeviceAffinity(int);
7509    method public boolean removeUserIdDeviceAffinity(int);
7510    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean sendFocusLoss(@NonNull android.media.AudioFocusInfo) throws java.lang.IllegalStateException;
7511    method @FlaggedApi("android.media.audiopolicy.enable_fade_manager_configuration") @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public int setFadeManagerConfigurationForFocusLoss(@NonNull android.media.FadeManagerConfiguration);
7512    method public int setFocusDuckingBehavior(int) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException;
7513    method public void setRegistration(String);
7514    method public boolean setUidDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>);
7515    method public boolean setUserIdDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>);
7516    method public String toLogFriendlyString();
7517    method @FlaggedApi("android.media.audiopolicy.audio_policy_update_mixing_rules_api") @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int updateMixingRules(@NonNull java.util.List<android.util.Pair<android.media.audiopolicy.AudioMix,android.media.audiopolicy.AudioMixingRule>>);
7518    field public static final int FOCUS_POLICY_DUCKING_DEFAULT = 0; // 0x0
7519    field public static final int FOCUS_POLICY_DUCKING_IN_APP = 0; // 0x0
7520    field public static final int FOCUS_POLICY_DUCKING_IN_POLICY = 1; // 0x1
7521    field public static final int POLICY_STATUS_REGISTERED = 2; // 0x2
7522    field public static final int POLICY_STATUS_UNREGISTERED = 1; // 0x1
7523  }
7524
7525  public abstract static class AudioPolicy.AudioPolicyFocusListener {
7526    ctor public AudioPolicy.AudioPolicyFocusListener();
7527    method public void onAudioFocusAbandon(android.media.AudioFocusInfo);
7528    method public void onAudioFocusGrant(android.media.AudioFocusInfo, int);
7529    method public void onAudioFocusLoss(android.media.AudioFocusInfo, boolean);
7530    method public void onAudioFocusRequest(android.media.AudioFocusInfo, int);
7531  }
7532
7533  public abstract static class AudioPolicy.AudioPolicyStatusListener {
7534    ctor public AudioPolicy.AudioPolicyStatusListener();
7535    method public void onMixStateUpdate(android.media.audiopolicy.AudioMix);
7536    method public void onStatusChange();
7537  }
7538
7539  public abstract static class AudioPolicy.AudioPolicyVolumeCallback {
7540    ctor public AudioPolicy.AudioPolicyVolumeCallback();
7541    method public void onVolumeAdjustment(int);
7542  }
7543
7544  public static class AudioPolicy.Builder {
7545    ctor public AudioPolicy.Builder(android.content.Context);
7546    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder addMix(@NonNull android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException;
7547    method @NonNull public android.media.audiopolicy.AudioPolicy build();
7548    method public void setAudioPolicyFocusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyFocusListener);
7549    method public void setAudioPolicyStatusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyStatusListener);
7550    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setAudioPolicyVolumeCallback(@NonNull android.media.audiopolicy.AudioPolicy.AudioPolicyVolumeCallback);
7551    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsAudioFocusPolicy(boolean);
7552    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setLooper(@NonNull android.os.Looper) throws java.lang.IllegalArgumentException;
7553  }
7554
7555  public final class AudioProductStrategy implements android.os.Parcelable {
7556    method @NonNull public static android.media.audiopolicy.AudioProductStrategy createInvalidAudioProductStrategy(int);
7557    method public int describeContents();
7558    method @NonNull public android.media.AudioAttributes getAudioAttributes();
7559    method public int getId();
7560    method @NonNull public String getName();
7561    method public boolean supportsAudioAttributes(@NonNull android.media.AudioAttributes);
7562    method public void writeToParcel(@NonNull android.os.Parcel, int);
7563    field @NonNull public static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioProductStrategy> CREATOR;
7564  }
7565
7566  public final class AudioVolumeGroup implements android.os.Parcelable {
7567    method public int describeContents();
7568    method @NonNull public java.util.List<android.media.AudioAttributes> getAudioAttributes();
7569    method public int getId();
7570    method @NonNull public int[] getLegacyStreamTypes();
7571    method @NonNull public String name();
7572    method public void writeToParcel(@NonNull android.os.Parcel, int);
7573    field public static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioVolumeGroup> CREATOR;
7574    field public static final int DEFAULT_VOLUME_GROUP = -1; // 0xffffffff
7575  }
7576
7577}
7578
7579package android.media.musicrecognition {
7580
7581  public class MusicRecognitionManager {
7582    method @RequiresPermission(android.Manifest.permission.MANAGE_MUSIC_RECOGNITION) public void beginStreamingSearch(@NonNull android.media.musicrecognition.RecognitionRequest, @NonNull java.util.concurrent.Executor, @NonNull android.media.musicrecognition.MusicRecognitionManager.RecognitionCallback);
7583    field public static final int RECOGNITION_FAILED_AUDIO_UNAVAILABLE = 7; // 0x7
7584    field public static final int RECOGNITION_FAILED_NOT_FOUND = 1; // 0x1
7585    field public static final int RECOGNITION_FAILED_NO_CONNECTIVITY = 2; // 0x2
7586    field public static final int RECOGNITION_FAILED_SERVICE_KILLED = 5; // 0x5
7587    field public static final int RECOGNITION_FAILED_SERVICE_UNAVAILABLE = 3; // 0x3
7588    field public static final int RECOGNITION_FAILED_TIMEOUT = 6; // 0x6
7589    field public static final int RECOGNITION_FAILED_UNKNOWN = -1; // 0xffffffff
7590  }
7591
7592  public static interface MusicRecognitionManager.RecognitionCallback {
7593    method public void onAudioStreamClosed();
7594    method public void onRecognitionFailed(@NonNull android.media.musicrecognition.RecognitionRequest, int);
7595    method public void onRecognitionSucceeded(@NonNull android.media.musicrecognition.RecognitionRequest, @NonNull android.media.MediaMetadata, @Nullable android.os.Bundle);
7596  }
7597
7598  public abstract class MusicRecognitionService extends android.app.Service {
7599    ctor public MusicRecognitionService();
7600    method @Nullable public android.os.IBinder onBind(@NonNull android.content.Intent);
7601    method public abstract void onRecognize(@NonNull android.os.ParcelFileDescriptor, @NonNull android.media.AudioFormat, @NonNull android.media.musicrecognition.MusicRecognitionService.Callback);
7602  }
7603
7604  public static interface MusicRecognitionService.Callback {
7605    method public void onRecognitionFailed(int);
7606    method public void onRecognitionSucceeded(@NonNull android.media.MediaMetadata, @Nullable android.os.Bundle);
7607  }
7608
7609  public final class RecognitionRequest implements android.os.Parcelable {
7610    method public int describeContents();
7611    method @NonNull public android.media.AudioAttributes getAudioAttributes();
7612    method @NonNull public android.media.AudioFormat getAudioFormat();
7613    method public int getCaptureSession();
7614    method public int getIgnoreBeginningFrames();
7615    method public int getMaxAudioLengthSeconds();
7616    method public void writeToParcel(@NonNull android.os.Parcel, int);
7617    field @NonNull public static final android.os.Parcelable.Creator<android.media.musicrecognition.RecognitionRequest> CREATOR;
7618  }
7619
7620  public static final class RecognitionRequest.Builder {
7621    ctor public RecognitionRequest.Builder();
7622    method @NonNull public android.media.musicrecognition.RecognitionRequest build();
7623    method @NonNull public android.media.musicrecognition.RecognitionRequest.Builder setAudioAttributes(@NonNull android.media.AudioAttributes);
7624    method @NonNull public android.media.musicrecognition.RecognitionRequest.Builder setAudioFormat(@NonNull android.media.AudioFormat);
7625    method @NonNull public android.media.musicrecognition.RecognitionRequest.Builder setCaptureSession(int);
7626    method @NonNull public android.media.musicrecognition.RecognitionRequest.Builder setIgnoreBeginningFrames(int);
7627    method @NonNull public android.media.musicrecognition.RecognitionRequest.Builder setMaxAudioLengthSeconds(int);
7628  }
7629
7630}
7631
7632package android.media.session {
7633
7634  public final class MediaSessionManager {
7635    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void addOnMediaKeyEventDispatchedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.OnMediaKeyEventDispatchedListener);
7636    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void removeOnMediaKeyEventDispatchedListener(@NonNull android.media.session.MediaSessionManager.OnMediaKeyEventDispatchedListener);
7637    method @RequiresPermission(android.Manifest.permission.SET_MEDIA_KEY_LISTENER) public void setOnMediaKeyListener(android.media.session.MediaSessionManager.OnMediaKeyListener, @Nullable android.os.Handler);
7638    method @RequiresPermission(android.Manifest.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER) public void setOnVolumeKeyLongPressListener(android.media.session.MediaSessionManager.OnVolumeKeyLongPressListener, @Nullable android.os.Handler);
7639  }
7640
7641  public static interface MediaSessionManager.OnMediaKeyEventDispatchedListener {
7642    method public void onMediaKeyEventDispatched(@NonNull android.view.KeyEvent, @NonNull String, @Nullable android.media.session.MediaSession.Token);
7643  }
7644
7645  public static interface MediaSessionManager.OnMediaKeyListener {
7646    method public boolean onMediaKey(android.view.KeyEvent);
7647  }
7648
7649  public static interface MediaSessionManager.OnVolumeKeyLongPressListener {
7650    method public void onVolumeKeyLongPress(android.view.KeyEvent);
7651  }
7652
7653}
7654
7655package android.media.soundtrigger {
7656
7657  public abstract class SoundTriggerDetectionService extends android.app.Service {
7658    ctor public SoundTriggerDetectionService();
7659    method public final android.os.IBinder onBind(android.content.Intent);
7660    method @MainThread public void onConnected(@NonNull java.util.UUID, @Nullable android.os.Bundle);
7661    method @MainThread public void onDisconnected(@NonNull java.util.UUID, @Nullable android.os.Bundle);
7662    method @MainThread public void onError(@NonNull java.util.UUID, @Nullable android.os.Bundle, int, int);
7663    method @MainThread public void onGenericRecognitionEvent(@NonNull java.util.UUID, @Nullable android.os.Bundle, int, @NonNull android.hardware.soundtrigger.SoundTrigger.RecognitionEvent);
7664    method @MainThread public abstract void onStopOperation(@NonNull java.util.UUID, @Nullable android.os.Bundle, int);
7665    method public final void operationFinished(@Nullable java.util.UUID, int);
7666  }
7667
7668  @Deprecated public final class SoundTriggerDetector {
7669    method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public boolean startRecognition(int);
7670    method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public boolean stopRecognition();
7671    field @Deprecated public static final int RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS = 2; // 0x2
7672    field @Deprecated public static final int RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO = 1; // 0x1
7673    field @Deprecated public static final int RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION = 4; // 0x4
7674    field @Deprecated public static final int RECOGNITION_FLAG_ENABLE_AUDIO_NOISE_SUPPRESSION = 8; // 0x8
7675    field @Deprecated public static final int RECOGNITION_FLAG_RUN_IN_BATTERY_SAVER = 16; // 0x10
7676  }
7677
7678  @Deprecated public abstract static class SoundTriggerDetector.Callback {
7679    ctor @Deprecated public SoundTriggerDetector.Callback();
7680    method @Deprecated public abstract void onAvailabilityChanged(int);
7681    method @Deprecated public abstract void onDetected(@NonNull android.media.soundtrigger.SoundTriggerDetector.EventPayload);
7682    method @Deprecated public abstract void onError();
7683    method @Deprecated public abstract void onRecognitionPaused();
7684    method @Deprecated public abstract void onRecognitionResumed();
7685  }
7686
7687  @Deprecated public static class SoundTriggerDetector.EventPayload {
7688    method @Deprecated @Nullable public android.media.AudioFormat getCaptureAudioFormat();
7689    method @Deprecated @Nullable public byte[] getTriggerAudio();
7690  }
7691
7692  public final class SoundTriggerManager {
7693    method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.media.soundtrigger.SoundTriggerDetector createSoundTriggerDetector(java.util.UUID, @NonNull android.media.soundtrigger.SoundTriggerDetector.Callback, @Nullable android.os.Handler);
7694    method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public void deleteModel(java.util.UUID);
7695    method public int getDetectionServiceOperationsTimeout();
7696    method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.media.soundtrigger.SoundTriggerManager.Model getModel(java.util.UUID);
7697    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.hardware.soundtrigger.SoundTrigger.ModuleProperties getModuleProperties();
7698    method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public int getParameter(@NonNull java.util.UUID, int);
7699    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.hardware.soundtrigger.SoundTrigger.ModelParamRange queryParameter(@Nullable java.util.UUID, int);
7700    method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public int setParameter(@Nullable java.util.UUID, int, int);
7701    method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public void updateModel(android.media.soundtrigger.SoundTriggerManager.Model);
7702  }
7703
7704  public static class SoundTriggerManager.Model {
7705    method @NonNull public static android.media.soundtrigger.SoundTriggerManager.Model create(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[], int);
7706    method @NonNull public static android.media.soundtrigger.SoundTriggerManager.Model create(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[]);
7707    method @Nullable public byte[] getModelData();
7708    method @NonNull public java.util.UUID getModelUuid();
7709    method @NonNull public java.util.UUID getVendorUuid();
7710    method public int getVersion();
7711  }
7712
7713}
7714
7715package android.media.tv {
7716
7717  public final class DvbDeviceInfo implements android.os.Parcelable {
7718    ctor public DvbDeviceInfo(int, int);
7719    method public int describeContents();
7720    method @IntRange(from=0) public int getAdapterId();
7721    method @IntRange(from=0) public int getDeviceId();
7722    method public void writeToParcel(@NonNull android.os.Parcel, int);
7723    field @NonNull public static final android.os.Parcelable.Creator<android.media.tv.DvbDeviceInfo> CREATOR;
7724  }
7725
7726  public final class TunedInfo implements android.os.Parcelable {
7727    method public int describeContents();
7728    method public int getAppTag();
7729    method public int getAppType();
7730    method @Nullable public android.net.Uri getChannelUri();
7731    method @NonNull public String getInputId();
7732    method public boolean isMainSession();
7733    method public boolean isRecordingSession();
7734    method public boolean isVisible();
7735    method public void writeToParcel(@NonNull android.os.Parcel, int);
7736    field public static final int APP_TAG_SELF = 0; // 0x0
7737    field public static final int APP_TYPE_NON_SYSTEM = 3; // 0x3
7738    field public static final int APP_TYPE_SELF = 1; // 0x1
7739    field public static final int APP_TYPE_SYSTEM = 2; // 0x2
7740    field @NonNull public static final android.os.Parcelable.Creator<android.media.tv.TunedInfo> CREATOR;
7741  }
7742
7743  public final class TvContentRatingSystemInfo implements android.os.Parcelable {
7744    method public static android.media.tv.TvContentRatingSystemInfo createTvContentRatingSystemInfo(int, android.content.pm.ApplicationInfo);
7745    method public int describeContents();
7746    method public android.net.Uri getXmlUri();
7747    method public boolean isSystemDefined();
7748    method public void writeToParcel(android.os.Parcel, int);
7749  }
7750
7751  public final class TvContract {
7752    method public static android.net.Uri buildChannelsUriForInput(@Nullable String, boolean);
7753    method public static android.net.Uri buildChannelsUriForInput(@Nullable String, @Nullable String, boolean);
7754    field public static final String ACTION_CHANNEL_BROWSABLE_REQUESTED = "android.media.tv.action.CHANNEL_BROWSABLE_REQUESTED";
7755    field public static final String EXTRA_BLOCKED_PACKAGES = "android.media.tv.extra.BLOCKED_PACKAGES";
7756    field public static final String EXTRA_COLUMN_NAME = "android.media.tv.extra.COLUMN_NAME";
7757    field public static final String EXTRA_DATA_TYPE = "android.media.tv.extra.DATA_TYPE";
7758    field public static final String EXTRA_DEFAULT_VALUE = "android.media.tv.extra.DEFAULT_VALUE";
7759    field public static final String EXTRA_EXISTING_COLUMN_NAMES = "android.media.tv.extra.EXISTING_COLUMN_NAMES";
7760    field public static final String EXTRA_PACKAGE_NAME = "android.media.tv.extra.PACKAGE_NAME";
7761    field public static final String EXTRA_RESULT_CODE = "android.media.tv.extra.RESULT_CODE";
7762    field public static final String METHOD_ADD_COLUMN = "add_column";
7763    field public static final String METHOD_BLOCK_PACKAGE = "block_package";
7764    field public static final String METHOD_GET_BLOCKED_PACKAGES = "get_blocked_packages";
7765    field public static final String METHOD_GET_COLUMNS = "get_columns";
7766    field public static final String METHOD_UNBLOCK_PACKAGE = "unblock_package";
7767    field public static final int RESULT_ERROR_INVALID_ARGUMENT = 2; // 0x2
7768    field public static final int RESULT_ERROR_IO = 1; // 0x1
7769    field public static final int RESULT_OK = 0; // 0x0
7770  }
7771
7772  public static final class TvContract.WatchedPrograms implements android.media.tv.TvContract.BaseTvColumns {
7773    field public static final String COLUMN_CHANNEL_ID = "channel_id";
7774    field public static final String COLUMN_DESCRIPTION = "description";
7775    field public static final String COLUMN_END_TIME_UTC_MILLIS = "end_time_utc_millis";
7776    field public static final String COLUMN_INTERNAL_SESSION_TOKEN = "session_token";
7777    field public static final String COLUMN_INTERNAL_TUNE_PARAMS = "tune_params";
7778    field public static final String COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis";
7779    field public static final String COLUMN_TITLE = "title";
7780    field public static final String COLUMN_WATCH_END_TIME_UTC_MILLIS = "watch_end_time_utc_millis";
7781    field public static final String COLUMN_WATCH_START_TIME_UTC_MILLIS = "watch_start_time_utc_millis";
7782    field public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/watched_program";
7783    field public static final String CONTENT_TYPE = "vnd.android.cursor.dir/watched_program";
7784    field public static final android.net.Uri CONTENT_URI;
7785  }
7786
7787  public final class TvInputHardwareInfo implements android.os.Parcelable {
7788    method public int describeContents();
7789    method public String getAudioAddress();
7790    method public int getAudioType();
7791    method public int getCableConnectionStatus();
7792    method public int getDeviceId();
7793    method public int getHdmiPortId();
7794    method public int getType();
7795    method public void readFromParcel(android.os.Parcel);
7796    method public void writeToParcel(android.os.Parcel, int);
7797    field public static final int CABLE_CONNECTION_STATUS_CONNECTED = 1; // 0x1
7798    field public static final int CABLE_CONNECTION_STATUS_DISCONNECTED = 2; // 0x2
7799    field public static final int CABLE_CONNECTION_STATUS_UNKNOWN = 0; // 0x0
7800    field @NonNull public static final android.os.Parcelable.Creator<android.media.tv.TvInputHardwareInfo> CREATOR;
7801    field public static final int TV_INPUT_TYPE_COMPONENT = 6; // 0x6
7802    field public static final int TV_INPUT_TYPE_COMPOSITE = 3; // 0x3
7803    field public static final int TV_INPUT_TYPE_DISPLAY_PORT = 10; // 0xa
7804    field public static final int TV_INPUT_TYPE_DVI = 8; // 0x8
7805    field public static final int TV_INPUT_TYPE_HDMI = 9; // 0x9
7806    field public static final int TV_INPUT_TYPE_OTHER_HARDWARE = 1; // 0x1
7807    field public static final int TV_INPUT_TYPE_SCART = 5; // 0x5
7808    field public static final int TV_INPUT_TYPE_SVIDEO = 4; // 0x4
7809    field public static final int TV_INPUT_TYPE_TUNER = 2; // 0x2
7810    field public static final int TV_INPUT_TYPE_VGA = 7; // 0x7
7811  }
7812
7813  public static final class TvInputHardwareInfo.Builder {
7814    ctor public TvInputHardwareInfo.Builder();
7815    method public android.media.tv.TvInputHardwareInfo.Builder audioAddress(String);
7816    method public android.media.tv.TvInputHardwareInfo.Builder audioType(int);
7817    method public android.media.tv.TvInputHardwareInfo build();
7818    method public android.media.tv.TvInputHardwareInfo.Builder cableConnectionStatus(int);
7819    method public android.media.tv.TvInputHardwareInfo.Builder deviceId(int);
7820    method public android.media.tv.TvInputHardwareInfo.Builder hdmiPortId(int);
7821    method public android.media.tv.TvInputHardwareInfo.Builder type(int);
7822  }
7823
7824  public final class TvInputInfo implements android.os.Parcelable {
7825    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;
7826    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;
7827    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;
7828    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;
7829    method public android.hardware.hdmi.HdmiDeviceInfo getHdmiDeviceInfo();
7830    method public boolean isConnectedToHdmiSwitch();
7831    method public boolean isHardwareInput();
7832    method public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.Context, int);
7833  }
7834
7835  public static final class TvInputInfo.Builder {
7836    method public android.media.tv.TvInputInfo.Builder setHdmiDeviceInfo(android.hardware.hdmi.HdmiDeviceInfo);
7837    method public android.media.tv.TvInputInfo.Builder setIcon(android.graphics.drawable.Icon);
7838    method public android.media.tv.TvInputInfo.Builder setIcon(android.graphics.drawable.Icon, int);
7839    method public android.media.tv.TvInputInfo.Builder setLabel(CharSequence);
7840    method public android.media.tv.TvInputInfo.Builder setLabel(@StringRes int);
7841    method public android.media.tv.TvInputInfo.Builder setParentId(String);
7842    method public android.media.tv.TvInputInfo.Builder setTvInputHardwareInfo(android.media.tv.TvInputHardwareInfo);
7843  }
7844
7845  public static final class TvInputInfo.TvInputSettings {
7846    method public static java.util.Map<java.lang.String,java.lang.String> getCustomLabels(android.content.Context, int);
7847    method public static java.util.Set<java.lang.String> getHiddenTvInputIds(android.content.Context, int);
7848    method public static void putCustomLabels(android.content.Context, java.util.Map<java.lang.String,java.lang.String>, int);
7849    method public static void putHiddenTvInputs(android.content.Context, java.util.Set<java.lang.String>, int);
7850  }
7851
7852  public final class TvInputManager {
7853    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);
7854    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);
7855    method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void addBlockedRating(@NonNull android.media.tv.TvContentRating);
7856    method @RequiresPermission(android.Manifest.permission.CAPTURE_TV_INPUT) public boolean captureFrame(String, android.view.Surface, android.media.tv.TvStreamConfig);
7857    method @NonNull @RequiresPermission(android.Manifest.permission.TIS_EXTENSION_INTERFACE) public java.util.List<java.lang.String> getAvailableExtensionInterfaceNames(@NonNull String);
7858    method @RequiresPermission(android.Manifest.permission.CAPTURE_TV_INPUT) public java.util.List<android.media.tv.TvStreamConfig> getAvailableTvStreamConfigList(String);
7859    method @RequiresPermission("android.permission.TUNER_RESOURCE_ACCESS") public int getClientPid(@NonNull String);
7860    method @RequiresPermission("android.permission.TUNER_RESOURCE_ACCESS") public int getClientPriority(int, @NonNull String);
7861    method @RequiresPermission("android.permission.TUNER_RESOURCE_ACCESS") public int getClientPriority(int);
7862    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_TUNED_INFO) public java.util.List<android.media.tv.TunedInfo> getCurrentTunedInfos();
7863    method @NonNull @RequiresPermission("android.permission.DVB_DEVICE") public java.util.List<android.media.tv.DvbDeviceInfo> getDvbDeviceList();
7864    method @Nullable @RequiresPermission(android.Manifest.permission.TIS_EXTENSION_INTERFACE) public android.os.IBinder getExtensionInterface(@NonNull String, @NonNull String);
7865    method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public java.util.List<android.media.tv.TvInputHardwareInfo> getHardwareList();
7866    method @RequiresPermission(android.Manifest.permission.READ_CONTENT_RATING_SYSTEMS) public java.util.List<android.media.tv.TvContentRatingSystemInfo> getTvContentRatingSystemList();
7867    method @RequiresPermission(android.Manifest.permission.CAPTURE_TV_INPUT) public boolean isSingleSessionActive();
7868    method @RequiresPermission(android.Manifest.permission.NOTIFY_TV_INPUTS) public void notifyPreviewProgramAddedToWatchNext(String, long, long);
7869    method @RequiresPermission(android.Manifest.permission.NOTIFY_TV_INPUTS) public void notifyPreviewProgramBrowsableDisabled(String, long);
7870    method @RequiresPermission(android.Manifest.permission.NOTIFY_TV_INPUTS) public void notifyWatchNextProgramBrowsableDisabled(String, long);
7871    method @Nullable @RequiresPermission("android.permission.DVB_DEVICE") public android.os.ParcelFileDescriptor openDvbDevice(@NonNull android.media.tv.DvbDeviceInfo, int);
7872    method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public void releaseTvInputHardware(int, android.media.tv.TvInputManager.Hardware);
7873    method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void removeBlockedRating(@NonNull android.media.tv.TvContentRating);
7874    method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void setParentalControlsEnabled(boolean);
7875  }
7876
7877  public static final class TvInputManager.Hardware {
7878    method public void overrideAudioSink(int, String, int, int, int);
7879    method public void overrideAudioSink(@NonNull android.media.AudioDeviceInfo, @IntRange(from=0) int, int, int);
7880    method public void setStreamVolume(float);
7881    method public boolean setSurface(android.view.Surface, android.media.tv.TvStreamConfig);
7882  }
7883
7884  public abstract static class TvInputManager.HardwareCallback {
7885    ctor public TvInputManager.HardwareCallback();
7886    method public abstract void onReleased();
7887    method public abstract void onStreamConfigChanged(android.media.tv.TvStreamConfig[]);
7888  }
7889
7890  public abstract static class TvInputManager.TvInputCallback {
7891    method @RequiresPermission(android.Manifest.permission.ACCESS_TUNED_INFO) public void onCurrentTunedInfosUpdated(@NonNull java.util.List<android.media.tv.TunedInfo>);
7892  }
7893
7894  public abstract class TvInputService extends android.app.Service {
7895    method @Nullable public android.os.IBinder createExtension();
7896    method @NonNull public java.util.List<java.lang.String> getAvailableExtensionInterfaceNames();
7897    method @Nullable public android.os.IBinder getExtensionInterface(@NonNull String);
7898    method @Nullable public String getExtensionInterfacePermission(@NonNull String);
7899    method @Nullable public android.media.tv.TvInputInfo onHardwareAdded(android.media.tv.TvInputHardwareInfo);
7900    method @Nullable public String onHardwareRemoved(android.media.tv.TvInputHardwareInfo);
7901    method @Nullable public android.media.tv.TvInputInfo onHdmiDeviceAdded(android.hardware.hdmi.HdmiDeviceInfo);
7902    method @Nullable public String onHdmiDeviceRemoved(android.hardware.hdmi.HdmiDeviceInfo);
7903    method public void onHdmiDeviceUpdated(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
7904  }
7905
7906  public abstract static class TvInputService.RecordingSession {
7907    method public void notifySessionEvent(@NonNull String, android.os.Bundle);
7908  }
7909
7910  public abstract static class TvInputService.Session implements android.view.KeyEvent.Callback {
7911    method public void notifySessionEvent(@NonNull String, android.os.Bundle);
7912    method public void onSetMain(boolean);
7913  }
7914
7915  public abstract static class TvRecordingClient.RecordingCallback {
7916    method public void onEvent(String, String, android.os.Bundle);
7917  }
7918
7919  public class TvStreamConfig implements android.os.Parcelable {
7920    method public int describeContents();
7921    method public int getGeneration();
7922    method public int getMaxHeight();
7923    method public int getMaxWidth();
7924    method public int getStreamId();
7925    method public int getType();
7926    method public void writeToParcel(android.os.Parcel, int);
7927    field @NonNull public static final android.os.Parcelable.Creator<android.media.tv.TvStreamConfig> CREATOR;
7928    field public static final int STREAM_TYPE_BUFFER_PRODUCER = 2; // 0x2
7929    field public static final int STREAM_TYPE_INDEPENDENT_VIDEO_SOURCE = 1; // 0x1
7930  }
7931
7932  public static final class TvStreamConfig.Builder {
7933    ctor public TvStreamConfig.Builder();
7934    method public android.media.tv.TvStreamConfig build();
7935    method public android.media.tv.TvStreamConfig.Builder generation(int);
7936    method public android.media.tv.TvStreamConfig.Builder maxHeight(int);
7937    method public android.media.tv.TvStreamConfig.Builder maxWidth(int);
7938    method public android.media.tv.TvStreamConfig.Builder streamId(int);
7939    method public android.media.tv.TvStreamConfig.Builder type(int);
7940  }
7941
7942  public class TvView extends android.view.ViewGroup {
7943    method @RequiresPermission("android.permission.CHANGE_HDMI_CEC_ACTIVE_SOURCE") public void setMain();
7944    method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void unblockContent(android.media.tv.TvContentRating);
7945  }
7946
7947  public abstract static class TvView.TvInputCallback {
7948    method public void onEvent(String, String, android.os.Bundle);
7949  }
7950
7951}
7952
7953package android.media.tv.tuner {
7954
7955  public class DemuxCapabilities {
7956    method public int getAudioFilterCount();
7957    method public int getDemuxCount();
7958    method public int getFilterCapabilities();
7959    method @NonNull public int[] getFilterTypeCapabilityList();
7960    method @NonNull @Size(5) public int[] getLinkCapabilities();
7961    method public int getPcrFilterCount();
7962    method public int getPesFilterCount();
7963    method public int getPlaybackCount();
7964    method public int getRecordCount();
7965    method public int getSectionFilterCount();
7966    method public long getSectionFilterLength();
7967    method public int getTsFilterCount();
7968    method public int getVideoFilterCount();
7969    method public boolean isTimeFilterSupported();
7970  }
7971
7972  public class DemuxInfo {
7973    ctor public DemuxInfo(int);
7974    method public int getFilterTypes();
7975    method public void setFilterTypes(int);
7976  }
7977
7978  public class Descrambler implements java.lang.AutoCloseable {
7979    method public int addPid(int, int, @Nullable android.media.tv.tuner.filter.Filter);
7980    method public void close();
7981    method public static boolean isValidKeyToken(@NonNull byte[]);
7982    method public int removePid(int, int, @Nullable android.media.tv.tuner.filter.Filter);
7983    method public int setKeyToken(@NonNull byte[]);
7984    field public static final int PID_TYPE_MMTP = 2; // 0x2
7985    field public static final int PID_TYPE_T = 1; // 0x1
7986  }
7987
7988  public class Lnb implements java.lang.AutoCloseable {
7989    method public void addCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.LnbCallback);
7990    method public void close();
7991    method public boolean removeCallback(@NonNull android.media.tv.tuner.LnbCallback);
7992    method public int sendDiseqcMessage(@NonNull byte[]);
7993    method public int setSatellitePosition(int);
7994    method public int setTone(int);
7995    method public int setVoltage(int);
7996    field public static final int EVENT_TYPE_DISEQC_RX_OVERFLOW = 0; // 0x0
7997    field public static final int EVENT_TYPE_DISEQC_RX_PARITY_ERROR = 2; // 0x2
7998    field public static final int EVENT_TYPE_DISEQC_RX_TIMEOUT = 1; // 0x1
7999    field public static final int EVENT_TYPE_LNB_OVERLOAD = 3; // 0x3
8000    field public static final int POSITION_A = 1; // 0x1
8001    field public static final int POSITION_B = 2; // 0x2
8002    field public static final int POSITION_UNDEFINED = 0; // 0x0
8003    field public static final int TONE_CONTINUOUS = 1; // 0x1
8004    field public static final int TONE_NONE = 0; // 0x0
8005    field public static final int VOLTAGE_11V = 2; // 0x2
8006    field public static final int VOLTAGE_12V = 3; // 0x3
8007    field public static final int VOLTAGE_13V = 4; // 0x4
8008    field public static final int VOLTAGE_14V = 5; // 0x5
8009    field public static final int VOLTAGE_15V = 6; // 0x6
8010    field public static final int VOLTAGE_18V = 7; // 0x7
8011    field public static final int VOLTAGE_19V = 8; // 0x8
8012    field public static final int VOLTAGE_5V = 1; // 0x1
8013    field public static final int VOLTAGE_NONE = 0; // 0x0
8014  }
8015
8016  public interface LnbCallback {
8017    method public void onDiseqcMessage(@NonNull byte[]);
8018    method public void onEvent(int);
8019  }
8020
8021  public class Tuner implements java.lang.AutoCloseable {
8022    ctor @RequiresPermission(android.Manifest.permission.ACCESS_TV_TUNER) public Tuner(@NonNull android.content.Context, @Nullable String, int);
8023    method public int applyFrontend(@NonNull android.media.tv.tuner.frontend.FrontendInfo);
8024    method public int cancelScanning();
8025    method public int cancelTuning();
8026    method public void clearOnTuneEventListener();
8027    method public void clearResourceLostListener();
8028    method public void close();
8029    method public void closeFrontend();
8030    method public int configureDemux(@Nullable android.media.tv.tuner.DemuxInfo);
8031    method public int connectCiCam(int);
8032    method public int connectFrontendToCiCam(int);
8033    method public int disconnectCiCam();
8034    method public int disconnectFrontendToCiCam(int);
8035    method public int getAvSyncHwId(@NonNull android.media.tv.tuner.filter.Filter);
8036    method public long getAvSyncTime(int);
8037    method @Nullable public java.util.List<android.media.tv.tuner.frontend.FrontendInfo> getAvailableFrontendInfos();
8038    method @Nullable public android.media.tv.tuner.DemuxInfo getCurrentDemuxInfo();
8039    method @Nullable public String getCurrentFrontendHardwareInfo();
8040    method @Nullable public android.media.tv.tuner.DemuxCapabilities getDemuxCapabilities();
8041    method @Nullable public android.media.tv.tuner.frontend.FrontendInfo getFrontendInfo();
8042    method @Nullable public android.media.tv.tuner.frontend.FrontendStatus getFrontendStatus(@NonNull int[]);
8043    method @NonNull public java.util.List<android.media.tv.tuner.frontend.FrontendStatusReadiness> getFrontendStatusReadiness(@NonNull int[]);
8044    method @IntRange(from=0xffffffff) public int getMaxNumberOfFrontends(int);
8045    method @RequiresPermission("android.permission.TUNER_RESOURCE_ACCESS") public boolean hasUnusedFrontend(int);
8046    method public boolean isLnaSupported();
8047    method public boolean isLowestPriority(int);
8048    method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_TV_DESCRAMBLER) public android.media.tv.tuner.Descrambler openDescrambler();
8049    method @Nullable public android.media.tv.tuner.dvr.DvrPlayback openDvrPlayback(long, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.dvr.OnPlaybackStatusChangedListener);
8050    method @Nullable public android.media.tv.tuner.dvr.DvrRecorder openDvrRecorder(long, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.dvr.OnRecordStatusChangedListener);
8051    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);
8052    method @Nullable public android.media.tv.tuner.Lnb openLnb(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.LnbCallback);
8053    method @Nullable public android.media.tv.tuner.Lnb openLnbByName(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.LnbCallback);
8054    method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_TV_SHARED_FILTER) public static android.media.tv.tuner.filter.SharedFilter openSharedFilter(@NonNull android.content.Context, @NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.filter.SharedFilterCallback);
8055    method @Nullable public android.media.tv.tuner.filter.TimeFilter openTimeFilter();
8056    method public int removeOutputPid(@IntRange(from=0) int);
8057    method public int scan(@NonNull android.media.tv.tuner.frontend.FrontendSettings, int, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.frontend.ScanCallback);
8058    method public int setLnaEnabled(boolean);
8059    method public int setMaxNumberOfFrontends(int, @IntRange(from=0) int);
8060    method public void setOnTuneEventListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.frontend.OnTuneEventListener);
8061    method public void setResourceLostListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.Tuner.OnResourceLostListener);
8062    method public void shareFrontendFromTuner(@NonNull android.media.tv.tuner.Tuner);
8063    method public int transferOwner(@NonNull android.media.tv.tuner.Tuner);
8064    method public int tune(@NonNull android.media.tv.tuner.frontend.FrontendSettings);
8065    method @RequiresPermission("android.permission.TUNER_RESOURCE_ACCESS") public void updateResourcePriority(int, int);
8066    field public static final int INVALID_AV_SYNC_ID = -1; // 0xffffffff
8067    field public static final int INVALID_FILTER_ID = -1; // 0xffffffff
8068    field public static final long INVALID_FILTER_ID_LONG = -1L; // 0xffffffffffffffffL
8069    field public static final int INVALID_FIRST_MACROBLOCK_IN_SLICE = -1; // 0xffffffff
8070    field public static final int INVALID_FRONTEND_ID = -1; // 0xffffffff
8071    field public static final int INVALID_FRONTEND_SETTING_FREQUENCY = -1; // 0xffffffff
8072    field public static final int INVALID_LTS_ID = -1; // 0xffffffff
8073    field public static final int INVALID_MMTP_RECORD_EVENT_MPT_SEQUENCE_NUM = -1; // 0xffffffff
8074    field public static final int INVALID_STREAM_ID = 65535; // 0xffff
8075    field public static final long INVALID_TIMESTAMP = -1L; // 0xffffffffffffffffL
8076    field public static final int INVALID_TS_PID = 65535; // 0xffff
8077    field public static final int RESULT_INVALID_ARGUMENT = 4; // 0x4
8078    field public static final int RESULT_INVALID_STATE = 3; // 0x3
8079    field public static final int RESULT_NOT_INITIALIZED = 2; // 0x2
8080    field public static final int RESULT_OUT_OF_MEMORY = 5; // 0x5
8081    field public static final int RESULT_SUCCESS = 0; // 0x0
8082    field public static final int RESULT_UNAVAILABLE = 1; // 0x1
8083    field public static final int RESULT_UNKNOWN_ERROR = 6; // 0x6
8084    field public static final int SCAN_TYPE_AUTO = 1; // 0x1
8085    field public static final int SCAN_TYPE_BLIND = 2; // 0x2
8086    field public static final int SCAN_TYPE_UNDEFINED = 0; // 0x0
8087    field @NonNull public static final byte[] VOID_KEYTOKEN;
8088  }
8089
8090  public static interface Tuner.OnResourceLostListener {
8091    method public void onResourceLost(@NonNull android.media.tv.tuner.Tuner);
8092  }
8093
8094  public final class TunerVersionChecker {
8095    method public static int getTunerVersion();
8096    field public static final int TUNER_VERSION_1_0 = 65536; // 0x10000
8097    field public static final int TUNER_VERSION_1_1 = 65537; // 0x10001
8098    field public static final int TUNER_VERSION_2_0 = 131072; // 0x20000
8099    field public static final int TUNER_VERSION_3_0 = 196608; // 0x30000
8100    field public static final int TUNER_VERSION_UNKNOWN = 0; // 0x0
8101  }
8102
8103}
8104
8105package android.media.tv.tuner.dvr {
8106
8107  public class DvrPlayback implements java.lang.AutoCloseable {
8108    method @Deprecated public int attachFilter(@NonNull android.media.tv.tuner.filter.Filter);
8109    method public void close();
8110    method public int configure(@NonNull android.media.tv.tuner.dvr.DvrSettings);
8111    method @Deprecated public int detachFilter(@NonNull android.media.tv.tuner.filter.Filter);
8112    method public int flush();
8113    method public long read(long);
8114    method public long read(@NonNull byte[], long, long);
8115    method public long seek(long);
8116    method public void setFileDescriptor(@NonNull android.os.ParcelFileDescriptor);
8117    method public int setPlaybackBufferStatusCheckIntervalHint(long);
8118    method public int start();
8119    method public int stop();
8120    field public static final int PLAYBACK_STATUS_ALMOST_EMPTY = 2; // 0x2
8121    field public static final int PLAYBACK_STATUS_ALMOST_FULL = 4; // 0x4
8122    field public static final int PLAYBACK_STATUS_EMPTY = 1; // 0x1
8123    field public static final int PLAYBACK_STATUS_FULL = 8; // 0x8
8124  }
8125
8126  public class DvrRecorder implements java.lang.AutoCloseable {
8127    method public int attachFilter(@NonNull android.media.tv.tuner.filter.Filter);
8128    method public void close();
8129    method public int configure(@NonNull android.media.tv.tuner.dvr.DvrSettings);
8130    method public int detachFilter(@NonNull android.media.tv.tuner.filter.Filter);
8131    method public int flush();
8132    method public void setFileDescriptor(@NonNull android.os.ParcelFileDescriptor);
8133    method public int setRecordBufferStatusCheckIntervalHint(long);
8134    method public int start();
8135    method public int stop();
8136    method public long write(long);
8137    method public long write(@NonNull byte[], long, long);
8138  }
8139
8140  public class DvrSettings {
8141    method @NonNull public static android.media.tv.tuner.dvr.DvrSettings.Builder builder();
8142    method public int getDataFormat();
8143    method public long getHighThreshold();
8144    method public long getLowThreshold();
8145    method public long getPacketSize();
8146    method public int getStatusMask();
8147    field public static final int DATA_FORMAT_ES = 2; // 0x2
8148    field public static final int DATA_FORMAT_PES = 1; // 0x1
8149    field public static final int DATA_FORMAT_SHV_TLV = 3; // 0x3
8150    field public static final int DATA_FORMAT_TS = 0; // 0x0
8151  }
8152
8153  public static final class DvrSettings.Builder {
8154    ctor public DvrSettings.Builder();
8155    method @NonNull public android.media.tv.tuner.dvr.DvrSettings build();
8156    method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setDataFormat(int);
8157    method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setHighThreshold(long);
8158    method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setLowThreshold(long);
8159    method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setPacketSize(long);
8160    method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setStatusMask(int);
8161  }
8162
8163  public interface OnPlaybackStatusChangedListener {
8164    method public void onPlaybackStatusChanged(int);
8165  }
8166
8167  public interface OnRecordStatusChangedListener {
8168    method public void onRecordStatusChanged(int);
8169  }
8170
8171}
8172
8173package android.media.tv.tuner.filter {
8174
8175  public final class AlpFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration {
8176    method @NonNull public static android.media.tv.tuner.filter.AlpFilterConfiguration.Builder builder();
8177    method public int getLengthType();
8178    method public int getPacketType();
8179    method public int getType();
8180    field public static final int LENGTH_TYPE_UNDEFINED = 0; // 0x0
8181    field public static final int LENGTH_TYPE_WITHOUT_ADDITIONAL_HEADER = 1; // 0x1
8182    field public static final int LENGTH_TYPE_WITH_ADDITIONAL_HEADER = 2; // 0x2
8183    field public static final int PACKET_TYPE_COMPRESSED = 2; // 0x2
8184    field public static final int PACKET_TYPE_EXTENSION = 6; // 0x6
8185    field public static final int PACKET_TYPE_IPV4 = 0; // 0x0
8186    field public static final int PACKET_TYPE_MPEG2_TS = 7; // 0x7
8187    field public static final int PACKET_TYPE_SIGNALING = 4; // 0x4
8188  }
8189
8190  public static final class AlpFilterConfiguration.Builder {
8191    method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration build();
8192    method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration.Builder setLengthType(int);
8193    method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration.Builder setPacketType(int);
8194    method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings);
8195  }
8196
8197  public class AudioDescriptor {
8198    method public byte getAdFade();
8199    method public byte getAdGainCenter();
8200    method public byte getAdGainFront();
8201    method public byte getAdGainSurround();
8202    method public byte getAdPan();
8203    method public char getAdVersionTextTag();
8204  }
8205
8206  public class AvSettings extends android.media.tv.tuner.filter.Settings {
8207    method @NonNull public static android.media.tv.tuner.filter.AvSettings.Builder builder(int, boolean);
8208    method public int getAudioStreamType();
8209    method public int getVideoStreamType();
8210    method public boolean isPassthrough();
8211    method public boolean useSecureMemory();
8212    field public static final int AUDIO_STREAM_TYPE_AAC = 6; // 0x6
8213    field public static final int AUDIO_STREAM_TYPE_AAC_ADTS = 16; // 0x10
8214    field public static final int AUDIO_STREAM_TYPE_AAC_HE_ADTS = 18; // 0x12
8215    field public static final int AUDIO_STREAM_TYPE_AAC_HE_LATM = 19; // 0x13
8216    field public static final int AUDIO_STREAM_TYPE_AAC_LATM = 17; // 0x11
8217    field public static final int AUDIO_STREAM_TYPE_AC3 = 7; // 0x7
8218    field public static final int AUDIO_STREAM_TYPE_AC4 = 9; // 0x9
8219    field public static final int AUDIO_STREAM_TYPE_DRA = 15; // 0xf
8220    field public static final int AUDIO_STREAM_TYPE_DTS = 10; // 0xa
8221    field public static final int AUDIO_STREAM_TYPE_DTS_HD = 11; // 0xb
8222    field public static final int AUDIO_STREAM_TYPE_EAC3 = 8; // 0x8
8223    field public static final int AUDIO_STREAM_TYPE_MP3 = 2; // 0x2
8224    field public static final int AUDIO_STREAM_TYPE_MPEG1 = 3; // 0x3
8225    field public static final int AUDIO_STREAM_TYPE_MPEG2 = 4; // 0x4
8226    field public static final int AUDIO_STREAM_TYPE_MPEGH = 5; // 0x5
8227    field public static final int AUDIO_STREAM_TYPE_OPUS = 13; // 0xd
8228    field public static final int AUDIO_STREAM_TYPE_PCM = 1; // 0x1
8229    field public static final int AUDIO_STREAM_TYPE_UNDEFINED = 0; // 0x0
8230    field public static final int AUDIO_STREAM_TYPE_VORBIS = 14; // 0xe
8231    field public static final int AUDIO_STREAM_TYPE_WMA = 12; // 0xc
8232    field public static final int VIDEO_STREAM_TYPE_AV1 = 10; // 0xa
8233    field public static final int VIDEO_STREAM_TYPE_AVC = 5; // 0x5
8234    field public static final int VIDEO_STREAM_TYPE_AVS = 11; // 0xb
8235    field public static final int VIDEO_STREAM_TYPE_AVS2 = 12; // 0xc
8236    field public static final int VIDEO_STREAM_TYPE_HEVC = 6; // 0x6
8237    field public static final int VIDEO_STREAM_TYPE_MPEG1 = 2; // 0x2
8238    field public static final int VIDEO_STREAM_TYPE_MPEG2 = 3; // 0x3
8239    field public static final int VIDEO_STREAM_TYPE_MPEG4P2 = 4; // 0x4
8240    field public static final int VIDEO_STREAM_TYPE_RESERVED = 1; // 0x1
8241    field public static final int VIDEO_STREAM_TYPE_UNDEFINED = 0; // 0x0
8242    field public static final int VIDEO_STREAM_TYPE_VC1 = 7; // 0x7
8243    field public static final int VIDEO_STREAM_TYPE_VP8 = 8; // 0x8
8244    field public static final int VIDEO_STREAM_TYPE_VP9 = 9; // 0x9
8245    field public static final int VIDEO_STREAM_TYPE_VVC = 13; // 0xd
8246  }
8247
8248  public static class AvSettings.Builder {
8249    method @NonNull public android.media.tv.tuner.filter.AvSettings build();
8250    method @NonNull public android.media.tv.tuner.filter.AvSettings.Builder setAudioStreamType(int);
8251    method @NonNull public android.media.tv.tuner.filter.AvSettings.Builder setPassthrough(boolean);
8252    method @NonNull public android.media.tv.tuner.filter.AvSettings.Builder setUseSecureMemory(boolean);
8253    method @NonNull public android.media.tv.tuner.filter.AvSettings.Builder setVideoStreamType(int);
8254  }
8255
8256  public class DownloadEvent extends android.media.tv.tuner.filter.FilterEvent {
8257    method public int getDataLength();
8258    method public int getDownloadId();
8259    method public int getItemFragmentIndex();
8260    method public int getItemId();
8261    method public int getLastItemFragmentIndex();
8262    method @IntRange(from=0) public int getMpuSequenceNumber();
8263  }
8264
8265  public class DownloadSettings extends android.media.tv.tuner.filter.Settings {
8266    method @NonNull public static android.media.tv.tuner.filter.DownloadSettings.Builder builder(int);
8267    method public int getDownloadId();
8268    method public boolean useDownloadId();
8269  }
8270
8271  public static class DownloadSettings.Builder {
8272    method @NonNull public android.media.tv.tuner.filter.DownloadSettings build();
8273    method @NonNull public android.media.tv.tuner.filter.DownloadSettings.Builder setDownloadId(int);
8274    method @NonNull public android.media.tv.tuner.filter.DownloadSettings.Builder setUseDownloadId(boolean);
8275  }
8276
8277  public class Filter implements java.lang.AutoCloseable {
8278    method @Nullable public String acquireSharedFilterToken();
8279    method public void close();
8280    method public int configure(@NonNull android.media.tv.tuner.filter.FilterConfiguration);
8281    method public int delayCallbackForDurationMillis(long);
8282    method public int delayCallbackUntilBytesAccumulated(int);
8283    method public int flush();
8284    method public void freeSharedFilterToken(@NonNull String);
8285    method @Deprecated public int getId();
8286    method public long getIdLong();
8287    method public int read(@NonNull byte[], long, long);
8288    method public int setDataSource(@Nullable android.media.tv.tuner.filter.Filter);
8289    method public int setMonitorEventMask(int);
8290    method public int start();
8291    method public int stop();
8292    field public static final int MONITOR_EVENT_IP_CID_CHANGE = 2; // 0x2
8293    field public static final int MONITOR_EVENT_SCRAMBLING_STATUS = 1; // 0x1
8294    field public static final int SCRAMBLING_STATUS_NOT_SCRAMBLED = 2; // 0x2
8295    field public static final int SCRAMBLING_STATUS_SCRAMBLED = 4; // 0x4
8296    field public static final int SCRAMBLING_STATUS_UNKNOWN = 1; // 0x1
8297    field public static final int STATUS_DATA_READY = 1; // 0x1
8298    field public static final int STATUS_HIGH_WATER = 4; // 0x4
8299    field public static final int STATUS_LOW_WATER = 2; // 0x2
8300    field public static final int STATUS_NO_DATA = 16; // 0x10
8301    field public static final int STATUS_OVERFLOW = 8; // 0x8
8302    field public static final int SUBTYPE_AUDIO = 3; // 0x3
8303    field public static final int SUBTYPE_DOWNLOAD = 5; // 0x5
8304    field public static final int SUBTYPE_IP = 13; // 0xd
8305    field public static final int SUBTYPE_IP_PAYLOAD = 12; // 0xc
8306    field public static final int SUBTYPE_MMTP = 10; // 0xa
8307    field public static final int SUBTYPE_NTP = 11; // 0xb
8308    field public static final int SUBTYPE_PAYLOAD_THROUGH = 14; // 0xe
8309    field public static final int SUBTYPE_PCR = 8; // 0x8
8310    field public static final int SUBTYPE_PES = 2; // 0x2
8311    field public static final int SUBTYPE_PTP = 16; // 0x10
8312    field public static final int SUBTYPE_RECORD = 6; // 0x6
8313    field public static final int SUBTYPE_SECTION = 1; // 0x1
8314    field public static final int SUBTYPE_TEMI = 9; // 0x9
8315    field public static final int SUBTYPE_TLV = 15; // 0xf
8316    field public static final int SUBTYPE_TS = 7; // 0x7
8317    field public static final int SUBTYPE_UNDEFINED = 0; // 0x0
8318    field public static final int SUBTYPE_VIDEO = 4; // 0x4
8319    field public static final int TYPE_ALP = 16; // 0x10
8320    field public static final int TYPE_IP = 4; // 0x4
8321    field public static final int TYPE_MMTP = 2; // 0x2
8322    field public static final int TYPE_TLV = 8; // 0x8
8323    field public static final int TYPE_TS = 1; // 0x1
8324    field public static final int TYPE_UNDEFINED = 0; // 0x0
8325  }
8326
8327  public interface FilterCallback {
8328    method public void onFilterEvent(@NonNull android.media.tv.tuner.filter.Filter, @NonNull android.media.tv.tuner.filter.FilterEvent[]);
8329    method public void onFilterStatusChanged(@NonNull android.media.tv.tuner.filter.Filter, int);
8330  }
8331
8332  public abstract class FilterConfiguration {
8333    method @Nullable public android.media.tv.tuner.filter.Settings getSettings();
8334    method public abstract int getType();
8335  }
8336
8337  public abstract class FilterEvent {
8338    ctor public FilterEvent();
8339  }
8340
8341  public final class IpCidChangeEvent extends android.media.tv.tuner.filter.FilterEvent {
8342    method public int getIpCid();
8343  }
8344
8345  public final class IpFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration {
8346    method @NonNull public static android.media.tv.tuner.filter.IpFilterConfiguration.Builder builder();
8347    method @NonNull @Size(min=4, max=16) public byte[] getDstIpAddress();
8348    method public int getDstPort();
8349    method @IntRange(from=0, to=61439) public int getIpFilterContextId();
8350    method @NonNull @Size(min=4, max=16) public byte[] getSrcIpAddress();
8351    method public int getSrcPort();
8352    method public int getType();
8353    method public boolean isPassthrough();
8354    field public static final int INVALID_IP_FILTER_CONTEXT_ID = -1; // 0xffffffff
8355  }
8356
8357  public static final class IpFilterConfiguration.Builder {
8358    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration build();
8359    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setDstIpAddress(@NonNull byte[]);
8360    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setDstPort(int);
8361    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setIpFilterContextId(int);
8362    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setPassthrough(boolean);
8363    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings);
8364    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setSrcIpAddress(@NonNull byte[]);
8365    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setSrcPort(int);
8366  }
8367
8368  public class IpPayloadEvent extends android.media.tv.tuner.filter.FilterEvent {
8369    method public int getDataLength();
8370  }
8371
8372  public class MediaEvent extends android.media.tv.tuner.filter.FilterEvent {
8373    method protected void finalize();
8374    method public long getAudioHandle();
8375    method @NonNull public java.util.List<android.media.AudioPresentation> getAudioPresentations();
8376    method public long getAvDataId();
8377    method public long getDataLength();
8378    method public long getDts();
8379    method @Nullable public android.media.tv.tuner.filter.AudioDescriptor getExtraMetaData();
8380    method @Nullable public android.media.MediaCodec.LinearBlock getLinearBlock();
8381    method @IntRange(from=0) public int getMpuSequenceNumber();
8382    method public long getOffset();
8383    method public long getPts();
8384    method public int getScIndexMask();
8385    method public int getStreamId();
8386    method public boolean isDtsPresent();
8387    method public boolean isPrivateData();
8388    method public boolean isPtsPresent();
8389    method public boolean isSecureMemory();
8390    method public void release();
8391  }
8392
8393  public final class MmtpFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration {
8394    method @NonNull public static android.media.tv.tuner.filter.MmtpFilterConfiguration.Builder builder();
8395    method public int getMmtpPacketId();
8396    method public int getType();
8397  }
8398
8399  public static final class MmtpFilterConfiguration.Builder {
8400    method @NonNull public android.media.tv.tuner.filter.MmtpFilterConfiguration build();
8401    method @NonNull public android.media.tv.tuner.filter.MmtpFilterConfiguration.Builder setMmtpPacketId(int);
8402    method @NonNull public android.media.tv.tuner.filter.MmtpFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings);
8403  }
8404
8405  public class MmtpRecordEvent extends android.media.tv.tuner.filter.FilterEvent {
8406    method public long getDataLength();
8407    method public int getFirstMacroblockInSlice();
8408    method @IntRange(from=0) public int getMpuSequenceNumber();
8409    method public long getPts();
8410    method public int getScHevcIndexMask();
8411    method public int getTsIndexMask();
8412  }
8413
8414  public class PesEvent extends android.media.tv.tuner.filter.FilterEvent {
8415    method public int getDataLength();
8416    method @IntRange(from=0) public int getMpuSequenceNumber();
8417    method public int getStreamId();
8418  }
8419
8420  public class PesSettings extends android.media.tv.tuner.filter.Settings {
8421    method @NonNull public static android.media.tv.tuner.filter.PesSettings.Builder builder(int);
8422    method public int getStreamId();
8423    method public boolean isRaw();
8424  }
8425
8426  public static class PesSettings.Builder {
8427    method @NonNull public android.media.tv.tuner.filter.PesSettings build();
8428    method @NonNull public android.media.tv.tuner.filter.PesSettings.Builder setRaw(boolean);
8429    method @NonNull public android.media.tv.tuner.filter.PesSettings.Builder setStreamId(int);
8430  }
8431
8432  public class RecordSettings extends android.media.tv.tuner.filter.Settings {
8433    method @NonNull public static android.media.tv.tuner.filter.RecordSettings.Builder builder(int);
8434    method public int getScIndexMask();
8435    method public int getScIndexType();
8436    method public int getTsIndexMask();
8437    field public static final int INDEX_TYPE_NONE = 0; // 0x0
8438    field public static final int INDEX_TYPE_SC = 1; // 0x1
8439    field public static final int INDEX_TYPE_SC_AVC = 3; // 0x3
8440    field public static final int INDEX_TYPE_SC_HEVC = 2; // 0x2
8441    field public static final int INDEX_TYPE_SC_VVC = 4; // 0x4
8442    field public static final int MPT_INDEX_AUDIO = 262144; // 0x40000
8443    field public static final int MPT_INDEX_MPT = 65536; // 0x10000
8444    field public static final int MPT_INDEX_TIMESTAMP_TARGET_AUDIO = 1048576; // 0x100000
8445    field public static final int MPT_INDEX_TIMESTAMP_TARGET_VIDEO = 524288; // 0x80000
8446    field public static final int MPT_INDEX_VIDEO = 131072; // 0x20000
8447    field public static final int SC_HEVC_INDEX_AUD = 2; // 0x2
8448    field public static final int SC_HEVC_INDEX_SLICE_BLA_N_LP = 16; // 0x10
8449    field public static final int SC_HEVC_INDEX_SLICE_BLA_W_RADL = 8; // 0x8
8450    field public static final int SC_HEVC_INDEX_SLICE_CE_BLA_W_LP = 4; // 0x4
8451    field public static final int SC_HEVC_INDEX_SLICE_IDR_N_LP = 64; // 0x40
8452    field public static final int SC_HEVC_INDEX_SLICE_IDR_W_RADL = 32; // 0x20
8453    field public static final int SC_HEVC_INDEX_SLICE_TRAIL_CRA = 128; // 0x80
8454    field public static final int SC_HEVC_INDEX_SPS = 1; // 0x1
8455    field public static final int SC_INDEX_B_FRAME = 4; // 0x4
8456    field public static final int SC_INDEX_B_SLICE = 64; // 0x40
8457    field public static final int SC_INDEX_I_FRAME = 1; // 0x1
8458    field public static final int SC_INDEX_I_SLICE = 16; // 0x10
8459    field public static final int SC_INDEX_P_FRAME = 2; // 0x2
8460    field public static final int SC_INDEX_P_SLICE = 32; // 0x20
8461    field public static final int SC_INDEX_SEQUENCE = 8; // 0x8
8462    field public static final int SC_INDEX_SI_SLICE = 128; // 0x80
8463    field public static final int SC_INDEX_SP_SLICE = 256; // 0x100
8464    field public static final int SC_VVC_INDEX_AUD = 64; // 0x40
8465    field public static final int SC_VVC_INDEX_SLICE_CRA = 4; // 0x4
8466    field public static final int SC_VVC_INDEX_SLICE_GDR = 8; // 0x8
8467    field public static final int SC_VVC_INDEX_SLICE_IDR_N_LP = 2; // 0x2
8468    field public static final int SC_VVC_INDEX_SLICE_IDR_W_RADL = 1; // 0x1
8469    field public static final int SC_VVC_INDEX_SPS = 32; // 0x20
8470    field public static final int SC_VVC_INDEX_VPS = 16; // 0x10
8471    field public static final int TS_INDEX_ADAPTATION_EXTENSION_FLAG = 4096; // 0x1000
8472    field public static final int TS_INDEX_CHANGE_TO_EVEN_SCRAMBLED = 8; // 0x8
8473    field public static final int TS_INDEX_CHANGE_TO_NOT_SCRAMBLED = 4; // 0x4
8474    field public static final int TS_INDEX_CHANGE_TO_ODD_SCRAMBLED = 16; // 0x10
8475    field public static final int TS_INDEX_DISCONTINUITY_INDICATOR = 32; // 0x20
8476    field public static final int TS_INDEX_FIRST_PACKET = 1; // 0x1
8477    field public static final int TS_INDEX_INVALID = 0; // 0x0
8478    field public static final int TS_INDEX_OPCR_FLAG = 512; // 0x200
8479    field public static final int TS_INDEX_PAYLOAD_UNIT_START_INDICATOR = 2; // 0x2
8480    field public static final int TS_INDEX_PCR_FLAG = 256; // 0x100
8481    field public static final int TS_INDEX_PRIORITY_INDICATOR = 128; // 0x80
8482    field public static final int TS_INDEX_PRIVATE_DATA = 2048; // 0x800
8483    field public static final int TS_INDEX_RANDOM_ACCESS_INDICATOR = 64; // 0x40
8484    field public static final int TS_INDEX_SPLICING_POINT_FLAG = 1024; // 0x400
8485  }
8486
8487  public static class RecordSettings.Builder {
8488    method @NonNull public android.media.tv.tuner.filter.RecordSettings build();
8489    method @NonNull public android.media.tv.tuner.filter.RecordSettings.Builder setScIndexMask(int);
8490    method @NonNull public android.media.tv.tuner.filter.RecordSettings.Builder setScIndexType(int);
8491    method @NonNull public android.media.tv.tuner.filter.RecordSettings.Builder setTsIndexMask(int);
8492  }
8493
8494  public final class RestartEvent extends android.media.tv.tuner.filter.FilterEvent {
8495    method public int getStartId();
8496    field public static final int NEW_FILTER_FIRST_START_ID = 0; // 0x0
8497  }
8498
8499  public final class ScramblingStatusEvent extends android.media.tv.tuner.filter.FilterEvent {
8500    method public int getScramblingStatus();
8501  }
8502
8503  public class SectionEvent extends android.media.tv.tuner.filter.FilterEvent {
8504    method @Deprecated public int getDataLength();
8505    method public long getDataLengthLong();
8506    method public int getSectionNumber();
8507    method public int getTableId();
8508    method public int getVersion();
8509  }
8510
8511  public abstract class SectionSettings extends android.media.tv.tuner.filter.Settings {
8512    method public int getLengthFieldBitWidth();
8513    method public boolean isCrcEnabled();
8514    method public boolean isRaw();
8515    method public boolean isRepeat();
8516  }
8517
8518  public abstract static class SectionSettings.Builder<T extends android.media.tv.tuner.filter.SectionSettings.Builder<T>> {
8519    method @NonNull public T setBitWidthOfLengthField(@IntRange(from=0) int);
8520    method @NonNull public T setCrcEnabled(boolean);
8521    method @NonNull public T setRaw(boolean);
8522    method @NonNull public T setRepeat(boolean);
8523  }
8524
8525  public class SectionSettingsWithSectionBits extends android.media.tv.tuner.filter.SectionSettings {
8526    method @NonNull public static android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder builder(int);
8527    method @NonNull public byte[] getFilterBytes();
8528    method @NonNull public byte[] getMask();
8529    method @NonNull public byte[] getMode();
8530  }
8531
8532  public static class SectionSettingsWithSectionBits.Builder extends android.media.tv.tuner.filter.SectionSettings.Builder<android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder> {
8533    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits build();
8534    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder setFilter(@NonNull byte[]);
8535    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder setMask(@NonNull byte[]);
8536    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder setMode(@NonNull byte[]);
8537  }
8538
8539  public class SectionSettingsWithTableInfo extends android.media.tv.tuner.filter.SectionSettings {
8540    method @NonNull public static android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder builder(int);
8541    method public int getTableId();
8542    method public int getVersion();
8543    field public static final int INVALID_TABLE_INFO_VERSION = -1; // 0xffffffff
8544  }
8545
8546  public static class SectionSettingsWithTableInfo.Builder extends android.media.tv.tuner.filter.SectionSettings.Builder<android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder> {
8547    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithTableInfo build();
8548    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder setTableId(int);
8549    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder setVersion(int);
8550  }
8551
8552  public abstract class Settings {
8553    method public int getType();
8554  }
8555
8556  public final class SharedFilter implements java.lang.AutoCloseable {
8557    method public void close();
8558    method public int flush();
8559    method public int read(@NonNull byte[], long, long);
8560    method public int start();
8561    method public int stop();
8562    field public static final int STATUS_INACCESSIBLE = 128; // 0x80
8563  }
8564
8565  public interface SharedFilterCallback {
8566    method public void onFilterEvent(@NonNull android.media.tv.tuner.filter.SharedFilter, @NonNull android.media.tv.tuner.filter.FilterEvent[]);
8567    method public void onFilterStatusChanged(@NonNull android.media.tv.tuner.filter.SharedFilter, int);
8568  }
8569
8570  public class TemiEvent extends android.media.tv.tuner.filter.FilterEvent {
8571    method @NonNull public byte[] getDescriptorData();
8572    method public byte getDescriptorTag();
8573    method public long getPts();
8574  }
8575
8576  public class TimeFilter implements java.lang.AutoCloseable {
8577    method public int clearTimestamp();
8578    method public void close();
8579    method public long getSourceTime();
8580    method public long getTimeStamp();
8581    method public int setCurrentTimestamp(long);
8582  }
8583
8584  public final class TlvFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration {
8585    method @NonNull public static android.media.tv.tuner.filter.TlvFilterConfiguration.Builder builder();
8586    method public int getPacketType();
8587    method public int getType();
8588    method public boolean isCompressedIpPacket();
8589    method public boolean isPassthrough();
8590    field public static final int PACKET_TYPE_COMPRESSED = 3; // 0x3
8591    field public static final int PACKET_TYPE_IPV4 = 1; // 0x1
8592    field public static final int PACKET_TYPE_IPV6 = 2; // 0x2
8593    field public static final int PACKET_TYPE_NULL = 255; // 0xff
8594    field public static final int PACKET_TYPE_SIGNALING = 254; // 0xfe
8595  }
8596
8597  public static final class TlvFilterConfiguration.Builder {
8598    method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration build();
8599    method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setCompressedIpPacket(boolean);
8600    method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setPacketType(int);
8601    method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setPassthrough(boolean);
8602    method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings);
8603  }
8604
8605  public final class TsFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration {
8606    method @NonNull public static android.media.tv.tuner.filter.TsFilterConfiguration.Builder builder();
8607    method public int getTpid();
8608    method public int getType();
8609  }
8610
8611  public static final class TsFilterConfiguration.Builder {
8612    method @NonNull public android.media.tv.tuner.filter.TsFilterConfiguration build();
8613    method @NonNull public android.media.tv.tuner.filter.TsFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings);
8614    method @NonNull public android.media.tv.tuner.filter.TsFilterConfiguration.Builder setTpid(int);
8615  }
8616
8617  public class TsRecordEvent extends android.media.tv.tuner.filter.FilterEvent {
8618    method public long getDataLength();
8619    method public int getFirstMacroblockInSlice();
8620    method public int getPacketId();
8621    method public long getPts();
8622    method public int getScIndexMask();
8623    method public int getTsIndexMask();
8624  }
8625
8626}
8627
8628package android.media.tv.tuner.frontend {
8629
8630  public class AnalogFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
8631    method public int getSifStandardCapability();
8632    method public int getSignalTypeCapability();
8633  }
8634
8635  public class AnalogFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
8636    method @NonNull public static android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder builder();
8637    method public int getAftFlag();
8638    method public int getSifStandard();
8639    method public int getSignalType();
8640    method public int getType();
8641    field public static final int AFT_FLAG_FALSE = 2; // 0x2
8642    field public static final int AFT_FLAG_TRUE = 1; // 0x1
8643    field public static final int AFT_FLAG_UNDEFINED = 0; // 0x0
8644    field public static final int SIF_AUTO = 1; // 0x1
8645    field public static final int SIF_BG = 2; // 0x2
8646    field public static final int SIF_BG_A2 = 4; // 0x4
8647    field public static final int SIF_BG_NICAM = 8; // 0x8
8648    field public static final int SIF_DK = 32; // 0x20
8649    field public static final int SIF_DK1_A2 = 64; // 0x40
8650    field public static final int SIF_DK2_A2 = 128; // 0x80
8651    field public static final int SIF_DK3_A2 = 256; // 0x100
8652    field public static final int SIF_DK_NICAM = 512; // 0x200
8653    field public static final int SIF_I = 16; // 0x10
8654    field public static final int SIF_I_NICAM = 32768; // 0x8000
8655    field public static final int SIF_L = 1024; // 0x400
8656    field public static final int SIF_L_NICAM = 65536; // 0x10000
8657    field public static final int SIF_L_PRIME = 131072; // 0x20000
8658    field public static final int SIF_M = 2048; // 0x800
8659    field public static final int SIF_M_A2 = 8192; // 0x2000
8660    field public static final int SIF_M_BTSC = 4096; // 0x1000
8661    field public static final int SIF_M_EIAJ = 16384; // 0x4000
8662    field public static final int SIF_UNDEFINED = 0; // 0x0
8663    field public static final int SIGNAL_TYPE_AUTO = 1; // 0x1
8664    field public static final int SIGNAL_TYPE_NTSC = 32; // 0x20
8665    field public static final int SIGNAL_TYPE_NTSC_443 = 64; // 0x40
8666    field public static final int SIGNAL_TYPE_PAL = 2; // 0x2
8667    field public static final int SIGNAL_TYPE_PAL_60 = 16; // 0x10
8668    field public static final int SIGNAL_TYPE_PAL_M = 4; // 0x4
8669    field public static final int SIGNAL_TYPE_PAL_N = 8; // 0x8
8670    field public static final int SIGNAL_TYPE_SECAM = 128; // 0x80
8671    field public static final int SIGNAL_TYPE_UNDEFINED = 0; // 0x0
8672  }
8673
8674  public static class AnalogFrontendSettings.Builder {
8675    method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings build();
8676    method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setAftFlag(int);
8677    method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setFrequency(int);
8678    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setFrequencyLong(long);
8679    method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setSifStandard(int);
8680    method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setSignalType(int);
8681  }
8682
8683  public class Atsc3FrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
8684    method public int getBandwidthCapability();
8685    method public int getDemodOutputFormatCapability();
8686    method public int getFecCapability();
8687    method public int getModulationCapability();
8688    method public int getPlpCodeRateCapability();
8689    method public int getTimeInterleaveModeCapability();
8690  }
8691
8692  public class Atsc3FrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
8693    method @NonNull public static android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder builder();
8694    method public int getBandwidth();
8695    method public int getDemodOutputFormat();
8696    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings[] getPlpSettings();
8697    method public int getType();
8698    field public static final int BANDWIDTH_AUTO = 1; // 0x1
8699    field public static final int BANDWIDTH_BANDWIDTH_6MHZ = 2; // 0x2
8700    field public static final int BANDWIDTH_BANDWIDTH_7MHZ = 4; // 0x4
8701    field public static final int BANDWIDTH_BANDWIDTH_8MHZ = 8; // 0x8
8702    field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0
8703    field public static final int CODERATE_10_15 = 512; // 0x200
8704    field public static final int CODERATE_11_15 = 1024; // 0x400
8705    field public static final int CODERATE_12_15 = 2048; // 0x800
8706    field public static final int CODERATE_13_15 = 4096; // 0x1000
8707    field public static final int CODERATE_2_15 = 2; // 0x2
8708    field public static final int CODERATE_3_15 = 4; // 0x4
8709    field public static final int CODERATE_4_15 = 8; // 0x8
8710    field public static final int CODERATE_5_15 = 16; // 0x10
8711    field public static final int CODERATE_6_15 = 32; // 0x20
8712    field public static final int CODERATE_7_15 = 64; // 0x40
8713    field public static final int CODERATE_8_15 = 128; // 0x80
8714    field public static final int CODERATE_9_15 = 256; // 0x100
8715    field public static final int CODERATE_AUTO = 1; // 0x1
8716    field public static final int CODERATE_UNDEFINED = 0; // 0x0
8717    field public static final int DEMOD_OUTPUT_FORMAT_ATSC3_LINKLAYER_PACKET = 1; // 0x1
8718    field public static final int DEMOD_OUTPUT_FORMAT_BASEBAND_PACKET = 2; // 0x2
8719    field public static final int DEMOD_OUTPUT_FORMAT_UNDEFINED = 0; // 0x0
8720    field public static final int FEC_AUTO = 1; // 0x1
8721    field public static final int FEC_BCH_LDPC_16K = 2; // 0x2
8722    field public static final int FEC_BCH_LDPC_64K = 4; // 0x4
8723    field public static final int FEC_CRC_LDPC_16K = 8; // 0x8
8724    field public static final int FEC_CRC_LDPC_64K = 16; // 0x10
8725    field public static final int FEC_LDPC_16K = 32; // 0x20
8726    field public static final int FEC_LDPC_64K = 64; // 0x40
8727    field public static final int FEC_UNDEFINED = 0; // 0x0
8728    field public static final int MODULATION_AUTO = 1; // 0x1
8729    field public static final int MODULATION_MOD_1024QAM = 32; // 0x20
8730    field public static final int MODULATION_MOD_16QAM = 4; // 0x4
8731    field public static final int MODULATION_MOD_256QAM = 16; // 0x10
8732    field public static final int MODULATION_MOD_4096QAM = 64; // 0x40
8733    field public static final int MODULATION_MOD_64QAM = 8; // 0x8
8734    field public static final int MODULATION_MOD_QPSK = 2; // 0x2
8735    field public static final int MODULATION_UNDEFINED = 0; // 0x0
8736    field public static final int TIME_INTERLEAVE_MODE_AUTO = 1; // 0x1
8737    field public static final int TIME_INTERLEAVE_MODE_CTI = 2; // 0x2
8738    field public static final int TIME_INTERLEAVE_MODE_HTI = 4; // 0x4
8739    field public static final int TIME_INTERLEAVE_MODE_UNDEFINED = 0; // 0x0
8740  }
8741
8742  public static class Atsc3FrontendSettings.Builder {
8743    method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings build();
8744    method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setBandwidth(int);
8745    method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setDemodOutputFormat(int);
8746    method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setFrequency(int);
8747    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setFrequencyLong(long);
8748    method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setPlpSettings(@NonNull android.media.tv.tuner.frontend.Atsc3PlpSettings[]);
8749  }
8750
8751  public class Atsc3PlpInfo {
8752    method public boolean getLlsFlag();
8753    method public int getPlpId();
8754  }
8755
8756  public class Atsc3PlpSettings {
8757    method @NonNull public static android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder builder();
8758    method public int getCodeRate();
8759    method public int getFec();
8760    method public int getInterleaveMode();
8761    method public int getModulation();
8762    method public int getPlpId();
8763  }
8764
8765  public static class Atsc3PlpSettings.Builder {
8766    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings build();
8767    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setCodeRate(int);
8768    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setFec(int);
8769    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setInterleaveMode(int);
8770    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setModulation(int);
8771    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setPlpId(int);
8772  }
8773
8774  public class AtscFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
8775    method public int getModulationCapability();
8776  }
8777
8778  public class AtscFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
8779    method @NonNull public static android.media.tv.tuner.frontend.AtscFrontendSettings.Builder builder();
8780    method public int getModulation();
8781    method public int getType();
8782    field public static final int MODULATION_AUTO = 1; // 0x1
8783    field public static final int MODULATION_MOD_16VSB = 8; // 0x8
8784    field public static final int MODULATION_MOD_8VSB = 4; // 0x4
8785    field public static final int MODULATION_UNDEFINED = 0; // 0x0
8786  }
8787
8788  public static class AtscFrontendSettings.Builder {
8789    method @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings build();
8790    method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings.Builder setFrequency(int);
8791    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings.Builder setFrequencyLong(long);
8792    method @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings.Builder setModulation(int);
8793  }
8794
8795  public final class DtmbFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
8796    method public int getBandwidthCapability();
8797    method public int getCodeRateCapability();
8798    method public int getGuardIntervalCapability();
8799    method public int getModulationCapability();
8800    method public int getTimeInterleaveModeCapability();
8801    method public int getTransmissionModeCapability();
8802  }
8803
8804  public final class DtmbFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
8805    method @NonNull public static android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder builder();
8806    method public int getBandwidth();
8807    method public int getCodeRate();
8808    method public int getGuardInterval();
8809    method public int getModulation();
8810    method public int getTimeInterleaveMode();
8811    method public int getTransmissionMode();
8812    method public int getType();
8813    field public static final int BANDWIDTH_6MHZ = 4; // 0x4
8814    field public static final int BANDWIDTH_8MHZ = 2; // 0x2
8815    field public static final int BANDWIDTH_AUTO = 1; // 0x1
8816    field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0
8817    field public static final int CODERATE_2_5 = 2; // 0x2
8818    field public static final int CODERATE_3_5 = 4; // 0x4
8819    field public static final int CODERATE_4_5 = 8; // 0x8
8820    field public static final int CODERATE_AUTO = 1; // 0x1
8821    field public static final int CODERATE_UNDEFINED = 0; // 0x0
8822    field public static final int GUARD_INTERVAL_AUTO = 1; // 0x1
8823    field public static final int GUARD_INTERVAL_PN_420_CONST = 16; // 0x10
8824    field public static final int GUARD_INTERVAL_PN_420_VARIOUS = 2; // 0x2
8825    field public static final int GUARD_INTERVAL_PN_595_CONST = 4; // 0x4
8826    field public static final int GUARD_INTERVAL_PN_945_CONST = 32; // 0x20
8827    field public static final int GUARD_INTERVAL_PN_945_VARIOUS = 8; // 0x8
8828    field public static final int GUARD_INTERVAL_PN_RESERVED = 64; // 0x40
8829    field public static final int GUARD_INTERVAL_UNDEFINED = 0; // 0x0
8830    field public static final int MODULATION_CONSTELLATION_16QAM = 8; // 0x8
8831    field public static final int MODULATION_CONSTELLATION_32QAM = 16; // 0x10
8832    field public static final int MODULATION_CONSTELLATION_4QAM = 2; // 0x2
8833    field public static final int MODULATION_CONSTELLATION_4QAM_NR = 4; // 0x4
8834    field public static final int MODULATION_CONSTELLATION_64QAM = 32; // 0x20
8835    field public static final int MODULATION_CONSTELLATION_AUTO = 1; // 0x1
8836    field public static final int MODULATION_CONSTELLATION_UNDEFINED = 0; // 0x0
8837    field public static final int TIME_INTERLEAVE_MODE_AUTO = 1; // 0x1
8838    field public static final int TIME_INTERLEAVE_MODE_TIMER_INT_240 = 2; // 0x2
8839    field public static final int TIME_INTERLEAVE_MODE_TIMER_INT_720 = 4; // 0x4
8840    field public static final int TIME_INTERLEAVE_MODE_UNDEFINED = 0; // 0x0
8841    field public static final int TRANSMISSION_MODE_AUTO = 1; // 0x1
8842    field public static final int TRANSMISSION_MODE_C1 = 2; // 0x2
8843    field public static final int TRANSMISSION_MODE_C3780 = 4; // 0x4
8844    field public static final int TRANSMISSION_MODE_UNDEFINED = 0; // 0x0
8845  }
8846
8847  public static final class DtmbFrontendSettings.Builder {
8848    method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings build();
8849    method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setBandwidth(int);
8850    method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setCodeRate(int);
8851    method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setFrequency(int);
8852    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setFrequencyLong(long);
8853    method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setGuardInterval(int);
8854    method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setModulation(int);
8855    method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setTimeInterleaveMode(int);
8856    method @NonNull public android.media.tv.tuner.frontend.DtmbFrontendSettings.Builder setTransmissionMode(int);
8857  }
8858
8859  public class DvbcFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
8860    method public int getAnnexCapability();
8861    method public long getCodeRateCapability();
8862    method @Deprecated public int getFecCapability();
8863    method public int getModulationCapability();
8864  }
8865
8866  public class DvbcFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
8867    method @NonNull public static android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder builder();
8868    method public int getAnnex();
8869    method public int getBandwidth();
8870    method public long getInnerFec();
8871    method public int getModulation();
8872    method public int getOuterFec();
8873    method public int getSpectralInversion();
8874    method public int getSymbolRate();
8875    method public int getTimeInterleaveMode();
8876    method public int getType();
8877    field public static final int ANNEX_A = 1; // 0x1
8878    field public static final int ANNEX_B = 2; // 0x2
8879    field public static final int ANNEX_C = 4; // 0x4
8880    field public static final int ANNEX_UNDEFINED = 0; // 0x0
8881    field public static final int BANDWIDTH_5MHZ = 1; // 0x1
8882    field public static final int BANDWIDTH_6MHZ = 2; // 0x2
8883    field public static final int BANDWIDTH_7MHZ = 4; // 0x4
8884    field public static final int BANDWIDTH_8MHZ = 8; // 0x8
8885    field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0
8886    field public static final int MODULATION_AUTO = 1; // 0x1
8887    field public static final int MODULATION_MOD_128QAM = 16; // 0x10
8888    field public static final int MODULATION_MOD_16QAM = 2; // 0x2
8889    field public static final int MODULATION_MOD_256QAM = 32; // 0x20
8890    field public static final int MODULATION_MOD_32QAM = 4; // 0x4
8891    field public static final int MODULATION_MOD_64QAM = 8; // 0x8
8892    field public static final int MODULATION_UNDEFINED = 0; // 0x0
8893    field public static final int OUTER_FEC_OUTER_FEC_NONE = 1; // 0x1
8894    field public static final int OUTER_FEC_OUTER_FEC_RS = 2; // 0x2
8895    field public static final int OUTER_FEC_UNDEFINED = 0; // 0x0
8896    field @Deprecated public static final int SPECTRAL_INVERSION_INVERTED = 2; // 0x2
8897    field @Deprecated public static final int SPECTRAL_INVERSION_NORMAL = 1; // 0x1
8898    field @Deprecated public static final int SPECTRAL_INVERSION_UNDEFINED = 0; // 0x0
8899    field public static final int TIME_INTERLEAVE_MODE_128_1_0 = 2; // 0x2
8900    field public static final int TIME_INTERLEAVE_MODE_128_1_1 = 4; // 0x4
8901    field public static final int TIME_INTERLEAVE_MODE_128_2 = 128; // 0x80
8902    field public static final int TIME_INTERLEAVE_MODE_128_3 = 256; // 0x100
8903    field public static final int TIME_INTERLEAVE_MODE_128_4 = 512; // 0x200
8904    field public static final int TIME_INTERLEAVE_MODE_16_8 = 32; // 0x20
8905    field public static final int TIME_INTERLEAVE_MODE_32_4 = 16; // 0x10
8906    field public static final int TIME_INTERLEAVE_MODE_64_2 = 8; // 0x8
8907    field public static final int TIME_INTERLEAVE_MODE_8_16 = 64; // 0x40
8908    field public static final int TIME_INTERLEAVE_MODE_AUTO = 1; // 0x1
8909    field public static final int TIME_INTERLEAVE_MODE_UNDEFINED = 0; // 0x0
8910  }
8911
8912  public static class DvbcFrontendSettings.Builder {
8913    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings build();
8914    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setAnnex(int);
8915    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setBandwidth(int);
8916    method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setFrequency(int);
8917    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setFrequencyLong(long);
8918    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setInnerFec(long);
8919    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setModulation(int);
8920    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setOuterFec(int);
8921    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setSpectralInversion(int);
8922    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setSymbolRate(int);
8923    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setTimeInterleaveMode(int);
8924  }
8925
8926  public class DvbsCodeRate {
8927    method @NonNull public static android.media.tv.tuner.frontend.DvbsCodeRate.Builder builder();
8928    method public int getBitsPer1000Symbol();
8929    method public long getInnerFec();
8930    method public boolean isLinear();
8931    method public boolean isShortFrameEnabled();
8932  }
8933
8934  public static class DvbsCodeRate.Builder {
8935    method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate build();
8936    method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setBitsPer1000Symbol(int);
8937    method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setInnerFec(long);
8938    method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setLinear(boolean);
8939    method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setShortFrameEnabled(boolean);
8940  }
8941
8942  public class DvbsFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
8943    method public long getInnerFecCapability();
8944    method public int getModulationCapability();
8945    method public int getStandardCapability();
8946  }
8947
8948  public class DvbsFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
8949    method @NonNull public static android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder builder();
8950    method public boolean canHandleDiseqcRxMessage();
8951    method @Nullable public android.media.tv.tuner.frontend.DvbsCodeRate getCodeRate();
8952    method public int getInputStreamId();
8953    method public int getModulation();
8954    method public int getPilot();
8955    method public int getRolloff();
8956    method public int getScanType();
8957    method public int getStandard();
8958    method public int getSymbolRate();
8959    method public int getType();
8960    method public int getVcmMode();
8961    field public static final int MODULATION_AUTO = 1; // 0x1
8962    field public static final int MODULATION_MOD_128APSK = 2048; // 0x800
8963    field public static final int MODULATION_MOD_16APSK = 256; // 0x100
8964    field public static final int MODULATION_MOD_16PSK = 16; // 0x10
8965    field public static final int MODULATION_MOD_16QAM = 8; // 0x8
8966    field public static final int MODULATION_MOD_256APSK = 4096; // 0x1000
8967    field public static final int MODULATION_MOD_32APSK = 512; // 0x200
8968    field public static final int MODULATION_MOD_32PSK = 32; // 0x20
8969    field public static final int MODULATION_MOD_64APSK = 1024; // 0x400
8970    field public static final int MODULATION_MOD_8APSK = 128; // 0x80
8971    field public static final int MODULATION_MOD_8PSK = 4; // 0x4
8972    field public static final int MODULATION_MOD_ACM = 64; // 0x40
8973    field public static final int MODULATION_MOD_QPSK = 2; // 0x2
8974    field public static final int MODULATION_MOD_RESERVED = 8192; // 0x2000
8975    field public static final int MODULATION_UNDEFINED = 0; // 0x0
8976    field public static final int PILOT_AUTO = 3; // 0x3
8977    field public static final int PILOT_OFF = 2; // 0x2
8978    field public static final int PILOT_ON = 1; // 0x1
8979    field public static final int PILOT_UNDEFINED = 0; // 0x0
8980    field public static final int ROLLOFF_0_10 = 5; // 0x5
8981    field public static final int ROLLOFF_0_15 = 4; // 0x4
8982    field public static final int ROLLOFF_0_20 = 3; // 0x3
8983    field public static final int ROLLOFF_0_25 = 2; // 0x2
8984    field public static final int ROLLOFF_0_35 = 1; // 0x1
8985    field public static final int ROLLOFF_0_5 = 6; // 0x6
8986    field public static final int ROLLOFF_UNDEFINED = 0; // 0x0
8987    field public static final int SCAN_TYPE_DIRECT = 1; // 0x1
8988    field public static final int SCAN_TYPE_DISEQC = 2; // 0x2
8989    field public static final int SCAN_TYPE_JESS = 4; // 0x4
8990    field public static final int SCAN_TYPE_UNDEFINED = 0; // 0x0
8991    field public static final int SCAN_TYPE_UNICABLE = 3; // 0x3
8992    field public static final int STANDARD_AUTO = 1; // 0x1
8993    field public static final int STANDARD_S = 2; // 0x2
8994    field public static final int STANDARD_S2 = 4; // 0x4
8995    field public static final int STANDARD_S2X = 8; // 0x8
8996    field public static final int VCM_MODE_AUTO = 1; // 0x1
8997    field public static final int VCM_MODE_MANUAL = 2; // 0x2
8998    field public static final int VCM_MODE_UNDEFINED = 0; // 0x0
8999  }
9000
9001  public static class DvbsFrontendSettings.Builder {
9002    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings build();
9003    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setCanHandleDiseqcRxMessage(boolean);
9004    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setCodeRate(@Nullable android.media.tv.tuner.frontend.DvbsCodeRate);
9005    method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setFrequency(int);
9006    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setFrequencyLong(long);
9007    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setInputStreamId(int);
9008    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setModulation(int);
9009    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setPilot(int);
9010    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setRolloff(int);
9011    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setScanType(int);
9012    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setStandard(int);
9013    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setSymbolRate(int);
9014    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setVcmMode(int);
9015  }
9016
9017  public class DvbtFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
9018    method public int getBandwidthCapability();
9019    method public int getCodeRateCapability();
9020    method public int getConstellationCapability();
9021    method public int getGuardIntervalCapability();
9022    method public int getHierarchyCapability();
9023    method public int getTransmissionModeCapability();
9024    method public boolean isMisoSupported();
9025    method public boolean isT2Supported();
9026  }
9027
9028  public class DvbtFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
9029    method @NonNull public static android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder builder();
9030    method public int getBandwidth();
9031    method public int getConstellation();
9032    method public int getGuardInterval();
9033    method public int getHierarchy();
9034    method public int getHighPriorityCodeRate();
9035    method public int getLowPriorityCodeRate();
9036    method public int getPlpGroupId();
9037    method public int getPlpId();
9038    method public int getPlpMode();
9039    method public int getStandard();
9040    method public int getTransmissionMode();
9041    method public int getType();
9042    method public boolean isHighPriority();
9043    method public boolean isMiso();
9044    field public static final int BANDWIDTH_10MHZ = 64; // 0x40
9045    field public static final int BANDWIDTH_1_7MHZ = 32; // 0x20
9046    field public static final int BANDWIDTH_5MHZ = 16; // 0x10
9047    field public static final int BANDWIDTH_6MHZ = 8; // 0x8
9048    field public static final int BANDWIDTH_7MHZ = 4; // 0x4
9049    field public static final int BANDWIDTH_8MHZ = 2; // 0x2
9050    field public static final int BANDWIDTH_AUTO = 1; // 0x1
9051    field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0
9052    field public static final int CODERATE_1_2 = 2; // 0x2
9053    field public static final int CODERATE_2_3 = 4; // 0x4
9054    field public static final int CODERATE_3_4 = 8; // 0x8
9055    field public static final int CODERATE_3_5 = 64; // 0x40
9056    field public static final int CODERATE_4_5 = 128; // 0x80
9057    field public static final int CODERATE_5_6 = 16; // 0x10
9058    field public static final int CODERATE_6_7 = 256; // 0x100
9059    field public static final int CODERATE_7_8 = 32; // 0x20
9060    field public static final int CODERATE_8_9 = 512; // 0x200
9061    field public static final int CODERATE_AUTO = 1; // 0x1
9062    field public static final int CODERATE_UNDEFINED = 0; // 0x0
9063    field public static final int CONSTELLATION_16QAM = 4; // 0x4
9064    field public static final int CONSTELLATION_16QAM_R = 64; // 0x40
9065    field public static final int CONSTELLATION_256QAM = 16; // 0x10
9066    field public static final int CONSTELLATION_256QAM_R = 256; // 0x100
9067    field public static final int CONSTELLATION_64QAM = 8; // 0x8
9068    field public static final int CONSTELLATION_64QAM_R = 128; // 0x80
9069    field public static final int CONSTELLATION_AUTO = 1; // 0x1
9070    field public static final int CONSTELLATION_QPSK = 2; // 0x2
9071    field public static final int CONSTELLATION_QPSK_R = 32; // 0x20
9072    field public static final int CONSTELLATION_UNDEFINED = 0; // 0x0
9073    field public static final int GUARD_INTERVAL_19_128 = 64; // 0x40
9074    field public static final int GUARD_INTERVAL_19_256 = 128; // 0x80
9075    field public static final int GUARD_INTERVAL_1_128 = 32; // 0x20
9076    field public static final int GUARD_INTERVAL_1_16 = 4; // 0x4
9077    field public static final int GUARD_INTERVAL_1_32 = 2; // 0x2
9078    field public static final int GUARD_INTERVAL_1_4 = 16; // 0x10
9079    field public static final int GUARD_INTERVAL_1_8 = 8; // 0x8
9080    field public static final int GUARD_INTERVAL_AUTO = 1; // 0x1
9081    field public static final int GUARD_INTERVAL_UNDEFINED = 0; // 0x0
9082    field public static final int HIERARCHY_1_INDEPTH = 64; // 0x40
9083    field public static final int HIERARCHY_1_NATIVE = 4; // 0x4
9084    field public static final int HIERARCHY_2_INDEPTH = 128; // 0x80
9085    field public static final int HIERARCHY_2_NATIVE = 8; // 0x8
9086    field public static final int HIERARCHY_4_INDEPTH = 256; // 0x100
9087    field public static final int HIERARCHY_4_NATIVE = 16; // 0x10
9088    field public static final int HIERARCHY_AUTO = 1; // 0x1
9089    field public static final int HIERARCHY_NON_INDEPTH = 32; // 0x20
9090    field public static final int HIERARCHY_NON_NATIVE = 2; // 0x2
9091    field public static final int HIERARCHY_UNDEFINED = 0; // 0x0
9092    field public static final int PLP_MODE_AUTO = 1; // 0x1
9093    field public static final int PLP_MODE_MANUAL = 2; // 0x2
9094    field public static final int PLP_MODE_UNDEFINED = 0; // 0x0
9095    field public static final int STANDARD_AUTO = 1; // 0x1
9096    field public static final int STANDARD_T = 2; // 0x2
9097    field public static final int STANDARD_T2 = 4; // 0x4
9098    field public static final int TRANSMISSION_MODE_16K = 32; // 0x20
9099    field public static final int TRANSMISSION_MODE_1K = 16; // 0x10
9100    field public static final int TRANSMISSION_MODE_2K = 2; // 0x2
9101    field public static final int TRANSMISSION_MODE_32K = 64; // 0x40
9102    field public static final int TRANSMISSION_MODE_4K = 8; // 0x8
9103    field public static final int TRANSMISSION_MODE_8K = 4; // 0x4
9104    field public static final int TRANSMISSION_MODE_AUTO = 1; // 0x1
9105    field public static final int TRANSMISSION_MODE_EXTENDED_16K = 256; // 0x100
9106    field public static final int TRANSMISSION_MODE_EXTENDED_32K = 512; // 0x200
9107    field public static final int TRANSMISSION_MODE_EXTENDED_8K = 128; // 0x80
9108    field public static final int TRANSMISSION_MODE_UNDEFINED = 0; // 0x0
9109  }
9110
9111  public static class DvbtFrontendSettings.Builder {
9112    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings build();
9113    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setBandwidth(int);
9114    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setConstellation(int);
9115    method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setFrequency(int);
9116    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setFrequencyLong(long);
9117    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setGuardInterval(int);
9118    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setHierarchy(int);
9119    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setHighPriority(boolean);
9120    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setHighPriorityCodeRate(int);
9121    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setLowPriorityCodeRate(int);
9122    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setMiso(boolean);
9123    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setPlpGroupId(int);
9124    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setPlpId(int);
9125    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setPlpMode(int);
9126    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setStandard(int);
9127    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setTransmissionMode(int);
9128  }
9129
9130  public abstract class FrontendCapabilities {
9131    ctor public FrontendCapabilities();
9132  }
9133
9134  public class FrontendInfo {
9135    method @Deprecated public int getAcquireRange();
9136    method public long getAcquireRangeLong();
9137    method public int getExclusiveGroupId();
9138    method @Deprecated @NonNull public android.util.Range<java.lang.Integer> getFrequencyRange();
9139    method @NonNull public android.util.Range<java.lang.Long> getFrequencyRangeLong();
9140    method @NonNull public android.media.tv.tuner.frontend.FrontendCapabilities getFrontendCapabilities();
9141    method public int getId();
9142    method @NonNull public int[] getStatusCapabilities();
9143    method @NonNull public android.util.Range<java.lang.Integer> getSymbolRateRange();
9144    method public int getType();
9145  }
9146
9147  public abstract class FrontendSettings {
9148    method @Deprecated @IntRange(from=1) public int getEndFrequency();
9149    method @IntRange(from=1) public long getEndFrequencyLong();
9150    method @Deprecated public int getFrequency();
9151    method public long getFrequencyLong();
9152    method public int getFrontendSpectralInversion();
9153    method public abstract int getType();
9154    method @Deprecated @IntRange(from=1) public void setEndFrequency(int);
9155    method @IntRange(from=1) public void setEndFrequencyLong(long);
9156    method public void setSpectralInversion(int);
9157    field public static final long FEC_11_15 = 4194304L; // 0x400000L
9158    field public static final long FEC_11_20 = 8388608L; // 0x800000L
9159    field public static final long FEC_11_45 = 16777216L; // 0x1000000L
9160    field public static final long FEC_13_18 = 33554432L; // 0x2000000L
9161    field public static final long FEC_13_45 = 67108864L; // 0x4000000L
9162    field public static final long FEC_14_45 = 134217728L; // 0x8000000L
9163    field public static final long FEC_1_2 = 2L; // 0x2L
9164    field public static final long FEC_1_3 = 4L; // 0x4L
9165    field public static final long FEC_1_4 = 8L; // 0x8L
9166    field public static final long FEC_1_5 = 16L; // 0x10L
9167    field public static final long FEC_23_36 = 268435456L; // 0x10000000L
9168    field public static final long FEC_25_36 = 536870912L; // 0x20000000L
9169    field public static final long FEC_26_45 = 1073741824L; // 0x40000000L
9170    field public static final long FEC_28_45 = 2147483648L; // 0x80000000L
9171    field public static final long FEC_29_45 = 4294967296L; // 0x100000000L
9172    field public static final long FEC_2_3 = 32L; // 0x20L
9173    field public static final long FEC_2_5 = 64L; // 0x40L
9174    field public static final long FEC_2_9 = 128L; // 0x80L
9175    field public static final long FEC_31_45 = 8589934592L; // 0x200000000L
9176    field public static final long FEC_32_45 = 17179869184L; // 0x400000000L
9177    field public static final long FEC_3_4 = 256L; // 0x100L
9178    field public static final long FEC_3_5 = 512L; // 0x200L
9179    field public static final long FEC_4_15 = 2048L; // 0x800L
9180    field public static final long FEC_4_5 = 1024L; // 0x400L
9181    field public static final long FEC_5_6 = 4096L; // 0x1000L
9182    field public static final long FEC_5_9 = 8192L; // 0x2000L
9183    field public static final long FEC_6_7 = 16384L; // 0x4000L
9184    field public static final long FEC_77_90 = 34359738368L; // 0x800000000L
9185    field public static final long FEC_7_15 = 131072L; // 0x20000L
9186    field public static final long FEC_7_8 = 32768L; // 0x8000L
9187    field public static final long FEC_7_9 = 65536L; // 0x10000L
9188    field public static final long FEC_8_15 = 524288L; // 0x80000L
9189    field public static final long FEC_8_9 = 262144L; // 0x40000L
9190    field public static final long FEC_9_10 = 1048576L; // 0x100000L
9191    field public static final long FEC_9_20 = 2097152L; // 0x200000L
9192    field public static final long FEC_AUTO = 1L; // 0x1L
9193    field public static final long FEC_UNDEFINED = 0L; // 0x0L
9194    field public static final int FRONTEND_SPECTRAL_INVERSION_INVERTED = 2; // 0x2
9195    field public static final int FRONTEND_SPECTRAL_INVERSION_NORMAL = 1; // 0x1
9196    field public static final int FRONTEND_SPECTRAL_INVERSION_UNDEFINED = 0; // 0x0
9197    field public static final int TYPE_ANALOG = 1; // 0x1
9198    field public static final int TYPE_ATSC = 2; // 0x2
9199    field public static final int TYPE_ATSC3 = 3; // 0x3
9200    field public static final int TYPE_DTMB = 10; // 0xa
9201    field public static final int TYPE_DVBC = 4; // 0x4
9202    field public static final int TYPE_DVBS = 5; // 0x5
9203    field public static final int TYPE_DVBT = 6; // 0x6
9204    field public static final int TYPE_IPTV = 11; // 0xb
9205    field public static final int TYPE_ISDBS = 7; // 0x7
9206    field public static final int TYPE_ISDBS3 = 8; // 0x8
9207    field public static final int TYPE_ISDBT = 9; // 0x9
9208    field public static final int TYPE_UNDEFINED = 0; // 0x0
9209  }
9210
9211  public class FrontendStatus {
9212    method public int getAgc();
9213    method @NonNull public java.util.List<android.media.tv.tuner.frontend.Atsc3PlpInfo> getAllAtsc3PlpInfo();
9214    method @NonNull public android.media.tv.tuner.frontend.FrontendStatus.Atsc3PlpTuningInfo[] getAtsc3PlpTuningInfo();
9215    method public int getBandwidth();
9216    method public int getBer();
9217    method @NonNull public int[] getBers();
9218    method @NonNull public int[] getCodeRates();
9219    method @NonNull public int[] getDvbtCellIds();
9220    method @NonNull public int[] getExtendedModulations();
9221    method @Deprecated public int getFreqOffset();
9222    method public long getFreqOffsetLong();
9223    method public int getGuardInterval();
9224    method public int getHierarchy();
9225    method public long getInnerFec();
9226    method @NonNull public int[] getInterleaving();
9227    method @IntRange(from=0) public int getIptvAverageJitterMillis();
9228    method @NonNull public String getIptvContentUrl();
9229    method @IntRange(from=0) public long getIptvPacketsLost();
9230    method @IntRange(from=0) public long getIptvPacketsReceived();
9231    method @IntRange(from=0) public int getIptvWorstJitterMillis();
9232    method public int getIsdbtMode();
9233    method public int getIsdbtPartialReceptionFlag();
9234    method @IntRange(from=0, to=255) @NonNull public int[] getIsdbtSegment();
9235    method @NonNull public boolean[] getLayerErrors();
9236    method public int getLnbVoltage();
9237    method public int getMer();
9238    method public int getModulation();
9239    method public int getPer();
9240    method public int getPerBer();
9241    method public int getPlpId();
9242    method public int getRollOff();
9243    method public int getSignalQuality();
9244    method public int getSignalStrength();
9245    method public int getSnr();
9246    method public int getSpectralInversion();
9247    method @NonNull public int[] getStreamIds();
9248    method public int getSymbolRate();
9249    method @IntRange(from=0, to=65535) public int getSystemId();
9250    method public int getTransmissionMode();
9251    method @NonNull public int[] getTsDataRate();
9252    method public int getUec();
9253    method public boolean isDemodLocked();
9254    method public boolean isEwbs();
9255    method public boolean isLinear();
9256    method public boolean isLnaOn();
9257    method public boolean isMisoEnabled();
9258    method public boolean isRfLocked();
9259    method public boolean isShortFramesEnabled();
9260    field public static final int FRONTEND_STATUS_TYPE_AGC = 14; // 0xe
9261    field public static final int FRONTEND_STATUS_TYPE_ATSC3_ALL_PLP_INFO = 41; // 0x29
9262    field public static final int FRONTEND_STATUS_TYPE_ATSC3_PLP_INFO = 21; // 0x15
9263    field public static final int FRONTEND_STATUS_TYPE_BANDWIDTH = 25; // 0x19
9264    field public static final int FRONTEND_STATUS_TYPE_BER = 2; // 0x2
9265    field public static final int FRONTEND_STATUS_TYPE_BERS = 23; // 0x17
9266    field public static final int FRONTEND_STATUS_TYPE_CODERATES = 24; // 0x18
9267    field public static final int FRONTEND_STATUS_TYPE_DEMOD_LOCK = 0; // 0x0
9268    field public static final int FRONTEND_STATUS_TYPE_DVBT_CELL_IDS = 40; // 0x28
9269    field public static final int FRONTEND_STATUS_TYPE_EWBS = 13; // 0xd
9270    field public static final int FRONTEND_STATUS_TYPE_FEC = 8; // 0x8
9271    field public static final int FRONTEND_STATUS_TYPE_FREQ_OFFSET = 18; // 0x12
9272    field public static final int FRONTEND_STATUS_TYPE_GUARD_INTERVAL = 26; // 0x1a
9273    field public static final int FRONTEND_STATUS_TYPE_HIERARCHY = 19; // 0x13
9274    field public static final int FRONTEND_STATUS_TYPE_INTERLEAVINGS = 30; // 0x1e
9275    field public static final int FRONTEND_STATUS_TYPE_IPTV_AVERAGE_JITTER_MS = 46; // 0x2e
9276    field public static final int FRONTEND_STATUS_TYPE_IPTV_CONTENT_URL = 42; // 0x2a
9277    field public static final int FRONTEND_STATUS_TYPE_IPTV_PACKETS_LOST = 43; // 0x2b
9278    field public static final int FRONTEND_STATUS_TYPE_IPTV_PACKETS_RECEIVED = 44; // 0x2c
9279    field public static final int FRONTEND_STATUS_TYPE_IPTV_WORST_JITTER_MS = 45; // 0x2d
9280    field public static final int FRONTEND_STATUS_TYPE_ISDBT_MODE = 37; // 0x25
9281    field public static final int FRONTEND_STATUS_TYPE_ISDBT_PARTIAL_RECEPTION_FLAG = 38; // 0x26
9282    field public static final int FRONTEND_STATUS_TYPE_ISDBT_SEGMENTS = 31; // 0x1f
9283    field public static final int FRONTEND_STATUS_TYPE_IS_LINEAR = 35; // 0x23
9284    field public static final int FRONTEND_STATUS_TYPE_IS_MISO_ENABLED = 34; // 0x22
9285    field public static final int FRONTEND_STATUS_TYPE_IS_SHORT_FRAMES_ENABLED = 36; // 0x24
9286    field public static final int FRONTEND_STATUS_TYPE_LAYER_ERROR = 16; // 0x10
9287    field public static final int FRONTEND_STATUS_TYPE_LNA = 15; // 0xf
9288    field public static final int FRONTEND_STATUS_TYPE_LNB_VOLTAGE = 11; // 0xb
9289    field public static final int FRONTEND_STATUS_TYPE_MER = 17; // 0x11
9290    field public static final int FRONTEND_STATUS_TYPE_MODULATION = 9; // 0x9
9291    field public static final int FRONTEND_STATUS_TYPE_MODULATIONS_EXT = 22; // 0x16
9292    field public static final int FRONTEND_STATUS_TYPE_PER = 3; // 0x3
9293    field public static final int FRONTEND_STATUS_TYPE_PLP_ID = 12; // 0xc
9294    field public static final int FRONTEND_STATUS_TYPE_PRE_BER = 4; // 0x4
9295    field public static final int FRONTEND_STATUS_TYPE_RF_LOCK = 20; // 0x14
9296    field public static final int FRONTEND_STATUS_TYPE_ROLL_OFF = 33; // 0x21
9297    field public static final int FRONTEND_STATUS_TYPE_SIGNAL_QUALITY = 5; // 0x5
9298    field public static final int FRONTEND_STATUS_TYPE_SIGNAL_STRENGTH = 6; // 0x6
9299    field public static final int FRONTEND_STATUS_TYPE_SNR = 1; // 0x1
9300    field public static final int FRONTEND_STATUS_TYPE_SPECTRAL = 10; // 0xa
9301    field public static final int FRONTEND_STATUS_TYPE_STREAM_IDS = 39; // 0x27
9302    field public static final int FRONTEND_STATUS_TYPE_SYMBOL_RATE = 7; // 0x7
9303    field public static final int FRONTEND_STATUS_TYPE_T2_SYSTEM_ID = 29; // 0x1d
9304    field public static final int FRONTEND_STATUS_TYPE_TRANSMISSION_MODE = 27; // 0x1b
9305    field public static final int FRONTEND_STATUS_TYPE_TS_DATA_RATES = 32; // 0x20
9306    field public static final int FRONTEND_STATUS_TYPE_UEC = 28; // 0x1c
9307  }
9308
9309  public static class FrontendStatus.Atsc3PlpTuningInfo {
9310    method public int getPlpId();
9311    method public int getUec();
9312    method public boolean isLocked();
9313  }
9314
9315  public final class FrontendStatusReadiness {
9316    method public int getStatusReadiness();
9317    method public int getStatusType();
9318    field public static final int FRONTEND_STATUS_READINESS_STABLE = 3; // 0x3
9319    field public static final int FRONTEND_STATUS_READINESS_UNAVAILABLE = 1; // 0x1
9320    field public static final int FRONTEND_STATUS_READINESS_UNDEFINED = 0; // 0x0
9321    field public static final int FRONTEND_STATUS_READINESS_UNSTABLE = 2; // 0x2
9322    field public static final int FRONTEND_STATUS_READINESS_UNSUPPORTED = 4; // 0x4
9323  }
9324
9325  public class IptvFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
9326    method public int getProtocolCapability();
9327  }
9328
9329  public final class IptvFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
9330    method @IntRange(from=0) public long getBitrate();
9331    method @NonNull public String getContentUrl();
9332    method @NonNull @Size(min=4, max=16) public byte[] getDstIpAddress();
9333    method public int getDstPort();
9334    method @Nullable public android.media.tv.tuner.frontend.IptvFrontendSettingsFec getFec();
9335    method public int getIgmp();
9336    method public int getProtocol();
9337    method @NonNull @Size(min=4, max=16) public byte[] getSrcIpAddress();
9338    method public int getSrcPort();
9339    method public int getType();
9340    field public static final int IGMP_UNDEFINED = 0; // 0x0
9341    field public static final int IGMP_V1 = 1; // 0x1
9342    field public static final int IGMP_V2 = 2; // 0x2
9343    field public static final int IGMP_V3 = 4; // 0x4
9344    field public static final int PROTOCOL_RTP = 2; // 0x2
9345    field public static final int PROTOCOL_UDP = 1; // 0x1
9346    field public static final int PROTOCOL_UNDEFINED = 0; // 0x0
9347  }
9348
9349  public static final class IptvFrontendSettings.Builder {
9350    ctor public IptvFrontendSettings.Builder();
9351    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings build();
9352    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setBitrate(@IntRange(from=0) long);
9353    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setContentUrl(@NonNull String);
9354    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setDstIpAddress(@NonNull byte[]);
9355    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setDstPort(int);
9356    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setFec(@Nullable android.media.tv.tuner.frontend.IptvFrontendSettingsFec);
9357    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setIgmp(int);
9358    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setProtocol(int);
9359    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setSrcIpAddress(@NonNull byte[]);
9360    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettings.Builder setSrcPort(int);
9361  }
9362
9363  public final class IptvFrontendSettingsFec {
9364    method @IntRange(from=0) public int getFecColNum();
9365    method @IntRange(from=0) public int getFecRowNum();
9366    method public int getFecType();
9367    field public static final int FEC_TYPE_COLUMN = 1; // 0x1
9368    field public static final int FEC_TYPE_COLUMN_ROW = 4; // 0x4
9369    field public static final int FEC_TYPE_ROW = 2; // 0x2
9370    field public static final int FEC_TYPE_UNDEFINED = 0; // 0x0
9371  }
9372
9373  public static final class IptvFrontendSettingsFec.Builder {
9374    ctor public IptvFrontendSettingsFec.Builder();
9375    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettingsFec build();
9376    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettingsFec.Builder setFecColNum(@IntRange(from=0) int);
9377    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettingsFec.Builder setFecRowNum(@IntRange(from=0) int);
9378    method @NonNull public android.media.tv.tuner.frontend.IptvFrontendSettingsFec.Builder setFecType(int);
9379  }
9380
9381  public class Isdbs3FrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
9382    method public int getCodeRateCapability();
9383    method public int getModulationCapability();
9384  }
9385
9386  public class Isdbs3FrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
9387    method @NonNull public static android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder builder();
9388    method public int getCodeRate();
9389    method public int getModulation();
9390    method public int getRolloff();
9391    method public int getStreamId();
9392    method public int getStreamIdType();
9393    method public int getSymbolRate();
9394    method public int getType();
9395    field public static final int CODERATE_1_2 = 8; // 0x8
9396    field public static final int CODERATE_1_3 = 2; // 0x2
9397    field public static final int CODERATE_2_3 = 32; // 0x20
9398    field public static final int CODERATE_2_5 = 4; // 0x4
9399    field public static final int CODERATE_3_4 = 64; // 0x40
9400    field public static final int CODERATE_3_5 = 16; // 0x10
9401    field public static final int CODERATE_4_5 = 256; // 0x100
9402    field public static final int CODERATE_5_6 = 512; // 0x200
9403    field public static final int CODERATE_7_8 = 1024; // 0x400
9404    field public static final int CODERATE_7_9 = 128; // 0x80
9405    field public static final int CODERATE_9_10 = 2048; // 0x800
9406    field public static final int CODERATE_AUTO = 1; // 0x1
9407    field public static final int CODERATE_UNDEFINED = 0; // 0x0
9408    field public static final int MODULATION_AUTO = 1; // 0x1
9409    field public static final int MODULATION_MOD_16APSK = 16; // 0x10
9410    field public static final int MODULATION_MOD_32APSK = 32; // 0x20
9411    field public static final int MODULATION_MOD_8PSK = 8; // 0x8
9412    field public static final int MODULATION_MOD_BPSK = 2; // 0x2
9413    field public static final int MODULATION_MOD_QPSK = 4; // 0x4
9414    field public static final int MODULATION_UNDEFINED = 0; // 0x0
9415    field public static final int ROLLOFF_0_03 = 1; // 0x1
9416    field public static final int ROLLOFF_UNDEFINED = 0; // 0x0
9417  }
9418
9419  public static class Isdbs3FrontendSettings.Builder {
9420    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings build();
9421    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setCodeRate(int);
9422    method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setFrequency(int);
9423    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setFrequencyLong(long);
9424    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setModulation(int);
9425    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setRolloff(int);
9426    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setStreamId(int);
9427    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setStreamIdType(int);
9428    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setSymbolRate(int);
9429  }
9430
9431  public class IsdbsFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
9432    method public int getCodeRateCapability();
9433    method public int getModulationCapability();
9434  }
9435
9436  public class IsdbsFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
9437    method @NonNull public static android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder builder();
9438    method public int getCodeRate();
9439    method public int getModulation();
9440    method public int getRolloff();
9441    method public int getStreamId();
9442    method public int getStreamIdType();
9443    method public int getSymbolRate();
9444    method public int getType();
9445    field public static final int CODERATE_1_2 = 2; // 0x2
9446    field public static final int CODERATE_2_3 = 4; // 0x4
9447    field public static final int CODERATE_3_4 = 8; // 0x8
9448    field public static final int CODERATE_5_6 = 16; // 0x10
9449    field public static final int CODERATE_7_8 = 32; // 0x20
9450    field public static final int CODERATE_AUTO = 1; // 0x1
9451    field public static final int CODERATE_UNDEFINED = 0; // 0x0
9452    field public static final int MODULATION_AUTO = 1; // 0x1
9453    field public static final int MODULATION_MOD_BPSK = 2; // 0x2
9454    field public static final int MODULATION_MOD_QPSK = 4; // 0x4
9455    field public static final int MODULATION_MOD_TC8PSK = 8; // 0x8
9456    field public static final int MODULATION_UNDEFINED = 0; // 0x0
9457    field public static final int ROLLOFF_0_35 = 1; // 0x1
9458    field public static final int ROLLOFF_UNDEFINED = 0; // 0x0
9459    field public static final int STREAM_ID_TYPE_ID = 0; // 0x0
9460    field public static final int STREAM_ID_TYPE_RELATIVE_NUMBER = 1; // 0x1
9461  }
9462
9463  public static class IsdbsFrontendSettings.Builder {
9464    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings build();
9465    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setCodeRate(int);
9466    method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setFrequency(int);
9467    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setFrequencyLong(long);
9468    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setModulation(int);
9469    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setRolloff(int);
9470    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setStreamId(int);
9471    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setStreamIdType(int);
9472    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setSymbolRate(int);
9473  }
9474
9475  public class IsdbtFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
9476    method public int getBandwidthCapability();
9477    method public int getCodeRateCapability();
9478    method public int getGuardIntervalCapability();
9479    method public int getModeCapability();
9480    method public int getModulationCapability();
9481    method public int getTimeInterleaveModeCapability();
9482    method public boolean isFullSegmentSupported();
9483    method public boolean isSegmentAutoSupported();
9484  }
9485
9486  public class IsdbtFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
9487    method @NonNull public static android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder builder();
9488    method public int getBandwidth();
9489    method @Deprecated public int getCodeRate();
9490    method public int getGuardInterval();
9491    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings[] getLayerSettings();
9492    method public int getMode();
9493    method @Deprecated public int getModulation();
9494    method public int getPartialReceptionFlag();
9495    method public int getServiceAreaId();
9496    method public int getType();
9497    field public static final int BANDWIDTH_6MHZ = 8; // 0x8
9498    field public static final int BANDWIDTH_7MHZ = 4; // 0x4
9499    field public static final int BANDWIDTH_8MHZ = 2; // 0x2
9500    field public static final int BANDWIDTH_AUTO = 1; // 0x1
9501    field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0
9502    field public static final int MODE_1 = 2; // 0x2
9503    field public static final int MODE_2 = 4; // 0x4
9504    field public static final int MODE_3 = 8; // 0x8
9505    field public static final int MODE_AUTO = 1; // 0x1
9506    field public static final int MODE_UNDEFINED = 0; // 0x0
9507    field public static final int MODULATION_AUTO = 1; // 0x1
9508    field public static final int MODULATION_MOD_16QAM = 8; // 0x8
9509    field public static final int MODULATION_MOD_64QAM = 16; // 0x10
9510    field public static final int MODULATION_MOD_DQPSK = 2; // 0x2
9511    field public static final int MODULATION_MOD_QPSK = 4; // 0x4
9512    field public static final int MODULATION_UNDEFINED = 0; // 0x0
9513    field public static final int PARTIAL_RECEPTION_FLAG_FALSE = 2; // 0x2
9514    field public static final int PARTIAL_RECEPTION_FLAG_TRUE = 4; // 0x4
9515    field public static final int PARTIAL_RECEPTION_FLAG_UNDEFINED = 0; // 0x0
9516    field public static final int TIME_INTERLEAVE_MODE_1_0 = 2; // 0x2
9517    field public static final int TIME_INTERLEAVE_MODE_1_16 = 16; // 0x10
9518    field public static final int TIME_INTERLEAVE_MODE_1_4 = 4; // 0x4
9519    field public static final int TIME_INTERLEAVE_MODE_1_8 = 8; // 0x8
9520    field public static final int TIME_INTERLEAVE_MODE_2_0 = 32; // 0x20
9521    field public static final int TIME_INTERLEAVE_MODE_2_2 = 64; // 0x40
9522    field public static final int TIME_INTERLEAVE_MODE_2_4 = 128; // 0x80
9523    field public static final int TIME_INTERLEAVE_MODE_2_8 = 256; // 0x100
9524    field public static final int TIME_INTERLEAVE_MODE_3_0 = 512; // 0x200
9525    field public static final int TIME_INTERLEAVE_MODE_3_1 = 1024; // 0x400
9526    field public static final int TIME_INTERLEAVE_MODE_3_2 = 2048; // 0x800
9527    field public static final int TIME_INTERLEAVE_MODE_3_4 = 4096; // 0x1000
9528    field public static final int TIME_INTERLEAVE_MODE_AUTO = 1; // 0x1
9529    field public static final int TIME_INTERLEAVE_MODE_UNDEFINED = 0; // 0x0
9530  }
9531
9532  public static class IsdbtFrontendSettings.Builder {
9533    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings build();
9534    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setBandwidth(int);
9535    method @Deprecated @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setCodeRate(int);
9536    method @Deprecated @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setFrequency(int);
9537    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setFrequencyLong(long);
9538    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setGuardInterval(int);
9539    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setLayerSettings(@NonNull android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings[]);
9540    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setMode(int);
9541    method @Deprecated @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setModulation(int);
9542    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setPartialReceptionFlag(int);
9543    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setServiceAreaId(int);
9544  }
9545
9546  public static final class IsdbtFrontendSettings.IsdbtLayerSettings {
9547    method @NonNull public static android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings.Builder builder();
9548    method public int getCodeRate();
9549    method public int getModulation();
9550    method @IntRange(from=0, to=255) public int getNumberOfSegments();
9551    method public int getTimeInterleaveMode();
9552  }
9553
9554  public static final class IsdbtFrontendSettings.IsdbtLayerSettings.Builder {
9555    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings build();
9556    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings.Builder setCodeRate(int);
9557    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings.Builder setModulation(int);
9558    method @IntRange(from=0, to=255) @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings.Builder setNumberOfSegments(int);
9559    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.IsdbtLayerSettings.Builder setTimeInterleaveMode(int);
9560  }
9561
9562  public interface OnTuneEventListener {
9563    method public void onTuneEvent(int);
9564    field public static final int SIGNAL_LOCKED = 0; // 0x0
9565    field public static final int SIGNAL_LOST_LOCK = 2; // 0x2
9566    field public static final int SIGNAL_NO_SIGNAL = 1; // 0x1
9567  }
9568
9569  public interface ScanCallback {
9570    method public void onAnalogSifStandardReported(int);
9571    method public void onAtsc3PlpInfosReported(@NonNull android.media.tv.tuner.frontend.Atsc3PlpInfo[]);
9572    method public default void onDvbcAnnexReported(int);
9573    method public void onDvbsStandardReported(int);
9574    method public default void onDvbtCellIdsReported(@NonNull int[]);
9575    method public void onDvbtStandardReported(int);
9576    method public default void onFrequenciesLongReported(@NonNull long[]);
9577    method @Deprecated public void onFrequenciesReported(@NonNull int[]);
9578    method public void onGroupIdsReported(@NonNull int[]);
9579    method public void onHierarchyReported(int);
9580    method public void onInputStreamIdsReported(@NonNull int[]);
9581    method public void onLocked();
9582    method public default void onModulationReported(int);
9583    method public void onPlpIdsReported(@NonNull int[]);
9584    method public default void onPriorityReported(boolean);
9585    method public void onProgress(@IntRange(from=0, to=100) int);
9586    method public void onScanStopped();
9587    method public void onSignalTypeReported(int);
9588    method public void onSymbolRatesReported(@NonNull int[]);
9589    method public default void onUnlocked();
9590  }
9591
9592}
9593
9594package android.media.voice {
9595
9596  public final class KeyphraseModelManager {
9597    method @RequiresPermission(android.Manifest.permission.MANAGE_VOICE_KEYPHRASES) public void deleteKeyphraseSoundModel(int, @NonNull java.util.Locale);
9598    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_VOICE_KEYPHRASES) public android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int, @NonNull java.util.Locale);
9599    method @RequiresPermission(android.Manifest.permission.MANAGE_VOICE_KEYPHRASES) public void updateKeyphraseSoundModel(@NonNull android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel);
9600  }
9601
9602}
9603
9604package android.metrics {
9605
9606  public class LogMaker {
9607    ctor public LogMaker(int);
9608    ctor public LogMaker(Object[]);
9609    method public android.metrics.LogMaker addTaggedData(int, Object);
9610    method public android.metrics.LogMaker clearCategory();
9611    method public android.metrics.LogMaker clearPackageName();
9612    method public android.metrics.LogMaker clearSubtype();
9613    method public android.metrics.LogMaker clearTaggedData(int);
9614    method public android.metrics.LogMaker clearType();
9615    method public void deserialize(Object[]);
9616    method public int getCategory();
9617    method public long getCounterBucket();
9618    method public String getCounterName();
9619    method public int getCounterValue();
9620    method public String getPackageName();
9621    method public int getProcessId();
9622    method public int getSubtype();
9623    method public Object getTaggedData(int);
9624    method public long getTimestamp();
9625    method public int getType();
9626    method public int getUid();
9627    method public boolean isLongCounterBucket();
9628    method public boolean isSubsetOf(android.metrics.LogMaker);
9629    method public boolean isValidValue(Object);
9630    method public Object[] serialize();
9631    method public android.metrics.LogMaker setCategory(int);
9632    method public android.metrics.LogMaker setPackageName(String);
9633    method public android.metrics.LogMaker setSubtype(int);
9634    method public android.metrics.LogMaker setType(int);
9635  }
9636
9637  public class MetricsReader {
9638    ctor public MetricsReader();
9639    method public void checkpoint();
9640    method public boolean hasNext();
9641    method public android.metrics.LogMaker next();
9642    method public void read(long);
9643    method public void reset();
9644  }
9645
9646}
9647
9648package android.net {
9649
9650  public final class MatchAllNetworkSpecifier extends android.net.NetworkSpecifier implements android.os.Parcelable {
9651    ctor public MatchAllNetworkSpecifier();
9652    method public int describeContents();
9653    method public void writeToParcel(@NonNull android.os.Parcel, int);
9654    field @NonNull public static final android.os.Parcelable.Creator<android.net.MatchAllNetworkSpecifier> CREATOR;
9655  }
9656
9657  @Deprecated public class NetworkKey implements android.os.Parcelable {
9658    ctor @Deprecated public NetworkKey(android.net.WifiKey);
9659    method @Deprecated @Nullable public static android.net.NetworkKey createFromScanResult(@NonNull android.net.wifi.ScanResult);
9660    method @Deprecated public int describeContents();
9661    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9662    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkKey> CREATOR;
9663    field @Deprecated public static final int TYPE_WIFI = 1; // 0x1
9664    field @Deprecated public final int type;
9665    field @Deprecated public final android.net.WifiKey wifiKey;
9666  }
9667
9668  public abstract class NetworkRecommendationProvider {
9669    ctor public NetworkRecommendationProvider(android.content.Context, java.util.concurrent.Executor);
9670    method public final android.os.IBinder getBinder();
9671    method public abstract void onRequestScores(android.net.NetworkKey[]);
9672  }
9673
9674  @Deprecated public class NetworkScoreManager {
9675    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public boolean clearScores() throws java.lang.SecurityException;
9676    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public void disableScoring() throws java.lang.SecurityException;
9677    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public String getActiveScorerPackage();
9678    method @Deprecated @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES) public void registerNetworkScoreCallback(int, int, @NonNull java.util.concurrent.Executor, @NonNull android.net.NetworkScoreManager.NetworkScoreCallback) throws java.lang.SecurityException;
9679    method @Deprecated @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES) public boolean requestScores(@NonNull java.util.Collection<android.net.NetworkKey>) throws java.lang.SecurityException;
9680    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public boolean setActiveScorer(String) throws java.lang.SecurityException;
9681    method @Deprecated @RequiresPermission(android.Manifest.permission.SCORE_NETWORKS) public boolean updateScores(@NonNull android.net.ScoredNetwork[]) throws java.lang.SecurityException;
9682    field @Deprecated public static final String ACTION_CHANGE_ACTIVE = "android.net.scoring.CHANGE_ACTIVE";
9683    field @Deprecated public static final String ACTION_CUSTOM_ENABLE = "android.net.scoring.CUSTOM_ENABLE";
9684    field @Deprecated public static final String ACTION_RECOMMEND_NETWORKS = "android.net.action.RECOMMEND_NETWORKS";
9685    field @Deprecated public static final String ACTION_SCORER_CHANGED = "android.net.scoring.SCORER_CHANGED";
9686    field @Deprecated public static final String ACTION_SCORE_NETWORKS = "android.net.scoring.SCORE_NETWORKS";
9687    field @Deprecated public static final String EXTRA_NETWORKS_TO_SCORE = "networksToScore";
9688    field @Deprecated public static final String EXTRA_NEW_SCORER = "newScorer";
9689    field @Deprecated public static final String EXTRA_PACKAGE_NAME = "packageName";
9690    field @Deprecated public static final int SCORE_FILTER_CURRENT_NETWORK = 1; // 0x1
9691    field @Deprecated public static final int SCORE_FILTER_NONE = 0; // 0x0
9692    field @Deprecated public static final int SCORE_FILTER_SCAN_RESULTS = 2; // 0x2
9693  }
9694
9695  @Deprecated public abstract static class NetworkScoreManager.NetworkScoreCallback {
9696    ctor @Deprecated public NetworkScoreManager.NetworkScoreCallback();
9697    method @Deprecated public abstract void onScoresInvalidated();
9698    method @Deprecated public abstract void onScoresUpdated(@NonNull java.util.Collection<android.net.ScoredNetwork>);
9699  }
9700
9701  public abstract class NetworkSpecifier {
9702    method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkSpecifier);
9703    method @Nullable public android.net.NetworkSpecifier redact();
9704  }
9705
9706  public class NetworkStack {
9707    method @Nullable public static android.os.IBinder getService();
9708    field public static final String PERMISSION_MAINLINE_NETWORK_STACK = "android.permission.MAINLINE_NETWORK_STACK";
9709  }
9710
9711  @Deprecated public class RssiCurve implements android.os.Parcelable {
9712    ctor @Deprecated public RssiCurve(int, int, byte[]);
9713    ctor @Deprecated public RssiCurve(int, int, byte[], int);
9714    method @Deprecated public int describeContents();
9715    method @Deprecated public byte lookupScore(int);
9716    method @Deprecated public byte lookupScore(int, boolean);
9717    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9718    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.net.RssiCurve> CREATOR;
9719    field @Deprecated public final int activeNetworkRssiBoost;
9720    field @Deprecated public final int bucketWidth;
9721    field @Deprecated public final byte[] rssiBuckets;
9722    field @Deprecated public final int start;
9723  }
9724
9725  @Deprecated public class ScoredNetwork implements android.os.Parcelable {
9726    ctor @Deprecated public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve);
9727    ctor @Deprecated public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve, boolean);
9728    ctor @Deprecated public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve, boolean, @Nullable android.os.Bundle);
9729    method @Deprecated public int calculateBadge(int);
9730    method @Deprecated public int describeContents();
9731    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9732    field @Deprecated public static final String ATTRIBUTES_KEY_BADGING_CURVE = "android.net.attributes.key.BADGING_CURVE";
9733    field @Deprecated public static final String ATTRIBUTES_KEY_HAS_CAPTIVE_PORTAL = "android.net.attributes.key.HAS_CAPTIVE_PORTAL";
9734    field @Deprecated public static final String ATTRIBUTES_KEY_RANKING_SCORE_OFFSET = "android.net.attributes.key.RANKING_SCORE_OFFSET";
9735    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.net.ScoredNetwork> CREATOR;
9736    field @Deprecated @Nullable public final android.os.Bundle attributes;
9737    field @Deprecated public final boolean meteredHint;
9738    field @Deprecated public final android.net.NetworkKey networkKey;
9739    field @Deprecated public final android.net.RssiCurve rssiCurve;
9740  }
9741
9742  public abstract class Uri implements java.lang.Comparable<android.net.Uri> android.os.Parcelable {
9743    method @NonNull public String toSafeString();
9744  }
9745
9746  public class VpnService extends android.app.Service {
9747    method @RequiresPermission(android.Manifest.permission.CONTROL_VPN) public static void prepareAndAuthorize(android.content.Context);
9748  }
9749
9750  public class WebAddress {
9751    ctor public WebAddress(String) throws android.net.ParseException;
9752  }
9753
9754  @Deprecated public class WifiKey implements android.os.Parcelable {
9755    ctor @Deprecated public WifiKey(String, String);
9756    method @Deprecated public int describeContents();
9757    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9758    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.net.WifiKey> CREATOR;
9759    field @Deprecated public final String bssid;
9760    field @Deprecated public final String ssid;
9761  }
9762
9763}
9764
9765package android.net.metrics {
9766
9767  @Deprecated public final class ApfProgramEvent implements android.net.metrics.IpConnectivityLog.Event {
9768    method @Deprecated public int describeContents();
9769    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9770  }
9771
9772  @Deprecated public static final class ApfProgramEvent.Builder {
9773    ctor @Deprecated public ApfProgramEvent.Builder();
9774    method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent build();
9775    method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent.Builder setActualLifetime(long);
9776    method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent.Builder setCurrentRas(int);
9777    method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent.Builder setFilteredRas(int);
9778    method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent.Builder setFlags(boolean, boolean);
9779    method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent.Builder setLifetime(long);
9780    method @Deprecated @NonNull public android.net.metrics.ApfProgramEvent.Builder setProgramLength(int);
9781  }
9782
9783  @Deprecated public final class ApfStats implements android.net.metrics.IpConnectivityLog.Event {
9784    method @Deprecated public int describeContents();
9785    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9786  }
9787
9788  @Deprecated public static final class ApfStats.Builder {
9789    ctor @Deprecated public ApfStats.Builder();
9790    method @Deprecated @NonNull public android.net.metrics.ApfStats build();
9791    method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setDroppedRas(int);
9792    method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setDurationMs(long);
9793    method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setMatchingRas(int);
9794    method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setMaxProgramSize(int);
9795    method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setParseErrors(int);
9796    method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdates(int);
9797    method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdatesAll(int);
9798    method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdatesAllowingMulticast(int);
9799    method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setReceivedRas(int);
9800    method @Deprecated @NonNull public android.net.metrics.ApfStats.Builder setZeroLifetimeRas(int);
9801  }
9802
9803  @Deprecated public final class DhcpClientEvent implements android.net.metrics.IpConnectivityLog.Event {
9804    method @Deprecated public int describeContents();
9805    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9806  }
9807
9808  @Deprecated public static final class DhcpClientEvent.Builder {
9809    ctor @Deprecated public DhcpClientEvent.Builder();
9810    method @Deprecated @NonNull public android.net.metrics.DhcpClientEvent build();
9811    method @Deprecated @NonNull public android.net.metrics.DhcpClientEvent.Builder setDurationMs(int);
9812    method @Deprecated @NonNull public android.net.metrics.DhcpClientEvent.Builder setMsg(String);
9813  }
9814
9815  @Deprecated public final class DhcpErrorEvent implements android.net.metrics.IpConnectivityLog.Event {
9816    ctor @Deprecated public DhcpErrorEvent(int);
9817    method @Deprecated public int describeContents();
9818    method @Deprecated public static int errorCodeWithOption(int, int);
9819    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9820    field @Deprecated public static final int BOOTP_TOO_SHORT = 67174400; // 0x4010000
9821    field @Deprecated public static final int BUFFER_UNDERFLOW = 83951616; // 0x5010000
9822    field @Deprecated public static final int DHCP_BAD_MAGIC_COOKIE = 67239936; // 0x4020000
9823    field @Deprecated public static final int DHCP_ERROR = 4; // 0x4
9824    field @Deprecated public static final int DHCP_INVALID_OPTION_LENGTH = 67305472; // 0x4030000
9825    field @Deprecated public static final int DHCP_NO_COOKIE = 67502080; // 0x4060000
9826    field @Deprecated public static final int DHCP_NO_MSG_TYPE = 67371008; // 0x4040000
9827    field @Deprecated public static final int DHCP_UNKNOWN_MSG_TYPE = 67436544; // 0x4050000
9828    field @Deprecated public static final int L2_ERROR = 1; // 0x1
9829    field @Deprecated public static final int L2_TOO_SHORT = 16842752; // 0x1010000
9830    field @Deprecated public static final int L2_WRONG_ETH_TYPE = 16908288; // 0x1020000
9831    field @Deprecated public static final int L3_ERROR = 2; // 0x2
9832    field @Deprecated public static final int L3_INVALID_IP = 33751040; // 0x2030000
9833    field @Deprecated public static final int L3_NOT_IPV4 = 33685504; // 0x2020000
9834    field @Deprecated public static final int L3_TOO_SHORT = 33619968; // 0x2010000
9835    field @Deprecated public static final int L4_ERROR = 3; // 0x3
9836    field @Deprecated public static final int L4_NOT_UDP = 50397184; // 0x3010000
9837    field @Deprecated public static final int L4_WRONG_PORT = 50462720; // 0x3020000
9838    field @Deprecated public static final int MISC_ERROR = 5; // 0x5
9839    field @Deprecated public static final int PARSING_ERROR = 84082688; // 0x5030000
9840    field @Deprecated public static final int RECEIVE_ERROR = 84017152; // 0x5020000
9841  }
9842
9843  @Deprecated public class IpConnectivityLog {
9844    ctor @Deprecated public IpConnectivityLog();
9845    method @Deprecated public boolean log(long, @NonNull android.net.metrics.IpConnectivityLog.Event);
9846    method @Deprecated public boolean log(@NonNull String, @NonNull android.net.metrics.IpConnectivityLog.Event);
9847    method @Deprecated public boolean log(@NonNull android.net.Network, @NonNull int[], @NonNull android.net.metrics.IpConnectivityLog.Event);
9848    method @Deprecated public boolean log(int, @NonNull int[], @NonNull android.net.metrics.IpConnectivityLog.Event);
9849    method @Deprecated public boolean log(@NonNull android.net.metrics.IpConnectivityLog.Event);
9850  }
9851
9852  @Deprecated public static interface IpConnectivityLog.Event extends android.os.Parcelable {
9853  }
9854
9855  @Deprecated public final class IpManagerEvent implements android.net.metrics.IpConnectivityLog.Event {
9856    ctor @Deprecated public IpManagerEvent(int, long);
9857    method @Deprecated public int describeContents();
9858    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9859    field @Deprecated public static final int COMPLETE_LIFECYCLE = 3; // 0x3
9860    field @Deprecated public static final int ERROR_INTERFACE_NOT_FOUND = 8; // 0x8
9861    field @Deprecated public static final int ERROR_INVALID_PROVISIONING = 7; // 0x7
9862    field @Deprecated public static final int ERROR_STARTING_IPREACHABILITYMONITOR = 6; // 0x6
9863    field @Deprecated public static final int ERROR_STARTING_IPV4 = 4; // 0x4
9864    field @Deprecated public static final int ERROR_STARTING_IPV6 = 5; // 0x5
9865    field @Deprecated public static final int PROVISIONING_FAIL = 2; // 0x2
9866    field @Deprecated public static final int PROVISIONING_OK = 1; // 0x1
9867  }
9868
9869  @Deprecated public final class IpReachabilityEvent implements android.net.metrics.IpConnectivityLog.Event {
9870    ctor @Deprecated public IpReachabilityEvent(int);
9871    method @Deprecated public int describeContents();
9872    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9873    field @Deprecated public static final int NUD_FAILED = 512; // 0x200
9874    field @Deprecated public static final int NUD_FAILED_ORGANIC = 1024; // 0x400
9875    field @Deprecated public static final int PROBE = 256; // 0x100
9876    field @Deprecated public static final int PROVISIONING_LOST = 768; // 0x300
9877    field @Deprecated public static final int PROVISIONING_LOST_ORGANIC = 1280; // 0x500
9878  }
9879
9880  @Deprecated public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event {
9881    ctor @Deprecated public NetworkEvent(int, long);
9882    ctor @Deprecated public NetworkEvent(int);
9883    method @Deprecated public int describeContents();
9884    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9885    field @Deprecated public static final int NETWORK_CAPTIVE_PORTAL_FOUND = 4; // 0x4
9886    field @Deprecated public static final int NETWORK_CONNECTED = 1; // 0x1
9887    field @Deprecated public static final int NETWORK_CONSECUTIVE_DNS_TIMEOUT_FOUND = 12; // 0xc
9888    field @Deprecated public static final int NETWORK_DISCONNECTED = 7; // 0x7
9889    field @Deprecated public static final int NETWORK_FIRST_VALIDATION_PORTAL_FOUND = 10; // 0xa
9890    field @Deprecated public static final int NETWORK_FIRST_VALIDATION_SUCCESS = 8; // 0x8
9891    field @Deprecated public static final int NETWORK_LINGER = 5; // 0x5
9892    field @Deprecated public static final int NETWORK_PARTIAL_CONNECTIVITY = 13; // 0xd
9893    field @Deprecated public static final int NETWORK_REVALIDATION_PORTAL_FOUND = 11; // 0xb
9894    field @Deprecated public static final int NETWORK_REVALIDATION_SUCCESS = 9; // 0x9
9895    field @Deprecated public static final int NETWORK_UNLINGER = 6; // 0x6
9896    field @Deprecated public static final int NETWORK_VALIDATED = 2; // 0x2
9897    field @Deprecated public static final int NETWORK_VALIDATION_FAILED = 3; // 0x3
9898  }
9899
9900  @Deprecated public final class RaEvent implements android.net.metrics.IpConnectivityLog.Event {
9901    method @Deprecated public int describeContents();
9902    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9903  }
9904
9905  @Deprecated public static final class RaEvent.Builder {
9906    ctor @Deprecated public RaEvent.Builder();
9907    method @Deprecated @NonNull public android.net.metrics.RaEvent build();
9908    method @Deprecated @NonNull public android.net.metrics.RaEvent.Builder updateDnsslLifetime(long);
9909    method @Deprecated @NonNull public android.net.metrics.RaEvent.Builder updatePrefixPreferredLifetime(long);
9910    method @Deprecated @NonNull public android.net.metrics.RaEvent.Builder updatePrefixValidLifetime(long);
9911    method @Deprecated @NonNull public android.net.metrics.RaEvent.Builder updateRdnssLifetime(long);
9912    method @Deprecated @NonNull public android.net.metrics.RaEvent.Builder updateRouteInfoLifetime(long);
9913    method @Deprecated @NonNull public android.net.metrics.RaEvent.Builder updateRouterLifetime(long);
9914  }
9915
9916  @Deprecated public final class ValidationProbeEvent implements android.net.metrics.IpConnectivityLog.Event {
9917    method @Deprecated public int describeContents();
9918    method @Deprecated @NonNull public static String getProbeName(int);
9919    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9920    field @Deprecated public static final int DNS_FAILURE = 0; // 0x0
9921    field @Deprecated public static final int DNS_SUCCESS = 1; // 0x1
9922    field @Deprecated public static final int PROBE_DNS = 0; // 0x0
9923    field @Deprecated public static final int PROBE_FALLBACK = 4; // 0x4
9924    field @Deprecated public static final int PROBE_HTTP = 1; // 0x1
9925    field @Deprecated public static final int PROBE_HTTPS = 2; // 0x2
9926    field @Deprecated public static final int PROBE_PAC = 3; // 0x3
9927    field @Deprecated public static final int PROBE_PRIVDNS = 5; // 0x5
9928  }
9929
9930  @Deprecated public static final class ValidationProbeEvent.Builder {
9931    ctor @Deprecated public ValidationProbeEvent.Builder();
9932    method @Deprecated @NonNull public android.net.metrics.ValidationProbeEvent build();
9933    method @Deprecated @NonNull public android.net.metrics.ValidationProbeEvent.Builder setDurationMs(long);
9934    method @Deprecated @NonNull public android.net.metrics.ValidationProbeEvent.Builder setProbeType(int, boolean);
9935    method @Deprecated @NonNull public android.net.metrics.ValidationProbeEvent.Builder setReturnCode(int);
9936  }
9937
9938}
9939
9940package android.net.sip {
9941
9942  @Deprecated public class SipAudioCall {
9943    method @Deprecated @Nullable public android.net.rtp.AudioGroup getAudioGroup();
9944    method @Deprecated public void setAudioGroup(@NonNull android.net.rtp.AudioGroup);
9945  }
9946
9947  @Deprecated public class SipManager {
9948    method @Deprecated @NonNull public java.util.List<android.net.sip.SipProfile> getProfiles() throws android.net.sip.SipException;
9949    field @Deprecated public static final String ACTION_SIP_CALL_OPTION_CHANGED = "android.net.sip.action.SIP_CALL_OPTION_CHANGED";
9950    field @Deprecated public static final String ACTION_SIP_INCOMING_CALL = "android.net.sip.action.SIP_INCOMING_CALL";
9951    field @Deprecated public static final String ACTION_SIP_REMOVE_PROFILE = "android.net.sip.action.SIP_REMOVE_PROFILE";
9952    field @Deprecated public static final String ACTION_SIP_SERVICE_UP = "android.net.sip.action.SIP_SERVICE_UP";
9953    field @Deprecated public static final String ACTION_START_SIP = "android.net.sip.action.START_SIP";
9954  }
9955
9956  @Deprecated public class SipProfile implements java.lang.Cloneable android.os.Parcelable java.io.Serializable {
9957    method @Deprecated public int getCallingUid();
9958  }
9959
9960}
9961
9962package android.net.util {
9963
9964  public final class SocketUtils {
9965    method public static void bindSocketToInterface(@NonNull java.io.FileDescriptor, @NonNull String) throws android.system.ErrnoException;
9966    method public static void closeSocket(@Nullable java.io.FileDescriptor) throws java.io.IOException;
9967    method @NonNull public static java.net.SocketAddress makeNetlinkSocketAddress(int, int);
9968    method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int);
9969    method @Deprecated @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, @NonNull byte[]);
9970    method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int, @NonNull byte[]);
9971  }
9972
9973}
9974
9975package android.net.vcn {
9976
9977  public class VcnManager {
9978    method @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public void addVcnNetworkPolicyChangeListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.vcn.VcnManager.VcnNetworkPolicyChangeListener);
9979    method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.vcn.VcnNetworkPolicyResult applyVcnNetworkPolicy(@NonNull android.net.NetworkCapabilities, @NonNull android.net.LinkProperties);
9980    method @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public void removeVcnNetworkPolicyChangeListener(@NonNull android.net.vcn.VcnManager.VcnNetworkPolicyChangeListener);
9981  }
9982
9983  public static interface VcnManager.VcnNetworkPolicyChangeListener {
9984    method public void onPolicyChanged();
9985  }
9986
9987  public final class VcnNetworkPolicyResult implements android.os.Parcelable {
9988    method public int describeContents();
9989    method @NonNull public android.net.NetworkCapabilities getNetworkCapabilities();
9990    method public boolean isTeardownRequested();
9991    method public void writeToParcel(@NonNull android.os.Parcel, int);
9992    field @NonNull public static final android.os.Parcelable.Creator<android.net.vcn.VcnNetworkPolicyResult> CREATOR;
9993  }
9994
9995}
9996
9997package android.net.wifi {
9998
9999  public final class WifiKeystore {
10000    method @NonNull public static byte[] get(@NonNull String);
10001    method @NonNull public static String[] list(@NonNull String);
10002    method public static boolean put(@NonNull String, @NonNull byte[]);
10003    method public static boolean remove(@NonNull String);
10004  }
10005
10006  public final class WifiMigration {
10007    method @Nullable public static java.io.InputStream convertAndRetrieveSharedConfigStoreFile(int);
10008    method @Nullable public static java.io.InputStream convertAndRetrieveUserConfigStoreFile(int, @NonNull android.os.UserHandle);
10009    method @NonNull public static android.net.wifi.WifiMigration.SettingsMigrationData loadFromSettings(@NonNull android.content.Context);
10010    method public static void removeSharedConfigStoreFile(int);
10011    method public static void removeUserConfigStoreFile(int, @NonNull android.os.UserHandle);
10012    field public static final int STORE_FILE_SHARED_GENERAL = 0; // 0x0
10013    field public static final int STORE_FILE_SHARED_SOFTAP = 1; // 0x1
10014    field public static final int STORE_FILE_USER_GENERAL = 2; // 0x2
10015    field public static final int STORE_FILE_USER_NETWORK_SUGGESTIONS = 3; // 0x3
10016  }
10017
10018  public static final class WifiMigration.SettingsMigrationData implements android.os.Parcelable {
10019    method public int describeContents();
10020    method @Nullable public String getP2pDeviceName();
10021    method public boolean isP2pFactoryResetPending();
10022    method public boolean isScanAlwaysAvailable();
10023    method public boolean isScanThrottleEnabled();
10024    method public boolean isSoftApTimeoutEnabled();
10025    method public boolean isVerboseLoggingEnabled();
10026    method public boolean isWakeUpEnabled();
10027    method public void writeToParcel(@NonNull android.os.Parcel, int);
10028    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.WifiMigration.SettingsMigrationData> CREATOR;
10029  }
10030
10031  public static final class WifiMigration.SettingsMigrationData.Builder {
10032    ctor public WifiMigration.SettingsMigrationData.Builder();
10033    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData build();
10034    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setP2pDeviceName(@Nullable String);
10035    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setP2pFactoryResetPending(boolean);
10036    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setScanAlwaysAvailable(boolean);
10037    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setScanThrottleEnabled(boolean);
10038    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setSoftApTimeoutEnabled(boolean);
10039    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setVerboseLoggingEnabled(boolean);
10040    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setWakeUpEnabled(boolean);
10041  }
10042
10043}
10044
10045package android.net.wifi.nl80211 {
10046
10047  public final class DeviceWiphyCapabilities implements android.os.Parcelable {
10048    ctor public DeviceWiphyCapabilities();
10049    method public int describeContents();
10050    method @FlaggedApi("android.net.wifi.flags.get_device_cross_akm_roaming_support") public int getMaxNumberAkms();
10051    method public int getMaxNumberRxSpatialStreams();
10052    method public int getMaxNumberTxSpatialStreams();
10053    method public boolean isChannelWidthSupported(int);
10054    method public boolean isWifiStandardSupported(int);
10055    method public void setWifiStandardSupport(int, boolean);
10056    method public void writeToParcel(@NonNull android.os.Parcel, int);
10057    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.DeviceWiphyCapabilities> CREATOR;
10058  }
10059
10060  public final class NativeScanResult implements android.os.Parcelable {
10061    ctor public NativeScanResult();
10062    method public int describeContents();
10063    method @Nullable public android.net.MacAddress getBssid();
10064    method public int getCapabilities();
10065    method public int getFrequencyMhz();
10066    method @NonNull public byte[] getInformationElements();
10067    method @NonNull public java.util.List<android.net.wifi.nl80211.RadioChainInfo> getRadioChainInfos();
10068    method public int getSignalMbm();
10069    method @NonNull public byte[] getSsid();
10070    method public long getTsf();
10071    method public boolean isAssociated();
10072    method public void writeToParcel(@NonNull android.os.Parcel, int);
10073    field public static final int BSS_CAPABILITY_APSD = 2048; // 0x800
10074    field public static final int BSS_CAPABILITY_CF_POLLABLE = 4; // 0x4
10075    field public static final int BSS_CAPABILITY_CF_POLL_REQUEST = 8; // 0x8
10076    field public static final int BSS_CAPABILITY_CHANNEL_AGILITY = 128; // 0x80
10077    field public static final int BSS_CAPABILITY_DELAYED_BLOCK_ACK = 16384; // 0x4000
10078    field public static final int BSS_CAPABILITY_DMG_ESS = 3; // 0x3
10079    field public static final int BSS_CAPABILITY_DMG_IBSS = 1; // 0x1
10080    field public static final int BSS_CAPABILITY_DSSS_OFDM = 8192; // 0x2000
10081    field public static final int BSS_CAPABILITY_ESS = 1; // 0x1
10082    field public static final int BSS_CAPABILITY_IBSS = 2; // 0x2
10083    field public static final int BSS_CAPABILITY_IMMEDIATE_BLOCK_ACK = 32768; // 0x8000
10084    field public static final int BSS_CAPABILITY_PBCC = 64; // 0x40
10085    field public static final int BSS_CAPABILITY_PRIVACY = 16; // 0x10
10086    field public static final int BSS_CAPABILITY_QOS = 512; // 0x200
10087    field public static final int BSS_CAPABILITY_RADIO_MANAGEMENT = 4096; // 0x1000
10088    field public static final int BSS_CAPABILITY_SHORT_PREAMBLE = 32; // 0x20
10089    field public static final int BSS_CAPABILITY_SHORT_SLOT_TIME = 1024; // 0x400
10090    field public static final int BSS_CAPABILITY_SPECTRUM_MANAGEMENT = 256; // 0x100
10091    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.NativeScanResult> CREATOR;
10092  }
10093
10094  public final class NativeWifiClient implements android.os.Parcelable {
10095    ctor public NativeWifiClient(@Nullable android.net.MacAddress);
10096    method public int describeContents();
10097    method @Nullable public android.net.MacAddress getMacAddress();
10098    method public void writeToParcel(@NonNull android.os.Parcel, int);
10099    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.NativeWifiClient> CREATOR;
10100  }
10101
10102  public final class PnoNetwork implements android.os.Parcelable {
10103    ctor public PnoNetwork();
10104    method public int describeContents();
10105    method @NonNull public int[] getFrequenciesMhz();
10106    method @NonNull public byte[] getSsid();
10107    method public boolean isHidden();
10108    method public void setFrequenciesMhz(@NonNull int[]);
10109    method public void setHidden(boolean);
10110    method public void setSsid(@NonNull byte[]);
10111    method public void writeToParcel(@NonNull android.os.Parcel, int);
10112    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.PnoNetwork> CREATOR;
10113  }
10114
10115  public final class PnoSettings implements android.os.Parcelable {
10116    ctor public PnoSettings();
10117    method public int describeContents();
10118    method public long getIntervalMillis();
10119    method public int getMin2gRssiDbm();
10120    method public int getMin5gRssiDbm();
10121    method public int getMin6gRssiDbm();
10122    method @NonNull public java.util.List<android.net.wifi.nl80211.PnoNetwork> getPnoNetworks();
10123    method public int getScanIntervalMultiplier();
10124    method public int getScanIterations();
10125    method public void setIntervalMillis(long);
10126    method public void setMin2gRssiDbm(int);
10127    method public void setMin5gRssiDbm(int);
10128    method public void setMin6gRssiDbm(int);
10129    method public void setPnoNetworks(@NonNull java.util.List<android.net.wifi.nl80211.PnoNetwork>);
10130    method public void setScanIntervalMultiplier(int);
10131    method public void setScanIterations(int);
10132    method public void writeToParcel(@NonNull android.os.Parcel, int);
10133    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.PnoSettings> CREATOR;
10134  }
10135
10136  public final class RadioChainInfo implements android.os.Parcelable {
10137    ctor public RadioChainInfo(int, int);
10138    method public int describeContents();
10139    method public int getChainId();
10140    method public int getLevelDbm();
10141    method public void writeToParcel(@NonNull android.os.Parcel, int);
10142    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.RadioChainInfo> CREATOR;
10143  }
10144
10145  public class WifiNl80211Manager {
10146    ctor public WifiNl80211Manager(@NonNull android.content.Context, @NonNull android.os.IBinder);
10147    method public void abortScan(@NonNull String);
10148    method public void enableVerboseLogging(boolean);
10149    method @NonNull public int[] getChannelsMhzForBand(int);
10150    method @Nullable public android.net.wifi.nl80211.DeviceWiphyCapabilities getDeviceWiphyCapabilities(@NonNull String);
10151    method public int getMaxSsidsPerScan(@NonNull String);
10152    method @NonNull public java.util.List<android.net.wifi.nl80211.NativeScanResult> getScanResults(@NonNull String, int);
10153    method @Nullable public android.net.wifi.nl80211.WifiNl80211Manager.TxPacketCounters getTxPacketCounters(@NonNull String);
10154    method public void notifyCountryCodeChanged(@Nullable String);
10155    method @Nullable public static android.net.wifi.nl80211.WifiNl80211Manager.OemSecurityType parseOemSecurityTypeElement(int, int, @NonNull byte[]);
10156    method @Deprecated public boolean registerApCallback(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.SoftApCallback);
10157    method public boolean registerCountryCodeChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.CountryCodeChangedListener);
10158    method public void sendMgmtFrame(@NonNull String, @NonNull byte[], int, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.SendMgmtFrameCallback);
10159    method public void setOnServiceDeadCallback(@NonNull Runnable);
10160    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);
10161    method public boolean setupInterfaceForSoftApMode(@NonNull String);
10162    method @Deprecated @Nullable public android.net.wifi.nl80211.WifiNl80211Manager.SignalPollResult signalPoll(@NonNull String);
10163    method public boolean startPnoScan(@NonNull String, @NonNull android.net.wifi.nl80211.PnoSettings, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.PnoScanRequestCallback);
10164    method @Deprecated public boolean startScan(@NonNull String, int, @Nullable java.util.Set<java.lang.Integer>, @Nullable java.util.List<byte[]>);
10165    method @Deprecated public boolean startScan(@NonNull String, int, @Nullable java.util.Set<java.lang.Integer>, @Nullable java.util.List<byte[]>, @Nullable android.os.Bundle);
10166    method public int startScan2(@NonNull String, int, @Nullable java.util.Set<java.lang.Integer>, @Nullable java.util.List<byte[]>, @Nullable android.os.Bundle);
10167    method public boolean stopPnoScan(@NonNull String);
10168    method public boolean tearDownClientInterface(@NonNull String);
10169    method public boolean tearDownInterfaces();
10170    method public boolean tearDownSoftApInterface(@NonNull String);
10171    method public void unregisterCountryCodeChangedListener(@NonNull android.net.wifi.nl80211.WifiNl80211Manager.CountryCodeChangedListener);
10172    field public static final String EXTRA_SCANNING_PARAM_VENDOR_IES = "android.net.wifi.nl80211.extra.SCANNING_PARAM_VENDOR_IES";
10173    field public static final String SCANNING_PARAM_ENABLE_6GHZ_RNR = "android.net.wifi.nl80211.SCANNING_PARAM_ENABLE_6GHZ_RNR";
10174    field public static final int SCAN_TYPE_PNO_SCAN = 1; // 0x1
10175    field public static final int SCAN_TYPE_SINGLE_SCAN = 0; // 0x0
10176    field public static final int SEND_MGMT_FRAME_ERROR_ALREADY_STARTED = 5; // 0x5
10177    field public static final int SEND_MGMT_FRAME_ERROR_MCS_UNSUPPORTED = 2; // 0x2
10178    field public static final int SEND_MGMT_FRAME_ERROR_NO_ACK = 3; // 0x3
10179    field public static final int SEND_MGMT_FRAME_ERROR_TIMEOUT = 4; // 0x4
10180    field public static final int SEND_MGMT_FRAME_ERROR_UNKNOWN = 1; // 0x1
10181  }
10182
10183  public static interface WifiNl80211Manager.CountryCodeChangedListener {
10184    method public void onCountryCodeChanged(@NonNull String);
10185  }
10186
10187  public static class WifiNl80211Manager.OemSecurityType {
10188    ctor public WifiNl80211Manager.OemSecurityType(int, @NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<java.lang.Integer>, int);
10189    field public final int groupCipher;
10190    field @NonNull public final java.util.List<java.lang.Integer> keyManagement;
10191    field @NonNull public final java.util.List<java.lang.Integer> pairwiseCipher;
10192    field public final int protocol;
10193  }
10194
10195  public static interface WifiNl80211Manager.PnoScanRequestCallback {
10196    method public void onPnoRequestFailed();
10197    method public void onPnoRequestSucceeded();
10198  }
10199
10200  public static interface WifiNl80211Manager.ScanEventCallback {
10201    method @Deprecated public void onScanFailed();
10202    method public default void onScanFailed(int);
10203    method public void onScanResultReady();
10204  }
10205
10206  public static interface WifiNl80211Manager.SendMgmtFrameCallback {
10207    method public void onAck(int);
10208    method public void onFailure(int);
10209  }
10210
10211  @Deprecated public static class WifiNl80211Manager.SignalPollResult {
10212    field @Deprecated public final int associationFrequencyMHz;
10213    field @Deprecated public final int currentRssiDbm;
10214    field @Deprecated public final int rxBitrateMbps;
10215    field @Deprecated public final int txBitrateMbps;
10216  }
10217
10218  @Deprecated public static interface WifiNl80211Manager.SoftApCallback {
10219    method @Deprecated public void onConnectedClientsChanged(@NonNull android.net.wifi.nl80211.NativeWifiClient, boolean);
10220    method @Deprecated public void onFailure();
10221    method @Deprecated public void onSoftApChannelSwitched(int, int);
10222  }
10223
10224  public static class WifiNl80211Manager.TxPacketCounters {
10225    field public final int txPacketFailed;
10226    field public final int txPacketSucceeded;
10227  }
10228
10229}
10230
10231package android.net.wifi.sharedconnectivity.app {
10232
10233  public final class HotspotNetwork implements android.os.Parcelable {
10234    method public int describeContents();
10235    method public long getDeviceId();
10236    method @NonNull public android.os.Bundle getExtras();
10237    method public int getHostNetworkType();
10238    method @Nullable public String getHotspotBssid();
10239    method @NonNull public java.util.Set<java.lang.Integer> getHotspotSecurityTypes();
10240    method @Nullable public String getHotspotSsid();
10241    method @NonNull public String getNetworkName();
10242    method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo getNetworkProviderInfo();
10243    method public void writeToParcel(@NonNull android.os.Parcel, int);
10244    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.sharedconnectivity.app.HotspotNetwork> CREATOR;
10245    field public static final int NETWORK_TYPE_CELLULAR = 1; // 0x1
10246    field public static final int NETWORK_TYPE_ETHERNET = 3; // 0x3
10247    field public static final int NETWORK_TYPE_UNKNOWN = 0; // 0x0
10248    field public static final int NETWORK_TYPE_WIFI = 2; // 0x2
10249  }
10250
10251  public static final class HotspotNetwork.Builder {
10252    ctor public HotspotNetwork.Builder();
10253    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder addHotspotSecurityType(int);
10254    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork build();
10255    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setDeviceId(long);
10256    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setExtras(@NonNull android.os.Bundle);
10257    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setHostNetworkType(int);
10258    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setHotspotBssid(@NonNull String);
10259    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setHotspotSsid(@NonNull String);
10260    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setNetworkName(@NonNull String);
10261    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setNetworkProviderInfo(@NonNull android.net.wifi.sharedconnectivity.app.NetworkProviderInfo);
10262  }
10263
10264  public final class HotspotNetworkConnectionStatus implements android.os.Parcelable {
10265    method public int describeContents();
10266    method @NonNull public android.os.Bundle getExtras();
10267    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork getHotspotNetwork();
10268    method public int getStatus();
10269    method public void writeToParcel(@NonNull android.os.Parcel, int);
10270    field public static final int CONNECTION_STATUS_CONNECT_TO_HOTSPOT_FAILED = 9; // 0x9
10271    field public static final int CONNECTION_STATUS_ENABLING_HOTSPOT = 1; // 0x1
10272    field public static final int CONNECTION_STATUS_ENABLING_HOTSPOT_FAILED = 7; // 0x7
10273    field public static final int CONNECTION_STATUS_ENABLING_HOTSPOT_TIMEOUT = 8; // 0x8
10274    field public static final int CONNECTION_STATUS_NO_CELL_DATA = 6; // 0x6
10275    field public static final int CONNECTION_STATUS_PROVISIONING_FAILED = 3; // 0x3
10276    field public static final int CONNECTION_STATUS_TETHERING_TIMEOUT = 4; // 0x4
10277    field public static final int CONNECTION_STATUS_TETHERING_UNSUPPORTED = 5; // 0x5
10278    field public static final int CONNECTION_STATUS_UNKNOWN = 0; // 0x0
10279    field public static final int CONNECTION_STATUS_UNKNOWN_ERROR = 2; // 0x2
10280    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus> CREATOR;
10281  }
10282
10283  public static final class HotspotNetworkConnectionStatus.Builder {
10284    ctor public HotspotNetworkConnectionStatus.Builder();
10285    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus build();
10286    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus.Builder setExtras(@NonNull android.os.Bundle);
10287    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus.Builder setHotspotNetwork(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetwork);
10288    method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus.Builder setStatus(int);
10289  }
10290
10291  public final class KnownNetwork implements android.os.Parcelable {
10292    method public int describeContents();
10293    method @NonNull public android.os.Bundle getExtras();
10294    method @Nullable public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo getNetworkProviderInfo();
10295    method public int getNetworkSource();
10296    method @NonNull public java.util.Set<java.lang.Integer> getSecurityTypes();
10297    method @NonNull public String getSsid();
10298    method public void writeToParcel(@NonNull android.os.Parcel, int);
10299    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.sharedconnectivity.app.KnownNetwork> CREATOR;
10300    field public static final int NETWORK_SOURCE_CLOUD_SELF = 2; // 0x2
10301    field public static final int NETWORK_SOURCE_NEARBY_SELF = 1; // 0x1
10302    field public static final int NETWORK_SOURCE_UNKNOWN = 0; // 0x0
10303  }
10304
10305  public static final class KnownNetwork.Builder {
10306    ctor public KnownNetwork.Builder();
10307    method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork.Builder addSecurityType(int);
10308    method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork build();
10309    method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork.Builder setExtras(@NonNull android.os.Bundle);
10310    method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork.Builder setNetworkProviderInfo(@Nullable android.net.wifi.sharedconnectivity.app.NetworkProviderInfo);
10311    method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork.Builder setNetworkSource(int);
10312    method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork.Builder setSsid(@NonNull String);
10313  }
10314
10315  public final class KnownNetworkConnectionStatus implements android.os.Parcelable {
10316    method public int describeContents();
10317    method @NonNull public android.os.Bundle getExtras();
10318    method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetwork getKnownNetwork();
10319    method public int getStatus();
10320    method public void writeToParcel(@NonNull android.os.Parcel, int);
10321    field public static final int CONNECTION_STATUS_SAVED = 1; // 0x1
10322    field public static final int CONNECTION_STATUS_SAVE_FAILED = 2; // 0x2
10323    field public static final int CONNECTION_STATUS_UNKNOWN = 0; // 0x0
10324    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus> CREATOR;
10325  }
10326
10327  public static final class KnownNetworkConnectionStatus.Builder {
10328    ctor public KnownNetworkConnectionStatus.Builder();
10329    method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus build();
10330    method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus.Builder setExtras(@NonNull android.os.Bundle);
10331    method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus.Builder setKnownNetwork(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetwork);
10332    method @NonNull public android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus.Builder setStatus(int);
10333  }
10334
10335  public final class NetworkProviderInfo implements android.os.Parcelable {
10336    method public int describeContents();
10337    method @IntRange(from=0, to=100) public int getBatteryPercentage();
10338    method @IntRange(from=0, to=4) public int getConnectionStrength();
10339    method @NonNull public String getDeviceName();
10340    method public int getDeviceType();
10341    method @NonNull public android.os.Bundle getExtras();
10342    method @NonNull public String getModelName();
10343    method @FlaggedApi("com.android.wifi.flags.network_provider_battery_charging_status") public boolean isBatteryCharging();
10344    method public void writeToParcel(@NonNull android.os.Parcel, int);
10345    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.sharedconnectivity.app.NetworkProviderInfo> CREATOR;
10346    field public static final int DEVICE_TYPE_AUTO = 5; // 0x5
10347    field public static final int DEVICE_TYPE_LAPTOP = 3; // 0x3
10348    field public static final int DEVICE_TYPE_PHONE = 1; // 0x1
10349    field public static final int DEVICE_TYPE_TABLET = 2; // 0x2
10350    field public static final int DEVICE_TYPE_UNKNOWN = 0; // 0x0
10351    field public static final int DEVICE_TYPE_WATCH = 4; // 0x4
10352  }
10353
10354  public static final class NetworkProviderInfo.Builder {
10355    ctor public NetworkProviderInfo.Builder(@NonNull String, @NonNull String);
10356    method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo build();
10357    method @FlaggedApi("com.android.wifi.flags.network_provider_battery_charging_status") @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setBatteryCharging(boolean);
10358    method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setBatteryPercentage(@IntRange(from=0, to=100) int);
10359    method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setConnectionStrength(@IntRange(from=0, to=4) int);
10360    method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setDeviceName(@NonNull String);
10361    method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setDeviceType(int);
10362    method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setExtras(@NonNull android.os.Bundle);
10363    method @NonNull public android.net.wifi.sharedconnectivity.app.NetworkProviderInfo.Builder setModelName(@NonNull String);
10364  }
10365
10366  public interface SharedConnectivityClientCallback {
10367    method public void onHotspotNetworkConnectionStatusChanged(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus);
10368    method public void onHotspotNetworksUpdated(@NonNull java.util.List<android.net.wifi.sharedconnectivity.app.HotspotNetwork>);
10369    method public void onKnownNetworkConnectionStatusChanged(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus);
10370    method public void onKnownNetworksUpdated(@NonNull java.util.List<android.net.wifi.sharedconnectivity.app.KnownNetwork>);
10371    method public void onRegisterCallbackFailed(@NonNull Exception);
10372    method public void onServiceConnected();
10373    method public void onServiceDisconnected();
10374    method public void onSharedConnectivitySettingsChanged(@NonNull android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState);
10375  }
10376
10377  public class SharedConnectivityManager {
10378    method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public boolean connectHotspotNetwork(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetwork);
10379    method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public boolean connectKnownNetwork(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetwork);
10380    method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public boolean disconnectHotspotNetwork(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetwork);
10381    method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public boolean forgetKnownNetwork(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetwork);
10382    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus getHotspotNetworkConnectionStatus();
10383    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public java.util.List<android.net.wifi.sharedconnectivity.app.HotspotNetwork> getHotspotNetworks();
10384    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus getKnownNetworkConnectionStatus();
10385    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public java.util.List<android.net.wifi.sharedconnectivity.app.KnownNetwork> getKnownNetworks();
10386    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState getSettingsState();
10387    method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void registerCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.sharedconnectivity.app.SharedConnectivityClientCallback);
10388    method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public boolean unregisterCallback(@NonNull android.net.wifi.sharedconnectivity.app.SharedConnectivityClientCallback);
10389  }
10390
10391  public final class SharedConnectivitySettingsState implements android.os.Parcelable {
10392    method public int describeContents();
10393    method @NonNull public android.os.Bundle getExtras();
10394    method @Nullable public android.app.PendingIntent getInstantTetherSettingsPendingIntent();
10395    method public boolean isInstantTetherEnabled();
10396    method public void writeToParcel(@NonNull android.os.Parcel, int);
10397    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState> CREATOR;
10398  }
10399
10400  public static final class SharedConnectivitySettingsState.Builder {
10401    ctor public SharedConnectivitySettingsState.Builder();
10402    method @NonNull public android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState build();
10403    method @NonNull public android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState.Builder setExtras(@NonNull android.os.Bundle);
10404    method @NonNull public android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState.Builder setInstantTetherEnabled(boolean);
10405    method @NonNull public android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState.Builder setInstantTetherSettingsPendingIntent(@NonNull android.app.PendingIntent);
10406  }
10407
10408}
10409
10410package android.net.wifi.sharedconnectivity.service {
10411
10412  public abstract class SharedConnectivityService extends android.app.Service {
10413    ctor public SharedConnectivityService();
10414    method public static boolean areHotspotNetworksEnabledForService(@NonNull android.content.Context);
10415    method public static boolean areKnownNetworksEnabledForService(@NonNull android.content.Context);
10416    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
10417    method public abstract void onConnectHotspotNetwork(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetwork);
10418    method public abstract void onConnectKnownNetwork(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetwork);
10419    method public abstract void onDisconnectHotspotNetwork(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetwork);
10420    method public abstract void onForgetKnownNetwork(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetwork);
10421    method public final void setHotspotNetworks(@NonNull java.util.List<android.net.wifi.sharedconnectivity.app.HotspotNetwork>);
10422    method public final void setKnownNetworks(@NonNull java.util.List<android.net.wifi.sharedconnectivity.app.KnownNetwork>);
10423    method public final void setSettingsState(@NonNull android.net.wifi.sharedconnectivity.app.SharedConnectivitySettingsState);
10424    method public final void updateHotspotNetworkConnectionStatus(@NonNull android.net.wifi.sharedconnectivity.app.HotspotNetworkConnectionStatus);
10425    method public final void updateKnownNetworkConnectionStatus(@NonNull android.net.wifi.sharedconnectivity.app.KnownNetworkConnectionStatus);
10426  }
10427
10428}
10429
10430package android.nfc.cardemulation {
10431
10432  @FlaggedApi("android.nfc.enable_nfc_mainline") public final class AidGroup implements android.os.Parcelable {
10433    ctor @FlaggedApi("android.nfc.enable_nfc_mainline") public AidGroup(@NonNull java.util.List<java.lang.String>, @Nullable String);
10434    method @FlaggedApi("android.nfc.enable_nfc_mainline") @Nullable public static android.nfc.cardemulation.AidGroup createFromXml(@NonNull org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
10435    method @FlaggedApi("android.nfc.enable_nfc_mainline") public int describeContents();
10436    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void dump(@NonNull android.util.proto.ProtoOutputStream);
10437    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public java.util.List<java.lang.String> getAids();
10438    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public String getCategory();
10439    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void writeAsXml(@NonNull org.xmlpull.v1.XmlSerializer) throws java.io.IOException;
10440    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void writeToParcel(@NonNull android.os.Parcel, int);
10441    field @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public static final android.os.Parcelable.Creator<android.nfc.cardemulation.AidGroup> CREATOR;
10442  }
10443
10444  @FlaggedApi("android.nfc.enable_nfc_mainline") public final class ApduServiceInfo implements android.os.Parcelable {
10445    ctor @FlaggedApi("android.nfc.enable_nfc_mainline") public ApduServiceInfo(@NonNull android.content.pm.PackageManager, @NonNull android.content.pm.ResolveInfo, boolean) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
10446    method @FlaggedApi("android.nfc.nfc_read_polling_loop") public void addPollingLoopFilter(@NonNull String, boolean);
10447    method @FlaggedApi("android.nfc.nfc_read_polling_loop") public void addPollingLoopPatternFilter(@NonNull String, boolean);
10448    method @FlaggedApi("android.nfc.enable_nfc_mainline") public int describeContents();
10449    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void dump(@NonNull android.os.ParcelFileDescriptor, @NonNull java.io.PrintWriter, @NonNull String[]);
10450    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void dumpDebug(@NonNull android.util.proto.ProtoOutputStream);
10451    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public java.util.List<android.nfc.cardemulation.AidGroup> getAidGroups();
10452    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public java.util.List<java.lang.String> getAids();
10453    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public String getCategoryForAid(@NonNull String);
10454    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public android.content.ComponentName getComponent();
10455    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public String getDescription();
10456    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public android.nfc.cardemulation.AidGroup getDynamicAidGroupForCategory(@NonNull String);
10457    method @FlaggedApi("android.nfc.enable_nfc_mainline") @Nullable public String getOffHostSecureElement();
10458    method @FlaggedApi("android.nfc.nfc_read_polling_loop") @NonNull public java.util.List<java.lang.String> getPollingLoopFilters();
10459    method @FlaggedApi("android.nfc.nfc_read_polling_loop") @NonNull public java.util.List<java.util.regex.Pattern> getPollingLoopPatternFilters();
10460    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public java.util.List<java.lang.String> getPrefixAids();
10461    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public String getSettingsActivityName();
10462    method @FlaggedApi("android.nfc.nfc_read_polling_loop") public boolean getShouldAutoTransact(@NonNull String);
10463    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public java.util.List<java.lang.String> getSubsetAids();
10464    method @FlaggedApi("android.nfc.enable_nfc_mainline") public int getUid();
10465    method @FlaggedApi("android.nfc.enable_nfc_mainline") public boolean hasCategory(@NonNull String);
10466    method @FlaggedApi("android.nfc.enable_nfc_mainline") public boolean isCategoryOtherServiceEnabled();
10467    method @FlaggedApi("android.nfc.enable_nfc_mainline") public boolean isOnHost();
10468    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public CharSequence loadAppLabel(@NonNull android.content.pm.PackageManager);
10469    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public android.graphics.drawable.Drawable loadBanner(@NonNull android.content.pm.PackageManager);
10470    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.pm.PackageManager);
10471    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public CharSequence loadLabel(@NonNull android.content.pm.PackageManager);
10472    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public boolean removeDynamicAidGroupForCategory(@NonNull String);
10473    method @FlaggedApi("android.nfc.nfc_read_polling_loop") public void removePollingLoopFilter(@NonNull String);
10474    method @FlaggedApi("android.nfc.nfc_read_polling_loop") public void removePollingLoopPatternFilter(@NonNull String);
10475    method @FlaggedApi("android.nfc.enable_nfc_mainline") public boolean requiresScreenOn();
10476    method @FlaggedApi("android.nfc.enable_nfc_mainline") public boolean requiresUnlock();
10477    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void resetOffHostSecureElement();
10478    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void setCategoryOtherServiceEnabled(boolean);
10479    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void setDynamicAidGroup(@NonNull android.nfc.cardemulation.AidGroup);
10480    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void setOffHostSecureElement(@NonNull String);
10481    method @FlaggedApi("android.nfc.nfc_observe_mode") public void setShouldDefaultToObserveMode(boolean);
10482    method @FlaggedApi("android.nfc.nfc_observe_mode") public boolean shouldDefaultToObserveMode();
10483    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void writeToParcel(@NonNull android.os.Parcel, int);
10484    field @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public static final android.os.Parcelable.Creator<android.nfc.cardemulation.ApduServiceInfo> CREATOR;
10485  }
10486
10487  @FlaggedApi("android.nfc.enable_nfc_mainline") public final class NfcFServiceInfo implements android.os.Parcelable {
10488    ctor @FlaggedApi("android.nfc.enable_nfc_mainline") public NfcFServiceInfo(@NonNull android.content.pm.PackageManager, @NonNull android.content.pm.ResolveInfo) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
10489    method @FlaggedApi("android.nfc.enable_nfc_mainline") public int describeContents();
10490    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void dump(@NonNull android.os.ParcelFileDescriptor, @NonNull java.io.PrintWriter, @NonNull String[]);
10491    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void dumpDebug(@NonNull android.util.proto.ProtoOutputStream);
10492    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public android.content.ComponentName getComponent();
10493    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public String getDescription();
10494    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public String getNfcid2();
10495    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public String getSystemCode();
10496    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public String getT3tPmm();
10497    method @FlaggedApi("android.nfc.enable_nfc_mainline") public int getUid();
10498    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.pm.PackageManager);
10499    method @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public CharSequence loadLabel(@NonNull android.content.pm.PackageManager);
10500    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void setDynamicNfcid2(@NonNull String);
10501    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void setDynamicSystemCode(@NonNull String);
10502    method @FlaggedApi("android.nfc.enable_nfc_mainline") public void writeToParcel(@NonNull android.os.Parcel, int);
10503    field @FlaggedApi("android.nfc.enable_nfc_mainline") @NonNull public static final android.os.Parcelable.Creator<android.nfc.cardemulation.NfcFServiceInfo> CREATOR;
10504  }
10505
10506}
10507
10508package android.os {
10509
10510  public class BatteryManager {
10511    method @RequiresPermission(android.Manifest.permission.POWER_SAVER) public boolean setChargingStateUpdateDelayMillis(int);
10512    field @RequiresPermission(android.Manifest.permission.BATTERY_STATS) public static final int BATTERY_PROPERTY_CHARGING_POLICY = 9; // 0x9
10513    field @RequiresPermission(android.Manifest.permission.BATTERY_STATS) public static final int BATTERY_PROPERTY_FIRST_USAGE_DATE = 8; // 0x8
10514    field @RequiresPermission(android.Manifest.permission.BATTERY_STATS) public static final int BATTERY_PROPERTY_MANUFACTURING_DATE = 7; // 0x7
10515    field @FlaggedApi("android.os.battery_part_status_api") @RequiresPermission(android.Manifest.permission.BATTERY_STATS) public static final int BATTERY_PROPERTY_PART_STATUS = 12; // 0xc
10516    field @FlaggedApi("android.os.battery_part_status_api") @RequiresPermission(android.Manifest.permission.BATTERY_STATS) public static final int BATTERY_PROPERTY_SERIAL_NUMBER = 11; // 0xb
10517    field public static final int CHARGING_POLICY_ADAPTIVE_AC = 3; // 0x3
10518    field public static final int CHARGING_POLICY_ADAPTIVE_AON = 2; // 0x2
10519    field public static final int CHARGING_POLICY_ADAPTIVE_LONGLIFE = 4; // 0x4
10520    field public static final int CHARGING_POLICY_DEFAULT = 1; // 0x1
10521    field public static final String EXTRA_EVENTS = "android.os.extra.EVENTS";
10522    field public static final String EXTRA_EVENT_TIMESTAMP = "android.os.extra.EVENT_TIMESTAMP";
10523    field @FlaggedApi("android.os.battery_part_status_api") public static final int PART_STATUS_ORIGINAL = 1; // 0x1
10524    field @FlaggedApi("android.os.battery_part_status_api") public static final int PART_STATUS_REPLACED = 2; // 0x2
10525    field @FlaggedApi("android.os.battery_part_status_api") public static final int PART_STATUS_UNSUPPORTED = 0; // 0x0
10526  }
10527
10528  public final class BatterySaverPolicyConfig implements android.os.Parcelable {
10529    method public int describeContents();
10530    method public float getAdjustBrightnessFactor();
10531    method public boolean getAdvertiseIsEnabled();
10532    method public boolean getDeferFullBackup();
10533    method public boolean getDeferKeyValueBackup();
10534    method @NonNull public java.util.Map<java.lang.String,java.lang.String> getDeviceSpecificSettings();
10535    method public boolean getDisableAnimation();
10536    method public boolean getDisableAod();
10537    method public boolean getDisableLaunchBoost();
10538    method public boolean getDisableOptionalSensors();
10539    method @Deprecated public boolean getDisableSoundTrigger();
10540    method public boolean getDisableVibration();
10541    method public boolean getEnableAdjustBrightness();
10542    method public boolean getEnableDataSaver();
10543    method public boolean getEnableFirewall();
10544    method public boolean getEnableNightMode();
10545    method public boolean getEnableQuickDoze();
10546    method public boolean getForceAllAppsStandby();
10547    method public boolean getForceBackgroundCheck();
10548    method public int getLocationMode();
10549    method public int getSoundTriggerMode();
10550    method public void writeToParcel(android.os.Parcel, int);
10551    field @NonNull public static final android.os.Parcelable.Creator<android.os.BatterySaverPolicyConfig> CREATOR;
10552  }
10553
10554  public static final class BatterySaverPolicyConfig.Builder {
10555    ctor public BatterySaverPolicyConfig.Builder();
10556    ctor public BatterySaverPolicyConfig.Builder(@NonNull android.os.BatterySaverPolicyConfig);
10557    method @NonNull public android.os.BatterySaverPolicyConfig.Builder addDeviceSpecificSetting(@NonNull String, @NonNull String);
10558    method @NonNull public android.os.BatterySaverPolicyConfig build();
10559    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setAdjustBrightnessFactor(float);
10560    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setAdvertiseIsEnabled(boolean);
10561    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDeferFullBackup(boolean);
10562    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDeferKeyValueBackup(boolean);
10563    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableAnimation(boolean);
10564    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableAod(boolean);
10565    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableLaunchBoost(boolean);
10566    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableOptionalSensors(boolean);
10567    method @Deprecated @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableSoundTrigger(boolean);
10568    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableVibration(boolean);
10569    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableAdjustBrightness(boolean);
10570    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableDataSaver(boolean);
10571    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableFirewall(boolean);
10572    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableNightMode(boolean);
10573    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableQuickDoze(boolean);
10574    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setForceAllAppsStandby(boolean);
10575    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setForceBackgroundCheck(boolean);
10576    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setLocationMode(int);
10577    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setSoundTriggerMode(int);
10578  }
10579
10580  public final class BatteryStatsManager {
10581    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.BATTERY_STATS, android.Manifest.permission.UPDATE_DEVICE_STATS}) public android.os.connectivity.CellularBatteryStats getCellularBatteryStats();
10582    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.BATTERY_STATS, android.Manifest.permission.UPDATE_DEVICE_STATS}) public android.os.connectivity.WifiBatteryStats getWifiBatteryStats();
10583    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportBleScanReset();
10584    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportBleScanResults(@NonNull android.os.WorkSource, int);
10585    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportBleScanStarted(@NonNull android.os.WorkSource, boolean);
10586    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportBleScanStopped(@NonNull android.os.WorkSource, boolean);
10587    method @Deprecated @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public void reportBluetoothOff(int, int, @NonNull String);
10588    method @Deprecated @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public void reportBluetoothOn(int, int, @NonNull String);
10589    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportFullWifiLockAcquiredFromSource(@NonNull android.os.WorkSource);
10590    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportFullWifiLockReleasedFromSource(@NonNull android.os.WorkSource);
10591    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportMobileRadioPowerState(boolean, int);
10592    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiBatchedScanStartedFromSource(@NonNull android.os.WorkSource, @IntRange(from=0) int);
10593    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiBatchedScanStoppedFromSource(@NonNull android.os.WorkSource);
10594    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiMulticastDisabled(@NonNull android.os.WorkSource);
10595    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiMulticastEnabled(@NonNull android.os.WorkSource);
10596    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiOff();
10597    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiOn();
10598    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiRadioPowerState(boolean, int);
10599    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiRssiChanged(@IntRange(from=0xffffff81, to=0) int);
10600    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiScanStartedFromSource(@NonNull android.os.WorkSource);
10601    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiScanStoppedFromSource(@NonNull android.os.WorkSource);
10602    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiState(int, @Nullable String);
10603    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiSupplicantStateChanged(int, boolean);
10604    field public static final int WIFI_STATE_OFF = 0; // 0x0
10605    field public static final int WIFI_STATE_OFF_SCANNING = 1; // 0x1
10606    field public static final int WIFI_STATE_ON_CONNECTED_P2P = 5; // 0x5
10607    field public static final int WIFI_STATE_ON_CONNECTED_STA = 4; // 0x4
10608    field public static final int WIFI_STATE_ON_CONNECTED_STA_P2P = 6; // 0x6
10609    field public static final int WIFI_STATE_ON_DISCONNECTED = 3; // 0x3
10610    field public static final int WIFI_STATE_ON_NO_NETWORKS = 2; // 0x2
10611    field public static final int WIFI_STATE_SOFT_AP = 7; // 0x7
10612    field public static final int WIFI_SUPPL_STATE_ASSOCIATED = 7; // 0x7
10613    field public static final int WIFI_SUPPL_STATE_ASSOCIATING = 6; // 0x6
10614    field public static final int WIFI_SUPPL_STATE_AUTHENTICATING = 5; // 0x5
10615    field public static final int WIFI_SUPPL_STATE_COMPLETED = 10; // 0xa
10616    field public static final int WIFI_SUPPL_STATE_DISCONNECTED = 1; // 0x1
10617    field public static final int WIFI_SUPPL_STATE_DORMANT = 11; // 0xb
10618    field public static final int WIFI_SUPPL_STATE_FOUR_WAY_HANDSHAKE = 8; // 0x8
10619    field public static final int WIFI_SUPPL_STATE_GROUP_HANDSHAKE = 9; // 0x9
10620    field public static final int WIFI_SUPPL_STATE_INACTIVE = 3; // 0x3
10621    field public static final int WIFI_SUPPL_STATE_INTERFACE_DISABLED = 2; // 0x2
10622    field public static final int WIFI_SUPPL_STATE_INVALID = 0; // 0x0
10623    field public static final int WIFI_SUPPL_STATE_SCANNING = 4; // 0x4
10624    field public static final int WIFI_SUPPL_STATE_UNINITIALIZED = 12; // 0xc
10625  }
10626
10627  public class Binder implements android.os.IBinder {
10628    method public int handleShellCommand(@NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull String[]);
10629    method public final void markVintfStability();
10630    method public static void setProxyTransactListener(@Nullable android.os.Binder.ProxyTransactListener);
10631  }
10632
10633  public static interface Binder.ProxyTransactListener {
10634    method public void onTransactEnded(@Nullable Object);
10635    method @Nullable public Object onTransactStarted(@NonNull android.os.IBinder, int);
10636  }
10637
10638  public final class BugreportManager {
10639    method @RequiresPermission(android.Manifest.permission.DUMP) @WorkerThread public void preDumpUiData();
10640    method @RequiresPermission(android.Manifest.permission.DUMP) public void requestBugreport(@NonNull android.os.BugreportParams, @Nullable CharSequence, @Nullable CharSequence);
10641    method @RequiresPermission(android.Manifest.permission.DUMP) @WorkerThread public void retrieveBugreport(@NonNull String, @NonNull android.os.ParcelFileDescriptor, @NonNull java.util.concurrent.Executor, @NonNull android.os.BugreportManager.BugreportCallback);
10642    method @RequiresPermission(android.Manifest.permission.DUMP) @WorkerThread public void startBugreport(@NonNull android.os.ParcelFileDescriptor, @Nullable android.os.ParcelFileDescriptor, @NonNull android.os.BugreportParams, @NonNull java.util.concurrent.Executor, @NonNull android.os.BugreportManager.BugreportCallback);
10643  }
10644
10645  public abstract static class BugreportManager.BugreportCallback {
10646    method public void onFinished(@NonNull String);
10647  }
10648
10649  public final class BugreportParams {
10650    ctor public BugreportParams(int);
10651    ctor public BugreportParams(int, int);
10652    method public int getFlags();
10653    method public int getMode();
10654    field public static final int BUGREPORT_FLAG_DEFER_CONSENT = 2; // 0x2
10655    field @FlaggedApi("android.app.admin.flags.onboarding_bugreport_v2_enabled") public static final int BUGREPORT_FLAG_KEEP_BUGREPORT_ON_RETRIEVAL = 4; // 0x4
10656    field public static final int BUGREPORT_FLAG_USE_PREDUMPED_UI_DATA = 1; // 0x1
10657    field public static final int BUGREPORT_MODE_FULL = 0; // 0x0
10658    field public static final int BUGREPORT_MODE_INTERACTIVE = 1; // 0x1
10659    field @FlaggedApi("android.app.admin.flags.onboarding_bugreport_v2_enabled") public static final int BUGREPORT_MODE_ONBOARDING = 7; // 0x7
10660    field public static final int BUGREPORT_MODE_REMOTE = 2; // 0x2
10661    field public static final int BUGREPORT_MODE_TELEPHONY = 4; // 0x4
10662    field public static final int BUGREPORT_MODE_WEAR = 3; // 0x3
10663    field public static final int BUGREPORT_MODE_WIFI = 5; // 0x5
10664  }
10665
10666  public static class Build.VERSION {
10667    field @NonNull public static final java.util.Set<java.lang.String> KNOWN_CODENAMES;
10668    field @NonNull public static final String PREVIEW_SDK_FINGERPRINT;
10669  }
10670
10671  public final class ConfigUpdate {
10672    field public static final String ACTION_UPDATE_CARRIER_ID_DB = "android.os.action.UPDATE_CARRIER_ID_DB";
10673    field public static final String ACTION_UPDATE_CARRIER_PROVISIONING_URLS = "android.intent.action.UPDATE_CARRIER_PROVISIONING_URLS";
10674    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final String ACTION_UPDATE_CONFIG = "android.os.action.UPDATE_CONFIG";
10675    field public static final String ACTION_UPDATE_CONVERSATION_ACTIONS = "android.intent.action.UPDATE_CONVERSATION_ACTIONS";
10676    field public static final String ACTION_UPDATE_CT_LOGS = "android.intent.action.UPDATE_CT_LOGS";
10677    field public static final String ACTION_UPDATE_EMERGENCY_NUMBER_DB = "android.os.action.UPDATE_EMERGENCY_NUMBER_DB";
10678    field public static final String ACTION_UPDATE_INTENT_FIREWALL = "android.intent.action.UPDATE_INTENT_FIREWALL";
10679    field public static final String ACTION_UPDATE_LANG_ID = "android.intent.action.UPDATE_LANG_ID";
10680    field public static final String ACTION_UPDATE_NETWORK_WATCHLIST = "android.intent.action.UPDATE_NETWORK_WATCHLIST";
10681    field public static final String ACTION_UPDATE_PINS = "android.intent.action.UPDATE_PINS";
10682    field public static final String ACTION_UPDATE_SMART_SELECTION = "android.intent.action.UPDATE_SMART_SELECTION";
10683    field public static final String ACTION_UPDATE_SMS_SHORT_CODES = "android.intent.action.UPDATE_SMS_SHORT_CODES";
10684    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final String EXTRA_DOMAIN = "android.os.extra.DOMAIN";
10685    field public static final String EXTRA_REQUIRED_HASH = "android.os.extra.REQUIRED_HASH";
10686    field public static final String EXTRA_VERSION = "android.os.extra.VERSION";
10687  }
10688
10689  public class DeviceIdleManager {
10690    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void endIdle(@NonNull String);
10691  }
10692
10693  public class Environment {
10694    method @NonNull public static java.io.File getDataCePackageDirectoryForUser(@NonNull java.util.UUID, @NonNull android.os.UserHandle, @NonNull String);
10695    method @NonNull public static java.io.File getDataDePackageDirectoryForUser(@NonNull java.util.UUID, @NonNull android.os.UserHandle, @NonNull String);
10696    method @NonNull public static java.util.Collection<java.io.File> getInternalMediaDirectories();
10697    method @NonNull public static java.io.File getOdmDirectory();
10698    method @NonNull public static java.io.File getOemDirectory();
10699    method @NonNull public static java.io.File getProductDirectory();
10700    method @Deprecated @NonNull public static java.io.File getProductServicesDirectory();
10701    method @NonNull public static java.io.File getSystemExtDirectory();
10702    method @NonNull public static java.io.File getVendorDirectory();
10703  }
10704
10705  public class HidlMemory implements java.io.Closeable {
10706    ctor public HidlMemory(@NonNull String, @IntRange(from=0) long, @Nullable android.os.NativeHandle);
10707    method public void close() throws java.io.IOException;
10708    method @NonNull public android.os.HidlMemory dup() throws java.io.IOException;
10709    method protected void finalize();
10710    method @Nullable public android.os.NativeHandle getHandle();
10711    method @NonNull public String getName();
10712    method public long getSize();
10713    method @Nullable public android.os.NativeHandle releaseHandle();
10714  }
10715
10716  public class HidlSupport {
10717    method public static boolean deepEquals(Object, Object);
10718    method public static int deepHashCode(Object);
10719    method public static int getPidIfSharable();
10720    method public static boolean interfacesEqual(android.os.IHwInterface, Object);
10721  }
10722
10723  public abstract class HwBinder implements android.os.IHwBinder {
10724    ctor public HwBinder();
10725    method public static final void configureRpcThreadpool(long, boolean);
10726    method public static void enableInstrumentation();
10727    method public static final android.os.IHwBinder getService(String, String) throws java.util.NoSuchElementException, android.os.RemoteException;
10728    method public static final android.os.IHwBinder getService(String, String, boolean) throws java.util.NoSuchElementException, android.os.RemoteException;
10729    method public static final void joinRpcThreadpool();
10730    method public abstract void onTransact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException;
10731    method public final void registerService(String) throws android.os.RemoteException;
10732    method public final void transact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException;
10733  }
10734
10735  public class HwBlob {
10736    ctor public HwBlob(int);
10737    method public final void copyToBoolArray(long, boolean[], int);
10738    method public final void copyToDoubleArray(long, double[], int);
10739    method public final void copyToFloatArray(long, float[], int);
10740    method public final void copyToInt16Array(long, short[], int);
10741    method public final void copyToInt32Array(long, int[], int);
10742    method public final void copyToInt64Array(long, long[], int);
10743    method public final void copyToInt8Array(long, byte[], int);
10744    method public final boolean getBool(long);
10745    method public final double getDouble(long);
10746    method public final long getFieldHandle(long);
10747    method public final float getFloat(long);
10748    method public final short getInt16(long);
10749    method public final int getInt32(long);
10750    method public final long getInt64(long);
10751    method public final byte getInt8(long);
10752    method public final String getString(long);
10753    method public final long handle();
10754    method public final void putBlob(long, android.os.HwBlob);
10755    method public final void putBool(long, boolean);
10756    method public final void putBoolArray(long, boolean[]);
10757    method public final void putDouble(long, double);
10758    method public final void putDoubleArray(long, double[]);
10759    method public final void putFloat(long, float);
10760    method public final void putFloatArray(long, float[]);
10761    method public final void putHidlMemory(long, @NonNull android.os.HidlMemory);
10762    method public final void putInt16(long, short);
10763    method public final void putInt16Array(long, short[]);
10764    method public final void putInt32(long, int);
10765    method public final void putInt32Array(long, int[]);
10766    method public final void putInt64(long, long);
10767    method public final void putInt64Array(long, long[]);
10768    method public final void putInt8(long, byte);
10769    method public final void putInt8Array(long, byte[]);
10770    method public final void putNativeHandle(long, @Nullable android.os.NativeHandle);
10771    method public final void putString(long, String);
10772    method public static Boolean[] wrapArray(@NonNull boolean[]);
10773    method public static Long[] wrapArray(@NonNull long[]);
10774    method public static Byte[] wrapArray(@NonNull byte[]);
10775    method public static Short[] wrapArray(@NonNull short[]);
10776    method public static Integer[] wrapArray(@NonNull int[]);
10777    method public static Float[] wrapArray(@NonNull float[]);
10778    method public static Double[] wrapArray(@NonNull double[]);
10779  }
10780
10781  public class HwParcel {
10782    ctor public HwParcel();
10783    method public final void enforceInterface(String);
10784    method public final boolean readBool();
10785    method public final java.util.ArrayList<java.lang.Boolean> readBoolVector();
10786    method public final android.os.HwBlob readBuffer(long);
10787    method public final double readDouble();
10788    method public final java.util.ArrayList<java.lang.Double> readDoubleVector();
10789    method public final android.os.HwBlob readEmbeddedBuffer(long, long, long, boolean);
10790    method @NonNull public final android.os.HidlMemory readEmbeddedHidlMemory(long, long, long);
10791    method @Nullable public final android.os.NativeHandle readEmbeddedNativeHandle(long, long);
10792    method public final float readFloat();
10793    method public final java.util.ArrayList<java.lang.Float> readFloatVector();
10794    method @NonNull public final android.os.HidlMemory readHidlMemory();
10795    method public final short readInt16();
10796    method public final java.util.ArrayList<java.lang.Short> readInt16Vector();
10797    method public final int readInt32();
10798    method public final java.util.ArrayList<java.lang.Integer> readInt32Vector();
10799    method public final long readInt64();
10800    method public final java.util.ArrayList<java.lang.Long> readInt64Vector();
10801    method public final byte readInt8();
10802    method public final java.util.ArrayList<java.lang.Byte> readInt8Vector();
10803    method @Nullable public final android.os.NativeHandle readNativeHandle();
10804    method @NonNull public final java.util.ArrayList<android.os.NativeHandle> readNativeHandleVector();
10805    method public final String readString();
10806    method public final java.util.ArrayList<java.lang.String> readStringVector();
10807    method public final android.os.IHwBinder readStrongBinder();
10808    method public final void release();
10809    method public final void releaseTemporaryStorage();
10810    method public final void send();
10811    method public final void verifySuccess();
10812    method public final void writeBool(boolean);
10813    method public final void writeBoolVector(java.util.ArrayList<java.lang.Boolean>);
10814    method public final void writeBuffer(android.os.HwBlob);
10815    method public final void writeDouble(double);
10816    method public final void writeDoubleVector(java.util.ArrayList<java.lang.Double>);
10817    method public final void writeFloat(float);
10818    method public final void writeFloatVector(java.util.ArrayList<java.lang.Float>);
10819    method public final void writeHidlMemory(@NonNull android.os.HidlMemory);
10820    method public final void writeInt16(short);
10821    method public final void writeInt16Vector(java.util.ArrayList<java.lang.Short>);
10822    method public final void writeInt32(int);
10823    method public final void writeInt32Vector(java.util.ArrayList<java.lang.Integer>);
10824    method public final void writeInt64(long);
10825    method public final void writeInt64Vector(java.util.ArrayList<java.lang.Long>);
10826    method public final void writeInt8(byte);
10827    method public final void writeInt8Vector(java.util.ArrayList<java.lang.Byte>);
10828    method public final void writeInterfaceToken(String);
10829    method public final void writeNativeHandle(@Nullable android.os.NativeHandle);
10830    method public final void writeNativeHandleVector(@NonNull java.util.ArrayList<android.os.NativeHandle>);
10831    method public final void writeStatus(int);
10832    method public final void writeString(String);
10833    method public final void writeStringVector(java.util.ArrayList<java.lang.String>);
10834    method public final void writeStrongBinder(android.os.IHwBinder);
10835    field public static final int STATUS_SUCCESS = 0; // 0x0
10836  }
10837
10838  public interface IHwBinder {
10839    method public boolean linkToDeath(android.os.IHwBinder.DeathRecipient, long);
10840    method public android.os.IHwInterface queryLocalInterface(String);
10841    method public void transact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException;
10842    method public boolean unlinkToDeath(android.os.IHwBinder.DeathRecipient);
10843  }
10844
10845  public static interface IHwBinder.DeathRecipient {
10846    method public void serviceDied(long);
10847  }
10848
10849  public interface IHwInterface {
10850    method public android.os.IHwBinder asBinder();
10851  }
10852
10853  public class IncidentManager {
10854    method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public void approveReport(android.net.Uri);
10855    method @RequiresPermission("android.permission.REQUEST_INCIDENT_REPORT_APPROVAL") public void cancelAuthorization(android.os.IncidentManager.AuthListener);
10856    method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void deleteIncidentReports(android.net.Uri);
10857    method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public void denyReport(android.net.Uri);
10858    method @Nullable @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public android.os.IncidentManager.IncidentReport getIncidentReport(android.net.Uri);
10859    method @NonNull @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public java.util.List<android.net.Uri> getIncidentReportList(String);
10860    method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public java.util.List<android.os.IncidentManager.PendingReport> getPendingReports();
10861    method public void registerSection(int, @NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.os.IncidentManager.DumpCallback);
10862    method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void reportIncident(android.os.IncidentReportArgs);
10863    method @RequiresPermission("android.permission.REQUEST_INCIDENT_REPORT_APPROVAL") public void requestAuthorization(int, String, int, android.os.IncidentManager.AuthListener);
10864    method public void unregisterSection(int);
10865    field public static final int FLAG_ALLOW_CONSENTLESS_BUGREPORT = 2; // 0x2
10866    field public static final int FLAG_CONFIRMATION_DIALOG = 1; // 0x1
10867    field public static final int PRIVACY_POLICY_AUTO = 200; // 0xc8
10868    field public static final int PRIVACY_POLICY_EXPLICIT = 100; // 0x64
10869    field public static final int PRIVACY_POLICY_LOCAL = 0; // 0x0
10870  }
10871
10872  public static class IncidentManager.AuthListener {
10873    ctor public IncidentManager.AuthListener();
10874    method public void onReportApproved();
10875    method public void onReportDenied();
10876  }
10877
10878  public static class IncidentManager.DumpCallback {
10879    ctor public IncidentManager.DumpCallback();
10880    method public void onDumpSection(int, @NonNull java.io.OutputStream);
10881  }
10882
10883  public static class IncidentManager.IncidentReport implements java.io.Closeable android.os.Parcelable {
10884    ctor public IncidentManager.IncidentReport(android.os.Parcel);
10885    method public void close();
10886    method public int describeContents();
10887    method public java.io.InputStream getInputStream() throws java.io.IOException;
10888    method public long getPrivacyPolicy();
10889    method public long getTimestamp();
10890    method public void writeToParcel(android.os.Parcel, int);
10891    field @NonNull public static final android.os.Parcelable.Creator<android.os.IncidentManager.IncidentReport> CREATOR;
10892  }
10893
10894  public static class IncidentManager.PendingReport {
10895    ctor public IncidentManager.PendingReport(@NonNull android.net.Uri);
10896    method public int getFlags();
10897    method @NonNull public String getRequestingPackage();
10898    method public long getTimestamp();
10899    method @NonNull public android.net.Uri getUri();
10900  }
10901
10902  public final class IncidentReportArgs implements android.os.Parcelable {
10903    ctor public IncidentReportArgs();
10904    ctor public IncidentReportArgs(android.os.Parcel);
10905    method public void addHeader(byte[]);
10906    method public void addSection(int);
10907    method public boolean containsSection(int);
10908    method public int describeContents();
10909    method public boolean isAll();
10910    method public void readFromParcel(android.os.Parcel);
10911    method public int sectionCount();
10912    method public void setAll(boolean);
10913    method public void setPrivacyPolicy(int);
10914    method public void writeToParcel(android.os.Parcel, int);
10915    field @NonNull public static final android.os.Parcelable.Creator<android.os.IncidentReportArgs> CREATOR;
10916  }
10917
10918  public final class NativeHandle implements java.io.Closeable {
10919    ctor public NativeHandle();
10920    ctor public NativeHandle(@NonNull java.io.FileDescriptor, boolean);
10921    ctor public NativeHandle(@NonNull java.io.FileDescriptor[], @NonNull int[], boolean);
10922    method public void close() throws java.io.IOException;
10923    method @NonNull public android.os.NativeHandle dup() throws java.io.IOException;
10924    method @NonNull public java.io.FileDescriptor getFileDescriptor();
10925    method @NonNull public java.io.FileDescriptor[] getFileDescriptors();
10926    method @NonNull public int[] getInts();
10927    method public boolean hasSingleFileDescriptor();
10928  }
10929
10930  public final class NewUserRequest {
10931    method @Nullable public String getAccountName();
10932    method @Nullable public android.os.PersistableBundle getAccountOptions();
10933    method @Nullable public String getAccountType();
10934    method @Nullable public String getName();
10935    method @Nullable public android.graphics.Bitmap getUserIcon();
10936    method @NonNull public String getUserType();
10937    method public boolean isAdmin();
10938    method public boolean isEphemeral();
10939  }
10940
10941  public static final class NewUserRequest.Builder {
10942    ctor public NewUserRequest.Builder();
10943    method @NonNull public android.os.NewUserRequest build();
10944    method @NonNull public android.os.NewUserRequest.Builder setAccountName(@Nullable String);
10945    method @NonNull public android.os.NewUserRequest.Builder setAccountOptions(@Nullable android.os.PersistableBundle);
10946    method @NonNull public android.os.NewUserRequest.Builder setAccountType(@Nullable String);
10947    method @NonNull public android.os.NewUserRequest.Builder setAdmin();
10948    method @NonNull public android.os.NewUserRequest.Builder setEphemeral();
10949    method @NonNull public android.os.NewUserRequest.Builder setName(@Nullable String);
10950    method @NonNull public android.os.NewUserRequest.Builder setUserIcon(@Nullable android.graphics.Bitmap);
10951    method @NonNull public android.os.NewUserRequest.Builder setUserType(@NonNull String);
10952  }
10953
10954  public final class NewUserResponse {
10955    method public int getOperationResult();
10956    method @Nullable public android.os.UserHandle getUser();
10957    method public boolean isSuccessful();
10958  }
10959
10960  public interface Parcelable {
10961    method public default int getStability();
10962    field public static final int PARCELABLE_STABILITY_LOCAL = 0; // 0x0
10963    field public static final int PARCELABLE_STABILITY_VINTF = 1; // 0x1
10964  }
10965
10966  public final class ParcelableHolder implements android.os.Parcelable {
10967    ctor public ParcelableHolder(int);
10968    method public int describeContents();
10969    method @Nullable public <T extends android.os.Parcelable> T getParcelable(@NonNull Class<T>);
10970    method public int getStability();
10971    method public void readFromParcel(@NonNull android.os.Parcel);
10972    method public void setParcelable(@Nullable android.os.Parcelable);
10973    method public void writeToParcel(@NonNull android.os.Parcel, int);
10974    field @NonNull public static final android.os.Parcelable.Creator<android.os.ParcelableHolder> CREATOR;
10975  }
10976
10977  public class PowerExemptionManager {
10978    method @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void addToTemporaryAllowList(@NonNull String, int, @Nullable String, long);
10979    method @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public long addToTemporaryAllowListForEvent(@NonNull String, int, @Nullable String, int);
10980    field public static final int EVENT_MMS = 2; // 0x2
10981    field public static final int EVENT_SMS = 1; // 0x1
10982    field public static final int EVENT_UNSPECIFIED = 0; // 0x0
10983    field public static final int REASON_ACCOUNT_TRANSFER = 104; // 0x68
10984    field public static final int REASON_ACTIVITY_RECOGNITION = 103; // 0x67
10985    field public static final int REASON_BLUETOOTH_BROADCAST = 203; // 0xcb
10986    field public static final int REASON_GEOFENCING = 100; // 0x64
10987    field public static final int REASON_LOCATION_PROVIDER = 312; // 0x138
10988    field public static final int REASON_OTHER = 1; // 0x1
10989    field public static final int REASON_PUSH_MESSAGING = 101; // 0x65
10990    field public static final int REASON_PUSH_MESSAGING_OVER_QUOTA = 102; // 0x66
10991    field public static final int REASON_REFRESH_SAFETY_SOURCES = 208; // 0xd0
10992    field public static final int REASON_UNKNOWN = 0; // 0x0
10993    field public static final int TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED = 0; // 0x0
10994    field public static final int TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_NOT_ALLOWED = 1; // 0x1
10995    field public static final int TEMPORARY_ALLOW_LIST_TYPE_NONE = -1; // 0xffffffff
10996  }
10997
10998  public final class PowerManager {
10999    method @RequiresPermission(allOf={android.Manifest.permission.READ_DREAM_STATE, android.Manifest.permission.WRITE_DREAM_STATE}) public void dream(long);
11000    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public boolean forceSuspend();
11001    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public java.util.List<android.os.PowerManager.LowPowerStandbyPortDescription> getActiveLowPowerStandbyPorts();
11002    method @NonNull public android.os.BatterySaverPolicyConfig getFullPowerSavePolicy();
11003    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public android.os.PowerManager.LowPowerStandbyPolicy getLowPowerStandbyPolicy();
11004    method public int getPowerSaveModeTrigger();
11005    method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplayAvailable();
11006    method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplaySuppressed();
11007    method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplaySuppressedForToken(@NonNull String);
11008    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public boolean isLowPowerStandbySupported();
11009    method @NonNull @RequiresPermission(android.Manifest.permission.SET_LOW_POWER_STANDBY_PORTS) public android.os.PowerManager.LowPowerStandbyPortsLock newLowPowerStandbyPortsLock(@NonNull java.util.List<android.os.PowerManager.LowPowerStandbyPortDescription>);
11010    method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setAdaptivePowerSaveEnabled(boolean);
11011    method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setAdaptivePowerSavePolicy(@NonNull android.os.BatterySaverPolicyConfig);
11012    method @RequiresPermission(anyOf={android.Manifest.permission.BATTERY_PREDICTION, android.Manifest.permission.DEVICE_POWER}) public void setBatteryDischargePrediction(@NonNull java.time.Duration, boolean);
11013    method @RequiresPermission(android.Manifest.permission.POWER_SAVER) public boolean setDynamicPowerSaveHint(boolean, int);
11014    method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setFullPowerSavePolicy(@NonNull android.os.BatterySaverPolicyConfig);
11015    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public void setLowPowerStandbyActiveDuringMaintenance(boolean);
11016    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public void setLowPowerStandbyEnabled(boolean);
11017    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public void setLowPowerStandbyPolicy(@Nullable android.os.PowerManager.LowPowerStandbyPolicy);
11018    method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setPowerSaveModeEnabled(boolean);
11019    method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void suppressAmbientDisplay(@NonNull String, boolean);
11020    method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.USER_ACTIVITY}) public void userActivity(long, int, int);
11021    field @RequiresPermission(android.Manifest.permission.MANAGE_LOW_POWER_STANDBY) public static final String ACTION_LOW_POWER_STANDBY_PORTS_CHANGED = "android.os.action.LOW_POWER_STANDBY_PORTS_CHANGED";
11022    field public static final int POWER_SAVE_MODE_TRIGGER_DYNAMIC = 1; // 0x1
11023    field public static final int POWER_SAVE_MODE_TRIGGER_PERCENTAGE = 0; // 0x0
11024    field @Deprecated public static final String REBOOT_USERSPACE = "userspace";
11025    field public static final int SOUND_TRIGGER_MODE_ALL_DISABLED = 2; // 0x2
11026    field public static final int SOUND_TRIGGER_MODE_ALL_ENABLED = 0; // 0x0
11027    field public static final int SOUND_TRIGGER_MODE_CRITICAL_ONLY = 1; // 0x1
11028    field public static final int USER_ACTIVITY_EVENT_ACCESSIBILITY = 3; // 0x3
11029    field public static final int USER_ACTIVITY_EVENT_BUTTON = 1; // 0x1
11030    field public static final int USER_ACTIVITY_EVENT_OTHER = 0; // 0x0
11031    field public static final int USER_ACTIVITY_EVENT_TOUCH = 2; // 0x2
11032    field public static final int USER_ACTIVITY_FLAG_INDIRECT = 2; // 0x2
11033    field public static final int USER_ACTIVITY_FLAG_NO_CHANGE_LIGHTS = 1; // 0x1
11034  }
11035
11036  public static final class PowerManager.LowPowerStandbyPolicy {
11037    ctor public PowerManager.LowPowerStandbyPolicy(@NonNull String, @NonNull java.util.Set<java.lang.String>, int, @NonNull java.util.Set<java.lang.String>);
11038    method @NonNull public java.util.Set<java.lang.String> getAllowedFeatures();
11039    method public int getAllowedReasons();
11040    method @NonNull public java.util.Set<java.lang.String> getExemptPackages();
11041    method @NonNull public String getIdentifier();
11042  }
11043
11044  public static final class PowerManager.LowPowerStandbyPortDescription {
11045    ctor public PowerManager.LowPowerStandbyPortDescription(int, int, int);
11046    ctor public PowerManager.LowPowerStandbyPortDescription(int, int, int, @Nullable java.net.InetAddress);
11047    method @Nullable public java.net.InetAddress getLocalAddress();
11048    method public int getPortMatcher();
11049    method public int getPortNumber();
11050    method public int getProtocol();
11051    field public static final int MATCH_PORT_LOCAL = 1; // 0x1
11052    field public static final int MATCH_PORT_REMOTE = 2; // 0x2
11053    field public static final int PROTOCOL_TCP = 6; // 0x6
11054    field public static final int PROTOCOL_UDP = 17; // 0x11
11055  }
11056
11057  public final class PowerManager.LowPowerStandbyPortsLock {
11058    method @RequiresPermission(android.Manifest.permission.SET_LOW_POWER_STANDBY_PORTS) public void acquire();
11059    method protected void finalize();
11060    method @RequiresPermission(android.Manifest.permission.SET_LOW_POWER_STANDBY_PORTS) public void release();
11061  }
11062
11063  @Deprecated public class PowerWhitelistManager {
11064    method @Deprecated @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void addToWhitelist(@NonNull String);
11065    method @Deprecated @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void addToWhitelist(@NonNull java.util.List<java.lang.String>);
11066    method @Deprecated @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void removeFromWhitelist(@NonNull String);
11067    method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void whitelistAppTemporarily(@NonNull String, long, int, @Nullable String);
11068    method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void whitelistAppTemporarily(@NonNull String, long);
11069    method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public long whitelistAppTemporarilyForEvent(@NonNull String, int, @Nullable String);
11070    method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public long whitelistAppTemporarilyForEvent(@NonNull String, int, int, @Nullable String);
11071    field @Deprecated public static final int EVENT_MMS = 2; // 0x2
11072    field @Deprecated public static final int EVENT_SMS = 1; // 0x1
11073    field @Deprecated public static final int EVENT_UNSPECIFIED = 0; // 0x0
11074    field @Deprecated public static final int REASON_ACTIVITY_RECOGNITION = 103; // 0x67
11075    field @Deprecated public static final int REASON_GEOFENCING = 100; // 0x64
11076    field @Deprecated public static final int REASON_LOCATION_PROVIDER = 312; // 0x138
11077    field @Deprecated public static final int REASON_OTHER = 1; // 0x1
11078    field @Deprecated public static final int REASON_PUSH_MESSAGING = 101; // 0x65
11079    field @Deprecated public static final int REASON_PUSH_MESSAGING_OVER_QUOTA = 102; // 0x66
11080    field @Deprecated public static final int REASON_UNKNOWN = 0; // 0x0
11081    field @Deprecated public static final int TEMPORARY_ALLOWLIST_TYPE_FOREGROUND_SERVICE_ALLOWED = 0; // 0x0
11082    field @Deprecated public static final int TEMPORARY_ALLOWLIST_TYPE_FOREGROUND_SERVICE_NOT_ALLOWED = 1; // 0x1
11083  }
11084
11085  public class RecoverySystem {
11086    method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void cancelScheduledUpdate(android.content.Context) throws java.io.IOException;
11087    method @RequiresPermission(anyOf={android.Manifest.permission.RECOVERY, android.Manifest.permission.REBOOT}) public static void clearPrepareForUnattendedUpdate(@NonNull android.content.Context) throws java.io.IOException;
11088    method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void installPackage(android.content.Context, java.io.File, boolean) throws java.io.IOException;
11089    method @RequiresPermission(anyOf={android.Manifest.permission.RECOVERY, android.Manifest.permission.REBOOT}) public static boolean isPreparedForUnattendedUpdate(@NonNull android.content.Context) throws java.io.IOException;
11090    method @RequiresPermission(anyOf={android.Manifest.permission.RECOVERY, android.Manifest.permission.REBOOT}) public static void prepareForUnattendedUpdate(@NonNull android.content.Context, @NonNull String, @Nullable android.content.IntentSender) throws java.io.IOException;
11091    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;
11092    method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void processPackage(android.content.Context, java.io.File, android.os.RecoverySystem.ProgressListener) throws java.io.IOException;
11093    method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVERY) public static void rebootAndApply(@NonNull android.content.Context, @NonNull String, @NonNull String) throws java.io.IOException;
11094    method @RequiresPermission(anyOf={android.Manifest.permission.RECOVERY, android.Manifest.permission.REBOOT}) public static int rebootAndApply(@NonNull android.content.Context, @NonNull String, boolean) throws java.io.IOException;
11095    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;
11096    method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void scheduleUpdateOnBoot(android.content.Context, java.io.File) throws java.io.IOException;
11097    method @Deprecated public static boolean verifyPackageCompatibility(java.io.File) throws java.io.IOException;
11098    field public static final int RESUME_ON_REBOOT_REBOOT_ERROR_INVALID_PACKAGE_NAME = 2000; // 0x7d0
11099    field public static final int RESUME_ON_REBOOT_REBOOT_ERROR_LSKF_NOT_CAPTURED = 3000; // 0xbb8
11100    field public static final int RESUME_ON_REBOOT_REBOOT_ERROR_PROVIDER_PREPARATION_FAILURE = 5000; // 0x1388
11101    field public static final int RESUME_ON_REBOOT_REBOOT_ERROR_SLOT_MISMATCH = 4000; // 0xfa0
11102    field public static final int RESUME_ON_REBOOT_REBOOT_ERROR_UNSPECIFIED = 1000; // 0x3e8
11103  }
11104
11105  public final class RemoteCallback implements android.os.Parcelable {
11106    ctor public RemoteCallback(android.os.RemoteCallback.OnResultListener);
11107    ctor public RemoteCallback(@NonNull android.os.RemoteCallback.OnResultListener, @Nullable android.os.Handler);
11108    method public int describeContents();
11109    method public void sendResult(@Nullable android.os.Bundle);
11110    method public void writeToParcel(android.os.Parcel, int);
11111    field @NonNull public static final android.os.Parcelable.Creator<android.os.RemoteCallback> CREATOR;
11112  }
11113
11114  public static interface RemoteCallback.OnResultListener {
11115    method public void onResult(@Nullable android.os.Bundle);
11116  }
11117
11118  public class ServiceSpecificException extends java.lang.RuntimeException {
11119    ctor public ServiceSpecificException(int, @Nullable String);
11120    ctor public ServiceSpecificException(int);
11121    field public final int errorCode;
11122  }
11123
11124  public class SystemConfigManager {
11125    method @NonNull @RequiresPermission(android.Manifest.permission.READ_CARRIER_APP_INFO) public java.util.Set<java.lang.String> getDisabledUntilUsedPreinstalledCarrierApps();
11126    method @NonNull @RequiresPermission(android.Manifest.permission.READ_CARRIER_APP_INFO) public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getDisabledUntilUsedPreinstalledCarrierAssociatedApps();
11127    method @NonNull @RequiresPermission(android.Manifest.permission.GET_RUNTIME_PERMISSIONS) public int[] getSystemPermissionUids(@NonNull String);
11128  }
11129
11130  public class SystemProperties {
11131    method @NonNull public static String get(@NonNull String);
11132    method @NonNull public static String get(@NonNull String, @Nullable String);
11133    method public static boolean getBoolean(@NonNull String, boolean);
11134    method public static int getInt(@NonNull String, int);
11135    method public static long getLong(@NonNull String, long);
11136  }
11137
11138  public class SystemUpdateManager {
11139    method @RequiresPermission(anyOf={android.Manifest.permission.READ_SYSTEM_UPDATE_INFO, android.Manifest.permission.RECOVERY}) public android.os.Bundle retrieveSystemUpdateInfo();
11140    method @RequiresPermission(android.Manifest.permission.RECOVERY) public void updateSystemUpdateInfo(android.os.PersistableBundle);
11141    field public static final String KEY_IS_SECURITY_UPDATE = "is_security_update";
11142    field public static final String KEY_STATUS = "status";
11143    field public static final String KEY_TARGET_BUILD_FINGERPRINT = "target_build_fingerprint";
11144    field public static final String KEY_TARGET_SECURITY_PATCH_LEVEL = "target_security_patch_level";
11145    field public static final String KEY_TITLE = "title";
11146    field public static final int STATUS_IDLE = 1; // 0x1
11147    field public static final int STATUS_IN_PROGRESS = 3; // 0x3
11148    field public static final int STATUS_UNKNOWN = 0; // 0x0
11149    field public static final int STATUS_WAITING_DOWNLOAD = 2; // 0x2
11150    field public static final int STATUS_WAITING_INSTALL = 4; // 0x4
11151    field public static final int STATUS_WAITING_REBOOT = 5; // 0x5
11152  }
11153
11154  public final class Trace {
11155    field public static final long TRACE_TAG_AIDL = 16777216L; // 0x1000000L
11156  }
11157
11158  public class UpdateEngine {
11159    ctor public UpdateEngine();
11160    method @NonNull @WorkerThread public android.os.UpdateEngine.AllocateSpaceResult allocateSpace(@NonNull String, @NonNull String[]);
11161    method public void applyPayload(String, long, long, String[]);
11162    method public void applyPayload(@NonNull android.content.res.AssetFileDescriptor, @NonNull String[]);
11163    method public boolean bind(android.os.UpdateEngineCallback, android.os.Handler);
11164    method public boolean bind(android.os.UpdateEngineCallback);
11165    method public void cancel();
11166    method @WorkerThread public int cleanupAppliedPayload();
11167    method public void resetShouldSwitchSlotOnReboot();
11168    method public void resetStatus();
11169    method public void resume();
11170    method public void setShouldSwitchSlotOnReboot(@NonNull String);
11171    method public void suspend();
11172    method public boolean unbind();
11173    method public boolean verifyPayloadMetadata(String);
11174  }
11175
11176  public static final class UpdateEngine.AllocateSpaceResult {
11177    method public int getErrorCode();
11178    method public long getFreeSpaceRequired();
11179  }
11180
11181  public static final class UpdateEngine.ErrorCodeConstants {
11182    ctor public UpdateEngine.ErrorCodeConstants();
11183    field public static final int DEVICE_CORRUPTED = 61; // 0x3d
11184    field public static final int DOWNLOAD_PAYLOAD_VERIFICATION_ERROR = 12; // 0xc
11185    field public static final int DOWNLOAD_TRANSFER_ERROR = 9; // 0x9
11186    field public static final int ERROR = 1; // 0x1
11187    field public static final int FILESYSTEM_COPIER_ERROR = 4; // 0x4
11188    field public static final int INSTALL_DEVICE_OPEN_ERROR = 7; // 0x7
11189    field public static final int KERNEL_DEVICE_OPEN_ERROR = 8; // 0x8
11190    field public static final int NOT_ENOUGH_SPACE = 60; // 0x3c
11191    field public static final int PAYLOAD_HASH_MISMATCH_ERROR = 10; // 0xa
11192    field public static final int PAYLOAD_MISMATCHED_TYPE_ERROR = 6; // 0x6
11193    field public static final int PAYLOAD_SIZE_MISMATCH_ERROR = 11; // 0xb
11194    field public static final int PAYLOAD_TIMESTAMP_ERROR = 51; // 0x33
11195    field public static final int POST_INSTALL_RUNNER_ERROR = 5; // 0x5
11196    field public static final int SUCCESS = 0; // 0x0
11197    field public static final int UPDATED_BUT_NOT_ACTIVE = 52; // 0x34
11198  }
11199
11200  public static final class UpdateEngine.UpdateStatusConstants {
11201    ctor public UpdateEngine.UpdateStatusConstants();
11202    field public static final int ATTEMPTING_ROLLBACK = 8; // 0x8
11203    field public static final int CHECKING_FOR_UPDATE = 1; // 0x1
11204    field public static final int DISABLED = 9; // 0x9
11205    field public static final int DOWNLOADING = 3; // 0x3
11206    field public static final int FINALIZING = 5; // 0x5
11207    field public static final int IDLE = 0; // 0x0
11208    field public static final int REPORTING_ERROR_EVENT = 7; // 0x7
11209    field public static final int UPDATED_NEED_REBOOT = 6; // 0x6
11210    field public static final int UPDATE_AVAILABLE = 2; // 0x2
11211    field public static final int VERIFYING = 4; // 0x4
11212  }
11213
11214  public abstract class UpdateEngineCallback {
11215    ctor public UpdateEngineCallback();
11216    method public abstract void onPayloadApplicationComplete(int);
11217    method public abstract void onStatusUpdate(int, float);
11218  }
11219
11220  public final class UserHandle implements android.os.Parcelable {
11221    method @NonNull public static String formatUid(int);
11222    method public static int getAppId(int);
11223    method public int getIdentifier();
11224    method public static int getSharedAppGid(int);
11225    method public int getUid(int);
11226    method @Deprecated public boolean isOwner();
11227    method public boolean isSystem();
11228    method public static int myUserId();
11229    method public static android.os.UserHandle of(int);
11230    field @NonNull public static final android.os.UserHandle ALL;
11231    field @NonNull public static final android.os.UserHandle CURRENT;
11232    field @NonNull public static final android.os.UserHandle SYSTEM;
11233  }
11234
11235  public class UserManager {
11236    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean canHaveRestrictedProfile();
11237    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void clearSeedAccountData();
11238    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;
11239    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.os.NewUserResponse createUser(@NonNull android.os.NewUserRequest);
11240    method @NonNull public java.util.List<android.os.UserHandle> getAllProfiles();
11241    method @NonNull public java.util.List<android.os.UserHandle> getEnabledProfiles();
11242    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public android.os.UserHandle getMainUser();
11243    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public android.os.UserHandle getPreviousForegroundUser();
11244    method @NonNull public String getProfileLabel();
11245    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public android.os.UserHandle getProfileParent(@NonNull android.os.UserHandle);
11246    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public int getRemainingCreatableProfileCount(@NonNull String);
11247    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public int getRemainingCreatableUserCount(@NonNull String);
11248    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public android.os.UserHandle getRestrictedProfileParent();
11249    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getSeedAccountName();
11250    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.os.PersistableBundle getSeedAccountOptions();
11251    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getSeedAccountType();
11252    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public long[] getSerialNumbersOfUsers(boolean);
11253    method @NonNull public android.graphics.drawable.Drawable getUserBadge();
11254    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public java.util.List<android.os.UserHandle> getUserHandles(boolean);
11255    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.GET_ACCOUNTS_PRIVILEGED}) public android.graphics.Bitmap getUserIcon();
11256    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public android.content.pm.UserProperties getUserProperties(@NonNull android.os.UserHandle);
11257    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_USERS}) public int getUserRestrictionSource(String, android.os.UserHandle);
11258    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_USERS}) public java.util.List<android.os.UserManager.EnforcingUser> getUserRestrictionSources(String, android.os.UserHandle);
11259    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public int getUserSwitchability();
11260    method @NonNull @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.MANAGE_USERS"}) public java.util.Set<android.os.UserHandle> getVisibleUsers();
11261    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean hasRestrictedProfiles();
11262    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);
11263    method public boolean isCloneProfile();
11264    method @Deprecated public boolean isCredentialSharableWithParent();
11265    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isGuestUser();
11266    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isMainUser();
11267    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean isManagedProfile(int);
11268    method @Deprecated public boolean isMediaSharedWithParent();
11269    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isPrimaryUser();
11270    method @FlaggedApi("android.os.allow_private_profile") public boolean isPrivateProfile();
11271    method public static boolean isRemoveResultSuccessful(int);
11272    method public boolean isRestrictedProfile();
11273    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}, conditional=true) public boolean isRestrictedProfile(@NonNull android.os.UserHandle);
11274    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isSameProfileGroup(@NonNull android.os.UserHandle, @NonNull android.os.UserHandle);
11275    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS, android.Manifest.permission.GET_ACCOUNTS_PRIVILEGED}) public boolean isUserNameSet();
11276    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isUserOfType(@NonNull String);
11277    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean isUserUnlockingOrUnlocked(@NonNull android.os.UserHandle);
11278    method public boolean isUserVisible();
11279    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean removeUser(@NonNull android.os.UserHandle);
11280    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public int removeUserWhenPossible(@NonNull android.os.UserHandle, boolean);
11281    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public void setBootUser(@NonNull android.os.UserHandle);
11282    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setUserIcon(@NonNull android.graphics.Bitmap) throws android.os.UserManager.UserOperationException;
11283    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setUserName(@Nullable String);
11284    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean someUserHasAccount(@NonNull String, @NonNull String);
11285    field @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public static final String ACTION_CREATE_SUPERVISED_USER = "android.os.action.CREATE_SUPERVISED_USER";
11286    field public static final String ACTION_USER_RESTRICTIONS_CHANGED = "android.os.action.USER_RESTRICTIONS_CHANGED";
11287    field @Deprecated public static final String DISALLOW_OEM_UNLOCK = "no_oem_unlock";
11288    field public static final String DISALLOW_RUN_IN_BACKGROUND = "no_run_in_background";
11289    field public static final int REMOVE_RESULT_ALREADY_BEING_REMOVED = 2; // 0x2
11290    field public static final int REMOVE_RESULT_DEFERRED = 1; // 0x1
11291    field public static final int REMOVE_RESULT_ERROR_MAIN_USER_PERMANENT_ADMIN = -5; // 0xfffffffb
11292    field public static final int REMOVE_RESULT_ERROR_SYSTEM_USER = -4; // 0xfffffffc
11293    field public static final int REMOVE_RESULT_ERROR_UNKNOWN = -1; // 0xffffffff
11294    field public static final int REMOVE_RESULT_ERROR_USER_NOT_FOUND = -3; // 0xfffffffd
11295    field public static final int REMOVE_RESULT_ERROR_USER_RESTRICTION = -2; // 0xfffffffe
11296    field public static final int REMOVE_RESULT_REMOVED = 0; // 0x0
11297    field public static final int RESTRICTION_NOT_SET = 0; // 0x0
11298    field public static final int RESTRICTION_SOURCE_DEVICE_OWNER = 2; // 0x2
11299    field public static final int RESTRICTION_SOURCE_PROFILE_OWNER = 4; // 0x4
11300    field public static final int RESTRICTION_SOURCE_SYSTEM = 1; // 0x1
11301    field public static final int SWITCHABILITY_STATUS_OK = 0; // 0x0
11302    field public static final int SWITCHABILITY_STATUS_SYSTEM_USER_LOCKED = 4; // 0x4
11303    field public static final int SWITCHABILITY_STATUS_USER_IN_CALL = 1; // 0x1
11304    field public static final int SWITCHABILITY_STATUS_USER_SWITCH_DISALLOWED = 2; // 0x2
11305    field public static final int USER_OPERATION_ERROR_USER_ACCOUNT_ALREADY_EXISTS = 7; // 0x7
11306    field public static final String USER_TYPE_FULL_GUEST = "android.os.usertype.full.GUEST";
11307    field public static final String USER_TYPE_FULL_SECONDARY = "android.os.usertype.full.SECONDARY";
11308    field public static final String USER_TYPE_FULL_SYSTEM = "android.os.usertype.full.SYSTEM";
11309    field public static final String USER_TYPE_SYSTEM_HEADLESS = "android.os.usertype.system.HEADLESS";
11310  }
11311
11312  public static final class UserManager.EnforcingUser implements android.os.Parcelable {
11313    method public int describeContents();
11314    method public android.os.UserHandle getUserHandle();
11315    method public int getUserRestrictionSource();
11316    method public void writeToParcel(android.os.Parcel, int);
11317    field @NonNull public static final android.os.Parcelable.Creator<android.os.UserManager.EnforcingUser> CREATOR;
11318  }
11319
11320  public abstract class Vibrator {
11321    method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public void addVibratorStateListener(@NonNull android.os.Vibrator.OnVibratorStateChangedListener);
11322    method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public void addVibratorStateListener(@NonNull java.util.concurrent.Executor, @NonNull android.os.Vibrator.OnVibratorStateChangedListener);
11323    method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public boolean isVibrating();
11324    method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public void removeVibratorStateListener(@NonNull android.os.Vibrator.OnVibratorStateChangedListener);
11325  }
11326
11327  public static interface Vibrator.OnVibratorStateChangedListener {
11328    method public void onVibratorStateChanged(boolean);
11329  }
11330
11331  public class WorkSource implements android.os.Parcelable {
11332    ctor public WorkSource(int);
11333    ctor public WorkSource(int, @NonNull String);
11334    method public android.os.WorkSource.WorkChain createWorkChain();
11335    method @Nullable public String getPackageName(int);
11336    method public int getUid(int);
11337    method @Nullable public java.util.List<android.os.WorkSource.WorkChain> getWorkChains();
11338    method public boolean isEmpty();
11339    method public int size();
11340    method @NonNull public android.os.WorkSource withoutNames();
11341  }
11342
11343  public static final class WorkSource.WorkChain implements android.os.Parcelable {
11344    ctor public WorkSource.WorkChain();
11345    method public android.os.WorkSource.WorkChain addNode(int, @Nullable String);
11346    method public int describeContents();
11347    method public String getAttributionTag();
11348    method public int getAttributionUid();
11349    method public void writeToParcel(android.os.Parcel, int);
11350    field @NonNull public static final android.os.Parcelable.Creator<android.os.WorkSource.WorkChain> CREATOR;
11351  }
11352
11353}
11354
11355package android.os.connectivity {
11356
11357  public final class CellularBatteryStats implements android.os.Parcelable {
11358    method public int describeContents();
11359    method public long getEnergyConsumedMaMillis();
11360    method public long getIdleTimeMillis();
11361    method public long getKernelActiveTimeMillis();
11362    method public long getLoggingDurationMillis();
11363    method public long getMonitoredRailChargeConsumedMaMillis();
11364    method public long getNumBytesRx();
11365    method public long getNumBytesTx();
11366    method public long getNumPacketsRx();
11367    method public long getNumPacketsTx();
11368    method public long getRxTimeMillis();
11369    method public long getSleepTimeMillis();
11370    method @NonNull public long getTimeInRatMicros(int);
11371    method @NonNull public long getTimeInRxSignalStrengthLevelMicros(@IntRange(from=android.telephony.CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN, to=android.telephony.CellSignalStrength.SIGNAL_STRENGTH_GREAT) int);
11372    method public void writeToParcel(@NonNull android.os.Parcel, int);
11373    field @NonNull public static final android.os.Parcelable.Creator<android.os.connectivity.CellularBatteryStats> CREATOR;
11374  }
11375
11376  public final class WifiActivityEnergyInfo implements android.os.Parcelable {
11377    ctor public WifiActivityEnergyInfo(long, int, @IntRange(from=0) long, @IntRange(from=0) long, @IntRange(from=0) long, @IntRange(from=0) long);
11378    method public int describeContents();
11379    method @IntRange(from=0) public long getControllerEnergyUsedMicroJoules();
11380    method @IntRange(from=0) public long getControllerIdleDurationMillis();
11381    method @IntRange(from=0) public long getControllerRxDurationMillis();
11382    method @IntRange(from=0) public long getControllerScanDurationMillis();
11383    method @IntRange(from=0) public long getControllerTxDurationMillis();
11384    method public int getStackState();
11385    method public long getTimeSinceBootMillis();
11386    method public void writeToParcel(@NonNull android.os.Parcel, int);
11387    field @NonNull public static final android.os.Parcelable.Creator<android.os.connectivity.WifiActivityEnergyInfo> CREATOR;
11388    field public static final int STACK_STATE_INVALID = 0; // 0x0
11389    field public static final int STACK_STATE_STATE_ACTIVE = 1; // 0x1
11390    field public static final int STACK_STATE_STATE_IDLE = 3; // 0x3
11391    field public static final int STACK_STATE_STATE_SCANNING = 2; // 0x2
11392  }
11393
11394  public final class WifiBatteryStats implements android.os.Parcelable {
11395    method public int describeContents();
11396    method public long getAppScanRequestCount();
11397    method public long getEnergyConsumedMaMillis();
11398    method public long getIdleTimeMillis();
11399    method public long getKernelActiveTimeMillis();
11400    method public long getLoggingDurationMillis();
11401    method public long getMonitoredRailChargeConsumedMaMillis();
11402    method public long getNumBytesRx();
11403    method public long getNumBytesTx();
11404    method public long getNumPacketsRx();
11405    method public long getNumPacketsTx();
11406    method public long getRxTimeMillis();
11407    method public long getScanTimeMillis();
11408    method public long getSleepTimeMillis();
11409    method public long getTxTimeMillis();
11410    method public void writeToParcel(@NonNull android.os.Parcel, int);
11411    field @NonNull public static final android.os.Parcelable.Creator<android.os.connectivity.WifiBatteryStats> CREATOR;
11412  }
11413
11414}
11415
11416package android.os.image {
11417
11418  public class DynamicSystemClient {
11419    ctor public DynamicSystemClient(@NonNull android.content.Context);
11420    method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void bind();
11421    method public void setOnStatusChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.os.image.DynamicSystemClient.OnStatusChangedListener);
11422    method public void setOnStatusChangedListener(@NonNull android.os.image.DynamicSystemClient.OnStatusChangedListener);
11423    method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void start(@NonNull android.net.Uri, long);
11424    method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void start(@NonNull android.net.Uri, long, long);
11425    method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void unbind();
11426    field public static final int CAUSE_ERROR_EXCEPTION = 6; // 0x6
11427    field public static final int CAUSE_ERROR_INVALID_URL = 4; // 0x4
11428    field public static final int CAUSE_ERROR_IO = 3; // 0x3
11429    field public static final int CAUSE_ERROR_IPC = 5; // 0x5
11430    field public static final int CAUSE_INSTALL_CANCELLED = 2; // 0x2
11431    field public static final int CAUSE_INSTALL_COMPLETED = 1; // 0x1
11432    field public static final int CAUSE_NOT_SPECIFIED = 0; // 0x0
11433    field public static final int STATUS_IN_PROGRESS = 2; // 0x2
11434    field public static final int STATUS_IN_USE = 4; // 0x4
11435    field public static final int STATUS_NOT_STARTED = 1; // 0x1
11436    field public static final int STATUS_READY = 3; // 0x3
11437    field public static final int STATUS_UNKNOWN = 0; // 0x0
11438  }
11439
11440  public static interface DynamicSystemClient.OnStatusChangedListener {
11441    method public void onStatusChanged(int, int, long, @Nullable Throwable);
11442  }
11443
11444}
11445
11446package android.os.storage {
11447
11448  public class StorageManager {
11449    method @WorkerThread public void allocateBytes(@NonNull java.util.UUID, long, @RequiresPermission int) throws java.io.IOException;
11450    method @WorkerThread public void allocateBytes(java.io.FileDescriptor, long, @RequiresPermission int) throws java.io.IOException;
11451    method @WorkerThread public long getAllocatableBytes(@NonNull java.util.UUID, @RequiresPermission int) throws java.io.IOException;
11452    method @RequiresPermission(android.Manifest.permission.WRITE_MEDIA_STORAGE) public int getExternalStorageMountMode(int, @NonNull String);
11453    method @FlaggedApi("android.os.storage_lifetime_api") @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getInternalStorageRemainingLifetime();
11454    method public static boolean hasIsolatedStorage();
11455    method public void updateExternalStorageFileQuotaType(@NonNull java.io.File, int) throws java.io.IOException;
11456    field @RequiresPermission(android.Manifest.permission.ALLOCATE_AGGRESSIVE) public static final int FLAG_ALLOCATE_AGGRESSIVE = 1; // 0x1
11457    field public static final int MOUNT_MODE_EXTERNAL_ANDROID_WRITABLE = 4; // 0x4
11458    field public static final int MOUNT_MODE_EXTERNAL_DEFAULT = 1; // 0x1
11459    field public static final int MOUNT_MODE_EXTERNAL_INSTALLER = 2; // 0x2
11460    field public static final int MOUNT_MODE_EXTERNAL_NONE = 0; // 0x0
11461    field public static final int MOUNT_MODE_EXTERNAL_PASS_THROUGH = 3; // 0x3
11462    field public static final int QUOTA_TYPE_MEDIA_AUDIO = 2; // 0x2
11463    field public static final int QUOTA_TYPE_MEDIA_IMAGE = 1; // 0x1
11464    field public static final int QUOTA_TYPE_MEDIA_NONE = 0; // 0x0
11465    field public static final int QUOTA_TYPE_MEDIA_VIDEO = 3; // 0x3
11466  }
11467
11468  public final class StorageVolume implements android.os.Parcelable {
11469    method @NonNull public String getId();
11470    method public boolean isExternallyManaged();
11471  }
11472
11473}
11474
11475package android.permission {
11476
11477  public final class AdminPermissionControlParams implements android.os.Parcelable {
11478    method public boolean canAdminGrantSensorsPermissions();
11479    method public int describeContents();
11480    method public int getGrantState();
11481    method @NonNull public String getGranteePackageName();
11482    method @NonNull public String getPermission();
11483    method public void writeToParcel(@NonNull android.os.Parcel, int);
11484    field @NonNull public static final android.os.Parcelable.Creator<android.permission.AdminPermissionControlParams> CREATOR;
11485  }
11486
11487  public final class PermissionControllerManager {
11488    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>);
11489    method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public void getHibernationEligibility(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.IntConsumer);
11490    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[]>);
11491    method public void getUnusedAppCount(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.IntConsumer);
11492    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);
11493    method @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.RESTORE_RUNTIME_PERMISSIONS}) public void stageAndApplyRuntimePermissionsBackup(@NonNull byte[], @NonNull android.os.UserHandle);
11494    field public static final int COUNT_ONLY_WHEN_GRANTED = 1; // 0x1
11495    field public static final int COUNT_WHEN_SYSTEM = 2; // 0x2
11496    field public static final int HIBERNATION_ELIGIBILITY_ELIGIBLE = 0; // 0x0
11497    field public static final int HIBERNATION_ELIGIBILITY_EXEMPT_BY_SYSTEM = 1; // 0x1
11498    field public static final int HIBERNATION_ELIGIBILITY_EXEMPT_BY_USER = 2; // 0x2
11499    field public static final int HIBERNATION_ELIGIBILITY_UNKNOWN = -1; // 0xffffffff
11500    field public static final int REASON_INSTALLER_POLICY_VIOLATION = 2; // 0x2
11501    field public static final int REASON_MALWARE = 1; // 0x1
11502  }
11503
11504  public abstract static class PermissionControllerManager.OnRevokeRuntimePermissionsCallback {
11505    ctor public PermissionControllerManager.OnRevokeRuntimePermissionsCallback();
11506    method public abstract void onRevokeRuntimePermissions(@NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>);
11507  }
11508
11509  public abstract class PermissionControllerService extends android.app.Service {
11510    ctor public PermissionControllerService();
11511    method @Deprecated @NonNull @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public String getPrivilegesDescriptionStringForProfile(@NonNull String);
11512    method @BinderThread public void onApplyStagedRuntimePermissionBackup(@NonNull String, @NonNull android.os.UserHandle, @NonNull java.util.function.Consumer<java.lang.Boolean>);
11513    method @NonNull public final android.os.IBinder onBind(android.content.Intent);
11514    method @BinderThread public abstract void onCountPermissionApps(@NonNull java.util.List<java.lang.String>, int, @NonNull java.util.function.IntConsumer);
11515    method @BinderThread public abstract void onGetAppPermissions(@NonNull String, @NonNull java.util.function.Consumer<java.util.List<android.permission.RuntimePermissionPresentationInfo>>);
11516    method @BinderThread public void onGetGroupOfPlatformPermission(@NonNull String, @NonNull java.util.function.Consumer<java.lang.String>);
11517    method @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public void onGetHibernationEligibility(@NonNull String, @NonNull java.util.function.IntConsumer);
11518    method @BinderThread public abstract void onGetPermissionUsages(boolean, long, @NonNull java.util.function.Consumer<java.util.List<android.permission.RuntimePermissionUsageInfo>>);
11519    method @BinderThread public void onGetPlatformPermissionsForGroup(@NonNull String, @NonNull java.util.function.Consumer<java.util.List<java.lang.String>>);
11520    method @BinderThread public abstract void onGetRuntimePermissionsBackup(@NonNull android.os.UserHandle, @NonNull java.io.OutputStream, @NonNull Runnable);
11521    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_HIBERNATION) public void onGetUnusedAppCount(@NonNull java.util.function.IntConsumer);
11522    method @BinderThread public abstract void onGrantOrUpgradeDefaultRuntimePermissions(@NonNull Runnable);
11523    method @Deprecated @BinderThread public void onOneTimePermissionSessionTimeout(@NonNull String);
11524    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") @BinderThread public void onOneTimePermissionSessionTimeout(@NonNull String, int);
11525    method @Deprecated @BinderThread public void onRestoreDelayedRuntimePermissionsBackup(@NonNull String, @NonNull android.os.UserHandle, @NonNull java.util.function.Consumer<java.lang.Boolean>);
11526    method @Deprecated @BinderThread public void onRestoreRuntimePermissionsBackup(@NonNull android.os.UserHandle, @NonNull java.io.InputStream, @NonNull Runnable);
11527    method @BinderThread public abstract void onRevokeRuntimePermission(@NonNull String, @NonNull String, @NonNull Runnable);
11528    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>>>);
11529    method @Deprecated @BinderThread public void onRevokeSelfPermissionsOnKill(@NonNull String, @NonNull java.util.List<java.lang.String>, @NonNull Runnable);
11530    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") @BinderThread public void onRevokeSelfPermissionsOnKill(@NonNull String, @NonNull java.util.List<java.lang.String>, int, @NonNull Runnable);
11531    method @Deprecated @BinderThread public abstract void onSetRuntimePermissionGrantStateByDeviceAdmin(@NonNull String, @NonNull String, @NonNull String, int, @NonNull java.util.function.Consumer<java.lang.Boolean>);
11532    method @BinderThread public void onSetRuntimePermissionGrantStateByDeviceAdmin(@NonNull String, @NonNull android.permission.AdminPermissionControlParams, @NonNull java.util.function.Consumer<java.lang.Boolean>);
11533    method @BinderThread public void onStageAndApplyRuntimePermissionsBackup(@NonNull android.os.UserHandle, @NonNull java.io.InputStream, @NonNull Runnable);
11534    method @BinderThread public void onUpdateUserSensitivePermissionFlags(int, @NonNull java.util.concurrent.Executor, @NonNull Runnable);
11535    method @BinderThread public void onUpdateUserSensitivePermissionFlags(int, @NonNull Runnable);
11536    field public static final String SERVICE_INTERFACE = "android.permission.PermissionControllerService";
11537  }
11538
11539  public final class PermissionGroupUsage implements android.os.Parcelable {
11540    method public int describeContents();
11541    method @Nullable public CharSequence getAttributionLabel();
11542    method @Nullable public CharSequence getAttributionTag();
11543    method public long getLastAccessTimeMillis();
11544    method @NonNull public String getPackageName();
11545    method @NonNull public String getPermissionGroupName();
11546    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") @NonNull public String getPersistentDeviceId();
11547    method @Nullable public CharSequence getProxyLabel();
11548    method public int getUid();
11549    method public boolean isActive();
11550    method public boolean isPhoneCall();
11551    method public void writeToParcel(@NonNull android.os.Parcel, int);
11552    field @NonNull public static final android.os.Parcelable.Creator<android.permission.PermissionGroupUsage> CREATOR;
11553  }
11554
11555  public final class PermissionManager {
11556    method public int checkDeviceIdentifierAccess(@Nullable String, @Nullable String, @Nullable String, int, int);
11557    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") public int checkPermission(@NonNull String, @NonNull String, @NonNull String);
11558    method @RequiresPermission(value=android.Manifest.permission.UPDATE_APP_OPS_STATS, conditional=true) public int checkPermissionForDataDelivery(@NonNull String, @NonNull android.content.AttributionSource, @Nullable String);
11559    method @RequiresPermission(value=android.Manifest.permission.UPDATE_APP_OPS_STATS, conditional=true) public int checkPermissionForDataDeliveryFromDataSource(@NonNull String, @NonNull android.content.AttributionSource, @Nullable String);
11560    method public int checkPermissionForPreflight(@NonNull String, @NonNull android.content.AttributionSource);
11561    method @RequiresPermission(value=android.Manifest.permission.UPDATE_APP_OPS_STATS, conditional=true) public int checkPermissionForStartDataDelivery(@NonNull String, @NonNull android.content.AttributionSource, @Nullable String);
11562    method public void finishDataDelivery(@NonNull String, @NonNull android.content.AttributionSource);
11563    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") @NonNull @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS, android.Manifest.permission.GET_RUNTIME_PERMISSIONS}) public java.util.Map<java.lang.String,android.permission.PermissionManager.PermissionState> getAllPermissionStates(@NonNull String, @NonNull String);
11564    method @NonNull @RequiresPermission(android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY) public java.util.Set<java.lang.String> getAutoRevokeExemptionGrantedPackages();
11565    method @NonNull @RequiresPermission(android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY) public java.util.Set<java.lang.String> getAutoRevokeExemptionRequestedPackages();
11566    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS, android.Manifest.permission.GET_RUNTIME_PERMISSIONS}) public int getPermissionFlags(@NonNull String, @NonNull String, @NonNull String);
11567    method @IntRange(from=0) @RequiresPermission(anyOf={android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY, android.Manifest.permission.UPGRADE_RUNTIME_PERMISSIONS}) public int getRuntimePermissionsVersion();
11568    method @NonNull public java.util.List<android.permission.PermissionManager.SplitPermissionInfo> getSplitPermissions();
11569    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public void grantRuntimePermission(@NonNull String, @NonNull String, @NonNull String);
11570    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull String, @Nullable String);
11571    method @RequiresPermission(anyOf={android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY, android.Manifest.permission.UPGRADE_RUNTIME_PERMISSIONS}) public void setRuntimePermissionsVersion(@IntRange(from=0) int);
11572    method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS) public void startOneTimePermissionSession(@NonNull String, long, int, int);
11573    method @RequiresPermission(android.Manifest.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS) public void startOneTimePermissionSession(@NonNull String, long, long, int, int);
11574    method @RequiresPermission(android.Manifest.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS) public void stopOneTimePermissionSession(@NonNull String);
11575    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS}) public void updatePermissionFlags(@NonNull String, @NonNull String, @NonNull String, int, int);
11576    field @RequiresPermission(android.Manifest.permission.START_REVIEW_PERMISSION_DECISIONS) public static final String ACTION_REVIEW_PERMISSION_DECISIONS = "android.permission.action.REVIEW_PERMISSION_DECISIONS";
11577    field public static final String EXTRA_PERMISSION_USAGES = "android.permission.extra.PERMISSION_USAGES";
11578    field public static final int PERMISSION_GRANTED = 0; // 0x0
11579    field public static final int PERMISSION_HARD_DENIED = 2; // 0x2
11580    field public static final int PERMISSION_SOFT_DENIED = 1; // 0x1
11581  }
11582
11583  @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") public static final class PermissionManager.PermissionState implements android.os.Parcelable {
11584    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") public int describeContents();
11585    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") public int getFlags();
11586    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") public boolean isGranted();
11587    method @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") public void writeToParcel(@NonNull android.os.Parcel, int);
11588    field @FlaggedApi("android.permission.flags.device_aware_permission_apis_enabled") @NonNull public static final android.os.Parcelable.Creator<android.permission.PermissionManager.PermissionState> CREATOR;
11589  }
11590
11591  public static final class PermissionManager.SplitPermissionInfo {
11592    method @NonNull public java.util.List<java.lang.String> getNewPermissions();
11593    method @NonNull public String getSplitPermission();
11594    method public int getTargetSdk();
11595  }
11596
11597  public final class RuntimePermissionPresentationInfo implements android.os.Parcelable {
11598    ctor public RuntimePermissionPresentationInfo(@NonNull CharSequence, boolean, boolean);
11599    method public int describeContents();
11600    method @NonNull public CharSequence getLabel();
11601    method public boolean isGranted();
11602    method public boolean isStandard();
11603    method public void writeToParcel(android.os.Parcel, int);
11604    field @NonNull public static final android.os.Parcelable.Creator<android.permission.RuntimePermissionPresentationInfo> CREATOR;
11605  }
11606
11607  public final class RuntimePermissionUsageInfo implements android.os.Parcelable {
11608    ctor public RuntimePermissionUsageInfo(@NonNull String, int);
11609    method public int describeContents();
11610    method public int getAppAccessCount();
11611    method @NonNull public String getName();
11612    method public void writeToParcel(android.os.Parcel, int);
11613    field @NonNull public static final android.os.Parcelable.Creator<android.permission.RuntimePermissionUsageInfo> CREATOR;
11614  }
11615
11616}
11617
11618package android.permissionpresenterservice {
11619
11620  @Deprecated public abstract class RuntimePermissionPresenterService extends android.app.Service {
11621    ctor @Deprecated public RuntimePermissionPresenterService();
11622    method @Deprecated public final void attachBaseContext(android.content.Context);
11623    method @Deprecated public final android.os.IBinder onBind(android.content.Intent);
11624    method @Deprecated public abstract java.util.List<android.content.pm.permission.RuntimePermissionPresentationInfo> onGetAppPermissions(@NonNull String);
11625    field @Deprecated public static final String SERVICE_INTERFACE = "android.permissionpresenterservice.RuntimePermissionPresenterService";
11626  }
11627
11628}
11629
11630package android.preference {
11631
11632  @Deprecated public class PreferenceManager {
11633    method @Deprecated public boolean isStorageCredentialProtected();
11634    method @Deprecated public void setStorageCredentialProtected();
11635  }
11636
11637}
11638
11639package android.print {
11640
11641  public final class PrintManager {
11642    method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICE_RECOMMENDATIONS) public void addPrintServiceRecommendationsChangeListener(@NonNull android.print.PrintManager.PrintServiceRecommendationsChangeListener, @Nullable android.os.Handler);
11643    method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICES) public void addPrintServicesChangeListener(@NonNull android.print.PrintManager.PrintServicesChangeListener, @Nullable android.os.Handler);
11644    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICE_RECOMMENDATIONS) public java.util.List<android.printservice.recommendation.RecommendationInfo> getPrintServiceRecommendations();
11645    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICES) public java.util.List<android.printservice.PrintServiceInfo> getPrintServices(int);
11646    method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICE_RECOMMENDATIONS) public void removePrintServiceRecommendationsChangeListener(@NonNull android.print.PrintManager.PrintServiceRecommendationsChangeListener);
11647    method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICES) public void removePrintServicesChangeListener(@NonNull android.print.PrintManager.PrintServicesChangeListener);
11648    field public static final int ENABLED_SERVICES = 1; // 0x1
11649  }
11650
11651  public static interface PrintManager.PrintServiceRecommendationsChangeListener {
11652    method public void onPrintServiceRecommendationsChanged();
11653  }
11654
11655  public static interface PrintManager.PrintServicesChangeListener {
11656    method public void onPrintServicesChanged();
11657  }
11658
11659}
11660
11661package android.printservice {
11662
11663  public final class PrintServiceInfo implements android.os.Parcelable {
11664    method public int describeContents();
11665    method @NonNull public android.content.ComponentName getComponentName();
11666    method public void writeToParcel(android.os.Parcel, int);
11667    field @NonNull public static final android.os.Parcelable.Creator<android.printservice.PrintServiceInfo> CREATOR;
11668  }
11669
11670}
11671
11672package android.printservice.recommendation {
11673
11674  public final class RecommendationInfo implements android.os.Parcelable {
11675    ctor public RecommendationInfo(@NonNull CharSequence, @NonNull CharSequence, @NonNull java.util.List<java.net.InetAddress>, boolean);
11676    ctor @Deprecated public RecommendationInfo(@NonNull CharSequence, @NonNull CharSequence, @IntRange(from=0) int, boolean);
11677    method public int describeContents();
11678    method @NonNull public java.util.List<java.net.InetAddress> getDiscoveredPrinters();
11679    method public CharSequence getName();
11680    method public int getNumDiscoveredPrinters();
11681    method public CharSequence getPackageName();
11682    method public boolean recommendsMultiVendorService();
11683    method public void writeToParcel(android.os.Parcel, int);
11684    field @NonNull public static final android.os.Parcelable.Creator<android.printservice.recommendation.RecommendationInfo> CREATOR;
11685  }
11686
11687  public abstract class RecommendationService extends android.app.Service {
11688    ctor public RecommendationService();
11689    method public final android.os.IBinder onBind(android.content.Intent);
11690    method public abstract void onConnected();
11691    method public abstract void onDisconnected();
11692    method public final void updateRecommendations(@Nullable java.util.List<android.printservice.recommendation.RecommendationInfo>);
11693    field public static final String SERVICE_INTERFACE = "android.printservice.recommendation.RecommendationService";
11694  }
11695
11696}
11697
11698package android.provider {
11699
11700  @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") public final class BlockedNumbersManager {
11701    method @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") @RequiresPermission(allOf={android.Manifest.permission.READ_BLOCKED_NUMBERS, android.Manifest.permission.WRITE_BLOCKED_NUMBERS}) public void endBlockSuppression();
11702    method @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") @NonNull @RequiresPermission(allOf={android.Manifest.permission.READ_BLOCKED_NUMBERS, android.Manifest.permission.WRITE_BLOCKED_NUMBERS}) public android.provider.BlockedNumbersManager.BlockSuppressionStatus getBlockSuppressionStatus();
11703    method @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") @RequiresPermission(allOf={android.Manifest.permission.READ_BLOCKED_NUMBERS, android.Manifest.permission.WRITE_BLOCKED_NUMBERS}) public boolean getBlockedNumberSetting(@NonNull String);
11704    method @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") @RequiresPermission(allOf={android.Manifest.permission.READ_BLOCKED_NUMBERS, android.Manifest.permission.WRITE_BLOCKED_NUMBERS}) public void notifyEmergencyContact();
11705    method @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") @RequiresPermission(allOf={android.Manifest.permission.READ_BLOCKED_NUMBERS, android.Manifest.permission.WRITE_BLOCKED_NUMBERS}) public void setBlockedNumberSetting(@NonNull String, boolean);
11706    method @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") @RequiresPermission(allOf={android.Manifest.permission.READ_BLOCKED_NUMBERS, android.Manifest.permission.WRITE_BLOCKED_NUMBERS}) public boolean shouldShowEmergencyCallNotification();
11707    method @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") @RequiresPermission(allOf={android.Manifest.permission.READ_BLOCKED_NUMBERS, android.Manifest.permission.WRITE_BLOCKED_NUMBERS}) public int shouldSystemBlockNumber(@NonNull String, int, boolean);
11708    field @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") public static final String ACTION_BLOCK_SUPPRESSION_STATE_CHANGED = "android.provider.action.BLOCK_SUPPRESSION_STATE_CHANGED";
11709    field @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") public static final String ENHANCED_SETTING_KEY_BLOCK_PAYPHONE = "block_payphone_calls_setting";
11710    field @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") public static final String ENHANCED_SETTING_KEY_BLOCK_PRIVATE = "block_private_number_calls_setting";
11711    field @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") public static final String ENHANCED_SETTING_KEY_BLOCK_UNAVAILABLE = "block_unavailable_calls_setting";
11712    field @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") public static final String ENHANCED_SETTING_KEY_BLOCK_UNKNOWN = "block_unknown_calls_setting";
11713    field @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") public static final String ENHANCED_SETTING_KEY_BLOCK_UNREGISTERED = "block_numbers_not_in_contacts_setting";
11714    field @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") public static final String ENHANCED_SETTING_KEY_SHOW_EMERGENCY_CALL_NOTIFICATION = "show_emergency_call_notification";
11715  }
11716
11717  @FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") public static final class BlockedNumbersManager.BlockSuppressionStatus {
11718    ctor public BlockedNumbersManager.BlockSuppressionStatus(boolean, long);
11719    method public boolean getIsSuppressed();
11720    method public long getUntilTimestampMillis();
11721  }
11722
11723  public class CallLog {
11724    method @RequiresPermission(allOf={android.Manifest.permission.WRITE_CALL_LOG, android.Manifest.permission.INTERACT_ACROSS_USERS}) public static void storeCallComposerPicture(@NonNull android.content.Context, @NonNull java.io.InputStream, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<android.net.Uri,android.provider.CallLog.CallComposerLoggingException>);
11725  }
11726
11727  public static class CallLog.CallComposerLoggingException extends java.lang.Throwable {
11728    ctor public CallLog.CallComposerLoggingException(int);
11729    method public int getErrorCode();
11730    field public static final int ERROR_INPUT_CLOSED = 3; // 0x3
11731    field public static final int ERROR_REMOTE_END_CLOSED = 1; // 0x1
11732    field public static final int ERROR_STORAGE_FULL = 2; // 0x2
11733    field public static final int ERROR_UNKNOWN = 0; // 0x0
11734  }
11735
11736  @Deprecated public static final class ContactsContract.MetadataSync implements android.provider.BaseColumns android.provider.ContactsContract.MetadataSyncColumns {
11737    field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/contact_metadata";
11738    field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/contact_metadata";
11739    field @Deprecated public static final android.net.Uri CONTENT_URI;
11740    field @Deprecated public static final String METADATA_AUTHORITY = "com.android.contacts.metadata";
11741    field @Deprecated public static final android.net.Uri METADATA_AUTHORITY_URI;
11742  }
11743
11744  @Deprecated protected static interface ContactsContract.MetadataSyncColumns {
11745    field @Deprecated public static final String ACCOUNT_NAME = "account_name";
11746    field @Deprecated public static final String ACCOUNT_TYPE = "account_type";
11747    field @Deprecated public static final String DATA = "data";
11748    field @Deprecated public static final String DATA_SET = "data_set";
11749    field @Deprecated public static final String DELETED = "deleted";
11750    field @Deprecated public static final String RAW_CONTACT_BACKUP_ID = "raw_contact_backup_id";
11751  }
11752
11753  @Deprecated public static final class ContactsContract.MetadataSyncState implements android.provider.BaseColumns android.provider.ContactsContract.MetadataSyncStateColumns {
11754    field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/contact_metadata_sync_state";
11755    field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/contact_metadata_sync_state";
11756    field @Deprecated public static final android.net.Uri CONTENT_URI;
11757  }
11758
11759  @Deprecated protected static interface ContactsContract.MetadataSyncStateColumns {
11760    field @Deprecated public static final String ACCOUNT_NAME = "account_name";
11761    field @Deprecated public static final String ACCOUNT_TYPE = "account_type";
11762    field @Deprecated public static final String DATA_SET = "data_set";
11763    field @Deprecated public static final String STATE = "state";
11764  }
11765
11766  public static final class ContactsContract.Settings implements android.provider.ContactsContract.SettingsColumns {
11767    method @RequiresPermission(android.Manifest.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS) public static void setDefaultAccount(@NonNull android.content.ContentResolver, @Nullable android.accounts.Account);
11768  }
11769
11770  public static final class ContactsContract.SimContacts {
11771    method @RequiresPermission("android.contacts.permission.MANAGE_SIM_ACCOUNTS") public static void addSimAccount(@NonNull android.content.ContentResolver, @NonNull String, @NonNull String, int, int);
11772    method @RequiresPermission("android.contacts.permission.MANAGE_SIM_ACCOUNTS") public static void removeSimAccounts(@NonNull android.content.ContentResolver, int);
11773  }
11774
11775  public final class DocumentsContract {
11776    method @NonNull public static android.net.Uri buildDocumentUriAsUser(@NonNull String, @NonNull String, @NonNull android.os.UserHandle);
11777    method public static boolean isManageMode(@NonNull android.net.Uri);
11778    method @NonNull public static android.net.Uri setManageMode(@NonNull android.net.Uri);
11779    field public static final String ACTION_DOCUMENT_ROOT_SETTINGS = "android.provider.action.DOCUMENT_ROOT_SETTINGS";
11780    field public static final String ACTION_MANAGE_DOCUMENT = "android.provider.action.MANAGE_DOCUMENT";
11781    field public static final String DOWNLOADS_PROVIDER_AUTHORITY = "downloads";
11782    field public static final String EXTERNAL_STORAGE_PROVIDER_AUTHORITY = "com.android.externalstorage.documents";
11783    field public static final String EXTRA_SHOW_ADVANCED = "android.provider.extra.SHOW_ADVANCED";
11784  }
11785
11786  public static final class DocumentsContract.Root {
11787    field public static final int FLAG_ADVANCED = 65536; // 0x10000
11788    field public static final int FLAG_HAS_SETTINGS = 131072; // 0x20000
11789    field public static final int FLAG_REMOVABLE_SD = 262144; // 0x40000
11790    field public static final int FLAG_REMOVABLE_USB = 524288; // 0x80000
11791  }
11792
11793  @FlaggedApi("android.provider.user_keys") public final class E2eeContactKeysManager {
11794    method @RequiresPermission(allOf={android.Manifest.permission.WRITE_VERIFICATION_STATE_E2EE_CONTACT_KEYS, android.Manifest.permission.WRITE_CONTACTS}) public boolean updateE2eeContactKeyLocalVerificationState(@NonNull String, @NonNull String, @NonNull String, @NonNull String, int);
11795    method @RequiresPermission(allOf={android.Manifest.permission.WRITE_VERIFICATION_STATE_E2EE_CONTACT_KEYS, android.Manifest.permission.WRITE_CONTACTS}) public boolean updateE2eeContactKeyRemoteVerificationState(@NonNull String, @NonNull String, @NonNull String, @NonNull String, int);
11796    method @RequiresPermission(allOf={android.Manifest.permission.WRITE_VERIFICATION_STATE_E2EE_CONTACT_KEYS, android.Manifest.permission.WRITE_CONTACTS}) public boolean updateE2eeSelfKeyRemoteVerificationState(@NonNull String, @NonNull String, @NonNull String, int);
11797  }
11798
11799  public abstract class SearchIndexableData {
11800    ctor public SearchIndexableData();
11801    ctor public SearchIndexableData(android.content.Context);
11802    field public String className;
11803    field public android.content.Context context;
11804    field public boolean enabled;
11805    field public int iconResId;
11806    field public String intentAction;
11807    field public String intentTargetClass;
11808    field public String intentTargetPackage;
11809    field public String key;
11810    field public java.util.Locale locale;
11811    field public String packageName;
11812    field public int rank;
11813    field public int userId;
11814  }
11815
11816  public class SearchIndexableResource extends android.provider.SearchIndexableData {
11817    ctor public SearchIndexableResource(int, int, String, int);
11818    ctor public SearchIndexableResource(android.content.Context);
11819    field public int xmlResId;
11820  }
11821
11822  public class SearchIndexablesContract {
11823    ctor public SearchIndexablesContract();
11824    field public static final int COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE = 0; // 0x0
11825    field public static final int COLUMN_INDEX_RAW_CLASS_NAME = 7; // 0x7
11826    field public static final int COLUMN_INDEX_RAW_ENTRIES = 4; // 0x4
11827    field public static final int COLUMN_INDEX_RAW_ICON_RESID = 8; // 0x8
11828    field public static final int COLUMN_INDEX_RAW_INTENT_ACTION = 9; // 0x9
11829    field public static final int COLUMN_INDEX_RAW_INTENT_TARGET_CLASS = 11; // 0xb
11830    field public static final int COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE = 10; // 0xa
11831    field public static final int COLUMN_INDEX_RAW_KEY = 12; // 0xc
11832    field public static final int COLUMN_INDEX_RAW_KEYWORDS = 5; // 0x5
11833    field public static final int COLUMN_INDEX_RAW_RANK = 0; // 0x0
11834    field public static final int COLUMN_INDEX_RAW_SCREEN_TITLE = 6; // 0x6
11835    field public static final int COLUMN_INDEX_RAW_SUMMARY_OFF = 3; // 0x3
11836    field public static final int COLUMN_INDEX_RAW_SUMMARY_ON = 2; // 0x2
11837    field public static final int COLUMN_INDEX_RAW_TITLE = 1; // 0x1
11838    field public static final int COLUMN_INDEX_RAW_USER_ID = 13; // 0xd
11839    field public static final int COLUMN_INDEX_XML_RES_CLASS_NAME = 2; // 0x2
11840    field public static final int COLUMN_INDEX_XML_RES_ICON_RESID = 3; // 0x3
11841    field public static final int COLUMN_INDEX_XML_RES_INTENT_ACTION = 4; // 0x4
11842    field public static final int COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS = 6; // 0x6
11843    field public static final int COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE = 5; // 0x5
11844    field public static final int COLUMN_INDEX_XML_RES_RANK = 0; // 0x0
11845    field public static final int COLUMN_INDEX_XML_RES_RESID = 1; // 0x1
11846    field public static final String DYNAMIC_INDEXABLES_RAW = "dynamic_indexables_raw";
11847    field public static final String DYNAMIC_INDEXABLES_RAW_PATH = "settings/dynamic_indexables_raw";
11848    field public static final String INDEXABLES_RAW = "indexables_raw";
11849    field public static final String[] INDEXABLES_RAW_COLUMNS;
11850    field public static final String INDEXABLES_RAW_PATH = "settings/indexables_raw";
11851    field public static final String INDEXABLES_XML_RES = "indexables_xml_res";
11852    field public static final String[] INDEXABLES_XML_RES_COLUMNS;
11853    field public static final String INDEXABLES_XML_RES_PATH = "settings/indexables_xml_res";
11854    field public static final String NON_INDEXABLES_KEYS = "non_indexables_key";
11855    field public static final String[] NON_INDEXABLES_KEYS_COLUMNS;
11856    field public static final String NON_INDEXABLES_KEYS_PATH = "settings/non_indexables_key";
11857    field public static final String PROVIDER_INTERFACE = "android.content.action.SEARCH_INDEXABLES_PROVIDER";
11858    field public static final String SLICE_URI_PAIRS = "slice_uri_pairs";
11859    field @NonNull public static final String[] SLICE_URI_PAIRS_COLUMNS;
11860    field public static final String SLICE_URI_PAIRS_PATH = "settings/slice_uri_pairs";
11861  }
11862
11863  public static class SearchIndexablesContract.BaseColumns {
11864    field public static final String COLUMN_CLASS_NAME = "className";
11865    field public static final String COLUMN_ICON_RESID = "iconResId";
11866    field public static final String COLUMN_INTENT_ACTION = "intentAction";
11867    field public static final String COLUMN_INTENT_TARGET_CLASS = "intentTargetClass";
11868    field public static final String COLUMN_INTENT_TARGET_PACKAGE = "intentTargetPackage";
11869    field public static final String COLUMN_RANK = "rank";
11870  }
11871
11872  public static final class SearchIndexablesContract.NonIndexableKey extends android.provider.SearchIndexablesContract.BaseColumns {
11873    field public static final String COLUMN_KEY_VALUE = "key";
11874    field public static final String MIME_TYPE = "vnd.android.cursor.dir/non_indexables_key";
11875  }
11876
11877  public static final class SearchIndexablesContract.RawData extends android.provider.SearchIndexablesContract.BaseColumns {
11878    field public static final String COLUMN_ENTRIES = "entries";
11879    field public static final String COLUMN_KEY = "key";
11880    field public static final String COLUMN_KEYWORDS = "keywords";
11881    field public static final String COLUMN_SCREEN_TITLE = "screenTitle";
11882    field public static final String COLUMN_SUMMARY_OFF = "summaryOff";
11883    field public static final String COLUMN_SUMMARY_ON = "summaryOn";
11884    field public static final String COLUMN_TITLE = "title";
11885    field public static final String COLUMN_USER_ID = "user_id";
11886    field public static final String MIME_TYPE = "vnd.android.cursor.dir/indexables_raw";
11887  }
11888
11889  public static final class SearchIndexablesContract.SliceUriPairColumns {
11890    field public static final String KEY = "key";
11891    field public static final String SLICE_URI = "slice_uri";
11892  }
11893
11894  public static final class SearchIndexablesContract.XmlResource extends android.provider.SearchIndexablesContract.BaseColumns {
11895    field public static final String COLUMN_XML_RESID = "xmlResId";
11896    field public static final String MIME_TYPE = "vnd.android.cursor.dir/indexables_xml_res";
11897  }
11898
11899  public abstract class SearchIndexablesProvider extends android.content.ContentProvider {
11900    ctor public SearchIndexablesProvider();
11901    method public final int delete(android.net.Uri, String, String[]);
11902    method public String getType(android.net.Uri);
11903    method public final android.net.Uri insert(android.net.Uri, android.content.ContentValues);
11904    method public android.database.Cursor query(android.net.Uri, String[], String, String[], String);
11905    method @Nullable public android.database.Cursor queryDynamicRawData(@Nullable String[]);
11906    method public abstract android.database.Cursor queryNonIndexableKeys(String[]);
11907    method public abstract android.database.Cursor queryRawData(String[]);
11908    method @Nullable public android.database.Cursor querySliceUriPairs();
11909    method public abstract android.database.Cursor queryXmlResources(String[]);
11910    method public final int update(android.net.Uri, android.content.ContentValues, String, String[]);
11911  }
11912
11913  public final class Settings {
11914    method @Deprecated public static boolean checkAndNoteWriteSettingsOperation(@NonNull android.content.Context, int, @NonNull String, boolean);
11915    method public static boolean checkAndNoteWriteSettingsOperation(@NonNull android.content.Context, int, @NonNull String, @Nullable String, boolean);
11916    field public static final String ACTION_ACCESSIBILITY_DETAILS_SETTINGS = "android.settings.ACCESSIBILITY_DETAILS_SETTINGS";
11917    field @RequiresPermission(android.Manifest.permission.LAUNCH_PERMISSION_SETTINGS) public static final String ACTION_APP_PERMISSIONS_SETTINGS = "android.settings.APP_PERMISSIONS_SETTINGS";
11918    field public static final String ACTION_BEDTIME_SETTINGS = "android.settings.BEDTIME_SETTINGS";
11919    field public static final String ACTION_BUGREPORT_HANDLER_SETTINGS = "android.settings.BUGREPORT_HANDLER_SETTINGS";
11920    field public static final String ACTION_ENTERPRISE_PRIVACY_SETTINGS = "android.settings.ENTERPRISE_PRIVACY_SETTINGS";
11921    field public static final String ACTION_LOCATION_CONTROLLER_EXTRA_PACKAGE_SETTINGS = "android.settings.LOCATION_CONTROLLER_EXTRA_PACKAGE_SETTINGS";
11922    field public static final String ACTION_MANAGE_APP_OVERLAY_PERMISSION = "android.settings.MANAGE_APP_OVERLAY_PERMISSION";
11923    field public static final String ACTION_MANAGE_DOMAIN_URLS = "android.settings.MANAGE_DOMAIN_URLS";
11924    field public static final String ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS = "android.settings.MANAGE_MORE_DEFAULT_APPS_SETTINGS";
11925    field public static final String ACTION_NOTIFICATION_POLICY_ACCESS_DETAIL_SETTINGS = "android.settings.NOTIFICATION_POLICY_ACCESS_DETAIL_SETTINGS";
11926    field public static final String ACTION_REQUEST_ENABLE_CONTENT_CAPTURE = "android.settings.REQUEST_ENABLE_CONTENT_CAPTURE";
11927    field public static final String ACTION_SHOW_ADMIN_SUPPORT_DETAILS = "android.settings.SHOW_ADMIN_SUPPORT_DETAILS";
11928    field public static final String ACTION_SHOW_RESTRICTED_SETTING_DIALOG = "android.settings.SHOW_RESTRICTED_SETTING_DIALOG";
11929    field public static final String ACTION_TETHER_PROVISIONING_UI = "android.settings.TETHER_PROVISIONING_UI";
11930    field public static final String ACTION_TETHER_SETTINGS = "android.settings.TETHER_SETTINGS";
11931    field public static final String ACTION_TETHER_UNSUPPORTED_CARRIER_UI = "android.settings.TETHER_UNSUPPORTED_CARRIER_UI";
11932    field public static final String ACTION_USER_SETTINGS = "android.settings.USER_SETTINGS";
11933  }
11934
11935  public static final class Settings.Global extends android.provider.Settings.NameValueTable {
11936    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, @Nullable String, boolean);
11937    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static void resetToDefaults(@NonNull android.content.ContentResolver, @Nullable String);
11938    field public static final String AIRPLANE_MODE_TOGGLEABLE_RADIOS = "airplane_mode_toggleable_radios";
11939    field public static final String APP_STANDBY_ENABLED = "app_standby_enabled";
11940    field @Deprecated public static final String AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES = "autofill_compat_mode_allowed_packages";
11941    field public static final String CARRIER_APP_NAMES = "carrier_app_names";
11942    field public static final String CARRIER_APP_WHITELIST = "carrier_app_whitelist";
11943    field public static final String DEFAULT_SM_DP_PLUS = "default_sm_dp_plus";
11944    field public static final String DEVICE_DEMO_MODE = "device_demo_mode";
11945    field public static final String DEVICE_PROVISIONING_MOBILE_DATA_ENABLED = "device_provisioning_mobile_data";
11946    field public static final String EUICC_PROVISIONED = "euicc_provisioned";
11947    field public static final String EUICC_SUPPORTED_COUNTRIES = "euicc_supported_countries";
11948    field public static final String EUICC_UNSUPPORTED_COUNTRIES = "euicc_unsupported_countries";
11949    field public static final String INSTALL_CARRIER_APP_NOTIFICATION_PERSISTENT = "install_carrier_app_notification_persistent";
11950    field public static final String INSTALL_CARRIER_APP_NOTIFICATION_SLEEP_MILLIS = "install_carrier_app_notification_sleep_millis";
11951    field public static final String OTA_DISABLE_AUTOMATIC_UPDATE = "ota_disable_automatic_update";
11952    field public static final String REQUIRE_PASSWORD_TO_DECRYPT = "require_password_to_decrypt";
11953    field public static final String TETHER_OFFLOAD_DISABLED = "tether_offload_disabled";
11954    field public static final String TETHER_SUPPORTED = "tether_supported";
11955    field public static final String THEATER_MODE_ON = "theater_mode_on";
11956    field public static final String WEBVIEW_MULTIPROCESS = "webview_multiprocess";
11957    field public static final String WIFI_BADGING_THRESHOLDS = "wifi_badging_thresholds";
11958    field @Deprecated public static final String WIFI_WAKEUP_ENABLED = "wifi_wakeup_enabled";
11959  }
11960
11961  public static final class Settings.Secure extends android.provider.Settings.NameValueTable {
11962    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, @Nullable String, boolean);
11963    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static void resetToDefaults(@NonNull android.content.ContentResolver, @Nullable String);
11964    field @Deprecated public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED = "accessibility_display_magnification_navbar_enabled";
11965    field public static final String ASSIST_GESTURE_SETUP_COMPLETE = "assist_gesture_setup_complete";
11966    field public static final String AUTOFILL_FEATURE_FIELD_CLASSIFICATION = "autofill_field_classification";
11967    field public static final String AUTOFILL_USER_DATA_MAX_CATEGORY_COUNT = "autofill_user_data_max_category_count";
11968    field public static final String AUTOFILL_USER_DATA_MAX_FIELD_CLASSIFICATION_IDS_SIZE = "autofill_user_data_max_field_classification_size";
11969    field public static final String AUTOFILL_USER_DATA_MAX_USER_DATA_SIZE = "autofill_user_data_max_user_data_size";
11970    field public static final String AUTOFILL_USER_DATA_MAX_VALUE_LENGTH = "autofill_user_data_max_value_length";
11971    field public static final String AUTOFILL_USER_DATA_MIN_VALUE_LENGTH = "autofill_user_data_min_value_length";
11972    field public static final String AUTO_REVOKE_DISABLED = "auto_revoke_disabled";
11973    field public static final String COMPLETED_CATEGORY_PREFIX = "suggested.completed_category.";
11974    field public static final String DOZE_ALWAYS_ON = "doze_always_on";
11975    field public static final String HUSH_GESTURE_USED = "hush_gesture_used";
11976    field public static final String INSTANT_APPS_ENABLED = "instant_apps_enabled";
11977    field public static final String LAST_SETUP_SHOWN = "last_setup_shown";
11978    field @Deprecated public static final String LOCATION_ACCESS_CHECK_DELAY_MILLIS = "location_access_check_delay_millis";
11979    field @Deprecated public static final String LOCATION_ACCESS_CHECK_INTERVAL_MILLIS = "location_access_check_interval_millis";
11980    field public static final int LOCATION_MODE_ON = 3; // 0x3
11981    field @Deprecated public static final String LOCATION_PERMISSIONS_UPGRADE_TO_Q_MODE = "location_permissions_upgrade_to_q_mode";
11982    field public static final String LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS = "lock_screen_allow_private_notifications";
11983    field public static final String LOCK_SCREEN_SHOW_NOTIFICATIONS = "lock_screen_show_notifications";
11984    field public static final String ODI_CAPTIONS_ENABLED = "odi_captions_enabled";
11985    field public static final String THEME_CUSTOMIZATION_OVERLAY_PACKAGES = "theme_customization_overlay_packages";
11986    field public static final String UI_TRANSLATION_ENABLED = "ui_translation_enabled";
11987    field public static final String USER_SETUP_COMPLETE = "user_setup_complete";
11988    field public static final int USER_SETUP_PERSONALIZATION_COMPLETE = 10; // 0xa
11989    field public static final int USER_SETUP_PERSONALIZATION_NOT_STARTED = 0; // 0x0
11990    field public static final int USER_SETUP_PERSONALIZATION_PAUSED = 2; // 0x2
11991    field public static final int USER_SETUP_PERSONALIZATION_STARTED = 1; // 0x1
11992    field public static final String USER_SETUP_PERSONALIZATION_STATE = "user_setup_personalization_state";
11993    field public static final String VOLUME_HUSH_GESTURE = "volume_hush_gesture";
11994    field public static final int VOLUME_HUSH_MUTE = 2; // 0x2
11995    field public static final int VOLUME_HUSH_OFF = 0; // 0x0
11996    field public static final int VOLUME_HUSH_VIBRATE = 1; // 0x1
11997  }
11998
11999  public static final class Settings.System extends android.provider.Settings.NameValueTable {
12000    method @RequiresPermission(android.Manifest.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, boolean);
12001    method @FlaggedApi("android.provider.system_settings_default") @RequiresPermission(android.Manifest.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, boolean, boolean);
12002    method @FlaggedApi("android.provider.system_settings_default") public static void resetToDefaults(@NonNull android.content.ContentResolver, @Nullable String);
12003  }
12004
12005  public static final class SimPhonebookContract.SimRecords {
12006    field public static final String QUERY_ARG_PIN2 = "android:query-arg-pin2";
12007  }
12008
12009  public static final class Telephony.Carriers implements android.provider.BaseColumns {
12010    field public static final String APN_SET_ID = "apn_set_id";
12011    field public static final int CARRIER_EDITED = 4; // 0x4
12012    field public static final String EDITED_STATUS = "edited";
12013    field public static final int MATCH_ALL_APN_SET_ID = -1; // 0xffffffff
12014    field public static final String MAX_CONNECTIONS = "max_conns";
12015    field public static final String MODEM_PERSIST = "modem_cognitive";
12016    field @Deprecated public static final String MTU = "mtu";
12017    field public static final int NO_APN_SET_ID = 0; // 0x0
12018    field public static final String TIME_LIMIT_FOR_MAX_CONNECTIONS = "max_conns_time";
12019    field public static final int UNEDITED = 0; // 0x0
12020    field public static final int USER_DELETED = 2; // 0x2
12021    field public static final int USER_EDITED = 1; // 0x1
12022    field public static final String WAIT_TIME_RETRY = "wait_time";
12023  }
12024
12025  public static final class Telephony.CellBroadcasts implements android.provider.BaseColumns {
12026    field @NonNull public static final String AUTHORITY_LEGACY = "cellbroadcast-legacy";
12027    field @NonNull public static final android.net.Uri AUTHORITY_LEGACY_URI;
12028    field @NonNull public static final String CALL_METHOD_GET_PREFERENCE = "get_preference";
12029    field public static final String CID = "cid";
12030    field public static final String CMAS_CATEGORY = "cmas_category";
12031    field public static final String CMAS_CERTAINTY = "cmas_certainty";
12032    field public static final String CMAS_MESSAGE_CLASS = "cmas_message_class";
12033    field public static final String CMAS_RESPONSE_TYPE = "cmas_response_type";
12034    field public static final String CMAS_SEVERITY = "cmas_severity";
12035    field public static final String CMAS_URGENCY = "cmas_urgency";
12036    field @NonNull public static final android.net.Uri CONTENT_URI;
12037    field public static final String DATA_CODING_SCHEME = "dcs";
12038    field public static final String DEFAULT_SORT_ORDER = "date DESC";
12039    field public static final String DELIVERY_TIME = "date";
12040    field public static final String ETWS_IS_PRIMARY = "etws_is_primary";
12041    field public static final String ETWS_WARNING_TYPE = "etws_warning_type";
12042    field public static final String GEOGRAPHICAL_SCOPE = "geo_scope";
12043    field public static final String GEOMETRIES = "geometries";
12044    field public static final String LAC = "lac";
12045    field public static final String LANGUAGE_CODE = "language";
12046    field public static final String LOCATION_CHECK_TIME = "location_check_time";
12047    field public static final String MAXIMUM_WAIT_TIME = "maximum_wait_time";
12048    field public static final String MESSAGE_BODY = "body";
12049    field public static final String MESSAGE_BROADCASTED = "message_broadcasted";
12050    field public static final String MESSAGE_DISPLAYED = "message_displayed";
12051    field public static final String MESSAGE_FORMAT = "format";
12052    field @NonNull @RequiresPermission(android.Manifest.permission.READ_CELL_BROADCASTS) public static final android.net.Uri MESSAGE_HISTORY_URI;
12053    field public static final String MESSAGE_PRIORITY = "priority";
12054    field public static final String MESSAGE_READ = "read";
12055    field public static final String PLMN = "plmn";
12056    field public static final String RECEIVED_TIME = "received_time";
12057    field public static final String SERIAL_NUMBER = "serial_number";
12058    field public static final String SERVICE_CATEGORY = "service_category";
12059    field public static final String SLOT_INDEX = "slot_index";
12060    field public static final String SUBSCRIPTION_ID = "sub_id";
12061  }
12062
12063  public static final class Telephony.CellBroadcasts.Preference {
12064    field @NonNull public static final String ENABLE_ALERT_VIBRATION_PREF = "enable_alert_vibrate";
12065    field @NonNull public static final String ENABLE_AREA_UPDATE_INFO_PREF = "enable_area_update_info_alerts";
12066    field @NonNull public static final String ENABLE_CMAS_AMBER_PREF = "enable_cmas_amber_alerts";
12067    field @NonNull public static final String ENABLE_CMAS_EXTREME_THREAT_PREF = "enable_cmas_extreme_threat_alerts";
12068    field @NonNull public static final String ENABLE_CMAS_IN_SECOND_LANGUAGE_PREF = "receive_cmas_in_second_language";
12069    field @NonNull public static final String ENABLE_CMAS_PRESIDENTIAL_PREF = "enable_cmas_presidential_alerts";
12070    field @NonNull public static final String ENABLE_CMAS_SEVERE_THREAT_PREF = "enable_cmas_severe_threat_alerts";
12071    field @NonNull public static final String ENABLE_EMERGENCY_PERF = "enable_emergency_alerts";
12072    field @NonNull public static final String ENABLE_PUBLIC_SAFETY_PREF = "enable_public_safety_messages";
12073    field @NonNull public static final String ENABLE_STATE_LOCAL_TEST_PREF = "enable_state_local_test_alerts";
12074    field @NonNull public static final String ENABLE_TEST_ALERT_PREF = "enable_test_alerts";
12075  }
12076
12077  public static final class Telephony.Sms.Intents {
12078    field public static final String ACTION_SMS_EMERGENCY_CB_RECEIVED = "android.provider.action.SMS_EMERGENCY_CB_RECEIVED";
12079  }
12080
12081  public final class TimeZoneRulesDataContract {
12082    field public static final String AUTHORITY = "com.android.timezone";
12083  }
12084
12085  public static final class TimeZoneRulesDataContract.Operation {
12086    field public static final String COLUMN_DISTRO_MAJOR_VERSION = "distro_major_version";
12087    field public static final String COLUMN_DISTRO_MINOR_VERSION = "distro_minor_version";
12088    field public static final String COLUMN_REVISION = "revision";
12089    field public static final String COLUMN_RULES_VERSION = "rules_version";
12090    field public static final String COLUMN_TYPE = "type";
12091    field public static final android.net.Uri CONTENT_URI;
12092    field public static final String TYPE_INSTALL = "INSTALL";
12093    field public static final String TYPE_NO_OP = "NOOP";
12094    field public static final String TYPE_UNINSTALL = "UNINSTALL";
12095  }
12096
12097}
12098
12099package android.se.omapi {
12100
12101  public final class Reader {
12102    method @RequiresPermission(android.Manifest.permission.SECURE_ELEMENT_PRIVILEGED_OPERATION) public boolean reset();
12103  }
12104
12105}
12106
12107package android.security {
12108
12109  public final class KeyChain {
12110    method @Nullable @WorkerThread public static String getWifiKeyGrantAsUser(@NonNull android.content.Context, @NonNull android.os.UserHandle, @NonNull String);
12111    method @WorkerThread public static boolean hasWifiKeyGrantAsUser(@NonNull android.content.Context, @NonNull android.os.UserHandle, @NonNull String);
12112  }
12113
12114}
12115
12116package android.security.keystore {
12117
12118  public class AndroidKeyStoreProvider extends java.security.Provider {
12119    method @NonNull public static java.security.KeyStore getKeyStoreForUid(int) throws java.security.KeyStoreException, java.security.NoSuchProviderException;
12120  }
12121
12122  public abstract class AttestationUtils {
12123    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;
12124    field public static final int ID_TYPE_IMEI = 2; // 0x2
12125    field public static final int ID_TYPE_MEID = 3; // 0x3
12126    field public static final int ID_TYPE_SERIAL = 1; // 0x1
12127    field public static final int USE_INDIVIDUAL_ATTESTATION = 4; // 0x4
12128  }
12129
12130  public class DeviceIdAttestationException extends java.lang.Exception {
12131    ctor public DeviceIdAttestationException(@Nullable String);
12132    ctor public DeviceIdAttestationException(@Nullable String, @Nullable Throwable);
12133  }
12134
12135  public final class KeyGenParameterSpec implements java.security.spec.AlgorithmParameterSpec {
12136    method @NonNull public int[] getAttestationIds();
12137    method public int getNamespace();
12138  }
12139
12140  public static final class KeyGenParameterSpec.Builder {
12141    method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setAttestationIds(@NonNull int[]);
12142    method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setNamespace(int);
12143    method @Deprecated @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setUid(int);
12144  }
12145
12146  public abstract class KeyProperties {
12147    field public static final int NAMESPACE_APPLICATION = -1; // 0xffffffff
12148    field public static final int NAMESPACE_WIFI = 102; // 0x66
12149  }
12150
12151}
12152
12153package android.security.keystore.recovery {
12154
12155  public class DecryptionFailedException extends java.security.GeneralSecurityException {
12156    ctor public DecryptionFailedException(String);
12157  }
12158
12159  public class InternalRecoveryServiceException extends java.security.GeneralSecurityException {
12160    ctor public InternalRecoveryServiceException(String);
12161    ctor public InternalRecoveryServiceException(String, Throwable);
12162  }
12163
12164  public final class KeyChainProtectionParams implements android.os.Parcelable {
12165    method public void clearSecret();
12166    method public int describeContents();
12167    method @NonNull public android.security.keystore.recovery.KeyDerivationParams getKeyDerivationParams();
12168    method public int getLockScreenUiFormat();
12169    method @NonNull public byte[] getSecret();
12170    method public int getUserSecretType();
12171    method public void writeToParcel(android.os.Parcel, int);
12172    field @NonNull public static final android.os.Parcelable.Creator<android.security.keystore.recovery.KeyChainProtectionParams> CREATOR;
12173    field public static final int TYPE_LOCKSCREEN = 100; // 0x64
12174    field public static final int UI_FORMAT_PASSWORD = 2; // 0x2
12175    field public static final int UI_FORMAT_PATTERN = 3; // 0x3
12176    field public static final int UI_FORMAT_PIN = 1; // 0x1
12177  }
12178
12179  public static class KeyChainProtectionParams.Builder {
12180    ctor public KeyChainProtectionParams.Builder();
12181    method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams build();
12182    method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setKeyDerivationParams(@NonNull android.security.keystore.recovery.KeyDerivationParams);
12183    method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setLockScreenUiFormat(int);
12184    method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setSecret(@NonNull byte[]);
12185    method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setUserSecretType(int);
12186  }
12187
12188  public final class KeyChainSnapshot implements android.os.Parcelable {
12189    method public int describeContents();
12190    method public long getCounterId();
12191    method @NonNull public byte[] getEncryptedRecoveryKeyBlob();
12192    method @NonNull public java.util.List<android.security.keystore.recovery.KeyChainProtectionParams> getKeyChainProtectionParams();
12193    method public int getMaxAttempts();
12194    method @NonNull public byte[] getServerParams();
12195    method public int getSnapshotVersion();
12196    method @NonNull public java.security.cert.CertPath getTrustedHardwareCertPath();
12197    method @NonNull public java.util.List<android.security.keystore.recovery.WrappedApplicationKey> getWrappedApplicationKeys();
12198    method public void writeToParcel(android.os.Parcel, int);
12199    field @NonNull public static final android.os.Parcelable.Creator<android.security.keystore.recovery.KeyChainSnapshot> CREATOR;
12200  }
12201
12202  public final class KeyDerivationParams implements android.os.Parcelable {
12203    method @NonNull public static android.security.keystore.recovery.KeyDerivationParams createScryptParams(@NonNull byte[], int);
12204    method @NonNull public static android.security.keystore.recovery.KeyDerivationParams createSha256Params(@NonNull byte[]);
12205    method public int describeContents();
12206    method public int getAlgorithm();
12207    method public int getMemoryDifficulty();
12208    method @NonNull public byte[] getSalt();
12209    method public void writeToParcel(android.os.Parcel, int);
12210    field public static final int ALGORITHM_SCRYPT = 2; // 0x2
12211    field public static final int ALGORITHM_SHA256 = 1; // 0x1
12212    field @NonNull public static final android.os.Parcelable.Creator<android.security.keystore.recovery.KeyDerivationParams> CREATOR;
12213  }
12214
12215  public class LockScreenRequiredException extends java.security.GeneralSecurityException {
12216    ctor public LockScreenRequiredException(String);
12217  }
12218
12219  public class RecoveryController {
12220    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public android.security.keystore.recovery.RecoverySession createRecoverySession();
12221    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;
12222    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;
12223    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.List<java.lang.String> getAliases() throws android.security.keystore.recovery.InternalRecoveryServiceException;
12224    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public static android.security.keystore.recovery.RecoveryController getInstance(@NonNull android.content.Context);
12225    method @Nullable @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key getKey(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException, java.security.UnrecoverableKeyException;
12226    method @Nullable @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public android.security.keystore.recovery.KeyChainSnapshot getKeyChainSnapshot() throws android.security.keystore.recovery.InternalRecoveryServiceException;
12227    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public int[] getRecoverySecretTypes() throws android.security.keystore.recovery.InternalRecoveryServiceException;
12228    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public int getRecoveryStatus(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException;
12229    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.Map<java.lang.String,java.security.cert.X509Certificate> getRootCertificates();
12230    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;
12231    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;
12232    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;
12233    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public static boolean isRecoverableKeyStoreEnabled(@NonNull android.content.Context);
12234    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void removeKey(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException;
12235    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setRecoverySecretTypes(@NonNull int[]) throws android.security.keystore.recovery.InternalRecoveryServiceException;
12236    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setRecoveryStatus(@NonNull String, int) throws android.security.keystore.recovery.InternalRecoveryServiceException;
12237    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setServerParams(@NonNull byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException;
12238    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setSnapshotCreatedPendingIntent(@Nullable android.app.PendingIntent) throws android.security.keystore.recovery.InternalRecoveryServiceException;
12239    field public static final int RECOVERY_STATUS_PERMANENT_FAILURE = 3; // 0x3
12240    field public static final int RECOVERY_STATUS_SYNCED = 0; // 0x0
12241    field public static final int RECOVERY_STATUS_SYNC_IN_PROGRESS = 1; // 0x1
12242  }
12243
12244  public class RecoverySession implements java.lang.AutoCloseable {
12245    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void close();
12246    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;
12247    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;
12248  }
12249
12250  public class SessionExpiredException extends java.security.GeneralSecurityException {
12251    ctor public SessionExpiredException(String);
12252  }
12253
12254  public final class WrappedApplicationKey implements android.os.Parcelable {
12255    method public int describeContents();
12256    method @NonNull public String getAlias();
12257    method @NonNull public byte[] getEncryptedKeyMaterial();
12258    method @Nullable public byte[] getMetadata();
12259    method public void writeToParcel(android.os.Parcel, int);
12260    field @NonNull public static final android.os.Parcelable.Creator<android.security.keystore.recovery.WrappedApplicationKey> CREATOR;
12261  }
12262
12263  public static class WrappedApplicationKey.Builder {
12264    ctor public WrappedApplicationKey.Builder();
12265    method @NonNull public android.security.keystore.recovery.WrappedApplicationKey build();
12266    method @NonNull public android.security.keystore.recovery.WrappedApplicationKey.Builder setAlias(@NonNull String);
12267    method @NonNull public android.security.keystore.recovery.WrappedApplicationKey.Builder setEncryptedKeyMaterial(@NonNull byte[]);
12268    method @NonNull public android.security.keystore.recovery.WrappedApplicationKey.Builder setMetadata(@Nullable byte[]);
12269  }
12270
12271}
12272
12273package android.service.ambientcontext {
12274
12275  public final class AmbientContextDetectionResult implements android.os.Parcelable {
12276    method public int describeContents();
12277    method @NonNull public java.util.List<android.app.ambientcontext.AmbientContextEvent> getEvents();
12278    method @NonNull public String getPackageName();
12279    method public void writeToParcel(@NonNull android.os.Parcel, int);
12280    field @NonNull public static final android.os.Parcelable.Creator<android.service.ambientcontext.AmbientContextDetectionResult> CREATOR;
12281  }
12282
12283  public static final class AmbientContextDetectionResult.Builder {
12284    ctor public AmbientContextDetectionResult.Builder(@NonNull String);
12285    method @NonNull public android.service.ambientcontext.AmbientContextDetectionResult.Builder addEvent(@NonNull android.app.ambientcontext.AmbientContextEvent);
12286    method @NonNull public android.service.ambientcontext.AmbientContextDetectionResult.Builder addEvents(@NonNull java.util.List<android.app.ambientcontext.AmbientContextEvent>);
12287    method @NonNull public android.service.ambientcontext.AmbientContextDetectionResult build();
12288    method @NonNull public android.service.ambientcontext.AmbientContextDetectionResult.Builder clearEvents();
12289  }
12290
12291  public abstract class AmbientContextDetectionService extends android.app.Service {
12292    ctor public AmbientContextDetectionService();
12293    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
12294    method @BinderThread public abstract void onQueryServiceStatus(@NonNull int[], @NonNull String, @NonNull java.util.function.Consumer<android.service.ambientcontext.AmbientContextDetectionServiceStatus>);
12295    method @BinderThread public abstract void onStartDetection(@NonNull android.app.ambientcontext.AmbientContextEventRequest, @NonNull String, @NonNull java.util.function.Consumer<android.service.ambientcontext.AmbientContextDetectionResult>, @NonNull java.util.function.Consumer<android.service.ambientcontext.AmbientContextDetectionServiceStatus>);
12296    method public abstract void onStopDetection(@NonNull String);
12297    field public static final String SERVICE_INTERFACE = "android.service.ambientcontext.AmbientContextDetectionService";
12298  }
12299
12300  public final class AmbientContextDetectionServiceStatus implements android.os.Parcelable {
12301    method public int describeContents();
12302    method @NonNull public String getPackageName();
12303    method public int getStatusCode();
12304    method public void writeToParcel(@NonNull android.os.Parcel, int);
12305    field @NonNull public static final android.os.Parcelable.Creator<android.service.ambientcontext.AmbientContextDetectionServiceStatus> CREATOR;
12306  }
12307
12308  public static final class AmbientContextDetectionServiceStatus.Builder {
12309    ctor public AmbientContextDetectionServiceStatus.Builder(@NonNull String);
12310    method @NonNull public android.service.ambientcontext.AmbientContextDetectionServiceStatus build();
12311    method @NonNull public android.service.ambientcontext.AmbientContextDetectionServiceStatus.Builder setStatusCode(int);
12312  }
12313
12314}
12315
12316package android.service.appprediction {
12317
12318  public abstract class AppPredictionService extends android.app.Service {
12319    ctor public AppPredictionService();
12320    method @MainThread public abstract void onAppTargetEvent(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull android.app.prediction.AppTargetEvent);
12321    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
12322    method public void onCreatePredictionSession(@NonNull android.app.prediction.AppPredictionContext, @NonNull android.app.prediction.AppPredictionSessionId);
12323    method @MainThread public void onDestroyPredictionSession(@NonNull android.app.prediction.AppPredictionSessionId);
12324    method @MainThread public abstract void onLaunchLocationShown(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull String, @NonNull java.util.List<android.app.prediction.AppTargetId>);
12325    method @MainThread public abstract void onRequestPredictionUpdate(@NonNull android.app.prediction.AppPredictionSessionId);
12326    method @FlaggedApi("android.service.appprediction.flags.service_features_api") @MainThread public void onRequestServiceFeatures(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull java.util.function.Consumer<android.os.Bundle>);
12327    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>>);
12328    method @MainThread public void onStartPredictionUpdates();
12329    method @MainThread public void onStopPredictionUpdates();
12330    method public final void updatePredictions(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull java.util.List<android.app.prediction.AppTarget>);
12331  }
12332
12333}
12334
12335package android.service.assist.classification {
12336
12337  public final class FieldClassification implements android.os.Parcelable {
12338    ctor public FieldClassification(@NonNull android.view.autofill.AutofillId, @NonNull java.util.Set<java.lang.String>, @NonNull java.util.Set<java.lang.String>);
12339    method @NonNull public java.util.Set<java.lang.String> getGroupHints();
12340  }
12341
12342  public final class FieldClassificationRequest implements android.os.Parcelable {
12343    ctor public FieldClassificationRequest(@NonNull android.app.assist.AssistStructure);
12344    method public int describeContents();
12345    method @NonNull public android.app.assist.AssistStructure getAssistStructure();
12346    method public void writeToParcel(@NonNull android.os.Parcel, int);
12347    field @NonNull public static final android.os.Parcelable.Creator<android.service.assist.classification.FieldClassificationRequest> CREATOR;
12348  }
12349
12350  public final class FieldClassificationResponse implements android.os.Parcelable {
12351    ctor public FieldClassificationResponse(@NonNull java.util.Set<android.service.assist.classification.FieldClassification>);
12352    method public int describeContents();
12353    method @NonNull public java.util.Set<android.service.assist.classification.FieldClassification> getClassifications();
12354    method public void writeToParcel(@NonNull android.os.Parcel, int);
12355    field @NonNull public static final android.os.Parcelable.Creator<android.service.assist.classification.FieldClassificationResponse> CREATOR;
12356  }
12357
12358  public abstract class FieldClassificationService extends android.app.Service {
12359    ctor public FieldClassificationService();
12360    method public final android.os.IBinder onBind(android.content.Intent);
12361    method public abstract void onClassificationRequest(@NonNull android.service.assist.classification.FieldClassificationRequest, @NonNull android.os.CancellationSignal, @NonNull android.os.OutcomeReceiver<android.service.assist.classification.FieldClassificationResponse,java.lang.Exception>);
12362    method public void onConnected();
12363    method public void onDisconnected();
12364    field public static final String SERVICE_INTERFACE = "android.service.assist.classification.FieldClassificationService";
12365  }
12366
12367}
12368
12369package android.service.attention {
12370
12371  public abstract class AttentionService extends android.app.Service {
12372    ctor public AttentionService();
12373    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
12374    method public abstract void onCancelAttentionCheck(@NonNull android.service.attention.AttentionService.AttentionCallback);
12375    method public abstract void onCheckAttention(@NonNull android.service.attention.AttentionService.AttentionCallback);
12376    method public void onStartProximityUpdates(@NonNull android.service.attention.AttentionService.ProximityUpdateCallback);
12377    method public void onStopProximityUpdates();
12378    field public static final int ATTENTION_FAILURE_CAMERA_PERMISSION_ABSENT = 6; // 0x6
12379    field public static final int ATTENTION_FAILURE_CANCELLED = 3; // 0x3
12380    field public static final int ATTENTION_FAILURE_PREEMPTED = 4; // 0x4
12381    field public static final int ATTENTION_FAILURE_TIMED_OUT = 5; // 0x5
12382    field public static final int ATTENTION_FAILURE_UNKNOWN = 2; // 0x2
12383    field public static final int ATTENTION_SUCCESS_ABSENT = 0; // 0x0
12384    field public static final int ATTENTION_SUCCESS_PRESENT = 1; // 0x1
12385    field public static final double PROXIMITY_UNKNOWN = -1.0;
12386    field public static final String SERVICE_INTERFACE = "android.service.attention.AttentionService";
12387  }
12388
12389  public static final class AttentionService.AttentionCallback {
12390    method public void onFailure(int);
12391    method public void onSuccess(int, long);
12392  }
12393
12394  public static final class AttentionService.ProximityUpdateCallback {
12395    method public void onProximityUpdate(double);
12396  }
12397
12398}
12399
12400package android.service.autofill {
12401
12402  public abstract class AutofillFieldClassificationService extends android.app.Service {
12403    ctor public AutofillFieldClassificationService();
12404    method public android.os.IBinder onBind(android.content.Intent);
12405    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);
12406    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>);
12407    field public static final String REQUIRED_ALGORITHM_CREDIT_CARD = "CREDIT_CARD";
12408    field public static final String REQUIRED_ALGORITHM_EDIT_DISTANCE = "EDIT_DISTANCE";
12409    field public static final String REQUIRED_ALGORITHM_EXACT_MATCH = "EXACT_MATCH";
12410    field public static final String SERVICE_INTERFACE = "android.service.autofill.AutofillFieldClassificationService";
12411    field public static final String SERVICE_META_DATA_KEY_AVAILABLE_ALGORITHMS = "android.autofill.field_classification.available_algorithms";
12412    field public static final String SERVICE_META_DATA_KEY_DEFAULT_ALGORITHM = "android.autofill.field_classification.default_algorithm";
12413  }
12414
12415  public static final class Dataset.Builder {
12416    ctor @Deprecated public Dataset.Builder(@NonNull android.service.autofill.InlinePresentation);
12417    method @NonNull public android.service.autofill.Dataset.Builder setContent(@NonNull android.view.autofill.AutofillId, @Nullable android.content.ClipData);
12418    method @Deprecated @NonNull public android.service.autofill.Dataset.Builder setFieldInlinePresentation(@NonNull android.view.autofill.AutofillId, @Nullable android.view.autofill.AutofillValue, @Nullable java.util.regex.Pattern, @NonNull android.service.autofill.InlinePresentation);
12419  }
12420
12421  public abstract class InlineSuggestionRenderService extends android.app.Service {
12422    ctor public InlineSuggestionRenderService();
12423    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
12424    method @NonNull public android.os.Bundle onGetInlineSuggestionsRendererInfo();
12425    method @Nullable public android.view.View onRenderSuggestion(@NonNull android.service.autofill.InlinePresentation, int, int);
12426    method public final void startIntentSender(@NonNull android.content.IntentSender);
12427    field public static final String SERVICE_INTERFACE = "android.service.autofill.InlineSuggestionRenderService";
12428  }
12429
12430}
12431
12432package android.service.autofill.augmented {
12433
12434  public abstract class AugmentedAutofillService extends android.app.Service {
12435    ctor public AugmentedAutofillService();
12436    method protected final void dump(java.io.FileDescriptor, java.io.PrintWriter, String[]);
12437    method protected void dump(@NonNull java.io.PrintWriter, @NonNull String[]);
12438    method @Nullable public final android.service.autofill.FillEventHistory getFillEventHistory();
12439    method public final android.os.IBinder onBind(android.content.Intent);
12440    method public void onConnected();
12441    method public void onDisconnected();
12442    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);
12443    method public final boolean requestAutofill(@NonNull android.content.ComponentName, @NonNull android.view.autofill.AutofillId);
12444    field public static final String SERVICE_INTERFACE = "android.service.autofill.augmented.AugmentedAutofillService";
12445  }
12446
12447  public final class FillCallback {
12448    method public void onSuccess(@Nullable android.service.autofill.augmented.FillResponse);
12449  }
12450
12451  public final class FillController {
12452    method public void autofill(@NonNull java.util.List<android.util.Pair<android.view.autofill.AutofillId,android.view.autofill.AutofillValue>>);
12453  }
12454
12455  public final class FillRequest {
12456    method @NonNull public android.content.ComponentName getActivityComponent();
12457    method @NonNull public android.view.autofill.AutofillId getFocusedId();
12458    method @NonNull public android.view.autofill.AutofillValue getFocusedValue();
12459    method @Nullable public android.app.assist.AssistStructure.ViewNode getFocusedViewNode();
12460    method @Nullable public android.view.inputmethod.InlineSuggestionsRequest getInlineSuggestionsRequest();
12461    method @Nullable public android.service.autofill.augmented.PresentationParams getPresentationParams();
12462    method public int getTaskId();
12463  }
12464
12465  public final class FillResponse {
12466  }
12467
12468  public static final class FillResponse.Builder {
12469    ctor public FillResponse.Builder();
12470    method @NonNull public android.service.autofill.augmented.FillResponse build();
12471    method @NonNull public android.service.autofill.augmented.FillResponse.Builder setClientState(@NonNull android.os.Bundle);
12472    method @NonNull public android.service.autofill.augmented.FillResponse.Builder setFillWindow(@NonNull android.service.autofill.augmented.FillWindow);
12473    method @NonNull public android.service.autofill.augmented.FillResponse.Builder setInlineSuggestions(@NonNull java.util.List<android.service.autofill.Dataset>);
12474  }
12475
12476  public final class FillWindow implements java.lang.AutoCloseable {
12477    ctor public FillWindow();
12478    method public void close();
12479    method public void destroy();
12480    method public boolean update(@NonNull android.service.autofill.augmented.PresentationParams.Area, @NonNull android.view.View, long);
12481  }
12482
12483  public abstract class PresentationParams {
12484    method @Nullable public android.service.autofill.augmented.PresentationParams.Area getSuggestionArea();
12485  }
12486
12487  public abstract static class PresentationParams.Area {
12488    method @NonNull public android.graphics.Rect getBounds();
12489  }
12490
12491}
12492
12493package android.service.carrier {
12494
12495  public abstract class ApnService extends android.app.Service {
12496    ctor public ApnService();
12497    method @NonNull public android.os.IBinder onBind(@Nullable android.content.Intent);
12498    method @NonNull @WorkerThread public abstract java.util.List<android.content.ContentValues> onRestoreApns(int);
12499  }
12500
12501  public final class CarrierMessagingServiceWrapper implements java.lang.AutoCloseable {
12502    ctor public CarrierMessagingServiceWrapper();
12503    method public boolean bindToCarrierMessagingService(@NonNull android.content.Context, @NonNull String, @NonNull java.util.concurrent.Executor, @NonNull Runnable);
12504    method public void close();
12505    method public void disconnect();
12506    method public void downloadMms(@NonNull android.net.Uri, int, @NonNull android.net.Uri, @NonNull java.util.concurrent.Executor, @NonNull android.service.carrier.CarrierMessagingServiceWrapper.CarrierMessagingCallback);
12507    method public void receiveSms(@NonNull android.service.carrier.MessagePdu, @NonNull String, int, int, @NonNull java.util.concurrent.Executor, @NonNull android.service.carrier.CarrierMessagingServiceWrapper.CarrierMessagingCallback);
12508    method public void sendDataSms(@NonNull byte[], int, @NonNull String, int, int, @NonNull java.util.concurrent.Executor, @NonNull android.service.carrier.CarrierMessagingServiceWrapper.CarrierMessagingCallback);
12509    method public void sendMms(@NonNull android.net.Uri, int, @NonNull android.net.Uri, @NonNull java.util.concurrent.Executor, @NonNull android.service.carrier.CarrierMessagingServiceWrapper.CarrierMessagingCallback);
12510    method public void sendMultipartTextSms(@NonNull java.util.List<java.lang.String>, int, @NonNull String, int, @NonNull java.util.concurrent.Executor, @NonNull android.service.carrier.CarrierMessagingServiceWrapper.CarrierMessagingCallback);
12511    method public void sendTextSms(@NonNull String, int, @NonNull String, int, @NonNull java.util.concurrent.Executor, @NonNull android.service.carrier.CarrierMessagingServiceWrapper.CarrierMessagingCallback);
12512  }
12513
12514  public static interface CarrierMessagingServiceWrapper.CarrierMessagingCallback {
12515    method public default void onDownloadMmsComplete(int);
12516    method public default void onReceiveSmsComplete(int);
12517    method public default void onSendMmsComplete(int, @Nullable byte[]);
12518    method public default void onSendMultipartSmsComplete(int, @Nullable int[]);
12519    method public default void onSendSmsComplete(int, int);
12520  }
12521
12522}
12523
12524package android.service.cloudsearch {
12525
12526  public abstract class CloudSearchService extends android.app.Service {
12527    ctor public CloudSearchService();
12528    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
12529    method public abstract void onSearch(@NonNull android.app.cloudsearch.SearchRequest);
12530    method public final void returnResults(@NonNull String, @NonNull android.app.cloudsearch.SearchResponse);
12531  }
12532
12533}
12534
12535package android.service.contentcapture {
12536
12537  public final class ActivityEvent implements android.os.Parcelable {
12538    method public int describeContents();
12539    method @NonNull public android.app.assist.ActivityId getActivityId();
12540    method @NonNull public android.content.ComponentName getComponentName();
12541    method public int getEventType();
12542    method public void writeToParcel(@NonNull android.os.Parcel, int);
12543    field @NonNull public static final android.os.Parcelable.Creator<android.service.contentcapture.ActivityEvent> CREATOR;
12544    field public static final int TYPE_ACTIVITY_DESTROYED = 24; // 0x18
12545    field public static final int TYPE_ACTIVITY_PAUSED = 2; // 0x2
12546    field public static final int TYPE_ACTIVITY_RESUMED = 1; // 0x1
12547    field public static final int TYPE_ACTIVITY_STOPPED = 23; // 0x17
12548  }
12549
12550  public abstract class ContentCaptureService extends android.app.Service {
12551    ctor public ContentCaptureService();
12552    method public final void disableSelf();
12553    method public void onActivityEvent(@NonNull android.service.contentcapture.ActivityEvent);
12554    method public void onActivitySnapshot(@NonNull android.view.contentcapture.ContentCaptureSessionId, @NonNull android.service.contentcapture.SnapshotData);
12555    method public final android.os.IBinder onBind(android.content.Intent);
12556    method public void onConnected();
12557    method public void onContentCaptureEvent(@NonNull android.view.contentcapture.ContentCaptureSessionId, @NonNull android.view.contentcapture.ContentCaptureEvent);
12558    method public void onCreateContentCaptureSession(@NonNull android.view.contentcapture.ContentCaptureContext, @NonNull android.view.contentcapture.ContentCaptureSessionId);
12559    method public void onDataRemovalRequest(@NonNull android.view.contentcapture.DataRemovalRequest);
12560    method public void onDataShareRequest(@NonNull android.view.contentcapture.DataShareRequest, @NonNull android.service.contentcapture.DataShareCallback);
12561    method public void onDestroyContentCaptureSession(@NonNull android.view.contentcapture.ContentCaptureSessionId);
12562    method public void onDisconnected();
12563    method public final void setContentCaptureConditions(@NonNull String, @Nullable java.util.Set<android.view.contentcapture.ContentCaptureCondition>);
12564    method public final void setContentCaptureWhitelist(@Nullable java.util.Set<java.lang.String>, @Nullable java.util.Set<android.content.ComponentName>);
12565    field public static final String SERVICE_INTERFACE = "android.service.contentcapture.ContentCaptureService";
12566    field public static final String SERVICE_META_DATA = "android.content_capture";
12567  }
12568
12569  public interface DataShareCallback {
12570    method public void onAccept(@NonNull java.util.concurrent.Executor, @NonNull android.service.contentcapture.DataShareReadAdapter);
12571    method public void onReject();
12572  }
12573
12574  public interface DataShareReadAdapter {
12575    method public void onError(int);
12576    method public void onStart(@NonNull android.os.ParcelFileDescriptor);
12577  }
12578
12579  public final class SnapshotData implements android.os.Parcelable {
12580    method public int describeContents();
12581    method @Nullable public android.app.assist.AssistContent getAssistContent();
12582    method @NonNull public android.os.Bundle getAssistData();
12583    method @NonNull public android.app.assist.AssistStructure getAssistStructure();
12584    method public void writeToParcel(@NonNull android.os.Parcel, int);
12585    field @NonNull public static final android.os.Parcelable.Creator<android.service.contentcapture.SnapshotData> CREATOR;
12586  }
12587
12588}
12589
12590package android.service.contentsuggestions {
12591
12592  public abstract class ContentSuggestionsService extends android.app.Service {
12593    ctor public ContentSuggestionsService();
12594    method public final android.os.IBinder onBind(android.content.Intent);
12595    method public abstract void onClassifyContentSelections(@NonNull android.app.contentsuggestions.ClassificationsRequest, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.ClassificationsCallback);
12596    method public abstract void onNotifyInteraction(@NonNull String, @NonNull android.os.Bundle);
12597    method public abstract void onProcessContextImage(int, @Nullable android.graphics.Bitmap, @NonNull android.os.Bundle);
12598    method public abstract void onSuggestContentSelections(@NonNull android.app.contentsuggestions.SelectionsRequest, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.SelectionsCallback);
12599    field public static final String SERVICE_INTERFACE = "android.service.contentsuggestions.ContentSuggestionsService";
12600  }
12601
12602}
12603
12604package android.service.dataloader {
12605
12606  public abstract class DataLoaderService extends android.app.Service {
12607    ctor public DataLoaderService();
12608    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
12609    method @Nullable public android.service.dataloader.DataLoaderService.DataLoader onCreateDataLoader(@NonNull android.content.pm.DataLoaderParams);
12610  }
12611
12612  public static interface DataLoaderService.DataLoader {
12613    method public boolean onCreate(@NonNull android.content.pm.DataLoaderParams, @NonNull android.service.dataloader.DataLoaderService.FileSystemConnector);
12614    method public boolean onPrepareImage(@NonNull java.util.Collection<android.content.pm.InstallationFile>, @NonNull java.util.Collection<java.lang.String>);
12615  }
12616
12617  public static final class DataLoaderService.FileSystemConnector {
12618    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void writeData(@NonNull String, long, long, @NonNull android.os.ParcelFileDescriptor) throws java.io.IOException;
12619  }
12620
12621}
12622
12623package android.service.displayhash {
12624
12625  public final class DisplayHashParams implements android.os.Parcelable {
12626    method public int describeContents();
12627    method @Nullable public android.util.Size getBufferSize();
12628    method public boolean isGrayscaleBuffer();
12629    method public void writeToParcel(@NonNull android.os.Parcel, int);
12630    field @NonNull public static final android.os.Parcelable.Creator<android.service.displayhash.DisplayHashParams> CREATOR;
12631  }
12632
12633  public static final class DisplayHashParams.Builder {
12634    ctor public DisplayHashParams.Builder();
12635    method @NonNull public android.service.displayhash.DisplayHashParams build();
12636    method @NonNull public android.service.displayhash.DisplayHashParams.Builder setBufferSize(int, int);
12637    method @NonNull public android.service.displayhash.DisplayHashParams.Builder setGrayscaleBuffer(boolean);
12638  }
12639
12640  public abstract class DisplayHashingService extends android.app.Service {
12641    ctor public DisplayHashingService();
12642    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
12643    method public abstract void onGenerateDisplayHash(@NonNull byte[], @NonNull android.hardware.HardwareBuffer, @NonNull android.graphics.Rect, @NonNull String, @NonNull android.view.displayhash.DisplayHashResultCallback);
12644    method @NonNull public abstract java.util.Map<java.lang.String,android.service.displayhash.DisplayHashParams> onGetDisplayHashAlgorithms();
12645    method public abstract int onGetIntervalBetweenRequestsMillis();
12646    method @Nullable public abstract android.view.displayhash.VerifiedDisplayHash onVerifyDisplayHash(@NonNull byte[], @NonNull android.view.displayhash.DisplayHash);
12647    field public static final String SERVICE_INTERFACE = "android.service.displayhash.DisplayHashingService";
12648  }
12649
12650}
12651
12652package android.service.euicc {
12653
12654  public final class DownloadSubscriptionResult implements android.os.Parcelable {
12655    ctor public DownloadSubscriptionResult(int, int, int);
12656    method public int describeContents();
12657    method public int getCardId();
12658    method public int getResolvableErrors();
12659    method public int getResult();
12660    method public void writeToParcel(android.os.Parcel, int);
12661    field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.DownloadSubscriptionResult> CREATOR;
12662  }
12663
12664  public final class EuiccProfileInfo implements android.os.Parcelable {
12665    method public int describeContents();
12666    method public android.service.carrier.CarrierIdentifier getCarrierIdentifier();
12667    method public String getIccid();
12668    method @Nullable public String getNickname();
12669    method public int getPolicyRules();
12670    method public int getProfileClass();
12671    method public String getProfileName();
12672    method public String getServiceProviderName();
12673    method public int getState();
12674    method @Nullable public java.util.List<android.telephony.UiccAccessRule> getUiccAccessRules();
12675    method public boolean hasPolicyRule(int);
12676    method public boolean hasPolicyRules();
12677    method public void writeToParcel(android.os.Parcel, int);
12678    field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.EuiccProfileInfo> CREATOR;
12679    field public static final int POLICY_RULE_DELETE_AFTER_DISABLING = 4; // 0x4
12680    field public static final int POLICY_RULE_DO_NOT_DELETE = 2; // 0x2
12681    field public static final int POLICY_RULE_DO_NOT_DISABLE = 1; // 0x1
12682    field public static final int PROFILE_CLASS_OPERATIONAL = 2; // 0x2
12683    field public static final int PROFILE_CLASS_PROVISIONING = 1; // 0x1
12684    field public static final int PROFILE_CLASS_TESTING = 0; // 0x0
12685    field public static final int PROFILE_STATE_DISABLED = 0; // 0x0
12686    field public static final int PROFILE_STATE_ENABLED = 1; // 0x1
12687  }
12688
12689  public static final class EuiccProfileInfo.Builder {
12690    ctor public EuiccProfileInfo.Builder(String);
12691    ctor public EuiccProfileInfo.Builder(android.service.euicc.EuiccProfileInfo);
12692    method public android.service.euicc.EuiccProfileInfo build();
12693    method public android.service.euicc.EuiccProfileInfo.Builder setCarrierIdentifier(android.service.carrier.CarrierIdentifier);
12694    method public android.service.euicc.EuiccProfileInfo.Builder setIccid(String);
12695    method public android.service.euicc.EuiccProfileInfo.Builder setNickname(String);
12696    method public android.service.euicc.EuiccProfileInfo.Builder setPolicyRules(int);
12697    method public android.service.euicc.EuiccProfileInfo.Builder setProfileClass(int);
12698    method public android.service.euicc.EuiccProfileInfo.Builder setProfileName(String);
12699    method public android.service.euicc.EuiccProfileInfo.Builder setServiceProviderName(String);
12700    method public android.service.euicc.EuiccProfileInfo.Builder setState(int);
12701    method public android.service.euicc.EuiccProfileInfo.Builder setUiccAccessRule(@Nullable java.util.List<android.telephony.UiccAccessRule>);
12702  }
12703
12704  public abstract class EuiccService extends android.app.Service {
12705    ctor public EuiccService();
12706    method public void dump(@NonNull java.io.PrintWriter);
12707    method public int encodeSmdxSubjectAndReasonCode(@Nullable String, @Nullable String);
12708    method @CallSuper public android.os.IBinder onBind(android.content.Intent);
12709    method public abstract int onDeleteSubscription(int, String);
12710    method @Deprecated public android.service.euicc.DownloadSubscriptionResult onDownloadSubscription(int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean, boolean, @Nullable android.os.Bundle);
12711    method @NonNull public android.service.euicc.DownloadSubscriptionResult onDownloadSubscription(int, int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean, boolean, @NonNull android.os.Bundle);
12712    method @Deprecated public int onDownloadSubscription(int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean, boolean);
12713    method @Deprecated public abstract int onEraseSubscriptions(int);
12714    method public int onEraseSubscriptions(int, int);
12715    method @FlaggedApi("com.android.internal.telephony.flags.esim_available_memory") public long onGetAvailableMemoryInBytes(int);
12716    method public abstract android.service.euicc.GetDefaultDownloadableSubscriptionListResult onGetDefaultDownloadableSubscriptionList(int, boolean);
12717    method public abstract android.service.euicc.GetDownloadableSubscriptionMetadataResult onGetDownloadableSubscriptionMetadata(int, android.telephony.euicc.DownloadableSubscription, boolean);
12718    method @NonNull public android.service.euicc.GetDownloadableSubscriptionMetadataResult onGetDownloadableSubscriptionMetadata(int, int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean);
12719    method public abstract String onGetEid(int);
12720    method @NonNull public abstract android.telephony.euicc.EuiccInfo onGetEuiccInfo(int);
12721    method @NonNull public abstract android.service.euicc.GetEuiccProfileInfoListResult onGetEuiccProfileInfoList(int);
12722    method public abstract int onGetOtaStatus(int);
12723    method public abstract int onRetainSubscriptionsForFactoryReset(int);
12724    method public abstract void onStartOtaIfNecessary(int, android.service.euicc.EuiccService.OtaStatusChangedCallback);
12725    method @Deprecated public abstract int onSwitchToSubscription(int, @Nullable String, boolean);
12726    method public int onSwitchToSubscriptionWithPort(int, int, @Nullable String, boolean);
12727    method public abstract int onUpdateSubscriptionNickname(int, String, String);
12728    field public static final String ACTION_BIND_CARRIER_PROVISIONING_SERVICE = "android.service.euicc.action.BIND_CARRIER_PROVISIONING_SERVICE";
12729    field @RequiresPermission(android.Manifest.permission.BIND_EUICC_SERVICE) public static final String ACTION_CONVERT_TO_EMBEDDED_SUBSCRIPTION = "android.service.euicc.action.CONVERT_TO_EMBEDDED_SUBSCRIPTION";
12730    field public static final String ACTION_DELETE_SUBSCRIPTION_PRIVILEGED = "android.service.euicc.action.DELETE_SUBSCRIPTION_PRIVILEGED";
12731    field @RequiresPermission(android.Manifest.permission.BIND_EUICC_SERVICE) public static final String ACTION_MANAGE_EMBEDDED_SUBSCRIPTIONS = "android.service.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS";
12732    field @RequiresPermission(android.Manifest.permission.BIND_EUICC_SERVICE) public static final String ACTION_PROVISION_EMBEDDED_SUBSCRIPTION = "android.service.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION";
12733    field public static final String ACTION_RENAME_SUBSCRIPTION_PRIVILEGED = "android.service.euicc.action.RENAME_SUBSCRIPTION_PRIVILEGED";
12734    field @Deprecated public static final String ACTION_RESOLVE_CONFIRMATION_CODE = "android.service.euicc.action.RESOLVE_CONFIRMATION_CODE";
12735    field public static final String ACTION_RESOLVE_DEACTIVATE_SIM = "android.service.euicc.action.RESOLVE_DEACTIVATE_SIM";
12736    field public static final String ACTION_RESOLVE_NO_PRIVILEGES = "android.service.euicc.action.RESOLVE_NO_PRIVILEGES";
12737    field public static final String ACTION_RESOLVE_RESOLVABLE_ERRORS = "android.service.euicc.action.RESOLVE_RESOLVABLE_ERRORS";
12738    field public static final String ACTION_START_CARRIER_ACTIVATION = "android.service.euicc.action.START_CARRIER_ACTIVATION";
12739    field public static final String ACTION_START_EUICC_ACTIVATION = "android.service.euicc.action.START_EUICC_ACTIVATION";
12740    field public static final String ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED = "android.service.euicc.action.TOGGLE_SUBSCRIPTION_PRIVILEGED";
12741    field @RequiresPermission(android.Manifest.permission.BIND_EUICC_SERVICE) public static final String ACTION_TRANSFER_EMBEDDED_SUBSCRIPTIONS = "android.service.euicc.action.TRANSFER_EMBEDDED_SUBSCRIPTIONS";
12742    field public static final String CATEGORY_EUICC_UI = "android.service.euicc.category.EUICC_UI";
12743    field public static final String EUICC_SERVICE_INTERFACE = "android.service.euicc.EuiccService";
12744    field public static final String EXTRA_RESOLUTION_ALLOW_POLICY_RULES = "android.service.euicc.extra.RESOLUTION_ALLOW_POLICY_RULES";
12745    field public static final String EXTRA_RESOLUTION_CALLING_PACKAGE = "android.service.euicc.extra.RESOLUTION_CALLING_PACKAGE";
12746    field public static final String EXTRA_RESOLUTION_CARD_ID = "android.service.euicc.extra.RESOLUTION_CARD_ID";
12747    field public static final String EXTRA_RESOLUTION_CONFIRMATION_CODE = "android.service.euicc.extra.RESOLUTION_CONFIRMATION_CODE";
12748    field public static final String EXTRA_RESOLUTION_CONFIRMATION_CODE_RETRIED = "android.service.euicc.extra.RESOLUTION_CONFIRMATION_CODE_RETRIED";
12749    field public static final String EXTRA_RESOLUTION_CONSENT = "android.service.euicc.extra.RESOLUTION_CONSENT";
12750    field public static final String EXTRA_RESOLUTION_PORT_INDEX = "android.service.euicc.extra.RESOLUTION_PORT_INDEX";
12751    field public static final String EXTRA_RESOLUTION_SUBSCRIPTION_ID = "android.service.euicc.extra.RESOLUTION_SUBSCRIPTION_ID";
12752    field public static final String EXTRA_RESOLUTION_USE_PORT_INDEX = "android.service.euicc.extra.RESOLUTION_USE_PORT_INDEX";
12753    field public static final String EXTRA_RESOLVABLE_ERRORS = "android.service.euicc.extra.RESOLVABLE_ERRORS";
12754    field public static final int RESOLVABLE_ERROR_CONFIRMATION_CODE = 1; // 0x1
12755    field public static final int RESOLVABLE_ERROR_POLICY_RULES = 2; // 0x2
12756    field public static final int RESULT_FIRST_USER = 1; // 0x1
12757    field public static final int RESULT_MUST_DEACTIVATE_SIM = -1; // 0xffffffff
12758    field @Deprecated public static final int RESULT_NEED_CONFIRMATION_CODE = -2; // 0xfffffffe
12759    field public static final int RESULT_OK = 0; // 0x0
12760    field public static final int RESULT_RESOLVABLE_ERRORS = -2; // 0xfffffffe
12761  }
12762
12763  public abstract static class EuiccService.OtaStatusChangedCallback {
12764    ctor public EuiccService.OtaStatusChangedCallback();
12765    method public abstract void onOtaStatusChanged(int);
12766  }
12767
12768  public final class GetDefaultDownloadableSubscriptionListResult implements android.os.Parcelable {
12769    ctor public GetDefaultDownloadableSubscriptionListResult(int, @Nullable android.telephony.euicc.DownloadableSubscription[]);
12770    method public int describeContents();
12771    method @Nullable public java.util.List<android.telephony.euicc.DownloadableSubscription> getDownloadableSubscriptions();
12772    method public int getResult();
12773    method public void writeToParcel(android.os.Parcel, int);
12774    field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.GetDefaultDownloadableSubscriptionListResult> CREATOR;
12775  }
12776
12777  public final class GetDownloadableSubscriptionMetadataResult implements android.os.Parcelable {
12778    ctor public GetDownloadableSubscriptionMetadataResult(int, @Nullable android.telephony.euicc.DownloadableSubscription);
12779    method public int describeContents();
12780    method @Nullable public android.telephony.euicc.DownloadableSubscription getDownloadableSubscription();
12781    method public int getResult();
12782    method public void writeToParcel(android.os.Parcel, int);
12783    field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.GetDownloadableSubscriptionMetadataResult> CREATOR;
12784  }
12785
12786  public final class GetEuiccProfileInfoListResult implements android.os.Parcelable {
12787    ctor public GetEuiccProfileInfoListResult(int, @Nullable android.service.euicc.EuiccProfileInfo[], boolean);
12788    method public int describeContents();
12789    method public boolean getIsRemovable();
12790    method @Nullable public java.util.List<android.service.euicc.EuiccProfileInfo> getProfiles();
12791    method public int getResult();
12792    method public void writeToParcel(android.os.Parcel, int);
12793    field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.GetEuiccProfileInfoListResult> CREATOR;
12794  }
12795
12796}
12797
12798package android.service.games {
12799
12800  public final class CreateGameSessionRequest implements android.os.Parcelable {
12801    ctor public CreateGameSessionRequest(int, @NonNull String);
12802    method public int describeContents();
12803    method @NonNull public String getGamePackageName();
12804    method public int getTaskId();
12805    method public void writeToParcel(@NonNull android.os.Parcel, int);
12806    field @NonNull public static final android.os.Parcelable.Creator<android.service.games.CreateGameSessionRequest> CREATOR;
12807  }
12808
12809  public class GameService extends android.app.Service {
12810    ctor public GameService();
12811    method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_ACTIVITY) public final void createGameSession(@IntRange(from=0) int);
12812    method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent);
12813    method public void onConnected();
12814    method public void onDisconnected();
12815    method public void onGameStarted(@NonNull android.service.games.GameStartedEvent);
12816    field public static final String ACTION_GAME_SERVICE = "android.service.games.action.GAME_SERVICE";
12817    field public static final String SERVICE_META_DATA = "android.game_service";
12818  }
12819
12820  public abstract class GameSession {
12821    ctor public GameSession();
12822    method public void onCreate();
12823    method public void onDestroy();
12824    method public void onGameTaskFocusChanged(boolean);
12825    method public void onTransientSystemBarVisibilityFromRevealGestureChanged(boolean);
12826    method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_ACTIVITY) public final boolean restartGame();
12827    method public void setTaskOverlayView(@NonNull android.view.View, @NonNull android.view.ViewGroup.LayoutParams);
12828    method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_ACTIVITY) public final void startActivityFromGameSessionForResult(@NonNull android.content.Intent, @Nullable android.os.Bundle, @NonNull java.util.concurrent.Executor, @NonNull android.service.games.GameSessionActivityCallback);
12829    method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_ACTIVITY) public void takeScreenshot(@NonNull java.util.concurrent.Executor, @NonNull android.service.games.GameSession.ScreenshotCallback);
12830  }
12831
12832  public static interface GameSession.ScreenshotCallback {
12833    method public void onFailure(int);
12834    method public void onSuccess();
12835    field public static final int ERROR_TAKE_SCREENSHOT_INTERNAL_ERROR = 0; // 0x0
12836  }
12837
12838  public interface GameSessionActivityCallback {
12839    method public void onActivityResult(int, @Nullable android.content.Intent);
12840    method public default void onActivityStartFailed(@NonNull Throwable);
12841  }
12842
12843  public abstract class GameSessionService extends android.app.Service {
12844    ctor public GameSessionService();
12845    method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent);
12846    method @NonNull public abstract android.service.games.GameSession onNewSession(@NonNull android.service.games.CreateGameSessionRequest);
12847    field public static final String ACTION_GAME_SESSION_SERVICE = "android.service.games.action.GAME_SESSION_SERVICE";
12848  }
12849
12850  public final class GameStartedEvent implements android.os.Parcelable {
12851    ctor public GameStartedEvent(@IntRange(from=0) int, @NonNull String);
12852    method public int describeContents();
12853    method @NonNull public String getPackageName();
12854    method @IntRange(from=0) public int getTaskId();
12855    method public void writeToParcel(@NonNull android.os.Parcel, int);
12856    field @NonNull public static final android.os.Parcelable.Creator<android.service.games.GameStartedEvent> CREATOR;
12857  }
12858
12859}
12860
12861package android.service.notification {
12862
12863  public final class Adjustment implements android.os.Parcelable {
12864    ctor public Adjustment(String, String, android.os.Bundle, CharSequence, int);
12865    ctor public Adjustment(@NonNull String, @NonNull String, @NonNull android.os.Bundle, @NonNull CharSequence, @NonNull android.os.UserHandle);
12866    ctor protected Adjustment(android.os.Parcel);
12867    method public int describeContents();
12868    method @NonNull public CharSequence getExplanation();
12869    method @NonNull public String getKey();
12870    method @NonNull public String getPackage();
12871    method @NonNull public android.os.Bundle getSignals();
12872    method public int getUser();
12873    method @NonNull public android.os.UserHandle getUserHandle();
12874    method public void writeToParcel(android.os.Parcel, int);
12875    field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.Adjustment> CREATOR;
12876    field public static final String KEY_CONTEXTUAL_ACTIONS = "key_contextual_actions";
12877    field public static final String KEY_IMPORTANCE = "key_importance";
12878    field public static final String KEY_IMPORTANCE_PROPOSAL = "key_importance_proposal";
12879    field public static final String KEY_NOT_CONVERSATION = "key_not_conversation";
12880    field public static final String KEY_PEOPLE = "key_people";
12881    field public static final String KEY_RANKING_SCORE = "key_ranking_score";
12882    field public static final String KEY_SENSITIVE_CONTENT = "key_sensitive_content";
12883    field public static final String KEY_SNOOZE_CRITERIA = "key_snooze_criteria";
12884    field public static final String KEY_TEXT_REPLIES = "key_text_replies";
12885    field public static final String KEY_USER_SENTIMENT = "key_user_sentiment";
12886  }
12887
12888  public abstract class NotificationAssistantService extends android.service.notification.NotificationListenerService {
12889    ctor public NotificationAssistantService();
12890    method public final void adjustNotification(@NonNull android.service.notification.Adjustment);
12891    method public final void adjustNotifications(@NonNull java.util.List<android.service.notification.Adjustment>);
12892    method public void onActionInvoked(@NonNull String, @NonNull android.app.Notification.Action, int);
12893    method @Deprecated public void onAllowedAdjustmentsChanged();
12894    method @NonNull public final android.os.IBinder onBind(@Nullable android.content.Intent);
12895    method public void onNotificationClicked(@NonNull String);
12896    method public void onNotificationDirectReplied(@NonNull String);
12897    method @Nullable public abstract android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification);
12898    method @Nullable public android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification, @NonNull android.app.NotificationChannel);
12899    method @Nullable public android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification, @NonNull android.app.NotificationChannel, @NonNull android.service.notification.NotificationListenerService.RankingMap);
12900    method public void onNotificationExpansionChanged(@NonNull String, boolean, boolean);
12901    method public void onNotificationFeedbackReceived(@NonNull String, @NonNull android.service.notification.NotificationListenerService.RankingMap, @NonNull android.os.Bundle);
12902    method public abstract void onNotificationSnoozedUntilContext(@NonNull android.service.notification.StatusBarNotification, @NonNull String);
12903    method public void onNotificationVisibilityChanged(@NonNull String, boolean);
12904    method public void onNotificationsSeen(@NonNull java.util.List<java.lang.String>);
12905    method public void onPanelHidden();
12906    method public void onPanelRevealed(int);
12907    method public void onSuggestedReplySent(@NonNull String, @NonNull CharSequence, int);
12908    method public final void unsnoozeNotification(@NonNull String);
12909    field public static final String ACTION_NOTIFICATION_ASSISTANT_DETAIL_SETTINGS = "android.service.notification.action.NOTIFICATION_ASSISTANT_DETAIL_SETTINGS";
12910    field public static final String FEEDBACK_RATING = "feedback.rating";
12911    field public static final String SERVICE_INTERFACE = "android.service.notification.NotificationAssistantService";
12912    field public static final int SOURCE_FROM_APP = 0; // 0x0
12913    field public static final int SOURCE_FROM_ASSISTANT = 1; // 0x1
12914  }
12915
12916  public abstract class NotificationListenerService extends android.app.Service {
12917    method @UiThread public void onNotificationRemoved(@NonNull android.service.notification.StatusBarNotification, @NonNull android.service.notification.NotificationListenerService.RankingMap, @NonNull android.service.notification.NotificationStats, int);
12918  }
12919
12920  public static class NotificationListenerService.Ranking {
12921    method public int getProposedImportance();
12922    method public boolean hasSensitiveContent();
12923  }
12924
12925  public final class NotificationStats implements android.os.Parcelable {
12926    ctor public NotificationStats();
12927    ctor protected NotificationStats(android.os.Parcel);
12928    method public int describeContents();
12929    method public int getDismissalSentiment();
12930    method public int getDismissalSurface();
12931    method public boolean hasDirectReplied();
12932    method public boolean hasExpanded();
12933    method public boolean hasInteracted();
12934    method public boolean hasSeen();
12935    method @FlaggedApi("android.app.lifetime_extension_refactor") public boolean hasSmartReplied();
12936    method public boolean hasSnoozed();
12937    method public boolean hasViewedSettings();
12938    method public void setDirectReplied();
12939    method public void setDismissalSentiment(int);
12940    method public void setDismissalSurface(int);
12941    method public void setExpanded();
12942    method public void setSeen();
12943    method @FlaggedApi("android.app.lifetime_extension_refactor") public void setSmartReplied();
12944    method public void setSnoozed();
12945    method public void setViewedSettings();
12946    method public void writeToParcel(android.os.Parcel, int);
12947    field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.NotificationStats> CREATOR;
12948    field public static final int DISMISSAL_AOD = 2; // 0x2
12949    field public static final int DISMISSAL_NOT_DISMISSED = -1; // 0xffffffff
12950    field public static final int DISMISSAL_OTHER = 0; // 0x0
12951    field public static final int DISMISSAL_PEEK = 1; // 0x1
12952    field public static final int DISMISSAL_SHADE = 3; // 0x3
12953    field public static final int DISMISS_SENTIMENT_NEGATIVE = 0; // 0x0
12954    field public static final int DISMISS_SENTIMENT_NEUTRAL = 1; // 0x1
12955    field public static final int DISMISS_SENTIMENT_POSITIVE = 2; // 0x2
12956    field public static final int DISMISS_SENTIMENT_UNKNOWN = -1000; // 0xfffffc18
12957  }
12958
12959  public final class SnoozeCriterion implements android.os.Parcelable {
12960    ctor public SnoozeCriterion(String, CharSequence, CharSequence);
12961    ctor protected SnoozeCriterion(android.os.Parcel);
12962    method public int describeContents();
12963    method public CharSequence getConfirmation();
12964    method public CharSequence getExplanation();
12965    method public String getId();
12966    method public void writeToParcel(android.os.Parcel, int);
12967    field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.SnoozeCriterion> CREATOR;
12968  }
12969
12970}
12971
12972package android.service.oemlock {
12973
12974  public class OemLockManager {
12975    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE) public String getLockName();
12976    method @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE) public boolean isOemUnlockAllowedByCarrier();
12977    method @RequiresPermission(android.Manifest.permission.MANAGE_USER_OEM_UNLOCK_STATE) public boolean isOemUnlockAllowedByUser();
12978    method @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE) public void setOemUnlockAllowedByCarrier(boolean, @Nullable byte[]);
12979    method @RequiresPermission(android.Manifest.permission.MANAGE_USER_OEM_UNLOCK_STATE) public void setOemUnlockAllowedByUser(boolean);
12980  }
12981
12982}
12983
12984package android.service.ondeviceintelligence {
12985
12986  @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public abstract class OnDeviceIntelligenceService extends android.app.Service {
12987    ctor public OnDeviceIntelligenceService();
12988    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
12989    method public abstract void onDownloadFeature(int, @NonNull android.app.ondeviceintelligence.Feature, @Nullable android.os.CancellationSignal, @NonNull android.app.ondeviceintelligence.DownloadCallback);
12990    method public abstract void onGetFeature(int, int, @NonNull android.os.OutcomeReceiver<android.app.ondeviceintelligence.Feature,android.app.ondeviceintelligence.OnDeviceIntelligenceException>);
12991    method public abstract void onGetFeatureDetails(int, @NonNull android.app.ondeviceintelligence.Feature, @NonNull android.os.OutcomeReceiver<android.app.ondeviceintelligence.FeatureDetails,android.app.ondeviceintelligence.OnDeviceIntelligenceException>);
12992    method public abstract void onGetReadOnlyFeatureFileDescriptorMap(@NonNull android.app.ondeviceintelligence.Feature, @NonNull java.util.function.Consumer<java.util.Map<java.lang.String,android.os.ParcelFileDescriptor>>);
12993    method public abstract void onGetVersion(@NonNull java.util.function.LongConsumer);
12994    method public abstract void onInferenceServiceConnected();
12995    method public abstract void onInferenceServiceDisconnected();
12996    method public abstract void onListFeatures(int, @NonNull android.os.OutcomeReceiver<java.util.List<android.app.ondeviceintelligence.Feature>,android.app.ondeviceintelligence.OnDeviceIntelligenceException>);
12997    method public final void updateProcessingState(@NonNull android.os.Bundle, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<android.os.PersistableBundle,android.app.ondeviceintelligence.OnDeviceIntelligenceException>);
12998    field public static final String SERVICE_INTERFACE = "android.service.ondeviceintelligence.OnDeviceIntelligenceService";
12999  }
13000
13001  @FlaggedApi("android.app.ondeviceintelligence.flags.enable_on_device_intelligence") public abstract class OnDeviceSandboxedInferenceService extends android.app.Service {
13002    ctor public OnDeviceSandboxedInferenceService();
13003    method public final void fetchFeatureFileDescriptorMap(@NonNull android.app.ondeviceintelligence.Feature, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.util.Map<java.lang.String,android.os.ParcelFileDescriptor>>);
13004    method @NonNull public java.util.concurrent.Executor getCallbackExecutor();
13005    method public final void getReadOnlyFileDescriptor(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.os.ParcelFileDescriptor>) throws java.io.FileNotFoundException;
13006    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
13007    method @NonNull public abstract void onProcessRequest(int, @NonNull android.app.ondeviceintelligence.Feature, @NonNull android.os.Bundle, int, @Nullable android.os.CancellationSignal, @Nullable android.app.ondeviceintelligence.ProcessingSignal, @NonNull android.app.ondeviceintelligence.ProcessingCallback);
13008    method @NonNull public abstract void onProcessRequestStreaming(int, @NonNull android.app.ondeviceintelligence.Feature, @NonNull android.os.Bundle, int, @Nullable android.os.CancellationSignal, @Nullable android.app.ondeviceintelligence.ProcessingSignal, @NonNull android.app.ondeviceintelligence.StreamingProcessingCallback);
13009    method @NonNull public abstract void onTokenInfoRequest(int, @NonNull android.app.ondeviceintelligence.Feature, @NonNull android.os.Bundle, @Nullable android.os.CancellationSignal, @NonNull android.os.OutcomeReceiver<android.app.ondeviceintelligence.TokenInfo,android.app.ondeviceintelligence.OnDeviceIntelligenceException>);
13010    method public abstract void onUpdateProcessingState(@NonNull android.os.Bundle, @NonNull android.os.OutcomeReceiver<android.os.PersistableBundle,android.app.ondeviceintelligence.OnDeviceIntelligenceException>);
13011    method public final java.io.FileInputStream openFileInput(@NonNull String) throws java.io.FileNotFoundException;
13012    field public static final String SERVICE_INTERFACE = "android.service.ondeviceintelligence.OnDeviceSandboxedInferenceService";
13013  }
13014
13015}
13016
13017package android.service.persistentdata {
13018
13019  @FlaggedApi("android.security.frp_enforcement") public class PersistentDataBlockManager {
13020    method @FlaggedApi("android.security.frp_enforcement") @RequiresPermission(android.Manifest.permission.CONFIGURE_FACTORY_RESET_PROTECTION) public boolean deactivateFactoryResetProtection(@NonNull byte[]);
13021    method @RequiresPermission(android.Manifest.permission.ACCESS_PDB_STATE) public int getDataBlockSize();
13022    method @RequiresPermission(anyOf={android.Manifest.permission.READ_OEM_UNLOCK_STATE, "android.permission.OEM_UNLOCK_STATE"}) public int getFlashLockState();
13023    method public long getMaximumDataBlockSize();
13024    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_OEM_UNLOCK_STATE, "android.permission.OEM_UNLOCK_STATE"}) public boolean getOemUnlockEnabled();
13025    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_PDB_STATE) public String getPersistentDataPackageName();
13026    method @Nullable public byte[] read();
13027    method @FlaggedApi("android.security.frp_enforcement") public boolean setFactoryResetProtectionSecret(@NonNull byte[]);
13028    method @Deprecated @RequiresPermission("android.permission.OEM_UNLOCK_STATE") public void setOemUnlockEnabled(boolean);
13029    method @RequiresPermission("android.permission.OEM_UNLOCK_STATE") public void wipe();
13030    method public int write(@Nullable byte[]);
13031    field public static final int FLASH_LOCK_LOCKED = 1; // 0x1
13032    field public static final int FLASH_LOCK_UNKNOWN = -1; // 0xffffffff
13033    field public static final int FLASH_LOCK_UNLOCKED = 0; // 0x0
13034  }
13035
13036}
13037
13038package android.service.quicksettings {
13039
13040  public class TileService extends android.app.Service {
13041    method public final void setStatusIcon(android.graphics.drawable.Icon, String);
13042  }
13043
13044}
13045
13046package android.service.remotelockscreenvalidation {
13047
13048  public abstract class RemoteLockscreenValidationService extends android.app.Service {
13049    ctor public RemoteLockscreenValidationService();
13050    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
13051    method public abstract void onValidateLockscreenGuess(@NonNull byte[], @NonNull android.os.OutcomeReceiver<android.app.RemoteLockscreenValidationResult,java.lang.Exception>);
13052    field public static final String SERVICE_INTERFACE = "android.service.remotelockscreenvalidation.RemoteLockscreenValidationService";
13053  }
13054
13055}
13056
13057package android.service.resolver {
13058
13059  public abstract class ResolverRankerService extends android.app.Service {
13060    ctor public ResolverRankerService();
13061    method public android.os.IBinder onBind(android.content.Intent);
13062    method public void onPredictSharingProbabilities(java.util.List<android.service.resolver.ResolverTarget>);
13063    method public void onTrainRankingModel(java.util.List<android.service.resolver.ResolverTarget>, int);
13064    field public static final String BIND_PERMISSION = "android.permission.BIND_RESOLVER_RANKER_SERVICE";
13065    field public static final String HOLD_PERMISSION = "android.permission.PROVIDE_RESOLVER_RANKER_SERVICE";
13066    field public static final String SERVICE_INTERFACE = "android.service.resolver.ResolverRankerService";
13067  }
13068
13069  public final class ResolverTarget implements android.os.Parcelable {
13070    ctor public ResolverTarget();
13071    method public int describeContents();
13072    method public float getChooserScore();
13073    method public float getLaunchScore();
13074    method public float getRecencyScore();
13075    method public float getSelectProbability();
13076    method public float getTimeSpentScore();
13077    method public void setChooserScore(float);
13078    method public void setLaunchScore(float);
13079    method public void setRecencyScore(float);
13080    method public void setSelectProbability(float);
13081    method public void setTimeSpentScore(float);
13082    method public void writeToParcel(android.os.Parcel, int);
13083    field @NonNull public static final android.os.Parcelable.Creator<android.service.resolver.ResolverTarget> CREATOR;
13084  }
13085
13086}
13087
13088package android.service.resumeonreboot {
13089
13090  public abstract class ResumeOnRebootService extends android.app.Service {
13091    ctor public ResumeOnRebootService();
13092    method @Nullable public android.os.IBinder onBind(@Nullable android.content.Intent);
13093    method @NonNull public abstract byte[] onUnwrap(@NonNull byte[]) throws java.io.IOException;
13094    method @NonNull public abstract byte[] onWrap(@NonNull byte[], long) throws java.io.IOException;
13095    field public static final String SERVICE_INTERFACE = "android.service.resumeonreboot.ResumeOnRebootService";
13096  }
13097
13098}
13099
13100package android.service.rotationresolver {
13101
13102  public final class RotationResolutionRequest implements android.os.Parcelable {
13103    ctor public RotationResolutionRequest(@NonNull String, int, int, boolean, long);
13104    method public int describeContents();
13105    method public int getCurrentRotation();
13106    method @NonNull public String getForegroundPackageName();
13107    method public int getProposedRotation();
13108    method public long getTimeoutMillis();
13109    method public boolean shouldUseCamera();
13110    method public void writeToParcel(@NonNull android.os.Parcel, int);
13111    field @NonNull public static final android.os.Parcelable.Creator<android.service.rotationresolver.RotationResolutionRequest> CREATOR;
13112  }
13113
13114  public abstract class RotationResolverService extends android.app.Service {
13115    ctor public RotationResolverService();
13116    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
13117    method public abstract void onResolveRotation(@NonNull android.service.rotationresolver.RotationResolutionRequest, @Nullable android.os.CancellationSignal, @NonNull android.service.rotationresolver.RotationResolverService.RotationResolverCallback);
13118    field public static final int ROTATION_RESULT_FAILURE_CANCELLED = 0; // 0x0
13119    field public static final int ROTATION_RESULT_FAILURE_NOT_SUPPORTED = 4; // 0x4
13120    field public static final int ROTATION_RESULT_FAILURE_PREEMPTED = 2; // 0x2
13121    field public static final int ROTATION_RESULT_FAILURE_TIMED_OUT = 1; // 0x1
13122    field public static final int ROTATION_RESULT_FAILURE_UNKNOWN = 3; // 0x3
13123    field public static final String SERVICE_INTERFACE = "android.service.rotationresolver.RotationResolverService";
13124  }
13125
13126  public static interface RotationResolverService.RotationResolverCallback {
13127    method public void onFailure(int);
13128    method public void onSuccess(int);
13129  }
13130
13131}
13132
13133package android.service.search {
13134
13135  public abstract class SearchUiService extends android.app.Service {
13136    ctor public SearchUiService();
13137    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
13138    method @MainThread public abstract void onDestroy(@NonNull android.app.search.SearchSessionId);
13139    method @MainThread public abstract void onNotifyEvent(@NonNull android.app.search.SearchSessionId, @NonNull android.app.search.Query, @NonNull android.app.search.SearchTargetEvent);
13140    method @MainThread public abstract void onQuery(@NonNull android.app.search.SearchSessionId, @NonNull android.app.search.Query, @NonNull java.util.function.Consumer<java.util.List<android.app.search.SearchTarget>>);
13141    method public void onSearchSessionCreated(@NonNull android.app.search.SearchContext, @NonNull android.app.search.SearchSessionId);
13142    method @MainThread public void onStartUpdateEmptyQueryResult();
13143    method @MainThread public void onStopUpdateEmptyQueryResult();
13144    method public final void updateEmptyQueryResult(@NonNull android.app.search.SearchSessionId, @NonNull java.util.List<android.app.search.SearchTarget>);
13145  }
13146
13147}
13148
13149package android.service.settings.suggestions {
13150
13151  public final class Suggestion implements android.os.Parcelable {
13152    method public int describeContents();
13153    method public int getFlags();
13154    method public android.graphics.drawable.Icon getIcon();
13155    method public String getId();
13156    method public android.app.PendingIntent getPendingIntent();
13157    method public CharSequence getSummary();
13158    method public CharSequence getTitle();
13159    method public void writeToParcel(android.os.Parcel, int);
13160    field @NonNull public static final android.os.Parcelable.Creator<android.service.settings.suggestions.Suggestion> CREATOR;
13161    field public static final int FLAG_HAS_BUTTON = 1; // 0x1
13162  }
13163
13164  public static class Suggestion.Builder {
13165    ctor public Suggestion.Builder(String);
13166    method public android.service.settings.suggestions.Suggestion build();
13167    method public android.service.settings.suggestions.Suggestion.Builder setFlags(int);
13168    method public android.service.settings.suggestions.Suggestion.Builder setIcon(android.graphics.drawable.Icon);
13169    method public android.service.settings.suggestions.Suggestion.Builder setPendingIntent(android.app.PendingIntent);
13170    method public android.service.settings.suggestions.Suggestion.Builder setSummary(CharSequence);
13171    method public android.service.settings.suggestions.Suggestion.Builder setTitle(CharSequence);
13172  }
13173
13174  public abstract class SuggestionService extends android.app.Service {
13175    ctor public SuggestionService();
13176    method public android.os.IBinder onBind(android.content.Intent);
13177    method public abstract java.util.List<android.service.settings.suggestions.Suggestion> onGetSuggestions();
13178    method public abstract void onSuggestionDismissed(android.service.settings.suggestions.Suggestion);
13179    method public abstract void onSuggestionLaunched(android.service.settings.suggestions.Suggestion);
13180  }
13181
13182}
13183
13184package android.service.smartspace {
13185
13186  public abstract class SmartspaceService extends android.app.Service {
13187    ctor public SmartspaceService();
13188    method @MainThread public abstract void notifySmartspaceEvent(@NonNull android.app.smartspace.SmartspaceSessionId, @NonNull android.app.smartspace.SmartspaceTargetEvent);
13189    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
13190    method public abstract void onCreateSmartspaceSession(@NonNull android.app.smartspace.SmartspaceConfig, @NonNull android.app.smartspace.SmartspaceSessionId);
13191    method @MainThread public abstract void onDestroy(@NonNull android.app.smartspace.SmartspaceSessionId);
13192    method public abstract void onDestroySmartspaceSession(@NonNull android.app.smartspace.SmartspaceSessionId);
13193    method @MainThread public abstract void onRequestSmartspaceUpdate(@NonNull android.app.smartspace.SmartspaceSessionId);
13194    method public final void updateSmartspaceTargets(@NonNull android.app.smartspace.SmartspaceSessionId, @NonNull java.util.List<android.app.smartspace.SmartspaceTarget>);
13195  }
13196
13197}
13198
13199package android.service.storage {
13200
13201  public abstract class ExternalStorageService extends android.app.Service {
13202    ctor public ExternalStorageService();
13203    method public void onAnrDelayStarted(@NonNull String, int, int, int);
13204    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
13205    method public abstract void onEndSession(@NonNull String) throws java.io.IOException;
13206    method public void onFreeCache(@NonNull java.util.UUID, long) throws java.io.IOException;
13207    method public abstract void onStartSession(@NonNull String, int, @NonNull android.os.ParcelFileDescriptor, @NonNull java.io.File, @NonNull java.io.File) throws java.io.IOException;
13208    method public abstract void onVolumeStateChanged(@NonNull android.os.storage.StorageVolume) throws java.io.IOException;
13209    field public static final int FLAG_SESSION_ATTRIBUTE_INDEXABLE = 2; // 0x2
13210    field public static final int FLAG_SESSION_TYPE_FUSE = 1; // 0x1
13211    field public static final String SERVICE_INTERFACE = "android.service.storage.ExternalStorageService";
13212  }
13213
13214}
13215
13216package android.service.textclassifier {
13217
13218  public abstract class TextClassifierService extends android.app.Service {
13219    ctor public TextClassifierService();
13220    method @NonNull public static android.view.textclassifier.TextClassifier getDefaultTextClassifierImplementation(@NonNull android.content.Context);
13221    method @Deprecated public final android.view.textclassifier.TextClassifier getLocalTextClassifier();
13222    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
13223    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>);
13224    method public void onConnected();
13225    method @MainThread public void onCreateTextClassificationSession(@NonNull android.view.textclassifier.TextClassificationContext, @NonNull android.view.textclassifier.TextClassificationSessionId);
13226    method @MainThread public void onDestroyTextClassificationSession(@NonNull android.view.textclassifier.TextClassificationSessionId);
13227    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>);
13228    method public void onDisconnected();
13229    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>);
13230    method @Deprecated @MainThread public void onSelectionEvent(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.SelectionEvent);
13231    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>);
13232    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>);
13233    method @MainThread public void onTextClassifierEvent(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextClassifierEvent);
13234    field public static final String SERVICE_INTERFACE = "android.service.textclassifier.TextClassifierService";
13235  }
13236
13237  public static interface TextClassifierService.Callback<T> {
13238    method public void onFailure(@NonNull CharSequence);
13239    method public void onSuccess(T);
13240  }
13241
13242}
13243
13244package android.service.timezone {
13245
13246  public abstract class TimeZoneProviderService extends android.app.Service {
13247    ctor public TimeZoneProviderService();
13248    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
13249    method public abstract void onStartUpdates(long);
13250    method public abstract void onStopUpdates();
13251    method public final void reportPermanentFailure(@NonNull Throwable);
13252    method public final void reportSuggestion(@NonNull android.service.timezone.TimeZoneProviderSuggestion);
13253    method public final void reportSuggestion(@NonNull android.service.timezone.TimeZoneProviderSuggestion, @NonNull android.service.timezone.TimeZoneProviderStatus);
13254    method public final void reportUncertain();
13255    method public final void reportUncertain(@NonNull android.service.timezone.TimeZoneProviderStatus);
13256    field public static final String PRIMARY_LOCATION_TIME_ZONE_PROVIDER_SERVICE_INTERFACE = "android.service.timezone.PrimaryLocationTimeZoneProviderService";
13257    field public static final String SECONDARY_LOCATION_TIME_ZONE_PROVIDER_SERVICE_INTERFACE = "android.service.timezone.SecondaryLocationTimeZoneProviderService";
13258  }
13259
13260  public final class TimeZoneProviderStatus implements android.os.Parcelable {
13261    method public int describeContents();
13262    method public int getConnectivityDependencyStatus();
13263    method public int getLocationDetectionDependencyStatus();
13264    method public int getTimeZoneResolutionOperationStatus();
13265    method public void writeToParcel(@NonNull android.os.Parcel, int);
13266    field @NonNull public static final android.os.Parcelable.Creator<android.service.timezone.TimeZoneProviderStatus> CREATOR;
13267    field public static final int DEPENDENCY_STATUS_BLOCKED_BY_ENVIRONMENT = 4; // 0x4
13268    field public static final int DEPENDENCY_STATUS_BLOCKED_BY_SETTINGS = 6; // 0x6
13269    field public static final int DEPENDENCY_STATUS_DEGRADED_BY_SETTINGS = 5; // 0x5
13270    field public static final int DEPENDENCY_STATUS_NOT_APPLICABLE = 1; // 0x1
13271    field public static final int DEPENDENCY_STATUS_OK = 2; // 0x2
13272    field public static final int DEPENDENCY_STATUS_TEMPORARILY_UNAVAILABLE = 3; // 0x3
13273    field public static final int OPERATION_STATUS_FAILED = 3; // 0x3
13274    field public static final int OPERATION_STATUS_NOT_APPLICABLE = 1; // 0x1
13275    field public static final int OPERATION_STATUS_OK = 2; // 0x2
13276  }
13277
13278  public static final class TimeZoneProviderStatus.Builder {
13279    ctor public TimeZoneProviderStatus.Builder();
13280    method @NonNull public android.service.timezone.TimeZoneProviderStatus build();
13281    method @NonNull public android.service.timezone.TimeZoneProviderStatus.Builder setConnectivityDependencyStatus(int);
13282    method @NonNull public android.service.timezone.TimeZoneProviderStatus.Builder setLocationDetectionDependencyStatus(int);
13283    method @NonNull public android.service.timezone.TimeZoneProviderStatus.Builder setTimeZoneResolutionOperationStatus(int);
13284  }
13285
13286  public final class TimeZoneProviderSuggestion implements android.os.Parcelable {
13287    method public int describeContents();
13288    method public long getElapsedRealtimeMillis();
13289    method @NonNull public java.util.List<java.lang.String> getTimeZoneIds();
13290    method public void writeToParcel(@NonNull android.os.Parcel, int);
13291    field @NonNull public static final android.os.Parcelable.Creator<android.service.timezone.TimeZoneProviderSuggestion> CREATOR;
13292  }
13293
13294  public static final class TimeZoneProviderSuggestion.Builder {
13295    ctor public TimeZoneProviderSuggestion.Builder();
13296    method @NonNull public android.service.timezone.TimeZoneProviderSuggestion build();
13297    method @NonNull public android.service.timezone.TimeZoneProviderSuggestion.Builder setElapsedRealtimeMillis(long);
13298    method @NonNull public android.service.timezone.TimeZoneProviderSuggestion.Builder setTimeZoneIds(@NonNull java.util.List<java.lang.String>);
13299  }
13300
13301}
13302
13303package android.service.tracing {
13304
13305  public class TraceReportService extends android.app.Service {
13306    ctor public TraceReportService();
13307    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
13308    method public void onReportTrace(@NonNull android.service.tracing.TraceReportService.TraceParams);
13309  }
13310
13311  public static final class TraceReportService.TraceParams {
13312    method @NonNull public android.os.ParcelFileDescriptor getFd();
13313    method @NonNull public java.util.UUID getUuid();
13314  }
13315
13316}
13317
13318package android.service.translation {
13319
13320  public abstract class TranslationService extends android.app.Service {
13321    ctor public TranslationService();
13322    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
13323    method public void onConnected();
13324    method public abstract void onCreateTranslationSession(@NonNull android.view.translation.TranslationContext, int, @NonNull java.util.function.Consumer<java.lang.Boolean>);
13325    method public void onDisconnected();
13326    method public abstract void onFinishTranslationSession(int);
13327    method public abstract void onTranslationCapabilitiesRequest(int, int, @NonNull java.util.function.Consumer<java.util.Set<android.view.translation.TranslationCapability>>);
13328    method public abstract void onTranslationRequest(@NonNull android.view.translation.TranslationRequest, int, @Nullable android.os.CancellationSignal, @NonNull java.util.function.Consumer<android.view.translation.TranslationResponse>);
13329    method public final void updateTranslationCapability(@NonNull android.view.translation.TranslationCapability);
13330    field public static final String SERVICE_INTERFACE = "android.service.translation.TranslationService";
13331    field public static final String SERVICE_META_DATA = "android.translation_service";
13332  }
13333
13334}
13335
13336package android.service.trust {
13337
13338  public final class GrantTrustResult implements android.os.Parcelable {
13339    ctor public GrantTrustResult(int);
13340    method public int describeContents();
13341    method public int getStatus();
13342    method @NonNull public static String statusToString(int);
13343    method public void writeToParcel(@NonNull android.os.Parcel, int);
13344    field @NonNull public static final android.os.Parcelable.Creator<android.service.trust.GrantTrustResult> CREATOR;
13345    field public static final int STATUS_UNKNOWN = 0; // 0x0
13346    field public static final int STATUS_UNLOCKED_BY_GRANT = 1; // 0x1
13347  }
13348
13349  public class TrustAgentService extends android.app.Service {
13350    ctor public TrustAgentService();
13351    method public final void addEscrowToken(byte[], android.os.UserHandle);
13352    method @Deprecated public final void grantTrust(CharSequence, long, boolean);
13353    method @Deprecated public final void grantTrust(CharSequence, long, int);
13354    method public final void grantTrust(@NonNull CharSequence, long, int, @Nullable java.util.function.Consumer<android.service.trust.GrantTrustResult>);
13355    method public final void isEscrowTokenActive(long, android.os.UserHandle);
13356    method public final void lockUser();
13357    method public final android.os.IBinder onBind(android.content.Intent);
13358    method public boolean onConfigure(java.util.List<android.os.PersistableBundle>);
13359    method public void onDeviceLocked();
13360    method public void onDeviceUnlockLockout(long);
13361    method public void onDeviceUnlocked();
13362    method public void onEscrowTokenAdded(byte[], long, android.os.UserHandle);
13363    method public void onEscrowTokenRemoved(long, boolean);
13364    method public void onEscrowTokenStateReceived(long, int);
13365    method public void onTrustTimeout();
13366    method public void onUnlockAttempt(boolean);
13367    method public void onUserMayRequestUnlock();
13368    method public void onUserRequestedUnlock(boolean);
13369    method public final void removeEscrowToken(long, android.os.UserHandle);
13370    method public final void revokeTrust();
13371    method public final void setManagingTrust(boolean);
13372    method public final void showKeyguardErrorMessage(@NonNull CharSequence);
13373    method public final void unlockUserWithToken(long, byte[], android.os.UserHandle);
13374    field public static final int FLAG_GRANT_TRUST_DISMISS_KEYGUARD = 2; // 0x2
13375    field public static final int FLAG_GRANT_TRUST_DISPLAY_MESSAGE = 8; // 0x8
13376    field public static final int FLAG_GRANT_TRUST_INITIATED_BY_USER = 1; // 0x1
13377    field public static final int FLAG_GRANT_TRUST_TEMPORARY_AND_RENEWABLE = 4; // 0x4
13378    field public static final String SERVICE_INTERFACE = "android.service.trust.TrustAgentService";
13379    field public static final int TOKEN_STATE_ACTIVE = 1; // 0x1
13380    field public static final int TOKEN_STATE_INACTIVE = 0; // 0x0
13381    field public static final String TRUST_AGENT_META_DATA = "android.service.trust.trustagent";
13382  }
13383
13384}
13385
13386package android.service.voice {
13387
13388  public class AlwaysOnHotwordDetector implements android.service.voice.HotwordDetector {
13389    method @Nullable public android.content.Intent createEnrollIntent();
13390    method @Nullable public android.content.Intent createReEnrollIntent();
13391    method @Nullable public android.content.Intent createUnEnrollIntent();
13392    method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public int getParameter(int);
13393    method public int getSupportedAudioCapabilities();
13394    method public int getSupportedRecognitionModes();
13395    method @Nullable @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public android.service.voice.AlwaysOnHotwordDetector.ModelParamRange queryParameter(int);
13396    method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public int setParameter(int, int);
13397    method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public boolean startRecognition(int, @NonNull byte[]);
13398    method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public boolean startRecognition(int);
13399    method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public boolean startRecognition();
13400    method public boolean startRecognition(@NonNull android.os.ParcelFileDescriptor, @NonNull android.media.AudioFormat, @Nullable android.os.PersistableBundle);
13401    method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public boolean stopRecognition();
13402    method public final void updateState(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory);
13403    field public static final int AUDIO_CAPABILITY_ECHO_CANCELLATION = 1; // 0x1
13404    field public static final int AUDIO_CAPABILITY_NOISE_SUPPRESSION = 2; // 0x2
13405    field public static final int MODEL_PARAM_THRESHOLD_FACTOR = 0; // 0x0
13406    field public static final int RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS = 2; // 0x2
13407    field public static final int RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO = 1; // 0x1
13408    field public static final int RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION = 4; // 0x4
13409    field public static final int RECOGNITION_FLAG_ENABLE_AUDIO_NOISE_SUPPRESSION = 8; // 0x8
13410    field public static final int RECOGNITION_FLAG_RUN_IN_BATTERY_SAVER = 16; // 0x10
13411    field public static final int RECOGNITION_MODE_USER_IDENTIFICATION = 2; // 0x2
13412    field public static final int RECOGNITION_MODE_VOICE_TRIGGER = 1; // 0x1
13413    field public static final int STATE_ERROR = 3; // 0x3
13414    field public static final int STATE_HARDWARE_UNAVAILABLE = -2; // 0xfffffffe
13415    field public static final int STATE_KEYPHRASE_ENROLLED = 2; // 0x2
13416    field public static final int STATE_KEYPHRASE_UNENROLLED = 1; // 0x1
13417    field @Deprecated public static final int STATE_KEYPHRASE_UNSUPPORTED = -1; // 0xffffffff
13418  }
13419
13420  public abstract static class AlwaysOnHotwordDetector.Callback implements android.service.voice.HotwordDetector.Callback {
13421    ctor public AlwaysOnHotwordDetector.Callback();
13422    method public abstract void onAvailabilityChanged(int);
13423    method public void onFailure(@NonNull android.service.voice.SoundTriggerFailure);
13424    method public void onHotwordDetectionServiceInitialized(int);
13425    method public void onHotwordDetectionServiceRestarted();
13426    method public void onRejected(@NonNull android.service.voice.HotwordRejectedResult);
13427  }
13428
13429  public static class AlwaysOnHotwordDetector.EventPayload {
13430    method @Nullable public android.os.ParcelFileDescriptor getAudioStream();
13431    method @Nullable public android.media.AudioFormat getCaptureAudioFormat();
13432    method @Nullable public byte[] getData();
13433    method public int getDataFormat();
13434    method public long getHalEventReceivedMillis();
13435    method @Nullable public android.service.voice.HotwordDetectedResult getHotwordDetectedResult();
13436    method @NonNull public java.util.List<android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionExtra> getKeyphraseRecognitionExtras();
13437    method @Deprecated @Nullable public byte[] getTriggerAudio();
13438    method @FlaggedApi("android.app.wearable.enable_hotword_wearable_sensing_api") public boolean isRecognitionStopped();
13439    field public static final int DATA_FORMAT_RAW = 0; // 0x0
13440    field public static final int DATA_FORMAT_TRIGGER_AUDIO = 1; // 0x1
13441  }
13442
13443  public static final class AlwaysOnHotwordDetector.ModelParamRange {
13444    method public int getEnd();
13445    method public int getStart();
13446  }
13447
13448  public final class FailureSuggestedAction {
13449    field public static final int DISABLE_DETECTION = 2; // 0x2
13450    field public static final int NONE = 1; // 0x1
13451    field public static final int RECREATE_DETECTOR = 3; // 0x3
13452    field public static final int RESTART_RECOGNITION = 4; // 0x4
13453    field public static final int UNKNOWN = 0; // 0x0
13454  }
13455
13456  public final class HotwordAudioStream implements android.os.Parcelable {
13457    method public int describeContents();
13458    method @NonNull public android.media.AudioFormat getAudioFormat();
13459    method @NonNull public android.os.ParcelFileDescriptor getAudioStreamParcelFileDescriptor();
13460    method @NonNull public byte[] getInitialAudio();
13461    method @NonNull public android.os.PersistableBundle getMetadata();
13462    method @Nullable public android.media.AudioTimestamp getTimestamp();
13463    method public void writeToParcel(@NonNull android.os.Parcel, int);
13464    field @NonNull public static final android.os.Parcelable.Creator<android.service.voice.HotwordAudioStream> CREATOR;
13465    field public static final String KEY_AUDIO_STREAM_COPY_BUFFER_LENGTH_BYTES = "android.service.voice.key.AUDIO_STREAM_COPY_BUFFER_LENGTH_BYTES";
13466  }
13467
13468  public static final class HotwordAudioStream.Builder {
13469    ctor public HotwordAudioStream.Builder(@NonNull android.media.AudioFormat, @NonNull android.os.ParcelFileDescriptor);
13470    method @NonNull public android.service.voice.HotwordAudioStream build();
13471    method @NonNull public android.service.voice.HotwordAudioStream.Builder setAudioFormat(@NonNull android.media.AudioFormat);
13472    method @NonNull public android.service.voice.HotwordAudioStream.Builder setAudioStreamParcelFileDescriptor(@NonNull android.os.ParcelFileDescriptor);
13473    method @NonNull public android.service.voice.HotwordAudioStream.Builder setInitialAudio(@NonNull byte[]);
13474    method @NonNull public android.service.voice.HotwordAudioStream.Builder setMetadata(@NonNull android.os.PersistableBundle);
13475    method @NonNull public android.service.voice.HotwordAudioStream.Builder setTimestamp(@NonNull android.media.AudioTimestamp);
13476  }
13477
13478  public final class HotwordDetectedResult implements android.os.Parcelable {
13479    method public int describeContents();
13480    method public int getAudioChannel();
13481    method @NonNull public java.util.List<android.service.voice.HotwordAudioStream> getAudioStreams();
13482    method public int getBackgroundAudioPower();
13483    method public int getConfidenceLevel();
13484    method @NonNull public android.os.PersistableBundle getExtras();
13485    method public int getHotwordDurationMillis();
13486    method public int getHotwordOffsetMillis();
13487    method public int getHotwordPhraseId();
13488    method public static int getMaxBackgroundAudioPower();
13489    method public static int getMaxBundleSize();
13490    method public static int getMaxHotwordPhraseId();
13491    method public static int getMaxScore();
13492    method public static int getMaxSpeakerId();
13493    method @Nullable public android.media.MediaSyncEvent getMediaSyncEvent();
13494    method public int getPersonalizedScore();
13495    method public int getProximity();
13496    method public int getScore();
13497    method public int getSpeakerId();
13498    method public boolean isHotwordDetectionPersonalized();
13499    method public void writeToParcel(@NonNull android.os.Parcel, int);
13500    field public static final int AUDIO_CHANNEL_UNSET = -1; // 0xffffffff
13501    field public static final int BACKGROUND_AUDIO_POWER_UNSET = -1; // 0xffffffff
13502    field public static final int CONFIDENCE_LEVEL_HIGH = 5; // 0x5
13503    field public static final int CONFIDENCE_LEVEL_LOW = 1; // 0x1
13504    field public static final int CONFIDENCE_LEVEL_LOW_MEDIUM = 2; // 0x2
13505    field public static final int CONFIDENCE_LEVEL_MEDIUM = 3; // 0x3
13506    field public static final int CONFIDENCE_LEVEL_MEDIUM_HIGH = 4; // 0x4
13507    field public static final int CONFIDENCE_LEVEL_NONE = 0; // 0x0
13508    field public static final int CONFIDENCE_LEVEL_VERY_HIGH = 6; // 0x6
13509    field @NonNull public static final android.os.Parcelable.Creator<android.service.voice.HotwordDetectedResult> CREATOR;
13510    field public static final int HOTWORD_OFFSET_UNSET = -1; // 0xffffffff
13511    field public static final int PROXIMITY_FAR = 2; // 0x2
13512    field public static final int PROXIMITY_NEAR = 1; // 0x1
13513    field public static final int PROXIMITY_UNKNOWN = -1; // 0xffffffff
13514  }
13515
13516  public static final class HotwordDetectedResult.Builder {
13517    ctor public HotwordDetectedResult.Builder();
13518    method @NonNull public android.service.voice.HotwordDetectedResult build();
13519    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setAudioChannel(int);
13520    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setAudioStreams(@NonNull java.util.List<android.service.voice.HotwordAudioStream>);
13521    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setBackgroundAudioPower(int);
13522    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setConfidenceLevel(int);
13523    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setExtras(@NonNull android.os.PersistableBundle);
13524    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setHotwordDetectionPersonalized(boolean);
13525    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setHotwordDurationMillis(int);
13526    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setHotwordOffsetMillis(int);
13527    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setHotwordPhraseId(int);
13528    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setMediaSyncEvent(@NonNull android.media.MediaSyncEvent);
13529    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setPersonalizedScore(int);
13530    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setScore(int);
13531    method @NonNull public android.service.voice.HotwordDetectedResult.Builder setSpeakerId(int);
13532  }
13533
13534  public abstract class HotwordDetectionService extends android.app.Service implements android.service.voice.SandboxedDetectionInitializer {
13535    ctor public HotwordDetectionService();
13536    method @Deprecated public static int getMaxCustomInitializationStatus();
13537    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
13538    method public void onDetect(@NonNull android.service.voice.AlwaysOnHotwordDetector.EventPayload, long, @NonNull android.service.voice.HotwordDetectionService.Callback);
13539    method public void onDetect(@NonNull android.service.voice.HotwordDetectionService.Callback);
13540    method public void onDetect(@NonNull android.os.ParcelFileDescriptor, @NonNull android.media.AudioFormat, @Nullable android.os.PersistableBundle, @NonNull android.service.voice.HotwordDetectionService.Callback);
13541    method public void onStopDetection();
13542    method public void onUpdateState(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, long, @Nullable java.util.function.IntConsumer);
13543    field @Deprecated public static final int INITIALIZATION_STATUS_SUCCESS = 0; // 0x0
13544    field @Deprecated public static final int INITIALIZATION_STATUS_UNKNOWN = 100; // 0x64
13545    field @FlaggedApi("android.app.wearable.enable_hotword_wearable_sensing_api") public static final String KEY_SYSTEM_WILL_CLOSE_AUDIO_STREAM_AFTER_CALLBACK = "android.service.voice.HotwordDetectionService.KEY_SYSTEM_WILL_CLOSE_AUDIO_STREAM_AFTER_CALLBACK";
13546    field public static final String SERVICE_INTERFACE = "android.service.voice.HotwordDetectionService";
13547  }
13548
13549  public static final class HotwordDetectionService.Callback {
13550    method public void onDetected(@NonNull android.service.voice.HotwordDetectedResult);
13551    method public void onRejected(@NonNull android.service.voice.HotwordRejectedResult);
13552  }
13553
13554  public final class HotwordDetectionServiceFailure implements android.os.Parcelable {
13555    method public int describeContents();
13556    method public int getErrorCode();
13557    method @NonNull public String getErrorMessage();
13558    method public int getSuggestedAction();
13559    method public void writeToParcel(@NonNull android.os.Parcel, int);
13560    field @NonNull public static final android.os.Parcelable.Creator<android.service.voice.HotwordDetectionServiceFailure> CREATOR;
13561    field public static final int ERROR_CODE_BINDING_DIED = 2; // 0x2
13562    field public static final int ERROR_CODE_BIND_FAILURE = 1; // 0x1
13563    field public static final int ERROR_CODE_COPY_AUDIO_DATA_FAILURE = 3; // 0x3
13564    field public static final int ERROR_CODE_DETECT_TIMEOUT = 4; // 0x4
13565    field public static final int ERROR_CODE_ON_DETECTED_SECURITY_EXCEPTION = 5; // 0x5
13566    field public static final int ERROR_CODE_ON_DETECTED_STREAM_COPY_FAILURE = 6; // 0x6
13567    field public static final int ERROR_CODE_REMOTE_EXCEPTION = 7; // 0x7
13568    field @FlaggedApi("android.service.voice.flags.allow_training_data_egress_from_hds") public static final int ERROR_CODE_SHUTDOWN_HDS_ON_VOICE_ACTIVATION_OP_DISABLED = 10; // 0xa
13569    field public static final int ERROR_CODE_UNKNOWN = 0; // 0x0
13570  }
13571
13572  public interface HotwordDetector {
13573    method public default void destroy();
13574    method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public boolean startRecognition();
13575    method public boolean startRecognition(@NonNull android.os.ParcelFileDescriptor, @NonNull android.media.AudioFormat, @Nullable android.os.PersistableBundle);
13576    method public boolean stopRecognition();
13577    method public void updateState(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory);
13578  }
13579
13580  public static interface HotwordDetector.Callback {
13581    method public void onDetected(@NonNull android.service.voice.AlwaysOnHotwordDetector.EventPayload);
13582    method @Deprecated public void onError();
13583    method public default void onFailure(@NonNull android.service.voice.HotwordDetectionServiceFailure);
13584    method public void onHotwordDetectionServiceInitialized(int);
13585    method public void onHotwordDetectionServiceRestarted();
13586    method public void onRecognitionPaused();
13587    method public void onRecognitionResumed();
13588    method public void onRejected(@NonNull android.service.voice.HotwordRejectedResult);
13589    method public default void onUnknownFailure(@NonNull String);
13590  }
13591
13592  public final class HotwordRejectedResult implements android.os.Parcelable {
13593    method public int describeContents();
13594    method public int getConfidenceLevel();
13595    method public void writeToParcel(@NonNull android.os.Parcel, int);
13596    field public static final int CONFIDENCE_LEVEL_HIGH = 3; // 0x3
13597    field public static final int CONFIDENCE_LEVEL_LOW = 1; // 0x1
13598    field public static final int CONFIDENCE_LEVEL_MEDIUM = 2; // 0x2
13599    field public static final int CONFIDENCE_LEVEL_NONE = 0; // 0x0
13600    field @FlaggedApi("android.service.voice.flags.allow_hotword_bump_egress") public static final int CONFIDENCE_LEVEL_VERY_HIGH = 4; // 0x4
13601    field @NonNull public static final android.os.Parcelable.Creator<android.service.voice.HotwordRejectedResult> CREATOR;
13602  }
13603
13604  public static final class HotwordRejectedResult.Builder {
13605    ctor public HotwordRejectedResult.Builder();
13606    method @NonNull public android.service.voice.HotwordRejectedResult build();
13607    method @NonNull public android.service.voice.HotwordRejectedResult.Builder setConfidenceLevel(int);
13608  }
13609
13610  public interface SandboxedDetectionInitializer {
13611    method public static int getMaxCustomInitializationStatus();
13612    method public void onUpdateState(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, long, @Nullable java.util.function.IntConsumer);
13613    field public static final int INITIALIZATION_STATUS_SUCCESS = 0; // 0x0
13614    field public static final int INITIALIZATION_STATUS_UNKNOWN = 100; // 0x64
13615  }
13616
13617  public final class SoundTriggerFailure implements android.os.Parcelable {
13618    method public int describeContents();
13619    method public int getErrorCode();
13620    method @NonNull public String getErrorMessage();
13621    method public int getSuggestedAction();
13622    method public void writeToParcel(@NonNull android.os.Parcel, int);
13623    field @NonNull public static final android.os.Parcelable.Creator<android.service.voice.SoundTriggerFailure> CREATOR;
13624    field public static final int ERROR_CODE_MODULE_DIED = 1; // 0x1
13625    field public static final int ERROR_CODE_RECOGNITION_RESUME_FAILED = 2; // 0x2
13626    field public static final int ERROR_CODE_UNEXPECTED_PREEMPTION = 3; // 0x3
13627    field public static final int ERROR_CODE_UNKNOWN = 0; // 0x0
13628  }
13629
13630  public final class VisualQueryAttentionResult implements android.os.Parcelable {
13631    method public int describeContents();
13632    method @IntRange(from=1, to=100) public int getEngagementLevel();
13633    method public int getInteractionIntention();
13634    method public void writeToParcel(@NonNull android.os.Parcel, int);
13635    field @NonNull public static final android.os.Parcelable.Creator<android.service.voice.VisualQueryAttentionResult> CREATOR;
13636    field public static final int INTERACTION_INTENTION_AUDIO_VISUAL = 0; // 0x0
13637    field public static final int INTERACTION_INTENTION_VISUAL_ACCESSIBILITY = 1; // 0x1
13638  }
13639
13640  public static final class VisualQueryAttentionResult.Builder {
13641    ctor public VisualQueryAttentionResult.Builder();
13642    method @NonNull public android.service.voice.VisualQueryAttentionResult build();
13643    method @NonNull public android.service.voice.VisualQueryAttentionResult.Builder setEngagementLevel(@IntRange(from=1, to=100) int);
13644    method @NonNull public android.service.voice.VisualQueryAttentionResult.Builder setInteractionIntention(int);
13645  }
13646
13647  public final class VisualQueryDetectedResult implements android.os.Parcelable {
13648    method public int describeContents();
13649    method @Nullable public byte[] getAccessibilityDetectionData();
13650    method public static int getMaxSpeakerId();
13651    method @NonNull public String getPartialQuery();
13652    method public int getSpeakerId();
13653    method public void writeToParcel(@NonNull android.os.Parcel, int);
13654    field @NonNull public static final android.os.Parcelable.Creator<android.service.voice.VisualQueryDetectedResult> CREATOR;
13655  }
13656
13657  public static final class VisualQueryDetectedResult.Builder {
13658    ctor public VisualQueryDetectedResult.Builder();
13659    method @NonNull public android.service.voice.VisualQueryDetectedResult build();
13660    method @NonNull public android.service.voice.VisualQueryDetectedResult.Builder setAccessibilityDetectionData(@NonNull byte...);
13661    method @NonNull public android.service.voice.VisualQueryDetectedResult.Builder setPartialQuery(@NonNull String);
13662    method @NonNull public android.service.voice.VisualQueryDetectedResult.Builder setSpeakerId(int);
13663  }
13664
13665  public abstract class VisualQueryDetectionService extends android.app.Service implements android.service.voice.SandboxedDetectionInitializer {
13666    ctor public VisualQueryDetectionService();
13667    method public final void finishQuery() throws java.lang.IllegalStateException;
13668    method public final void gainedAttention();
13669    method public final void gainedAttention(@NonNull android.service.voice.VisualQueryAttentionResult);
13670    method public final void lostAttention();
13671    method public final void lostAttention(int);
13672    method @Nullable public android.os.IBinder onBind(@NonNull android.content.Intent);
13673    method public void onStartDetection();
13674    method public void onStopDetection();
13675    method public void onUpdateState(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, long, @Nullable java.util.function.IntConsumer);
13676    method public final void rejectQuery() throws java.lang.IllegalStateException;
13677    method public final void streamQuery(@NonNull String) throws java.lang.IllegalStateException;
13678    method public final void streamQuery(@NonNull android.service.voice.VisualQueryDetectedResult);
13679    field public static final String SERVICE_INTERFACE = "android.service.voice.VisualQueryDetectionService";
13680  }
13681
13682  public final class VisualQueryDetectionServiceFailure implements android.os.Parcelable {
13683    method public int describeContents();
13684    method public int getErrorCode();
13685    method @NonNull public String getErrorMessage();
13686    method public int getSuggestedAction();
13687    method public void writeToParcel(@NonNull android.os.Parcel, int);
13688    field @NonNull public static final android.os.Parcelable.Creator<android.service.voice.VisualQueryDetectionServiceFailure> CREATOR;
13689    field public static final int ERROR_CODE_BINDING_DIED = 2; // 0x2
13690    field public static final int ERROR_CODE_BIND_FAILURE = 1; // 0x1
13691    field public static final int ERROR_CODE_ILLEGAL_ATTENTION_STATE = 3; // 0x3
13692    field public static final int ERROR_CODE_ILLEGAL_STREAMING_STATE = 4; // 0x4
13693    field public static final int ERROR_CODE_REMOTE_EXCEPTION = 5; // 0x5
13694    field public static final int ERROR_CODE_UNKNOWN = 0; // 0x0
13695  }
13696
13697  public class VisualQueryDetector {
13698    method public void clearAccessibilityDetectionEnabledListener();
13699    method public void destroy();
13700    method public boolean isAccessibilityDetectionEnabled();
13701    method public void setAccessibilityDetectionEnabledListener(@NonNull java.util.function.Consumer<java.lang.Boolean>);
13702    method @RequiresPermission(allOf={android.Manifest.permission.CAMERA, android.Manifest.permission.RECORD_AUDIO}) public boolean startRecognition();
13703    method @RequiresPermission(allOf={android.Manifest.permission.CAMERA, android.Manifest.permission.RECORD_AUDIO}) public boolean stopRecognition();
13704    method public void updateState(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory);
13705  }
13706
13707  public static interface VisualQueryDetector.Callback {
13708    method public void onFailure(@NonNull android.service.voice.VisualQueryDetectionServiceFailure);
13709    method public void onQueryDetected(@NonNull String);
13710    method public default void onQueryDetected(@NonNull android.service.voice.VisualQueryDetectedResult);
13711    method public void onQueryFinished();
13712    method public void onQueryRejected();
13713    method public void onUnknownFailure(@NonNull String);
13714    method public void onVisualQueryDetectionServiceInitialized(int);
13715    method public void onVisualQueryDetectionServiceRestarted();
13716  }
13717
13718  public class VoiceInteractionService extends android.app.Service {
13719    method @Deprecated @NonNull public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetector(String, java.util.Locale, android.service.voice.AlwaysOnHotwordDetector.Callback);
13720    method @NonNull public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetector(@NonNull String, @NonNull java.util.Locale, @NonNull java.util.concurrent.Executor, @NonNull android.service.voice.AlwaysOnHotwordDetector.Callback);
13721    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetector(String, java.util.Locale, @Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, android.service.voice.AlwaysOnHotwordDetector.Callback);
13722    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetector(@NonNull String, @NonNull java.util.Locale, @Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull java.util.concurrent.Executor, @NonNull android.service.voice.AlwaysOnHotwordDetector.Callback);
13723    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.HotwordDetector createHotwordDetector(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull android.service.voice.HotwordDetector.Callback);
13724    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.HotwordDetector createHotwordDetector(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull java.util.concurrent.Executor, @NonNull android.service.voice.HotwordDetector.Callback);
13725    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_VOICE_KEYPHRASES) public final android.media.voice.KeyphraseModelManager createKeyphraseModelManager();
13726    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.VisualQueryDetector createVisualQueryDetector(@Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull java.util.concurrent.Executor, @NonNull android.service.voice.VisualQueryDetector.Callback);
13727  }
13728
13729}
13730
13731package android.service.wallpaper {
13732
13733  public class WallpaperService.Engine {
13734    method public boolean isInAmbientMode();
13735    method @MainThread public void onAmbientModeChanged(boolean, long);
13736  }
13737
13738}
13739
13740package android.service.wallpapereffectsgeneration {
13741
13742  public abstract class WallpaperEffectsGenerationService extends android.app.Service {
13743    ctor public WallpaperEffectsGenerationService();
13744    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
13745    method @MainThread public abstract void onGenerateCinematicEffect(@NonNull android.app.wallpapereffectsgeneration.CinematicEffectRequest);
13746    method public final void returnCinematicEffectResponse(@NonNull android.app.wallpapereffectsgeneration.CinematicEffectResponse);
13747    field public static final String SERVICE_INTERFACE = "android.service.wallpapereffectsgeneration.WallpaperEffectsGenerationService";
13748  }
13749
13750}
13751
13752package android.service.watchdog {
13753
13754  public abstract class ExplicitHealthCheckService extends android.app.Service {
13755    ctor public ExplicitHealthCheckService();
13756    method public final void notifyHealthCheckPassed(@NonNull String);
13757    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
13758    method public abstract void onCancelHealthCheck(@NonNull String);
13759    method @NonNull public abstract java.util.List<java.lang.String> onGetRequestedPackages();
13760    method @NonNull public abstract java.util.List<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> onGetSupportedPackages();
13761    method public abstract void onRequestHealthCheck(@NonNull String);
13762    field public static final String BIND_PERMISSION = "android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE";
13763    field public static final String SERVICE_INTERFACE = "android.service.watchdog.ExplicitHealthCheckService";
13764  }
13765
13766  public static final class ExplicitHealthCheckService.PackageConfig implements android.os.Parcelable {
13767    ctor public ExplicitHealthCheckService.PackageConfig(@NonNull String, long);
13768    method public int describeContents();
13769    method public long getHealthCheckTimeoutMillis();
13770    method @NonNull public String getPackageName();
13771    method public void writeToParcel(android.os.Parcel, int);
13772    field @NonNull public static final android.os.Parcelable.Creator<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> CREATOR;
13773  }
13774
13775}
13776
13777package android.service.wearable {
13778
13779  @FlaggedApi("android.app.wearable.enable_data_request_observer_api") public interface WearableSensingDataRequester {
13780    method public void requestData(@NonNull android.app.wearable.WearableSensingDataRequest, @NonNull java.util.function.Consumer<java.lang.Integer>);
13781    field public static final int STATUS_OBSERVER_CANCELLED = 2; // 0x2
13782    field public static final int STATUS_SUCCESS = 1; // 0x1
13783    field public static final int STATUS_TOO_FREQUENT = 4; // 0x4
13784    field public static final int STATUS_TOO_LARGE = 3; // 0x3
13785    field public static final int STATUS_UNKNOWN = 0; // 0x0
13786  }
13787
13788  public abstract class WearableSensingService extends android.app.Service {
13789    ctor public WearableSensingService();
13790    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
13791    method @BinderThread public abstract void onDataProvided(@NonNull android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull java.util.function.Consumer<java.lang.Integer>);
13792    method @FlaggedApi("android.app.wearable.enable_data_request_observer_api") @BinderThread public void onDataRequestObserverRegistered(int, @NonNull String, @NonNull android.service.wearable.WearableSensingDataRequester, @NonNull java.util.function.Consumer<java.lang.Integer>);
13793    method @FlaggedApi("android.app.wearable.enable_data_request_observer_api") @BinderThread public void onDataRequestObserverUnregistered(int, @NonNull String, @NonNull android.service.wearable.WearableSensingDataRequester, @NonNull java.util.function.Consumer<java.lang.Integer>);
13794    method @BinderThread public abstract void onDataStreamProvided(@NonNull android.os.ParcelFileDescriptor, @NonNull java.util.function.Consumer<java.lang.Integer>);
13795    method @BinderThread public abstract void onQueryServiceStatus(@NonNull java.util.Set<java.lang.Integer>, @NonNull String, @NonNull java.util.function.Consumer<android.service.ambientcontext.AmbientContextDetectionServiceStatus>);
13796    method @FlaggedApi("android.app.wearable.enable_provide_wearable_connection_api") @BinderThread public void onSecureConnectionProvided(@NonNull android.os.ParcelFileDescriptor, @NonNull java.util.function.Consumer<java.lang.Integer>);
13797    method @BinderThread public abstract void onStartDetection(@NonNull android.app.ambientcontext.AmbientContextEventRequest, @NonNull String, @NonNull java.util.function.Consumer<android.service.ambientcontext.AmbientContextDetectionServiceStatus>, @NonNull java.util.function.Consumer<android.service.ambientcontext.AmbientContextDetectionResult>);
13798    method @FlaggedApi("android.app.wearable.enable_hotword_wearable_sensing_api") @BinderThread public void onStartHotwordRecognition(@NonNull java.util.function.Consumer<android.service.voice.HotwordAudioStream>, @NonNull java.util.function.Consumer<java.lang.Integer>);
13799    method public abstract void onStopDetection(@NonNull String);
13800    method @FlaggedApi("android.app.wearable.enable_hotword_wearable_sensing_api") @BinderThread public void onStopHotwordAudioStream();
13801    method @FlaggedApi("android.app.wearable.enable_hotword_wearable_sensing_api") @BinderThread public void onStopHotwordRecognition(@NonNull java.util.function.Consumer<java.lang.Integer>);
13802    method @FlaggedApi("android.app.wearable.enable_hotword_wearable_sensing_api") @BinderThread public void onValidatedByHotwordDetectionService();
13803    field public static final String SERVICE_INTERFACE = "android.service.wearable.WearableSensingService";
13804  }
13805
13806}
13807
13808package android.telecom {
13809
13810  @Deprecated public class AudioState implements android.os.Parcelable {
13811    ctor @Deprecated public AudioState(boolean, int, int);
13812    ctor @Deprecated public AudioState(android.telecom.AudioState);
13813    ctor @Deprecated public AudioState(android.telecom.CallAudioState);
13814    method @Deprecated public static String audioRouteToString(int);
13815    method @Deprecated public int describeContents();
13816    method @Deprecated public int getRoute();
13817    method @Deprecated public int getSupportedRouteMask();
13818    method @Deprecated public boolean isMuted();
13819    method @Deprecated public void writeToParcel(android.os.Parcel, int);
13820    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.telecom.AudioState> CREATOR;
13821    field @Deprecated public static final int ROUTE_BLUETOOTH = 2; // 0x2
13822    field @Deprecated public static final int ROUTE_EARPIECE = 1; // 0x1
13823    field @Deprecated public static final int ROUTE_SPEAKER = 8; // 0x8
13824    field @Deprecated public static final int ROUTE_WIRED_HEADSET = 4; // 0x4
13825    field @Deprecated public static final int ROUTE_WIRED_OR_EARPIECE = 5; // 0x5
13826  }
13827
13828  public final class BluetoothCallQualityReport implements android.os.Parcelable {
13829    method public int describeContents();
13830    method @IntRange(from=0) public int getNegativeAcknowledgementCount();
13831    method @IntRange(from=0) public int getPacketsNotReceivedCount();
13832    method @IntRange(from=0) public int getRetransmittedPacketsCount();
13833    method @IntRange(from=0xffffff81, to=20) public int getRssiDbm();
13834    method public long getSentTimestampMillis();
13835    method public int getSnrDb();
13836    method public boolean isChoppyVoice();
13837    method public void writeToParcel(@NonNull android.os.Parcel, int);
13838    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.BluetoothCallQualityReport> CREATOR;
13839    field public static final String EVENT_BLUETOOTH_CALL_QUALITY_REPORT = "android.telecom.event.BLUETOOTH_CALL_QUALITY_REPORT";
13840    field public static final String EXTRA_BLUETOOTH_CALL_QUALITY_REPORT = "android.telecom.extra.BLUETOOTH_CALL_QUALITY_REPORT";
13841  }
13842
13843  public static final class BluetoothCallQualityReport.Builder {
13844    ctor public BluetoothCallQualityReport.Builder();
13845    method @NonNull public android.telecom.BluetoothCallQualityReport build();
13846    method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setChoppyVoice(boolean);
13847    method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setNegativeAcknowledgementCount(int);
13848    method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setPacketsNotReceivedCount(int);
13849    method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setRetransmittedPacketsCount(int);
13850    method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setRssiDbm(int);
13851    method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setSentTimestampMillis(long);
13852    method @NonNull public android.telecom.BluetoothCallQualityReport.Builder setSnrDb(int);
13853  }
13854
13855  public final class Call {
13856    method @Deprecated public void addListener(android.telecom.Call.Listener);
13857    method public void enterBackgroundAudioProcessing();
13858    method public void exitBackgroundAudioProcessing(boolean);
13859    method @Deprecated public void removeListener(android.telecom.Call.Listener);
13860    field @Deprecated public static final int STATE_PRE_DIAL_WAIT = 8; // 0x8
13861  }
13862
13863  @Deprecated public abstract static class Call.Listener extends android.telecom.Call.Callback {
13864    ctor @Deprecated public Call.Listener();
13865  }
13866
13867  public abstract class CallDiagnosticService extends android.app.Service {
13868    ctor public CallDiagnosticService();
13869    method @NonNull public java.util.concurrent.Executor getExecutor();
13870    method @Nullable public android.os.IBinder onBind(@NonNull android.content.Intent);
13871    method public abstract void onBluetoothCallQualityReportReceived(@NonNull android.telecom.BluetoothCallQualityReport);
13872    method public abstract void onCallAudioStateChanged(@NonNull android.telecom.CallAudioState);
13873    method @NonNull public abstract android.telecom.CallDiagnostics onInitializeCallDiagnostics(@NonNull android.telecom.Call.Details);
13874    method public abstract void onRemoveCallDiagnostics(@NonNull android.telecom.CallDiagnostics);
13875    field public static final String SERVICE_INTERFACE = "android.telecom.CallDiagnosticService";
13876  }
13877
13878  public abstract class CallDiagnostics {
13879    ctor public CallDiagnostics();
13880    method public final void clearDiagnosticMessage(int);
13881    method public final void displayDiagnosticMessage(int, @NonNull CharSequence);
13882    method public abstract void onCallDetailsChanged(@NonNull android.telecom.Call.Details);
13883    method @Nullable public abstract CharSequence onCallDisconnected(int, int);
13884    method @Nullable public abstract CharSequence onCallDisconnected(@NonNull android.telephony.ims.ImsReasonInfo);
13885    method public abstract void onCallQualityReceived(@NonNull android.telephony.CallQuality);
13886    method public abstract void onReceiveDeviceToDeviceMessage(int, int);
13887    method public final void sendDeviceToDeviceMessage(int, int);
13888    field public static final int BATTERY_STATE_CHARGING = 3; // 0x3
13889    field public static final int BATTERY_STATE_GOOD = 2; // 0x2
13890    field public static final int BATTERY_STATE_LOW = 1; // 0x1
13891    field public static final int COVERAGE_GOOD = 2; // 0x2
13892    field public static final int COVERAGE_POOR = 1; // 0x1
13893    field public static final int MESSAGE_CALL_AUDIO_CODEC = 2; // 0x2
13894    field public static final int MESSAGE_CALL_NETWORK_TYPE = 1; // 0x1
13895    field public static final int MESSAGE_DEVICE_BATTERY_STATE = 3; // 0x3
13896    field public static final int MESSAGE_DEVICE_NETWORK_COVERAGE = 4; // 0x4
13897  }
13898
13899  public static class CallScreeningService.CallResponse.Builder {
13900    method @NonNull @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_OUTPUT) public android.telecom.CallScreeningService.CallResponse.Builder setShouldScreenCallViaAudioProcessing(boolean);
13901  }
13902
13903  public abstract class CallStreamingService extends android.app.Service {
13904    ctor public CallStreamingService();
13905    method @Nullable public android.os.IBinder onBind(@NonNull android.content.Intent);
13906    method public void onCallStreamingStarted(@NonNull android.telecom.StreamingCall);
13907    method public void onCallStreamingStateChanged(int);
13908    method public void onCallStreamingStopped();
13909    field public static final String SERVICE_INTERFACE = "android.telecom.CallStreamingService";
13910    field public static final int STREAMING_FAILED_ALREADY_STREAMING = 1; // 0x1
13911    field public static final int STREAMING_FAILED_NO_SENDER = 2; // 0x2
13912    field public static final int STREAMING_FAILED_SENDER_BINDING_ERROR = 3; // 0x3
13913    field public static final int STREAMING_FAILED_UNKNOWN = 0; // 0x0
13914  }
13915
13916  public abstract class Conference extends android.telecom.Conferenceable {
13917    method @Deprecated public final android.telecom.AudioState getAudioState();
13918    method @Deprecated public final long getConnectTimeMillis();
13919    method public android.telecom.Connection getPrimaryConnection();
13920    method @NonNull public final String getTelecomCallId();
13921    method @Deprecated public void onAudioStateChanged(android.telecom.AudioState);
13922    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setAddress(@NonNull android.net.Uri, int);
13923    method public final void setCallerDisplayName(@NonNull String, int);
13924    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setConferenceState(boolean);
13925    method @Deprecated public final void setConnectTimeMillis(long);
13926  }
13927
13928  public abstract class Connection extends android.telecom.Conferenceable {
13929    method @Deprecated public final android.telecom.AudioState getAudioState();
13930    method @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public final int getCallDirection();
13931    method @IntRange(from=0) public final long getConnectTimeMillis();
13932    method public final long getConnectionStartElapsedRealtimeMillis();
13933    method @Nullable public android.telecom.PhoneAccountHandle getPhoneAccountHandle();
13934    method @Nullable public final String getTelecomCallId();
13935    method @Deprecated public void onAudioStateChanged(android.telecom.AudioState);
13936    method @RequiresPermission(android.Manifest.permission.READ_CONTACTS) public void onCallFilteringCompleted(@NonNull android.telecom.Connection.CallFilteringCompletionInfo);
13937    method public final void resetConnectionTime();
13938    method public void setCallDirection(int);
13939    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setConnectTimeMillis(@IntRange(from=0) long);
13940    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setConnectionStartElapsedRealtimeMillis(long);
13941    method public void setPhoneAccountHandle(@NonNull android.telecom.PhoneAccountHandle);
13942    method public void setTelecomCallId(@NonNull String);
13943    field public static final int CAPABILITY_CONFERENCE_HAS_NO_CHILDREN = 2097152; // 0x200000
13944    field public static final int CAPABILITY_SPEED_UP_MT_AUDIO = 262144; // 0x40000
13945    field @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public static final String EVENT_CALL_QUALITY_REPORT = "android.telecom.event.CALL_QUALITY_REPORT";
13946    field public static final String EVENT_DEVICE_TO_DEVICE_MESSAGE = "android.telecom.event.DEVICE_TO_DEVICE_MESSAGE";
13947    field @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public static final String EXTRA_CALL_QUALITY_REPORT = "android.telecom.extra.CALL_QUALITY_REPORT";
13948    field public static final String EXTRA_DEVICE_TO_DEVICE_MESSAGE_TYPE = "android.telecom.extra.DEVICE_TO_DEVICE_MESSAGE_TYPE";
13949    field public static final String EXTRA_DEVICE_TO_DEVICE_MESSAGE_VALUE = "android.telecom.extra.DEVICE_TO_DEVICE_MESSAGE_VALUE";
13950    field public static final String EXTRA_DISABLE_ADD_CALL = "android.telecom.extra.DISABLE_ADD_CALL";
13951    field public static final int PROPERTY_EMERGENCY_CALLBACK_MODE = 1; // 0x1
13952    field public static final int PROPERTY_GENERIC_CONFERENCE = 2; // 0x2
13953    field public static final int PROPERTY_IS_DOWNGRADED_CONFERENCE = 64; // 0x40
13954    field public static final int PROPERTY_REMOTELY_HOSTED = 2048; // 0x800
13955  }
13956
13957  public static final class Connection.CallFilteringCompletionInfo implements android.os.Parcelable {
13958    ctor public Connection.CallFilteringCompletionInfo(boolean, boolean, @Nullable android.telecom.CallScreeningService.CallResponse, @Nullable android.content.ComponentName);
13959    method public int describeContents();
13960    method @Nullable public android.telecom.CallScreeningService.CallResponse getCallResponse();
13961    method @Nullable public android.content.ComponentName getCallScreeningComponent();
13962    method public boolean isBlocked();
13963    method public boolean isInContacts();
13964    method public void writeToParcel(android.os.Parcel, int);
13965    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.Connection.CallFilteringCompletionInfo> CREATOR;
13966  }
13967
13968  public final class ConnectionRequest implements android.os.Parcelable {
13969    method @Nullable public String getTelecomCallId();
13970  }
13971
13972  public abstract class ConnectionService extends android.app.Service {
13973    method public final void addExistingConnection(@NonNull android.telecom.PhoneAccountHandle, @NonNull android.telecom.Connection, @NonNull android.telecom.Conference);
13974  }
13975
13976  public final class DisconnectCause implements android.os.Parcelable {
13977    method @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") @Nullable public android.telephony.ims.ImsReasonInfo getImsReasonInfo();
13978    method @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public int getTelephonyDisconnectCause();
13979    method @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public int getTelephonyPreciseDisconnectCause();
13980  }
13981
13982  @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public static final class DisconnectCause.Builder {
13983    ctor public DisconnectCause.Builder(int);
13984    method @NonNull public android.telecom.DisconnectCause build();
13985    method @NonNull public android.telecom.DisconnectCause.Builder setDescription(@Nullable CharSequence);
13986    method @NonNull public android.telecom.DisconnectCause.Builder setImsReasonInfo(@Nullable android.telephony.ims.ImsReasonInfo);
13987    method @NonNull public android.telecom.DisconnectCause.Builder setLabel(@Nullable CharSequence);
13988    method @NonNull public android.telecom.DisconnectCause.Builder setReason(@NonNull String);
13989    method @NonNull public android.telecom.DisconnectCause.Builder setTelephonyDisconnectCause(int);
13990    method @NonNull public android.telecom.DisconnectCause.Builder setTelephonyPreciseDisconnectCause(int);
13991    method @NonNull public android.telecom.DisconnectCause.Builder setTone(int);
13992  }
13993
13994  public abstract class InCallService extends android.app.Service {
13995    method @Deprecated public android.telecom.Phone getPhone();
13996    method @Deprecated public void onPhoneCreated(android.telecom.Phone);
13997    method @Deprecated public void onPhoneDestroyed(android.telecom.Phone);
13998  }
13999
14000  public class ParcelableCallAnalytics implements android.os.Parcelable {
14001    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>);
14002    ctor public ParcelableCallAnalytics(android.os.Parcel);
14003    method public java.util.List<android.telecom.ParcelableCallAnalytics.AnalyticsEvent> analyticsEvents();
14004    method public int describeContents();
14005    method public long getCallDurationMillis();
14006    method public int getCallTechnologies();
14007    method public int getCallTerminationCode();
14008    method public int getCallType();
14009    method public String getConnectionService();
14010    method public java.util.List<android.telecom.ParcelableCallAnalytics.EventTiming> getEventTimings();
14011    method public long getStartTimeMillis();
14012    method public boolean isAdditionalCall();
14013    method public boolean isCreatedFromExistingConnection();
14014    method public boolean isEmergencyCall();
14015    method public boolean isInterrupted();
14016    method public void writeToParcel(android.os.Parcel, int);
14017    field public static final int CALLTYPE_INCOMING = 1; // 0x1
14018    field public static final int CALLTYPE_OUTGOING = 2; // 0x2
14019    field public static final int CALLTYPE_UNKNOWN = 0; // 0x0
14020    field public static final int CDMA_PHONE = 1; // 0x1
14021    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.ParcelableCallAnalytics> CREATOR;
14022    field public static final int GSM_PHONE = 2; // 0x2
14023    field public static final int IMS_PHONE = 4; // 0x4
14024    field public static final long MILLIS_IN_1_SECOND = 1000L; // 0x3e8L
14025    field public static final long MILLIS_IN_5_MINUTES = 300000L; // 0x493e0L
14026    field public static final int SIP_PHONE = 8; // 0x8
14027    field public static final int STILL_CONNECTED = -1; // 0xffffffff
14028    field public static final int THIRD_PARTY_PHONE = 16; // 0x10
14029  }
14030
14031  public static final class ParcelableCallAnalytics.AnalyticsEvent implements android.os.Parcelable {
14032    ctor public ParcelableCallAnalytics.AnalyticsEvent(int, long);
14033    method public int describeContents();
14034    method public int getEventName();
14035    method public long getTimeSinceLastEvent();
14036    method public void writeToParcel(android.os.Parcel, int);
14037    field public static final int AUDIO_ROUTE_BT = 204; // 0xcc
14038    field public static final int AUDIO_ROUTE_EARPIECE = 205; // 0xcd
14039    field public static final int AUDIO_ROUTE_HEADSET = 206; // 0xce
14040    field public static final int AUDIO_ROUTE_SPEAKER = 207; // 0xcf
14041    field public static final int BIND_CS = 5; // 0x5
14042    field public static final int BLOCK_CHECK_FINISHED = 105; // 0x69
14043    field public static final int BLOCK_CHECK_INITIATED = 104; // 0x68
14044    field public static final int CONFERENCE_WITH = 300; // 0x12c
14045    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.ParcelableCallAnalytics.AnalyticsEvent> CREATOR;
14046    field public static final int CS_BOUND = 6; // 0x6
14047    field public static final int DIRECT_TO_VM_FINISHED = 103; // 0x67
14048    field public static final int DIRECT_TO_VM_INITIATED = 102; // 0x66
14049    field public static final int DND_CHECK_COMPLETED = 110; // 0x6e
14050    field public static final int DND_CHECK_INITIATED = 109; // 0x6d
14051    field public static final int FILTERING_COMPLETED = 107; // 0x6b
14052    field public static final int FILTERING_INITIATED = 106; // 0x6a
14053    field public static final int FILTERING_TIMED_OUT = 108; // 0x6c
14054    field public static final int MUTE = 202; // 0xca
14055    field public static final int REMOTELY_HELD = 402; // 0x192
14056    field public static final int REMOTELY_UNHELD = 403; // 0x193
14057    field public static final int REQUEST_ACCEPT = 7; // 0x7
14058    field public static final int REQUEST_HOLD = 400; // 0x190
14059    field public static final int REQUEST_PULL = 500; // 0x1f4
14060    field public static final int REQUEST_REJECT = 8; // 0x8
14061    field public static final int REQUEST_UNHOLD = 401; // 0x191
14062    field public static final int SCREENING_COMPLETED = 101; // 0x65
14063    field public static final int SCREENING_SENT = 100; // 0x64
14064    field public static final int SET_ACTIVE = 1; // 0x1
14065    field public static final int SET_DIALING = 4; // 0x4
14066    field public static final int SET_DISCONNECTED = 2; // 0x2
14067    field public static final int SET_HOLD = 404; // 0x194
14068    field public static final int SET_PARENT = 302; // 0x12e
14069    field public static final int SET_SELECT_PHONE_ACCOUNT = 0; // 0x0
14070    field public static final int SILENCE = 201; // 0xc9
14071    field public static final int SKIP_RINGING = 200; // 0xc8
14072    field public static final int SPLIT_CONFERENCE = 301; // 0x12d
14073    field public static final int START_CONNECTION = 3; // 0x3
14074    field public static final int SWAP = 405; // 0x195
14075    field public static final int UNMUTE = 203; // 0xcb
14076  }
14077
14078  public static final class ParcelableCallAnalytics.EventTiming implements android.os.Parcelable {
14079    ctor public ParcelableCallAnalytics.EventTiming(int, long);
14080    method public int describeContents();
14081    method public int getName();
14082    method public long getTime();
14083    method public void writeToParcel(android.os.Parcel, int);
14084    field public static final int ACCEPT_TIMING = 0; // 0x0
14085    field public static final int BIND_CS_TIMING = 6; // 0x6
14086    field public static final int BLOCK_CHECK_FINISHED_TIMING = 9; // 0x9
14087    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.ParcelableCallAnalytics.EventTiming> CREATOR;
14088    field public static final int DIRECT_TO_VM_FINISHED_TIMING = 8; // 0x8
14089    field public static final int DISCONNECT_TIMING = 2; // 0x2
14090    field public static final int DND_PRE_CALL_PRE_CHECK_TIMING = 12; // 0xc
14091    field public static final int FILTERING_COMPLETED_TIMING = 10; // 0xa
14092    field public static final int FILTERING_TIMED_OUT_TIMING = 11; // 0xb
14093    field public static final int HOLD_TIMING = 3; // 0x3
14094    field public static final int INVALID = 999999; // 0xf423f
14095    field public static final int OUTGOING_TIME_TO_DIALING_TIMING = 5; // 0x5
14096    field public static final int REJECT_TIMING = 1; // 0x1
14097    field public static final int SCREENING_COMPLETED_TIMING = 7; // 0x7
14098    field public static final int UNHOLD_TIMING = 4; // 0x4
14099  }
14100
14101  @Deprecated public final class Phone {
14102    method @Deprecated public void addListener(android.telecom.Phone.Listener);
14103    method @Deprecated public boolean canAddCall();
14104    method @Deprecated public android.telecom.AudioState getAudioState();
14105    method @Deprecated public android.telecom.CallAudioState getCallAudioState();
14106    method @Deprecated public java.util.List<android.telecom.Call> getCalls();
14107    method @Deprecated public void removeListener(android.telecom.Phone.Listener);
14108    method @Deprecated public void requestBluetoothAudio(String);
14109    method @Deprecated public void setAudioRoute(int);
14110    method @Deprecated public void setMuted(boolean);
14111  }
14112
14113  @Deprecated public abstract static class Phone.Listener {
14114    ctor @Deprecated public Phone.Listener();
14115    method @Deprecated public void onAudioStateChanged(android.telecom.Phone, android.telecom.AudioState);
14116    method @Deprecated public void onBringToForeground(android.telecom.Phone, boolean);
14117    method @Deprecated public void onCallAdded(android.telecom.Phone, android.telecom.Call);
14118    method @Deprecated public void onCallAudioStateChanged(android.telecom.Phone, android.telecom.CallAudioState);
14119    method @Deprecated public void onCallRemoved(android.telecom.Phone, android.telecom.Call);
14120    method @Deprecated public void onCanAddCallChanged(android.telecom.Phone, boolean);
14121    method @Deprecated public void onSilenceRinger(android.telecom.Phone);
14122  }
14123
14124  public final class PhoneAccount implements android.os.Parcelable {
14125    field public static final int CAPABILITY_EMERGENCY_CALLS_ONLY = 128; // 0x80
14126    field public static final int CAPABILITY_EMERGENCY_PREFERRED = 8192; // 0x2000
14127    field public static final int CAPABILITY_EMERGENCY_VIDEO_CALLING = 512; // 0x200
14128    field public static final int CAPABILITY_MULTI_USER = 32; // 0x20
14129    field public static final String EXTRA_PLAY_CALL_RECORDING_TONE = "android.telecom.extra.PLAY_CALL_RECORDING_TONE";
14130    field @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public static final String EXTRA_SKIP_CALL_FILTERING = "android.telecom.extra.SKIP_CALL_FILTERING";
14131    field public static final String EXTRA_SORT_ORDER = "android.telecom.extra.SORT_ORDER";
14132  }
14133
14134  public static class PhoneAccount.Builder {
14135    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telecom.PhoneAccount.Builder setGroupId(@NonNull String);
14136  }
14137
14138  public class PhoneAccountSuggestionService extends android.app.Service {
14139    ctor public PhoneAccountSuggestionService();
14140    method public void onAccountSuggestionRequest(@NonNull String);
14141    method public android.os.IBinder onBind(android.content.Intent);
14142    method public final void suggestPhoneAccounts(@NonNull String, @NonNull java.util.List<android.telecom.PhoneAccountSuggestion>);
14143    field public static final String SERVICE_INTERFACE = "android.telecom.PhoneAccountSuggestionService";
14144  }
14145
14146  public final class RemoteConference {
14147    method @Deprecated public void setAudioState(android.telecom.AudioState);
14148  }
14149
14150  public final class RemoteConnection {
14151    method @RequiresPermission(android.Manifest.permission.READ_CONTACTS) public void onCallFilteringCompleted(@NonNull android.telecom.Connection.CallFilteringCompletionInfo);
14152    method @Deprecated public void setAudioState(android.telecom.AudioState);
14153  }
14154
14155  public final class StatusHints implements android.os.Parcelable {
14156    ctor @Deprecated public StatusHints(android.content.ComponentName, CharSequence, int, android.os.Bundle);
14157    method @Deprecated public android.graphics.drawable.Drawable getIcon(android.content.Context);
14158    method @Deprecated public int getIconResId();
14159    method @Deprecated public android.content.ComponentName getPackageName();
14160  }
14161
14162  public final class StreamingCall implements android.os.Parcelable {
14163    ctor public StreamingCall(@NonNull android.content.ComponentName, @NonNull CharSequence, @NonNull android.net.Uri, @NonNull android.os.Bundle);
14164    method public int describeContents();
14165    method @NonNull public android.net.Uri getAddress();
14166    method @NonNull public android.content.ComponentName getComponentName();
14167    method @NonNull public CharSequence getDisplayName();
14168    method @NonNull public android.os.Bundle getExtras();
14169    method public int getState();
14170    method public void requestStreamingState(int);
14171    method public void writeToParcel(@NonNull android.os.Parcel, int);
14172    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.StreamingCall> CREATOR;
14173    field @FlaggedApi("com.android.server.telecom.flags.call_details_id_changes") public static final String EXTRA_CALL_ID = "android.telecom.extra.CALL_ID";
14174    field public static final int STATE_DISCONNECTED = 3; // 0x3
14175    field public static final int STATE_HOLDING = 2; // 0x2
14176    field public static final int STATE_STREAMING = 1; // 0x1
14177  }
14178
14179  public final class TelecomAnalytics implements android.os.Parcelable {
14180    ctor public TelecomAnalytics(java.util.List<android.telecom.TelecomAnalytics.SessionTiming>, java.util.List<android.telecom.ParcelableCallAnalytics>);
14181    method public int describeContents();
14182    method public java.util.List<android.telecom.ParcelableCallAnalytics> getCallAnalytics();
14183    method public java.util.List<android.telecom.TelecomAnalytics.SessionTiming> getSessionTimings();
14184    method public void writeToParcel(android.os.Parcel, int);
14185    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.TelecomAnalytics> CREATOR;
14186  }
14187
14188  public static final class TelecomAnalytics.SessionTiming implements android.os.Parcelable {
14189    ctor public TelecomAnalytics.SessionTiming(int, long);
14190    method public int describeContents();
14191    method public Integer getKey();
14192    method public long getTime();
14193    method public void writeToParcel(android.os.Parcel, int);
14194    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.TelecomAnalytics.SessionTiming> CREATOR;
14195    field public static final int CSW_ADD_CONFERENCE_CALL = 108; // 0x6c
14196    field public static final int CSW_HANDLE_CREATE_CONNECTION_COMPLETE = 100; // 0x64
14197    field public static final int CSW_REMOVE_CALL = 106; // 0x6a
14198    field public static final int CSW_SET_ACTIVE = 101; // 0x65
14199    field public static final int CSW_SET_DIALING = 103; // 0x67
14200    field public static final int CSW_SET_DISCONNECTED = 104; // 0x68
14201    field public static final int CSW_SET_IS_CONFERENCED = 107; // 0x6b
14202    field public static final int CSW_SET_ON_HOLD = 105; // 0x69
14203    field public static final int CSW_SET_RINGING = 102; // 0x66
14204    field public static final int ICA_ANSWER_CALL = 1; // 0x1
14205    field public static final int ICA_CONFERENCE = 8; // 0x8
14206    field public static final int ICA_DISCONNECT_CALL = 3; // 0x3
14207    field public static final int ICA_HOLD_CALL = 4; // 0x4
14208    field public static final int ICA_MUTE = 6; // 0x6
14209    field public static final int ICA_REJECT_CALL = 2; // 0x2
14210    field public static final int ICA_SET_AUDIO_ROUTE = 7; // 0x7
14211    field public static final int ICA_UNHOLD_CALL = 5; // 0x5
14212  }
14213
14214  public class TelecomManager {
14215    method public void addNewUnknownCall(android.telecom.PhoneAccountHandle, android.os.Bundle);
14216    method @Deprecated public void clearAccounts();
14217    method public void clearPhoneAccounts();
14218    method @NonNull public android.content.Intent createLaunchEmergencyDialerIntent(@Nullable String);
14219    method @RequiresPermission(android.Manifest.permission.DUMP) public android.telecom.TelecomAnalytics dumpAnalytics();
14220    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void enablePhoneAccount(android.telecom.PhoneAccountHandle, boolean);
14221    method public java.util.List<android.telecom.PhoneAccountHandle> getAllPhoneAccountHandles();
14222    method public java.util.List<android.telecom.PhoneAccount> getAllPhoneAccounts();
14223    method public int getAllPhoneAccountsCount();
14224    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<android.telecom.PhoneAccountHandle> getCallCapablePhoneAccounts(boolean);
14225    method @FlaggedApi("com.android.internal.telephony.flags.work_profile_api_split") @NonNull @RequiresPermission(allOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.INTERACT_ACROSS_PROFILES}) public java.util.List<android.telecom.PhoneAccountHandle> getCallCapablePhoneAccountsAcrossProfiles(boolean);
14226    method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}, conditional=true) public int getCallState();
14227    method public android.telecom.PhoneAccountHandle getConnectionManager();
14228    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCurrentTtyMode();
14229    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getDefaultDialerPackage(@NonNull android.os.UserHandle);
14230    method @Deprecated public android.content.ComponentName getDefaultPhoneApp();
14231    method @Deprecated public java.util.List<android.telecom.PhoneAccountHandle> getPhoneAccountsForPackage();
14232    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);
14233    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isInEmergencyCall();
14234    method @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") @RequiresPermission(allOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean isInSelfManagedCall(@NonNull String, @NonNull android.os.UserHandle);
14235    method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRinging();
14236    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUserSelectedOutgoingPhoneAccount(@Nullable android.telecom.PhoneAccountHandle);
14237    field public static final String ACTION_CURRENT_TTY_MODE_CHANGED = "android.telecom.action.CURRENT_TTY_MODE_CHANGED";
14238    field public static final String ACTION_TTY_PREFERRED_MODE_CHANGED = "android.telecom.action.TTY_PREFERRED_MODE_CHANGED";
14239    field public static final int CALL_SOURCE_EMERGENCY_DIALPAD = 1; // 0x1
14240    field public static final int CALL_SOURCE_EMERGENCY_SHORTCUT = 2; // 0x2
14241    field public static final int CALL_SOURCE_UNSPECIFIED = 0; // 0x0
14242    field public static final String EXTRA_CALL_BACK_INTENT = "android.telecom.extra.CALL_BACK_INTENT";
14243    field public static final String EXTRA_CALL_HAS_IN_BAND_RINGTONE = "android.telecom.extra.CALL_HAS_IN_BAND_RINGTONE";
14244    field public static final String EXTRA_CALL_SOURCE = "android.telecom.extra.CALL_SOURCE";
14245    field public static final String EXTRA_CALL_TECHNOLOGY_TYPE = "android.telecom.extra.CALL_TECHNOLOGY_TYPE";
14246    field @Deprecated public static final String EXTRA_CLEAR_MISSED_CALLS_INTENT = "android.telecom.extra.CLEAR_MISSED_CALLS_INTENT";
14247    field public static final String EXTRA_CONNECTION_SERVICE = "android.telecom.extra.CONNECTION_SERVICE";
14248    field public static final String EXTRA_CURRENT_TTY_MODE = "android.telecom.extra.CURRENT_TTY_MODE";
14249    field public static final String EXTRA_IS_USER_INTENT_EMERGENCY_CALL = "android.telecom.extra.IS_USER_INTENT_EMERGENCY_CALL";
14250    field public static final String EXTRA_TTY_PREFERRED_MODE = "android.telecom.extra.TTY_PREFERRED_MODE";
14251    field public static final String EXTRA_UNKNOWN_CALL_HANDLE = "android.telecom.extra.UNKNOWN_CALL_HANDLE";
14252    field public static final int TTY_MODE_FULL = 1; // 0x1
14253    field public static final int TTY_MODE_HCO = 2; // 0x2
14254    field public static final int TTY_MODE_OFF = 0; // 0x0
14255    field public static final int TTY_MODE_VCO = 3; // 0x3
14256  }
14257
14258}
14259
14260package android.telephony {
14261
14262  public final class AccessNetworkConstants {
14263    field public static final int TRANSPORT_TYPE_INVALID = -1; // 0xffffffff
14264  }
14265
14266  public static final class AccessNetworkConstants.NgranBands {
14267    method public static int getFrequencyRangeGroup(int);
14268    field public static final int FREQUENCY_RANGE_GROUP_1 = 1; // 0x1
14269    field public static final int FREQUENCY_RANGE_GROUP_2 = 2; // 0x2
14270    field public static final int FREQUENCY_RANGE_GROUP_UNKNOWN = 0; // 0x0
14271  }
14272
14273  public final class BarringInfo implements android.os.Parcelable {
14274    ctor public BarringInfo();
14275    method @NonNull public android.telephony.BarringInfo createLocationInfoSanitizedCopy();
14276  }
14277
14278  @Deprecated public final class CallAttributes implements android.os.Parcelable {
14279    ctor @Deprecated public CallAttributes(@NonNull android.telephony.PreciseCallState, int, @NonNull android.telephony.CallQuality);
14280    method @Deprecated public int describeContents();
14281    method @Deprecated @NonNull public android.telephony.CallQuality getCallQuality();
14282    method @Deprecated public int getNetworkType();
14283    method @Deprecated @NonNull public android.telephony.PreciseCallState getPreciseCallState();
14284    method @Deprecated public void writeToParcel(android.os.Parcel, int);
14285    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.telephony.CallAttributes> CREATOR;
14286  }
14287
14288  public final class CallForwardingInfo implements android.os.Parcelable {
14289    ctor public CallForwardingInfo(boolean, int, @Nullable String, int);
14290    method public int describeContents();
14291    method @Nullable public String getNumber();
14292    method public int getReason();
14293    method public int getTimeoutSeconds();
14294    method public boolean isEnabled();
14295    method public void writeToParcel(android.os.Parcel, int);
14296    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CallForwardingInfo> CREATOR;
14297    field public static final int REASON_ALL = 4; // 0x4
14298    field public static final int REASON_ALL_CONDITIONAL = 5; // 0x5
14299    field public static final int REASON_BUSY = 1; // 0x1
14300    field public static final int REASON_NOT_REACHABLE = 3; // 0x3
14301    field public static final int REASON_NO_REPLY = 2; // 0x2
14302    field public static final int REASON_UNCONDITIONAL = 0; // 0x0
14303  }
14304
14305  public final class CallQuality implements android.os.Parcelable {
14306    ctor public CallQuality(int, int, int, int, int, int, int, int, int, int, int);
14307    ctor public CallQuality(int, int, int, int, int, int, int, int, int, int, int, boolean, boolean, boolean);
14308    method public int describeContents();
14309    method public int getAverageRelativeJitter();
14310    method public int getAverageRoundTripTime();
14311    method public int getCallDuration();
14312    method public int getCodecType();
14313    method public int getDownlinkCallQualityLevel();
14314    method public long getMaxPlayoutDelayMillis();
14315    method public int getMaxRelativeJitter();
14316    method public long getMinPlayoutDelayMillis();
14317    method public int getNumDroppedRtpPackets();
14318    method public int getNumNoDataFrames();
14319    method public int getNumRtpDuplicatePackets();
14320    method public int getNumRtpPacketsNotReceived();
14321    method public int getNumRtpPacketsReceived();
14322    method public int getNumRtpPacketsTransmitted();
14323    method public int getNumRtpPacketsTransmittedLost();
14324    method public int getNumRtpSidPacketsReceived();
14325    method public int getNumVoiceFrames();
14326    method public int getUplinkCallQualityLevel();
14327    method public boolean isIncomingSilenceDetectedAtCallSetup();
14328    method public boolean isOutgoingSilenceDetectedAtCallSetup();
14329    method public boolean isRtpInactivityDetected();
14330    method public void writeToParcel(android.os.Parcel, int);
14331    field public static final int CALL_QUALITY_BAD = 4; // 0x4
14332    field public static final int CALL_QUALITY_EXCELLENT = 0; // 0x0
14333    field public static final int CALL_QUALITY_FAIR = 2; // 0x2
14334    field public static final int CALL_QUALITY_GOOD = 1; // 0x1
14335    field public static final int CALL_QUALITY_NOT_AVAILABLE = 5; // 0x5
14336    field public static final int CALL_QUALITY_POOR = 3; // 0x3
14337    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CallQuality> CREATOR;
14338  }
14339
14340  public static final class CallQuality.Builder {
14341    ctor public CallQuality.Builder();
14342    method @NonNull public android.telephony.CallQuality build();
14343    method @NonNull public android.telephony.CallQuality.Builder setAverageRelativeJitter(int);
14344    method @NonNull public android.telephony.CallQuality.Builder setAverageRoundTripTimeMillis(int);
14345    method @NonNull public android.telephony.CallQuality.Builder setCallDurationMillis(int);
14346    method @NonNull public android.telephony.CallQuality.Builder setCodecType(int);
14347    method @NonNull public android.telephony.CallQuality.Builder setDownlinkCallQualityLevel(int);
14348    method @NonNull public android.telephony.CallQuality.Builder setIncomingSilenceDetectedAtCallSetup(boolean);
14349    method @NonNull public android.telephony.CallQuality.Builder setMaxPlayoutDelayMillis(long);
14350    method @NonNull public android.telephony.CallQuality.Builder setMaxRelativeJitter(int);
14351    method @NonNull public android.telephony.CallQuality.Builder setMinPlayoutDelayMillis(long);
14352    method @NonNull public android.telephony.CallQuality.Builder setNumDroppedRtpPackets(int);
14353    method @NonNull public android.telephony.CallQuality.Builder setNumNoDataFrames(int);
14354    method @NonNull public android.telephony.CallQuality.Builder setNumRtpDuplicatePackets(int);
14355    method @NonNull public android.telephony.CallQuality.Builder setNumRtpPacketsNotReceived(int);
14356    method @NonNull public android.telephony.CallQuality.Builder setNumRtpPacketsReceived(int);
14357    method @NonNull public android.telephony.CallQuality.Builder setNumRtpPacketsTransmitted(int);
14358    method @NonNull public android.telephony.CallQuality.Builder setNumRtpPacketsTransmittedLost(int);
14359    method @NonNull public android.telephony.CallQuality.Builder setNumRtpSidPacketsReceived(int);
14360    method @NonNull public android.telephony.CallQuality.Builder setNumVoiceFrames(int);
14361    method @NonNull public android.telephony.CallQuality.Builder setOutgoingSilenceDetectedAtCallSetup(boolean);
14362    method @NonNull public android.telephony.CallQuality.Builder setRtpInactivityDetected(boolean);
14363    method @NonNull public android.telephony.CallQuality.Builder setUplinkCallQualityLevel(int);
14364  }
14365
14366  public final class CallState implements android.os.Parcelable {
14367    method public int describeContents();
14368    method @Nullable public android.telephony.CallQuality getCallQuality();
14369    method public int getCallState();
14370    method public int getImsCallServiceType();
14371    method @Nullable public String getImsCallSessionId();
14372    method public int getImsCallType();
14373    method public int getNetworkType();
14374    method public void writeToParcel(@Nullable android.os.Parcel, int);
14375    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CallState> CREATOR;
14376  }
14377
14378  public static final class CallState.Builder {
14379    ctor public CallState.Builder(int);
14380    method @NonNull public android.telephony.CallState build();
14381    method @NonNull public android.telephony.CallState.Builder setCallQuality(@Nullable android.telephony.CallQuality);
14382    method @NonNull public android.telephony.CallState.Builder setImsCallServiceType(int);
14383    method @NonNull public android.telephony.CallState.Builder setImsCallSessionId(@Nullable String);
14384    method @NonNull public android.telephony.CallState.Builder setImsCallType(int);
14385    method @NonNull public android.telephony.CallState.Builder setNetworkType(int);
14386  }
14387
14388  public class CarrierConfigManager {
14389    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getDefaultCarrierServicePackageName();
14390    method @NonNull public static android.os.PersistableBundle getDefaultConfig();
14391    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void overrideConfig(int, @Nullable android.os.PersistableBundle);
14392    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void updateConfigForPhoneId(int, String);
14393    field public static final int GBA_DIGEST = 3; // 0x3
14394    field public static final int GBA_ME = 1; // 0x1
14395    field public static final int GBA_U = 2; // 0x2
14396    field public static final String KEY_CARRIER_SETUP_APP_STRING = "carrier_setup_app_string";
14397    field public static final String KEY_GBA_MODE_INT = "gba_mode_int";
14398    field public static final String KEY_GBA_UA_SECURITY_ORGANIZATION_INT = "gba_ua_security_organization_int";
14399    field public static final String KEY_GBA_UA_SECURITY_PROTOCOL_INT = "gba_ua_security_protocol_int";
14400    field public static final String KEY_GBA_UA_TLS_CIPHER_SUITE_INT = "gba_ua_tls_cipher_suite_int";
14401    field public static final String KEY_SUPPORT_CDMA_1X_VOICE_CALLS_BOOL = "support_cdma_1x_voice_calls_bool";
14402  }
14403
14404  public static final class CarrierConfigManager.Wifi {
14405    field public static final String KEY_AVOID_5GHZ_SOFTAP_FOR_LAA_BOOL = "wifi.avoid_5ghz_softap_for_laa_bool";
14406    field public static final String KEY_AVOID_5GHZ_WIFI_DIRECT_FOR_LAA_BOOL = "wifi.avoid_5ghz_wifi_direct_for_laa_bool";
14407    field public static final String KEY_HOTSPOT_MAX_CLIENT_COUNT = "wifi.hotspot_maximum_client_count";
14408    field public static final String KEY_PREFIX = "wifi.";
14409    field public static final String KEY_SUGGESTION_SSID_LIST_WITH_MAC_RANDOMIZATION_DISABLED = "wifi.suggestion_ssid_list_with_mac_randomization_disabled";
14410  }
14411
14412  public final class CarrierRestrictionRules implements android.os.Parcelable {
14413    method @NonNull public java.util.List<java.lang.Boolean> areCarrierIdentifiersAllowed(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
14414    method public int describeContents();
14415    method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedCarriers();
14416    method @FlaggedApi("com.android.internal.telephony.flags.carrier_restriction_status") public int getCarrierRestrictionStatus();
14417    method public int getDefaultCarrierRestriction();
14418    method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getExcludedCarriers();
14419    method public int getMultiSimPolicy();
14420    method public boolean isAllCarriersAllowed();
14421    method public void writeToParcel(android.os.Parcel, int);
14422    field public static final int CARRIER_RESTRICTION_DEFAULT_ALLOWED = 1; // 0x1
14423    field public static final int CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED = 0; // 0x0
14424    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CarrierRestrictionRules> CREATOR;
14425    field public static final int MULTISIM_POLICY_NONE = 0; // 0x0
14426    field public static final int MULTISIM_POLICY_ONE_VALID_SIM_MUST_BE_PRESENT = 1; // 0x1
14427  }
14428
14429  public static final class CarrierRestrictionRules.Builder {
14430    ctor public CarrierRestrictionRules.Builder();
14431    method @NonNull public android.telephony.CarrierRestrictionRules build();
14432    method @NonNull public android.telephony.CarrierRestrictionRules.Builder setAllCarriersAllowed();
14433    method @NonNull public android.telephony.CarrierRestrictionRules.Builder setAllowedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
14434    method @NonNull public android.telephony.CarrierRestrictionRules.Builder setDefaultCarrierRestriction(int);
14435    method @NonNull public android.telephony.CarrierRestrictionRules.Builder setExcludedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
14436    method @NonNull public android.telephony.CarrierRestrictionRules.Builder setMultiSimPolicy(int);
14437  }
14438
14439  public class CbGeoUtils {
14440  }
14441
14442  public static class CbGeoUtils.Circle implements android.telephony.CbGeoUtils.Geometry {
14443    ctor public CbGeoUtils.Circle(@NonNull android.telephony.CbGeoUtils.LatLng, double);
14444    method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng);
14445    method @NonNull public android.telephony.CbGeoUtils.LatLng getCenter();
14446    method public double getRadius();
14447  }
14448
14449  public static interface CbGeoUtils.Geometry {
14450    method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng);
14451  }
14452
14453  public static class CbGeoUtils.LatLng {
14454    ctor public CbGeoUtils.LatLng(double, double);
14455    method public double distance(@NonNull android.telephony.CbGeoUtils.LatLng);
14456    method @NonNull public android.telephony.CbGeoUtils.LatLng subtract(@NonNull android.telephony.CbGeoUtils.LatLng);
14457    field public final double lat;
14458    field public final double lng;
14459  }
14460
14461  public static class CbGeoUtils.Polygon implements android.telephony.CbGeoUtils.Geometry {
14462    ctor public CbGeoUtils.Polygon(@NonNull java.util.List<android.telephony.CbGeoUtils.LatLng>);
14463    method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng);
14464    method @NonNull public java.util.List<android.telephony.CbGeoUtils.LatLng> getVertices();
14465  }
14466
14467  public final class CellBroadcastIdRange implements android.os.Parcelable {
14468    ctor public CellBroadcastIdRange(@IntRange(from=0, to=65535) int, @IntRange(from=0, to=65535) int, int, boolean) throws java.lang.IllegalArgumentException;
14469    method public int describeContents();
14470    method @IntRange(from=0, to=65535) public int getEndId();
14471    method @IntRange(from=0, to=65535) public int getStartId();
14472    method public int getType();
14473    method public boolean isEnabled();
14474    method public void writeToParcel(@NonNull android.os.Parcel, int);
14475    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CellBroadcastIdRange> CREATOR;
14476  }
14477
14478  public class CellBroadcastIntents {
14479    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);
14480    field public static final String ACTION_AREA_INFO_UPDATED = "android.telephony.action.AREA_INFO_UPDATED";
14481  }
14482
14483  public abstract class CellBroadcastService extends android.app.Service {
14484    ctor public CellBroadcastService();
14485    method @NonNull @WorkerThread public abstract CharSequence getCellBroadcastAreaInfo(int);
14486    method @CallSuper public android.os.IBinder onBind(@Nullable android.content.Intent);
14487    method public abstract void onCdmaCellBroadcastSms(int, @NonNull byte[], int);
14488    method public abstract void onCdmaScpMessage(int, @NonNull java.util.List<android.telephony.cdma.CdmaSmsCbProgramData>, @NonNull String, @NonNull java.util.function.Consumer<android.os.Bundle>);
14489    method public abstract void onGsmCellBroadcastSms(int, @NonNull byte[]);
14490    field public static final String CELL_BROADCAST_SERVICE_INTERFACE = "android.telephony.CellBroadcastService";
14491  }
14492
14493  public abstract class CellIdentity implements android.os.Parcelable {
14494    method @NonNull public abstract android.telephony.CellLocation asCellLocation();
14495    method @NonNull public abstract android.telephony.CellIdentity sanitizeLocationInfo();
14496  }
14497
14498  public final class CellIdentityCdma extends android.telephony.CellIdentity {
14499    method @NonNull public android.telephony.cdma.CdmaCellLocation asCellLocation();
14500    method @NonNull public android.telephony.CellIdentityCdma sanitizeLocationInfo();
14501  }
14502
14503  public final class CellIdentityGsm extends android.telephony.CellIdentity {
14504    method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation();
14505    method @NonNull public android.telephony.CellIdentityGsm sanitizeLocationInfo();
14506  }
14507
14508  public final class CellIdentityLte extends android.telephony.CellIdentity {
14509    method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation();
14510    method @NonNull public android.telephony.CellIdentityLte sanitizeLocationInfo();
14511  }
14512
14513  public final class CellIdentityNr extends android.telephony.CellIdentity {
14514    method @NonNull public android.telephony.CellLocation asCellLocation();
14515    method @NonNull public android.telephony.CellIdentityNr sanitizeLocationInfo();
14516  }
14517
14518  public final class CellIdentityTdscdma extends android.telephony.CellIdentity {
14519    method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation();
14520    method @NonNull public android.telephony.CellIdentityTdscdma sanitizeLocationInfo();
14521  }
14522
14523  public final class CellIdentityWcdma extends android.telephony.CellIdentity {
14524    method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation();
14525    method @NonNull public android.telephony.CellIdentityWcdma sanitizeLocationInfo();
14526  }
14527
14528  public final class DataFailCause {
14529    field @Deprecated public static final int VSNCP_APN_UNATHORIZED = 2238; // 0x8be
14530  }
14531
14532  public final class DataSpecificRegistrationInfo implements android.os.Parcelable {
14533    method public int describeContents();
14534    method public int getLteAttachExtraInfo();
14535    method public int getLteAttachResultType();
14536    method @Deprecated @NonNull public android.telephony.LteVopsSupportInfo getLteVopsSupportInfo();
14537    method @Nullable public android.telephony.VopsSupportInfo getVopsSupportInfo();
14538    method public void writeToParcel(android.os.Parcel, int);
14539    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.DataSpecificRegistrationInfo> CREATOR;
14540    field public static final int LTE_ATTACH_EXTRA_INFO_CSFB_NOT_PREFERRED = 1; // 0x1
14541    field public static final int LTE_ATTACH_EXTRA_INFO_NONE = 0; // 0x0
14542    field public static final int LTE_ATTACH_EXTRA_INFO_SMS_ONLY = 2; // 0x2
14543    field public static final int LTE_ATTACH_TYPE_COMBINED = 2; // 0x2
14544    field public static final int LTE_ATTACH_TYPE_EPS_ONLY = 1; // 0x1
14545    field public static final int LTE_ATTACH_TYPE_UNKNOWN = 0; // 0x0
14546  }
14547
14548  public final class DataThrottlingRequest implements android.os.Parcelable {
14549    method public int describeContents();
14550    method public long getCompletionDurationMillis();
14551    method public int getDataThrottlingAction();
14552    method public void writeToParcel(@NonNull android.os.Parcel, int);
14553    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.DataThrottlingRequest> CREATOR;
14554    field public static final int DATA_THROTTLING_ACTION_HOLD = 3; // 0x3
14555    field public static final int DATA_THROTTLING_ACTION_NO_DATA_THROTTLING = 0; // 0x0
14556    field public static final int DATA_THROTTLING_ACTION_THROTTLE_PRIMARY_CARRIER = 2; // 0x2
14557    field public static final int DATA_THROTTLING_ACTION_THROTTLE_SECONDARY_CARRIER = 1; // 0x1
14558  }
14559
14560  public static final class DataThrottlingRequest.Builder {
14561    ctor public DataThrottlingRequest.Builder();
14562    method @NonNull public android.telephony.DataThrottlingRequest build();
14563    method @NonNull public android.telephony.DataThrottlingRequest.Builder setCompletionDurationMillis(long);
14564    method @NonNull public android.telephony.DataThrottlingRequest.Builder setDataThrottlingAction(int);
14565  }
14566
14567  @FlaggedApi("com.android.internal.telephony.flags.use_oem_domain_selection_service") public abstract class DomainSelectionService extends android.app.Service {
14568    ctor public DomainSelectionService();
14569    method @NonNull public java.util.concurrent.Executor getCreateExecutor();
14570    method public void onBarringInfoUpdated(int, int, @NonNull android.telephony.BarringInfo);
14571    method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent);
14572    method public abstract void onDomainSelection(@NonNull android.telephony.DomainSelectionService.SelectionAttributes, @NonNull android.telephony.TransportSelectorCallback);
14573    method public void onServiceStateUpdated(int, int, @NonNull android.telephony.ServiceState);
14574    field public static final int SCAN_TYPE_FULL_SERVICE = 2; // 0x2
14575    field public static final int SCAN_TYPE_LIMITED_SERVICE = 1; // 0x1
14576    field public static final int SCAN_TYPE_NO_PREFERENCE = 0; // 0x0
14577    field public static final int SELECTOR_TYPE_CALLING = 1; // 0x1
14578    field public static final int SELECTOR_TYPE_SMS = 2; // 0x2
14579  }
14580
14581  @FlaggedApi("com.android.internal.telephony.flags.use_oem_domain_selection_service") public static final class DomainSelectionService.SelectionAttributes implements android.os.Parcelable {
14582    method public int describeContents();
14583    method @Nullable public android.net.Uri getAddress();
14584    method @Nullable public String getCallId();
14585    method public int getCsDisconnectCause();
14586    method @Nullable public android.telephony.EmergencyRegistrationResult getEmergencyRegistrationResult();
14587    method @Nullable public android.telephony.ims.ImsReasonInfo getPsDisconnectCause();
14588    method public int getSelectorType();
14589    method public int getSlotIndex();
14590    method public int getSubscriptionId();
14591    method public boolean isEmergency();
14592    method public boolean isExitedFromAirplaneMode();
14593    method public boolean isTestEmergencyNumber();
14594    method public boolean isVideoCall();
14595    method public void writeToParcel(@NonNull android.os.Parcel, int);
14596    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.DomainSelectionService.SelectionAttributes> CREATOR;
14597  }
14598
14599  @FlaggedApi("com.android.internal.telephony.flags.use_oem_domain_selection_service") public static final class DomainSelectionService.SelectionAttributes.Builder {
14600    ctor public DomainSelectionService.SelectionAttributes.Builder(int, int, int);
14601    method @NonNull public android.telephony.DomainSelectionService.SelectionAttributes build();
14602    method @NonNull public android.telephony.DomainSelectionService.SelectionAttributes.Builder setAddress(@Nullable android.net.Uri);
14603    method @NonNull public android.telephony.DomainSelectionService.SelectionAttributes.Builder setCallId(@Nullable String);
14604    method @NonNull public android.telephony.DomainSelectionService.SelectionAttributes.Builder setCsDisconnectCause(int);
14605    method @NonNull public android.telephony.DomainSelectionService.SelectionAttributes.Builder setEmergency(boolean);
14606    method @NonNull public android.telephony.DomainSelectionService.SelectionAttributes.Builder setEmergencyRegistrationResult(@Nullable android.telephony.EmergencyRegistrationResult);
14607    method @NonNull public android.telephony.DomainSelectionService.SelectionAttributes.Builder setExitedFromAirplaneMode(boolean);
14608    method @NonNull public android.telephony.DomainSelectionService.SelectionAttributes.Builder setPsDisconnectCause(@Nullable android.telephony.ims.ImsReasonInfo);
14609    method @NonNull public android.telephony.DomainSelectionService.SelectionAttributes.Builder setTestEmergencyNumber(boolean);
14610    method @NonNull public android.telephony.DomainSelectionService.SelectionAttributes.Builder setVideoCall(boolean);
14611  }
14612
14613  @FlaggedApi("com.android.internal.telephony.flags.use_oem_domain_selection_service") public interface DomainSelector {
14614    method public void finishSelection();
14615    method public void reselectDomain(@NonNull android.telephony.DomainSelectionService.SelectionAttributes);
14616  }
14617
14618  @FlaggedApi("com.android.internal.telephony.flags.use_oem_domain_selection_service") public final class EmergencyRegistrationResult implements android.os.Parcelable {
14619    method public int describeContents();
14620    method public int getAccessNetwork();
14621    method @NonNull public String getCountryIso();
14622    method public int getDomain();
14623    method @NonNull public String getMcc();
14624    method @NonNull public String getMnc();
14625    method public int getNwProvidedEmc();
14626    method public int getNwProvidedEmf();
14627    method public int getRegState();
14628    method public boolean isEmcBearerSupported();
14629    method public boolean isVopsSupported();
14630    method public void writeToParcel(@NonNull android.os.Parcel, int);
14631    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.EmergencyRegistrationResult> CREATOR;
14632  }
14633
14634  public final class ImsiEncryptionInfo implements android.os.Parcelable {
14635    method public int describeContents();
14636    method @Nullable public String getKeyIdentifier();
14637    method @Nullable public java.security.PublicKey getPublicKey();
14638    method public void writeToParcel(@NonNull android.os.Parcel, int);
14639    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ImsiEncryptionInfo> CREATOR;
14640  }
14641
14642  public final class LinkCapacityEstimate implements android.os.Parcelable {
14643    ctor public LinkCapacityEstimate(int, int, int);
14644    method public int describeContents();
14645    method public int getDownlinkCapacityKbps();
14646    method public int getType();
14647    method public int getUplinkCapacityKbps();
14648    method public void writeToParcel(@NonNull android.os.Parcel, int);
14649    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.LinkCapacityEstimate> CREATOR;
14650    field public static final int INVALID = -1; // 0xffffffff
14651    field public static final int LCE_TYPE_COMBINED = 2; // 0x2
14652    field public static final int LCE_TYPE_PRIMARY = 0; // 0x0
14653    field public static final int LCE_TYPE_SECONDARY = 1; // 0x1
14654  }
14655
14656  public final class LteVopsSupportInfo extends android.telephony.VopsSupportInfo {
14657    ctor public LteVopsSupportInfo(int, int);
14658    method public boolean equals(@Nullable Object);
14659    method public int getEmcBearerSupport();
14660    method public int getVopsSupport();
14661    method public int hashCode();
14662    method public boolean isEmergencyServiceFallbackSupported();
14663    method public boolean isEmergencyServiceSupported();
14664    method public boolean isVopsSupported();
14665    method public void writeToParcel(@NonNull android.os.Parcel, int);
14666    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.LteVopsSupportInfo> CREATOR;
14667    field @Deprecated public static final int LTE_STATUS_NOT_AVAILABLE = 1; // 0x1
14668    field public static final int LTE_STATUS_NOT_SUPPORTED = 3; // 0x3
14669    field public static final int LTE_STATUS_SUPPORTED = 2; // 0x2
14670  }
14671
14672  public class MbmsDownloadSession implements java.lang.AutoCloseable {
14673    field public static final String MBMS_DOWNLOAD_SERVICE_ACTION = "android.telephony.action.EmbmsDownload";
14674  }
14675
14676  public class MbmsGroupCallSession implements java.lang.AutoCloseable {
14677    field public static final String MBMS_GROUP_CALL_SERVICE_ACTION = "android.telephony.action.EmbmsGroupCall";
14678  }
14679
14680  public class MbmsStreamingSession implements java.lang.AutoCloseable {
14681    field public static final String MBMS_STREAMING_SERVICE_ACTION = "android.telephony.action.EmbmsStreaming";
14682  }
14683
14684  public final class ModemActivityInfo implements android.os.Parcelable {
14685    method public int describeContents();
14686    method @NonNull public android.telephony.ModemActivityInfo getDelta(@NonNull android.telephony.ModemActivityInfo);
14687    method public long getIdleTimeMillis();
14688    method public static int getNumTxPowerLevels();
14689    method public long getReceiveTimeMillis();
14690    method public long getSleepTimeMillis();
14691    method public long getTimestampMillis();
14692    method public long getTransmitDurationMillisAtPowerLevel(int);
14693    method @NonNull public android.util.Range<java.lang.Integer> getTransmitPowerRange(int);
14694    method public void writeToParcel(@NonNull android.os.Parcel, int);
14695    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ModemActivityInfo> CREATOR;
14696    field public static final int TX_POWER_LEVEL_0 = 0; // 0x0
14697    field public static final int TX_POWER_LEVEL_1 = 1; // 0x1
14698    field public static final int TX_POWER_LEVEL_2 = 2; // 0x2
14699    field public static final int TX_POWER_LEVEL_3 = 3; // 0x3
14700    field public static final int TX_POWER_LEVEL_4 = 4; // 0x4
14701  }
14702
14703  public final class NetworkRegistrationInfo implements android.os.Parcelable {
14704    method @Nullable public android.telephony.DataSpecificRegistrationInfo getDataSpecificInfo();
14705    method public int getNetworkRegistrationState();
14706    method @Deprecated public int getRegistrationState();
14707    method public int getRoamingType();
14708    method public boolean isEmergencyEnabled();
14709    method public void writeToParcel(android.os.Parcel, int);
14710    field public static final int REGISTRATION_STATE_DENIED = 3; // 0x3
14711    field public static final int REGISTRATION_STATE_EMERGENCY = 6; // 0x6
14712    field public static final int REGISTRATION_STATE_HOME = 1; // 0x1
14713    field public static final int REGISTRATION_STATE_NOT_REGISTERED_OR_SEARCHING = 0; // 0x0
14714    field public static final int REGISTRATION_STATE_NOT_REGISTERED_SEARCHING = 2; // 0x2
14715    field public static final int REGISTRATION_STATE_ROAMING = 5; // 0x5
14716    field public static final int REGISTRATION_STATE_UNKNOWN = 4; // 0x4
14717  }
14718
14719  public static final class NetworkRegistrationInfo.Builder {
14720    ctor public NetworkRegistrationInfo.Builder();
14721    method @NonNull public android.telephony.NetworkRegistrationInfo build();
14722    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAccessNetworkTechnology(int);
14723    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAvailableServices(@NonNull java.util.List<java.lang.Integer>);
14724    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setCellIdentity(@Nullable android.telephony.CellIdentity);
14725    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setDomain(int);
14726    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setEmergencyOnly(boolean);
14727    method @FlaggedApi("com.android.internal.telephony.flags.carrier_enabled_satellite_flag") @NonNull public android.telephony.NetworkRegistrationInfo.Builder setIsNonTerrestrialNetwork(boolean);
14728    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRegisteredPlmn(@Nullable String);
14729    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRegistrationState(int);
14730    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRejectCause(int);
14731    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setTransportType(int);
14732  }
14733
14734  public abstract class NetworkService extends android.app.Service {
14735    ctor public NetworkService();
14736    method public android.os.IBinder onBind(android.content.Intent);
14737    method @Nullable public abstract android.telephony.NetworkService.NetworkServiceProvider onCreateNetworkServiceProvider(int);
14738    field public static final String SERVICE_INTERFACE = "android.telephony.NetworkService";
14739  }
14740
14741  public abstract class NetworkService.NetworkServiceProvider implements java.lang.AutoCloseable {
14742    ctor public NetworkService.NetworkServiceProvider(int);
14743    method public abstract void close();
14744    method public final int getSlotIndex();
14745    method public final void notifyNetworkRegistrationInfoChanged();
14746    method public void requestNetworkRegistrationInfo(int, @NonNull android.telephony.NetworkServiceCallback);
14747  }
14748
14749  public class NetworkServiceCallback {
14750    method public void onRequestNetworkRegistrationInfoComplete(int, @Nullable android.telephony.NetworkRegistrationInfo);
14751    field public static final int RESULT_ERROR_BUSY = 3; // 0x3
14752    field public static final int RESULT_ERROR_FAILED = 5; // 0x5
14753    field public static final int RESULT_ERROR_ILLEGAL_STATE = 4; // 0x4
14754    field public static final int RESULT_ERROR_INVALID_ARG = 2; // 0x2
14755    field public static final int RESULT_ERROR_UNSUPPORTED = 1; // 0x1
14756    field public static final int RESULT_SUCCESS = 0; // 0x0
14757  }
14758
14759  public final class NrVopsSupportInfo extends android.telephony.VopsSupportInfo {
14760    ctor public NrVopsSupportInfo(int, int, int);
14761    method public boolean equals(@Nullable Object);
14762    method public int getEmcSupport();
14763    method public int getEmfSupport();
14764    method public int getVopsSupport();
14765    method public int hashCode();
14766    method public boolean isEmergencyServiceFallbackSupported();
14767    method public boolean isEmergencyServiceSupported();
14768    method public boolean isVopsSupported();
14769    method public void writeToParcel(@NonNull android.os.Parcel, int);
14770    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.NrVopsSupportInfo> CREATOR;
14771    field public static final int NR_STATUS_EMC_5GCN_ONLY = 1; // 0x1
14772    field public static final int NR_STATUS_EMC_EUTRA_5GCN_ONLY = 2; // 0x2
14773    field public static final int NR_STATUS_EMC_NOT_SUPPORTED = 0; // 0x0
14774    field public static final int NR_STATUS_EMC_NR_EUTRA_5GCN = 3; // 0x3
14775    field public static final int NR_STATUS_EMF_5GCN_ONLY = 1; // 0x1
14776    field public static final int NR_STATUS_EMF_EUTRA_5GCN_ONLY = 2; // 0x2
14777    field public static final int NR_STATUS_EMF_NOT_SUPPORTED = 0; // 0x0
14778    field public static final int NR_STATUS_EMF_NR_EUTRA_5GCN = 3; // 0x3
14779    field public static final int NR_STATUS_VOPS_3GPP_SUPPORTED = 1; // 0x1
14780    field public static final int NR_STATUS_VOPS_NON_3GPP_SUPPORTED = 2; // 0x2
14781    field public static final int NR_STATUS_VOPS_NOT_SUPPORTED = 0; // 0x0
14782  }
14783
14784  public interface NumberVerificationCallback {
14785    method public default void onCallReceived(@NonNull String);
14786    method public default void onVerificationFailed(int);
14787    field public static final int REASON_CONCURRENT_REQUESTS = 4; // 0x4
14788    field public static final int REASON_IN_ECBM = 5; // 0x5
14789    field public static final int REASON_IN_EMERGENCY_CALL = 6; // 0x6
14790    field public static final int REASON_NETWORK_NOT_AVAILABLE = 2; // 0x2
14791    field public static final int REASON_TIMED_OUT = 1; // 0x1
14792    field public static final int REASON_TOO_MANY_CALLS = 3; // 0x3
14793    field public static final int REASON_UNSPECIFIED = 0; // 0x0
14794  }
14795
14796  public final class PhoneCapability implements android.os.Parcelable {
14797    method public int describeContents();
14798    method @NonNull public int[] getDeviceNrCapabilities();
14799    method @IntRange(from=1) public int getMaxActiveDataSubscriptions();
14800    method @IntRange(from=1) public int getMaxActiveVoiceSubscriptions();
14801    method public void writeToParcel(@NonNull android.os.Parcel, int);
14802    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.PhoneCapability> CREATOR;
14803    field public static final int DEVICE_NR_CAPABILITY_NSA = 1; // 0x1
14804    field public static final int DEVICE_NR_CAPABILITY_SA = 2; // 0x2
14805  }
14806
14807  public final class PhoneNumberRange implements android.os.Parcelable {
14808    ctor public PhoneNumberRange(@NonNull String, @NonNull String, @NonNull String, @NonNull String);
14809    method public int describeContents();
14810    method public boolean matches(@NonNull String);
14811    method public void writeToParcel(android.os.Parcel, int);
14812    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.PhoneNumberRange> CREATOR;
14813  }
14814
14815  public class PhoneNumberUtils {
14816    method @NonNull public static String getUsernameFromUriNumber(@NonNull String);
14817    method public static boolean isUriNumber(@Nullable String);
14818    method public static boolean isVoiceMailNumber(@NonNull android.content.Context, int, @Nullable String);
14819  }
14820
14821  @Deprecated public class PhoneStateListener {
14822    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public void onCallAttributesChanged(@NonNull android.telephony.CallAttributes);
14823    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void onOutgoingEmergencyCall(@NonNull android.telephony.emergency.EmergencyNumber);
14824    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void onOutgoingEmergencyCall(@NonNull android.telephony.emergency.EmergencyNumber, int);
14825    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void onOutgoingEmergencySms(@NonNull android.telephony.emergency.EmergencyNumber);
14826    method @Deprecated public void onOutgoingEmergencySms(@NonNull android.telephony.emergency.EmergencyNumber, int);
14827    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public void onPreciseCallStateChanged(@NonNull android.telephony.PreciseCallState);
14828    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onRadioPowerStateChanged(int);
14829    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onSrvccStateChanged(int);
14830    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onVoiceActivationStateChanged(int);
14831    field @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int LISTEN_CALL_ATTRIBUTES_CHANGED = 67108864; // 0x4000000
14832    field @Deprecated @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public static final int LISTEN_OUTGOING_EMERGENCY_CALL = 268435456; // 0x10000000
14833    field @Deprecated @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public static final int LISTEN_OUTGOING_EMERGENCY_SMS = 536870912; // 0x20000000
14834    field @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int LISTEN_PRECISE_CALL_STATE = 2048; // 0x800
14835    field @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int LISTEN_RADIO_POWER_STATE_CHANGED = 8388608; // 0x800000
14836    field @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int LISTEN_SRVCC_STATE_CHANGED = 16384; // 0x4000
14837    field @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int LISTEN_VOICE_ACTIVATION_STATE = 131072; // 0x20000
14838  }
14839
14840  public final class PinResult implements android.os.Parcelable {
14841    method public int describeContents();
14842    method public int getAttemptsRemaining();
14843    method public int getResult();
14844    method public void writeToParcel(@NonNull android.os.Parcel, int);
14845    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.PinResult> CREATOR;
14846    field public static final int PIN_RESULT_TYPE_ABORTED = 3; // 0x3
14847    field public static final int PIN_RESULT_TYPE_FAILURE = 2; // 0x2
14848    field public static final int PIN_RESULT_TYPE_INCORRECT = 1; // 0x1
14849    field public static final int PIN_RESULT_TYPE_SUCCESS = 0; // 0x0
14850  }
14851
14852  public final class PreciseCallState implements android.os.Parcelable {
14853    ctor public PreciseCallState(int, int, int, int, int);
14854    method public int describeContents();
14855    method public int getBackgroundCallState();
14856    method public int getForegroundCallState();
14857    method public int getRingingCallState();
14858    method public void writeToParcel(android.os.Parcel, int);
14859    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.PreciseCallState> CREATOR;
14860    field public static final int PRECISE_CALL_STATE_ACTIVE = 1; // 0x1
14861    field public static final int PRECISE_CALL_STATE_ALERTING = 4; // 0x4
14862    field public static final int PRECISE_CALL_STATE_DIALING = 3; // 0x3
14863    field public static final int PRECISE_CALL_STATE_DISCONNECTED = 7; // 0x7
14864    field public static final int PRECISE_CALL_STATE_DISCONNECTING = 8; // 0x8
14865    field public static final int PRECISE_CALL_STATE_HOLDING = 2; // 0x2
14866    field public static final int PRECISE_CALL_STATE_IDLE = 0; // 0x0
14867    field public static final int PRECISE_CALL_STATE_INCOMING = 5; // 0x5
14868    field public static final int PRECISE_CALL_STATE_INCOMING_SETUP = 9; // 0x9
14869    field public static final int PRECISE_CALL_STATE_NOT_VALID = -1; // 0xffffffff
14870    field public static final int PRECISE_CALL_STATE_WAITING = 6; // 0x6
14871  }
14872
14873  public final class PreciseDataConnectionState implements android.os.Parcelable {
14874    method @Deprecated @NonNull public String getDataConnectionApn();
14875    method @Deprecated public int getDataConnectionApnTypeBitMask();
14876    method @Deprecated public int getDataConnectionFailCause();
14877    method @Deprecated public int getDataConnectionState();
14878  }
14879
14880  public final class PreciseDisconnectCause {
14881    field public static final int ACCESS_CLASS_BLOCKED = 260; // 0x104
14882    field public static final int ACCESS_INFORMATION_DISCARDED = 43; // 0x2b
14883    field public static final int ACM_LIMIT_EXCEEDED = 68; // 0x44
14884    field public static final int BEARER_CAPABILITY_NOT_AUTHORIZED = 57; // 0x39
14885    field public static final int BEARER_NOT_AVAIL = 58; // 0x3a
14886    field public static final int BEARER_SERVICE_NOT_IMPLEMENTED = 65; // 0x41
14887    field public static final int BUSY = 17; // 0x11
14888    field public static final int CALL_BARRED = 240; // 0xf0
14889    field public static final int CALL_REJECTED = 21; // 0x15
14890    field public static final int CDMA_ACCESS_BLOCKED = 1009; // 0x3f1
14891    field public static final int CDMA_ACCESS_FAILURE = 1006; // 0x3ee
14892    field public static final int CDMA_DROP = 1001; // 0x3e9
14893    field public static final int CDMA_INTERCEPT = 1002; // 0x3ea
14894    field public static final int CDMA_LOCKED_UNTIL_POWER_CYCLE = 1000; // 0x3e8
14895    field public static final int CDMA_NOT_EMERGENCY = 1008; // 0x3f0
14896    field public static final int CDMA_PREEMPTED = 1007; // 0x3ef
14897    field public static final int CDMA_REORDER = 1003; // 0x3eb
14898    field public static final int CDMA_RETRY_ORDER = 1005; // 0x3ed
14899    field public static final int CDMA_SO_REJECT = 1004; // 0x3ec
14900    field public static final int CHANNEL_NOT_AVAIL = 44; // 0x2c
14901    field public static final int CHANNEL_UNACCEPTABLE = 6; // 0x6
14902    field public static final int CONDITIONAL_IE_ERROR = 100; // 0x64
14903    field public static final int DESTINATION_OUT_OF_ORDER = 27; // 0x1b
14904    field @FlaggedApi("com.android.internal.telephony.flags.use_oem_domain_selection_service") public static final int EMERGENCY_PERM_FAILURE = 326; // 0x146
14905    field @FlaggedApi("com.android.internal.telephony.flags.use_oem_domain_selection_service") public static final int EMERGENCY_TEMP_FAILURE = 325; // 0x145
14906    field public static final int ERROR_UNSPECIFIED = 65535; // 0xffff
14907    field public static final int FACILITY_REJECTED = 29; // 0x1d
14908    field public static final int FDN_BLOCKED = 241; // 0xf1
14909    field public static final int IMEI_NOT_ACCEPTED = 243; // 0xf3
14910    field public static final int IMSI_UNKNOWN_IN_VLR = 242; // 0xf2
14911    field public static final int INCOMING_CALLS_BARRED_WITHIN_CUG = 55; // 0x37
14912    field public static final int INCOMPATIBLE_DESTINATION = 88; // 0x58
14913    field public static final int INFORMATION_ELEMENT_NON_EXISTENT = 99; // 0x63
14914    field public static final int INTERWORKING_UNSPECIFIED = 127; // 0x7f
14915    field public static final int INVALID_MANDATORY_INFORMATION = 96; // 0x60
14916    field public static final int INVALID_NUMBER_FORMAT = 28; // 0x1c
14917    field public static final int INVALID_TRANSACTION_IDENTIFIER = 81; // 0x51
14918    field public static final int MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101; // 0x65
14919    field public static final int MESSAGE_TYPE_NON_IMPLEMENTED = 97; // 0x61
14920    field public static final int MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98; // 0x62
14921    field public static final int NETWORK_DETACH = 261; // 0x105
14922    field public static final int NETWORK_OUT_OF_ORDER = 38; // 0x26
14923    field public static final int NETWORK_REJECT = 252; // 0xfc
14924    field public static final int NETWORK_RESP_TIMEOUT = 251; // 0xfb
14925    field public static final int NORMAL = 16; // 0x10
14926    field public static final int NORMAL_UNSPECIFIED = 31; // 0x1f
14927    field public static final int NOT_VALID = -1; // 0xffffffff
14928    field public static final int NO_ANSWER_FROM_USER = 19; // 0x13
14929    field public static final int NO_CIRCUIT_AVAIL = 34; // 0x22
14930    field public static final int NO_DISCONNECT_CAUSE_AVAILABLE = 0; // 0x0
14931    field public static final int NO_ROUTE_TO_DESTINATION = 3; // 0x3
14932    field public static final int NO_USER_RESPONDING = 18; // 0x12
14933    field public static final int NO_VALID_SIM = 249; // 0xf9
14934    field public static final int NUMBER_CHANGED = 22; // 0x16
14935    field public static final int OEM_CAUSE_1 = 61441; // 0xf001
14936    field public static final int OEM_CAUSE_10 = 61450; // 0xf00a
14937    field public static final int OEM_CAUSE_11 = 61451; // 0xf00b
14938    field public static final int OEM_CAUSE_12 = 61452; // 0xf00c
14939    field public static final int OEM_CAUSE_13 = 61453; // 0xf00d
14940    field public static final int OEM_CAUSE_14 = 61454; // 0xf00e
14941    field public static final int OEM_CAUSE_15 = 61455; // 0xf00f
14942    field public static final int OEM_CAUSE_2 = 61442; // 0xf002
14943    field public static final int OEM_CAUSE_3 = 61443; // 0xf003
14944    field public static final int OEM_CAUSE_4 = 61444; // 0xf004
14945    field public static final int OEM_CAUSE_5 = 61445; // 0xf005
14946    field public static final int OEM_CAUSE_6 = 61446; // 0xf006
14947    field public static final int OEM_CAUSE_7 = 61447; // 0xf007
14948    field public static final int OEM_CAUSE_8 = 61448; // 0xf008
14949    field public static final int OEM_CAUSE_9 = 61449; // 0xf009
14950    field public static final int ONLY_DIGITAL_INFORMATION_BEARER_AVAILABLE = 70; // 0x46
14951    field public static final int OPERATOR_DETERMINED_BARRING = 8; // 0x8
14952    field public static final int OUT_OF_SRV = 248; // 0xf8
14953    field public static final int PREEMPTION = 25; // 0x19
14954    field public static final int PROTOCOL_ERROR_UNSPECIFIED = 111; // 0x6f
14955    field public static final int QOS_NOT_AVAIL = 49; // 0x31
14956    field public static final int RADIO_ACCESS_FAILURE = 253; // 0xfd
14957    field public static final int RADIO_INTERNAL_ERROR = 250; // 0xfa
14958    field public static final int RADIO_LINK_FAILURE = 254; // 0xfe
14959    field public static final int RADIO_LINK_LOST = 255; // 0xff
14960    field public static final int RADIO_OFF = 247; // 0xf7
14961    field public static final int RADIO_RELEASE_ABNORMAL = 259; // 0x103
14962    field public static final int RADIO_RELEASE_NORMAL = 258; // 0x102
14963    field public static final int RADIO_SETUP_FAILURE = 257; // 0x101
14964    field public static final int RADIO_UPLINK_FAILURE = 256; // 0x100
14965    field public static final int RECOVERY_ON_TIMER_EXPIRED = 102; // 0x66
14966    field public static final int REQUESTED_FACILITY_NOT_IMPLEMENTED = 69; // 0x45
14967    field public static final int REQUESTED_FACILITY_NOT_SUBSCRIBED = 50; // 0x32
14968    field public static final int RESOURCES_UNAVAILABLE_OR_UNSPECIFIED = 47; // 0x2f
14969    field public static final int SEMANTICALLY_INCORRECT_MESSAGE = 95; // 0x5f
14970    field public static final int SERVICE_OPTION_NOT_AVAILABLE = 63; // 0x3f
14971    field public static final int SERVICE_OR_OPTION_NOT_IMPLEMENTED = 79; // 0x4f
14972    field public static final int STATUS_ENQUIRY = 30; // 0x1e
14973    field public static final int SWITCHING_CONGESTION = 42; // 0x2a
14974    field public static final int TEMPORARY_FAILURE = 41; // 0x29
14975    field public static final int UNOBTAINABLE_NUMBER = 1; // 0x1
14976    field public static final int USER_NOT_MEMBER_OF_CUG = 87; // 0x57
14977  }
14978
14979  public class ServiceState implements android.os.Parcelable {
14980    method @Nullable public android.telephony.NetworkRegistrationInfo getNetworkRegistrationInfo(int, int);
14981    method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoListForDomain(int);
14982    method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoListForTransportType(int);
14983    field public static final int ROAMING_TYPE_DOMESTIC = 2; // 0x2
14984    field public static final int ROAMING_TYPE_INTERNATIONAL = 3; // 0x3
14985    field public static final int ROAMING_TYPE_NOT_ROAMING = 0; // 0x0
14986    field public static final int ROAMING_TYPE_UNKNOWN = 1; // 0x1
14987  }
14988
14989  public final class SignalStrengthUpdateRequest implements android.os.Parcelable {
14990    method public boolean isSystemThresholdReportingRequestedWhileIdle();
14991  }
14992
14993  public static final class SignalStrengthUpdateRequest.Builder {
14994    method @NonNull @RequiresPermission("android.permission.LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH") public android.telephony.SignalStrengthUpdateRequest.Builder setSystemThresholdReportingRequestedWhileIdle(boolean);
14995  }
14996
14997  public final class SmsCbCmasInfo implements android.os.Parcelable {
14998    ctor public SmsCbCmasInfo(int, int, int, int, int, int);
14999    method public int describeContents();
15000    method public int getCategory();
15001    method public int getCertainty();
15002    method public int getMessageClass();
15003    method public int getResponseType();
15004    method public int getSeverity();
15005    method public int getUrgency();
15006    method public void writeToParcel(android.os.Parcel, int);
15007    field public static final int CMAS_CATEGORY_CBRNE = 10; // 0xa
15008    field public static final int CMAS_CATEGORY_ENV = 7; // 0x7
15009    field public static final int CMAS_CATEGORY_FIRE = 5; // 0x5
15010    field public static final int CMAS_CATEGORY_GEO = 0; // 0x0
15011    field public static final int CMAS_CATEGORY_HEALTH = 6; // 0x6
15012    field public static final int CMAS_CATEGORY_INFRA = 9; // 0x9
15013    field public static final int CMAS_CATEGORY_MET = 1; // 0x1
15014    field public static final int CMAS_CATEGORY_OTHER = 11; // 0xb
15015    field public static final int CMAS_CATEGORY_RESCUE = 4; // 0x4
15016    field public static final int CMAS_CATEGORY_SAFETY = 2; // 0x2
15017    field public static final int CMAS_CATEGORY_SECURITY = 3; // 0x3
15018    field public static final int CMAS_CATEGORY_TRANSPORT = 8; // 0x8
15019    field public static final int CMAS_CATEGORY_UNKNOWN = -1; // 0xffffffff
15020    field public static final int CMAS_CERTAINTY_LIKELY = 1; // 0x1
15021    field public static final int CMAS_CERTAINTY_OBSERVED = 0; // 0x0
15022    field public static final int CMAS_CERTAINTY_UNKNOWN = -1; // 0xffffffff
15023    field public static final int CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY = 3; // 0x3
15024    field public static final int CMAS_CLASS_CMAS_EXERCISE = 5; // 0x5
15025    field public static final int CMAS_CLASS_EXTREME_THREAT = 1; // 0x1
15026    field public static final int CMAS_CLASS_OPERATOR_DEFINED_USE = 6; // 0x6
15027    field public static final int CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT = 0; // 0x0
15028    field public static final int CMAS_CLASS_REQUIRED_MONTHLY_TEST = 4; // 0x4
15029    field public static final int CMAS_CLASS_SEVERE_THREAT = 2; // 0x2
15030    field public static final int CMAS_CLASS_UNKNOWN = -1; // 0xffffffff
15031    field public static final int CMAS_RESPONSE_TYPE_ASSESS = 6; // 0x6
15032    field public static final int CMAS_RESPONSE_TYPE_AVOID = 5; // 0x5
15033    field public static final int CMAS_RESPONSE_TYPE_EVACUATE = 1; // 0x1
15034    field public static final int CMAS_RESPONSE_TYPE_EXECUTE = 3; // 0x3
15035    field public static final int CMAS_RESPONSE_TYPE_MONITOR = 4; // 0x4
15036    field public static final int CMAS_RESPONSE_TYPE_NONE = 7; // 0x7
15037    field public static final int CMAS_RESPONSE_TYPE_PREPARE = 2; // 0x2
15038    field public static final int CMAS_RESPONSE_TYPE_SHELTER = 0; // 0x0
15039    field public static final int CMAS_RESPONSE_TYPE_UNKNOWN = -1; // 0xffffffff
15040    field public static final int CMAS_SEVERITY_EXTREME = 0; // 0x0
15041    field public static final int CMAS_SEVERITY_SEVERE = 1; // 0x1
15042    field public static final int CMAS_SEVERITY_UNKNOWN = -1; // 0xffffffff
15043    field public static final int CMAS_URGENCY_EXPECTED = 1; // 0x1
15044    field public static final int CMAS_URGENCY_IMMEDIATE = 0; // 0x0
15045    field public static final int CMAS_URGENCY_UNKNOWN = -1; // 0xffffffff
15046    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbCmasInfo> CREATOR;
15047  }
15048
15049  public final class SmsCbEtwsInfo implements android.os.Parcelable {
15050    ctor public SmsCbEtwsInfo(int, boolean, boolean, boolean, @Nullable byte[]);
15051    method public int describeContents();
15052    method @Nullable public byte[] getPrimaryNotificationSignature();
15053    method public long getPrimaryNotificationTimestamp();
15054    method public int getWarningType();
15055    method public boolean isEmergencyUserAlert();
15056    method public boolean isPopupAlert();
15057    method public boolean isPrimary();
15058    method public void writeToParcel(android.os.Parcel, int);
15059    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbEtwsInfo> CREATOR;
15060    field public static final int ETWS_WARNING_TYPE_EARTHQUAKE = 0; // 0x0
15061    field public static final int ETWS_WARNING_TYPE_EARTHQUAKE_AND_TSUNAMI = 2; // 0x2
15062    field public static final int ETWS_WARNING_TYPE_OTHER_EMERGENCY = 4; // 0x4
15063    field public static final int ETWS_WARNING_TYPE_TEST_MESSAGE = 3; // 0x3
15064    field public static final int ETWS_WARNING_TYPE_TSUNAMI = 1; // 0x1
15065    field public static final int ETWS_WARNING_TYPE_UNKNOWN = -1; // 0xffffffff
15066  }
15067
15068  public final class SmsCbLocation implements android.os.Parcelable {
15069    ctor public SmsCbLocation(@NonNull String, int, int);
15070    method public int describeContents();
15071    method public int getCid();
15072    method public int getLac();
15073    method @NonNull public String getPlmn();
15074    method public boolean isInLocationArea(@NonNull android.telephony.SmsCbLocation);
15075    method public boolean isInLocationArea(@Nullable String, int, int);
15076    method public void writeToParcel(android.os.Parcel, int);
15077    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbLocation> CREATOR;
15078  }
15079
15080  public final class SmsCbMessage implements android.os.Parcelable {
15081    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);
15082    method @NonNull public static android.telephony.SmsCbMessage createFromCursor(@NonNull android.database.Cursor);
15083    method public int describeContents();
15084    method @Nullable public android.telephony.SmsCbCmasInfo getCmasWarningInfo();
15085    method @NonNull public android.content.ContentValues getContentValues();
15086    method public int getDataCodingScheme();
15087    method @Nullable public android.telephony.SmsCbEtwsInfo getEtwsWarningInfo();
15088    method public int getGeographicalScope();
15089    method @NonNull public java.util.List<android.telephony.CbGeoUtils.Geometry> getGeometries();
15090    method @Nullable public String getLanguageCode();
15091    method @NonNull public android.telephony.SmsCbLocation getLocation();
15092    method public int getMaximumWaitingDuration();
15093    method @Nullable public String getMessageBody();
15094    method public int getMessageFormat();
15095    method public int getMessagePriority();
15096    method public long getReceivedTime();
15097    method public int getSerialNumber();
15098    method public int getServiceCategory();
15099    method public int getSlotIndex();
15100    method public int getSubscriptionId();
15101    method public boolean isCmasMessage();
15102    method public boolean isEmergencyMessage();
15103    method public boolean isEtwsMessage();
15104    method public boolean needGeoFencingCheck();
15105    method public void writeToParcel(android.os.Parcel, int);
15106    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbMessage> CREATOR;
15107    field public static final int GEOGRAPHICAL_SCOPE_CELL_WIDE = 3; // 0x3
15108    field public static final int GEOGRAPHICAL_SCOPE_CELL_WIDE_IMMEDIATE = 0; // 0x0
15109    field public static final int GEOGRAPHICAL_SCOPE_LOCATION_AREA_WIDE = 2; // 0x2
15110    field public static final int GEOGRAPHICAL_SCOPE_PLMN_WIDE = 1; // 0x1
15111    field public static final int MAXIMUM_WAIT_TIME_NOT_SET = 255; // 0xff
15112    field public static final int MESSAGE_FORMAT_3GPP = 1; // 0x1
15113    field public static final int MESSAGE_FORMAT_3GPP2 = 2; // 0x2
15114    field public static final int MESSAGE_PRIORITY_EMERGENCY = 3; // 0x3
15115    field public static final int MESSAGE_PRIORITY_INTERACTIVE = 1; // 0x1
15116    field public static final int MESSAGE_PRIORITY_NORMAL = 0; // 0x0
15117    field public static final int MESSAGE_PRIORITY_URGENT = 2; // 0x2
15118  }
15119
15120  public final class SmsManager {
15121    method @Deprecated public boolean disableCellBroadcastRange(int, int, int);
15122    method @Deprecated public boolean enableCellBroadcastRange(int, int, int);
15123    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getPremiumSmsConsent(@NonNull String);
15124    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.net.Uri getSmscIdentity();
15125    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_CELL_BROADCASTS) public void resetAllCellBroadcastRanges();
15126    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>);
15127    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setPremiumSmsConsent(@NonNull String, int);
15128    field public static final int PREMIUM_SMS_CONSENT_ALWAYS_ALLOW = 3; // 0x3
15129    field public static final int PREMIUM_SMS_CONSENT_ASK_USER = 1; // 0x1
15130    field public static final int PREMIUM_SMS_CONSENT_NEVER_ALLOW = 2; // 0x2
15131    field public static final int PREMIUM_SMS_CONSENT_UNKNOWN = 0; // 0x0
15132  }
15133
15134  public class SmsMessage {
15135    method @Nullable public static android.telephony.SmsMessage createFromNativeSmsSubmitPdu(@NonNull byte[], boolean);
15136    method @Nullable public static android.telephony.SmsMessage.SubmitPdu getSmsPdu(int, int, @Nullable String, @NonNull String, @NonNull String, long);
15137    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);
15138  }
15139
15140  public class SubscriptionInfo implements android.os.Parcelable {
15141    method public boolean areUiccApplicationsEnabled();
15142    method @Nullable public java.util.List<android.telephony.UiccAccessRule> getAccessRules();
15143    method public int getProfileClass();
15144    method @FlaggedApi("com.android.internal.telephony.flags.support_psim_to_esim_conversion") public int getTransferStatus();
15145    method public boolean isGroupDisabled();
15146  }
15147
15148  public class SubscriptionManager {
15149    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean canDisablePhysicalSubscription();
15150    method public boolean canManageSubscription(@NonNull android.telephony.SubscriptionInfo, @NonNull String);
15151    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int[] getActiveSubscriptionIdList();
15152    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.SubscriptionInfo getActiveSubscriptionInfoForIcc(@NonNull String);
15153    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public byte[] getAllSimSpecificSettingsForBackup();
15154    method @Nullable public java.util.List<android.telephony.SubscriptionInfo> getAvailableSubscriptionInfoList();
15155    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int[] getCompleteActiveSubscriptionIdList();
15156    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getEnabledSubscriptionId(int);
15157    method @NonNull public static android.content.res.Resources getResourcesForSubId(@NonNull android.content.Context, int);
15158    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isSubscriptionEnabled(int);
15159    method public void requestEmbeddedSubscriptionInfoListRefresh();
15160    method public void requestEmbeddedSubscriptionInfoListRefresh(int);
15161    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void restoreAllSimSpecificSettingsFromBackup(@NonNull byte[]);
15162    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultDataSubId(int);
15163    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultSmsSubId(int);
15164    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultVoiceSubscriptionId(int);
15165    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>);
15166    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setSubscriptionEnabled(int, boolean);
15167    method @FlaggedApi("com.android.internal.telephony.flags.support_psim_to_esim_conversion") @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void setTransferStatus(int, int);
15168    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUiccApplicationsEnabled(int, boolean);
15169    field @RequiresPermission(android.Manifest.permission.MANAGE_SUBSCRIPTION_PLANS) public static final String ACTION_SUBSCRIPTION_PLANS_CHANGED = "android.telephony.action.SUBSCRIPTION_PLANS_CHANGED";
15170    field @NonNull public static final android.net.Uri ADVANCED_CALLING_ENABLED_CONTENT_URI;
15171    field @NonNull public static final android.net.Uri CROSS_SIM_ENABLED_CONTENT_URI;
15172    field @Deprecated public static final int PROFILE_CLASS_DEFAULT = -1; // 0xffffffff
15173    field public static final int PROFILE_CLASS_OPERATIONAL = 2; // 0x2
15174    field public static final int PROFILE_CLASS_PROVISIONING = 1; // 0x1
15175    field public static final int PROFILE_CLASS_TESTING = 0; // 0x0
15176    field public static final int PROFILE_CLASS_UNSET = -1; // 0xffffffff
15177    field @FlaggedApi("com.android.internal.telephony.flags.support_psim_to_esim_conversion") public static final int TRANSFER_STATUS_CONVERTED = 2; // 0x2
15178    field @FlaggedApi("com.android.internal.telephony.flags.support_psim_to_esim_conversion") public static final int TRANSFER_STATUS_NONE = 0; // 0x0
15179    field @FlaggedApi("com.android.internal.telephony.flags.support_psim_to_esim_conversion") public static final int TRANSFER_STATUS_TRANSFERRED_OUT = 1; // 0x1
15180    field @NonNull public static final android.net.Uri VT_ENABLED_CONTENT_URI;
15181    field @NonNull public static final android.net.Uri WFC_ENABLED_CONTENT_URI;
15182    field @NonNull public static final android.net.Uri WFC_MODE_CONTENT_URI;
15183    field @NonNull public static final android.net.Uri WFC_ROAMING_ENABLED_CONTENT_URI;
15184    field @NonNull public static final android.net.Uri WFC_ROAMING_MODE_CONTENT_URI;
15185  }
15186
15187  public static class SubscriptionPlan.Builder {
15188    method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringDaily(java.time.ZonedDateTime);
15189    method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringMonthly(java.time.ZonedDateTime);
15190    method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringWeekly(java.time.ZonedDateTime);
15191  }
15192
15193  public class TelephonyCallback {
15194    field @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public static final int EVENT_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGED = 23; // 0x17
15195    field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int EVENT_ALLOWED_NETWORK_TYPE_LIST_CHANGED = 35; // 0x23
15196    field public static final int EVENT_ALWAYS_REPORTED_SIGNAL_STRENGTH_CHANGED = 10; // 0xa
15197    field @RequiresPermission(allOf={android.Manifest.permission.READ_PRECISE_PHONE_STATE, android.Manifest.permission.ACCESS_FINE_LOCATION}) public static final int EVENT_BARRING_INFO_CHANGED = 32; // 0x20
15198    field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_CALL_ATTRIBUTES_CHANGED = 27; // 0x1b
15199    field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_CALL_DISCONNECT_CAUSE_CHANGED = 26; // 0x1a
15200    field @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public static final int EVENT_CALL_FORWARDING_INDICATOR_CHANGED = 4; // 0x4
15201    field public static final int EVENT_CALL_STATE_CHANGED = 6; // 0x6
15202    field public static final int EVENT_CARRIER_NETWORK_CHANGED = 17; // 0x11
15203    field @RequiresPermission(allOf={android.Manifest.permission.READ_PHONE_STATE, android.Manifest.permission.ACCESS_FINE_LOCATION}) public static final int EVENT_CELL_INFO_CHANGED = 11; // 0xb
15204    field @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public static final int EVENT_CELL_LOCATION_CHANGED = 5; // 0x5
15205    field public static final int EVENT_DATA_ACTIVATION_STATE_CHANGED = 19; // 0x13
15206    field public static final int EVENT_DATA_ACTIVITY_CHANGED = 8; // 0x8
15207    field @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_DATA_CONNECTION_REAL_TIME_INFO_CHANGED = 14; // 0xe
15208    field public static final int EVENT_DATA_CONNECTION_STATE_CHANGED = 7; // 0x7
15209    field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_DATA_ENABLED_CHANGED = 34; // 0x22
15210    field public static final int EVENT_DISPLAY_INFO_CHANGED = 21; // 0x15
15211    field @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public static final int EVENT_EMERGENCY_NUMBER_LIST_CHANGED = 25; // 0x19
15212    field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_IMS_CALL_DISCONNECT_CAUSE_CHANGED = 28; // 0x1c
15213    field @RequiresPermission(android.Manifest.permission.READ_CALL_LOG) public static final int EVENT_LEGACY_CALL_STATE_CHANGED = 36; // 0x24
15214    field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_LINK_CAPACITY_ESTIMATE_CHANGED = 37; // 0x25
15215    field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_MEDIA_QUALITY_STATUS_CHANGED = 39; // 0x27
15216    field @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public static final int EVENT_MESSAGE_WAITING_INDICATOR_CHANGED = 3; // 0x3
15217    field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int EVENT_OEM_HOOK_RAW = 15; // 0xf
15218    field @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public static final int EVENT_OUTGOING_EMERGENCY_CALL = 29; // 0x1d
15219    field @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public static final int EVENT_OUTGOING_EMERGENCY_SMS = 30; // 0x1e
15220    field public static final int EVENT_PHONE_CAPABILITY_CHANGED = 22; // 0x16
15221    field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_PHYSICAL_CHANNEL_CONFIG_CHANGED = 33; // 0x21
15222    field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_PRECISE_CALL_STATE_CHANGED = 12; // 0xc
15223    field @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public static final int EVENT_PRECISE_DATA_CONNECTION_STATE_CHANGED = 13; // 0xd
15224    field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int EVENT_RADIO_POWER_STATE_CHANGED = 24; // 0x18
15225    field @RequiresPermission(allOf={android.Manifest.permission.READ_PRECISE_PHONE_STATE, android.Manifest.permission.ACCESS_FINE_LOCATION}) public static final int EVENT_REGISTRATION_FAILURE = 31; // 0x1f
15226    field public static final int EVENT_SERVICE_STATE_CHANGED = 1; // 0x1
15227    field public static final int EVENT_SIGNAL_STRENGTHS_CHANGED = 9; // 0x9
15228    field public static final int EVENT_SIGNAL_STRENGTH_CHANGED = 2; // 0x2
15229    field @FlaggedApi("com.android.internal.telephony.flags.simultaneous_calling_indications") @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int EVENT_SIMULTANEOUS_CELLULAR_CALLING_SUBSCRIPTIONS_CHANGED = 41; // 0x29
15230    field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int EVENT_SRVCC_STATE_CHANGED = 16; // 0x10
15231    field public static final int EVENT_USER_MOBILE_DATA_STATE_CHANGED = 20; // 0x14
15232    field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int EVENT_VOICE_ACTIVATION_STATE_CHANGED = 18; // 0x12
15233  }
15234
15235  public static interface TelephonyCallback.AllowedNetworkTypesListener {
15236    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onAllowedNetworkTypesChanged(int, long);
15237  }
15238
15239  public static interface TelephonyCallback.CallAttributesListener {
15240    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public default void onCallAttributesChanged(@NonNull android.telephony.CallAttributes);
15241    method @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public default void onCallStatesChanged(@NonNull java.util.List<android.telephony.CallState>);
15242  }
15243
15244  public static interface TelephonyCallback.DataEnabledListener {
15245    method @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public void onDataEnabledChanged(boolean, int);
15246  }
15247
15248  public static interface TelephonyCallback.LinkCapacityEstimateChangedListener {
15249    method @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public void onLinkCapacityEstimateChanged(@NonNull java.util.List<android.telephony.LinkCapacityEstimate>);
15250  }
15251
15252  public static interface TelephonyCallback.MediaQualityStatusChangedListener {
15253    method @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public void onMediaQualityStatusChanged(@NonNull android.telephony.ims.MediaQualityStatus);
15254  }
15255
15256  public static interface TelephonyCallback.OutgoingEmergencyCallListener {
15257    method @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void onOutgoingEmergencyCall(@NonNull android.telephony.emergency.EmergencyNumber, int);
15258  }
15259
15260  public static interface TelephonyCallback.OutgoingEmergencySmsListener {
15261    method @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void onOutgoingEmergencySms(@NonNull android.telephony.emergency.EmergencyNumber, int);
15262  }
15263
15264  public static interface TelephonyCallback.PhoneCapabilityListener {
15265    method public void onPhoneCapabilityChanged(@NonNull android.telephony.PhoneCapability);
15266  }
15267
15268  public static interface TelephonyCallback.PreciseCallStateListener {
15269    method @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) public void onPreciseCallStateChanged(@NonNull android.telephony.PreciseCallState);
15270  }
15271
15272  public static interface TelephonyCallback.RadioPowerStateListener {
15273    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onRadioPowerStateChanged(int);
15274  }
15275
15276  @FlaggedApi("com.android.internal.telephony.flags.simultaneous_calling_indications") public static interface TelephonyCallback.SimultaneousCellularCallingSupportListener {
15277    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onSimultaneousCellularCallingSubscriptionsChanged(@NonNull java.util.Set<java.lang.Integer>);
15278  }
15279
15280  public static interface TelephonyCallback.SrvccStateListener {
15281    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onSrvccStateChanged(int);
15282  }
15283
15284  public static interface TelephonyCallback.VoiceActivationStateListener {
15285    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onVoiceActivationStateChanged(int);
15286  }
15287
15288  public final class TelephonyHistogram implements android.os.Parcelable {
15289    ctor public TelephonyHistogram(int, int, int);
15290    ctor public TelephonyHistogram(android.telephony.TelephonyHistogram);
15291    ctor public TelephonyHistogram(android.os.Parcel);
15292    method public void addTimeTaken(int);
15293    method public int describeContents();
15294    method public int getAverageTime();
15295    method public int getBucketCount();
15296    method public int[] getBucketCounters();
15297    method public int[] getBucketEndPoints();
15298    method public int getCategory();
15299    method public int getId();
15300    method public int getMaxTime();
15301    method public int getMinTime();
15302    method public int getSampleCount();
15303    method public void writeToParcel(android.os.Parcel, int);
15304    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.TelephonyHistogram> CREATOR;
15305    field public static final int TELEPHONY_CATEGORY_RIL = 1; // 0x1
15306  }
15307
15308  public class TelephonyManager {
15309    method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION}) @WorkerThread public void bootstrapAuthenticationRequest(int, @NonNull android.net.Uri, @NonNull android.telephony.gba.UaSecurityProtocolIdentifier, boolean, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.TelephonyManager.BootstrapAuthenticationCallback);
15310    method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public void call(String, String);
15311    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.PinResult changeIccLockPin(@NonNull String, @NonNull String);
15312    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int checkCarrierPrivilegesForPackage(String);
15313    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int checkCarrierPrivilegesForPackageAnyPhone(String);
15314    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void clearRadioPowerOffForReason(int);
15315    method public void dial(String);
15316    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean disableDataConnectivity();
15317    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean enableDataConnectivity();
15318    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean enableModemForSlot(int, boolean);
15319    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void enableVideoCalling(boolean);
15320    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getAidForAppType(int);
15321    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedCarriers(int);
15322    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getAllowedNetworkTypes();
15323    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getAllowedNetworkTypesBitmask();
15324    method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.ComponentName getAndUpdateDefaultRespondViaMessageApplication();
15325    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void getCallForwarding(int, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.TelephonyManager.CallForwardingInfoCallback);
15326    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void getCallWaitingStatus(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
15327    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int);
15328    method public java.util.List<java.lang.String> getCarrierPackageNamesForIntent(android.content.Intent);
15329    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<java.lang.String> getCarrierPackageNamesForIntentAndPhone(android.content.Intent, int);
15330    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCarrierPrivilegeStatus(int);
15331    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<java.lang.String> getCarrierPrivilegedPackagesForAllActiveSubscriptions();
15332    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.CarrierRestrictionRules getCarrierRestrictionRules();
15333    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getCarrierServicePackageName();
15334    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getCarrierServicePackageNameForLogicalSlot(int);
15335    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCdmaEnhancedRoamingIndicatorDisplayNumber();
15336    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMdn();
15337    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMdn(int);
15338    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMin();
15339    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMin(int);
15340    method public String getCdmaPrlVersion();
15341    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCdmaRoamingMode();
15342    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCdmaSubscriptionMode();
15343    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_CELL_BROADCASTS) public java.util.List<android.telephony.CellBroadcastIdRange> getCellBroadcastIdRanges();
15344    method public int getCurrentPhoneType();
15345    method public int getCurrentPhoneType(int);
15346    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getDataActivationState();
15347    method @Deprecated public boolean getDataEnabled();
15348    method @Deprecated public boolean getDataEnabled(int);
15349    method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.ComponentName getDefaultRespondViaMessageApplication();
15350    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public String getDeviceSoftwareVersion(int);
15351    method @FlaggedApi("android.permission.flags.get_emergency_role_holder_api_enabled") @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getEmergencyAssistancePackageName();
15352    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean getEmergencyCallbackMode();
15353    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getEmergencyNumberDbVersion();
15354    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getIsimDomain();
15355    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getIsimIst();
15356    method @FlaggedApi("com.android.server.telecom.flags.get_last_known_cell_identity") @Nullable @RequiresPermission(allOf={android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.ACCESS_LAST_KNOWN_CELL_ID}) public android.telephony.CellIdentity getLastKnownCellIdentity();
15357    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.Map<java.lang.Integer,java.lang.Integer> getLogicalToPhysicalSlotMapping();
15358    method public int getMaxNumberOfSimultaneouslyActiveSims();
15359    method public static long getMaxNumberVerificationTimeoutMillis();
15360    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String[] getMergedImsisFromGroup();
15361    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.PhoneCapability getPhoneCapability();
15362    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getPreferredNetworkTypeBitmask();
15363    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.Set<java.lang.Integer> getRadioPowerOffReasons();
15364    method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public int getRadioPowerState();
15365    method public int getSimApplicationState();
15366    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSimApplicationState(int);
15367    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSimApplicationState(int, int);
15368    method public int getSimCardState();
15369    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSimCardState(int);
15370    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSimCardState(int, int);
15371    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.Locale getSimLocale();
15372    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.Collection<android.telephony.UiccSlotMapping> getSimSlotMapping();
15373    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<android.telephony.RadioAccessSpecifier> getSystemSelectionChannels();
15374    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public java.util.List<android.telephony.TelephonyHistogram> getTelephonyHistograms();
15375    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.UiccSlotInfo[] getUiccSlotsInfo();
15376    method @Nullable public android.os.Bundle getVisualVoicemailSettings();
15377    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getVoiceActivationState();
15378    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean handlePinMmi(String);
15379    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean handlePinMmiForSubscriber(int, String);
15380    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void iccCloseLogicalChannelByPort(int, int, int);
15381    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean iccCloseLogicalChannelBySlot(int, int);
15382    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannelByPort(int, int, @Nullable String, int);
15383    method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannelBySlot(int, @Nullable String, int);
15384    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String iccTransmitApduBasicChannelByPort(int, int, int, int, int, int, int, @Nullable String);
15385    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String iccTransmitApduBasicChannelBySlot(int, int, int, int, int, int, @Nullable String);
15386    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String iccTransmitApduLogicalChannelByPort(int, int, int, int, int, int, int, int, @Nullable String);
15387    method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String iccTransmitApduLogicalChannelBySlot(int, int, int, int, int, int, int, @Nullable String);
15388    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isAnyRadioPoweredOn();
15389    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isApnMetered(int);
15390    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isApplicationOnUicc(int);
15391    method @FlaggedApi("com.android.internal.telephony.flags.enable_identifier_disclosure_transparency") @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isCellularIdentifierDisclosureNotificationsEnabled();
15392    method public boolean isDataConnectivityPossible();
15393    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isDataEnabledForApn(int);
15394    method @FlaggedApi("com.android.internal.telephony.flags.use_oem_domain_selection_service") @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isDomainSelectionSupported();
15395    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isEmergencyAssistanceEnabled();
15396    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public boolean isIccLockEnabled();
15397    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isIdle();
15398    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isInEmergencySmsMode();
15399    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isLteCdmaEvdoGsmWcdmaEnabled();
15400    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isMobileDataPolicyEnabled(int);
15401    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isNrDualConnectivityEnabled();
15402    method @FlaggedApi("com.android.internal.telephony.flags.enable_modem_cipher_transparency") @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isNullCipherNotificationsEnabled();
15403    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isOffhook();
15404    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isOpportunisticNetworkEnabled();
15405    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isPotentialEmergencyNumber(@NonNull String);
15406    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRadioOn();
15407    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRinging();
15408    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isTetheringApnRequired();
15409    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isVideoCallingEnabled();
15410    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public boolean isVisualVoicemailEnabled(android.telecom.PhoneAccountHandle);
15411    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean matchesCurrentSimOperator(@NonNull String, int, @Nullable String);
15412    method public boolean needsOtaServiceProvisioning();
15413    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void notifyOtaEmergencyNumberDbInstalled();
15414    method @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") @RequiresPermission(android.Manifest.permission.READ_DROPBOX_DATA) public void persistEmergencyCallDiagnosticData(@NonNull String, @NonNull android.telephony.TelephonyManager.EmergencyCallDiagnosticData);
15415    method @RequiresPermission(android.Manifest.permission.REBOOT) public int prepareForUnattendedReboot();
15416    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean rebootRadio();
15417    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void registerCarrierPrivilegesCallback(int, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.TelephonyManager.CarrierPrivilegesCallback);
15418    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void reportDefaultNetworkStatus(boolean);
15419    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);
15420    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void requestModemActivityInfo(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<android.telephony.ModemActivityInfo,android.telephony.TelephonyManager.ModemActivityInfoException>);
15421    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);
15422    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void requestRadioPowerOffForReason(int);
15423    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void resetAllCarrierActions();
15424    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void resetCarrierKeysForImsiEncryption();
15425    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public void resetIms(int);
15426    method @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void resetOtaEmergencyNumberDbFilePath();
15427    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean resetRadioConfig();
15428    method @RequiresPermission(android.Manifest.permission.CONNECTIVITY_INTERNAL) public void resetSettings();
15429    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int sendThermalMitigationRequest(@NonNull android.telephony.ThermalMitigationRequest);
15430    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int setAllowedCarriers(int, java.util.List<android.service.carrier.CarrierIdentifier>);
15431    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setAllowedNetworkTypes(long);
15432    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCallForwarding(@NonNull android.telephony.CallForwardingInfo, @Nullable java.util.concurrent.Executor, @Nullable java.util.function.Consumer<java.lang.Integer>);
15433    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCallWaitingEnabled(boolean, @Nullable java.util.concurrent.Executor, @Nullable java.util.function.Consumer<java.lang.Integer>);
15434    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCarrierDataEnabled(boolean);
15435    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int setCarrierRestrictionRules(@NonNull android.telephony.CarrierRestrictionRules);
15436    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCdmaRoamingMode(int);
15437    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCdmaSubscriptionMode(int);
15438    method @RequiresPermission(android.Manifest.permission.MODIFY_CELL_BROADCASTS) public void setCellBroadcastIdRanges(@NonNull java.util.List<android.telephony.CellBroadcastIdRange>, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
15439    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDataActivationState(int);
15440    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDataEnabled(int, boolean);
15441    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDataRoamingEnabled(boolean);
15442    method @FlaggedApi("com.android.internal.telephony.flags.enable_identifier_disclosure_transparency") @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setEnableCellularIdentifierDisclosureNotifications(boolean);
15443    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.PinResult setIccLockEnabled(boolean, @NonNull String);
15444    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setMobileDataPolicyEnabled(int, boolean);
15445    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setMultiSimCarrierRestriction(boolean);
15446    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int setNrDualConnectivityState(int);
15447    method @FlaggedApi("com.android.internal.telephony.flags.enable_modem_cipher_transparency") @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setNullCipherNotificationsEnabled(boolean);
15448    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setOpportunisticNetworkState(boolean);
15449    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setPreferredNetworkTypeBitmask(long);
15450    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setRadio(boolean);
15451    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setRadioEnabled(boolean);
15452    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setRadioPower(boolean);
15453    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimPowerState(int);
15454    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimPowerState(int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
15455    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimPowerStateForSlot(int, int);
15456    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimPowerStateForSlot(int, int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
15457    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimSlotMapping(@NonNull java.util.Collection<android.telephony.UiccSlotMapping>);
15458    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>);
15459    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSystemSelectionChannels(@NonNull java.util.List<android.telephony.RadioAccessSpecifier>);
15460    method @Deprecated public void setVisualVoicemailEnabled(android.telecom.PhoneAccountHandle, boolean);
15461    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoiceActivationState(int);
15462    method @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") @RequiresPermission(android.Manifest.permission.BIND_TELECOM_CONNECTION_SERVICE) public void setVoiceServiceStateOverride(boolean);
15463    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void shutdownAllRadios();
15464    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.PinResult supplyIccLockPin(@NonNull String);
15465    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.PinResult supplyIccLockPuk(@NonNull String, @NonNull String);
15466    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean supplyPin(String);
15467    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int[] supplyPinReportResult(String);
15468    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean supplyPuk(String, String);
15469    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int[] supplyPukReportResult(String, String);
15470    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean switchSlots(int[]);
15471    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void toggleRadioOnOff();
15472    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void unregisterCarrierPrivilegesCallback(@NonNull android.telephony.TelephonyManager.CarrierPrivilegesCallback);
15473    method @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void updateOtaEmergencyNumberDbFilePath(@NonNull android.os.ParcelFileDescriptor);
15474    method public void updateServiceLocation();
15475    field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final String ACTION_ANOMALY_REPORTED = "android.telephony.action.ANOMALY_REPORTED";
15476    field public static final String ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED = "android.intent.action.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED";
15477    field public static final String ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED = "android.intent.action.ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED";
15478    field public static final String ACTION_EMERGENCY_ASSISTANCE = "android.telephony.action.EMERGENCY_ASSISTANCE";
15479    field public static final String ACTION_EMERGENCY_CALLBACK_MODE_CHANGED = "android.intent.action.EMERGENCY_CALLBACK_MODE_CHANGED";
15480    field public static final String ACTION_EMERGENCY_CALL_STATE_CHANGED = "android.intent.action.EMERGENCY_CALL_STATE_CHANGED";
15481    field public static final String ACTION_REQUEST_OMADM_CONFIGURATION_UPDATE = "com.android.omadm.service.CONFIGURATION_UPDATE";
15482    field public static final String ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS = "android.telephony.action.SHOW_NOTICE_ECM_BLOCK_OTHERS";
15483    field public static final String ACTION_SIM_APPLICATION_STATE_CHANGED = "android.telephony.action.SIM_APPLICATION_STATE_CHANGED";
15484    field public static final String ACTION_SIM_CARD_STATE_CHANGED = "android.telephony.action.SIM_CARD_STATE_CHANGED";
15485    field public static final String ACTION_SIM_SLOT_STATUS_CHANGED = "android.telephony.action.SIM_SLOT_STATUS_CHANGED";
15486    field public static final int ALLOWED_NETWORK_TYPES_REASON_ENABLE_2G = 3; // 0x3
15487    field public static final int ALLOWED_NETWORK_TYPES_REASON_POWER = 1; // 0x1
15488    field public static final int CALL_WAITING_STATUS_DISABLED = 2; // 0x2
15489    field public static final int CALL_WAITING_STATUS_ENABLED = 1; // 0x1
15490    field public static final int CALL_WAITING_STATUS_FDN_CHECK_FAILURE = 5; // 0x5
15491    field public static final int CALL_WAITING_STATUS_NOT_SUPPORTED = 4; // 0x4
15492    field public static final int CALL_WAITING_STATUS_UNKNOWN_ERROR = 3; // 0x3
15493    field public static final String CAPABILITY_NR_DUAL_CONNECTIVITY_CONFIGURATION_AVAILABLE = "CAPABILITY_NR_DUAL_CONNECTIVITY_CONFIGURATION_AVAILABLE";
15494    field public static final String CAPABILITY_SECONDARY_LINK_BANDWIDTH_VISIBLE = "CAPABILITY_SECONDARY_LINK_BANDWIDTH_VISIBLE";
15495    field public static final String CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING = "CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING";
15496    field public static final String CAPABILITY_USES_ALLOWED_NETWORK_TYPES_BITMASK = "CAPABILITY_USES_ALLOWED_NETWORK_TYPES_BITMASK";
15497    field public static final int CARRIER_PRIVILEGE_STATUS_ERROR_LOADING_RULES = -2; // 0xfffffffe
15498    field public static final int CARRIER_PRIVILEGE_STATUS_HAS_ACCESS = 1; // 0x1
15499    field public static final int CARRIER_PRIVILEGE_STATUS_NO_ACCESS = 0; // 0x0
15500    field public static final int CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED = -1; // 0xffffffff
15501    field public static final int CDMA_SUBSCRIPTION_NV = 1; // 0x1
15502    field public static final int CDMA_SUBSCRIPTION_RUIM_SIM = 0; // 0x0
15503    field public static final int CDMA_SUBSCRIPTION_UNKNOWN = -1; // 0xffffffff
15504    field public static final int CELL_BROADCAST_RESULT_FAIL_ACTIVATION = 3; // 0x3
15505    field public static final int CELL_BROADCAST_RESULT_FAIL_CONFIG = 2; // 0x2
15506    field public static final int CELL_BROADCAST_RESULT_SUCCESS = 0; // 0x0
15507    field public static final int CELL_BROADCAST_RESULT_UNKNOWN = -1; // 0xffffffff
15508    field public static final int CELL_BROADCAST_RESULT_UNSUPPORTED = 1; // 0x1
15509    field public static final int ENABLE_NR_DUAL_CONNECTIVITY_INVALID_STATE = 4; // 0x4
15510    field public static final int ENABLE_NR_DUAL_CONNECTIVITY_NOT_SUPPORTED = 1; // 0x1
15511    field public static final int ENABLE_NR_DUAL_CONNECTIVITY_RADIO_ERROR = 3; // 0x3
15512    field public static final int ENABLE_NR_DUAL_CONNECTIVITY_RADIO_NOT_AVAILABLE = 2; // 0x2
15513    field public static final int ENABLE_NR_DUAL_CONNECTIVITY_SUCCESS = 0; // 0x0
15514    field public static final String EXTRA_ANOMALY_DESCRIPTION = "android.telephony.extra.ANOMALY_DESCRIPTION";
15515    field public static final String EXTRA_ANOMALY_ID = "android.telephony.extra.ANOMALY_ID";
15516    field public static final String EXTRA_PHONE_IN_ECM_STATE = "android.telephony.extra.PHONE_IN_ECM_STATE";
15517    field public static final String EXTRA_PHONE_IN_EMERGENCY_CALL = "android.telephony.extra.PHONE_IN_EMERGENCY_CALL";
15518    field public static final String EXTRA_SIM_STATE = "android.telephony.extra.SIM_STATE";
15519    field public static final String EXTRA_VISUAL_VOICEMAIL_ENABLED_BY_USER_BOOL = "android.telephony.extra.VISUAL_VOICEMAIL_ENABLED_BY_USER_BOOL";
15520    field public static final String EXTRA_VOICEMAIL_SCRAMBLED_PIN_STRING = "android.telephony.extra.VOICEMAIL_SCRAMBLED_PIN_STRING";
15521    field public static final int GBA_FAILURE_REASON_FEATURE_NOT_READY = 2; // 0x2
15522    field public static final int GBA_FAILURE_REASON_FEATURE_NOT_SUPPORTED = 1; // 0x1
15523    field public static final int GBA_FAILURE_REASON_INCORRECT_NAF_ID = 4; // 0x4
15524    field public static final int GBA_FAILURE_REASON_NETWORK_FAILURE = 3; // 0x3
15525    field public static final int GBA_FAILURE_REASON_SECURITY_PROTOCOL_NOT_SUPPORTED = 5; // 0x5
15526    field public static final int GBA_FAILURE_REASON_UNKNOWN = 0; // 0x0
15527    field public static final int INVALID_EMERGENCY_NUMBER_DB_VERSION = -1; // 0xffffffff
15528    field public static final int KEY_TYPE_EPDG = 1; // 0x1
15529    field public static final int KEY_TYPE_WLAN = 2; // 0x2
15530    field public static final int MOBILE_DATA_POLICY_AUTO_DATA_SWITCH = 3; // 0x3
15531    field public static final int MOBILE_DATA_POLICY_DATA_ON_NON_DEFAULT_DURING_VOICE_CALL = 1; // 0x1
15532    field public static final int MOBILE_DATA_POLICY_MMS_ALWAYS_ALLOWED = 2; // 0x2
15533    field public static final int NR_DUAL_CONNECTIVITY_DISABLE = 2; // 0x2
15534    field public static final int NR_DUAL_CONNECTIVITY_DISABLE_IMMEDIATE = 3; // 0x3
15535    field public static final int NR_DUAL_CONNECTIVITY_ENABLE = 1; // 0x1
15536    field public static final int PREPARE_UNATTENDED_REBOOT_ERROR = 2; // 0x2
15537    field public static final int PREPARE_UNATTENDED_REBOOT_PIN_REQUIRED = 1; // 0x1
15538    field public static final int PREPARE_UNATTENDED_REBOOT_SUCCESS = 0; // 0x0
15539    field public static final int RADIO_POWER_OFF = 0; // 0x0
15540    field public static final int RADIO_POWER_ON = 1; // 0x1
15541    field public static final int RADIO_POWER_REASON_CARRIER = 2; // 0x2
15542    field public static final int RADIO_POWER_REASON_NEARBY_DEVICE = 3; // 0x3
15543    field public static final int RADIO_POWER_REASON_THERMAL = 1; // 0x1
15544    field public static final int RADIO_POWER_REASON_USER = 0; // 0x0
15545    field public static final int RADIO_POWER_UNAVAILABLE = 2; // 0x2
15546    field public static final int SET_CARRIER_RESTRICTION_ERROR = 2; // 0x2
15547    field public static final int SET_CARRIER_RESTRICTION_NOT_SUPPORTED = 1; // 0x1
15548    field public static final int SET_CARRIER_RESTRICTION_SUCCESS = 0; // 0x0
15549    field public static final int SET_SIM_POWER_STATE_ALREADY_IN_STATE = 1; // 0x1
15550    field public static final int SET_SIM_POWER_STATE_MODEM_ERROR = 2; // 0x2
15551    field public static final int SET_SIM_POWER_STATE_NOT_SUPPORTED = 4; // 0x4
15552    field public static final int SET_SIM_POWER_STATE_SIM_ERROR = 3; // 0x3
15553    field public static final int SET_SIM_POWER_STATE_SUCCESS = 0; // 0x0
15554    field public static final int SIM_ACTIVATION_STATE_ACTIVATED = 2; // 0x2
15555    field public static final int SIM_ACTIVATION_STATE_ACTIVATING = 1; // 0x1
15556    field public static final int SIM_ACTIVATION_STATE_DEACTIVATED = 3; // 0x3
15557    field public static final int SIM_ACTIVATION_STATE_RESTRICTED = 4; // 0x4
15558    field public static final int SIM_ACTIVATION_STATE_UNKNOWN = 0; // 0x0
15559    field public static final int SIM_STATE_LOADED = 10; // 0xa
15560    field public static final int SIM_STATE_PRESENT = 11; // 0xb
15561    field public static final int SRVCC_STATE_HANDOVER_CANCELED = 3; // 0x3
15562    field public static final int SRVCC_STATE_HANDOVER_COMPLETED = 1; // 0x1
15563    field public static final int SRVCC_STATE_HANDOVER_FAILED = 2; // 0x2
15564    field public static final int SRVCC_STATE_HANDOVER_NONE = -1; // 0xffffffff
15565    field public static final int SRVCC_STATE_HANDOVER_STARTED = 0; // 0x0
15566    field public static final int THERMAL_MITIGATION_RESULT_INVALID_STATE = 3; // 0x3
15567    field public static final int THERMAL_MITIGATION_RESULT_MODEM_ERROR = 1; // 0x1
15568    field public static final int THERMAL_MITIGATION_RESULT_MODEM_NOT_AVAILABLE = 2; // 0x2
15569    field public static final int THERMAL_MITIGATION_RESULT_SUCCESS = 0; // 0x0
15570    field public static final int THERMAL_MITIGATION_RESULT_UNKNOWN_ERROR = 4; // 0x4
15571  }
15572
15573  public static class TelephonyManager.BootstrapAuthenticationCallback {
15574    ctor public TelephonyManager.BootstrapAuthenticationCallback();
15575    method public void onAuthenticationFailure(int);
15576    method public void onKeysAvailable(@NonNull byte[], @NonNull String);
15577  }
15578
15579  public static interface TelephonyManager.CallForwardingInfoCallback {
15580    method public void onCallForwardingInfoAvailable(@NonNull android.telephony.CallForwardingInfo);
15581    method public void onError(int);
15582    field public static final int RESULT_ERROR_FDN_CHECK_FAILURE = 2; // 0x2
15583    field public static final int RESULT_ERROR_NOT_SUPPORTED = 3; // 0x3
15584    field public static final int RESULT_ERROR_UNKNOWN = 1; // 0x1
15585    field public static final int RESULT_SUCCESS = 0; // 0x0
15586  }
15587
15588  public static interface TelephonyManager.CarrierPrivilegesCallback {
15589    method public void onCarrierPrivilegesChanged(@NonNull java.util.Set<java.lang.String>, @NonNull java.util.Set<java.lang.Integer>);
15590    method public default void onCarrierServiceChanged(@Nullable String, int);
15591  }
15592
15593  @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public static final class TelephonyManager.EmergencyCallDiagnosticData {
15594    method public long getLogcatCollectionStartTimeMillis();
15595    method public boolean isLogcatCollectionEnabled();
15596    method public boolean isTelecomDumpsysCollectionEnabled();
15597    method public boolean isTelephonyDumpsysCollectionEnabled();
15598  }
15599
15600  public static final class TelephonyManager.EmergencyCallDiagnosticData.Builder {
15601    ctor public TelephonyManager.EmergencyCallDiagnosticData.Builder();
15602    method @NonNull public android.telephony.TelephonyManager.EmergencyCallDiagnosticData build();
15603    method @NonNull public android.telephony.TelephonyManager.EmergencyCallDiagnosticData.Builder setLogcatCollectionStartTimeMillis(long);
15604    method @NonNull public android.telephony.TelephonyManager.EmergencyCallDiagnosticData.Builder setTelecomDumpsysCollectionEnabled(boolean);
15605    method @NonNull public android.telephony.TelephonyManager.EmergencyCallDiagnosticData.Builder setTelephonyDumpsysCollectionEnabled(boolean);
15606  }
15607
15608  public static class TelephonyManager.ModemActivityInfoException extends java.lang.Exception {
15609    ctor public TelephonyManager.ModemActivityInfoException(int);
15610    method public int getErrorCode();
15611    field public static final int ERROR_INVALID_INFO_RECEIVED = 2; // 0x2
15612    field public static final int ERROR_MODEM_RESPONSE_ERROR = 3; // 0x3
15613    field public static final int ERROR_PHONE_NOT_AVAILABLE = 1; // 0x1
15614    field public static final int ERROR_UNKNOWN = 0; // 0x0
15615  }
15616
15617  @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public class TelephonyRegistryManager {
15618    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void notifyCallStateChangedForAllSubscriptions(int, @Nullable String);
15619    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void notifyOutgoingEmergencyCall(int, int, @NonNull android.telephony.emergency.EmergencyNumber);
15620  }
15621
15622  public final class ThermalMitigationRequest implements android.os.Parcelable {
15623    method public int describeContents();
15624    method @Nullable public android.telephony.DataThrottlingRequest getDataThrottlingRequest();
15625    method public int getThermalMitigationAction();
15626    method public void writeToParcel(@NonNull android.os.Parcel, int);
15627    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ThermalMitigationRequest> CREATOR;
15628    field public static final int THERMAL_MITIGATION_ACTION_DATA_THROTTLING = 0; // 0x0
15629    field public static final int THERMAL_MITIGATION_ACTION_RADIO_OFF = 2; // 0x2
15630    field public static final int THERMAL_MITIGATION_ACTION_VOICE_ONLY = 1; // 0x1
15631  }
15632
15633  public static final class ThermalMitigationRequest.Builder {
15634    ctor public ThermalMitigationRequest.Builder();
15635    method @NonNull public android.telephony.ThermalMitigationRequest build();
15636    method @NonNull public android.telephony.ThermalMitigationRequest.Builder setDataThrottlingRequest(@NonNull android.telephony.DataThrottlingRequest);
15637    method @NonNull public android.telephony.ThermalMitigationRequest.Builder setThermalMitigationAction(int);
15638  }
15639
15640  @FlaggedApi("com.android.internal.telephony.flags.use_oem_domain_selection_service") public interface TransportSelectorCallback {
15641    method public void onCreated(@NonNull android.telephony.DomainSelector);
15642    method public void onSelectionTerminated(int);
15643    method public void onWlanSelected(boolean);
15644    method public void onWwanSelected(@NonNull java.util.function.Consumer<android.telephony.WwanSelectorCallback>);
15645  }
15646
15647  public final class UiccAccessRule implements android.os.Parcelable {
15648    ctor public UiccAccessRule(byte[], @Nullable String, long);
15649    method public int describeContents();
15650    method public int getCarrierPrivilegeStatus(android.content.pm.PackageInfo);
15651    method public int getCarrierPrivilegeStatus(android.content.pm.Signature, String);
15652    method public String getCertificateHexString();
15653    method @Nullable public String getPackageName();
15654    method public void writeToParcel(android.os.Parcel, int);
15655    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.UiccAccessRule> CREATOR;
15656  }
15657
15658  public class UiccSlotInfo implements android.os.Parcelable {
15659    ctor @Deprecated public UiccSlotInfo(boolean, boolean, String, int, int, boolean);
15660    method public int describeContents();
15661    method public String getCardId();
15662    method public int getCardStateInfo();
15663    method @Deprecated public boolean getIsActive();
15664    method public boolean getIsEuicc();
15665    method public boolean getIsExtendedApduSupported();
15666    method @Deprecated public int getLogicalSlotIdx();
15667    method @NonNull public java.util.Collection<android.telephony.UiccPortInfo> getPorts();
15668    method public boolean isRemovable();
15669    method public void writeToParcel(android.os.Parcel, int);
15670    field public static final int CARD_STATE_INFO_ABSENT = 1; // 0x1
15671    field public static final int CARD_STATE_INFO_ERROR = 3; // 0x3
15672    field public static final int CARD_STATE_INFO_PRESENT = 2; // 0x2
15673    field public static final int CARD_STATE_INFO_RESTRICTED = 4; // 0x4
15674    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.UiccSlotInfo> CREATOR;
15675  }
15676
15677  public final class UiccSlotMapping implements android.os.Parcelable {
15678    ctor public UiccSlotMapping(int, int, int);
15679    method public int describeContents();
15680    method @IntRange(from=0) public int getLogicalSlotIndex();
15681    method @IntRange(from=0) public int getPhysicalSlotIndex();
15682    method @IntRange(from=0) public int getPortIndex();
15683    method public void writeToParcel(@Nullable android.os.Parcel, int);
15684    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.UiccSlotMapping> CREATOR;
15685  }
15686
15687  public abstract class VisualVoicemailService extends android.app.Service {
15688    method public static final void sendVisualVoicemailSms(android.content.Context, android.telecom.PhoneAccountHandle, String, short, String, android.app.PendingIntent);
15689    method public static final void setSmsFilterSettings(android.content.Context, android.telecom.PhoneAccountHandle, android.telephony.VisualVoicemailSmsFilterSettings);
15690  }
15691
15692  public abstract class VopsSupportInfo implements android.os.Parcelable {
15693    method public int describeContents();
15694    method public abstract boolean equals(Object);
15695    method public abstract int hashCode();
15696    method public abstract boolean isEmergencyServiceFallbackSupported();
15697    method public abstract boolean isEmergencyServiceSupported();
15698    method public abstract boolean isVopsSupported();
15699    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.VopsSupportInfo> CREATOR;
15700  }
15701
15702  @FlaggedApi("com.android.internal.telephony.flags.use_oem_domain_selection_service") public interface WwanSelectorCallback {
15703    method public void onDomainSelected(int, boolean);
15704    method public void onRequestEmergencyNetworkScan(@NonNull java.util.List<java.lang.Integer>, int, boolean, @NonNull android.os.CancellationSignal, @NonNull java.util.function.Consumer<android.telephony.EmergencyRegistrationResult>);
15705  }
15706
15707}
15708
15709package android.telephony.cdma {
15710
15711  public final class CdmaSmsCbProgramData implements android.os.Parcelable {
15712    method public int describeContents();
15713    method public int getCategory();
15714    method public int getOperation();
15715    method public void writeToParcel(android.os.Parcel, int);
15716    field public static final int CATEGORY_CMAS_CHILD_ABDUCTION_EMERGENCY = 4099; // 0x1003
15717    field public static final int CATEGORY_CMAS_EXTREME_THREAT = 4097; // 0x1001
15718    field public static final int CATEGORY_CMAS_LAST_RESERVED_VALUE = 4351; // 0x10ff
15719    field public static final int CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT = 4096; // 0x1000
15720    field public static final int CATEGORY_CMAS_SEVERE_THREAT = 4098; // 0x1002
15721    field public static final int CATEGORY_CMAS_TEST_MESSAGE = 4100; // 0x1004
15722    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.cdma.CdmaSmsCbProgramData> CREATOR;
15723    field public static final int OPERATION_ADD_CATEGORY = 1; // 0x1
15724    field public static final int OPERATION_CLEAR_CATEGORIES = 2; // 0x2
15725    field public static final int OPERATION_DELETE_CATEGORY = 0; // 0x0
15726  }
15727
15728}
15729
15730package android.telephony.data {
15731
15732  public class ApnSetting implements android.os.Parcelable {
15733    method public static int getApnTypeInt(@NonNull String);
15734    method @NonNull public static String getApnTypeString(int);
15735    field public static final String TYPE_ALL_STRING = "*";
15736    field public static final String TYPE_BIP_STRING = "bip";
15737    field public static final String TYPE_CBS_STRING = "cbs";
15738    field public static final String TYPE_DEFAULT_STRING = "default";
15739    field public static final String TYPE_DUN_STRING = "dun";
15740    field public static final String TYPE_EMERGENCY_STRING = "emergency";
15741    field public static final String TYPE_ENTERPRISE_STRING = "enterprise";
15742    field public static final String TYPE_FOTA_STRING = "fota";
15743    field public static final String TYPE_HIPRI_STRING = "hipri";
15744    field public static final String TYPE_IA_STRING = "ia";
15745    field public static final String TYPE_IMS_STRING = "ims";
15746    field public static final String TYPE_MCX_STRING = "mcx";
15747    field public static final String TYPE_MMS_STRING = "mms";
15748    field @FlaggedApi("com.android.internal.telephony.flags.carrier_enabled_satellite_flag") public static final String TYPE_RCS_STRING = "rcs";
15749    field public static final String TYPE_SUPL_STRING = "supl";
15750    field public static final String TYPE_VSIM_STRING = "vsim";
15751    field public static final String TYPE_XCAP_STRING = "xcap";
15752  }
15753
15754  public final class DataCallResponse implements android.os.Parcelable {
15755    method public int describeContents();
15756    method @NonNull public java.util.List<android.net.LinkAddress> getAddresses();
15757    method public int getCause();
15758    method @NonNull public java.util.List<java.net.InetAddress> getDnsAddresses();
15759    method @NonNull public java.util.List<java.net.InetAddress> getGatewayAddresses();
15760    method public int getHandoverFailureMode();
15761    method public int getId();
15762    method @NonNull public String getInterfaceName();
15763    method public int getLinkStatus();
15764    method @Deprecated public int getMtu();
15765    method public int getMtuV4();
15766    method public int getMtuV6();
15767    method @FlaggedApi("com.android.internal.telephony.flags.network_validation") public int getNetworkValidationStatus();
15768    method @NonNull public java.util.List<java.net.InetAddress> getPcscfAddresses();
15769    method public int getPduSessionId();
15770    method public int getProtocolType();
15771    method public long getRetryDurationMillis();
15772    method @Nullable public android.telephony.data.NetworkSliceInfo getSliceInfo();
15773    method @Deprecated public int getSuggestedRetryTime();
15774    method @NonNull public java.util.List<android.telephony.data.TrafficDescriptor> getTrafficDescriptors();
15775    method public void writeToParcel(android.os.Parcel, int);
15776    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.DataCallResponse> CREATOR;
15777    field public static final int HANDOVER_FAILURE_MODE_DO_FALLBACK = 1; // 0x1
15778    field public static final int HANDOVER_FAILURE_MODE_LEGACY = 0; // 0x0
15779    field public static final int HANDOVER_FAILURE_MODE_NO_FALLBACK_RETRY_HANDOVER = 2; // 0x2
15780    field public static final int HANDOVER_FAILURE_MODE_NO_FALLBACK_RETRY_SETUP_NORMAL = 3; // 0x3
15781    field public static final int HANDOVER_FAILURE_MODE_UNKNOWN = -1; // 0xffffffff
15782    field public static final int LINK_STATUS_ACTIVE = 2; // 0x2
15783    field public static final int LINK_STATUS_DORMANT = 1; // 0x1
15784    field public static final int LINK_STATUS_INACTIVE = 0; // 0x0
15785    field public static final int LINK_STATUS_UNKNOWN = -1; // 0xffffffff
15786    field public static final int PDU_SESSION_ID_NOT_SET = 0; // 0x0
15787    field public static final int RETRY_DURATION_UNDEFINED = -1; // 0xffffffff
15788  }
15789
15790  public static final class DataCallResponse.Builder {
15791    ctor public DataCallResponse.Builder();
15792    method @NonNull public android.telephony.data.DataCallResponse build();
15793    method @NonNull public android.telephony.data.DataCallResponse.Builder setAddresses(@NonNull java.util.List<android.net.LinkAddress>);
15794    method @NonNull public android.telephony.data.DataCallResponse.Builder setCause(int);
15795    method @NonNull public android.telephony.data.DataCallResponse.Builder setDnsAddresses(@NonNull java.util.List<java.net.InetAddress>);
15796    method @NonNull public android.telephony.data.DataCallResponse.Builder setGatewayAddresses(@NonNull java.util.List<java.net.InetAddress>);
15797    method @NonNull public android.telephony.data.DataCallResponse.Builder setHandoverFailureMode(int);
15798    method @NonNull public android.telephony.data.DataCallResponse.Builder setId(int);
15799    method @NonNull public android.telephony.data.DataCallResponse.Builder setInterfaceName(@Nullable String);
15800    method @NonNull public android.telephony.data.DataCallResponse.Builder setLinkStatus(int);
15801    method @Deprecated @NonNull public android.telephony.data.DataCallResponse.Builder setMtu(int);
15802    method @NonNull public android.telephony.data.DataCallResponse.Builder setMtuV4(int);
15803    method @NonNull public android.telephony.data.DataCallResponse.Builder setMtuV6(int);
15804    method @FlaggedApi("com.android.internal.telephony.flags.network_validation") @NonNull public android.telephony.data.DataCallResponse.Builder setNetworkValidationStatus(int);
15805    method @NonNull public android.telephony.data.DataCallResponse.Builder setPcscfAddresses(@NonNull java.util.List<java.net.InetAddress>);
15806    method @NonNull public android.telephony.data.DataCallResponse.Builder setPduSessionId(@IntRange(from=android.telephony.data.DataCallResponse.PDU_SESSION_ID_NOT_SET, to=15) int);
15807    method @NonNull public android.telephony.data.DataCallResponse.Builder setProtocolType(int);
15808    method @NonNull public android.telephony.data.DataCallResponse.Builder setRetryDurationMillis(long);
15809    method @NonNull public android.telephony.data.DataCallResponse.Builder setSliceInfo(@Nullable android.telephony.data.NetworkSliceInfo);
15810    method @Deprecated @NonNull public android.telephony.data.DataCallResponse.Builder setSuggestedRetryTime(int);
15811    method @NonNull public android.telephony.data.DataCallResponse.Builder setTrafficDescriptors(@NonNull java.util.List<android.telephony.data.TrafficDescriptor>);
15812  }
15813
15814  public final class DataProfile implements android.os.Parcelable {
15815    method public int describeContents();
15816    method @Deprecated @NonNull public String getApn();
15817    method @Nullable public android.telephony.data.ApnSetting getApnSetting();
15818    method @Deprecated public int getAuthType();
15819    method @Deprecated public int getBearerBitmask();
15820    method @Deprecated public int getMtu();
15821    method @Deprecated public int getMtuV4();
15822    method @Deprecated public int getMtuV6();
15823    method @Deprecated @Nullable public String getPassword();
15824    method @Deprecated public int getProfileId();
15825    method @Deprecated public int getProtocolType();
15826    method @Deprecated public int getRoamingProtocolType();
15827    method @Deprecated public int getSupportedApnTypesBitmask();
15828    method @Nullable public android.telephony.data.TrafficDescriptor getTrafficDescriptor();
15829    method public int getType();
15830    method @Deprecated @Nullable public String getUserName();
15831    method public boolean isEnabled();
15832    method @Deprecated public boolean isPersistent();
15833    method public boolean isPreferred();
15834    method public void writeToParcel(android.os.Parcel, int);
15835    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.DataProfile> CREATOR;
15836    field public static final int TYPE_3GPP = 1; // 0x1
15837    field public static final int TYPE_3GPP2 = 2; // 0x2
15838    field public static final int TYPE_COMMON = 0; // 0x0
15839  }
15840
15841  public static final class DataProfile.Builder {
15842    ctor public DataProfile.Builder();
15843    method @NonNull public android.telephony.data.DataProfile build();
15844    method @NonNull public android.telephony.data.DataProfile.Builder enable(boolean);
15845    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setApn(@NonNull String);
15846    method @NonNull public android.telephony.data.DataProfile.Builder setApnSetting(@NonNull android.telephony.data.ApnSetting);
15847    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setAuthType(int);
15848    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setBearerBitmask(int);
15849    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setMtu(int);
15850    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setMtuV4(int);
15851    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setMtuV6(int);
15852    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setPassword(@NonNull String);
15853    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setPersistent(boolean);
15854    method @NonNull public android.telephony.data.DataProfile.Builder setPreferred(boolean);
15855    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setProfileId(int);
15856    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setProtocolType(int);
15857    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setRoamingProtocolType(int);
15858    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setSupportedApnTypesBitmask(int);
15859    method @NonNull public android.telephony.data.DataProfile.Builder setTrafficDescriptor(@NonNull android.telephony.data.TrafficDescriptor);
15860    method @NonNull public android.telephony.data.DataProfile.Builder setType(int);
15861    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setUserName(@NonNull String);
15862  }
15863
15864  public abstract class DataService extends android.app.Service {
15865    ctor public DataService();
15866    method public android.os.IBinder onBind(android.content.Intent);
15867    method @Nullable public abstract android.telephony.data.DataService.DataServiceProvider onCreateDataServiceProvider(int);
15868    field public static final int REQUEST_REASON_HANDOVER = 3; // 0x3
15869    field public static final int REQUEST_REASON_NORMAL = 1; // 0x1
15870    field public static final int REQUEST_REASON_SHUTDOWN = 2; // 0x2
15871    field public static final int REQUEST_REASON_UNKNOWN = 0; // 0x0
15872    field public static final String SERVICE_INTERFACE = "android.telephony.data.DataService";
15873  }
15874
15875  public abstract class DataService.DataServiceProvider implements java.lang.AutoCloseable {
15876    ctor public DataService.DataServiceProvider(int);
15877    method public abstract void close();
15878    method public void deactivateDataCall(int, int, @Nullable android.telephony.data.DataServiceCallback);
15879    method public final int getSlotIndex();
15880    method public final void notifyApnUnthrottled(@NonNull String);
15881    method public final void notifyDataCallListChanged(java.util.List<android.telephony.data.DataCallResponse>);
15882    method public final void notifyDataProfileUnthrottled(@NonNull android.telephony.data.DataProfile);
15883    method public void requestDataCallList(@NonNull android.telephony.data.DataServiceCallback);
15884    method @FlaggedApi("com.android.internal.telephony.flags.network_validation") public void requestNetworkValidation(int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
15885    method public void setDataProfile(@NonNull java.util.List<android.telephony.data.DataProfile>, boolean, @NonNull android.telephony.data.DataServiceCallback);
15886    method public void setInitialAttachApn(@NonNull android.telephony.data.DataProfile, boolean, @NonNull android.telephony.data.DataServiceCallback);
15887    method public void setupDataCall(int, @NonNull android.telephony.data.DataProfile, boolean, boolean, int, @Nullable android.net.LinkProperties, @NonNull android.telephony.data.DataServiceCallback);
15888    method public void setupDataCall(int, @NonNull android.telephony.data.DataProfile, boolean, boolean, int, @Nullable android.net.LinkProperties, @IntRange(from=0, to=15) int, @Nullable android.telephony.data.NetworkSliceInfo, @Nullable android.telephony.data.TrafficDescriptor, boolean, @NonNull android.telephony.data.DataServiceCallback);
15889  }
15890
15891  public class DataServiceCallback {
15892    method public void onApnUnthrottled(@NonNull String);
15893    method public void onDataCallListChanged(@NonNull java.util.List<android.telephony.data.DataCallResponse>);
15894    method public void onDataProfileUnthrottled(@NonNull android.telephony.data.DataProfile);
15895    method public void onDeactivateDataCallComplete(int);
15896    method public void onRequestDataCallListComplete(int, @NonNull java.util.List<android.telephony.data.DataCallResponse>);
15897    method public void onSetDataProfileComplete(int);
15898    method public void onSetInitialAttachApnComplete(int);
15899    method public void onSetupDataCallComplete(int, @Nullable android.telephony.data.DataCallResponse);
15900    field public static final int RESULT_ERROR_BUSY = 3; // 0x3
15901    field public static final int RESULT_ERROR_ILLEGAL_STATE = 4; // 0x4
15902    field public static final int RESULT_ERROR_INVALID_ARG = 2; // 0x2
15903    field public static final int RESULT_ERROR_UNSUPPORTED = 1; // 0x1
15904    field public static final int RESULT_SUCCESS = 0; // 0x0
15905  }
15906
15907  public final class EpsBearerQosSessionAttributes implements android.os.Parcelable android.net.QosSessionAttributes {
15908    method public int describeContents();
15909    method public long getGuaranteedDownlinkBitRateKbps();
15910    method public long getGuaranteedUplinkBitRateKbps();
15911    method public long getMaxDownlinkBitRateKbps();
15912    method public long getMaxUplinkBitRateKbps();
15913    method public int getQosIdentifier();
15914    method @NonNull public java.util.List<java.net.InetSocketAddress> getRemoteAddresses();
15915    method public void writeToParcel(@NonNull android.os.Parcel, int);
15916    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.EpsBearerQosSessionAttributes> CREATOR;
15917  }
15918
15919  public final class NrQosSessionAttributes implements android.os.Parcelable android.net.QosSessionAttributes {
15920    method public int describeContents();
15921    method @NonNull public java.time.Duration getBitRateWindowDuration();
15922    method public long getGuaranteedDownlinkBitRateKbps();
15923    method public long getGuaranteedUplinkBitRateKbps();
15924    method public long getMaxDownlinkBitRateKbps();
15925    method public long getMaxUplinkBitRateKbps();
15926    method @IntRange(from=1, to=63) public int getQosFlowIdentifier();
15927    method public int getQosIdentifier();
15928    method @NonNull public java.util.List<java.net.InetSocketAddress> getRemoteAddresses();
15929    method public void writeToParcel(@NonNull android.os.Parcel, int);
15930    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.NrQosSessionAttributes> CREATOR;
15931  }
15932
15933  public abstract class QualifiedNetworksService extends android.app.Service {
15934    ctor public QualifiedNetworksService();
15935    method public android.os.IBinder onBind(android.content.Intent);
15936    method @NonNull public abstract android.telephony.data.QualifiedNetworksService.NetworkAvailabilityProvider onCreateNetworkAvailabilityProvider(int);
15937    field public static final String QUALIFIED_NETWORKS_SERVICE_INTERFACE = "android.telephony.data.QualifiedNetworksService";
15938  }
15939
15940  public abstract class QualifiedNetworksService.NetworkAvailabilityProvider implements java.lang.AutoCloseable {
15941    ctor public QualifiedNetworksService.NetworkAvailabilityProvider(int);
15942    method public abstract void close();
15943    method public final int getSlotIndex();
15944    method public void reportEmergencyDataNetworkPreferredTransportChanged(int);
15945    method public void reportThrottleStatusChanged(@NonNull java.util.List<android.telephony.data.ThrottleStatus>);
15946    method @FlaggedApi("com.android.internal.telephony.flags.network_validation") public void requestNetworkValidation(int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
15947    method public final void updateQualifiedNetworkTypes(int, @NonNull java.util.List<java.lang.Integer>);
15948  }
15949
15950  public final class ThrottleStatus implements android.os.Parcelable {
15951    method public int describeContents();
15952    method public int getApnType();
15953    method public int getRetryType();
15954    method public int getSlotIndex();
15955    method public long getThrottleExpiryTimeMillis();
15956    method public int getThrottleType();
15957    method public int getTransportType();
15958    method public void writeToParcel(@NonNull android.os.Parcel, int);
15959    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.ThrottleStatus> CREATOR;
15960    field public static final int RETRY_TYPE_HANDOVER = 3; // 0x3
15961    field public static final int RETRY_TYPE_NEW_CONNECTION = 2; // 0x2
15962    field public static final int RETRY_TYPE_NONE = 1; // 0x1
15963    field public static final int THROTTLE_TYPE_ELAPSED_TIME = 2; // 0x2
15964    field public static final int THROTTLE_TYPE_NONE = 1; // 0x1
15965  }
15966
15967  public static final class ThrottleStatus.Builder {
15968    ctor public ThrottleStatus.Builder();
15969    method @NonNull public android.telephony.data.ThrottleStatus build();
15970    method @NonNull public android.telephony.data.ThrottleStatus.Builder setApnType(int);
15971    method @NonNull public android.telephony.data.ThrottleStatus.Builder setNoThrottle();
15972    method @NonNull public android.telephony.data.ThrottleStatus.Builder setRetryType(int);
15973    method @NonNull public android.telephony.data.ThrottleStatus.Builder setSlotIndex(int);
15974    method @NonNull public android.telephony.data.ThrottleStatus.Builder setThrottleExpiryTimeMillis(long);
15975    method @NonNull public android.telephony.data.ThrottleStatus.Builder setTransportType(int);
15976  }
15977
15978}
15979
15980package android.telephony.euicc {
15981
15982  public final class DownloadableSubscription implements android.os.Parcelable {
15983    method public java.util.List<android.telephony.UiccAccessRule> getAccessRules();
15984    method @Nullable public String getCarrierName();
15985  }
15986
15987  public static final class DownloadableSubscription.Builder {
15988    ctor public DownloadableSubscription.Builder();
15989    method @NonNull public android.telephony.euicc.DownloadableSubscription.Builder setAccessRules(@NonNull java.util.List<android.telephony.UiccAccessRule>);
15990    method @NonNull public android.telephony.euicc.DownloadableSubscription.Builder setCarrierName(@NonNull String);
15991  }
15992
15993  public class EuiccCardManager {
15994    method public void authenticateServer(String, String, byte[], byte[], byte[], byte[], java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
15995    method public void cancelSession(String, byte[], int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
15996    method public void deleteProfile(String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>);
15997    method public void disableProfile(String, String, boolean, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>);
15998    method public void listNotifications(String, int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.telephony.euicc.EuiccNotification[]>);
15999    method public void loadBoundProfilePackage(String, byte[], java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
16000    method public void prepareDownload(String, @Nullable byte[], byte[], byte[], byte[], java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
16001    method public void removeNotificationFromList(String, int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>);
16002    method public void requestAllProfiles(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.service.euicc.EuiccProfileInfo[]>);
16003    method public void requestDefaultSmdpAddress(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.String>);
16004    method public void requestEnabledProfileForPort(@NonNull String, int, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.euicc.EuiccCardManager.ResultCallback<android.service.euicc.EuiccProfileInfo>);
16005    method public void requestEuiccChallenge(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
16006    method public void requestEuiccInfo1(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
16007    method public void requestEuiccInfo2(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
16008    method public void requestProfile(String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.service.euicc.EuiccProfileInfo>);
16009    method public void requestRulesAuthTable(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.telephony.euicc.EuiccRulesAuthTable>);
16010    method public void requestSmdsAddress(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.String>);
16011    method public void resetMemory(String, int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>);
16012    method public void retrieveNotification(String, int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.telephony.euicc.EuiccNotification>);
16013    method public void retrieveNotificationList(String, int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.telephony.euicc.EuiccNotification[]>);
16014    method public void setDefaultSmdpAddress(String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>);
16015    method public void setNickname(String, String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>);
16016    method @Deprecated public void switchToProfile(String, String, boolean, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.service.euicc.EuiccProfileInfo>);
16017    method public void switchToProfile(@Nullable String, @Nullable String, int, boolean, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.euicc.EuiccCardManager.ResultCallback<android.service.euicc.EuiccProfileInfo>);
16018    field public static final int CANCEL_REASON_END_USER_REJECTED = 0; // 0x0
16019    field public static final int CANCEL_REASON_POSTPONED = 1; // 0x1
16020    field public static final int CANCEL_REASON_PPR_NOT_ALLOWED = 3; // 0x3
16021    field public static final int CANCEL_REASON_TIMEOUT = 2; // 0x2
16022    field public static final int RESET_OPTION_DELETE_FIELD_LOADED_TEST_PROFILES = 2; // 0x2
16023    field public static final int RESET_OPTION_DELETE_OPERATIONAL_PROFILES = 1; // 0x1
16024    field public static final int RESET_OPTION_RESET_DEFAULT_SMDP_ADDRESS = 4; // 0x4
16025    field public static final int RESULT_CALLER_NOT_ALLOWED = -3; // 0xfffffffd
16026    field public static final int RESULT_EUICC_NOT_FOUND = -2; // 0xfffffffe
16027    field public static final int RESULT_OK = 0; // 0x0
16028    field public static final int RESULT_PROFILE_DOES_NOT_EXIST = -4; // 0xfffffffc
16029    field public static final int RESULT_PROFILE_NOT_FOUND = 1; // 0x1
16030    field public static final int RESULT_UNKNOWN_ERROR = -1; // 0xffffffff
16031  }
16032
16033  public static interface EuiccCardManager.ResultCallback<T> {
16034    method public void onComplete(int, T);
16035  }
16036
16037  public class EuiccManager {
16038    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void continueOperation(android.content.Intent, android.os.Bundle);
16039    method @Deprecated @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void eraseSubscriptions(@NonNull android.app.PendingIntent);
16040    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void eraseSubscriptions(int, @NonNull android.app.PendingIntent);
16041    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void getDefaultDownloadableSubscriptionList(android.app.PendingIntent);
16042    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void getDownloadableSubscriptionMetadata(android.telephony.euicc.DownloadableSubscription, android.app.PendingIntent);
16043    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public int getOtaStatus();
16044    method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public java.util.List<java.lang.String> getSupportedCountries();
16045    method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public java.util.List<java.lang.String> getUnsupportedCountries();
16046    method @FlaggedApi("com.android.internal.telephony.flags.support_psim_to_esim_conversion") @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public boolean isPsimConversionSupported(int);
16047    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public boolean isSupportedCountry(@NonNull String);
16048    method @FlaggedApi("com.android.internal.telephony.flags.support_psim_to_esim_conversion") @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void setPsimConversionSupportedCarriers(@NonNull java.util.Set<java.lang.Integer>);
16049    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void setSupportedCountries(@NonNull java.util.List<java.lang.String>);
16050    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void setUnsupportedCountries(@NonNull java.util.List<java.lang.String>);
16051    field @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public static final String ACTION_CONVERT_TO_EMBEDDED_SUBSCRIPTION = "android.telephony.euicc.action.CONVERT_TO_EMBEDDED_SUBSCRIPTION";
16052    field public static final String ACTION_DELETE_SUBSCRIPTION_PRIVILEGED = "android.telephony.euicc.action.DELETE_SUBSCRIPTION_PRIVILEGED";
16053    field @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public static final String ACTION_OTA_STATUS_CHANGED = "android.telephony.euicc.action.OTA_STATUS_CHANGED";
16054    field public static final String ACTION_PROVISION_EMBEDDED_SUBSCRIPTION = "android.telephony.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION";
16055    field public static final String ACTION_RENAME_SUBSCRIPTION_PRIVILEGED = "android.telephony.euicc.action.RENAME_SUBSCRIPTION_PRIVILEGED";
16056    field public static final String ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED = "android.telephony.euicc.action.TOGGLE_SUBSCRIPTION_PRIVILEGED";
16057    field @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public static final String ACTION_TRANSFER_EMBEDDED_SUBSCRIPTIONS = "android.telephony.euicc.action.TRANSFER_EMBEDDED_SUBSCRIPTIONS";
16058    field public static final int EUICC_ACTIVATION_TYPE_ACCOUNT_REQUIRED = 4; // 0x4
16059    field public static final int EUICC_ACTIVATION_TYPE_BACKUP = 2; // 0x2
16060    field public static final int EUICC_ACTIVATION_TYPE_DEFAULT = 1; // 0x1
16061    field public static final int EUICC_ACTIVATION_TYPE_TRANSFER = 3; // 0x3
16062    field public static final int EUICC_OTA_FAILED = 2; // 0x2
16063    field public static final int EUICC_OTA_IN_PROGRESS = 1; // 0x1
16064    field public static final int EUICC_OTA_NOT_NEEDED = 4; // 0x4
16065    field public static final int EUICC_OTA_STATUS_UNAVAILABLE = 5; // 0x5
16066    field public static final int EUICC_OTA_SUCCEEDED = 3; // 0x3
16067    field public static final String EXTRA_ACTIVATION_TYPE = "android.telephony.euicc.extra.ACTIVATION_TYPE";
16068    field public static final String EXTRA_EMBEDDED_SUBSCRIPTION_DOWNLOADABLE_SUBSCRIPTIONS = "android.telephony.euicc.extra.EMBEDDED_SUBSCRIPTION_DOWNLOADABLE_SUBSCRIPTIONS";
16069    field public static final String EXTRA_ENABLE_SUBSCRIPTION = "android.telephony.euicc.extra.ENABLE_SUBSCRIPTION";
16070    field public static final String EXTRA_FORCE_PROVISION = "android.telephony.euicc.extra.FORCE_PROVISION";
16071    field public static final String EXTRA_FROM_SUBSCRIPTION_ID = "android.telephony.euicc.extra.FROM_SUBSCRIPTION_ID";
16072    field public static final String EXTRA_PHYSICAL_SLOT_ID = "android.telephony.euicc.extra.PHYSICAL_SLOT_ID";
16073    field public static final String EXTRA_SUBSCRIPTION_ID = "android.telephony.euicc.extra.SUBSCRIPTION_ID";
16074    field public static final String EXTRA_SUBSCRIPTION_NICKNAME = "android.telephony.euicc.extra.SUBSCRIPTION_NICKNAME";
16075  }
16076
16077  public final class EuiccNotification implements android.os.Parcelable {
16078    ctor public EuiccNotification(int, String, int, @Nullable byte[]);
16079    method public int describeContents();
16080    method @Nullable public byte[] getData();
16081    method public int getEvent();
16082    method public int getSeq();
16083    method public String getTargetAddr();
16084    method public void writeToParcel(android.os.Parcel, int);
16085    field public static final int ALL_EVENTS = 15; // 0xf
16086    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.euicc.EuiccNotification> CREATOR;
16087    field public static final int EVENT_DELETE = 8; // 0x8
16088    field public static final int EVENT_DISABLE = 4; // 0x4
16089    field public static final int EVENT_ENABLE = 2; // 0x2
16090    field public static final int EVENT_INSTALL = 1; // 0x1
16091  }
16092
16093  public final class EuiccRulesAuthTable implements android.os.Parcelable {
16094    method public int describeContents();
16095    method public int findIndex(int, android.service.carrier.CarrierIdentifier);
16096    method public boolean hasPolicyRuleFlag(int, int);
16097    method public void writeToParcel(android.os.Parcel, int);
16098    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.euicc.EuiccRulesAuthTable> CREATOR;
16099    field public static final int POLICY_RULE_FLAG_CONSENT_REQUIRED = 1; // 0x1
16100  }
16101
16102  public static final class EuiccRulesAuthTable.Builder {
16103    ctor public EuiccRulesAuthTable.Builder(int);
16104    method public android.telephony.euicc.EuiccRulesAuthTable.Builder add(int, java.util.List<android.service.carrier.CarrierIdentifier>, int);
16105    method public android.telephony.euicc.EuiccRulesAuthTable build();
16106  }
16107
16108}
16109
16110package android.telephony.gba {
16111
16112  public class GbaService extends android.app.Service {
16113    ctor public GbaService();
16114    method public void onAuthenticationRequest(int, int, int, @NonNull android.net.Uri, @NonNull byte[], boolean);
16115    method public android.os.IBinder onBind(android.content.Intent);
16116    method public final void reportAuthenticationFailure(int, int) throws java.lang.RuntimeException;
16117    method public final void reportKeysAvailable(int, @NonNull byte[], @NonNull String) throws java.lang.RuntimeException;
16118    field public static final String SERVICE_INTERFACE = "android.telephony.gba.GbaService";
16119  }
16120
16121  public class TlsParams {
16122    method public static boolean isTlsCipherSuiteSupported(int);
16123    field public static final int GROUP_SECP256R1 = 23; // 0x17
16124    field public static final int GROUP_SECP384R1 = 24; // 0x18
16125    field public static final int GROUP_X25519 = 29; // 0x1d
16126    field public static final int GROUP_X448 = 30; // 0x1e
16127    field public static final int PROTOCOL_VERSION_TLS_1_2 = 771; // 0x303
16128    field public static final int PROTOCOL_VERSION_TLS_1_3 = 772; // 0x304
16129    field public static final int SIG_ECDSA_BRAINPOOLP256R1TLS13_SHA256 = 2074; // 0x81a
16130    field public static final int SIG_ECDSA_BRAINPOOLP384R1TLS13_SHA384 = 2075; // 0x81b
16131    field public static final int SIG_ECDSA_BRAINPOOLP512R1TLS13_SHA512 = 2076; // 0x81c
16132    field public static final int SIG_ECDSA_SECP256R1_SHA256 = 1027; // 0x403
16133    field public static final int SIG_ECDSA_SECP384R1_SHA384 = 1283; // 0x503
16134    field public static final int SIG_ECDSA_SECP521R1_SHA512 = 1539; // 0x603
16135    field public static final int SIG_ECDSA_SHA1 = 515; // 0x203
16136    field public static final int SIG_RSA_PKCS1_SHA1 = 513; // 0x201
16137    field public static final int SIG_RSA_PKCS1_SHA256 = 1025; // 0x401
16138    field public static final int SIG_RSA_PKCS1_SHA256_LEGACY = 1056; // 0x420
16139    field public static final int SIG_RSA_PKCS1_SHA384 = 1281; // 0x501
16140    field public static final int SIG_RSA_PKCS1_SHA384_LEGACY = 1312; // 0x520
16141    field public static final int SIG_RSA_PKCS1_SHA512 = 1537; // 0x601
16142    field public static final int SIG_RSA_PKCS1_SHA512_LEGACY = 1568; // 0x620
16143    field public static final int SIG_RSA_PSS_RSAE_SHA256 = 2052; // 0x804
16144    field public static final int SIG_RSA_PSS_RSAE_SHA384 = 2053; // 0x805
16145    field public static final int SIG_RSA_PSS_RSAE_SHA512 = 2054; // 0x806
16146    field public static final int TLS_AES_128_CCM_SHA256 = 4868; // 0x1304
16147    field public static final int TLS_AES_128_GCM_SHA256 = 4865; // 0x1301
16148    field public static final int TLS_AES_256_GCM_SHA384 = 4866; // 0x1302
16149    field public static final int TLS_CHACHA20_POLY1305_SHA256 = 4867; // 0x1303
16150    field public static final int TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA = 19; // 0x13
16151    field public static final int TLS_DHE_DSS_WITH_AES_128_CBC_SHA = 50; // 0x32
16152    field public static final int TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 = 64; // 0x40
16153    field public static final int TLS_DHE_DSS_WITH_AES_256_CBC_SHA = 56; // 0x38
16154    field public static final int TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 = 106; // 0x6a
16155    field public static final int TLS_DHE_PSK_WITH_AES_128_CCM = 49318; // 0xc0a6
16156    field public static final int TLS_DHE_PSK_WITH_AES_128_GCM_SHA256 = 170; // 0xaa
16157    field public static final int TLS_DHE_PSK_WITH_AES_256_CCM = 49319; // 0xc0a7
16158    field public static final int TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 = 171; // 0xab
16159    field public static final int TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256 = 52397; // 0xccad
16160    field public static final int TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA = 22; // 0x16
16161    field public static final int TLS_DHE_RSA_WITH_AES_128_CBC_SHA = 51; // 0x33
16162    field public static final int TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 = 103; // 0x67
16163    field public static final int TLS_DHE_RSA_WITH_AES_128_CCM = 49310; // 0xc09e
16164    field public static final int TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 = 158; // 0x9e
16165    field public static final int TLS_DHE_RSA_WITH_AES_256_CBC_SHA = 57; // 0x39
16166    field public static final int TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 = 107; // 0x6b
16167    field public static final int TLS_DHE_RSA_WITH_AES_256_CCM = 49311; // 0xc09f
16168    field public static final int TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 = 159; // 0x9f
16169    field public static final int TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = 52394; // 0xccaa
16170    field public static final int TLS_DH_ANON_WITH_3DES_EDE_CBC_SHA = 27; // 0x1b
16171    field public static final int TLS_DH_ANON_WITH_AES_128_CBC_SHA = 52; // 0x34
16172    field public static final int TLS_DH_ANON_WITH_AES_128_CBC_SHA256 = 108; // 0x6c
16173    field public static final int TLS_DH_ANON_WITH_AES_256_CBC_SHA = 58; // 0x3a
16174    field public static final int TLS_DH_ANON_WITH_AES_256_CBC_SHA256 = 109; // 0x6d
16175    field public static final int TLS_DH_ANON_WITH_RC4_128_MD5 = 24; // 0x18
16176    field public static final int TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA = 13; // 0xd
16177    field public static final int TLS_DH_DSS_WITH_AES_128_CBC_SHA = 48; // 0x30
16178    field public static final int TLS_DH_DSS_WITH_AES_128_CBC_SHA256 = 62; // 0x3e
16179    field public static final int TLS_DH_DSS_WITH_AES_256_CBC_SHA = 54; // 0x36
16180    field public static final int TLS_DH_DSS_WITH_AES_256_CBC_SHA256 = 104; // 0x68
16181    field public static final int TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA = 16; // 0x10
16182    field public static final int TLS_DH_RSA_WITH_AES_128_CBC_SHA = 49; // 0x31
16183    field public static final int TLS_DH_RSA_WITH_AES_128_CBC_SHA256 = 63; // 0x3f
16184    field public static final int TLS_DH_RSA_WITH_AES_256_CBC_SHA = 55; // 0x37
16185    field public static final int TLS_DH_RSA_WITH_AES_256_CBC_SHA256 = 105; // 0x69
16186    field public static final int TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = 49195; // 0xc02b
16187    field public static final int TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = 49196; // 0xc02c
16188    field public static final int TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 = 52393; // 0xcca9
16189    field public static final int TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256 = 53253; // 0xd005
16190    field public static final int TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256 = 53249; // 0xd001
16191    field public static final int TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384 = 53250; // 0xd002
16192    field public static final int TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 = 52396; // 0xccac
16193    field public static final int TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = 49199; // 0xc02f
16194    field public static final int TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = 49200; // 0xc030
16195    field public static final int TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = 52392; // 0xcca8
16196    field public static final int TLS_NULL_WITH_NULL_NULL = 0; // 0x0
16197    field public static final int TLS_RSA_WITH_3DES_EDE_CBC_SHA = 10; // 0xa
16198    field public static final int TLS_RSA_WITH_AES_128_CBC_SHA = 47; // 0x2f
16199    field public static final int TLS_RSA_WITH_AES_128_CBC_SHA256 = 60; // 0x3c
16200    field public static final int TLS_RSA_WITH_AES_256_CBC_SHA = 53; // 0x35
16201    field public static final int TLS_RSA_WITH_AES_256_CBC_SHA256 = 61; // 0x3d
16202    field public static final int TLS_RSA_WITH_NULL_MD5 = 1; // 0x1
16203    field public static final int TLS_RSA_WITH_NULL_SHA = 2; // 0x2
16204    field public static final int TLS_RSA_WITH_NULL_SHA256 = 59; // 0x3b
16205    field public static final int TLS_RSA_WITH_RC4_128_MD5 = 4; // 0x4
16206    field public static final int TLS_RSA_WITH_RC4_128_SHA = 5; // 0x5
16207  }
16208
16209  public final class UaSecurityProtocolIdentifier implements android.os.Parcelable {
16210    method public int describeContents();
16211    method public int getOrg();
16212    method public int getProtocol();
16213    method public int getTlsCipherSuite();
16214    method @NonNull public byte[] toByteArray();
16215    method public void writeToParcel(@NonNull android.os.Parcel, int);
16216    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.gba.UaSecurityProtocolIdentifier> CREATOR;
16217    field public static final int ORG_3GPP = 1; // 0x1
16218    field public static final int ORG_3GPP2 = 2; // 0x2
16219    field public static final int ORG_GSMA = 4; // 0x4
16220    field public static final int ORG_LOCAL = 255; // 0xff
16221    field public static final int ORG_NONE = 0; // 0x0
16222    field public static final int ORG_OMA = 3; // 0x3
16223    field public static final int UA_SECURITY_PROTOCOL_3GPP_GENERATION_TMPI = 256; // 0x100
16224    field public static final int UA_SECURITY_PROTOCOL_3GPP_GENERIC_PUSH_LAYER = 5; // 0x5
16225    field public static final int UA_SECURITY_PROTOCOL_3GPP_HTTP_BASED_MBMS = 3; // 0x3
16226    field public static final int UA_SECURITY_PROTOCOL_3GPP_HTTP_DIGEST_AUTHENTICATION = 2; // 0x2
16227    field public static final int UA_SECURITY_PROTOCOL_3GPP_IMS_MEDIA_PLANE = 6; // 0x6
16228    field public static final int UA_SECURITY_PROTOCOL_3GPP_MBMS = 1; // 0x1
16229    field public static final int UA_SECURITY_PROTOCOL_3GPP_SIP_BASED_MBMS = 4; // 0x4
16230    field public static final int UA_SECURITY_PROTOCOL_3GPP_SUBSCRIBER_CERTIFICATE = 0; // 0x0
16231    field public static final int UA_SECURITY_PROTOCOL_3GPP_TLS_BROWSER = 131072; // 0x20000
16232    field public static final int UA_SECURITY_PROTOCOL_3GPP_TLS_DEFAULT = 65536; // 0x10000
16233  }
16234
16235  public static final class UaSecurityProtocolIdentifier.Builder {
16236    ctor public UaSecurityProtocolIdentifier.Builder();
16237    ctor public UaSecurityProtocolIdentifier.Builder(@NonNull android.telephony.gba.UaSecurityProtocolIdentifier);
16238    method @NonNull public android.telephony.gba.UaSecurityProtocolIdentifier build();
16239    method @NonNull public android.telephony.gba.UaSecurityProtocolIdentifier.Builder setOrg(int);
16240    method @NonNull public android.telephony.gba.UaSecurityProtocolIdentifier.Builder setProtocol(int);
16241    method @NonNull public android.telephony.gba.UaSecurityProtocolIdentifier.Builder setTlsCipherSuite(int);
16242  }
16243
16244}
16245
16246package android.telephony.ims {
16247
16248  public final class AudioCodecAttributes implements android.os.Parcelable {
16249    ctor public AudioCodecAttributes(float, @NonNull android.util.Range<java.lang.Float>, float, @NonNull android.util.Range<java.lang.Float>);
16250    method public int describeContents();
16251    method public float getBandwidthKhz();
16252    method @NonNull public android.util.Range<java.lang.Float> getBandwidthRangeKhz();
16253    method public float getBitrateKbps();
16254    method @NonNull public android.util.Range<java.lang.Float> getBitrateRangeKbps();
16255    method public void writeToParcel(@NonNull android.os.Parcel, int);
16256    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.AudioCodecAttributes> CREATOR;
16257  }
16258
16259  public interface DelegateMessageCallback {
16260    method public void onMessageReceived(@NonNull android.telephony.ims.SipMessage);
16261    method public void onMessageSendFailure(@NonNull String, int);
16262    method public void onMessageSent(@NonNull String);
16263  }
16264
16265  public final class DelegateRegistrationState implements android.os.Parcelable {
16266    method public int describeContents();
16267    method @NonNull public java.util.Set<android.telephony.ims.FeatureTagState> getDeregisteredFeatureTags();
16268    method @NonNull public java.util.Set<android.telephony.ims.FeatureTagState> getDeregisteringFeatureTags();
16269    method @NonNull public java.util.Set<java.lang.String> getRegisteredFeatureTags();
16270    method @NonNull public java.util.Set<java.lang.String> getRegisteringFeatureTags();
16271    method public void writeToParcel(@NonNull android.os.Parcel, int);
16272    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.DelegateRegistrationState> CREATOR;
16273    field public static final int DEREGISTERED_REASON_NOT_PROVISIONED = 1; // 0x1
16274    field public static final int DEREGISTERED_REASON_NOT_REGISTERED = 2; // 0x2
16275    field public static final int DEREGISTERED_REASON_UNKNOWN = 0; // 0x0
16276    field public static final int DEREGISTERING_REASON_DESTROY_PENDING = 6; // 0x6
16277    field public static final int DEREGISTERING_REASON_FEATURE_TAGS_CHANGING = 5; // 0x5
16278    field public static final int DEREGISTERING_REASON_LOSING_PDN = 7; // 0x7
16279    field public static final int DEREGISTERING_REASON_PDN_CHANGE = 3; // 0x3
16280    field public static final int DEREGISTERING_REASON_PROVISIONING_CHANGE = 4; // 0x4
16281    field public static final int DEREGISTERING_REASON_UNSPECIFIED = 8; // 0x8
16282  }
16283
16284  public static final class DelegateRegistrationState.Builder {
16285    ctor public DelegateRegistrationState.Builder();
16286    method @NonNull public android.telephony.ims.DelegateRegistrationState.Builder addDeregisteredFeatureTag(@NonNull String, int);
16287    method @NonNull public android.telephony.ims.DelegateRegistrationState.Builder addDeregisteringFeatureTag(@NonNull String, int);
16288    method @NonNull public android.telephony.ims.DelegateRegistrationState.Builder addRegisteredFeatureTag(@NonNull String);
16289    method @NonNull public android.telephony.ims.DelegateRegistrationState.Builder addRegisteredFeatureTags(@NonNull java.util.Set<java.lang.String>);
16290    method @NonNull public android.telephony.ims.DelegateRegistrationState.Builder addRegisteringFeatureTags(@NonNull java.util.Set<java.lang.String>);
16291    method @NonNull public android.telephony.ims.DelegateRegistrationState build();
16292  }
16293
16294  public final class DelegateRequest implements android.os.Parcelable {
16295    ctor public DelegateRequest(@NonNull java.util.Set<java.lang.String>);
16296    method public int describeContents();
16297    method @NonNull public java.util.Set<java.lang.String> getFeatureTags();
16298    method public void writeToParcel(@NonNull android.os.Parcel, int);
16299    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.DelegateRequest> CREATOR;
16300  }
16301
16302  public interface DelegateStateCallback {
16303    method public void onConfigurationChanged(@NonNull android.telephony.ims.SipDelegateConfiguration);
16304    method public void onCreated(@NonNull android.telephony.ims.stub.SipDelegate, @Nullable java.util.Set<android.telephony.ims.FeatureTagState>);
16305    method public void onDestroyed(int);
16306    method public void onFeatureTagRegistrationChanged(@NonNull android.telephony.ims.DelegateRegistrationState);
16307  }
16308
16309  public final class FeatureTagState implements android.os.Parcelable {
16310    ctor public FeatureTagState(@NonNull String, int);
16311    method public int describeContents();
16312    method @NonNull public String getFeatureTag();
16313    method public int getState();
16314    method public void writeToParcel(@NonNull android.os.Parcel, int);
16315    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.FeatureTagState> CREATOR;
16316  }
16317
16318  public final class ImsCallForwardInfo implements android.os.Parcelable {
16319    ctor public ImsCallForwardInfo(int, int, int, int, @NonNull String, int);
16320    method public int describeContents();
16321    method public int getCondition();
16322    method public String getNumber();
16323    method public int getServiceClass();
16324    method public int getStatus();
16325    method public int getTimeSeconds();
16326    method public int getToA();
16327    method public void writeToParcel(android.os.Parcel, int);
16328    field public static final int CDIV_CF_REASON_ALL = 4; // 0x4
16329    field public static final int CDIV_CF_REASON_ALL_CONDITIONAL = 5; // 0x5
16330    field public static final int CDIV_CF_REASON_BUSY = 1; // 0x1
16331    field public static final int CDIV_CF_REASON_NOT_LOGGED_IN = 6; // 0x6
16332    field public static final int CDIV_CF_REASON_NOT_REACHABLE = 3; // 0x3
16333    field public static final int CDIV_CF_REASON_NO_REPLY = 2; // 0x2
16334    field public static final int CDIV_CF_REASON_UNCONDITIONAL = 0; // 0x0
16335    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsCallForwardInfo> CREATOR;
16336    field public static final int STATUS_ACTIVE = 1; // 0x1
16337    field public static final int STATUS_NOT_ACTIVE = 0; // 0x0
16338    field public static final int TYPE_OF_ADDRESS_INTERNATIONAL = 145; // 0x91
16339    field public static final int TYPE_OF_ADDRESS_UNKNOWN = 129; // 0x81
16340  }
16341
16342  public final class ImsCallProfile implements android.os.Parcelable {
16343    ctor public ImsCallProfile();
16344    ctor public ImsCallProfile(int, int);
16345    ctor public ImsCallProfile(int, int, android.os.Bundle, android.telephony.ims.ImsStreamMediaProfile);
16346    method public int describeContents();
16347    method @NonNull public java.util.Set<android.telephony.ims.RtpHeaderExtensionType> getAcceptedRtpHeaderExtensionTypes();
16348    method public String getCallExtra(String);
16349    method public String getCallExtra(String, String);
16350    method public boolean getCallExtraBoolean(String);
16351    method public boolean getCallExtraBoolean(String, boolean);
16352    method public int getCallExtraInt(String);
16353    method public int getCallExtraInt(String, int);
16354    method @Nullable public <T extends android.os.Parcelable> T getCallExtraParcelable(@Nullable String);
16355    method public android.os.Bundle getCallExtras();
16356    method public int getCallType();
16357    method public static int getCallTypeFromVideoState(int);
16358    method public int getCallerNumberVerificationStatus();
16359    method public int getEmergencyCallRouting();
16360    method public int getEmergencyServiceCategories();
16361    method @NonNull public java.util.List<java.lang.String> getEmergencyUrns();
16362    method public android.telephony.ims.ImsStreamMediaProfile getMediaProfile();
16363    method @NonNull public android.os.Bundle getProprietaryCallExtras();
16364    method public int getRestrictCause();
16365    method public int getServiceType();
16366    method public static int getVideoStateFromCallType(int);
16367    method public static int getVideoStateFromImsCallProfile(android.telephony.ims.ImsCallProfile);
16368    method public boolean hasKnownUserIntentEmergency();
16369    method public boolean isEmergencyCallTesting();
16370    method public boolean isVideoCall();
16371    method public boolean isVideoPaused();
16372    method public static int presentationToOir(int);
16373    method public void setAcceptedRtpHeaderExtensionTypes(@NonNull java.util.Set<android.telephony.ims.RtpHeaderExtensionType>);
16374    method public void setCallExtra(String, String);
16375    method public void setCallExtraBoolean(String, boolean);
16376    method public void setCallExtraInt(String, int);
16377    method public void setCallExtraParcelable(@NonNull String, @NonNull android.os.Parcelable);
16378    method public void setCallRestrictCause(int);
16379    method public void setCallerNumberVerificationStatus(int);
16380    method public void setEmergencyCallRouting(int);
16381    method public void setEmergencyCallTesting(boolean);
16382    method public void setEmergencyServiceCategories(int);
16383    method public void setEmergencyUrns(@NonNull java.util.List<java.lang.String>);
16384    method public void setHasKnownUserIntentEmergency(boolean);
16385    method public void updateCallExtras(android.telephony.ims.ImsCallProfile);
16386    method public void updateCallType(android.telephony.ims.ImsCallProfile);
16387    method public void updateMediaProfile(android.telephony.ims.ImsCallProfile);
16388    method public void writeToParcel(android.os.Parcel, int);
16389    field public static final int CALL_RESTRICT_CAUSE_DISABLED = 2; // 0x2
16390    field public static final int CALL_RESTRICT_CAUSE_HD = 3; // 0x3
16391    field public static final int CALL_RESTRICT_CAUSE_NONE = 0; // 0x0
16392    field public static final int CALL_RESTRICT_CAUSE_RAT = 1; // 0x1
16393    field public static final int CALL_TYPE_NONE = 0; // 0x0
16394    field public static final int CALL_TYPE_VIDEO_N_VOICE = 3; // 0x3
16395    field public static final int CALL_TYPE_VOICE = 2; // 0x2
16396    field public static final int CALL_TYPE_VOICE_N_VIDEO = 1; // 0x1
16397    field public static final int CALL_TYPE_VS = 8; // 0x8
16398    field public static final int CALL_TYPE_VS_RX = 10; // 0xa
16399    field public static final int CALL_TYPE_VS_TX = 9; // 0x9
16400    field public static final int CALL_TYPE_VT = 4; // 0x4
16401    field public static final int CALL_TYPE_VT_NODIR = 7; // 0x7
16402    field public static final int CALL_TYPE_VT_RX = 6; // 0x6
16403    field public static final int CALL_TYPE_VT_TX = 5; // 0x5
16404    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsCallProfile> CREATOR;
16405    field public static final int DIALSTRING_NORMAL = 0; // 0x0
16406    field public static final int DIALSTRING_SS_CONF = 1; // 0x1
16407    field public static final int DIALSTRING_USSD = 2; // 0x2
16408    field public static final String EXTRA_ADDITIONAL_CALL_INFO = "AdditionalCallInfo";
16409    field public static final String EXTRA_ADDITIONAL_SIP_INVITE_FIELDS = "android.telephony.ims.extra.ADDITIONAL_SIP_INVITE_FIELDS";
16410    field @FlaggedApi("com.android.server.telecom.flags.business_call_composer") public static final String EXTRA_ASSERTED_DISPLAY_NAME = "android.telephony.ims.extra.ASSERTED_DISPLAY_NAME";
16411    field public static final String EXTRA_CALL_DISCONNECT_CAUSE = "android.telephony.ims.extra.CALL_DISCONNECT_CAUSE";
16412    field public static final String EXTRA_CALL_NETWORK_TYPE = "android.telephony.ims.extra.CALL_NETWORK_TYPE";
16413    field @Deprecated public static final String EXTRA_CALL_RAT_TYPE = "CallRadioTech";
16414    field public static final String EXTRA_CALL_SUBJECT = "android.telephony.ims.extra.CALL_SUBJECT";
16415    field public static final String EXTRA_CHILD_NUMBER = "ChildNum";
16416    field public static final String EXTRA_CNA = "cna";
16417    field public static final String EXTRA_CNAP = "cnap";
16418    field public static final String EXTRA_CODEC = "Codec";
16419    field public static final String EXTRA_CONFERENCE = "android.telephony.ims.extra.CONFERENCE";
16420    field public static final String EXTRA_DIALSTRING = "dialstring";
16421    field public static final String EXTRA_DISPLAY_TEXT = "DisplayText";
16422    field public static final String EXTRA_EMERGENCY_CALL = "e_call";
16423    field public static final String EXTRA_EXTENDING_TO_CONFERENCE_SUPPORTED = "android.telephony.ims.extra.EXTENDING_TO_CONFERENCE_SUPPORTED";
16424    field public static final String EXTRA_FORWARDED_NUMBER = "android.telephony.ims.extra.FORWARDED_NUMBER";
16425    field public static final String EXTRA_IS_BUSINESS_CALL = "android.telephony.ims.extra.IS_BUSINESS_CALL";
16426    field public static final String EXTRA_IS_CALL_PULL = "CallPull";
16427    field public static final String EXTRA_IS_CROSS_SIM_CALL = "android.telephony.ims.extra.IS_CROSS_SIM_CALL";
16428    field public static final String EXTRA_LOCATION = "android.telephony.ims.extra.LOCATION";
16429    field public static final String EXTRA_OI = "oi";
16430    field public static final String EXTRA_OIR = "oir";
16431    field public static final String EXTRA_PICTURE_URL = "android.telephony.ims.extra.PICTURE_URL";
16432    field public static final String EXTRA_PRIORITY = "android.telephony.ims.extra.PRIORITY";
16433    field public static final String EXTRA_REMOTE_URI = "remote_uri";
16434    field public static final String EXTRA_USSD = "ussd";
16435    field public static final int OIR_DEFAULT = 0; // 0x0
16436    field public static final int OIR_PRESENTATION_NOT_RESTRICTED = 2; // 0x2
16437    field public static final int OIR_PRESENTATION_PAYPHONE = 4; // 0x4
16438    field public static final int OIR_PRESENTATION_RESTRICTED = 1; // 0x1
16439    field public static final int OIR_PRESENTATION_UNAVAILABLE = 5; // 0x5
16440    field public static final int OIR_PRESENTATION_UNKNOWN = 3; // 0x3
16441    field public static final int PRIORITY_NORMAL = 0; // 0x0
16442    field public static final int PRIORITY_URGENT = 1; // 0x1
16443    field public static final int SERVICE_TYPE_EMERGENCY = 2; // 0x2
16444    field public static final int SERVICE_TYPE_NONE = 0; // 0x0
16445    field public static final int SERVICE_TYPE_NORMAL = 1; // 0x1
16446    field public static final int VERIFICATION_STATUS_FAILED = 2; // 0x2
16447    field public static final int VERIFICATION_STATUS_NOT_VERIFIED = 0; // 0x0
16448    field public static final int VERIFICATION_STATUS_PASSED = 1; // 0x1
16449  }
16450
16451  public class ImsCallSessionListener {
16452    method public void callQualityChanged(@NonNull android.telephony.CallQuality);
16453    method public void callSessionConferenceExtendFailed(android.telephony.ims.ImsReasonInfo);
16454    method public void callSessionConferenceExtendReceived(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile);
16455    method public void callSessionConferenceExtended(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile);
16456    method public void callSessionConferenceStateUpdated(android.telephony.ims.ImsConferenceState);
16457    method public void callSessionDtmfReceived(char);
16458    method @Deprecated public void callSessionHandover(int, int, android.telephony.ims.ImsReasonInfo);
16459    method @Deprecated public void callSessionHandoverFailed(int, int, android.telephony.ims.ImsReasonInfo);
16460    method public void callSessionHeld(android.telephony.ims.ImsCallProfile);
16461    method public void callSessionHoldFailed(android.telephony.ims.ImsReasonInfo);
16462    method public void callSessionHoldReceived(android.telephony.ims.ImsCallProfile);
16463    method public void callSessionInitiated(android.telephony.ims.ImsCallProfile);
16464    method @Deprecated public void callSessionInitiatedFailed(android.telephony.ims.ImsReasonInfo);
16465    method public void callSessionInitiating(@NonNull android.telephony.ims.ImsCallProfile);
16466    method public void callSessionInitiatingFailed(@NonNull android.telephony.ims.ImsReasonInfo);
16467    method public void callSessionInviteParticipantsRequestDelivered();
16468    method public void callSessionInviteParticipantsRequestFailed(android.telephony.ims.ImsReasonInfo);
16469    method @Deprecated public void callSessionMayHandover(int, int);
16470    method public void callSessionMergeComplete(android.telephony.ims.stub.ImsCallSessionImplBase);
16471    method public void callSessionMergeFailed(android.telephony.ims.ImsReasonInfo);
16472    method public void callSessionMergeStarted(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile);
16473    method public void callSessionMultipartyStateChanged(boolean);
16474    method public void callSessionProgressing(android.telephony.ims.ImsStreamMediaProfile);
16475    method public void callSessionRemoveParticipantsRequestDelivered();
16476    method public void callSessionRemoveParticipantsRequestFailed(android.telephony.ims.ImsReasonInfo);
16477    method public void callSessionResumeFailed(android.telephony.ims.ImsReasonInfo);
16478    method public void callSessionResumeReceived(android.telephony.ims.ImsCallProfile);
16479    method public void callSessionResumed(android.telephony.ims.ImsCallProfile);
16480    method public void callSessionRtpHeaderExtensionsReceived(@NonNull java.util.Set<android.telephony.ims.RtpHeaderExtension>);
16481    method public void callSessionRttAudioIndicatorChanged(@NonNull android.telephony.ims.ImsStreamMediaProfile);
16482    method public void callSessionRttMessageReceived(String);
16483    method public void callSessionRttModifyRequestReceived(android.telephony.ims.ImsCallProfile);
16484    method public void callSessionRttModifyResponseReceived(int);
16485    method public void callSessionSuppServiceReceived(android.telephony.ims.ImsSuppServiceNotification);
16486    method public void callSessionTerminated(android.telephony.ims.ImsReasonInfo);
16487    method public void callSessionTtyModeReceived(int);
16488    method public void callSessionUpdateFailed(android.telephony.ims.ImsReasonInfo);
16489    method public void callSessionUpdateReceived(android.telephony.ims.ImsCallProfile);
16490    method public void callSessionUpdated(android.telephony.ims.ImsCallProfile);
16491    method public void callSessionUssdMessageReceived(int, String);
16492    method public void onHandover(int, int, @Nullable android.telephony.ims.ImsReasonInfo);
16493    method public void onHandoverFailed(int, int, @NonNull android.telephony.ims.ImsReasonInfo);
16494    method public void onMayHandover(int, int);
16495  }
16496
16497  public final class ImsConferenceState implements android.os.Parcelable {
16498    method public int describeContents();
16499    method public static int getConnectionStateForStatus(String);
16500    method public void writeToParcel(android.os.Parcel, int);
16501    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsConferenceState> CREATOR;
16502    field public static final String DISPLAY_TEXT = "display-text";
16503    field public static final String ENDPOINT = "endpoint";
16504    field public static final String SIP_STATUS_CODE = "sipstatuscode";
16505    field public static final String STATUS = "status";
16506    field public static final String STATUS_ALERTING = "alerting";
16507    field public static final String STATUS_CONNECTED = "connected";
16508    field public static final String STATUS_CONNECT_FAIL = "connect-fail";
16509    field public static final String STATUS_DIALING_IN = "dialing-in";
16510    field public static final String STATUS_DIALING_OUT = "dialing-out";
16511    field public static final String STATUS_DISCONNECTED = "disconnected";
16512    field public static final String STATUS_DISCONNECTING = "disconnecting";
16513    field public static final String STATUS_MUTED_VIA_FOCUS = "muted-via-focus";
16514    field public static final String STATUS_ON_HOLD = "on-hold";
16515    field public static final String STATUS_PENDING = "pending";
16516    field public static final String STATUS_SEND_ONLY = "sendonly";
16517    field public static final String STATUS_SEND_RECV = "sendrecv";
16518    field public static final String USER = "user";
16519    field public final java.util.HashMap<java.lang.String,android.os.Bundle> mParticipants;
16520  }
16521
16522  public final class ImsException extends java.lang.Exception {
16523    ctor public ImsException(@Nullable String);
16524    ctor public ImsException(@Nullable String, int);
16525    ctor public ImsException(@Nullable String, int, @Nullable Throwable);
16526  }
16527
16528  public final class ImsExternalCallState implements android.os.Parcelable {
16529    ctor public ImsExternalCallState(@NonNull String, @NonNull android.net.Uri, @Nullable android.net.Uri, boolean, int, int, boolean);
16530    method public int describeContents();
16531    method @NonNull public android.net.Uri getAddress();
16532    method public int getCallId();
16533    method public int getCallState();
16534    method public int getCallType();
16535    method @Nullable public android.net.Uri getLocalAddress();
16536    method public boolean isCallHeld();
16537    method public boolean isCallPullable();
16538    method public void writeToParcel(android.os.Parcel, int);
16539    field public static final int CALL_STATE_CONFIRMED = 1; // 0x1
16540    field public static final int CALL_STATE_TERMINATED = 2; // 0x2
16541    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsExternalCallState> CREATOR;
16542  }
16543
16544  public class ImsManager {
16545    method @NonNull public android.telephony.ims.SipDelegateManager getSipDelegateManager(int);
16546  }
16547
16548  public class ImsMmTelManager implements android.telephony.ims.RegistrationManager {
16549    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);
16550    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;
16551    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>);
16552    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getVoWiFiRoamingModeSetting();
16553    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isAvailable(int, int);
16554    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isCapable(int, int);
16555    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;
16556    method @FlaggedApi("com.android.internal.telephony.flags.emergency_registration_state") public void registerImsEmergencyRegistrationCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.RegistrationManager.RegistrationCallback) throws android.telephony.ims.ImsException;
16557    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;
16558    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setAdvancedCallingSettingEnabled(boolean);
16559    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCrossSimCallingEnabled(boolean) throws android.telephony.ims.ImsException;
16560    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setRttCapabilitySetting(boolean);
16561    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiModeSetting(int);
16562    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiNonPersistent(boolean, int);
16563    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiRoamingModeSetting(int);
16564    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiRoamingSettingEnabled(boolean);
16565    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiSettingEnabled(boolean);
16566    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVtSettingEnabled(boolean);
16567    method @FlaggedApi("com.android.internal.telephony.flags.emergency_registration_state") public void unregisterImsEmergencyRegistrationCallback(@NonNull android.telephony.ims.RegistrationManager.RegistrationCallback);
16568    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void unregisterImsRegistrationCallback(@NonNull android.telephony.ims.ImsMmTelManager.RegistrationCallback);
16569  }
16570
16571  @Deprecated public static class ImsMmTelManager.RegistrationCallback extends android.telephony.ims.RegistrationManager.RegistrationCallback {
16572    ctor @Deprecated public ImsMmTelManager.RegistrationCallback();
16573    method @Deprecated public void onRegistered(int);
16574    method @Deprecated public void onRegistering(int);
16575  }
16576
16577  public class ImsRcsManager {
16578    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void addOnAvailabilityChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.ImsRcsManager.OnAvailabilityChangedListener) throws android.telephony.ims.ImsException;
16579    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isAvailable(int, int) throws android.telephony.ims.ImsException;
16580    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isCapable(int, int) throws android.telephony.ims.ImsException;
16581    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void removeOnAvailabilityChangedListener(@NonNull android.telephony.ims.ImsRcsManager.OnAvailabilityChangedListener);
16582  }
16583
16584  public static interface ImsRcsManager.OnAvailabilityChangedListener {
16585    method public void onAvailabilityChanged(int);
16586  }
16587
16588  public final class ImsReasonInfo implements android.os.Parcelable {
16589    field public static final String EXTRA_MSG_SERVICE_NOT_AUTHORIZED = "Forbidden. Not Authorized for Service";
16590  }
16591
16592  public final class ImsRegistrationAttributes implements android.os.Parcelable {
16593    method public int getRegistrationTechnology();
16594  }
16595
16596  public static final class ImsRegistrationAttributes.Builder {
16597    ctor public ImsRegistrationAttributes.Builder(int);
16598    method @NonNull public android.telephony.ims.ImsRegistrationAttributes build();
16599    method @NonNull public android.telephony.ims.ImsRegistrationAttributes.Builder setFeatureTags(@NonNull java.util.Set<java.lang.String>);
16600    method @FlaggedApi("com.android.internal.telephony.flags.emergency_registration_state") @NonNull public android.telephony.ims.ImsRegistrationAttributes.Builder setFlagRegistrationTypeEmergency();
16601    method @FlaggedApi("com.android.internal.telephony.flags.emergency_registration_state") @NonNull public android.telephony.ims.ImsRegistrationAttributes.Builder setFlagVirtualRegistrationForEmergencyCall();
16602    method @NonNull public android.telephony.ims.ImsRegistrationAttributes.Builder setSipDetails(@NonNull android.telephony.ims.SipDetails);
16603  }
16604
16605  public class ImsService extends android.app.Service {
16606    ctor public ImsService();
16607    method @Nullable public android.telephony.ims.feature.MmTelFeature createEmergencyOnlyMmTelFeature(int);
16608    method @Deprecated public android.telephony.ims.feature.MmTelFeature createMmTelFeature(int);
16609    method @Nullable public android.telephony.ims.feature.MmTelFeature createMmTelFeatureForSubscription(int, int);
16610    method @Deprecated public android.telephony.ims.feature.RcsFeature createRcsFeature(int);
16611    method @Nullable public android.telephony.ims.feature.RcsFeature createRcsFeatureForSubscription(int, int);
16612    method @Deprecated public void disableIms(int);
16613    method public void disableImsForSubscription(int, int);
16614    method @Deprecated public void enableIms(int);
16615    method public void enableImsForSubscription(int, int);
16616    method @Deprecated public android.telephony.ims.stub.ImsConfigImplBase getConfig(int);
16617    method @NonNull public android.telephony.ims.stub.ImsConfigImplBase getConfigForSubscription(int, int);
16618    method @NonNull public java.util.concurrent.Executor getExecutor();
16619    method public long getImsServiceCapabilities();
16620    method @Deprecated public android.telephony.ims.stub.ImsRegistrationImplBase getRegistration(int);
16621    method @NonNull public android.telephony.ims.stub.ImsRegistrationImplBase getRegistrationForSubscription(int, int);
16622    method @Nullable public android.telephony.ims.stub.SipTransportImplBase getSipTransport(int);
16623    method public android.os.IBinder onBind(android.content.Intent);
16624    method public final void onUpdateSupportedImsFeatures(android.telephony.ims.stub.ImsFeatureConfiguration) throws android.os.RemoteException;
16625    method public android.telephony.ims.stub.ImsFeatureConfiguration querySupportedImsFeatures();
16626    method public void readyForFeatureCreation();
16627    field public static final long CAPABILITY_SIP_DELEGATE_CREATION = 2L; // 0x2L
16628    field public static final long CAPABILITY_TERMINAL_BASED_CALL_WAITING = 4L; // 0x4L
16629  }
16630
16631  public final class ImsSsData implements android.os.Parcelable {
16632    ctor public ImsSsData(int, int, int, int, int);
16633    method public int describeContents();
16634    method @Nullable public java.util.List<android.telephony.ims.ImsCallForwardInfo> getCallForwardInfo();
16635    method public int getRequestType();
16636    method public int getResult();
16637    method public int getServiceClass();
16638    method public int getServiceType();
16639    method @NonNull public java.util.List<android.telephony.ims.ImsSsInfo> getSuppServiceInfo();
16640    method public int getTeleserviceType();
16641    method public boolean isTypeBarring();
16642    method public boolean isTypeCf();
16643    method public boolean isTypeClip();
16644    method public boolean isTypeClir();
16645    method public boolean isTypeColp();
16646    method public boolean isTypeColr();
16647    method public boolean isTypeCw();
16648    method public boolean isTypeIcb();
16649    method public boolean isTypeInterrogation();
16650    method public boolean isTypeUnConditional();
16651    method public void writeToParcel(android.os.Parcel, int);
16652    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsSsData> CREATOR;
16653    field public static final int RESULT_SUCCESS = 0; // 0x0
16654    field public static final int SERVICE_CLASS_DATA = 2; // 0x2
16655    field public static final int SERVICE_CLASS_DATA_CIRCUIT_ASYNC = 32; // 0x20
16656    field public static final int SERVICE_CLASS_DATA_CIRCUIT_SYNC = 16; // 0x10
16657    field public static final int SERVICE_CLASS_DATA_PACKET_ACCESS = 64; // 0x40
16658    field public static final int SERVICE_CLASS_DATA_PAD = 128; // 0x80
16659    field public static final int SERVICE_CLASS_FAX = 4; // 0x4
16660    field public static final int SERVICE_CLASS_NONE = 0; // 0x0
16661    field public static final int SERVICE_CLASS_SMS = 8; // 0x8
16662    field public static final int SERVICE_CLASS_VOICE = 1; // 0x1
16663    field public static final int SS_ACTIVATION = 0; // 0x0
16664    field public static final int SS_ALL_BARRING = 18; // 0x12
16665    field public static final int SS_ALL_DATA_TELESERVICES = 3; // 0x3
16666    field public static final int SS_ALL_TELESERVICES_EXCEPT_SMS = 5; // 0x5
16667    field public static final int SS_ALL_TELESEVICES = 1; // 0x1
16668    field public static final int SS_ALL_TELE_AND_BEARER_SERVICES = 0; // 0x0
16669    field public static final int SS_BAIC = 16; // 0x10
16670    field public static final int SS_BAIC_ROAMING = 17; // 0x11
16671    field public static final int SS_BAOC = 13; // 0xd
16672    field public static final int SS_BAOIC = 14; // 0xe
16673    field public static final int SS_BAOIC_EXC_HOME = 15; // 0xf
16674    field public static final int SS_CFU = 0; // 0x0
16675    field public static final int SS_CFUT = 6; // 0x6
16676    field public static final int SS_CF_ALL = 4; // 0x4
16677    field public static final int SS_CF_ALL_CONDITIONAL = 5; // 0x5
16678    field public static final int SS_CF_BUSY = 1; // 0x1
16679    field public static final int SS_CF_NOT_REACHABLE = 3; // 0x3
16680    field public static final int SS_CF_NO_REPLY = 2; // 0x2
16681    field public static final int SS_CLIP = 7; // 0x7
16682    field public static final int SS_CLIR = 8; // 0x8
16683    field public static final int SS_CNAP = 11; // 0xb
16684    field public static final int SS_COLP = 9; // 0x9
16685    field public static final int SS_COLR = 10; // 0xa
16686    field public static final int SS_DEACTIVATION = 1; // 0x1
16687    field public static final int SS_ERASURE = 4; // 0x4
16688    field public static final int SS_INCOMING_BARRING = 20; // 0x14
16689    field public static final int SS_INCOMING_BARRING_ANONYMOUS = 22; // 0x16
16690    field public static final int SS_INCOMING_BARRING_DN = 21; // 0x15
16691    field public static final int SS_INTERROGATION = 2; // 0x2
16692    field public static final int SS_OUTGOING_BARRING = 19; // 0x13
16693    field public static final int SS_REGISTRATION = 3; // 0x3
16694    field public static final int SS_SMS_SERVICES = 4; // 0x4
16695    field public static final int SS_TELEPHONY = 2; // 0x2
16696    field public static final int SS_WAIT = 12; // 0xc
16697  }
16698
16699  public static final class ImsSsData.Builder {
16700    ctor public ImsSsData.Builder(int, int, int, int, int);
16701    method @NonNull public android.telephony.ims.ImsSsData build();
16702    method @NonNull public android.telephony.ims.ImsSsData.Builder setCallForwardingInfo(@NonNull java.util.List<android.telephony.ims.ImsCallForwardInfo>);
16703    method @NonNull public android.telephony.ims.ImsSsData.Builder setSuppServiceInfo(@NonNull java.util.List<android.telephony.ims.ImsSsInfo>);
16704  }
16705
16706  public final class ImsSsInfo implements android.os.Parcelable {
16707    ctor @Deprecated public ImsSsInfo(int, @Nullable String);
16708    method public int describeContents();
16709    method public int getClirInterrogationStatus();
16710    method public int getClirOutgoingState();
16711    method @Deprecated public String getIcbNum();
16712    method @Nullable public String getIncomingCommunicationBarringNumber();
16713    method public int getProvisionStatus();
16714    method public int getStatus();
16715    method public void writeToParcel(android.os.Parcel, int);
16716    field public static final int CLIR_OUTGOING_DEFAULT = 0; // 0x0
16717    field public static final int CLIR_OUTGOING_INVOCATION = 1; // 0x1
16718    field public static final int CLIR_OUTGOING_SUPPRESSION = 2; // 0x2
16719    field public static final int CLIR_STATUS_NOT_PROVISIONED = 0; // 0x0
16720    field public static final int CLIR_STATUS_PROVISIONED_PERMANENT = 1; // 0x1
16721    field public static final int CLIR_STATUS_TEMPORARILY_ALLOWED = 4; // 0x4
16722    field public static final int CLIR_STATUS_TEMPORARILY_RESTRICTED = 3; // 0x3
16723    field public static final int CLIR_STATUS_UNKNOWN = 2; // 0x2
16724    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsSsInfo> CREATOR;
16725    field public static final int DISABLED = 0; // 0x0
16726    field public static final int ENABLED = 1; // 0x1
16727    field public static final int NOT_REGISTERED = -1; // 0xffffffff
16728    field public static final int SERVICE_NOT_PROVISIONED = 0; // 0x0
16729    field public static final int SERVICE_PROVISIONED = 1; // 0x1
16730    field public static final int SERVICE_PROVISIONING_UNKNOWN = -1; // 0xffffffff
16731  }
16732
16733  public static final class ImsSsInfo.Builder {
16734    ctor public ImsSsInfo.Builder(int);
16735    method @NonNull public android.telephony.ims.ImsSsInfo build();
16736    method @NonNull public android.telephony.ims.ImsSsInfo.Builder setClirInterrogationStatus(int);
16737    method @NonNull public android.telephony.ims.ImsSsInfo.Builder setClirOutgoingState(int);
16738    method @NonNull public android.telephony.ims.ImsSsInfo.Builder setIncomingCommunicationBarringNumber(@NonNull String);
16739    method @NonNull public android.telephony.ims.ImsSsInfo.Builder setProvisionStatus(int);
16740  }
16741
16742  public final class ImsStreamMediaProfile implements android.os.Parcelable {
16743    ctor public ImsStreamMediaProfile(int, int, int, int, int);
16744    method public void copyFrom(android.telephony.ims.ImsStreamMediaProfile);
16745    method public int describeContents();
16746    method @Nullable public android.telephony.ims.AudioCodecAttributes getAudioCodecAttributes();
16747    method public int getAudioDirection();
16748    method public int getAudioQuality();
16749    method public int getRttMode();
16750    method public int getVideoDirection();
16751    method public int getVideoQuality();
16752    method public boolean isReceivingRttAudio();
16753    method public boolean isRttCall();
16754    method public void setAudioCodecAttributes(@NonNull android.telephony.ims.AudioCodecAttributes);
16755    method public void setReceivingRttAudio(boolean);
16756    method public void setRttMode(int);
16757    method public void writeToParcel(android.os.Parcel, int);
16758    field public static final int AUDIO_QUALITY_AMR = 1; // 0x1
16759    field public static final int AUDIO_QUALITY_AMR_WB = 2; // 0x2
16760    field public static final int AUDIO_QUALITY_EVRC = 4; // 0x4
16761    field public static final int AUDIO_QUALITY_EVRC_B = 5; // 0x5
16762    field public static final int AUDIO_QUALITY_EVRC_NW = 7; // 0x7
16763    field public static final int AUDIO_QUALITY_EVRC_WB = 6; // 0x6
16764    field public static final int AUDIO_QUALITY_EVS_FB = 20; // 0x14
16765    field public static final int AUDIO_QUALITY_EVS_NB = 17; // 0x11
16766    field public static final int AUDIO_QUALITY_EVS_SWB = 19; // 0x13
16767    field public static final int AUDIO_QUALITY_EVS_WB = 18; // 0x12
16768    field public static final int AUDIO_QUALITY_G711A = 13; // 0xd
16769    field public static final int AUDIO_QUALITY_G711AB = 15; // 0xf
16770    field public static final int AUDIO_QUALITY_G711U = 11; // 0xb
16771    field public static final int AUDIO_QUALITY_G722 = 14; // 0xe
16772    field public static final int AUDIO_QUALITY_G723 = 12; // 0xc
16773    field public static final int AUDIO_QUALITY_G729 = 16; // 0x10
16774    field public static final int AUDIO_QUALITY_GSM_EFR = 8; // 0x8
16775    field public static final int AUDIO_QUALITY_GSM_FR = 9; // 0x9
16776    field public static final int AUDIO_QUALITY_GSM_HR = 10; // 0xa
16777    field public static final int AUDIO_QUALITY_NONE = 0; // 0x0
16778    field public static final int AUDIO_QUALITY_QCELP13K = 3; // 0x3
16779    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsStreamMediaProfile> CREATOR;
16780    field public static final int DIRECTION_INACTIVE = 0; // 0x0
16781    field public static final int DIRECTION_INVALID = -1; // 0xffffffff
16782    field public static final int DIRECTION_RECEIVE = 1; // 0x1
16783    field public static final int DIRECTION_SEND = 2; // 0x2
16784    field public static final int DIRECTION_SEND_RECEIVE = 3; // 0x3
16785    field public static final int RTT_MODE_DISABLED = 0; // 0x0
16786    field public static final int RTT_MODE_FULL = 1; // 0x1
16787    field public static final int VIDEO_QUALITY_NONE = 0; // 0x0
16788    field public static final int VIDEO_QUALITY_QCIF = 1; // 0x1
16789    field public static final int VIDEO_QUALITY_QVGA_LANDSCAPE = 2; // 0x2
16790    field public static final int VIDEO_QUALITY_QVGA_PORTRAIT = 4; // 0x4
16791    field public static final int VIDEO_QUALITY_VGA_LANDSCAPE = 8; // 0x8
16792    field public static final int VIDEO_QUALITY_VGA_PORTRAIT = 16; // 0x10
16793  }
16794
16795  public final class ImsSuppServiceNotification implements android.os.Parcelable {
16796    ctor public ImsSuppServiceNotification(int, int, int, int, String, String[]);
16797    method public int describeContents();
16798    method public void writeToParcel(android.os.Parcel, int);
16799    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsSuppServiceNotification> CREATOR;
16800    field public final int code;
16801    field public final String[] history;
16802    field public final int index;
16803    field public final int notificationType;
16804    field public final String number;
16805    field public final int type;
16806  }
16807
16808  public class ImsUtListener {
16809    method public void onLineIdentificationSupplementaryServiceResponse(int, @NonNull android.telephony.ims.ImsSsInfo);
16810    method public void onSupplementaryServiceIndication(android.telephony.ims.ImsSsData);
16811    method public void onUtConfigurationCallBarringQueried(int, android.telephony.ims.ImsSsInfo[]);
16812    method public void onUtConfigurationCallForwardQueried(int, android.telephony.ims.ImsCallForwardInfo[]);
16813    method public void onUtConfigurationCallWaitingQueried(int, android.telephony.ims.ImsSsInfo[]);
16814    method @Deprecated public void onUtConfigurationQueried(int, android.os.Bundle);
16815    method public void onUtConfigurationQueryFailed(int, android.telephony.ims.ImsReasonInfo);
16816    method public void onUtConfigurationUpdateFailed(int, android.telephony.ims.ImsReasonInfo);
16817    method public void onUtConfigurationUpdated(int);
16818    field @Deprecated public static final String BUNDLE_KEY_CLIR = "queryClir";
16819    field @Deprecated public static final String BUNDLE_KEY_SSINFO = "imsSsInfo";
16820  }
16821
16822  public abstract class ImsVideoCallProvider {
16823    ctor public ImsVideoCallProvider();
16824    method public void changeCallDataUsage(long);
16825    method public void changeCameraCapabilities(android.telecom.VideoProfile.CameraCapabilities);
16826    method public void changePeerDimensions(int, int);
16827    method public void changeVideoQuality(int);
16828    method public void handleCallSessionEvent(int);
16829    method public abstract void onRequestCallDataUsage();
16830    method public abstract void onRequestCameraCapabilities();
16831    method public abstract void onSendSessionModifyRequest(android.telecom.VideoProfile, android.telecom.VideoProfile);
16832    method public abstract void onSendSessionModifyResponse(android.telecom.VideoProfile);
16833    method public abstract void onSetCamera(String);
16834    method public void onSetCamera(String, int);
16835    method public abstract void onSetDeviceOrientation(int);
16836    method public abstract void onSetDisplaySurface(android.view.Surface);
16837    method public abstract void onSetPauseImage(android.net.Uri);
16838    method public abstract void onSetPreviewSurface(android.view.Surface);
16839    method public abstract void onSetZoom(float);
16840    method public void receiveSessionModifyRequest(android.telecom.VideoProfile);
16841    method public void receiveSessionModifyResponse(int, android.telecom.VideoProfile, android.telecom.VideoProfile);
16842  }
16843
16844  public final class MediaQualityStatus implements android.os.Parcelable {
16845    ctor public MediaQualityStatus(@NonNull String, int, int, @IntRange(from=0, to=100) int, @IntRange(from=0) int, @IntRange(from=0) long);
16846    method public int describeContents();
16847    method @NonNull public String getCallSessionId();
16848    method public int getMediaSessionType();
16849    method @IntRange(from=0) public long getRtpInactivityMillis();
16850    method @IntRange(from=0) public int getRtpJitterMillis();
16851    method @IntRange(from=0, to=100) public int getRtpPacketLossRate();
16852    method public int getTransportType();
16853    method public void writeToParcel(@NonNull android.os.Parcel, int);
16854    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.MediaQualityStatus> CREATOR;
16855    field public static final int MEDIA_SESSION_TYPE_AUDIO = 1; // 0x1
16856    field public static final int MEDIA_SESSION_TYPE_VIDEO = 2; // 0x2
16857  }
16858
16859  public final class MediaThreshold implements android.os.Parcelable {
16860    method public int describeContents();
16861    method @NonNull public long[] getThresholdsRtpInactivityTimeMillis();
16862    method @NonNull public int[] getThresholdsRtpJitterMillis();
16863    method @NonNull public int[] getThresholdsRtpPacketLossRate();
16864    method public void writeToParcel(@NonNull android.os.Parcel, int);
16865    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.MediaThreshold> CREATOR;
16866  }
16867
16868  public class ProvisioningManager {
16869    method @NonNull public static android.telephony.ims.ProvisioningManager createForSubscriptionId(int);
16870    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public int getProvisioningIntValue(int);
16871    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public String getProvisioningStringValue(int);
16872    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public boolean getRcsProvisioningStatusForCapability(int);
16873    method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION}) public boolean isRcsVolteSingleRegistrationCapable() throws android.telephony.ims.ImsException;
16874    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void notifyRcsAutoConfigurationReceived(@NonNull byte[], boolean);
16875    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;
16876    method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION}) public void registerRcsProvisioningCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.ProvisioningManager.RcsProvisioningCallback) throws android.telephony.ims.ImsException;
16877    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public int setProvisioningIntValue(int, int);
16878    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public int setProvisioningStringValue(int, @NonNull String);
16879    method @RequiresPermission(android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION) public void setRcsClientConfiguration(@NonNull android.telephony.ims.RcsClientConfiguration) throws android.telephony.ims.ImsException;
16880    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public void setRcsProvisioningStatusForCapability(int, boolean);
16881    method @RequiresPermission(android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION) public void triggerRcsReconfiguration();
16882    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void unregisterProvisioningChangedCallback(@NonNull android.telephony.ims.ProvisioningManager.Callback);
16883    method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION}) public void unregisterRcsProvisioningCallback(@NonNull android.telephony.ims.ProvisioningManager.RcsProvisioningCallback);
16884    field @RequiresPermission(android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION) public static final String ACTION_RCS_SINGLE_REGISTRATION_CAPABILITY_UPDATE = "android.telephony.ims.action.RCS_SINGLE_REGISTRATION_CAPABILITY_UPDATE";
16885    field public static final String EXTRA_STATUS = "android.telephony.ims.extra.STATUS";
16886    field public static final String EXTRA_SUBSCRIPTION_ID = "android.telephony.ims.extra.SUBSCRIPTION_ID";
16887    field public static final int KEY_VOICE_OVER_WIFI_ENTITLEMENT_ID = 67; // 0x43
16888    field public static final int KEY_VOICE_OVER_WIFI_MODE_OVERRIDE = 27; // 0x1b
16889    field public static final int KEY_VOICE_OVER_WIFI_ROAMING_ENABLED_OVERRIDE = 26; // 0x1a
16890    field public static final int PROVISIONING_VALUE_DISABLED = 0; // 0x0
16891    field public static final int PROVISIONING_VALUE_ENABLED = 1; // 0x1
16892    field public static final int STATUS_CAPABLE = 0; // 0x0
16893    field public static final int STATUS_CARRIER_NOT_CAPABLE = 2; // 0x2
16894    field public static final int STATUS_DEVICE_NOT_CAPABLE = 1; // 0x1
16895    field public static final String STRING_QUERY_RESULT_ERROR_GENERIC = "STRING_QUERY_RESULT_ERROR_GENERIC";
16896    field public static final String STRING_QUERY_RESULT_ERROR_NOT_READY = "STRING_QUERY_RESULT_ERROR_NOT_READY";
16897  }
16898
16899  public static class ProvisioningManager.Callback {
16900    ctor public ProvisioningManager.Callback();
16901    method public void onProvisioningIntChanged(int, int);
16902    method public void onProvisioningStringChanged(int, @NonNull String);
16903  }
16904
16905  public static class ProvisioningManager.RcsProvisioningCallback {
16906    ctor public ProvisioningManager.RcsProvisioningCallback();
16907    method public void onAutoConfigurationErrorReceived(int, @NonNull String);
16908    method public void onConfigurationChanged(@NonNull byte[]);
16909    method public void onConfigurationReset();
16910    method public void onPreProvisioningReceived(@NonNull byte[]);
16911    method public void onRemoved();
16912  }
16913
16914  public final class PublishAttributes implements android.os.Parcelable {
16915    method public int describeContents();
16916    method @NonNull public java.util.List<android.telephony.ims.RcsContactPresenceTuple> getPresenceTuples();
16917    method public int getPublishState();
16918    method @Nullable public android.telephony.ims.SipDetails getSipDetails();
16919    method public void writeToParcel(@NonNull android.os.Parcel, int);
16920    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.PublishAttributes> CREATOR;
16921  }
16922
16923  public final class RcsClientConfiguration implements android.os.Parcelable {
16924    ctor @Deprecated public RcsClientConfiguration(@NonNull String, @NonNull String, @NonNull String, @NonNull String);
16925    ctor public RcsClientConfiguration(@NonNull String, @NonNull String, @NonNull String, @NonNull String, boolean);
16926    method public int describeContents();
16927    method @NonNull public String getClientVendor();
16928    method @NonNull public String getClientVersion();
16929    method @NonNull public String getRcsProfile();
16930    method @NonNull public String getRcsVersion();
16931    method public boolean isRcsEnabledByUser();
16932    method public void writeToParcel(@NonNull android.os.Parcel, int);
16933    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.RcsClientConfiguration> CREATOR;
16934    field public static final String RCS_PROFILE_1_0 = "UP_1.0";
16935    field public static final String RCS_PROFILE_2_3 = "UP_2.3";
16936    field public static final String RCS_PROFILE_2_4 = "UP_2.4";
16937  }
16938
16939  public final class RcsContactPresenceTuple implements android.os.Parcelable {
16940    method public int describeContents();
16941    method @Nullable public android.net.Uri getContactUri();
16942    method @Nullable public android.telephony.ims.RcsContactPresenceTuple.ServiceCapabilities getServiceCapabilities();
16943    method @Nullable public String getServiceDescription();
16944    method @NonNull public String getServiceId();
16945    method @NonNull public String getServiceVersion();
16946    method @NonNull public String getStatus();
16947    method @Nullable public java.time.Instant getTime();
16948    method public void writeToParcel(@NonNull android.os.Parcel, int);
16949    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.RcsContactPresenceTuple> CREATOR;
16950    field public static final String SERVICE_ID_CALL_COMPOSER = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.gsma.callcomposer";
16951    field public static final String SERVICE_ID_CHATBOT = "org.3gpp.urn:urn-7:3gpp-application.ims.iari.rcs.chatbot";
16952    field public static final String SERVICE_ID_CHATBOT_ROLE = "org.gsma.rcs.isbot";
16953    field public static final String SERVICE_ID_CHATBOT_STANDALONE = " org.3gpp.urn:urn-7:3gpp-application.ims.iari.rcs.chatbot.sa";
16954    field public static final String SERVICE_ID_CHAT_V1 = "org.openmobilealliance:IM-session";
16955    field public static final String SERVICE_ID_CHAT_V2 = "org.openmobilealliance:ChatSession";
16956    field public static final String SERVICE_ID_FT = "org.openmobilealliance:File-Transfer-HTTP";
16957    field public static final String SERVICE_ID_FT_OVER_SMS = "org.3gpp.urn:urn-7:3gpp-application.ims.iari.rcs.ftsms";
16958    field public static final String SERVICE_ID_GEO_PUSH = "org.3gpp.urn:urn-7:3gpp-application.ims.iari.rcs.geopush";
16959    field public static final String SERVICE_ID_GEO_PUSH_VIA_SMS = "org.3gpp.urn:urn-7:3gpp-application.ims.iari.rcs.geosms";
16960    field public static final String SERVICE_ID_MMTEL = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.mmtel";
16961    field public static final String SERVICE_ID_POST_CALL = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.gsma.callunanswered";
16962    field public static final String SERVICE_ID_SHARED_MAP = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.gsma.sharedmap";
16963    field public static final String SERVICE_ID_SHARED_SKETCH = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.gsma.sharedsketch";
16964    field public static final String SERVICE_ID_SLM = "org.openmobilealliance:StandaloneMsg";
16965    field public static final String TUPLE_BASIC_STATUS_CLOSED = "closed";
16966    field public static final String TUPLE_BASIC_STATUS_OPEN = "open";
16967  }
16968
16969  public static final class RcsContactPresenceTuple.Builder {
16970    ctor public RcsContactPresenceTuple.Builder(@NonNull String, @NonNull String, @NonNull String);
16971    method @NonNull public android.telephony.ims.RcsContactPresenceTuple build();
16972    method @NonNull public android.telephony.ims.RcsContactPresenceTuple.Builder setContactUri(@NonNull android.net.Uri);
16973    method @NonNull public android.telephony.ims.RcsContactPresenceTuple.Builder setServiceCapabilities(@NonNull android.telephony.ims.RcsContactPresenceTuple.ServiceCapabilities);
16974    method @NonNull public android.telephony.ims.RcsContactPresenceTuple.Builder setServiceDescription(@NonNull String);
16975    method @NonNull public android.telephony.ims.RcsContactPresenceTuple.Builder setTime(@NonNull java.time.Instant);
16976  }
16977
16978  public static final class RcsContactPresenceTuple.ServiceCapabilities implements android.os.Parcelable {
16979    method public int describeContents();
16980    method @NonNull public java.util.List<java.lang.String> getSupportedDuplexModes();
16981    method @NonNull public java.util.List<java.lang.String> getUnsupportedDuplexModes();
16982    method public boolean isAudioCapable();
16983    method public boolean isVideoCapable();
16984    method public void writeToParcel(@NonNull android.os.Parcel, int);
16985    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.RcsContactPresenceTuple.ServiceCapabilities> CREATOR;
16986    field public static final String DUPLEX_MODE_FULL = "full";
16987    field public static final String DUPLEX_MODE_HALF = "half";
16988    field public static final String DUPLEX_MODE_RECEIVE_ONLY = "receive-only";
16989    field public static final String DUPLEX_MODE_SEND_ONLY = "send-only";
16990  }
16991
16992  public static final class RcsContactPresenceTuple.ServiceCapabilities.Builder {
16993    ctor public RcsContactPresenceTuple.ServiceCapabilities.Builder(boolean, boolean);
16994    method @NonNull public android.telephony.ims.RcsContactPresenceTuple.ServiceCapabilities.Builder addSupportedDuplexMode(@NonNull String);
16995    method @NonNull public android.telephony.ims.RcsContactPresenceTuple.ServiceCapabilities.Builder addUnsupportedDuplexMode(@NonNull String);
16996    method @NonNull public android.telephony.ims.RcsContactPresenceTuple.ServiceCapabilities build();
16997  }
16998
16999  public final class RcsContactUceCapability implements android.os.Parcelable {
17000    method public int describeContents();
17001    method public int getCapabilityMechanism();
17002    method @Nullable public android.telephony.ims.RcsContactPresenceTuple getCapabilityTuple(@NonNull String);
17003    method @NonNull public java.util.List<android.telephony.ims.RcsContactPresenceTuple> getCapabilityTuples();
17004    method @NonNull public android.net.Uri getContactUri();
17005    method @Nullable public android.net.Uri getEntityUri();
17006    method @NonNull public java.util.Set<java.lang.String> getFeatureTags();
17007    method public int getRequestResult();
17008    method public int getSourceType();
17009    method public void writeToParcel(@NonNull android.os.Parcel, int);
17010    field public static final int CAPABILITY_MECHANISM_OPTIONS = 2; // 0x2
17011    field public static final int CAPABILITY_MECHANISM_PRESENCE = 1; // 0x1
17012    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.RcsContactUceCapability> CREATOR;
17013    field public static final int REQUEST_RESULT_FOUND = 3; // 0x3
17014    field public static final int REQUEST_RESULT_NOT_FOUND = 2; // 0x2
17015    field public static final int REQUEST_RESULT_NOT_ONLINE = 1; // 0x1
17016    field public static final int REQUEST_RESULT_UNKNOWN = 0; // 0x0
17017    field public static final int SOURCE_TYPE_CACHED = 1; // 0x1
17018    field public static final int SOURCE_TYPE_NETWORK = 0; // 0x0
17019  }
17020
17021  public static final class RcsContactUceCapability.OptionsBuilder {
17022    ctor public RcsContactUceCapability.OptionsBuilder(@NonNull android.net.Uri);
17023    method @NonNull public android.telephony.ims.RcsContactUceCapability.OptionsBuilder addFeatureTag(@NonNull String);
17024    method @NonNull public android.telephony.ims.RcsContactUceCapability.OptionsBuilder addFeatureTags(@NonNull java.util.Set<java.lang.String>);
17025    method @NonNull public android.telephony.ims.RcsContactUceCapability build();
17026    method @NonNull public android.telephony.ims.RcsContactUceCapability.OptionsBuilder setRequestResult(int);
17027  }
17028
17029  public static final class RcsContactUceCapability.PresenceBuilder {
17030    ctor public RcsContactUceCapability.PresenceBuilder(@NonNull android.net.Uri, int, int);
17031    method @NonNull public android.telephony.ims.RcsContactUceCapability.PresenceBuilder addCapabilityTuple(@NonNull android.telephony.ims.RcsContactPresenceTuple);
17032    method @NonNull public android.telephony.ims.RcsContactUceCapability.PresenceBuilder addCapabilityTuples(@NonNull java.util.List<android.telephony.ims.RcsContactPresenceTuple>);
17033    method @NonNull public android.telephony.ims.RcsContactUceCapability build();
17034    method @NonNull public android.telephony.ims.RcsContactUceCapability.PresenceBuilder setEntityUri(@NonNull android.net.Uri);
17035  }
17036
17037  public class RcsUceAdapter {
17038    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void addOnPublishStateChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.RcsUceAdapter.OnPublishStateChangedListener) throws android.telephony.ims.ImsException;
17039    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getUcePublishState() throws android.telephony.ims.ImsException;
17040    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void removeOnPublishStateChangedListener(@NonNull android.telephony.ims.RcsUceAdapter.OnPublishStateChangedListener) throws android.telephony.ims.ImsException;
17041    method @RequiresPermission(allOf={android.Manifest.permission.ACCESS_RCS_USER_CAPABILITY_EXCHANGE, android.Manifest.permission.READ_CONTACTS}) public void requestAvailability(@NonNull android.net.Uri, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.RcsUceAdapter.CapabilitiesCallback) throws android.telephony.ims.ImsException;
17042    method @RequiresPermission(allOf={android.Manifest.permission.ACCESS_RCS_USER_CAPABILITY_EXCHANGE, android.Manifest.permission.READ_CONTACTS}) public void requestCapabilities(@NonNull java.util.Collection<android.net.Uri>, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.RcsUceAdapter.CapabilitiesCallback) throws android.telephony.ims.ImsException;
17043    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUceSettingEnabled(boolean) throws android.telephony.ims.ImsException;
17044    field @Deprecated public static final int CAPABILITY_TYPE_PRESENCE_UCE = 2; // 0x2
17045    field public static final int CAPABILITY_UPDATE_TRIGGER_ETAG_EXPIRED = 1; // 0x1
17046    field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_2G = 7; // 0x7
17047    field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_3G = 6; // 0x6
17048    field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_EHRPD = 4; // 0x4
17049    field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_HSPAPLUS = 5; // 0x5
17050    field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_INTERNET_PDN = 12; // 0xc
17051    field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_IWLAN = 9; // 0x9
17052    field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_LTE_VOPS_DISABLED = 2; // 0x2
17053    field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_LTE_VOPS_ENABLED = 3; // 0x3
17054    field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_NR5G_VOPS_DISABLED = 10; // 0xa
17055    field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_NR5G_VOPS_ENABLED = 11; // 0xb
17056    field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_WLAN = 8; // 0x8
17057    field public static final int CAPABILITY_UPDATE_TRIGGER_UNKNOWN = 0; // 0x0
17058    field public static final int ERROR_FORBIDDEN = 6; // 0x6
17059    field public static final int ERROR_GENERIC_FAILURE = 1; // 0x1
17060    field public static final int ERROR_INSUFFICIENT_MEMORY = 10; // 0xa
17061    field public static final int ERROR_LOST_NETWORK = 11; // 0xb
17062    field public static final int ERROR_NOT_AUTHORIZED = 5; // 0x5
17063    field public static final int ERROR_NOT_AVAILABLE = 3; // 0x3
17064    field public static final int ERROR_NOT_ENABLED = 2; // 0x2
17065    field public static final int ERROR_NOT_FOUND = 7; // 0x7
17066    field public static final int ERROR_NOT_REGISTERED = 4; // 0x4
17067    field public static final int ERROR_REQUEST_TIMEOUT = 9; // 0x9
17068    field public static final int ERROR_REQUEST_TOO_LARGE = 8; // 0x8
17069    field public static final int ERROR_SERVER_UNAVAILABLE = 12; // 0xc
17070    field public static final int PUBLISH_STATE_NOT_PUBLISHED = 2; // 0x2
17071    field public static final int PUBLISH_STATE_OK = 1; // 0x1
17072    field public static final int PUBLISH_STATE_OTHER_ERROR = 6; // 0x6
17073    field public static final int PUBLISH_STATE_PUBLISHING = 7; // 0x7
17074    field public static final int PUBLISH_STATE_RCS_PROVISION_ERROR = 4; // 0x4
17075    field public static final int PUBLISH_STATE_REQUEST_TIMEOUT = 5; // 0x5
17076    field public static final int PUBLISH_STATE_VOICE_PROVISION_ERROR = 3; // 0x3
17077  }
17078
17079  public static interface RcsUceAdapter.CapabilitiesCallback {
17080    method public void onCapabilitiesReceived(@NonNull java.util.List<android.telephony.ims.RcsContactUceCapability>);
17081    method public default void onComplete();
17082    method public default void onComplete(@Nullable android.telephony.ims.SipDetails);
17083    method public default void onError(int, long);
17084    method public default void onError(int, long, @Nullable android.telephony.ims.SipDetails);
17085  }
17086
17087  public static interface RcsUceAdapter.OnPublishStateChangedListener {
17088    method @Deprecated public void onPublishStateChange(int);
17089    method public default void onPublishStateChange(@NonNull android.telephony.ims.PublishAttributes);
17090  }
17091
17092  public interface RegistrationManager {
17093    field public static final int SUGGESTED_ACTION_NONE = 0; // 0x0
17094    field @FlaggedApi("com.android.internal.telephony.flags.add_rat_related_suggested_action_to_ims_registration") public static final int SUGGESTED_ACTION_TRIGGER_CLEAR_RAT_BLOCKS = 4; // 0x4
17095    field public static final int SUGGESTED_ACTION_TRIGGER_PLMN_BLOCK = 1; // 0x1
17096    field public static final int SUGGESTED_ACTION_TRIGGER_PLMN_BLOCK_WITH_TIMEOUT = 2; // 0x2
17097    field @FlaggedApi("com.android.internal.telephony.flags.add_rat_related_suggested_action_to_ims_registration") public static final int SUGGESTED_ACTION_TRIGGER_RAT_BLOCK = 3; // 0x3
17098  }
17099
17100  public static class RegistrationManager.RegistrationCallback {
17101    method public void onUnregistered(@NonNull android.telephony.ims.ImsReasonInfo, @NonNull android.telephony.ims.SipDetails);
17102  }
17103
17104  public final class RtpHeaderExtension implements android.os.Parcelable {
17105    ctor public RtpHeaderExtension(@IntRange(from=1, to=14) int, @NonNull byte[]);
17106    method public int describeContents();
17107    method @NonNull public byte[] getExtensionData();
17108    method @IntRange(from=1, to=14) public int getLocalIdentifier();
17109    method public void writeToParcel(@NonNull android.os.Parcel, int);
17110    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.RtpHeaderExtension> CREATOR;
17111  }
17112
17113  public final class RtpHeaderExtensionType implements android.os.Parcelable {
17114    ctor public RtpHeaderExtensionType(@IntRange(from=1, to=14) int, @NonNull android.net.Uri);
17115    method public int describeContents();
17116    method @IntRange(from=1, to=14) public int getLocalIdentifier();
17117    method @NonNull public android.net.Uri getUri();
17118    method public void writeToParcel(@NonNull android.os.Parcel, int);
17119    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.RtpHeaderExtensionType> CREATOR;
17120  }
17121
17122  public final class SipDelegateConfiguration implements android.os.Parcelable {
17123    method public int describeContents();
17124    method @Nullable public String getHomeDomain();
17125    method @Nullable public String getImei();
17126    method @Nullable public android.telephony.ims.SipDelegateConfiguration.IpSecConfiguration getIpSecConfiguration();
17127    method @NonNull public java.net.InetSocketAddress getLocalAddress();
17128    method public int getMaxUdpPayloadSizeBytes();
17129    method @Nullable public java.net.InetSocketAddress getNatSocketAddress();
17130    method @Nullable public String getPrivateUserIdentifier();
17131    method @Nullable public android.net.Uri getPublicGruuUri();
17132    method @Nullable public String getPublicUserIdentifier();
17133    method @Nullable public String getSipAssociatedUriHeader();
17134    method @Nullable public String getSipAuthenticationHeader();
17135    method @Nullable public String getSipAuthenticationNonce();
17136    method @Nullable public String getSipCniHeader();
17137    method @Nullable public String getSipContactUserParameter();
17138    method @Nullable public String getSipPaniHeader();
17139    method @Nullable public String getSipPathHeader();
17140    method @Nullable public String getSipPlaniHeader();
17141    method @NonNull public java.net.InetSocketAddress getSipServerAddress();
17142    method @Nullable public String getSipServiceRouteHeader();
17143    method @Nullable public String getSipUserAgentHeader();
17144    method public int getTransportType();
17145    method @IntRange(from=0) public long getVersion();
17146    method public boolean isSipCompactFormEnabled();
17147    method public boolean isSipKeepaliveEnabled();
17148    method public void writeToParcel(@NonNull android.os.Parcel, int);
17149    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.SipDelegateConfiguration> CREATOR;
17150    field public static final int SIP_TRANSPORT_TCP = 1; // 0x1
17151    field public static final int SIP_TRANSPORT_UDP = 0; // 0x0
17152    field public static final int UDP_PAYLOAD_SIZE_UNDEFINED = -1; // 0xffffffff
17153  }
17154
17155  public static final class SipDelegateConfiguration.Builder {
17156    ctor public SipDelegateConfiguration.Builder(@IntRange(from=0) long, int, @NonNull java.net.InetSocketAddress, @NonNull java.net.InetSocketAddress);
17157    ctor public SipDelegateConfiguration.Builder(@NonNull android.telephony.ims.SipDelegateConfiguration);
17158    method @NonNull public android.telephony.ims.SipDelegateConfiguration build();
17159    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setHomeDomain(@Nullable String);
17160    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setImei(@Nullable String);
17161    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setIpSecConfiguration(@Nullable android.telephony.ims.SipDelegateConfiguration.IpSecConfiguration);
17162    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setMaxUdpPayloadSizeBytes(@IntRange(from=1) int);
17163    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setNatSocketAddress(@Nullable java.net.InetSocketAddress);
17164    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setPrivateUserIdentifier(@Nullable String);
17165    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setPublicGruuUri(@Nullable android.net.Uri);
17166    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setPublicUserIdentifier(@Nullable String);
17167    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipAssociatedUriHeader(@Nullable String);
17168    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipAuthenticationHeader(@Nullable String);
17169    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipAuthenticationNonce(@Nullable String);
17170    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipCniHeader(@Nullable String);
17171    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipCompactFormEnabled(boolean);
17172    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipContactUserParameter(@Nullable String);
17173    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipKeepaliveEnabled(boolean);
17174    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipPaniHeader(@Nullable String);
17175    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipPathHeader(@Nullable String);
17176    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipPlaniHeader(@Nullable String);
17177    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipServiceRouteHeader(@Nullable String);
17178    method @NonNull public android.telephony.ims.SipDelegateConfiguration.Builder setSipUserAgentHeader(@Nullable String);
17179  }
17180
17181  public static final class SipDelegateConfiguration.IpSecConfiguration {
17182    ctor public SipDelegateConfiguration.IpSecConfiguration(int, int, int, int, int, int, @NonNull String);
17183    method public int getLastLocalTxPort();
17184    method public int getLastRemoteTxPort();
17185    method public int getLocalRxPort();
17186    method public int getLocalTxPort();
17187    method public int getRemoteRxPort();
17188    method public int getRemoteTxPort();
17189    method @NonNull public String getSipSecurityVerifyHeader();
17190  }
17191
17192  public interface SipDelegateConnection {
17193    method public void cleanupSession(@NonNull String);
17194    method public void notifyMessageReceiveError(@NonNull String, int);
17195    method public void notifyMessageReceived(@NonNull String);
17196    method public void sendMessage(@NonNull android.telephony.ims.SipMessage, long);
17197  }
17198
17199  public class SipDelegateManager {
17200    method @RequiresPermission(android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION) public void createSipDelegate(@NonNull android.telephony.ims.DelegateRequest, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.stub.DelegateConnectionStateCallback, @NonNull android.telephony.ims.stub.DelegateConnectionMessageCallback) throws android.telephony.ims.ImsException;
17201    method @RequiresPermission(android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION) public void destroySipDelegate(@NonNull android.telephony.ims.SipDelegateConnection, int);
17202    method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION}) public boolean isSupported() throws android.telephony.ims.ImsException;
17203    method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION}) public void registerImsStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.ImsStateCallback) throws android.telephony.ims.ImsException;
17204    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void registerSipDialogStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.SipDialogStateCallback) throws android.telephony.ims.ImsException;
17205    method @RequiresPermission(android.Manifest.permission.PERFORM_IMS_SINGLE_REGISTRATION) public void triggerFullNetworkRegistration(@NonNull android.telephony.ims.SipDelegateConnection, @IntRange(from=100, to=699) int, @Nullable String);
17206    method public void unregisterImsStateCallback(@NonNull android.telephony.ims.ImsStateCallback);
17207    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void unregisterSipDialogStateCallback(@NonNull android.telephony.ims.SipDialogStateCallback) throws android.telephony.ims.ImsException;
17208    field public static final int DENIED_REASON_INVALID = 4; // 0x4
17209    field public static final int DENIED_REASON_IN_USE_BY_ANOTHER_DELEGATE = 1; // 0x1
17210    field public static final int DENIED_REASON_NOT_ALLOWED = 2; // 0x2
17211    field public static final int DENIED_REASON_SINGLE_REGISTRATION_NOT_ALLOWED = 3; // 0x3
17212    field public static final int DENIED_REASON_UNKNOWN = 0; // 0x0
17213    field public static final int MESSAGE_FAILURE_REASON_DELEGATE_CLOSED = 2; // 0x2
17214    field public static final int MESSAGE_FAILURE_REASON_DELEGATE_DEAD = 1; // 0x1
17215    field public static final int MESSAGE_FAILURE_REASON_INTERNAL_DELEGATE_STATE_TRANSITION = 11; // 0xb
17216    field public static final int MESSAGE_FAILURE_REASON_INVALID_BODY_CONTENT = 5; // 0x5
17217    field public static final int MESSAGE_FAILURE_REASON_INVALID_FEATURE_TAG = 6; // 0x6
17218    field public static final int MESSAGE_FAILURE_REASON_INVALID_HEADER_FIELDS = 4; // 0x4
17219    field public static final int MESSAGE_FAILURE_REASON_INVALID_START_LINE = 3; // 0x3
17220    field public static final int MESSAGE_FAILURE_REASON_NETWORK_NOT_AVAILABLE = 8; // 0x8
17221    field public static final int MESSAGE_FAILURE_REASON_NOT_REGISTERED = 9; // 0x9
17222    field public static final int MESSAGE_FAILURE_REASON_STALE_IMS_CONFIGURATION = 10; // 0xa
17223    field public static final int MESSAGE_FAILURE_REASON_TAG_NOT_ENABLED_FOR_DELEGATE = 7; // 0x7
17224    field public static final int MESSAGE_FAILURE_REASON_UNKNOWN = 0; // 0x0
17225    field public static final int SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP = 2; // 0x2
17226    field public static final int SIP_DELEGATE_DESTROY_REASON_SERVICE_DEAD = 1; // 0x1
17227    field public static final int SIP_DELEGATE_DESTROY_REASON_SUBSCRIPTION_TORN_DOWN = 4; // 0x4
17228    field public static final int SIP_DELEGATE_DESTROY_REASON_UNKNOWN = 0; // 0x0
17229    field public static final int SIP_DELEGATE_DESTROY_REASON_USER_DISABLED_RCS = 3; // 0x3
17230  }
17231
17232  public final class SipDialogState implements android.os.Parcelable {
17233    method public int describeContents();
17234    method public int getState();
17235    method public void writeToParcel(@NonNull android.os.Parcel, int);
17236    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.SipDialogState> CREATOR;
17237    field public static final int STATE_CLOSED = 2; // 0x2
17238    field public static final int STATE_CONFIRMED = 1; // 0x1
17239    field public static final int STATE_EARLY = 0; // 0x0
17240  }
17241
17242  public abstract class SipDialogStateCallback {
17243    ctor public SipDialogStateCallback();
17244    method public abstract void onActiveSipDialogsChanged(@NonNull java.util.List<android.telephony.ims.SipDialogState>);
17245    method public abstract void onError();
17246  }
17247
17248  public final class SipMessage implements android.os.Parcelable {
17249    ctor public SipMessage(@NonNull String, @NonNull String, @NonNull byte[]);
17250    method public int describeContents();
17251    method @Nullable public String getCallIdParameter();
17252    method @NonNull public byte[] getContent();
17253    method @NonNull public String getHeaderSection();
17254    method @NonNull public String getStartLine();
17255    method @NonNull public String getViaBranchParameter();
17256    method @NonNull public byte[] toEncodedMessage();
17257    method public void writeToParcel(@NonNull android.os.Parcel, int);
17258    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.SipMessage> CREATOR;
17259  }
17260
17261  public final class SrvccCall implements android.os.Parcelable {
17262    ctor public SrvccCall(@NonNull String, int, @NonNull android.telephony.ims.ImsCallProfile);
17263    method public int describeContents();
17264    method @NonNull public String getCallId();
17265    method @NonNull public android.telephony.ims.ImsCallProfile getImsCallProfile();
17266    method public int getPreciseCallState();
17267    method public void writeToParcel(@NonNull android.os.Parcel, int);
17268    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.SrvccCall> CREATOR;
17269  }
17270
17271}
17272
17273package android.telephony.ims.feature {
17274
17275  public final class CapabilityChangeRequest implements android.os.Parcelable {
17276    method public void addCapabilitiesToDisableForTech(int, int);
17277    method public void addCapabilitiesToEnableForTech(int, int);
17278    method public int describeContents();
17279    method public java.util.List<android.telephony.ims.feature.CapabilityChangeRequest.CapabilityPair> getCapabilitiesToDisable();
17280    method public java.util.List<android.telephony.ims.feature.CapabilityChangeRequest.CapabilityPair> getCapabilitiesToEnable();
17281    method public void writeToParcel(android.os.Parcel, int);
17282    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.feature.CapabilityChangeRequest> CREATOR;
17283  }
17284
17285  public static class CapabilityChangeRequest.CapabilityPair {
17286    ctor public CapabilityChangeRequest.CapabilityPair(int, int);
17287    method public int getCapability();
17288    method public int getRadioTech();
17289  }
17290
17291  public abstract class ImsFeature {
17292    ctor public ImsFeature();
17293    method public abstract void changeEnabledCapabilities(android.telephony.ims.feature.CapabilityChangeRequest, android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy);
17294    method public int getFeatureState();
17295    method public final int getSlotIndex();
17296    method public abstract void onFeatureReady();
17297    method public abstract void onFeatureRemoved();
17298    method public final void setFeatureState(int);
17299    field public static final int CAPABILITY_ERROR_GENERIC = -1; // 0xffffffff
17300    field public static final int CAPABILITY_SUCCESS = 0; // 0x0
17301    field public static final int FEATURE_EMERGENCY_MMTEL = 0; // 0x0
17302    field public static final int FEATURE_MMTEL = 1; // 0x1
17303    field public static final int FEATURE_RCS = 2; // 0x2
17304    field public static final int STATE_INITIALIZING = 1; // 0x1
17305    field public static final int STATE_READY = 2; // 0x2
17306    field public static final int STATE_UNAVAILABLE = 0; // 0x0
17307  }
17308
17309  @Deprecated public static class ImsFeature.Capabilities {
17310    field @Deprecated protected int mCapabilities;
17311  }
17312
17313  protected static class ImsFeature.CapabilityCallbackProxy {
17314    method public void onChangeCapabilityConfigurationError(int, int, int);
17315  }
17316
17317  public class MmTelFeature extends android.telephony.ims.feature.ImsFeature {
17318    ctor public MmTelFeature();
17319    ctor public MmTelFeature(@NonNull java.util.concurrent.Executor);
17320    method public void changeEnabledCapabilities(@NonNull android.telephony.ims.feature.CapabilityChangeRequest, @NonNull android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy);
17321    method public void changeOfferedRtpHeaderExtensionTypes(@NonNull java.util.Set<android.telephony.ims.RtpHeaderExtensionType>);
17322    method public void clearMediaThreshold(int);
17323    method @Nullable public android.telephony.ims.ImsCallProfile createCallProfile(int, int);
17324    method @Nullable public android.telephony.ims.stub.ImsCallSessionImplBase createCallSession(@NonNull android.telephony.ims.ImsCallProfile);
17325    method @NonNull public android.telephony.ims.stub.ImsEcbmImplBase getEcbm();
17326    method @NonNull public android.telephony.ims.stub.ImsMultiEndpointImplBase getMultiEndpoint();
17327    method @NonNull public android.telephony.ims.stub.ImsSmsImplBase getSmsImplementation();
17328    method @NonNull public android.telephony.ims.stub.ImsUtImplBase getUt();
17329    method public final void notifyCapabilitiesStatusChanged(@NonNull android.telephony.ims.feature.MmTelFeature.MmTelCapabilities);
17330    method @Deprecated public final void notifyIncomingCall(@NonNull android.telephony.ims.stub.ImsCallSessionImplBase, @NonNull android.os.Bundle);
17331    method @Nullable public final android.telephony.ims.ImsCallSessionListener notifyIncomingCall(@NonNull android.telephony.ims.stub.ImsCallSessionImplBase, @NonNull String, @NonNull android.os.Bundle);
17332    method public final void notifyMediaQualityStatusChanged(@NonNull android.telephony.ims.MediaQualityStatus);
17333    method public final void notifyRejectedCall(@NonNull android.telephony.ims.ImsCallProfile, @NonNull android.telephony.ims.ImsReasonInfo);
17334    method public void notifySrvccCanceled();
17335    method public void notifySrvccCompleted();
17336    method public void notifySrvccFailed();
17337    method public void notifySrvccStarted(@NonNull java.util.function.Consumer<java.util.List<android.telephony.ims.SrvccCall>>);
17338    method public final void notifyVoiceMessageCountUpdate(int);
17339    method public void onFeatureReady();
17340    method public void onFeatureRemoved();
17341    method public boolean queryCapabilityConfiguration(int, int);
17342    method @NonNull public final android.telephony.ims.feature.MmTelFeature.MmTelCapabilities queryCapabilityStatus();
17343    method @Nullable public android.telephony.ims.MediaQualityStatus queryMediaQualityStatus(int);
17344    method public final void setCallAudioHandler(int);
17345    method public void setMediaThreshold(int, @NonNull android.telephony.ims.MediaThreshold);
17346    method public void setTerminalBasedCallWaitingStatus(boolean);
17347    method public void setUiTtyMode(int, @Nullable android.os.Message);
17348    method public int shouldProcessCall(@NonNull String[]);
17349    field public static final int AUDIO_HANDLER_ANDROID = 0; // 0x0
17350    field public static final int AUDIO_HANDLER_BASEBAND = 1; // 0x1
17351    field public static final String EXTRA_IS_UNKNOWN_CALL = "android.telephony.ims.feature.extra.IS_UNKNOWN_CALL";
17352    field public static final String EXTRA_IS_USSD = "android.telephony.ims.feature.extra.IS_USSD";
17353    field public static final int PROCESS_CALL_CSFB = 1; // 0x1
17354    field public static final int PROCESS_CALL_IMS = 0; // 0x0
17355  }
17356
17357  public static class MmTelFeature.MmTelCapabilities extends android.telephony.ims.feature.ImsFeature.Capabilities {
17358    ctor public MmTelFeature.MmTelCapabilities();
17359    ctor @Deprecated public MmTelFeature.MmTelCapabilities(android.telephony.ims.feature.ImsFeature.Capabilities);
17360    ctor public MmTelFeature.MmTelCapabilities(int);
17361    method public final void addCapabilities(int);
17362    method public final void removeCapabilities(int);
17363  }
17364
17365  public class RcsFeature extends android.telephony.ims.feature.ImsFeature {
17366    ctor public RcsFeature();
17367    ctor public RcsFeature(@NonNull java.util.concurrent.Executor);
17368    method public void changeEnabledCapabilities(@NonNull android.telephony.ims.feature.CapabilityChangeRequest, @NonNull android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy);
17369    method @NonNull public android.telephony.ims.stub.RcsCapabilityExchangeImplBase createCapabilityExchangeImpl(@NonNull android.telephony.ims.stub.CapabilityExchangeEventListener);
17370    method public void destroyCapabilityExchangeImpl(@NonNull android.telephony.ims.stub.RcsCapabilityExchangeImplBase);
17371    method public final void notifyCapabilitiesStatusChanged(@NonNull android.telephony.ims.feature.RcsFeature.RcsImsCapabilities);
17372    method public void onFeatureReady();
17373    method public void onFeatureRemoved();
17374    method public boolean queryCapabilityConfiguration(int, int);
17375    method @NonNull public final android.telephony.ims.feature.RcsFeature.RcsImsCapabilities queryCapabilityStatus();
17376  }
17377
17378  public static class RcsFeature.RcsImsCapabilities extends android.telephony.ims.feature.ImsFeature.Capabilities {
17379    ctor public RcsFeature.RcsImsCapabilities(int);
17380    method public void addCapabilities(int);
17381    method public boolean isCapable(int);
17382    method public void removeCapabilities(int);
17383    field public static final int CAPABILITY_TYPE_NONE = 0; // 0x0
17384    field public static final int CAPABILITY_TYPE_OPTIONS_UCE = 1; // 0x1
17385    field public static final int CAPABILITY_TYPE_PRESENCE_UCE = 2; // 0x2
17386  }
17387
17388}
17389
17390package android.telephony.ims.stub {
17391
17392  public interface CapabilityExchangeEventListener {
17393    method @Deprecated public default void onPublishUpdated(int, @NonNull String, int, @NonNull String) throws android.telephony.ims.ImsException;
17394    method public default void onPublishUpdated(@NonNull android.telephony.ims.SipDetails) throws android.telephony.ims.ImsException;
17395    method public void onRemoteCapabilityRequest(@NonNull android.net.Uri, @NonNull java.util.Set<java.lang.String>, @NonNull android.telephony.ims.stub.CapabilityExchangeEventListener.OptionsRequestCallback) throws android.telephony.ims.ImsException;
17396    method public void onRequestPublishCapabilities(int) throws android.telephony.ims.ImsException;
17397    method public void onUnpublish() throws android.telephony.ims.ImsException;
17398  }
17399
17400  public static interface CapabilityExchangeEventListener.OptionsRequestCallback {
17401    method public void onRespondToCapabilityRequest(@NonNull android.telephony.ims.RcsContactUceCapability, boolean);
17402    method public void onRespondToCapabilityRequestWithError(@IntRange(from=100, to=699) int, @NonNull String);
17403  }
17404
17405  public interface DelegateConnectionMessageCallback {
17406    method public void onMessageReceived(@NonNull android.telephony.ims.SipMessage);
17407    method public void onMessageSendFailure(@NonNull String, int);
17408    method public void onMessageSent(@NonNull String);
17409  }
17410
17411  public interface DelegateConnectionStateCallback {
17412    method public void onConfigurationChanged(@NonNull android.telephony.ims.SipDelegateConfiguration);
17413    method public void onCreated(@NonNull android.telephony.ims.SipDelegateConnection);
17414    method public void onDestroyed(int);
17415    method public void onFeatureTagStatusChanged(@NonNull android.telephony.ims.DelegateRegistrationState, @NonNull java.util.Set<android.telephony.ims.FeatureTagState>);
17416  }
17417
17418  public class ImsCallSessionImplBase implements java.lang.AutoCloseable {
17419    ctor public ImsCallSessionImplBase();
17420    method public void accept(int, android.telephony.ims.ImsStreamMediaProfile);
17421    method public void close();
17422    method public void deflect(String);
17423    method public void extendToConference(String[]);
17424    method public String getCallId();
17425    method public android.telephony.ims.ImsCallProfile getCallProfile();
17426    method public android.telephony.ims.ImsVideoCallProvider getImsVideoCallProvider();
17427    method public android.telephony.ims.ImsCallProfile getLocalCallProfile();
17428    method public String getProperty(String);
17429    method public android.telephony.ims.ImsCallProfile getRemoteCallProfile();
17430    method public int getState();
17431    method public void hold(android.telephony.ims.ImsStreamMediaProfile);
17432    method public void inviteParticipants(String[]);
17433    method public boolean isInCall();
17434    method public boolean isMultiparty();
17435    method public void merge();
17436    method public void reject(int);
17437    method public void removeParticipants(String[]);
17438    method public void resume(android.telephony.ims.ImsStreamMediaProfile);
17439    method public void sendDtmf(char, android.os.Message);
17440    method public void sendRtpHeaderExtensions(@NonNull java.util.Set<android.telephony.ims.RtpHeaderExtension>);
17441    method public void sendRttMessage(String);
17442    method public void sendRttModifyRequest(android.telephony.ims.ImsCallProfile);
17443    method public void sendRttModifyResponse(boolean);
17444    method public void sendUssd(String);
17445    method @Deprecated public void setListener(android.telephony.ims.ImsCallSessionListener);
17446    method public void setMute(boolean);
17447    method public void start(String, android.telephony.ims.ImsCallProfile);
17448    method public void startConference(String[], android.telephony.ims.ImsCallProfile);
17449    method public void startDtmf(char);
17450    method public void stopDtmf();
17451    method public void terminate(int);
17452    method public void update(int, android.telephony.ims.ImsStreamMediaProfile);
17453    field public static final int USSD_MODE_NOTIFY = 0; // 0x0
17454    field public static final int USSD_MODE_REQUEST = 1; // 0x1
17455  }
17456
17457  public static class ImsCallSessionImplBase.State {
17458    method public static String toString(int);
17459    field public static final int ESTABLISHED = 4; // 0x4
17460    field public static final int ESTABLISHING = 3; // 0x3
17461    field public static final int IDLE = 0; // 0x0
17462    field public static final int INITIATED = 1; // 0x1
17463    field public static final int INVALID = -1; // 0xffffffff
17464    field public static final int NEGOTIATING = 2; // 0x2
17465    field public static final int REESTABLISHING = 6; // 0x6
17466    field public static final int RENEGOTIATING = 5; // 0x5
17467    field public static final int TERMINATED = 8; // 0x8
17468    field public static final int TERMINATING = 7; // 0x7
17469  }
17470
17471  public class ImsConfigImplBase {
17472    ctor public ImsConfigImplBase(@NonNull java.util.concurrent.Executor);
17473    ctor public ImsConfigImplBase();
17474    method public int getConfigInt(int);
17475    method public String getConfigString(int);
17476    method public final void notifyAutoConfigurationErrorReceived(int, @NonNull String);
17477    method public final void notifyPreProvisioningReceived(@NonNull byte[]);
17478    method public final void notifyProvisionedValueChanged(int, int);
17479    method public final void notifyProvisionedValueChanged(int, String);
17480    method public void notifyRcsAutoConfigurationReceived(@NonNull byte[], boolean);
17481    method public void notifyRcsAutoConfigurationRemoved();
17482    method public int setConfig(int, int);
17483    method public int setConfig(int, String);
17484    method public void setRcsClientConfiguration(@NonNull android.telephony.ims.RcsClientConfiguration);
17485    method public void triggerAutoConfiguration();
17486    field public static final int CONFIG_RESULT_FAILED = 1; // 0x1
17487    field public static final int CONFIG_RESULT_SUCCESS = 0; // 0x0
17488    field public static final int CONFIG_RESULT_UNKNOWN = -1; // 0xffffffff
17489  }
17490
17491  public class ImsEcbmImplBase {
17492    ctor public ImsEcbmImplBase();
17493    method public final void enteredEcbm();
17494    method public void exitEmergencyCallbackMode();
17495    method public final void exitedEcbm();
17496  }
17497
17498  public final class ImsFeatureConfiguration implements android.os.Parcelable {
17499    method public int describeContents();
17500    method public java.util.Set<android.telephony.ims.stub.ImsFeatureConfiguration.FeatureSlotPair> getServiceFeatures();
17501    method public void writeToParcel(android.os.Parcel, int);
17502    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.stub.ImsFeatureConfiguration> CREATOR;
17503  }
17504
17505  public static class ImsFeatureConfiguration.Builder {
17506    ctor public ImsFeatureConfiguration.Builder();
17507    method public android.telephony.ims.stub.ImsFeatureConfiguration.Builder addFeature(int, int);
17508    method public android.telephony.ims.stub.ImsFeatureConfiguration build();
17509  }
17510
17511  public static final class ImsFeatureConfiguration.FeatureSlotPair {
17512    ctor public ImsFeatureConfiguration.FeatureSlotPair(int, int);
17513    field public final int featureType;
17514    field public final int slotId;
17515  }
17516
17517  public class ImsMultiEndpointImplBase {
17518    ctor public ImsMultiEndpointImplBase();
17519    method public final void onImsExternalCallStateUpdate(java.util.List<android.telephony.ims.ImsExternalCallState>);
17520    method public void requestImsExternalCallStateInfo();
17521  }
17522
17523  public class ImsRegistrationImplBase {
17524    ctor public ImsRegistrationImplBase();
17525    ctor public ImsRegistrationImplBase(@NonNull java.util.concurrent.Executor);
17526    method public final void onDeregistered(android.telephony.ims.ImsReasonInfo);
17527    method public final void onDeregistered(@Nullable android.telephony.ims.ImsReasonInfo, int, int);
17528    method @FlaggedApi("com.android.internal.telephony.flags.emergency_registration_state") public final void onDeregistered(@Nullable android.telephony.ims.ImsReasonInfo, int, @NonNull android.telephony.ims.ImsRegistrationAttributes);
17529    method public final void onDeregistered(@Nullable android.telephony.ims.ImsReasonInfo, @NonNull android.telephony.ims.SipDetails);
17530    method public final void onDeregistered(@Nullable android.telephony.ims.ImsReasonInfo, int, int, @NonNull android.telephony.ims.SipDetails);
17531    method public final void onRegistered(int);
17532    method public final void onRegistered(@NonNull android.telephony.ims.ImsRegistrationAttributes);
17533    method public final void onRegistering(int);
17534    method public final void onRegistering(@NonNull android.telephony.ims.ImsRegistrationAttributes);
17535    method public final void onSubscriberAssociatedUriChanged(android.net.Uri[]);
17536    method public final void onTechnologyChangeFailed(int, android.telephony.ims.ImsReasonInfo);
17537    method @FlaggedApi("com.android.internal.telephony.flags.emergency_registration_state") public final void onTechnologyChangeFailed(@Nullable android.telephony.ims.ImsReasonInfo, @NonNull android.telephony.ims.ImsRegistrationAttributes);
17538    method public void triggerFullNetworkRegistration(@IntRange(from=100, to=699) int, @Nullable String);
17539    method public void triggerSipDelegateDeregistration();
17540    method public void updateSipDelegateRegistration();
17541  }
17542
17543  public class ImsSmsImplBase {
17544    ctor public ImsSmsImplBase();
17545    ctor public ImsSmsImplBase(@NonNull java.util.concurrent.Executor);
17546    method public void acknowledgeSms(int, @IntRange(from=0, to=65535) int, int);
17547    method public void acknowledgeSms(int, @IntRange(from=0, to=65535) int, int, @NonNull byte[]);
17548    method public void acknowledgeSmsReport(int, @IntRange(from=0, to=65535) int, int);
17549    method public String getSmsFormat();
17550    method public void onReady();
17551    method @Deprecated public final void onSendSmsResult(int, @IntRange(from=0, to=65535) int, int, int) throws java.lang.RuntimeException;
17552    method public final void onSendSmsResultError(int, @IntRange(from=0, to=65535) int, int, int, int) throws java.lang.RuntimeException;
17553    method public final void onSendSmsResultSuccess(int, @IntRange(from=0, to=65535) int) throws java.lang.RuntimeException;
17554    method public final void onSmsReceived(int, String, byte[]) throws java.lang.RuntimeException;
17555    method @Deprecated public final void onSmsStatusReportReceived(int, @IntRange(from=0, to=65535) int, String, byte[]) throws java.lang.RuntimeException;
17556    method public final void onSmsStatusReportReceived(int, String, byte[]) throws java.lang.RuntimeException;
17557    method public void sendSms(int, @IntRange(from=0, to=65535) int, String, String, boolean, byte[]);
17558    field public static final int DELIVER_STATUS_ERROR_GENERIC = 2; // 0x2
17559    field public static final int DELIVER_STATUS_ERROR_NO_MEMORY = 3; // 0x3
17560    field public static final int DELIVER_STATUS_ERROR_REQUEST_NOT_SUPPORTED = 4; // 0x4
17561    field public static final int DELIVER_STATUS_OK = 1; // 0x1
17562    field public static final int RESULT_NO_NETWORK_ERROR = -1; // 0xffffffff
17563    field public static final int SEND_STATUS_ERROR = 2; // 0x2
17564    field public static final int SEND_STATUS_ERROR_FALLBACK = 4; // 0x4
17565    field public static final int SEND_STATUS_ERROR_RETRY = 3; // 0x3
17566    field public static final int SEND_STATUS_OK = 1; // 0x1
17567    field public static final int STATUS_REPORT_STATUS_ERROR = 2; // 0x2
17568    field public static final int STATUS_REPORT_STATUS_OK = 1; // 0x1
17569  }
17570
17571  public class ImsUtImplBase {
17572    ctor public ImsUtImplBase();
17573    method public void close();
17574    method public int queryCallBarring(int);
17575    method public int queryCallBarringForServiceClass(int, int);
17576    method public int queryCallForward(int, String);
17577    method public int queryCallWaiting();
17578    method public int queryClip();
17579    method public int queryClir();
17580    method public int queryColp();
17581    method public int queryColr();
17582    method public void setListener(android.telephony.ims.ImsUtListener);
17583    method public int transact(android.os.Bundle);
17584    method public int updateCallBarring(int, int, String[]);
17585    method public int updateCallBarringForServiceClass(int, int, String[], int);
17586    method public int updateCallForward(int, int, String, int, int);
17587    method public int updateCallWaiting(boolean, int);
17588    method public int updateClip(boolean);
17589    method public int updateClir(int);
17590    method public int updateColp(boolean);
17591    method public int updateColr(int);
17592  }
17593
17594  public class RcsCapabilityExchangeImplBase {
17595    ctor public RcsCapabilityExchangeImplBase();
17596    method public void publishCapabilities(@NonNull String, @NonNull android.telephony.ims.stub.RcsCapabilityExchangeImplBase.PublishResponseCallback);
17597    method public void sendOptionsCapabilityRequest(@NonNull android.net.Uri, @NonNull java.util.Set<java.lang.String>, @NonNull android.telephony.ims.stub.RcsCapabilityExchangeImplBase.OptionsResponseCallback);
17598    method public void subscribeForCapabilities(@NonNull java.util.Collection<android.net.Uri>, @NonNull android.telephony.ims.stub.RcsCapabilityExchangeImplBase.SubscribeResponseCallback);
17599    field public static final int COMMAND_CODE_FETCH_ERROR = 3; // 0x3
17600    field public static final int COMMAND_CODE_GENERIC_FAILURE = 1; // 0x1
17601    field public static final int COMMAND_CODE_INSUFFICIENT_MEMORY = 5; // 0x5
17602    field public static final int COMMAND_CODE_INVALID_PARAM = 2; // 0x2
17603    field public static final int COMMAND_CODE_LOST_NETWORK_CONNECTION = 6; // 0x6
17604    field public static final int COMMAND_CODE_NOT_FOUND = 8; // 0x8
17605    field public static final int COMMAND_CODE_NOT_SUPPORTED = 7; // 0x7
17606    field public static final int COMMAND_CODE_NO_CHANGE = 10; // 0xa
17607    field public static final int COMMAND_CODE_REQUEST_TIMEOUT = 4; // 0x4
17608    field public static final int COMMAND_CODE_SERVICE_UNAVAILABLE = 9; // 0x9
17609    field public static final int COMMAND_CODE_SERVICE_UNKNOWN = 0; // 0x0
17610  }
17611
17612  public static interface RcsCapabilityExchangeImplBase.OptionsResponseCallback {
17613    method public void onCommandError(int) throws android.telephony.ims.ImsException;
17614    method public void onNetworkResponse(int, @NonNull String, @NonNull java.util.List<java.lang.String>) throws android.telephony.ims.ImsException;
17615  }
17616
17617  public static interface RcsCapabilityExchangeImplBase.PublishResponseCallback {
17618    method public void onCommandError(int) throws android.telephony.ims.ImsException;
17619    method @Deprecated public void onNetworkResponse(@IntRange(from=100, to=699) int, @NonNull String) throws android.telephony.ims.ImsException;
17620    method @Deprecated public void onNetworkResponse(@IntRange(from=100, to=699) int, @NonNull String, @IntRange(from=100, to=699) int, @NonNull String) throws android.telephony.ims.ImsException;
17621    method public default void onNetworkResponse(@NonNull android.telephony.ims.SipDetails) throws android.telephony.ims.ImsException;
17622  }
17623
17624  public static interface RcsCapabilityExchangeImplBase.SubscribeResponseCallback {
17625    method public void onCommandError(int) throws android.telephony.ims.ImsException;
17626    method @Deprecated public void onNetworkResponse(@IntRange(from=100, to=699) int, @NonNull String) throws android.telephony.ims.ImsException;
17627    method @Deprecated public void onNetworkResponse(@IntRange(from=100, to=699) int, @NonNull String, @IntRange(from=100, to=699) int, @NonNull String) throws android.telephony.ims.ImsException;
17628    method public default void onNetworkResponse(@NonNull android.telephony.ims.SipDetails) throws android.telephony.ims.ImsException;
17629    method public void onNotifyCapabilitiesUpdate(@NonNull java.util.List<java.lang.String>) throws android.telephony.ims.ImsException;
17630    method public void onResourceTerminated(@NonNull java.util.List<android.util.Pair<android.net.Uri,java.lang.String>>) throws android.telephony.ims.ImsException;
17631    method public void onTerminated(@NonNull String, long) throws android.telephony.ims.ImsException;
17632  }
17633
17634  public interface SipDelegate {
17635    method public void cleanupSession(@NonNull String);
17636    method public void notifyMessageReceiveError(@NonNull String, int);
17637    method public void notifyMessageReceived(@NonNull String);
17638    method public void sendMessage(@NonNull android.telephony.ims.SipMessage, long);
17639  }
17640
17641  public class SipTransportImplBase {
17642    ctor public SipTransportImplBase();
17643    ctor public SipTransportImplBase(@NonNull java.util.concurrent.Executor);
17644    method public void createSipDelegate(int, @NonNull android.telephony.ims.DelegateRequest, @NonNull android.telephony.ims.DelegateStateCallback, @NonNull android.telephony.ims.DelegateMessageCallback);
17645    method public void destroySipDelegate(@NonNull android.telephony.ims.stub.SipDelegate, int);
17646  }
17647
17648}
17649
17650package android.telephony.mbms {
17651
17652  public static class DownloadRequest.Builder {
17653    method public android.telephony.mbms.DownloadRequest.Builder setServiceId(String);
17654  }
17655
17656  public final class FileInfo implements android.os.Parcelable {
17657    ctor public FileInfo(android.net.Uri, String);
17658  }
17659
17660  public final class FileServiceInfo extends android.telephony.mbms.ServiceInfo implements android.os.Parcelable {
17661    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>);
17662  }
17663
17664  public class MbmsDownloadReceiver extends android.content.BroadcastReceiver {
17665    field public static final int RESULT_APP_NOTIFICATION_ERROR = 6; // 0x6
17666    field public static final int RESULT_BAD_TEMP_FILE_ROOT = 3; // 0x3
17667    field public static final int RESULT_DOWNLOAD_FINALIZATION_ERROR = 4; // 0x4
17668    field public static final int RESULT_INVALID_ACTION = 1; // 0x1
17669    field public static final int RESULT_MALFORMED_INTENT = 2; // 0x2
17670    field public static final int RESULT_OK = 0; // 0x0
17671    field public static final int RESULT_TEMP_FILE_GENERATION_ERROR = 5; // 0x5
17672  }
17673
17674  public final class StreamingServiceInfo extends android.telephony.mbms.ServiceInfo implements android.os.Parcelable {
17675    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);
17676  }
17677
17678  public final class UriPathPair implements android.os.Parcelable {
17679    method public int describeContents();
17680    method public android.net.Uri getContentUri();
17681    method public android.net.Uri getFilePathUri();
17682    method public void writeToParcel(android.os.Parcel, int);
17683    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.mbms.UriPathPair> CREATOR;
17684  }
17685
17686}
17687
17688package android.telephony.mbms.vendor {
17689
17690  public class MbmsDownloadServiceBase extends android.os.Binder implements android.os.IInterface {
17691    ctor public MbmsDownloadServiceBase();
17692    method public int addProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException;
17693    method public int addServiceAnnouncement(int, @NonNull byte[]);
17694    method public int addStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException;
17695    method public android.os.IBinder asBinder();
17696    method public int cancelDownload(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException;
17697    method public void dispose(int) throws android.os.RemoteException;
17698    method public int download(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException;
17699    method public int initialize(int, android.telephony.mbms.MbmsDownloadSessionCallback) throws android.os.RemoteException;
17700    method @NonNull public java.util.List<android.telephony.mbms.DownloadRequest> listPendingDownloads(int) throws android.os.RemoteException;
17701    method public void onAppCallbackDied(int, int);
17702    method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException;
17703    method public int removeProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException;
17704    method public int removeStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException;
17705    method public int requestDownloadState(android.telephony.mbms.DownloadRequest, android.telephony.mbms.FileInfo) throws android.os.RemoteException;
17706    method public int requestUpdateFileServices(int, java.util.List<java.lang.String>) throws android.os.RemoteException;
17707    method public int resetDownloadKnowledge(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException;
17708    method public int setTempFileRootDirectory(int, String) throws android.os.RemoteException;
17709  }
17710
17711  public class MbmsGroupCallServiceBase extends android.app.Service {
17712    ctor public MbmsGroupCallServiceBase();
17713    method public void dispose(int) throws android.os.RemoteException;
17714    method public int initialize(@NonNull android.telephony.mbms.MbmsGroupCallSessionCallback, int) throws android.os.RemoteException;
17715    method public void onAppCallbackDied(int, int);
17716    method public android.os.IBinder onBind(android.content.Intent);
17717    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);
17718    method public void stopGroupCall(int, long);
17719    method public void updateGroupCall(int, long, @NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<java.lang.Integer>);
17720  }
17721
17722  public class MbmsStreamingServiceBase extends android.os.Binder implements android.os.IInterface {
17723    ctor public MbmsStreamingServiceBase();
17724    method public android.os.IBinder asBinder();
17725    method public void dispose(int) throws android.os.RemoteException;
17726    method @Nullable public android.net.Uri getPlaybackUri(int, String) throws android.os.RemoteException;
17727    method public int initialize(android.telephony.mbms.MbmsStreamingSessionCallback, int) throws android.os.RemoteException;
17728    method public void onAppCallbackDied(int, int);
17729    method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException;
17730    method public int requestUpdateStreamingServices(int, java.util.List<java.lang.String>) throws android.os.RemoteException;
17731    method public int startStreaming(int, String, android.telephony.mbms.StreamingServiceCallback) throws android.os.RemoteException;
17732    method public void stopStreaming(int, String) throws android.os.RemoteException;
17733  }
17734
17735  public class VendorUtils {
17736    ctor public VendorUtils();
17737    method public static android.content.ComponentName getAppReceiverFromPackageName(android.content.Context, String);
17738    field public static final String ACTION_CLEANUP = "android.telephony.mbms.action.CLEANUP";
17739    field public static final String ACTION_DOWNLOAD_RESULT_INTERNAL = "android.telephony.mbms.action.DOWNLOAD_RESULT_INTERNAL";
17740    field public static final String ACTION_FILE_DESCRIPTOR_REQUEST = "android.telephony.mbms.action.FILE_DESCRIPTOR_REQUEST";
17741    field public static final String EXTRA_FD_COUNT = "android.telephony.mbms.extra.FD_COUNT";
17742    field public static final String EXTRA_FINAL_URI = "android.telephony.mbms.extra.FINAL_URI";
17743    field public static final String EXTRA_FREE_URI_LIST = "android.telephony.mbms.extra.FREE_URI_LIST";
17744    field public static final String EXTRA_PAUSED_LIST = "android.telephony.mbms.extra.PAUSED_LIST";
17745    field public static final String EXTRA_PAUSED_URI_LIST = "android.telephony.mbms.extra.PAUSED_URI_LIST";
17746    field public static final String EXTRA_SERVICE_ID = "android.telephony.mbms.extra.SERVICE_ID";
17747    field public static final String EXTRA_TEMP_FILES_IN_USE = "android.telephony.mbms.extra.TEMP_FILES_IN_USE";
17748    field public static final String EXTRA_TEMP_FILE_ROOT = "android.telephony.mbms.extra.TEMP_FILE_ROOT";
17749    field public static final String EXTRA_TEMP_LIST = "android.telephony.mbms.extra.TEMP_LIST";
17750  }
17751
17752}
17753
17754package android.telephony.satellite {
17755
17756  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public final class AntennaDirection implements android.os.Parcelable {
17757    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public int describeContents();
17758    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public float getX();
17759    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public float getY();
17760    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public float getZ();
17761    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void writeToParcel(@NonNull android.os.Parcel, int);
17762    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public static final android.os.Parcelable.Creator<android.telephony.satellite.AntennaDirection> CREATOR;
17763  }
17764
17765  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public final class AntennaPosition implements android.os.Parcelable {
17766    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public int describeContents();
17767    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public android.telephony.satellite.AntennaDirection getAntennaDirection();
17768    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public int getSuggestedHoldPosition();
17769    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void writeToParcel(@NonNull android.os.Parcel, int);
17770    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public static final android.os.Parcelable.Creator<android.telephony.satellite.AntennaPosition> CREATOR;
17771  }
17772
17773  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public class EnableRequestAttributes {
17774    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public boolean isDemoMode();
17775    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public boolean isEmergencyMode();
17776    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public boolean isEnabled();
17777  }
17778
17779  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final class EnableRequestAttributes.Builder {
17780    ctor @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public EnableRequestAttributes.Builder(boolean);
17781    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public android.telephony.satellite.EnableRequestAttributes build();
17782    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public android.telephony.satellite.EnableRequestAttributes.Builder setDemoMode(boolean);
17783    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public android.telephony.satellite.EnableRequestAttributes.Builder setEmergencyMode(boolean);
17784  }
17785
17786  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public final class NtnSignalStrength implements android.os.Parcelable {
17787    ctor @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public NtnSignalStrength(@Nullable android.telephony.satellite.NtnSignalStrength);
17788    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public int describeContents();
17789    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public int getLevel();
17790    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void writeToParcel(@NonNull android.os.Parcel, int);
17791    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public static final android.os.Parcelable.Creator<android.telephony.satellite.NtnSignalStrength> CREATOR;
17792    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int NTN_SIGNAL_STRENGTH_GOOD = 3; // 0x3
17793    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int NTN_SIGNAL_STRENGTH_GREAT = 4; // 0x4
17794    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int NTN_SIGNAL_STRENGTH_MODERATE = 2; // 0x2
17795    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int NTN_SIGNAL_STRENGTH_NONE = 0; // 0x0
17796    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int NTN_SIGNAL_STRENGTH_POOR = 1; // 0x1
17797  }
17798
17799  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public interface NtnSignalStrengthCallback {
17800    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void onNtnSignalStrengthChanged(@NonNull android.telephony.satellite.NtnSignalStrength);
17801  }
17802
17803  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public final class PointingInfo implements android.os.Parcelable {
17804    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public int describeContents();
17805    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @FloatRange(from=0xffffff4c, to=180) public float getSatelliteAzimuthDegrees();
17806    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @FloatRange(from=0xffffffa6, to=90) public float getSatelliteElevationDegrees();
17807    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void writeToParcel(@NonNull android.os.Parcel, int);
17808    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public static final android.os.Parcelable.Creator<android.telephony.satellite.PointingInfo> CREATOR;
17809  }
17810
17811  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public final class SatelliteCapabilities implements android.os.Parcelable {
17812    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public int describeContents();
17813    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public java.util.Map<java.lang.Integer,android.telephony.satellite.AntennaPosition> getAntennaPositionMap();
17814    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public int getMaxBytesPerOutgoingDatagram();
17815    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public java.util.Set<java.lang.Integer> getSupportedRadioTechnologies();
17816    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public boolean isPointingRequired();
17817    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void writeToParcel(@NonNull android.os.Parcel, int);
17818    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public static final android.os.Parcelable.Creator<android.telephony.satellite.SatelliteCapabilities> CREATOR;
17819  }
17820
17821  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public interface SatelliteCapabilitiesCallback {
17822    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void onSatelliteCapabilitiesChanged(@NonNull android.telephony.satellite.SatelliteCapabilities);
17823  }
17824
17825  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public final class SatelliteDatagram implements android.os.Parcelable {
17826    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public int describeContents();
17827    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public byte[] getSatelliteDatagram();
17828    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void writeToParcel(@NonNull android.os.Parcel, int);
17829    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @NonNull public static final android.os.Parcelable.Creator<android.telephony.satellite.SatelliteDatagram> CREATOR;
17830  }
17831
17832  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public interface SatelliteDatagramCallback {
17833    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void onSatelliteDatagramReceived(long, @NonNull android.telephony.satellite.SatelliteDatagram, int, @NonNull java.util.function.Consumer<java.lang.Void>);
17834  }
17835
17836  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public final class SatelliteManager {
17837    method @FlaggedApi("com.android.internal.telephony.flags.carrier_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void addAttachRestrictionForCarrier(int, int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
17838    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void deprovisionService(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
17839    method @FlaggedApi("com.android.internal.telephony.flags.carrier_enabled_satellite_flag") @NonNull @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public java.util.Set<java.lang.Integer> getAttachRestrictionReasonsForCarrier(int);
17840    method @FlaggedApi("com.android.internal.telephony.flags.carrier_enabled_satellite_flag") @NonNull @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public java.util.List<java.lang.String> getSatellitePlmnsForCarrier(int);
17841    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void pollPendingDatagrams(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
17842    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void provisionService(@NonNull String, @NonNull byte[], @Nullable android.os.CancellationSignal, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
17843    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public int registerForCapabilitiesChanged(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.satellite.SatelliteCapabilitiesCallback);
17844    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public int registerForIncomingDatagram(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.satellite.SatelliteDatagramCallback);
17845    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public int registerForModemStateChanged(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.satellite.SatelliteModemStateCallback);
17846    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void registerForNtnSignalStrengthChanged(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.satellite.NtnSignalStrengthCallback);
17847    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public int registerForProvisionStateChanged(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.satellite.SatelliteProvisionStateCallback);
17848    method @FlaggedApi("com.android.internal.telephony.flags.carrier_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void removeAttachRestrictionForCarrier(int, int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
17849    method @FlaggedApi("com.android.internal.telephony.flags.carrier_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void requestAttachEnabledForCarrier(int, boolean, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
17850    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void requestCapabilities(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<android.telephony.satellite.SatelliteCapabilities,android.telephony.satellite.SatelliteManager.SatelliteException>);
17851    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void requestEnabled(@NonNull android.telephony.satellite.EnableRequestAttributes, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
17852    method @FlaggedApi("com.android.internal.telephony.flags.carrier_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void requestIsAttachEnabledForCarrier(int, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17853    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void requestIsCommunicationAllowedForCurrentLocation(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17854    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void requestIsDemoModeEnabled(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17855    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void requestIsEmergencyModeEnabled(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17856    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void requestIsEnabled(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17857    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void requestIsProvisioned(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17858    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void requestIsSupported(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17859    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void requestNtnSignalStrength(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<android.telephony.satellite.NtnSignalStrength,android.telephony.satellite.SatelliteManager.SatelliteException>);
17860    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void requestTimeForNextSatelliteVisibility(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.time.Duration,android.telephony.satellite.SatelliteManager.SatelliteException>);
17861    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void sendDatagram(int, @NonNull android.telephony.satellite.SatelliteDatagram, boolean, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
17862    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void setDeviceAlignedWithSatellite(boolean);
17863    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void startTransmissionUpdates(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>, @NonNull android.telephony.satellite.SatelliteTransmissionUpdateCallback);
17864    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void stopTransmissionUpdates(@NonNull android.telephony.satellite.SatelliteTransmissionUpdateCallback, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
17865    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void unregisterForCapabilitiesChanged(@NonNull android.telephony.satellite.SatelliteCapabilitiesCallback);
17866    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void unregisterForIncomingDatagram(@NonNull android.telephony.satellite.SatelliteDatagramCallback);
17867    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void unregisterForModemStateChanged(@NonNull android.telephony.satellite.SatelliteModemStateCallback);
17868    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void unregisterForNtnSignalStrengthChanged(@NonNull android.telephony.satellite.NtnSignalStrengthCallback);
17869    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") @RequiresPermission(android.Manifest.permission.SATELLITE_COMMUNICATION) public void unregisterForProvisionStateChanged(@NonNull android.telephony.satellite.SatelliteProvisionStateCallback);
17870    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int DATAGRAM_TYPE_LOCATION_SHARING = 2; // 0x2
17871    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int DATAGRAM_TYPE_SOS_MESSAGE = 1; // 0x1
17872    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int DATAGRAM_TYPE_UNKNOWN = 0; // 0x0
17873    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int DEVICE_HOLD_POSITION_LANDSCAPE_LEFT = 2; // 0x2
17874    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int DEVICE_HOLD_POSITION_LANDSCAPE_RIGHT = 3; // 0x3
17875    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int DEVICE_HOLD_POSITION_PORTRAIT = 1; // 0x1
17876    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int DEVICE_HOLD_POSITION_UNKNOWN = 0; // 0x0
17877    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int DISPLAY_MODE_CLOSED = 3; // 0x3
17878    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int DISPLAY_MODE_FIXED = 1; // 0x1
17879    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int DISPLAY_MODE_OPENED = 2; // 0x2
17880    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int DISPLAY_MODE_UNKNOWN = 0; // 0x0
17881    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int EMERGENCY_CALL_TO_SATELLITE_HANDOVER_TYPE_SOS = 1; // 0x1
17882    field @FlaggedApi("com.android.internal.telephony.flags.carrier_enabled_satellite_flag") public static final int EMERGENCY_CALL_TO_SATELLITE_HANDOVER_TYPE_T911 = 2; // 0x2
17883    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int NT_RADIO_TECHNOLOGY_EMTC_NTN = 3; // 0x3
17884    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int NT_RADIO_TECHNOLOGY_NB_IOT_NTN = 1; // 0x1
17885    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int NT_RADIO_TECHNOLOGY_NR_NTN = 2; // 0x2
17886    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int NT_RADIO_TECHNOLOGY_PROPRIETARY = 4; // 0x4
17887    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int NT_RADIO_TECHNOLOGY_UNKNOWN = 0; // 0x0
17888    field @FlaggedApi("com.android.internal.telephony.flags.carrier_enabled_satellite_flag") public static final int SATELLITE_COMMUNICATION_RESTRICTION_REASON_ENTITLEMENT = 2; // 0x2
17889    field @FlaggedApi("com.android.internal.telephony.flags.carrier_enabled_satellite_flag") public static final int SATELLITE_COMMUNICATION_RESTRICTION_REASON_GEOLOCATION = 1; // 0x1
17890    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_DATAGRAM_TRANSFER_STATE_IDLE = 0; // 0x0
17891    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_DATAGRAM_TRANSFER_STATE_RECEIVE_FAILED = 7; // 0x7
17892    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_DATAGRAM_TRANSFER_STATE_RECEIVE_NONE = 6; // 0x6
17893    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_DATAGRAM_TRANSFER_STATE_RECEIVE_SUCCESS = 5; // 0x5
17894    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_DATAGRAM_TRANSFER_STATE_RECEIVING = 4; // 0x4
17895    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_DATAGRAM_TRANSFER_STATE_SENDING = 1; // 0x1
17896    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_DATAGRAM_TRANSFER_STATE_SEND_FAILED = 3; // 0x3
17897    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_DATAGRAM_TRANSFER_STATE_SEND_SUCCESS = 2; // 0x2
17898    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_DATAGRAM_TRANSFER_STATE_UNKNOWN = -1; // 0xffffffff
17899    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_DATAGRAM_TRANSFER_STATE_WAITING_TO_CONNECT = 8; // 0x8
17900    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_MODEM_STATE_CONNECTED = 7; // 0x7
17901    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_MODEM_STATE_DATAGRAM_RETRYING = 3; // 0x3
17902    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_MODEM_STATE_DATAGRAM_TRANSFERRING = 2; // 0x2
17903    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_MODEM_STATE_IDLE = 0; // 0x0
17904    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_MODEM_STATE_LISTENING = 1; // 0x1
17905    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_MODEM_STATE_NOT_CONNECTED = 6; // 0x6
17906    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_MODEM_STATE_OFF = 4; // 0x4
17907    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_MODEM_STATE_UNAVAILABLE = 5; // 0x5
17908    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_MODEM_STATE_UNKNOWN = -1; // 0xffffffff
17909    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_ACCESS_BARRED = 16; // 0x10
17910    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_ERROR = 1; // 0x1
17911    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_ILLEGAL_STATE = 23; // 0x17
17912    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_INVALID_ARGUMENTS = 8; // 0x8
17913    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_INVALID_MODEM_STATE = 7; // 0x7
17914    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_INVALID_TELEPHONY_STATE = 6; // 0x6
17915    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_MODEM_BUSY = 22; // 0x16
17916    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_MODEM_ERROR = 4; // 0x4
17917    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_MODEM_TIMEOUT = 24; // 0x18
17918    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_NETWORK_ERROR = 5; // 0x5
17919    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_NETWORK_TIMEOUT = 17; // 0x11
17920    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_NOT_AUTHORIZED = 19; // 0x13
17921    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_NOT_REACHABLE = 18; // 0x12
17922    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_NOT_SUPPORTED = 20; // 0x14
17923    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_NO_RESOURCES = 12; // 0xc
17924    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_RADIO_NOT_AVAILABLE = 10; // 0xa
17925    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_REQUEST_ABORTED = 15; // 0xf
17926    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_REQUEST_FAILED = 9; // 0x9
17927    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_REQUEST_IN_PROGRESS = 21; // 0x15
17928    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_REQUEST_NOT_SUPPORTED = 11; // 0xb
17929    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_SERVER_ERROR = 2; // 0x2
17930    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_SERVICE_ERROR = 3; // 0x3
17931    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_SERVICE_NOT_PROVISIONED = 13; // 0xd
17932    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_SERVICE_PROVISION_IN_PROGRESS = 14; // 0xe
17933    field @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static final int SATELLITE_RESULT_SUCCESS = 0; // 0x0
17934  }
17935
17936  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public static class SatelliteManager.SatelliteException extends java.lang.Exception {
17937    ctor @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public SatelliteManager.SatelliteException(int);
17938    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public int getErrorCode();
17939  }
17940
17941  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public interface SatelliteModemStateCallback {
17942    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void onSatelliteModemStateChanged(int);
17943  }
17944
17945  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public interface SatelliteProvisionStateCallback {
17946    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void onSatelliteProvisionStateChanged(boolean);
17947  }
17948
17949  @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public interface SatelliteTransmissionUpdateCallback {
17950    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void onReceiveDatagramStateChanged(int, int, int);
17951    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void onSatellitePositionChanged(@NonNull android.telephony.satellite.PointingInfo);
17952    method @FlaggedApi("com.android.internal.telephony.flags.oem_enabled_satellite_flag") public void onSendDatagramStateChanged(int, int, int);
17953  }
17954
17955}
17956
17957package android.text {
17958
17959  public final class FontConfig implements android.os.Parcelable {
17960    method public int describeContents();
17961    method @NonNull public java.util.List<android.text.FontConfig.Alias> getAliases();
17962    method @IntRange(from=0) public int getConfigVersion();
17963    method @NonNull public java.util.List<android.text.FontConfig.FontFamily> getFontFamilies();
17964    method public long getLastModifiedTimeMillis();
17965    method @NonNull public java.util.List<android.text.FontConfig.NamedFamilyList> getNamedFamilyLists();
17966    method public void writeToParcel(@NonNull android.os.Parcel, int);
17967    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig> CREATOR;
17968  }
17969
17970  public static final class FontConfig.Alias implements android.os.Parcelable {
17971    method public int describeContents();
17972    method @NonNull public String getName();
17973    method @NonNull public String getOriginal();
17974    method @IntRange(from=0, to=1000) public int getWeight();
17975    method public void writeToParcel(@NonNull android.os.Parcel, int);
17976    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig.Alias> CREATOR;
17977  }
17978
17979  public static final class FontConfig.Font implements android.os.Parcelable {
17980    method public int describeContents();
17981    method @NonNull public java.io.File getFile();
17982    method @Nullable public String getFontFamilyName();
17983    method @NonNull public String getFontVariationSettings();
17984    method @NonNull public String getPostScriptName();
17985    method @NonNull public android.graphics.fonts.FontStyle getStyle();
17986    method public int getTtcIndex();
17987    method public void writeToParcel(@NonNull android.os.Parcel, int);
17988    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig.Font> CREATOR;
17989  }
17990
17991  public static final class FontConfig.FontFamily implements android.os.Parcelable {
17992    method public int describeContents();
17993    method @NonNull public java.util.List<android.text.FontConfig.Font> getFontList();
17994    method @NonNull public android.os.LocaleList getLocaleList();
17995    method @Deprecated @Nullable public String getName();
17996    method public int getVariant();
17997    method public void writeToParcel(@NonNull android.os.Parcel, int);
17998    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig.FontFamily> CREATOR;
17999    field public static final int VARIANT_COMPACT = 1; // 0x1
18000    field public static final int VARIANT_DEFAULT = 0; // 0x0
18001    field public static final int VARIANT_ELEGANT = 2; // 0x2
18002  }
18003
18004  public static final class FontConfig.NamedFamilyList implements android.os.Parcelable {
18005    method public int describeContents();
18006    method @NonNull public java.util.List<android.text.FontConfig.FontFamily> getFamilies();
18007    method @NonNull public String getName();
18008    method public void writeToParcel(@NonNull android.os.Parcel, int);
18009    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig.NamedFamilyList> CREATOR;
18010  }
18011
18012}
18013
18014package android.util {
18015
18016  public class EventLog {
18017    method public static void readEventsOnWrapping(int[], long, java.util.Collection<android.util.EventLog.Event>) throws java.io.IOException;
18018  }
18019
18020  public static final class EventLog.Event {
18021    method public int getUid();
18022  }
18023
18024}
18025
18026package android.view {
18027
18028  @UiThread public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
18029    method @NonNull public final java.util.List<android.graphics.Rect> getUnrestrictedPreferKeepClearRects();
18030    method @RequiresPermission(android.Manifest.permission.SET_UNRESTRICTED_KEEP_CLEAR_AREAS) public final void setUnrestrictedPreferKeepClearRects(@NonNull java.util.List<android.graphics.Rect>);
18031  }
18032
18033  public abstract class Window {
18034    method public void addSystemFlags(int);
18035  }
18036
18037  public interface WindowManager extends android.view.ViewManager {
18038    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public android.graphics.Region getCurrentImeTouchRegion();
18039    method @NonNull public default java.util.List<android.content.ComponentName> notifyScreenshotListeners(int);
18040    method public default void registerTaskFpsCallback(@IntRange(from=0) int, @NonNull java.util.concurrent.Executor, @NonNull android.window.TaskFpsCallback);
18041    method public default void unregisterTaskFpsCallback(@NonNull android.window.TaskFpsCallback);
18042    field public static final int DISPLAY_IME_POLICY_FALLBACK_DISPLAY = 1; // 0x1
18043    field public static final int DISPLAY_IME_POLICY_HIDE = 2; // 0x2
18044    field public static final int DISPLAY_IME_POLICY_LOCAL = 0; // 0x0
18045  }
18046
18047  public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
18048    method public final long getUserActivityTimeout();
18049    method public boolean isSystemApplicationOverlay();
18050    method @RequiresPermission(android.Manifest.permission.SYSTEM_APPLICATION_OVERLAY) public void setSystemApplicationOverlay(boolean);
18051    method public final void setUserActivityTimeout(long);
18052    field @RequiresPermission(android.Manifest.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS) public static final int SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS = 524288; // 0x80000
18053    field @RequiresPermission(android.Manifest.permission.INTERNAL_SYSTEM_WINDOW) public static final int SYSTEM_FLAG_SHOW_FOR_ALL_USERS = 16; // 0x10
18054  }
18055
18056}
18057
18058package android.view.accessibility {
18059
18060  public abstract class AccessibilityDisplayProxy {
18061    ctor public AccessibilityDisplayProxy(int, @NonNull java.util.concurrent.Executor, @NonNull java.util.List<android.accessibilityservice.AccessibilityServiceInfo>);
18062    method @Nullable public android.view.accessibility.AccessibilityNodeInfo findFocus(int);
18063    method public int getDisplayId();
18064    method @NonNull public final java.util.List<android.accessibilityservice.AccessibilityServiceInfo> getInstalledAndEnabledServices();
18065    method @NonNull public java.util.List<android.view.accessibility.AccessibilityWindowInfo> getWindows();
18066    method public void interrupt();
18067    method public void onAccessibilityEvent(@NonNull android.view.accessibility.AccessibilityEvent);
18068    method public void onProxyConnected();
18069    method public void setAccessibilityFocusAppearance(int, @ColorInt int);
18070    method public void setInstalledAndEnabledServices(@NonNull java.util.List<android.accessibilityservice.AccessibilityServiceInfo>);
18071  }
18072
18073  public final class AccessibilityManager {
18074    method public int getAccessibilityWindowId(@Nullable android.os.IBinder);
18075    method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public void performAccessibilityShortcut();
18076    method @RequiresPermission(allOf={android.Manifest.permission.MANAGE_ACCESSIBILITY, android.Manifest.permission.CREATE_VIRTUAL_DEVICE}) public boolean registerDisplayProxy(@NonNull android.view.accessibility.AccessibilityDisplayProxy);
18077    method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public void registerSystemAction(@NonNull android.app.RemoteAction, int);
18078    method @RequiresPermission(allOf={android.Manifest.permission.MANAGE_ACCESSIBILITY, android.Manifest.permission.CREATE_VIRTUAL_DEVICE}) public boolean unregisterDisplayProxy(@NonNull android.view.accessibility.AccessibilityDisplayProxy);
18079    method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public void unregisterSystemAction(int);
18080  }
18081
18082  public class CaptioningManager {
18083    method @RequiresPermission(android.Manifest.permission.SET_SYSTEM_AUDIO_CAPTION) public final void setSystemAudioCaptioningEnabled(boolean);
18084    method @RequiresPermission(android.Manifest.permission.SET_SYSTEM_AUDIO_CAPTION) public final void setSystemAudioCaptioningUiEnabled(boolean);
18085  }
18086
18087}
18088
18089package android.view.autofill {
18090
18091  public final class AutofillManager {
18092    method public void setAugmentedAutofillWhitelist(@Nullable java.util.Set<java.lang.String>, @Nullable java.util.Set<android.content.ComponentName>);
18093  }
18094
18095}
18096
18097package android.view.contentcapture {
18098
18099  public final class ContentCaptureContext implements android.os.Parcelable {
18100    method @Nullable public android.content.ComponentName getActivityComponent();
18101    method @Nullable public android.app.assist.ActivityId getActivityId();
18102    method public int getDisplayId();
18103    method public int getFlags();
18104    method @Nullable public android.view.contentcapture.ContentCaptureSessionId getParentSessionId();
18105    method public int getTaskId();
18106    method @Nullable public android.os.IBinder getWindowToken();
18107    field public static final int FLAG_DISABLED_BY_APP = 1; // 0x1
18108    field public static final int FLAG_DISABLED_BY_FLAG_SECURE = 2; // 0x2
18109    field public static final int FLAG_RECONNECTED = 4; // 0x4
18110  }
18111
18112  public final class ContentCaptureEvent implements android.os.Parcelable {
18113    method public int describeContents();
18114    method @Nullable public android.graphics.Rect getBounds();
18115    method @Nullable public android.view.contentcapture.ContentCaptureContext getContentCaptureContext();
18116    method public long getEventTime();
18117    method @Nullable public android.view.autofill.AutofillId getId();
18118    method @Nullable public java.util.List<android.view.autofill.AutofillId> getIds();
18119    method @Nullable public android.graphics.Insets getInsets();
18120    method @Nullable public CharSequence getText();
18121    method public int getType();
18122    method @Nullable public android.view.contentcapture.ViewNode getViewNode();
18123    method public void writeToParcel(android.os.Parcel, int);
18124    field @NonNull public static final android.os.Parcelable.Creator<android.view.contentcapture.ContentCaptureEvent> CREATOR;
18125    field public static final int TYPE_CONTEXT_UPDATED = 6; // 0x6
18126    field public static final int TYPE_SESSION_PAUSED = 8; // 0x8
18127    field public static final int TYPE_SESSION_RESUMED = 7; // 0x7
18128    field public static final int TYPE_VIEW_APPEARED = 1; // 0x1
18129    field public static final int TYPE_VIEW_DISAPPEARED = 2; // 0x2
18130    field public static final int TYPE_VIEW_INSETS_CHANGED = 9; // 0x9
18131    field public static final int TYPE_VIEW_TEXT_CHANGED = 3; // 0x3
18132    field public static final int TYPE_VIEW_TREE_APPEARED = 5; // 0x5
18133    field public static final int TYPE_VIEW_TREE_APPEARING = 4; // 0x4
18134    field public static final int TYPE_WINDOW_BOUNDS_CHANGED = 10; // 0xa
18135  }
18136
18137  public final class ContentCaptureManager {
18138    method public boolean isContentCaptureFeatureEnabled();
18139    field public static final int NO_SESSION_ID = 0; // 0x0
18140  }
18141
18142  public final class ViewNode extends android.app.assist.AssistStructure.ViewNode {
18143    method @Nullable public android.view.autofill.AutofillId getParentAutofillId();
18144  }
18145
18146}
18147
18148package android.view.displayhash {
18149
18150  public final class DisplayHash implements android.os.Parcelable {
18151    ctor public DisplayHash(long, @NonNull android.graphics.Rect, @NonNull String, @NonNull byte[], @NonNull byte[]);
18152    method public int describeContents();
18153    method @NonNull public android.graphics.Rect getBoundsInWindow();
18154    method @NonNull public String getHashAlgorithm();
18155    method @NonNull public byte[] getHmac();
18156    method @NonNull public byte[] getImageHash();
18157    method public long getTimeMillis();
18158    method public void writeToParcel(@NonNull android.os.Parcel, int);
18159  }
18160
18161}
18162
18163package android.view.inputmethod {
18164
18165  public final class InputMethodInfo implements android.os.Parcelable {
18166    method @FlaggedApi("android.companion.virtual.flags.vdm_custom_ime") public boolean isVirtualDeviceOnly();
18167  }
18168
18169  public final class InputMethodManager {
18170    method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public android.view.inputmethod.InputMethodInfo getCurrentInputMethodInfoAsUser(@NonNull android.os.UserHandle);
18171  }
18172
18173}
18174
18175package android.view.translation {
18176
18177  public final class TranslationCapability implements android.os.Parcelable {
18178    ctor public TranslationCapability(int, @NonNull android.view.translation.TranslationSpec, @NonNull android.view.translation.TranslationSpec, boolean, int);
18179  }
18180
18181  public final class TranslationContext implements android.os.Parcelable {
18182    method @Nullable public android.app.assist.ActivityId getActivityId();
18183  }
18184
18185  public final class UiTranslationManager {
18186    method @RequiresPermission(android.Manifest.permission.MANAGE_UI_TRANSLATION) public void finishTranslation(@NonNull android.app.assist.ActivityId);
18187    method @RequiresPermission(android.Manifest.permission.MANAGE_UI_TRANSLATION) public void pauseTranslation(@NonNull android.app.assist.ActivityId);
18188    method @RequiresPermission(android.Manifest.permission.MANAGE_UI_TRANSLATION) public void resumeTranslation(@NonNull android.app.assist.ActivityId);
18189    method @RequiresPermission(android.Manifest.permission.MANAGE_UI_TRANSLATION) public void startTranslation(@NonNull android.view.translation.TranslationSpec, @NonNull android.view.translation.TranslationSpec, @NonNull java.util.List<android.view.autofill.AutofillId>, @NonNull android.app.assist.ActivityId, @NonNull android.view.translation.UiTranslationSpec);
18190  }
18191
18192  public final class UiTranslationSpec implements android.os.Parcelable {
18193    method public int describeContents();
18194    method public boolean shouldPadContentForCompat();
18195    method public void writeToParcel(@NonNull android.os.Parcel, int);
18196    field @NonNull public static final android.os.Parcelable.Creator<android.view.translation.UiTranslationSpec> CREATOR;
18197  }
18198
18199  public static final class UiTranslationSpec.Builder {
18200    ctor public UiTranslationSpec.Builder();
18201    method @NonNull public android.view.translation.UiTranslationSpec build();
18202    method @NonNull public android.view.translation.UiTranslationSpec.Builder setShouldPadContentForCompat(boolean);
18203  }
18204
18205}
18206
18207package android.webkit {
18208
18209  public abstract class CookieManager {
18210    method protected abstract boolean allowFileSchemeCookiesImpl();
18211    method public abstract String getCookie(String, boolean);
18212    method public String getCookie(android.net.WebAddress);
18213    method public abstract boolean hasCookies(boolean);
18214    method protected abstract void setAcceptFileSchemeCookiesImpl(boolean);
18215  }
18216
18217  public class FindActionModeCallback implements android.view.ActionMode.Callback android.text.TextWatcher android.view.View.OnClickListener android.webkit.WebView.FindListener {
18218    ctor public FindActionModeCallback(android.content.Context);
18219    method public void afterTextChanged(android.text.Editable);
18220    method public void beforeTextChanged(CharSequence, int, int, int);
18221    method public void findAll();
18222    method public void finish();
18223    method public int getActionModeGlobalBottom();
18224    method public boolean onActionItemClicked(android.view.ActionMode, android.view.MenuItem);
18225    method public void onClick(android.view.View);
18226    method public boolean onCreateActionMode(android.view.ActionMode, android.view.Menu);
18227    method public void onDestroyActionMode(android.view.ActionMode);
18228    method public void onFindResultReceived(int, int, boolean);
18229    method public boolean onPrepareActionMode(android.view.ActionMode, android.view.Menu);
18230    method public void onTextChanged(CharSequence, int, int, int);
18231    method public void setText(String);
18232    method public void setWebView(@NonNull android.webkit.WebView);
18233    method public void showSoftInput();
18234    method public void updateMatchCount(int, int, boolean);
18235  }
18236
18237  public static class FindActionModeCallback.NoAction implements android.view.ActionMode.Callback {
18238    ctor public FindActionModeCallback.NoAction();
18239    method public boolean onActionItemClicked(android.view.ActionMode, android.view.MenuItem);
18240    method public boolean onCreateActionMode(android.view.ActionMode, android.view.Menu);
18241    method public void onDestroyActionMode(android.view.ActionMode);
18242    method public boolean onPrepareActionMode(android.view.ActionMode, android.view.Menu);
18243  }
18244
18245  public class GeolocationPermissions {
18246    ctor public GeolocationPermissions();
18247  }
18248
18249  public class HttpAuthHandler extends android.os.Handler {
18250    ctor public HttpAuthHandler();
18251  }
18252
18253  public class JsDialogHelper {
18254    ctor public JsDialogHelper(android.webkit.JsPromptResult, int, String, String, String);
18255    ctor public JsDialogHelper(android.webkit.JsPromptResult, android.os.Message);
18256    method public boolean invokeCallback(android.webkit.WebChromeClient, android.webkit.WebView);
18257    method public void showDialog(android.content.Context);
18258    field public static final int ALERT = 1; // 0x1
18259    field public static final int CONFIRM = 2; // 0x2
18260    field public static final int PROMPT = 3; // 0x3
18261    field public static final int UNLOAD = 4; // 0x4
18262  }
18263
18264  public class JsPromptResult extends android.webkit.JsResult {
18265    ctor public JsPromptResult(android.webkit.JsResult.ResultReceiver);
18266    method public String getStringResult();
18267  }
18268
18269  public class JsResult {
18270    ctor public JsResult(android.webkit.JsResult.ResultReceiver);
18271    method public final boolean getResult();
18272  }
18273
18274  public static interface JsResult.ResultReceiver {
18275    method public void onJsResultComplete(android.webkit.JsResult);
18276  }
18277
18278  public interface PacProcessor {
18279    method @NonNull public static android.webkit.PacProcessor createInstance();
18280    method @Nullable public String findProxyForUrl(@NonNull String);
18281    method @NonNull public static android.webkit.PacProcessor getInstance();
18282    method @Nullable public default android.net.Network getNetwork();
18283    method public default void release();
18284    method public default void setNetwork(@Nullable android.net.Network);
18285    method public boolean setProxyScript(@NonNull String);
18286  }
18287
18288  public class SslErrorHandler extends android.os.Handler {
18289    ctor public SslErrorHandler();
18290  }
18291
18292  @Deprecated public abstract class TokenBindingService {
18293    ctor @Deprecated public TokenBindingService();
18294  }
18295
18296  public class WebChromeClient {
18297    method @Deprecated public void openFileChooser(android.webkit.ValueCallback<android.net.Uri>, String, String);
18298  }
18299
18300  public abstract class WebHistoryItem implements java.lang.Cloneable {
18301    method @Deprecated public abstract int getId();
18302  }
18303
18304  @Deprecated public abstract class WebIconDatabase {
18305    method @Deprecated public abstract void bulkRequestIconForPageUrl(android.content.ContentResolver, String, android.webkit.WebIconDatabase.IconListener);
18306  }
18307
18308  public abstract class WebMessagePort {
18309    ctor public WebMessagePort();
18310  }
18311
18312  public abstract class WebResourceError {
18313    ctor public WebResourceError();
18314  }
18315
18316  public class WebResourceResponse {
18317    ctor public WebResourceResponse(boolean, String, String, int, String, java.util.Map<java.lang.String,java.lang.String>, java.io.InputStream);
18318  }
18319
18320  public abstract class WebSettings {
18321    method public abstract boolean getAcceptThirdPartyCookies();
18322    method @Deprecated public abstract boolean getNavDump();
18323    method @Deprecated public abstract boolean getPluginsEnabled();
18324    method @Deprecated public abstract boolean getUseWebViewBackgroundForOverscrollBackground();
18325    method @Deprecated public abstract int getUserAgent();
18326    method public abstract boolean getVideoOverlayForEmbeddedEncryptedVideoEnabled();
18327    method public abstract void setAcceptThirdPartyCookies(boolean);
18328    method @Deprecated public abstract void setNavDump(boolean);
18329    method @Deprecated public abstract void setPluginsEnabled(boolean);
18330    method @Deprecated public abstract void setUseWebViewBackgroundForOverscrollBackground(boolean);
18331    method @Deprecated public abstract void setUserAgent(int);
18332    method public abstract void setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean);
18333    field public static final long ENABLE_SIMPLIFIED_DARK_MODE = 214741472L; // 0xcccb1e0L
18334  }
18335
18336  public class WebStorage {
18337    ctor public WebStorage();
18338  }
18339
18340  public static class WebStorage.Origin {
18341    ctor protected WebStorage.Origin(String, long, long);
18342  }
18343
18344  public class WebView extends android.widget.AbsoluteLayout implements android.view.ViewGroup.OnHierarchyChangeListener android.view.ViewTreeObserver.OnGlobalFocusChangeListener {
18345    method public android.webkit.WebViewProvider getWebViewProvider();
18346  }
18347
18348  public static class WebView.HitTestResult {
18349    ctor public WebView.HitTestResult();
18350    method public void setExtra(String);
18351    method public void setType(int);
18352  }
18353
18354  public class WebView.PrivateAccess {
18355    ctor public WebView.PrivateAccess();
18356    method public void awakenScrollBars(int);
18357    method public void awakenScrollBars(int, boolean);
18358    method public float getHorizontalScrollFactor();
18359    method public int getHorizontalScrollbarHeight();
18360    method public float getVerticalScrollFactor();
18361    method public void onScrollChanged(int, int, int, int);
18362    method public void overScrollBy(int, int, int, int, int, int, int, int, boolean);
18363    method public void setMeasuredDimension(int, int);
18364    method public void setScrollXRaw(int);
18365    method public void setScrollYRaw(int);
18366    method public void super_computeScroll();
18367    method public boolean super_dispatchKeyEvent(android.view.KeyEvent);
18368    method public int super_getScrollBarStyle();
18369    method @Nullable public android.view.WindowInsets super_onApplyWindowInsets(@Nullable android.view.WindowInsets);
18370    method public void super_onDrawVerticalScrollBar(android.graphics.Canvas, android.graphics.drawable.Drawable, int, int, int, int);
18371    method public boolean super_onGenericMotionEvent(android.view.MotionEvent);
18372    method public boolean super_onHoverEvent(android.view.MotionEvent);
18373    method public boolean super_performAccessibilityAction(int, android.os.Bundle);
18374    method public boolean super_performLongClick();
18375    method public boolean super_requestFocus(int, android.graphics.Rect);
18376    method public void super_scrollTo(int, int);
18377    method public boolean super_setFrame(int, int, int, int);
18378    method public void super_setLayoutParams(android.view.ViewGroup.LayoutParams);
18379    method public void super_startActivityForResult(android.content.Intent, int);
18380  }
18381
18382  public final class WebViewDelegate {
18383    method public void addWebViewAssetPath(android.content.Context);
18384    method @Deprecated public void callDrawGlFunction(android.graphics.Canvas, long);
18385    method @Deprecated public void callDrawGlFunction(@NonNull android.graphics.Canvas, long, @Nullable Runnable);
18386    method @Deprecated public boolean canInvokeDrawGlFunctor(android.view.View);
18387    method @Deprecated public void detachDrawGlFunctor(android.view.View, long);
18388    method public void drawWebViewFunctor(@NonNull android.graphics.Canvas, int);
18389    method public android.app.Application getApplication();
18390    method public String getDataDirectorySuffix();
18391    method public String getErrorString(android.content.Context, int);
18392    method public int getPackageId(android.content.res.Resources, String);
18393    method @NonNull public android.webkit.WebViewFactory.StartupTimestamps getStartupTimestamps();
18394    method @Deprecated public void invokeDrawGlFunctor(android.view.View, long, boolean);
18395    method public boolean isMultiProcessEnabled();
18396    method public boolean isTraceTagEnabled();
18397    method public void setOnTraceEnabledChangeListener(android.webkit.WebViewDelegate.OnTraceEnabledChangeListener);
18398  }
18399
18400  public static interface WebViewDelegate.OnTraceEnabledChangeListener {
18401    method public void onTraceEnabledChange(boolean);
18402  }
18403
18404  public final class WebViewFactory {
18405    ctor public WebViewFactory();
18406    method public static android.content.pm.PackageInfo getLoadedPackageInfo();
18407    method public static int loadWebViewNativeLibraryFromPackage(String, ClassLoader);
18408    method public static void prepareWebViewInZygote();
18409    field public static final int LIBLOAD_ADDRESS_SPACE_NOT_RESERVED = 2; // 0x2
18410    field public static final int LIBLOAD_FAILED_JNI_CALL = 7; // 0x7
18411    field public static final int LIBLOAD_FAILED_LISTING_WEBVIEW_PACKAGES = 4; // 0x4
18412    field public static final int LIBLOAD_FAILED_TO_FIND_NAMESPACE = 10; // 0xa
18413    field public static final int LIBLOAD_FAILED_TO_LOAD_LIBRARY = 6; // 0x6
18414    field public static final int LIBLOAD_FAILED_TO_OPEN_RELRO_FILE = 5; // 0x5
18415    field public static final int LIBLOAD_FAILED_WAITING_FOR_RELRO = 3; // 0x3
18416    field public static final int LIBLOAD_FAILED_WAITING_FOR_WEBVIEW_REASON_UNKNOWN = 8; // 0x8
18417    field public static final int LIBLOAD_SUCCESS = 0; // 0x0
18418    field public static final int LIBLOAD_WRONG_PACKAGE_NAME = 1; // 0x1
18419  }
18420
18421  public static class WebViewFactory.StartupTimestamps {
18422    method public long getAddAssetsEnd();
18423    method public long getAddAssetsStart();
18424    method public long getCreateContextEnd();
18425    method public long getCreateContextStart();
18426    method public long getGetClassLoaderEnd();
18427    method public long getGetClassLoaderStart();
18428    method public long getNativeLoadEnd();
18429    method public long getNativeLoadStart();
18430    method public long getProviderClassForNameEnd();
18431    method public long getProviderClassForNameStart();
18432    method public long getWebViewLoadStart();
18433  }
18434
18435  public interface WebViewFactoryProvider {
18436    method @NonNull public default android.webkit.PacProcessor createPacProcessor();
18437    method public android.webkit.WebViewProvider createWebView(android.webkit.WebView, android.webkit.WebView.PrivateAccess);
18438    method public android.webkit.CookieManager getCookieManager();
18439    method public android.webkit.GeolocationPermissions getGeolocationPermissions();
18440    method @NonNull public default android.webkit.PacProcessor getPacProcessor();
18441    method public android.webkit.ServiceWorkerController getServiceWorkerController();
18442    method public android.webkit.WebViewFactoryProvider.Statics getStatics();
18443    method @Deprecated public android.webkit.TokenBindingService getTokenBindingService();
18444    method public android.webkit.TracingController getTracingController();
18445    method public android.webkit.WebIconDatabase getWebIconDatabase();
18446    method public android.webkit.WebStorage getWebStorage();
18447    method public ClassLoader getWebViewClassLoader();
18448    method public android.webkit.WebViewDatabase getWebViewDatabase(android.content.Context);
18449  }
18450
18451  public static interface WebViewFactoryProvider.Statics {
18452    method public void clearClientCertPreferences(Runnable);
18453    method public void enableSlowWholeDocumentDraw();
18454    method public String findAddress(String);
18455    method public void freeMemoryForTests();
18456    method public String getDefaultUserAgent(android.content.Context);
18457    method @NonNull public android.net.Uri getSafeBrowsingPrivacyPolicyUrl();
18458    method public void initSafeBrowsing(android.content.Context, android.webkit.ValueCallback<java.lang.Boolean>);
18459    method public android.net.Uri[] parseFileChooserResult(int, android.content.Intent);
18460    method public void setSafeBrowsingWhitelist(java.util.List<java.lang.String>, android.webkit.ValueCallback<java.lang.Boolean>);
18461    method public void setWebContentsDebuggingEnabled(boolean);
18462  }
18463
18464  public interface WebViewProvider {
18465    method public void addJavascriptInterface(Object, String);
18466    method public boolean canGoBack();
18467    method public boolean canGoBackOrForward(int);
18468    method public boolean canGoForward();
18469    method public boolean canZoomIn();
18470    method public boolean canZoomOut();
18471    method public android.graphics.Picture capturePicture();
18472    method public void clearCache(boolean);
18473    method public void clearFormData();
18474    method public void clearHistory();
18475    method public void clearMatches();
18476    method public void clearSslPreferences();
18477    method public void clearView();
18478    method public android.webkit.WebBackForwardList copyBackForwardList();
18479    method public android.print.PrintDocumentAdapter createPrintDocumentAdapter(String);
18480    method public android.webkit.WebMessagePort[] createWebMessageChannel();
18481    method public void destroy();
18482    method public void documentHasImages(android.os.Message);
18483    method public void dumpViewHierarchyWithProperties(java.io.BufferedWriter, int);
18484    method public void evaluateJavaScript(String, android.webkit.ValueCallback<java.lang.String>);
18485    method public int findAll(String);
18486    method public void findAllAsync(String);
18487    method public android.view.View findHierarchyView(String, int);
18488    method public void findNext(boolean);
18489    method public void flingScroll(int, int);
18490    method public void freeMemory();
18491    method public android.net.http.SslCertificate getCertificate();
18492    method public int getContentHeight();
18493    method public int getContentWidth();
18494    method public android.graphics.Bitmap getFavicon();
18495    method public android.webkit.WebView.HitTestResult getHitTestResult();
18496    method public String[] getHttpAuthUsernamePassword(String, String);
18497    method public String getOriginalUrl();
18498    method public int getProgress();
18499    method public boolean getRendererPriorityWaivedWhenNotVisible();
18500    method public int getRendererRequestedPriority();
18501    method public float getScale();
18502    method public android.webkit.WebViewProvider.ScrollDelegate getScrollDelegate();
18503    method public android.webkit.WebSettings getSettings();
18504    method @NonNull public default android.view.textclassifier.TextClassifier getTextClassifier();
18505    method public String getTitle();
18506    method public String getTouchIconUrl();
18507    method public String getUrl();
18508    method public android.webkit.WebViewProvider.ViewDelegate getViewDelegate();
18509    method public int getVisibleTitleHeight();
18510    method public android.webkit.WebChromeClient getWebChromeClient();
18511    method public android.webkit.WebViewClient getWebViewClient();
18512    method @Nullable public android.webkit.WebViewRenderProcess getWebViewRenderProcess();
18513    method @Nullable public android.webkit.WebViewRenderProcessClient getWebViewRenderProcessClient();
18514    method public android.view.View getZoomControls();
18515    method public void goBack();
18516    method public void goBackOrForward(int);
18517    method public void goForward();
18518    method public void init(java.util.Map<java.lang.String,java.lang.Object>, boolean);
18519    method public void insertVisualStateCallback(long, android.webkit.WebView.VisualStateCallback);
18520    method public void invokeZoomPicker();
18521    method public boolean isPaused();
18522    method public boolean isPrivateBrowsingEnabled();
18523    method public void loadData(String, String, String);
18524    method public void loadDataWithBaseURL(String, String, String, String, String);
18525    method public void loadUrl(String, java.util.Map<java.lang.String,java.lang.String>);
18526    method public void loadUrl(String);
18527    method public void notifyFindDialogDismissed();
18528    method public void onPause();
18529    method public void onResume();
18530    method public boolean overlayHorizontalScrollbar();
18531    method public boolean overlayVerticalScrollbar();
18532    method public boolean pageDown(boolean);
18533    method public boolean pageUp(boolean);
18534    method public void pauseTimers();
18535    method public void postMessageToMainFrame(android.webkit.WebMessage, android.net.Uri);
18536    method public void postUrl(String, byte[]);
18537    method public void reload();
18538    method public void removeJavascriptInterface(String);
18539    method public void requestFocusNodeHref(android.os.Message);
18540    method public void requestImageRef(android.os.Message);
18541    method public boolean restorePicture(android.os.Bundle, java.io.File);
18542    method public android.webkit.WebBackForwardList restoreState(android.os.Bundle);
18543    method public void resumeTimers();
18544    method public void savePassword(String, String, String);
18545    method public boolean savePicture(android.os.Bundle, java.io.File);
18546    method public android.webkit.WebBackForwardList saveState(android.os.Bundle);
18547    method public void saveWebArchive(String);
18548    method public void saveWebArchive(String, boolean, android.webkit.ValueCallback<java.lang.String>);
18549    method public void setCertificate(android.net.http.SslCertificate);
18550    method public void setDownloadListener(android.webkit.DownloadListener);
18551    method public void setFindListener(android.webkit.WebView.FindListener);
18552    method public void setHorizontalScrollbarOverlay(boolean);
18553    method public void setHttpAuthUsernamePassword(String, String, String, String);
18554    method public void setInitialScale(int);
18555    method public void setMapTrackballToArrowKeys(boolean);
18556    method public void setNetworkAvailable(boolean);
18557    method public void setPictureListener(android.webkit.WebView.PictureListener);
18558    method public void setRendererPriorityPolicy(int, boolean);
18559    method public default void setTextClassifier(@Nullable android.view.textclassifier.TextClassifier);
18560    method public void setVerticalScrollbarOverlay(boolean);
18561    method public void setWebChromeClient(android.webkit.WebChromeClient);
18562    method public void setWebViewClient(android.webkit.WebViewClient);
18563    method public void setWebViewRenderProcessClient(@Nullable java.util.concurrent.Executor, @Nullable android.webkit.WebViewRenderProcessClient);
18564    method public boolean showFindDialog(String, boolean);
18565    method public void stopLoading();
18566    method public boolean zoomBy(float);
18567    method public boolean zoomIn();
18568    method public boolean zoomOut();
18569  }
18570
18571  public static interface WebViewProvider.ScrollDelegate {
18572    method public int computeHorizontalScrollOffset();
18573    method public int computeHorizontalScrollRange();
18574    method public void computeScroll();
18575    method public int computeVerticalScrollExtent();
18576    method public int computeVerticalScrollOffset();
18577    method public int computeVerticalScrollRange();
18578  }
18579
18580  public static interface WebViewProvider.ViewDelegate {
18581    method public default void autofill(android.util.SparseArray<android.view.autofill.AutofillValue>);
18582    method public default void dispatchCreateViewTranslationRequest(@NonNull java.util.Map<android.view.autofill.AutofillId,long[]>, @NonNull int[], @Nullable android.view.translation.TranslationCapability, @NonNull java.util.List<android.view.translation.ViewTranslationRequest>);
18583    method public boolean dispatchKeyEvent(android.view.KeyEvent);
18584    method public android.view.View findFocus(android.view.View);
18585    method public android.view.accessibility.AccessibilityNodeProvider getAccessibilityNodeProvider();
18586    method public android.os.Handler getHandler(android.os.Handler);
18587    method public default boolean isVisibleToUserForAutofill(int);
18588    method public void onActivityResult(int, int, android.content.Intent);
18589    method @Nullable public default android.view.WindowInsets onApplyWindowInsets(@Nullable android.view.WindowInsets);
18590    method public void onAttachedToWindow();
18591    method public default boolean onCheckIsTextEditor();
18592    method public void onConfigurationChanged(android.content.res.Configuration);
18593    method public android.view.inputmethod.InputConnection onCreateInputConnection(android.view.inputmethod.EditorInfo);
18594    method public default void onCreateVirtualViewTranslationRequests(@NonNull long[], @NonNull int[], @NonNull java.util.function.Consumer<android.view.translation.ViewTranslationRequest>);
18595    method public void onDetachedFromWindow();
18596    method public boolean onDragEvent(android.view.DragEvent);
18597    method public void onDraw(android.graphics.Canvas);
18598    method public void onDrawVerticalScrollBar(android.graphics.Canvas, android.graphics.drawable.Drawable, int, int, int, int);
18599    method public void onFinishTemporaryDetach();
18600    method public void onFocusChanged(boolean, int, android.graphics.Rect);
18601    method public boolean onGenericMotionEvent(android.view.MotionEvent);
18602    method public boolean onHoverEvent(android.view.MotionEvent);
18603    method public void onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent);
18604    method public void onInitializeAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo);
18605    method public boolean onKeyDown(int, android.view.KeyEvent);
18606    method public boolean onKeyMultiple(int, int, android.view.KeyEvent);
18607    method public boolean onKeyUp(int, android.view.KeyEvent);
18608    method public void onMeasure(int, int);
18609    method public default void onMovedToDisplay(int, android.content.res.Configuration);
18610    method public void onOverScrolled(int, int, boolean, boolean);
18611    method public default void onProvideAutofillVirtualStructure(android.view.ViewStructure, int);
18612    method public default void onProvideContentCaptureStructure(@NonNull android.view.ViewStructure, int);
18613    method public void onProvideVirtualStructure(android.view.ViewStructure);
18614    method public void onScrollChanged(int, int, int, int);
18615    method public void onSizeChanged(int, int, int, int);
18616    method public void onStartTemporaryDetach();
18617    method public boolean onTouchEvent(android.view.MotionEvent);
18618    method public boolean onTrackballEvent(android.view.MotionEvent);
18619    method public default void onVirtualViewTranslationResponses(@NonNull android.util.LongSparseArray<android.view.translation.ViewTranslationResponse>);
18620    method public void onVisibilityChanged(android.view.View, int);
18621    method public void onWindowFocusChanged(boolean);
18622    method public void onWindowVisibilityChanged(int);
18623    method public boolean performAccessibilityAction(int, android.os.Bundle);
18624    method public boolean performLongClick();
18625    method public void preDispatchDraw(android.graphics.Canvas);
18626    method public boolean requestChildRectangleOnScreen(android.view.View, android.graphics.Rect, boolean);
18627    method public boolean requestFocus(int, android.graphics.Rect);
18628    method public void setBackgroundColor(int);
18629    method public boolean setFrame(int, int, int, int);
18630    method public void setLayerType(int, android.graphics.Paint);
18631    method public void setLayoutParams(android.view.ViewGroup.LayoutParams);
18632    method public void setOverScrollMode(int);
18633    method public void setScrollBarStyle(int);
18634    method public boolean shouldDelayChildPressedState();
18635  }
18636
18637  public final class WebViewProviderInfo implements android.os.Parcelable {
18638    ctor public WebViewProviderInfo(String, String, boolean, boolean, String[]);
18639    method public int describeContents();
18640    method public void writeToParcel(android.os.Parcel, int);
18641    field @NonNull public static final android.os.Parcelable.Creator<android.webkit.WebViewProviderInfo> CREATOR;
18642    field public final boolean availableByDefault;
18643    field public final String description;
18644    field public final boolean isFallback;
18645    field public final String packageName;
18646    field public final android.content.pm.Signature[] signatures;
18647  }
18648
18649  public final class WebViewUpdateService {
18650    method public static android.webkit.WebViewProviderInfo[] getAllWebViewPackages();
18651    method public static String getCurrentWebViewPackageName();
18652    method public static android.webkit.WebViewProviderInfo[] getValidWebViewPackages();
18653  }
18654
18655}
18656
18657package android.window {
18658
18659  public abstract class TaskFpsCallback {
18660    ctor public TaskFpsCallback();
18661    method public abstract void onFpsReported(float);
18662  }
18663
18664}
18665
18666