1// Signature format: 2.0
2package android {
3
4  public static final class Manifest.permission {
5    field public static final String ACCESS_AMBIENT_LIGHT_STATS = "android.permission.ACCESS_AMBIENT_LIGHT_STATS";
6    field public static final String ACCESS_BROADCAST_RADIO = "android.permission.ACCESS_BROADCAST_RADIO";
7    field public static final String ACCESS_CACHE_FILESYSTEM = "android.permission.ACCESS_CACHE_FILESYSTEM";
8    field public static final String ACCESS_CONTEXT_HUB = "android.permission.ACCESS_CONTEXT_HUB";
9    field public static final String ACCESS_DRM_CERTIFICATES = "android.permission.ACCESS_DRM_CERTIFICATES";
10    field @Deprecated public static final String ACCESS_FM_RADIO = "android.permission.ACCESS_FM_RADIO";
11    field public static final String ACCESS_INSTANT_APPS = "android.permission.ACCESS_INSTANT_APPS";
12    field public static final String ACCESS_LOCUS_ID_USAGE_STATS = "android.permission.ACCESS_LOCUS_ID_USAGE_STATS";
13    field public static final String ACCESS_MOCK_LOCATION = "android.permission.ACCESS_MOCK_LOCATION";
14    field public static final String ACCESS_MTP = "android.permission.ACCESS_MTP";
15    field public static final String ACCESS_NETWORK_CONDITIONS = "android.permission.ACCESS_NETWORK_CONDITIONS";
16    field public static final String ACCESS_NOTIFICATIONS = "android.permission.ACCESS_NOTIFICATIONS";
17    field public static final String ACCESS_SHARED_LIBRARIES = "android.permission.ACCESS_SHARED_LIBRARIES";
18    field public static final String ACCESS_SHORTCUTS = "android.permission.ACCESS_SHORTCUTS";
19    field public static final String ACCESS_SURFACE_FLINGER = "android.permission.ACCESS_SURFACE_FLINGER";
20    field public static final String ACCESS_TV_DESCRAMBLER = "android.permission.ACCESS_TV_DESCRAMBLER";
21    field public static final String ACCESS_TV_TUNER = "android.permission.ACCESS_TV_TUNER";
22    field public static final String ACCESS_VIBRATOR_STATE = "android.permission.ACCESS_VIBRATOR_STATE";
23    field public static final String ACTIVITY_EMBEDDING = "android.permission.ACTIVITY_EMBEDDING";
24    field public static final String ADJUST_RUNTIME_PERMISSIONS_POLICY = "android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY";
25    field public static final String ALLOCATE_AGGRESSIVE = "android.permission.ALLOCATE_AGGRESSIVE";
26    field public static final String ALLOW_ANY_CODEC_FOR_PLAYBACK = "android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK";
27    field public static final String AMBIENT_WALLPAPER = "android.permission.AMBIENT_WALLPAPER";
28    field public static final String APPROVE_INCIDENT_REPORTS = "android.permission.APPROVE_INCIDENT_REPORTS";
29    field public static final String BACKUP = "android.permission.BACKUP";
30    field public static final String BIND_ATTENTION_SERVICE = "android.permission.BIND_ATTENTION_SERVICE";
31    field public static final String BIND_AUGMENTED_AUTOFILL_SERVICE = "android.permission.BIND_AUGMENTED_AUTOFILL_SERVICE";
32    field public static final String BIND_CELL_BROADCAST_SERVICE = "android.permission.BIND_CELL_BROADCAST_SERVICE";
33    field @Deprecated public static final String BIND_CONNECTION_SERVICE = "android.permission.BIND_CONNECTION_SERVICE";
34    field public static final String BIND_CONTENT_CAPTURE_SERVICE = "android.permission.BIND_CONTENT_CAPTURE_SERVICE";
35    field public static final String BIND_CONTENT_SUGGESTIONS_SERVICE = "android.permission.BIND_CONTENT_SUGGESTIONS_SERVICE";
36    field public static final String BIND_DIRECTORY_SEARCH = "android.permission.BIND_DIRECTORY_SEARCH";
37    field public static final String BIND_EUICC_SERVICE = "android.permission.BIND_EUICC_SERVICE";
38    field public static final String BIND_EXTERNAL_STORAGE_SERVICE = "android.permission.BIND_EXTERNAL_STORAGE_SERVICE";
39    field public static final String BIND_IMS_SERVICE = "android.permission.BIND_IMS_SERVICE";
40    field public static final String BIND_KEYGUARD_APPWIDGET = "android.permission.BIND_KEYGUARD_APPWIDGET";
41    field public static final String BIND_NETWORK_RECOMMENDATION_SERVICE = "android.permission.BIND_NETWORK_RECOMMENDATION_SERVICE";
42    field public static final String BIND_NOTIFICATION_ASSISTANT_SERVICE = "android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE";
43    field public static final String BIND_PHONE_ACCOUNT_SUGGESTION_SERVICE = "android.permission.BIND_PHONE_ACCOUNT_SUGGESTION_SERVICE";
44    field public static final String BIND_PRINT_RECOMMENDATION_SERVICE = "android.permission.BIND_PRINT_RECOMMENDATION_SERVICE";
45    field public static final String BIND_RESOLVER_RANKER_SERVICE = "android.permission.BIND_RESOLVER_RANKER_SERVICE";
46    field public static final String BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE = "android.permission.BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE";
47    field public static final String BIND_SETTINGS_SUGGESTIONS_SERVICE = "android.permission.BIND_SETTINGS_SUGGESTIONS_SERVICE";
48    field public static final String BIND_SOUND_TRIGGER_DETECTION_SERVICE = "android.permission.BIND_SOUND_TRIGGER_DETECTION_SERVICE";
49    field public static final String BIND_TELEPHONY_DATA_SERVICE = "android.permission.BIND_TELEPHONY_DATA_SERVICE";
50    field public static final String BIND_TELEPHONY_NETWORK_SERVICE = "android.permission.BIND_TELEPHONY_NETWORK_SERVICE";
51    field public static final String BIND_TEXTCLASSIFIER_SERVICE = "android.permission.BIND_TEXTCLASSIFIER_SERVICE";
52    field public static final String BIND_TRUST_AGENT = "android.permission.BIND_TRUST_AGENT";
53    field public static final String BIND_TV_REMOTE_SERVICE = "android.permission.BIND_TV_REMOTE_SERVICE";
54    field public static final String BRICK = "android.permission.BRICK";
55    field public static final String BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_USAGE";
56    field @Deprecated public static final String BROADCAST_NETWORK_PRIVILEGED = "android.permission.BROADCAST_NETWORK_PRIVILEGED";
57    field public static final String CAMERA_DISABLE_TRANSMIT_LED = "android.permission.CAMERA_DISABLE_TRANSMIT_LED";
58    field public static final String CAPTURE_AUDIO_HOTWORD = "android.permission.CAPTURE_AUDIO_HOTWORD";
59    field public static final String CAPTURE_MEDIA_OUTPUT = "android.permission.CAPTURE_MEDIA_OUTPUT";
60    field public static final String CAPTURE_TV_INPUT = "android.permission.CAPTURE_TV_INPUT";
61    field public static final String CAPTURE_VOICE_COMMUNICATION_OUTPUT = "android.permission.CAPTURE_VOICE_COMMUNICATION_OUTPUT";
62    field public static final String CHANGE_APP_IDLE_STATE = "android.permission.CHANGE_APP_IDLE_STATE";
63    field public static final String CHANGE_DEVICE_IDLE_TEMP_WHITELIST = "android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST";
64    field public static final String CLEAR_APP_USER_DATA = "android.permission.CLEAR_APP_USER_DATA";
65    field public static final String COMPANION_APPROVE_WIFI_CONNECTIONS = "android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS";
66    field public static final String CONFIGURE_DISPLAY_BRIGHTNESS = "android.permission.CONFIGURE_DISPLAY_BRIGHTNESS";
67    field public static final String CONFIGURE_WIFI_DISPLAY = "android.permission.CONFIGURE_WIFI_DISPLAY";
68    field @Deprecated public static final String CONNECTIVITY_INTERNAL = "android.permission.CONNECTIVITY_INTERNAL";
69    field public static final String CONNECTIVITY_USE_RESTRICTED_NETWORKS = "android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS";
70    field public static final String CONTROL_DEVICE_LIGHTS = "android.permission.CONTROL_DEVICE_LIGHTS";
71    field public static final String CONTROL_DISPLAY_COLOR_TRANSFORMS = "android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS";
72    field public static final String CONTROL_DISPLAY_SATURATION = "android.permission.CONTROL_DISPLAY_SATURATION";
73    field public static final String CONTROL_INCALL_EXPERIENCE = "android.permission.CONTROL_INCALL_EXPERIENCE";
74    field public static final String CONTROL_KEYGUARD_SECURE_NOTIFICATIONS = "android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS";
75    field public static final String CONTROL_VPN = "android.permission.CONTROL_VPN";
76    field public static final String CREATE_USERS = "android.permission.CREATE_USERS";
77    field public static final String CRYPT_KEEPER = "android.permission.CRYPT_KEEPER";
78    field public static final String DEVICE_POWER = "android.permission.DEVICE_POWER";
79    field public static final String DISPATCH_PROVISIONING_MESSAGE = "android.permission.DISPATCH_PROVISIONING_MESSAGE";
80    field public static final String ENTER_CAR_MODE_PRIORITIZED = "android.permission.ENTER_CAR_MODE_PRIORITIZED";
81    field public static final String EXEMPT_FROM_AUDIO_RECORD_RESTRICTIONS = "android.permission.EXEMPT_FROM_AUDIO_RECORD_RESTRICTIONS";
82    field public static final String FORCE_BACK = "android.permission.FORCE_BACK";
83    field public static final String FORCE_STOP_PACKAGES = "android.permission.FORCE_STOP_PACKAGES";
84    field public static final String GET_APP_OPS_STATS = "android.permission.GET_APP_OPS_STATS";
85    field public static final String GET_PROCESS_STATE_AND_OOM_SCORE = "android.permission.GET_PROCESS_STATE_AND_OOM_SCORE";
86    field public static final String GET_RUNTIME_PERMISSIONS = "android.permission.GET_RUNTIME_PERMISSIONS";
87    field public static final String GET_TOP_ACTIVITY_INFO = "android.permission.GET_TOP_ACTIVITY_INFO";
88    field @Deprecated public static final String GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS = "android.permission.GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS";
89    field public static final String GRANT_RUNTIME_PERMISSIONS = "android.permission.GRANT_RUNTIME_PERMISSIONS";
90    field public static final String GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS = "android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS";
91    field public static final String HANDLE_CAR_MODE_CHANGES = "android.permission.HANDLE_CAR_MODE_CHANGES";
92    field public static final String HARDWARE_TEST = "android.permission.HARDWARE_TEST";
93    field public static final String HDMI_CEC = "android.permission.HDMI_CEC";
94    field public static final String HIDE_NON_SYSTEM_OVERLAY_WINDOWS = "android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS";
95    field public static final String INJECT_EVENTS = "android.permission.INJECT_EVENTS";
96    field public static final String INSTALL_DYNAMIC_SYSTEM = "android.permission.INSTALL_DYNAMIC_SYSTEM";
97    field public static final String INSTALL_GRANT_RUNTIME_PERMISSIONS = "android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS";
98    field public static final String INSTALL_PACKAGE_UPDATES = "android.permission.INSTALL_PACKAGE_UPDATES";
99    field public static final String INSTALL_SELF_UPDATES = "android.permission.INSTALL_SELF_UPDATES";
100    field public static final String INTENT_FILTER_VERIFICATION_AGENT = "android.permission.INTENT_FILTER_VERIFICATION_AGENT";
101    field public static final String INTERACT_ACROSS_USERS = "android.permission.INTERACT_ACROSS_USERS";
102    field public static final String INTERACT_ACROSS_USERS_FULL = "android.permission.INTERACT_ACROSS_USERS_FULL";
103    field public static final String INTERNAL_SYSTEM_WINDOW = "android.permission.INTERNAL_SYSTEM_WINDOW";
104    field public static final String INVOKE_CARRIER_SETUP = "android.permission.INVOKE_CARRIER_SETUP";
105    field public static final String KILL_UID = "android.permission.KILL_UID";
106    field public static final String LOCAL_MAC_ADDRESS = "android.permission.LOCAL_MAC_ADDRESS";
107    field public static final String LOCK_DEVICE = "android.permission.LOCK_DEVICE";
108    field public static final String LOOP_RADIO = "android.permission.LOOP_RADIO";
109    field public static final String MANAGE_ACCESSIBILITY = "android.permission.MANAGE_ACCESSIBILITY";
110    field public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS";
111    field public static final String MANAGE_APP_OPS_RESTRICTIONS = "android.permission.MANAGE_APP_OPS_RESTRICTIONS";
112    field public static final String MANAGE_APP_PREDICTIONS = "android.permission.MANAGE_APP_PREDICTIONS";
113    field public static final String MANAGE_APP_TOKENS = "android.permission.MANAGE_APP_TOKENS";
114    field public static final String MANAGE_AUTO_FILL = "android.permission.MANAGE_AUTO_FILL";
115    field public static final String MANAGE_CARRIER_OEM_UNLOCK_STATE = "android.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE";
116    field public static final String MANAGE_CA_CERTIFICATES = "android.permission.MANAGE_CA_CERTIFICATES";
117    field public static final String MANAGE_CONTENT_CAPTURE = "android.permission.MANAGE_CONTENT_CAPTURE";
118    field public static final String MANAGE_CONTENT_SUGGESTIONS = "android.permission.MANAGE_CONTENT_SUGGESTIONS";
119    field public static final String MANAGE_DEBUGGING = "android.permission.MANAGE_DEBUGGING";
120    field public static final String MANAGE_FACTORY_RESET_PROTECTION = "android.permission.MANAGE_FACTORY_RESET_PROTECTION";
121    field public static final String MANAGE_IPSEC_TUNNELS = "android.permission.MANAGE_IPSEC_TUNNELS";
122    field public static final String MANAGE_ONE_TIME_PERMISSION_SESSIONS = "android.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS";
123    field public static final String MANAGE_ROLE_HOLDERS = "android.permission.MANAGE_ROLE_HOLDERS";
124    field public static final String MANAGE_ROLLBACKS = "android.permission.MANAGE_ROLLBACKS";
125    field public static final String MANAGE_SENSOR_PRIVACY = "android.permission.MANAGE_SENSOR_PRIVACY";
126    field public static final String MANAGE_SOUND_TRIGGER = "android.permission.MANAGE_SOUND_TRIGGER";
127    field public static final String MANAGE_SUBSCRIPTION_PLANS = "android.permission.MANAGE_SUBSCRIPTION_PLANS";
128    field public static final String MANAGE_USB = "android.permission.MANAGE_USB";
129    field public static final String MANAGE_USERS = "android.permission.MANAGE_USERS";
130    field public static final String MANAGE_USER_OEM_UNLOCK_STATE = "android.permission.MANAGE_USER_OEM_UNLOCK_STATE";
131    field public static final String MODIFY_APPWIDGET_BIND_PERMISSIONS = "android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS";
132    field public static final String MODIFY_AUDIO_ROUTING = "android.permission.MODIFY_AUDIO_ROUTING";
133    field public static final String MODIFY_CELL_BROADCASTS = "android.permission.MODIFY_CELL_BROADCASTS";
134    field public static final String MODIFY_DAY_NIGHT_MODE = "android.permission.MODIFY_DAY_NIGHT_MODE";
135    field @Deprecated public static final String MODIFY_NETWORK_ACCOUNTING = "android.permission.MODIFY_NETWORK_ACCOUNTING";
136    field public static final String MODIFY_PARENTAL_CONTROLS = "android.permission.MODIFY_PARENTAL_CONTROLS";
137    field public static final String MODIFY_QUIET_MODE = "android.permission.MODIFY_QUIET_MODE";
138    field public static final String MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE = "android.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE";
139    field public static final String MOVE_PACKAGE = "android.permission.MOVE_PACKAGE";
140    field public static final String NETWORK_AIRPLANE_MODE = "android.permission.NETWORK_AIRPLANE_MODE";
141    field public static final String NETWORK_CARRIER_PROVISIONING = "android.permission.NETWORK_CARRIER_PROVISIONING";
142    field public static final String NETWORK_FACTORY = "android.permission.NETWORK_FACTORY";
143    field public static final String NETWORK_MANAGED_PROVISIONING = "android.permission.NETWORK_MANAGED_PROVISIONING";
144    field public static final String NETWORK_SCAN = "android.permission.NETWORK_SCAN";
145    field public static final String NETWORK_SETTINGS = "android.permission.NETWORK_SETTINGS";
146    field public static final String NETWORK_SETUP_WIZARD = "android.permission.NETWORK_SETUP_WIZARD";
147    field public static final String NETWORK_SIGNAL_STRENGTH_WAKEUP = "android.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP";
148    field public static final String NETWORK_STACK = "android.permission.NETWORK_STACK";
149    field public static final String NETWORK_STATS_PROVIDER = "android.permission.NETWORK_STATS_PROVIDER";
150    field public static final String NOTIFICATION_DURING_SETUP = "android.permission.NOTIFICATION_DURING_SETUP";
151    field public static final String NOTIFY_TV_INPUTS = "android.permission.NOTIFY_TV_INPUTS";
152    field public static final String OBSERVE_APP_USAGE = "android.permission.OBSERVE_APP_USAGE";
153    field public static final String OBSERVE_NETWORK_POLICY = "android.permission.OBSERVE_NETWORK_POLICY";
154    field public static final String OBSERVE_ROLE_HOLDERS = "android.permission.OBSERVE_ROLE_HOLDERS";
155    field public static final String OPEN_ACCESSIBILITY_DETAILS_SETTINGS = "android.permission.OPEN_ACCESSIBILITY_DETAILS_SETTINGS";
156    field public static final String OVERRIDE_WIFI_CONFIG = "android.permission.OVERRIDE_WIFI_CONFIG";
157    field public static final String PACKAGE_VERIFICATION_AGENT = "android.permission.PACKAGE_VERIFICATION_AGENT";
158    field public static final String PACKET_KEEPALIVE_OFFLOAD = "android.permission.PACKET_KEEPALIVE_OFFLOAD";
159    field public static final String PEERS_MAC_ADDRESS = "android.permission.PEERS_MAC_ADDRESS";
160    field public static final String PERFORM_CDMA_PROVISIONING = "android.permission.PERFORM_CDMA_PROVISIONING";
161    field public static final String PERFORM_SIM_ACTIVATION = "android.permission.PERFORM_SIM_ACTIVATION";
162    field public static final String POWER_SAVER = "android.permission.POWER_SAVER";
163    field public static final String PROVIDE_RESOLVER_RANKER_SERVICE = "android.permission.PROVIDE_RESOLVER_RANKER_SERVICE";
164    field public static final String PROVIDE_TRUST_AGENT = "android.permission.PROVIDE_TRUST_AGENT";
165    field public static final String QUERY_TIME_ZONE_RULES = "android.permission.QUERY_TIME_ZONE_RULES";
166    field public static final String RADIO_SCAN_WITHOUT_LOCATION = "android.permission.RADIO_SCAN_WITHOUT_LOCATION";
167    field public static final String READ_ACTIVE_EMERGENCY_SESSION = "android.permission.READ_ACTIVE_EMERGENCY_SESSION";
168    field public static final String READ_CARRIER_APP_INFO = "android.permission.READ_CARRIER_APP_INFO";
169    field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS";
170    field public static final String READ_CONTENT_RATING_SYSTEMS = "android.permission.READ_CONTENT_RATING_SYSTEMS";
171    field public static final String READ_DEVICE_CONFIG = "android.permission.READ_DEVICE_CONFIG";
172    field public static final String READ_DREAM_STATE = "android.permission.READ_DREAM_STATE";
173    field public static final String READ_INSTALL_SESSIONS = "android.permission.READ_INSTALL_SESSIONS";
174    field public static final String READ_NETWORK_USAGE_HISTORY = "android.permission.READ_NETWORK_USAGE_HISTORY";
175    field public static final String READ_OEM_UNLOCK_STATE = "android.permission.READ_OEM_UNLOCK_STATE";
176    field public static final String READ_PRINT_SERVICES = "android.permission.READ_PRINT_SERVICES";
177    field public static final String READ_PRINT_SERVICE_RECOMMENDATIONS = "android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS";
178    field public static final String READ_PRIVILEGED_PHONE_STATE = "android.permission.READ_PRIVILEGED_PHONE_STATE";
179    field public static final String READ_RUNTIME_PROFILES = "android.permission.READ_RUNTIME_PROFILES";
180    field public static final String READ_SEARCH_INDEXABLES = "android.permission.READ_SEARCH_INDEXABLES";
181    field public static final String READ_SYSTEM_UPDATE_INFO = "android.permission.READ_SYSTEM_UPDATE_INFO";
182    field public static final String READ_WALLPAPER_INTERNAL = "android.permission.READ_WALLPAPER_INTERNAL";
183    field public static final String READ_WIFI_CREDENTIAL = "android.permission.READ_WIFI_CREDENTIAL";
184    field public static final String REAL_GET_TASKS = "android.permission.REAL_GET_TASKS";
185    field public static final String RECEIVE_DATA_ACTIVITY_CHANGE = "android.permission.RECEIVE_DATA_ACTIVITY_CHANGE";
186    field public static final String RECEIVE_DEVICE_CUSTOMIZATION_READY = "android.permission.RECEIVE_DEVICE_CUSTOMIZATION_READY";
187    field public static final String RECEIVE_EMERGENCY_BROADCAST = "android.permission.RECEIVE_EMERGENCY_BROADCAST";
188    field public static final String RECEIVE_WIFI_CREDENTIAL_CHANGE = "android.permission.RECEIVE_WIFI_CREDENTIAL_CHANGE";
189    field public static final String RECOVERY = "android.permission.RECOVERY";
190    field public static final String RECOVER_KEYSTORE = "android.permission.RECOVER_KEYSTORE";
191    field public static final String REGISTER_CALL_PROVIDER = "android.permission.REGISTER_CALL_PROVIDER";
192    field public static final String REGISTER_CONNECTION_MANAGER = "android.permission.REGISTER_CONNECTION_MANAGER";
193    field public static final String REGISTER_SIM_SUBSCRIPTION = "android.permission.REGISTER_SIM_SUBSCRIPTION";
194    field public static final String REGISTER_STATS_PULL_ATOM = "android.permission.REGISTER_STATS_PULL_ATOM";
195    field public static final String REMOTE_DISPLAY_PROVIDER = "android.permission.REMOTE_DISPLAY_PROVIDER";
196    field public static final String REMOVE_DRM_CERTIFICATES = "android.permission.REMOVE_DRM_CERTIFICATES";
197    field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS";
198    field public static final String REQUEST_NETWORK_SCORES = "android.permission.REQUEST_NETWORK_SCORES";
199    field public static final String REQUEST_NOTIFICATION_ASSISTANT_SERVICE = "android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE";
200    field public static final String RESET_PASSWORD = "android.permission.RESET_PASSWORD";
201    field public static final String RESTORE_RUNTIME_PERMISSIONS = "android.permission.RESTORE_RUNTIME_PERMISSIONS";
202    field public static final String RESTRICTED_VR_ACCESS = "android.permission.RESTRICTED_VR_ACCESS";
203    field public static final String RETRIEVE_WINDOW_CONTENT = "android.permission.RETRIEVE_WINDOW_CONTENT";
204    field public static final String REVIEW_ACCESSIBILITY_SERVICES = "android.permission.REVIEW_ACCESSIBILITY_SERVICES";
205    field public static final String REVOKE_RUNTIME_PERMISSIONS = "android.permission.REVOKE_RUNTIME_PERMISSIONS";
206    field public static final String SCORE_NETWORKS = "android.permission.SCORE_NETWORKS";
207    field public static final String SECURE_ELEMENT_PRIVILEGED_OPERATION = "android.permission.SECURE_ELEMENT_PRIVILEGED_OPERATION";
208    field public static final String SEND_DEVICE_CUSTOMIZATION_READY = "android.permission.SEND_DEVICE_CUSTOMIZATION_READY";
209    field public static final String SEND_SHOW_SUSPENDED_APP_DETAILS = "android.permission.SEND_SHOW_SUSPENDED_APP_DETAILS";
210    field public static final String SEND_SMS_NO_CONFIRMATION = "android.permission.SEND_SMS_NO_CONFIRMATION";
211    field public static final String SERIAL_PORT = "android.permission.SERIAL_PORT";
212    field public static final String SET_ACTIVITY_WATCHER = "android.permission.SET_ACTIVITY_WATCHER";
213    field public static final String SET_HARMFUL_APP_WARNINGS = "android.permission.SET_HARMFUL_APP_WARNINGS";
214    field public static final String SET_MEDIA_KEY_LISTENER = "android.permission.SET_MEDIA_KEY_LISTENER";
215    field public static final String SET_ORIENTATION = "android.permission.SET_ORIENTATION";
216    field public static final String SET_POINTER_SPEED = "android.permission.SET_POINTER_SPEED";
217    field public static final String SET_SCREEN_COMPATIBILITY = "android.permission.SET_SCREEN_COMPATIBILITY";
218    field public static final String SET_VOLUME_KEY_LONG_PRESS_LISTENER = "android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER";
219    field public static final String SET_WALLPAPER_COMPONENT = "android.permission.SET_WALLPAPER_COMPONENT";
220    field public static final String SHOW_KEYGUARD_MESSAGE = "android.permission.SHOW_KEYGUARD_MESSAGE";
221    field public static final String SHUTDOWN = "android.permission.SHUTDOWN";
222    field public static final String STOP_APP_SWITCHES = "android.permission.STOP_APP_SWITCHES";
223    field public static final String SUBSTITUTE_NOTIFICATION_APP_NAME = "android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME";
224    field public static final String SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON = "android.permission.SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON";
225    field public static final String SUSPEND_APPS = "android.permission.SUSPEND_APPS";
226    field public static final String SYSTEM_CAMERA = "android.permission.SYSTEM_CAMERA";
227    field public static final String TETHER_PRIVILEGED = "android.permission.TETHER_PRIVILEGED";
228    field public static final String TV_INPUT_HARDWARE = "android.permission.TV_INPUT_HARDWARE";
229    field public static final String TV_VIRTUAL_REMOTE_CONTROLLER = "android.permission.TV_VIRTUAL_REMOTE_CONTROLLER";
230    field public static final String UNLIMITED_SHORTCUTS_API_CALLS = "android.permission.UNLIMITED_SHORTCUTS_API_CALLS";
231    field public static final String UPDATE_APP_OPS_STATS = "android.permission.UPDATE_APP_OPS_STATS";
232    field public static final String UPDATE_LOCK = "android.permission.UPDATE_LOCK";
233    field public static final String UPDATE_TIME_ZONE_RULES = "android.permission.UPDATE_TIME_ZONE_RULES";
234    field public static final String UPGRADE_RUNTIME_PERMISSIONS = "android.permission.UPGRADE_RUNTIME_PERMISSIONS";
235    field public static final String USER_ACTIVITY = "android.permission.USER_ACTIVITY";
236    field public static final String USE_RESERVED_DISK = "android.permission.USE_RESERVED_DISK";
237    field public static final String WHITELIST_AUTO_REVOKE_PERMISSIONS = "android.permission.WHITELIST_AUTO_REVOKE_PERMISSIONS";
238    field public static final String WHITELIST_RESTRICTED_PERMISSIONS = "android.permission.WHITELIST_RESTRICTED_PERMISSIONS";
239    field public static final String WIFI_SET_DEVICE_MOBILITY_STATE = "android.permission.WIFI_SET_DEVICE_MOBILITY_STATE";
240    field public static final String WIFI_UPDATE_USABILITY_STATS_SCORE = "android.permission.WIFI_UPDATE_USABILITY_STATS_SCORE";
241    field public static final String WRITE_DEVICE_CONFIG = "android.permission.WRITE_DEVICE_CONFIG";
242    field public static final String WRITE_DREAM_STATE = "android.permission.WRITE_DREAM_STATE";
243    field public static final String WRITE_EMBEDDED_SUBSCRIPTIONS = "android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS";
244    field @Deprecated public static final String WRITE_MEDIA_STORAGE = "android.permission.WRITE_MEDIA_STORAGE";
245    field public static final String WRITE_OBB = "android.permission.WRITE_OBB";
246  }
247
248  public static final class Manifest.permission_group {
249    field public static final String UNDEFINED = "android.permission-group.UNDEFINED";
250  }
251
252  public static final class R.array {
253    field public static final int config_keySystemUuidMapping = 17235973; // 0x1070005
254  }
255
256  public static final class R.attr {
257    field public static final int allowClearUserDataOnFailedRestore = 16844288; // 0x1010600
258    field public static final int isVrOnly = 16844152; // 0x1010578
259    field public static final int minExtensionVersion = 16844305; // 0x1010611
260    field public static final int requiredSystemPropertyName = 16844133; // 0x1010565
261    field public static final int requiredSystemPropertyValue = 16844134; // 0x1010566
262    field public static final int sdkVersion = 16844304; // 0x1010610
263    field public static final int supportsAmbientMode = 16844173; // 0x101058d
264    field public static final int userRestriction = 16844164; // 0x1010584
265  }
266
267  public static final class R.bool {
268    field public static final int config_sendPackageName = 17891328; // 0x1110000
269    field public static final int config_showDefaultAssistant = 17891329; // 0x1110001
270    field public static final int config_showDefaultEmergency = 17891330; // 0x1110002
271    field public static final int config_showDefaultHome = 17891331; // 0x1110003
272  }
273
274  public static final class R.color {
275    field public static final int system_notification_accent_color = 17170460; // 0x106001c
276  }
277
278  public static final class R.dimen {
279    field public static final int config_restrictedIconSize = 17104903; // 0x1050007
280  }
281
282  public static final class R.drawable {
283    field public static final int ic_info = 17301684; // 0x10800b4
284  }
285
286  public static final class R.raw {
287    field public static final int loaderror = 17825792; // 0x1100000
288    field public static final int nodomain = 17825793; // 0x1100001
289  }
290
291  public static final class R.string {
292    field public static final int config_defaultAssistant = 17039393; // 0x1040021
293    field public static final int config_defaultBrowser = 17039394; // 0x1040022
294    field public static final int config_defaultCallRedirection = 17039397; // 0x1040025
295    field public static final int config_defaultCallScreening = 17039398; // 0x1040026
296    field public static final int config_defaultDialer = 17039395; // 0x1040023
297    field public static final int config_defaultSms = 17039396; // 0x1040024
298    field public static final int config_feedbackIntentExtraKey = 17039391; // 0x104001f
299    field public static final int config_feedbackIntentNameKey = 17039392; // 0x1040020
300    field public static final int config_helpIntentExtraKey = 17039389; // 0x104001d
301    field public static final int config_helpIntentNameKey = 17039390; // 0x104001e
302    field public static final int config_helpPackageNameKey = 17039387; // 0x104001b
303    field public static final int config_helpPackageNameValue = 17039388; // 0x104001c
304    field public static final int config_systemGallery = 17039399; // 0x1040027
305  }
306
307  public static final class R.style {
308    field public static final int Theme_DeviceDefault_DocumentsUI = 16974562; // 0x10302e2
309    field public static final int Theme_Leanback_FormWizard = 16974544; // 0x10302d0
310  }
311
312}
313
314package android.accounts {
315
316  public class AccountManager {
317    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public android.accounts.AccountManagerFuture<android.os.Bundle> finishSessionAsUser(android.os.Bundle, android.app.Activity, android.os.UserHandle, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler);
318  }
319
320}
321
322package android.app {
323
324  public class Activity extends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.view.KeyEvent.Callback android.view.LayoutInflater.Factory2 android.view.View.OnCreateContextMenuListener android.view.Window.Callback {
325    method public void convertFromTranslucent();
326    method public boolean convertToTranslucent(android.app.Activity.TranslucentConversionListener, android.app.ActivityOptions);
327    method @Deprecated public boolean isBackgroundVisibleBehind();
328    method @Deprecated public void onBackgroundVisibleBehindChanged(boolean);
329  }
330
331  public static interface Activity.TranslucentConversionListener {
332    method public void onTranslucentConversionComplete(boolean);
333  }
334
335  public class ActivityManager {
336    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void addOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener, int);
337    method @RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) public void forceStopPackage(String);
338    method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public static int getCurrentUser();
339    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
340    method @NonNull public java.util.Collection<java.util.Locale> getSupportedLocales();
341    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getUidImportance(int);
342    method @RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) public void killProcessesWhenImperceptible(@NonNull int[], @NonNull String);
343    method @RequiresPermission(android.Manifest.permission.KILL_UID) public void killUid(int, String);
344    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void removeOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener);
345    method public void setDeviceLocales(@NonNull android.os.LocaleList);
346    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public static void setPersistentVrThread(int);
347    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean switchUser(@NonNull android.os.UserHandle);
348  }
349
350  public static interface ActivityManager.OnUidImportanceListener {
351    method public void onUidImportance(int, int);
352  }
353
354  public class AlarmManager {
355    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void set(int, long, long, long, android.app.PendingIntent, android.os.WorkSource);
356    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void set(int, long, long, long, android.app.AlarmManager.OnAlarmListener, android.os.Handler, android.os.WorkSource);
357  }
358
359  public class AppOpsManager {
360    method @Nullable @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public android.app.RuntimeAppOpAccessMessage collectRuntimeAppOpAccessMessage();
361    method @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public void getHistoricalOps(@NonNull android.app.AppOpsManager.HistoricalOpsRequest, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.app.AppOpsManager.HistoricalOps>);
362    method public static String[] getOpStrs();
363    method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getOpsForPackage(int, @NonNull String, @Nullable java.lang.String...);
364    method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getPackagesForOps(@Nullable String[]);
365    method public static int opToDefaultMode(@NonNull String);
366    method @Nullable public static String opToPermission(@NonNull String);
367    method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setMode(@NonNull String, int, @Nullable String, int);
368    method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setUidMode(@NonNull String, int, int);
369    field public static final String OPSTR_ACCEPT_HANDOVER = "android:accept_handover";
370    field public static final String OPSTR_ACCESS_ACCESSIBILITY = "android:access_accessibility";
371    field public static final String OPSTR_ACCESS_NOTIFICATIONS = "android:access_notifications";
372    field public static final String OPSTR_ACTIVATE_VPN = "android:activate_vpn";
373    field public static final String OPSTR_ASSIST_SCREENSHOT = "android:assist_screenshot";
374    field public static final String OPSTR_ASSIST_STRUCTURE = "android:assist_structure";
375    field public static final String OPSTR_AUDIO_ACCESSIBILITY_VOLUME = "android:audio_accessibility_volume";
376    field public static final String OPSTR_AUDIO_ALARM_VOLUME = "android:audio_alarm_volume";
377    field public static final String OPSTR_AUDIO_BLUETOOTH_VOLUME = "android:audio_bluetooth_volume";
378    field public static final String OPSTR_AUDIO_MASTER_VOLUME = "android:audio_master_volume";
379    field public static final String OPSTR_AUDIO_MEDIA_VOLUME = "android:audio_media_volume";
380    field public static final String OPSTR_AUDIO_NOTIFICATION_VOLUME = "android:audio_notification_volume";
381    field public static final String OPSTR_AUDIO_RING_VOLUME = "android:audio_ring_volume";
382    field public static final String OPSTR_AUDIO_VOICE_VOLUME = "android:audio_voice_volume";
383    field public static final String OPSTR_AUTO_REVOKE_MANAGED_BY_INSTALLER = "android:auto_revoke_managed_by_installer";
384    field public static final String OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED = "android:auto_revoke_permissions_if_unused";
385    field public static final String OPSTR_BIND_ACCESSIBILITY_SERVICE = "android:bind_accessibility_service";
386    field public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state";
387    field public static final String OPSTR_GET_ACCOUNTS = "android:get_accounts";
388    field public static final String OPSTR_GPS = "android:gps";
389    field public static final String OPSTR_INSTANT_APP_START_FOREGROUND = "android:instant_app_start_foreground";
390    field public static final String OPSTR_INTERACT_ACROSS_PROFILES = "android:interact_across_profiles";
391    field public static final String OPSTR_LEGACY_STORAGE = "android:legacy_storage";
392    field public static final String OPSTR_LOADER_USAGE_STATS = "android:loader_usage_stats";
393    field public static final String OPSTR_MANAGE_EXTERNAL_STORAGE = "android:manage_external_storage";
394    field public static final String OPSTR_MANAGE_IPSEC_TUNNELS = "android:manage_ipsec_tunnels";
395    field public static final String OPSTR_MUTE_MICROPHONE = "android:mute_microphone";
396    field public static final String OPSTR_NEIGHBORING_CELLS = "android:neighboring_cells";
397    field public static final String OPSTR_PLAY_AUDIO = "android:play_audio";
398    field public static final String OPSTR_POST_NOTIFICATION = "android:post_notification";
399    field public static final String OPSTR_PROJECT_MEDIA = "android:project_media";
400    field public static final String OPSTR_READ_CLIPBOARD = "android:read_clipboard";
401    field public static final String OPSTR_READ_ICC_SMS = "android:read_icc_sms";
402    field public static final String OPSTR_READ_MEDIA_AUDIO = "android:read_media_audio";
403    field public static final String OPSTR_READ_MEDIA_IMAGES = "android:read_media_images";
404    field public static final String OPSTR_READ_MEDIA_VIDEO = "android:read_media_video";
405    field public static final String OPSTR_RECEIVE_EMERGENCY_BROADCAST = "android:receive_emergency_broadcast";
406    field public static final String OPSTR_REQUEST_DELETE_PACKAGES = "android:request_delete_packages";
407    field public static final String OPSTR_REQUEST_INSTALL_PACKAGES = "android:request_install_packages";
408    field public static final String OPSTR_RUN_ANY_IN_BACKGROUND = "android:run_any_in_background";
409    field public static final String OPSTR_RUN_IN_BACKGROUND = "android:run_in_background";
410    field public static final String OPSTR_START_FOREGROUND = "android:start_foreground";
411    field public static final String OPSTR_TAKE_AUDIO_FOCUS = "android:take_audio_focus";
412    field public static final String OPSTR_TAKE_MEDIA_BUTTONS = "android:take_media_buttons";
413    field public static final String OPSTR_TOAST_WINDOW = "android:toast_window";
414    field public static final String OPSTR_TURN_SCREEN_ON = "android:turn_screen_on";
415    field public static final String OPSTR_VIBRATE = "android:vibrate";
416    field public static final String OPSTR_WAKE_LOCK = "android:wake_lock";
417    field public static final String OPSTR_WIFI_SCAN = "android:wifi_scan";
418    field public static final String OPSTR_WRITE_CLIPBOARD = "android:write_clipboard";
419    field public static final String OPSTR_WRITE_ICC_SMS = "android:write_icc_sms";
420    field public static final String OPSTR_WRITE_MEDIA_AUDIO = "android:write_media_audio";
421    field public static final String OPSTR_WRITE_MEDIA_IMAGES = "android:write_media_images";
422    field public static final String OPSTR_WRITE_MEDIA_VIDEO = "android:write_media_video";
423    field public static final String OPSTR_WRITE_SMS = "android:write_sms";
424    field public static final String OPSTR_WRITE_WALLPAPER = "android:write_wallpaper";
425    field public static final int OP_FLAGS_ALL = 31; // 0x1f
426    field public static final int OP_FLAGS_ALL_TRUSTED = 13; // 0xd
427    field public static final int OP_FLAG_SELF = 1; // 0x1
428    field public static final int OP_FLAG_TRUSTED_PROXIED = 8; // 0x8
429    field public static final int OP_FLAG_TRUSTED_PROXY = 2; // 0x2
430    field public static final int OP_FLAG_UNTRUSTED_PROXIED = 16; // 0x10
431    field public static final int OP_FLAG_UNTRUSTED_PROXY = 4; // 0x4
432    field public static final int UID_STATE_BACKGROUND = 600; // 0x258
433    field public static final int UID_STATE_CACHED = 700; // 0x2bc
434    field public static final int UID_STATE_FOREGROUND = 500; // 0x1f4
435    field public static final int UID_STATE_FOREGROUND_SERVICE = 400; // 0x190
436    field @Deprecated public static final int UID_STATE_FOREGROUND_SERVICE_LOCATION = 300; // 0x12c
437    field public static final int UID_STATE_PERSISTENT = 100; // 0x64
438    field public static final int UID_STATE_TOP = 200; // 0xc8
439  }
440
441  public static final class AppOpsManager.AttributedHistoricalOps implements android.os.Parcelable {
442    method public int describeContents();
443    method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String);
444    method @NonNull public android.app.AppOpsManager.HistoricalOp getOpAt(@IntRange(from=0) int);
445    method @IntRange(from=0) public int getOpCount();
446    method @Nullable public String getTag();
447    method public void writeToParcel(@NonNull android.os.Parcel, int);
448    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.AttributedHistoricalOps> CREATOR;
449  }
450
451  public static final class AppOpsManager.AttributedOpEntry implements android.os.Parcelable {
452    method public int describeContents();
453    method public long getLastAccessBackgroundTime(int);
454    method public long getLastAccessForegroundTime(int);
455    method public long getLastAccessTime(int);
456    method public long getLastAccessTime(int, int, int);
457    method public long getLastBackgroundDuration(int);
458    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastBackgroundProxyInfo(int);
459    method public long getLastDuration(int);
460    method public long getLastDuration(int, int, int);
461    method public long getLastForegroundDuration(int);
462    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastForegroundProxyInfo(int);
463    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int);
464    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int, int, int);
465    method public long getLastRejectBackgroundTime(int);
466    method public long getLastRejectForegroundTime(int);
467    method public long getLastRejectTime(int);
468    method public long getLastRejectTime(int, int, int);
469    method public boolean isRunning();
470    method public void writeToParcel(@NonNull android.os.Parcel, int);
471    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.AttributedOpEntry> CREATOR;
472  }
473
474  public static final class AppOpsManager.HistoricalOp implements android.os.Parcelable {
475    method public int describeContents();
476    method public long getAccessCount(int, int, int);
477    method public long getAccessDuration(int, int, int);
478    method public long getBackgroundAccessCount(int);
479    method public long getBackgroundAccessDuration(int);
480    method public long getBackgroundRejectCount(int);
481    method public long getForegroundAccessCount(int);
482    method public long getForegroundAccessDuration(int);
483    method public long getForegroundRejectCount(int);
484    method @NonNull public String getOpName();
485    method public long getRejectCount(int, int, int);
486    method public void writeToParcel(android.os.Parcel, int);
487    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOp> CREATOR;
488  }
489
490  public static final class AppOpsManager.HistoricalOps implements android.os.Parcelable {
491    method public int describeContents();
492    method public long getBeginTimeMillis();
493    method public long getEndTimeMillis();
494    method @IntRange(from=0) public int getUidCount();
495    method @Nullable public android.app.AppOpsManager.HistoricalUidOps getUidOps(int);
496    method @NonNull public android.app.AppOpsManager.HistoricalUidOps getUidOpsAt(@IntRange(from=0) int);
497    method public void writeToParcel(android.os.Parcel, int);
498    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOps> CREATOR;
499  }
500
501  public static final class AppOpsManager.HistoricalOpsRequest {
502  }
503
504  public static final class AppOpsManager.HistoricalOpsRequest.Builder {
505    ctor public AppOpsManager.HistoricalOpsRequest.Builder(long, long);
506    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest build();
507    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setAttributionTag(@Nullable String);
508    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setFlags(int);
509    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setOpNames(@Nullable java.util.List<java.lang.String>);
510    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setPackageName(@Nullable String);
511    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setUid(int);
512  }
513
514  public static final class AppOpsManager.HistoricalPackageOps implements android.os.Parcelable {
515    method public int describeContents();
516    method @Nullable public android.app.AppOpsManager.AttributedHistoricalOps getAttributedOps(@NonNull String);
517    method @NonNull public android.app.AppOpsManager.AttributedHistoricalOps getAttributedOpsAt(@IntRange(from=0) int);
518    method @IntRange(from=0) public int getAttributedOpsCount();
519    method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String);
520    method @NonNull public android.app.AppOpsManager.HistoricalOp getOpAt(@IntRange(from=0) int);
521    method @IntRange(from=0) public int getOpCount();
522    method @NonNull public String getPackageName();
523    method public void writeToParcel(@NonNull android.os.Parcel, int);
524    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalPackageOps> CREATOR;
525  }
526
527  public static final class AppOpsManager.HistoricalUidOps implements android.os.Parcelable {
528    method public int describeContents();
529    method @IntRange(from=0) public int getPackageCount();
530    method @Nullable public android.app.AppOpsManager.HistoricalPackageOps getPackageOps(@NonNull String);
531    method @NonNull public android.app.AppOpsManager.HistoricalPackageOps getPackageOpsAt(@IntRange(from=0) int);
532    method public int getUid();
533    method public void writeToParcel(android.os.Parcel, int);
534    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalUidOps> CREATOR;
535  }
536
537  public static final class AppOpsManager.OpEntry implements android.os.Parcelable {
538    method public int describeContents();
539    method @NonNull public java.util.Map<java.lang.String,android.app.AppOpsManager.AttributedOpEntry> getAttributedOpEntries();
540    method @Deprecated public long getDuration();
541    method public long getLastAccessBackgroundTime(int);
542    method public long getLastAccessForegroundTime(int);
543    method public long getLastAccessTime(int);
544    method public long getLastAccessTime(int, int, int);
545    method public long getLastBackgroundDuration(int);
546    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastBackgroundProxyInfo(int);
547    method public long getLastDuration(int);
548    method public long getLastDuration(int, int, int);
549    method public long getLastForegroundDuration(int);
550    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastForegroundProxyInfo(int);
551    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int);
552    method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int, int, int);
553    method public long getLastRejectBackgroundTime(int);
554    method public long getLastRejectForegroundTime(int);
555    method public long getLastRejectTime(int);
556    method public long getLastRejectTime(int, int, int);
557    method public int getMode();
558    method @NonNull public String getOpStr();
559    method @Deprecated @Nullable public String getProxyPackageName();
560    method @Deprecated @Nullable public String getProxyPackageName(int, int);
561    method @Deprecated public int getProxyUid();
562    method @Deprecated public int getProxyUid(int, int);
563    method public boolean isRunning();
564    method public void writeToParcel(android.os.Parcel, int);
565    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR;
566  }
567
568  public static final class AppOpsManager.OpEventProxyInfo implements android.os.Parcelable {
569    method public int describeContents();
570    method @Nullable public String getAttributionTag();
571    method @Nullable public String getPackageName();
572    method @IntRange(from=0) public int getUid();
573    method public void writeToParcel(@NonNull android.os.Parcel, int);
574    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEventProxyInfo> CREATOR;
575  }
576
577  public static final class AppOpsManager.PackageOps implements android.os.Parcelable {
578    method public int describeContents();
579    method @NonNull public java.util.List<android.app.AppOpsManager.OpEntry> getOps();
580    method @NonNull public String getPackageName();
581    method public int getUid();
582    method public void writeToParcel(@NonNull android.os.Parcel, int);
583    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.PackageOps> CREATOR;
584  }
585
586  public class BroadcastOptions {
587    method public static android.app.BroadcastOptions makeBasic();
588    method @RequiresPermission("android.permission.START_ACTIVITIES_FROM_BACKGROUND") public void setBackgroundActivityStartsAllowed(boolean);
589    method public void setDontSendToRestrictedApps(boolean);
590    method @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void setTemporaryAppWhitelistDuration(long);
591    method public android.os.Bundle toBundle();
592  }
593
594  public class DownloadManager {
595    method @RequiresPermission(android.Manifest.permission.WRITE_MEDIA_STORAGE) public void onMediaStoreDownloadsDeleted(@NonNull android.util.LongSparseArray<java.lang.String>);
596    field public static final String ACTION_DOWNLOAD_COMPLETED = "android.intent.action.DOWNLOAD_COMPLETED";
597  }
598
599  public abstract class InstantAppResolverService extends android.app.Service {
600    ctor public InstantAppResolverService();
601    method public final void attachBaseContext(android.content.Context);
602    method public final android.os.IBinder onBind(android.content.Intent);
603    method @Deprecated public void onGetInstantAppIntentFilter(@Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
604    method @Deprecated public void onGetInstantAppIntentFilter(@NonNull android.content.Intent, @Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
605    method @Deprecated public void onGetInstantAppIntentFilter(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
606    method @MainThread public void onGetInstantAppIntentFilter(@NonNull android.content.pm.InstantAppRequestInfo, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
607    method @Deprecated public void onGetInstantAppResolveInfo(@Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
608    method @Deprecated public void onGetInstantAppResolveInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
609    method @Deprecated public void onGetInstantAppResolveInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
610    method @MainThread public void onGetInstantAppResolveInfo(@NonNull android.content.pm.InstantAppRequestInfo, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback);
611  }
612
613  public static final class InstantAppResolverService.InstantAppResolutionCallback {
614    method public void onInstantAppResolveInfo(java.util.List<android.content.pm.InstantAppResolveInfo>);
615  }
616
617  public class KeyguardManager {
618    method public android.content.Intent createConfirmFactoryResetCredentialIntent(CharSequence, CharSequence, CharSequence);
619    method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public int getMinLockLength(boolean, int);
620    method @RequiresPermission(android.Manifest.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS) public boolean getPrivateNotificationsAllowed();
621    method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public boolean isValidLockPasswordComplexity(int, @NonNull byte[], int);
622    method @RequiresPermission(android.Manifest.permission.SHOW_KEYGUARD_MESSAGE) public void requestDismissKeyguard(@NonNull android.app.Activity, @Nullable CharSequence, @Nullable android.app.KeyguardManager.KeyguardDismissCallback);
623    method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public boolean setLock(int, @NonNull byte[], int);
624    method @RequiresPermission(android.Manifest.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS) public void setPrivateNotificationsAllowed(boolean);
625  }
626
627  public class Notification implements android.os.Parcelable {
628    field public static final String CATEGORY_CAR_EMERGENCY = "car_emergency";
629    field public static final String CATEGORY_CAR_INFORMATION = "car_information";
630    field public static final String CATEGORY_CAR_WARNING = "car_warning";
631    field @RequiresPermission(android.Manifest.permission.NOTIFICATION_DURING_SETUP) public static final String EXTRA_ALLOW_DURING_SETUP = "android.allowDuringSetup";
632    field @RequiresPermission(android.Manifest.permission.SUBSTITUTE_NOTIFICATION_APP_NAME) public static final String EXTRA_SUBSTITUTE_APP_NAME = "android.substName";
633    field public static final int FLAG_AUTOGROUP_SUMMARY = 1024; // 0x400
634  }
635
636  public static final class Notification.TvExtender implements android.app.Notification.Extender {
637    ctor public Notification.TvExtender();
638    ctor public Notification.TvExtender(android.app.Notification);
639    method public android.app.Notification.Builder extend(android.app.Notification.Builder);
640    method public String getChannelId();
641    method public android.app.PendingIntent getContentIntent();
642    method public android.app.PendingIntent getDeleteIntent();
643    method public boolean getSuppressShowOverApps();
644    method public boolean isAvailableOnTv();
645    method public android.app.Notification.TvExtender setChannel(String);
646    method public android.app.Notification.TvExtender setChannelId(String);
647    method public android.app.Notification.TvExtender setContentIntent(android.app.PendingIntent);
648    method public android.app.Notification.TvExtender setDeleteIntent(android.app.PendingIntent);
649    method public android.app.Notification.TvExtender setSuppressShowOverApps(boolean);
650  }
651
652  public final class NotificationChannel implements android.os.Parcelable {
653    method public int getUserLockedFields();
654    method public boolean isDeleted();
655    method public void populateFromXml(org.xmlpull.v1.XmlPullParser);
656    method public void setBlockable(boolean);
657    method public org.json.JSONObject toJson() throws org.json.JSONException;
658    method public void writeXml(org.xmlpull.v1.XmlSerializer) throws java.io.IOException;
659    field public static final int USER_LOCKED_SOUND = 32; // 0x20
660  }
661
662  public final class NotificationChannelGroup implements android.os.Parcelable {
663    method public org.json.JSONObject toJson() throws org.json.JSONException;
664  }
665
666  public class NotificationManager {
667    method @NonNull public java.util.List<java.lang.String> getAllowedAssistantAdjustments();
668    method @Nullable public android.content.ComponentName getAllowedNotificationAssistant();
669    method public boolean isNotificationAssistantAccessGranted(@NonNull android.content.ComponentName);
670    method public void setNotificationAssistantAccessGranted(@Nullable android.content.ComponentName, boolean);
671  }
672
673  public final class RuntimeAppOpAccessMessage implements android.os.Parcelable {
674    ctor public RuntimeAppOpAccessMessage(@IntRange(from=0L) int, @IntRange(from=0L) int, @NonNull String, @Nullable String, @NonNull String, int);
675    method public int describeContents();
676    method @Nullable public String getAttributionTag();
677    method @NonNull public String getMessage();
678    method @NonNull public String getOp();
679    method @NonNull public String getPackageName();
680    method public int getSamplingStrategy();
681    method @IntRange(from=0L) public int getUid();
682    method public void writeToParcel(@NonNull android.os.Parcel, int);
683    field @NonNull public static final android.os.Parcelable.Creator<android.app.RuntimeAppOpAccessMessage> CREATOR;
684  }
685
686  public class SearchManager implements android.content.DialogInterface.OnCancelListener android.content.DialogInterface.OnDismissListener {
687    method public void launchAssist(@Nullable android.os.Bundle);
688  }
689
690  public class StatusBarManager {
691    method @NonNull @RequiresPermission(android.Manifest.permission.STATUS_BAR) public android.app.StatusBarManager.DisableInfo getDisableInfo();
692    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setDisabledForSetup(boolean);
693  }
694
695  public static final class StatusBarManager.DisableInfo {
696    method public boolean areAllComponentsEnabled();
697    method public boolean isNavigateToHomeDisabled();
698    method public boolean isNotificationPeekingDisabled();
699    method public boolean isRecentsDisabled();
700    method public boolean isSearchDisabled();
701    method public boolean isStatusBarExpansionDisabled();
702  }
703
704  public final class SystemServiceRegistry {
705    method public static <TServiceClass> void registerContextAwareService(@NonNull String, @NonNull Class<TServiceClass>, @NonNull android.app.SystemServiceRegistry.ContextAwareServiceProducerWithBinder<TServiceClass>);
706    method public static <TServiceClass> void registerContextAwareService(@NonNull String, @NonNull Class<TServiceClass>, @NonNull android.app.SystemServiceRegistry.ContextAwareServiceProducerWithoutBinder<TServiceClass>);
707    method public static <TServiceClass> void registerStaticService(@NonNull String, @NonNull Class<TServiceClass>, @NonNull android.app.SystemServiceRegistry.StaticServiceProducerWithBinder<TServiceClass>);
708    method public static <TServiceClass> void registerStaticService(@NonNull String, @NonNull Class<TServiceClass>, @NonNull android.app.SystemServiceRegistry.StaticServiceProducerWithoutBinder<TServiceClass>);
709  }
710
711  public static interface SystemServiceRegistry.ContextAwareServiceProducerWithBinder<TServiceClass> {
712    method @NonNull public TServiceClass createService(@NonNull android.content.Context, @NonNull android.os.IBinder);
713  }
714
715  public static interface SystemServiceRegistry.ContextAwareServiceProducerWithoutBinder<TServiceClass> {
716    method @NonNull public TServiceClass createService(@NonNull android.content.Context);
717  }
718
719  public static interface SystemServiceRegistry.StaticServiceProducerWithBinder<TServiceClass> {
720    method @NonNull public TServiceClass createService(@NonNull android.os.IBinder);
721  }
722
723  public static interface SystemServiceRegistry.StaticServiceProducerWithoutBinder<TServiceClass> {
724    method @NonNull public TServiceClass createService();
725  }
726
727  public class UiModeManager {
728    method @RequiresPermission(android.Manifest.permission.ENTER_CAR_MODE_PRIORITIZED) public void enableCarMode(@IntRange(from=0) int, int);
729    field public static final String ACTION_ENTER_CAR_MODE_PRIORITIZED = "android.app.action.ENTER_CAR_MODE_PRIORITIZED";
730    field public static final String ACTION_EXIT_CAR_MODE_PRIORITIZED = "android.app.action.EXIT_CAR_MODE_PRIORITIZED";
731    field public static final int DEFAULT_PRIORITY = 0; // 0x0
732    field public static final String EXTRA_CALLING_PACKAGE = "android.app.extra.CALLING_PACKAGE";
733    field public static final String EXTRA_PRIORITY = "android.app.extra.PRIORITY";
734  }
735
736  public final class Vr2dDisplayProperties implements android.os.Parcelable {
737    ctor public Vr2dDisplayProperties(int, int, int);
738    method public int describeContents();
739    method public void dump(@NonNull java.io.PrintWriter, @NonNull String);
740    method public int getAddedFlags();
741    method public int getDpi();
742    method public int getHeight();
743    method public int getRemovedFlags();
744    method public int getWidth();
745    method public void writeToParcel(android.os.Parcel, int);
746    field @NonNull public static final android.os.Parcelable.Creator<android.app.Vr2dDisplayProperties> CREATOR;
747    field public static final int FLAG_VIRTUAL_DISPLAY_ENABLED = 1; // 0x1
748  }
749
750  public static final class Vr2dDisplayProperties.Builder {
751    ctor public Vr2dDisplayProperties.Builder();
752    method @NonNull public android.app.Vr2dDisplayProperties.Builder addFlags(int);
753    method @NonNull public android.app.Vr2dDisplayProperties build();
754    method @NonNull public android.app.Vr2dDisplayProperties.Builder removeFlags(int);
755    method @NonNull public android.app.Vr2dDisplayProperties.Builder setDimensions(int, int, int);
756    method @NonNull public android.app.Vr2dDisplayProperties.Builder setEnabled(boolean);
757  }
758
759  public class VrManager {
760    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public int getVr2dDisplayId();
761    method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public boolean isPersistentVrModeEnabled();
762    method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public boolean isVrModeEnabled();
763    method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public void registerVrStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.app.VrStateCallback);
764    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setAndBindVrCompositor(android.content.ComponentName);
765    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setPersistentVrModeEnabled(boolean);
766    method @RequiresPermission("android.permission.ACCESS_VR_MANAGER") public void setStandbyEnabled(boolean);
767    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setVr2dDisplayProperties(@NonNull android.app.Vr2dDisplayProperties);
768    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setVrInputMethod(@Nullable android.content.ComponentName);
769    method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public void unregisterVrStateCallback(@NonNull android.app.VrStateCallback);
770  }
771
772  public abstract class VrStateCallback {
773    ctor public VrStateCallback();
774    method public void onPersistentVrStateChanged(boolean);
775    method public void onVrStateChanged(boolean);
776  }
777
778  public final class WallpaperColors implements android.os.Parcelable {
779    ctor public WallpaperColors(@NonNull android.graphics.Color, @Nullable android.graphics.Color, @Nullable android.graphics.Color, int);
780    method public int getColorHints();
781    field public static final int HINT_SUPPORTS_DARK_TEXT = 1; // 0x1
782    field public static final int HINT_SUPPORTS_DARK_THEME = 2; // 0x2
783  }
784
785  public final class WallpaperInfo implements android.os.Parcelable {
786    method public boolean supportsAmbientMode();
787  }
788
789  public class WallpaperManager {
790    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public void clearWallpaper(int, int);
791    method public void setDisplayOffset(android.os.IBinder, int, int);
792    method @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_COMPONENT) public boolean setWallpaperComponent(android.content.ComponentName);
793  }
794
795}
796
797package android.app.admin {
798
799  public class DevicePolicyKeyguardService extends android.app.Service {
800    ctor public DevicePolicyKeyguardService();
801    method @Nullable public void dismiss();
802    method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent);
803    method @Nullable public android.view.SurfaceControlViewHost.SurfacePackage onCreateKeyguardSurface(@NonNull android.os.IBinder);
804  }
805
806  public class DevicePolicyManager {
807    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public boolean getBluetoothContactSharingDisabled(@NonNull android.os.UserHandle);
808    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getDeviceOwner();
809    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.content.ComponentName getDeviceOwnerComponentOnAnyUser();
810    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getDeviceOwnerNameOnAnyUser();
811    method @Nullable public CharSequence getDeviceOwnerOrganizationName();
812    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.os.UserHandle getDeviceOwnerUser();
813    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public java.util.List<java.lang.String> getPermittedAccessibilityServices(int);
814    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public java.util.List<java.lang.String> getPermittedInputMethodsForCurrentUser();
815    method @Nullable public android.content.ComponentName getProfileOwner() throws java.lang.IllegalArgumentException;
816    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getProfileOwnerNameAsUser(int) throws java.lang.IllegalArgumentException;
817    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public int getUserProvisioningState();
818    method public boolean isDeviceManaged();
819    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isDeviceProvisioned();
820    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isDeviceProvisioningConfigApplied();
821    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isManagedKiosk();
822    method public boolean isSecondaryLockscreenEnabled(@NonNull android.os.UserHandle);
823    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isUnattendedManagedKiosk();
824    method @RequiresPermission("android.permission.NOTIFY_PENDING_SYSTEM_UPDATE") public void notifyPendingSystemUpdate(long);
825    method @RequiresPermission("android.permission.NOTIFY_PENDING_SYSTEM_UPDATE") public void notifyPendingSystemUpdate(long, boolean);
826    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public boolean packageHasActiveAdmins(String);
827    method @Deprecated @RequiresPermission("android.permission.MANAGE_DEVICE_ADMINS") public boolean setActiveProfileOwner(@NonNull android.content.ComponentName, String) throws java.lang.IllegalArgumentException;
828    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setDeviceProvisioningConfigApplied();
829    method @Deprecated @RequiresPermission(value=android.Manifest.permission.GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS, conditional=true) public void setProfileOwnerCanAccessDeviceIds(@NonNull android.content.ComponentName);
830    method public void setSecondaryLockscreenEnabled(@NonNull android.content.ComponentName, boolean);
831    field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_ALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED";
832    field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_DISALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED";
833    field public static final String ACTION_BIND_SECONDARY_LOCKSCREEN_SERVICE = "android.app.action.BIND_SECONDARY_LOCKSCREEN_SERVICE";
834    field public static final String ACTION_PROVISION_FINALIZATION = "android.app.action.PROVISION_FINALIZATION";
835    field public static final String ACTION_PROVISION_FINANCED_DEVICE = "android.app.action.PROVISION_FINANCED_DEVICE";
836    field public static final String ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE = "android.app.action.PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE";
837    field @RequiresPermission(android.Manifest.permission.MANAGE_FACTORY_RESET_PROTECTION) public static final String ACTION_RESET_PROTECTION_POLICY_CHANGED = "android.app.action.RESET_PROTECTION_POLICY_CHANGED";
838    field public static final String ACTION_SET_PROFILE_OWNER = "android.app.action.SET_PROFILE_OWNER";
839    field public static final String ACTION_STATE_USER_SETUP_COMPLETE = "android.app.action.STATE_USER_SETUP_COMPLETE";
840    field public static final String EXTRA_PROFILE_OWNER_NAME = "android.app.extra.PROFILE_OWNER_NAME";
841    field public static final String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_URI = "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_URI";
842    field public static final String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL = "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL";
843    field public static final String EXTRA_PROVISIONING_ORGANIZATION_NAME = "android.app.extra.PROVISIONING_ORGANIZATION_NAME";
844    field public static final String EXTRA_PROVISIONING_SUPPORT_URL = "android.app.extra.PROVISIONING_SUPPORT_URL";
845    field public static final String EXTRA_PROVISIONING_TRIGGER = "android.app.extra.PROVISIONING_TRIGGER";
846    field public static final String EXTRA_RESTRICTION = "android.app.extra.RESTRICTION";
847    field public static final int PROVISIONING_TRIGGER_CLOUD_ENROLLMENT = 1; // 0x1
848    field public static final int PROVISIONING_TRIGGER_PERSISTENT_DEVICE_OWNER = 3; // 0x3
849    field public static final int PROVISIONING_TRIGGER_QR_CODE = 2; // 0x2
850    field public static final int PROVISIONING_TRIGGER_UNSPECIFIED = 0; // 0x0
851    field public static final int STATE_USER_PROFILE_COMPLETE = 4; // 0x4
852    field public static final int STATE_USER_SETUP_COMPLETE = 2; // 0x2
853    field public static final int STATE_USER_SETUP_FINALIZED = 3; // 0x3
854    field public static final int STATE_USER_SETUP_INCOMPLETE = 1; // 0x1
855    field public static final int STATE_USER_UNMANAGED = 0; // 0x0
856  }
857
858  public final class SystemUpdatePolicy implements android.os.Parcelable {
859    method public android.app.admin.SystemUpdatePolicy.InstallationOption getInstallationOptionAt(long);
860    field public static final int TYPE_PAUSE = 4; // 0x4
861  }
862
863  public static class SystemUpdatePolicy.InstallationOption {
864    method public long getEffectiveTime();
865    method public int getType();
866  }
867
868}
869
870package android.app.assist {
871
872  public static class AssistStructure.ViewNode {
873    ctor public AssistStructure.ViewNode();
874  }
875
876}
877
878package android.app.backup {
879
880  public class BackupDataInput {
881    ctor public BackupDataInput(java.io.FileDescriptor);
882  }
883
884  public class BackupDataOutput {
885    ctor public BackupDataOutput(java.io.FileDescriptor);
886    ctor public BackupDataOutput(java.io.FileDescriptor, long);
887  }
888
889  public class BackupManager {
890    method @RequiresPermission(android.Manifest.permission.BACKUP) public void backupNow();
891    method @RequiresPermission(android.Manifest.permission.BACKUP) public android.app.backup.RestoreSession beginRestoreSession();
892    method @RequiresPermission(android.Manifest.permission.BACKUP) public void cancelBackups();
893    method @RequiresPermission(android.Manifest.permission.BACKUP) public void excludeKeysFromRestore(@NonNull String, @NonNull java.util.List<java.lang.String>);
894    method @RequiresPermission(android.Manifest.permission.BACKUP) public long getAvailableRestoreToken(String);
895    method @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.Intent getConfigurationIntent(String);
896    method @RequiresPermission(android.Manifest.permission.BACKUP) public String getCurrentTransport();
897    method @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.ComponentName getCurrentTransportComponent();
898    method @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.Intent getDataManagementIntent(String);
899    method @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public CharSequence getDataManagementIntentLabel(@NonNull String);
900    method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public String getDataManagementLabel(@NonNull String);
901    method @RequiresPermission(android.Manifest.permission.BACKUP) public String getDestinationString(String);
902    method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isAppEligibleForBackup(String);
903    method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isBackupEnabled();
904    method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isBackupServiceActive(android.os.UserHandle);
905    method @RequiresPermission(android.Manifest.permission.BACKUP) public String[] listAllTransports();
906    method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], android.app.backup.BackupObserver);
907    method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], android.app.backup.BackupObserver, android.app.backup.BackupManagerMonitor, int);
908    method @Deprecated public int requestRestore(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor);
909    method @Deprecated @RequiresPermission(android.Manifest.permission.BACKUP) public String selectBackupTransport(String);
910    method @RequiresPermission(android.Manifest.permission.BACKUP) public void selectBackupTransport(android.content.ComponentName, android.app.backup.SelectBackupTransportCallback);
911    method @RequiresPermission(android.Manifest.permission.BACKUP) public void setAncestralSerialNumber(long);
912    method @RequiresPermission(android.Manifest.permission.BACKUP) public void setAutoRestore(boolean);
913    method @RequiresPermission(android.Manifest.permission.BACKUP) public void setBackupEnabled(boolean);
914    method @Deprecated @RequiresPermission(android.Manifest.permission.BACKUP) public void updateTransportAttributes(@NonNull android.content.ComponentName, @NonNull String, @Nullable android.content.Intent, @NonNull String, @Nullable android.content.Intent, @Nullable String);
915    method @RequiresPermission(android.Manifest.permission.BACKUP) public void updateTransportAttributes(@NonNull android.content.ComponentName, @NonNull String, @Nullable android.content.Intent, @NonNull String, @Nullable android.content.Intent, @Nullable CharSequence);
916    field public static final int ERROR_AGENT_FAILURE = -1003; // 0xfffffc15
917    field public static final int ERROR_BACKUP_CANCELLED = -2003; // 0xfffff82d
918    field public static final int ERROR_BACKUP_NOT_ALLOWED = -2001; // 0xfffff82f
919    field public static final int ERROR_PACKAGE_NOT_FOUND = -2002; // 0xfffff82e
920    field public static final int ERROR_TRANSPORT_ABORTED = -1000; // 0xfffffc18
921    field public static final int ERROR_TRANSPORT_INVALID = -2; // 0xfffffffe
922    field public static final int ERROR_TRANSPORT_PACKAGE_REJECTED = -1002; // 0xfffffc16
923    field public static final int ERROR_TRANSPORT_QUOTA_EXCEEDED = -1005; // 0xfffffc13
924    field public static final int ERROR_TRANSPORT_UNAVAILABLE = -1; // 0xffffffff
925    field public static final int FLAG_NON_INCREMENTAL_BACKUP = 1; // 0x1
926    field public static final String PACKAGE_MANAGER_SENTINEL = "@pm@";
927    field public static final int SUCCESS = 0; // 0x0
928  }
929
930  public class BackupManagerMonitor {
931    ctor public BackupManagerMonitor();
932    method public void onEvent(android.os.Bundle);
933    field public static final String EXTRA_LOG_CANCEL_ALL = "android.app.backup.extra.LOG_CANCEL_ALL";
934    field public static final String EXTRA_LOG_EVENT_CATEGORY = "android.app.backup.extra.LOG_EVENT_CATEGORY";
935    field public static final String EXTRA_LOG_EVENT_ID = "android.app.backup.extra.LOG_EVENT_ID";
936    field public static final String EXTRA_LOG_EVENT_PACKAGE_LONG_VERSION = "android.app.backup.extra.LOG_EVENT_PACKAGE_FULL_VERSION";
937    field public static final String EXTRA_LOG_EVENT_PACKAGE_NAME = "android.app.backup.extra.LOG_EVENT_PACKAGE_NAME";
938    field @Deprecated public static final String EXTRA_LOG_EVENT_PACKAGE_VERSION = "android.app.backup.extra.LOG_EVENT_PACKAGE_VERSION";
939    field public static final String EXTRA_LOG_EXCEPTION_FULL_BACKUP = "android.app.backup.extra.LOG_EXCEPTION_FULL_BACKUP";
940    field public static final String EXTRA_LOG_ILLEGAL_KEY = "android.app.backup.extra.LOG_ILLEGAL_KEY";
941    field public static final String EXTRA_LOG_MANIFEST_PACKAGE_NAME = "android.app.backup.extra.LOG_MANIFEST_PACKAGE_NAME";
942    field public static final String EXTRA_LOG_OLD_VERSION = "android.app.backup.extra.LOG_OLD_VERSION";
943    field public static final String EXTRA_LOG_POLICY_ALLOW_APKS = "android.app.backup.extra.LOG_POLICY_ALLOW_APKS";
944    field public static final String EXTRA_LOG_PREFLIGHT_ERROR = "android.app.backup.extra.LOG_PREFLIGHT_ERROR";
945    field public static final String EXTRA_LOG_RESTORE_ANYWAY = "android.app.backup.extra.LOG_RESTORE_ANYWAY";
946    field public static final String EXTRA_LOG_RESTORE_VERSION = "android.app.backup.extra.LOG_RESTORE_VERSION";
947    field public static final String EXTRA_LOG_WIDGET_PACKAGE_NAME = "android.app.backup.extra.LOG_WIDGET_PACKAGE_NAME";
948    field public static final int LOG_EVENT_CATEGORY_AGENT = 2; // 0x2
949    field public static final int LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY = 3; // 0x3
950    field public static final int LOG_EVENT_CATEGORY_TRANSPORT = 1; // 0x1
951    field public static final int LOG_EVENT_ID_APK_NOT_INSTALLED = 40; // 0x28
952    field public static final int LOG_EVENT_ID_APP_HAS_NO_AGENT = 28; // 0x1c
953    field public static final int LOG_EVENT_ID_BACKUP_DISABLED = 13; // 0xd
954    field public static final int LOG_EVENT_ID_CANNOT_RESTORE_WITHOUT_APK = 41; // 0x29
955    field public static final int LOG_EVENT_ID_CANT_FIND_AGENT = 30; // 0x1e
956    field public static final int LOG_EVENT_ID_CORRUPT_MANIFEST = 46; // 0x2e
957    field public static final int LOG_EVENT_ID_DEVICE_NOT_PROVISIONED = 14; // 0xe
958    field public static final int LOG_EVENT_ID_ERROR_PREFLIGHT = 16; // 0x10
959    field public static final int LOG_EVENT_ID_EXCEPTION_FULL_BACKUP = 19; // 0x13
960    field public static final int LOG_EVENT_ID_EXPECTED_DIFFERENT_PACKAGE = 43; // 0x2b
961    field public static final int LOG_EVENT_ID_FULL_BACKUP_CANCEL = 4; // 0x4
962    field public static final int LOG_EVENT_ID_FULL_RESTORE_ALLOW_BACKUP_FALSE = 39; // 0x27
963    field public static final int LOG_EVENT_ID_FULL_RESTORE_SIGNATURE_MISMATCH = 37; // 0x25
964    field public static final int LOG_EVENT_ID_FULL_RESTORE_TIMEOUT = 45; // 0x2d
965    field public static final int LOG_EVENT_ID_ILLEGAL_KEY = 5; // 0x5
966    field public static final int LOG_EVENT_ID_KEY_VALUE_BACKUP_CANCEL = 21; // 0x15
967    field public static final int LOG_EVENT_ID_KEY_VALUE_RESTORE_TIMEOUT = 31; // 0x1f
968    field public static final int LOG_EVENT_ID_LOST_TRANSPORT = 25; // 0x19
969    field public static final int LOG_EVENT_ID_MISSING_SIGNATURE = 42; // 0x2a
970    field public static final int LOG_EVENT_ID_NO_DATA_TO_SEND = 7; // 0x7
971    field public static final int LOG_EVENT_ID_NO_PACKAGES = 49; // 0x31
972    field public static final int LOG_EVENT_ID_NO_PM_METADATA_RECEIVED = 23; // 0x17
973    field public static final int LOG_EVENT_ID_NO_RESTORE_METADATA_AVAILABLE = 22; // 0x16
974    field public static final int LOG_EVENT_ID_PACKAGE_INELIGIBLE = 9; // 0x9
975    field public static final int LOG_EVENT_ID_PACKAGE_KEY_VALUE_PARTICIPANT = 10; // 0xa
976    field public static final int LOG_EVENT_ID_PACKAGE_NOT_FOUND = 12; // 0xc
977    field public static final int LOG_EVENT_ID_PACKAGE_NOT_PRESENT = 26; // 0x1a
978    field public static final int LOG_EVENT_ID_PACKAGE_STOPPED = 11; // 0xb
979    field public static final int LOG_EVENT_ID_PACKAGE_TRANSPORT_NOT_PRESENT = 15; // 0xf
980    field public static final int LOG_EVENT_ID_PM_AGENT_HAS_NO_METADATA = 24; // 0x18
981    field public static final int LOG_EVENT_ID_QUOTA_HIT_PREFLIGHT = 18; // 0x12
982    field public static final int LOG_EVENT_ID_RESTORE_ANY_VERSION = 34; // 0x22
983    field public static final int LOG_EVENT_ID_RESTORE_VERSION_HIGHER = 27; // 0x1b
984    field public static final int LOG_EVENT_ID_SIGNATURE_MISMATCH = 29; // 0x1d
985    field public static final int LOG_EVENT_ID_SYSTEM_APP_NO_AGENT = 38; // 0x26
986    field public static final int LOG_EVENT_ID_TRANSPORT_IS_NULL = 50; // 0x32
987    field public static final int LOG_EVENT_ID_TRANSPORT_NON_INCREMENTAL_BACKUP_REQUIRED = 51; // 0x33
988    field public static final int LOG_EVENT_ID_UNKNOWN_VERSION = 44; // 0x2c
989    field public static final int LOG_EVENT_ID_VERSIONS_MATCH = 35; // 0x23
990    field public static final int LOG_EVENT_ID_VERSION_OF_BACKUP_OLDER = 36; // 0x24
991    field public static final int LOG_EVENT_ID_WIDGET_METADATA_MISMATCH = 47; // 0x2f
992    field public static final int LOG_EVENT_ID_WIDGET_UNKNOWN_VERSION = 48; // 0x30
993  }
994
995  public abstract class BackupObserver {
996    ctor public BackupObserver();
997    method public void backupFinished(int);
998    method public void onResult(String, int);
999    method public void onUpdate(String, android.app.backup.BackupProgress);
1000  }
1001
1002  public class BackupProgress implements android.os.Parcelable {
1003    ctor public BackupProgress(long, long);
1004    method public int describeContents();
1005    method public void writeToParcel(android.os.Parcel, int);
1006    field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.BackupProgress> CREATOR;
1007    field public final long bytesExpected;
1008    field public final long bytesTransferred;
1009  }
1010
1011  public class BackupTransport {
1012    ctor public BackupTransport();
1013    method public int abortFullRestore();
1014    method public void cancelFullBackup();
1015    method public int checkFullBackupSize(long);
1016    method public int clearBackupData(android.content.pm.PackageInfo);
1017    method public android.content.Intent configurationIntent();
1018    method public String currentDestinationString();
1019    method public android.content.Intent dataManagementIntent();
1020    method @Nullable public CharSequence dataManagementIntentLabel();
1021    method @Deprecated @Nullable public String dataManagementLabel();
1022    method public int finishBackup();
1023    method public void finishRestore();
1024    method public android.app.backup.RestoreSet[] getAvailableRestoreSets();
1025    method public long getBackupQuota(String, boolean);
1026    method public android.os.IBinder getBinder();
1027    method public long getCurrentRestoreSet();
1028    method public int getNextFullRestoreDataChunk(android.os.ParcelFileDescriptor);
1029    method public int getRestoreData(android.os.ParcelFileDescriptor);
1030    method public int getTransportFlags();
1031    method public int initializeDevice();
1032    method public boolean isAppEligibleForBackup(android.content.pm.PackageInfo, boolean);
1033    method public String name();
1034    method public android.app.backup.RestoreDescription nextRestorePackage();
1035    method public int performBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor, int);
1036    method public int performBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor);
1037    method public int performFullBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor, int);
1038    method public int performFullBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor);
1039    method public long requestBackupTime();
1040    method public long requestFullBackupTime();
1041    method public int sendBackupData(int);
1042    method public int startRestore(long, android.content.pm.PackageInfo[]);
1043    method public String transportDirName();
1044    field public static final int AGENT_ERROR = -1003; // 0xfffffc15
1045    field public static final int AGENT_UNKNOWN = -1004; // 0xfffffc14
1046    field public static final String EXTRA_TRANSPORT_REGISTRATION = "android.app.backup.extra.TRANSPORT_REGISTRATION";
1047    field public static final int FLAG_DATA_NOT_CHANGED = 8; // 0x8
1048    field public static final int FLAG_INCREMENTAL = 2; // 0x2
1049    field public static final int FLAG_NON_INCREMENTAL = 4; // 0x4
1050    field public static final int FLAG_USER_INITIATED = 1; // 0x1
1051    field public static final int NO_MORE_DATA = -1; // 0xffffffff
1052    field public static final int TRANSPORT_ERROR = -1000; // 0xfffffc18
1053    field public static final int TRANSPORT_NON_INCREMENTAL_BACKUP_REQUIRED = -1006; // 0xfffffc12
1054    field public static final int TRANSPORT_NOT_INITIALIZED = -1001; // 0xfffffc17
1055    field public static final int TRANSPORT_OK = 0; // 0x0
1056    field public static final int TRANSPORT_PACKAGE_REJECTED = -1002; // 0xfffffc16
1057    field public static final int TRANSPORT_QUOTA_EXCEEDED = -1005; // 0xfffffc13
1058  }
1059
1060  public class RestoreDescription implements android.os.Parcelable {
1061    ctor public RestoreDescription(String, int);
1062    method public int describeContents();
1063    method public int getDataType();
1064    method public String getPackageName();
1065    method public void writeToParcel(android.os.Parcel, int);
1066    field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.RestoreDescription> CREATOR;
1067    field public static final android.app.backup.RestoreDescription NO_MORE_PACKAGES;
1068    field public static final int TYPE_FULL_STREAM = 2; // 0x2
1069    field public static final int TYPE_KEY_VALUE = 1; // 0x1
1070  }
1071
1072  public abstract class RestoreObserver {
1073    method public void restoreSetsAvailable(android.app.backup.RestoreSet[]);
1074  }
1075
1076  public class RestoreSession {
1077    method public void endRestoreSession();
1078    method public int getAvailableRestoreSets(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor);
1079    method public int getAvailableRestoreSets(android.app.backup.RestoreObserver);
1080    method public int restoreAll(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor);
1081    method public int restoreAll(long, android.app.backup.RestoreObserver);
1082    method public int restorePackage(String, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor);
1083    method public int restorePackage(String, android.app.backup.RestoreObserver);
1084    method public int restorePackages(long, @Nullable android.app.backup.RestoreObserver, @NonNull java.util.Set<java.lang.String>, @Nullable android.app.backup.BackupManagerMonitor);
1085    method public int restorePackages(long, @Nullable android.app.backup.RestoreObserver, @NonNull java.util.Set<java.lang.String>);
1086  }
1087
1088  public class RestoreSet implements android.os.Parcelable {
1089    ctor public RestoreSet();
1090    ctor public RestoreSet(String, String, long);
1091    method public int describeContents();
1092    method public void writeToParcel(android.os.Parcel, int);
1093    field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.RestoreSet> CREATOR;
1094    field public String device;
1095    field public String name;
1096    field public long token;
1097  }
1098
1099  public abstract class SelectBackupTransportCallback {
1100    ctor public SelectBackupTransportCallback();
1101    method public void onFailure(int);
1102    method public void onSuccess(String);
1103  }
1104
1105}
1106
1107package android.app.compat {
1108
1109  public final class CompatChanges {
1110    method public static boolean isChangeEnabled(long);
1111    method @RequiresPermission(allOf={"android.permission.READ_COMPAT_CHANGE_CONFIG", "android.permission.LOG_COMPAT_CHANGE"}) public static boolean isChangeEnabled(long, @NonNull String, @NonNull android.os.UserHandle);
1112    method @RequiresPermission(allOf={"android.permission.READ_COMPAT_CHANGE_CONFIG", "android.permission.LOG_COMPAT_CHANGE"}) public static boolean isChangeEnabled(long, int);
1113  }
1114
1115}
1116
1117package android.app.contentsuggestions {
1118
1119  public final class ClassificationsRequest implements android.os.Parcelable {
1120    method public int describeContents();
1121    method @NonNull public android.os.Bundle getExtras();
1122    method @NonNull public java.util.List<android.app.contentsuggestions.ContentSelection> getSelections();
1123    method public void writeToParcel(android.os.Parcel, int);
1124    field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.ClassificationsRequest> CREATOR;
1125  }
1126
1127  public static final class ClassificationsRequest.Builder {
1128    ctor public ClassificationsRequest.Builder(@NonNull java.util.List<android.app.contentsuggestions.ContentSelection>);
1129    method @NonNull public android.app.contentsuggestions.ClassificationsRequest build();
1130    method @NonNull public android.app.contentsuggestions.ClassificationsRequest.Builder setExtras(@NonNull android.os.Bundle);
1131  }
1132
1133  public final class ContentClassification implements android.os.Parcelable {
1134    ctor public ContentClassification(@NonNull String, @NonNull android.os.Bundle);
1135    method public int describeContents();
1136    method @NonNull public android.os.Bundle getExtras();
1137    method @NonNull public String getId();
1138    method public void writeToParcel(android.os.Parcel, int);
1139    field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.ContentClassification> CREATOR;
1140  }
1141
1142  public final class ContentSelection implements android.os.Parcelable {
1143    ctor public ContentSelection(@NonNull String, @NonNull android.os.Bundle);
1144    method public int describeContents();
1145    method @NonNull public android.os.Bundle getExtras();
1146    method @NonNull public String getId();
1147    method public void writeToParcel(android.os.Parcel, int);
1148    field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.ContentSelection> CREATOR;
1149  }
1150
1151  public final class ContentSuggestionsManager {
1152    method public void classifyContentSelections(@NonNull android.app.contentsuggestions.ClassificationsRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.ClassificationsCallback);
1153    method public boolean isEnabled();
1154    method public void notifyInteraction(@NonNull String, @NonNull android.os.Bundle);
1155    method public void provideContextImage(@NonNull android.graphics.Bitmap, @NonNull android.os.Bundle);
1156    method public void provideContextImage(int, @NonNull android.os.Bundle);
1157    method public void suggestContentSelections(@NonNull android.app.contentsuggestions.SelectionsRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.SelectionsCallback);
1158  }
1159
1160  public static interface ContentSuggestionsManager.ClassificationsCallback {
1161    method public void onContentClassificationsAvailable(int, @NonNull java.util.List<android.app.contentsuggestions.ContentClassification>);
1162  }
1163
1164  public static interface ContentSuggestionsManager.SelectionsCallback {
1165    method public void onContentSelectionsAvailable(int, @NonNull java.util.List<android.app.contentsuggestions.ContentSelection>);
1166  }
1167
1168  public final class SelectionsRequest implements android.os.Parcelable {
1169    method public int describeContents();
1170    method @NonNull public android.os.Bundle getExtras();
1171    method @Nullable public android.graphics.Point getInterestPoint();
1172    method public int getTaskId();
1173    method public void writeToParcel(android.os.Parcel, int);
1174    field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.SelectionsRequest> CREATOR;
1175  }
1176
1177  public static final class SelectionsRequest.Builder {
1178    ctor public SelectionsRequest.Builder(int);
1179    method @NonNull public android.app.contentsuggestions.SelectionsRequest build();
1180    method @NonNull public android.app.contentsuggestions.SelectionsRequest.Builder setExtras(@NonNull android.os.Bundle);
1181    method @NonNull public android.app.contentsuggestions.SelectionsRequest.Builder setInterestPoint(@NonNull android.graphics.Point);
1182  }
1183
1184}
1185
1186package android.app.job {
1187
1188  public abstract class JobScheduler {
1189    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public abstract int scheduleAsPackage(@NonNull android.app.job.JobInfo, @NonNull String, int, String);
1190  }
1191
1192  public class JobSchedulerFrameworkInitializer {
1193    method public static void registerServiceWrappers();
1194  }
1195
1196}
1197
1198package android.app.prediction {
1199
1200  public final class AppPredictionContext implements android.os.Parcelable {
1201    method public int describeContents();
1202    method @Nullable public android.os.Bundle getExtras();
1203    method @NonNull public String getPackageName();
1204    method @IntRange(from=0) public int getPredictedTargetCount();
1205    method @NonNull public String getUiSurface();
1206    method public void writeToParcel(@NonNull android.os.Parcel, int);
1207    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionContext> CREATOR;
1208  }
1209
1210  public static final class AppPredictionContext.Builder {
1211    ctor public AppPredictionContext.Builder(@NonNull android.content.Context);
1212    method @NonNull public android.app.prediction.AppPredictionContext build();
1213    method @NonNull public android.app.prediction.AppPredictionContext.Builder setExtras(@Nullable android.os.Bundle);
1214    method @NonNull public android.app.prediction.AppPredictionContext.Builder setPredictedTargetCount(@IntRange(from=0) int);
1215    method @NonNull public android.app.prediction.AppPredictionContext.Builder setUiSurface(@NonNull String);
1216  }
1217
1218  public final class AppPredictionManager {
1219    method @NonNull public android.app.prediction.AppPredictor createAppPredictionSession(@NonNull android.app.prediction.AppPredictionContext);
1220  }
1221
1222  public final class AppPredictionSessionId implements android.os.Parcelable {
1223    method public int describeContents();
1224    method public void writeToParcel(android.os.Parcel, int);
1225    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionSessionId> CREATOR;
1226  }
1227
1228  public final class AppPredictor {
1229    method public void destroy();
1230    method public void notifyAppTargetEvent(@NonNull android.app.prediction.AppTargetEvent);
1231    method public void notifyLaunchLocationShown(@NonNull String, @NonNull java.util.List<android.app.prediction.AppTargetId>);
1232    method public void registerPredictionUpdates(@NonNull java.util.concurrent.Executor, @NonNull android.app.prediction.AppPredictor.Callback);
1233    method public void requestPredictionUpdate();
1234    method @Nullable public void sortTargets(@NonNull java.util.List<android.app.prediction.AppTarget>, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.util.List<android.app.prediction.AppTarget>>);
1235    method public void unregisterPredictionUpdates(@NonNull android.app.prediction.AppPredictor.Callback);
1236  }
1237
1238  public static interface AppPredictor.Callback {
1239    method public void onTargetsAvailable(@NonNull java.util.List<android.app.prediction.AppTarget>);
1240  }
1241
1242  public final class AppTarget implements android.os.Parcelable {
1243    method public int describeContents();
1244    method @Nullable public String getClassName();
1245    method @NonNull public android.app.prediction.AppTargetId getId();
1246    method @NonNull public String getPackageName();
1247    method @IntRange(from=0) public int getRank();
1248    method @Nullable public android.content.pm.ShortcutInfo getShortcutInfo();
1249    method @NonNull public android.os.UserHandle getUser();
1250    method public void writeToParcel(android.os.Parcel, int);
1251    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTarget> CREATOR;
1252  }
1253
1254  public static final class AppTarget.Builder {
1255    ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull String, @NonNull android.os.UserHandle);
1256    ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull android.content.pm.ShortcutInfo);
1257    method @NonNull public android.app.prediction.AppTarget build();
1258    method @NonNull public android.app.prediction.AppTarget.Builder setClassName(@NonNull String);
1259    method @NonNull public android.app.prediction.AppTarget.Builder setRank(@IntRange(from=0) int);
1260  }
1261
1262  public final class AppTargetEvent implements android.os.Parcelable {
1263    method public int describeContents();
1264    method public int getAction();
1265    method @Nullable public String getLaunchLocation();
1266    method @Nullable public android.app.prediction.AppTarget getTarget();
1267    method public void writeToParcel(android.os.Parcel, int);
1268    field public static final int ACTION_DISMISS = 2; // 0x2
1269    field public static final int ACTION_LAUNCH = 1; // 0x1
1270    field public static final int ACTION_PIN = 3; // 0x3
1271    field public static final int ACTION_UNPIN = 4; // 0x4
1272    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetEvent> CREATOR;
1273  }
1274
1275  public static final class AppTargetEvent.Builder {
1276    ctor public AppTargetEvent.Builder(@Nullable android.app.prediction.AppTarget, int);
1277    method @NonNull public android.app.prediction.AppTargetEvent build();
1278    method @NonNull public android.app.prediction.AppTargetEvent.Builder setLaunchLocation(@Nullable String);
1279  }
1280
1281  public final class AppTargetId implements android.os.Parcelable {
1282    ctor public AppTargetId(@NonNull String);
1283    method public int describeContents();
1284    method public void writeToParcel(android.os.Parcel, int);
1285    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetId> CREATOR;
1286  }
1287
1288}
1289
1290package android.app.role {
1291
1292  public interface OnRoleHoldersChangedListener {
1293    method public void onRoleHoldersChanged(@NonNull String, @NonNull android.os.UserHandle);
1294  }
1295
1296  public abstract class RoleControllerService extends android.app.Service {
1297    ctor public RoleControllerService();
1298    method @WorkerThread public abstract boolean onAddRoleHolder(@NonNull String, @NonNull String, int);
1299    method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent);
1300    method @WorkerThread public abstract boolean onClearRoleHolders(@NonNull String, int);
1301    method @WorkerThread public abstract boolean onGrantDefaultRoles();
1302    method @Deprecated public abstract boolean onIsApplicationQualifiedForRole(@NonNull String, @NonNull String);
1303    method public boolean onIsApplicationVisibleForRole(@NonNull String, @NonNull String);
1304    method public abstract boolean onIsRoleVisible(@NonNull String);
1305    method @WorkerThread public abstract boolean onRemoveRoleHolder(@NonNull String, @NonNull String, int);
1306    field public static final String SERVICE_INTERFACE = "android.app.role.RoleControllerService";
1307  }
1308
1309  public final class RoleManager {
1310    method @RequiresPermission(android.Manifest.permission.OBSERVE_ROLE_HOLDERS) public void addOnRoleHoldersChangedListenerAsUser(@NonNull java.util.concurrent.Executor, @NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle);
1311    method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void addRoleHolderAsUser(@NonNull String, @NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
1312    method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean addRoleHolderFromController(@NonNull String, @NonNull String);
1313    method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void clearRoleHoldersAsUser(@NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
1314    method @NonNull @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public java.util.List<java.lang.String> getHeldRolesFromController(@NonNull String);
1315    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public java.util.List<java.lang.String> getRoleHolders(@NonNull String);
1316    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public java.util.List<java.lang.String> getRoleHoldersAsUser(@NonNull String, @NonNull android.os.UserHandle);
1317    method @RequiresPermission(android.Manifest.permission.OBSERVE_ROLE_HOLDERS) public void removeOnRoleHoldersChangedListenerAsUser(@NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle);
1318    method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void removeRoleHolderAsUser(@NonNull String, @NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
1319    method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean removeRoleHolderFromController(@NonNull String, @NonNull String);
1320    method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public void setRoleNamesFromController(@NonNull java.util.List<java.lang.String>);
1321    field public static final int MANAGE_HOLDERS_FLAG_DONT_KILL_APP = 1; // 0x1
1322  }
1323
1324}
1325
1326package android.app.usage {
1327
1328  public final class CacheQuotaHint implements android.os.Parcelable {
1329    ctor public CacheQuotaHint(android.app.usage.CacheQuotaHint.Builder);
1330    method public int describeContents();
1331    method public long getQuota();
1332    method public int getUid();
1333    method public android.app.usage.UsageStats getUsageStats();
1334    method public String getVolumeUuid();
1335    method public void writeToParcel(android.os.Parcel, int);
1336    field @NonNull public static final android.os.Parcelable.Creator<android.app.usage.CacheQuotaHint> CREATOR;
1337    field public static final long QUOTA_NOT_SET = -1L; // 0xffffffffffffffffL
1338  }
1339
1340  public static final class CacheQuotaHint.Builder {
1341    ctor public CacheQuotaHint.Builder();
1342    ctor public CacheQuotaHint.Builder(android.app.usage.CacheQuotaHint);
1343    method @NonNull public android.app.usage.CacheQuotaHint build();
1344    method @NonNull public android.app.usage.CacheQuotaHint.Builder setQuota(long);
1345    method @NonNull public android.app.usage.CacheQuotaHint.Builder setUid(int);
1346    method @NonNull public android.app.usage.CacheQuotaHint.Builder setUsageStats(@Nullable android.app.usage.UsageStats);
1347    method @NonNull public android.app.usage.CacheQuotaHint.Builder setVolumeUuid(@Nullable String);
1348  }
1349
1350  public abstract class CacheQuotaService extends android.app.Service {
1351    ctor public CacheQuotaService();
1352    method public android.os.IBinder onBind(android.content.Intent);
1353    method public abstract java.util.List<android.app.usage.CacheQuotaHint> onComputeCacheQuotaHints(java.util.List<android.app.usage.CacheQuotaHint>);
1354    field public static final String SERVICE_INTERFACE = "android.app.usage.CacheQuotaService";
1355  }
1356
1357  public class NetworkStatsManager {
1358    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STATS_PROVIDER, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void registerNetworkStatsProvider(@NonNull String, @NonNull android.net.netstats.provider.NetworkStatsProvider);
1359    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STATS_PROVIDER, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void unregisterNetworkStatsProvider(@NonNull android.net.netstats.provider.NetworkStatsProvider);
1360  }
1361
1362  public static final class UsageEvents.Event {
1363    method public int getInstanceId();
1364    method @Nullable public String getNotificationChannelId();
1365    method @Nullable public String getTaskRootClassName();
1366    method @Nullable public String getTaskRootPackageName();
1367    method public boolean isInstantApp();
1368    field public static final int NOTIFICATION_INTERRUPTION = 12; // 0xc
1369    field public static final int NOTIFICATION_SEEN = 10; // 0xa
1370    field public static final int SLICE_PINNED = 14; // 0xe
1371    field public static final int SLICE_PINNED_PRIV = 13; // 0xd
1372    field public static final int SYSTEM_INTERACTION = 6; // 0x6
1373  }
1374
1375  public final class UsageStats implements android.os.Parcelable {
1376    method public int getAppLaunchCount();
1377  }
1378
1379  public final class UsageStatsManager {
1380    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getAppStandbyBucket(String);
1381    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public java.util.Map<java.lang.String,java.lang.Integer> getAppStandbyBuckets();
1382    method public int getUsageSource();
1383    method @RequiresPermission(android.Manifest.permission.BIND_CARRIER_SERVICES) public void onCarrierPrivilegedAppsChanged();
1384    method @RequiresPermission(allOf={android.Manifest.permission.SUSPEND_APPS, android.Manifest.permission.OBSERVE_APP_USAGE}) public void registerAppUsageLimitObserver(int, @NonNull String[], @NonNull java.time.Duration, @NonNull java.time.Duration, @Nullable android.app.PendingIntent);
1385    method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void registerAppUsageObserver(int, @NonNull String[], long, @NonNull java.util.concurrent.TimeUnit, @NonNull android.app.PendingIntent);
1386    method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void registerUsageSessionObserver(int, @NonNull String[], @NonNull java.time.Duration, @NonNull java.time.Duration, @NonNull android.app.PendingIntent, @Nullable android.app.PendingIntent);
1387    method public void reportUsageStart(@NonNull android.app.Activity, @NonNull String);
1388    method public void reportUsageStart(@NonNull android.app.Activity, @NonNull String, long);
1389    method public void reportUsageStop(@NonNull android.app.Activity, @NonNull String);
1390    method @RequiresPermission(android.Manifest.permission.CHANGE_APP_IDLE_STATE) public void setAppStandbyBucket(String, int);
1391    method @RequiresPermission(android.Manifest.permission.CHANGE_APP_IDLE_STATE) public void setAppStandbyBuckets(java.util.Map<java.lang.String,java.lang.Integer>);
1392    method @RequiresPermission(allOf={android.Manifest.permission.SUSPEND_APPS, android.Manifest.permission.OBSERVE_APP_USAGE}) public void unregisterAppUsageLimitObserver(int);
1393    method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void unregisterAppUsageObserver(int);
1394    method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void unregisterUsageSessionObserver(int);
1395    method @Deprecated @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void whitelistAppTemporarily(String, long, android.os.UserHandle);
1396    field public static final String EXTRA_OBSERVER_ID = "android.app.usage.extra.OBSERVER_ID";
1397    field public static final String EXTRA_TIME_LIMIT = "android.app.usage.extra.TIME_LIMIT";
1398    field public static final String EXTRA_TIME_USED = "android.app.usage.extra.TIME_USED";
1399    field public static final int STANDBY_BUCKET_EXEMPTED = 5; // 0x5
1400    field public static final int STANDBY_BUCKET_NEVER = 50; // 0x32
1401    field public static final int USAGE_SOURCE_CURRENT_ACTIVITY = 2; // 0x2
1402    field public static final int USAGE_SOURCE_TASK_ROOT_ACTIVITY = 1; // 0x1
1403  }
1404
1405}
1406
1407package android.bluetooth {
1408
1409  public final class BluetoothA2dp implements android.bluetooth.BluetoothProfile {
1410    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice);
1411    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int);
1412    field public static final int OPTIONAL_CODECS_NOT_SUPPORTED = 0; // 0x0
1413    field public static final int OPTIONAL_CODECS_PREF_DISABLED = 0; // 0x0
1414    field public static final int OPTIONAL_CODECS_PREF_ENABLED = 1; // 0x1
1415    field public static final int OPTIONAL_CODECS_PREF_UNKNOWN = -1; // 0xffffffff
1416    field public static final int OPTIONAL_CODECS_SUPPORTED = 1; // 0x1
1417    field public static final int OPTIONAL_CODECS_SUPPORT_UNKNOWN = -1; // 0xffffffff
1418  }
1419
1420  public final class BluetoothA2dpSink implements android.bluetooth.BluetoothProfile {
1421    method public void finalize();
1422    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice);
1423    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean isAudioPlaying(@NonNull android.bluetooth.BluetoothDevice);
1424    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int);
1425    field @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.a2dp-sink.profile.action.CONNECTION_STATE_CHANGED";
1426  }
1427
1428  public final class BluetoothAdapter {
1429    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean addOnMetadataChangedListener(@NonNull android.bluetooth.BluetoothDevice, @NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothAdapter.OnMetadataChangedListener);
1430    method public boolean disableBLE();
1431    method public boolean enableBLE();
1432    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean enableNoAutoConnect();
1433    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public long getDiscoveryEndMillis();
1434    method public boolean isBleScanAlwaysAvailable();
1435    method public boolean isLeEnabled();
1436    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean removeActiveDevice(int);
1437    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean removeOnMetadataChangedListener(@NonNull android.bluetooth.BluetoothDevice, @NonNull android.bluetooth.BluetoothAdapter.OnMetadataChangedListener);
1438    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setActiveDevice(@NonNull android.bluetooth.BluetoothDevice, int);
1439    field public static final String ACTION_BLE_STATE_CHANGED = "android.bluetooth.adapter.action.BLE_STATE_CHANGED";
1440    field public static final String ACTION_REQUEST_BLE_SCAN_ALWAYS_AVAILABLE = "android.bluetooth.adapter.action.REQUEST_BLE_SCAN_ALWAYS_AVAILABLE";
1441    field public static final int ACTIVE_DEVICE_ALL = 2; // 0x2
1442    field public static final int ACTIVE_DEVICE_AUDIO = 0; // 0x0
1443    field public static final int ACTIVE_DEVICE_PHONE_CALL = 1; // 0x1
1444  }
1445
1446  public static interface BluetoothAdapter.OnMetadataChangedListener {
1447    method public void onMetadataChanged(@NonNull android.bluetooth.BluetoothDevice, int, @Nullable byte[]);
1448  }
1449
1450  public final class BluetoothDevice implements android.os.Parcelable {
1451    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean cancelBondProcess();
1452    method @Nullable @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public byte[] getMetadata(int);
1453    method @RequiresPermission(android.Manifest.permission.BLUETOOTH) public int getSimAccessPermission();
1454    method @RequiresPermission(android.Manifest.permission.BLUETOOTH) public boolean isConnected();
1455    method @RequiresPermission(android.Manifest.permission.BLUETOOTH) public boolean isEncrypted();
1456    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean isInSilenceMode();
1457    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean removeBond();
1458    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setMessageAccessPermission(int);
1459    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setMetadata(int, @NonNull byte[]);
1460    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setPhonebookAccessPermission(int);
1461    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setSilenceMode(boolean);
1462    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setSimAccessPermission(int);
1463    field public static final int ACCESS_ALLOWED = 1; // 0x1
1464    field public static final int ACCESS_REJECTED = 2; // 0x2
1465    field public static final int ACCESS_UNKNOWN = 0; // 0x0
1466    field public static final String ACTION_SILENCE_MODE_CHANGED = "android.bluetooth.device.action.SILENCE_MODE_CHANGED";
1467    field public static final int METADATA_COMPANION_APP = 4; // 0x4
1468    field public static final int METADATA_ENHANCED_SETTINGS_UI_URI = 16; // 0x10
1469    field public static final int METADATA_HARDWARE_VERSION = 3; // 0x3
1470    field public static final int METADATA_IS_UNTETHERED_HEADSET = 6; // 0x6
1471    field public static final int METADATA_MAIN_ICON = 5; // 0x5
1472    field public static final int METADATA_MANUFACTURER_NAME = 0; // 0x0
1473    field public static final int METADATA_MAX_LENGTH = 2048; // 0x800
1474    field public static final int METADATA_MODEL_NAME = 1; // 0x1
1475    field public static final int METADATA_SOFTWARE_VERSION = 2; // 0x2
1476    field public static final int METADATA_UNTETHERED_CASE_BATTERY = 12; // 0xc
1477    field public static final int METADATA_UNTETHERED_CASE_CHARGING = 15; // 0xf
1478    field public static final int METADATA_UNTETHERED_CASE_ICON = 9; // 0x9
1479    field public static final int METADATA_UNTETHERED_LEFT_BATTERY = 10; // 0xa
1480    field public static final int METADATA_UNTETHERED_LEFT_CHARGING = 13; // 0xd
1481    field public static final int METADATA_UNTETHERED_LEFT_ICON = 7; // 0x7
1482    field public static final int METADATA_UNTETHERED_RIGHT_BATTERY = 11; // 0xb
1483    field public static final int METADATA_UNTETHERED_RIGHT_CHARGING = 14; // 0xe
1484    field public static final int METADATA_UNTETHERED_RIGHT_ICON = 8; // 0x8
1485  }
1486
1487  public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
1488    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean connect(android.bluetooth.BluetoothDevice);
1489    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean disconnect(android.bluetooth.BluetoothDevice);
1490    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice);
1491    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int);
1492    method @Deprecated @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean setPriority(android.bluetooth.BluetoothDevice, int);
1493  }
1494
1495  public final class BluetoothHearingAid implements android.bluetooth.BluetoothProfile {
1496    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice);
1497    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public long getHiSyncId(@NonNull android.bluetooth.BluetoothDevice);
1498    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int);
1499  }
1500
1501  public final class BluetoothHidDevice implements android.bluetooth.BluetoothProfile {
1502    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int);
1503  }
1504
1505  public final class BluetoothHidHost implements android.bluetooth.BluetoothProfile {
1506    method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
1507    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice);
1508    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice);
1509    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int);
1510    field public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED";
1511  }
1512
1513  public final class BluetoothMap implements java.lang.AutoCloseable android.bluetooth.BluetoothProfile {
1514    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public void close();
1515    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) protected void finalize();
1516    method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
1517    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice);
1518    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int);
1519    field public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.map.profile.action.CONNECTION_STATE_CHANGED";
1520  }
1521
1522  public final class BluetoothPan implements android.bluetooth.BluetoothProfile {
1523    method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
1524    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice);
1525    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean isTetheringOn();
1526    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public void setBluetoothTethering(boolean);
1527    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int);
1528    field public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED";
1529    field public static final String EXTRA_LOCAL_ROLE = "android.bluetooth.pan.extra.LOCAL_ROLE";
1530    field public static final int LOCAL_NAP_ROLE = 1; // 0x1
1531    field public static final int LOCAL_PANU_ROLE = 2; // 0x2
1532    field public static final int PAN_ROLE_NONE = 0; // 0x0
1533    field public static final int REMOTE_NAP_ROLE = 1; // 0x1
1534    field public static final int REMOTE_PANU_ROLE = 2; // 0x2
1535  }
1536
1537  public class BluetoothPbap implements android.bluetooth.BluetoothProfile {
1538    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice);
1539    method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int);
1540    field @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.pbap.profile.action.CONNECTION_STATE_CHANGED";
1541  }
1542
1543  public interface BluetoothProfile {
1544    field public static final int A2DP_SINK = 11; // 0xb
1545    field public static final int AVRCP_CONTROLLER = 12; // 0xc
1546    field public static final int CONNECTION_POLICY_ALLOWED = 100; // 0x64
1547    field public static final int CONNECTION_POLICY_FORBIDDEN = 0; // 0x0
1548    field public static final int CONNECTION_POLICY_UNKNOWN = -1; // 0xffffffff
1549    field public static final int HEADSET_CLIENT = 16; // 0x10
1550    field public static final int PAN = 5; // 0x5
1551    field public static final int PBAP_CLIENT = 17; // 0x11
1552    field @Deprecated public static final int PRIORITY_OFF = 0; // 0x0
1553    field @Deprecated public static final int PRIORITY_ON = 100; // 0x64
1554  }
1555
1556  public final class BluetoothUuid {
1557    method public static boolean containsAnyUuid(@Nullable android.os.ParcelUuid[], @Nullable android.os.ParcelUuid[]);
1558    method @NonNull public static android.os.ParcelUuid parseUuidFrom(@Nullable byte[]);
1559    field @NonNull public static final android.os.ParcelUuid A2DP_SINK;
1560    field @NonNull public static final android.os.ParcelUuid A2DP_SOURCE;
1561    field @NonNull public static final android.os.ParcelUuid ADV_AUDIO_DIST;
1562    field @NonNull public static final android.os.ParcelUuid AVRCP_CONTROLLER;
1563    field @NonNull public static final android.os.ParcelUuid AVRCP_TARGET;
1564    field @NonNull public static final android.os.ParcelUuid BASE_UUID;
1565    field @NonNull public static final android.os.ParcelUuid BNEP;
1566    field @NonNull public static final android.os.ParcelUuid HEARING_AID;
1567    field @NonNull public static final android.os.ParcelUuid HFP;
1568    field @NonNull public static final android.os.ParcelUuid HFP_AG;
1569    field @NonNull public static final android.os.ParcelUuid HID;
1570    field @NonNull public static final android.os.ParcelUuid HOGP;
1571    field @NonNull public static final android.os.ParcelUuid HSP;
1572    field @NonNull public static final android.os.ParcelUuid HSP_AG;
1573    field @NonNull public static final android.os.ParcelUuid MAP;
1574    field @NonNull public static final android.os.ParcelUuid MAS;
1575    field @NonNull public static final android.os.ParcelUuid MNS;
1576    field @NonNull public static final android.os.ParcelUuid NAP;
1577    field @NonNull public static final android.os.ParcelUuid OBEX_OBJECT_PUSH;
1578    field @NonNull public static final android.os.ParcelUuid PANU;
1579    field @NonNull public static final android.os.ParcelUuid PBAP_PCE;
1580    field @NonNull public static final android.os.ParcelUuid PBAP_PSE;
1581    field @NonNull public static final android.os.ParcelUuid SAP;
1582    field public static final int UUID_BYTES_128_BIT = 16; // 0x10
1583    field public static final int UUID_BYTES_16_BIT = 2; // 0x2
1584    field public static final int UUID_BYTES_32_BIT = 4; // 0x4
1585  }
1586
1587}
1588
1589package android.bluetooth.le {
1590
1591  public final class BluetoothLeScanner {
1592    method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_ADMIN, android.Manifest.permission.UPDATE_DEVICE_STATS}) public void startScanFromSource(android.os.WorkSource, android.bluetooth.le.ScanCallback);
1593    method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_ADMIN, android.Manifest.permission.UPDATE_DEVICE_STATS}) public void startScanFromSource(java.util.List<android.bluetooth.le.ScanFilter>, android.bluetooth.le.ScanSettings, android.os.WorkSource, android.bluetooth.le.ScanCallback);
1594    method public void startTruncatedScan(java.util.List<android.bluetooth.le.TruncatedFilter>, android.bluetooth.le.ScanSettings, android.bluetooth.le.ScanCallback);
1595  }
1596
1597  public final class ResultStorageDescriptor implements android.os.Parcelable {
1598    ctor public ResultStorageDescriptor(int, int, int);
1599    method public int describeContents();
1600    method public int getLength();
1601    method public int getOffset();
1602    method public int getType();
1603    method public void writeToParcel(android.os.Parcel, int);
1604    field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.le.ResultStorageDescriptor> CREATOR;
1605  }
1606
1607  public final class ScanSettings implements android.os.Parcelable {
1608    field public static final int SCAN_RESULT_TYPE_ABBREVIATED = 1; // 0x1
1609    field public static final int SCAN_RESULT_TYPE_FULL = 0; // 0x0
1610  }
1611
1612  public static final class ScanSettings.Builder {
1613    method public android.bluetooth.le.ScanSettings.Builder setScanResultType(int);
1614  }
1615
1616  public final class TruncatedFilter {
1617    ctor public TruncatedFilter(android.bluetooth.le.ScanFilter, java.util.List<android.bluetooth.le.ResultStorageDescriptor>);
1618    method public android.bluetooth.le.ScanFilter getFilter();
1619    method public java.util.List<android.bluetooth.le.ResultStorageDescriptor> getStorageDescriptors();
1620  }
1621
1622}
1623
1624package android.companion {
1625
1626  public final class CompanionDeviceManager {
1627    method @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public boolean isDeviceAssociatedForWifiConnection(@NonNull String, @NonNull android.net.MacAddress, @NonNull android.os.UserHandle);
1628  }
1629
1630}
1631
1632package android.content {
1633
1634  public class ApexEnvironment {
1635    method @NonNull public static android.content.ApexEnvironment getApexEnvironment(@NonNull String);
1636    method @NonNull public java.io.File getCredentialProtectedDataDirForUser(@NonNull android.os.UserHandle);
1637    method @NonNull public java.io.File getDeviceProtectedDataDir();
1638    method @NonNull public java.io.File getDeviceProtectedDataDirForUser(@NonNull android.os.UserHandle);
1639  }
1640
1641  public abstract class BroadcastReceiver {
1642    method @NonNull public final android.os.UserHandle getSendingUser();
1643  }
1644
1645  public abstract class ContentProvider implements android.content.ComponentCallbacks2 {
1646    method public int checkUriPermission(@NonNull android.net.Uri, int, int);
1647  }
1648
1649  public class ContentProviderClient implements java.lang.AutoCloseable {
1650    method @RequiresPermission(android.Manifest.permission.REMOVE_TASKS) public void setDetectNotResponding(long);
1651  }
1652
1653  public abstract class ContentResolver {
1654    method public int checkUriPermission(@NonNull android.net.Uri, int, int);
1655    method @NonNull public static android.net.Uri decodeFromFile(@NonNull java.io.File);
1656    method @NonNull public static java.io.File encodeToFile(@NonNull android.net.Uri);
1657    method @Nullable @RequiresPermission("android.permission.CACHE_CONTENT") public android.os.Bundle getCache(@NonNull android.net.Uri);
1658    method @RequiresPermission("android.permission.CACHE_CONTENT") public void putCache(@NonNull android.net.Uri, @Nullable android.os.Bundle);
1659  }
1660
1661  public abstract class Context {
1662    method @NonNull public android.content.Context createContextAsUser(@NonNull android.os.UserHandle, int);
1663    method public abstract android.content.Context createCredentialProtectedStorageContext();
1664    method @NonNull public android.content.Context createPackageContextAsUser(@NonNull String, int, @NonNull android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException;
1665    method @Nullable public abstract java.io.File getPreloadsFileCache();
1666    method public abstract boolean isCredentialProtectedStorage();
1667    method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public android.content.Intent registerReceiverForAllUsers(@Nullable android.content.BroadcastReceiver, @NonNull android.content.IntentFilter, @Nullable String, @Nullable android.os.Handler);
1668    method public abstract void sendBroadcast(android.content.Intent, @Nullable String, @Nullable android.os.Bundle);
1669    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public abstract void sendBroadcastAsUser(@RequiresPermission android.content.Intent, android.os.UserHandle, @Nullable String, @Nullable android.os.Bundle);
1670    method public abstract void sendOrderedBroadcast(@NonNull android.content.Intent, @Nullable String, @Nullable android.os.Bundle, @Nullable android.content.BroadcastReceiver, @Nullable android.os.Handler, int, @Nullable String, @Nullable android.os.Bundle);
1671    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public void startActivityAsUser(@NonNull @RequiresPermission android.content.Intent, @NonNull android.os.UserHandle);
1672    field public static final String APP_INTEGRITY_SERVICE = "app_integrity";
1673    field public static final String APP_PREDICTION_SERVICE = "app_prediction";
1674    field public static final String BACKUP_SERVICE = "backup";
1675    field public static final String BATTERY_STATS_SERVICE = "batterystats";
1676    field public static final String BUGREPORT_SERVICE = "bugreport";
1677    field public static final String CONTENT_SUGGESTIONS_SERVICE = "content_suggestions";
1678    field public static final String CONTEXTHUB_SERVICE = "contexthub";
1679    field public static final String ETHERNET_SERVICE = "ethernet";
1680    field public static final String EUICC_CARD_SERVICE = "euicc_card";
1681    field public static final String HDMI_CONTROL_SERVICE = "hdmi_control";
1682    field public static final String NETD_SERVICE = "netd";
1683    field public static final String NETWORK_SCORE_SERVICE = "network_score";
1684    field public static final String OEM_LOCK_SERVICE = "oem_lock";
1685    field public static final String PERMISSION_SERVICE = "permission";
1686    field public static final String PERSISTENT_DATA_BLOCK_SERVICE = "persistent_data_block";
1687    field public static final String ROLLBACK_SERVICE = "rollback";
1688    field public static final String SECURE_ELEMENT_SERVICE = "secure_element";
1689    field public static final String STATS_MANAGER = "stats";
1690    field public static final String STATUS_BAR_SERVICE = "statusbar";
1691    field public static final String SYSTEM_CONFIG_SERVICE = "system_config";
1692    field public static final String SYSTEM_UPDATE_SERVICE = "system_update";
1693    field public static final String TETHERING_SERVICE = "tethering";
1694    field public static final String VR_SERVICE = "vrmanager";
1695    field public static final String WIFI_NL80211_SERVICE = "wifinl80211";
1696    field @Deprecated public static final String WIFI_RTT_SERVICE = "rttmanager";
1697    field public static final String WIFI_SCANNING_SERVICE = "wifiscanner";
1698  }
1699
1700  public class ContextWrapper extends android.content.Context {
1701    method public android.content.Context createCredentialProtectedStorageContext();
1702    method public java.io.File getPreloadsFileCache();
1703    method public boolean isCredentialProtectedStorage();
1704    method public void sendBroadcast(android.content.Intent, String, android.os.Bundle);
1705    method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, String, android.os.Bundle);
1706    method public void sendOrderedBroadcast(android.content.Intent, String, android.os.Bundle, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle);
1707  }
1708
1709  public class Intent implements java.lang.Cloneable android.os.Parcelable {
1710    field public static final String ACTION_BATTERY_LEVEL_CHANGED = "android.intent.action.BATTERY_LEVEL_CHANGED";
1711    field public static final String ACTION_CALL_EMERGENCY = "android.intent.action.CALL_EMERGENCY";
1712    field public static final String ACTION_CALL_PRIVILEGED = "android.intent.action.CALL_PRIVILEGED";
1713    field public static final String ACTION_DEVICE_CUSTOMIZATION_READY = "android.intent.action.DEVICE_CUSTOMIZATION_READY";
1714    field public static final String ACTION_DIAL_EMERGENCY = "android.intent.action.DIAL_EMERGENCY";
1715    field public static final String ACTION_FACTORY_RESET = "android.intent.action.FACTORY_RESET";
1716    field public static final String ACTION_GLOBAL_BUTTON = "android.intent.action.GLOBAL_BUTTON";
1717    field public static final String ACTION_INCIDENT_REPORT_READY = "android.intent.action.INCIDENT_REPORT_READY";
1718    field public static final String ACTION_INSTALL_INSTANT_APP_PACKAGE = "android.intent.action.INSTALL_INSTANT_APP_PACKAGE";
1719    field public static final String ACTION_INSTANT_APP_RESOLVER_SETTINGS = "android.intent.action.INSTANT_APP_RESOLVER_SETTINGS";
1720    field public static final String ACTION_INTENT_FILTER_NEEDS_VERIFICATION = "android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION";
1721    field public static final String ACTION_LOAD_DATA = "android.intent.action.LOAD_DATA";
1722    field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_MANAGE_APP_PERMISSION = "android.intent.action.MANAGE_APP_PERMISSION";
1723    field public static final String ACTION_MANAGE_APP_PERMISSIONS = "android.intent.action.MANAGE_APP_PERMISSIONS";
1724    field @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public static final String ACTION_MANAGE_DEFAULT_APP = "android.intent.action.MANAGE_DEFAULT_APP";
1725    field public static final String ACTION_MANAGE_PERMISSIONS = "android.intent.action.MANAGE_PERMISSIONS";
1726    field public static final String ACTION_MANAGE_PERMISSION_APPS = "android.intent.action.MANAGE_PERMISSION_APPS";
1727    field @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public static final String ACTION_MANAGE_SPECIAL_APP_ACCESSES = "android.intent.action.MANAGE_SPECIAL_APP_ACCESSES";
1728    field public static final String ACTION_MASTER_CLEAR_NOTIFICATION = "android.intent.action.MASTER_CLEAR_NOTIFICATION";
1729    field public static final String ACTION_PACKAGE_NEEDS_INTEGRITY_VERIFICATION = "android.intent.action.PACKAGE_NEEDS_INTEGRITY_VERIFICATION";
1730    field public static final String ACTION_PACKAGE_UNSUSPENDED_MANUALLY = "android.intent.action.PACKAGE_UNSUSPENDED_MANUALLY";
1731    field public static final String ACTION_PENDING_INCIDENT_REPORTS_CHANGED = "android.intent.action.PENDING_INCIDENT_REPORTS_CHANGED";
1732    field public static final String ACTION_PRE_BOOT_COMPLETED = "android.intent.action.PRE_BOOT_COMPLETED";
1733    field public static final String ACTION_QUERY_PACKAGE_RESTART = "android.intent.action.QUERY_PACKAGE_RESTART";
1734    field public static final String ACTION_RESOLVE_INSTANT_APP_PACKAGE = "android.intent.action.RESOLVE_INSTANT_APP_PACKAGE";
1735    field @RequiresPermission(android.Manifest.permission.REVIEW_ACCESSIBILITY_SERVICES) public static final String ACTION_REVIEW_ACCESSIBILITY_SERVICES = "android.intent.action.REVIEW_ACCESSIBILITY_SERVICES";
1736    field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_ONGOING_PERMISSION_USAGE = "android.intent.action.REVIEW_ONGOING_PERMISSION_USAGE";
1737    field public static final String ACTION_REVIEW_PERMISSIONS = "android.intent.action.REVIEW_PERMISSIONS";
1738    field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_PERMISSION_USAGE = "android.intent.action.REVIEW_PERMISSION_USAGE";
1739    field public static final String ACTION_ROLLBACK_COMMITTED = "android.intent.action.ROLLBACK_COMMITTED";
1740    field public static final String ACTION_SHOW_SUSPENDED_APP_DETAILS = "android.intent.action.SHOW_SUSPENDED_APP_DETAILS";
1741    field @Deprecated public static final String ACTION_SIM_STATE_CHANGED = "android.intent.action.SIM_STATE_CHANGED";
1742    field public static final String ACTION_SPLIT_CONFIGURATION_CHANGED = "android.intent.action.SPLIT_CONFIGURATION_CHANGED";
1743    field public static final String ACTION_UPGRADE_SETUP = "android.intent.action.UPGRADE_SETUP";
1744    field public static final String ACTION_USER_ADDED = "android.intent.action.USER_ADDED";
1745    field public static final String ACTION_USER_REMOVED = "android.intent.action.USER_REMOVED";
1746    field public static final String ACTION_VOICE_ASSIST = "android.intent.action.VOICE_ASSIST";
1747    field public static final String CATEGORY_LEANBACK_SETTINGS = "android.intent.category.LEANBACK_SETTINGS";
1748    field public static final String EXTRA_CALLING_PACKAGE = "android.intent.extra.CALLING_PACKAGE";
1749    field public static final String EXTRA_FORCE_FACTORY_RESET = "android.intent.extra.FORCE_FACTORY_RESET";
1750    field public static final String EXTRA_INSTANT_APP_ACTION = "android.intent.extra.INSTANT_APP_ACTION";
1751    field public static final String EXTRA_INSTANT_APP_BUNDLES = "android.intent.extra.INSTANT_APP_BUNDLES";
1752    field public static final String EXTRA_INSTANT_APP_EXTRAS = "android.intent.extra.INSTANT_APP_EXTRAS";
1753    field public static final String EXTRA_INSTANT_APP_FAILURE = "android.intent.extra.INSTANT_APP_FAILURE";
1754    field public static final String EXTRA_INSTANT_APP_HOSTNAME = "android.intent.extra.INSTANT_APP_HOSTNAME";
1755    field public static final String EXTRA_INSTANT_APP_SUCCESS = "android.intent.extra.INSTANT_APP_SUCCESS";
1756    field public static final String EXTRA_INSTANT_APP_TOKEN = "android.intent.extra.INSTANT_APP_TOKEN";
1757    field public static final String EXTRA_LONG_VERSION_CODE = "android.intent.extra.LONG_VERSION_CODE";
1758    field public static final String EXTRA_ORIGINATING_UID = "android.intent.extra.ORIGINATING_UID";
1759    field public static final String EXTRA_PACKAGES = "android.intent.extra.PACKAGES";
1760    field public static final String EXTRA_PERMISSION_GROUP_NAME = "android.intent.extra.PERMISSION_GROUP_NAME";
1761    field public static final String EXTRA_PERMISSION_NAME = "android.intent.extra.PERMISSION_NAME";
1762    field public static final String EXTRA_REASON = "android.intent.extra.REASON";
1763    field public static final String EXTRA_REMOTE_CALLBACK = "android.intent.extra.REMOTE_CALLBACK";
1764    field public static final String EXTRA_RESULT_NEEDED = "android.intent.extra.RESULT_NEEDED";
1765    field public static final String EXTRA_ROLE_NAME = "android.intent.extra.ROLE_NAME";
1766    field public static final String EXTRA_UNKNOWN_INSTANT_APP = "android.intent.extra.UNKNOWN_INSTANT_APP";
1767    field public static final String EXTRA_VERIFICATION_BUNDLE = "android.intent.extra.VERIFICATION_BUNDLE";
1768    field public static final int FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT = 67108864; // 0x4000000
1769    field public static final String METADATA_SETUP_VERSION = "android.SETUP_VERSION";
1770  }
1771
1772  public class IntentFilter implements android.os.Parcelable {
1773    method public final int getOrder();
1774    method public final void setOrder(int);
1775  }
1776
1777}
1778
1779package android.content.integrity {
1780
1781  public class AppIntegrityManager {
1782    method @NonNull public String getCurrentRuleSetProvider();
1783    method @NonNull public String getCurrentRuleSetVersion();
1784    method public void updateRuleSet(@NonNull android.content.integrity.RuleSet, @NonNull android.content.IntentSender);
1785    field public static final String EXTRA_STATUS = "android.content.integrity.extra.STATUS";
1786    field public static final int STATUS_FAILURE = 1; // 0x1
1787    field public static final int STATUS_SUCCESS = 0; // 0x0
1788  }
1789
1790  public abstract class IntegrityFormula {
1791    method @NonNull public static android.content.integrity.IntegrityFormula all(@NonNull android.content.integrity.IntegrityFormula...);
1792    method @NonNull public static android.content.integrity.IntegrityFormula any(@NonNull android.content.integrity.IntegrityFormula...);
1793    method @NonNull public static android.content.integrity.IntegrityFormula not(@NonNull android.content.integrity.IntegrityFormula);
1794  }
1795
1796  public static final class IntegrityFormula.Application {
1797    method @NonNull public static android.content.integrity.IntegrityFormula certificatesContain(@NonNull String);
1798    method @NonNull public static android.content.integrity.IntegrityFormula isPreInstalled();
1799    method @NonNull public static android.content.integrity.IntegrityFormula packageNameEquals(@NonNull String);
1800    method @NonNull public static android.content.integrity.IntegrityFormula versionCodeEquals(@NonNull long);
1801    method @NonNull public static android.content.integrity.IntegrityFormula versionCodeGreaterThan(@NonNull long);
1802    method @NonNull public static android.content.integrity.IntegrityFormula versionCodeGreaterThanOrEqualTo(@NonNull long);
1803  }
1804
1805  public static final class IntegrityFormula.Installer {
1806    method @NonNull public static android.content.integrity.IntegrityFormula certificatesContain(@NonNull String);
1807    method @NonNull public static android.content.integrity.IntegrityFormula notAllowedByManifest();
1808    method @NonNull public static android.content.integrity.IntegrityFormula packageNameEquals(@NonNull String);
1809  }
1810
1811  public static final class IntegrityFormula.SourceStamp {
1812    method @NonNull public static android.content.integrity.IntegrityFormula notTrusted();
1813    method @NonNull public static android.content.integrity.IntegrityFormula stampCertificateHashEquals(@NonNull String);
1814  }
1815
1816  public final class Rule implements android.os.Parcelable {
1817    ctor public Rule(@NonNull android.content.integrity.IntegrityFormula, int);
1818    method public int describeContents();
1819    method public int getEffect();
1820    method @NonNull public android.content.integrity.IntegrityFormula getFormula();
1821    method public void writeToParcel(@NonNull android.os.Parcel, int);
1822    field @NonNull public static final android.os.Parcelable.Creator<android.content.integrity.Rule> CREATOR;
1823    field public static final int DENY = 0; // 0x0
1824    field public static final int FORCE_ALLOW = 1; // 0x1
1825  }
1826
1827  public class RuleSet {
1828    method @NonNull public java.util.List<android.content.integrity.Rule> getRules();
1829    method @NonNull public String getVersion();
1830  }
1831
1832  public static class RuleSet.Builder {
1833    ctor public RuleSet.Builder();
1834    method @NonNull public android.content.integrity.RuleSet.Builder addRules(@NonNull java.util.List<android.content.integrity.Rule>);
1835    method @NonNull public android.content.integrity.RuleSet build();
1836    method @NonNull public android.content.integrity.RuleSet.Builder setVersion(@NonNull String);
1837  }
1838
1839}
1840
1841package android.content.om {
1842
1843  public final class OverlayInfo implements android.os.Parcelable {
1844    method public int describeContents();
1845    method @Nullable public String getCategory();
1846    method @NonNull public String getPackageName();
1847    method @Nullable public String getTargetOverlayableName();
1848    method @NonNull public String getTargetPackageName();
1849    method public int getUserId();
1850    method public boolean isEnabled();
1851    method public void writeToParcel(android.os.Parcel, int);
1852    field @NonNull public static final android.os.Parcelable.Creator<android.content.om.OverlayInfo> CREATOR;
1853  }
1854
1855  public class OverlayManager {
1856    method @Nullable public android.content.om.OverlayInfo getOverlayInfo(@NonNull String, @NonNull android.os.UserHandle);
1857    method @NonNull @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public java.util.List<android.content.om.OverlayInfo> getOverlayInfosForTarget(@NonNull String, @NonNull android.os.UserHandle);
1858    method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public void setEnabled(@NonNull String, boolean, @NonNull android.os.UserHandle) throws java.lang.IllegalStateException, java.lang.SecurityException;
1859    method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public void setEnabledExclusiveInCategory(@NonNull String, @NonNull android.os.UserHandle) throws java.lang.IllegalStateException, java.lang.SecurityException;
1860  }
1861
1862}
1863
1864package android.content.pm {
1865
1866  public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
1867    method public boolean isEncryptionAware();
1868    method public boolean isInstantApp();
1869    field public String credentialProtectedDataDir;
1870    field public int targetSandboxVersion;
1871  }
1872
1873  public class CrossProfileApps {
1874    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_PROFILES) public void startActivity(@NonNull android.content.ComponentName, @NonNull android.os.UserHandle);
1875  }
1876
1877  public class DataLoaderParams {
1878    method @NonNull public static final android.content.pm.DataLoaderParams forIncremental(@NonNull android.content.ComponentName, @NonNull String);
1879    method @NonNull public static final android.content.pm.DataLoaderParams forStreaming(@NonNull android.content.ComponentName, @NonNull String);
1880    method @NonNull public final String getArguments();
1881    method @NonNull public final android.content.ComponentName getComponentName();
1882    method @NonNull public final int getType();
1883  }
1884
1885  public final class InstallationFile {
1886    method public long getLengthBytes();
1887    method public int getLocation();
1888    method @Nullable public byte[] getMetadata();
1889    method @NonNull public String getName();
1890    method @Nullable public byte[] getSignature();
1891  }
1892
1893  public final class InstantAppInfo implements android.os.Parcelable {
1894    ctor public InstantAppInfo(android.content.pm.ApplicationInfo, String[], String[]);
1895    ctor public InstantAppInfo(String, CharSequence, String[], String[]);
1896    method public int describeContents();
1897    method @Nullable public android.content.pm.ApplicationInfo getApplicationInfo();
1898    method @Nullable public String[] getGrantedPermissions();
1899    method @NonNull public String getPackageName();
1900    method @Nullable public String[] getRequestedPermissions();
1901    method @NonNull public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.pm.PackageManager);
1902    method @NonNull public CharSequence loadLabel(@NonNull android.content.pm.PackageManager);
1903    method public void writeToParcel(android.os.Parcel, int);
1904    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppInfo> CREATOR;
1905  }
1906
1907  public final class InstantAppIntentFilter implements android.os.Parcelable {
1908    ctor public InstantAppIntentFilter(@Nullable String, @NonNull java.util.List<android.content.IntentFilter>);
1909    method public int describeContents();
1910    method public java.util.List<android.content.IntentFilter> getFilters();
1911    method public String getSplitName();
1912    method public void writeToParcel(android.os.Parcel, int);
1913    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppIntentFilter> CREATOR;
1914  }
1915
1916  public final class InstantAppRequestInfo implements android.os.Parcelable {
1917    ctor public InstantAppRequestInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, boolean, @NonNull String);
1918    method public int describeContents();
1919    method @Nullable public int[] getHostDigestPrefix();
1920    method @NonNull public android.content.Intent getIntent();
1921    method @NonNull public String getToken();
1922    method @NonNull public android.os.UserHandle getUserHandle();
1923    method public boolean isRequesterInstantApp();
1924    method public void writeToParcel(@NonNull android.os.Parcel, int);
1925    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppRequestInfo> CREATOR;
1926  }
1927
1928  public final class InstantAppResolveInfo implements android.os.Parcelable {
1929    ctor public InstantAppResolveInfo(@NonNull android.content.pm.InstantAppResolveInfo.InstantAppDigest, @Nullable String, @Nullable java.util.List<android.content.pm.InstantAppIntentFilter>, int);
1930    ctor public InstantAppResolveInfo(@NonNull android.content.pm.InstantAppResolveInfo.InstantAppDigest, @Nullable String, @Nullable java.util.List<android.content.pm.InstantAppIntentFilter>, long, @Nullable android.os.Bundle);
1931    ctor public InstantAppResolveInfo(@NonNull String, @Nullable String, @Nullable java.util.List<android.content.pm.InstantAppIntentFilter>);
1932    ctor public InstantAppResolveInfo(@Nullable android.os.Bundle);
1933    method public int describeContents();
1934    method public byte[] getDigestBytes();
1935    method public int getDigestPrefix();
1936    method @Nullable public android.os.Bundle getExtras();
1937    method public java.util.List<android.content.pm.InstantAppIntentFilter> getIntentFilters();
1938    method public long getLongVersionCode();
1939    method public String getPackageName();
1940    method @Deprecated public int getVersionCode();
1941    method public boolean shouldLetInstallerDecide();
1942    method public void writeToParcel(android.os.Parcel, int);
1943    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppResolveInfo> CREATOR;
1944  }
1945
1946  public static final class InstantAppResolveInfo.InstantAppDigest implements android.os.Parcelable {
1947    ctor public InstantAppResolveInfo.InstantAppDigest(@NonNull String);
1948    method public int describeContents();
1949    method public byte[][] getDigestBytes();
1950    method public int[] getDigestPrefix();
1951    method public void writeToParcel(android.os.Parcel, int);
1952    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppResolveInfo.InstantAppDigest> CREATOR;
1953    field public static final android.content.pm.InstantAppResolveInfo.InstantAppDigest UNDEFINED;
1954  }
1955
1956  public final class IntentFilterVerificationInfo implements android.os.Parcelable {
1957    method public int describeContents();
1958    method public java.util.Set<java.lang.String> getDomains();
1959    method public String getPackageName();
1960    method public int getStatus();
1961    method public void writeToParcel(android.os.Parcel, int);
1962    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.IntentFilterVerificationInfo> CREATOR;
1963  }
1964
1965  public class LauncherApps {
1966    method @Nullable public android.content.pm.LauncherApps.AppUsageLimit getAppUsageLimit(@NonNull String, @NonNull android.os.UserHandle);
1967  }
1968
1969  public static final class LauncherApps.AppUsageLimit implements android.os.Parcelable {
1970    method public int describeContents();
1971    method public long getTotalUsageLimit();
1972    method public long getUsageRemaining();
1973    method public void writeToParcel(android.os.Parcel, int);
1974    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.AppUsageLimit> CREATOR;
1975  }
1976
1977  public class PackageInstaller {
1978    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setPermissionsResult(int, boolean);
1979    field public static final int DATA_LOADER_TYPE_INCREMENTAL = 2; // 0x2
1980    field public static final int DATA_LOADER_TYPE_NONE = 0; // 0x0
1981    field public static final int DATA_LOADER_TYPE_STREAMING = 1; // 0x1
1982    field public static final String EXTRA_DATA_LOADER_TYPE = "android.content.pm.extra.DATA_LOADER_TYPE";
1983    field public static final int LOCATION_DATA_APP = 0; // 0x0
1984    field public static final int LOCATION_MEDIA_DATA = 2; // 0x2
1985    field public static final int LOCATION_MEDIA_OBB = 1; // 0x1
1986  }
1987
1988  public static class PackageInstaller.Session implements java.io.Closeable {
1989    method @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public void addFile(int, @NonNull String, long, @NonNull byte[], @Nullable byte[]);
1990    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void commitTransferred(@NonNull android.content.IntentSender);
1991    method @Nullable @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public android.content.pm.DataLoaderParams getDataLoaderParams();
1992    method @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public void removeFile(int, @NonNull String);
1993  }
1994
1995  public static class PackageInstaller.SessionInfo implements android.os.Parcelable {
1996    method public boolean getAllocateAggressive();
1997    method @Deprecated public boolean getAllowDowngrade();
1998    method public int getAutoRevokePermissionsMode();
1999    method public boolean getDontKillApp();
2000    method public boolean getEnableRollback();
2001    method @Nullable public String[] getGrantedRuntimePermissions();
2002    method public boolean getInstallAsFullApp(boolean);
2003    method public boolean getInstallAsInstantApp(boolean);
2004    method public boolean getInstallAsVirtualPreload();
2005    method public boolean getRequestDowngrade();
2006    method public int getRollbackDataPolicy();
2007    method @NonNull public java.util.Set<java.lang.String> getWhitelistedRestrictedPermissions();
2008  }
2009
2010  public static class PackageInstaller.SessionParams implements android.os.Parcelable {
2011    method @RequiresPermission(android.Manifest.permission.ALLOCATE_AGGRESSIVE) public void setAllocateAggressive(boolean);
2012    method @Deprecated public void setAllowDowngrade(boolean);
2013    method @RequiresPermission(allOf={android.Manifest.permission.INSTALL_PACKAGES, "com.android.permission.USE_INSTALLER_V2"}) public void setDataLoaderParams(@NonNull android.content.pm.DataLoaderParams);
2014    method public void setDontKillApp(boolean);
2015    method public void setEnableRollback(boolean);
2016    method public void setEnableRollback(boolean, int);
2017    method @RequiresPermission(android.Manifest.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS) public void setGrantedRuntimePermissions(String[]);
2018    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setInstallAsApex();
2019    method public void setInstallAsInstantApp(boolean);
2020    method public void setInstallAsVirtualPreload();
2021    method public void setRequestDowngrade(boolean);
2022    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setStaged();
2023  }
2024
2025  public class PackageItemInfo {
2026    method public static void forceSafeLabels();
2027    method @Deprecated @NonNull public CharSequence loadSafeLabel(@NonNull android.content.pm.PackageManager);
2028    method @NonNull public CharSequence loadSafeLabel(@NonNull android.content.pm.PackageManager, @FloatRange(from=0) float, int);
2029  }
2030
2031  public abstract class PackageManager {
2032    method @RequiresPermission("android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS") public abstract void addOnPermissionsChangeListener(@NonNull android.content.pm.PackageManager.OnPermissionsChangedListener);
2033    method public abstract boolean arePermissionsIndividuallyControlled();
2034    method @NonNull public abstract java.util.List<android.content.IntentFilter> getAllIntentFilters(@NonNull String);
2035    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.pm.ApplicationInfo getApplicationInfoAsUser(@NonNull String, int, @NonNull android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException;
2036    method @NonNull public android.content.pm.dex.ArtManager getArtManager();
2037    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_SHARED_LIBRARIES) public java.util.List<android.content.pm.SharedLibraryInfo> getDeclaredSharedLibraries(@NonNull String, int);
2038    method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract String getDefaultBrowserPackageNameAsUser(int);
2039    method @Nullable @RequiresPermission(android.Manifest.permission.SET_HARMFUL_APP_WARNINGS) public CharSequence getHarmfulAppWarning(@NonNull String);
2040    method @Nullable public String getIncidentReportApproverPackageName();
2041    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int);
2042    method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_INSTANT_APPS) public abstract android.graphics.drawable.Drawable getInstantAppIcon(String);
2043    method @Nullable public abstract android.content.ComponentName getInstantAppInstallerComponent();
2044    method @Nullable public abstract android.content.ComponentName getInstantAppResolverSettingsComponent();
2045    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_INSTANT_APPS) public abstract java.util.List<android.content.pm.InstantAppInfo> getInstantApps();
2046    method @NonNull public abstract java.util.List<android.content.pm.IntentFilterVerificationInfo> getIntentFilterVerifications(@NonNull String);
2047    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract int getIntentVerificationStatusAsUser(@NonNull String, int);
2048    method @android.content.pm.PackageManager.PermissionFlags @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS, android.Manifest.permission.GET_RUNTIME_PERMISSIONS}) public abstract int getPermissionFlags(@NonNull String, @NonNull String, @NonNull android.os.UserHandle);
2049    method @NonNull @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] getUnsuspendablePackages(@NonNull String[]);
2050    method @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public abstract void grantRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle);
2051    method @Deprecated public abstract int installExistingPackage(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException;
2052    method @Deprecated public abstract int installExistingPackage(@NonNull String, int) throws android.content.pm.PackageManager.NameNotFoundException;
2053    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryBroadcastReceiversAsUser(@NonNull android.content.Intent, int, android.os.UserHandle);
2054    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryIntentActivitiesAsUser(@NonNull android.content.Intent, int, @NonNull android.os.UserHandle);
2055    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryIntentContentProvidersAsUser(@NonNull android.content.Intent, int, @NonNull android.os.UserHandle);
2056    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryIntentServicesAsUser(@NonNull android.content.Intent, int, @NonNull android.os.UserHandle);
2057    method public abstract void registerDexModule(@NonNull String, @Nullable android.content.pm.PackageManager.DexModuleRegisterCallback);
2058    method @RequiresPermission("android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS") public abstract void removeOnPermissionsChangeListener(@NonNull android.content.pm.PackageManager.OnPermissionsChangedListener);
2059    method public void replacePreferredActivity(@NonNull android.content.IntentFilter, int, @NonNull java.util.List<android.content.ComponentName>, @NonNull android.content.ComponentName);
2060    method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public abstract void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle);
2061    method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle, @NonNull String);
2062    method public void sendDeviceCustomizationReadyBroadcast();
2063    method @RequiresPermission(allOf={android.Manifest.permission.SET_PREFERRED_APPLICATIONS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public abstract boolean setDefaultBrowserPackageNameAsUser(@Nullable String, int);
2064    method @NonNull @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] setDistractingPackageRestrictions(@NonNull String[], int);
2065    method @RequiresPermission(android.Manifest.permission.SET_HARMFUL_APP_WARNINGS) public void setHarmfulAppWarning(@NonNull String, @Nullable CharSequence);
2066    method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] setPackagesSuspended(@Nullable String[], boolean, @Nullable android.os.PersistableBundle, @Nullable android.os.PersistableBundle, @Nullable String);
2067    method @Nullable @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] setPackagesSuspended(@Nullable String[], boolean, @Nullable android.os.PersistableBundle, @Nullable android.os.PersistableBundle, @Nullable android.content.pm.SuspendDialogInfo);
2068    method @RequiresPermission(value=android.Manifest.permission.CHANGE_COMPONENT_ENABLED_STATE, conditional=true) public void setSyntheticAppDetailsActivityEnabled(@NonNull String, boolean);
2069    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public abstract void setUpdateAvailable(@NonNull String, boolean);
2070    method @RequiresPermission(android.Manifest.permission.SET_PREFERRED_APPLICATIONS) public abstract boolean updateIntentVerificationStatusAsUser(@NonNull String, int, int);
2071    method @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS}) public abstract void updatePermissionFlags(@NonNull String, @NonNull String, @android.content.pm.PackageManager.PermissionFlags int, @android.content.pm.PackageManager.PermissionFlags int, @NonNull android.os.UserHandle);
2072    method @RequiresPermission(android.Manifest.permission.INTENT_FILTER_VERIFICATION_AGENT) public abstract void verifyIntentFilter(int, int, @NonNull java.util.List<java.lang.String>);
2073    field public static final String ACTION_REQUEST_PERMISSIONS = "android.content.pm.action.REQUEST_PERMISSIONS";
2074    field public static final String EXTRA_REQUEST_PERMISSIONS_NAMES = "android.content.pm.extra.REQUEST_PERMISSIONS_NAMES";
2075    field public static final String EXTRA_REQUEST_PERMISSIONS_RESULTS = "android.content.pm.extra.REQUEST_PERMISSIONS_RESULTS";
2076    field public static final String FEATURE_BROADCAST_RADIO = "android.hardware.broadcastradio";
2077    field public static final String FEATURE_CONTEXT_HUB = "android.hardware.context_hub";
2078    field public static final String FEATURE_INCREMENTAL_DELIVERY = "android.software.incremental_delivery";
2079    field public static final String FEATURE_REBOOT_ESCROW = "android.hardware.reboot_escrow";
2080    field public static final String FEATURE_TELEPHONY_CARRIERLOCK = "android.hardware.telephony.carrierlock";
2081    field public static final int FLAGS_PERMISSION_RESERVED_PERMISSION_CONTROLLER = -268435456; // 0xf0000000
2082    field public static final int FLAG_PERMISSION_APPLY_RESTRICTION = 16384; // 0x4000
2083    field public static final int FLAG_PERMISSION_AUTO_REVOKED = 131072; // 0x20000
2084    field public static final int FLAG_PERMISSION_GRANTED_BY_DEFAULT = 32; // 0x20
2085    field public static final int FLAG_PERMISSION_GRANTED_BY_ROLE = 32768; // 0x8000
2086    field public static final int FLAG_PERMISSION_ONE_TIME = 65536; // 0x10000
2087    field public static final int FLAG_PERMISSION_POLICY_FIXED = 4; // 0x4
2088    field public static final int FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT = 2048; // 0x800
2089    field public static final int FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT = 4096; // 0x1000
2090    field public static final int FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT = 8192; // 0x2000
2091    field public static final int FLAG_PERMISSION_REVIEW_REQUIRED = 64; // 0x40
2092    field public static final int FLAG_PERMISSION_REVOKED_COMPAT = 8; // 0x8
2093    field @Deprecated public static final int FLAG_PERMISSION_REVOKE_ON_UPGRADE = 8; // 0x8
2094    field public static final int FLAG_PERMISSION_SYSTEM_FIXED = 16; // 0x10
2095    field public static final int FLAG_PERMISSION_USER_FIXED = 2; // 0x2
2096    field public static final int FLAG_PERMISSION_USER_SENSITIVE_WHEN_DENIED = 512; // 0x200
2097    field public static final int FLAG_PERMISSION_USER_SENSITIVE_WHEN_GRANTED = 256; // 0x100
2098    field public static final int FLAG_PERMISSION_USER_SET = 1; // 0x1
2099    field public static final int INSTALL_FAILED_ALREADY_EXISTS = -1; // 0xffffffff
2100    field public static final int INSTALL_FAILED_CONFLICTING_PROVIDER = -13; // 0xfffffff3
2101    field public static final int INSTALL_FAILED_CONTAINER_ERROR = -18; // 0xffffffee
2102    field public static final int INSTALL_FAILED_CPU_ABI_INCOMPATIBLE = -16; // 0xfffffff0
2103    field public static final int INSTALL_FAILED_DEXOPT = -11; // 0xfffffff5
2104    field public static final int INSTALL_FAILED_DUPLICATE_PACKAGE = -5; // 0xfffffffb
2105    field public static final int INSTALL_FAILED_INSUFFICIENT_STORAGE = -4; // 0xfffffffc
2106    field public static final int INSTALL_FAILED_INTERNAL_ERROR = -110; // 0xffffff92
2107    field public static final int INSTALL_FAILED_INVALID_APK = -2; // 0xfffffffe
2108    field public static final int INSTALL_FAILED_INVALID_INSTALL_LOCATION = -19; // 0xffffffed
2109    field public static final int INSTALL_FAILED_INVALID_URI = -3; // 0xfffffffd
2110    field public static final int INSTALL_FAILED_MEDIA_UNAVAILABLE = -20; // 0xffffffec
2111    field public static final int INSTALL_FAILED_MISSING_FEATURE = -17; // 0xffffffef
2112    field public static final int INSTALL_FAILED_MISSING_SHARED_LIBRARY = -9; // 0xfffffff7
2113    field public static final int INSTALL_FAILED_NEWER_SDK = -14; // 0xfffffff2
2114    field public static final int INSTALL_FAILED_NO_SHARED_USER = -6; // 0xfffffffa
2115    field public static final int INSTALL_FAILED_OLDER_SDK = -12; // 0xfffffff4
2116    field public static final int INSTALL_FAILED_PACKAGE_CHANGED = -23; // 0xffffffe9
2117    field public static final int INSTALL_FAILED_PERMISSION_MODEL_DOWNGRADE = -26; // 0xffffffe6
2118    field public static final int INSTALL_FAILED_REPLACE_COULDNT_DELETE = -10; // 0xfffffff6
2119    field public static final int INSTALL_FAILED_SANDBOX_VERSION_DOWNGRADE = -27; // 0xffffffe5
2120    field public static final int INSTALL_FAILED_SHARED_USER_INCOMPATIBLE = -8; // 0xfffffff8
2121    field public static final int INSTALL_FAILED_TEST_ONLY = -15; // 0xfffffff1
2122    field public static final int INSTALL_FAILED_UPDATE_INCOMPATIBLE = -7; // 0xfffffff9
2123    field public static final int INSTALL_FAILED_VERIFICATION_FAILURE = -22; // 0xffffffea
2124    field public static final int INSTALL_FAILED_VERIFICATION_TIMEOUT = -21; // 0xffffffeb
2125    field public static final int INSTALL_PARSE_FAILED_BAD_MANIFEST = -101; // 0xffffff9b
2126    field public static final int INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME = -106; // 0xffffff96
2127    field public static final int INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID = -107; // 0xffffff95
2128    field public static final int INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING = -105; // 0xffffff97
2129    field public static final int INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES = -104; // 0xffffff98
2130    field public static final int INSTALL_PARSE_FAILED_MANIFEST_EMPTY = -109; // 0xffffff93
2131    field public static final int INSTALL_PARSE_FAILED_MANIFEST_MALFORMED = -108; // 0xffffff94
2132    field public static final int INSTALL_PARSE_FAILED_NOT_APK = -100; // 0xffffff9c
2133    field public static final int INSTALL_PARSE_FAILED_NO_CERTIFICATES = -103; // 0xffffff99
2134    field public static final int INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION = -102; // 0xffffff9a
2135    field public static final int INSTALL_SUCCEEDED = 1; // 0x1
2136    field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS = 2; // 0x2
2137    field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS_ASK = 4; // 0x4
2138    field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ASK = 1; // 0x1
2139    field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER = 3; // 0x3
2140    field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED = 0; // 0x0
2141    field public static final int INTENT_FILTER_VERIFICATION_FAILURE = -1; // 0xffffffff
2142    field public static final int INTENT_FILTER_VERIFICATION_SUCCESS = 1; // 0x1
2143    field @Deprecated public static final int MASK_PERMISSION_FLAGS = 255; // 0xff
2144    field public static final int MATCH_ANY_USER = 4194304; // 0x400000
2145    field public static final int MATCH_FACTORY_ONLY = 2097152; // 0x200000
2146    field public static final int MATCH_INSTANT = 8388608; // 0x800000
2147    field public static final int MODULE_APEX_NAME = 1; // 0x1
2148    field public static final int RESTRICTION_HIDE_FROM_SUGGESTIONS = 1; // 0x1
2149    field public static final int RESTRICTION_HIDE_NOTIFICATIONS = 2; // 0x2
2150    field public static final int RESTRICTION_NONE = 0; // 0x0
2151  }
2152
2153  public abstract static class PackageManager.DexModuleRegisterCallback {
2154    ctor public PackageManager.DexModuleRegisterCallback();
2155    method public abstract void onDexModuleRegistered(String, boolean, String);
2156  }
2157
2158  public static interface PackageManager.OnPermissionsChangedListener {
2159    method public void onPermissionsChanged(int);
2160  }
2161
2162  @IntDef(prefix={"FLAG_PERMISSION_"}, value={android.content.pm.PackageManager.FLAG_PERMISSION_USER_SET, android.content.pm.PackageManager.FLAG_PERMISSION_USER_FIXED, android.content.pm.PackageManager.FLAG_PERMISSION_POLICY_FIXED, android.content.pm.PackageManager.FLAG_PERMISSION_REVOKE_ON_UPGRADE, android.content.pm.PackageManager.FLAG_PERMISSION_SYSTEM_FIXED, android.content.pm.PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT, android.content.pm.PackageManager.FLAG_PERMISSION_USER_SENSITIVE_WHEN_GRANTED, android.content.pm.PackageManager.FLAG_PERMISSION_USER_SENSITIVE_WHEN_DENIED, android.content.pm.PackageManager.FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT, android.content.pm.PackageManager.FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT, android.content.pm.PackageManager.FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT, android.content.pm.PackageManager.FLAG_PERMISSION_APPLY_RESTRICTION, android.content.pm.PackageManager.FLAG_PERMISSION_GRANTED_BY_ROLE, android.content.pm.PackageManager.FLAG_PERMISSION_REVOKED_COMPAT, android.content.pm.PackageManager.FLAG_PERMISSION_ONE_TIME, android.content.pm.PackageManager.FLAG_PERMISSION_AUTO_REVOKED}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface PackageManager.PermissionFlags {
2163  }
2164
2165  public class PermissionGroupInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
2166    field @StringRes public final int backgroundRequestDetailResourceId;
2167    field @StringRes public final int backgroundRequestResourceId;
2168    field @StringRes public final int requestDetailResourceId;
2169    field @StringRes public int requestRes;
2170  }
2171
2172  public class PermissionInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
2173    field public static final int FLAG_REMOVED = 2; // 0x2
2174    field public static final int PROTECTION_FLAG_APP_PREDICTOR = 2097152; // 0x200000
2175    field public static final int PROTECTION_FLAG_COMPANION = 8388608; // 0x800000
2176    field public static final int PROTECTION_FLAG_CONFIGURATOR = 524288; // 0x80000
2177    field public static final int PROTECTION_FLAG_DOCUMENTER = 262144; // 0x40000
2178    field public static final int PROTECTION_FLAG_INCIDENT_REPORT_APPROVER = 1048576; // 0x100000
2179    field public static final int PROTECTION_FLAG_OEM = 16384; // 0x4000
2180    field public static final int PROTECTION_FLAG_RETAIL_DEMO = 16777216; // 0x1000000
2181    field public static final int PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER = 65536; // 0x10000
2182    field public static final int PROTECTION_FLAG_WELLBEING = 131072; // 0x20000
2183    field @Nullable public final String backgroundPermission;
2184    field @StringRes public int requestRes;
2185  }
2186
2187  public class ResolveInfo implements android.os.Parcelable {
2188    field public boolean handleAllWebDataURI;
2189  }
2190
2191  public final class ShortcutInfo implements android.os.Parcelable {
2192    method @Nullable public android.app.Person[] getPersons();
2193  }
2194
2195  public class ShortcutManager {
2196    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_PREDICTIONS) public java.util.List<android.content.pm.ShortcutManager.ShareShortcutInfo> getShareTargets(@NonNull android.content.IntentFilter);
2197    method public boolean hasShareTargets(@NonNull String);
2198  }
2199
2200  public static final class ShortcutManager.ShareShortcutInfo implements android.os.Parcelable {
2201    method public int describeContents();
2202    method @NonNull public android.content.pm.ShortcutInfo getShortcutInfo();
2203    method @NonNull public android.content.ComponentName getTargetComponent();
2204    method public void writeToParcel(@NonNull android.os.Parcel, int);
2205    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.ShortcutManager.ShareShortcutInfo> CREATOR;
2206  }
2207
2208  public final class SuspendDialogInfo implements android.os.Parcelable {
2209    method public int describeContents();
2210    method public void writeToParcel(android.os.Parcel, int);
2211    field public static final int BUTTON_ACTION_MORE_DETAILS = 0; // 0x0
2212    field public static final int BUTTON_ACTION_UNSUSPEND = 1; // 0x1
2213    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.SuspendDialogInfo> CREATOR;
2214  }
2215
2216  public static final class SuspendDialogInfo.Builder {
2217    ctor public SuspendDialogInfo.Builder();
2218    method @NonNull public android.content.pm.SuspendDialogInfo build();
2219    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setIcon(@DrawableRes int);
2220    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setMessage(@NonNull String);
2221    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setMessage(@StringRes int);
2222    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setNeutralButtonAction(int);
2223    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setNeutralButtonText(@StringRes int);
2224    method @NonNull public android.content.pm.SuspendDialogInfo.Builder setTitle(@StringRes int);
2225  }
2226
2227}
2228
2229package android.content.pm.dex {
2230
2231  public class ArtManager {
2232    method @RequiresPermission(allOf={android.Manifest.permission.READ_RUNTIME_PROFILES, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean isRuntimeProfilingEnabled(int);
2233    method @RequiresPermission(allOf={android.Manifest.permission.READ_RUNTIME_PROFILES, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void snapshotRuntimeProfile(int, @Nullable String, @Nullable String, @NonNull java.util.concurrent.Executor, @NonNull android.content.pm.dex.ArtManager.SnapshotRuntimeProfileCallback);
2234    field public static final int PROFILE_APPS = 0; // 0x0
2235    field public static final int PROFILE_BOOT_IMAGE = 1; // 0x1
2236    field public static final int SNAPSHOT_FAILED_CODE_PATH_NOT_FOUND = 1; // 0x1
2237    field public static final int SNAPSHOT_FAILED_INTERNAL_ERROR = 2; // 0x2
2238    field public static final int SNAPSHOT_FAILED_PACKAGE_NOT_FOUND = 0; // 0x0
2239  }
2240
2241  public abstract static class ArtManager.SnapshotRuntimeProfileCallback {
2242    ctor public ArtManager.SnapshotRuntimeProfileCallback();
2243    method public abstract void onError(int);
2244    method public abstract void onSuccess(android.os.ParcelFileDescriptor);
2245  }
2246
2247}
2248
2249package android.content.pm.permission {
2250
2251  @Deprecated public final class RuntimePermissionPresentationInfo implements android.os.Parcelable {
2252    ctor @Deprecated public RuntimePermissionPresentationInfo(CharSequence, boolean, boolean);
2253    method @Deprecated public int describeContents();
2254    method @Deprecated @NonNull public CharSequence getLabel();
2255    method @Deprecated public boolean isGranted();
2256    method @Deprecated public boolean isStandard();
2257    method @Deprecated public void writeToParcel(android.os.Parcel, int);
2258    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.content.pm.permission.RuntimePermissionPresentationInfo> CREATOR;
2259  }
2260
2261}
2262
2263package android.content.rollback {
2264
2265  public final class PackageRollbackInfo implements android.os.Parcelable {
2266    method public int describeContents();
2267    method @NonNull public String getPackageName();
2268    method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackFrom();
2269    method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackTo();
2270    method public void writeToParcel(android.os.Parcel, int);
2271    field @NonNull public static final android.os.Parcelable.Creator<android.content.rollback.PackageRollbackInfo> CREATOR;
2272  }
2273
2274  public final class RollbackInfo implements android.os.Parcelable {
2275    method public int describeContents();
2276    method @NonNull public java.util.List<android.content.pm.VersionedPackage> getCausePackages();
2277    method public int getCommittedSessionId();
2278    method @NonNull public java.util.List<android.content.rollback.PackageRollbackInfo> getPackages();
2279    method public int getRollbackId();
2280    method public boolean isStaged();
2281    method public void writeToParcel(android.os.Parcel, int);
2282    field @NonNull public static final android.os.Parcelable.Creator<android.content.rollback.RollbackInfo> CREATOR;
2283  }
2284
2285  public final class RollbackManager {
2286    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) public void commitRollback(int, @NonNull java.util.List<android.content.pm.VersionedPackage>, @NonNull android.content.IntentSender);
2287    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) public java.util.List<android.content.rollback.RollbackInfo> getAvailableRollbacks();
2288    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) public java.util.List<android.content.rollback.RollbackInfo> getRecentlyCommittedRollbacks();
2289    field public static final String EXTRA_STATUS = "android.content.rollback.extra.STATUS";
2290    field public static final String EXTRA_STATUS_MESSAGE = "android.content.rollback.extra.STATUS_MESSAGE";
2291    field public static final int STATUS_FAILURE = 1; // 0x1
2292    field public static final int STATUS_FAILURE_INSTALL = 3; // 0x3
2293    field public static final int STATUS_FAILURE_ROLLBACK_UNAVAILABLE = 2; // 0x2
2294    field public static final int STATUS_SUCCESS = 0; // 0x0
2295  }
2296
2297}
2298
2299package android.debug {
2300
2301  public class AdbManager {
2302    method @RequiresPermission(android.Manifest.permission.MANAGE_DEBUGGING) public boolean isAdbWifiQrSupported();
2303    method @RequiresPermission(android.Manifest.permission.MANAGE_DEBUGGING) public boolean isAdbWifiSupported();
2304  }
2305
2306}
2307
2308package android.hardware {
2309
2310  public final class Sensor {
2311    method public java.util.UUID getUuid();
2312    method public boolean isDataInjectionSupported();
2313    field public static final String STRING_TYPE_DYNAMIC_SENSOR_META = "android.sensor.dynamic_sensor_meta";
2314    field public static final String STRING_TYPE_WRIST_TILT_GESTURE = "android.sensor.wrist_tilt_gesture";
2315    field public static final int TYPE_DYNAMIC_SENSOR_META = 32; // 0x20
2316    field public static final int TYPE_WRIST_TILT_GESTURE = 26; // 0x1a
2317  }
2318
2319  public abstract class SensorManager {
2320    method public boolean initDataInjection(boolean);
2321    method public boolean injectSensorData(android.hardware.Sensor, float[], int, long);
2322  }
2323
2324}
2325
2326package android.hardware.biometrics {
2327
2328  public static interface BiometricManager.Authenticators {
2329    field @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static final int BIOMETRIC_CONVENIENCE = 4095; // 0xfff
2330    field @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static final int EMPTY_SET = 0; // 0x0
2331  }
2332
2333}
2334
2335package android.hardware.camera2 {
2336
2337  public abstract class CameraDevice implements java.lang.AutoCloseable {
2338    method @Deprecated public abstract void createCustomCaptureSession(android.hardware.camera2.params.InputConfiguration, @NonNull java.util.List<android.hardware.camera2.params.OutputConfiguration>, int, @NonNull android.hardware.camera2.CameraCaptureSession.StateCallback, @Nullable android.os.Handler) throws android.hardware.camera2.CameraAccessException;
2339    field public static final int SESSION_OPERATION_MODE_CONSTRAINED_HIGH_SPEED = 1; // 0x1
2340    field public static final int SESSION_OPERATION_MODE_NORMAL = 0; // 0x0
2341    field public static final int SESSION_OPERATION_MODE_VENDOR_START = 32768; // 0x8000
2342  }
2343
2344}
2345
2346package android.hardware.camera2.params {
2347
2348  public final class OutputConfiguration implements android.os.Parcelable {
2349    ctor public OutputConfiguration(@NonNull android.view.Surface, int);
2350    ctor public OutputConfiguration(int, @NonNull android.view.Surface, int);
2351    method public int getRotation();
2352    field public static final int ROTATION_0 = 0; // 0x0
2353    field public static final int ROTATION_180 = 2; // 0x2
2354    field public static final int ROTATION_270 = 3; // 0x3
2355    field public static final int ROTATION_90 = 1; // 0x1
2356  }
2357
2358}
2359
2360package android.hardware.display {
2361
2362  public final class AmbientBrightnessDayStats implements android.os.Parcelable {
2363    method public int describeContents();
2364    method public float[] getBucketBoundaries();
2365    method public java.time.LocalDate getLocalDate();
2366    method public float[] getStats();
2367    method public void writeToParcel(android.os.Parcel, int);
2368    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.AmbientBrightnessDayStats> CREATOR;
2369  }
2370
2371  public final class BrightnessChangeEvent implements android.os.Parcelable {
2372    method public int describeContents();
2373    method public void writeToParcel(android.os.Parcel, int);
2374    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessChangeEvent> CREATOR;
2375    field public final float batteryLevel;
2376    field public final float brightness;
2377    field public final long colorSampleDuration;
2378    field public final int colorTemperature;
2379    field @Nullable public final long[] colorValueBuckets;
2380    field public final boolean isDefaultBrightnessConfig;
2381    field public final boolean isUserSetBrightness;
2382    field public final float lastBrightness;
2383    field public final long[] luxTimestamps;
2384    field public final float[] luxValues;
2385    field public final boolean nightMode;
2386    field public final String packageName;
2387    field public final float powerBrightnessFactor;
2388    field public final long timeStamp;
2389  }
2390
2391  public final class BrightnessConfiguration implements android.os.Parcelable {
2392    method public int describeContents();
2393    method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByCategory(int);
2394    method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByPackageName(@NonNull String);
2395    method public android.util.Pair<float[],float[]> getCurve();
2396    method public float getShortTermModelLowerLuxMultiplier();
2397    method public long getShortTermModelTimeoutMillis();
2398    method public float getShortTermModelUpperLuxMultiplier();
2399    method public boolean shouldCollectColorSamples();
2400    method public void writeToParcel(android.os.Parcel, int);
2401    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessConfiguration> CREATOR;
2402    field public static final long SHORT_TERM_TIMEOUT_UNSET = -1L; // 0xffffffffffffffffL
2403  }
2404
2405  public static class BrightnessConfiguration.Builder {
2406    ctor public BrightnessConfiguration.Builder(float[], float[]);
2407    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByCategory(int, @NonNull android.hardware.display.BrightnessCorrection);
2408    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByPackageName(@NonNull String, @NonNull android.hardware.display.BrightnessCorrection);
2409    method @NonNull public android.hardware.display.BrightnessConfiguration build();
2410    method public int getMaxCorrectionsByCategory();
2411    method public int getMaxCorrectionsByPackageName();
2412    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setDescription(@Nullable String);
2413    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelLowerLuxMultiplier(@FloatRange(from=0.0f) float);
2414    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelTimeoutMillis(long);
2415    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelUpperLuxMultiplier(@FloatRange(from=0.0f) float);
2416    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShouldCollectColorSamples(boolean);
2417  }
2418
2419  public final class BrightnessCorrection implements android.os.Parcelable {
2420    method @FloatRange(from=0.0) public float apply(@FloatRange(from=0.0) float);
2421    method @NonNull public static android.hardware.display.BrightnessCorrection createScaleAndTranslateLog(float, float);
2422    method public int describeContents();
2423    method public void writeToParcel(android.os.Parcel, int);
2424    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessCorrection> CREATOR;
2425  }
2426
2427  public final class ColorDisplayManager {
2428    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public int getNightDisplayAutoMode();
2429    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public int getTransformCapabilities();
2430    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setAppSaturationLevel(@NonNull String, @IntRange(from=0, to=100) int);
2431    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayAutoMode(int);
2432    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayCustomEndTime(@NonNull java.time.LocalTime);
2433    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayCustomStartTime(@NonNull java.time.LocalTime);
2434    method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setSaturationLevel(@IntRange(from=0, to=100) int);
2435    field public static final int AUTO_MODE_CUSTOM_TIME = 1; // 0x1
2436    field public static final int AUTO_MODE_DISABLED = 0; // 0x0
2437    field public static final int AUTO_MODE_TWILIGHT = 2; // 0x2
2438    field public static final int CAPABILITY_HARDWARE_ACCELERATION_GLOBAL = 2; // 0x2
2439    field public static final int CAPABILITY_HARDWARE_ACCELERATION_PER_APP = 4; // 0x4
2440    field public static final int CAPABILITY_NONE = 0; // 0x0
2441    field public static final int CAPABILITY_PROTECTED_CONTENT = 1; // 0x1
2442  }
2443
2444  public final class DisplayManager {
2445    method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_LIGHT_STATS) public java.util.List<android.hardware.display.AmbientBrightnessDayStats> getAmbientBrightnessStats();
2446    method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getBrightnessConfiguration();
2447    method @RequiresPermission(android.Manifest.permission.BRIGHTNESS_SLIDER_USAGE) public java.util.List<android.hardware.display.BrightnessChangeEvent> getBrightnessEvents();
2448    method @Nullable @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getDefaultBrightnessConfiguration();
2449    method public android.util.Pair<float[],float[]> getMinimumBrightnessCurve();
2450    method public android.graphics.Point getStableDisplaySize();
2451    method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public void setBrightnessConfiguration(android.hardware.display.BrightnessConfiguration);
2452    method @Deprecated @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_SATURATION) public void setSaturationLevel(float);
2453  }
2454
2455}
2456
2457package android.hardware.hdmi {
2458
2459  public abstract class HdmiClient {
2460    method public android.hardware.hdmi.HdmiDeviceInfo getActiveSource();
2461    method public void sendKeyEvent(int, boolean);
2462    method public void sendVendorCommand(int, byte[], boolean);
2463    method public void setVendorCommandListener(@NonNull android.hardware.hdmi.HdmiControlManager.VendorCommandListener);
2464  }
2465
2466  public final class HdmiControlManager {
2467    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void addHotplugEventListener(android.hardware.hdmi.HdmiControlManager.HotplugEventListener);
2468    method @Nullable public android.hardware.hdmi.HdmiClient getClient(int);
2469    method @NonNull public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getConnectedDevices();
2470    method public int getPhysicalAddress();
2471    method @Nullable public android.hardware.hdmi.HdmiPlaybackClient getPlaybackClient();
2472    method @Nullable public android.hardware.hdmi.HdmiSwitchClient getSwitchClient();
2473    method @Nullable public android.hardware.hdmi.HdmiTvClient getTvClient();
2474    method public boolean isDeviceConnected(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
2475    method public void powerOffDevice(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
2476    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void removeHotplugEventListener(android.hardware.hdmi.HdmiControlManager.HotplugEventListener);
2477    method public void setActiveSource(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
2478    method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setStandbyMode(boolean);
2479    field public static final String ACTION_OSD_MESSAGE = "android.hardware.hdmi.action.OSD_MESSAGE";
2480    field public static final int AVR_VOLUME_MUTED = 101; // 0x65
2481    field public static final int CLEAR_TIMER_STATUS_CEC_DISABLE = 162; // 0xa2
2482    field public static final int CLEAR_TIMER_STATUS_CHECK_RECORDER_CONNECTION = 160; // 0xa0
2483    field public static final int CLEAR_TIMER_STATUS_FAIL_TO_CLEAR_SELECTED_SOURCE = 161; // 0xa1
2484    field public static final int CLEAR_TIMER_STATUS_TIMER_CLEARED = 128; // 0x80
2485    field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_NO_INFO_AVAILABLE = 2; // 0x2
2486    field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_NO_MATCHING = 1; // 0x1
2487    field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_RECORDING = 0; // 0x0
2488    field public static final int CONTROL_STATE_CHANGED_REASON_SETTING = 1; // 0x1
2489    field public static final int CONTROL_STATE_CHANGED_REASON_STANDBY = 3; // 0x3
2490    field public static final int CONTROL_STATE_CHANGED_REASON_START = 0; // 0x0
2491    field public static final int CONTROL_STATE_CHANGED_REASON_WAKEUP = 2; // 0x2
2492    field public static final int DEVICE_EVENT_ADD_DEVICE = 1; // 0x1
2493    field public static final int DEVICE_EVENT_REMOVE_DEVICE = 2; // 0x2
2494    field public static final int DEVICE_EVENT_UPDATE_DEVICE = 3; // 0x3
2495    field public static final String EXTRA_MESSAGE_EXTRA_PARAM1 = "android.hardware.hdmi.extra.MESSAGE_EXTRA_PARAM1";
2496    field public static final String EXTRA_MESSAGE_ID = "android.hardware.hdmi.extra.MESSAGE_ID";
2497    field public static final int ONE_TOUCH_RECORD_ALREADY_RECORDING = 18; // 0x12
2498    field public static final int ONE_TOUCH_RECORD_CEC_DISABLED = 51; // 0x33
2499    field public static final int ONE_TOUCH_RECORD_CHECK_RECORDER_CONNECTION = 49; // 0x31
2500    field public static final int ONE_TOUCH_RECORD_DISALLOW_TO_COPY = 13; // 0xd
2501    field public static final int ONE_TOUCH_RECORD_DISALLOW_TO_FUTHER_COPIES = 14; // 0xe
2502    field public static final int ONE_TOUCH_RECORD_FAIL_TO_RECORD_DISPLAYED_SCREEN = 50; // 0x32
2503    field public static final int ONE_TOUCH_RECORD_INVALID_EXTERNAL_PHYSICAL_ADDRESS = 10; // 0xa
2504    field public static final int ONE_TOUCH_RECORD_INVALID_EXTERNAL_PLUG_NUMBER = 9; // 0x9
2505    field public static final int ONE_TOUCH_RECORD_MEDIA_PROBLEM = 21; // 0x15
2506    field public static final int ONE_TOUCH_RECORD_MEDIA_PROTECTED = 19; // 0x13
2507    field public static final int ONE_TOUCH_RECORD_NOT_ENOUGH_SPACE = 22; // 0x16
2508    field public static final int ONE_TOUCH_RECORD_NO_MEDIA = 16; // 0x10
2509    field public static final int ONE_TOUCH_RECORD_NO_OR_INSUFFICIENT_CA_ENTITLEMENTS = 12; // 0xc
2510    field public static final int ONE_TOUCH_RECORD_NO_SOURCE_SIGNAL = 20; // 0x14
2511    field public static final int ONE_TOUCH_RECORD_OTHER_REASON = 31; // 0x1f
2512    field public static final int ONE_TOUCH_RECORD_PARENT_LOCK_ON = 23; // 0x17
2513    field public static final int ONE_TOUCH_RECORD_PLAYING = 17; // 0x11
2514    field public static final int ONE_TOUCH_RECORD_PREVIOUS_RECORDING_IN_PROGRESS = 48; // 0x30
2515    field public static final int ONE_TOUCH_RECORD_RECORDING_ALREADY_TERMINATED = 27; // 0x1b
2516    field public static final int ONE_TOUCH_RECORD_RECORDING_ANALOGUE_SERVICE = 3; // 0x3
2517    field public static final int ONE_TOUCH_RECORD_RECORDING_CURRENTLY_SELECTED_SOURCE = 1; // 0x1
2518    field public static final int ONE_TOUCH_RECORD_RECORDING_DIGITAL_SERVICE = 2; // 0x2
2519    field public static final int ONE_TOUCH_RECORD_RECORDING_EXTERNAL_INPUT = 4; // 0x4
2520    field public static final int ONE_TOUCH_RECORD_RECORDING_TERMINATED_NORMALLY = 26; // 0x1a
2521    field public static final int ONE_TOUCH_RECORD_UNABLE_ANALOGUE_SERVICE = 6; // 0x6
2522    field public static final int ONE_TOUCH_RECORD_UNABLE_DIGITAL_SERVICE = 5; // 0x5
2523    field public static final int ONE_TOUCH_RECORD_UNABLE_SELECTED_SERVICE = 7; // 0x7
2524    field public static final int ONE_TOUCH_RECORD_UNSUPPORTED_CA = 11; // 0xb
2525    field public static final int OSD_MESSAGE_ARC_CONNECTED_INVALID_PORT = 1; // 0x1
2526    field public static final int OSD_MESSAGE_AVR_VOLUME_CHANGED = 2; // 0x2
2527    field public static final int POWER_STATUS_ON = 0; // 0x0
2528    field public static final int POWER_STATUS_STANDBY = 1; // 0x1
2529    field public static final int POWER_STATUS_TRANSIENT_TO_ON = 2; // 0x2
2530    field public static final int POWER_STATUS_TRANSIENT_TO_STANDBY = 3; // 0x3
2531    field public static final int POWER_STATUS_UNKNOWN = -1; // 0xffffffff
2532    field @Deprecated public static final int RESULT_ALREADY_IN_PROGRESS = 4; // 0x4
2533    field public static final int RESULT_COMMUNICATION_FAILED = 7; // 0x7
2534    field public static final int RESULT_EXCEPTION = 5; // 0x5
2535    field public static final int RESULT_INCORRECT_MODE = 6; // 0x6
2536    field public static final int RESULT_SOURCE_NOT_AVAILABLE = 2; // 0x2
2537    field public static final int RESULT_SUCCESS = 0; // 0x0
2538    field public static final int RESULT_TARGET_NOT_AVAILABLE = 3; // 0x3
2539    field public static final int RESULT_TIMEOUT = 1; // 0x1
2540    field public static final int TIMER_RECORDING_RESULT_EXTRA_CEC_DISABLED = 3; // 0x3
2541    field public static final int TIMER_RECORDING_RESULT_EXTRA_CHECK_RECORDER_CONNECTION = 1; // 0x1
2542    field public static final int TIMER_RECORDING_RESULT_EXTRA_FAIL_TO_RECORD_SELECTED_SOURCE = 2; // 0x2
2543    field public static final int TIMER_RECORDING_RESULT_EXTRA_NO_ERROR = 0; // 0x0
2544    field public static final int TIMER_RECORDING_TYPE_ANALOGUE = 2; // 0x2
2545    field public static final int TIMER_RECORDING_TYPE_DIGITAL = 1; // 0x1
2546    field public static final int TIMER_RECORDING_TYPE_EXTERNAL = 3; // 0x3
2547    field public static final int TIMER_STATUS_MEDIA_INFO_NOT_PRESENT = 2; // 0x2
2548    field public static final int TIMER_STATUS_MEDIA_INFO_PRESENT_NOT_PROTECTED = 0; // 0x0
2549    field public static final int TIMER_STATUS_MEDIA_INFO_PRESENT_PROTECTED = 1; // 0x1
2550    field public static final int TIMER_STATUS_NOT_PROGRAMMED_CA_NOT_SUPPORTED = 6; // 0x6
2551    field public static final int TIMER_STATUS_NOT_PROGRAMMED_CLOCK_FAILURE = 10; // 0xa
2552    field public static final int TIMER_STATUS_NOT_PROGRAMMED_DATE_OUT_OF_RANGE = 2; // 0x2
2553    field public static final int TIMER_STATUS_NOT_PROGRAMMED_DUPLICATED = 14; // 0xe
2554    field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_EXTERNAL_PHYSICAL_NUMBER = 5; // 0x5
2555    field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_EXTERNAL_PLUG_NUMBER = 4; // 0x4
2556    field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_SEQUENCE = 3; // 0x3
2557    field public static final int TIMER_STATUS_NOT_PROGRAMMED_NO_CA_ENTITLEMENTS = 7; // 0x7
2558    field public static final int TIMER_STATUS_NOT_PROGRAMMED_NO_FREE_TIME = 1; // 0x1
2559    field public static final int TIMER_STATUS_NOT_PROGRAMMED_PARENTAL_LOCK_ON = 9; // 0x9
2560    field public static final int TIMER_STATUS_NOT_PROGRAMMED_UNSUPPORTED_RESOLUTION = 8; // 0x8
2561    field public static final int TIMER_STATUS_PROGRAMMED_INFO_ENOUGH_SPACE = 8; // 0x8
2562    field public static final int TIMER_STATUS_PROGRAMMED_INFO_MIGHT_NOT_ENOUGH_SPACE = 11; // 0xb
2563    field public static final int TIMER_STATUS_PROGRAMMED_INFO_NOT_ENOUGH_SPACE = 9; // 0x9
2564    field public static final int TIMER_STATUS_PROGRAMMED_INFO_NO_MEDIA_INFO = 10; // 0xa
2565  }
2566
2567  @IntDef({android.hardware.hdmi.HdmiControlManager.RESULT_SUCCESS, android.hardware.hdmi.HdmiControlManager.RESULT_TIMEOUT, android.hardware.hdmi.HdmiControlManager.RESULT_SOURCE_NOT_AVAILABLE, android.hardware.hdmi.HdmiControlManager.RESULT_TARGET_NOT_AVAILABLE, android.hardware.hdmi.HdmiControlManager.RESULT_ALREADY_IN_PROGRESS, android.hardware.hdmi.HdmiControlManager.RESULT_EXCEPTION, android.hardware.hdmi.HdmiControlManager.RESULT_INCORRECT_MODE, android.hardware.hdmi.HdmiControlManager.RESULT_COMMUNICATION_FAILED}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public static @interface HdmiControlManager.ControlCallbackResult {
2568  }
2569
2570  public static interface HdmiControlManager.HotplugEventListener {
2571    method public void onReceived(android.hardware.hdmi.HdmiHotplugEvent);
2572  }
2573
2574  public static interface HdmiControlManager.VendorCommandListener {
2575    method public void onControlStateChanged(boolean, int);
2576    method public void onReceived(int, int, byte[], boolean);
2577  }
2578
2579  public class HdmiDeviceInfo implements android.os.Parcelable {
2580    ctor public HdmiDeviceInfo();
2581    method public int describeContents();
2582    method public int getAdopterId();
2583    method public int getDeviceId();
2584    method public int getDevicePowerStatus();
2585    method public int getDeviceType();
2586    method public String getDisplayName();
2587    method public int getId();
2588    method public int getLogicalAddress();
2589    method public int getPhysicalAddress();
2590    method public int getPortId();
2591    method public int getVendorId();
2592    method public static int idForCecDevice(int);
2593    method public static int idForHardware(int);
2594    method public static int idForMhlDevice(int);
2595    method public boolean isCecDevice();
2596    method public boolean isInactivated();
2597    method public boolean isMhlDevice();
2598    method public boolean isSourceType();
2599    method public void writeToParcel(android.os.Parcel, int);
2600    field public static final int ADDR_INTERNAL = 0; // 0x0
2601    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiDeviceInfo> CREATOR;
2602    field public static final int DEVICE_AUDIO_SYSTEM = 5; // 0x5
2603    field public static final int DEVICE_INACTIVE = -1; // 0xffffffff
2604    field public static final int DEVICE_PLAYBACK = 4; // 0x4
2605    field public static final int DEVICE_RECORDER = 1; // 0x1
2606    field public static final int DEVICE_RESERVED = 2; // 0x2
2607    field public static final int DEVICE_TUNER = 3; // 0x3
2608    field public static final int DEVICE_TV = 0; // 0x0
2609    field public static final int ID_INVALID = 65535; // 0xffff
2610    field public static final android.hardware.hdmi.HdmiDeviceInfo INACTIVE_DEVICE;
2611    field public static final int PATH_INTERNAL = 0; // 0x0
2612    field public static final int PATH_INVALID = 65535; // 0xffff
2613    field public static final int PORT_INVALID = -1; // 0xffffffff
2614  }
2615
2616  public final class HdmiHotplugEvent implements android.os.Parcelable {
2617    method public int describeContents();
2618    method public int getPort();
2619    method public boolean isConnected();
2620    method public void writeToParcel(android.os.Parcel, int);
2621    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiHotplugEvent> CREATOR;
2622  }
2623
2624  public final class HdmiPlaybackClient extends android.hardware.hdmi.HdmiClient {
2625    method public int getDeviceType();
2626    method public void oneTouchPlay(android.hardware.hdmi.HdmiPlaybackClient.OneTouchPlayCallback);
2627    method public void queryDisplayStatus(android.hardware.hdmi.HdmiPlaybackClient.DisplayStatusCallback);
2628    method public void sendStandby();
2629  }
2630
2631  public static interface HdmiPlaybackClient.DisplayStatusCallback {
2632    method public void onComplete(int);
2633  }
2634
2635  public static interface HdmiPlaybackClient.OneTouchPlayCallback {
2636    method public void onComplete(int);
2637  }
2638
2639  public final class HdmiPortInfo implements android.os.Parcelable {
2640    ctor public HdmiPortInfo(int, int, int, boolean, boolean, boolean);
2641    method public int describeContents();
2642    method public int getAddress();
2643    method public int getId();
2644    method public int getType();
2645    method public boolean isArcSupported();
2646    method public boolean isCecSupported();
2647    method public boolean isMhlSupported();
2648    method public void writeToParcel(android.os.Parcel, int);
2649    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiPortInfo> CREATOR;
2650    field public static final int PORT_INPUT = 0; // 0x0
2651    field public static final int PORT_OUTPUT = 1; // 0x1
2652  }
2653
2654  public abstract class HdmiRecordListener {
2655    ctor public HdmiRecordListener();
2656    method public void onClearTimerRecordingResult(int, int);
2657    method public void onOneTouchRecordResult(int, int);
2658    method public abstract android.hardware.hdmi.HdmiRecordSources.RecordSource onOneTouchRecordSourceRequested(int);
2659    method public void onTimerRecordingResult(int, android.hardware.hdmi.HdmiRecordListener.TimerStatusData);
2660  }
2661
2662  public static class HdmiRecordListener.TimerStatusData {
2663    method public int getDurationHour();
2664    method public int getDurationMinute();
2665    method public int getExtraError();
2666    method public int getMediaInfo();
2667    method public int getNotProgammedError();
2668    method public int getProgrammedInfo();
2669    method public boolean isOverlapped();
2670    method public boolean isProgrammed();
2671  }
2672
2673  public final class HdmiRecordSources {
2674    method public static boolean checkRecordSource(byte[]);
2675    method public static android.hardware.hdmi.HdmiRecordSources.OwnSource ofOwnSource();
2676  }
2677
2678  public static final class HdmiRecordSources.AnalogueServiceSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource {
2679  }
2680
2681  public static final class HdmiRecordSources.DigitalServiceSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource {
2682  }
2683
2684  public static final class HdmiRecordSources.ExternalPhysicalAddress extends android.hardware.hdmi.HdmiRecordSources.RecordSource {
2685  }
2686
2687  public static final class HdmiRecordSources.ExternalPlugData extends android.hardware.hdmi.HdmiRecordSources.RecordSource {
2688  }
2689
2690  public static final class HdmiRecordSources.OwnSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource {
2691  }
2692
2693  public abstract static class HdmiRecordSources.RecordSource {
2694  }
2695
2696  public class HdmiSwitchClient extends android.hardware.hdmi.HdmiClient {
2697    method public int getDeviceType();
2698    method @NonNull public java.util.List<android.hardware.hdmi.HdmiPortInfo> getPortInfo();
2699    method public void selectPort(int, @NonNull android.hardware.hdmi.HdmiSwitchClient.OnSelectListener);
2700    method public void selectPort(int, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.hdmi.HdmiSwitchClient.OnSelectListener);
2701  }
2702
2703  public static interface HdmiSwitchClient.OnSelectListener {
2704    method public void onSelect(@android.hardware.hdmi.HdmiControlManager.ControlCallbackResult int);
2705  }
2706
2707  public class HdmiTimerRecordSources {
2708    method public static boolean checkTimerRecordSource(int, byte[]);
2709    method public static android.hardware.hdmi.HdmiTimerRecordSources.Duration durationOf(int, int);
2710    method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofAnalogueSource(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.AnalogueServiceSource);
2711    method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofDigitalSource(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.DigitalServiceSource);
2712    method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofExternalPhysicalAddress(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.ExternalPhysicalAddress);
2713    method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofExternalPlug(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.ExternalPlugData);
2714    method public static android.hardware.hdmi.HdmiTimerRecordSources.Time timeOf(int, int);
2715    method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo timerInfoOf(int, int, android.hardware.hdmi.HdmiTimerRecordSources.Time, android.hardware.hdmi.HdmiTimerRecordSources.Duration, int);
2716    field public static final int RECORDING_SEQUENCE_REPEAT_FRIDAY = 32; // 0x20
2717    field public static final int RECORDING_SEQUENCE_REPEAT_MONDAY = 2; // 0x2
2718    field public static final int RECORDING_SEQUENCE_REPEAT_ONCE_ONLY = 0; // 0x0
2719    field public static final int RECORDING_SEQUENCE_REPEAT_SATUREDAY = 64; // 0x40
2720    field public static final int RECORDING_SEQUENCE_REPEAT_SUNDAY = 1; // 0x1
2721    field public static final int RECORDING_SEQUENCE_REPEAT_THURSDAY = 16; // 0x10
2722    field public static final int RECORDING_SEQUENCE_REPEAT_TUESDAY = 4; // 0x4
2723    field public static final int RECORDING_SEQUENCE_REPEAT_WEDNESDAY = 8; // 0x8
2724  }
2725
2726  public static final class HdmiTimerRecordSources.Duration {
2727  }
2728
2729  public static final class HdmiTimerRecordSources.Time {
2730  }
2731
2732  public static final class HdmiTimerRecordSources.TimerInfo {
2733  }
2734
2735  public static final class HdmiTimerRecordSources.TimerRecordSource {
2736  }
2737
2738  public final class HdmiTvClient extends android.hardware.hdmi.HdmiClient {
2739    method public void clearTimerRecording(int, int, android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource);
2740    method public void deviceSelect(int, @NonNull android.hardware.hdmi.HdmiTvClient.SelectCallback);
2741    method public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getDeviceList();
2742    method public int getDeviceType();
2743    method public void portSelect(int, @NonNull android.hardware.hdmi.HdmiTvClient.SelectCallback);
2744    method public void sendMhlVendorCommand(int, int, int, byte[]);
2745    method public void sendStandby(int);
2746    method public void setHdmiMhlVendorCommandListener(android.hardware.hdmi.HdmiTvClient.HdmiMhlVendorCommandListener);
2747    method public void setInputChangeListener(android.hardware.hdmi.HdmiTvClient.InputChangeListener);
2748    method public void setRecordListener(@NonNull android.hardware.hdmi.HdmiRecordListener);
2749    method public void setSystemAudioMode(boolean, android.hardware.hdmi.HdmiTvClient.SelectCallback);
2750    method public void setSystemAudioMute(boolean);
2751    method public void setSystemAudioVolume(int, int, int);
2752    method public void startOneTouchRecord(int, @NonNull android.hardware.hdmi.HdmiRecordSources.RecordSource);
2753    method public void startTimerRecording(int, int, android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource);
2754    method public void stopOneTouchRecord(int);
2755    field public static final int VENDOR_DATA_SIZE = 16; // 0x10
2756  }
2757
2758  public static interface HdmiTvClient.HdmiMhlVendorCommandListener {
2759    method public void onReceived(int, int, int, byte[]);
2760  }
2761
2762  public static interface HdmiTvClient.InputChangeListener {
2763    method public void onChanged(android.hardware.hdmi.HdmiDeviceInfo);
2764  }
2765
2766  public static interface HdmiTvClient.SelectCallback {
2767    method public void onComplete(int);
2768  }
2769
2770}
2771
2772package android.hardware.lights {
2773
2774  public final class Light implements android.os.Parcelable {
2775    method public int describeContents();
2776    method public int getId();
2777    method public int getOrdinal();
2778    method public int getType();
2779    method public void writeToParcel(@NonNull android.os.Parcel, int);
2780    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.lights.Light> CREATOR;
2781  }
2782
2783  public final class LightState implements android.os.Parcelable {
2784    ctor public LightState(@ColorInt int);
2785    method public int describeContents();
2786    method @ColorInt public int getColor();
2787    method public void writeToParcel(@NonNull android.os.Parcel, int);
2788    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.lights.LightState> CREATOR;
2789  }
2790
2791  public final class LightsManager {
2792    method @NonNull @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public java.util.List<android.hardware.lights.Light> getLights();
2793    method @NonNull @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public android.hardware.lights.LightsManager.LightsSession openSession();
2794    field public static final int LIGHT_TYPE_MICROPHONE = 8; // 0x8
2795  }
2796
2797  public final class LightsManager.LightsSession implements java.lang.AutoCloseable {
2798    method @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public void close();
2799    method @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public void requestLights(@NonNull android.hardware.lights.LightsRequest);
2800  }
2801
2802  public final class LightsRequest {
2803  }
2804
2805  public static final class LightsRequest.Builder {
2806    ctor public LightsRequest.Builder();
2807    method @NonNull public android.hardware.lights.LightsRequest build();
2808    method @NonNull public android.hardware.lights.LightsRequest.Builder clearLight(@NonNull android.hardware.lights.Light);
2809    method @NonNull public android.hardware.lights.LightsRequest.Builder setLight(@NonNull android.hardware.lights.Light, @NonNull android.hardware.lights.LightState);
2810  }
2811
2812}
2813
2814package android.hardware.location {
2815
2816  public class ContextHubClient implements java.io.Closeable {
2817    method public void close();
2818    method @NonNull public android.hardware.location.ContextHubInfo getAttachedHub();
2819    method @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public int sendMessageToNanoApp(@NonNull android.hardware.location.NanoAppMessage);
2820  }
2821
2822  public class ContextHubClientCallback {
2823    ctor public ContextHubClientCallback();
2824    method public void onHubReset(android.hardware.location.ContextHubClient);
2825    method public void onMessageFromNanoApp(android.hardware.location.ContextHubClient, android.hardware.location.NanoAppMessage);
2826    method public void onNanoAppAborted(android.hardware.location.ContextHubClient, long, int);
2827    method public void onNanoAppDisabled(android.hardware.location.ContextHubClient, long);
2828    method public void onNanoAppEnabled(android.hardware.location.ContextHubClient, long);
2829    method public void onNanoAppLoaded(android.hardware.location.ContextHubClient, long);
2830    method public void onNanoAppUnloaded(android.hardware.location.ContextHubClient, long);
2831  }
2832
2833  public class ContextHubInfo implements android.os.Parcelable {
2834    ctor public ContextHubInfo();
2835    method public int describeContents();
2836    method public byte getChreApiMajorVersion();
2837    method public byte getChreApiMinorVersion();
2838    method public short getChrePatchVersion();
2839    method public long getChrePlatformId();
2840    method public int getId();
2841    method public int getMaxPacketLengthBytes();
2842    method public android.hardware.location.MemoryRegion[] getMemoryRegions();
2843    method public String getName();
2844    method public float getPeakMips();
2845    method public float getPeakPowerDrawMw();
2846    method public int getPlatformVersion();
2847    method public float getSleepPowerDrawMw();
2848    method public int getStaticSwVersion();
2849    method public float getStoppedPowerDrawMw();
2850    method public int[] getSupportedSensors();
2851    method public String getToolchain();
2852    method public int getToolchainVersion();
2853    method public String getVendor();
2854    method public void writeToParcel(android.os.Parcel, int);
2855    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.ContextHubInfo> CREATOR;
2856  }
2857
2858  public class ContextHubIntentEvent {
2859    method @NonNull public static android.hardware.location.ContextHubIntentEvent fromIntent(@NonNull android.content.Intent);
2860    method @NonNull public android.hardware.location.ContextHubInfo getContextHubInfo();
2861    method public int getEventType();
2862    method public int getNanoAppAbortCode();
2863    method public long getNanoAppId();
2864    method @NonNull public android.hardware.location.NanoAppMessage getNanoAppMessage();
2865  }
2866
2867  public final class ContextHubManager {
2868    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.ContextHubClientCallback, @NonNull java.util.concurrent.Executor);
2869    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.ContextHubClientCallback);
2870    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.app.PendingIntent, long);
2871    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.Void> disableNanoApp(@NonNull android.hardware.location.ContextHubInfo, long);
2872    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.Void> enableNanoApp(@NonNull android.hardware.location.ContextHubInfo, long);
2873    method @Deprecated @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public int[] findNanoAppOnHub(int, @NonNull android.hardware.location.NanoAppFilter);
2874    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public int[] getContextHubHandles();
2875    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubInfo getContextHubInfo(int);
2876    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public java.util.List<android.hardware.location.ContextHubInfo> getContextHubs();
2877    method @Deprecated @Nullable @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.NanoAppInstanceInfo getNanoAppInstanceInfo(int);
2878    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public int loadNanoApp(int, @NonNull android.hardware.location.NanoApp);
2879    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.Void> loadNanoApp(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.NanoAppBinary);
2880    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.util.List<android.hardware.location.NanoAppState>> queryNanoApps(@NonNull android.hardware.location.ContextHubInfo);
2881    method @Deprecated public int registerCallback(@NonNull android.hardware.location.ContextHubManager.Callback);
2882    method @Deprecated public int registerCallback(android.hardware.location.ContextHubManager.Callback, android.os.Handler);
2883    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public int sendMessage(int, int, @NonNull android.hardware.location.ContextHubMessage);
2884    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public int unloadNanoApp(int);
2885    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.Void> unloadNanoApp(@NonNull android.hardware.location.ContextHubInfo, long);
2886    method @Deprecated public int unregisterCallback(@NonNull android.hardware.location.ContextHubManager.Callback);
2887    field public static final int EVENT_HUB_RESET = 6; // 0x6
2888    field public static final int EVENT_NANOAPP_ABORTED = 4; // 0x4
2889    field public static final int EVENT_NANOAPP_DISABLED = 3; // 0x3
2890    field public static final int EVENT_NANOAPP_ENABLED = 2; // 0x2
2891    field public static final int EVENT_NANOAPP_LOADED = 0; // 0x0
2892    field public static final int EVENT_NANOAPP_MESSAGE = 5; // 0x5
2893    field public static final int EVENT_NANOAPP_UNLOADED = 1; // 0x1
2894    field public static final String EXTRA_CONTEXT_HUB_INFO = "android.hardware.location.extra.CONTEXT_HUB_INFO";
2895    field public static final String EXTRA_EVENT_TYPE = "android.hardware.location.extra.EVENT_TYPE";
2896    field public static final String EXTRA_MESSAGE = "android.hardware.location.extra.MESSAGE";
2897    field public static final String EXTRA_NANOAPP_ABORT_CODE = "android.hardware.location.extra.NANOAPP_ABORT_CODE";
2898    field public static final String EXTRA_NANOAPP_ID = "android.hardware.location.extra.NANOAPP_ID";
2899  }
2900
2901  @Deprecated public abstract static class ContextHubManager.Callback {
2902    ctor @Deprecated protected ContextHubManager.Callback();
2903    method @Deprecated public abstract void onMessageReceipt(int, int, @NonNull android.hardware.location.ContextHubMessage);
2904  }
2905
2906  @Deprecated public class ContextHubMessage implements android.os.Parcelable {
2907    ctor @Deprecated public ContextHubMessage(int, int, byte[]);
2908    method @Deprecated public int describeContents();
2909    method @Deprecated public byte[] getData();
2910    method @Deprecated public int getMsgType();
2911    method @Deprecated public int getVersion();
2912    method @Deprecated public void setMsgData(byte[]);
2913    method @Deprecated public void setMsgType(int);
2914    method @Deprecated public void setVersion(int);
2915    method @Deprecated public void writeToParcel(android.os.Parcel, int);
2916    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.ContextHubMessage> CREATOR;
2917  }
2918
2919  public class ContextHubTransaction<T> {
2920    method public int getType();
2921    method public void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnCompleteListener<T>, @NonNull java.util.concurrent.Executor);
2922    method public void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnCompleteListener<T>);
2923    method public static String typeToString(int, boolean);
2924    method public android.hardware.location.ContextHubTransaction.Response<T> waitForResponse(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException;
2925    field public static final int RESULT_FAILED_AT_HUB = 5; // 0x5
2926    field public static final int RESULT_FAILED_BAD_PARAMS = 2; // 0x2
2927    field public static final int RESULT_FAILED_BUSY = 4; // 0x4
2928    field public static final int RESULT_FAILED_HAL_UNAVAILABLE = 8; // 0x8
2929    field public static final int RESULT_FAILED_SERVICE_INTERNAL_FAILURE = 7; // 0x7
2930    field public static final int RESULT_FAILED_TIMEOUT = 6; // 0x6
2931    field public static final int RESULT_FAILED_UNINITIALIZED = 3; // 0x3
2932    field public static final int RESULT_FAILED_UNKNOWN = 1; // 0x1
2933    field public static final int RESULT_SUCCESS = 0; // 0x0
2934    field public static final int TYPE_DISABLE_NANOAPP = 3; // 0x3
2935    field public static final int TYPE_ENABLE_NANOAPP = 2; // 0x2
2936    field public static final int TYPE_LOAD_NANOAPP = 0; // 0x0
2937    field public static final int TYPE_QUERY_NANOAPPS = 4; // 0x4
2938    field public static final int TYPE_UNLOAD_NANOAPP = 1; // 0x1
2939  }
2940
2941  @java.lang.FunctionalInterface public static interface ContextHubTransaction.OnCompleteListener<L> {
2942    method public void onComplete(android.hardware.location.ContextHubTransaction<L>, android.hardware.location.ContextHubTransaction.Response<L>);
2943  }
2944
2945  public static class ContextHubTransaction.Response<R> {
2946    method public R getContents();
2947    method public int getResult();
2948  }
2949
2950  public final class GeofenceHardware {
2951    method public boolean addGeofence(int, int, android.hardware.location.GeofenceHardwareRequest, android.hardware.location.GeofenceHardwareCallback);
2952    method public int[] getMonitoringTypes();
2953    method public int getStatusOfMonitoringType(int);
2954    method public boolean pauseGeofence(int, int);
2955    method public boolean registerForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback);
2956    method public boolean removeGeofence(int, int);
2957    method public boolean resumeGeofence(int, int, int);
2958    method public boolean unregisterForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback);
2959    field public static final int GEOFENCE_ENTERED = 1; // 0x1
2960    field public static final int GEOFENCE_ERROR_ID_EXISTS = 2; // 0x2
2961    field public static final int GEOFENCE_ERROR_ID_UNKNOWN = 3; // 0x3
2962    field public static final int GEOFENCE_ERROR_INSUFFICIENT_MEMORY = 6; // 0x6
2963    field public static final int GEOFENCE_ERROR_INVALID_TRANSITION = 4; // 0x4
2964    field public static final int GEOFENCE_ERROR_TOO_MANY_GEOFENCES = 1; // 0x1
2965    field public static final int GEOFENCE_EXITED = 2; // 0x2
2966    field public static final int GEOFENCE_FAILURE = 5; // 0x5
2967    field public static final int GEOFENCE_SUCCESS = 0; // 0x0
2968    field public static final int GEOFENCE_UNCERTAIN = 4; // 0x4
2969    field public static final int MONITORING_TYPE_FUSED_HARDWARE = 1; // 0x1
2970    field public static final int MONITORING_TYPE_GPS_HARDWARE = 0; // 0x0
2971    field public static final int MONITOR_CURRENTLY_AVAILABLE = 0; // 0x0
2972    field public static final int MONITOR_CURRENTLY_UNAVAILABLE = 1; // 0x1
2973    field public static final int MONITOR_UNSUPPORTED = 2; // 0x2
2974    field public static final int SOURCE_TECHNOLOGY_BLUETOOTH = 16; // 0x10
2975    field public static final int SOURCE_TECHNOLOGY_CELL = 8; // 0x8
2976    field public static final int SOURCE_TECHNOLOGY_GNSS = 1; // 0x1
2977    field public static final int SOURCE_TECHNOLOGY_SENSORS = 4; // 0x4
2978    field public static final int SOURCE_TECHNOLOGY_WIFI = 2; // 0x2
2979  }
2980
2981  public abstract class GeofenceHardwareCallback {
2982    ctor public GeofenceHardwareCallback();
2983    method public void onGeofenceAdd(int, int);
2984    method public void onGeofencePause(int, int);
2985    method public void onGeofenceRemove(int, int);
2986    method public void onGeofenceResume(int, int);
2987    method public void onGeofenceTransition(int, int, android.location.Location, long, int);
2988  }
2989
2990  public abstract class GeofenceHardwareMonitorCallback {
2991    ctor public GeofenceHardwareMonitorCallback();
2992    method @Deprecated public void onMonitoringSystemChange(int, boolean, android.location.Location);
2993    method public void onMonitoringSystemChange(android.hardware.location.GeofenceHardwareMonitorEvent);
2994  }
2995
2996  public class GeofenceHardwareMonitorEvent implements android.os.Parcelable {
2997    ctor public GeofenceHardwareMonitorEvent(int, int, int, android.location.Location);
2998    method public int describeContents();
2999    method public android.location.Location getLocation();
3000    method public int getMonitoringStatus();
3001    method public int getMonitoringType();
3002    method public int getSourceTechnologies();
3003    method public void writeToParcel(android.os.Parcel, int);
3004    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.GeofenceHardwareMonitorEvent> CREATOR;
3005  }
3006
3007  public final class GeofenceHardwareRequest {
3008    ctor public GeofenceHardwareRequest();
3009    method public static android.hardware.location.GeofenceHardwareRequest createCircularGeofence(double, double, double);
3010    method public int getLastTransition();
3011    method public double getLatitude();
3012    method public double getLongitude();
3013    method public int getMonitorTransitions();
3014    method public int getNotificationResponsiveness();
3015    method public double getRadius();
3016    method public int getSourceTechnologies();
3017    method public int getUnknownTimer();
3018    method public void setLastTransition(int);
3019    method public void setMonitorTransitions(int);
3020    method public void setNotificationResponsiveness(int);
3021    method public void setSourceTechnologies(int);
3022    method public void setUnknownTimer(int);
3023  }
3024
3025  public class MemoryRegion implements android.os.Parcelable {
3026    ctor public MemoryRegion(android.os.Parcel);
3027    method public int describeContents();
3028    method public int getCapacityBytes();
3029    method public int getFreeCapacityBytes();
3030    method public boolean isExecutable();
3031    method public boolean isReadable();
3032    method public boolean isWritable();
3033    method public void writeToParcel(android.os.Parcel, int);
3034    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.MemoryRegion> CREATOR;
3035  }
3036
3037  @Deprecated public class NanoApp implements android.os.Parcelable {
3038    ctor @Deprecated public NanoApp();
3039    ctor @Deprecated public NanoApp(int, byte[]);
3040    ctor @Deprecated public NanoApp(long, byte[]);
3041    method @Deprecated public int describeContents();
3042    method @Deprecated public byte[] getAppBinary();
3043    method @Deprecated public long getAppId();
3044    method @Deprecated public int getAppVersion();
3045    method @Deprecated public String getName();
3046    method @Deprecated public int getNeededExecMemBytes();
3047    method @Deprecated public int getNeededReadMemBytes();
3048    method @Deprecated public int[] getNeededSensors();
3049    method @Deprecated public int getNeededWriteMemBytes();
3050    method @Deprecated public int[] getOutputEvents();
3051    method @Deprecated public String getPublisher();
3052    method @Deprecated public void setAppBinary(byte[]);
3053    method @Deprecated public void setAppId(long);
3054    method @Deprecated public void setAppVersion(int);
3055    method @Deprecated public void setName(String);
3056    method @Deprecated public void setNeededExecMemBytes(int);
3057    method @Deprecated public void setNeededReadMemBytes(int);
3058    method @Deprecated public void setNeededSensors(int[]);
3059    method @Deprecated public void setNeededWriteMemBytes(int);
3060    method @Deprecated public void setOutputEvents(int[]);
3061    method @Deprecated public void setPublisher(String);
3062    method @Deprecated public void writeToParcel(android.os.Parcel, int);
3063    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoApp> CREATOR;
3064  }
3065
3066  public final class NanoAppBinary implements android.os.Parcelable {
3067    ctor public NanoAppBinary(byte[]);
3068    method public int describeContents();
3069    method public byte[] getBinary();
3070    method public byte[] getBinaryNoHeader();
3071    method public int getFlags();
3072    method public int getHeaderVersion();
3073    method public long getHwHubType();
3074    method public long getNanoAppId();
3075    method public int getNanoAppVersion();
3076    method public byte getTargetChreApiMajorVersion();
3077    method public byte getTargetChreApiMinorVersion();
3078    method public boolean hasValidHeader();
3079    method public boolean isEncrypted();
3080    method public boolean isSigned();
3081    method public void writeToParcel(android.os.Parcel, int);
3082    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppBinary> CREATOR;
3083  }
3084
3085  @Deprecated public class NanoAppFilter implements android.os.Parcelable {
3086    ctor @Deprecated public NanoAppFilter(long, int, int, long);
3087    method @Deprecated public int describeContents();
3088    method @Deprecated public boolean testMatch(android.hardware.location.NanoAppInstanceInfo);
3089    method @Deprecated public void writeToParcel(android.os.Parcel, int);
3090    field @Deprecated public static final int APP_ANY = -1; // 0xffffffff
3091    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppFilter> CREATOR;
3092    field @Deprecated public static final int FLAGS_VERSION_ANY = -1; // 0xffffffff
3093    field @Deprecated public static final int FLAGS_VERSION_GREAT_THAN = 2; // 0x2
3094    field @Deprecated public static final int FLAGS_VERSION_LESS_THAN = 4; // 0x4
3095    field @Deprecated public static final int FLAGS_VERSION_STRICTLY_EQUAL = 8; // 0x8
3096    field @Deprecated public static final int HUB_ANY = -1; // 0xffffffff
3097    field @Deprecated public static final int VENDOR_ANY = -1; // 0xffffffff
3098  }
3099
3100  @Deprecated public class NanoAppInstanceInfo implements android.os.Parcelable {
3101    ctor @Deprecated public NanoAppInstanceInfo();
3102    method @Deprecated public int describeContents();
3103    method @Deprecated public long getAppId();
3104    method @Deprecated public int getAppVersion();
3105    method @Deprecated public int getContexthubId();
3106    method @Deprecated public int getHandle();
3107    method @Deprecated public String getName();
3108    method @Deprecated public int getNeededExecMemBytes();
3109    method @Deprecated public int getNeededReadMemBytes();
3110    method @Deprecated @NonNull public int[] getNeededSensors();
3111    method @Deprecated public int getNeededWriteMemBytes();
3112    method @Deprecated @NonNull public int[] getOutputEvents();
3113    method @Deprecated public String getPublisher();
3114    method @Deprecated public void writeToParcel(android.os.Parcel, int);
3115    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppInstanceInfo> CREATOR;
3116  }
3117
3118  public final class NanoAppMessage implements android.os.Parcelable {
3119    method public static android.hardware.location.NanoAppMessage createMessageFromNanoApp(long, int, byte[], boolean);
3120    method public static android.hardware.location.NanoAppMessage createMessageToNanoApp(long, int, byte[]);
3121    method public int describeContents();
3122    method public byte[] getMessageBody();
3123    method public int getMessageType();
3124    method public long getNanoAppId();
3125    method public boolean isBroadcastMessage();
3126    method public void writeToParcel(android.os.Parcel, int);
3127    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppMessage> CREATOR;
3128  }
3129
3130  public final class NanoAppState implements android.os.Parcelable {
3131    ctor public NanoAppState(long, int, boolean);
3132    method public int describeContents();
3133    method public long getNanoAppId();
3134    method public long getNanoAppVersion();
3135    method public boolean isEnabled();
3136    method public void writeToParcel(android.os.Parcel, int);
3137    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppState> CREATOR;
3138  }
3139
3140}
3141
3142package android.hardware.radio {
3143
3144  public final class Announcement implements android.os.Parcelable {
3145    method public int describeContents();
3146    method @NonNull public android.hardware.radio.ProgramSelector getSelector();
3147    method public int getType();
3148    method @NonNull public java.util.Map<java.lang.String,java.lang.String> getVendorInfo();
3149    method public void writeToParcel(android.os.Parcel, int);
3150    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.Announcement> CREATOR;
3151    field public static final int TYPE_EMERGENCY = 1; // 0x1
3152    field public static final int TYPE_EVENT = 6; // 0x6
3153    field public static final int TYPE_MISC = 8; // 0x8
3154    field public static final int TYPE_NEWS = 5; // 0x5
3155    field public static final int TYPE_SPORT = 7; // 0x7
3156    field public static final int TYPE_TRAFFIC = 3; // 0x3
3157    field public static final int TYPE_WARNING = 2; // 0x2
3158    field public static final int TYPE_WEATHER = 4; // 0x4
3159  }
3160
3161  public static interface Announcement.OnListUpdatedListener {
3162    method public void onListUpdated(java.util.Collection<android.hardware.radio.Announcement>);
3163  }
3164
3165  public final class ProgramList implements java.lang.AutoCloseable {
3166    method public void addOnCompleteListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.OnCompleteListener);
3167    method public void addOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnCompleteListener);
3168    method public void close();
3169    method @Nullable public android.hardware.radio.RadioManager.ProgramInfo get(@NonNull android.hardware.radio.ProgramSelector.Identifier);
3170    method public void registerListCallback(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.ListCallback);
3171    method public void registerListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback);
3172    method public void removeOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnCompleteListener);
3173    method @NonNull public java.util.List<android.hardware.radio.RadioManager.ProgramInfo> toList();
3174    method public void unregisterListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback);
3175  }
3176
3177  public static final class ProgramList.Filter implements android.os.Parcelable {
3178    ctor public ProgramList.Filter(@NonNull java.util.Set<java.lang.Integer>, @NonNull java.util.Set<android.hardware.radio.ProgramSelector.Identifier>, boolean, boolean);
3179    method public boolean areCategoriesIncluded();
3180    method public boolean areModificationsExcluded();
3181    method public int describeContents();
3182    method @NonNull public java.util.Set<java.lang.Integer> getIdentifierTypes();
3183    method @NonNull public java.util.Set<android.hardware.radio.ProgramSelector.Identifier> getIdentifiers();
3184    method public void writeToParcel(android.os.Parcel, int);
3185    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.ProgramList.Filter> CREATOR;
3186  }
3187
3188  public abstract static class ProgramList.ListCallback {
3189    ctor public ProgramList.ListCallback();
3190    method public void onItemChanged(@NonNull android.hardware.radio.ProgramSelector.Identifier);
3191    method public void onItemRemoved(@NonNull android.hardware.radio.ProgramSelector.Identifier);
3192  }
3193
3194  public static interface ProgramList.OnCompleteListener {
3195    method public void onComplete();
3196  }
3197
3198  public final class ProgramSelector implements android.os.Parcelable {
3199    ctor public ProgramSelector(@android.hardware.radio.ProgramSelector.ProgramType int, @NonNull android.hardware.radio.ProgramSelector.Identifier, @Nullable android.hardware.radio.ProgramSelector.Identifier[], @Nullable long[]);
3200    method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(@android.hardware.radio.RadioManager.Band int, int);
3201    method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(@android.hardware.radio.RadioManager.Band int, int, int);
3202    method public int describeContents();
3203    method @NonNull public android.hardware.radio.ProgramSelector.Identifier[] getAllIds(@android.hardware.radio.ProgramSelector.IdentifierType int);
3204    method public long getFirstId(@android.hardware.radio.ProgramSelector.IdentifierType int);
3205    method @NonNull public android.hardware.radio.ProgramSelector.Identifier getPrimaryId();
3206    method @Deprecated @android.hardware.radio.ProgramSelector.ProgramType public int getProgramType();
3207    method @NonNull public android.hardware.radio.ProgramSelector.Identifier[] getSecondaryIds();
3208    method @Deprecated @NonNull public long[] getVendorIds();
3209    method @NonNull public android.hardware.radio.ProgramSelector withSecondaryPreferred(@NonNull android.hardware.radio.ProgramSelector.Identifier);
3210    method public void writeToParcel(android.os.Parcel, int);
3211    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.ProgramSelector> CREATOR;
3212    field public static final int IDENTIFIER_TYPE_AMFM_FREQUENCY = 1; // 0x1
3213    field public static final int IDENTIFIER_TYPE_DAB_ENSEMBLE = 6; // 0x6
3214    field public static final int IDENTIFIER_TYPE_DAB_FREQUENCY = 8; // 0x8
3215    field public static final int IDENTIFIER_TYPE_DAB_SCID = 7; // 0x7
3216    field public static final int IDENTIFIER_TYPE_DAB_SIDECC = 5; // 0x5
3217    field public static final int IDENTIFIER_TYPE_DAB_SID_EXT = 5; // 0x5
3218    field public static final int IDENTIFIER_TYPE_DRMO_FREQUENCY = 10; // 0xa
3219    field @Deprecated public static final int IDENTIFIER_TYPE_DRMO_MODULATION = 11; // 0xb
3220    field public static final int IDENTIFIER_TYPE_DRMO_SERVICE_ID = 9; // 0x9
3221    field public static final int IDENTIFIER_TYPE_HD_STATION_ID_EXT = 3; // 0x3
3222    field public static final int IDENTIFIER_TYPE_HD_STATION_NAME = 10004; // 0x2714
3223    field @Deprecated public static final int IDENTIFIER_TYPE_HD_SUBCHANNEL = 4; // 0x4
3224    field public static final int IDENTIFIER_TYPE_INVALID = 0; // 0x0
3225    field public static final int IDENTIFIER_TYPE_RDS_PI = 2; // 0x2
3226    field public static final int IDENTIFIER_TYPE_SXM_CHANNEL = 13; // 0xd
3227    field public static final int IDENTIFIER_TYPE_SXM_SERVICE_ID = 12; // 0xc
3228    field public static final int IDENTIFIER_TYPE_VENDOR_END = 1999; // 0x7cf
3229    field @Deprecated public static final int IDENTIFIER_TYPE_VENDOR_PRIMARY_END = 1999; // 0x7cf
3230    field @Deprecated public static final int IDENTIFIER_TYPE_VENDOR_PRIMARY_START = 1000; // 0x3e8
3231    field public static final int IDENTIFIER_TYPE_VENDOR_START = 1000; // 0x3e8
3232    field @Deprecated public static final int PROGRAM_TYPE_AM = 1; // 0x1
3233    field @Deprecated public static final int PROGRAM_TYPE_AM_HD = 3; // 0x3
3234    field @Deprecated public static final int PROGRAM_TYPE_DAB = 5; // 0x5
3235    field @Deprecated public static final int PROGRAM_TYPE_DRMO = 6; // 0x6
3236    field @Deprecated public static final int PROGRAM_TYPE_FM = 2; // 0x2
3237    field @Deprecated public static final int PROGRAM_TYPE_FM_HD = 4; // 0x4
3238    field @Deprecated public static final int PROGRAM_TYPE_INVALID = 0; // 0x0
3239    field @Deprecated public static final int PROGRAM_TYPE_SXM = 7; // 0x7
3240    field @Deprecated public static final int PROGRAM_TYPE_VENDOR_END = 1999; // 0x7cf
3241    field @Deprecated public static final int PROGRAM_TYPE_VENDOR_START = 1000; // 0x3e8
3242  }
3243
3244  public static final class ProgramSelector.Identifier implements android.os.Parcelable {
3245    ctor public ProgramSelector.Identifier(@android.hardware.radio.ProgramSelector.IdentifierType int, long);
3246    method public int describeContents();
3247    method @android.hardware.radio.ProgramSelector.IdentifierType public int getType();
3248    method public long getValue();
3249    method public boolean isCategoryType();
3250    method public void writeToParcel(android.os.Parcel, int);
3251    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.ProgramSelector.Identifier> CREATOR;
3252  }
3253
3254  @IntDef(prefix={"IDENTIFIER_TYPE_"}, value={android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_INVALID, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_RDS_PI, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_HD_STATION_ID_EXT, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_HD_SUBCHANNEL, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_HD_STATION_NAME, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_SID_EXT, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_SIDECC, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_SCID, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_FREQUENCY, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DRMO_SERVICE_ID, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DRMO_FREQUENCY, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DRMO_MODULATION, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_SXM_SERVICE_ID, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_SXM_CHANNEL}) @IntRange(from=android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_VENDOR_START, to=android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_VENDOR_END) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface ProgramSelector.IdentifierType {
3255  }
3256
3257  @Deprecated @IntDef(prefix={"PROGRAM_TYPE_"}, value={android.hardware.radio.ProgramSelector.PROGRAM_TYPE_INVALID, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_AM, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_FM, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_AM_HD, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_FM_HD, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_DAB, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_DRMO, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_SXM}) @IntRange(from=android.hardware.radio.ProgramSelector.PROGRAM_TYPE_VENDOR_START, to=android.hardware.radio.ProgramSelector.PROGRAM_TYPE_VENDOR_END) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface ProgramSelector.ProgramType {
3258  }
3259
3260  public class RadioManager {
3261    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void addAnnouncementListener(@NonNull java.util.Set<java.lang.Integer>, @NonNull android.hardware.radio.Announcement.OnListUpdatedListener);
3262    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void addAnnouncementListener(@NonNull java.util.concurrent.Executor, @NonNull java.util.Set<java.lang.Integer>, @NonNull android.hardware.radio.Announcement.OnListUpdatedListener);
3263    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public int listModules(java.util.List<android.hardware.radio.RadioManager.ModuleProperties>);
3264    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public android.hardware.radio.RadioTuner openTuner(int, android.hardware.radio.RadioManager.BandConfig, boolean, android.hardware.radio.RadioTuner.Callback, android.os.Handler);
3265    method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void removeAnnouncementListener(@NonNull android.hardware.radio.Announcement.OnListUpdatedListener);
3266    field public static final int BAND_AM = 0; // 0x0
3267    field public static final int BAND_AM_HD = 3; // 0x3
3268    field public static final int BAND_FM = 1; // 0x1
3269    field public static final int BAND_FM_HD = 2; // 0x2
3270    field public static final int BAND_INVALID = -1; // 0xffffffff
3271    field public static final int CLASS_AM_FM = 0; // 0x0
3272    field public static final int CLASS_DT = 2; // 0x2
3273    field public static final int CLASS_SAT = 1; // 0x1
3274    field public static final int CONFIG_DAB_DAB_LINKING = 6; // 0x6
3275    field public static final int CONFIG_DAB_DAB_SOFT_LINKING = 8; // 0x8
3276    field public static final int CONFIG_DAB_FM_LINKING = 7; // 0x7
3277    field public static final int CONFIG_DAB_FM_SOFT_LINKING = 9; // 0x9
3278    field public static final int CONFIG_FORCE_ANALOG = 2; // 0x2
3279    field public static final int CONFIG_FORCE_DIGITAL = 3; // 0x3
3280    field public static final int CONFIG_FORCE_MONO = 1; // 0x1
3281    field public static final int CONFIG_RDS_AF = 4; // 0x4
3282    field public static final int CONFIG_RDS_REG = 5; // 0x5
3283    field public static final int REGION_ITU_1 = 0; // 0x0
3284    field public static final int REGION_ITU_2 = 1; // 0x1
3285    field public static final int REGION_JAPAN = 3; // 0x3
3286    field public static final int REGION_KOREA = 4; // 0x4
3287    field public static final int REGION_OIRT = 2; // 0x2
3288    field public static final int STATUS_BAD_VALUE = -22; // 0xffffffea
3289    field public static final int STATUS_DEAD_OBJECT = -32; // 0xffffffe0
3290    field public static final int STATUS_ERROR = -2147483648; // 0x80000000
3291    field public static final int STATUS_INVALID_OPERATION = -38; // 0xffffffda
3292    field public static final int STATUS_NO_INIT = -19; // 0xffffffed
3293    field public static final int STATUS_OK = 0; // 0x0
3294    field public static final int STATUS_PERMISSION_DENIED = -1; // 0xffffffff
3295    field public static final int STATUS_TIMED_OUT = -110; // 0xffffff92
3296  }
3297
3298  public static class RadioManager.AmBandConfig extends android.hardware.radio.RadioManager.BandConfig {
3299    method public boolean getStereo();
3300    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.AmBandConfig> CREATOR;
3301  }
3302
3303  public static class RadioManager.AmBandConfig.Builder {
3304    ctor public RadioManager.AmBandConfig.Builder(android.hardware.radio.RadioManager.AmBandDescriptor);
3305    ctor public RadioManager.AmBandConfig.Builder(android.hardware.radio.RadioManager.AmBandConfig);
3306    method public android.hardware.radio.RadioManager.AmBandConfig build();
3307    method public android.hardware.radio.RadioManager.AmBandConfig.Builder setStereo(boolean);
3308  }
3309
3310  public static class RadioManager.AmBandDescriptor extends android.hardware.radio.RadioManager.BandDescriptor {
3311    method public boolean isStereoSupported();
3312    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.AmBandDescriptor> CREATOR;
3313  }
3314
3315  @IntDef(prefix={"BAND_"}, value={android.hardware.radio.RadioManager.BAND_INVALID, android.hardware.radio.RadioManager.BAND_AM, android.hardware.radio.RadioManager.BAND_FM, android.hardware.radio.RadioManager.BAND_AM_HD, android.hardware.radio.RadioManager.BAND_FM_HD}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface RadioManager.Band {
3316  }
3317
3318  public static class RadioManager.BandConfig implements android.os.Parcelable {
3319    method public int describeContents();
3320    method public int getLowerLimit();
3321    method public int getRegion();
3322    method public int getSpacing();
3323    method public int getType();
3324    method public int getUpperLimit();
3325    method public void writeToParcel(android.os.Parcel, int);
3326    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.BandConfig> CREATOR;
3327  }
3328
3329  public static class RadioManager.BandDescriptor implements android.os.Parcelable {
3330    method public int describeContents();
3331    method public int getLowerLimit();
3332    method public int getRegion();
3333    method public int getSpacing();
3334    method public int getType();
3335    method public int getUpperLimit();
3336    method public boolean isAmBand();
3337    method public boolean isFmBand();
3338    method public void writeToParcel(android.os.Parcel, int);
3339    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.BandDescriptor> CREATOR;
3340  }
3341
3342  public static class RadioManager.FmBandConfig extends android.hardware.radio.RadioManager.BandConfig {
3343    method public boolean getAf();
3344    method public boolean getEa();
3345    method public boolean getRds();
3346    method public boolean getStereo();
3347    method public boolean getTa();
3348    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.FmBandConfig> CREATOR;
3349  }
3350
3351  public static class RadioManager.FmBandConfig.Builder {
3352    ctor public RadioManager.FmBandConfig.Builder(android.hardware.radio.RadioManager.FmBandDescriptor);
3353    ctor public RadioManager.FmBandConfig.Builder(android.hardware.radio.RadioManager.FmBandConfig);
3354    method public android.hardware.radio.RadioManager.FmBandConfig build();
3355    method public android.hardware.radio.RadioManager.FmBandConfig.Builder setAf(boolean);
3356    method public android.hardware.radio.RadioManager.FmBandConfig.Builder setEa(boolean);
3357    method public android.hardware.radio.RadioManager.FmBandConfig.Builder setRds(boolean);
3358    method public android.hardware.radio.RadioManager.FmBandConfig.Builder setStereo(boolean);
3359    method public android.hardware.radio.RadioManager.FmBandConfig.Builder setTa(boolean);
3360  }
3361
3362  public static class RadioManager.FmBandDescriptor extends android.hardware.radio.RadioManager.BandDescriptor {
3363    method public boolean isAfSupported();
3364    method public boolean isEaSupported();
3365    method public boolean isRdsSupported();
3366    method public boolean isStereoSupported();
3367    method public boolean isTaSupported();
3368    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.FmBandDescriptor> CREATOR;
3369  }
3370
3371  public static class RadioManager.ModuleProperties implements android.os.Parcelable {
3372    method public int describeContents();
3373    method public android.hardware.radio.RadioManager.BandDescriptor[] getBands();
3374    method public int getClassId();
3375    method @Nullable public java.util.Map<java.lang.String,java.lang.Integer> getDabFrequencyTable();
3376    method public int getId();
3377    method public String getImplementor();
3378    method public int getNumAudioSources();
3379    method public int getNumTuners();
3380    method public String getProduct();
3381    method public String getSerial();
3382    method @NonNull public String getServiceName();
3383    method @NonNull public java.util.Map<java.lang.String,java.lang.String> getVendorInfo();
3384    method public String getVersion();
3385    method public boolean isBackgroundScanningSupported();
3386    method public boolean isCaptureSupported();
3387    method public boolean isInitializationRequired();
3388    method public boolean isProgramIdentifierSupported(@android.hardware.radio.ProgramSelector.IdentifierType int);
3389    method public boolean isProgramTypeSupported(@android.hardware.radio.ProgramSelector.ProgramType int);
3390    method public void writeToParcel(android.os.Parcel, int);
3391    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.ModuleProperties> CREATOR;
3392  }
3393
3394  public static class RadioManager.ProgramInfo implements android.os.Parcelable {
3395    method public int describeContents();
3396    method @Deprecated public int getChannel();
3397    method @Nullable public android.hardware.radio.ProgramSelector.Identifier getLogicallyTunedTo();
3398    method public android.hardware.radio.RadioMetadata getMetadata();
3399    method @Nullable public android.hardware.radio.ProgramSelector.Identifier getPhysicallyTunedTo();
3400    method @Nullable public java.util.Collection<android.hardware.radio.ProgramSelector.Identifier> getRelatedContent();
3401    method @NonNull public android.hardware.radio.ProgramSelector getSelector();
3402    method public int getSignalStrength();
3403    method @Deprecated public int getSubChannel();
3404    method @NonNull public java.util.Map<java.lang.String,java.lang.String> getVendorInfo();
3405    method @Deprecated public boolean isDigital();
3406    method public boolean isLive();
3407    method public boolean isMuted();
3408    method public boolean isStereo();
3409    method public boolean isTrafficAnnouncementActive();
3410    method public boolean isTrafficProgram();
3411    method public boolean isTuned();
3412    method public void writeToParcel(android.os.Parcel, int);
3413    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.ProgramInfo> CREATOR;
3414  }
3415
3416  public final class RadioMetadata implements android.os.Parcelable {
3417    method public boolean containsKey(String);
3418    method public int describeContents();
3419    method @Deprecated public android.graphics.Bitmap getBitmap(String);
3420    method public android.hardware.radio.RadioMetadata.Clock getClock(String);
3421    method public int getInt(String);
3422    method public String getString(String);
3423    method public java.util.Set<java.lang.String> keySet();
3424    method public int size();
3425    method public void writeToParcel(android.os.Parcel, int);
3426    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioMetadata> CREATOR;
3427    field public static final String METADATA_KEY_ALBUM = "android.hardware.radio.metadata.ALBUM";
3428    field public static final String METADATA_KEY_ART = "android.hardware.radio.metadata.ART";
3429    field public static final String METADATA_KEY_ARTIST = "android.hardware.radio.metadata.ARTIST";
3430    field public static final String METADATA_KEY_CLOCK = "android.hardware.radio.metadata.CLOCK";
3431    field public static final String METADATA_KEY_DAB_COMPONENT_NAME = "android.hardware.radio.metadata.DAB_COMPONENT_NAME";
3432    field public static final String METADATA_KEY_DAB_COMPONENT_NAME_SHORT = "android.hardware.radio.metadata.DAB_COMPONENT_NAME_SHORT";
3433    field public static final String METADATA_KEY_DAB_ENSEMBLE_NAME = "android.hardware.radio.metadata.DAB_ENSEMBLE_NAME";
3434    field public static final String METADATA_KEY_DAB_ENSEMBLE_NAME_SHORT = "android.hardware.radio.metadata.DAB_ENSEMBLE_NAME_SHORT";
3435    field public static final String METADATA_KEY_DAB_SERVICE_NAME = "android.hardware.radio.metadata.DAB_SERVICE_NAME";
3436    field public static final String METADATA_KEY_DAB_SERVICE_NAME_SHORT = "android.hardware.radio.metadata.DAB_SERVICE_NAME_SHORT";
3437    field public static final String METADATA_KEY_GENRE = "android.hardware.radio.metadata.GENRE";
3438    field public static final String METADATA_KEY_ICON = "android.hardware.radio.metadata.ICON";
3439    field public static final String METADATA_KEY_PROGRAM_NAME = "android.hardware.radio.metadata.PROGRAM_NAME";
3440    field public static final String METADATA_KEY_RBDS_PTY = "android.hardware.radio.metadata.RBDS_PTY";
3441    field public static final String METADATA_KEY_RDS_PI = "android.hardware.radio.metadata.RDS_PI";
3442    field public static final String METADATA_KEY_RDS_PS = "android.hardware.radio.metadata.RDS_PS";
3443    field public static final String METADATA_KEY_RDS_PTY = "android.hardware.radio.metadata.RDS_PTY";
3444    field public static final String METADATA_KEY_RDS_RT = "android.hardware.radio.metadata.RDS_RT";
3445    field public static final String METADATA_KEY_TITLE = "android.hardware.radio.metadata.TITLE";
3446  }
3447
3448  public static final class RadioMetadata.Builder {
3449    ctor public RadioMetadata.Builder();
3450    ctor public RadioMetadata.Builder(android.hardware.radio.RadioMetadata);
3451    method public android.hardware.radio.RadioMetadata build();
3452    method public android.hardware.radio.RadioMetadata.Builder putBitmap(String, android.graphics.Bitmap);
3453    method public android.hardware.radio.RadioMetadata.Builder putClock(String, long, int);
3454    method public android.hardware.radio.RadioMetadata.Builder putInt(String, int);
3455    method public android.hardware.radio.RadioMetadata.Builder putString(String, String);
3456  }
3457
3458  public static final class RadioMetadata.Clock implements android.os.Parcelable {
3459    ctor public RadioMetadata.Clock(long, int);
3460    method public int describeContents();
3461    method public int getTimezoneOffsetMinutes();
3462    method public long getUtcEpochSeconds();
3463    method public void writeToParcel(android.os.Parcel, int);
3464    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioMetadata.Clock> CREATOR;
3465  }
3466
3467  public abstract class RadioTuner {
3468    ctor public RadioTuner();
3469    method public abstract int cancel();
3470    method public abstract void cancelAnnouncement();
3471    method public abstract void close();
3472    method @Deprecated public abstract int getConfiguration(android.hardware.radio.RadioManager.BandConfig[]);
3473    method @Nullable public android.hardware.radio.ProgramList getDynamicProgramList(@Nullable android.hardware.radio.ProgramList.Filter);
3474    method public abstract boolean getMute();
3475    method @NonNull public java.util.Map<java.lang.String,java.lang.String> getParameters(@NonNull java.util.List<java.lang.String>);
3476    method @Deprecated public abstract int getProgramInformation(android.hardware.radio.RadioManager.ProgramInfo[]);
3477    method @Deprecated @NonNull public abstract java.util.List<android.hardware.radio.RadioManager.ProgramInfo> getProgramList(@Nullable java.util.Map<java.lang.String,java.lang.String>);
3478    method public abstract boolean hasControl();
3479    method @Deprecated public abstract boolean isAnalogForced();
3480    method @Deprecated public abstract boolean isAntennaConnected();
3481    method public boolean isConfigFlagSet(int);
3482    method public boolean isConfigFlagSupported(int);
3483    method public abstract int scan(int, boolean);
3484    method @Deprecated public abstract void setAnalogForced(boolean);
3485    method public void setConfigFlag(int, boolean);
3486    method @Deprecated public abstract int setConfiguration(android.hardware.radio.RadioManager.BandConfig);
3487    method public abstract int setMute(boolean);
3488    method @NonNull public java.util.Map<java.lang.String,java.lang.String> setParameters(@NonNull java.util.Map<java.lang.String,java.lang.String>);
3489    method public abstract boolean startBackgroundScan();
3490    method public abstract int step(int, boolean);
3491    method @Deprecated public abstract int tune(int, int);
3492    method public abstract void tune(@NonNull android.hardware.radio.ProgramSelector);
3493    field public static final int DIRECTION_DOWN = 1; // 0x1
3494    field public static final int DIRECTION_UP = 0; // 0x0
3495    field @Deprecated public static final int ERROR_BACKGROUND_SCAN_FAILED = 6; // 0x6
3496    field @Deprecated public static final int ERROR_BACKGROUND_SCAN_UNAVAILABLE = 5; // 0x5
3497    field @Deprecated public static final int ERROR_CANCELLED = 2; // 0x2
3498    field @Deprecated public static final int ERROR_CONFIG = 4; // 0x4
3499    field @Deprecated public static final int ERROR_HARDWARE_FAILURE = 0; // 0x0
3500    field @Deprecated public static final int ERROR_SCAN_TIMEOUT = 3; // 0x3
3501    field @Deprecated public static final int ERROR_SERVER_DIED = 1; // 0x1
3502  }
3503
3504  public abstract static class RadioTuner.Callback {
3505    ctor public RadioTuner.Callback();
3506    method public void onAntennaState(boolean);
3507    method public void onBackgroundScanAvailabilityChange(boolean);
3508    method public void onBackgroundScanComplete();
3509    method @Deprecated public void onConfigurationChanged(android.hardware.radio.RadioManager.BandConfig);
3510    method public void onControlChanged(boolean);
3511    method public void onEmergencyAnnouncement(boolean);
3512    method @Deprecated public void onError(int);
3513    method @Deprecated public void onMetadataChanged(android.hardware.radio.RadioMetadata);
3514    method public void onParametersUpdated(@NonNull java.util.Map<java.lang.String,java.lang.String>);
3515    method public void onProgramInfoChanged(android.hardware.radio.RadioManager.ProgramInfo);
3516    method public void onProgramListChanged();
3517    method public void onTrafficAnnouncement(boolean);
3518    method public void onTuneFailed(int, @Nullable android.hardware.radio.ProgramSelector);
3519  }
3520
3521}
3522
3523package android.hardware.soundtrigger {
3524
3525  public class SoundTrigger {
3526    field public static final int RECOGNITION_MODE_GENERIC = 8; // 0x8
3527    field public static final int RECOGNITION_MODE_USER_AUTHENTICATION = 4; // 0x4
3528    field public static final int RECOGNITION_MODE_USER_IDENTIFICATION = 2; // 0x2
3529    field public static final int RECOGNITION_MODE_VOICE_TRIGGER = 1; // 0x1
3530    field public static final int STATUS_OK = 0; // 0x0
3531  }
3532
3533  public static final class SoundTrigger.Keyphrase implements android.os.Parcelable {
3534    ctor public SoundTrigger.Keyphrase(int, int, @NonNull java.util.Locale, @NonNull String, @Nullable int[]);
3535    method public int getId();
3536    method @NonNull public java.util.Locale getLocale();
3537    method public int getRecognitionModes();
3538    method @NonNull public String getText();
3539    method @NonNull public int[] getUsers();
3540    method @NonNull public static android.hardware.soundtrigger.SoundTrigger.Keyphrase readFromParcel(@NonNull android.os.Parcel);
3541    method public void writeToParcel(@NonNull android.os.Parcel, int);
3542    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.Keyphrase> CREATOR;
3543  }
3544
3545  public static final class SoundTrigger.KeyphraseSoundModel extends android.hardware.soundtrigger.SoundTrigger.SoundModel implements android.os.Parcelable {
3546    ctor public SoundTrigger.KeyphraseSoundModel(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[], int);
3547    ctor public SoundTrigger.KeyphraseSoundModel(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[]);
3548    method @NonNull public android.hardware.soundtrigger.SoundTrigger.Keyphrase[] getKeyphrases();
3549    method @NonNull public static android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel readFromParcel(@NonNull android.os.Parcel);
3550    method public void writeToParcel(@NonNull android.os.Parcel, int);
3551    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel> CREATOR;
3552  }
3553
3554  public static final class SoundTrigger.ModelParamRange implements android.os.Parcelable {
3555    method public int getEnd();
3556    method public int getStart();
3557    method public void writeToParcel(@NonNull android.os.Parcel, int);
3558    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.ModelParamRange> CREATOR;
3559  }
3560
3561  public static final class SoundTrigger.ModuleProperties implements android.os.Parcelable {
3562    method public int describeContents();
3563    method public int getAudioCapabilities();
3564    method @NonNull public String getDescription();
3565    method public int getId();
3566    method @NonNull public String getImplementor();
3567    method public int getMaxBufferMillis();
3568    method public int getMaxKeyphrases();
3569    method public int getMaxSoundModels();
3570    method public int getMaxUsers();
3571    method public int getPowerConsumptionMw();
3572    method public int getRecognitionModes();
3573    method @NonNull public String getSupportedModelArch();
3574    method @NonNull public java.util.UUID getUuid();
3575    method public int getVersion();
3576    method public boolean isCaptureTransitionSupported();
3577    method public boolean isConcurrentCaptureSupported();
3578    method public boolean isTriggerReturnedInEvent();
3579    method public void writeToParcel(android.os.Parcel, int);
3580    field public static final int AUDIO_CAPABILITY_ECHO_CANCELLATION = 1; // 0x1
3581    field public static final int AUDIO_CAPABILITY_NOISE_SUPPRESSION = 2; // 0x2
3582    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.ModuleProperties> CREATOR;
3583  }
3584
3585  public static class SoundTrigger.RecognitionEvent {
3586    method @Nullable public android.media.AudioFormat getCaptureFormat();
3587    method public int getCaptureSession();
3588    method public byte[] getData();
3589    method public boolean isCaptureAvailable();
3590  }
3591
3592  public static class SoundTrigger.SoundModel {
3593    method @NonNull public byte[] getData();
3594    method public int getType();
3595    method @NonNull public java.util.UUID getUuid();
3596    method @NonNull public java.util.UUID getVendorUuid();
3597    method public int getVersion();
3598    field public static final int TYPE_GENERIC_SOUND = 1; // 0x1
3599    field public static final int TYPE_KEYPHRASE = 0; // 0x0
3600  }
3601
3602}
3603
3604package android.hardware.usb {
3605
3606  public class UsbDeviceConnection {
3607    method public boolean resetDevice();
3608  }
3609
3610  public class UsbManager {
3611    method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public long getCurrentFunctions();
3612    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_USB) public java.util.List<android.hardware.usb.UsbPort> getPorts();
3613    method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void grantPermission(android.hardware.usb.UsbDevice, String);
3614    method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void resetUsbGadget();
3615    method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void setCurrentFunctions(long);
3616    field @RequiresPermission(android.Manifest.permission.MANAGE_USB) public static final String ACTION_USB_PORT_CHANGED = "android.hardware.usb.action.USB_PORT_CHANGED";
3617    field public static final String ACTION_USB_STATE = "android.hardware.usb.action.USB_STATE";
3618    field public static final long FUNCTION_ACCESSORY = 2L; // 0x2L
3619    field public static final long FUNCTION_ADB = 1L; // 0x1L
3620    field public static final long FUNCTION_AUDIO_SOURCE = 64L; // 0x40L
3621    field public static final long FUNCTION_MIDI = 8L; // 0x8L
3622    field public static final long FUNCTION_MTP = 4L; // 0x4L
3623    field public static final long FUNCTION_NCM = 1024L; // 0x400L
3624    field public static final long FUNCTION_NONE = 0L; // 0x0L
3625    field public static final long FUNCTION_PTP = 16L; // 0x10L
3626    field public static final long FUNCTION_RNDIS = 32L; // 0x20L
3627    field public static final String USB_CONFIGURED = "configured";
3628    field public static final String USB_CONNECTED = "connected";
3629    field public static final String USB_FUNCTION_NCM = "ncm";
3630    field public static final String USB_FUNCTION_RNDIS = "rndis";
3631  }
3632
3633  public final class UsbPort {
3634    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USB) public android.hardware.usb.UsbPortStatus getStatus();
3635    method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void setRoles(int, int);
3636  }
3637
3638  public final class UsbPortStatus implements android.os.Parcelable {
3639    method public int describeContents();
3640    method public int getCurrentDataRole();
3641    method public int getCurrentMode();
3642    method public int getCurrentPowerRole();
3643    method public int getSupportedRoleCombinations();
3644    method public boolean isConnected();
3645    method public boolean isRoleCombinationSupported(int, int);
3646    method public void writeToParcel(android.os.Parcel, int);
3647    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.usb.UsbPortStatus> CREATOR;
3648    field public static final int DATA_ROLE_DEVICE = 2; // 0x2
3649    field public static final int DATA_ROLE_HOST = 1; // 0x1
3650    field public static final int DATA_ROLE_NONE = 0; // 0x0
3651    field public static final int MODE_AUDIO_ACCESSORY = 4; // 0x4
3652    field public static final int MODE_DEBUG_ACCESSORY = 8; // 0x8
3653    field public static final int MODE_DFP = 2; // 0x2
3654    field public static final int MODE_NONE = 0; // 0x0
3655    field public static final int MODE_UFP = 1; // 0x1
3656    field public static final int POWER_ROLE_NONE = 0; // 0x0
3657    field public static final int POWER_ROLE_SINK = 2; // 0x2
3658    field public static final int POWER_ROLE_SOURCE = 1; // 0x1
3659  }
3660
3661}
3662
3663package android.location {
3664
3665  public abstract class BatchedLocationCallback {
3666    ctor public BatchedLocationCallback();
3667    method public void onLocationBatch(java.util.List<android.location.Location>);
3668  }
3669
3670  public final class GnssCapabilities {
3671    method public boolean hasGeofencing();
3672    method public boolean hasLowPowerMode();
3673    method public boolean hasMeasurementCorrections();
3674    method public boolean hasMeasurementCorrectionsExcessPathLength();
3675    method public boolean hasMeasurementCorrectionsLosSats();
3676    method public boolean hasMeasurementCorrectionsReflectingPane();
3677    method public boolean hasMeasurements();
3678    method public boolean hasNavMessages();
3679    method public boolean hasSatelliteBlacklist();
3680  }
3681
3682  public final class GnssMeasurementCorrections implements android.os.Parcelable {
3683    method public int describeContents();
3684    method @FloatRange(from=-1000.0F, to=10000.0f) public double getAltitudeMeters();
3685    method @FloatRange(from=0.0f, to=360.0f) public float getEnvironmentBearingDegrees();
3686    method @FloatRange(from=0.0f, to=180.0f) public float getEnvironmentBearingUncertaintyDegrees();
3687    method @FloatRange(from=0.0f) public double getHorizontalPositionUncertaintyMeters();
3688    method @FloatRange(from=-90.0F, to=90.0f) public double getLatitudeDegrees();
3689    method @FloatRange(from=-180.0F, to=180.0f) public double getLongitudeDegrees();
3690    method @NonNull public java.util.List<android.location.GnssSingleSatCorrection> getSingleSatelliteCorrectionList();
3691    method @IntRange(from=0) public long getToaGpsNanosecondsOfWeek();
3692    method @FloatRange(from=0.0f) public double getVerticalPositionUncertaintyMeters();
3693    method public boolean hasEnvironmentBearing();
3694    method public void writeToParcel(@NonNull android.os.Parcel, int);
3695    field public static final android.os.Parcelable.Creator<android.location.GnssMeasurementCorrections> CREATOR;
3696  }
3697
3698  public static final class GnssMeasurementCorrections.Builder {
3699    ctor public GnssMeasurementCorrections.Builder();
3700    method @NonNull public android.location.GnssMeasurementCorrections build();
3701    method @NonNull public android.location.GnssMeasurementCorrections.Builder setAltitudeMeters(@FloatRange(from=-1000.0F, to=10000.0f) double);
3702    method @NonNull public android.location.GnssMeasurementCorrections.Builder setEnvironmentBearingDegrees(@FloatRange(from=0.0f, to=360.0f) float);
3703    method @NonNull public android.location.GnssMeasurementCorrections.Builder setEnvironmentBearingUncertaintyDegrees(@FloatRange(from=0.0f, to=180.0f) float);
3704    method @NonNull public android.location.GnssMeasurementCorrections.Builder setHorizontalPositionUncertaintyMeters(@FloatRange(from=0.0f) double);
3705    method @NonNull public android.location.GnssMeasurementCorrections.Builder setLatitudeDegrees(@FloatRange(from=-90.0F, to=90.0f) double);
3706    method @NonNull public android.location.GnssMeasurementCorrections.Builder setLongitudeDegrees(@FloatRange(from=-180.0F, to=180.0f) double);
3707    method @NonNull public android.location.GnssMeasurementCorrections.Builder setSingleSatelliteCorrectionList(@NonNull java.util.List<android.location.GnssSingleSatCorrection>);
3708    method @NonNull public android.location.GnssMeasurementCorrections.Builder setToaGpsNanosecondsOfWeek(@IntRange(from=0) long);
3709    method @NonNull public android.location.GnssMeasurementCorrections.Builder setVerticalPositionUncertaintyMeters(@FloatRange(from=0.0f) double);
3710  }
3711
3712  public final class GnssReflectingPlane implements android.os.Parcelable {
3713    method public int describeContents();
3714    method @FloatRange(from=-1000.0F, to=10000.0f) public double getAltitudeMeters();
3715    method @FloatRange(from=0.0f, to=360.0f) public double getAzimuthDegrees();
3716    method @FloatRange(from=-90.0F, to=90.0f) public double getLatitudeDegrees();
3717    method @FloatRange(from=-180.0F, to=180.0f) public double getLongitudeDegrees();
3718    method public void writeToParcel(@NonNull android.os.Parcel, int);
3719    field public static final android.os.Parcelable.Creator<android.location.GnssReflectingPlane> CREATOR;
3720  }
3721
3722  public static final class GnssReflectingPlane.Builder {
3723    ctor public GnssReflectingPlane.Builder();
3724    method @NonNull public android.location.GnssReflectingPlane build();
3725    method @NonNull public android.location.GnssReflectingPlane.Builder setAltitudeMeters(@FloatRange(from=-1000.0F, to=10000.0f) double);
3726    method @NonNull public android.location.GnssReflectingPlane.Builder setAzimuthDegrees(@FloatRange(from=0.0f, to=360.0f) double);
3727    method @NonNull public android.location.GnssReflectingPlane.Builder setLatitudeDegrees(@FloatRange(from=-90.0F, to=90.0f) double);
3728    method @NonNull public android.location.GnssReflectingPlane.Builder setLongitudeDegrees(@FloatRange(from=-180.0F, to=180.0f) double);
3729  }
3730
3731  public final class GnssRequest implements android.os.Parcelable {
3732    method public int describeContents();
3733    method public boolean isFullTracking();
3734    method public void writeToParcel(@NonNull android.os.Parcel, int);
3735    field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssRequest> CREATOR;
3736  }
3737
3738  public static final class GnssRequest.Builder {
3739    ctor public GnssRequest.Builder();
3740    ctor public GnssRequest.Builder(@NonNull android.location.GnssRequest);
3741    method @NonNull public android.location.GnssRequest build();
3742    method @NonNull public android.location.GnssRequest.Builder setFullTracking(boolean);
3743  }
3744
3745  public final class GnssSingleSatCorrection implements android.os.Parcelable {
3746    method public int describeContents();
3747    method @FloatRange(from=0.0f, fromInclusive=false) public float getCarrierFrequencyHz();
3748    method public int getConstellationType();
3749    method @FloatRange(from=0.0f) public float getExcessPathLengthMeters();
3750    method @FloatRange(from=0.0f) public float getExcessPathLengthUncertaintyMeters();
3751    method @FloatRange(from=0.0f, to=1.0f) public float getProbabilityLineOfSight();
3752    method @Nullable public android.location.GnssReflectingPlane getReflectingPlane();
3753    method @IntRange(from=0) public int getSatelliteId();
3754    method public boolean hasExcessPathLength();
3755    method public boolean hasExcessPathLengthUncertainty();
3756    method public boolean hasReflectingPlane();
3757    method public boolean hasValidSatelliteLineOfSight();
3758    method public void writeToParcel(@NonNull android.os.Parcel, int);
3759    field public static final android.os.Parcelable.Creator<android.location.GnssSingleSatCorrection> CREATOR;
3760  }
3761
3762  public static final class GnssSingleSatCorrection.Builder {
3763    ctor public GnssSingleSatCorrection.Builder();
3764    method @NonNull public android.location.GnssSingleSatCorrection build();
3765    method @NonNull public android.location.GnssSingleSatCorrection.Builder setCarrierFrequencyHz(@FloatRange(from=0.0f, fromInclusive=false) float);
3766    method @NonNull public android.location.GnssSingleSatCorrection.Builder setConstellationType(int);
3767    method @NonNull public android.location.GnssSingleSatCorrection.Builder setExcessPathLengthMeters(@FloatRange(from=0.0f) float);
3768    method @NonNull public android.location.GnssSingleSatCorrection.Builder setExcessPathLengthUncertaintyMeters(@FloatRange(from=0.0f) float);
3769    method @NonNull public android.location.GnssSingleSatCorrection.Builder setProbabilityLineOfSight(@FloatRange(from=0.0f, to=1.0f) float);
3770    method @NonNull public android.location.GnssSingleSatCorrection.Builder setReflectingPlane(@Nullable android.location.GnssReflectingPlane);
3771    method @NonNull public android.location.GnssSingleSatCorrection.Builder setSatelliteId(@IntRange(from=0) int);
3772  }
3773
3774  @Deprecated public class GpsClock implements android.os.Parcelable {
3775    method @Deprecated public int describeContents();
3776    method @Deprecated public double getBiasInNs();
3777    method @Deprecated public double getBiasUncertaintyInNs();
3778    method @Deprecated public double getDriftInNsPerSec();
3779    method @Deprecated public double getDriftUncertaintyInNsPerSec();
3780    method @Deprecated public long getFullBiasInNs();
3781    method @Deprecated public short getLeapSecond();
3782    method @Deprecated public long getTimeInNs();
3783    method @Deprecated public double getTimeUncertaintyInNs();
3784    method @Deprecated public byte getType();
3785    method @Deprecated public boolean hasBiasInNs();
3786    method @Deprecated public boolean hasBiasUncertaintyInNs();
3787    method @Deprecated public boolean hasDriftInNsPerSec();
3788    method @Deprecated public boolean hasDriftUncertaintyInNsPerSec();
3789    method @Deprecated public boolean hasFullBiasInNs();
3790    method @Deprecated public boolean hasLeapSecond();
3791    method @Deprecated public boolean hasTimeUncertaintyInNs();
3792    method @Deprecated public void reset();
3793    method @Deprecated public void resetBiasInNs();
3794    method @Deprecated public void resetBiasUncertaintyInNs();
3795    method @Deprecated public void resetDriftInNsPerSec();
3796    method @Deprecated public void resetDriftUncertaintyInNsPerSec();
3797    method @Deprecated public void resetFullBiasInNs();
3798    method @Deprecated public void resetLeapSecond();
3799    method @Deprecated public void resetTimeUncertaintyInNs();
3800    method @Deprecated public void set(android.location.GpsClock);
3801    method @Deprecated public void setBiasInNs(double);
3802    method @Deprecated public void setBiasUncertaintyInNs(double);
3803    method @Deprecated public void setDriftInNsPerSec(double);
3804    method @Deprecated public void setDriftUncertaintyInNsPerSec(double);
3805    method @Deprecated public void setFullBiasInNs(long);
3806    method @Deprecated public void setLeapSecond(short);
3807    method @Deprecated public void setTimeInNs(long);
3808    method @Deprecated public void setTimeUncertaintyInNs(double);
3809    method @Deprecated public void setType(byte);
3810    method @Deprecated public void writeToParcel(android.os.Parcel, int);
3811    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsClock> CREATOR;
3812    field @Deprecated public static final byte TYPE_GPS_TIME = 2; // 0x2
3813    field @Deprecated public static final byte TYPE_LOCAL_HW_TIME = 1; // 0x1
3814    field @Deprecated public static final byte TYPE_UNKNOWN = 0; // 0x0
3815  }
3816
3817  @Deprecated public class GpsMeasurement implements android.os.Parcelable {
3818    method @Deprecated public int describeContents();
3819    method @Deprecated public double getAccumulatedDeltaRangeInMeters();
3820    method @Deprecated public short getAccumulatedDeltaRangeState();
3821    method @Deprecated public double getAccumulatedDeltaRangeUncertaintyInMeters();
3822    method @Deprecated public double getAzimuthInDeg();
3823    method @Deprecated public double getAzimuthUncertaintyInDeg();
3824    method @Deprecated public int getBitNumber();
3825    method @Deprecated public long getCarrierCycles();
3826    method @Deprecated public float getCarrierFrequencyInHz();
3827    method @Deprecated public double getCarrierPhase();
3828    method @Deprecated public double getCarrierPhaseUncertainty();
3829    method @Deprecated public double getCn0InDbHz();
3830    method @Deprecated public double getCodePhaseInChips();
3831    method @Deprecated public double getCodePhaseUncertaintyInChips();
3832    method @Deprecated public double getDopplerShiftInHz();
3833    method @Deprecated public double getDopplerShiftUncertaintyInHz();
3834    method @Deprecated public double getElevationInDeg();
3835    method @Deprecated public double getElevationUncertaintyInDeg();
3836    method @Deprecated public byte getLossOfLock();
3837    method @Deprecated public byte getMultipathIndicator();
3838    method @Deprecated public byte getPrn();
3839    method @Deprecated public double getPseudorangeInMeters();
3840    method @Deprecated public double getPseudorangeRateInMetersPerSec();
3841    method @Deprecated public double getPseudorangeRateUncertaintyInMetersPerSec();
3842    method @Deprecated public double getPseudorangeUncertaintyInMeters();
3843    method @Deprecated public long getReceivedGpsTowInNs();
3844    method @Deprecated public long getReceivedGpsTowUncertaintyInNs();
3845    method @Deprecated public double getSnrInDb();
3846    method @Deprecated public short getState();
3847    method @Deprecated public short getTimeFromLastBitInMs();
3848    method @Deprecated public double getTimeOffsetInNs();
3849    method @Deprecated public boolean hasAzimuthInDeg();
3850    method @Deprecated public boolean hasAzimuthUncertaintyInDeg();
3851    method @Deprecated public boolean hasBitNumber();
3852    method @Deprecated public boolean hasCarrierCycles();
3853    method @Deprecated public boolean hasCarrierFrequencyInHz();
3854    method @Deprecated public boolean hasCarrierPhase();
3855    method @Deprecated public boolean hasCarrierPhaseUncertainty();
3856    method @Deprecated public boolean hasCodePhaseInChips();
3857    method @Deprecated public boolean hasCodePhaseUncertaintyInChips();
3858    method @Deprecated public boolean hasDopplerShiftInHz();
3859    method @Deprecated public boolean hasDopplerShiftUncertaintyInHz();
3860    method @Deprecated public boolean hasElevationInDeg();
3861    method @Deprecated public boolean hasElevationUncertaintyInDeg();
3862    method @Deprecated public boolean hasPseudorangeInMeters();
3863    method @Deprecated public boolean hasPseudorangeUncertaintyInMeters();
3864    method @Deprecated public boolean hasSnrInDb();
3865    method @Deprecated public boolean hasTimeFromLastBitInMs();
3866    method @Deprecated public boolean isPseudorangeRateCorrected();
3867    method @Deprecated public boolean isUsedInFix();
3868    method @Deprecated public void reset();
3869    method @Deprecated public void resetAzimuthInDeg();
3870    method @Deprecated public void resetAzimuthUncertaintyInDeg();
3871    method @Deprecated public void resetBitNumber();
3872    method @Deprecated public void resetCarrierCycles();
3873    method @Deprecated public void resetCarrierFrequencyInHz();
3874    method @Deprecated public void resetCarrierPhase();
3875    method @Deprecated public void resetCarrierPhaseUncertainty();
3876    method @Deprecated public void resetCodePhaseInChips();
3877    method @Deprecated public void resetCodePhaseUncertaintyInChips();
3878    method @Deprecated public void resetDopplerShiftInHz();
3879    method @Deprecated public void resetDopplerShiftUncertaintyInHz();
3880    method @Deprecated public void resetElevationInDeg();
3881    method @Deprecated public void resetElevationUncertaintyInDeg();
3882    method @Deprecated public void resetPseudorangeInMeters();
3883    method @Deprecated public void resetPseudorangeUncertaintyInMeters();
3884    method @Deprecated public void resetSnrInDb();
3885    method @Deprecated public void resetTimeFromLastBitInMs();
3886    method @Deprecated public void set(android.location.GpsMeasurement);
3887    method @Deprecated public void setAccumulatedDeltaRangeInMeters(double);
3888    method @Deprecated public void setAccumulatedDeltaRangeState(short);
3889    method @Deprecated public void setAccumulatedDeltaRangeUncertaintyInMeters(double);
3890    method @Deprecated public void setAzimuthInDeg(double);
3891    method @Deprecated public void setAzimuthUncertaintyInDeg(double);
3892    method @Deprecated public void setBitNumber(int);
3893    method @Deprecated public void setCarrierCycles(long);
3894    method @Deprecated public void setCarrierFrequencyInHz(float);
3895    method @Deprecated public void setCarrierPhase(double);
3896    method @Deprecated public void setCarrierPhaseUncertainty(double);
3897    method @Deprecated public void setCn0InDbHz(double);
3898    method @Deprecated public void setCodePhaseInChips(double);
3899    method @Deprecated public void setCodePhaseUncertaintyInChips(double);
3900    method @Deprecated public void setDopplerShiftInHz(double);
3901    method @Deprecated public void setDopplerShiftUncertaintyInHz(double);
3902    method @Deprecated public void setElevationInDeg(double);
3903    method @Deprecated public void setElevationUncertaintyInDeg(double);
3904    method @Deprecated public void setLossOfLock(byte);
3905    method @Deprecated public void setMultipathIndicator(byte);
3906    method @Deprecated public void setPrn(byte);
3907    method @Deprecated public void setPseudorangeInMeters(double);
3908    method @Deprecated public void setPseudorangeRateInMetersPerSec(double);
3909    method @Deprecated public void setPseudorangeRateUncertaintyInMetersPerSec(double);
3910    method @Deprecated public void setPseudorangeUncertaintyInMeters(double);
3911    method @Deprecated public void setReceivedGpsTowInNs(long);
3912    method @Deprecated public void setReceivedGpsTowUncertaintyInNs(long);
3913    method @Deprecated public void setSnrInDb(double);
3914    method @Deprecated public void setState(short);
3915    method @Deprecated public void setTimeFromLastBitInMs(short);
3916    method @Deprecated public void setTimeOffsetInNs(double);
3917    method @Deprecated public void setUsedInFix(boolean);
3918    method @Deprecated public void writeToParcel(android.os.Parcel, int);
3919    field @Deprecated public static final short ADR_STATE_CYCLE_SLIP = 4; // 0x4
3920    field @Deprecated public static final short ADR_STATE_RESET = 2; // 0x2
3921    field @Deprecated public static final short ADR_STATE_UNKNOWN = 0; // 0x0
3922    field @Deprecated public static final short ADR_STATE_VALID = 1; // 0x1
3923    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsMeasurement> CREATOR;
3924    field @Deprecated public static final byte LOSS_OF_LOCK_CYCLE_SLIP = 2; // 0x2
3925    field @Deprecated public static final byte LOSS_OF_LOCK_OK = 1; // 0x1
3926    field @Deprecated public static final byte LOSS_OF_LOCK_UNKNOWN = 0; // 0x0
3927    field @Deprecated public static final byte MULTIPATH_INDICATOR_DETECTED = 1; // 0x1
3928    field @Deprecated public static final byte MULTIPATH_INDICATOR_NOT_USED = 2; // 0x2
3929    field @Deprecated public static final byte MULTIPATH_INDICATOR_UNKNOWN = 0; // 0x0
3930    field @Deprecated public static final short STATE_BIT_SYNC = 2; // 0x2
3931    field @Deprecated public static final short STATE_CODE_LOCK = 1; // 0x1
3932    field @Deprecated public static final short STATE_MSEC_AMBIGUOUS = 16; // 0x10
3933    field @Deprecated public static final short STATE_SUBFRAME_SYNC = 4; // 0x4
3934    field @Deprecated public static final short STATE_TOW_DECODED = 8; // 0x8
3935    field @Deprecated public static final short STATE_UNKNOWN = 0; // 0x0
3936  }
3937
3938  @Deprecated public class GpsMeasurementsEvent implements android.os.Parcelable {
3939    ctor @Deprecated public GpsMeasurementsEvent(android.location.GpsClock, android.location.GpsMeasurement[]);
3940    method @Deprecated public int describeContents();
3941    method @Deprecated @NonNull public android.location.GpsClock getClock();
3942    method @Deprecated @NonNull public java.util.Collection<android.location.GpsMeasurement> getMeasurements();
3943    method @Deprecated public void writeToParcel(android.os.Parcel, int);
3944    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsMeasurementsEvent> CREATOR;
3945    field @Deprecated public static final int STATUS_GPS_LOCATION_DISABLED = 2; // 0x2
3946    field @Deprecated public static final int STATUS_NOT_SUPPORTED = 0; // 0x0
3947    field @Deprecated public static final int STATUS_READY = 1; // 0x1
3948  }
3949
3950  @Deprecated public static interface GpsMeasurementsEvent.Listener {
3951    method @Deprecated public void onGpsMeasurementsReceived(android.location.GpsMeasurementsEvent);
3952    method @Deprecated public void onStatusChanged(int);
3953  }
3954
3955  @Deprecated public class GpsNavigationMessage implements android.os.Parcelable {
3956    method @Deprecated public int describeContents();
3957    method @Deprecated @NonNull public byte[] getData();
3958    method @Deprecated public short getMessageId();
3959    method @Deprecated public byte getPrn();
3960    method @Deprecated public short getStatus();
3961    method @Deprecated public short getSubmessageId();
3962    method @Deprecated public byte getType();
3963    method @Deprecated public void reset();
3964    method @Deprecated public void set(android.location.GpsNavigationMessage);
3965    method @Deprecated public void setData(byte[]);
3966    method @Deprecated public void setMessageId(short);
3967    method @Deprecated public void setPrn(byte);
3968    method @Deprecated public void setStatus(short);
3969    method @Deprecated public void setSubmessageId(short);
3970    method @Deprecated public void setType(byte);
3971    method @Deprecated public void writeToParcel(android.os.Parcel, int);
3972    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsNavigationMessage> CREATOR;
3973    field @Deprecated public static final short STATUS_PARITY_PASSED = 1; // 0x1
3974    field @Deprecated public static final short STATUS_PARITY_REBUILT = 2; // 0x2
3975    field @Deprecated public static final short STATUS_UNKNOWN = 0; // 0x0
3976    field @Deprecated public static final byte TYPE_CNAV2 = 4; // 0x4
3977    field @Deprecated public static final byte TYPE_L1CA = 1; // 0x1
3978    field @Deprecated public static final byte TYPE_L2CNAV = 2; // 0x2
3979    field @Deprecated public static final byte TYPE_L5CNAV = 3; // 0x3
3980    field @Deprecated public static final byte TYPE_UNKNOWN = 0; // 0x0
3981  }
3982
3983  @Deprecated public class GpsNavigationMessageEvent implements android.os.Parcelable {
3984    ctor @Deprecated public GpsNavigationMessageEvent(android.location.GpsNavigationMessage);
3985    method @Deprecated public int describeContents();
3986    method @Deprecated @NonNull public android.location.GpsNavigationMessage getNavigationMessage();
3987    method @Deprecated public void writeToParcel(android.os.Parcel, int);
3988    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsNavigationMessageEvent> CREATOR;
3989    field @Deprecated public static int STATUS_GPS_LOCATION_DISABLED;
3990    field @Deprecated public static int STATUS_NOT_SUPPORTED;
3991    field @Deprecated public static int STATUS_READY;
3992  }
3993
3994  @Deprecated public static interface GpsNavigationMessageEvent.Listener {
3995    method @Deprecated public void onGpsNavigationMessageReceived(android.location.GpsNavigationMessageEvent);
3996    method @Deprecated public void onStatusChanged(int);
3997  }
3998
3999  public class Location implements android.os.Parcelable {
4000    method public boolean isComplete();
4001    method public void makeComplete();
4002    method public void setIsFromMockProvider(boolean);
4003    field @Deprecated public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation";
4004  }
4005
4006  public class LocationManager {
4007    method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void flushGnssBatch();
4008    method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void getCurrentLocation(@NonNull android.location.LocationRequest, @Nullable android.os.CancellationSignal, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.location.Location>);
4009    method @Nullable public String getExtraLocationControllerPackage();
4010    method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public int getGnssBatchSize();
4011    method @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public void injectGnssMeasurementCorrections(@NonNull android.location.GnssMeasurementCorrections);
4012    method public boolean isExtraLocationControllerPackageEnabled();
4013    method public boolean isLocationEnabledForUser(@NonNull android.os.UserHandle);
4014    method public boolean isProviderEnabledForUser(@NonNull String, @NonNull android.os.UserHandle);
4015    method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public boolean isProviderPackage(@NonNull String);
4016    method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public boolean registerGnssBatchedLocationCallback(long, boolean, @NonNull android.location.BatchedLocationCallback, @Nullable android.os.Handler);
4017    method @RequiresPermission(allOf={android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.LOCATION_HARDWARE}) public boolean registerGnssMeasurementsCallback(@NonNull android.location.GnssRequest, @NonNull java.util.concurrent.Executor, @NonNull android.location.GnssMeasurementsEvent.Callback);
4018    method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull android.location.LocationListener, @Nullable android.os.Looper);
4019    method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull java.util.concurrent.Executor, @NonNull android.location.LocationListener);
4020    method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull android.app.PendingIntent);
4021    method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setExtraLocationControllerPackage(@Nullable String);
4022    method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setExtraLocationControllerPackageEnabled(boolean);
4023    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setLocationEnabledForUser(boolean, @NonNull android.os.UserHandle);
4024    method @Deprecated @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean setProviderEnabledForUser(@NonNull String, boolean, @NonNull android.os.UserHandle);
4025    method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public boolean unregisterGnssBatchedLocationCallback(@NonNull android.location.BatchedLocationCallback);
4026  }
4027
4028  public final class LocationRequest implements android.os.Parcelable {
4029    method @NonNull public static android.location.LocationRequest create();
4030    method @NonNull public static android.location.LocationRequest createFromDeprecatedCriteria(@NonNull android.location.Criteria, long, float, boolean);
4031    method @NonNull public static android.location.LocationRequest createFromDeprecatedProvider(@NonNull String, long, float, boolean);
4032    method public int describeContents();
4033    method @Deprecated public long getExpireAt();
4034    method public long getExpireIn();
4035    method public long getFastestInterval();
4036    method public boolean getHideFromAppOps();
4037    method public long getInterval();
4038    method public int getNumUpdates();
4039    method @NonNull public String getProvider();
4040    method public int getQuality();
4041    method public float getSmallestDisplacement();
4042    method @Nullable public android.os.WorkSource getWorkSource();
4043    method public boolean isLocationSettingsIgnored();
4044    method public boolean isLowPowerMode();
4045    method @Deprecated @NonNull public android.location.LocationRequest setExpireAt(long);
4046    method @NonNull public android.location.LocationRequest setExpireIn(long);
4047    method @NonNull public android.location.LocationRequest setFastestInterval(long);
4048    method public void setHideFromAppOps(boolean);
4049    method @NonNull public android.location.LocationRequest setInterval(long);
4050    method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public android.location.LocationRequest setLocationSettingsIgnored(boolean);
4051    method @NonNull public android.location.LocationRequest setLowPowerMode(boolean);
4052    method @NonNull public android.location.LocationRequest setNumUpdates(int);
4053    method @NonNull public android.location.LocationRequest setProvider(@NonNull String);
4054    method @NonNull public android.location.LocationRequest setQuality(int);
4055    method @NonNull public android.location.LocationRequest setSmallestDisplacement(float);
4056    method public void setWorkSource(@Nullable android.os.WorkSource);
4057    method public void writeToParcel(android.os.Parcel, int);
4058    field public static final int ACCURACY_BLOCK = 102; // 0x66
4059    field public static final int ACCURACY_CITY = 104; // 0x68
4060    field public static final int ACCURACY_FINE = 100; // 0x64
4061    field @NonNull public static final android.os.Parcelable.Creator<android.location.LocationRequest> CREATOR;
4062    field public static final int POWER_HIGH = 203; // 0xcb
4063    field public static final int POWER_LOW = 201; // 0xc9
4064    field public static final int POWER_NONE = 200; // 0xc8
4065  }
4066
4067}
4068
4069package android.media {
4070
4071  public final class AudioAttributes implements android.os.Parcelable {
4072    method public int getAllFlags();
4073    method public android.os.Bundle getBundle();
4074    method public int getCapturePreset();
4075    method public int getSystemUsage();
4076    method public static boolean isSystemUsage(int);
4077    field public static final int FLAG_BEACON = 8; // 0x8
4078    field public static final int FLAG_BYPASS_INTERRUPTION_POLICY = 64; // 0x40
4079    field public static final int FLAG_BYPASS_MUTE = 128; // 0x80
4080    field public static final int FLAG_HW_HOTWORD = 32; // 0x20
4081    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_ANNOUNCEMENT = 1003; // 0x3eb
4082    field @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public static final int USAGE_CALL_ASSISTANT = 17; // 0x11
4083    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_EMERGENCY = 1000; // 0x3e8
4084    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_SAFETY = 1001; // 0x3e9
4085    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int USAGE_VEHICLE_STATUS = 1002; // 0x3ea
4086  }
4087
4088  public static class AudioAttributes.Builder {
4089    method public android.media.AudioAttributes.Builder addBundle(@NonNull android.os.Bundle);
4090    method public android.media.AudioAttributes.Builder setCapturePreset(int);
4091    method public android.media.AudioAttributes.Builder setInternalCapturePreset(int);
4092    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioAttributes.Builder setSystemUsage(int);
4093  }
4094
4095  public final class AudioDeviceAttributes implements android.os.Parcelable {
4096    ctor public AudioDeviceAttributes(@NonNull android.media.AudioDeviceInfo);
4097    ctor public AudioDeviceAttributes(int, int, @NonNull String);
4098    method public int describeContents();
4099    method @NonNull public String getAddress();
4100    method public int getRole();
4101    method public int getType();
4102    method public void writeToParcel(@NonNull android.os.Parcel, int);
4103    field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioDeviceAttributes> CREATOR;
4104    field public static final int ROLE_INPUT = 1; // 0x1
4105    field public static final int ROLE_OUTPUT = 2; // 0x2
4106  }
4107
4108  public final class AudioDeviceInfo {
4109    field public static final int TYPE_REMOTE_SUBMIX = 25; // 0x19
4110  }
4111
4112  public final class AudioFocusInfo implements android.os.Parcelable {
4113    method public int describeContents();
4114    method @NonNull public android.media.AudioAttributes getAttributes();
4115    method @NonNull public String getClientId();
4116    method public int getClientUid();
4117    method public int getFlags();
4118    method public int getGainRequest();
4119    method public int getLossReceived();
4120    method @NonNull public String getPackageName();
4121    method public void writeToParcel(android.os.Parcel, int);
4122    field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioFocusInfo> CREATOR;
4123  }
4124
4125  public final class AudioFocusRequest {
4126    method public boolean locksFocus();
4127  }
4128
4129  public static final class AudioFocusRequest.Builder {
4130    method @NonNull public android.media.AudioFocusRequest.Builder setLocksFocus(boolean);
4131  }
4132
4133  public class AudioManager {
4134    method @Deprecated public int abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes);
4135    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void addOnPreferredDeviceForStrategyChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.OnPreferredDeviceForStrategyChangedListener) throws java.lang.SecurityException;
4136    method public void clearAudioServerStateCallback();
4137    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int dispatchAudioFocusChange(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
4138    method @IntRange(from=0) public long getAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo);
4139    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static java.util.List<android.media.audiopolicy.AudioProductStrategy> getAudioProductStrategies();
4140    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static java.util.List<android.media.audiopolicy.AudioVolumeGroup> getAudioVolumeGroups();
4141    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public java.util.List<android.media.AudioDeviceAttributes> getDevicesForAttributes(@NonNull android.media.AudioAttributes);
4142    method @IntRange(from=0) public long getMaxAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo);
4143    method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getMaxVolumeIndexForAttributes(@NonNull android.media.AudioAttributes);
4144    method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getMinVolumeIndexForAttributes(@NonNull android.media.AudioAttributes);
4145    method @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioDeviceAttributes getPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy);
4146    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int[] getSupportedSystemUsages();
4147    method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getVolumeIndexForAttributes(@NonNull android.media.AudioAttributes);
4148    method public boolean isAudioServerRunning();
4149    method public boolean isHdmiSystemAudioSupported();
4150    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int registerAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
4151    method public void registerVolumeGroupCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.VolumeGroupCallback);
4152    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void removeOnPreferredDeviceForStrategyChangedListener(@NonNull android.media.AudioManager.OnPreferredDeviceForStrategyChangedListener);
4153    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean removePreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy);
4154    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, @NonNull android.media.AudioAttributes, int, int) throws java.lang.IllegalArgumentException;
4155    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, @NonNull android.media.AudioAttributes, int, int, android.media.audiopolicy.AudioPolicy) throws java.lang.IllegalArgumentException;
4156    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int requestAudioFocus(@NonNull android.media.AudioFocusRequest, @Nullable android.media.audiopolicy.AudioPolicy);
4157    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo, @IntRange(from=0) long);
4158    method public void setAudioServerStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.AudioServerStateCallback);
4159    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setFocusRequestResult(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
4160    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public boolean setPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull android.media.AudioDeviceAttributes);
4161    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setSupportedSystemUsages(@NonNull int[]);
4162    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setVolumeIndexForAttributes(@NonNull android.media.AudioAttributes, int, int);
4163    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void unregisterAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
4164    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void unregisterAudioPolicyAsync(@NonNull android.media.audiopolicy.AudioPolicy);
4165    method public void unregisterVolumeGroupCallback(@NonNull android.media.AudioManager.VolumeGroupCallback);
4166    field public static final int AUDIOFOCUS_FLAG_DELAY_OK = 1; // 0x1
4167    field public static final int AUDIOFOCUS_FLAG_LOCK = 4; // 0x4
4168    field public static final int AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS = 2; // 0x2
4169    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int STREAM_ASSISTANT = 11; // 0xb
4170    field public static final int SUCCESS = 0; // 0x0
4171  }
4172
4173  public abstract static class AudioManager.AudioServerStateCallback {
4174    ctor public AudioManager.AudioServerStateCallback();
4175    method public void onAudioServerDown();
4176    method public void onAudioServerUp();
4177  }
4178
4179  public static interface AudioManager.OnPreferredDeviceForStrategyChangedListener {
4180    method public void onPreferredDeviceForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @Nullable android.media.AudioDeviceAttributes);
4181  }
4182
4183  public abstract static class AudioManager.VolumeGroupCallback {
4184    ctor public AudioManager.VolumeGroupCallback();
4185    method public void onAudioVolumeGroupChanged(int, int);
4186  }
4187
4188  public final class AudioPlaybackConfiguration implements android.os.Parcelable {
4189    method public int getClientPid();
4190    method public int getClientUid();
4191    method public int getPlayerInterfaceId();
4192    method public android.media.PlayerProxy getPlayerProxy();
4193    method public int getPlayerState();
4194    method public int getPlayerType();
4195    method public boolean isActive();
4196    field public static final int PLAYER_STATE_IDLE = 1; // 0x1
4197    field public static final int PLAYER_STATE_PAUSED = 3; // 0x3
4198    field public static final int PLAYER_STATE_RELEASED = 0; // 0x0
4199    field public static final int PLAYER_STATE_STARTED = 2; // 0x2
4200    field public static final int PLAYER_STATE_STOPPED = 4; // 0x4
4201    field public static final int PLAYER_STATE_UNKNOWN = -1; // 0xffffffff
4202    field public static final int PLAYER_TYPE_JAM_AUDIOTRACK = 1; // 0x1
4203    field public static final int PLAYER_TYPE_JAM_MEDIAPLAYER = 2; // 0x2
4204    field public static final int PLAYER_TYPE_JAM_SOUNDPOOL = 3; // 0x3
4205    field public static final int PLAYER_TYPE_SLES_AUDIOPLAYER_BUFFERQUEUE = 11; // 0xb
4206    field public static final int PLAYER_TYPE_SLES_AUDIOPLAYER_URI_FD = 12; // 0xc
4207    field public static final int PLAYER_TYPE_UNKNOWN = -1; // 0xffffffff
4208  }
4209
4210  public class AudioRecord implements android.media.AudioRecordingMonitor android.media.AudioRouting android.media.MicrophoneDirection {
4211    ctor public AudioRecord(android.media.AudioAttributes, android.media.AudioFormat, int, int) throws java.lang.IllegalArgumentException;
4212  }
4213
4214  public static class AudioRecord.Builder {
4215    method public android.media.AudioRecord.Builder setAudioAttributes(@NonNull android.media.AudioAttributes) throws java.lang.IllegalArgumentException;
4216    method public android.media.AudioRecord.Builder setSessionId(int) throws java.lang.IllegalArgumentException;
4217  }
4218
4219  public final class AudioRecordingConfiguration implements android.os.Parcelable {
4220    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getClientUid();
4221  }
4222
4223  public class AudioTrack implements android.media.AudioRouting android.media.VolumeAutomation {
4224    field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final int ENCAPSULATION_MODE_HANDLE = 2; // 0x2
4225  }
4226
4227  public static class AudioTrack.Builder {
4228    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public android.media.AudioTrack.Builder setTunerConfiguration(@NonNull android.media.AudioTrack.TunerConfiguration);
4229  }
4230
4231  public static class AudioTrack.TunerConfiguration {
4232    ctor @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public AudioTrack.TunerConfiguration(@IntRange(from=1) int, @IntRange(from=1) int);
4233    method @IntRange(from=1) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getContentId();
4234    method @IntRange(from=1) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getSyncId();
4235  }
4236
4237  public class HwAudioSource {
4238    method public boolean isPlaying();
4239    method public void start();
4240    method public void stop();
4241  }
4242
4243  public static final class HwAudioSource.Builder {
4244    ctor public HwAudioSource.Builder();
4245    method @NonNull public android.media.HwAudioSource build();
4246    method @NonNull public android.media.HwAudioSource.Builder setAudioAttributes(@NonNull android.media.AudioAttributes);
4247    method @NonNull public android.media.HwAudioSource.Builder setAudioDeviceInfo(@NonNull android.media.AudioDeviceInfo);
4248  }
4249
4250  public final class MediaRecorder.AudioSource {
4251    field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_OUTPUT) public static final int ECHO_REFERENCE = 1997; // 0x7cd
4252    field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public static final int HOTWORD = 1999; // 0x7cf
4253    field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_OUTPUT) public static final int RADIO_TUNER = 1998; // 0x7ce
4254  }
4255
4256  public class PlayerProxy {
4257    method public void pause();
4258    method public void setPan(float);
4259    method public void setStartDelayMs(int);
4260    method public void setVolume(float);
4261    method public void start();
4262    method public void stop();
4263  }
4264
4265  public class RingtoneManager {
4266    method @RequiresPermission(android.Manifest.permission.WRITE_SETTINGS) public static void ensureDefaultRingtones(@NonNull android.content.Context);
4267  }
4268
4269}
4270
4271package android.media.audiofx {
4272
4273  public class AudioEffect {
4274    ctor @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public AudioEffect(@NonNull java.util.UUID, @NonNull android.media.AudioDeviceAttributes);
4275    method @RequiresPermission("android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS") public static boolean isEffectSupportedForDevice(@NonNull java.util.UUID, @NonNull android.media.AudioDeviceAttributes);
4276  }
4277
4278}
4279
4280package android.media.audiopolicy {
4281
4282  public class AudioMix {
4283    method public int getMixState();
4284    field public static final int MIX_STATE_DISABLED = -1; // 0xffffffff
4285    field public static final int MIX_STATE_IDLE = 0; // 0x0
4286    field public static final int MIX_STATE_MIXING = 1; // 0x1
4287    field public static final int ROUTE_FLAG_LOOP_BACK = 2; // 0x2
4288    field public static final int ROUTE_FLAG_RENDER = 1; // 0x1
4289  }
4290
4291  public static class AudioMix.Builder {
4292    ctor public AudioMix.Builder(android.media.audiopolicy.AudioMixingRule) throws java.lang.IllegalArgumentException;
4293    method public android.media.audiopolicy.AudioMix build() throws java.lang.IllegalArgumentException;
4294    method public android.media.audiopolicy.AudioMix.Builder setDevice(@NonNull android.media.AudioDeviceInfo) throws java.lang.IllegalArgumentException;
4295    method public android.media.audiopolicy.AudioMix.Builder setFormat(android.media.AudioFormat) throws java.lang.IllegalArgumentException;
4296    method public android.media.audiopolicy.AudioMix.Builder setRouteFlags(int) throws java.lang.IllegalArgumentException;
4297  }
4298
4299  public class AudioMixingRule {
4300    field public static final int RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET = 2; // 0x2
4301    field public static final int RULE_MATCH_ATTRIBUTE_USAGE = 1; // 0x1
4302    field public static final int RULE_MATCH_UID = 4; // 0x4
4303    field public static final int RULE_MATCH_USERID = 8; // 0x8
4304  }
4305
4306  public static class AudioMixingRule.Builder {
4307    ctor public AudioMixingRule.Builder();
4308    method public android.media.audiopolicy.AudioMixingRule.Builder addMixRule(int, Object) throws java.lang.IllegalArgumentException;
4309    method public android.media.audiopolicy.AudioMixingRule.Builder addRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException;
4310    method @NonNull public android.media.audiopolicy.AudioMixingRule.Builder allowPrivilegedPlaybackCapture(boolean);
4311    method public android.media.audiopolicy.AudioMixingRule build();
4312    method public android.media.audiopolicy.AudioMixingRule.Builder excludeMixRule(int, Object) throws java.lang.IllegalArgumentException;
4313    method public android.media.audiopolicy.AudioMixingRule.Builder excludeRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException;
4314  }
4315
4316  public class AudioPolicy {
4317    method public int attachMixes(@NonNull java.util.List<android.media.audiopolicy.AudioMix>);
4318    method public android.media.AudioRecord createAudioRecordSink(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException;
4319    method public android.media.AudioTrack createAudioTrackSource(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException;
4320    method public int detachMixes(@NonNull java.util.List<android.media.audiopolicy.AudioMix>);
4321    method public int getFocusDuckingBehavior();
4322    method public int getStatus();
4323    method public boolean removeUidDeviceAffinity(int);
4324    method public boolean removeUserIdDeviceAffinity(int);
4325    method public int setFocusDuckingBehavior(int) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException;
4326    method public void setRegistration(String);
4327    method public boolean setUidDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>);
4328    method public boolean setUserIdDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>);
4329    method public String toLogFriendlyString();
4330    field public static final int FOCUS_POLICY_DUCKING_DEFAULT = 0; // 0x0
4331    field public static final int FOCUS_POLICY_DUCKING_IN_APP = 0; // 0x0
4332    field public static final int FOCUS_POLICY_DUCKING_IN_POLICY = 1; // 0x1
4333    field public static final int POLICY_STATUS_REGISTERED = 2; // 0x2
4334    field public static final int POLICY_STATUS_UNREGISTERED = 1; // 0x1
4335  }
4336
4337  public abstract static class AudioPolicy.AudioPolicyFocusListener {
4338    ctor public AudioPolicy.AudioPolicyFocusListener();
4339    method public void onAudioFocusAbandon(android.media.AudioFocusInfo);
4340    method public void onAudioFocusGrant(android.media.AudioFocusInfo, int);
4341    method public void onAudioFocusLoss(android.media.AudioFocusInfo, boolean);
4342    method public void onAudioFocusRequest(android.media.AudioFocusInfo, int);
4343  }
4344
4345  public abstract static class AudioPolicy.AudioPolicyStatusListener {
4346    ctor public AudioPolicy.AudioPolicyStatusListener();
4347    method public void onMixStateUpdate(android.media.audiopolicy.AudioMix);
4348    method public void onStatusChange();
4349  }
4350
4351  public abstract static class AudioPolicy.AudioPolicyVolumeCallback {
4352    ctor public AudioPolicy.AudioPolicyVolumeCallback();
4353    method public void onVolumeAdjustment(int);
4354  }
4355
4356  public static class AudioPolicy.Builder {
4357    ctor public AudioPolicy.Builder(android.content.Context);
4358    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder addMix(@NonNull android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException;
4359    method @NonNull public android.media.audiopolicy.AudioPolicy build();
4360    method public void setAudioPolicyFocusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyFocusListener);
4361    method public void setAudioPolicyStatusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyStatusListener);
4362    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setAudioPolicyVolumeCallback(@NonNull android.media.audiopolicy.AudioPolicy.AudioPolicyVolumeCallback);
4363    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsAudioFocusPolicy(boolean);
4364    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setLooper(@NonNull android.os.Looper) throws java.lang.IllegalArgumentException;
4365  }
4366
4367  public final class AudioProductStrategy implements android.os.Parcelable {
4368    method @NonNull public static android.media.audiopolicy.AudioProductStrategy createInvalidAudioProductStrategy(int);
4369    method public int describeContents();
4370    method @NonNull public android.media.AudioAttributes getAudioAttributes();
4371    method public int getId();
4372    method public boolean supportsAudioAttributes(@NonNull android.media.AudioAttributes);
4373    method public void writeToParcel(@NonNull android.os.Parcel, int);
4374    field @NonNull public static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioProductStrategy> CREATOR;
4375  }
4376
4377  public final class AudioVolumeGroup implements android.os.Parcelable {
4378    method public int describeContents();
4379    method @NonNull public java.util.List<android.media.AudioAttributes> getAudioAttributes();
4380    method public int getId();
4381    method @NonNull public int[] getLegacyStreamTypes();
4382    method @NonNull public String name();
4383    method public void writeToParcel(@NonNull android.os.Parcel, int);
4384    field public static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioVolumeGroup> CREATOR;
4385    field public static final int DEFAULT_VOLUME_GROUP = -1; // 0xffffffff
4386  }
4387
4388}
4389
4390package android.media.session {
4391
4392  public final class MediaSessionManager {
4393    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void addOnMediaKeyEventDispatchedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.OnMediaKeyEventDispatchedListener);
4394    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void addOnMediaKeyEventSessionChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.OnMediaKeyEventSessionChangedListener);
4395    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void removeOnMediaKeyEventDispatchedListener(@NonNull android.media.session.MediaSessionManager.OnMediaKeyEventDispatchedListener);
4396    method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void removeOnMediaKeyEventSessionChangedListener(@NonNull android.media.session.MediaSessionManager.OnMediaKeyEventSessionChangedListener);
4397    method @RequiresPermission(android.Manifest.permission.SET_MEDIA_KEY_LISTENER) public void setOnMediaKeyListener(android.media.session.MediaSessionManager.OnMediaKeyListener, @Nullable android.os.Handler);
4398    method @RequiresPermission(android.Manifest.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER) public void setOnVolumeKeyLongPressListener(android.media.session.MediaSessionManager.OnVolumeKeyLongPressListener, @Nullable android.os.Handler);
4399  }
4400
4401  public static interface MediaSessionManager.OnMediaKeyEventDispatchedListener {
4402    method public void onMediaKeyEventDispatched(@NonNull android.view.KeyEvent, @NonNull String, @Nullable android.media.session.MediaSession.Token);
4403  }
4404
4405  public static interface MediaSessionManager.OnMediaKeyEventSessionChangedListener {
4406    method public void onMediaKeyEventSessionChanged(@NonNull String, @Nullable android.media.session.MediaSession.Token);
4407  }
4408
4409  public static interface MediaSessionManager.OnMediaKeyListener {
4410    method public boolean onMediaKey(android.view.KeyEvent);
4411  }
4412
4413  public static interface MediaSessionManager.OnVolumeKeyLongPressListener {
4414    method public void onVolumeKeyLongPress(android.view.KeyEvent);
4415  }
4416
4417}
4418
4419package android.media.soundtrigger {
4420
4421  public abstract class SoundTriggerDetectionService extends android.app.Service {
4422    ctor public SoundTriggerDetectionService();
4423    method @MainThread public void onConnected(@NonNull java.util.UUID, @Nullable android.os.Bundle);
4424    method @MainThread public void onDisconnected(@NonNull java.util.UUID, @Nullable android.os.Bundle);
4425    method @MainThread public void onError(@NonNull java.util.UUID, @Nullable android.os.Bundle, int, int);
4426    method @MainThread public void onGenericRecognitionEvent(@NonNull java.util.UUID, @Nullable android.os.Bundle, int, @NonNull android.hardware.soundtrigger.SoundTrigger.RecognitionEvent);
4427    method @MainThread public abstract void onStopOperation(@NonNull java.util.UUID, @Nullable android.os.Bundle, int);
4428    method public final void operationFinished(@Nullable java.util.UUID, int);
4429  }
4430
4431  public final class SoundTriggerDetector {
4432    method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public boolean startRecognition(int);
4433    method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public boolean stopRecognition();
4434    field public static final int RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS = 2; // 0x2
4435    field public static final int RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO = 1; // 0x1
4436    field public static final int RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION = 4; // 0x4
4437    field public static final int RECOGNITION_FLAG_ENABLE_AUDIO_NOISE_SUPPRESSION = 8; // 0x8
4438  }
4439
4440  public abstract static class SoundTriggerDetector.Callback {
4441    ctor public SoundTriggerDetector.Callback();
4442    method public abstract void onAvailabilityChanged(int);
4443    method public abstract void onDetected(@NonNull android.media.soundtrigger.SoundTriggerDetector.EventPayload);
4444    method public abstract void onError();
4445    method public abstract void onRecognitionPaused();
4446    method public abstract void onRecognitionResumed();
4447  }
4448
4449  public static class SoundTriggerDetector.EventPayload {
4450    method @Nullable public android.media.AudioFormat getCaptureAudioFormat();
4451    method @Nullable public byte[] getTriggerAudio();
4452  }
4453
4454  public final class SoundTriggerManager {
4455    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.media.soundtrigger.SoundTriggerDetector createSoundTriggerDetector(java.util.UUID, @NonNull android.media.soundtrigger.SoundTriggerDetector.Callback, @Nullable android.os.Handler);
4456    method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public void deleteModel(java.util.UUID);
4457    method public int getDetectionServiceOperationsTimeout();
4458    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.media.soundtrigger.SoundTriggerManager.Model getModel(java.util.UUID);
4459    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.hardware.soundtrigger.SoundTrigger.ModuleProperties getModuleProperties();
4460    method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public int getParameter(@NonNull java.util.UUID, int);
4461    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public android.hardware.soundtrigger.SoundTrigger.ModelParamRange queryParameter(@Nullable java.util.UUID, int);
4462    method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public int setParameter(@Nullable java.util.UUID, int, int);
4463    method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public void updateModel(android.media.soundtrigger.SoundTriggerManager.Model);
4464  }
4465
4466  public static class SoundTriggerManager.Model {
4467    method @NonNull public static android.media.soundtrigger.SoundTriggerManager.Model create(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[], int);
4468    method @NonNull public static android.media.soundtrigger.SoundTriggerManager.Model create(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nullable byte[]);
4469    method @Nullable public byte[] getModelData();
4470    method @NonNull public java.util.UUID getModelUuid();
4471    method @NonNull public java.util.UUID getVendorUuid();
4472    method public int getVersion();
4473  }
4474
4475}
4476
4477package android.media.tv {
4478
4479  public final class DvbDeviceInfo implements android.os.Parcelable {
4480    ctor public DvbDeviceInfo(int, int);
4481    method public int describeContents();
4482    method @IntRange(from=0) public int getAdapterId();
4483    method @IntRange(from=0) public int getDeviceId();
4484    method public void writeToParcel(@NonNull android.os.Parcel, int);
4485    field @NonNull public static final android.os.Parcelable.Creator<android.media.tv.DvbDeviceInfo> CREATOR;
4486  }
4487
4488  public final class TvContentRatingSystemInfo implements android.os.Parcelable {
4489    method public static android.media.tv.TvContentRatingSystemInfo createTvContentRatingSystemInfo(int, android.content.pm.ApplicationInfo);
4490    method public int describeContents();
4491    method public android.net.Uri getXmlUri();
4492    method public boolean isSystemDefined();
4493    method public void writeToParcel(android.os.Parcel, int);
4494  }
4495
4496  public final class TvContract {
4497    method public static android.net.Uri buildChannelsUriForInput(@Nullable String, boolean);
4498    method public static android.net.Uri buildChannelsUriForInput(@Nullable String, @Nullable String, boolean);
4499    field public static final String ACTION_CHANNEL_BROWSABLE_REQUESTED = "android.media.tv.action.CHANNEL_BROWSABLE_REQUESTED";
4500    field public static final String EXTRA_BLOCKED_PACKAGES = "android.media.tv.extra.BLOCKED_PACKAGES";
4501    field public static final String EXTRA_COLUMN_NAME = "android.media.tv.extra.COLUMN_NAME";
4502    field public static final String EXTRA_DATA_TYPE = "android.media.tv.extra.DATA_TYPE";
4503    field public static final String EXTRA_DEFAULT_VALUE = "android.media.tv.extra.DEFAULT_VALUE";
4504    field public static final String EXTRA_EXISTING_COLUMN_NAMES = "android.media.tv.extra.EXISTING_COLUMN_NAMES";
4505    field public static final String EXTRA_PACKAGE_NAME = "android.media.tv.extra.PACKAGE_NAME";
4506    field public static final String EXTRA_RESULT_CODE = "android.media.tv.extra.RESULT_CODE";
4507    field public static final String METHOD_ADD_COLUMN = "add_column";
4508    field public static final String METHOD_BLOCK_PACKAGE = "block_package";
4509    field public static final String METHOD_GET_BLOCKED_PACKAGES = "get_blocked_packages";
4510    field public static final String METHOD_GET_COLUMNS = "get_columns";
4511    field public static final String METHOD_UNBLOCK_PACKAGE = "unblock_package";
4512    field public static final int RESULT_ERROR_INVALID_ARGUMENT = 2; // 0x2
4513    field public static final int RESULT_ERROR_IO = 1; // 0x1
4514    field public static final int RESULT_OK = 0; // 0x0
4515  }
4516
4517  public static final class TvContract.WatchedPrograms implements android.media.tv.TvContract.BaseTvColumns {
4518    field public static final String COLUMN_CHANNEL_ID = "channel_id";
4519    field public static final String COLUMN_DESCRIPTION = "description";
4520    field public static final String COLUMN_END_TIME_UTC_MILLIS = "end_time_utc_millis";
4521    field public static final String COLUMN_INTERNAL_SESSION_TOKEN = "session_token";
4522    field public static final String COLUMN_INTERNAL_TUNE_PARAMS = "tune_params";
4523    field public static final String COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis";
4524    field public static final String COLUMN_TITLE = "title";
4525    field public static final String COLUMN_WATCH_END_TIME_UTC_MILLIS = "watch_end_time_utc_millis";
4526    field public static final String COLUMN_WATCH_START_TIME_UTC_MILLIS = "watch_start_time_utc_millis";
4527    field public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/watched_program";
4528    field public static final String CONTENT_TYPE = "vnd.android.cursor.dir/watched_program";
4529    field public static final android.net.Uri CONTENT_URI;
4530  }
4531
4532  public final class TvInputHardwareInfo implements android.os.Parcelable {
4533    method public int describeContents();
4534    method public String getAudioAddress();
4535    method public int getAudioType();
4536    method public int getCableConnectionStatus();
4537    method public int getDeviceId();
4538    method public int getHdmiPortId();
4539    method public int getType();
4540    method public void readFromParcel(android.os.Parcel);
4541    method public void writeToParcel(android.os.Parcel, int);
4542    field public static final int CABLE_CONNECTION_STATUS_CONNECTED = 1; // 0x1
4543    field public static final int CABLE_CONNECTION_STATUS_DISCONNECTED = 2; // 0x2
4544    field public static final int CABLE_CONNECTION_STATUS_UNKNOWN = 0; // 0x0
4545    field @NonNull public static final android.os.Parcelable.Creator<android.media.tv.TvInputHardwareInfo> CREATOR;
4546    field public static final int TV_INPUT_TYPE_COMPONENT = 6; // 0x6
4547    field public static final int TV_INPUT_TYPE_COMPOSITE = 3; // 0x3
4548    field public static final int TV_INPUT_TYPE_DISPLAY_PORT = 10; // 0xa
4549    field public static final int TV_INPUT_TYPE_DVI = 8; // 0x8
4550    field public static final int TV_INPUT_TYPE_HDMI = 9; // 0x9
4551    field public static final int TV_INPUT_TYPE_OTHER_HARDWARE = 1; // 0x1
4552    field public static final int TV_INPUT_TYPE_SCART = 5; // 0x5
4553    field public static final int TV_INPUT_TYPE_SVIDEO = 4; // 0x4
4554    field public static final int TV_INPUT_TYPE_TUNER = 2; // 0x2
4555    field public static final int TV_INPUT_TYPE_VGA = 7; // 0x7
4556  }
4557
4558  public static final class TvInputHardwareInfo.Builder {
4559    ctor public TvInputHardwareInfo.Builder();
4560    method public android.media.tv.TvInputHardwareInfo.Builder audioAddress(String);
4561    method public android.media.tv.TvInputHardwareInfo.Builder audioType(int);
4562    method public android.media.tv.TvInputHardwareInfo build();
4563    method public android.media.tv.TvInputHardwareInfo.Builder cableConnectionStatus(int);
4564    method public android.media.tv.TvInputHardwareInfo.Builder deviceId(int);
4565    method public android.media.tv.TvInputHardwareInfo.Builder hdmiPortId(int);
4566    method public android.media.tv.TvInputHardwareInfo.Builder type(int);
4567  }
4568
4569  public final class TvInputInfo implements android.os.Parcelable {
4570    method @Deprecated public static android.media.tv.TvInputInfo createTvInputInfo(android.content.Context, android.content.pm.ResolveInfo, android.hardware.hdmi.HdmiDeviceInfo, String, String, android.net.Uri) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
4571    method @Deprecated public static android.media.tv.TvInputInfo createTvInputInfo(android.content.Context, android.content.pm.ResolveInfo, android.hardware.hdmi.HdmiDeviceInfo, String, int, android.graphics.drawable.Icon) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
4572    method @Deprecated public static android.media.tv.TvInputInfo createTvInputInfo(android.content.Context, android.content.pm.ResolveInfo, android.media.tv.TvInputHardwareInfo, String, android.net.Uri) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
4573    method @Deprecated public static android.media.tv.TvInputInfo createTvInputInfo(android.content.Context, android.content.pm.ResolveInfo, android.media.tv.TvInputHardwareInfo, int, android.graphics.drawable.Icon) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
4574    method public android.hardware.hdmi.HdmiDeviceInfo getHdmiDeviceInfo();
4575    method public boolean isConnectedToHdmiSwitch();
4576    method public boolean isHardwareInput();
4577    method public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.Context, int);
4578  }
4579
4580  public static final class TvInputInfo.Builder {
4581    method public android.media.tv.TvInputInfo.Builder setHdmiDeviceInfo(android.hardware.hdmi.HdmiDeviceInfo);
4582    method public android.media.tv.TvInputInfo.Builder setIcon(android.graphics.drawable.Icon);
4583    method public android.media.tv.TvInputInfo.Builder setIcon(android.graphics.drawable.Icon, int);
4584    method public android.media.tv.TvInputInfo.Builder setLabel(CharSequence);
4585    method public android.media.tv.TvInputInfo.Builder setLabel(@StringRes int);
4586    method public android.media.tv.TvInputInfo.Builder setParentId(String);
4587    method public android.media.tv.TvInputInfo.Builder setTvInputHardwareInfo(android.media.tv.TvInputHardwareInfo);
4588  }
4589
4590  public static final class TvInputInfo.TvInputSettings {
4591    method public static java.util.Map<java.lang.String,java.lang.String> getCustomLabels(android.content.Context, int);
4592    method public static java.util.Set<java.lang.String> getHiddenTvInputIds(android.content.Context, int);
4593    method public static void putCustomLabels(android.content.Context, java.util.Map<java.lang.String,java.lang.String>, int);
4594    method public static void putHiddenTvInputs(android.content.Context, java.util.Set<java.lang.String>, int);
4595  }
4596
4597  public final class TvInputManager {
4598    method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, @NonNull android.media.tv.TvInputInfo, @NonNull android.media.tv.TvInputManager.HardwareCallback);
4599    method @Nullable @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, @NonNull android.media.tv.TvInputInfo, @Nullable String, int, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.TvInputManager.HardwareCallback);
4600    method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void addBlockedRating(@NonNull android.media.tv.TvContentRating);
4601    method @RequiresPermission(android.Manifest.permission.CAPTURE_TV_INPUT) public boolean captureFrame(String, android.view.Surface, android.media.tv.TvStreamConfig);
4602    method @RequiresPermission(android.Manifest.permission.CAPTURE_TV_INPUT) public java.util.List<android.media.tv.TvStreamConfig> getAvailableTvStreamConfigList(String);
4603    method @NonNull @RequiresPermission("android.permission.DVB_DEVICE") public java.util.List<android.media.tv.DvbDeviceInfo> getDvbDeviceList();
4604    method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public java.util.List<android.media.tv.TvInputHardwareInfo> getHardwareList();
4605    method @RequiresPermission(android.Manifest.permission.READ_CONTENT_RATING_SYSTEMS) public java.util.List<android.media.tv.TvContentRatingSystemInfo> getTvContentRatingSystemList();
4606    method @RequiresPermission(android.Manifest.permission.CAPTURE_TV_INPUT) public boolean isSingleSessionActive();
4607    method @RequiresPermission(android.Manifest.permission.NOTIFY_TV_INPUTS) public void notifyPreviewProgramAddedToWatchNext(String, long, long);
4608    method @RequiresPermission(android.Manifest.permission.NOTIFY_TV_INPUTS) public void notifyPreviewProgramBrowsableDisabled(String, long);
4609    method @RequiresPermission(android.Manifest.permission.NOTIFY_TV_INPUTS) public void notifyWatchNextProgramBrowsableDisabled(String, long);
4610    method @Nullable @RequiresPermission("android.permission.DVB_DEVICE") public android.os.ParcelFileDescriptor openDvbDevice(@NonNull android.media.tv.DvbDeviceInfo, int);
4611    method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public void releaseTvInputHardware(int, android.media.tv.TvInputManager.Hardware);
4612    method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void removeBlockedRating(@NonNull android.media.tv.TvContentRating);
4613    method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void setParentalControlsEnabled(boolean);
4614  }
4615
4616  public static final class TvInputManager.Hardware {
4617    method public void overrideAudioSink(int, String, int, int, int);
4618    method public void setStreamVolume(float);
4619    method public boolean setSurface(android.view.Surface, android.media.tv.TvStreamConfig);
4620  }
4621
4622  public abstract static class TvInputManager.HardwareCallback {
4623    ctor public TvInputManager.HardwareCallback();
4624    method public abstract void onReleased();
4625    method public abstract void onStreamConfigChanged(android.media.tv.TvStreamConfig[]);
4626  }
4627
4628  public abstract class TvInputService extends android.app.Service {
4629    method @Nullable public android.media.tv.TvInputInfo onHardwareAdded(android.media.tv.TvInputHardwareInfo);
4630    method @Nullable public String onHardwareRemoved(android.media.tv.TvInputHardwareInfo);
4631    method @Nullable public android.media.tv.TvInputInfo onHdmiDeviceAdded(android.hardware.hdmi.HdmiDeviceInfo);
4632    method @Nullable public String onHdmiDeviceRemoved(android.hardware.hdmi.HdmiDeviceInfo);
4633    method public void onHdmiDeviceUpdated(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
4634  }
4635
4636  public abstract static class TvInputService.RecordingSession {
4637    method public void notifySessionEvent(@NonNull String, android.os.Bundle);
4638  }
4639
4640  public abstract static class TvInputService.Session implements android.view.KeyEvent.Callback {
4641    method public void notifySessionEvent(@NonNull String, android.os.Bundle);
4642    method public void onSetMain(boolean);
4643  }
4644
4645  public abstract static class TvRecordingClient.RecordingCallback {
4646    method public void onEvent(String, String, android.os.Bundle);
4647  }
4648
4649  public class TvStreamConfig implements android.os.Parcelable {
4650    method public int describeContents();
4651    method public int getGeneration();
4652    method public int getMaxHeight();
4653    method public int getMaxWidth();
4654    method public int getStreamId();
4655    method public int getType();
4656    method public void writeToParcel(android.os.Parcel, int);
4657    field @NonNull public static final android.os.Parcelable.Creator<android.media.tv.TvStreamConfig> CREATOR;
4658    field public static final int STREAM_TYPE_BUFFER_PRODUCER = 2; // 0x2
4659    field public static final int STREAM_TYPE_INDEPENDENT_VIDEO_SOURCE = 1; // 0x1
4660  }
4661
4662  public static final class TvStreamConfig.Builder {
4663    ctor public TvStreamConfig.Builder();
4664    method public android.media.tv.TvStreamConfig build();
4665    method public android.media.tv.TvStreamConfig.Builder generation(int);
4666    method public android.media.tv.TvStreamConfig.Builder maxHeight(int);
4667    method public android.media.tv.TvStreamConfig.Builder maxWidth(int);
4668    method public android.media.tv.TvStreamConfig.Builder streamId(int);
4669    method public android.media.tv.TvStreamConfig.Builder type(int);
4670  }
4671
4672  public class TvView extends android.view.ViewGroup {
4673    method @RequiresPermission("android.permission.CHANGE_HDMI_CEC_ACTIVE_SOURCE") public void setMain();
4674    method @RequiresPermission(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) public void unblockContent(android.media.tv.TvContentRating);
4675  }
4676
4677  public abstract static class TvView.TvInputCallback {
4678    method public void onEvent(String, String, android.os.Bundle);
4679  }
4680
4681}
4682
4683package android.media.tv.tuner {
4684
4685  public class DemuxCapabilities {
4686    method public int getAudioFilterCount();
4687    method public int getDemuxCount();
4688    method public int getFilterCapabilities();
4689    method @NonNull @Size(5) public int[] getLinkCapabilities();
4690    method public int getPcrFilterCount();
4691    method public int getPesFilterCount();
4692    method public int getPlaybackCount();
4693    method public int getRecordCount();
4694    method public int getSectionFilterCount();
4695    method public long getSectionFilterLength();
4696    method public int getTsFilterCount();
4697    method public int getVideoFilterCount();
4698    method public boolean isTimeFilterSupported();
4699  }
4700
4701  public class Descrambler implements java.lang.AutoCloseable {
4702    method public int addPid(int, int, @Nullable android.media.tv.tuner.filter.Filter);
4703    method public void close();
4704    method public int removePid(int, int, @Nullable android.media.tv.tuner.filter.Filter);
4705    method public int setKeyToken(@NonNull byte[]);
4706    field public static final int PID_TYPE_MMTP = 2; // 0x2
4707    field public static final int PID_TYPE_T = 1; // 0x1
4708  }
4709
4710  public class Lnb implements java.lang.AutoCloseable {
4711    method public void close();
4712    method public int sendDiseqcMessage(@NonNull byte[]);
4713    method public int setSatellitePosition(int);
4714    method public int setTone(int);
4715    method public int setVoltage(int);
4716    field public static final int EVENT_TYPE_DISEQC_RX_OVERFLOW = 0; // 0x0
4717    field public static final int EVENT_TYPE_DISEQC_RX_PARITY_ERROR = 2; // 0x2
4718    field public static final int EVENT_TYPE_DISEQC_RX_TIMEOUT = 1; // 0x1
4719    field public static final int EVENT_TYPE_LNB_OVERLOAD = 3; // 0x3
4720    field public static final int POSITION_A = 1; // 0x1
4721    field public static final int POSITION_B = 2; // 0x2
4722    field public static final int POSITION_UNDEFINED = 0; // 0x0
4723    field public static final int TONE_CONTINUOUS = 1; // 0x1
4724    field public static final int TONE_NONE = 0; // 0x0
4725    field public static final int VOLTAGE_11V = 2; // 0x2
4726    field public static final int VOLTAGE_12V = 3; // 0x3
4727    field public static final int VOLTAGE_13V = 4; // 0x4
4728    field public static final int VOLTAGE_14V = 5; // 0x5
4729    field public static final int VOLTAGE_15V = 6; // 0x6
4730    field public static final int VOLTAGE_18V = 7; // 0x7
4731    field public static final int VOLTAGE_19V = 8; // 0x8
4732    field public static final int VOLTAGE_5V = 1; // 0x1
4733    field public static final int VOLTAGE_NONE = 0; // 0x0
4734  }
4735
4736  public interface LnbCallback {
4737    method public void onDiseqcMessage(@NonNull byte[]);
4738    method public void onEvent(int);
4739  }
4740
4741  public class Tuner implements java.lang.AutoCloseable {
4742    ctor @RequiresPermission(android.Manifest.permission.ACCESS_TV_TUNER) public Tuner(@NonNull android.content.Context, @Nullable String, int);
4743    method public int cancelScanning();
4744    method public int cancelTuning();
4745    method public void clearOnTuneEventListener();
4746    method public void clearResourceLostListener();
4747    method public void close();
4748    method public int connectCiCam(int);
4749    method public int disconnectCiCam();
4750    method public int getAvSyncHwId(@NonNull android.media.tv.tuner.filter.Filter);
4751    method public long getAvSyncTime(int);
4752    method @Nullable public android.media.tv.tuner.DemuxCapabilities getDemuxCapabilities();
4753    method @Nullable public android.media.tv.tuner.frontend.FrontendInfo getFrontendInfo();
4754    method @Nullable public android.media.tv.tuner.frontend.FrontendStatus getFrontendStatus(@NonNull int[]);
4755    method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_TV_DESCRAMBLER) public android.media.tv.tuner.Descrambler openDescrambler();
4756    method @Nullable public android.media.tv.tuner.dvr.DvrPlayback openDvrPlayback(long, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.dvr.OnPlaybackStatusChangedListener);
4757    method @Nullable public android.media.tv.tuner.dvr.DvrRecorder openDvrRecorder(long, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.dvr.OnRecordStatusChangedListener);
4758    method @Nullable public android.media.tv.tuner.filter.Filter openFilter(int, int, long, @Nullable java.util.concurrent.Executor, @Nullable android.media.tv.tuner.filter.FilterCallback);
4759    method @Nullable public android.media.tv.tuner.Lnb openLnb(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.LnbCallback);
4760    method @Nullable public android.media.tv.tuner.Lnb openLnbByName(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.LnbCallback);
4761    method @Nullable public android.media.tv.tuner.filter.TimeFilter openTimeFilter();
4762    method public int scan(@NonNull android.media.tv.tuner.frontend.FrontendSettings, int, @NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.frontend.ScanCallback);
4763    method public int setLnaEnabled(boolean);
4764    method public void setOnTuneEventListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.frontend.OnTuneEventListener);
4765    method public void setResourceLostListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.tuner.Tuner.OnResourceLostListener);
4766    method public void shareFrontendFromTuner(@NonNull android.media.tv.tuner.Tuner);
4767    method public int tune(@NonNull android.media.tv.tuner.frontend.FrontendSettings);
4768    method public void updateResourcePriority(int, int);
4769    field public static final int INVALID_AV_SYNC_ID = -1; // 0xffffffff
4770    field public static final int INVALID_FILTER_ID = -1; // 0xffffffff
4771    field public static final int INVALID_STREAM_ID = 65535; // 0xffff
4772    field public static final long INVALID_TIMESTAMP = -1L; // 0xffffffffffffffffL
4773    field public static final int INVALID_TS_PID = 65535; // 0xffff
4774    field public static final int RESULT_INVALID_ARGUMENT = 4; // 0x4
4775    field public static final int RESULT_INVALID_STATE = 3; // 0x3
4776    field public static final int RESULT_NOT_INITIALIZED = 2; // 0x2
4777    field public static final int RESULT_OUT_OF_MEMORY = 5; // 0x5
4778    field public static final int RESULT_SUCCESS = 0; // 0x0
4779    field public static final int RESULT_UNAVAILABLE = 1; // 0x1
4780    field public static final int RESULT_UNKNOWN_ERROR = 6; // 0x6
4781    field public static final int SCAN_TYPE_AUTO = 1; // 0x1
4782    field public static final int SCAN_TYPE_BLIND = 2; // 0x2
4783    field public static final int SCAN_TYPE_UNDEFINED = 0; // 0x0
4784  }
4785
4786  public static interface Tuner.OnResourceLostListener {
4787    method public void onResourceLost(@NonNull android.media.tv.tuner.Tuner);
4788  }
4789
4790}
4791
4792package android.media.tv.tuner.dvr {
4793
4794  public class DvrPlayback implements java.lang.AutoCloseable {
4795    method public int attachFilter(@NonNull android.media.tv.tuner.filter.Filter);
4796    method public void close();
4797    method public int configure(@NonNull android.media.tv.tuner.dvr.DvrSettings);
4798    method public int detachFilter(@NonNull android.media.tv.tuner.filter.Filter);
4799    method public int flush();
4800    method public long read(long);
4801    method public long read(@NonNull byte[], long, long);
4802    method public void setFileDescriptor(@NonNull android.os.ParcelFileDescriptor);
4803    method public int start();
4804    method public int stop();
4805    field public static final int PLAYBACK_STATUS_ALMOST_EMPTY = 2; // 0x2
4806    field public static final int PLAYBACK_STATUS_ALMOST_FULL = 4; // 0x4
4807    field public static final int PLAYBACK_STATUS_EMPTY = 1; // 0x1
4808    field public static final int PLAYBACK_STATUS_FULL = 8; // 0x8
4809  }
4810
4811  public class DvrRecorder implements java.lang.AutoCloseable {
4812    method public int attachFilter(@NonNull android.media.tv.tuner.filter.Filter);
4813    method public void close();
4814    method public int configure(@NonNull android.media.tv.tuner.dvr.DvrSettings);
4815    method public int detachFilter(@NonNull android.media.tv.tuner.filter.Filter);
4816    method public int flush();
4817    method public void setFileDescriptor(@NonNull android.os.ParcelFileDescriptor);
4818    method public int start();
4819    method public int stop();
4820    method public long write(long);
4821    method public long write(@NonNull byte[], long, long);
4822  }
4823
4824  public class DvrSettings {
4825    method @NonNull public static android.media.tv.tuner.dvr.DvrSettings.Builder builder();
4826    method public int getDataFormat();
4827    method public long getHighThreshold();
4828    method public long getLowThreshold();
4829    method public long getPacketSize();
4830    method public int getStatusMask();
4831    field public static final int DATA_FORMAT_ES = 2; // 0x2
4832    field public static final int DATA_FORMAT_PES = 1; // 0x1
4833    field public static final int DATA_FORMAT_SHV_TLV = 3; // 0x3
4834    field public static final int DATA_FORMAT_TS = 0; // 0x0
4835  }
4836
4837  public static final class DvrSettings.Builder {
4838    ctor public DvrSettings.Builder();
4839    method @NonNull public android.media.tv.tuner.dvr.DvrSettings build();
4840    method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setDataFormat(int);
4841    method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setHighThreshold(long);
4842    method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setLowThreshold(long);
4843    method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setPacketSize(long);
4844    method @NonNull public android.media.tv.tuner.dvr.DvrSettings.Builder setStatusMask(int);
4845  }
4846
4847  public interface OnPlaybackStatusChangedListener {
4848    method public void onPlaybackStatusChanged(int);
4849  }
4850
4851  public interface OnRecordStatusChangedListener {
4852    method public void onRecordStatusChanged(int);
4853  }
4854
4855}
4856
4857package android.media.tv.tuner.filter {
4858
4859  public final class AlpFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration {
4860    method @NonNull public static android.media.tv.tuner.filter.AlpFilterConfiguration.Builder builder();
4861    method public int getLengthType();
4862    method public int getPacketType();
4863    method public int getType();
4864    field public static final int LENGTH_TYPE_UNDEFINED = 0; // 0x0
4865    field public static final int LENGTH_TYPE_WITHOUT_ADDITIONAL_HEADER = 1; // 0x1
4866    field public static final int LENGTH_TYPE_WITH_ADDITIONAL_HEADER = 2; // 0x2
4867    field public static final int PACKET_TYPE_COMPRESSED = 2; // 0x2
4868    field public static final int PACKET_TYPE_EXTENSION = 6; // 0x6
4869    field public static final int PACKET_TYPE_IPV4 = 0; // 0x0
4870    field public static final int PACKET_TYPE_MPEG2_TS = 7; // 0x7
4871    field public static final int PACKET_TYPE_SIGNALING = 4; // 0x4
4872  }
4873
4874  public static final class AlpFilterConfiguration.Builder {
4875    method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration build();
4876    method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration.Builder setLengthType(int);
4877    method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration.Builder setPacketType(int);
4878    method @NonNull public android.media.tv.tuner.filter.AlpFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings);
4879  }
4880
4881  public class AudioDescriptor {
4882    method public byte getAdFade();
4883    method public byte getAdGainCenter();
4884    method public byte getAdGainFront();
4885    method public byte getAdGainSurround();
4886    method public byte getAdPan();
4887    method public char getAdVersionTextTag();
4888  }
4889
4890  public class AvSettings extends android.media.tv.tuner.filter.Settings {
4891    method @NonNull public static android.media.tv.tuner.filter.AvSettings.Builder builder(int, boolean);
4892    method public boolean isPassthrough();
4893  }
4894
4895  public static class AvSettings.Builder {
4896    method @NonNull public android.media.tv.tuner.filter.AvSettings build();
4897    method @NonNull public android.media.tv.tuner.filter.AvSettings.Builder setPassthrough(boolean);
4898  }
4899
4900  public class DownloadEvent extends android.media.tv.tuner.filter.FilterEvent {
4901    method public int getDataLength();
4902    method public int getItemFragmentIndex();
4903    method public int getItemId();
4904    method public int getLastItemFragmentIndex();
4905    method public int getMpuSequenceNumber();
4906  }
4907
4908  public class DownloadSettings extends android.media.tv.tuner.filter.Settings {
4909    method @NonNull public static android.media.tv.tuner.filter.DownloadSettings.Builder builder(int);
4910    method public int getDownloadId();
4911  }
4912
4913  public static class DownloadSettings.Builder {
4914    method @NonNull public android.media.tv.tuner.filter.DownloadSettings build();
4915    method @NonNull public android.media.tv.tuner.filter.DownloadSettings.Builder setDownloadId(int);
4916  }
4917
4918  public class Filter implements java.lang.AutoCloseable {
4919    method public void close();
4920    method public int configure(@NonNull android.media.tv.tuner.filter.FilterConfiguration);
4921    method public int flush();
4922    method public int getId();
4923    method public int read(@NonNull byte[], long, long);
4924    method public int setDataSource(@Nullable android.media.tv.tuner.filter.Filter);
4925    method public int start();
4926    method public int stop();
4927    field public static final int STATUS_DATA_READY = 1; // 0x1
4928    field public static final int STATUS_HIGH_WATER = 4; // 0x4
4929    field public static final int STATUS_LOW_WATER = 2; // 0x2
4930    field public static final int STATUS_OVERFLOW = 8; // 0x8
4931    field public static final int SUBTYPE_AUDIO = 3; // 0x3
4932    field public static final int SUBTYPE_DOWNLOAD = 5; // 0x5
4933    field public static final int SUBTYPE_IP = 13; // 0xd
4934    field public static final int SUBTYPE_IP_PAYLOAD = 12; // 0xc
4935    field public static final int SUBTYPE_MMTP = 10; // 0xa
4936    field public static final int SUBTYPE_NTP = 11; // 0xb
4937    field public static final int SUBTYPE_PAYLOAD_THROUGH = 14; // 0xe
4938    field public static final int SUBTYPE_PCR = 8; // 0x8
4939    field public static final int SUBTYPE_PES = 2; // 0x2
4940    field public static final int SUBTYPE_PTP = 16; // 0x10
4941    field public static final int SUBTYPE_RECORD = 6; // 0x6
4942    field public static final int SUBTYPE_SECTION = 1; // 0x1
4943    field public static final int SUBTYPE_TEMI = 9; // 0x9
4944    field public static final int SUBTYPE_TLV = 15; // 0xf
4945    field public static final int SUBTYPE_TS = 7; // 0x7
4946    field public static final int SUBTYPE_UNDEFINED = 0; // 0x0
4947    field public static final int SUBTYPE_VIDEO = 4; // 0x4
4948    field public static final int TYPE_ALP = 16; // 0x10
4949    field public static final int TYPE_IP = 4; // 0x4
4950    field public static final int TYPE_MMTP = 2; // 0x2
4951    field public static final int TYPE_TLV = 8; // 0x8
4952    field public static final int TYPE_TS = 1; // 0x1
4953    field public static final int TYPE_UNDEFINED = 0; // 0x0
4954  }
4955
4956  public interface FilterCallback {
4957    method public void onFilterEvent(@NonNull android.media.tv.tuner.filter.Filter, @NonNull android.media.tv.tuner.filter.FilterEvent[]);
4958    method public void onFilterStatusChanged(@NonNull android.media.tv.tuner.filter.Filter, int);
4959  }
4960
4961  public abstract class FilterConfiguration {
4962    method @Nullable public android.media.tv.tuner.filter.Settings getSettings();
4963    method public abstract int getType();
4964  }
4965
4966  public abstract class FilterEvent {
4967    ctor public FilterEvent();
4968  }
4969
4970  public final class IpFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration {
4971    method @NonNull public static android.media.tv.tuner.filter.IpFilterConfiguration.Builder builder();
4972    method @NonNull @Size(min=4, max=16) public byte[] getDstIpAddress();
4973    method public int getDstPort();
4974    method @NonNull @Size(min=4, max=16) public byte[] getSrcIpAddress();
4975    method public int getSrcPort();
4976    method public int getType();
4977    method public boolean isPassthrough();
4978  }
4979
4980  public static final class IpFilterConfiguration.Builder {
4981    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration build();
4982    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setDstIpAddress(@NonNull byte[]);
4983    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setDstPort(int);
4984    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setPassthrough(boolean);
4985    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings);
4986    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setSrcIpAddress(@NonNull byte[]);
4987    method @NonNull public android.media.tv.tuner.filter.IpFilterConfiguration.Builder setSrcPort(int);
4988  }
4989
4990  public class IpPayloadEvent extends android.media.tv.tuner.filter.FilterEvent {
4991    method public int getDataLength();
4992  }
4993
4994  public class MediaEvent extends android.media.tv.tuner.filter.FilterEvent {
4995    method public long getAudioHandle();
4996    method public long getAvDataId();
4997    method public long getDataLength();
4998    method @Nullable public android.media.tv.tuner.filter.AudioDescriptor getExtraMetaData();
4999    method @Nullable public android.media.MediaCodec.LinearBlock getLinearBlock();
5000    method public int getMpuSequenceNumber();
5001    method public long getOffset();
5002    method public long getPts();
5003    method public int getStreamId();
5004    method public boolean isPrivateData();
5005    method public boolean isPtsPresent();
5006    method public boolean isSecureMemory();
5007  }
5008
5009  public final class MmtpFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration {
5010    method @NonNull public static android.media.tv.tuner.filter.MmtpFilterConfiguration.Builder builder();
5011    method public int getMmtpPacketId();
5012    method public int getType();
5013  }
5014
5015  public static final class MmtpFilterConfiguration.Builder {
5016    method @NonNull public android.media.tv.tuner.filter.MmtpFilterConfiguration build();
5017    method @NonNull public android.media.tv.tuner.filter.MmtpFilterConfiguration.Builder setMmtpPacketId(int);
5018    method @NonNull public android.media.tv.tuner.filter.MmtpFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings);
5019  }
5020
5021  public class MmtpRecordEvent extends android.media.tv.tuner.filter.FilterEvent {
5022    method public long getDataLength();
5023    method public int getScHevcIndexMask();
5024  }
5025
5026  public class PesEvent extends android.media.tv.tuner.filter.FilterEvent {
5027    method public int getDataLength();
5028    method public int getMpuSequenceNumber();
5029    method public int getStreamId();
5030  }
5031
5032  public class PesSettings extends android.media.tv.tuner.filter.Settings {
5033    method @NonNull public static android.media.tv.tuner.filter.PesSettings.Builder builder(int);
5034    method public int getStreamId();
5035    method public boolean isRaw();
5036  }
5037
5038  public static class PesSettings.Builder {
5039    method @NonNull public android.media.tv.tuner.filter.PesSettings build();
5040    method @NonNull public android.media.tv.tuner.filter.PesSettings.Builder setRaw(boolean);
5041    method @NonNull public android.media.tv.tuner.filter.PesSettings.Builder setStreamId(int);
5042  }
5043
5044  public class RecordSettings extends android.media.tv.tuner.filter.Settings {
5045    method @NonNull public static android.media.tv.tuner.filter.RecordSettings.Builder builder(int);
5046    method public int getScIndexMask();
5047    method public int getScIndexType();
5048    method public int getTsIndexMask();
5049    field public static final int INDEX_TYPE_NONE = 0; // 0x0
5050    field public static final int INDEX_TYPE_SC = 1; // 0x1
5051    field public static final int INDEX_TYPE_SC_HEVC = 2; // 0x2
5052    field public static final int SC_HEVC_INDEX_AUD = 2; // 0x2
5053    field public static final int SC_HEVC_INDEX_SLICE_BLA_N_LP = 16; // 0x10
5054    field public static final int SC_HEVC_INDEX_SLICE_BLA_W_RADL = 8; // 0x8
5055    field public static final int SC_HEVC_INDEX_SLICE_CE_BLA_W_LP = 4; // 0x4
5056    field public static final int SC_HEVC_INDEX_SLICE_IDR_N_LP = 64; // 0x40
5057    field public static final int SC_HEVC_INDEX_SLICE_IDR_W_RADL = 32; // 0x20
5058    field public static final int SC_HEVC_INDEX_SLICE_TRAIL_CRA = 128; // 0x80
5059    field public static final int SC_HEVC_INDEX_SPS = 1; // 0x1
5060    field public static final int SC_INDEX_B_FRAME = 4; // 0x4
5061    field public static final int SC_INDEX_I_FRAME = 1; // 0x1
5062    field public static final int SC_INDEX_P_FRAME = 2; // 0x2
5063    field public static final int SC_INDEX_SEQUENCE = 8; // 0x8
5064    field public static final int TS_INDEX_ADAPTATION_EXTENSION_FLAG = 4096; // 0x1000
5065    field public static final int TS_INDEX_CHANGE_TO_EVEN_SCRAMBLED = 8; // 0x8
5066    field public static final int TS_INDEX_CHANGE_TO_NOT_SCRAMBLED = 4; // 0x4
5067    field public static final int TS_INDEX_CHANGE_TO_ODD_SCRAMBLED = 16; // 0x10
5068    field public static final int TS_INDEX_DISCONTINUITY_INDICATOR = 32; // 0x20
5069    field public static final int TS_INDEX_FIRST_PACKET = 1; // 0x1
5070    field public static final int TS_INDEX_OPCR_FLAG = 512; // 0x200
5071    field public static final int TS_INDEX_PAYLOAD_UNIT_START_INDICATOR = 2; // 0x2
5072    field public static final int TS_INDEX_PCR_FLAG = 256; // 0x100
5073    field public static final int TS_INDEX_PRIORITY_INDICATOR = 128; // 0x80
5074    field public static final int TS_INDEX_PRIVATE_DATA = 2048; // 0x800
5075    field public static final int TS_INDEX_RANDOM_ACCESS_INDICATOR = 64; // 0x40
5076    field public static final int TS_INDEX_SPLICING_POINT_FLAG = 1024; // 0x400
5077  }
5078
5079  public static class RecordSettings.Builder {
5080    method @NonNull public android.media.tv.tuner.filter.RecordSettings build();
5081    method @NonNull public android.media.tv.tuner.filter.RecordSettings.Builder setScIndexMask(int);
5082    method @NonNull public android.media.tv.tuner.filter.RecordSettings.Builder setScIndexType(int);
5083    method @NonNull public android.media.tv.tuner.filter.RecordSettings.Builder setTsIndexMask(int);
5084  }
5085
5086  public class SectionEvent extends android.media.tv.tuner.filter.FilterEvent {
5087    method public int getDataLength();
5088    method public int getSectionNumber();
5089    method public int getTableId();
5090    method public int getVersion();
5091  }
5092
5093  public abstract class SectionSettings extends android.media.tv.tuner.filter.Settings {
5094    method public boolean isCrcEnabled();
5095    method public boolean isRaw();
5096    method public boolean isRepeat();
5097  }
5098
5099  public abstract static class SectionSettings.Builder<T extends android.media.tv.tuner.filter.SectionSettings.Builder<T>> {
5100    method @NonNull public T setCrcEnabled(boolean);
5101    method @NonNull public T setRaw(boolean);
5102    method @NonNull public T setRepeat(boolean);
5103  }
5104
5105  public class SectionSettingsWithSectionBits extends android.media.tv.tuner.filter.SectionSettings {
5106    method @NonNull public static android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder builder(int);
5107    method @NonNull public byte[] getFilterBytes();
5108    method @NonNull public byte[] getMask();
5109    method @NonNull public byte[] getMode();
5110  }
5111
5112  public static class SectionSettingsWithSectionBits.Builder extends android.media.tv.tuner.filter.SectionSettings.Builder<android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder> {
5113    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits build();
5114    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder setFilter(@NonNull byte[]);
5115    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder setMask(@NonNull byte[]);
5116    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithSectionBits.Builder setMode(@NonNull byte[]);
5117  }
5118
5119  public class SectionSettingsWithTableInfo extends android.media.tv.tuner.filter.SectionSettings {
5120    method @NonNull public static android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder builder(int);
5121    method public int getTableId();
5122    method public int getVersion();
5123  }
5124
5125  public static class SectionSettingsWithTableInfo.Builder extends android.media.tv.tuner.filter.SectionSettings.Builder<android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder> {
5126    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithTableInfo build();
5127    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder setTableId(int);
5128    method @NonNull public android.media.tv.tuner.filter.SectionSettingsWithTableInfo.Builder setVersion(int);
5129  }
5130
5131  public abstract class Settings {
5132    method public int getType();
5133  }
5134
5135  public class TemiEvent extends android.media.tv.tuner.filter.FilterEvent {
5136    method @NonNull public byte[] getDescriptorData();
5137    method public byte getDescriptorTag();
5138    method public long getPts();
5139  }
5140
5141  public class TimeFilter implements java.lang.AutoCloseable {
5142    method public int clearTimestamp();
5143    method public void close();
5144    method public long getSourceTime();
5145    method public long getTimeStamp();
5146    method public int setCurrentTimestamp(long);
5147  }
5148
5149  public final class TlvFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration {
5150    method @NonNull public static android.media.tv.tuner.filter.TlvFilterConfiguration.Builder builder();
5151    method public int getPacketType();
5152    method public int getType();
5153    method public boolean isCompressedIpPacket();
5154    method public boolean isPassthrough();
5155    field public static final int PACKET_TYPE_COMPRESSED = 3; // 0x3
5156    field public static final int PACKET_TYPE_IPV4 = 1; // 0x1
5157    field public static final int PACKET_TYPE_IPV6 = 2; // 0x2
5158    field public static final int PACKET_TYPE_NULL = 255; // 0xff
5159    field public static final int PACKET_TYPE_SIGNALING = 254; // 0xfe
5160  }
5161
5162  public static final class TlvFilterConfiguration.Builder {
5163    method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration build();
5164    method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setCompressedIpPacket(boolean);
5165    method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setPacketType(int);
5166    method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setPassthrough(boolean);
5167    method @NonNull public android.media.tv.tuner.filter.TlvFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings);
5168  }
5169
5170  public final class TsFilterConfiguration extends android.media.tv.tuner.filter.FilterConfiguration {
5171    method @NonNull public static android.media.tv.tuner.filter.TsFilterConfiguration.Builder builder();
5172    method public int getTpid();
5173    method public int getType();
5174  }
5175
5176  public static final class TsFilterConfiguration.Builder {
5177    method @NonNull public android.media.tv.tuner.filter.TsFilterConfiguration build();
5178    method @NonNull public android.media.tv.tuner.filter.TsFilterConfiguration.Builder setSettings(@Nullable android.media.tv.tuner.filter.Settings);
5179    method @NonNull public android.media.tv.tuner.filter.TsFilterConfiguration.Builder setTpid(int);
5180  }
5181
5182  public class TsRecordEvent extends android.media.tv.tuner.filter.FilterEvent {
5183    method public long getDataLength();
5184    method public int getPacketId();
5185    method public int getScIndexMask();
5186    method public int getTsIndexMask();
5187  }
5188
5189}
5190
5191package android.media.tv.tuner.frontend {
5192
5193  public class AnalogFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
5194    method public int getSifStandardCapability();
5195    method public int getSignalTypeCapability();
5196  }
5197
5198  public class AnalogFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
5199    method @NonNull public static android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder builder();
5200    method public int getSifStandard();
5201    method public int getSignalType();
5202    method public int getType();
5203    field public static final int SIF_AUTO = 1; // 0x1
5204    field public static final int SIF_BG = 2; // 0x2
5205    field public static final int SIF_BG_A2 = 4; // 0x4
5206    field public static final int SIF_BG_NICAM = 8; // 0x8
5207    field public static final int SIF_DK = 32; // 0x20
5208    field public static final int SIF_DK1_A2 = 64; // 0x40
5209    field public static final int SIF_DK2_A2 = 128; // 0x80
5210    field public static final int SIF_DK3_A2 = 256; // 0x100
5211    field public static final int SIF_DK_NICAM = 512; // 0x200
5212    field public static final int SIF_I = 16; // 0x10
5213    field public static final int SIF_I_NICAM = 32768; // 0x8000
5214    field public static final int SIF_L = 1024; // 0x400
5215    field public static final int SIF_L_NICAM = 65536; // 0x10000
5216    field public static final int SIF_L_PRIME = 131072; // 0x20000
5217    field public static final int SIF_M = 2048; // 0x800
5218    field public static final int SIF_M_A2 = 8192; // 0x2000
5219    field public static final int SIF_M_BTSC = 4096; // 0x1000
5220    field public static final int SIF_M_EIAJ = 16384; // 0x4000
5221    field public static final int SIF_UNDEFINED = 0; // 0x0
5222    field public static final int SIGNAL_TYPE_AUTO = 1; // 0x1
5223    field public static final int SIGNAL_TYPE_NTSC = 32; // 0x20
5224    field public static final int SIGNAL_TYPE_NTSC_443 = 64; // 0x40
5225    field public static final int SIGNAL_TYPE_PAL = 2; // 0x2
5226    field public static final int SIGNAL_TYPE_PAL_60 = 16; // 0x10
5227    field public static final int SIGNAL_TYPE_PAL_M = 4; // 0x4
5228    field public static final int SIGNAL_TYPE_PAL_N = 8; // 0x8
5229    field public static final int SIGNAL_TYPE_SECAM = 128; // 0x80
5230    field public static final int SIGNAL_TYPE_UNDEFINED = 0; // 0x0
5231  }
5232
5233  public static class AnalogFrontendSettings.Builder {
5234    method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings build();
5235    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setFrequency(int);
5236    method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setSifStandard(int);
5237    method @NonNull public android.media.tv.tuner.frontend.AnalogFrontendSettings.Builder setSignalType(int);
5238  }
5239
5240  public class Atsc3FrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
5241    method public int getBandwidthCapability();
5242    method public int getDemodOutputFormatCapability();
5243    method public int getFecCapability();
5244    method public int getModulationCapability();
5245    method public int getPlpCodeRateCapability();
5246    method public int getTimeInterleaveModeCapability();
5247  }
5248
5249  public class Atsc3FrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
5250    method @NonNull public static android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder builder();
5251    method public int getBandwidth();
5252    method public int getDemodOutputFormat();
5253    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings[] getPlpSettings();
5254    method public int getType();
5255    field public static final int BANDWIDTH_AUTO = 1; // 0x1
5256    field public static final int BANDWIDTH_BANDWIDTH_6MHZ = 2; // 0x2
5257    field public static final int BANDWIDTH_BANDWIDTH_7MHZ = 4; // 0x4
5258    field public static final int BANDWIDTH_BANDWIDTH_8MHZ = 8; // 0x8
5259    field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0
5260    field public static final int CODERATE_10_15 = 512; // 0x200
5261    field public static final int CODERATE_11_15 = 1024; // 0x400
5262    field public static final int CODERATE_12_15 = 2048; // 0x800
5263    field public static final int CODERATE_13_15 = 4096; // 0x1000
5264    field public static final int CODERATE_2_15 = 2; // 0x2
5265    field public static final int CODERATE_3_15 = 4; // 0x4
5266    field public static final int CODERATE_4_15 = 8; // 0x8
5267    field public static final int CODERATE_5_15 = 16; // 0x10
5268    field public static final int CODERATE_6_15 = 32; // 0x20
5269    field public static final int CODERATE_7_15 = 64; // 0x40
5270    field public static final int CODERATE_8_15 = 128; // 0x80
5271    field public static final int CODERATE_9_15 = 256; // 0x100
5272    field public static final int CODERATE_AUTO = 1; // 0x1
5273    field public static final int CODERATE_UNDEFINED = 0; // 0x0
5274    field public static final int DEMOD_OUTPUT_FORMAT_ATSC3_LINKLAYER_PACKET = 1; // 0x1
5275    field public static final int DEMOD_OUTPUT_FORMAT_BASEBAND_PACKET = 2; // 0x2
5276    field public static final int DEMOD_OUTPUT_FORMAT_UNDEFINED = 0; // 0x0
5277    field public static final int FEC_AUTO = 1; // 0x1
5278    field public static final int FEC_BCH_LDPC_16K = 2; // 0x2
5279    field public static final int FEC_BCH_LDPC_64K = 4; // 0x4
5280    field public static final int FEC_CRC_LDPC_16K = 8; // 0x8
5281    field public static final int FEC_CRC_LDPC_64K = 16; // 0x10
5282    field public static final int FEC_LDPC_16K = 32; // 0x20
5283    field public static final int FEC_LDPC_64K = 64; // 0x40
5284    field public static final int FEC_UNDEFINED = 0; // 0x0
5285    field public static final int MODULATION_AUTO = 1; // 0x1
5286    field public static final int MODULATION_MOD_1024QAM = 32; // 0x20
5287    field public static final int MODULATION_MOD_16QAM = 4; // 0x4
5288    field public static final int MODULATION_MOD_256QAM = 16; // 0x10
5289    field public static final int MODULATION_MOD_4096QAM = 64; // 0x40
5290    field public static final int MODULATION_MOD_64QAM = 8; // 0x8
5291    field public static final int MODULATION_MOD_QPSK = 2; // 0x2
5292    field public static final int MODULATION_UNDEFINED = 0; // 0x0
5293    field public static final int TIME_INTERLEAVE_MODE_AUTO = 1; // 0x1
5294    field public static final int TIME_INTERLEAVE_MODE_CTI = 2; // 0x2
5295    field public static final int TIME_INTERLEAVE_MODE_HTI = 4; // 0x4
5296    field public static final int TIME_INTERLEAVE_MODE_UNDEFINED = 0; // 0x0
5297  }
5298
5299  public static class Atsc3FrontendSettings.Builder {
5300    method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings build();
5301    method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setBandwidth(int);
5302    method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setDemodOutputFormat(int);
5303    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setFrequency(int);
5304    method @NonNull public android.media.tv.tuner.frontend.Atsc3FrontendSettings.Builder setPlpSettings(@NonNull android.media.tv.tuner.frontend.Atsc3PlpSettings[]);
5305  }
5306
5307  public class Atsc3PlpInfo {
5308    method public boolean getLlsFlag();
5309    method public int getPlpId();
5310  }
5311
5312  public class Atsc3PlpSettings {
5313    method @NonNull public static android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder builder();
5314    method public int getCodeRate();
5315    method public int getFec();
5316    method public int getInterleaveMode();
5317    method public int getModulation();
5318    method public int getPlpId();
5319  }
5320
5321  public static class Atsc3PlpSettings.Builder {
5322    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings build();
5323    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setCodeRate(int);
5324    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setFec(int);
5325    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setInterleaveMode(int);
5326    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setModulation(int);
5327    method @NonNull public android.media.tv.tuner.frontend.Atsc3PlpSettings.Builder setPlpId(int);
5328  }
5329
5330  public class AtscFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
5331    method public int getModulationCapability();
5332  }
5333
5334  public class AtscFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
5335    method @NonNull public static android.media.tv.tuner.frontend.AtscFrontendSettings.Builder builder();
5336    method public int getModulation();
5337    method public int getType();
5338    field public static final int MODULATION_AUTO = 1; // 0x1
5339    field public static final int MODULATION_MOD_16VSB = 8; // 0x8
5340    field public static final int MODULATION_MOD_8VSB = 4; // 0x4
5341    field public static final int MODULATION_UNDEFINED = 0; // 0x0
5342  }
5343
5344  public static class AtscFrontendSettings.Builder {
5345    method @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings build();
5346    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings.Builder setFrequency(int);
5347    method @NonNull public android.media.tv.tuner.frontend.AtscFrontendSettings.Builder setModulation(int);
5348  }
5349
5350  public class DvbcFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
5351    method public int getAnnexCapability();
5352    method public int getFecCapability();
5353    method public int getModulationCapability();
5354  }
5355
5356  public class DvbcFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
5357    method @NonNull public static android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder builder();
5358    method public int getAnnex();
5359    method public long getInnerFec();
5360    method public int getModulation();
5361    method public int getOuterFec();
5362    method public int getSpectralInversion();
5363    method public int getSymbolRate();
5364    method public int getType();
5365    field public static final int ANNEX_A = 1; // 0x1
5366    field public static final int ANNEX_B = 2; // 0x2
5367    field public static final int ANNEX_C = 4; // 0x4
5368    field public static final int ANNEX_UNDEFINED = 0; // 0x0
5369    field public static final int MODULATION_AUTO = 1; // 0x1
5370    field public static final int MODULATION_MOD_128QAM = 16; // 0x10
5371    field public static final int MODULATION_MOD_16QAM = 2; // 0x2
5372    field public static final int MODULATION_MOD_256QAM = 32; // 0x20
5373    field public static final int MODULATION_MOD_32QAM = 4; // 0x4
5374    field public static final int MODULATION_MOD_64QAM = 8; // 0x8
5375    field public static final int MODULATION_UNDEFINED = 0; // 0x0
5376    field public static final int OUTER_FEC_OUTER_FEC_NONE = 1; // 0x1
5377    field public static final int OUTER_FEC_OUTER_FEC_RS = 2; // 0x2
5378    field public static final int OUTER_FEC_UNDEFINED = 0; // 0x0
5379    field public static final int SPECTRAL_INVERSION_INVERTED = 2; // 0x2
5380    field public static final int SPECTRAL_INVERSION_NORMAL = 1; // 0x1
5381    field public static final int SPECTRAL_INVERSION_UNDEFINED = 0; // 0x0
5382  }
5383
5384  public static class DvbcFrontendSettings.Builder {
5385    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings build();
5386    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setAnnex(int);
5387    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setFrequency(int);
5388    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setInnerFec(long);
5389    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setModulation(int);
5390    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setOuterFec(int);
5391    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setSpectralInversion(int);
5392    method @NonNull public android.media.tv.tuner.frontend.DvbcFrontendSettings.Builder setSymbolRate(int);
5393  }
5394
5395  public class DvbsCodeRate {
5396    method @NonNull public static android.media.tv.tuner.frontend.DvbsCodeRate.Builder builder();
5397    method public int getBitsPer1000Symbol();
5398    method public long getInnerFec();
5399    method public boolean isLinear();
5400    method public boolean isShortFrameEnabled();
5401  }
5402
5403  public static class DvbsCodeRate.Builder {
5404    method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate build();
5405    method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setBitsPer1000Symbol(int);
5406    method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setInnerFec(long);
5407    method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setLinear(boolean);
5408    method @NonNull public android.media.tv.tuner.frontend.DvbsCodeRate.Builder setShortFrameEnabled(boolean);
5409  }
5410
5411  public class DvbsFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
5412    method public long getInnerFecCapability();
5413    method public int getModulationCapability();
5414    method public int getStandardCapability();
5415  }
5416
5417  public class DvbsFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
5418    method @NonNull public static android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder builder();
5419    method @Nullable public android.media.tv.tuner.frontend.DvbsCodeRate getCodeRate();
5420    method public int getInputStreamId();
5421    method public int getModulation();
5422    method public int getPilot();
5423    method public int getRolloff();
5424    method public int getStandard();
5425    method public int getSymbolRate();
5426    method public int getType();
5427    method public int getVcmMode();
5428    field public static final int MODULATION_AUTO = 1; // 0x1
5429    field public static final int MODULATION_MOD_128APSK = 2048; // 0x800
5430    field public static final int MODULATION_MOD_16APSK = 256; // 0x100
5431    field public static final int MODULATION_MOD_16PSK = 16; // 0x10
5432    field public static final int MODULATION_MOD_16QAM = 8; // 0x8
5433    field public static final int MODULATION_MOD_256APSK = 4096; // 0x1000
5434    field public static final int MODULATION_MOD_32APSK = 512; // 0x200
5435    field public static final int MODULATION_MOD_32PSK = 32; // 0x20
5436    field public static final int MODULATION_MOD_64APSK = 1024; // 0x400
5437    field public static final int MODULATION_MOD_8APSK = 128; // 0x80
5438    field public static final int MODULATION_MOD_8PSK = 4; // 0x4
5439    field public static final int MODULATION_MOD_ACM = 64; // 0x40
5440    field public static final int MODULATION_MOD_QPSK = 2; // 0x2
5441    field public static final int MODULATION_MOD_RESERVED = 8192; // 0x2000
5442    field public static final int MODULATION_UNDEFINED = 0; // 0x0
5443    field public static final int PILOT_AUTO = 3; // 0x3
5444    field public static final int PILOT_OFF = 2; // 0x2
5445    field public static final int PILOT_ON = 1; // 0x1
5446    field public static final int PILOT_UNDEFINED = 0; // 0x0
5447    field public static final int ROLLOFF_0_10 = 5; // 0x5
5448    field public static final int ROLLOFF_0_15 = 4; // 0x4
5449    field public static final int ROLLOFF_0_20 = 3; // 0x3
5450    field public static final int ROLLOFF_0_25 = 2; // 0x2
5451    field public static final int ROLLOFF_0_35 = 1; // 0x1
5452    field public static final int ROLLOFF_0_5 = 6; // 0x6
5453    field public static final int ROLLOFF_UNDEFINED = 0; // 0x0
5454    field public static final int STANDARD_AUTO = 1; // 0x1
5455    field public static final int STANDARD_S = 2; // 0x2
5456    field public static final int STANDARD_S2 = 4; // 0x4
5457    field public static final int STANDARD_S2X = 8; // 0x8
5458    field public static final int VCM_MODE_AUTO = 1; // 0x1
5459    field public static final int VCM_MODE_MANUAL = 2; // 0x2
5460    field public static final int VCM_MODE_UNDEFINED = 0; // 0x0
5461  }
5462
5463  public static class DvbsFrontendSettings.Builder {
5464    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings build();
5465    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setCodeRate(@Nullable android.media.tv.tuner.frontend.DvbsCodeRate);
5466    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setFrequency(int);
5467    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setInputStreamId(int);
5468    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setModulation(int);
5469    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setPilot(int);
5470    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setRolloff(int);
5471    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setStandard(int);
5472    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setSymbolRate(int);
5473    method @NonNull public android.media.tv.tuner.frontend.DvbsFrontendSettings.Builder setVcmMode(int);
5474  }
5475
5476  public class DvbtFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
5477    method public int getBandwidthCapability();
5478    method public int getCodeRateCapability();
5479    method public int getConstellationCapability();
5480    method public int getGuardIntervalCapability();
5481    method public int getHierarchyCapability();
5482    method public int getTransmissionModeCapability();
5483    method public boolean isMisoSupported();
5484    method public boolean isT2Supported();
5485  }
5486
5487  public class DvbtFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
5488    method @NonNull public static android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder builder();
5489    method public int getBandwidth();
5490    method public int getConstellation();
5491    method public int getGuardInterval();
5492    method public int getHierarchy();
5493    method public int getHighPriorityCodeRate();
5494    method public int getLowPriorityCodeRate();
5495    method public int getPlpGroupId();
5496    method public int getPlpId();
5497    method public int getPlpMode();
5498    method public int getStandard();
5499    method public int getTransmissionMode();
5500    method public int getType();
5501    method public boolean isHighPriority();
5502    method public boolean isMiso();
5503    field public static final int BANDWIDTH_10MHZ = 64; // 0x40
5504    field public static final int BANDWIDTH_1_7MHZ = 32; // 0x20
5505    field public static final int BANDWIDTH_5MHZ = 16; // 0x10
5506    field public static final int BANDWIDTH_6MHZ = 8; // 0x8
5507    field public static final int BANDWIDTH_7MHZ = 4; // 0x4
5508    field public static final int BANDWIDTH_8MHZ = 2; // 0x2
5509    field public static final int BANDWIDTH_AUTO = 1; // 0x1
5510    field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0
5511    field public static final int CODERATE_1_2 = 2; // 0x2
5512    field public static final int CODERATE_2_3 = 4; // 0x4
5513    field public static final int CODERATE_3_4 = 8; // 0x8
5514    field public static final int CODERATE_3_5 = 64; // 0x40
5515    field public static final int CODERATE_4_5 = 128; // 0x80
5516    field public static final int CODERATE_5_6 = 16; // 0x10
5517    field public static final int CODERATE_6_7 = 256; // 0x100
5518    field public static final int CODERATE_7_8 = 32; // 0x20
5519    field public static final int CODERATE_8_9 = 512; // 0x200
5520    field public static final int CODERATE_AUTO = 1; // 0x1
5521    field public static final int CODERATE_UNDEFINED = 0; // 0x0
5522    field public static final int CONSTELLATION_16QAM = 4; // 0x4
5523    field public static final int CONSTELLATION_256QAM = 16; // 0x10
5524    field public static final int CONSTELLATION_64QAM = 8; // 0x8
5525    field public static final int CONSTELLATION_AUTO = 1; // 0x1
5526    field public static final int CONSTELLATION_QPSK = 2; // 0x2
5527    field public static final int CONSTELLATION_UNDEFINED = 0; // 0x0
5528    field public static final int GUARD_INTERVAL_19_128 = 64; // 0x40
5529    field public static final int GUARD_INTERVAL_19_256 = 128; // 0x80
5530    field public static final int GUARD_INTERVAL_1_128 = 32; // 0x20
5531    field public static final int GUARD_INTERVAL_1_16 = 4; // 0x4
5532    field public static final int GUARD_INTERVAL_1_32 = 2; // 0x2
5533    field public static final int GUARD_INTERVAL_1_4 = 16; // 0x10
5534    field public static final int GUARD_INTERVAL_1_8 = 8; // 0x8
5535    field public static final int GUARD_INTERVAL_AUTO = 1; // 0x1
5536    field public static final int GUARD_INTERVAL_UNDEFINED = 0; // 0x0
5537    field public static final int HIERARCHY_1_INDEPTH = 64; // 0x40
5538    field public static final int HIERARCHY_1_NATIVE = 4; // 0x4
5539    field public static final int HIERARCHY_2_INDEPTH = 128; // 0x80
5540    field public static final int HIERARCHY_2_NATIVE = 8; // 0x8
5541    field public static final int HIERARCHY_4_INDEPTH = 256; // 0x100
5542    field public static final int HIERARCHY_4_NATIVE = 16; // 0x10
5543    field public static final int HIERARCHY_AUTO = 1; // 0x1
5544    field public static final int HIERARCHY_NON_INDEPTH = 32; // 0x20
5545    field public static final int HIERARCHY_NON_NATIVE = 2; // 0x2
5546    field public static final int HIERARCHY_UNDEFINED = 0; // 0x0
5547    field public static final int PLP_MODE_AUTO = 1; // 0x1
5548    field public static final int PLP_MODE_MANUAL = 2; // 0x2
5549    field public static final int PLP_MODE_UNDEFINED = 0; // 0x0
5550    field public static final int STANDARD_AUTO = 1; // 0x1
5551    field public static final int STANDARD_T = 2; // 0x2
5552    field public static final int STANDARD_T2 = 4; // 0x4
5553    field public static final int TRANSMISSION_MODE_16K = 32; // 0x20
5554    field public static final int TRANSMISSION_MODE_1K = 16; // 0x10
5555    field public static final int TRANSMISSION_MODE_2K = 2; // 0x2
5556    field public static final int TRANSMISSION_MODE_32K = 64; // 0x40
5557    field public static final int TRANSMISSION_MODE_4K = 8; // 0x8
5558    field public static final int TRANSMISSION_MODE_8K = 4; // 0x4
5559    field public static final int TRANSMISSION_MODE_AUTO = 1; // 0x1
5560    field public static final int TRANSMISSION_MODE_UNDEFINED = 0; // 0x0
5561  }
5562
5563  public static class DvbtFrontendSettings.Builder {
5564    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings build();
5565    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setBandwidth(int);
5566    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setConstellation(int);
5567    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setFrequency(int);
5568    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setGuardInterval(int);
5569    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setHierarchy(int);
5570    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setHighPriority(boolean);
5571    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setHighPriorityCodeRate(int);
5572    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setLowPriorityCodeRate(int);
5573    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setMiso(boolean);
5574    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setPlpGroupId(int);
5575    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setPlpId(int);
5576    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setPlpMode(int);
5577    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setStandard(int);
5578    method @NonNull public android.media.tv.tuner.frontend.DvbtFrontendSettings.Builder setTransmissionMode(int);
5579  }
5580
5581  public abstract class FrontendCapabilities {
5582    ctor public FrontendCapabilities();
5583  }
5584
5585  public class FrontendInfo {
5586    method public int getAcquireRange();
5587    method public int getExclusiveGroupId();
5588    method @NonNull public android.util.Range<java.lang.Integer> getFrequencyRange();
5589    method @NonNull public android.media.tv.tuner.frontend.FrontendCapabilities getFrontendCapabilities();
5590    method public int getId();
5591    method @NonNull public int[] getStatusCapabilities();
5592    method @NonNull public android.util.Range<java.lang.Integer> getSymbolRateRange();
5593    method public int getType();
5594  }
5595
5596  public abstract class FrontendSettings {
5597    method public int getFrequency();
5598    method public abstract int getType();
5599    field public static final long FEC_11_15 = 4194304L; // 0x400000L
5600    field public static final long FEC_11_20 = 8388608L; // 0x800000L
5601    field public static final long FEC_11_45 = 16777216L; // 0x1000000L
5602    field public static final long FEC_13_18 = 33554432L; // 0x2000000L
5603    field public static final long FEC_13_45 = 67108864L; // 0x4000000L
5604    field public static final long FEC_14_45 = 134217728L; // 0x8000000L
5605    field public static final long FEC_1_2 = 2L; // 0x2L
5606    field public static final long FEC_1_3 = 4L; // 0x4L
5607    field public static final long FEC_1_4 = 8L; // 0x8L
5608    field public static final long FEC_1_5 = 16L; // 0x10L
5609    field public static final long FEC_23_36 = 268435456L; // 0x10000000L
5610    field public static final long FEC_25_36 = 536870912L; // 0x20000000L
5611    field public static final long FEC_26_45 = 1073741824L; // 0x40000000L
5612    field public static final long FEC_28_45 = -2147483648L; // 0xffffffff80000000L
5613    field public static final long FEC_29_45 = 1L; // 0x1L
5614    field public static final long FEC_2_3 = 32L; // 0x20L
5615    field public static final long FEC_2_5 = 64L; // 0x40L
5616    field public static final long FEC_2_9 = 128L; // 0x80L
5617    field public static final long FEC_31_45 = 2L; // 0x2L
5618    field public static final long FEC_32_45 = 4L; // 0x4L
5619    field public static final long FEC_3_4 = 256L; // 0x100L
5620    field public static final long FEC_3_5 = 512L; // 0x200L
5621    field public static final long FEC_4_15 = 2048L; // 0x800L
5622    field public static final long FEC_4_5 = 1024L; // 0x400L
5623    field public static final long FEC_5_6 = 4096L; // 0x1000L
5624    field public static final long FEC_5_9 = 8192L; // 0x2000L
5625    field public static final long FEC_6_7 = 16384L; // 0x4000L
5626    field public static final long FEC_77_90 = 8L; // 0x8L
5627    field public static final long FEC_7_15 = 131072L; // 0x20000L
5628    field public static final long FEC_7_8 = 32768L; // 0x8000L
5629    field public static final long FEC_7_9 = 65536L; // 0x10000L
5630    field public static final long FEC_8_15 = 524288L; // 0x80000L
5631    field public static final long FEC_8_9 = 262144L; // 0x40000L
5632    field public static final long FEC_9_10 = 1048576L; // 0x100000L
5633    field public static final long FEC_9_20 = 2097152L; // 0x200000L
5634    field public static final long FEC_AUTO = 1L; // 0x1L
5635    field public static final long FEC_UNDEFINED = 0L; // 0x0L
5636    field public static final int TYPE_ANALOG = 1; // 0x1
5637    field public static final int TYPE_ATSC = 2; // 0x2
5638    field public static final int TYPE_ATSC3 = 3; // 0x3
5639    field public static final int TYPE_DVBC = 4; // 0x4
5640    field public static final int TYPE_DVBS = 5; // 0x5
5641    field public static final int TYPE_DVBT = 6; // 0x6
5642    field public static final int TYPE_ISDBS = 7; // 0x7
5643    field public static final int TYPE_ISDBS3 = 8; // 0x8
5644    field public static final int TYPE_ISDBT = 9; // 0x9
5645    field public static final int TYPE_UNDEFINED = 0; // 0x0
5646  }
5647
5648  public class FrontendStatus {
5649    method public int getAgc();
5650    method @NonNull public android.media.tv.tuner.frontend.FrontendStatus.Atsc3PlpTuningInfo[] getAtsc3PlpTuningInfo();
5651    method public int getBer();
5652    method public int getFreqOffset();
5653    method public int getHierarchy();
5654    method public long getInnerFec();
5655    method @NonNull public boolean[] getLayerErrors();
5656    method public int getLnbVoltage();
5657    method public int getMer();
5658    method public int getModulation();
5659    method public int getPer();
5660    method public int getPerBer();
5661    method public int getPlpId();
5662    method public int getSignalQuality();
5663    method public int getSignalStrength();
5664    method public int getSnr();
5665    method public int getSpectralInversion();
5666    method public int getSymbolRate();
5667    method public boolean isDemodLocked();
5668    method public boolean isEwbs();
5669    method public boolean isLnaOn();
5670    method public boolean isRfLocked();
5671    field public static final int FRONTEND_STATUS_TYPE_AGC = 14; // 0xe
5672    field public static final int FRONTEND_STATUS_TYPE_ATSC3_PLP_INFO = 21; // 0x15
5673    field public static final int FRONTEND_STATUS_TYPE_BER = 2; // 0x2
5674    field public static final int FRONTEND_STATUS_TYPE_DEMOD_LOCK = 0; // 0x0
5675    field public static final int FRONTEND_STATUS_TYPE_EWBS = 13; // 0xd
5676    field public static final int FRONTEND_STATUS_TYPE_FEC = 8; // 0x8
5677    field public static final int FRONTEND_STATUS_TYPE_FREQ_OFFSET = 18; // 0x12
5678    field public static final int FRONTEND_STATUS_TYPE_HIERARCHY = 19; // 0x13
5679    field public static final int FRONTEND_STATUS_TYPE_LAYER_ERROR = 16; // 0x10
5680    field public static final int FRONTEND_STATUS_TYPE_LNA = 15; // 0xf
5681    field public static final int FRONTEND_STATUS_TYPE_LNB_VOLTAGE = 11; // 0xb
5682    field public static final int FRONTEND_STATUS_TYPE_MER = 17; // 0x11
5683    field public static final int FRONTEND_STATUS_TYPE_MODULATION = 9; // 0x9
5684    field public static final int FRONTEND_STATUS_TYPE_PER = 3; // 0x3
5685    field public static final int FRONTEND_STATUS_TYPE_PLP_ID = 12; // 0xc
5686    field public static final int FRONTEND_STATUS_TYPE_PRE_BER = 4; // 0x4
5687    field public static final int FRONTEND_STATUS_TYPE_RF_LOCK = 20; // 0x14
5688    field public static final int FRONTEND_STATUS_TYPE_SIGNAL_QUALITY = 5; // 0x5
5689    field public static final int FRONTEND_STATUS_TYPE_SIGNAL_STRENGTH = 6; // 0x6
5690    field public static final int FRONTEND_STATUS_TYPE_SNR = 1; // 0x1
5691    field public static final int FRONTEND_STATUS_TYPE_SPECTRAL = 10; // 0xa
5692    field public static final int FRONTEND_STATUS_TYPE_SYMBOL_RATE = 7; // 0x7
5693  }
5694
5695  public static class FrontendStatus.Atsc3PlpTuningInfo {
5696    method public int getPlpId();
5697    method public int getUec();
5698    method public boolean isLocked();
5699  }
5700
5701  public class Isdbs3FrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
5702    method public int getCodeRateCapability();
5703    method public int getModulationCapability();
5704  }
5705
5706  public class Isdbs3FrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
5707    method @NonNull public static android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder builder();
5708    method public int getCodeRate();
5709    method public int getModulation();
5710    method public int getRolloff();
5711    method public int getStreamId();
5712    method public int getStreamIdType();
5713    method public int getSymbolRate();
5714    method public int getType();
5715    field public static final int CODERATE_1_2 = 8; // 0x8
5716    field public static final int CODERATE_1_3 = 2; // 0x2
5717    field public static final int CODERATE_2_3 = 32; // 0x20
5718    field public static final int CODERATE_2_5 = 4; // 0x4
5719    field public static final int CODERATE_3_4 = 64; // 0x40
5720    field public static final int CODERATE_3_5 = 16; // 0x10
5721    field public static final int CODERATE_4_5 = 256; // 0x100
5722    field public static final int CODERATE_5_6 = 512; // 0x200
5723    field public static final int CODERATE_7_8 = 1024; // 0x400
5724    field public static final int CODERATE_7_9 = 128; // 0x80
5725    field public static final int CODERATE_9_10 = 2048; // 0x800
5726    field public static final int CODERATE_AUTO = 1; // 0x1
5727    field public static final int CODERATE_UNDEFINED = 0; // 0x0
5728    field public static final int MODULATION_AUTO = 1; // 0x1
5729    field public static final int MODULATION_MOD_16APSK = 16; // 0x10
5730    field public static final int MODULATION_MOD_32APSK = 32; // 0x20
5731    field public static final int MODULATION_MOD_8PSK = 8; // 0x8
5732    field public static final int MODULATION_MOD_BPSK = 2; // 0x2
5733    field public static final int MODULATION_MOD_QPSK = 4; // 0x4
5734    field public static final int MODULATION_UNDEFINED = 0; // 0x0
5735    field public static final int ROLLOFF_0_03 = 1; // 0x1
5736    field public static final int ROLLOFF_UNDEFINED = 0; // 0x0
5737  }
5738
5739  public static class Isdbs3FrontendSettings.Builder {
5740    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings build();
5741    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setCodeRate(int);
5742    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setFrequency(int);
5743    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setModulation(int);
5744    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setRolloff(int);
5745    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setStreamId(int);
5746    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setStreamIdType(int);
5747    method @NonNull public android.media.tv.tuner.frontend.Isdbs3FrontendSettings.Builder setSymbolRate(int);
5748  }
5749
5750  public class IsdbsFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
5751    method public int getCodeRateCapability();
5752    method public int getModulationCapability();
5753  }
5754
5755  public class IsdbsFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
5756    method @NonNull public static android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder builder();
5757    method public int getCodeRate();
5758    method public int getModulation();
5759    method public int getRolloff();
5760    method public int getStreamId();
5761    method public int getStreamIdType();
5762    method public int getSymbolRate();
5763    method public int getType();
5764    field public static final int CODERATE_1_2 = 2; // 0x2
5765    field public static final int CODERATE_2_3 = 4; // 0x4
5766    field public static final int CODERATE_3_4 = 8; // 0x8
5767    field public static final int CODERATE_5_6 = 16; // 0x10
5768    field public static final int CODERATE_7_8 = 32; // 0x20
5769    field public static final int CODERATE_AUTO = 1; // 0x1
5770    field public static final int CODERATE_UNDEFINED = 0; // 0x0
5771    field public static final int MODULATION_AUTO = 1; // 0x1
5772    field public static final int MODULATION_MOD_BPSK = 2; // 0x2
5773    field public static final int MODULATION_MOD_QPSK = 4; // 0x4
5774    field public static final int MODULATION_MOD_TC8PSK = 8; // 0x8
5775    field public static final int MODULATION_UNDEFINED = 0; // 0x0
5776    field public static final int ROLLOFF_0_35 = 1; // 0x1
5777    field public static final int ROLLOFF_UNDEFINED = 0; // 0x0
5778    field public static final int STREAM_ID_TYPE_ID = 0; // 0x0
5779    field public static final int STREAM_ID_TYPE_RELATIVE_NUMBER = 1; // 0x1
5780  }
5781
5782  public static class IsdbsFrontendSettings.Builder {
5783    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings build();
5784    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setCodeRate(int);
5785    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setFrequency(int);
5786    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setModulation(int);
5787    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setRolloff(int);
5788    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setStreamId(int);
5789    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setStreamIdType(int);
5790    method @NonNull public android.media.tv.tuner.frontend.IsdbsFrontendSettings.Builder setSymbolRate(int);
5791  }
5792
5793  public class IsdbtFrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
5794    method public int getBandwidthCapability();
5795    method public int getCodeRateCapability();
5796    method public int getGuardIntervalCapability();
5797    method public int getModeCapability();
5798    method public int getModulationCapability();
5799  }
5800
5801  public class IsdbtFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
5802    method @NonNull public static android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder builder();
5803    method public int getBandwidth();
5804    method public int getCodeRate();
5805    method public int getGuardInterval();
5806    method public int getMode();
5807    method public int getModulation();
5808    method public int getServiceAreaId();
5809    method public int getType();
5810    field public static final int BANDWIDTH_6MHZ = 8; // 0x8
5811    field public static final int BANDWIDTH_7MHZ = 4; // 0x4
5812    field public static final int BANDWIDTH_8MHZ = 2; // 0x2
5813    field public static final int BANDWIDTH_AUTO = 1; // 0x1
5814    field public static final int BANDWIDTH_UNDEFINED = 0; // 0x0
5815    field public static final int MODE_1 = 2; // 0x2
5816    field public static final int MODE_2 = 4; // 0x4
5817    field public static final int MODE_3 = 8; // 0x8
5818    field public static final int MODE_AUTO = 1; // 0x1
5819    field public static final int MODE_UNDEFINED = 0; // 0x0
5820    field public static final int MODULATION_AUTO = 1; // 0x1
5821    field public static final int MODULATION_MOD_16QAM = 8; // 0x8
5822    field public static final int MODULATION_MOD_64QAM = 16; // 0x10
5823    field public static final int MODULATION_MOD_DQPSK = 2; // 0x2
5824    field public static final int MODULATION_MOD_QPSK = 4; // 0x4
5825    field public static final int MODULATION_UNDEFINED = 0; // 0x0
5826  }
5827
5828  public static class IsdbtFrontendSettings.Builder {
5829    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings build();
5830    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setBandwidth(int);
5831    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setCodeRate(int);
5832    method @IntRange(from=1) @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setFrequency(int);
5833    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setGuardInterval(int);
5834    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setMode(int);
5835    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setModulation(int);
5836    method @NonNull public android.media.tv.tuner.frontend.IsdbtFrontendSettings.Builder setServiceAreaId(int);
5837  }
5838
5839  public interface OnTuneEventListener {
5840    method public void onTuneEvent(int);
5841    field public static final int SIGNAL_LOCKED = 0; // 0x0
5842    field public static final int SIGNAL_LOST_LOCK = 2; // 0x2
5843    field public static final int SIGNAL_NO_SIGNAL = 1; // 0x1
5844  }
5845
5846  public interface ScanCallback {
5847    method public void onAnalogSifStandardReported(int);
5848    method public void onAtsc3PlpInfosReported(@NonNull android.media.tv.tuner.frontend.Atsc3PlpInfo[]);
5849    method public void onDvbsStandardReported(int);
5850    method public void onDvbtStandardReported(int);
5851    method public void onFrequenciesReported(@NonNull int[]);
5852    method public void onGroupIdsReported(@NonNull int[]);
5853    method public void onHierarchyReported(int);
5854    method public void onInputStreamIdsReported(@NonNull int[]);
5855    method public void onLocked();
5856    method public void onPlpIdsReported(@NonNull int[]);
5857    method public void onProgress(@IntRange(from=0, to=100) int);
5858    method public void onScanStopped();
5859    method public void onSignalTypeReported(int);
5860    method public void onSymbolRatesReported(@NonNull int[]);
5861  }
5862
5863}
5864
5865package android.media.voice {
5866
5867  public final class KeyphraseModelManager {
5868    method @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public void deleteKeyphraseSoundModel(int, @NonNull java.util.Locale);
5869    method @Nullable @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int, @NonNull java.util.Locale);
5870    method @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public void updateKeyphraseSoundModel(@NonNull android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel);
5871  }
5872
5873}
5874
5875package android.metrics {
5876
5877  public class LogMaker {
5878    ctor public LogMaker(int);
5879    ctor public LogMaker(Object[]);
5880    method public android.metrics.LogMaker addTaggedData(int, Object);
5881    method public android.metrics.LogMaker clearCategory();
5882    method public android.metrics.LogMaker clearPackageName();
5883    method public android.metrics.LogMaker clearSubtype();
5884    method public android.metrics.LogMaker clearTaggedData(int);
5885    method public android.metrics.LogMaker clearType();
5886    method public void deserialize(Object[]);
5887    method public int getCategory();
5888    method public long getCounterBucket();
5889    method public String getCounterName();
5890    method public int getCounterValue();
5891    method public String getPackageName();
5892    method public int getProcessId();
5893    method public int getSubtype();
5894    method public Object getTaggedData(int);
5895    method public long getTimestamp();
5896    method public int getType();
5897    method public int getUid();
5898    method public boolean isLongCounterBucket();
5899    method public boolean isSubsetOf(android.metrics.LogMaker);
5900    method public boolean isValidValue(Object);
5901    method public Object[] serialize();
5902    method public android.metrics.LogMaker setCategory(int);
5903    method public android.metrics.LogMaker setPackageName(String);
5904    method public android.metrics.LogMaker setSubtype(int);
5905    method public android.metrics.LogMaker setType(int);
5906  }
5907
5908  public class MetricsReader {
5909    ctor public MetricsReader();
5910    method public void checkpoint();
5911    method public boolean hasNext();
5912    method public android.metrics.LogMaker next();
5913    method public void read(long);
5914    method public void reset();
5915  }
5916
5917}
5918
5919package android.net {
5920
5921  public class CaptivePortal implements android.os.Parcelable {
5922    method public void logEvent(int, @NonNull String);
5923    method @RequiresPermission(android.Manifest.permission.NETWORK_STACK) public void reevaluateNetwork();
5924    method public void useNetwork();
5925    field public static final int APP_REQUEST_REEVALUATION_REQUIRED = 100; // 0x64
5926    field public static final int APP_RETURN_DISMISSED = 0; // 0x0
5927    field public static final int APP_RETURN_UNWANTED = 1; // 0x1
5928    field public static final int APP_RETURN_WANTED_AS_IS = 2; // 0x2
5929  }
5930
5931  public final class CaptivePortalData implements android.os.Parcelable {
5932    method public int describeContents();
5933    method public long getByteLimit();
5934    method public long getExpiryTimeMillis();
5935    method public long getRefreshTimeMillis();
5936    method @Nullable public android.net.Uri getUserPortalUrl();
5937    method @Nullable public android.net.Uri getVenueInfoUrl();
5938    method public boolean isCaptive();
5939    method public boolean isSessionExtendable();
5940    method public void writeToParcel(@NonNull android.os.Parcel, int);
5941    field @NonNull public static final android.os.Parcelable.Creator<android.net.CaptivePortalData> CREATOR;
5942  }
5943
5944  public static class CaptivePortalData.Builder {
5945    ctor public CaptivePortalData.Builder();
5946    ctor public CaptivePortalData.Builder(@Nullable android.net.CaptivePortalData);
5947    method @NonNull public android.net.CaptivePortalData build();
5948    method @NonNull public android.net.CaptivePortalData.Builder setBytesRemaining(long);
5949    method @NonNull public android.net.CaptivePortalData.Builder setCaptive(boolean);
5950    method @NonNull public android.net.CaptivePortalData.Builder setExpiryTime(long);
5951    method @NonNull public android.net.CaptivePortalData.Builder setRefreshTime(long);
5952    method @NonNull public android.net.CaptivePortalData.Builder setSessionExtendable(boolean);
5953    method @NonNull public android.net.CaptivePortalData.Builder setUserPortalUrl(@Nullable android.net.Uri);
5954    method @NonNull public android.net.CaptivePortalData.Builder setVenueInfoUrl(@Nullable android.net.Uri);
5955  }
5956
5957  public class ConnectivityManager {
5958    method @NonNull @RequiresPermission(android.Manifest.permission.PACKET_KEEPALIVE_OFFLOAD) public android.net.SocketKeepalive createNattKeepalive(@NonNull android.net.Network, @NonNull android.os.ParcelFileDescriptor, @NonNull java.net.InetAddress, @NonNull java.net.InetAddress, @NonNull java.util.concurrent.Executor, @NonNull android.net.SocketKeepalive.Callback);
5959    method @NonNull @RequiresPermission(android.Manifest.permission.PACKET_KEEPALIVE_OFFLOAD) public android.net.SocketKeepalive createSocketKeepalive(@NonNull android.net.Network, @NonNull java.net.Socket, @NonNull java.util.concurrent.Executor, @NonNull android.net.SocketKeepalive.Callback);
5960    method @Deprecated @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public String getCaptivePortalServerUrl();
5961    method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void getLatestTetheringEntitlementResult(int, boolean, @NonNull java.util.concurrent.Executor, @NonNull android.net.ConnectivityManager.OnTetheringEntitlementResultListener);
5962    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.TETHER_PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public boolean isTetheringSupported();
5963    method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_FACTORY}) public int registerNetworkProvider(@NonNull android.net.NetworkProvider);
5964    method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void registerTetheringEventCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.ConnectivityManager.OnTetheringEventCallback);
5965    method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void requestNetwork(@NonNull android.net.NetworkRequest, int, int, @NonNull android.os.Handler, @NonNull android.net.ConnectivityManager.NetworkCallback);
5966    method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_AIRPLANE_MODE, android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, android.Manifest.permission.NETWORK_STACK}) public void setAirplaneMode(boolean);
5967    method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public boolean shouldAvoidBadWifi();
5968    method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void startCaptivePortalApp(@NonNull android.net.Network, @NonNull android.os.Bundle);
5969    method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void startTethering(int, boolean, android.net.ConnectivityManager.OnStartTetheringCallback);
5970    method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void startTethering(int, boolean, android.net.ConnectivityManager.OnStartTetheringCallback, android.os.Handler);
5971    method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void stopTethering(int);
5972    method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_FACTORY}) public void unregisterNetworkProvider(@NonNull android.net.NetworkProvider);
5973    method @Deprecated @RequiresPermission(android.Manifest.permission.TETHER_PRIVILEGED) public void unregisterTetheringEventCallback(@NonNull android.net.ConnectivityManager.OnTetheringEventCallback);
5974    field public static final String EXTRA_CAPTIVE_PORTAL_PROBE_SPEC = "android.net.extra.CAPTIVE_PORTAL_PROBE_SPEC";
5975    field public static final String EXTRA_CAPTIVE_PORTAL_USER_AGENT = "android.net.extra.CAPTIVE_PORTAL_USER_AGENT";
5976    field public static final int TETHERING_BLUETOOTH = 2; // 0x2
5977    field public static final int TETHERING_USB = 1; // 0x1
5978    field public static final int TETHERING_WIFI = 0; // 0x0
5979    field @Deprecated public static final int TETHER_ERROR_ENTITLEMENT_UNKONWN = 13; // 0xd
5980    field @Deprecated public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0
5981    field @Deprecated public static final int TETHER_ERROR_PROVISION_FAILED = 11; // 0xb
5982    field public static final int TYPE_NONE = -1; // 0xffffffff
5983    field @Deprecated public static final int TYPE_WIFI_P2P = 13; // 0xd
5984  }
5985
5986  @Deprecated public abstract static class ConnectivityManager.OnStartTetheringCallback {
5987    ctor @Deprecated public ConnectivityManager.OnStartTetheringCallback();
5988    method @Deprecated public void onTetheringFailed();
5989    method @Deprecated public void onTetheringStarted();
5990  }
5991
5992  @Deprecated public static interface ConnectivityManager.OnTetheringEntitlementResultListener {
5993    method @Deprecated public void onTetheringEntitlementResult(int);
5994  }
5995
5996  @Deprecated public abstract static class ConnectivityManager.OnTetheringEventCallback {
5997    ctor @Deprecated public ConnectivityManager.OnTetheringEventCallback();
5998    method @Deprecated public void onUpstreamChanged(@Nullable android.net.Network);
5999  }
6000
6001  public class EthernetManager {
6002    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public android.net.EthernetManager.TetheredInterfaceRequest requestTetheredInterface(@NonNull java.util.concurrent.Executor, @NonNull android.net.EthernetManager.TetheredInterfaceCallback);
6003  }
6004
6005  public static interface EthernetManager.TetheredInterfaceCallback {
6006    method public void onAvailable(@NonNull String);
6007    method public void onUnavailable();
6008  }
6009
6010  public static class EthernetManager.TetheredInterfaceRequest {
6011    method public void release();
6012  }
6013
6014  public final class InvalidPacketException extends java.lang.Exception {
6015    ctor public InvalidPacketException(int);
6016    method public int getError();
6017    field public static final int ERROR_INVALID_IP_ADDRESS = -21; // 0xffffffeb
6018    field public static final int ERROR_INVALID_LENGTH = -23; // 0xffffffe9
6019    field public static final int ERROR_INVALID_PORT = -22; // 0xffffffea
6020  }
6021
6022  public final class IpConfiguration implements android.os.Parcelable {
6023    ctor public IpConfiguration();
6024    ctor public IpConfiguration(@NonNull android.net.IpConfiguration);
6025    method public int describeContents();
6026    method @Nullable public android.net.ProxyInfo getHttpProxy();
6027    method @NonNull public android.net.IpConfiguration.IpAssignment getIpAssignment();
6028    method @NonNull public android.net.IpConfiguration.ProxySettings getProxySettings();
6029    method @Nullable public android.net.StaticIpConfiguration getStaticIpConfiguration();
6030    method public void setHttpProxy(@Nullable android.net.ProxyInfo);
6031    method public void setIpAssignment(@NonNull android.net.IpConfiguration.IpAssignment);
6032    method public void setProxySettings(@NonNull android.net.IpConfiguration.ProxySettings);
6033    method public void setStaticIpConfiguration(@Nullable android.net.StaticIpConfiguration);
6034    method public void writeToParcel(@NonNull android.os.Parcel, int);
6035    field @NonNull public static final android.os.Parcelable.Creator<android.net.IpConfiguration> CREATOR;
6036  }
6037
6038  public enum IpConfiguration.IpAssignment {
6039    enum_constant public static final android.net.IpConfiguration.IpAssignment DHCP;
6040    enum_constant public static final android.net.IpConfiguration.IpAssignment STATIC;
6041    enum_constant public static final android.net.IpConfiguration.IpAssignment UNASSIGNED;
6042  }
6043
6044  public enum IpConfiguration.ProxySettings {
6045    enum_constant public static final android.net.IpConfiguration.ProxySettings NONE;
6046    enum_constant public static final android.net.IpConfiguration.ProxySettings PAC;
6047    enum_constant public static final android.net.IpConfiguration.ProxySettings STATIC;
6048    enum_constant public static final android.net.IpConfiguration.ProxySettings UNASSIGNED;
6049  }
6050
6051  public final class IpPrefix implements android.os.Parcelable {
6052    ctor public IpPrefix(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int);
6053    ctor public IpPrefix(@NonNull String);
6054  }
6055
6056  public final class IpSecManager {
6057    method @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public void applyTunnelModeTransform(@NonNull android.net.IpSecManager.IpSecTunnelInterface, int, @NonNull android.net.IpSecTransform) throws java.io.IOException;
6058    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public android.net.IpSecManager.IpSecTunnelInterface createIpSecTunnelInterface(@NonNull java.net.InetAddress, @NonNull java.net.InetAddress, @NonNull android.net.Network) throws java.io.IOException, android.net.IpSecManager.ResourceUnavailableException;
6059  }
6060
6061  public static final class IpSecManager.IpSecTunnelInterface implements java.lang.AutoCloseable {
6062    method @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public void addAddress(@NonNull java.net.InetAddress, int) throws java.io.IOException;
6063    method public void close();
6064    method @NonNull public String getInterfaceName();
6065    method @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public void removeAddress(@NonNull java.net.InetAddress, int) throws java.io.IOException;
6066  }
6067
6068  public static class IpSecTransform.Builder {
6069    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public android.net.IpSecTransform buildTunnelModeTransform(@NonNull java.net.InetAddress, @NonNull android.net.IpSecManager.SecurityParameterIndex) throws java.io.IOException, android.net.IpSecManager.ResourceUnavailableException, android.net.IpSecManager.SpiUnavailableException;
6070  }
6071
6072  public class KeepalivePacketData {
6073    ctor protected KeepalivePacketData(@NonNull java.net.InetAddress, @IntRange(from=0, to=65535) int, @NonNull java.net.InetAddress, @IntRange(from=0, to=65535) int, @NonNull byte[]) throws android.net.InvalidPacketException;
6074    method @NonNull public java.net.InetAddress getDstAddress();
6075    method public int getDstPort();
6076    method @NonNull public byte[] getPacket();
6077    method @NonNull public java.net.InetAddress getSrcAddress();
6078    method public int getSrcPort();
6079  }
6080
6081  public class LinkAddress implements android.os.Parcelable {
6082    ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int, int, int);
6083    ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int, int, int, long, long);
6084    ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int);
6085    ctor public LinkAddress(@NonNull String);
6086    ctor public LinkAddress(@NonNull String, int, int);
6087    method public long getDeprecationTime();
6088    method public long getExpirationTime();
6089    method public boolean isGlobalPreferred();
6090    method public boolean isIpv4();
6091    method public boolean isIpv6();
6092    method public boolean isSameAddressAs(@Nullable android.net.LinkAddress);
6093    field public static final long LIFETIME_PERMANENT = 9223372036854775807L; // 0x7fffffffffffffffL
6094    field public static final long LIFETIME_UNKNOWN = -1L; // 0xffffffffffffffffL
6095  }
6096
6097  public final class LinkProperties implements android.os.Parcelable {
6098    ctor public LinkProperties(@Nullable android.net.LinkProperties);
6099    ctor public LinkProperties(@Nullable android.net.LinkProperties, boolean);
6100    method public boolean addDnsServer(@NonNull java.net.InetAddress);
6101    method public boolean addLinkAddress(@NonNull android.net.LinkAddress);
6102    method public boolean addPcscfServer(@NonNull java.net.InetAddress);
6103    method @NonNull public java.util.List<java.net.InetAddress> getAddresses();
6104    method @NonNull public java.util.List<java.lang.String> getAllInterfaceNames();
6105    method @NonNull public java.util.List<android.net.LinkAddress> getAllLinkAddresses();
6106    method @NonNull public java.util.List<android.net.RouteInfo> getAllRoutes();
6107    method @Nullable public android.net.Uri getCaptivePortalApiUrl();
6108    method @Nullable public android.net.CaptivePortalData getCaptivePortalData();
6109    method @NonNull public java.util.List<java.net.InetAddress> getPcscfServers();
6110    method @Nullable public String getTcpBufferSizes();
6111    method @NonNull public java.util.List<java.net.InetAddress> getValidatedPrivateDnsServers();
6112    method public boolean hasGlobalIpv6Address();
6113    method public boolean hasIpv4Address();
6114    method public boolean hasIpv4DefaultRoute();
6115    method public boolean hasIpv4DnsServer();
6116    method public boolean hasIpv6DefaultRoute();
6117    method public boolean hasIpv6DnsServer();
6118    method public boolean isIpv4Provisioned();
6119    method public boolean isIpv6Provisioned();
6120    method public boolean isProvisioned();
6121    method public boolean isReachable(@NonNull java.net.InetAddress);
6122    method public boolean removeDnsServer(@NonNull java.net.InetAddress);
6123    method public boolean removeLinkAddress(@NonNull android.net.LinkAddress);
6124    method public boolean removeRoute(@NonNull android.net.RouteInfo);
6125    method public void setCaptivePortalApiUrl(@Nullable android.net.Uri);
6126    method public void setCaptivePortalData(@Nullable android.net.CaptivePortalData);
6127    method public void setPcscfServers(@NonNull java.util.Collection<java.net.InetAddress>);
6128    method public void setPrivateDnsServerName(@Nullable String);
6129    method public void setTcpBufferSizes(@Nullable String);
6130    method public void setUsePrivateDns(boolean);
6131    method public void setValidatedPrivateDnsServers(@NonNull java.util.Collection<java.net.InetAddress>);
6132  }
6133
6134  public final class MatchAllNetworkSpecifier extends android.net.NetworkSpecifier implements android.os.Parcelable {
6135    ctor public MatchAllNetworkSpecifier();
6136    method public int describeContents();
6137    method public void writeToParcel(@NonNull android.os.Parcel, int);
6138    field @NonNull public static final android.os.Parcelable.Creator<android.net.MatchAllNetworkSpecifier> CREATOR;
6139  }
6140
6141  public final class NattKeepalivePacketData extends android.net.KeepalivePacketData implements android.os.Parcelable {
6142    ctor public NattKeepalivePacketData(@NonNull java.net.InetAddress, int, @NonNull java.net.InetAddress, int, @NonNull byte[]) throws android.net.InvalidPacketException;
6143    method public int describeContents();
6144    method public void writeToParcel(@NonNull android.os.Parcel, int);
6145    field @NonNull public static final android.os.Parcelable.Creator<android.net.NattKeepalivePacketData> CREATOR;
6146  }
6147
6148  public class Network implements android.os.Parcelable {
6149    ctor public Network(@NonNull android.net.Network);
6150    method public int getNetId();
6151    method @NonNull public android.net.Network getPrivateDnsBypassingCopy();
6152  }
6153
6154  public abstract class NetworkAgent {
6155    ctor public NetworkAgent(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull String, @NonNull android.net.NetworkCapabilities, @NonNull android.net.LinkProperties, int, @NonNull android.net.NetworkAgentConfig, @Nullable android.net.NetworkProvider);
6156    method @Nullable public android.net.Network getNetwork();
6157    method public void markConnected();
6158    method public void onAddKeepalivePacketFilter(int, @NonNull android.net.KeepalivePacketData);
6159    method public void onAutomaticReconnectDisabled();
6160    method public void onNetworkUnwanted();
6161    method public void onRemoveKeepalivePacketFilter(int);
6162    method public void onSaveAcceptUnvalidated(boolean);
6163    method public void onSignalStrengthThresholdsUpdated(@NonNull int[]);
6164    method public void onStartSocketKeepalive(int, @NonNull java.time.Duration, @NonNull android.net.KeepalivePacketData);
6165    method public void onStopSocketKeepalive(int);
6166    method public void onValidationStatus(int, @Nullable android.net.Uri);
6167    method @NonNull public android.net.Network register();
6168    method public final void sendLinkProperties(@NonNull android.net.LinkProperties);
6169    method public final void sendNetworkCapabilities(@NonNull android.net.NetworkCapabilities);
6170    method public final void sendNetworkScore(@IntRange(from=0, to=99) int);
6171    method public final void sendSocketKeepaliveEvent(int, int);
6172    method public void unregister();
6173    field public static final int VALIDATION_STATUS_NOT_VALID = 2; // 0x2
6174    field public static final int VALIDATION_STATUS_VALID = 1; // 0x1
6175  }
6176
6177  public final class NetworkAgentConfig implements android.os.Parcelable {
6178    method public int describeContents();
6179    method public int getLegacyType();
6180    method @NonNull public String getLegacyTypeName();
6181    method public boolean isExplicitlySelected();
6182    method public boolean isPartialConnectivityAcceptable();
6183    method public boolean isUnvalidatedConnectivityAcceptable();
6184    method public void writeToParcel(@NonNull android.os.Parcel, int);
6185    field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkAgentConfig> CREATOR;
6186  }
6187
6188  public static final class NetworkAgentConfig.Builder {
6189    ctor public NetworkAgentConfig.Builder();
6190    method @NonNull public android.net.NetworkAgentConfig build();
6191    method @NonNull public android.net.NetworkAgentConfig.Builder setExplicitlySelected(boolean);
6192    method @NonNull public android.net.NetworkAgentConfig.Builder setLegacyType(int);
6193    method @NonNull public android.net.NetworkAgentConfig.Builder setLegacyTypeName(@NonNull String);
6194    method @NonNull public android.net.NetworkAgentConfig.Builder setPartialConnectivityAcceptable(boolean);
6195    method @NonNull public android.net.NetworkAgentConfig.Builder setUnvalidatedConnectivityAcceptable(boolean);
6196  }
6197
6198  public final class NetworkCapabilities implements android.os.Parcelable {
6199    method @NonNull public int[] getAdministratorUids();
6200    method @Nullable public String getSsid();
6201    method @NonNull public int[] getTransportTypes();
6202    method public boolean satisfiedByNetworkCapabilities(@Nullable android.net.NetworkCapabilities);
6203    field public static final int NET_CAPABILITY_OEM_PAID = 22; // 0x16
6204    field public static final int NET_CAPABILITY_PARTIAL_CONNECTIVITY = 24; // 0x18
6205  }
6206
6207  public static final class NetworkCapabilities.Builder {
6208    ctor public NetworkCapabilities.Builder();
6209    ctor public NetworkCapabilities.Builder(@NonNull android.net.NetworkCapabilities);
6210    method @NonNull public android.net.NetworkCapabilities.Builder addCapability(int);
6211    method @NonNull public android.net.NetworkCapabilities.Builder addTransportType(int);
6212    method @NonNull public android.net.NetworkCapabilities build();
6213    method @NonNull public android.net.NetworkCapabilities.Builder removeCapability(int);
6214    method @NonNull public android.net.NetworkCapabilities.Builder removeTransportType(int);
6215    method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setAdministratorUids(@NonNull int[]);
6216    method @NonNull public android.net.NetworkCapabilities.Builder setLinkDownstreamBandwidthKbps(int);
6217    method @NonNull public android.net.NetworkCapabilities.Builder setLinkUpstreamBandwidthKbps(int);
6218    method @NonNull public android.net.NetworkCapabilities.Builder setNetworkSpecifier(@Nullable android.net.NetworkSpecifier);
6219    method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setOwnerUid(int);
6220    method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setRequestorPackageName(@Nullable String);
6221    method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setRequestorUid(int);
6222    method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP) public android.net.NetworkCapabilities.Builder setSignalStrength(int);
6223    method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setSsid(@Nullable String);
6224    method @NonNull public android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.net.TransportInfo);
6225  }
6226
6227  public class NetworkKey implements android.os.Parcelable {
6228    ctor public NetworkKey(android.net.WifiKey);
6229    method @Nullable public static android.net.NetworkKey createFromScanResult(@NonNull android.net.wifi.ScanResult);
6230    method public int describeContents();
6231    method public void writeToParcel(android.os.Parcel, int);
6232    field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkKey> CREATOR;
6233    field public static final int TYPE_WIFI = 1; // 0x1
6234    field public final int type;
6235    field public final android.net.WifiKey wifiKey;
6236  }
6237
6238  public class NetworkProvider {
6239    ctor public NetworkProvider(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull String);
6240    method @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public void declareNetworkRequestUnfulfillable(@NonNull android.net.NetworkRequest);
6241    method public int getProviderId();
6242    method public void onNetworkRequestWithdrawn(@NonNull android.net.NetworkRequest);
6243    method public void onNetworkRequested(@NonNull android.net.NetworkRequest, @IntRange(from=0, to=99) int, int);
6244    field public static final int ID_NONE = -1; // 0xffffffff
6245  }
6246
6247  public abstract class NetworkRecommendationProvider {
6248    ctor public NetworkRecommendationProvider(android.content.Context, java.util.concurrent.Executor);
6249    method public final android.os.IBinder getBinder();
6250    method public abstract void onRequestScores(android.net.NetworkKey[]);
6251  }
6252
6253  public class NetworkRequest implements android.os.Parcelable {
6254    method @Nullable public String getRequestorPackageName();
6255    method public int getRequestorUid();
6256  }
6257
6258  public static class NetworkRequest.Builder {
6259    method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP) public android.net.NetworkRequest.Builder setSignalStrength(int);
6260  }
6261
6262  public class NetworkScoreManager {
6263    method @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public boolean clearScores() throws java.lang.SecurityException;
6264    method @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public void disableScoring() throws java.lang.SecurityException;
6265    method @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public String getActiveScorerPackage();
6266    method @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES) public void registerNetworkScoreCallback(int, int, @NonNull java.util.concurrent.Executor, @NonNull android.net.NetworkScoreManager.NetworkScoreCallback) throws java.lang.SecurityException;
6267    method @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES) public boolean requestScores(@NonNull java.util.Collection<android.net.NetworkKey>) throws java.lang.SecurityException;
6268    method @RequiresPermission(anyOf={android.Manifest.permission.SCORE_NETWORKS, android.Manifest.permission.REQUEST_NETWORK_SCORES}) public boolean setActiveScorer(String) throws java.lang.SecurityException;
6269    method @RequiresPermission(android.Manifest.permission.SCORE_NETWORKS) public boolean updateScores(@NonNull android.net.ScoredNetwork[]) throws java.lang.SecurityException;
6270    field @Deprecated public static final String ACTION_CHANGE_ACTIVE = "android.net.scoring.CHANGE_ACTIVE";
6271    field public static final String ACTION_CUSTOM_ENABLE = "android.net.scoring.CUSTOM_ENABLE";
6272    field public static final String ACTION_RECOMMEND_NETWORKS = "android.net.action.RECOMMEND_NETWORKS";
6273    field public static final String ACTION_SCORER_CHANGED = "android.net.scoring.SCORER_CHANGED";
6274    field @Deprecated public static final String ACTION_SCORE_NETWORKS = "android.net.scoring.SCORE_NETWORKS";
6275    field @Deprecated public static final String EXTRA_NETWORKS_TO_SCORE = "networksToScore";
6276    field public static final String EXTRA_NEW_SCORER = "newScorer";
6277    field @Deprecated public static final String EXTRA_PACKAGE_NAME = "packageName";
6278    field public static final int SCORE_FILTER_CURRENT_NETWORK = 1; // 0x1
6279    field public static final int SCORE_FILTER_NONE = 0; // 0x0
6280    field public static final int SCORE_FILTER_SCAN_RESULTS = 2; // 0x2
6281  }
6282
6283  public abstract static class NetworkScoreManager.NetworkScoreCallback {
6284    ctor public NetworkScoreManager.NetworkScoreCallback();
6285    method public abstract void onScoresInvalidated();
6286    method public abstract void onScoresUpdated(@NonNull java.util.Collection<android.net.ScoredNetwork>);
6287  }
6288
6289  public abstract class NetworkSpecifier {
6290    method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkSpecifier);
6291    method @Nullable public android.net.NetworkSpecifier redact();
6292  }
6293
6294  public class NetworkStack {
6295    method @Nullable public static android.os.IBinder getService();
6296    field public static final String PERMISSION_MAINLINE_NETWORK_STACK = "android.permission.MAINLINE_NETWORK_STACK";
6297  }
6298
6299  public final class NetworkStats implements android.os.Parcelable {
6300    ctor public NetworkStats(long, int);
6301    method @NonNull public android.net.NetworkStats add(@NonNull android.net.NetworkStats);
6302    method @NonNull public android.net.NetworkStats addEntry(@NonNull android.net.NetworkStats.Entry);
6303    method public int describeContents();
6304    method @NonNull public android.net.NetworkStats subtract(@NonNull android.net.NetworkStats);
6305    method public void writeToParcel(@NonNull android.os.Parcel, int);
6306    field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkStats> CREATOR;
6307    field public static final int DEFAULT_NETWORK_NO = 0; // 0x0
6308    field public static final int DEFAULT_NETWORK_YES = 1; // 0x1
6309    field public static final String IFACE_VT = "vt_data0";
6310    field public static final int METERED_NO = 0; // 0x0
6311    field public static final int METERED_YES = 1; // 0x1
6312    field public static final int ROAMING_NO = 0; // 0x0
6313    field public static final int ROAMING_YES = 1; // 0x1
6314    field public static final int SET_DEFAULT = 0; // 0x0
6315    field public static final int SET_FOREGROUND = 1; // 0x1
6316    field public static final int TAG_NONE = 0; // 0x0
6317    field public static final int UID_ALL = -1; // 0xffffffff
6318    field public static final int UID_TETHERING = -5; // 0xfffffffb
6319  }
6320
6321  public static class NetworkStats.Entry {
6322    ctor public NetworkStats.Entry(@Nullable String, int, int, int, int, int, int, long, long, long, long, long);
6323  }
6324
6325  public final class RouteInfo implements android.os.Parcelable {
6326    ctor public RouteInfo(@Nullable android.net.IpPrefix, @Nullable java.net.InetAddress, @Nullable String, int);
6327    ctor public RouteInfo(@Nullable android.net.IpPrefix, @Nullable java.net.InetAddress, @Nullable String, int, int);
6328    method public int getMtu();
6329    method public int getType();
6330    field public static final int RTN_THROW = 9; // 0x9
6331    field public static final int RTN_UNICAST = 1; // 0x1
6332    field public static final int RTN_UNREACHABLE = 7; // 0x7
6333  }
6334
6335  public class RssiCurve implements android.os.Parcelable {
6336    ctor public RssiCurve(int, int, byte[]);
6337    ctor public RssiCurve(int, int, byte[], int);
6338    method public int describeContents();
6339    method public byte lookupScore(int);
6340    method public byte lookupScore(int, boolean);
6341    method public void writeToParcel(android.os.Parcel, int);
6342    field @NonNull public static final android.os.Parcelable.Creator<android.net.RssiCurve> CREATOR;
6343    field public final int activeNetworkRssiBoost;
6344    field public final int bucketWidth;
6345    field public final byte[] rssiBuckets;
6346    field public final int start;
6347  }
6348
6349  public class ScoredNetwork implements android.os.Parcelable {
6350    ctor public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve);
6351    ctor public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve, boolean);
6352    ctor public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve, boolean, @Nullable android.os.Bundle);
6353    method public int calculateBadge(int);
6354    method public int describeContents();
6355    method public void writeToParcel(android.os.Parcel, int);
6356    field public static final String ATTRIBUTES_KEY_BADGING_CURVE = "android.net.attributes.key.BADGING_CURVE";
6357    field public static final String ATTRIBUTES_KEY_HAS_CAPTIVE_PORTAL = "android.net.attributes.key.HAS_CAPTIVE_PORTAL";
6358    field public static final String ATTRIBUTES_KEY_RANKING_SCORE_OFFSET = "android.net.attributes.key.RANKING_SCORE_OFFSET";
6359    field @NonNull public static final android.os.Parcelable.Creator<android.net.ScoredNetwork> CREATOR;
6360    field @Nullable public final android.os.Bundle attributes;
6361    field public final boolean meteredHint;
6362    field public final android.net.NetworkKey networkKey;
6363    field public final android.net.RssiCurve rssiCurve;
6364  }
6365
6366  public abstract class SocketKeepalive implements java.lang.AutoCloseable {
6367    field public static final int SUCCESS = 0; // 0x0
6368  }
6369
6370  public final class StaticIpConfiguration implements android.os.Parcelable {
6371    ctor public StaticIpConfiguration();
6372    ctor public StaticIpConfiguration(@Nullable android.net.StaticIpConfiguration);
6373    method public void addDnsServer(@NonNull java.net.InetAddress);
6374    method public void clear();
6375    method public int describeContents();
6376    method @NonNull public java.util.List<java.net.InetAddress> getDnsServers();
6377    method @Nullable public String getDomains();
6378    method @Nullable public java.net.InetAddress getGateway();
6379    method @Nullable public android.net.LinkAddress getIpAddress();
6380    method @NonNull public java.util.List<android.net.RouteInfo> getRoutes(@Nullable String);
6381    method public void writeToParcel(android.os.Parcel, int);
6382    field @NonNull public static final android.os.Parcelable.Creator<android.net.StaticIpConfiguration> CREATOR;
6383  }
6384
6385  public static final class StaticIpConfiguration.Builder {
6386    ctor public StaticIpConfiguration.Builder();
6387    method @NonNull public android.net.StaticIpConfiguration build();
6388    method @NonNull public android.net.StaticIpConfiguration.Builder setDnsServers(@NonNull Iterable<java.net.InetAddress>);
6389    method @NonNull public android.net.StaticIpConfiguration.Builder setDomains(@Nullable String);
6390    method @NonNull public android.net.StaticIpConfiguration.Builder setGateway(@Nullable java.net.InetAddress);
6391    method @NonNull public android.net.StaticIpConfiguration.Builder setIpAddress(@Nullable android.net.LinkAddress);
6392  }
6393
6394  public class TrafficStats {
6395    method public static void setThreadStatsTagApp();
6396    method public static void setThreadStatsTagBackup();
6397    method public static void setThreadStatsTagRestore();
6398    field public static final int TAG_NETWORK_STACK_IMPERSONATION_RANGE_END = -113; // 0xffffff8f
6399    field public static final int TAG_NETWORK_STACK_IMPERSONATION_RANGE_START = -128; // 0xffffff80
6400    field public static final int TAG_NETWORK_STACK_RANGE_END = -257; // 0xfffffeff
6401    field public static final int TAG_NETWORK_STACK_RANGE_START = -768; // 0xfffffd00
6402    field public static final int TAG_SYSTEM_IMPERSONATION_RANGE_END = -241; // 0xffffff0f
6403    field public static final int TAG_SYSTEM_IMPERSONATION_RANGE_START = -256; // 0xffffff00
6404  }
6405
6406  public abstract class Uri implements java.lang.Comparable<android.net.Uri> android.os.Parcelable {
6407    method @NonNull public String toSafeString();
6408  }
6409
6410  public class VpnService extends android.app.Service {
6411    method @RequiresPermission(android.Manifest.permission.CONTROL_VPN) public static void prepareAndAuthorize(android.content.Context);
6412  }
6413
6414  public class WebAddress {
6415    ctor public WebAddress(String) throws android.net.ParseException;
6416  }
6417
6418  public class WifiKey implements android.os.Parcelable {
6419    ctor public WifiKey(String, String);
6420    method public int describeContents();
6421    method public void writeToParcel(android.os.Parcel, int);
6422    field @NonNull public static final android.os.Parcelable.Creator<android.net.WifiKey> CREATOR;
6423    field public final String bssid;
6424    field public final String ssid;
6425  }
6426
6427}
6428
6429package android.net.apf {
6430
6431  public final class ApfCapabilities implements android.os.Parcelable {
6432    ctor public ApfCapabilities(int, int, int);
6433    method public int describeContents();
6434    method public static boolean getApfDrop8023Frames();
6435    method @NonNull public static int[] getApfEtherTypeBlackList();
6436    method public boolean hasDataAccess();
6437    method public void writeToParcel(android.os.Parcel, int);
6438    field public static final android.os.Parcelable.Creator<android.net.apf.ApfCapabilities> CREATOR;
6439    field public final int apfPacketFormat;
6440    field public final int apfVersionSupported;
6441    field public final int maximumApfProgramSize;
6442  }
6443
6444}
6445
6446package android.net.metrics {
6447
6448  public final class ApfProgramEvent implements android.net.metrics.IpConnectivityLog.Event {
6449  }
6450
6451  public static final class ApfProgramEvent.Builder {
6452    ctor public ApfProgramEvent.Builder();
6453    method @NonNull public android.net.metrics.ApfProgramEvent build();
6454    method @NonNull public android.net.metrics.ApfProgramEvent.Builder setActualLifetime(long);
6455    method @NonNull public android.net.metrics.ApfProgramEvent.Builder setCurrentRas(int);
6456    method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFilteredRas(int);
6457    method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFlags(boolean, boolean);
6458    method @NonNull public android.net.metrics.ApfProgramEvent.Builder setLifetime(long);
6459    method @NonNull public android.net.metrics.ApfProgramEvent.Builder setProgramLength(int);
6460  }
6461
6462  public final class ApfStats implements android.net.metrics.IpConnectivityLog.Event {
6463  }
6464
6465  public static final class ApfStats.Builder {
6466    ctor public ApfStats.Builder();
6467    method @NonNull public android.net.metrics.ApfStats build();
6468    method @NonNull public android.net.metrics.ApfStats.Builder setDroppedRas(int);
6469    method @NonNull public android.net.metrics.ApfStats.Builder setDurationMs(long);
6470    method @NonNull public android.net.metrics.ApfStats.Builder setMatchingRas(int);
6471    method @NonNull public android.net.metrics.ApfStats.Builder setMaxProgramSize(int);
6472    method @NonNull public android.net.metrics.ApfStats.Builder setParseErrors(int);
6473    method @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdates(int);
6474    method @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdatesAll(int);
6475    method @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdatesAllowingMulticast(int);
6476    method @NonNull public android.net.metrics.ApfStats.Builder setReceivedRas(int);
6477    method @NonNull public android.net.metrics.ApfStats.Builder setZeroLifetimeRas(int);
6478  }
6479
6480  public final class DhcpClientEvent implements android.net.metrics.IpConnectivityLog.Event {
6481  }
6482
6483  public static final class DhcpClientEvent.Builder {
6484    ctor public DhcpClientEvent.Builder();
6485    method @NonNull public android.net.metrics.DhcpClientEvent build();
6486    method @NonNull public android.net.metrics.DhcpClientEvent.Builder setDurationMs(int);
6487    method @NonNull public android.net.metrics.DhcpClientEvent.Builder setMsg(String);
6488  }
6489
6490  public final class DhcpErrorEvent implements android.net.metrics.IpConnectivityLog.Event {
6491    ctor public DhcpErrorEvent(int);
6492    method public static int errorCodeWithOption(int, int);
6493    field public static final int BOOTP_TOO_SHORT = 67174400; // 0x4010000
6494    field public static final int BUFFER_UNDERFLOW = 83951616; // 0x5010000
6495    field public static final int DHCP_BAD_MAGIC_COOKIE = 67239936; // 0x4020000
6496    field public static final int DHCP_ERROR = 4; // 0x4
6497    field public static final int DHCP_INVALID_OPTION_LENGTH = 67305472; // 0x4030000
6498    field public static final int DHCP_NO_COOKIE = 67502080; // 0x4060000
6499    field public static final int DHCP_NO_MSG_TYPE = 67371008; // 0x4040000
6500    field public static final int DHCP_UNKNOWN_MSG_TYPE = 67436544; // 0x4050000
6501    field public static final int L2_ERROR = 1; // 0x1
6502    field public static final int L2_TOO_SHORT = 16842752; // 0x1010000
6503    field public static final int L2_WRONG_ETH_TYPE = 16908288; // 0x1020000
6504    field public static final int L3_ERROR = 2; // 0x2
6505    field public static final int L3_INVALID_IP = 33751040; // 0x2030000
6506    field public static final int L3_NOT_IPV4 = 33685504; // 0x2020000
6507    field public static final int L3_TOO_SHORT = 33619968; // 0x2010000
6508    field public static final int L4_ERROR = 3; // 0x3
6509    field public static final int L4_NOT_UDP = 50397184; // 0x3010000
6510    field public static final int L4_WRONG_PORT = 50462720; // 0x3020000
6511    field public static final int MISC_ERROR = 5; // 0x5
6512    field public static final int PARSING_ERROR = 84082688; // 0x5030000
6513    field public static final int RECEIVE_ERROR = 84017152; // 0x5020000
6514  }
6515
6516  public class IpConnectivityLog {
6517    ctor public IpConnectivityLog();
6518    method public boolean log(long, @NonNull android.net.metrics.IpConnectivityLog.Event);
6519    method public boolean log(@NonNull String, @NonNull android.net.metrics.IpConnectivityLog.Event);
6520    method public boolean log(@NonNull android.net.Network, @NonNull int[], @NonNull android.net.metrics.IpConnectivityLog.Event);
6521    method public boolean log(int, @NonNull int[], @NonNull android.net.metrics.IpConnectivityLog.Event);
6522    method public boolean log(@NonNull android.net.metrics.IpConnectivityLog.Event);
6523  }
6524
6525  public static interface IpConnectivityLog.Event extends android.os.Parcelable {
6526  }
6527
6528  public final class IpManagerEvent implements android.net.metrics.IpConnectivityLog.Event {
6529    ctor public IpManagerEvent(int, long);
6530    field public static final int COMPLETE_LIFECYCLE = 3; // 0x3
6531    field public static final int ERROR_INTERFACE_NOT_FOUND = 8; // 0x8
6532    field public static final int ERROR_INVALID_PROVISIONING = 7; // 0x7
6533    field public static final int ERROR_STARTING_IPREACHABILITYMONITOR = 6; // 0x6
6534    field public static final int ERROR_STARTING_IPV4 = 4; // 0x4
6535    field public static final int ERROR_STARTING_IPV6 = 5; // 0x5
6536    field public static final int PROVISIONING_FAIL = 2; // 0x2
6537    field public static final int PROVISIONING_OK = 1; // 0x1
6538  }
6539
6540  public final class IpReachabilityEvent implements android.net.metrics.IpConnectivityLog.Event {
6541    ctor public IpReachabilityEvent(int);
6542    field public static final int NUD_FAILED = 512; // 0x200
6543    field public static final int NUD_FAILED_ORGANIC = 1024; // 0x400
6544    field public static final int PROBE = 256; // 0x100
6545    field public static final int PROVISIONING_LOST = 768; // 0x300
6546    field public static final int PROVISIONING_LOST_ORGANIC = 1280; // 0x500
6547  }
6548
6549  public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event {
6550    ctor public NetworkEvent(int, long);
6551    ctor public NetworkEvent(int);
6552    field public static final int NETWORK_CAPTIVE_PORTAL_FOUND = 4; // 0x4
6553    field public static final int NETWORK_CONNECTED = 1; // 0x1
6554    field public static final int NETWORK_CONSECUTIVE_DNS_TIMEOUT_FOUND = 12; // 0xc
6555    field public static final int NETWORK_DISCONNECTED = 7; // 0x7
6556    field public static final int NETWORK_FIRST_VALIDATION_PORTAL_FOUND = 10; // 0xa
6557    field public static final int NETWORK_FIRST_VALIDATION_SUCCESS = 8; // 0x8
6558    field public static final int NETWORK_LINGER = 5; // 0x5
6559    field public static final int NETWORK_PARTIAL_CONNECTIVITY = 13; // 0xd
6560    field public static final int NETWORK_REVALIDATION_PORTAL_FOUND = 11; // 0xb
6561    field public static final int NETWORK_REVALIDATION_SUCCESS = 9; // 0x9
6562    field public static final int NETWORK_UNLINGER = 6; // 0x6
6563    field public static final int NETWORK_VALIDATED = 2; // 0x2
6564    field public static final int NETWORK_VALIDATION_FAILED = 3; // 0x3
6565  }
6566
6567  public final class RaEvent implements android.net.metrics.IpConnectivityLog.Event {
6568  }
6569
6570  public static final class RaEvent.Builder {
6571    ctor public RaEvent.Builder();
6572    method @NonNull public android.net.metrics.RaEvent build();
6573    method @NonNull public android.net.metrics.RaEvent.Builder updateDnsslLifetime(long);
6574    method @NonNull public android.net.metrics.RaEvent.Builder updatePrefixPreferredLifetime(long);
6575    method @NonNull public android.net.metrics.RaEvent.Builder updatePrefixValidLifetime(long);
6576    method @NonNull public android.net.metrics.RaEvent.Builder updateRdnssLifetime(long);
6577    method @NonNull public android.net.metrics.RaEvent.Builder updateRouteInfoLifetime(long);
6578    method @NonNull public android.net.metrics.RaEvent.Builder updateRouterLifetime(long);
6579  }
6580
6581  public final class ValidationProbeEvent implements android.net.metrics.IpConnectivityLog.Event {
6582    method @NonNull public static String getProbeName(int);
6583    field public static final int DNS_FAILURE = 0; // 0x0
6584    field public static final int DNS_SUCCESS = 1; // 0x1
6585    field public static final int PROBE_DNS = 0; // 0x0
6586    field public static final int PROBE_FALLBACK = 4; // 0x4
6587    field public static final int PROBE_HTTP = 1; // 0x1
6588    field public static final int PROBE_HTTPS = 2; // 0x2
6589    field public static final int PROBE_PAC = 3; // 0x3
6590    field public static final int PROBE_PRIVDNS = 5; // 0x5
6591  }
6592
6593  public static final class ValidationProbeEvent.Builder {
6594    ctor public ValidationProbeEvent.Builder();
6595    method @NonNull public android.net.metrics.ValidationProbeEvent build();
6596    method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setDurationMs(long);
6597    method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setProbeType(int, boolean);
6598    method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setReturnCode(int);
6599  }
6600
6601}
6602
6603package android.net.netstats.provider {
6604
6605  public abstract class NetworkStatsProvider {
6606    ctor public NetworkStatsProvider();
6607    method public void notifyAlertReached();
6608    method public void notifyLimitReached();
6609    method public void notifyStatsUpdated(int, @NonNull android.net.NetworkStats, @NonNull android.net.NetworkStats);
6610    method public abstract void onRequestStatsUpdate(int);
6611    method public abstract void onSetAlert(long);
6612    method public abstract void onSetLimit(@NonNull String, long);
6613    field public static final int QUOTA_UNLIMITED = -1; // 0xffffffff
6614  }
6615
6616}
6617
6618package android.net.sip {
6619
6620  public class SipAudioCall {
6621    method @Nullable public android.net.rtp.AudioGroup getAudioGroup();
6622    method public void setAudioGroup(@NonNull android.net.rtp.AudioGroup);
6623  }
6624
6625  public class SipManager {
6626    method @NonNull public java.util.List<android.net.sip.SipProfile> getProfiles() throws android.net.sip.SipException;
6627    field public static final String ACTION_SIP_CALL_OPTION_CHANGED = "android.net.sip.action.SIP_CALL_OPTION_CHANGED";
6628    field public static final String ACTION_SIP_INCOMING_CALL = "android.net.sip.action.SIP_INCOMING_CALL";
6629    field public static final String ACTION_SIP_REMOVE_PROFILE = "android.net.sip.action.SIP_REMOVE_PROFILE";
6630    field public static final String ACTION_SIP_SERVICE_UP = "android.net.sip.action.SIP_SERVICE_UP";
6631    field public static final String ACTION_START_SIP = "android.net.sip.action.START_SIP";
6632  }
6633
6634  public class SipProfile implements java.lang.Cloneable android.os.Parcelable java.io.Serializable {
6635    method public int getCallingUid();
6636  }
6637
6638}
6639
6640package android.net.util {
6641
6642  public final class SocketUtils {
6643    method public static void bindSocketToInterface(@NonNull java.io.FileDescriptor, @NonNull String) throws android.system.ErrnoException;
6644    method public static void closeSocket(@Nullable java.io.FileDescriptor) throws java.io.IOException;
6645    method @NonNull public static java.net.SocketAddress makeNetlinkSocketAddress(int, int);
6646    method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int);
6647    method @Deprecated @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, @NonNull byte[]);
6648    method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int, @NonNull byte[]);
6649  }
6650
6651}
6652
6653package android.net.wifi {
6654
6655  public final class WifiMigration {
6656    method @Nullable public static java.io.InputStream convertAndRetrieveSharedConfigStoreFile(int);
6657    method @Nullable public static java.io.InputStream convertAndRetrieveUserConfigStoreFile(int, @NonNull android.os.UserHandle);
6658    method @NonNull public static android.net.wifi.WifiMigration.SettingsMigrationData loadFromSettings(@NonNull android.content.Context);
6659    method public static void removeSharedConfigStoreFile(int);
6660    method public static void removeUserConfigStoreFile(int, @NonNull android.os.UserHandle);
6661    field public static final int STORE_FILE_SHARED_GENERAL = 0; // 0x0
6662    field public static final int STORE_FILE_SHARED_SOFTAP = 1; // 0x1
6663    field public static final int STORE_FILE_USER_GENERAL = 2; // 0x2
6664    field public static final int STORE_FILE_USER_NETWORK_SUGGESTIONS = 3; // 0x3
6665  }
6666
6667  public static final class WifiMigration.SettingsMigrationData implements android.os.Parcelable {
6668    method public int describeContents();
6669    method @Nullable public String getP2pDeviceName();
6670    method public boolean isP2pFactoryResetPending();
6671    method public boolean isScanAlwaysAvailable();
6672    method public boolean isScanThrottleEnabled();
6673    method public boolean isSoftApTimeoutEnabled();
6674    method public boolean isVerboseLoggingEnabled();
6675    method public boolean isWakeUpEnabled();
6676    method public void writeToParcel(@NonNull android.os.Parcel, int);
6677    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.WifiMigration.SettingsMigrationData> CREATOR;
6678  }
6679
6680  public static final class WifiMigration.SettingsMigrationData.Builder {
6681    ctor public WifiMigration.SettingsMigrationData.Builder();
6682    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData build();
6683    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setP2pDeviceName(@Nullable String);
6684    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setP2pFactoryResetPending(boolean);
6685    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setScanAlwaysAvailable(boolean);
6686    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setScanThrottleEnabled(boolean);
6687    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setSoftApTimeoutEnabled(boolean);
6688    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setVerboseLoggingEnabled(boolean);
6689    method @NonNull public android.net.wifi.WifiMigration.SettingsMigrationData.Builder setWakeUpEnabled(boolean);
6690  }
6691
6692}
6693
6694package android.net.wifi.nl80211 {
6695
6696  public final class DeviceWiphyCapabilities implements android.os.Parcelable {
6697    ctor public DeviceWiphyCapabilities();
6698    method public int describeContents();
6699    method public int getMaxNumberRxSpatialStreams();
6700    method public int getMaxNumberTxSpatialStreams();
6701    method public boolean isChannelWidthSupported(int);
6702    method public boolean isWifiStandardSupported(int);
6703    method public void setWifiStandardSupport(int, boolean);
6704    method public void writeToParcel(@NonNull android.os.Parcel, int);
6705    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.DeviceWiphyCapabilities> CREATOR;
6706  }
6707
6708  public final class NativeScanResult implements android.os.Parcelable {
6709    ctor public NativeScanResult();
6710    method public int describeContents();
6711    method @Nullable public android.net.MacAddress getBssid();
6712    method public int getCapabilities();
6713    method public int getFrequencyMhz();
6714    method @NonNull public byte[] getInformationElements();
6715    method @NonNull public java.util.List<android.net.wifi.nl80211.RadioChainInfo> getRadioChainInfos();
6716    method public int getSignalMbm();
6717    method @NonNull public byte[] getSsid();
6718    method public long getTsf();
6719    method public boolean isAssociated();
6720    method public void writeToParcel(@NonNull android.os.Parcel, int);
6721    field public static final int BSS_CAPABILITY_APSD = 2048; // 0x800
6722    field public static final int BSS_CAPABILITY_CF_POLLABLE = 4; // 0x4
6723    field public static final int BSS_CAPABILITY_CF_POLL_REQUEST = 8; // 0x8
6724    field public static final int BSS_CAPABILITY_CHANNEL_AGILITY = 128; // 0x80
6725    field public static final int BSS_CAPABILITY_DELAYED_BLOCK_ACK = 16384; // 0x4000
6726    field public static final int BSS_CAPABILITY_DSSS_OFDM = 8192; // 0x2000
6727    field public static final int BSS_CAPABILITY_ESS = 1; // 0x1
6728    field public static final int BSS_CAPABILITY_IBSS = 2; // 0x2
6729    field public static final int BSS_CAPABILITY_IMMEDIATE_BLOCK_ACK = 32768; // 0x8000
6730    field public static final int BSS_CAPABILITY_PBCC = 64; // 0x40
6731    field public static final int BSS_CAPABILITY_PRIVACY = 16; // 0x10
6732    field public static final int BSS_CAPABILITY_QOS = 512; // 0x200
6733    field public static final int BSS_CAPABILITY_RADIO_MANAGEMENT = 4096; // 0x1000
6734    field public static final int BSS_CAPABILITY_SHORT_PREAMBLE = 32; // 0x20
6735    field public static final int BSS_CAPABILITY_SHORT_SLOT_TIME = 1024; // 0x400
6736    field public static final int BSS_CAPABILITY_SPECTRUM_MANAGEMENT = 256; // 0x100
6737    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.NativeScanResult> CREATOR;
6738  }
6739
6740  public final class NativeWifiClient implements android.os.Parcelable {
6741    ctor public NativeWifiClient(@Nullable android.net.MacAddress);
6742    method public int describeContents();
6743    method @Nullable public android.net.MacAddress getMacAddress();
6744    method public void writeToParcel(@NonNull android.os.Parcel, int);
6745    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.NativeWifiClient> CREATOR;
6746  }
6747
6748  public final class PnoNetwork implements android.os.Parcelable {
6749    ctor public PnoNetwork();
6750    method public int describeContents();
6751    method @NonNull public int[] getFrequenciesMhz();
6752    method @NonNull public byte[] getSsid();
6753    method public boolean isHidden();
6754    method public void setFrequenciesMhz(@NonNull int[]);
6755    method public void setHidden(boolean);
6756    method public void setSsid(@NonNull byte[]);
6757    method public void writeToParcel(@NonNull android.os.Parcel, int);
6758    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.PnoNetwork> CREATOR;
6759  }
6760
6761  public final class PnoSettings implements android.os.Parcelable {
6762    ctor public PnoSettings();
6763    method public int describeContents();
6764    method public long getIntervalMillis();
6765    method public int getMin2gRssiDbm();
6766    method public int getMin5gRssiDbm();
6767    method public int getMin6gRssiDbm();
6768    method @NonNull public java.util.List<android.net.wifi.nl80211.PnoNetwork> getPnoNetworks();
6769    method public void setIntervalMillis(long);
6770    method public void setMin2gRssiDbm(int);
6771    method public void setMin5gRssiDbm(int);
6772    method public void setMin6gRssiDbm(int);
6773    method public void setPnoNetworks(@NonNull java.util.List<android.net.wifi.nl80211.PnoNetwork>);
6774    method public void writeToParcel(@NonNull android.os.Parcel, int);
6775    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.PnoSettings> CREATOR;
6776  }
6777
6778  public final class RadioChainInfo implements android.os.Parcelable {
6779    ctor public RadioChainInfo(int, int);
6780    method public int describeContents();
6781    method public int getChainId();
6782    method public int getLevelDbm();
6783    method public void writeToParcel(@NonNull android.os.Parcel, int);
6784    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.RadioChainInfo> CREATOR;
6785  }
6786
6787  public class WifiNl80211Manager {
6788    method public void abortScan(@NonNull String);
6789    method public void enableVerboseLogging(boolean);
6790    method @NonNull public int[] getChannelsMhzForBand(int);
6791    method @Nullable public android.net.wifi.nl80211.DeviceWiphyCapabilities getDeviceWiphyCapabilities(@NonNull String);
6792    method @NonNull public java.util.List<android.net.wifi.nl80211.NativeScanResult> getScanResults(@NonNull String, int);
6793    method @Nullable public android.net.wifi.nl80211.WifiNl80211Manager.TxPacketCounters getTxPacketCounters(@NonNull String);
6794    method @Nullable public static android.net.wifi.nl80211.WifiNl80211Manager.OemSecurityType parseOemSecurityTypeElement(int, int, @NonNull byte[]);
6795    method public boolean registerApCallback(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.SoftApCallback);
6796    method public void sendMgmtFrame(@NonNull String, @NonNull byte[], int, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.SendMgmtFrameCallback);
6797    method public void setOnServiceDeadCallback(@NonNull Runnable);
6798    method public boolean setupInterfaceForClientMode(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.ScanEventCallback, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.ScanEventCallback);
6799    method public boolean setupInterfaceForSoftApMode(@NonNull String);
6800    method @Nullable public android.net.wifi.nl80211.WifiNl80211Manager.SignalPollResult signalPoll(@NonNull String);
6801    method public boolean startPnoScan(@NonNull String, @NonNull android.net.wifi.nl80211.PnoSettings, @NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.nl80211.WifiNl80211Manager.PnoScanRequestCallback);
6802    method public boolean startScan(@NonNull String, int, @Nullable java.util.Set<java.lang.Integer>, @Nullable java.util.List<byte[]>);
6803    method public boolean stopPnoScan(@NonNull String);
6804    method public boolean tearDownClientInterface(@NonNull String);
6805    method public boolean tearDownInterfaces();
6806    method public boolean tearDownSoftApInterface(@NonNull String);
6807    field public static final int SCAN_TYPE_PNO_SCAN = 1; // 0x1
6808    field public static final int SCAN_TYPE_SINGLE_SCAN = 0; // 0x0
6809    field public static final int SEND_MGMT_FRAME_ERROR_ALREADY_STARTED = 5; // 0x5
6810    field public static final int SEND_MGMT_FRAME_ERROR_MCS_UNSUPPORTED = 2; // 0x2
6811    field public static final int SEND_MGMT_FRAME_ERROR_NO_ACK = 3; // 0x3
6812    field public static final int SEND_MGMT_FRAME_ERROR_TIMEOUT = 4; // 0x4
6813    field public static final int SEND_MGMT_FRAME_ERROR_UNKNOWN = 1; // 0x1
6814  }
6815
6816  public static class WifiNl80211Manager.OemSecurityType {
6817    ctor public WifiNl80211Manager.OemSecurityType(int, @NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<java.lang.Integer>, int);
6818    field public final int groupCipher;
6819    field @NonNull public final java.util.List<java.lang.Integer> keyManagement;
6820    field @NonNull public final java.util.List<java.lang.Integer> pairwiseCipher;
6821    field public final int protocol;
6822  }
6823
6824  public static interface WifiNl80211Manager.PnoScanRequestCallback {
6825    method public void onPnoRequestFailed();
6826    method public void onPnoRequestSucceeded();
6827  }
6828
6829  public static interface WifiNl80211Manager.ScanEventCallback {
6830    method public void onScanFailed();
6831    method public void onScanResultReady();
6832  }
6833
6834  public static interface WifiNl80211Manager.SendMgmtFrameCallback {
6835    method public void onAck(int);
6836    method public void onFailure(int);
6837  }
6838
6839  public static class WifiNl80211Manager.SignalPollResult {
6840    field public final int associationFrequencyMHz;
6841    field public final int currentRssiDbm;
6842    field public final int rxBitrateMbps;
6843    field public final int txBitrateMbps;
6844  }
6845
6846  public static interface WifiNl80211Manager.SoftApCallback {
6847    method public void onConnectedClientsChanged(@NonNull android.net.wifi.nl80211.NativeWifiClient, boolean);
6848    method public void onFailure();
6849    method public void onSoftApChannelSwitched(int, int);
6850  }
6851
6852  public static class WifiNl80211Manager.TxPacketCounters {
6853    field public final int txPacketFailed;
6854    field public final int txPacketSucceeded;
6855  }
6856
6857}
6858
6859package android.nfc {
6860
6861  public final class NfcAdapter {
6862    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean addNfcUnlockHandler(android.nfc.NfcAdapter.NfcUnlockHandler, String[]);
6863    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean disable();
6864    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean disable(boolean);
6865    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean disableNdefPush();
6866    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean enable();
6867    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean enableNdefPush();
6868    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean enableSecureNfc(boolean);
6869    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean removeNfcUnlockHandler(android.nfc.NfcAdapter.NfcUnlockHandler);
6870    method public void setNdefPushMessage(android.nfc.NdefMessage, android.app.Activity, int);
6871    field public static final int FLAG_NDEF_PUSH_NO_CONFIRM = 1; // 0x1
6872  }
6873
6874  public static interface NfcAdapter.NfcUnlockHandler {
6875    method public boolean onUnlockAttempted(android.nfc.Tag);
6876  }
6877
6878}
6879
6880package android.os {
6881
6882  public class BatteryManager {
6883    method @RequiresPermission(android.Manifest.permission.POWER_SAVER) public boolean setChargingStateUpdateDelayMillis(int);
6884    field public static final String EXTRA_EVENTS = "android.os.extra.EVENTS";
6885    field public static final String EXTRA_EVENT_TIMESTAMP = "android.os.extra.EVENT_TIMESTAMP";
6886  }
6887
6888  public final class BatterySaverPolicyConfig implements android.os.Parcelable {
6889    method public int describeContents();
6890    method public float getAdjustBrightnessFactor();
6891    method public boolean getAdvertiseIsEnabled();
6892    method public boolean getDeferFullBackup();
6893    method public boolean getDeferKeyValueBackup();
6894    method @NonNull public java.util.Map<java.lang.String,java.lang.String> getDeviceSpecificSettings();
6895    method public boolean getDisableAnimation();
6896    method public boolean getDisableAod();
6897    method public boolean getDisableLaunchBoost();
6898    method public boolean getDisableOptionalSensors();
6899    method public boolean getDisableSoundTrigger();
6900    method public boolean getDisableVibration();
6901    method public boolean getEnableAdjustBrightness();
6902    method public boolean getEnableDataSaver();
6903    method public boolean getEnableFirewall();
6904    method public boolean getEnableNightMode();
6905    method public boolean getEnableQuickDoze();
6906    method public boolean getForceAllAppsStandby();
6907    method public boolean getForceBackgroundCheck();
6908    method public int getLocationMode();
6909    method public void writeToParcel(android.os.Parcel, int);
6910    field @NonNull public static final android.os.Parcelable.Creator<android.os.BatterySaverPolicyConfig> CREATOR;
6911  }
6912
6913  public static final class BatterySaverPolicyConfig.Builder {
6914    ctor public BatterySaverPolicyConfig.Builder();
6915    method @NonNull public android.os.BatterySaverPolicyConfig.Builder addDeviceSpecificSetting(@NonNull String, @NonNull String);
6916    method @NonNull public android.os.BatterySaverPolicyConfig build();
6917    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setAdjustBrightnessFactor(float);
6918    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setAdvertiseIsEnabled(boolean);
6919    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDeferFullBackup(boolean);
6920    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDeferKeyValueBackup(boolean);
6921    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableAnimation(boolean);
6922    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableAod(boolean);
6923    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableLaunchBoost(boolean);
6924    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableOptionalSensors(boolean);
6925    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableSoundTrigger(boolean);
6926    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDisableVibration(boolean);
6927    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableAdjustBrightness(boolean);
6928    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableDataSaver(boolean);
6929    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableFirewall(boolean);
6930    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableNightMode(boolean);
6931    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setEnableQuickDoze(boolean);
6932    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setForceAllAppsStandby(boolean);
6933    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setForceBackgroundCheck(boolean);
6934    method @NonNull public android.os.BatterySaverPolicyConfig.Builder setLocationMode(int);
6935  }
6936
6937  public final class BatteryStatsManager {
6938    method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public android.os.connectivity.CellularBatteryStats getCellularBatteryStats();
6939    method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public android.os.connectivity.WifiBatteryStats getWifiBatteryStats();
6940    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportFullWifiLockAcquiredFromSource(@NonNull android.os.WorkSource);
6941    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportFullWifiLockReleasedFromSource(@NonNull android.os.WorkSource);
6942    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiBatchedScanStartedFromSource(@NonNull android.os.WorkSource, @IntRange(from=0) int);
6943    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiBatchedScanStoppedFromSource(@NonNull android.os.WorkSource);
6944    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiMulticastDisabled(@NonNull android.os.WorkSource);
6945    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiMulticastEnabled(@NonNull android.os.WorkSource);
6946    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiOff();
6947    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiOn();
6948    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiRssiChanged(@IntRange(from=0xffffff81, to=0) int);
6949    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiScanStartedFromSource(@NonNull android.os.WorkSource);
6950    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiScanStoppedFromSource(@NonNull android.os.WorkSource);
6951    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiState(int, @Nullable String);
6952    method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void reportWifiSupplicantStateChanged(int, boolean);
6953    field public static final int WIFI_STATE_OFF = 0; // 0x0
6954    field public static final int WIFI_STATE_OFF_SCANNING = 1; // 0x1
6955    field public static final int WIFI_STATE_ON_CONNECTED_P2P = 5; // 0x5
6956    field public static final int WIFI_STATE_ON_CONNECTED_STA = 4; // 0x4
6957    field public static final int WIFI_STATE_ON_CONNECTED_STA_P2P = 6; // 0x6
6958    field public static final int WIFI_STATE_ON_DISCONNECTED = 3; // 0x3
6959    field public static final int WIFI_STATE_ON_NO_NETWORKS = 2; // 0x2
6960    field public static final int WIFI_STATE_SOFT_AP = 7; // 0x7
6961    field public static final int WIFI_SUPPL_STATE_ASSOCIATED = 7; // 0x7
6962    field public static final int WIFI_SUPPL_STATE_ASSOCIATING = 6; // 0x6
6963    field public static final int WIFI_SUPPL_STATE_AUTHENTICATING = 5; // 0x5
6964    field public static final int WIFI_SUPPL_STATE_COMPLETED = 10; // 0xa
6965    field public static final int WIFI_SUPPL_STATE_DISCONNECTED = 1; // 0x1
6966    field public static final int WIFI_SUPPL_STATE_DORMANT = 11; // 0xb
6967    field public static final int WIFI_SUPPL_STATE_FOUR_WAY_HANDSHAKE = 8; // 0x8
6968    field public static final int WIFI_SUPPL_STATE_GROUP_HANDSHAKE = 9; // 0x9
6969    field public static final int WIFI_SUPPL_STATE_INACTIVE = 3; // 0x3
6970    field public static final int WIFI_SUPPL_STATE_INTERFACE_DISABLED = 2; // 0x2
6971    field public static final int WIFI_SUPPL_STATE_INVALID = 0; // 0x0
6972    field public static final int WIFI_SUPPL_STATE_SCANNING = 4; // 0x4
6973    field public static final int WIFI_SUPPL_STATE_UNINITIALIZED = 12; // 0xc
6974  }
6975
6976  public class Binder implements android.os.IBinder {
6977    method public int handleShellCommand(@NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull String[]);
6978    method public static void setProxyTransactListener(@Nullable android.os.Binder.ProxyTransactListener);
6979  }
6980
6981  public static interface Binder.ProxyTransactListener {
6982    method public void onTransactEnded(@Nullable Object);
6983    method @Nullable public Object onTransactStarted(@NonNull android.os.IBinder, int);
6984  }
6985
6986  public final class BugreportManager {
6987    method @RequiresPermission(android.Manifest.permission.DUMP) public void cancelBugreport();
6988    method @RequiresPermission(android.Manifest.permission.DUMP) public void requestBugreport(@NonNull android.os.BugreportParams, @Nullable CharSequence, @Nullable CharSequence);
6989    method @RequiresPermission(android.Manifest.permission.DUMP) public void startBugreport(@NonNull android.os.ParcelFileDescriptor, @Nullable android.os.ParcelFileDescriptor, @NonNull android.os.BugreportParams, @NonNull java.util.concurrent.Executor, @NonNull android.os.BugreportManager.BugreportCallback);
6990  }
6991
6992  public abstract static class BugreportManager.BugreportCallback {
6993    ctor public BugreportManager.BugreportCallback();
6994    method public void onError(int);
6995    method public void onFinished();
6996    method public void onProgress(@FloatRange(from=0.0f, to=100.0f) float);
6997    field public static final int BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS = 5; // 0x5
6998    field public static final int BUGREPORT_ERROR_INVALID_INPUT = 1; // 0x1
6999    field public static final int BUGREPORT_ERROR_RUNTIME = 2; // 0x2
7000    field public static final int BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT = 4; // 0x4
7001    field public static final int BUGREPORT_ERROR_USER_DENIED_CONSENT = 3; // 0x3
7002  }
7003
7004  public final class BugreportParams {
7005    ctor public BugreportParams(int);
7006    method public int getMode();
7007    field public static final int BUGREPORT_MODE_FULL = 0; // 0x0
7008    field public static final int BUGREPORT_MODE_INTERACTIVE = 1; // 0x1
7009    field public static final int BUGREPORT_MODE_REMOTE = 2; // 0x2
7010    field public static final int BUGREPORT_MODE_TELEPHONY = 4; // 0x4
7011    field public static final int BUGREPORT_MODE_WEAR = 3; // 0x3
7012    field public static final int BUGREPORT_MODE_WIFI = 5; // 0x5
7013  }
7014
7015  public static class Build.VERSION {
7016    field @NonNull public static final String PREVIEW_SDK_FINGERPRINT;
7017  }
7018
7019  public final class ConfigUpdate {
7020    field public static final String ACTION_UPDATE_CARRIER_ID_DB = "android.os.action.UPDATE_CARRIER_ID_DB";
7021    field public static final String ACTION_UPDATE_CARRIER_PROVISIONING_URLS = "android.intent.action.UPDATE_CARRIER_PROVISIONING_URLS";
7022    field public static final String ACTION_UPDATE_CONVERSATION_ACTIONS = "android.intent.action.UPDATE_CONVERSATION_ACTIONS";
7023    field public static final String ACTION_UPDATE_CT_LOGS = "android.intent.action.UPDATE_CT_LOGS";
7024    field public static final String ACTION_UPDATE_EMERGENCY_NUMBER_DB = "android.os.action.UPDATE_EMERGENCY_NUMBER_DB";
7025    field public static final String ACTION_UPDATE_INTENT_FIREWALL = "android.intent.action.UPDATE_INTENT_FIREWALL";
7026    field public static final String ACTION_UPDATE_LANG_ID = "android.intent.action.UPDATE_LANG_ID";
7027    field public static final String ACTION_UPDATE_NETWORK_WATCHLIST = "android.intent.action.UPDATE_NETWORK_WATCHLIST";
7028    field public static final String ACTION_UPDATE_PINS = "android.intent.action.UPDATE_PINS";
7029    field public static final String ACTION_UPDATE_SMART_SELECTION = "android.intent.action.UPDATE_SMART_SELECTION";
7030    field public static final String ACTION_UPDATE_SMS_SHORT_CODES = "android.intent.action.UPDATE_SMS_SHORT_CODES";
7031    field public static final String EXTRA_REQUIRED_HASH = "android.os.extra.REQUIRED_HASH";
7032    field public static final String EXTRA_VERSION = "android.os.extra.VERSION";
7033  }
7034
7035  public class Environment {
7036    method @NonNull public static java.util.Collection<java.io.File> getInternalMediaDirectories();
7037    method @NonNull public static java.io.File getOdmDirectory();
7038    method @NonNull public static java.io.File getOemDirectory();
7039    method @NonNull public static java.io.File getProductDirectory();
7040    method @Deprecated @NonNull public static java.io.File getProductServicesDirectory();
7041    method @NonNull public static java.io.File getSystemExtDirectory();
7042    method @NonNull public static java.io.File getVendorDirectory();
7043  }
7044
7045  public class HidlMemory implements java.io.Closeable {
7046    ctor public HidlMemory(@NonNull String, @IntRange(from=0) long, @Nullable android.os.NativeHandle);
7047    method public void close() throws java.io.IOException;
7048    method @NonNull public android.os.HidlMemory dup() throws java.io.IOException;
7049    method protected void finalize();
7050    method @Nullable public android.os.NativeHandle getHandle();
7051    method @NonNull public String getName();
7052    method public long getSize();
7053    method @Nullable public android.os.NativeHandle releaseHandle();
7054  }
7055
7056  public class HidlSupport {
7057    method public static boolean deepEquals(Object, Object);
7058    method public static int deepHashCode(Object);
7059    method public static int getPidIfSharable();
7060    method public static boolean interfacesEqual(android.os.IHwInterface, Object);
7061  }
7062
7063  public abstract class HwBinder implements android.os.IHwBinder {
7064    ctor public HwBinder();
7065    method public static final void configureRpcThreadpool(long, boolean);
7066    method public static void enableInstrumentation();
7067    method public static final android.os.IHwBinder getService(String, String) throws java.util.NoSuchElementException, android.os.RemoteException;
7068    method public static final android.os.IHwBinder getService(String, String, boolean) throws java.util.NoSuchElementException, android.os.RemoteException;
7069    method public static final void joinRpcThreadpool();
7070    method public abstract void onTransact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException;
7071    method public final void registerService(String) throws android.os.RemoteException;
7072    method public final void transact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException;
7073  }
7074
7075  public class HwBlob {
7076    ctor public HwBlob(int);
7077    method public final void copyToBoolArray(long, boolean[], int);
7078    method public final void copyToDoubleArray(long, double[], int);
7079    method public final void copyToFloatArray(long, float[], int);
7080    method public final void copyToInt16Array(long, short[], int);
7081    method public final void copyToInt32Array(long, int[], int);
7082    method public final void copyToInt64Array(long, long[], int);
7083    method public final void copyToInt8Array(long, byte[], int);
7084    method public final boolean getBool(long);
7085    method public final double getDouble(long);
7086    method public final long getFieldHandle(long);
7087    method public final float getFloat(long);
7088    method public final short getInt16(long);
7089    method public final int getInt32(long);
7090    method public final long getInt64(long);
7091    method public final byte getInt8(long);
7092    method public final String getString(long);
7093    method public final long handle();
7094    method public final void putBlob(long, android.os.HwBlob);
7095    method public final void putBool(long, boolean);
7096    method public final void putBoolArray(long, boolean[]);
7097    method public final void putDouble(long, double);
7098    method public final void putDoubleArray(long, double[]);
7099    method public final void putFloat(long, float);
7100    method public final void putFloatArray(long, float[]);
7101    method public final void putHidlMemory(long, @NonNull android.os.HidlMemory);
7102    method public final void putInt16(long, short);
7103    method public final void putInt16Array(long, short[]);
7104    method public final void putInt32(long, int);
7105    method public final void putInt32Array(long, int[]);
7106    method public final void putInt64(long, long);
7107    method public final void putInt64Array(long, long[]);
7108    method public final void putInt8(long, byte);
7109    method public final void putInt8Array(long, byte[]);
7110    method public final void putNativeHandle(long, @Nullable android.os.NativeHandle);
7111    method public final void putString(long, String);
7112    method public static Boolean[] wrapArray(@NonNull boolean[]);
7113    method public static Long[] wrapArray(@NonNull long[]);
7114    method public static Byte[] wrapArray(@NonNull byte[]);
7115    method public static Short[] wrapArray(@NonNull short[]);
7116    method public static Integer[] wrapArray(@NonNull int[]);
7117    method public static Float[] wrapArray(@NonNull float[]);
7118    method public static Double[] wrapArray(@NonNull double[]);
7119  }
7120
7121  public class HwParcel {
7122    ctor public HwParcel();
7123    method public final void enforceInterface(String);
7124    method public final boolean readBool();
7125    method public final java.util.ArrayList<java.lang.Boolean> readBoolVector();
7126    method public final android.os.HwBlob readBuffer(long);
7127    method public final double readDouble();
7128    method public final java.util.ArrayList<java.lang.Double> readDoubleVector();
7129    method public final android.os.HwBlob readEmbeddedBuffer(long, long, long, boolean);
7130    method @NonNull @Nullable public final android.os.HidlMemory readEmbeddedHidlMemory(long, long, long);
7131    method @Nullable public final android.os.NativeHandle readEmbeddedNativeHandle(long, long);
7132    method public final float readFloat();
7133    method public final java.util.ArrayList<java.lang.Float> readFloatVector();
7134    method @NonNull public final android.os.HidlMemory readHidlMemory();
7135    method public final short readInt16();
7136    method public final java.util.ArrayList<java.lang.Short> readInt16Vector();
7137    method public final int readInt32();
7138    method public final java.util.ArrayList<java.lang.Integer> readInt32Vector();
7139    method public final long readInt64();
7140    method public final java.util.ArrayList<java.lang.Long> readInt64Vector();
7141    method public final byte readInt8();
7142    method public final java.util.ArrayList<java.lang.Byte> readInt8Vector();
7143    method @Nullable public final android.os.NativeHandle readNativeHandle();
7144    method @NonNull public final java.util.ArrayList<android.os.NativeHandle> readNativeHandleVector();
7145    method public final String readString();
7146    method public final java.util.ArrayList<java.lang.String> readStringVector();
7147    method public final android.os.IHwBinder readStrongBinder();
7148    method public final void release();
7149    method public final void releaseTemporaryStorage();
7150    method public final void send();
7151    method public final void verifySuccess();
7152    method public final void writeBool(boolean);
7153    method public final void writeBoolVector(java.util.ArrayList<java.lang.Boolean>);
7154    method public final void writeBuffer(android.os.HwBlob);
7155    method public final void writeDouble(double);
7156    method public final void writeDoubleVector(java.util.ArrayList<java.lang.Double>);
7157    method public final void writeFloat(float);
7158    method public final void writeFloatVector(java.util.ArrayList<java.lang.Float>);
7159    method public final void writeHidlMemory(@NonNull android.os.HidlMemory);
7160    method public final void writeInt16(short);
7161    method public final void writeInt16Vector(java.util.ArrayList<java.lang.Short>);
7162    method public final void writeInt32(int);
7163    method public final void writeInt32Vector(java.util.ArrayList<java.lang.Integer>);
7164    method public final void writeInt64(long);
7165    method public final void writeInt64Vector(java.util.ArrayList<java.lang.Long>);
7166    method public final void writeInt8(byte);
7167    method public final void writeInt8Vector(java.util.ArrayList<java.lang.Byte>);
7168    method public final void writeInterfaceToken(String);
7169    method public final void writeNativeHandle(@Nullable android.os.NativeHandle);
7170    method public final void writeNativeHandleVector(@NonNull java.util.ArrayList<android.os.NativeHandle>);
7171    method public final void writeStatus(int);
7172    method public final void writeString(String);
7173    method public final void writeStringVector(java.util.ArrayList<java.lang.String>);
7174    method public final void writeStrongBinder(android.os.IHwBinder);
7175    field public static final int STATUS_SUCCESS = 0; // 0x0
7176  }
7177
7178  public interface IHwBinder {
7179    method public boolean linkToDeath(android.os.IHwBinder.DeathRecipient, long);
7180    method public android.os.IHwInterface queryLocalInterface(String);
7181    method public void transact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException;
7182    method public boolean unlinkToDeath(android.os.IHwBinder.DeathRecipient);
7183  }
7184
7185  public static interface IHwBinder.DeathRecipient {
7186    method public void serviceDied(long);
7187  }
7188
7189  public interface IHwInterface {
7190    method public android.os.IHwBinder asBinder();
7191  }
7192
7193  public class IncidentManager {
7194    method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public void approveReport(android.net.Uri);
7195    method @RequiresPermission("android.permission.REQUEST_INCIDENT_REPORT_APPROVAL") public void cancelAuthorization(android.os.IncidentManager.AuthListener);
7196    method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void deleteIncidentReports(android.net.Uri);
7197    method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public void denyReport(android.net.Uri);
7198    method @Nullable @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public android.os.IncidentManager.IncidentReport getIncidentReport(android.net.Uri);
7199    method @NonNull @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public java.util.List<android.net.Uri> getIncidentReportList(String);
7200    method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public java.util.List<android.os.IncidentManager.PendingReport> getPendingReports();
7201    method public void registerSection(int, @NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.os.IncidentManager.DumpCallback);
7202    method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void reportIncident(android.os.IncidentReportArgs);
7203    method @RequiresPermission("android.permission.REQUEST_INCIDENT_REPORT_APPROVAL") public void requestAuthorization(int, String, int, android.os.IncidentManager.AuthListener);
7204    method public void unregisterSection(int);
7205    field public static final int FLAG_CONFIRMATION_DIALOG = 1; // 0x1
7206    field public static final int PRIVACY_POLICY_AUTO = 200; // 0xc8
7207    field public static final int PRIVACY_POLICY_EXPLICIT = 100; // 0x64
7208    field public static final int PRIVACY_POLICY_LOCAL = 0; // 0x0
7209  }
7210
7211  public static class IncidentManager.AuthListener {
7212    ctor public IncidentManager.AuthListener();
7213    method public void onReportApproved();
7214    method public void onReportDenied();
7215  }
7216
7217  public static class IncidentManager.DumpCallback {
7218    ctor public IncidentManager.DumpCallback();
7219    method public void onDumpSection(int, @NonNull java.io.OutputStream);
7220  }
7221
7222  public static class IncidentManager.IncidentReport implements java.io.Closeable android.os.Parcelable {
7223    ctor public IncidentManager.IncidentReport(android.os.Parcel);
7224    method public void close();
7225    method public int describeContents();
7226    method public java.io.InputStream getInputStream() throws java.io.IOException;
7227    method public long getPrivacyPolicy();
7228    method public long getTimestamp();
7229    method public void writeToParcel(android.os.Parcel, int);
7230    field @NonNull public static final android.os.Parcelable.Creator<android.os.IncidentManager.IncidentReport> CREATOR;
7231  }
7232
7233  public static class IncidentManager.PendingReport {
7234    ctor public IncidentManager.PendingReport(@NonNull android.net.Uri);
7235    method public int getFlags();
7236    method @NonNull public String getRequestingPackage();
7237    method public long getTimestamp();
7238    method @NonNull public android.net.Uri getUri();
7239  }
7240
7241  public final class IncidentReportArgs implements android.os.Parcelable {
7242    ctor public IncidentReportArgs();
7243    ctor public IncidentReportArgs(android.os.Parcel);
7244    method public void addHeader(byte[]);
7245    method public void addSection(int);
7246    method public boolean containsSection(int);
7247    method public int describeContents();
7248    method public boolean isAll();
7249    method public void readFromParcel(android.os.Parcel);
7250    method public int sectionCount();
7251    method public void setAll(boolean);
7252    method public void setPrivacyPolicy(int);
7253    method public void writeToParcel(android.os.Parcel, int);
7254    field @NonNull public static final android.os.Parcelable.Creator<android.os.IncidentReportArgs> CREATOR;
7255  }
7256
7257  public final class NativeHandle implements java.io.Closeable {
7258    ctor public NativeHandle();
7259    ctor public NativeHandle(@NonNull java.io.FileDescriptor, boolean);
7260    ctor public NativeHandle(@NonNull java.io.FileDescriptor[], @NonNull int[], boolean);
7261    method public void close() throws java.io.IOException;
7262    method @NonNull public android.os.NativeHandle dup() throws java.io.IOException;
7263    method @NonNull public java.io.FileDescriptor getFileDescriptor();
7264    method @NonNull public java.io.FileDescriptor[] getFileDescriptors();
7265    method @NonNull public int[] getInts();
7266    method public boolean hasSingleFileDescriptor();
7267  }
7268
7269  public final class PowerManager {
7270    method @RequiresPermission(allOf={android.Manifest.permission.READ_DREAM_STATE, android.Manifest.permission.WRITE_DREAM_STATE}) public void dream(long);
7271    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public boolean forceSuspend();
7272    method @RequiresPermission(android.Manifest.permission.POWER_SAVER) public int getPowerSaveModeTrigger();
7273    method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplayAvailable();
7274    method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplaySuppressed();
7275    method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplaySuppressedForToken(@NonNull String);
7276    method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setAdaptivePowerSaveEnabled(boolean);
7277    method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setAdaptivePowerSavePolicy(@NonNull android.os.BatterySaverPolicyConfig);
7278    method @RequiresPermission(android.Manifest.permission.POWER_SAVER) public boolean setDynamicPowerSaveHint(boolean, int);
7279    method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.POWER_SAVER}) public boolean setPowerSaveModeEnabled(boolean);
7280    method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void suppressAmbientDisplay(@NonNull String, boolean);
7281    method @RequiresPermission(anyOf={android.Manifest.permission.DEVICE_POWER, android.Manifest.permission.USER_ACTIVITY}) public void userActivity(long, int, int);
7282    field public static final int POWER_SAVE_MODE_TRIGGER_DYNAMIC = 1; // 0x1
7283    field public static final int POWER_SAVE_MODE_TRIGGER_PERCENTAGE = 0; // 0x0
7284    field public static final String REBOOT_USERSPACE = "userspace";
7285    field public static final int USER_ACTIVITY_EVENT_ACCESSIBILITY = 3; // 0x3
7286    field public static final int USER_ACTIVITY_EVENT_BUTTON = 1; // 0x1
7287    field public static final int USER_ACTIVITY_EVENT_OTHER = 0; // 0x0
7288    field public static final int USER_ACTIVITY_EVENT_TOUCH = 2; // 0x2
7289    field public static final int USER_ACTIVITY_FLAG_INDIRECT = 2; // 0x2
7290    field public static final int USER_ACTIVITY_FLAG_NO_CHANGE_LIGHTS = 1; // 0x1
7291  }
7292
7293  public class PowerWhitelistManager {
7294    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void addToWhitelist(@NonNull String);
7295    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void addToWhitelist(@NonNull java.util.List<java.lang.String>);
7296    method @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void whitelistAppTemporarily(@NonNull String, long);
7297    method @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public long whitelistAppTemporarilyForEvent(@NonNull String, int, @NonNull String);
7298    field public static final int EVENT_MMS = 2; // 0x2
7299    field public static final int EVENT_SMS = 1; // 0x1
7300    field public static final int EVENT_UNSPECIFIED = 0; // 0x0
7301  }
7302
7303  public class RecoverySystem {
7304    method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void cancelScheduledUpdate(android.content.Context) throws java.io.IOException;
7305    method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void clearPrepareForUnattendedUpdate(@NonNull android.content.Context) throws java.io.IOException;
7306    method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void installPackage(android.content.Context, java.io.File, boolean) throws java.io.IOException;
7307    method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void prepareForUnattendedUpdate(@NonNull android.content.Context, @NonNull String, @Nullable android.content.IntentSender) throws java.io.IOException;
7308    method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void processPackage(android.content.Context, java.io.File, android.os.RecoverySystem.ProgressListener, android.os.Handler) throws java.io.IOException;
7309    method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void processPackage(android.content.Context, java.io.File, android.os.RecoverySystem.ProgressListener) throws java.io.IOException;
7310    method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void rebootAndApply(@NonNull android.content.Context, @NonNull String, @NonNull String) throws java.io.IOException;
7311    method @RequiresPermission(allOf={android.Manifest.permission.RECOVERY, android.Manifest.permission.REBOOT}) public static void rebootWipeAb(android.content.Context, java.io.File, String) throws java.io.IOException;
7312    method @RequiresPermission(android.Manifest.permission.RECOVERY) public static void scheduleUpdateOnBoot(android.content.Context, java.io.File) throws java.io.IOException;
7313    method public static boolean verifyPackageCompatibility(java.io.File) throws java.io.IOException;
7314  }
7315
7316  public final class RemoteCallback implements android.os.Parcelable {
7317    ctor public RemoteCallback(android.os.RemoteCallback.OnResultListener);
7318    ctor public RemoteCallback(@NonNull android.os.RemoteCallback.OnResultListener, @Nullable android.os.Handler);
7319    method public int describeContents();
7320    method public void sendResult(@Nullable android.os.Bundle);
7321    method public void writeToParcel(android.os.Parcel, int);
7322    field @NonNull public static final android.os.Parcelable.Creator<android.os.RemoteCallback> CREATOR;
7323  }
7324
7325  public static interface RemoteCallback.OnResultListener {
7326    method public void onResult(@Nullable android.os.Bundle);
7327  }
7328
7329  public class ServiceSpecificException extends java.lang.RuntimeException {
7330    ctor public ServiceSpecificException(int, @Nullable String);
7331    ctor public ServiceSpecificException(int);
7332    field public final int errorCode;
7333  }
7334
7335  public class SystemConfigManager {
7336    method @NonNull @RequiresPermission(android.Manifest.permission.READ_CARRIER_APP_INFO) public java.util.Set<java.lang.String> getDisabledUntilUsedPreinstalledCarrierApps();
7337    method @NonNull @RequiresPermission(android.Manifest.permission.READ_CARRIER_APP_INFO) public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getDisabledUntilUsedPreinstalledCarrierAssociatedApps();
7338  }
7339
7340  public class SystemProperties {
7341    method @NonNull public static String get(@NonNull String);
7342    method @NonNull public static String get(@NonNull String, @Nullable String);
7343    method public static boolean getBoolean(@NonNull String, boolean);
7344    method public static int getInt(@NonNull String, int);
7345    method public static long getLong(@NonNull String, long);
7346  }
7347
7348  public class SystemUpdateManager {
7349    method @RequiresPermission(anyOf={android.Manifest.permission.READ_SYSTEM_UPDATE_INFO, android.Manifest.permission.RECOVERY}) public android.os.Bundle retrieveSystemUpdateInfo();
7350    method @RequiresPermission(android.Manifest.permission.RECOVERY) public void updateSystemUpdateInfo(android.os.PersistableBundle);
7351    field public static final String KEY_IS_SECURITY_UPDATE = "is_security_update";
7352    field public static final String KEY_STATUS = "status";
7353    field public static final String KEY_TARGET_BUILD_FINGERPRINT = "target_build_fingerprint";
7354    field public static final String KEY_TARGET_SECURITY_PATCH_LEVEL = "target_security_patch_level";
7355    field public static final String KEY_TITLE = "title";
7356    field public static final int STATUS_IDLE = 1; // 0x1
7357    field public static final int STATUS_IN_PROGRESS = 3; // 0x3
7358    field public static final int STATUS_UNKNOWN = 0; // 0x0
7359    field public static final int STATUS_WAITING_DOWNLOAD = 2; // 0x2
7360    field public static final int STATUS_WAITING_INSTALL = 4; // 0x4
7361    field public static final int STATUS_WAITING_REBOOT = 5; // 0x5
7362  }
7363
7364  public class UpdateEngine {
7365    ctor public UpdateEngine();
7366    method @NonNull @WorkerThread public android.os.UpdateEngine.AllocateSpaceResult allocateSpace(@NonNull String, @NonNull String[]);
7367    method public void applyPayload(String, long, long, String[]);
7368    method public void applyPayload(@NonNull android.content.res.AssetFileDescriptor, @NonNull String[]);
7369    method public boolean bind(android.os.UpdateEngineCallback, android.os.Handler);
7370    method public boolean bind(android.os.UpdateEngineCallback);
7371    method public void cancel();
7372    method @WorkerThread public int cleanupAppliedPayload();
7373    method public void resetStatus();
7374    method public void resume();
7375    method public void suspend();
7376    method public boolean unbind();
7377    method public boolean verifyPayloadMetadata(String);
7378  }
7379
7380  public static final class UpdateEngine.AllocateSpaceResult {
7381    method public int getErrorCode();
7382    method public long getFreeSpaceRequired();
7383  }
7384
7385  public static final class UpdateEngine.ErrorCodeConstants {
7386    ctor public UpdateEngine.ErrorCodeConstants();
7387    field public static final int DEVICE_CORRUPTED = 61; // 0x3d
7388    field public static final int DOWNLOAD_PAYLOAD_VERIFICATION_ERROR = 12; // 0xc
7389    field public static final int DOWNLOAD_TRANSFER_ERROR = 9; // 0x9
7390    field public static final int ERROR = 1; // 0x1
7391    field public static final int FILESYSTEM_COPIER_ERROR = 4; // 0x4
7392    field public static final int INSTALL_DEVICE_OPEN_ERROR = 7; // 0x7
7393    field public static final int KERNEL_DEVICE_OPEN_ERROR = 8; // 0x8
7394    field public static final int NOT_ENOUGH_SPACE = 60; // 0x3c
7395    field public static final int PAYLOAD_HASH_MISMATCH_ERROR = 10; // 0xa
7396    field public static final int PAYLOAD_MISMATCHED_TYPE_ERROR = 6; // 0x6
7397    field public static final int PAYLOAD_SIZE_MISMATCH_ERROR = 11; // 0xb
7398    field public static final int PAYLOAD_TIMESTAMP_ERROR = 51; // 0x33
7399    field public static final int POST_INSTALL_RUNNER_ERROR = 5; // 0x5
7400    field public static final int SUCCESS = 0; // 0x0
7401    field public static final int UPDATED_BUT_NOT_ACTIVE = 52; // 0x34
7402  }
7403
7404  public static final class UpdateEngine.UpdateStatusConstants {
7405    ctor public UpdateEngine.UpdateStatusConstants();
7406    field public static final int ATTEMPTING_ROLLBACK = 8; // 0x8
7407    field public static final int CHECKING_FOR_UPDATE = 1; // 0x1
7408    field public static final int DISABLED = 9; // 0x9
7409    field public static final int DOWNLOADING = 3; // 0x3
7410    field public static final int FINALIZING = 5; // 0x5
7411    field public static final int IDLE = 0; // 0x0
7412    field public static final int REPORTING_ERROR_EVENT = 7; // 0x7
7413    field public static final int UPDATED_NEED_REBOOT = 6; // 0x6
7414    field public static final int UPDATE_AVAILABLE = 2; // 0x2
7415    field public static final int VERIFYING = 4; // 0x4
7416  }
7417
7418  public abstract class UpdateEngineCallback {
7419    ctor public UpdateEngineCallback();
7420    method public abstract void onPayloadApplicationComplete(int);
7421    method public abstract void onStatusUpdate(int, float);
7422  }
7423
7424  public final class UserHandle implements android.os.Parcelable {
7425    method @NonNull public static String formatUid(int);
7426    method public static int getAppId(int);
7427    method public int getIdentifier();
7428    method @Deprecated public boolean isOwner();
7429    method public boolean isSystem();
7430    method public static int myUserId();
7431    method public static android.os.UserHandle of(int);
7432    field @NonNull public static final android.os.UserHandle ALL;
7433    field @NonNull public static final android.os.UserHandle CURRENT;
7434    field @NonNull public static final android.os.UserHandle SYSTEM;
7435  }
7436
7437  public class UserManager {
7438    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void clearSeedAccountData();
7439    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.os.UserHandle createProfile(@NonNull String, @NonNull String, @NonNull java.util.Set<java.lang.String>) throws android.os.UserManager.UserOperationException;
7440    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}, conditional=true) public java.util.List<android.os.UserHandle> getAllProfiles();
7441    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}, conditional=true) public java.util.List<android.os.UserHandle> getEnabledProfiles();
7442    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.os.UserHandle getProfileParent(@NonNull android.os.UserHandle);
7443    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getSeedAccountName();
7444    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.os.PersistableBundle getSeedAccountOptions();
7445    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getSeedAccountType();
7446    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public long[] getSerialNumbersOfUsers(boolean);
7447    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public java.util.List<android.os.UserHandle> getUserHandles(boolean);
7448    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.GET_ACCOUNTS_PRIVILEGED}) public android.graphics.Bitmap getUserIcon();
7449    method @Deprecated @android.os.UserManager.UserRestrictionSource @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public int getUserRestrictionSource(String, android.os.UserHandle);
7450    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public java.util.List<android.os.UserManager.EnforcingUser> getUserRestrictionSources(String, android.os.UserHandle);
7451    method @RequiresPermission(allOf={android.Manifest.permission.READ_PHONE_STATE, android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public int getUserSwitchability();
7452    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean hasRestrictedProfiles();
7453    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean hasUserRestrictionForUser(@NonNull String, @NonNull android.os.UserHandle);
7454    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isAdminUser();
7455    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isGuestUser();
7456    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean isManagedProfile(int);
7457    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isPrimaryUser();
7458    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean isProfile();
7459    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isRestrictedProfile();
7460    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isRestrictedProfile(@NonNull android.os.UserHandle);
7461    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isSameProfileGroup(@NonNull android.os.UserHandle, @NonNull android.os.UserHandle);
7462    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.GET_ACCOUNTS_PRIVILEGED}) public boolean isUserNameSet();
7463    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isUserOfType(@NonNull String);
7464    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean isUserUnlockingOrUnlocked(@NonNull android.os.UserHandle);
7465    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean removeUser(@NonNull android.os.UserHandle);
7466    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setUserIcon(@NonNull android.graphics.Bitmap) throws android.os.UserManager.UserOperationException;
7467    method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setUserName(@Nullable String);
7468    field public static final String ACTION_USER_RESTRICTIONS_CHANGED = "android.os.action.USER_RESTRICTIONS_CHANGED";
7469    field @Deprecated public static final String DISALLOW_OEM_UNLOCK = "no_oem_unlock";
7470    field public static final String DISALLOW_RUN_IN_BACKGROUND = "no_run_in_background";
7471    field public static final int RESTRICTION_NOT_SET = 0; // 0x0
7472    field public static final int RESTRICTION_SOURCE_DEVICE_OWNER = 2; // 0x2
7473    field public static final int RESTRICTION_SOURCE_PROFILE_OWNER = 4; // 0x4
7474    field public static final int RESTRICTION_SOURCE_SYSTEM = 1; // 0x1
7475    field public static final int SWITCHABILITY_STATUS_OK = 0; // 0x0
7476    field public static final int SWITCHABILITY_STATUS_SYSTEM_USER_LOCKED = 4; // 0x4
7477    field public static final int SWITCHABILITY_STATUS_USER_IN_CALL = 1; // 0x1
7478    field public static final int SWITCHABILITY_STATUS_USER_SWITCH_DISALLOWED = 2; // 0x2
7479    field public static final String USER_TYPE_FULL_SECONDARY = "android.os.usertype.full.SECONDARY";
7480    field public static final String USER_TYPE_FULL_SYSTEM = "android.os.usertype.full.SYSTEM";
7481    field public static final String USER_TYPE_PROFILE_MANAGED = "android.os.usertype.profile.MANAGED";
7482    field public static final String USER_TYPE_SYSTEM_HEADLESS = "android.os.usertype.system.HEADLESS";
7483  }
7484
7485  public static final class UserManager.EnforcingUser implements android.os.Parcelable {
7486    method public int describeContents();
7487    method public android.os.UserHandle getUserHandle();
7488    method @android.os.UserManager.UserRestrictionSource public int getUserRestrictionSource();
7489    method public void writeToParcel(android.os.Parcel, int);
7490    field @NonNull public static final android.os.Parcelable.Creator<android.os.UserManager.EnforcingUser> CREATOR;
7491  }
7492
7493  @IntDef(flag=true, prefix={"RESTRICTION_"}, value={android.os.UserManager.RESTRICTION_NOT_SET, android.os.UserManager.RESTRICTION_SOURCE_SYSTEM, android.os.UserManager.RESTRICTION_SOURCE_DEVICE_OWNER, android.os.UserManager.RESTRICTION_SOURCE_PROFILE_OWNER}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface UserManager.UserRestrictionSource {
7494  }
7495
7496  public abstract class Vibrator {
7497    method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public void addVibratorStateListener(@NonNull android.os.Vibrator.OnVibratorStateChangedListener);
7498    method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public void addVibratorStateListener(@NonNull java.util.concurrent.Executor, @NonNull android.os.Vibrator.OnVibratorStateChangedListener);
7499    method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public boolean isVibrating();
7500    method @RequiresPermission(android.Manifest.permission.ACCESS_VIBRATOR_STATE) public void removeVibratorStateListener(@NonNull android.os.Vibrator.OnVibratorStateChangedListener);
7501  }
7502
7503  public static interface Vibrator.OnVibratorStateChangedListener {
7504    method public void onVibratorStateChanged(boolean);
7505  }
7506
7507  public class WorkSource implements android.os.Parcelable {
7508    ctor public WorkSource(int);
7509    ctor public WorkSource(int, @NonNull String);
7510    method public android.os.WorkSource.WorkChain createWorkChain();
7511    method @Nullable public String getPackageName(int);
7512    method public int getUid(int);
7513    method @Nullable public java.util.List<android.os.WorkSource.WorkChain> getWorkChains();
7514    method public boolean isEmpty();
7515    method public int size();
7516    method @NonNull public android.os.WorkSource withoutNames();
7517  }
7518
7519  public static final class WorkSource.WorkChain implements android.os.Parcelable {
7520    ctor public WorkSource.WorkChain();
7521    method public android.os.WorkSource.WorkChain addNode(int, @Nullable String);
7522    method public int describeContents();
7523    method public String getAttributionTag();
7524    method public int getAttributionUid();
7525    method public void writeToParcel(android.os.Parcel, int);
7526    field @NonNull public static final android.os.Parcelable.Creator<android.os.WorkSource.WorkChain> CREATOR;
7527  }
7528
7529}
7530
7531package android.os.connectivity {
7532
7533  public final class CellularBatteryStats implements android.os.Parcelable {
7534    method public int describeContents();
7535    method public long getEnergyConsumedMaMillis();
7536    method public long getIdleTimeMillis();
7537    method public long getKernelActiveTimeMillis();
7538    method public long getLoggingDurationMillis();
7539    method public long getMonitoredRailChargeConsumedMaMillis();
7540    method public long getNumBytesRx();
7541    method public long getNumBytesTx();
7542    method public long getNumPacketsRx();
7543    method public long getNumPacketsTx();
7544    method public long getRxTimeMillis();
7545    method public long getSleepTimeMillis();
7546    method @NonNull public long getTimeInRatMicros(int);
7547    method @NonNull public long getTimeInRxSignalStrengthLevelMicros(@IntRange(from=android.telephony.CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN, to=android.telephony.CellSignalStrength.SIGNAL_STRENGTH_GREAT) int);
7548    method public void writeToParcel(@NonNull android.os.Parcel, int);
7549    field @NonNull public static final android.os.Parcelable.Creator<android.os.connectivity.CellularBatteryStats> CREATOR;
7550  }
7551
7552  public final class WifiActivityEnergyInfo implements android.os.Parcelable {
7553    ctor public WifiActivityEnergyInfo(long, int, @IntRange(from=0) long, @IntRange(from=0) long, @IntRange(from=0) long, @IntRange(from=0) long);
7554    method public int describeContents();
7555    method @IntRange(from=0) public long getControllerEnergyUsedMicroJoules();
7556    method @IntRange(from=0) public long getControllerIdleDurationMillis();
7557    method @IntRange(from=0) public long getControllerRxDurationMillis();
7558    method @IntRange(from=0) public long getControllerScanDurationMillis();
7559    method @IntRange(from=0) public long getControllerTxDurationMillis();
7560    method public int getStackState();
7561    method public long getTimeSinceBootMillis();
7562    method public void writeToParcel(@NonNull android.os.Parcel, int);
7563    field @NonNull public static final android.os.Parcelable.Creator<android.os.connectivity.WifiActivityEnergyInfo> CREATOR;
7564    field public static final int STACK_STATE_INVALID = 0; // 0x0
7565    field public static final int STACK_STATE_STATE_ACTIVE = 1; // 0x1
7566    field public static final int STACK_STATE_STATE_IDLE = 3; // 0x3
7567    field public static final int STACK_STATE_STATE_SCANNING = 2; // 0x2
7568  }
7569
7570  public final class WifiBatteryStats implements android.os.Parcelable {
7571    method public int describeContents();
7572    method public long getAppScanRequestCount();
7573    method public long getEnergyConsumedMaMillis();
7574    method public long getIdleTimeMillis();
7575    method public long getKernelActiveTimeMillis();
7576    method public long getLoggingDurationMillis();
7577    method public long getMonitoredRailChargeConsumedMaMillis();
7578    method public long getNumBytesRx();
7579    method public long getNumBytesTx();
7580    method public long getNumPacketsRx();
7581    method public long getNumPacketsTx();
7582    method public long getRxTimeMillis();
7583    method public long getScanTimeMillis();
7584    method public long getSleepTimeMillis();
7585    method public long getTxTimeMillis();
7586    method public void writeToParcel(@NonNull android.os.Parcel, int);
7587    field @NonNull public static final android.os.Parcelable.Creator<android.os.connectivity.WifiBatteryStats> CREATOR;
7588  }
7589
7590}
7591
7592package android.os.image {
7593
7594  public class DynamicSystemClient {
7595    ctor public DynamicSystemClient(@NonNull android.content.Context);
7596    method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void bind();
7597    method public void setOnStatusChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.os.image.DynamicSystemClient.OnStatusChangedListener);
7598    method public void setOnStatusChangedListener(@NonNull android.os.image.DynamicSystemClient.OnStatusChangedListener);
7599    method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void start(@NonNull android.net.Uri, long);
7600    method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void start(@NonNull android.net.Uri, long, long);
7601    method @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) public void unbind();
7602    field public static final int CAUSE_ERROR_EXCEPTION = 6; // 0x6
7603    field public static final int CAUSE_ERROR_INVALID_URL = 4; // 0x4
7604    field public static final int CAUSE_ERROR_IO = 3; // 0x3
7605    field public static final int CAUSE_ERROR_IPC = 5; // 0x5
7606    field public static final int CAUSE_INSTALL_CANCELLED = 2; // 0x2
7607    field public static final int CAUSE_INSTALL_COMPLETED = 1; // 0x1
7608    field public static final int CAUSE_NOT_SPECIFIED = 0; // 0x0
7609    field public static final int STATUS_IN_PROGRESS = 2; // 0x2
7610    field public static final int STATUS_IN_USE = 4; // 0x4
7611    field public static final int STATUS_NOT_STARTED = 1; // 0x1
7612    field public static final int STATUS_READY = 3; // 0x3
7613    field public static final int STATUS_UNKNOWN = 0; // 0x0
7614  }
7615
7616  public static interface DynamicSystemClient.OnStatusChangedListener {
7617    method public void onStatusChanged(int, int, long, @Nullable Throwable);
7618  }
7619
7620}
7621
7622package android.os.storage {
7623
7624  public class StorageManager {
7625    method @WorkerThread public void allocateBytes(@NonNull java.util.UUID, long, @RequiresPermission int) throws java.io.IOException;
7626    method @WorkerThread public void allocateBytes(java.io.FileDescriptor, long, @RequiresPermission int) throws java.io.IOException;
7627    method @WorkerThread public long getAllocatableBytes(@NonNull java.util.UUID, @RequiresPermission int) throws java.io.IOException;
7628    method public static boolean hasIsolatedStorage();
7629    method public void updateExternalStorageFileQuotaType(@NonNull java.io.File, int) throws java.io.IOException;
7630    field @RequiresPermission(android.Manifest.permission.ALLOCATE_AGGRESSIVE) public static final int FLAG_ALLOCATE_AGGRESSIVE = 1; // 0x1
7631    field public static final int QUOTA_TYPE_MEDIA_AUDIO = 2; // 0x2
7632    field public static final int QUOTA_TYPE_MEDIA_IMAGE = 1; // 0x1
7633    field public static final int QUOTA_TYPE_MEDIA_NONE = 0; // 0x0
7634    field public static final int QUOTA_TYPE_MEDIA_VIDEO = 3; // 0x3
7635  }
7636
7637  public final class StorageVolume implements android.os.Parcelable {
7638    method @NonNull public String getId();
7639  }
7640
7641}
7642
7643package android.permission {
7644
7645  public final class PermissionControllerManager {
7646    method @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.RESTORE_RUNTIME_PERMISSIONS}) public void applyStagedRuntimePermissionBackup(@NonNull String, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
7647    method @RequiresPermission(android.Manifest.permission.GET_RUNTIME_PERMISSIONS) public void getRuntimePermissionBackup(@NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<byte[]>);
7648    method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public void revokeRuntimePermissions(@NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>, boolean, int, @NonNull java.util.concurrent.Executor, @NonNull android.permission.PermissionControllerManager.OnRevokeRuntimePermissionsCallback);
7649    method @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.RESTORE_RUNTIME_PERMISSIONS}) public void stageAndApplyRuntimePermissionsBackup(@NonNull byte[], @NonNull android.os.UserHandle);
7650    field public static final int COUNT_ONLY_WHEN_GRANTED = 1; // 0x1
7651    field public static final int COUNT_WHEN_SYSTEM = 2; // 0x2
7652    field public static final int REASON_INSTALLER_POLICY_VIOLATION = 2; // 0x2
7653    field public static final int REASON_MALWARE = 1; // 0x1
7654  }
7655
7656  public abstract static class PermissionControllerManager.OnRevokeRuntimePermissionsCallback {
7657    ctor public PermissionControllerManager.OnRevokeRuntimePermissionsCallback();
7658    method public abstract void onRevokeRuntimePermissions(@NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>);
7659  }
7660
7661  public abstract class PermissionControllerService extends android.app.Service {
7662    ctor public PermissionControllerService();
7663    method @BinderThread public void onApplyStagedRuntimePermissionBackup(@NonNull String, @NonNull android.os.UserHandle, @NonNull java.util.function.Consumer<java.lang.Boolean>);
7664    method @NonNull public final android.os.IBinder onBind(android.content.Intent);
7665    method @BinderThread public abstract void onCountPermissionApps(@NonNull java.util.List<java.lang.String>, int, @NonNull java.util.function.IntConsumer);
7666    method @BinderThread public abstract void onGetAppPermissions(@NonNull String, @NonNull java.util.function.Consumer<java.util.List<android.permission.RuntimePermissionPresentationInfo>>);
7667    method @BinderThread public abstract void onGetPermissionUsages(boolean, long, @NonNull java.util.function.Consumer<java.util.List<android.permission.RuntimePermissionUsageInfo>>);
7668    method @BinderThread public abstract void onGetRuntimePermissionsBackup(@NonNull android.os.UserHandle, @NonNull java.io.OutputStream, @NonNull Runnable);
7669    method @BinderThread public abstract void onGrantOrUpgradeDefaultRuntimePermissions(@NonNull Runnable);
7670    method @BinderThread public void onOneTimePermissionSessionTimeout(@NonNull String);
7671    method @Deprecated @BinderThread public void onRestoreDelayedRuntimePermissionsBackup(@NonNull String, @NonNull android.os.UserHandle, @NonNull java.util.function.Consumer<java.lang.Boolean>);
7672    method @Deprecated @BinderThread public void onRestoreRuntimePermissionsBackup(@NonNull android.os.UserHandle, @NonNull java.io.InputStream, @NonNull Runnable);
7673    method @BinderThread public abstract void onRevokeRuntimePermission(@NonNull String, @NonNull String, @NonNull Runnable);
7674    method @BinderThread public abstract void onRevokeRuntimePermissions(@NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>, boolean, int, @NonNull String, @NonNull java.util.function.Consumer<java.util.Map<java.lang.String,java.util.List<java.lang.String>>>);
7675    method @BinderThread public abstract void onSetRuntimePermissionGrantStateByDeviceAdmin(@NonNull String, @NonNull String, @NonNull String, int, @NonNull java.util.function.Consumer<java.lang.Boolean>);
7676    method @BinderThread public void onStageAndApplyRuntimePermissionsBackup(@NonNull android.os.UserHandle, @NonNull java.io.InputStream, @NonNull Runnable);
7677    method @BinderThread public void onUpdateUserSensitivePermissionFlags(int, @NonNull java.util.concurrent.Executor, @NonNull Runnable);
7678    method @BinderThread public void onUpdateUserSensitivePermissionFlags(int, @NonNull Runnable);
7679    field public static final String SERVICE_INTERFACE = "android.permission.PermissionControllerService";
7680  }
7681
7682  public final class PermissionManager {
7683    method public int checkDeviceIdentifierAccess(@Nullable String, @Nullable String, @Nullable String, int, int);
7684    method @NonNull @RequiresPermission(android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY) public java.util.Set<java.lang.String> getAutoRevokeExemptionGrantedPackages();
7685    method @NonNull @RequiresPermission(android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY) public java.util.Set<java.lang.String> getAutoRevokeExemptionRequestedPackages();
7686    method @IntRange(from=0) @RequiresPermission(anyOf={android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY, android.Manifest.permission.UPGRADE_RUNTIME_PERMISSIONS}) public int getRuntimePermissionsVersion();
7687    method @NonNull public java.util.List<android.permission.PermissionManager.SplitPermissionInfo> getSplitPermissions();
7688    method @RequiresPermission(anyOf={android.Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY, android.Manifest.permission.UPGRADE_RUNTIME_PERMISSIONS}) public void setRuntimePermissionsVersion(@IntRange(from=0) int);
7689    method @RequiresPermission(android.Manifest.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS) public void startOneTimePermissionSession(@NonNull String, long, int, int);
7690    method @RequiresPermission(android.Manifest.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS) public void stopOneTimePermissionSession(@NonNull String);
7691  }
7692
7693  public static final class PermissionManager.SplitPermissionInfo {
7694    method @NonNull public java.util.List<java.lang.String> getNewPermissions();
7695    method @NonNull public String getSplitPermission();
7696    method public int getTargetSdk();
7697  }
7698
7699  public final class RuntimePermissionPresentationInfo implements android.os.Parcelable {
7700    ctor public RuntimePermissionPresentationInfo(@NonNull CharSequence, boolean, boolean);
7701    method public int describeContents();
7702    method @NonNull public CharSequence getLabel();
7703    method public boolean isGranted();
7704    method public boolean isStandard();
7705    method public void writeToParcel(android.os.Parcel, int);
7706    field @NonNull public static final android.os.Parcelable.Creator<android.permission.RuntimePermissionPresentationInfo> CREATOR;
7707  }
7708
7709  public final class RuntimePermissionUsageInfo implements android.os.Parcelable {
7710    ctor public RuntimePermissionUsageInfo(@NonNull String, int);
7711    method public int describeContents();
7712    method public int getAppAccessCount();
7713    method @NonNull public String getName();
7714    method public void writeToParcel(android.os.Parcel, int);
7715    field @NonNull public static final android.os.Parcelable.Creator<android.permission.RuntimePermissionUsageInfo> CREATOR;
7716  }
7717
7718}
7719
7720package android.permissionpresenterservice {
7721
7722  @Deprecated public abstract class RuntimePermissionPresenterService extends android.app.Service {
7723    ctor @Deprecated public RuntimePermissionPresenterService();
7724    method @Deprecated public final void attachBaseContext(android.content.Context);
7725    method @Deprecated public final android.os.IBinder onBind(android.content.Intent);
7726    method @Deprecated public abstract java.util.List<android.content.pm.permission.RuntimePermissionPresentationInfo> onGetAppPermissions(@NonNull String);
7727    field @Deprecated public static final String SERVICE_INTERFACE = "android.permissionpresenterservice.RuntimePermissionPresenterService";
7728  }
7729
7730}
7731
7732package android.preference {
7733
7734  @Deprecated public class PreferenceManager {
7735    method @Deprecated public boolean isStorageCredentialProtected();
7736    method @Deprecated public void setStorageCredentialProtected();
7737  }
7738
7739}
7740
7741package android.print {
7742
7743  public final class PrintManager {
7744    method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICE_RECOMMENDATIONS) public void addPrintServiceRecommendationsChangeListener(@NonNull android.print.PrintManager.PrintServiceRecommendationsChangeListener, @Nullable android.os.Handler);
7745    method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICES) public void addPrintServicesChangeListener(@NonNull android.print.PrintManager.PrintServicesChangeListener, @Nullable android.os.Handler);
7746    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICE_RECOMMENDATIONS) public java.util.List<android.printservice.recommendation.RecommendationInfo> getPrintServiceRecommendations();
7747    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICES) public java.util.List<android.printservice.PrintServiceInfo> getPrintServices(int);
7748    method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICE_RECOMMENDATIONS) public void removePrintServiceRecommendationsChangeListener(@NonNull android.print.PrintManager.PrintServiceRecommendationsChangeListener);
7749    method @RequiresPermission(android.Manifest.permission.READ_PRINT_SERVICES) public void removePrintServicesChangeListener(@NonNull android.print.PrintManager.PrintServicesChangeListener);
7750    field public static final int ENABLED_SERVICES = 1; // 0x1
7751  }
7752
7753  public static interface PrintManager.PrintServiceRecommendationsChangeListener {
7754    method public void onPrintServiceRecommendationsChanged();
7755  }
7756
7757  public static interface PrintManager.PrintServicesChangeListener {
7758    method public void onPrintServicesChanged();
7759  }
7760
7761}
7762
7763package android.printservice {
7764
7765  public final class PrintServiceInfo implements android.os.Parcelable {
7766    method public int describeContents();
7767    method @NonNull public android.content.ComponentName getComponentName();
7768    method public void writeToParcel(android.os.Parcel, int);
7769    field @NonNull public static final android.os.Parcelable.Creator<android.printservice.PrintServiceInfo> CREATOR;
7770  }
7771
7772}
7773
7774package android.printservice.recommendation {
7775
7776  public final class RecommendationInfo implements android.os.Parcelable {
7777    ctor public RecommendationInfo(@NonNull CharSequence, @NonNull CharSequence, @NonNull java.util.List<java.net.InetAddress>, boolean);
7778    ctor @Deprecated public RecommendationInfo(@NonNull CharSequence, @NonNull CharSequence, @IntRange(from=0) int, boolean);
7779    method public int describeContents();
7780    method @NonNull public java.util.List<java.net.InetAddress> getDiscoveredPrinters();
7781    method public CharSequence getName();
7782    method public int getNumDiscoveredPrinters();
7783    method public CharSequence getPackageName();
7784    method public boolean recommendsMultiVendorService();
7785    method public void writeToParcel(android.os.Parcel, int);
7786    field @NonNull public static final android.os.Parcelable.Creator<android.printservice.recommendation.RecommendationInfo> CREATOR;
7787  }
7788
7789  public abstract class RecommendationService extends android.app.Service {
7790    ctor public RecommendationService();
7791    method public final android.os.IBinder onBind(android.content.Intent);
7792    method public abstract void onConnected();
7793    method public abstract void onDisconnected();
7794    method public final void updateRecommendations(@Nullable java.util.List<android.printservice.recommendation.RecommendationInfo>);
7795    field public static final String SERVICE_INTERFACE = "android.printservice.recommendation.RecommendationService";
7796  }
7797
7798}
7799
7800package android.provider {
7801
7802  @Deprecated public static final class ContactsContract.MetadataSync implements android.provider.BaseColumns android.provider.ContactsContract.MetadataSyncColumns {
7803    field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/contact_metadata";
7804    field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/contact_metadata";
7805    field @Deprecated public static final android.net.Uri CONTENT_URI;
7806    field @Deprecated public static final String METADATA_AUTHORITY = "com.android.contacts.metadata";
7807    field @Deprecated public static final android.net.Uri METADATA_AUTHORITY_URI;
7808  }
7809
7810  @Deprecated protected static interface ContactsContract.MetadataSyncColumns {
7811    field @Deprecated public static final String ACCOUNT_NAME = "account_name";
7812    field @Deprecated public static final String ACCOUNT_TYPE = "account_type";
7813    field @Deprecated public static final String DATA = "data";
7814    field @Deprecated public static final String DATA_SET = "data_set";
7815    field @Deprecated public static final String DELETED = "deleted";
7816    field @Deprecated public static final String RAW_CONTACT_BACKUP_ID = "raw_contact_backup_id";
7817  }
7818
7819  @Deprecated public static final class ContactsContract.MetadataSyncState implements android.provider.BaseColumns android.provider.ContactsContract.MetadataSyncStateColumns {
7820    field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/contact_metadata_sync_state";
7821    field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/contact_metadata_sync_state";
7822    field @Deprecated public static final android.net.Uri CONTENT_URI;
7823  }
7824
7825  @Deprecated protected static interface ContactsContract.MetadataSyncStateColumns {
7826    field @Deprecated public static final String ACCOUNT_NAME = "account_name";
7827    field @Deprecated public static final String ACCOUNT_TYPE = "account_type";
7828    field @Deprecated public static final String DATA_SET = "data_set";
7829    field @Deprecated public static final String STATE = "state";
7830  }
7831
7832  public final class DeviceConfig {
7833    method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static void addOnPropertiesChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertiesChangedListener);
7834    method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static boolean getBoolean(@NonNull String, @NonNull String, boolean);
7835    method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static float getFloat(@NonNull String, @NonNull String, float);
7836    method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static int getInt(@NonNull String, @NonNull String, int);
7837    method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static long getLong(@NonNull String, @NonNull String, long);
7838    method @NonNull @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static android.provider.DeviceConfig.Properties getProperties(@NonNull String, @NonNull java.lang.String...);
7839    method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static String getProperty(@NonNull String, @NonNull String);
7840    method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static String getString(@NonNull String, @NonNull String, @Nullable String);
7841    method public static void removeOnPropertiesChangedListener(@NonNull android.provider.DeviceConfig.OnPropertiesChangedListener);
7842    method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static void resetToDefaults(int, @Nullable String);
7843    method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static boolean setProperties(@NonNull android.provider.DeviceConfig.Properties) throws android.provider.DeviceConfig.BadConfigException;
7844    method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static boolean setProperty(@NonNull String, @NonNull String, @Nullable String, boolean);
7845    field public static final String NAMESPACE_ACTIVITY_MANAGER = "activity_manager";
7846    field public static final String NAMESPACE_ACTIVITY_MANAGER_NATIVE_BOOT = "activity_manager_native_boot";
7847    field public static final String NAMESPACE_APP_COMPAT = "app_compat";
7848    field public static final String NAMESPACE_ATTENTION_MANAGER_SERVICE = "attention_manager_service";
7849    field public static final String NAMESPACE_AUTOFILL = "autofill";
7850    field public static final String NAMESPACE_BIOMETRICS = "biometrics";
7851    field public static final String NAMESPACE_BLOBSTORE = "blobstore";
7852    field public static final String NAMESPACE_CONNECTIVITY = "connectivity";
7853    field public static final String NAMESPACE_CONTENT_CAPTURE = "content_capture";
7854    field @Deprecated public static final String NAMESPACE_DEX_BOOT = "dex_boot";
7855    field public static final String NAMESPACE_DISPLAY_MANAGER = "display_manager";
7856    field public static final String NAMESPACE_GAME_DRIVER = "game_driver";
7857    field public static final String NAMESPACE_INPUT_NATIVE_BOOT = "input_native_boot";
7858    field public static final String NAMESPACE_INTELLIGENCE_ATTENTION = "intelligence_attention";
7859    field public static final String NAMESPACE_MEDIA_NATIVE = "media_native";
7860    field public static final String NAMESPACE_NETD_NATIVE = "netd_native";
7861    field public static final String NAMESPACE_PACKAGE_MANAGER_SERVICE = "package_manager_service";
7862    field public static final String NAMESPACE_PERMISSIONS = "permissions";
7863    field public static final String NAMESPACE_PRIVACY = "privacy";
7864    field public static final String NAMESPACE_ROLLBACK = "rollback";
7865    field public static final String NAMESPACE_ROLLBACK_BOOT = "rollback_boot";
7866    field public static final String NAMESPACE_RUNTIME = "runtime";
7867    field public static final String NAMESPACE_RUNTIME_NATIVE = "runtime_native";
7868    field public static final String NAMESPACE_RUNTIME_NATIVE_BOOT = "runtime_native_boot";
7869    field public static final String NAMESPACE_SCHEDULER = "scheduler";
7870    field @Deprecated public static final String NAMESPACE_STORAGE = "storage";
7871    field public static final String NAMESPACE_STORAGE_NATIVE_BOOT = "storage_native_boot";
7872    field public static final String NAMESPACE_SYSTEMUI = "systemui";
7873    field public static final String NAMESPACE_TELEPHONY = "telephony";
7874    field public static final String NAMESPACE_TEXTCLASSIFIER = "textclassifier";
7875    field public static final String NAMESPACE_WINDOW_MANAGER_NATIVE_BOOT = "window_manager_native_boot";
7876  }
7877
7878  public static class DeviceConfig.BadConfigException extends java.lang.Exception {
7879    ctor public DeviceConfig.BadConfigException();
7880  }
7881
7882  public static interface DeviceConfig.OnPropertiesChangedListener {
7883    method public void onPropertiesChanged(@NonNull android.provider.DeviceConfig.Properties);
7884  }
7885
7886  public static class DeviceConfig.Properties {
7887    method public boolean getBoolean(@NonNull String, boolean);
7888    method public float getFloat(@NonNull String, float);
7889    method public int getInt(@NonNull String, int);
7890    method @NonNull public java.util.Set<java.lang.String> getKeyset();
7891    method public long getLong(@NonNull String, long);
7892    method @NonNull public String getNamespace();
7893    method @Nullable public String getString(@NonNull String, @Nullable String);
7894  }
7895
7896  public static final class DeviceConfig.Properties.Builder {
7897    ctor public DeviceConfig.Properties.Builder(@NonNull String);
7898    method @NonNull public android.provider.DeviceConfig.Properties build();
7899    method @NonNull public android.provider.DeviceConfig.Properties.Builder setBoolean(@NonNull String, boolean);
7900    method @NonNull public android.provider.DeviceConfig.Properties.Builder setFloat(@NonNull String, float);
7901    method @NonNull public android.provider.DeviceConfig.Properties.Builder setInt(@NonNull String, int);
7902    method @NonNull public android.provider.DeviceConfig.Properties.Builder setLong(@NonNull String, long);
7903    method @NonNull public android.provider.DeviceConfig.Properties.Builder setString(@NonNull String, @Nullable String);
7904  }
7905
7906  public final class DocumentsContract {
7907    method @NonNull public static android.net.Uri buildDocumentUriAsUser(@NonNull String, @NonNull String, @NonNull android.os.UserHandle);
7908    method public static boolean isManageMode(@NonNull android.net.Uri);
7909    method @NonNull public static android.net.Uri setManageMode(@NonNull android.net.Uri);
7910    field public static final String ACTION_DOCUMENT_ROOT_SETTINGS = "android.provider.action.DOCUMENT_ROOT_SETTINGS";
7911    field public static final String ACTION_MANAGE_DOCUMENT = "android.provider.action.MANAGE_DOCUMENT";
7912    field public static final String EXTRA_SHOW_ADVANCED = "android.provider.extra.SHOW_ADVANCED";
7913  }
7914
7915  public static final class DocumentsContract.Root {
7916    field public static final int FLAG_ADVANCED = 65536; // 0x10000
7917    field public static final int FLAG_HAS_SETTINGS = 131072; // 0x20000
7918    field public static final int FLAG_REMOVABLE_SD = 262144; // 0x40000
7919    field public static final int FLAG_REMOVABLE_USB = 524288; // 0x80000
7920  }
7921
7922  public abstract class SearchIndexableData {
7923    ctor public SearchIndexableData();
7924    ctor public SearchIndexableData(android.content.Context);
7925    field public String className;
7926    field public android.content.Context context;
7927    field public boolean enabled;
7928    field public int iconResId;
7929    field public String intentAction;
7930    field public String intentTargetClass;
7931    field public String intentTargetPackage;
7932    field public String key;
7933    field public java.util.Locale locale;
7934    field public String packageName;
7935    field public int rank;
7936    field public int userId;
7937  }
7938
7939  public class SearchIndexableResource extends android.provider.SearchIndexableData {
7940    ctor public SearchIndexableResource(int, int, String, int);
7941    ctor public SearchIndexableResource(android.content.Context);
7942    field public int xmlResId;
7943  }
7944
7945  public class SearchIndexablesContract {
7946    ctor public SearchIndexablesContract();
7947    field public static final int COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE = 0; // 0x0
7948    field public static final int COLUMN_INDEX_RAW_CLASS_NAME = 7; // 0x7
7949    field public static final int COLUMN_INDEX_RAW_ENTRIES = 4; // 0x4
7950    field public static final int COLUMN_INDEX_RAW_ICON_RESID = 8; // 0x8
7951    field public static final int COLUMN_INDEX_RAW_INTENT_ACTION = 9; // 0x9
7952    field public static final int COLUMN_INDEX_RAW_INTENT_TARGET_CLASS = 11; // 0xb
7953    field public static final int COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE = 10; // 0xa
7954    field public static final int COLUMN_INDEX_RAW_KEY = 12; // 0xc
7955    field public static final int COLUMN_INDEX_RAW_KEYWORDS = 5; // 0x5
7956    field public static final int COLUMN_INDEX_RAW_RANK = 0; // 0x0
7957    field public static final int COLUMN_INDEX_RAW_SCREEN_TITLE = 6; // 0x6
7958    field public static final int COLUMN_INDEX_RAW_SUMMARY_OFF = 3; // 0x3
7959    field public static final int COLUMN_INDEX_RAW_SUMMARY_ON = 2; // 0x2
7960    field public static final int COLUMN_INDEX_RAW_TITLE = 1; // 0x1
7961    field public static final int COLUMN_INDEX_RAW_USER_ID = 13; // 0xd
7962    field public static final int COLUMN_INDEX_XML_RES_CLASS_NAME = 2; // 0x2
7963    field public static final int COLUMN_INDEX_XML_RES_ICON_RESID = 3; // 0x3
7964    field public static final int COLUMN_INDEX_XML_RES_INTENT_ACTION = 4; // 0x4
7965    field public static final int COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS = 6; // 0x6
7966    field public static final int COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE = 5; // 0x5
7967    field public static final int COLUMN_INDEX_XML_RES_RANK = 0; // 0x0
7968    field public static final int COLUMN_INDEX_XML_RES_RESID = 1; // 0x1
7969    field public static final String DYNAMIC_INDEXABLES_RAW = "dynamic_indexables_raw";
7970    field public static final String DYNAMIC_INDEXABLES_RAW_PATH = "settings/dynamic_indexables_raw";
7971    field public static final String INDEXABLES_RAW = "indexables_raw";
7972    field public static final String[] INDEXABLES_RAW_COLUMNS;
7973    field public static final String INDEXABLES_RAW_PATH = "settings/indexables_raw";
7974    field public static final String INDEXABLES_XML_RES = "indexables_xml_res";
7975    field public static final String[] INDEXABLES_XML_RES_COLUMNS;
7976    field public static final String INDEXABLES_XML_RES_PATH = "settings/indexables_xml_res";
7977    field public static final String NON_INDEXABLES_KEYS = "non_indexables_key";
7978    field public static final String[] NON_INDEXABLES_KEYS_COLUMNS;
7979    field public static final String NON_INDEXABLES_KEYS_PATH = "settings/non_indexables_key";
7980    field public static final String PROVIDER_INTERFACE = "android.content.action.SEARCH_INDEXABLES_PROVIDER";
7981    field public static final String SLICE_URI_PAIRS = "slice_uri_pairs";
7982    field @NonNull public static final String[] SLICE_URI_PAIRS_COLUMNS;
7983    field public static final String SLICE_URI_PAIRS_PATH = "settings/slice_uri_pairs";
7984  }
7985
7986  public static class SearchIndexablesContract.BaseColumns {
7987    field public static final String COLUMN_CLASS_NAME = "className";
7988    field public static final String COLUMN_ICON_RESID = "iconResId";
7989    field public static final String COLUMN_INTENT_ACTION = "intentAction";
7990    field public static final String COLUMN_INTENT_TARGET_CLASS = "intentTargetClass";
7991    field public static final String COLUMN_INTENT_TARGET_PACKAGE = "intentTargetPackage";
7992    field public static final String COLUMN_RANK = "rank";
7993  }
7994
7995  public static final class SearchIndexablesContract.NonIndexableKey extends android.provider.SearchIndexablesContract.BaseColumns {
7996    field public static final String COLUMN_KEY_VALUE = "key";
7997    field public static final String MIME_TYPE = "vnd.android.cursor.dir/non_indexables_key";
7998  }
7999
8000  public static final class SearchIndexablesContract.RawData extends android.provider.SearchIndexablesContract.BaseColumns {
8001    field public static final String COLUMN_ENTRIES = "entries";
8002    field public static final String COLUMN_KEY = "key";
8003    field public static final String COLUMN_KEYWORDS = "keywords";
8004    field public static final String COLUMN_SCREEN_TITLE = "screenTitle";
8005    field public static final String COLUMN_SUMMARY_OFF = "summaryOff";
8006    field public static final String COLUMN_SUMMARY_ON = "summaryOn";
8007    field public static final String COLUMN_TITLE = "title";
8008    field public static final String COLUMN_USER_ID = "user_id";
8009    field public static final String MIME_TYPE = "vnd.android.cursor.dir/indexables_raw";
8010  }
8011
8012  public static final class SearchIndexablesContract.SliceUriPairColumns {
8013    field public static final String KEY = "key";
8014    field public static final String SLICE_URI = "slice_uri";
8015  }
8016
8017  public static final class SearchIndexablesContract.XmlResource extends android.provider.SearchIndexablesContract.BaseColumns {
8018    field public static final String COLUMN_XML_RESID = "xmlResId";
8019    field public static final String MIME_TYPE = "vnd.android.cursor.dir/indexables_xml_res";
8020  }
8021
8022  public abstract class SearchIndexablesProvider extends android.content.ContentProvider {
8023    ctor public SearchIndexablesProvider();
8024    method public final int delete(android.net.Uri, String, String[]);
8025    method public String getType(android.net.Uri);
8026    method public final android.net.Uri insert(android.net.Uri, android.content.ContentValues);
8027    method public android.database.Cursor query(android.net.Uri, String[], String, String[], String);
8028    method @Nullable public android.database.Cursor queryDynamicRawData(@Nullable String[]);
8029    method public abstract android.database.Cursor queryNonIndexableKeys(String[]);
8030    method public abstract android.database.Cursor queryRawData(String[]);
8031    method @Nullable public android.database.Cursor querySliceUriPairs();
8032    method public abstract android.database.Cursor queryXmlResources(String[]);
8033    method public final int update(android.net.Uri, android.content.ContentValues, String, String[]);
8034  }
8035
8036  public final class Settings {
8037    method public static boolean checkAndNoteWriteSettingsOperation(@NonNull android.content.Context, int, @NonNull String, boolean);
8038    field public static final String ACTION_ACCESSIBILITY_DETAILS_SETTINGS = "android.settings.ACCESSIBILITY_DETAILS_SETTINGS";
8039    field public static final String ACTION_BUGREPORT_HANDLER_SETTINGS = "android.settings.BUGREPORT_HANDLER_SETTINGS";
8040    field public static final String ACTION_ENTERPRISE_PRIVACY_SETTINGS = "android.settings.ENTERPRISE_PRIVACY_SETTINGS";
8041    field public static final String ACTION_LOCATION_CONTROLLER_EXTRA_PACKAGE_SETTINGS = "android.settings.LOCATION_CONTROLLER_EXTRA_PACKAGE_SETTINGS";
8042    field public static final String ACTION_MANAGE_APP_OVERLAY_PERMISSION = "android.settings.MANAGE_APP_OVERLAY_PERMISSION";
8043    field public static final String ACTION_MANAGE_DOMAIN_URLS = "android.settings.MANAGE_DOMAIN_URLS";
8044    field public static final String ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS = "android.settings.MANAGE_MORE_DEFAULT_APPS_SETTINGS";
8045    field public static final String ACTION_NOTIFICATION_POLICY_ACCESS_DETAIL_SETTINGS = "android.settings.NOTIFICATION_POLICY_ACCESS_DETAIL_SETTINGS";
8046    field public static final String ACTION_REQUEST_ENABLE_CONTENT_CAPTURE = "android.settings.REQUEST_ENABLE_CONTENT_CAPTURE";
8047    field public static final String ACTION_SHOW_ADMIN_SUPPORT_DETAILS = "android.settings.SHOW_ADMIN_SUPPORT_DETAILS";
8048    field public static final String ACTION_TETHER_PROVISIONING_UI = "android.settings.TETHER_PROVISIONING_UI";
8049    field public static final String ACTION_TETHER_SETTINGS = "android.settings.TETHER_SETTINGS";
8050  }
8051
8052  public static final class Settings.Global extends android.provider.Settings.NameValueTable {
8053    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, @Nullable String, boolean);
8054    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static void resetToDefaults(@NonNull android.content.ContentResolver, @Nullable String);
8055    field public static final String AIRPLANE_MODE_TOGGLEABLE_RADIOS = "airplane_mode_toggleable_radios";
8056    field public static final String APP_STANDBY_ENABLED = "app_standby_enabled";
8057    field public static final String AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES = "autofill_compat_mode_allowed_packages";
8058    field public static final String CARRIER_APP_NAMES = "carrier_app_names";
8059    field public static final String CARRIER_APP_WHITELIST = "carrier_app_whitelist";
8060    field public static final String DEFAULT_SM_DP_PLUS = "default_sm_dp_plus";
8061    field public static final String DEVICE_DEMO_MODE = "device_demo_mode";
8062    field public static final String DEVICE_PROVISIONING_MOBILE_DATA_ENABLED = "device_provisioning_mobile_data";
8063    field public static final String EUICC_PROVISIONED = "euicc_provisioned";
8064    field public static final String EUICC_SUPPORTED_COUNTRIES = "euicc_supported_countries";
8065    field public static final String EUICC_UNSUPPORTED_COUNTRIES = "euicc_unsupported_countries";
8066    field public static final String INSTALL_CARRIER_APP_NOTIFICATION_PERSISTENT = "install_carrier_app_notification_persistent";
8067    field public static final String INSTALL_CARRIER_APP_NOTIFICATION_SLEEP_MILLIS = "install_carrier_app_notification_sleep_millis";
8068    field public static final String OTA_DISABLE_AUTOMATIC_UPDATE = "ota_disable_automatic_update";
8069    field public static final String REQUIRE_PASSWORD_TO_DECRYPT = "require_password_to_decrypt";
8070    field public static final String TETHER_OFFLOAD_DISABLED = "tether_offload_disabled";
8071    field public static final String TETHER_SUPPORTED = "tether_supported";
8072    field public static final String THEATER_MODE_ON = "theater_mode_on";
8073    field public static final String WEBVIEW_MULTIPROCESS = "webview_multiprocess";
8074    field public static final String WIFI_BADGING_THRESHOLDS = "wifi_badging_thresholds";
8075    field @Deprecated public static final String WIFI_WAKEUP_ENABLED = "wifi_wakeup_enabled";
8076  }
8077
8078  public static final class Settings.Secure extends android.provider.Settings.NameValueTable {
8079    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, @Nullable String, boolean);
8080    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static void resetToDefaults(@NonNull android.content.ContentResolver, @Nullable String);
8081    field @Deprecated public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED = "accessibility_display_magnification_navbar_enabled";
8082    field public static final String ASSIST_GESTURE_SETUP_COMPLETE = "assist_gesture_setup_complete";
8083    field public static final String AUTOFILL_FEATURE_FIELD_CLASSIFICATION = "autofill_field_classification";
8084    field public static final String AUTOFILL_USER_DATA_MAX_CATEGORY_COUNT = "autofill_user_data_max_category_count";
8085    field public static final String AUTOFILL_USER_DATA_MAX_FIELD_CLASSIFICATION_IDS_SIZE = "autofill_user_data_max_field_classification_size";
8086    field public static final String AUTOFILL_USER_DATA_MAX_USER_DATA_SIZE = "autofill_user_data_max_user_data_size";
8087    field public static final String AUTOFILL_USER_DATA_MAX_VALUE_LENGTH = "autofill_user_data_max_value_length";
8088    field public static final String AUTOFILL_USER_DATA_MIN_VALUE_LENGTH = "autofill_user_data_min_value_length";
8089    field public static final String AUTO_REVOKE_DISABLED = "auto_revoke_disabled";
8090    field public static final String COMPLETED_CATEGORY_PREFIX = "suggested.completed_category.";
8091    field public static final String DOZE_ALWAYS_ON = "doze_always_on";
8092    field public static final String HUSH_GESTURE_USED = "hush_gesture_used";
8093    field public static final String INSTANT_APPS_ENABLED = "instant_apps_enabled";
8094    field public static final String LAST_SETUP_SHOWN = "last_setup_shown";
8095    field public static final String LOCATION_ACCESS_CHECK_DELAY_MILLIS = "location_access_check_delay_millis";
8096    field public static final String LOCATION_ACCESS_CHECK_INTERVAL_MILLIS = "location_access_check_interval_millis";
8097    field public static final int LOCATION_MODE_ON = 3; // 0x3
8098    field @Deprecated public static final String LOCATION_PERMISSIONS_UPGRADE_TO_Q_MODE = "location_permissions_upgrade_to_q_mode";
8099    field public static final String LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS = "lock_screen_allow_private_notifications";
8100    field public static final String LOCK_SCREEN_SHOW_NOTIFICATIONS = "lock_screen_show_notifications";
8101    field public static final String ODI_CAPTIONS_ENABLED = "odi_captions_enabled";
8102    field public static final String THEME_CUSTOMIZATION_OVERLAY_PACKAGES = "theme_customization_overlay_packages";
8103    field public static final String USER_SETUP_COMPLETE = "user_setup_complete";
8104    field public static final int USER_SETUP_PERSONALIZATION_COMPLETE = 10; // 0xa
8105    field public static final int USER_SETUP_PERSONALIZATION_NOT_STARTED = 0; // 0x0
8106    field public static final int USER_SETUP_PERSONALIZATION_PAUSED = 2; // 0x2
8107    field public static final int USER_SETUP_PERSONALIZATION_STARTED = 1; // 0x1
8108    field public static final String USER_SETUP_PERSONALIZATION_STATE = "user_setup_personalization_state";
8109    field public static final String VOLUME_HUSH_GESTURE = "volume_hush_gesture";
8110    field public static final int VOLUME_HUSH_MUTE = 2; // 0x2
8111    field public static final int VOLUME_HUSH_OFF = 0; // 0x0
8112    field public static final int VOLUME_HUSH_VIBRATE = 1; // 0x1
8113  }
8114
8115  public static final class Settings.System extends android.provider.Settings.NameValueTable {
8116    method @RequiresPermission(android.Manifest.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE) public static boolean putString(@NonNull android.content.ContentResolver, @NonNull String, @Nullable String, boolean);
8117  }
8118
8119  public static final class Telephony.Carriers implements android.provider.BaseColumns {
8120    field public static final String APN_SET_ID = "apn_set_id";
8121    field public static final int CARRIER_EDITED = 4; // 0x4
8122    field public static final String EDITED_STATUS = "edited";
8123    field public static final String MAX_CONNECTIONS = "max_conns";
8124    field public static final String MODEM_PERSIST = "modem_cognitive";
8125    field public static final String MTU = "mtu";
8126    field public static final int NO_APN_SET_ID = 0; // 0x0
8127    field public static final String TIME_LIMIT_FOR_MAX_CONNECTIONS = "max_conns_time";
8128    field public static final int UNEDITED = 0; // 0x0
8129    field public static final int USER_DELETED = 2; // 0x2
8130    field public static final String USER_EDITABLE = "user_editable";
8131    field public static final int USER_EDITED = 1; // 0x1
8132    field public static final String USER_VISIBLE = "user_visible";
8133    field public static final String WAIT_TIME_RETRY = "wait_time";
8134  }
8135
8136  public static final class Telephony.CellBroadcasts implements android.provider.BaseColumns {
8137    field @NonNull public static final String AUTHORITY_LEGACY = "cellbroadcast-legacy";
8138    field @NonNull public static final android.net.Uri AUTHORITY_LEGACY_URI;
8139    field @NonNull public static final String CALL_METHOD_GET_PREFERENCE = "get_preference";
8140    field public static final String CID = "cid";
8141    field public static final String CMAS_CATEGORY = "cmas_category";
8142    field public static final String CMAS_CERTAINTY = "cmas_certainty";
8143    field public static final String CMAS_MESSAGE_CLASS = "cmas_message_class";
8144    field public static final String CMAS_RESPONSE_TYPE = "cmas_response_type";
8145    field public static final String CMAS_SEVERITY = "cmas_severity";
8146    field public static final String CMAS_URGENCY = "cmas_urgency";
8147    field @NonNull public static final android.net.Uri CONTENT_URI;
8148    field public static final String DATA_CODING_SCHEME = "dcs";
8149    field public static final String DEFAULT_SORT_ORDER = "date DESC";
8150    field public static final String DELIVERY_TIME = "date";
8151    field public static final String ETWS_WARNING_TYPE = "etws_warning_type";
8152    field public static final String GEOGRAPHICAL_SCOPE = "geo_scope";
8153    field public static final String GEOMETRIES = "geometries";
8154    field public static final String LAC = "lac";
8155    field public static final String LANGUAGE_CODE = "language";
8156    field public static final String LOCATION_CHECK_TIME = "location_check_time";
8157    field public static final String MAXIMUM_WAIT_TIME = "maximum_wait_time";
8158    field public static final String MESSAGE_BODY = "body";
8159    field public static final String MESSAGE_BROADCASTED = "message_broadcasted";
8160    field public static final String MESSAGE_DISPLAYED = "message_displayed";
8161    field public static final String MESSAGE_FORMAT = "format";
8162    field @NonNull @RequiresPermission(android.Manifest.permission.READ_CELL_BROADCASTS) public static final android.net.Uri MESSAGE_HISTORY_URI;
8163    field public static final String MESSAGE_PRIORITY = "priority";
8164    field public static final String MESSAGE_READ = "read";
8165    field public static final String PLMN = "plmn";
8166    field public static final String RECEIVED_TIME = "received_time";
8167    field public static final String SERIAL_NUMBER = "serial_number";
8168    field public static final String SERVICE_CATEGORY = "service_category";
8169    field public static final String SLOT_INDEX = "slot_index";
8170    field public static final String SUBSCRIPTION_ID = "sub_id";
8171  }
8172
8173  public static final class Telephony.CellBroadcasts.Preference {
8174    field @NonNull public static final String ENABLE_ALERT_VIBRATION_PREF = "enable_alert_vibrate";
8175    field @NonNull public static final String ENABLE_AREA_UPDATE_INFO_PREF = "enable_area_update_info_alerts";
8176    field @NonNull public static final String ENABLE_CMAS_AMBER_PREF = "enable_cmas_amber_alerts";
8177    field @NonNull public static final String ENABLE_CMAS_EXTREME_THREAT_PREF = "enable_cmas_extreme_threat_alerts";
8178    field @NonNull public static final String ENABLE_CMAS_IN_SECOND_LANGUAGE_PREF = "receive_cmas_in_second_language";
8179    field @NonNull public static final String ENABLE_CMAS_PRESIDENTIAL_PREF = "enable_cmas_presidential_alerts";
8180    field @NonNull public static final String ENABLE_CMAS_SEVERE_THREAT_PREF = "enable_cmas_severe_threat_alerts";
8181    field @NonNull public static final String ENABLE_EMERGENCY_PERF = "enable_emergency_alerts";
8182    field @NonNull public static final String ENABLE_PUBLIC_SAFETY_PREF = "enable_public_safety_messages";
8183    field @NonNull public static final String ENABLE_STATE_LOCAL_TEST_PREF = "enable_state_local_test_alerts";
8184    field @NonNull public static final String ENABLE_TEST_ALERT_PREF = "enable_test_alerts";
8185  }
8186
8187  public static final class Telephony.Sms.Intents {
8188    field public static final String ACTION_SMS_EMERGENCY_CB_RECEIVED = "android.provider.action.SMS_EMERGENCY_CB_RECEIVED";
8189  }
8190
8191  public final class TimeZoneRulesDataContract {
8192    field public static final String AUTHORITY = "com.android.timezone";
8193  }
8194
8195  public static final class TimeZoneRulesDataContract.Operation {
8196    field public static final String COLUMN_DISTRO_MAJOR_VERSION = "distro_major_version";
8197    field public static final String COLUMN_DISTRO_MINOR_VERSION = "distro_minor_version";
8198    field public static final String COLUMN_REVISION = "revision";
8199    field public static final String COLUMN_RULES_VERSION = "rules_version";
8200    field public static final String COLUMN_TYPE = "type";
8201    field public static final android.net.Uri CONTENT_URI;
8202    field public static final String TYPE_INSTALL = "INSTALL";
8203    field public static final String TYPE_NO_OP = "NOOP";
8204    field public static final String TYPE_UNINSTALL = "UNINSTALL";
8205  }
8206
8207}
8208
8209package android.se.omapi {
8210
8211  public final class Reader {
8212    method @RequiresPermission(android.Manifest.permission.SECURE_ELEMENT_PRIVILEGED_OPERATION) public boolean reset();
8213  }
8214
8215}
8216
8217package android.security.keystore {
8218
8219  public class AndroidKeyStoreProvider extends java.security.Provider {
8220    method @NonNull public static java.security.KeyStore getKeyStoreForUid(int) throws java.security.KeyStoreException, java.security.NoSuchProviderException;
8221  }
8222
8223  public abstract class AttestationUtils {
8224    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static java.security.cert.X509Certificate[] attestDeviceIds(android.content.Context, @NonNull int[], @NonNull byte[]) throws android.security.keystore.DeviceIdAttestationException;
8225    field public static final int ID_TYPE_IMEI = 2; // 0x2
8226    field public static final int ID_TYPE_MEID = 3; // 0x3
8227    field public static final int ID_TYPE_SERIAL = 1; // 0x1
8228    field public static final int USE_INDIVIDUAL_ATTESTATION = 4; // 0x4
8229  }
8230
8231  public class DeviceIdAttestationException extends java.lang.Exception {
8232    ctor public DeviceIdAttestationException(@Nullable String);
8233    ctor public DeviceIdAttestationException(@Nullable String, @Nullable Throwable);
8234  }
8235
8236  public static final class KeyGenParameterSpec.Builder {
8237    method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setUid(int);
8238  }
8239
8240}
8241
8242package android.security.keystore.recovery {
8243
8244  public class DecryptionFailedException extends java.security.GeneralSecurityException {
8245    ctor public DecryptionFailedException(String);
8246  }
8247
8248  public class InternalRecoveryServiceException extends java.security.GeneralSecurityException {
8249    ctor public InternalRecoveryServiceException(String);
8250    ctor public InternalRecoveryServiceException(String, Throwable);
8251  }
8252
8253  public final class KeyChainProtectionParams implements android.os.Parcelable {
8254    method public void clearSecret();
8255    method public int describeContents();
8256    method @NonNull public android.security.keystore.recovery.KeyDerivationParams getKeyDerivationParams();
8257    method public int getLockScreenUiFormat();
8258    method @NonNull public byte[] getSecret();
8259    method public int getUserSecretType();
8260    method public void writeToParcel(android.os.Parcel, int);
8261    field @NonNull public static final android.os.Parcelable.Creator<android.security.keystore.recovery.KeyChainProtectionParams> CREATOR;
8262    field public static final int TYPE_LOCKSCREEN = 100; // 0x64
8263    field public static final int UI_FORMAT_PASSWORD = 2; // 0x2
8264    field public static final int UI_FORMAT_PATTERN = 3; // 0x3
8265    field public static final int UI_FORMAT_PIN = 1; // 0x1
8266  }
8267
8268  public static class KeyChainProtectionParams.Builder {
8269    ctor public KeyChainProtectionParams.Builder();
8270    method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams build();
8271    method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setKeyDerivationParams(@NonNull android.security.keystore.recovery.KeyDerivationParams);
8272    method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setLockScreenUiFormat(int);
8273    method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setSecret(@NonNull byte[]);
8274    method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setUserSecretType(int);
8275  }
8276
8277  public final class KeyChainSnapshot implements android.os.Parcelable {
8278    method public int describeContents();
8279    method public long getCounterId();
8280    method @NonNull public byte[] getEncryptedRecoveryKeyBlob();
8281    method @NonNull public java.util.List<android.security.keystore.recovery.KeyChainProtectionParams> getKeyChainProtectionParams();
8282    method public int getMaxAttempts();
8283    method @NonNull public byte[] getServerParams();
8284    method public int getSnapshotVersion();
8285    method @NonNull public java.security.cert.CertPath getTrustedHardwareCertPath();
8286    method @NonNull public java.util.List<android.security.keystore.recovery.WrappedApplicationKey> getWrappedApplicationKeys();
8287    method public void writeToParcel(android.os.Parcel, int);
8288    field @NonNull public static final android.os.Parcelable.Creator<android.security.keystore.recovery.KeyChainSnapshot> CREATOR;
8289  }
8290
8291  public final class KeyDerivationParams implements android.os.Parcelable {
8292    method @NonNull public static android.security.keystore.recovery.KeyDerivationParams createScryptParams(@NonNull byte[], int);
8293    method @NonNull public static android.security.keystore.recovery.KeyDerivationParams createSha256Params(@NonNull byte[]);
8294    method public int describeContents();
8295    method public int getAlgorithm();
8296    method public int getMemoryDifficulty();
8297    method @NonNull public byte[] getSalt();
8298    method public void writeToParcel(android.os.Parcel, int);
8299    field public static final int ALGORITHM_SCRYPT = 2; // 0x2
8300    field public static final int ALGORITHM_SHA256 = 1; // 0x1
8301    field @NonNull public static final android.os.Parcelable.Creator<android.security.keystore.recovery.KeyDerivationParams> CREATOR;
8302  }
8303
8304  public class LockScreenRequiredException extends java.security.GeneralSecurityException {
8305    ctor public LockScreenRequiredException(String);
8306  }
8307
8308  public class RecoveryController {
8309    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public android.security.keystore.recovery.RecoverySession createRecoverySession();
8310    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key generateKey(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException;
8311    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key generateKey(@NonNull String, @Nullable byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException;
8312    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.List<java.lang.String> getAliases() throws android.security.keystore.recovery.InternalRecoveryServiceException;
8313    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public static android.security.keystore.recovery.RecoveryController getInstance(@NonNull android.content.Context);
8314    method @Nullable @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key getKey(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException, java.security.UnrecoverableKeyException;
8315    method @Nullable @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public android.security.keystore.recovery.KeyChainSnapshot getKeyChainSnapshot() throws android.security.keystore.recovery.InternalRecoveryServiceException;
8316    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public int[] getRecoverySecretTypes() throws android.security.keystore.recovery.InternalRecoveryServiceException;
8317    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public int getRecoveryStatus(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException;
8318    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.Map<java.lang.String,java.security.cert.X509Certificate> getRootCertificates();
8319    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key importKey(@NonNull String, @NonNull byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException;
8320    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key importKey(@NonNull String, @NonNull byte[], @Nullable byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException;
8321    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void initRecoveryService(@NonNull String, @NonNull byte[], @NonNull byte[]) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException;
8322    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public static boolean isRecoverableKeyStoreEnabled(@NonNull android.content.Context);
8323    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void removeKey(@NonNull String) throws android.security.keystore.recovery.InternalRecoveryServiceException;
8324    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setRecoverySecretTypes(@NonNull int[]) throws android.security.keystore.recovery.InternalRecoveryServiceException;
8325    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setRecoveryStatus(@NonNull String, int) throws android.security.keystore.recovery.InternalRecoveryServiceException;
8326    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setServerParams(@NonNull byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException;
8327    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setSnapshotCreatedPendingIntent(@Nullable android.app.PendingIntent) throws android.security.keystore.recovery.InternalRecoveryServiceException;
8328    field public static final int RECOVERY_STATUS_PERMANENT_FAILURE = 3; // 0x3
8329    field public static final int RECOVERY_STATUS_SYNCED = 0; // 0x0
8330    field public static final int RECOVERY_STATUS_SYNC_IN_PROGRESS = 1; // 0x1
8331  }
8332
8333  public class RecoverySession implements java.lang.AutoCloseable {
8334    method @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void close();
8335    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.Map<java.lang.String,java.security.Key> recoverKeyChainSnapshot(@NonNull byte[], @NonNull java.util.List<android.security.keystore.recovery.WrappedApplicationKey>) throws android.security.keystore.recovery.DecryptionFailedException, android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.SessionExpiredException;
8336    method @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public byte[] start(@NonNull String, @NonNull java.security.cert.CertPath, @NonNull byte[], @NonNull byte[], @NonNull java.util.List<android.security.keystore.recovery.KeyChainProtectionParams>) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException;
8337  }
8338
8339  public class SessionExpiredException extends java.security.GeneralSecurityException {
8340    ctor public SessionExpiredException(String);
8341  }
8342
8343  public final class WrappedApplicationKey implements android.os.Parcelable {
8344    method public int describeContents();
8345    method @NonNull public String getAlias();
8346    method @NonNull public byte[] getEncryptedKeyMaterial();
8347    method @Nullable public byte[] getMetadata();
8348    method public void writeToParcel(android.os.Parcel, int);
8349    field @NonNull public static final android.os.Parcelable.Creator<android.security.keystore.recovery.WrappedApplicationKey> CREATOR;
8350  }
8351
8352  public static class WrappedApplicationKey.Builder {
8353    ctor public WrappedApplicationKey.Builder();
8354    method @NonNull public android.security.keystore.recovery.WrappedApplicationKey build();
8355    method @NonNull public android.security.keystore.recovery.WrappedApplicationKey.Builder setAlias(@NonNull String);
8356    method @NonNull public android.security.keystore.recovery.WrappedApplicationKey.Builder setEncryptedKeyMaterial(@NonNull byte[]);
8357    method @NonNull public android.security.keystore.recovery.WrappedApplicationKey.Builder setMetadata(@Nullable byte[]);
8358  }
8359
8360}
8361
8362package android.service.appprediction {
8363
8364  public abstract class AppPredictionService extends android.app.Service {
8365    ctor public AppPredictionService();
8366    method @MainThread public abstract void onAppTargetEvent(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull android.app.prediction.AppTargetEvent);
8367    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
8368    method public void onCreatePredictionSession(@NonNull android.app.prediction.AppPredictionContext, @NonNull android.app.prediction.AppPredictionSessionId);
8369    method @MainThread public void onDestroyPredictionSession(@NonNull android.app.prediction.AppPredictionSessionId);
8370    method @MainThread public abstract void onLaunchLocationShown(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull String, @NonNull java.util.List<android.app.prediction.AppTargetId>);
8371    method @MainThread public abstract void onRequestPredictionUpdate(@NonNull android.app.prediction.AppPredictionSessionId);
8372    method @MainThread public abstract void onSortAppTargets(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull java.util.List<android.app.prediction.AppTarget>, @NonNull android.os.CancellationSignal, @NonNull java.util.function.Consumer<java.util.List<android.app.prediction.AppTarget>>);
8373    method @MainThread public void onStartPredictionUpdates();
8374    method @MainThread public void onStopPredictionUpdates();
8375    method public final void updatePredictions(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull java.util.List<android.app.prediction.AppTarget>);
8376  }
8377
8378}
8379
8380package android.service.attention {
8381
8382  public abstract class AttentionService extends android.app.Service {
8383    ctor public AttentionService();
8384    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
8385    method public abstract void onCancelAttentionCheck(@NonNull android.service.attention.AttentionService.AttentionCallback);
8386    method public abstract void onCheckAttention(@NonNull android.service.attention.AttentionService.AttentionCallback);
8387    field public static final int ATTENTION_FAILURE_CAMERA_PERMISSION_ABSENT = 6; // 0x6
8388    field public static final int ATTENTION_FAILURE_CANCELLED = 3; // 0x3
8389    field public static final int ATTENTION_FAILURE_PREEMPTED = 4; // 0x4
8390    field public static final int ATTENTION_FAILURE_TIMED_OUT = 5; // 0x5
8391    field public static final int ATTENTION_FAILURE_UNKNOWN = 2; // 0x2
8392    field public static final int ATTENTION_SUCCESS_ABSENT = 0; // 0x0
8393    field public static final int ATTENTION_SUCCESS_PRESENT = 1; // 0x1
8394    field public static final String SERVICE_INTERFACE = "android.service.attention.AttentionService";
8395  }
8396
8397  public static final class AttentionService.AttentionCallback {
8398    method public void onFailure(int);
8399    method public void onSuccess(int, long);
8400  }
8401
8402}
8403
8404package android.service.autofill {
8405
8406  public abstract class AutofillFieldClassificationService extends android.app.Service {
8407    ctor public AutofillFieldClassificationService();
8408    method public android.os.IBinder onBind(android.content.Intent);
8409    method @Nullable public float[][] onCalculateScores(@NonNull java.util.List<android.view.autofill.AutofillValue>, @NonNull java.util.List<java.lang.String>, @NonNull java.util.List<java.lang.String>, @Nullable String, @Nullable android.os.Bundle, @Nullable java.util.Map, @Nullable java.util.Map);
8410    method @Deprecated @Nullable public float[][] onGetScores(@Nullable String, @Nullable android.os.Bundle, @NonNull java.util.List<android.view.autofill.AutofillValue>, @NonNull java.util.List<java.lang.String>);
8411    field public static final String REQUIRED_ALGORITHM_CREDIT_CARD = "CREDIT_CARD";
8412    field public static final String REQUIRED_ALGORITHM_EDIT_DISTANCE = "EDIT_DISTANCE";
8413    field public static final String REQUIRED_ALGORITHM_EXACT_MATCH = "EXACT_MATCH";
8414    field public static final String SERVICE_INTERFACE = "android.service.autofill.AutofillFieldClassificationService";
8415    field public static final String SERVICE_META_DATA_KEY_AVAILABLE_ALGORITHMS = "android.autofill.field_classification.available_algorithms";
8416    field public static final String SERVICE_META_DATA_KEY_DEFAULT_ALGORITHM = "android.autofill.field_classification.default_algorithm";
8417  }
8418
8419  public static final class Dataset.Builder {
8420    ctor public Dataset.Builder(@NonNull android.service.autofill.InlinePresentation);
8421    method @NonNull public android.service.autofill.Dataset.Builder setFieldInlinePresentation(@NonNull android.view.autofill.AutofillId, @Nullable android.view.autofill.AutofillValue, @Nullable java.util.regex.Pattern, @NonNull android.service.autofill.InlinePresentation);
8422  }
8423
8424  public abstract class InlineSuggestionRenderService extends android.app.Service {
8425    ctor public InlineSuggestionRenderService();
8426    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
8427    method @NonNull public android.os.Bundle onGetInlineSuggestionsRendererInfo();
8428    method @Nullable public android.view.View onRenderSuggestion(@NonNull android.service.autofill.InlinePresentation, int, int);
8429    method public final void startIntentSender(@NonNull android.content.IntentSender);
8430    field public static final String SERVICE_INTERFACE = "android.service.autofill.InlineSuggestionRenderService";
8431  }
8432
8433}
8434
8435package android.service.autofill.augmented {
8436
8437  public abstract class AugmentedAutofillService extends android.app.Service {
8438    ctor public AugmentedAutofillService();
8439    method protected final void dump(java.io.FileDescriptor, java.io.PrintWriter, String[]);
8440    method protected void dump(@NonNull java.io.PrintWriter, @NonNull String[]);
8441    method @Nullable public final android.service.autofill.FillEventHistory getFillEventHistory();
8442    method public void onConnected();
8443    method public void onDisconnected();
8444    method public void onFillRequest(@NonNull android.service.autofill.augmented.FillRequest, @NonNull android.os.CancellationSignal, @NonNull android.service.autofill.augmented.FillController, @NonNull android.service.autofill.augmented.FillCallback);
8445    method public final boolean requestAutofill(@NonNull android.content.ComponentName, @NonNull android.view.autofill.AutofillId);
8446    field public static final String SERVICE_INTERFACE = "android.service.autofill.augmented.AugmentedAutofillService";
8447  }
8448
8449  public final class FillCallback {
8450    method public void onSuccess(@Nullable android.service.autofill.augmented.FillResponse);
8451  }
8452
8453  public final class FillController {
8454    method public void autofill(@NonNull java.util.List<android.util.Pair<android.view.autofill.AutofillId,android.view.autofill.AutofillValue>>);
8455  }
8456
8457  public final class FillRequest {
8458    method @NonNull public android.content.ComponentName getActivityComponent();
8459    method @NonNull public android.view.autofill.AutofillId getFocusedId();
8460    method @NonNull public android.view.autofill.AutofillValue getFocusedValue();
8461    method @Nullable public android.view.inputmethod.InlineSuggestionsRequest getInlineSuggestionsRequest();
8462    method @Nullable public android.service.autofill.augmented.PresentationParams getPresentationParams();
8463    method public int getTaskId();
8464  }
8465
8466  public final class FillResponse {
8467  }
8468
8469  public static final class FillResponse.Builder {
8470    ctor public FillResponse.Builder();
8471    method @NonNull public android.service.autofill.augmented.FillResponse build();
8472    method @NonNull public android.service.autofill.augmented.FillResponse.Builder setClientState(@NonNull android.os.Bundle);
8473    method @NonNull public android.service.autofill.augmented.FillResponse.Builder setFillWindow(@NonNull android.service.autofill.augmented.FillWindow);
8474    method @NonNull public android.service.autofill.augmented.FillResponse.Builder setInlineSuggestions(@NonNull java.util.List<android.service.autofill.Dataset>);
8475  }
8476
8477  public final class FillWindow implements java.lang.AutoCloseable {
8478    ctor public FillWindow();
8479    method public void destroy();
8480    method public boolean update(@NonNull android.service.autofill.augmented.PresentationParams.Area, @NonNull android.view.View, long);
8481  }
8482
8483  public abstract class PresentationParams {
8484    method @Nullable public android.service.autofill.augmented.PresentationParams.Area getSuggestionArea();
8485  }
8486
8487  public abstract static class PresentationParams.Area {
8488    method @NonNull public android.graphics.Rect getBounds();
8489  }
8490
8491}
8492
8493package android.service.carrier {
8494
8495  public abstract class ApnService extends android.app.Service {
8496    ctor public ApnService();
8497    method @NonNull public android.os.IBinder onBind(@Nullable android.content.Intent);
8498    method @NonNull @WorkerThread public abstract java.util.List<android.content.ContentValues> onRestoreApns(int);
8499  }
8500
8501}
8502
8503package android.service.contentcapture {
8504
8505  public final class ActivityEvent implements android.os.Parcelable {
8506    method public int describeContents();
8507    method @NonNull public android.content.ComponentName getComponentName();
8508    method public int getEventType();
8509    method public void writeToParcel(@NonNull android.os.Parcel, int);
8510    field @NonNull public static final android.os.Parcelable.Creator<android.service.contentcapture.ActivityEvent> CREATOR;
8511    field public static final int TYPE_ACTIVITY_DESTROYED = 24; // 0x18
8512    field public static final int TYPE_ACTIVITY_PAUSED = 2; // 0x2
8513    field public static final int TYPE_ACTIVITY_RESUMED = 1; // 0x1
8514    field public static final int TYPE_ACTIVITY_STOPPED = 23; // 0x17
8515  }
8516
8517  public abstract class ContentCaptureService extends android.app.Service {
8518    ctor public ContentCaptureService();
8519    method public final void disableSelf();
8520    method public void onActivityEvent(@NonNull android.service.contentcapture.ActivityEvent);
8521    method public void onActivitySnapshot(@NonNull android.view.contentcapture.ContentCaptureSessionId, @NonNull android.service.contentcapture.SnapshotData);
8522    method public void onConnected();
8523    method public void onContentCaptureEvent(@NonNull android.view.contentcapture.ContentCaptureSessionId, @NonNull android.view.contentcapture.ContentCaptureEvent);
8524    method public void onCreateContentCaptureSession(@NonNull android.view.contentcapture.ContentCaptureContext, @NonNull android.view.contentcapture.ContentCaptureSessionId);
8525    method public void onDataRemovalRequest(@NonNull android.view.contentcapture.DataRemovalRequest);
8526    method public void onDataShareRequest(@NonNull android.view.contentcapture.DataShareRequest, @NonNull android.service.contentcapture.DataShareCallback);
8527    method public void onDestroyContentCaptureSession(@NonNull android.view.contentcapture.ContentCaptureSessionId);
8528    method public void onDisconnected();
8529    method public final void setContentCaptureConditions(@NonNull String, @Nullable java.util.Set<android.view.contentcapture.ContentCaptureCondition>);
8530    method public final void setContentCaptureWhitelist(@Nullable java.util.Set<java.lang.String>, @Nullable java.util.Set<android.content.ComponentName>);
8531    field public static final String SERVICE_INTERFACE = "android.service.contentcapture.ContentCaptureService";
8532    field public static final String SERVICE_META_DATA = "android.content_capture";
8533  }
8534
8535  public interface DataShareCallback {
8536    method public void onAccept(@NonNull java.util.concurrent.Executor, @NonNull android.service.contentcapture.DataShareReadAdapter);
8537    method public void onReject();
8538  }
8539
8540  public interface DataShareReadAdapter {
8541    method public void onError(int);
8542    method public void onStart(@NonNull android.os.ParcelFileDescriptor);
8543  }
8544
8545  public final class SnapshotData implements android.os.Parcelable {
8546    method public int describeContents();
8547    method @Nullable public android.app.assist.AssistContent getAssistContent();
8548    method @NonNull public android.os.Bundle getAssistData();
8549    method @NonNull public android.app.assist.AssistStructure getAssistStructure();
8550    method public void writeToParcel(@NonNull android.os.Parcel, int);
8551    field @NonNull public static final android.os.Parcelable.Creator<android.service.contentcapture.SnapshotData> CREATOR;
8552  }
8553
8554}
8555
8556package android.service.contentsuggestions {
8557
8558  public abstract class ContentSuggestionsService extends android.app.Service {
8559    ctor public ContentSuggestionsService();
8560    method public abstract void onClassifyContentSelections(@NonNull android.app.contentsuggestions.ClassificationsRequest, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.ClassificationsCallback);
8561    method public abstract void onNotifyInteraction(@NonNull String, @NonNull android.os.Bundle);
8562    method public abstract void onProcessContextImage(int, @Nullable android.graphics.Bitmap, @NonNull android.os.Bundle);
8563    method public abstract void onSuggestContentSelections(@NonNull android.app.contentsuggestions.SelectionsRequest, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.SelectionsCallback);
8564    field public static final String SERVICE_INTERFACE = "android.service.contentsuggestions.ContentSuggestionsService";
8565  }
8566
8567}
8568
8569package android.service.dataloader {
8570
8571  public abstract class DataLoaderService extends android.app.Service {
8572    ctor public DataLoaderService();
8573    method @Nullable public android.service.dataloader.DataLoaderService.DataLoader onCreateDataLoader(@NonNull android.content.pm.DataLoaderParams);
8574  }
8575
8576  public static interface DataLoaderService.DataLoader {
8577    method public boolean onCreate(@NonNull android.content.pm.DataLoaderParams, @NonNull android.service.dataloader.DataLoaderService.FileSystemConnector);
8578    method public boolean onPrepareImage(@NonNull java.util.Collection<android.content.pm.InstallationFile>, @NonNull java.util.Collection<java.lang.String>);
8579  }
8580
8581  public static final class DataLoaderService.FileSystemConnector {
8582    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void writeData(@NonNull String, long, long, @NonNull android.os.ParcelFileDescriptor) throws java.io.IOException;
8583  }
8584
8585}
8586
8587package android.service.euicc {
8588
8589  public final class DownloadSubscriptionResult implements android.os.Parcelable {
8590    ctor public DownloadSubscriptionResult(int, int, int);
8591    method public int describeContents();
8592    method public int getCardId();
8593    method public int getResolvableErrors();
8594    method public int getResult();
8595    method public void writeToParcel(android.os.Parcel, int);
8596    field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.DownloadSubscriptionResult> CREATOR;
8597  }
8598
8599  public final class EuiccProfileInfo implements android.os.Parcelable {
8600    method public int describeContents();
8601    method public android.service.carrier.CarrierIdentifier getCarrierIdentifier();
8602    method public String getIccid();
8603    method @Nullable public String getNickname();
8604    method @android.service.euicc.EuiccProfileInfo.PolicyRule public int getPolicyRules();
8605    method @android.service.euicc.EuiccProfileInfo.ProfileClass public int getProfileClass();
8606    method public String getProfileName();
8607    method public String getServiceProviderName();
8608    method @android.service.euicc.EuiccProfileInfo.ProfileState public int getState();
8609    method @Nullable public java.util.List<android.telephony.UiccAccessRule> getUiccAccessRules();
8610    method public boolean hasPolicyRule(@android.service.euicc.EuiccProfileInfo.PolicyRule int);
8611    method public boolean hasPolicyRules();
8612    method public void writeToParcel(android.os.Parcel, int);
8613    field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.EuiccProfileInfo> CREATOR;
8614    field public static final int POLICY_RULE_DELETE_AFTER_DISABLING = 4; // 0x4
8615    field public static final int POLICY_RULE_DO_NOT_DELETE = 2; // 0x2
8616    field public static final int POLICY_RULE_DO_NOT_DISABLE = 1; // 0x1
8617    field public static final int PROFILE_CLASS_OPERATIONAL = 2; // 0x2
8618    field public static final int PROFILE_CLASS_PROVISIONING = 1; // 0x1
8619    field public static final int PROFILE_CLASS_TESTING = 0; // 0x0
8620    field public static final int PROFILE_STATE_DISABLED = 0; // 0x0
8621    field public static final int PROFILE_STATE_ENABLED = 1; // 0x1
8622  }
8623
8624  public static final class EuiccProfileInfo.Builder {
8625    ctor public EuiccProfileInfo.Builder(String);
8626    ctor public EuiccProfileInfo.Builder(android.service.euicc.EuiccProfileInfo);
8627    method public android.service.euicc.EuiccProfileInfo build();
8628    method public android.service.euicc.EuiccProfileInfo.Builder setCarrierIdentifier(android.service.carrier.CarrierIdentifier);
8629    method public android.service.euicc.EuiccProfileInfo.Builder setIccid(String);
8630    method public android.service.euicc.EuiccProfileInfo.Builder setNickname(String);
8631    method public android.service.euicc.EuiccProfileInfo.Builder setPolicyRules(@android.service.euicc.EuiccProfileInfo.PolicyRule int);
8632    method public android.service.euicc.EuiccProfileInfo.Builder setProfileClass(@android.service.euicc.EuiccProfileInfo.ProfileClass int);
8633    method public android.service.euicc.EuiccProfileInfo.Builder setProfileName(String);
8634    method public android.service.euicc.EuiccProfileInfo.Builder setServiceProviderName(String);
8635    method public android.service.euicc.EuiccProfileInfo.Builder setState(@android.service.euicc.EuiccProfileInfo.ProfileState int);
8636    method public android.service.euicc.EuiccProfileInfo.Builder setUiccAccessRule(@Nullable java.util.List<android.telephony.UiccAccessRule>);
8637  }
8638
8639  @IntDef(flag=true, prefix={"POLICY_RULE_"}, value={android.service.euicc.EuiccProfileInfo.POLICY_RULE_DO_NOT_DISABLE, android.service.euicc.EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, android.service.euicc.EuiccProfileInfo.POLICY_RULE_DELETE_AFTER_DISABLING}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccProfileInfo.PolicyRule {
8640  }
8641
8642  @IntDef(prefix={"PROFILE_CLASS_"}, value={android.service.euicc.EuiccProfileInfo.PROFILE_CLASS_TESTING, android.service.euicc.EuiccProfileInfo.PROFILE_CLASS_PROVISIONING, android.service.euicc.EuiccProfileInfo.PROFILE_CLASS_OPERATIONAL, 0xffffffff}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccProfileInfo.ProfileClass {
8643  }
8644
8645  @IntDef(prefix={"PROFILE_STATE_"}, value={android.service.euicc.EuiccProfileInfo.PROFILE_STATE_DISABLED, android.service.euicc.EuiccProfileInfo.PROFILE_STATE_ENABLED, 0xffffffff}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccProfileInfo.ProfileState {
8646  }
8647
8648  public abstract class EuiccService extends android.app.Service {
8649    ctor public EuiccService();
8650    method public void dump(@NonNull java.io.PrintWriter);
8651    method public int encodeSmdxSubjectAndReasonCode(@Nullable String, @Nullable String) throws java.lang.IllegalArgumentException, java.lang.NumberFormatException, java.lang.UnsupportedOperationException;
8652    method @CallSuper public android.os.IBinder onBind(android.content.Intent);
8653    method public abstract int onDeleteSubscription(int, String);
8654    method public android.service.euicc.DownloadSubscriptionResult onDownloadSubscription(int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean, boolean, @Nullable android.os.Bundle);
8655    method @Deprecated public int onDownloadSubscription(int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean, boolean);
8656    method @Deprecated public abstract int onEraseSubscriptions(int);
8657    method public int onEraseSubscriptions(int, @android.telephony.euicc.EuiccCardManager.ResetOption int);
8658    method public abstract android.service.euicc.GetDefaultDownloadableSubscriptionListResult onGetDefaultDownloadableSubscriptionList(int, boolean);
8659    method public abstract android.service.euicc.GetDownloadableSubscriptionMetadataResult onGetDownloadableSubscriptionMetadata(int, android.telephony.euicc.DownloadableSubscription, boolean);
8660    method public abstract String onGetEid(int);
8661    method @NonNull public abstract android.telephony.euicc.EuiccInfo onGetEuiccInfo(int);
8662    method @NonNull public abstract android.service.euicc.GetEuiccProfileInfoListResult onGetEuiccProfileInfoList(int);
8663    method @android.telephony.euicc.EuiccManager.OtaStatus public abstract int onGetOtaStatus(int);
8664    method public abstract int onRetainSubscriptionsForFactoryReset(int);
8665    method public abstract void onStartOtaIfNecessary(int, android.service.euicc.EuiccService.OtaStatusChangedCallback);
8666    method public abstract int onSwitchToSubscription(int, @Nullable String, boolean);
8667    method public abstract int onUpdateSubscriptionNickname(int, String, String);
8668    field public static final String ACTION_BIND_CARRIER_PROVISIONING_SERVICE = "android.service.euicc.action.BIND_CARRIER_PROVISIONING_SERVICE";
8669    field public static final String ACTION_DELETE_SUBSCRIPTION_PRIVILEGED = "android.service.euicc.action.DELETE_SUBSCRIPTION_PRIVILEGED";
8670    field public static final String ACTION_MANAGE_EMBEDDED_SUBSCRIPTIONS = "android.service.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS";
8671    field public static final String ACTION_PROVISION_EMBEDDED_SUBSCRIPTION = "android.service.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION";
8672    field public static final String ACTION_RENAME_SUBSCRIPTION_PRIVILEGED = "android.service.euicc.action.RENAME_SUBSCRIPTION_PRIVILEGED";
8673    field @Deprecated public static final String ACTION_RESOLVE_CONFIRMATION_CODE = "android.service.euicc.action.RESOLVE_CONFIRMATION_CODE";
8674    field public static final String ACTION_RESOLVE_DEACTIVATE_SIM = "android.service.euicc.action.RESOLVE_DEACTIVATE_SIM";
8675    field public static final String ACTION_RESOLVE_NO_PRIVILEGES = "android.service.euicc.action.RESOLVE_NO_PRIVILEGES";
8676    field public static final String ACTION_RESOLVE_RESOLVABLE_ERRORS = "android.service.euicc.action.RESOLVE_RESOLVABLE_ERRORS";
8677    field public static final String ACTION_START_CARRIER_ACTIVATION = "android.service.euicc.action.START_CARRIER_ACTIVATION";
8678    field public static final String ACTION_START_EUICC_ACTIVATION = "android.service.euicc.action.START_EUICC_ACTIVATION";
8679    field public static final String ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED = "android.service.euicc.action.TOGGLE_SUBSCRIPTION_PRIVILEGED";
8680    field public static final String CATEGORY_EUICC_UI = "android.service.euicc.category.EUICC_UI";
8681    field public static final String EUICC_SERVICE_INTERFACE = "android.service.euicc.EuiccService";
8682    field public static final String EXTRA_RESOLUTION_ALLOW_POLICY_RULES = "android.service.euicc.extra.RESOLUTION_ALLOW_POLICY_RULES";
8683    field public static final String EXTRA_RESOLUTION_CALLING_PACKAGE = "android.service.euicc.extra.RESOLUTION_CALLING_PACKAGE";
8684    field public static final String EXTRA_RESOLUTION_CARD_ID = "android.service.euicc.extra.RESOLUTION_CARD_ID";
8685    field public static final String EXTRA_RESOLUTION_CONFIRMATION_CODE = "android.service.euicc.extra.RESOLUTION_CONFIRMATION_CODE";
8686    field public static final String EXTRA_RESOLUTION_CONFIRMATION_CODE_RETRIED = "android.service.euicc.extra.RESOLUTION_CONFIRMATION_CODE_RETRIED";
8687    field public static final String EXTRA_RESOLUTION_CONSENT = "android.service.euicc.extra.RESOLUTION_CONSENT";
8688    field public static final String EXTRA_RESOLVABLE_ERRORS = "android.service.euicc.extra.RESOLVABLE_ERRORS";
8689    field public static final int RESOLVABLE_ERROR_CONFIRMATION_CODE = 1; // 0x1
8690    field public static final int RESOLVABLE_ERROR_POLICY_RULES = 2; // 0x2
8691    field public static final int RESULT_FIRST_USER = 1; // 0x1
8692    field public static final int RESULT_MUST_DEACTIVATE_SIM = -1; // 0xffffffff
8693    field @Deprecated public static final int RESULT_NEED_CONFIRMATION_CODE = -2; // 0xfffffffe
8694    field public static final int RESULT_OK = 0; // 0x0
8695    field public static final int RESULT_RESOLVABLE_ERRORS = -2; // 0xfffffffe
8696  }
8697
8698  public abstract static class EuiccService.OtaStatusChangedCallback {
8699    ctor public EuiccService.OtaStatusChangedCallback();
8700    method public abstract void onOtaStatusChanged(int);
8701  }
8702
8703  public final class GetDefaultDownloadableSubscriptionListResult implements android.os.Parcelable {
8704    ctor public GetDefaultDownloadableSubscriptionListResult(int, @Nullable android.telephony.euicc.DownloadableSubscription[]);
8705    method public int describeContents();
8706    method @Nullable public java.util.List<android.telephony.euicc.DownloadableSubscription> getDownloadableSubscriptions();
8707    method public int getResult();
8708    method public void writeToParcel(android.os.Parcel, int);
8709    field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.GetDefaultDownloadableSubscriptionListResult> CREATOR;
8710  }
8711
8712  public final class GetDownloadableSubscriptionMetadataResult implements android.os.Parcelable {
8713    ctor public GetDownloadableSubscriptionMetadataResult(int, @Nullable android.telephony.euicc.DownloadableSubscription);
8714    method public int describeContents();
8715    method @Nullable public android.telephony.euicc.DownloadableSubscription getDownloadableSubscription();
8716    method public int getResult();
8717    method public void writeToParcel(android.os.Parcel, int);
8718    field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.GetDownloadableSubscriptionMetadataResult> CREATOR;
8719  }
8720
8721  public final class GetEuiccProfileInfoListResult implements android.os.Parcelable {
8722    ctor public GetEuiccProfileInfoListResult(int, @Nullable android.service.euicc.EuiccProfileInfo[], boolean);
8723    method public int describeContents();
8724    method public boolean getIsRemovable();
8725    method @Nullable public java.util.List<android.service.euicc.EuiccProfileInfo> getProfiles();
8726    method public int getResult();
8727    method public void writeToParcel(android.os.Parcel, int);
8728    field @NonNull public static final android.os.Parcelable.Creator<android.service.euicc.GetEuiccProfileInfoListResult> CREATOR;
8729  }
8730
8731}
8732
8733package android.service.notification {
8734
8735  public final class Adjustment implements android.os.Parcelable {
8736    ctor public Adjustment(String, String, android.os.Bundle, CharSequence, int);
8737    ctor public Adjustment(@NonNull String, @NonNull String, @NonNull android.os.Bundle, @NonNull CharSequence, @NonNull android.os.UserHandle);
8738    ctor protected Adjustment(android.os.Parcel);
8739    method public int describeContents();
8740    method @NonNull public CharSequence getExplanation();
8741    method @NonNull public String getKey();
8742    method @NonNull public String getPackage();
8743    method @NonNull public android.os.Bundle getSignals();
8744    method public int getUser();
8745    method @NonNull public android.os.UserHandle getUserHandle();
8746    method public void writeToParcel(android.os.Parcel, int);
8747    field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.Adjustment> CREATOR;
8748    field public static final String KEY_CONTEXTUAL_ACTIONS = "key_contextual_actions";
8749    field public static final String KEY_IMPORTANCE = "key_importance";
8750    field public static final String KEY_NOT_CONVERSATION = "key_not_conversation";
8751    field public static final String KEY_PEOPLE = "key_people";
8752    field public static final String KEY_RANKING_SCORE = "key_ranking_score";
8753    field public static final String KEY_SNOOZE_CRITERIA = "key_snooze_criteria";
8754    field public static final String KEY_TEXT_REPLIES = "key_text_replies";
8755    field public static final String KEY_USER_SENTIMENT = "key_user_sentiment";
8756  }
8757
8758  public abstract class NotificationAssistantService extends android.service.notification.NotificationListenerService {
8759    ctor public NotificationAssistantService();
8760    method public final void adjustNotification(@NonNull android.service.notification.Adjustment);
8761    method public final void adjustNotifications(@NonNull java.util.List<android.service.notification.Adjustment>);
8762    method public void onActionInvoked(@NonNull String, @NonNull android.app.Notification.Action, int);
8763    method public void onAllowedAdjustmentsChanged();
8764    method @NonNull public final android.os.IBinder onBind(@Nullable android.content.Intent);
8765    method public void onNotificationDirectReplied(@NonNull String);
8766    method @Nullable public abstract android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification);
8767    method @Nullable public android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification, @NonNull android.app.NotificationChannel);
8768    method public void onNotificationExpansionChanged(@NonNull String, boolean, boolean);
8769    method public abstract void onNotificationSnoozedUntilContext(@NonNull android.service.notification.StatusBarNotification, @NonNull String);
8770    method public void onNotificationVisibilityChanged(@NonNull String, boolean);
8771    method public void onNotificationsSeen(@NonNull java.util.List<java.lang.String>);
8772    method public void onPanelHidden();
8773    method public void onPanelRevealed(int);
8774    method public void onSuggestedReplySent(@NonNull String, @NonNull CharSequence, int);
8775    method public final void unsnoozeNotification(@NonNull String);
8776    field public static final String SERVICE_INTERFACE = "android.service.notification.NotificationAssistantService";
8777    field public static final int SOURCE_FROM_APP = 0; // 0x0
8778    field public static final int SOURCE_FROM_ASSISTANT = 1; // 0x1
8779  }
8780
8781  public abstract class NotificationListenerService extends android.app.Service {
8782    method public void onNotificationRemoved(@NonNull android.service.notification.StatusBarNotification, @NonNull android.service.notification.NotificationListenerService.RankingMap, @NonNull android.service.notification.NotificationStats, int);
8783  }
8784
8785  public final class NotificationStats implements android.os.Parcelable {
8786    ctor public NotificationStats();
8787    ctor protected NotificationStats(android.os.Parcel);
8788    method public int describeContents();
8789    method public int getDismissalSentiment();
8790    method public int getDismissalSurface();
8791    method public boolean hasDirectReplied();
8792    method public boolean hasExpanded();
8793    method public boolean hasInteracted();
8794    method public boolean hasSeen();
8795    method public boolean hasSnoozed();
8796    method public boolean hasViewedSettings();
8797    method public void setDirectReplied();
8798    method public void setDismissalSentiment(int);
8799    method public void setDismissalSurface(int);
8800    method public void setExpanded();
8801    method public void setSeen();
8802    method public void setSnoozed();
8803    method public void setViewedSettings();
8804    method public void writeToParcel(android.os.Parcel, int);
8805    field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.NotificationStats> CREATOR;
8806    field public static final int DISMISSAL_AOD = 2; // 0x2
8807    field public static final int DISMISSAL_NOT_DISMISSED = -1; // 0xffffffff
8808    field public static final int DISMISSAL_OTHER = 0; // 0x0
8809    field public static final int DISMISSAL_PEEK = 1; // 0x1
8810    field public static final int DISMISSAL_SHADE = 3; // 0x3
8811    field public static final int DISMISS_SENTIMENT_NEGATIVE = 0; // 0x0
8812    field public static final int DISMISS_SENTIMENT_NEUTRAL = 1; // 0x1
8813    field public static final int DISMISS_SENTIMENT_POSITIVE = 2; // 0x2
8814    field public static final int DISMISS_SENTIMENT_UNKNOWN = -1000; // 0xfffffc18
8815  }
8816
8817  public final class SnoozeCriterion implements android.os.Parcelable {
8818    ctor public SnoozeCriterion(String, CharSequence, CharSequence);
8819    ctor protected SnoozeCriterion(android.os.Parcel);
8820    method public int describeContents();
8821    method public CharSequence getConfirmation();
8822    method public CharSequence getExplanation();
8823    method public String getId();
8824    method public void writeToParcel(android.os.Parcel, int);
8825    field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.SnoozeCriterion> CREATOR;
8826  }
8827
8828}
8829
8830package android.service.oemlock {
8831
8832  public class OemLockManager {
8833    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE) public String getLockName();
8834    method @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE) public boolean isOemUnlockAllowedByCarrier();
8835    method @RequiresPermission(android.Manifest.permission.MANAGE_USER_OEM_UNLOCK_STATE) public boolean isOemUnlockAllowedByUser();
8836    method @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE) public void setOemUnlockAllowedByCarrier(boolean, @Nullable byte[]);
8837    method @RequiresPermission(android.Manifest.permission.MANAGE_USER_OEM_UNLOCK_STATE) public void setOemUnlockAllowedByUser(boolean);
8838  }
8839
8840}
8841
8842package android.service.persistentdata {
8843
8844  public class PersistentDataBlockManager {
8845    method @RequiresPermission("android.permission.ACCESS_PDB_STATE") public int getDataBlockSize();
8846    method @android.service.persistentdata.PersistentDataBlockManager.FlashLockState @RequiresPermission(anyOf={android.Manifest.permission.READ_OEM_UNLOCK_STATE, "android.permission.OEM_UNLOCK_STATE"}) public int getFlashLockState();
8847    method public long getMaximumDataBlockSize();
8848    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_OEM_UNLOCK_STATE, "android.permission.OEM_UNLOCK_STATE"}) public boolean getOemUnlockEnabled();
8849    method public byte[] read();
8850    method @Deprecated @RequiresPermission("android.permission.OEM_UNLOCK_STATE") public void setOemUnlockEnabled(boolean);
8851    method @RequiresPermission("android.permission.OEM_UNLOCK_STATE") public void wipe();
8852    method public int write(byte[]);
8853    field public static final int FLASH_LOCK_LOCKED = 1; // 0x1
8854    field public static final int FLASH_LOCK_UNKNOWN = -1; // 0xffffffff
8855    field public static final int FLASH_LOCK_UNLOCKED = 0; // 0x0
8856  }
8857
8858  @IntDef(prefix={"FLASH_LOCK_"}, value={android.service.persistentdata.PersistentDataBlockManager.FLASH_LOCK_UNKNOWN, android.service.persistentdata.PersistentDataBlockManager.FLASH_LOCK_LOCKED, android.service.persistentdata.PersistentDataBlockManager.FLASH_LOCK_UNLOCKED}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface PersistentDataBlockManager.FlashLockState {
8859  }
8860
8861}
8862
8863package android.service.quicksettings {
8864
8865  public class TileService extends android.app.Service {
8866    method public final void setStatusIcon(android.graphics.drawable.Icon, String);
8867  }
8868
8869}
8870
8871package android.service.resolver {
8872
8873  public abstract class ResolverRankerService extends android.app.Service {
8874    ctor public ResolverRankerService();
8875    method public android.os.IBinder onBind(android.content.Intent);
8876    method public void onPredictSharingProbabilities(java.util.List<android.service.resolver.ResolverTarget>);
8877    method public void onTrainRankingModel(java.util.List<android.service.resolver.ResolverTarget>, int);
8878    field public static final String BIND_PERMISSION = "android.permission.BIND_RESOLVER_RANKER_SERVICE";
8879    field public static final String HOLD_PERMISSION = "android.permission.PROVIDE_RESOLVER_RANKER_SERVICE";
8880    field public static final String SERVICE_INTERFACE = "android.service.resolver.ResolverRankerService";
8881  }
8882
8883  public final class ResolverTarget implements android.os.Parcelable {
8884    ctor public ResolverTarget();
8885    method public int describeContents();
8886    method public float getChooserScore();
8887    method public float getLaunchScore();
8888    method public float getRecencyScore();
8889    method public float getSelectProbability();
8890    method public float getTimeSpentScore();
8891    method public void setChooserScore(float);
8892    method public void setLaunchScore(float);
8893    method public void setRecencyScore(float);
8894    method public void setSelectProbability(float);
8895    method public void setTimeSpentScore(float);
8896    method public void writeToParcel(android.os.Parcel, int);
8897    field @NonNull public static final android.os.Parcelable.Creator<android.service.resolver.ResolverTarget> CREATOR;
8898  }
8899
8900}
8901
8902package android.service.settings.suggestions {
8903
8904  public final class Suggestion implements android.os.Parcelable {
8905    method public int describeContents();
8906    method public int getFlags();
8907    method public android.graphics.drawable.Icon getIcon();
8908    method public String getId();
8909    method public android.app.PendingIntent getPendingIntent();
8910    method public CharSequence getSummary();
8911    method public CharSequence getTitle();
8912    method public void writeToParcel(android.os.Parcel, int);
8913    field @NonNull public static final android.os.Parcelable.Creator<android.service.settings.suggestions.Suggestion> CREATOR;
8914    field public static final int FLAG_HAS_BUTTON = 1; // 0x1
8915  }
8916
8917  public static class Suggestion.Builder {
8918    ctor public Suggestion.Builder(String);
8919    method public android.service.settings.suggestions.Suggestion build();
8920    method public android.service.settings.suggestions.Suggestion.Builder setFlags(int);
8921    method public android.service.settings.suggestions.Suggestion.Builder setIcon(android.graphics.drawable.Icon);
8922    method public android.service.settings.suggestions.Suggestion.Builder setPendingIntent(android.app.PendingIntent);
8923    method public android.service.settings.suggestions.Suggestion.Builder setSummary(CharSequence);
8924    method public android.service.settings.suggestions.Suggestion.Builder setTitle(CharSequence);
8925  }
8926
8927  public abstract class SuggestionService extends android.app.Service {
8928    ctor public SuggestionService();
8929    method public android.os.IBinder onBind(android.content.Intent);
8930    method public abstract java.util.List<android.service.settings.suggestions.Suggestion> onGetSuggestions();
8931    method public abstract void onSuggestionDismissed(android.service.settings.suggestions.Suggestion);
8932    method public abstract void onSuggestionLaunched(android.service.settings.suggestions.Suggestion);
8933  }
8934
8935}
8936
8937package android.service.storage {
8938
8939  public abstract class ExternalStorageService extends android.app.Service {
8940    ctor public ExternalStorageService();
8941    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
8942    method public abstract void onEndSession(@NonNull String) throws java.io.IOException;
8943    method public abstract void onStartSession(@NonNull String, int, @NonNull android.os.ParcelFileDescriptor, @NonNull java.io.File, @NonNull java.io.File) throws java.io.IOException;
8944    method public abstract void onVolumeStateChanged(@NonNull android.os.storage.StorageVolume) throws java.io.IOException;
8945    field public static final int FLAG_SESSION_ATTRIBUTE_INDEXABLE = 2; // 0x2
8946    field public static final int FLAG_SESSION_TYPE_FUSE = 1; // 0x1
8947    field public static final String SERVICE_INTERFACE = "android.service.storage.ExternalStorageService";
8948  }
8949
8950}
8951
8952package android.service.textclassifier {
8953
8954  public abstract class TextClassifierService extends android.app.Service {
8955    ctor public TextClassifierService();
8956    method @NonNull public static android.view.textclassifier.TextClassifier getDefaultTextClassifierImplementation(@NonNull android.content.Context);
8957    method @Deprecated public final android.view.textclassifier.TextClassifier getLocalTextClassifier();
8958    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
8959    method @MainThread public abstract void onClassifyText(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextClassification.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback<android.view.textclassifier.TextClassification>);
8960    method public void onConnected();
8961    method @MainThread public void onCreateTextClassificationSession(@NonNull android.view.textclassifier.TextClassificationContext, @NonNull android.view.textclassifier.TextClassificationSessionId);
8962    method @MainThread public void onDestroyTextClassificationSession(@NonNull android.view.textclassifier.TextClassificationSessionId);
8963    method @MainThread public void onDetectLanguage(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextLanguage.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback<android.view.textclassifier.TextLanguage>);
8964    method public void onDisconnected();
8965    method @MainThread public abstract void onGenerateLinks(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextLinks.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback<android.view.textclassifier.TextLinks>);
8966    method @Deprecated @MainThread public void onSelectionEvent(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.SelectionEvent);
8967    method @MainThread public void onSuggestConversationActions(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.ConversationActions.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback<android.view.textclassifier.ConversationActions>);
8968    method @MainThread public abstract void onSuggestSelection(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextSelection.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback<android.view.textclassifier.TextSelection>);
8969    method @MainThread public void onTextClassifierEvent(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextClassifierEvent);
8970    field public static final String SERVICE_INTERFACE = "android.service.textclassifier.TextClassifierService";
8971  }
8972
8973  public static interface TextClassifierService.Callback<T> {
8974    method public void onFailure(@NonNull CharSequence);
8975    method public void onSuccess(T);
8976  }
8977
8978}
8979
8980package android.service.trust {
8981
8982  public class TrustAgentService extends android.app.Service {
8983    ctor public TrustAgentService();
8984    method public final void addEscrowToken(byte[], android.os.UserHandle);
8985    method @Deprecated public final void grantTrust(CharSequence, long, boolean);
8986    method public final void grantTrust(CharSequence, long, int);
8987    method public final void isEscrowTokenActive(long, android.os.UserHandle);
8988    method public final android.os.IBinder onBind(android.content.Intent);
8989    method public boolean onConfigure(java.util.List<android.os.PersistableBundle>);
8990    method public void onDeviceLocked();
8991    method public void onDeviceUnlockLockout(long);
8992    method public void onDeviceUnlocked();
8993    method public void onEscrowTokenAdded(byte[], long, android.os.UserHandle);
8994    method public void onEscrowTokenRemoved(long, boolean);
8995    method public void onEscrowTokenStateReceived(long, int);
8996    method public void onTrustTimeout();
8997    method public void onUnlockAttempt(boolean);
8998    method public final void removeEscrowToken(long, android.os.UserHandle);
8999    method public final void revokeTrust();
9000    method public final void setManagingTrust(boolean);
9001    method public final void showKeyguardErrorMessage(@NonNull CharSequence);
9002    method public final void unlockUserWithToken(long, byte[], android.os.UserHandle);
9003    field public static final int FLAG_GRANT_TRUST_DISMISS_KEYGUARD = 2; // 0x2
9004    field public static final int FLAG_GRANT_TRUST_INITIATED_BY_USER = 1; // 0x1
9005    field public static final String SERVICE_INTERFACE = "android.service.trust.TrustAgentService";
9006    field public static final int TOKEN_STATE_ACTIVE = 1; // 0x1
9007    field public static final int TOKEN_STATE_INACTIVE = 0; // 0x0
9008    field public static final String TRUST_AGENT_META_DATA = "android.service.trust.trustagent";
9009  }
9010
9011}
9012
9013package android.service.voice {
9014
9015  public class VoiceInteractionService extends android.app.Service {
9016    method @NonNull @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public final android.media.voice.KeyphraseModelManager createKeyphraseModelManager();
9017  }
9018
9019}
9020
9021package android.service.wallpaper {
9022
9023  public class WallpaperService.Engine {
9024    method public boolean isInAmbientMode();
9025    method public void onAmbientModeChanged(boolean, long);
9026  }
9027
9028}
9029
9030package android.service.watchdog {
9031
9032  public abstract class ExplicitHealthCheckService extends android.app.Service {
9033    ctor public ExplicitHealthCheckService();
9034    method public final void notifyHealthCheckPassed(@NonNull String);
9035    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
9036    method public abstract void onCancelHealthCheck(@NonNull String);
9037    method @NonNull public abstract java.util.List<java.lang.String> onGetRequestedPackages();
9038    method @NonNull public abstract java.util.List<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> onGetSupportedPackages();
9039    method public abstract void onRequestHealthCheck(@NonNull String);
9040    field public static final String BIND_PERMISSION = "android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE";
9041    field public static final String SERVICE_INTERFACE = "android.service.watchdog.ExplicitHealthCheckService";
9042  }
9043
9044  public static final class ExplicitHealthCheckService.PackageConfig implements android.os.Parcelable {
9045    ctor public ExplicitHealthCheckService.PackageConfig(@NonNull String, long);
9046    method public int describeContents();
9047    method public long getHealthCheckTimeoutMillis();
9048    method @NonNull public String getPackageName();
9049    method public void writeToParcel(android.os.Parcel, int);
9050    field @NonNull public static final android.os.Parcelable.Creator<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> CREATOR;
9051  }
9052
9053}
9054
9055package android.telecom {
9056
9057  @Deprecated public class AudioState implements android.os.Parcelable {
9058    ctor @Deprecated public AudioState(boolean, int, int);
9059    ctor @Deprecated public AudioState(android.telecom.AudioState);
9060    ctor @Deprecated public AudioState(android.telecom.CallAudioState);
9061    method @Deprecated public static String audioRouteToString(int);
9062    method @Deprecated public int describeContents();
9063    method @Deprecated public int getRoute();
9064    method @Deprecated public int getSupportedRouteMask();
9065    method @Deprecated public boolean isMuted();
9066    method @Deprecated public void writeToParcel(android.os.Parcel, int);
9067    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.telecom.AudioState> CREATOR;
9068    field @Deprecated public static final int ROUTE_BLUETOOTH = 2; // 0x2
9069    field @Deprecated public static final int ROUTE_EARPIECE = 1; // 0x1
9070    field @Deprecated public static final int ROUTE_SPEAKER = 8; // 0x8
9071    field @Deprecated public static final int ROUTE_WIRED_HEADSET = 4; // 0x4
9072    field @Deprecated public static final int ROUTE_WIRED_OR_EARPIECE = 5; // 0x5
9073  }
9074
9075  public final class Call {
9076    method @Deprecated public void addListener(android.telecom.Call.Listener);
9077    method public void enterBackgroundAudioProcessing();
9078    method public void exitBackgroundAudioProcessing(boolean);
9079    method @Deprecated public void removeListener(android.telecom.Call.Listener);
9080    field @Deprecated public static final int STATE_PRE_DIAL_WAIT = 8; // 0x8
9081  }
9082
9083  @Deprecated public abstract static class Call.Listener extends android.telecom.Call.Callback {
9084    ctor @Deprecated public Call.Listener();
9085  }
9086
9087  public static class CallScreeningService.CallResponse.Builder {
9088    method @NonNull public android.telecom.CallScreeningService.CallResponse.Builder setShouldScreenCallViaAudioProcessing(boolean);
9089  }
9090
9091  public abstract class Conference extends android.telecom.Conferenceable {
9092    method @Deprecated public final android.telecom.AudioState getAudioState();
9093    method @Deprecated public final long getConnectTimeMillis();
9094    method public android.telecom.Connection getPrimaryConnection();
9095    method @NonNull public final String getTelecomCallId();
9096    method @Deprecated public void onAudioStateChanged(android.telecom.AudioState);
9097    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setAddress(@NonNull android.net.Uri, int);
9098    method public final void setCallerDisplayName(@NonNull String, int);
9099    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setConferenceState(boolean);
9100    method @Deprecated public final void setConnectTimeMillis(long);
9101  }
9102
9103  public abstract class Connection extends android.telecom.Conferenceable {
9104    method @Deprecated public final android.telecom.AudioState getAudioState();
9105    method @IntRange(from=0) public final long getConnectTimeMillis();
9106    method public final long getConnectionStartElapsedRealtimeMillis();
9107    method @Nullable public android.telecom.PhoneAccountHandle getPhoneAccountHandle();
9108    method @Nullable public final String getTelecomCallId();
9109    method @Deprecated public void onAudioStateChanged(android.telecom.AudioState);
9110    method public final void resetConnectionTime();
9111    method public void setCallDirection(int);
9112    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setConnectTimeMillis(@IntRange(from=0) long);
9113    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setConnectionStartElapsedRealtimeMillis(long);
9114    method public void setPhoneAccountHandle(@NonNull android.telecom.PhoneAccountHandle);
9115    method public void setTelecomCallId(@NonNull String);
9116    field public static final int CAPABILITY_CONFERENCE_HAS_NO_CHILDREN = 2097152; // 0x200000
9117    field public static final int CAPABILITY_SPEED_UP_MT_AUDIO = 262144; // 0x40000
9118    field public static final String EXTRA_DISABLE_ADD_CALL = "android.telecom.extra.DISABLE_ADD_CALL";
9119    field public static final int PROPERTY_EMERGENCY_CALLBACK_MODE = 1; // 0x1
9120    field public static final int PROPERTY_GENERIC_CONFERENCE = 2; // 0x2
9121    field public static final int PROPERTY_IS_DOWNGRADED_CONFERENCE = 64; // 0x40
9122    field public static final int PROPERTY_REMOTELY_HOSTED = 2048; // 0x800
9123  }
9124
9125  public final class ConnectionRequest implements android.os.Parcelable {
9126    method @Nullable public String getTelecomCallId();
9127  }
9128
9129  public abstract class ConnectionService extends android.app.Service {
9130    method public final void addExistingConnection(@NonNull android.telecom.PhoneAccountHandle, @NonNull android.telecom.Connection, @NonNull android.telecom.Conference);
9131  }
9132
9133  public abstract class InCallService extends android.app.Service {
9134    method @Deprecated public android.telecom.Phone getPhone();
9135    method @Deprecated public void onPhoneCreated(android.telecom.Phone);
9136    method @Deprecated public void onPhoneDestroyed(android.telecom.Phone);
9137  }
9138
9139  public class ParcelableCallAnalytics implements android.os.Parcelable {
9140    ctor public ParcelableCallAnalytics(long, long, int, boolean, boolean, int, int, boolean, String, boolean, java.util.List<android.telecom.ParcelableCallAnalytics.AnalyticsEvent>, java.util.List<android.telecom.ParcelableCallAnalytics.EventTiming>);
9141    ctor public ParcelableCallAnalytics(android.os.Parcel);
9142    method public java.util.List<android.telecom.ParcelableCallAnalytics.AnalyticsEvent> analyticsEvents();
9143    method public int describeContents();
9144    method public long getCallDurationMillis();
9145    method public int getCallTechnologies();
9146    method public int getCallTerminationCode();
9147    method public int getCallType();
9148    method public String getConnectionService();
9149    method public java.util.List<android.telecom.ParcelableCallAnalytics.EventTiming> getEventTimings();
9150    method public long getStartTimeMillis();
9151    method public boolean isAdditionalCall();
9152    method public boolean isCreatedFromExistingConnection();
9153    method public boolean isEmergencyCall();
9154    method public boolean isInterrupted();
9155    method public void writeToParcel(android.os.Parcel, int);
9156    field public static final int CALLTYPE_INCOMING = 1; // 0x1
9157    field public static final int CALLTYPE_OUTGOING = 2; // 0x2
9158    field public static final int CALLTYPE_UNKNOWN = 0; // 0x0
9159    field public static final int CDMA_PHONE = 1; // 0x1
9160    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.ParcelableCallAnalytics> CREATOR;
9161    field public static final int GSM_PHONE = 2; // 0x2
9162    field public static final int IMS_PHONE = 4; // 0x4
9163    field public static final long MILLIS_IN_1_SECOND = 1000L; // 0x3e8L
9164    field public static final long MILLIS_IN_5_MINUTES = 300000L; // 0x493e0L
9165    field public static final int SIP_PHONE = 8; // 0x8
9166    field public static final int STILL_CONNECTED = -1; // 0xffffffff
9167    field public static final int THIRD_PARTY_PHONE = 16; // 0x10
9168  }
9169
9170  public static final class ParcelableCallAnalytics.AnalyticsEvent implements android.os.Parcelable {
9171    ctor public ParcelableCallAnalytics.AnalyticsEvent(int, long);
9172    method public int describeContents();
9173    method public int getEventName();
9174    method public long getTimeSinceLastEvent();
9175    method public void writeToParcel(android.os.Parcel, int);
9176    field public static final int AUDIO_ROUTE_BT = 204; // 0xcc
9177    field public static final int AUDIO_ROUTE_EARPIECE = 205; // 0xcd
9178    field public static final int AUDIO_ROUTE_HEADSET = 206; // 0xce
9179    field public static final int AUDIO_ROUTE_SPEAKER = 207; // 0xcf
9180    field public static final int BIND_CS = 5; // 0x5
9181    field public static final int BLOCK_CHECK_FINISHED = 105; // 0x69
9182    field public static final int BLOCK_CHECK_INITIATED = 104; // 0x68
9183    field public static final int CONFERENCE_WITH = 300; // 0x12c
9184    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.ParcelableCallAnalytics.AnalyticsEvent> CREATOR;
9185    field public static final int CS_BOUND = 6; // 0x6
9186    field public static final int DIRECT_TO_VM_FINISHED = 103; // 0x67
9187    field public static final int DIRECT_TO_VM_INITIATED = 102; // 0x66
9188    field public static final int FILTERING_COMPLETED = 107; // 0x6b
9189    field public static final int FILTERING_INITIATED = 106; // 0x6a
9190    field public static final int FILTERING_TIMED_OUT = 108; // 0x6c
9191    field public static final int MUTE = 202; // 0xca
9192    field public static final int REMOTELY_HELD = 402; // 0x192
9193    field public static final int REMOTELY_UNHELD = 403; // 0x193
9194    field public static final int REQUEST_ACCEPT = 7; // 0x7
9195    field public static final int REQUEST_HOLD = 400; // 0x190
9196    field public static final int REQUEST_PULL = 500; // 0x1f4
9197    field public static final int REQUEST_REJECT = 8; // 0x8
9198    field public static final int REQUEST_UNHOLD = 401; // 0x191
9199    field public static final int SCREENING_COMPLETED = 101; // 0x65
9200    field public static final int SCREENING_SENT = 100; // 0x64
9201    field public static final int SET_ACTIVE = 1; // 0x1
9202    field public static final int SET_DIALING = 4; // 0x4
9203    field public static final int SET_DISCONNECTED = 2; // 0x2
9204    field public static final int SET_HOLD = 404; // 0x194
9205    field public static final int SET_PARENT = 302; // 0x12e
9206    field public static final int SET_SELECT_PHONE_ACCOUNT = 0; // 0x0
9207    field public static final int SILENCE = 201; // 0xc9
9208    field public static final int SKIP_RINGING = 200; // 0xc8
9209    field public static final int SPLIT_CONFERENCE = 301; // 0x12d
9210    field public static final int START_CONNECTION = 3; // 0x3
9211    field public static final int SWAP = 405; // 0x195
9212    field public static final int UNMUTE = 203; // 0xcb
9213  }
9214
9215  public static final class ParcelableCallAnalytics.EventTiming implements android.os.Parcelable {
9216    ctor public ParcelableCallAnalytics.EventTiming(int, long);
9217    method public int describeContents();
9218    method public int getName();
9219    method public long getTime();
9220    method public void writeToParcel(android.os.Parcel, int);
9221    field public static final int ACCEPT_TIMING = 0; // 0x0
9222    field public static final int BIND_CS_TIMING = 6; // 0x6
9223    field public static final int BLOCK_CHECK_FINISHED_TIMING = 9; // 0x9
9224    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.ParcelableCallAnalytics.EventTiming> CREATOR;
9225    field public static final int DIRECT_TO_VM_FINISHED_TIMING = 8; // 0x8
9226    field public static final int DISCONNECT_TIMING = 2; // 0x2
9227    field public static final int FILTERING_COMPLETED_TIMING = 10; // 0xa
9228    field public static final int FILTERING_TIMED_OUT_TIMING = 11; // 0xb
9229    field public static final int HOLD_TIMING = 3; // 0x3
9230    field public static final int INVALID = 999999; // 0xf423f
9231    field public static final int OUTGOING_TIME_TO_DIALING_TIMING = 5; // 0x5
9232    field public static final int REJECT_TIMING = 1; // 0x1
9233    field public static final int SCREENING_COMPLETED_TIMING = 7; // 0x7
9234    field public static final int UNHOLD_TIMING = 4; // 0x4
9235  }
9236
9237  @Deprecated public final class Phone {
9238    method @Deprecated public void addListener(android.telecom.Phone.Listener);
9239    method @Deprecated public boolean canAddCall();
9240    method @Deprecated public android.telecom.AudioState getAudioState();
9241    method @Deprecated public android.telecom.CallAudioState getCallAudioState();
9242    method @Deprecated public java.util.List<android.telecom.Call> getCalls();
9243    method @Deprecated public void removeListener(android.telecom.Phone.Listener);
9244    method @Deprecated public void requestBluetoothAudio(String);
9245    method @Deprecated public void setAudioRoute(int);
9246    method @Deprecated public void setMuted(boolean);
9247  }
9248
9249  @Deprecated public abstract static class Phone.Listener {
9250    ctor @Deprecated public Phone.Listener();
9251    method @Deprecated public void onAudioStateChanged(android.telecom.Phone, android.telecom.AudioState);
9252    method @Deprecated public void onBringToForeground(android.telecom.Phone, boolean);
9253    method @Deprecated public void onCallAdded(android.telecom.Phone, android.telecom.Call);
9254    method @Deprecated public void onCallAudioStateChanged(android.telecom.Phone, android.telecom.CallAudioState);
9255    method @Deprecated public void onCallRemoved(android.telecom.Phone, android.telecom.Call);
9256    method @Deprecated public void onCanAddCallChanged(android.telecom.Phone, boolean);
9257    method @Deprecated public void onSilenceRinger(android.telecom.Phone);
9258  }
9259
9260  public final class PhoneAccount implements android.os.Parcelable {
9261    field public static final int CAPABILITY_MULTI_USER = 32; // 0x20
9262  }
9263
9264  public static class PhoneAccount.Builder {
9265    method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telecom.PhoneAccount.Builder setGroupId(@NonNull String);
9266  }
9267
9268  public class PhoneAccountSuggestionService extends android.app.Service {
9269    ctor public PhoneAccountSuggestionService();
9270    method public void onAccountSuggestionRequest(@NonNull String);
9271    method public android.os.IBinder onBind(android.content.Intent);
9272    method public final void suggestPhoneAccounts(@NonNull String, @NonNull java.util.List<android.telecom.PhoneAccountSuggestion>);
9273    field public static final String SERVICE_INTERFACE = "android.telecom.PhoneAccountSuggestionService";
9274  }
9275
9276  public final class RemoteConference {
9277    method @Deprecated public void setAudioState(android.telecom.AudioState);
9278  }
9279
9280  public final class RemoteConnection {
9281    method @Deprecated public void setAudioState(android.telecom.AudioState);
9282  }
9283
9284  public final class StatusHints implements android.os.Parcelable {
9285    ctor @Deprecated public StatusHints(android.content.ComponentName, CharSequence, int, android.os.Bundle);
9286    method @Deprecated public android.graphics.drawable.Drawable getIcon(android.content.Context);
9287    method @Deprecated public int getIconResId();
9288    method @Deprecated public android.content.ComponentName getPackageName();
9289  }
9290
9291  public final class TelecomAnalytics implements android.os.Parcelable {
9292    ctor public TelecomAnalytics(java.util.List<android.telecom.TelecomAnalytics.SessionTiming>, java.util.List<android.telecom.ParcelableCallAnalytics>);
9293    method public int describeContents();
9294    method public java.util.List<android.telecom.ParcelableCallAnalytics> getCallAnalytics();
9295    method public java.util.List<android.telecom.TelecomAnalytics.SessionTiming> getSessionTimings();
9296    method public void writeToParcel(android.os.Parcel, int);
9297    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.TelecomAnalytics> CREATOR;
9298  }
9299
9300  public static final class TelecomAnalytics.SessionTiming implements android.os.Parcelable {
9301    ctor public TelecomAnalytics.SessionTiming(int, long);
9302    method public int describeContents();
9303    method public Integer getKey();
9304    method public long getTime();
9305    method public void writeToParcel(android.os.Parcel, int);
9306    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.TelecomAnalytics.SessionTiming> CREATOR;
9307    field public static final int CSW_ADD_CONFERENCE_CALL = 108; // 0x6c
9308    field public static final int CSW_HANDLE_CREATE_CONNECTION_COMPLETE = 100; // 0x64
9309    field public static final int CSW_REMOVE_CALL = 106; // 0x6a
9310    field public static final int CSW_SET_ACTIVE = 101; // 0x65
9311    field public static final int CSW_SET_DIALING = 103; // 0x67
9312    field public static final int CSW_SET_DISCONNECTED = 104; // 0x68
9313    field public static final int CSW_SET_IS_CONFERENCED = 107; // 0x6b
9314    field public static final int CSW_SET_ON_HOLD = 105; // 0x69
9315    field public static final int CSW_SET_RINGING = 102; // 0x66
9316    field public static final int ICA_ANSWER_CALL = 1; // 0x1
9317    field public static final int ICA_CONFERENCE = 8; // 0x8
9318    field public static final int ICA_DISCONNECT_CALL = 3; // 0x3
9319    field public static final int ICA_HOLD_CALL = 4; // 0x4
9320    field public static final int ICA_MUTE = 6; // 0x6
9321    field public static final int ICA_REJECT_CALL = 2; // 0x2
9322    field public static final int ICA_SET_AUDIO_ROUTE = 7; // 0x7
9323    field public static final int ICA_UNHOLD_CALL = 5; // 0x5
9324  }
9325
9326  public class TelecomManager {
9327    method public void addNewUnknownCall(android.telecom.PhoneAccountHandle, android.os.Bundle);
9328    method @Deprecated public void clearAccounts();
9329    method public void clearPhoneAccounts();
9330    method @NonNull public android.content.Intent createLaunchEmergencyDialerIntent(@Nullable String);
9331    method @RequiresPermission(android.Manifest.permission.DUMP) public android.telecom.TelecomAnalytics dumpAnalytics();
9332    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void enablePhoneAccount(android.telecom.PhoneAccountHandle, boolean);
9333    method public java.util.List<android.telecom.PhoneAccountHandle> getAllPhoneAccountHandles();
9334    method public java.util.List<android.telecom.PhoneAccount> getAllPhoneAccounts();
9335    method public int getAllPhoneAccountsCount();
9336    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<android.telecom.PhoneAccountHandle> getCallCapablePhoneAccounts(boolean);
9337    method public int getCallState();
9338    method public android.telecom.PhoneAccountHandle getConnectionManager();
9339    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCurrentTtyMode();
9340    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getDefaultDialerPackage(@NonNull android.os.UserHandle);
9341    method @Deprecated public android.content.ComponentName getDefaultPhoneApp();
9342    method public java.util.List<android.telecom.PhoneAccountHandle> getPhoneAccountsForPackage();
9343    method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public java.util.List<android.telecom.PhoneAccountHandle> getPhoneAccountsSupportingScheme(String);
9344    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isInEmergencyCall();
9345    method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRinging();
9346    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUserSelectedOutgoingPhoneAccount(@Nullable android.telecom.PhoneAccountHandle);
9347    field public static final String EXTRA_CALL_BACK_INTENT = "android.telecom.extra.CALL_BACK_INTENT";
9348    field public static final String EXTRA_CLEAR_MISSED_CALLS_INTENT = "android.telecom.extra.CLEAR_MISSED_CALLS_INTENT";
9349    field public static final String EXTRA_CONNECTION_SERVICE = "android.telecom.extra.CONNECTION_SERVICE";
9350    field public static final String EXTRA_IS_USER_INTENT_EMERGENCY_CALL = "android.telecom.extra.IS_USER_INTENT_EMERGENCY_CALL";
9351    field public static final int TTY_MODE_FULL = 1; // 0x1
9352    field public static final int TTY_MODE_HCO = 2; // 0x2
9353    field public static final int TTY_MODE_OFF = 0; // 0x0
9354    field public static final int TTY_MODE_VCO = 3; // 0x3
9355  }
9356
9357}
9358
9359package android.telephony {
9360
9361  public final class AccessNetworkConstants {
9362    field public static final int TRANSPORT_TYPE_INVALID = -1; // 0xffffffff
9363  }
9364
9365  public static final class AccessNetworkConstants.NgranBands {
9366    method public static int getFrequencyRangeGroup(int);
9367    field public static final int FREQUENCY_RANGE_GROUP_1 = 1; // 0x1
9368    field public static final int FREQUENCY_RANGE_GROUP_2 = 2; // 0x2
9369    field public static final int FREQUENCY_RANGE_GROUP_UNKNOWN = 0; // 0x0
9370  }
9371
9372  public final class BarringInfo implements android.os.Parcelable {
9373    ctor public BarringInfo();
9374    method @NonNull public android.telephony.BarringInfo createLocationInfoSanitizedCopy();
9375  }
9376
9377  public final class CallAttributes implements android.os.Parcelable {
9378    ctor public CallAttributes(@NonNull android.telephony.PreciseCallState, int, @NonNull android.telephony.CallQuality);
9379    method public int describeContents();
9380    method @NonNull public android.telephony.CallQuality getCallQuality();
9381    method public int getNetworkType();
9382    method @NonNull public android.telephony.PreciseCallState getPreciseCallState();
9383    method public void writeToParcel(android.os.Parcel, int);
9384    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CallAttributes> CREATOR;
9385  }
9386
9387  public final class CallQuality implements android.os.Parcelable {
9388    ctor public CallQuality(int, int, int, int, int, int, int, int, int, int, int);
9389    ctor public CallQuality(int, int, int, int, int, int, int, int, int, int, int, boolean, boolean, boolean);
9390    method public int describeContents();
9391    method public int getAverageRelativeJitter();
9392    method public int getAverageRoundTripTime();
9393    method public int getCallDuration();
9394    method public int getCodecType();
9395    method public int getDownlinkCallQualityLevel();
9396    method public int getMaxRelativeJitter();
9397    method public int getNumRtpPacketsNotReceived();
9398    method public int getNumRtpPacketsReceived();
9399    method public int getNumRtpPacketsTransmitted();
9400    method public int getNumRtpPacketsTransmittedLost();
9401    method public int getUplinkCallQualityLevel();
9402    method public boolean isIncomingSilenceDetectedAtCallSetup();
9403    method public boolean isOutgoingSilenceDetectedAtCallSetup();
9404    method public boolean isRtpInactivityDetected();
9405    method public void writeToParcel(android.os.Parcel, int);
9406    field public static final int CALL_QUALITY_BAD = 4; // 0x4
9407    field public static final int CALL_QUALITY_EXCELLENT = 0; // 0x0
9408    field public static final int CALL_QUALITY_FAIR = 2; // 0x2
9409    field public static final int CALL_QUALITY_GOOD = 1; // 0x1
9410    field public static final int CALL_QUALITY_NOT_AVAILABLE = 5; // 0x5
9411    field public static final int CALL_QUALITY_POOR = 3; // 0x3
9412    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CallQuality> CREATOR;
9413  }
9414
9415  public class CarrierConfigManager {
9416    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getDefaultCarrierServicePackageName();
9417    method @NonNull public static android.os.PersistableBundle getDefaultConfig();
9418    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void overrideConfig(int, @Nullable android.os.PersistableBundle);
9419    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void updateConfigForPhoneId(int, String);
9420    field public static final String KEY_CARRIER_SETUP_APP_STRING = "carrier_setup_app_string";
9421    field public static final String KEY_SUPPORT_CDMA_1X_VOICE_CALLS_BOOL = "support_cdma_1x_voice_calls_bool";
9422  }
9423
9424  public static final class CarrierConfigManager.Wifi {
9425    field public static final String KEY_HOTSPOT_MAX_CLIENT_COUNT = "wifi.hotspot_maximum_client_count";
9426    field public static final String KEY_PREFIX = "wifi.";
9427  }
9428
9429  public final class CarrierRestrictionRules implements android.os.Parcelable {
9430    method @NonNull public java.util.List<java.lang.Boolean> areCarrierIdentifiersAllowed(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
9431    method public int describeContents();
9432    method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedCarriers();
9433    method public int getDefaultCarrierRestriction();
9434    method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getExcludedCarriers();
9435    method public int getMultiSimPolicy();
9436    method public boolean isAllCarriersAllowed();
9437    method public void writeToParcel(android.os.Parcel, int);
9438    field public static final int CARRIER_RESTRICTION_DEFAULT_ALLOWED = 1; // 0x1
9439    field public static final int CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED = 0; // 0x0
9440    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CarrierRestrictionRules> CREATOR;
9441    field public static final int MULTISIM_POLICY_NONE = 0; // 0x0
9442    field public static final int MULTISIM_POLICY_ONE_VALID_SIM_MUST_BE_PRESENT = 1; // 0x1
9443  }
9444
9445  public static final class CarrierRestrictionRules.Builder {
9446    ctor public CarrierRestrictionRules.Builder();
9447    method @NonNull public android.telephony.CarrierRestrictionRules build();
9448    method @NonNull public android.telephony.CarrierRestrictionRules.Builder setAllCarriersAllowed();
9449    method @NonNull public android.telephony.CarrierRestrictionRules.Builder setAllowedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
9450    method @NonNull public android.telephony.CarrierRestrictionRules.Builder setDefaultCarrierRestriction(int);
9451    method @NonNull public android.telephony.CarrierRestrictionRules.Builder setExcludedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
9452    method @NonNull public android.telephony.CarrierRestrictionRules.Builder setMultiSimPolicy(int);
9453  }
9454
9455  public class CbGeoUtils {
9456  }
9457
9458  public static class CbGeoUtils.Circle implements android.telephony.CbGeoUtils.Geometry {
9459    ctor public CbGeoUtils.Circle(@NonNull android.telephony.CbGeoUtils.LatLng, double);
9460    method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng);
9461    method @NonNull public android.telephony.CbGeoUtils.LatLng getCenter();
9462    method public double getRadius();
9463  }
9464
9465  public static interface CbGeoUtils.Geometry {
9466    method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng);
9467  }
9468
9469  public static class CbGeoUtils.LatLng {
9470    ctor public CbGeoUtils.LatLng(double, double);
9471    method public double distance(@NonNull android.telephony.CbGeoUtils.LatLng);
9472    method @NonNull public android.telephony.CbGeoUtils.LatLng subtract(@NonNull android.telephony.CbGeoUtils.LatLng);
9473    field public final double lat;
9474    field public final double lng;
9475  }
9476
9477  public static class CbGeoUtils.Polygon implements android.telephony.CbGeoUtils.Geometry {
9478    ctor public CbGeoUtils.Polygon(@NonNull java.util.List<android.telephony.CbGeoUtils.LatLng>);
9479    method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng);
9480    method @NonNull public java.util.List<android.telephony.CbGeoUtils.LatLng> getVertices();
9481  }
9482
9483  public class CellBroadcastIntents {
9484    method public static void sendSmsCbReceivedBroadcast(@NonNull android.content.Context, @Nullable android.os.UserHandle, @NonNull android.telephony.SmsCbMessage, @Nullable android.content.BroadcastReceiver, @Nullable android.os.Handler, int, int);
9485    field public static final String ACTION_AREA_INFO_UPDATED = "android.telephony.action.AREA_INFO_UPDATED";
9486  }
9487
9488  public abstract class CellBroadcastService extends android.app.Service {
9489    ctor public CellBroadcastService();
9490    method @NonNull @WorkerThread public abstract CharSequence getCellBroadcastAreaInfo(int);
9491    method @CallSuper public android.os.IBinder onBind(@Nullable android.content.Intent);
9492    method public abstract void onCdmaCellBroadcastSms(int, @NonNull byte[], int);
9493    method public abstract void onCdmaScpMessage(int, @NonNull java.util.List<android.telephony.cdma.CdmaSmsCbProgramData>, @NonNull String, @NonNull java.util.function.Consumer<android.os.Bundle>);
9494    method public abstract void onGsmCellBroadcastSms(int, @NonNull byte[]);
9495    field public static final String CELL_BROADCAST_SERVICE_INTERFACE = "android.telephony.CellBroadcastService";
9496  }
9497
9498  public abstract class CellIdentity implements android.os.Parcelable {
9499    method @NonNull public abstract android.telephony.CellLocation asCellLocation();
9500    method @NonNull public abstract android.telephony.CellIdentity sanitizeLocationInfo();
9501  }
9502
9503  public final class CellIdentityCdma extends android.telephony.CellIdentity {
9504    method @NonNull public android.telephony.cdma.CdmaCellLocation asCellLocation();
9505    method @NonNull public android.telephony.CellIdentityCdma sanitizeLocationInfo();
9506  }
9507
9508  public final class CellIdentityGsm extends android.telephony.CellIdentity {
9509    method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation();
9510    method @NonNull public android.telephony.CellIdentityGsm sanitizeLocationInfo();
9511  }
9512
9513  public final class CellIdentityLte extends android.telephony.CellIdentity {
9514    method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation();
9515    method @NonNull public android.telephony.CellIdentityLte sanitizeLocationInfo();
9516  }
9517
9518  public final class CellIdentityNr extends android.telephony.CellIdentity {
9519    method @NonNull public android.telephony.CellLocation asCellLocation();
9520    method @NonNull public android.telephony.CellIdentityNr sanitizeLocationInfo();
9521  }
9522
9523  public final class CellIdentityTdscdma extends android.telephony.CellIdentity {
9524    method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation();
9525    method @NonNull public android.telephony.CellIdentityTdscdma sanitizeLocationInfo();
9526  }
9527
9528  public final class CellIdentityWcdma extends android.telephony.CellIdentity {
9529    method @NonNull public android.telephony.gsm.GsmCellLocation asCellLocation();
9530    method @NonNull public android.telephony.CellIdentityWcdma sanitizeLocationInfo();
9531  }
9532
9533  public final class DataFailCause {
9534    field @Deprecated public static final int VSNCP_APN_UNATHORIZED = 2238; // 0x8be
9535  }
9536
9537  public final class DataSpecificRegistrationInfo implements android.os.Parcelable {
9538    method public int describeContents();
9539    method @NonNull public android.telephony.LteVopsSupportInfo getLteVopsSupportInfo();
9540    method public void writeToParcel(android.os.Parcel, int);
9541    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.DataSpecificRegistrationInfo> CREATOR;
9542  }
9543
9544  public final class DisconnectCause {
9545    field public static final int ALREADY_DIALING = 72; // 0x48
9546    field public static final int ANSWERED_ELSEWHERE = 52; // 0x34
9547    field public static final int BUSY = 4; // 0x4
9548    field public static final int CALLING_DISABLED = 74; // 0x4a
9549    field public static final int CALL_BARRED = 20; // 0x14
9550    field public static final int CALL_PULLED = 51; // 0x33
9551    field public static final int CANT_CALL_WHILE_RINGING = 73; // 0x49
9552    field public static final int CDMA_ACCESS_BLOCKED = 35; // 0x23
9553    field public static final int CDMA_ACCESS_FAILURE = 32; // 0x20
9554    field public static final int CDMA_ALREADY_ACTIVATED = 49; // 0x31
9555    field public static final int CDMA_DROP = 27; // 0x1b
9556    field public static final int CDMA_INTERCEPT = 28; // 0x1c
9557    field public static final int CDMA_LOCKED_UNTIL_POWER_CYCLE = 26; // 0x1a
9558    field public static final int CDMA_NOT_EMERGENCY = 34; // 0x22
9559    field public static final int CDMA_PREEMPTED = 33; // 0x21
9560    field public static final int CDMA_REORDER = 29; // 0x1d
9561    field public static final int CDMA_RETRY_ORDER = 31; // 0x1f
9562    field public static final int CDMA_SO_REJECT = 30; // 0x1e
9563    field public static final int CONGESTION = 5; // 0x5
9564    field public static final int CS_RESTRICTED = 22; // 0x16
9565    field public static final int CS_RESTRICTED_EMERGENCY = 24; // 0x18
9566    field public static final int CS_RESTRICTED_NORMAL = 23; // 0x17
9567    field public static final int DATA_DISABLED = 54; // 0x36
9568    field public static final int DATA_LIMIT_REACHED = 55; // 0x37
9569    field public static final int DIALED_CALL_FORWARDING_WHILE_ROAMING = 57; // 0x39
9570    field public static final int DIALED_MMI = 39; // 0x27
9571    field public static final int DIAL_LOW_BATTERY = 62; // 0x3e
9572    field public static final int DIAL_MODIFIED_TO_DIAL = 48; // 0x30
9573    field public static final int DIAL_MODIFIED_TO_DIAL_VIDEO = 66; // 0x42
9574    field public static final int DIAL_MODIFIED_TO_SS = 47; // 0x2f
9575    field public static final int DIAL_MODIFIED_TO_USSD = 46; // 0x2e
9576    field public static final int DIAL_VIDEO_MODIFIED_TO_DIAL = 69; // 0x45
9577    field public static final int DIAL_VIDEO_MODIFIED_TO_DIAL_VIDEO = 70; // 0x46
9578    field public static final int DIAL_VIDEO_MODIFIED_TO_SS = 67; // 0x43
9579    field public static final int DIAL_VIDEO_MODIFIED_TO_USSD = 68; // 0x44
9580    field public static final int EMERGENCY_PERM_FAILURE = 64; // 0x40
9581    field public static final int EMERGENCY_TEMP_FAILURE = 63; // 0x3f
9582    field public static final int ERROR_UNSPECIFIED = 36; // 0x24
9583    field public static final int FDN_BLOCKED = 21; // 0x15
9584    field public static final int ICC_ERROR = 19; // 0x13
9585    field public static final int IMEI_NOT_ACCEPTED = 58; // 0x3a
9586    field public static final int IMS_ACCESS_BLOCKED = 60; // 0x3c
9587    field public static final int IMS_MERGED_SUCCESSFULLY = 45; // 0x2d
9588    field public static final int IMS_SIP_ALTERNATE_EMERGENCY_CALL = 71; // 0x47
9589    field public static final int INCOMING_AUTO_REJECTED = 81; // 0x51
9590    field public static final int INCOMING_MISSED = 1; // 0x1
9591    field public static final int INCOMING_REJECTED = 16; // 0x10
9592    field public static final int INVALID_CREDENTIALS = 10; // 0xa
9593    field public static final int INVALID_NUMBER = 7; // 0x7
9594    field public static final int LIMIT_EXCEEDED = 15; // 0xf
9595    field public static final int LOCAL = 3; // 0x3
9596    field public static final int LOST_SIGNAL = 14; // 0xe
9597    field public static final int LOW_BATTERY = 61; // 0x3d
9598    field public static final int MAXIMUM_NUMBER_OF_CALLS_REACHED = 53; // 0x35
9599    field public static final int MMI = 6; // 0x6
9600    field public static final int NORMAL = 2; // 0x2
9601    field public static final int NORMAL_UNSPECIFIED = 65; // 0x41
9602    field public static final int NOT_DISCONNECTED = 0; // 0x0
9603    field public static final int NOT_VALID = -1; // 0xffffffff
9604    field public static final int NO_PHONE_NUMBER_SUPPLIED = 38; // 0x26
9605    field public static final int NUMBER_UNREACHABLE = 8; // 0x8
9606    field public static final int OTASP_PROVISIONING_IN_PROCESS = 76; // 0x4c
9607    field public static final int OUTGOING_CANCELED = 44; // 0x2c
9608    field public static final int OUTGOING_EMERGENCY_CALL_PLACED = 80; // 0x50
9609    field public static final int OUTGOING_FAILURE = 43; // 0x2b
9610    field public static final int OUT_OF_NETWORK = 11; // 0xb
9611    field public static final int OUT_OF_SERVICE = 18; // 0x12
9612    field public static final int POWER_OFF = 17; // 0x11
9613    field public static final int SERVER_ERROR = 12; // 0xc
9614    field public static final int SERVER_UNREACHABLE = 9; // 0x9
9615    field public static final int TIMED_OUT = 13; // 0xd
9616    field public static final int TOO_MANY_ONGOING_CALLS = 75; // 0x4b
9617    field public static final int UNOBTAINABLE_NUMBER = 25; // 0x19
9618    field public static final int VIDEO_CALL_NOT_ALLOWED_WHILE_TTY_ENABLED = 50; // 0x32
9619    field public static final int VOICEMAIL_NUMBER_MISSING = 40; // 0x28
9620    field public static final int WIFI_LOST = 59; // 0x3b
9621  }
9622
9623  public final class ImsiEncryptionInfo implements android.os.Parcelable {
9624    method public int describeContents();
9625    method @Nullable public String getKeyIdentifier();
9626    method @Nullable public java.security.PublicKey getPublicKey();
9627    method public void writeToParcel(@NonNull android.os.Parcel, int);
9628    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ImsiEncryptionInfo> CREATOR;
9629  }
9630
9631  public final class LteVopsSupportInfo implements android.os.Parcelable {
9632    ctor public LteVopsSupportInfo(int, int);
9633    method public int describeContents();
9634    method public int getEmcBearerSupport();
9635    method public int getVopsSupport();
9636    method public void writeToParcel(android.os.Parcel, int);
9637    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.LteVopsSupportInfo> CREATOR;
9638    field public static final int LTE_STATUS_NOT_AVAILABLE = 1; // 0x1
9639    field public static final int LTE_STATUS_NOT_SUPPORTED = 3; // 0x3
9640    field public static final int LTE_STATUS_SUPPORTED = 2; // 0x2
9641  }
9642
9643  public class MbmsDownloadSession implements java.lang.AutoCloseable {
9644    field public static final String MBMS_DOWNLOAD_SERVICE_ACTION = "android.telephony.action.EmbmsDownload";
9645  }
9646
9647  public class MbmsGroupCallSession implements java.lang.AutoCloseable {
9648    field public static final String MBMS_GROUP_CALL_SERVICE_ACTION = "android.telephony.action.EmbmsGroupCall";
9649  }
9650
9651  public class MbmsStreamingSession implements java.lang.AutoCloseable {
9652    field public static final String MBMS_STREAMING_SERVICE_ACTION = "android.telephony.action.EmbmsStreaming";
9653  }
9654
9655  public final class NetworkRegistrationInfo implements android.os.Parcelable {
9656    method @Nullable public android.telephony.DataSpecificRegistrationInfo getDataSpecificInfo();
9657    method public int getRegistrationState();
9658    method public int getRejectCause();
9659    method public int getRoamingType();
9660    method public boolean isEmergencyEnabled();
9661    method public void writeToParcel(android.os.Parcel, int);
9662    field public static final int REGISTRATION_STATE_DENIED = 3; // 0x3
9663    field public static final int REGISTRATION_STATE_HOME = 1; // 0x1
9664    field public static final int REGISTRATION_STATE_NOT_REGISTERED_OR_SEARCHING = 0; // 0x0
9665    field public static final int REGISTRATION_STATE_NOT_REGISTERED_SEARCHING = 2; // 0x2
9666    field public static final int REGISTRATION_STATE_ROAMING = 5; // 0x5
9667    field public static final int REGISTRATION_STATE_UNKNOWN = 4; // 0x4
9668  }
9669
9670  public static final class NetworkRegistrationInfo.Builder {
9671    ctor public NetworkRegistrationInfo.Builder();
9672    method @NonNull public android.telephony.NetworkRegistrationInfo build();
9673    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAccessNetworkTechnology(int);
9674    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAvailableServices(@NonNull java.util.List<java.lang.Integer>);
9675    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setCellIdentity(@Nullable android.telephony.CellIdentity);
9676    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setDomain(int);
9677    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setEmergencyOnly(boolean);
9678    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRegisteredPlmn(@Nullable String);
9679    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRegistrationState(int);
9680    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRejectCause(int);
9681    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setTransportType(int);
9682  }
9683
9684  public abstract class NetworkService extends android.app.Service {
9685    ctor public NetworkService();
9686    method public android.os.IBinder onBind(android.content.Intent);
9687    method @Nullable public abstract android.telephony.NetworkService.NetworkServiceProvider onCreateNetworkServiceProvider(int);
9688    field public static final String SERVICE_INTERFACE = "android.telephony.NetworkService";
9689  }
9690
9691  public abstract class NetworkService.NetworkServiceProvider implements java.lang.AutoCloseable {
9692    ctor public NetworkService.NetworkServiceProvider(int);
9693    method public abstract void close();
9694    method public final int getSlotIndex();
9695    method public final void notifyNetworkRegistrationInfoChanged();
9696    method public void requestNetworkRegistrationInfo(int, @NonNull android.telephony.NetworkServiceCallback);
9697  }
9698
9699  public class NetworkServiceCallback {
9700    method public void onRequestNetworkRegistrationInfoComplete(int, @Nullable android.telephony.NetworkRegistrationInfo);
9701    field public static final int RESULT_ERROR_BUSY = 3; // 0x3
9702    field public static final int RESULT_ERROR_FAILED = 5; // 0x5
9703    field public static final int RESULT_ERROR_ILLEGAL_STATE = 4; // 0x4
9704    field public static final int RESULT_ERROR_INVALID_ARG = 2; // 0x2
9705    field public static final int RESULT_ERROR_UNSUPPORTED = 1; // 0x1
9706    field public static final int RESULT_SUCCESS = 0; // 0x0
9707  }
9708
9709  public interface NumberVerificationCallback {
9710    method public default void onCallReceived(@NonNull String);
9711    method public default void onVerificationFailed(int);
9712    field public static final int REASON_CONCURRENT_REQUESTS = 4; // 0x4
9713    field public static final int REASON_IN_ECBM = 5; // 0x5
9714    field public static final int REASON_IN_EMERGENCY_CALL = 6; // 0x6
9715    field public static final int REASON_NETWORK_NOT_AVAILABLE = 2; // 0x2
9716    field public static final int REASON_TIMED_OUT = 1; // 0x1
9717    field public static final int REASON_TOO_MANY_CALLS = 3; // 0x3
9718    field public static final int REASON_UNSPECIFIED = 0; // 0x0
9719  }
9720
9721  public final class PhoneNumberRange implements android.os.Parcelable {
9722    ctor public PhoneNumberRange(@NonNull String, @NonNull String, @NonNull String, @NonNull String);
9723    method public int describeContents();
9724    method public boolean matches(@NonNull String);
9725    method public void writeToParcel(android.os.Parcel, int);
9726    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.PhoneNumberRange> CREATOR;
9727  }
9728
9729  public class PhoneNumberUtils {
9730    method @NonNull public static String getUsernameFromUriNumber(@NonNull String);
9731    method public static boolean isUriNumber(@Nullable String);
9732    method public static boolean isVoiceMailNumber(@NonNull android.content.Context, int, @Nullable String);
9733  }
9734
9735  public class PhoneStateListener {
9736    method public void onCallAttributesChanged(@NonNull android.telephony.CallAttributes);
9737    method public void onOutgoingEmergencyCall(@NonNull android.telephony.emergency.EmergencyNumber);
9738    method public void onOutgoingEmergencySms(@NonNull android.telephony.emergency.EmergencyNumber);
9739    method @RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE") public void onPreciseCallStateChanged(@NonNull android.telephony.PreciseCallState);
9740    method public void onRadioPowerStateChanged(int);
9741    method public void onSrvccStateChanged(int);
9742    method public void onVoiceActivationStateChanged(int);
9743    field @RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE") public static final int LISTEN_CALL_ATTRIBUTES_CHANGED = 67108864; // 0x4000000
9744    field @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public static final int LISTEN_OUTGOING_EMERGENCY_CALL = 268435456; // 0x10000000
9745    field @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public static final int LISTEN_OUTGOING_EMERGENCY_SMS = 536870912; // 0x20000000
9746    field @RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE") public static final int LISTEN_PRECISE_CALL_STATE = 2048; // 0x800
9747    field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int LISTEN_RADIO_POWER_STATE_CHANGED = 8388608; // 0x800000
9748    field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int LISTEN_SRVCC_STATE_CHANGED = 16384; // 0x4000
9749    field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final int LISTEN_VOICE_ACTIVATION_STATE = 131072; // 0x20000
9750  }
9751
9752  public final class PreciseCallState implements android.os.Parcelable {
9753    ctor public PreciseCallState(int, int, int, int, int);
9754    method public int describeContents();
9755    method public int getBackgroundCallState();
9756    method public int getForegroundCallState();
9757    method public int getRingingCallState();
9758    method public void writeToParcel(android.os.Parcel, int);
9759    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.PreciseCallState> CREATOR;
9760    field public static final int PRECISE_CALL_STATE_ACTIVE = 1; // 0x1
9761    field public static final int PRECISE_CALL_STATE_ALERTING = 4; // 0x4
9762    field public static final int PRECISE_CALL_STATE_DIALING = 3; // 0x3
9763    field public static final int PRECISE_CALL_STATE_DISCONNECTED = 7; // 0x7
9764    field public static final int PRECISE_CALL_STATE_DISCONNECTING = 8; // 0x8
9765    field public static final int PRECISE_CALL_STATE_HOLDING = 2; // 0x2
9766    field public static final int PRECISE_CALL_STATE_IDLE = 0; // 0x0
9767    field public static final int PRECISE_CALL_STATE_INCOMING = 5; // 0x5
9768    field public static final int PRECISE_CALL_STATE_NOT_VALID = -1; // 0xffffffff
9769    field public static final int PRECISE_CALL_STATE_WAITING = 6; // 0x6
9770  }
9771
9772  public final class PreciseDataConnectionState implements android.os.Parcelable {
9773    method @Deprecated @NonNull public String getDataConnectionApn();
9774    method @Deprecated public int getDataConnectionApnTypeBitMask();
9775    method @Deprecated public int getDataConnectionFailCause();
9776    method @Deprecated public int getDataConnectionState();
9777  }
9778
9779  public final class PreciseDisconnectCause {
9780    field public static final int ACCESS_CLASS_BLOCKED = 260; // 0x104
9781    field public static final int ACCESS_INFORMATION_DISCARDED = 43; // 0x2b
9782    field public static final int ACM_LIMIT_EXCEEDED = 68; // 0x44
9783    field public static final int BEARER_CAPABILITY_NOT_AUTHORIZED = 57; // 0x39
9784    field public static final int BEARER_NOT_AVAIL = 58; // 0x3a
9785    field public static final int BEARER_SERVICE_NOT_IMPLEMENTED = 65; // 0x41
9786    field public static final int BUSY = 17; // 0x11
9787    field public static final int CALL_BARRED = 240; // 0xf0
9788    field public static final int CALL_REJECTED = 21; // 0x15
9789    field public static final int CDMA_ACCESS_BLOCKED = 1009; // 0x3f1
9790    field public static final int CDMA_ACCESS_FAILURE = 1006; // 0x3ee
9791    field public static final int CDMA_DROP = 1001; // 0x3e9
9792    field public static final int CDMA_INTERCEPT = 1002; // 0x3ea
9793    field public static final int CDMA_LOCKED_UNTIL_POWER_CYCLE = 1000; // 0x3e8
9794    field public static final int CDMA_NOT_EMERGENCY = 1008; // 0x3f0
9795    field public static final int CDMA_PREEMPTED = 1007; // 0x3ef
9796    field public static final int CDMA_REORDER = 1003; // 0x3eb
9797    field public static final int CDMA_RETRY_ORDER = 1005; // 0x3ed
9798    field public static final int CDMA_SO_REJECT = 1004; // 0x3ec
9799    field public static final int CHANNEL_NOT_AVAIL = 44; // 0x2c
9800    field public static final int CHANNEL_UNACCEPTABLE = 6; // 0x6
9801    field public static final int CONDITIONAL_IE_ERROR = 100; // 0x64
9802    field public static final int DESTINATION_OUT_OF_ORDER = 27; // 0x1b
9803    field public static final int ERROR_UNSPECIFIED = 65535; // 0xffff
9804    field public static final int FACILITY_REJECTED = 29; // 0x1d
9805    field public static final int FDN_BLOCKED = 241; // 0xf1
9806    field public static final int IMEI_NOT_ACCEPTED = 243; // 0xf3
9807    field public static final int IMSI_UNKNOWN_IN_VLR = 242; // 0xf2
9808    field public static final int INCOMING_CALLS_BARRED_WITHIN_CUG = 55; // 0x37
9809    field public static final int INCOMPATIBLE_DESTINATION = 88; // 0x58
9810    field public static final int INFORMATION_ELEMENT_NON_EXISTENT = 99; // 0x63
9811    field public static final int INTERWORKING_UNSPECIFIED = 127; // 0x7f
9812    field public static final int INVALID_MANDATORY_INFORMATION = 96; // 0x60
9813    field public static final int INVALID_NUMBER_FORMAT = 28; // 0x1c
9814    field public static final int INVALID_TRANSACTION_IDENTIFIER = 81; // 0x51
9815    field public static final int MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101; // 0x65
9816    field public static final int MESSAGE_TYPE_NON_IMPLEMENTED = 97; // 0x61
9817    field public static final int MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98; // 0x62
9818    field public static final int NETWORK_DETACH = 261; // 0x105
9819    field public static final int NETWORK_OUT_OF_ORDER = 38; // 0x26
9820    field public static final int NETWORK_REJECT = 252; // 0xfc
9821    field public static final int NETWORK_RESP_TIMEOUT = 251; // 0xfb
9822    field public static final int NORMAL = 16; // 0x10
9823    field public static final int NORMAL_UNSPECIFIED = 31; // 0x1f
9824    field public static final int NOT_VALID = -1; // 0xffffffff
9825    field public static final int NO_ANSWER_FROM_USER = 19; // 0x13
9826    field public static final int NO_CIRCUIT_AVAIL = 34; // 0x22
9827    field public static final int NO_DISCONNECT_CAUSE_AVAILABLE = 0; // 0x0
9828    field public static final int NO_ROUTE_TO_DESTINATION = 3; // 0x3
9829    field public static final int NO_USER_RESPONDING = 18; // 0x12
9830    field public static final int NO_VALID_SIM = 249; // 0xf9
9831    field public static final int NUMBER_CHANGED = 22; // 0x16
9832    field public static final int OEM_CAUSE_1 = 61441; // 0xf001
9833    field public static final int OEM_CAUSE_10 = 61450; // 0xf00a
9834    field public static final int OEM_CAUSE_11 = 61451; // 0xf00b
9835    field public static final int OEM_CAUSE_12 = 61452; // 0xf00c
9836    field public static final int OEM_CAUSE_13 = 61453; // 0xf00d
9837    field public static final int OEM_CAUSE_14 = 61454; // 0xf00e
9838    field public static final int OEM_CAUSE_15 = 61455; // 0xf00f
9839    field public static final int OEM_CAUSE_2 = 61442; // 0xf002
9840    field public static final int OEM_CAUSE_3 = 61443; // 0xf003
9841    field public static final int OEM_CAUSE_4 = 61444; // 0xf004
9842    field public static final int OEM_CAUSE_5 = 61445; // 0xf005
9843    field public static final int OEM_CAUSE_6 = 61446; // 0xf006
9844    field public static final int OEM_CAUSE_7 = 61447; // 0xf007
9845    field public static final int OEM_CAUSE_8 = 61448; // 0xf008
9846    field public static final int OEM_CAUSE_9 = 61449; // 0xf009
9847    field public static final int ONLY_DIGITAL_INFORMATION_BEARER_AVAILABLE = 70; // 0x46
9848    field public static final int OPERATOR_DETERMINED_BARRING = 8; // 0x8
9849    field public static final int OUT_OF_SRV = 248; // 0xf8
9850    field public static final int PREEMPTION = 25; // 0x19
9851    field public static final int PROTOCOL_ERROR_UNSPECIFIED = 111; // 0x6f
9852    field public static final int QOS_NOT_AVAIL = 49; // 0x31
9853    field public static final int RADIO_ACCESS_FAILURE = 253; // 0xfd
9854    field public static final int RADIO_INTERNAL_ERROR = 250; // 0xfa
9855    field public static final int RADIO_LINK_FAILURE = 254; // 0xfe
9856    field public static final int RADIO_LINK_LOST = 255; // 0xff
9857    field public static final int RADIO_OFF = 247; // 0xf7
9858    field public static final int RADIO_RELEASE_ABNORMAL = 259; // 0x103
9859    field public static final int RADIO_RELEASE_NORMAL = 258; // 0x102
9860    field public static final int RADIO_SETUP_FAILURE = 257; // 0x101
9861    field public static final int RADIO_UPLINK_FAILURE = 256; // 0x100
9862    field public static final int RECOVERY_ON_TIMER_EXPIRED = 102; // 0x66
9863    field public static final int REQUESTED_FACILITY_NOT_IMPLEMENTED = 69; // 0x45
9864    field public static final int REQUESTED_FACILITY_NOT_SUBSCRIBED = 50; // 0x32
9865    field public static final int RESOURCES_UNAVAILABLE_OR_UNSPECIFIED = 47; // 0x2f
9866    field public static final int SEMANTICALLY_INCORRECT_MESSAGE = 95; // 0x5f
9867    field public static final int SERVICE_OPTION_NOT_AVAILABLE = 63; // 0x3f
9868    field public static final int SERVICE_OR_OPTION_NOT_IMPLEMENTED = 79; // 0x4f
9869    field public static final int STATUS_ENQUIRY = 30; // 0x1e
9870    field public static final int SWITCHING_CONGESTION = 42; // 0x2a
9871    field public static final int TEMPORARY_FAILURE = 41; // 0x29
9872    field public static final int UNOBTAINABLE_NUMBER = 1; // 0x1
9873    field public static final int USER_NOT_MEMBER_OF_CUG = 87; // 0x57
9874  }
9875
9876  public class ServiceState implements android.os.Parcelable {
9877    method @Nullable public android.telephony.NetworkRegistrationInfo getNetworkRegistrationInfo(int, int);
9878    method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoListForDomain(int);
9879    method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoListForTransportType(int);
9880    field public static final int ROAMING_TYPE_DOMESTIC = 2; // 0x2
9881    field public static final int ROAMING_TYPE_INTERNATIONAL = 3; // 0x3
9882    field public static final int ROAMING_TYPE_NOT_ROAMING = 0; // 0x0
9883    field public static final int ROAMING_TYPE_UNKNOWN = 1; // 0x1
9884  }
9885
9886  public final class SmsCbCmasInfo implements android.os.Parcelable {
9887    ctor public SmsCbCmasInfo(int, int, int, int, int, int);
9888    method public int describeContents();
9889    method public int getCategory();
9890    method public int getCertainty();
9891    method public int getMessageClass();
9892    method public int getResponseType();
9893    method public int getSeverity();
9894    method public int getUrgency();
9895    method public void writeToParcel(android.os.Parcel, int);
9896    field public static final int CMAS_CATEGORY_CBRNE = 10; // 0xa
9897    field public static final int CMAS_CATEGORY_ENV = 7; // 0x7
9898    field public static final int CMAS_CATEGORY_FIRE = 5; // 0x5
9899    field public static final int CMAS_CATEGORY_GEO = 0; // 0x0
9900    field public static final int CMAS_CATEGORY_HEALTH = 6; // 0x6
9901    field public static final int CMAS_CATEGORY_INFRA = 9; // 0x9
9902    field public static final int CMAS_CATEGORY_MET = 1; // 0x1
9903    field public static final int CMAS_CATEGORY_OTHER = 11; // 0xb
9904    field public static final int CMAS_CATEGORY_RESCUE = 4; // 0x4
9905    field public static final int CMAS_CATEGORY_SAFETY = 2; // 0x2
9906    field public static final int CMAS_CATEGORY_SECURITY = 3; // 0x3
9907    field public static final int CMAS_CATEGORY_TRANSPORT = 8; // 0x8
9908    field public static final int CMAS_CATEGORY_UNKNOWN = -1; // 0xffffffff
9909    field public static final int CMAS_CERTAINTY_LIKELY = 1; // 0x1
9910    field public static final int CMAS_CERTAINTY_OBSERVED = 0; // 0x0
9911    field public static final int CMAS_CERTAINTY_UNKNOWN = -1; // 0xffffffff
9912    field public static final int CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY = 3; // 0x3
9913    field public static final int CMAS_CLASS_CMAS_EXERCISE = 5; // 0x5
9914    field public static final int CMAS_CLASS_EXTREME_THREAT = 1; // 0x1
9915    field public static final int CMAS_CLASS_OPERATOR_DEFINED_USE = 6; // 0x6
9916    field public static final int CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT = 0; // 0x0
9917    field public static final int CMAS_CLASS_REQUIRED_MONTHLY_TEST = 4; // 0x4
9918    field public static final int CMAS_CLASS_SEVERE_THREAT = 2; // 0x2
9919    field public static final int CMAS_CLASS_UNKNOWN = -1; // 0xffffffff
9920    field public static final int CMAS_RESPONSE_TYPE_ASSESS = 6; // 0x6
9921    field public static final int CMAS_RESPONSE_TYPE_AVOID = 5; // 0x5
9922    field public static final int CMAS_RESPONSE_TYPE_EVACUATE = 1; // 0x1
9923    field public static final int CMAS_RESPONSE_TYPE_EXECUTE = 3; // 0x3
9924    field public static final int CMAS_RESPONSE_TYPE_MONITOR = 4; // 0x4
9925    field public static final int CMAS_RESPONSE_TYPE_NONE = 7; // 0x7
9926    field public static final int CMAS_RESPONSE_TYPE_PREPARE = 2; // 0x2
9927    field public static final int CMAS_RESPONSE_TYPE_SHELTER = 0; // 0x0
9928    field public static final int CMAS_RESPONSE_TYPE_UNKNOWN = -1; // 0xffffffff
9929    field public static final int CMAS_SEVERITY_EXTREME = 0; // 0x0
9930    field public static final int CMAS_SEVERITY_SEVERE = 1; // 0x1
9931    field public static final int CMAS_SEVERITY_UNKNOWN = -1; // 0xffffffff
9932    field public static final int CMAS_URGENCY_EXPECTED = 1; // 0x1
9933    field public static final int CMAS_URGENCY_IMMEDIATE = 0; // 0x0
9934    field public static final int CMAS_URGENCY_UNKNOWN = -1; // 0xffffffff
9935    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbCmasInfo> CREATOR;
9936  }
9937
9938  public final class SmsCbEtwsInfo implements android.os.Parcelable {
9939    ctor public SmsCbEtwsInfo(int, boolean, boolean, boolean, @Nullable byte[]);
9940    method public int describeContents();
9941    method @Nullable public byte[] getPrimaryNotificationSignature();
9942    method public long getPrimaryNotificationTimestamp();
9943    method public int getWarningType();
9944    method public boolean isEmergencyUserAlert();
9945    method public boolean isPopupAlert();
9946    method public boolean isPrimary();
9947    method public void writeToParcel(android.os.Parcel, int);
9948    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbEtwsInfo> CREATOR;
9949    field public static final int ETWS_WARNING_TYPE_EARTHQUAKE = 0; // 0x0
9950    field public static final int ETWS_WARNING_TYPE_EARTHQUAKE_AND_TSUNAMI = 2; // 0x2
9951    field public static final int ETWS_WARNING_TYPE_OTHER_EMERGENCY = 4; // 0x4
9952    field public static final int ETWS_WARNING_TYPE_TEST_MESSAGE = 3; // 0x3
9953    field public static final int ETWS_WARNING_TYPE_TSUNAMI = 1; // 0x1
9954    field public static final int ETWS_WARNING_TYPE_UNKNOWN = -1; // 0xffffffff
9955  }
9956
9957  public final class SmsCbLocation implements android.os.Parcelable {
9958    ctor public SmsCbLocation(@NonNull String, int, int);
9959    method public int describeContents();
9960    method public int getCid();
9961    method public int getLac();
9962    method @NonNull public String getPlmn();
9963    method public boolean isInLocationArea(@NonNull android.telephony.SmsCbLocation);
9964    method public boolean isInLocationArea(@Nullable String, int, int);
9965    method public void writeToParcel(android.os.Parcel, int);
9966    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbLocation> CREATOR;
9967  }
9968
9969  public final class SmsCbMessage implements android.os.Parcelable {
9970    ctor public SmsCbMessage(int, int, int, @NonNull android.telephony.SmsCbLocation, int, @Nullable String, int, @Nullable String, int, @Nullable android.telephony.SmsCbEtwsInfo, @Nullable android.telephony.SmsCbCmasInfo, int, @Nullable java.util.List<android.telephony.CbGeoUtils.Geometry>, long, int, int);
9971    method @NonNull public static android.telephony.SmsCbMessage createFromCursor(@NonNull android.database.Cursor);
9972    method public int describeContents();
9973    method @Nullable public android.telephony.SmsCbCmasInfo getCmasWarningInfo();
9974    method @NonNull public android.content.ContentValues getContentValues();
9975    method public int getDataCodingScheme();
9976    method @Nullable public android.telephony.SmsCbEtwsInfo getEtwsWarningInfo();
9977    method public int getGeographicalScope();
9978    method @NonNull public java.util.List<android.telephony.CbGeoUtils.Geometry> getGeometries();
9979    method @Nullable public String getLanguageCode();
9980    method @NonNull public android.telephony.SmsCbLocation getLocation();
9981    method public int getMaximumWaitingDuration();
9982    method @Nullable public String getMessageBody();
9983    method public int getMessageFormat();
9984    method public int getMessagePriority();
9985    method public long getReceivedTime();
9986    method public int getSerialNumber();
9987    method public int getServiceCategory();
9988    method public int getSlotIndex();
9989    method public int getSubscriptionId();
9990    method public boolean isCmasMessage();
9991    method public boolean isEmergencyMessage();
9992    method public boolean isEtwsMessage();
9993    method public boolean needGeoFencingCheck();
9994    method public void writeToParcel(android.os.Parcel, int);
9995    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbMessage> CREATOR;
9996    field public static final int GEOGRAPHICAL_SCOPE_CELL_WIDE = 3; // 0x3
9997    field public static final int GEOGRAPHICAL_SCOPE_CELL_WIDE_IMMEDIATE = 0; // 0x0
9998    field public static final int GEOGRAPHICAL_SCOPE_LOCATION_AREA_WIDE = 2; // 0x2
9999    field public static final int GEOGRAPHICAL_SCOPE_PLMN_WIDE = 1; // 0x1
10000    field public static final int MAXIMUM_WAIT_TIME_NOT_SET = 255; // 0xff
10001    field public static final int MESSAGE_FORMAT_3GPP = 1; // 0x1
10002    field public static final int MESSAGE_FORMAT_3GPP2 = 2; // 0x2
10003    field public static final int MESSAGE_PRIORITY_EMERGENCY = 3; // 0x3
10004    field public static final int MESSAGE_PRIORITY_INTERACTIVE = 1; // 0x1
10005    field public static final int MESSAGE_PRIORITY_NORMAL = 0; // 0x0
10006    field public static final int MESSAGE_PRIORITY_URGENT = 2; // 0x2
10007  }
10008
10009  public final class SmsManager {
10010    method public boolean disableCellBroadcastRange(int, int, int);
10011    method public boolean enableCellBroadcastRange(int, int, int);
10012    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getPremiumSmsConsent(@NonNull String);
10013    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSmsCapacityOnIcc();
10014    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void sendMultipartTextMessageWithoutPersisting(String, String, java.util.List<java.lang.String>, java.util.List<android.app.PendingIntent>, java.util.List<android.app.PendingIntent>);
10015    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setPremiumSmsConsent(@NonNull String, int);
10016    field public static final int PREMIUM_SMS_CONSENT_ALWAYS_ALLOW = 3; // 0x3
10017    field public static final int PREMIUM_SMS_CONSENT_ASK_USER = 1; // 0x1
10018    field public static final int PREMIUM_SMS_CONSENT_NEVER_ALLOW = 2; // 0x2
10019    field public static final int PREMIUM_SMS_CONSENT_UNKNOWN = 0; // 0x0
10020  }
10021
10022  public class SmsMessage {
10023    method @Nullable public static android.telephony.SmsMessage createFromNativeSmsSubmitPdu(@NonNull byte[], boolean);
10024    method @Nullable public static android.telephony.SmsMessage.SubmitPdu getSmsPdu(int, int, @Nullable String, @NonNull String, @NonNull String, long);
10025    method @NonNull @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public static byte[] getSubmitPduEncodedMessage(boolean, @NonNull String, @NonNull String, int, @IntRange(from=0) int, @IntRange(from=0) int, @IntRange(from=0, to=255) int, @IntRange(from=1, to=255) int, @IntRange(from=1, to=255) int);
10026  }
10027
10028  public class SubscriptionInfo implements android.os.Parcelable {
10029    method public boolean areUiccApplicationsEnabled();
10030    method @Nullable public java.util.List<android.telephony.UiccAccessRule> getAccessRules();
10031    method public int getProfileClass();
10032    method public boolean isGroupDisabled();
10033  }
10034
10035  public class SubscriptionManager {
10036    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean canDisablePhysicalSubscription();
10037    method public boolean canManageSubscription(@NonNull android.telephony.SubscriptionInfo, @NonNull String);
10038    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int[] getActiveSubscriptionIdList();
10039    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.SubscriptionInfo getActiveSubscriptionInfoForIcc(@NonNull String);
10040    method public java.util.List<android.telephony.SubscriptionInfo> getAvailableSubscriptionInfoList();
10041    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int[] getCompleteActiveSubscriptionIdList();
10042    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getEnabledSubscriptionId(int);
10043    method @NonNull public static android.content.res.Resources getResourcesForSubId(@NonNull android.content.Context, int);
10044    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isSubscriptionEnabled(int);
10045    method public void requestEmbeddedSubscriptionInfoListRefresh();
10046    method public void requestEmbeddedSubscriptionInfoListRefresh(int);
10047    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultDataSubId(int);
10048    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultSmsSubId(int);
10049    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultVoiceSubscriptionId(int);
10050    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setPreferredDataSubscriptionId(int, boolean, @Nullable java.util.concurrent.Executor, @Nullable java.util.function.Consumer<java.lang.Integer>);
10051    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setSubscriptionEnabled(int, boolean);
10052    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUiccApplicationsEnabled(int, boolean);
10053    field @RequiresPermission(android.Manifest.permission.MANAGE_SUBSCRIPTION_PLANS) public static final String ACTION_SUBSCRIPTION_PLANS_CHANGED = "android.telephony.action.SUBSCRIPTION_PLANS_CHANGED";
10054    field @NonNull public static final android.net.Uri ADVANCED_CALLING_ENABLED_CONTENT_URI;
10055    field @Deprecated public static final int PROFILE_CLASS_DEFAULT = -1; // 0xffffffff
10056    field public static final int PROFILE_CLASS_OPERATIONAL = 2; // 0x2
10057    field public static final int PROFILE_CLASS_PROVISIONING = 1; // 0x1
10058    field public static final int PROFILE_CLASS_TESTING = 0; // 0x0
10059    field public static final int PROFILE_CLASS_UNSET = -1; // 0xffffffff
10060    field @NonNull public static final android.net.Uri VT_ENABLED_CONTENT_URI;
10061    field @NonNull public static final android.net.Uri WFC_ENABLED_CONTENT_URI;
10062    field @NonNull public static final android.net.Uri WFC_MODE_CONTENT_URI;
10063    field @NonNull public static final android.net.Uri WFC_ROAMING_ENABLED_CONTENT_URI;
10064    field @NonNull public static final android.net.Uri WFC_ROAMING_MODE_CONTENT_URI;
10065  }
10066
10067  public static class SubscriptionPlan.Builder {
10068    method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringDaily(java.time.ZonedDateTime);
10069    method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringMonthly(java.time.ZonedDateTime);
10070    method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringWeekly(java.time.ZonedDateTime);
10071  }
10072
10073  public final class TelephonyHistogram implements android.os.Parcelable {
10074    ctor public TelephonyHistogram(int, int, int);
10075    ctor public TelephonyHistogram(android.telephony.TelephonyHistogram);
10076    ctor public TelephonyHistogram(android.os.Parcel);
10077    method public void addTimeTaken(int);
10078    method public int describeContents();
10079    method public int getAverageTime();
10080    method public int getBucketCount();
10081    method public int[] getBucketCounters();
10082    method public int[] getBucketEndPoints();
10083    method public int getCategory();
10084    method public int getId();
10085    method public int getMaxTime();
10086    method public int getMinTime();
10087    method public int getSampleCount();
10088    method public void writeToParcel(android.os.Parcel, int);
10089    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.TelephonyHistogram> CREATOR;
10090    field public static final int TELEPHONY_CATEGORY_RIL = 1; // 0x1
10091  }
10092
10093  public class TelephonyManager {
10094    method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public void call(String, String);
10095    method public int checkCarrierPrivilegesForPackage(String);
10096    method public int checkCarrierPrivilegesForPackageAnyPhone(String);
10097    method public void dial(String);
10098    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean disableDataConnectivity();
10099    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean enableDataConnectivity();
10100    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean enableModemForSlot(int, boolean);
10101    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void enableVideoCalling(boolean);
10102    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getAidForAppType(int);
10103    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedCarriers(int);
10104    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getAllowedNetworkTypes();
10105    method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.ComponentName getAndUpdateDefaultRespondViaMessageApplication();
10106    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int);
10107    method public java.util.List<java.lang.String> getCarrierPackageNamesForIntent(android.content.Intent);
10108    method public java.util.List<java.lang.String> getCarrierPackageNamesForIntentAndPhone(android.content.Intent, int);
10109    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCarrierPrivilegeStatus(int);
10110    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<java.lang.String> getCarrierPrivilegedPackagesForAllActiveSubscriptions();
10111    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.CarrierRestrictionRules getCarrierRestrictionRules();
10112    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMdn();
10113    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMdn(int);
10114    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMin();
10115    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String getCdmaMin(int);
10116    method public String getCdmaPrlVersion();
10117    method public int getCurrentPhoneType();
10118    method public int getCurrentPhoneType(int);
10119    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getDataActivationState();
10120    method @Deprecated public boolean getDataEnabled();
10121    method @Deprecated public boolean getDataEnabled(int);
10122    method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.ComponentName getDefaultRespondViaMessageApplication();
10123    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getDeviceSoftwareVersion(int);
10124    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean getEmergencyCallbackMode();
10125    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getEmergencyNumberDbVersion();
10126    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getIsimDomain();
10127    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getIsimIst();
10128    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.Map<java.lang.Integer,java.lang.Integer> getLogicalToPhysicalSlotMapping();
10129    method public int getMaxNumberOfSimultaneouslyActiveSims();
10130    method public static long getMaxNumberVerificationTimeoutMillis();
10131    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String[] getMergedImsisFromGroup();
10132    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getPreferredNetworkTypeBitmask();
10133    method @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public int getRadioPowerState();
10134    method public int getSimApplicationState();
10135    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSimApplicationState(int);
10136    method public int getSimCardState();
10137    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getSimCardState(int);
10138    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.Locale getSimLocale();
10139    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getSupportedRadioAccessFamily();
10140    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public java.util.List<android.telephony.TelephonyHistogram> getTelephonyHistograms();
10141    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public android.telephony.UiccSlotInfo[] getUiccSlotsInfo();
10142    method @Nullable public android.os.Bundle getVisualVoicemailSettings();
10143    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getVoiceActivationState();
10144    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean handlePinMmi(String);
10145    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean handlePinMmiForSubscriber(int, String);
10146    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean iccCloseLogicalChannelBySlot(int, int);
10147    method @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannelBySlot(int, @Nullable String, int);
10148    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String iccTransmitApduBasicChannelBySlot(int, int, int, int, int, int, @Nullable String);
10149    method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public String iccTransmitApduLogicalChannelBySlot(int, int, int, int, int, int, int, @Nullable String);
10150    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isAnyRadioPoweredOn();
10151    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isApnMetered(int);
10152    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isApplicationOnUicc(int);
10153    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isDataConnectionAllowed();
10154    method public boolean isDataConnectivityPossible();
10155    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isDataEnabledForApn(int);
10156    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isEmergencyAssistanceEnabled();
10157    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public boolean isIccLockEnabled();
10158    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isIdle();
10159    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isLteCdmaEvdoGsmWcdmaEnabled();
10160    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isOffhook();
10161    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isOpportunisticNetworkEnabled();
10162    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isPotentialEmergencyNumber(@NonNull String);
10163    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRadioOn();
10164    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRinging();
10165    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isTetheringApnRequired();
10166    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isVideoCallingEnabled();
10167    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public boolean isVisualVoicemailEnabled(android.telecom.PhoneAccountHandle);
10168    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean matchesCurrentSimOperator(@NonNull String, int, @Nullable String);
10169    method public boolean needsOtaServiceProvisioning();
10170    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void notifyOtaEmergencyNumberDbInstalled();
10171    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean rebootRadio();
10172    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void reportDefaultNetworkStatus(boolean);
10173    method @RequiresPermission(allOf={android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.MODIFY_PHONE_STATE}) public void requestCellInfoUpdate(@NonNull android.os.WorkSource, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.TelephonyManager.CellInfoCallback);
10174    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void requestNumberVerification(@NonNull android.telephony.PhoneNumberRange, long, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.NumberVerificationCallback);
10175    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void resetAllCarrierActions();
10176    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void resetCarrierKeysForImsiEncryption();
10177    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public void resetIms(int);
10178    method @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void resetOtaEmergencyNumberDbFilePath();
10179    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean resetRadioConfig();
10180    method @RequiresPermission(android.Manifest.permission.CONNECTIVITY_INTERNAL) public void resetSettings();
10181    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int setAllowedCarriers(int, java.util.List<android.service.carrier.CarrierIdentifier>);
10182    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setAllowedNetworkTypes(long);
10183    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setCarrierDataEnabled(boolean);
10184    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int setCarrierRestrictionRules(@NonNull android.telephony.CarrierRestrictionRules);
10185    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDataActivationState(int);
10186    method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDataEnabled(int, boolean);
10187    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDataRoamingEnabled(boolean);
10188    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setMultiSimCarrierRestriction(boolean);
10189    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setOpportunisticNetworkState(boolean);
10190    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setPreferredNetworkTypeBitmask(long);
10191    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setRadio(boolean);
10192    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setRadioEnabled(boolean);
10193    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean setRadioPower(boolean);
10194    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimPowerState(int);
10195    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSimPowerStateForSlot(int, int);
10196    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSystemSelectionChannels(@NonNull java.util.List<android.telephony.RadioAccessSpecifier>, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
10197    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSystemSelectionChannels(@NonNull java.util.List<android.telephony.RadioAccessSpecifier>);
10198    method @Deprecated public void setVisualVoicemailEnabled(android.telecom.PhoneAccountHandle, boolean);
10199    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoiceActivationState(int);
10200    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void shutdownAllRadios();
10201    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean supplyPin(String);
10202    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int[] supplyPinReportResult(String);
10203    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean supplyPuk(String, String);
10204    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int[] supplyPukReportResult(String, String);
10205    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean switchSlots(int[]);
10206    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void toggleRadioOnOff();
10207    method @RequiresPermission(android.Manifest.permission.READ_ACTIVE_EMERGENCY_SESSION) public void updateOtaEmergencyNumberDbFilePath(@NonNull android.os.ParcelFileDescriptor);
10208    method public void updateServiceLocation();
10209    field @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final String ACTION_ANOMALY_REPORTED = "android.telephony.action.ANOMALY_REPORTED";
10210    field public static final String ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED = "android.intent.action.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED";
10211    field public static final String ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED = "android.intent.action.ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED";
10212    field public static final String ACTION_EMERGENCY_ASSISTANCE = "android.telephony.action.EMERGENCY_ASSISTANCE";
10213    field public static final String ACTION_EMERGENCY_CALLBACK_MODE_CHANGED = "android.intent.action.EMERGENCY_CALLBACK_MODE_CHANGED";
10214    field public static final String ACTION_EMERGENCY_CALL_STATE_CHANGED = "android.intent.action.EMERGENCY_CALL_STATE_CHANGED";
10215    field public static final String ACTION_REQUEST_OMADM_CONFIGURATION_UPDATE = "com.android.omadm.service.CONFIGURATION_UPDATE";
10216    field public static final String ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS = "android.telephony.action.SHOW_NOTICE_ECM_BLOCK_OTHERS";
10217    field public static final String ACTION_SIM_APPLICATION_STATE_CHANGED = "android.telephony.action.SIM_APPLICATION_STATE_CHANGED";
10218    field public static final String ACTION_SIM_CARD_STATE_CHANGED = "android.telephony.action.SIM_CARD_STATE_CHANGED";
10219    field public static final String ACTION_SIM_SLOT_STATUS_CHANGED = "android.telephony.action.SIM_SLOT_STATUS_CHANGED";
10220    field public static final int CARRIER_PRIVILEGE_STATUS_ERROR_LOADING_RULES = -2; // 0xfffffffe
10221    field public static final int CARRIER_PRIVILEGE_STATUS_HAS_ACCESS = 1; // 0x1
10222    field public static final int CARRIER_PRIVILEGE_STATUS_NO_ACCESS = 0; // 0x0
10223    field public static final int CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED = -1; // 0xffffffff
10224    field public static final String EXTRA_ANOMALY_DESCRIPTION = "android.telephony.extra.ANOMALY_DESCRIPTION";
10225    field public static final String EXTRA_ANOMALY_ID = "android.telephony.extra.ANOMALY_ID";
10226    field public static final String EXTRA_PHONE_IN_ECM_STATE = "android.telephony.extra.PHONE_IN_ECM_STATE";
10227    field public static final String EXTRA_PHONE_IN_EMERGENCY_CALL = "android.telephony.extra.PHONE_IN_EMERGENCY_CALL";
10228    field public static final String EXTRA_SIM_STATE = "android.telephony.extra.SIM_STATE";
10229    field public static final String EXTRA_VISUAL_VOICEMAIL_ENABLED_BY_USER_BOOL = "android.telephony.extra.VISUAL_VOICEMAIL_ENABLED_BY_USER_BOOL";
10230    field public static final String EXTRA_VOICEMAIL_SCRAMBLED_PIN_STRING = "android.telephony.extra.VOICEMAIL_SCRAMBLED_PIN_STRING";
10231    field public static final int INVALID_EMERGENCY_NUMBER_DB_VERSION = -1; // 0xffffffff
10232    field public static final int KEY_TYPE_EPDG = 1; // 0x1
10233    field public static final int KEY_TYPE_WLAN = 2; // 0x2
10234    field public static final long NETWORK_TYPE_BITMASK_1xRTT = 64L; // 0x40L
10235    field public static final long NETWORK_TYPE_BITMASK_CDMA = 8L; // 0x8L
10236    field public static final long NETWORK_TYPE_BITMASK_EDGE = 2L; // 0x2L
10237    field public static final long NETWORK_TYPE_BITMASK_EHRPD = 8192L; // 0x2000L
10238    field public static final long NETWORK_TYPE_BITMASK_EVDO_0 = 16L; // 0x10L
10239    field public static final long NETWORK_TYPE_BITMASK_EVDO_A = 32L; // 0x20L
10240    field public static final long NETWORK_TYPE_BITMASK_EVDO_B = 2048L; // 0x800L
10241    field public static final long NETWORK_TYPE_BITMASK_GPRS = 1L; // 0x1L
10242    field public static final long NETWORK_TYPE_BITMASK_GSM = 32768L; // 0x8000L
10243    field public static final long NETWORK_TYPE_BITMASK_HSDPA = 128L; // 0x80L
10244    field public static final long NETWORK_TYPE_BITMASK_HSPA = 512L; // 0x200L
10245    field public static final long NETWORK_TYPE_BITMASK_HSPAP = 16384L; // 0x4000L
10246    field public static final long NETWORK_TYPE_BITMASK_HSUPA = 256L; // 0x100L
10247    field public static final long NETWORK_TYPE_BITMASK_IWLAN = 131072L; // 0x20000L
10248    field public static final long NETWORK_TYPE_BITMASK_LTE = 4096L; // 0x1000L
10249    field public static final long NETWORK_TYPE_BITMASK_LTE_CA = 262144L; // 0x40000L
10250    field public static final long NETWORK_TYPE_BITMASK_NR = 524288L; // 0x80000L
10251    field public static final long NETWORK_TYPE_BITMASK_TD_SCDMA = 65536L; // 0x10000L
10252    field public static final long NETWORK_TYPE_BITMASK_UMTS = 4L; // 0x4L
10253    field public static final long NETWORK_TYPE_BITMASK_UNKNOWN = 0L; // 0x0L
10254    field public static final int RADIO_POWER_OFF = 0; // 0x0
10255    field public static final int RADIO_POWER_ON = 1; // 0x1
10256    field public static final int RADIO_POWER_UNAVAILABLE = 2; // 0x2
10257    field public static final int SET_CARRIER_RESTRICTION_ERROR = 2; // 0x2
10258    field public static final int SET_CARRIER_RESTRICTION_NOT_SUPPORTED = 1; // 0x1
10259    field public static final int SET_CARRIER_RESTRICTION_SUCCESS = 0; // 0x0
10260    field public static final int SIM_ACTIVATION_STATE_ACTIVATED = 2; // 0x2
10261    field public static final int SIM_ACTIVATION_STATE_ACTIVATING = 1; // 0x1
10262    field public static final int SIM_ACTIVATION_STATE_DEACTIVATED = 3; // 0x3
10263    field public static final int SIM_ACTIVATION_STATE_RESTRICTED = 4; // 0x4
10264    field public static final int SIM_ACTIVATION_STATE_UNKNOWN = 0; // 0x0
10265    field public static final int SIM_STATE_LOADED = 10; // 0xa
10266    field public static final int SIM_STATE_PRESENT = 11; // 0xb
10267    field public static final int SRVCC_STATE_HANDOVER_CANCELED = 3; // 0x3
10268    field public static final int SRVCC_STATE_HANDOVER_COMPLETED = 1; // 0x1
10269    field public static final int SRVCC_STATE_HANDOVER_FAILED = 2; // 0x2
10270    field public static final int SRVCC_STATE_HANDOVER_NONE = -1; // 0xffffffff
10271    field public static final int SRVCC_STATE_HANDOVER_STARTED = 0; // 0x0
10272  }
10273
10274  public final class UiccAccessRule implements android.os.Parcelable {
10275    ctor public UiccAccessRule(byte[], @Nullable String, long);
10276    method public int describeContents();
10277    method public int getCarrierPrivilegeStatus(android.content.pm.PackageInfo);
10278    method public int getCarrierPrivilegeStatus(android.content.pm.Signature, String);
10279    method public String getCertificateHexString();
10280    method @Nullable public String getPackageName();
10281    method public void writeToParcel(android.os.Parcel, int);
10282    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.UiccAccessRule> CREATOR;
10283  }
10284
10285  public class UiccSlotInfo implements android.os.Parcelable {
10286    ctor @Deprecated public UiccSlotInfo(boolean, boolean, String, int, int, boolean);
10287    method public int describeContents();
10288    method public String getCardId();
10289    method public int getCardStateInfo();
10290    method public boolean getIsActive();
10291    method public boolean getIsEuicc();
10292    method public boolean getIsExtendedApduSupported();
10293    method public int getLogicalSlotIdx();
10294    method public boolean isRemovable();
10295    method public void writeToParcel(android.os.Parcel, int);
10296    field public static final int CARD_STATE_INFO_ABSENT = 1; // 0x1
10297    field public static final int CARD_STATE_INFO_ERROR = 3; // 0x3
10298    field public static final int CARD_STATE_INFO_PRESENT = 2; // 0x2
10299    field public static final int CARD_STATE_INFO_RESTRICTED = 4; // 0x4
10300    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.UiccSlotInfo> CREATOR;
10301  }
10302
10303  public abstract class VisualVoicemailService extends android.app.Service {
10304    method public static final void sendVisualVoicemailSms(android.content.Context, android.telecom.PhoneAccountHandle, String, short, String, android.app.PendingIntent);
10305    method public static final void setSmsFilterSettings(android.content.Context, android.telecom.PhoneAccountHandle, android.telephony.VisualVoicemailSmsFilterSettings);
10306  }
10307
10308}
10309
10310package android.telephony.cdma {
10311
10312  public final class CdmaSmsCbProgramData implements android.os.Parcelable {
10313    method public int describeContents();
10314    method public int getCategory();
10315    method public int getOperation();
10316    method public void writeToParcel(android.os.Parcel, int);
10317    field public static final int CATEGORY_CMAS_CHILD_ABDUCTION_EMERGENCY = 4099; // 0x1003
10318    field public static final int CATEGORY_CMAS_EXTREME_THREAT = 4097; // 0x1001
10319    field public static final int CATEGORY_CMAS_LAST_RESERVED_VALUE = 4351; // 0x10ff
10320    field public static final int CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT = 4096; // 0x1000
10321    field public static final int CATEGORY_CMAS_SEVERE_THREAT = 4098; // 0x1002
10322    field public static final int CATEGORY_CMAS_TEST_MESSAGE = 4100; // 0x1004
10323    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.cdma.CdmaSmsCbProgramData> CREATOR;
10324    field public static final int OPERATION_ADD_CATEGORY = 1; // 0x1
10325    field public static final int OPERATION_CLEAR_CATEGORIES = 2; // 0x2
10326    field public static final int OPERATION_DELETE_CATEGORY = 0; // 0x0
10327  }
10328
10329}
10330
10331package android.telephony.data {
10332
10333  public final class DataCallResponse implements android.os.Parcelable {
10334    method public int describeContents();
10335    method @NonNull public java.util.List<android.net.LinkAddress> getAddresses();
10336    method public int getCause();
10337    method @NonNull public java.util.List<java.net.InetAddress> getDnsAddresses();
10338    method @NonNull public java.util.List<java.net.InetAddress> getGatewayAddresses();
10339    method public int getId();
10340    method @NonNull public String getInterfaceName();
10341    method public int getLinkStatus();
10342    method @Deprecated public int getMtu();
10343    method public int getMtuV4();
10344    method public int getMtuV6();
10345    method @NonNull public java.util.List<java.net.InetAddress> getPcscfAddresses();
10346    method public int getProtocolType();
10347    method public int getSuggestedRetryTime();
10348    method public void writeToParcel(android.os.Parcel, int);
10349    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.DataCallResponse> CREATOR;
10350    field public static final int LINK_STATUS_ACTIVE = 2; // 0x2
10351    field public static final int LINK_STATUS_DORMANT = 1; // 0x1
10352    field public static final int LINK_STATUS_INACTIVE = 0; // 0x0
10353    field public static final int LINK_STATUS_UNKNOWN = -1; // 0xffffffff
10354  }
10355
10356  public static final class DataCallResponse.Builder {
10357    ctor public DataCallResponse.Builder();
10358    method @NonNull public android.telephony.data.DataCallResponse build();
10359    method @NonNull public android.telephony.data.DataCallResponse.Builder setAddresses(@NonNull java.util.List<android.net.LinkAddress>);
10360    method @NonNull public android.telephony.data.DataCallResponse.Builder setCause(int);
10361    method @NonNull public android.telephony.data.DataCallResponse.Builder setDnsAddresses(@NonNull java.util.List<java.net.InetAddress>);
10362    method @NonNull public android.telephony.data.DataCallResponse.Builder setGatewayAddresses(@NonNull java.util.List<java.net.InetAddress>);
10363    method @NonNull public android.telephony.data.DataCallResponse.Builder setId(int);
10364    method @NonNull public android.telephony.data.DataCallResponse.Builder setInterfaceName(@NonNull String);
10365    method @NonNull public android.telephony.data.DataCallResponse.Builder setLinkStatus(int);
10366    method @Deprecated @NonNull public android.telephony.data.DataCallResponse.Builder setMtu(int);
10367    method @NonNull public android.telephony.data.DataCallResponse.Builder setMtuV4(int);
10368    method @NonNull public android.telephony.data.DataCallResponse.Builder setMtuV6(int);
10369    method @NonNull public android.telephony.data.DataCallResponse.Builder setPcscfAddresses(@NonNull java.util.List<java.net.InetAddress>);
10370    method @NonNull public android.telephony.data.DataCallResponse.Builder setProtocolType(int);
10371    method @NonNull public android.telephony.data.DataCallResponse.Builder setSuggestedRetryTime(int);
10372  }
10373
10374  public final class DataProfile implements android.os.Parcelable {
10375    method public int describeContents();
10376    method @NonNull public String getApn();
10377    method public int getAuthType();
10378    method public int getBearerBitmask();
10379    method @Deprecated public int getMtu();
10380    method public int getMtuV4();
10381    method public int getMtuV6();
10382    method @Nullable public String getPassword();
10383    method public int getProfileId();
10384    method public int getProtocolType();
10385    method public int getRoamingProtocolType();
10386    method public int getSupportedApnTypesBitmask();
10387    method public int getType();
10388    method @Nullable public String getUserName();
10389    method public boolean isEnabled();
10390    method public boolean isPersistent();
10391    method public boolean isPreferred();
10392    method public void writeToParcel(android.os.Parcel, int);
10393    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.DataProfile> CREATOR;
10394    field public static final int TYPE_3GPP = 1; // 0x1
10395    field public static final int TYPE_3GPP2 = 2; // 0x2
10396    field public static final int TYPE_COMMON = 0; // 0x0
10397  }
10398
10399  public static final class DataProfile.Builder {
10400    ctor public DataProfile.Builder();
10401    method @NonNull public android.telephony.data.DataProfile build();
10402    method @NonNull public android.telephony.data.DataProfile.Builder enable(boolean);
10403    method @NonNull public android.telephony.data.DataProfile.Builder setApn(@NonNull String);
10404    method @NonNull public android.telephony.data.DataProfile.Builder setAuthType(int);
10405    method @NonNull public android.telephony.data.DataProfile.Builder setBearerBitmask(int);
10406    method @Deprecated @NonNull public android.telephony.data.DataProfile.Builder setMtu(int);
10407    method @NonNull public android.telephony.data.DataProfile.Builder setMtuV4(int);
10408    method @NonNull public android.telephony.data.DataProfile.Builder setMtuV6(int);
10409    method @NonNull public android.telephony.data.DataProfile.Builder setPassword(@NonNull String);
10410    method @NonNull public android.telephony.data.DataProfile.Builder setPersistent(boolean);
10411    method @NonNull public android.telephony.data.DataProfile.Builder setPreferred(boolean);
10412    method @NonNull public android.telephony.data.DataProfile.Builder setProfileId(int);
10413    method @NonNull public android.telephony.data.DataProfile.Builder setProtocolType(int);
10414    method @NonNull public android.telephony.data.DataProfile.Builder setRoamingProtocolType(int);
10415    method @NonNull public android.telephony.data.DataProfile.Builder setSupportedApnTypesBitmask(int);
10416    method @NonNull public android.telephony.data.DataProfile.Builder setType(int);
10417    method @NonNull public android.telephony.data.DataProfile.Builder setUserName(@NonNull String);
10418  }
10419
10420  public abstract class DataService extends android.app.Service {
10421    ctor public DataService();
10422    method public android.os.IBinder onBind(android.content.Intent);
10423    method @Nullable public abstract android.telephony.data.DataService.DataServiceProvider onCreateDataServiceProvider(int);
10424    field public static final int REQUEST_REASON_HANDOVER = 3; // 0x3
10425    field public static final int REQUEST_REASON_NORMAL = 1; // 0x1
10426    field public static final int REQUEST_REASON_SHUTDOWN = 2; // 0x2
10427    field public static final int REQUEST_REASON_UNKNOWN = 0; // 0x0
10428    field public static final String SERVICE_INTERFACE = "android.telephony.data.DataService";
10429  }
10430
10431  public abstract class DataService.DataServiceProvider implements java.lang.AutoCloseable {
10432    ctor public DataService.DataServiceProvider(int);
10433    method public abstract void close();
10434    method public void deactivateDataCall(int, int, @Nullable android.telephony.data.DataServiceCallback);
10435    method public final int getSlotIndex();
10436    method public final void notifyDataCallListChanged(java.util.List<android.telephony.data.DataCallResponse>);
10437    method public void requestDataCallList(@NonNull android.telephony.data.DataServiceCallback);
10438    method public void setDataProfile(@NonNull java.util.List<android.telephony.data.DataProfile>, boolean, @NonNull android.telephony.data.DataServiceCallback);
10439    method public void setInitialAttachApn(@NonNull android.telephony.data.DataProfile, boolean, @NonNull android.telephony.data.DataServiceCallback);
10440    method public void setupDataCall(int, @NonNull android.telephony.data.DataProfile, boolean, boolean, int, @Nullable android.net.LinkProperties, @NonNull android.telephony.data.DataServiceCallback);
10441  }
10442
10443  public class DataServiceCallback {
10444    method public void onDataCallListChanged(@NonNull java.util.List<android.telephony.data.DataCallResponse>);
10445    method public void onDeactivateDataCallComplete(int);
10446    method public void onRequestDataCallListComplete(int, @NonNull java.util.List<android.telephony.data.DataCallResponse>);
10447    method public void onSetDataProfileComplete(int);
10448    method public void onSetInitialAttachApnComplete(int);
10449    method public void onSetupDataCallComplete(int, @Nullable android.telephony.data.DataCallResponse);
10450    field public static final int RESULT_ERROR_BUSY = 3; // 0x3
10451    field public static final int RESULT_ERROR_ILLEGAL_STATE = 4; // 0x4
10452    field public static final int RESULT_ERROR_INVALID_ARG = 2; // 0x2
10453    field public static final int RESULT_ERROR_UNSUPPORTED = 1; // 0x1
10454    field public static final int RESULT_SUCCESS = 0; // 0x0
10455  }
10456
10457  public abstract class QualifiedNetworksService extends android.app.Service {
10458    ctor public QualifiedNetworksService();
10459    method @NonNull public abstract android.telephony.data.QualifiedNetworksService.NetworkAvailabilityProvider onCreateNetworkAvailabilityProvider(int);
10460    field public static final String QUALIFIED_NETWORKS_SERVICE_INTERFACE = "android.telephony.data.QualifiedNetworksService";
10461  }
10462
10463  public abstract class QualifiedNetworksService.NetworkAvailabilityProvider implements java.lang.AutoCloseable {
10464    ctor public QualifiedNetworksService.NetworkAvailabilityProvider(int);
10465    method public abstract void close();
10466    method public final int getSlotIndex();
10467    method public final void updateQualifiedNetworkTypes(int, @NonNull java.util.List<java.lang.Integer>);
10468  }
10469
10470}
10471
10472package android.telephony.euicc {
10473
10474  public final class DownloadableSubscription implements android.os.Parcelable {
10475    method public java.util.List<android.telephony.UiccAccessRule> getAccessRules();
10476    method @Nullable public String getCarrierName();
10477  }
10478
10479  public static final class DownloadableSubscription.Builder {
10480    ctor public DownloadableSubscription.Builder();
10481    ctor public DownloadableSubscription.Builder(android.telephony.euicc.DownloadableSubscription);
10482    method public android.telephony.euicc.DownloadableSubscription build();
10483    method public android.telephony.euicc.DownloadableSubscription.Builder setAccessRules(java.util.List<android.telephony.UiccAccessRule>);
10484    method public android.telephony.euicc.DownloadableSubscription.Builder setCarrierName(String);
10485    method public android.telephony.euicc.DownloadableSubscription.Builder setConfirmationCode(String);
10486    method public android.telephony.euicc.DownloadableSubscription.Builder setEncodedActivationCode(String);
10487  }
10488
10489  public class EuiccCardManager {
10490    method public void authenticateServer(String, String, byte[], byte[], byte[], byte[], java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
10491    method public void cancelSession(String, byte[], @android.telephony.euicc.EuiccCardManager.CancelReason int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
10492    method public void deleteProfile(String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>);
10493    method public void disableProfile(String, String, boolean, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>);
10494    method public void listNotifications(String, @android.telephony.euicc.EuiccNotification.Event int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.telephony.euicc.EuiccNotification[]>);
10495    method public void loadBoundProfilePackage(String, byte[], java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
10496    method public void prepareDownload(String, @Nullable byte[], byte[], byte[], byte[], java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
10497    method public void removeNotificationFromList(String, int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>);
10498    method public void requestAllProfiles(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.service.euicc.EuiccProfileInfo[]>);
10499    method public void requestDefaultSmdpAddress(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.String>);
10500    method public void requestEuiccChallenge(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
10501    method public void requestEuiccInfo1(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
10502    method public void requestEuiccInfo2(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<byte[]>);
10503    method public void requestProfile(String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.service.euicc.EuiccProfileInfo>);
10504    method public void requestRulesAuthTable(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.telephony.euicc.EuiccRulesAuthTable>);
10505    method public void requestSmdsAddress(String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.String>);
10506    method public void resetMemory(String, @android.telephony.euicc.EuiccCardManager.ResetOption int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>);
10507    method public void retrieveNotification(String, int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.telephony.euicc.EuiccNotification>);
10508    method public void retrieveNotificationList(String, @android.telephony.euicc.EuiccNotification.Event int, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.telephony.euicc.EuiccNotification[]>);
10509    method public void setDefaultSmdpAddress(String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>);
10510    method public void setNickname(String, String, String, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<java.lang.Void>);
10511    method public void switchToProfile(String, String, boolean, java.util.concurrent.Executor, android.telephony.euicc.EuiccCardManager.ResultCallback<android.service.euicc.EuiccProfileInfo>);
10512    field public static final int CANCEL_REASON_END_USER_REJECTED = 0; // 0x0
10513    field public static final int CANCEL_REASON_POSTPONED = 1; // 0x1
10514    field public static final int CANCEL_REASON_PPR_NOT_ALLOWED = 3; // 0x3
10515    field public static final int CANCEL_REASON_TIMEOUT = 2; // 0x2
10516    field public static final int RESET_OPTION_DELETE_FIELD_LOADED_TEST_PROFILES = 2; // 0x2
10517    field public static final int RESET_OPTION_DELETE_OPERATIONAL_PROFILES = 1; // 0x1
10518    field public static final int RESET_OPTION_RESET_DEFAULT_SMDP_ADDRESS = 4; // 0x4
10519    field public static final int RESULT_CALLER_NOT_ALLOWED = -3; // 0xfffffffd
10520    field public static final int RESULT_EUICC_NOT_FOUND = -2; // 0xfffffffe
10521    field public static final int RESULT_OK = 0; // 0x0
10522    field public static final int RESULT_UNKNOWN_ERROR = -1; // 0xffffffff
10523  }
10524
10525  @IntDef(prefix={"CANCEL_REASON_"}, value={android.telephony.euicc.EuiccCardManager.CANCEL_REASON_END_USER_REJECTED, android.telephony.euicc.EuiccCardManager.CANCEL_REASON_POSTPONED, android.telephony.euicc.EuiccCardManager.CANCEL_REASON_TIMEOUT, android.telephony.euicc.EuiccCardManager.CANCEL_REASON_PPR_NOT_ALLOWED}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccCardManager.CancelReason {
10526  }
10527
10528  @IntDef(flag=true, prefix={"RESET_OPTION_"}, value={android.telephony.euicc.EuiccCardManager.RESET_OPTION_DELETE_OPERATIONAL_PROFILES, android.telephony.euicc.EuiccCardManager.RESET_OPTION_DELETE_FIELD_LOADED_TEST_PROFILES, android.telephony.euicc.EuiccCardManager.RESET_OPTION_RESET_DEFAULT_SMDP_ADDRESS}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccCardManager.ResetOption {
10529  }
10530
10531  public static interface EuiccCardManager.ResultCallback<T> {
10532    method public void onComplete(int, T);
10533  }
10534
10535  public class EuiccManager {
10536    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void continueOperation(android.content.Intent, android.os.Bundle);
10537    method @Deprecated @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void eraseSubscriptions(@NonNull android.app.PendingIntent);
10538    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void eraseSubscriptions(@android.telephony.euicc.EuiccCardManager.ResetOption int, @NonNull android.app.PendingIntent);
10539    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void getDefaultDownloadableSubscriptionList(android.app.PendingIntent);
10540    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void getDownloadableSubscriptionMetadata(android.telephony.euicc.DownloadableSubscription, android.app.PendingIntent);
10541    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public int getOtaStatus();
10542    method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public java.util.List<java.lang.String> getSupportedCountries();
10543    method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public java.util.List<java.lang.String> getUnsupportedCountries();
10544    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public boolean isSupportedCountry(@NonNull String);
10545    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void setSupportedCountries(@NonNull java.util.List<java.lang.String>);
10546    method @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void setUnsupportedCountries(@NonNull java.util.List<java.lang.String>);
10547    field public static final String ACTION_DELETE_SUBSCRIPTION_PRIVILEGED = "android.telephony.euicc.action.DELETE_SUBSCRIPTION_PRIVILEGED";
10548    field @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public static final String ACTION_OTA_STATUS_CHANGED = "android.telephony.euicc.action.OTA_STATUS_CHANGED";
10549    field public static final String ACTION_PROVISION_EMBEDDED_SUBSCRIPTION = "android.telephony.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION";
10550    field public static final String ACTION_RENAME_SUBSCRIPTION_PRIVILEGED = "android.telephony.euicc.action.RENAME_SUBSCRIPTION_PRIVILEGED";
10551    field public static final String ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED = "android.telephony.euicc.action.TOGGLE_SUBSCRIPTION_PRIVILEGED";
10552    field public static final int EUICC_ACTIVATION_TYPE_ACCOUNT_REQUIRED = 4; // 0x4
10553    field public static final int EUICC_ACTIVATION_TYPE_BACKUP = 2; // 0x2
10554    field public static final int EUICC_ACTIVATION_TYPE_DEFAULT = 1; // 0x1
10555    field public static final int EUICC_ACTIVATION_TYPE_TRANSFER = 3; // 0x3
10556    field public static final int EUICC_OTA_FAILED = 2; // 0x2
10557    field public static final int EUICC_OTA_IN_PROGRESS = 1; // 0x1
10558    field public static final int EUICC_OTA_NOT_NEEDED = 4; // 0x4
10559    field public static final int EUICC_OTA_STATUS_UNAVAILABLE = 5; // 0x5
10560    field public static final int EUICC_OTA_SUCCEEDED = 3; // 0x3
10561    field public static final String EXTRA_ACTIVATION_TYPE = "android.telephony.euicc.extra.ACTIVATION_TYPE";
10562    field public static final String EXTRA_EMBEDDED_SUBSCRIPTION_DOWNLOADABLE_SUBSCRIPTIONS = "android.telephony.euicc.extra.EMBEDDED_SUBSCRIPTION_DOWNLOADABLE_SUBSCRIPTIONS";
10563    field public static final String EXTRA_ENABLE_SUBSCRIPTION = "android.telephony.euicc.extra.ENABLE_SUBSCRIPTION";
10564    field public static final String EXTRA_FORCE_PROVISION = "android.telephony.euicc.extra.FORCE_PROVISION";
10565    field public static final String EXTRA_FROM_SUBSCRIPTION_ID = "android.telephony.euicc.extra.FROM_SUBSCRIPTION_ID";
10566    field public static final String EXTRA_PHYSICAL_SLOT_ID = "android.telephony.euicc.extra.PHYSICAL_SLOT_ID";
10567    field public static final String EXTRA_SUBSCRIPTION_ID = "android.telephony.euicc.extra.SUBSCRIPTION_ID";
10568    field public static final String EXTRA_SUBSCRIPTION_NICKNAME = "android.telephony.euicc.extra.SUBSCRIPTION_NICKNAME";
10569  }
10570
10571  @IntDef(prefix={"EUICC_OTA_"}, value={android.telephony.euicc.EuiccManager.EUICC_OTA_IN_PROGRESS, android.telephony.euicc.EuiccManager.EUICC_OTA_FAILED, android.telephony.euicc.EuiccManager.EUICC_OTA_SUCCEEDED, android.telephony.euicc.EuiccManager.EUICC_OTA_NOT_NEEDED, android.telephony.euicc.EuiccManager.EUICC_OTA_STATUS_UNAVAILABLE}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccManager.OtaStatus {
10572  }
10573
10574  public final class EuiccNotification implements android.os.Parcelable {
10575    ctor public EuiccNotification(int, String, @android.telephony.euicc.EuiccNotification.Event int, @Nullable byte[]);
10576    method public int describeContents();
10577    method @Nullable public byte[] getData();
10578    method @android.telephony.euicc.EuiccNotification.Event public int getEvent();
10579    method public int getSeq();
10580    method public String getTargetAddr();
10581    method public void writeToParcel(android.os.Parcel, int);
10582    field @android.telephony.euicc.EuiccNotification.Event public static final int ALL_EVENTS = 15; // 0xf
10583    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.euicc.EuiccNotification> CREATOR;
10584    field public static final int EVENT_DELETE = 8; // 0x8
10585    field public static final int EVENT_DISABLE = 4; // 0x4
10586    field public static final int EVENT_ENABLE = 2; // 0x2
10587    field public static final int EVENT_INSTALL = 1; // 0x1
10588  }
10589
10590  @IntDef(flag=true, prefix={"EVENT_"}, value={android.telephony.euicc.EuiccNotification.EVENT_INSTALL, android.telephony.euicc.EuiccNotification.EVENT_ENABLE, android.telephony.euicc.EuiccNotification.EVENT_DISABLE, android.telephony.euicc.EuiccNotification.EVENT_DELETE}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccNotification.Event {
10591  }
10592
10593  public final class EuiccRulesAuthTable implements android.os.Parcelable {
10594    method public int describeContents();
10595    method public int findIndex(@android.service.euicc.EuiccProfileInfo.PolicyRule int, android.service.carrier.CarrierIdentifier);
10596    method public boolean hasPolicyRuleFlag(int, @android.telephony.euicc.EuiccRulesAuthTable.PolicyRuleFlag int);
10597    method public void writeToParcel(android.os.Parcel, int);
10598    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.euicc.EuiccRulesAuthTable> CREATOR;
10599    field public static final int POLICY_RULE_FLAG_CONSENT_REQUIRED = 1; // 0x1
10600  }
10601
10602  public static final class EuiccRulesAuthTable.Builder {
10603    ctor public EuiccRulesAuthTable.Builder(int);
10604    method public android.telephony.euicc.EuiccRulesAuthTable.Builder add(int, java.util.List<android.service.carrier.CarrierIdentifier>, int);
10605    method public android.telephony.euicc.EuiccRulesAuthTable build();
10606  }
10607
10608  @IntDef(flag=true, prefix={"POLICY_RULE_FLAG_"}, value={android.telephony.euicc.EuiccRulesAuthTable.POLICY_RULE_FLAG_CONSENT_REQUIRED}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface EuiccRulesAuthTable.PolicyRuleFlag {
10609  }
10610
10611}
10612
10613package android.telephony.ims {
10614
10615  public final class ImsCallForwardInfo implements android.os.Parcelable {
10616    ctor public ImsCallForwardInfo(int, int, int, int, @NonNull String, int);
10617    method public int describeContents();
10618    method public int getCondition();
10619    method public String getNumber();
10620    method public int getServiceClass();
10621    method public int getStatus();
10622    method public int getTimeSeconds();
10623    method public int getToA();
10624    method public void writeToParcel(android.os.Parcel, int);
10625    field public static final int CDIV_CF_REASON_ALL = 4; // 0x4
10626    field public static final int CDIV_CF_REASON_ALL_CONDITIONAL = 5; // 0x5
10627    field public static final int CDIV_CF_REASON_BUSY = 1; // 0x1
10628    field public static final int CDIV_CF_REASON_NOT_LOGGED_IN = 6; // 0x6
10629    field public static final int CDIV_CF_REASON_NOT_REACHABLE = 3; // 0x3
10630    field public static final int CDIV_CF_REASON_NO_REPLY = 2; // 0x2
10631    field public static final int CDIV_CF_REASON_UNCONDITIONAL = 0; // 0x0
10632    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsCallForwardInfo> CREATOR;
10633    field public static final int STATUS_ACTIVE = 1; // 0x1
10634    field public static final int STATUS_NOT_ACTIVE = 0; // 0x0
10635    field public static final int TYPE_OF_ADDRESS_INTERNATIONAL = 145; // 0x91
10636    field public static final int TYPE_OF_ADDRESS_UNKNOWN = 129; // 0x81
10637  }
10638
10639  public final class ImsCallProfile implements android.os.Parcelable {
10640    ctor public ImsCallProfile();
10641    ctor public ImsCallProfile(int, int);
10642    ctor public ImsCallProfile(int, int, android.os.Bundle, android.telephony.ims.ImsStreamMediaProfile);
10643    method public int describeContents();
10644    method public String getCallExtra(String);
10645    method public String getCallExtra(String, String);
10646    method public boolean getCallExtraBoolean(String);
10647    method public boolean getCallExtraBoolean(String, boolean);
10648    method public int getCallExtraInt(String);
10649    method public int getCallExtraInt(String, int);
10650    method public android.os.Bundle getCallExtras();
10651    method public int getCallType();
10652    method public static int getCallTypeFromVideoState(int);
10653    method public int getCallerNumberVerificationStatus();
10654    method public int getEmergencyCallRouting();
10655    method public int getEmergencyServiceCategories();
10656    method @NonNull public java.util.List<java.lang.String> getEmergencyUrns();
10657    method public android.telephony.ims.ImsStreamMediaProfile getMediaProfile();
10658    method @NonNull public android.os.Bundle getProprietaryCallExtras();
10659    method public int getRestrictCause();
10660    method public int getServiceType();
10661    method public static int getVideoStateFromCallType(int);
10662    method public static int getVideoStateFromImsCallProfile(android.telephony.ims.ImsCallProfile);
10663    method public boolean hasKnownUserIntentEmergency();
10664    method public boolean isEmergencyCallTesting();
10665    method public boolean isVideoCall();
10666    method public boolean isVideoPaused();
10667    method public static int presentationToOir(int);
10668    method public void setCallExtra(String, String);
10669    method public void setCallExtraBoolean(String, boolean);
10670    method public void setCallExtraInt(String, int);
10671    method public void setCallRestrictCause(int);
10672    method public void setCallerNumberVerificationStatus(int);
10673    method public void setEmergencyCallRouting(int);
10674    method public void setEmergencyCallTesting(boolean);
10675    method public void setEmergencyServiceCategories(int);
10676    method public void setEmergencyUrns(@NonNull java.util.List<java.lang.String>);
10677    method public void setHasKnownUserIntentEmergency(boolean);
10678    method public void updateCallExtras(android.telephony.ims.ImsCallProfile);
10679    method public void updateCallType(android.telephony.ims.ImsCallProfile);
10680    method public void updateMediaProfile(android.telephony.ims.ImsCallProfile);
10681    method public void writeToParcel(android.os.Parcel, int);
10682    field public static final int CALL_RESTRICT_CAUSE_DISABLED = 2; // 0x2
10683    field public static final int CALL_RESTRICT_CAUSE_HD = 3; // 0x3
10684    field public static final int CALL_RESTRICT_CAUSE_NONE = 0; // 0x0
10685    field public static final int CALL_RESTRICT_CAUSE_RAT = 1; // 0x1
10686    field public static final int CALL_TYPE_VIDEO_N_VOICE = 3; // 0x3
10687    field public static final int CALL_TYPE_VOICE = 2; // 0x2
10688    field public static final int CALL_TYPE_VOICE_N_VIDEO = 1; // 0x1
10689    field public static final int CALL_TYPE_VS = 8; // 0x8
10690    field public static final int CALL_TYPE_VS_RX = 10; // 0xa
10691    field public static final int CALL_TYPE_VS_TX = 9; // 0x9
10692    field public static final int CALL_TYPE_VT = 4; // 0x4
10693    field public static final int CALL_TYPE_VT_NODIR = 7; // 0x7
10694    field public static final int CALL_TYPE_VT_RX = 6; // 0x6
10695    field public static final int CALL_TYPE_VT_TX = 5; // 0x5
10696    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsCallProfile> CREATOR;
10697    field public static final int DIALSTRING_NORMAL = 0; // 0x0
10698    field public static final int DIALSTRING_SS_CONF = 1; // 0x1
10699    field public static final int DIALSTRING_USSD = 2; // 0x2
10700    field public static final String EXTRA_ADDITIONAL_CALL_INFO = "AdditionalCallInfo";
10701    field public static final String EXTRA_ADDITIONAL_SIP_INVITE_FIELDS = "android.telephony.ims.extra.ADDITIONAL_SIP_INVITE_FIELDS";
10702    field public static final String EXTRA_CALL_DISCONNECT_CAUSE = "android.telephony.ims.extra.CALL_DISCONNECT_CAUSE";
10703    field public static final String EXTRA_CALL_NETWORK_TYPE = "android.telephony.ims.extra.CALL_NETWORK_TYPE";
10704    field @Deprecated public static final String EXTRA_CALL_RAT_TYPE = "CallRadioTech";
10705    field public static final String EXTRA_CHILD_NUMBER = "ChildNum";
10706    field public static final String EXTRA_CNA = "cna";
10707    field public static final String EXTRA_CNAP = "cnap";
10708    field public static final String EXTRA_CODEC = "Codec";
10709    field public static final String EXTRA_DIALSTRING = "dialstring";
10710    field public static final String EXTRA_DISPLAY_TEXT = "DisplayText";
10711    field public static final String EXTRA_EMERGENCY_CALL = "e_call";
10712    field public static final String EXTRA_FORWARDED_NUMBER = "android.telephony.ims.extra.FORWARDED_NUMBER";
10713    field public static final String EXTRA_IS_CALL_PULL = "CallPull";
10714    field public static final String EXTRA_OI = "oi";
10715    field public static final String EXTRA_OIR = "oir";
10716    field public static final String EXTRA_REMOTE_URI = "remote_uri";
10717    field public static final String EXTRA_USSD = "ussd";
10718    field public static final int OIR_DEFAULT = 0; // 0x0
10719    field public static final int OIR_PRESENTATION_NOT_RESTRICTED = 2; // 0x2
10720    field public static final int OIR_PRESENTATION_PAYPHONE = 4; // 0x4
10721    field public static final int OIR_PRESENTATION_RESTRICTED = 1; // 0x1
10722    field public static final int OIR_PRESENTATION_UNKNOWN = 3; // 0x3
10723    field public static final int SERVICE_TYPE_EMERGENCY = 2; // 0x2
10724    field public static final int SERVICE_TYPE_NONE = 0; // 0x0
10725    field public static final int SERVICE_TYPE_NORMAL = 1; // 0x1
10726    field public static final int VERIFICATION_STATUS_FAILED = 2; // 0x2
10727    field public static final int VERIFICATION_STATUS_NOT_VERIFIED = 0; // 0x0
10728    field public static final int VERIFICATION_STATUS_PASSED = 1; // 0x1
10729  }
10730
10731  public class ImsCallSessionListener {
10732    method public void callQualityChanged(@NonNull android.telephony.CallQuality);
10733    method public void callSessionConferenceExtendFailed(android.telephony.ims.ImsReasonInfo);
10734    method public void callSessionConferenceExtendReceived(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile);
10735    method public void callSessionConferenceExtended(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile);
10736    method public void callSessionConferenceStateUpdated(android.telephony.ims.ImsConferenceState);
10737    method @Deprecated public void callSessionHandover(int, int, android.telephony.ims.ImsReasonInfo);
10738    method @Deprecated public void callSessionHandoverFailed(int, int, android.telephony.ims.ImsReasonInfo);
10739    method public void callSessionHeld(android.telephony.ims.ImsCallProfile);
10740    method public void callSessionHoldFailed(android.telephony.ims.ImsReasonInfo);
10741    method public void callSessionHoldReceived(android.telephony.ims.ImsCallProfile);
10742    method public void callSessionInitiated(android.telephony.ims.ImsCallProfile);
10743    method public void callSessionInitiatedFailed(android.telephony.ims.ImsReasonInfo);
10744    method public void callSessionInviteParticipantsRequestDelivered();
10745    method public void callSessionInviteParticipantsRequestFailed(android.telephony.ims.ImsReasonInfo);
10746    method @Deprecated public void callSessionMayHandover(int, int);
10747    method public void callSessionMergeComplete(android.telephony.ims.stub.ImsCallSessionImplBase);
10748    method public void callSessionMergeFailed(android.telephony.ims.ImsReasonInfo);
10749    method public void callSessionMergeStarted(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile);
10750    method public void callSessionMultipartyStateChanged(boolean);
10751    method public void callSessionProgressing(android.telephony.ims.ImsStreamMediaProfile);
10752    method public void callSessionRemoveParticipantsRequestDelivered();
10753    method public void callSessionRemoveParticipantsRequestFailed(android.telephony.ims.ImsReasonInfo);
10754    method public void callSessionResumeFailed(android.telephony.ims.ImsReasonInfo);
10755    method public void callSessionResumeReceived(android.telephony.ims.ImsCallProfile);
10756    method public void callSessionResumed(android.telephony.ims.ImsCallProfile);
10757    method public void callSessionRttAudioIndicatorChanged(@NonNull android.telephony.ims.ImsStreamMediaProfile);
10758    method public void callSessionRttMessageReceived(String);
10759    method public void callSessionRttModifyRequestReceived(android.telephony.ims.ImsCallProfile);
10760    method public void callSessionRttModifyResponseReceived(int);
10761    method public void callSessionSuppServiceReceived(android.telephony.ims.ImsSuppServiceNotification);
10762    method public void callSessionTerminated(android.telephony.ims.ImsReasonInfo);
10763    method public void callSessionTtyModeReceived(int);
10764    method public void callSessionUpdateFailed(android.telephony.ims.ImsReasonInfo);
10765    method public void callSessionUpdateReceived(android.telephony.ims.ImsCallProfile);
10766    method public void callSessionUpdated(android.telephony.ims.ImsCallProfile);
10767    method public void callSessionUssdMessageReceived(int, String);
10768    method public void onHandover(int, int, @Nullable android.telephony.ims.ImsReasonInfo);
10769    method public void onHandoverFailed(int, int, @NonNull android.telephony.ims.ImsReasonInfo);
10770    method public void onMayHandover(int, int);
10771  }
10772
10773  public final class ImsConferenceState implements android.os.Parcelable {
10774    method public int describeContents();
10775    method public static int getConnectionStateForStatus(String);
10776    method public void writeToParcel(android.os.Parcel, int);
10777    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsConferenceState> CREATOR;
10778    field public static final String DISPLAY_TEXT = "display-text";
10779    field public static final String ENDPOINT = "endpoint";
10780    field public static final String SIP_STATUS_CODE = "sipstatuscode";
10781    field public static final String STATUS = "status";
10782    field public static final String STATUS_ALERTING = "alerting";
10783    field public static final String STATUS_CONNECTED = "connected";
10784    field public static final String STATUS_CONNECT_FAIL = "connect-fail";
10785    field public static final String STATUS_DIALING_IN = "dialing-in";
10786    field public static final String STATUS_DIALING_OUT = "dialing-out";
10787    field public static final String STATUS_DISCONNECTED = "disconnected";
10788    field public static final String STATUS_DISCONNECTING = "disconnecting";
10789    field public static final String STATUS_MUTED_VIA_FOCUS = "muted-via-focus";
10790    field public static final String STATUS_ON_HOLD = "on-hold";
10791    field public static final String STATUS_PENDING = "pending";
10792    field public static final String STATUS_SEND_ONLY = "sendonly";
10793    field public static final String STATUS_SEND_RECV = "sendrecv";
10794    field public static final String USER = "user";
10795    field public final java.util.HashMap<java.lang.String,android.os.Bundle> mParticipants;
10796  }
10797
10798  public final class ImsException extends java.lang.Exception {
10799    ctor public ImsException(@Nullable String);
10800    ctor public ImsException(@Nullable String, int);
10801    ctor public ImsException(@Nullable String, int, @Nullable Throwable);
10802  }
10803
10804  public final class ImsExternalCallState implements android.os.Parcelable {
10805    ctor public ImsExternalCallState(@NonNull String, @NonNull android.net.Uri, @Nullable android.net.Uri, boolean, int, int, boolean);
10806    method public int describeContents();
10807    method @NonNull public android.net.Uri getAddress();
10808    method public int getCallId();
10809    method public int getCallState();
10810    method public int getCallType();
10811    method @Nullable public android.net.Uri getLocalAddress();
10812    method public boolean isCallHeld();
10813    method public boolean isCallPullable();
10814    method public void writeToParcel(android.os.Parcel, int);
10815    field public static final int CALL_STATE_CONFIRMED = 1; // 0x1
10816    field public static final int CALL_STATE_TERMINATED = 2; // 0x2
10817    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsExternalCallState> CREATOR;
10818  }
10819
10820  public class ImsMmTelManager implements android.telephony.ims.RegistrationManager {
10821    method @Deprecated @NonNull @RequiresPermission(anyOf={android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PRECISE_PHONE_STATE}) public static android.telephony.ims.ImsMmTelManager createForSubscriptionId(int);
10822    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void getFeatureState(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>) throws android.telephony.ims.ImsException;
10823    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void getRegistrationState(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>);
10824    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getVoWiFiRoamingModeSetting();
10825    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isAvailable(int, int);
10826    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isCapable(int, int);
10827    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void isSupported(int, int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>) throws android.telephony.ims.ImsException;
10828    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void registerImsRegistrationCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.ImsMmTelManager.RegistrationCallback) throws android.telephony.ims.ImsException;
10829    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setAdvancedCallingSettingEnabled(boolean);
10830    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setRttCapabilitySetting(boolean);
10831    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiModeSetting(int);
10832    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiNonPersistent(boolean, int);
10833    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiRoamingModeSetting(int);
10834    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiRoamingSettingEnabled(boolean);
10835    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiSettingEnabled(boolean);
10836    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVtSettingEnabled(boolean);
10837    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void unregisterImsRegistrationCallback(@NonNull android.telephony.ims.ImsMmTelManager.RegistrationCallback);
10838  }
10839
10840  @Deprecated public static class ImsMmTelManager.RegistrationCallback extends android.telephony.ims.RegistrationManager.RegistrationCallback {
10841    ctor @Deprecated public ImsMmTelManager.RegistrationCallback();
10842  }
10843
10844  public final class ImsReasonInfo implements android.os.Parcelable {
10845    field public static final String EXTRA_MSG_SERVICE_NOT_AUTHORIZED = "Forbidden. Not Authorized for Service";
10846  }
10847
10848  public class ImsService extends android.app.Service {
10849    ctor public ImsService();
10850    method public android.telephony.ims.feature.MmTelFeature createMmTelFeature(int);
10851    method public android.telephony.ims.feature.RcsFeature createRcsFeature(int);
10852    method public void disableIms(int);
10853    method public void enableIms(int);
10854    method public android.telephony.ims.stub.ImsConfigImplBase getConfig(int);
10855    method public android.telephony.ims.stub.ImsRegistrationImplBase getRegistration(int);
10856    method public final void onUpdateSupportedImsFeatures(android.telephony.ims.stub.ImsFeatureConfiguration) throws android.os.RemoteException;
10857    method public android.telephony.ims.stub.ImsFeatureConfiguration querySupportedImsFeatures();
10858    method public void readyForFeatureCreation();
10859  }
10860
10861  public final class ImsSsData implements android.os.Parcelable {
10862    ctor public ImsSsData(int, int, int, int, int);
10863    method public int describeContents();
10864    method @Nullable public java.util.List<android.telephony.ims.ImsCallForwardInfo> getCallForwardInfo();
10865    method public int getRequestType();
10866    method public int getResult();
10867    method public int getServiceClass();
10868    method public int getServiceType();
10869    method @NonNull public java.util.List<android.telephony.ims.ImsSsInfo> getSuppServiceInfo();
10870    method public int getTeleserviceType();
10871    method public boolean isTypeBarring();
10872    method public boolean isTypeCf();
10873    method public boolean isTypeClip();
10874    method public boolean isTypeClir();
10875    method public boolean isTypeColp();
10876    method public boolean isTypeColr();
10877    method public boolean isTypeCw();
10878    method public boolean isTypeIcb();
10879    method public boolean isTypeInterrogation();
10880    method public boolean isTypeUnConditional();
10881    method public void writeToParcel(android.os.Parcel, int);
10882    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsSsData> CREATOR;
10883    field public static final int RESULT_SUCCESS = 0; // 0x0
10884    field public static final int SERVICE_CLASS_DATA = 2; // 0x2
10885    field public static final int SERVICE_CLASS_DATA_CIRCUIT_ASYNC = 32; // 0x20
10886    field public static final int SERVICE_CLASS_DATA_CIRCUIT_SYNC = 16; // 0x10
10887    field public static final int SERVICE_CLASS_DATA_PACKET_ACCESS = 64; // 0x40
10888    field public static final int SERVICE_CLASS_DATA_PAD = 128; // 0x80
10889    field public static final int SERVICE_CLASS_FAX = 4; // 0x4
10890    field public static final int SERVICE_CLASS_NONE = 0; // 0x0
10891    field public static final int SERVICE_CLASS_SMS = 8; // 0x8
10892    field public static final int SERVICE_CLASS_VOICE = 1; // 0x1
10893    field public static final int SS_ACTIVATION = 0; // 0x0
10894    field public static final int SS_ALL_BARRING = 18; // 0x12
10895    field public static final int SS_ALL_DATA_TELESERVICES = 3; // 0x3
10896    field public static final int SS_ALL_TELESERVICES_EXCEPT_SMS = 5; // 0x5
10897    field public static final int SS_ALL_TELESEVICES = 1; // 0x1
10898    field public static final int SS_ALL_TELE_AND_BEARER_SERVICES = 0; // 0x0
10899    field public static final int SS_BAIC = 16; // 0x10
10900    field public static final int SS_BAIC_ROAMING = 17; // 0x11
10901    field public static final int SS_BAOC = 13; // 0xd
10902    field public static final int SS_BAOIC = 14; // 0xe
10903    field public static final int SS_BAOIC_EXC_HOME = 15; // 0xf
10904    field public static final int SS_CFU = 0; // 0x0
10905    field public static final int SS_CFUT = 6; // 0x6
10906    field public static final int SS_CF_ALL = 4; // 0x4
10907    field public static final int SS_CF_ALL_CONDITIONAL = 5; // 0x5
10908    field public static final int SS_CF_BUSY = 1; // 0x1
10909    field public static final int SS_CF_NOT_REACHABLE = 3; // 0x3
10910    field public static final int SS_CF_NO_REPLY = 2; // 0x2
10911    field public static final int SS_CLIP = 7; // 0x7
10912    field public static final int SS_CLIR = 8; // 0x8
10913    field public static final int SS_CNAP = 11; // 0xb
10914    field public static final int SS_COLP = 9; // 0x9
10915    field public static final int SS_COLR = 10; // 0xa
10916    field public static final int SS_DEACTIVATION = 1; // 0x1
10917    field public static final int SS_ERASURE = 4; // 0x4
10918    field public static final int SS_INCOMING_BARRING = 20; // 0x14
10919    field public static final int SS_INCOMING_BARRING_ANONYMOUS = 22; // 0x16
10920    field public static final int SS_INCOMING_BARRING_DN = 21; // 0x15
10921    field public static final int SS_INTERROGATION = 2; // 0x2
10922    field public static final int SS_OUTGOING_BARRING = 19; // 0x13
10923    field public static final int SS_REGISTRATION = 3; // 0x3
10924    field public static final int SS_SMS_SERVICES = 4; // 0x4
10925    field public static final int SS_TELEPHONY = 2; // 0x2
10926    field public static final int SS_WAIT = 12; // 0xc
10927  }
10928
10929  public static final class ImsSsData.Builder {
10930    ctor public ImsSsData.Builder(int, int, int, int, int);
10931    method @NonNull public android.telephony.ims.ImsSsData build();
10932    method @NonNull public android.telephony.ims.ImsSsData.Builder setCallForwardingInfo(@NonNull java.util.List<android.telephony.ims.ImsCallForwardInfo>);
10933    method @NonNull public android.telephony.ims.ImsSsData.Builder setSuppServiceInfo(@NonNull java.util.List<android.telephony.ims.ImsSsInfo>);
10934  }
10935
10936  public final class ImsSsInfo implements android.os.Parcelable {
10937    ctor @Deprecated public ImsSsInfo(int, @Nullable String);
10938    method public int describeContents();
10939    method public int getClirInterrogationStatus();
10940    method public int getClirOutgoingState();
10941    method @Deprecated public String getIcbNum();
10942    method @Nullable public String getIncomingCommunicationBarringNumber();
10943    method public int getProvisionStatus();
10944    method public int getStatus();
10945    method public void writeToParcel(android.os.Parcel, int);
10946    field public static final int CLIR_OUTGOING_DEFAULT = 0; // 0x0
10947    field public static final int CLIR_OUTGOING_INVOCATION = 1; // 0x1
10948    field public static final int CLIR_OUTGOING_SUPPRESSION = 2; // 0x2
10949    field public static final int CLIR_STATUS_NOT_PROVISIONED = 0; // 0x0
10950    field public static final int CLIR_STATUS_PROVISIONED_PERMANENT = 1; // 0x1
10951    field public static final int CLIR_STATUS_TEMPORARILY_ALLOWED = 4; // 0x4
10952    field public static final int CLIR_STATUS_TEMPORARILY_RESTRICTED = 3; // 0x3
10953    field public static final int CLIR_STATUS_UNKNOWN = 2; // 0x2
10954    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsSsInfo> CREATOR;
10955    field public static final int DISABLED = 0; // 0x0
10956    field public static final int ENABLED = 1; // 0x1
10957    field public static final int NOT_REGISTERED = -1; // 0xffffffff
10958    field public static final int SERVICE_NOT_PROVISIONED = 0; // 0x0
10959    field public static final int SERVICE_PROVISIONED = 1; // 0x1
10960    field public static final int SERVICE_PROVISIONING_UNKNOWN = -1; // 0xffffffff
10961  }
10962
10963  public static final class ImsSsInfo.Builder {
10964    ctor public ImsSsInfo.Builder(int);
10965    method @NonNull public android.telephony.ims.ImsSsInfo build();
10966    method @NonNull public android.telephony.ims.ImsSsInfo.Builder setClirInterrogationStatus(int);
10967    method @NonNull public android.telephony.ims.ImsSsInfo.Builder setClirOutgoingState(int);
10968    method @NonNull public android.telephony.ims.ImsSsInfo.Builder setIncomingCommunicationBarringNumber(@NonNull String);
10969    method @NonNull public android.telephony.ims.ImsSsInfo.Builder setProvisionStatus(int);
10970  }
10971
10972  public final class ImsStreamMediaProfile implements android.os.Parcelable {
10973    ctor public ImsStreamMediaProfile(int, int, int, int, int);
10974    method public void copyFrom(android.telephony.ims.ImsStreamMediaProfile);
10975    method public int describeContents();
10976    method public int getAudioDirection();
10977    method public int getAudioQuality();
10978    method public int getRttMode();
10979    method public int getVideoDirection();
10980    method public int getVideoQuality();
10981    method public boolean isReceivingRttAudio();
10982    method public boolean isRttCall();
10983    method public void setReceivingRttAudio(boolean);
10984    method public void setRttMode(int);
10985    method public void writeToParcel(android.os.Parcel, int);
10986    field public static final int AUDIO_QUALITY_AMR = 1; // 0x1
10987    field public static final int AUDIO_QUALITY_AMR_WB = 2; // 0x2
10988    field public static final int AUDIO_QUALITY_EVRC = 4; // 0x4
10989    field public static final int AUDIO_QUALITY_EVRC_B = 5; // 0x5
10990    field public static final int AUDIO_QUALITY_EVRC_NW = 7; // 0x7
10991    field public static final int AUDIO_QUALITY_EVRC_WB = 6; // 0x6
10992    field public static final int AUDIO_QUALITY_EVS_FB = 20; // 0x14
10993    field public static final int AUDIO_QUALITY_EVS_NB = 17; // 0x11
10994    field public static final int AUDIO_QUALITY_EVS_SWB = 19; // 0x13
10995    field public static final int AUDIO_QUALITY_EVS_WB = 18; // 0x12
10996    field public static final int AUDIO_QUALITY_G711A = 13; // 0xd
10997    field public static final int AUDIO_QUALITY_G711AB = 15; // 0xf
10998    field public static final int AUDIO_QUALITY_G711U = 11; // 0xb
10999    field public static final int AUDIO_QUALITY_G722 = 14; // 0xe
11000    field public static final int AUDIO_QUALITY_G723 = 12; // 0xc
11001    field public static final int AUDIO_QUALITY_G729 = 16; // 0x10
11002    field public static final int AUDIO_QUALITY_GSM_EFR = 8; // 0x8
11003    field public static final int AUDIO_QUALITY_GSM_FR = 9; // 0x9
11004    field public static final int AUDIO_QUALITY_GSM_HR = 10; // 0xa
11005    field public static final int AUDIO_QUALITY_NONE = 0; // 0x0
11006    field public static final int AUDIO_QUALITY_QCELP13K = 3; // 0x3
11007    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsStreamMediaProfile> CREATOR;
11008    field public static final int DIRECTION_INACTIVE = 0; // 0x0
11009    field public static final int DIRECTION_INVALID = -1; // 0xffffffff
11010    field public static final int DIRECTION_RECEIVE = 1; // 0x1
11011    field public static final int DIRECTION_SEND = 2; // 0x2
11012    field public static final int DIRECTION_SEND_RECEIVE = 3; // 0x3
11013    field public static final int RTT_MODE_DISABLED = 0; // 0x0
11014    field public static final int RTT_MODE_FULL = 1; // 0x1
11015    field public static final int VIDEO_QUALITY_NONE = 0; // 0x0
11016    field public static final int VIDEO_QUALITY_QCIF = 1; // 0x1
11017    field public static final int VIDEO_QUALITY_QVGA_LANDSCAPE = 2; // 0x2
11018    field public static final int VIDEO_QUALITY_QVGA_PORTRAIT = 4; // 0x4
11019    field public static final int VIDEO_QUALITY_VGA_LANDSCAPE = 8; // 0x8
11020    field public static final int VIDEO_QUALITY_VGA_PORTRAIT = 16; // 0x10
11021  }
11022
11023  public final class ImsSuppServiceNotification implements android.os.Parcelable {
11024    ctor public ImsSuppServiceNotification(int, int, int, int, String, String[]);
11025    method public int describeContents();
11026    method public void writeToParcel(android.os.Parcel, int);
11027    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsSuppServiceNotification> CREATOR;
11028    field public final int code;
11029    field public final String[] history;
11030    field public final int index;
11031    field public final int notificationType;
11032    field public final String number;
11033    field public final int type;
11034  }
11035
11036  public class ImsUtListener {
11037    method public void onLineIdentificationSupplementaryServiceResponse(int, @NonNull android.telephony.ims.ImsSsInfo);
11038    method public void onSupplementaryServiceIndication(android.telephony.ims.ImsSsData);
11039    method public void onUtConfigurationCallBarringQueried(int, android.telephony.ims.ImsSsInfo[]);
11040    method public void onUtConfigurationCallForwardQueried(int, android.telephony.ims.ImsCallForwardInfo[]);
11041    method public void onUtConfigurationCallWaitingQueried(int, android.telephony.ims.ImsSsInfo[]);
11042    method @Deprecated public void onUtConfigurationQueried(int, android.os.Bundle);
11043    method public void onUtConfigurationQueryFailed(int, android.telephony.ims.ImsReasonInfo);
11044    method public void onUtConfigurationUpdateFailed(int, android.telephony.ims.ImsReasonInfo);
11045    method public void onUtConfigurationUpdated(int);
11046    field @Deprecated public static final String BUNDLE_KEY_CLIR = "queryClir";
11047    field @Deprecated public static final String BUNDLE_KEY_SSINFO = "imsSsInfo";
11048  }
11049
11050  public abstract class ImsVideoCallProvider {
11051    ctor public ImsVideoCallProvider();
11052    method public void changeCallDataUsage(long);
11053    method public void changeCameraCapabilities(android.telecom.VideoProfile.CameraCapabilities);
11054    method public void changePeerDimensions(int, int);
11055    method public void changeVideoQuality(int);
11056    method public void handleCallSessionEvent(int);
11057    method public abstract void onRequestCallDataUsage();
11058    method public abstract void onRequestCameraCapabilities();
11059    method public abstract void onSendSessionModifyRequest(android.telecom.VideoProfile, android.telecom.VideoProfile);
11060    method public abstract void onSendSessionModifyResponse(android.telecom.VideoProfile);
11061    method public abstract void onSetCamera(String);
11062    method public void onSetCamera(String, int);
11063    method public abstract void onSetDeviceOrientation(int);
11064    method public abstract void onSetDisplaySurface(android.view.Surface);
11065    method public abstract void onSetPauseImage(android.net.Uri);
11066    method public abstract void onSetPreviewSurface(android.view.Surface);
11067    method public abstract void onSetZoom(float);
11068    method public void receiveSessionModifyRequest(android.telecom.VideoProfile);
11069    method public void receiveSessionModifyResponse(int, android.telecom.VideoProfile, android.telecom.VideoProfile);
11070  }
11071
11072  public class ProvisioningManager {
11073    method @NonNull public static android.telephony.ims.ProvisioningManager createForSubscriptionId(int);
11074    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public int getProvisioningIntValue(int);
11075    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public boolean getProvisioningStatusForCapability(int, int);
11076    method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public String getProvisioningStringValue(int);
11077    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) @WorkerThread public boolean getRcsProvisioningStatusForCapability(int);
11078    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void notifyRcsAutoConfigurationReceived(@NonNull byte[], boolean);
11079    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void registerProvisioningChangedCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.ProvisioningManager.Callback) throws android.telephony.ims.ImsException;
11080    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public int setProvisioningIntValue(int, int);
11081    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public void setProvisioningStatusForCapability(int, int, boolean);
11082    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public int setProvisioningStringValue(int, @NonNull String);
11083    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public void setRcsProvisioningStatusForCapability(int, boolean);
11084    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void unregisterProvisioningChangedCallback(@NonNull android.telephony.ims.ProvisioningManager.Callback);
11085    field public static final int KEY_VOICE_OVER_WIFI_MODE_OVERRIDE = 27; // 0x1b
11086    field public static final int KEY_VOICE_OVER_WIFI_ROAMING_ENABLED_OVERRIDE = 26; // 0x1a
11087    field public static final int PROVISIONING_VALUE_DISABLED = 0; // 0x0
11088    field public static final int PROVISIONING_VALUE_ENABLED = 1; // 0x1
11089    field public static final String STRING_QUERY_RESULT_ERROR_GENERIC = "STRING_QUERY_RESULT_ERROR_GENERIC";
11090    field public static final String STRING_QUERY_RESULT_ERROR_NOT_READY = "STRING_QUERY_RESULT_ERROR_NOT_READY";
11091  }
11092
11093  public static class ProvisioningManager.Callback {
11094    ctor public ProvisioningManager.Callback();
11095    method public void onProvisioningIntChanged(int, int);
11096    method public void onProvisioningStringChanged(int, @NonNull String);
11097  }
11098
11099  public class RcsUceAdapter {
11100    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUceSettingEnabled(boolean) throws android.telephony.ims.ImsException;
11101  }
11102
11103}
11104
11105package android.telephony.ims.feature {
11106
11107  public final class CapabilityChangeRequest implements android.os.Parcelable {
11108    method public void addCapabilitiesToDisableForTech(int, int);
11109    method public void addCapabilitiesToEnableForTech(int, int);
11110    method public int describeContents();
11111    method public java.util.List<android.telephony.ims.feature.CapabilityChangeRequest.CapabilityPair> getCapabilitiesToDisable();
11112    method public java.util.List<android.telephony.ims.feature.CapabilityChangeRequest.CapabilityPair> getCapabilitiesToEnable();
11113    method public void writeToParcel(android.os.Parcel, int);
11114    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.feature.CapabilityChangeRequest> CREATOR;
11115  }
11116
11117  public static class CapabilityChangeRequest.CapabilityPair {
11118    ctor public CapabilityChangeRequest.CapabilityPair(int, int);
11119    method public int getCapability();
11120    method public int getRadioTech();
11121  }
11122
11123  public abstract class ImsFeature {
11124    ctor public ImsFeature();
11125    method public abstract void changeEnabledCapabilities(android.telephony.ims.feature.CapabilityChangeRequest, android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy);
11126    method public int getFeatureState();
11127    method public final int getSlotIndex();
11128    method public abstract void onFeatureReady();
11129    method public abstract void onFeatureRemoved();
11130    method public final void setFeatureState(int);
11131    field public static final int CAPABILITY_ERROR_GENERIC = -1; // 0xffffffff
11132    field public static final int CAPABILITY_SUCCESS = 0; // 0x0
11133    field public static final int FEATURE_EMERGENCY_MMTEL = 0; // 0x0
11134    field public static final int FEATURE_MMTEL = 1; // 0x1
11135    field public static final int FEATURE_RCS = 2; // 0x2
11136    field public static final int STATE_INITIALIZING = 1; // 0x1
11137    field public static final int STATE_READY = 2; // 0x2
11138    field public static final int STATE_UNAVAILABLE = 0; // 0x0
11139  }
11140
11141  @Deprecated public static class ImsFeature.Capabilities {
11142    field @Deprecated protected int mCapabilities;
11143  }
11144
11145  protected static class ImsFeature.CapabilityCallbackProxy {
11146    method public void onChangeCapabilityConfigurationError(int, int, int);
11147  }
11148
11149  public class MmTelFeature extends android.telephony.ims.feature.ImsFeature {
11150    ctor public MmTelFeature();
11151    method public void changeEnabledCapabilities(@NonNull android.telephony.ims.feature.CapabilityChangeRequest, @NonNull android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy);
11152    method @Nullable public android.telephony.ims.ImsCallProfile createCallProfile(int, int);
11153    method @Nullable public android.telephony.ims.stub.ImsCallSessionImplBase createCallSession(@NonNull android.telephony.ims.ImsCallProfile);
11154    method @NonNull public android.telephony.ims.stub.ImsEcbmImplBase getEcbm();
11155    method @NonNull public android.telephony.ims.stub.ImsMultiEndpointImplBase getMultiEndpoint();
11156    method @NonNull public android.telephony.ims.stub.ImsSmsImplBase getSmsImplementation();
11157    method @NonNull public android.telephony.ims.stub.ImsUtImplBase getUt();
11158    method public final void notifyCapabilitiesStatusChanged(@NonNull android.telephony.ims.feature.MmTelFeature.MmTelCapabilities);
11159    method public final void notifyIncomingCall(@NonNull android.telephony.ims.stub.ImsCallSessionImplBase, @NonNull android.os.Bundle);
11160    method public final void notifyRejectedCall(@NonNull android.telephony.ims.ImsCallProfile, @NonNull android.telephony.ims.ImsReasonInfo);
11161    method public final void notifyVoiceMessageCountUpdate(int);
11162    method public void onFeatureReady();
11163    method public void onFeatureRemoved();
11164    method public boolean queryCapabilityConfiguration(int, int);
11165    method @NonNull public final android.telephony.ims.feature.MmTelFeature.MmTelCapabilities queryCapabilityStatus();
11166    method public void setUiTtyMode(int, @Nullable android.os.Message);
11167    method public int shouldProcessCall(@NonNull String[]);
11168    field public static final String EXTRA_IS_UNKNOWN_CALL = "android.telephony.ims.feature.extra.IS_UNKNOWN_CALL";
11169    field public static final String EXTRA_IS_USSD = "android.telephony.ims.feature.extra.IS_USSD";
11170    field public static final int PROCESS_CALL_CSFB = 1; // 0x1
11171    field public static final int PROCESS_CALL_IMS = 0; // 0x0
11172  }
11173
11174  public static class MmTelFeature.MmTelCapabilities extends android.telephony.ims.feature.ImsFeature.Capabilities {
11175    ctor public MmTelFeature.MmTelCapabilities();
11176    ctor @Deprecated public MmTelFeature.MmTelCapabilities(android.telephony.ims.feature.ImsFeature.Capabilities);
11177    ctor public MmTelFeature.MmTelCapabilities(int);
11178    method public final void addCapabilities(int);
11179    method public final boolean isCapable(int);
11180    method public final void removeCapabilities(int);
11181  }
11182
11183  public class RcsFeature extends android.telephony.ims.feature.ImsFeature {
11184    ctor public RcsFeature();
11185    method public void changeEnabledCapabilities(@NonNull android.telephony.ims.feature.CapabilityChangeRequest, @NonNull android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy);
11186    method public void onFeatureReady();
11187    method public void onFeatureRemoved();
11188  }
11189
11190}
11191
11192package android.telephony.ims.stub {
11193
11194  public class ImsCallSessionImplBase implements java.lang.AutoCloseable {
11195    ctor public ImsCallSessionImplBase();
11196    method public void accept(int, android.telephony.ims.ImsStreamMediaProfile);
11197    method public void close();
11198    method public void deflect(String);
11199    method public void extendToConference(String[]);
11200    method public String getCallId();
11201    method public android.telephony.ims.ImsCallProfile getCallProfile();
11202    method public android.telephony.ims.ImsVideoCallProvider getImsVideoCallProvider();
11203    method public android.telephony.ims.ImsCallProfile getLocalCallProfile();
11204    method public String getProperty(String);
11205    method public android.telephony.ims.ImsCallProfile getRemoteCallProfile();
11206    method public int getState();
11207    method public void hold(android.telephony.ims.ImsStreamMediaProfile);
11208    method public void inviteParticipants(String[]);
11209    method public boolean isInCall();
11210    method public boolean isMultiparty();
11211    method public void merge();
11212    method public void reject(int);
11213    method public void removeParticipants(String[]);
11214    method public void resume(android.telephony.ims.ImsStreamMediaProfile);
11215    method public void sendDtmf(char, android.os.Message);
11216    method public void sendRttMessage(String);
11217    method public void sendRttModifyRequest(android.telephony.ims.ImsCallProfile);
11218    method public void sendRttModifyResponse(boolean);
11219    method public void sendUssd(String);
11220    method public void setListener(android.telephony.ims.ImsCallSessionListener);
11221    method public void setMute(boolean);
11222    method public void start(String, android.telephony.ims.ImsCallProfile);
11223    method public void startConference(String[], android.telephony.ims.ImsCallProfile);
11224    method public void startDtmf(char);
11225    method public void stopDtmf();
11226    method public void terminate(int);
11227    method public void update(int, android.telephony.ims.ImsStreamMediaProfile);
11228    field public static final int USSD_MODE_NOTIFY = 0; // 0x0
11229    field public static final int USSD_MODE_REQUEST = 1; // 0x1
11230  }
11231
11232  public static class ImsCallSessionImplBase.State {
11233    method public static String toString(int);
11234    field public static final int ESTABLISHED = 4; // 0x4
11235    field public static final int ESTABLISHING = 3; // 0x3
11236    field public static final int IDLE = 0; // 0x0
11237    field public static final int INITIATED = 1; // 0x1
11238    field public static final int INVALID = -1; // 0xffffffff
11239    field public static final int NEGOTIATING = 2; // 0x2
11240    field public static final int REESTABLISHING = 6; // 0x6
11241    field public static final int RENEGOTIATING = 5; // 0x5
11242    field public static final int TERMINATED = 8; // 0x8
11243    field public static final int TERMINATING = 7; // 0x7
11244  }
11245
11246  public class ImsConfigImplBase {
11247    ctor public ImsConfigImplBase();
11248    method public int getConfigInt(int);
11249    method public String getConfigString(int);
11250    method public final void notifyProvisionedValueChanged(int, int);
11251    method public final void notifyProvisionedValueChanged(int, String);
11252    method public void notifyRcsAutoConfigurationReceived(@NonNull byte[], boolean);
11253    method public int setConfig(int, int);
11254    method public int setConfig(int, String);
11255    field public static final int CONFIG_RESULT_FAILED = 1; // 0x1
11256    field public static final int CONFIG_RESULT_SUCCESS = 0; // 0x0
11257    field public static final int CONFIG_RESULT_UNKNOWN = -1; // 0xffffffff
11258  }
11259
11260  public class ImsEcbmImplBase {
11261    ctor public ImsEcbmImplBase();
11262    method public final void enteredEcbm();
11263    method public void exitEmergencyCallbackMode();
11264    method public final void exitedEcbm();
11265  }
11266
11267  public final class ImsFeatureConfiguration implements android.os.Parcelable {
11268    method public int describeContents();
11269    method public java.util.Set<android.telephony.ims.stub.ImsFeatureConfiguration.FeatureSlotPair> getServiceFeatures();
11270    method public void writeToParcel(android.os.Parcel, int);
11271    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.stub.ImsFeatureConfiguration> CREATOR;
11272  }
11273
11274  public static class ImsFeatureConfiguration.Builder {
11275    ctor public ImsFeatureConfiguration.Builder();
11276    method public android.telephony.ims.stub.ImsFeatureConfiguration.Builder addFeature(int, int);
11277    method public android.telephony.ims.stub.ImsFeatureConfiguration build();
11278  }
11279
11280  public static final class ImsFeatureConfiguration.FeatureSlotPair {
11281    ctor public ImsFeatureConfiguration.FeatureSlotPair(int, int);
11282    field public final int featureType;
11283    field public final int slotId;
11284  }
11285
11286  public class ImsMultiEndpointImplBase {
11287    ctor public ImsMultiEndpointImplBase();
11288    method public final void onImsExternalCallStateUpdate(java.util.List<android.telephony.ims.ImsExternalCallState>);
11289    method public void requestImsExternalCallStateInfo();
11290  }
11291
11292  public class ImsRegistrationImplBase {
11293    ctor public ImsRegistrationImplBase();
11294    method public final void onDeregistered(android.telephony.ims.ImsReasonInfo);
11295    method public final void onRegistered(int);
11296    method public final void onRegistering(int);
11297    method public final void onSubscriberAssociatedUriChanged(android.net.Uri[]);
11298    method public final void onTechnologyChangeFailed(int, android.telephony.ims.ImsReasonInfo);
11299    field public static final int REGISTRATION_TECH_IWLAN = 1; // 0x1
11300    field public static final int REGISTRATION_TECH_LTE = 0; // 0x0
11301    field public static final int REGISTRATION_TECH_NONE = -1; // 0xffffffff
11302  }
11303
11304  public class ImsSmsImplBase {
11305    ctor public ImsSmsImplBase();
11306    method public void acknowledgeSms(int, @IntRange(from=0, to=65535) int, int);
11307    method public void acknowledgeSmsReport(int, @IntRange(from=0, to=65535) int, int);
11308    method public String getSmsFormat();
11309    method public void onReady();
11310    method @Deprecated public final void onSendSmsResult(int, @IntRange(from=0, to=65535) int, int, int) throws java.lang.RuntimeException;
11311    method public final void onSendSmsResultError(int, @IntRange(from=0, to=65535) int, int, int, int) throws java.lang.RuntimeException;
11312    method public final void onSendSmsResultSuccess(int, @IntRange(from=0, to=65535) int) throws java.lang.RuntimeException;
11313    method public final void onSmsReceived(int, String, byte[]) throws java.lang.RuntimeException;
11314    method @Deprecated public final void onSmsStatusReportReceived(int, @IntRange(from=0, to=65535) int, String, byte[]) throws java.lang.RuntimeException;
11315    method public final void onSmsStatusReportReceived(int, String, byte[]) throws java.lang.RuntimeException;
11316    method public void sendSms(int, @IntRange(from=0, to=65535) int, String, String, boolean, byte[]);
11317    field public static final int DELIVER_STATUS_ERROR_GENERIC = 2; // 0x2
11318    field public static final int DELIVER_STATUS_ERROR_NO_MEMORY = 3; // 0x3
11319    field public static final int DELIVER_STATUS_ERROR_REQUEST_NOT_SUPPORTED = 4; // 0x4
11320    field public static final int DELIVER_STATUS_OK = 1; // 0x1
11321    field public static final int RESULT_NO_NETWORK_ERROR = -1; // 0xffffffff
11322    field public static final int SEND_STATUS_ERROR = 2; // 0x2
11323    field public static final int SEND_STATUS_ERROR_FALLBACK = 4; // 0x4
11324    field public static final int SEND_STATUS_ERROR_RETRY = 3; // 0x3
11325    field public static final int SEND_STATUS_OK = 1; // 0x1
11326    field public static final int STATUS_REPORT_STATUS_ERROR = 2; // 0x2
11327    field public static final int STATUS_REPORT_STATUS_OK = 1; // 0x1
11328  }
11329
11330  public class ImsUtImplBase {
11331    ctor public ImsUtImplBase();
11332    method public void close();
11333    method public int queryCallBarring(int);
11334    method public int queryCallBarringForServiceClass(int, int);
11335    method public int queryCallForward(int, String);
11336    method public int queryCallWaiting();
11337    method public int queryClip();
11338    method public int queryClir();
11339    method public int queryColp();
11340    method public int queryColr();
11341    method public void setListener(android.telephony.ims.ImsUtListener);
11342    method public int transact(android.os.Bundle);
11343    method public int updateCallBarring(int, int, String[]);
11344    method public int updateCallBarringForServiceClass(int, int, String[], int);
11345    method public int updateCallForward(int, int, String, int, int);
11346    method public int updateCallWaiting(boolean, int);
11347    method public int updateClip(boolean);
11348    method public int updateClir(int);
11349    method public int updateColp(boolean);
11350    method public int updateColr(int);
11351  }
11352
11353}
11354
11355package android.telephony.mbms {
11356
11357  public static class DownloadRequest.Builder {
11358    method public android.telephony.mbms.DownloadRequest.Builder setServiceId(String);
11359  }
11360
11361  public final class FileInfo implements android.os.Parcelable {
11362    ctor public FileInfo(android.net.Uri, String);
11363  }
11364
11365  public final class FileServiceInfo extends android.telephony.mbms.ServiceInfo implements android.os.Parcelable {
11366    ctor public FileServiceInfo(java.util.Map<java.util.Locale,java.lang.String>, String, java.util.List<java.util.Locale>, String, java.util.Date, java.util.Date, java.util.List<android.telephony.mbms.FileInfo>);
11367  }
11368
11369  public class MbmsDownloadReceiver extends android.content.BroadcastReceiver {
11370    field public static final int RESULT_APP_NOTIFICATION_ERROR = 6; // 0x6
11371    field public static final int RESULT_BAD_TEMP_FILE_ROOT = 3; // 0x3
11372    field public static final int RESULT_DOWNLOAD_FINALIZATION_ERROR = 4; // 0x4
11373    field public static final int RESULT_INVALID_ACTION = 1; // 0x1
11374    field public static final int RESULT_MALFORMED_INTENT = 2; // 0x2
11375    field public static final int RESULT_OK = 0; // 0x0
11376    field public static final int RESULT_TEMP_FILE_GENERATION_ERROR = 5; // 0x5
11377  }
11378
11379  public final class StreamingServiceInfo extends android.telephony.mbms.ServiceInfo implements android.os.Parcelable {
11380    ctor public StreamingServiceInfo(java.util.Map<java.util.Locale,java.lang.String>, String, java.util.List<java.util.Locale>, String, java.util.Date, java.util.Date);
11381  }
11382
11383  public final class UriPathPair implements android.os.Parcelable {
11384    method public int describeContents();
11385    method public android.net.Uri getContentUri();
11386    method public android.net.Uri getFilePathUri();
11387    method public void writeToParcel(android.os.Parcel, int);
11388    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.mbms.UriPathPair> CREATOR;
11389  }
11390
11391}
11392
11393package android.telephony.mbms.vendor {
11394
11395  public class MbmsDownloadServiceBase extends android.os.Binder implements android.os.IInterface {
11396    ctor public MbmsDownloadServiceBase();
11397    method public int addProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException;
11398    method public int addStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException;
11399    method public android.os.IBinder asBinder();
11400    method public int cancelDownload(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException;
11401    method public void dispose(int) throws android.os.RemoteException;
11402    method public int download(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException;
11403    method public int initialize(int, android.telephony.mbms.MbmsDownloadSessionCallback) throws android.os.RemoteException;
11404    method @NonNull public java.util.List<android.telephony.mbms.DownloadRequest> listPendingDownloads(int) throws android.os.RemoteException;
11405    method public void onAppCallbackDied(int, int);
11406    method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException;
11407    method public int removeProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException;
11408    method public int removeStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException;
11409    method public int requestDownloadState(android.telephony.mbms.DownloadRequest, android.telephony.mbms.FileInfo) throws android.os.RemoteException;
11410    method public int requestUpdateFileServices(int, java.util.List<java.lang.String>) throws android.os.RemoteException;
11411    method public int resetDownloadKnowledge(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException;
11412    method public int setTempFileRootDirectory(int, String) throws android.os.RemoteException;
11413  }
11414
11415  public class MbmsGroupCallServiceBase extends android.app.Service {
11416    ctor public MbmsGroupCallServiceBase();
11417    method public void dispose(int) throws android.os.RemoteException;
11418    method public int initialize(@NonNull android.telephony.mbms.MbmsGroupCallSessionCallback, int) throws android.os.RemoteException;
11419    method public void onAppCallbackDied(int, int);
11420    method public android.os.IBinder onBind(android.content.Intent);
11421    method public int startGroupCall(int, long, @NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<java.lang.Integer>, @NonNull android.telephony.mbms.GroupCallCallback);
11422    method public void stopGroupCall(int, long);
11423    method public void updateGroupCall(int, long, @NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<java.lang.Integer>);
11424  }
11425
11426  public class MbmsStreamingServiceBase extends android.os.Binder implements android.os.IInterface {
11427    ctor public MbmsStreamingServiceBase();
11428    method public android.os.IBinder asBinder();
11429    method public void dispose(int) throws android.os.RemoteException;
11430    method @Nullable public android.net.Uri getPlaybackUri(int, String) throws android.os.RemoteException;
11431    method public int initialize(android.telephony.mbms.MbmsStreamingSessionCallback, int) throws android.os.RemoteException;
11432    method public void onAppCallbackDied(int, int);
11433    method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException;
11434    method public int requestUpdateStreamingServices(int, java.util.List<java.lang.String>) throws android.os.RemoteException;
11435    method public int startStreaming(int, String, android.telephony.mbms.StreamingServiceCallback) throws android.os.RemoteException;
11436    method public void stopStreaming(int, String) throws android.os.RemoteException;
11437  }
11438
11439  public class VendorUtils {
11440    ctor public VendorUtils();
11441    method public static android.content.ComponentName getAppReceiverFromPackageName(android.content.Context, String);
11442    field public static final String ACTION_CLEANUP = "android.telephony.mbms.action.CLEANUP";
11443    field public static final String ACTION_DOWNLOAD_RESULT_INTERNAL = "android.telephony.mbms.action.DOWNLOAD_RESULT_INTERNAL";
11444    field public static final String ACTION_FILE_DESCRIPTOR_REQUEST = "android.telephony.mbms.action.FILE_DESCRIPTOR_REQUEST";
11445    field public static final String EXTRA_FD_COUNT = "android.telephony.mbms.extra.FD_COUNT";
11446    field public static final String EXTRA_FINAL_URI = "android.telephony.mbms.extra.FINAL_URI";
11447    field public static final String EXTRA_FREE_URI_LIST = "android.telephony.mbms.extra.FREE_URI_LIST";
11448    field public static final String EXTRA_PAUSED_LIST = "android.telephony.mbms.extra.PAUSED_LIST";
11449    field public static final String EXTRA_PAUSED_URI_LIST = "android.telephony.mbms.extra.PAUSED_URI_LIST";
11450    field public static final String EXTRA_SERVICE_ID = "android.telephony.mbms.extra.SERVICE_ID";
11451    field public static final String EXTRA_TEMP_FILES_IN_USE = "android.telephony.mbms.extra.TEMP_FILES_IN_USE";
11452    field public static final String EXTRA_TEMP_FILE_ROOT = "android.telephony.mbms.extra.TEMP_FILE_ROOT";
11453    field public static final String EXTRA_TEMP_LIST = "android.telephony.mbms.extra.TEMP_LIST";
11454  }
11455
11456}
11457
11458package android.util {
11459
11460  public class EventLog {
11461    method public static void readEventsOnWrapping(int[], long, java.util.Collection<android.util.EventLog.Event>) throws java.io.IOException;
11462  }
11463
11464  public static final class EventLog.Event {
11465    method public int getUid();
11466  }
11467
11468}
11469
11470package android.view {
11471
11472  public abstract class Window {
11473    method public void addSystemFlags(@android.view.WindowManager.LayoutParams.SystemFlags int);
11474  }
11475
11476  public interface WindowManager extends android.view.ViewManager {
11477    method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public android.graphics.Region getCurrentImeTouchRegion();
11478  }
11479
11480  public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
11481    method public final long getUserActivityTimeout();
11482    method public final void setUserActivityTimeout(long);
11483    field @RequiresPermission(android.Manifest.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS) public static final int SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS = 524288; // 0x80000
11484    field @RequiresPermission(android.Manifest.permission.INTERNAL_SYSTEM_WINDOW) public static final int SYSTEM_FLAG_SHOW_FOR_ALL_USERS = 16; // 0x10
11485  }
11486
11487  @IntDef(flag=true, prefix={"SYSTEM_FLAG_"}, value={android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS, android.view.WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface WindowManager.LayoutParams.SystemFlags {
11488  }
11489
11490}
11491
11492package android.view.accessibility {
11493
11494  public final class AccessibilityManager {
11495    method public int getAccessibilityWindowId(@Nullable android.os.IBinder);
11496    method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public void performAccessibilityShortcut();
11497    method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public void registerSystemAction(@NonNull android.app.RemoteAction, int);
11498    method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public void unregisterSystemAction(int);
11499  }
11500
11501}
11502
11503package android.view.autofill {
11504
11505  public final class AutofillManager {
11506    method public void setAugmentedAutofillWhitelist(@Nullable java.util.Set<java.lang.String>, @Nullable java.util.Set<android.content.ComponentName>);
11507  }
11508
11509}
11510
11511package android.view.contentcapture {
11512
11513  public final class ContentCaptureContext implements android.os.Parcelable {
11514    method @Nullable public android.content.ComponentName getActivityComponent();
11515    method public int getDisplayId();
11516    method public int getFlags();
11517    method @Nullable public android.view.contentcapture.ContentCaptureSessionId getParentSessionId();
11518    method public int getTaskId();
11519    field public static final int FLAG_DISABLED_BY_APP = 1; // 0x1
11520    field public static final int FLAG_DISABLED_BY_FLAG_SECURE = 2; // 0x2
11521    field public static final int FLAG_RECONNECTED = 4; // 0x4
11522  }
11523
11524  public final class ContentCaptureEvent implements android.os.Parcelable {
11525    method public int describeContents();
11526    method @Nullable public android.view.contentcapture.ContentCaptureContext getContentCaptureContext();
11527    method public long getEventTime();
11528    method @Nullable public android.view.autofill.AutofillId getId();
11529    method @Nullable public java.util.List<android.view.autofill.AutofillId> getIds();
11530    method @Nullable public android.graphics.Insets getInsets();
11531    method @Nullable public CharSequence getText();
11532    method public int getType();
11533    method @Nullable public android.view.contentcapture.ViewNode getViewNode();
11534    method public void writeToParcel(android.os.Parcel, int);
11535    field @NonNull public static final android.os.Parcelable.Creator<android.view.contentcapture.ContentCaptureEvent> CREATOR;
11536    field public static final int TYPE_CONTEXT_UPDATED = 6; // 0x6
11537    field public static final int TYPE_SESSION_PAUSED = 8; // 0x8
11538    field public static final int TYPE_SESSION_RESUMED = 7; // 0x7
11539    field public static final int TYPE_VIEW_APPEARED = 1; // 0x1
11540    field public static final int TYPE_VIEW_DISAPPEARED = 2; // 0x2
11541    field public static final int TYPE_VIEW_INSETS_CHANGED = 9; // 0x9
11542    field public static final int TYPE_VIEW_TEXT_CHANGED = 3; // 0x3
11543    field public static final int TYPE_VIEW_TREE_APPEARED = 5; // 0x5
11544    field public static final int TYPE_VIEW_TREE_APPEARING = 4; // 0x4
11545  }
11546
11547  public final class ContentCaptureManager {
11548    method public boolean isContentCaptureFeatureEnabled();
11549    field public static final int NO_SESSION_ID = 0; // 0x0
11550  }
11551
11552  public final class ViewNode extends android.app.assist.AssistStructure.ViewNode {
11553    method @Nullable public android.view.autofill.AutofillId getParentAutofillId();
11554  }
11555
11556}
11557
11558package android.webkit {
11559
11560  public abstract class CookieManager {
11561    method protected abstract boolean allowFileSchemeCookiesImpl();
11562    method public abstract String getCookie(String, boolean);
11563    method public String getCookie(android.net.WebAddress);
11564    method public abstract boolean hasCookies(boolean);
11565    method protected abstract void setAcceptFileSchemeCookiesImpl(boolean);
11566  }
11567
11568  public class FindActionModeCallback implements android.view.ActionMode.Callback android.text.TextWatcher android.view.View.OnClickListener android.webkit.WebView.FindListener {
11569    ctor public FindActionModeCallback(android.content.Context);
11570    method public void afterTextChanged(android.text.Editable);
11571    method public void beforeTextChanged(CharSequence, int, int, int);
11572    method public void findAll();
11573    method public void finish();
11574    method public int getActionModeGlobalBottom();
11575    method public boolean onActionItemClicked(android.view.ActionMode, android.view.MenuItem);
11576    method public void onClick(android.view.View);
11577    method public boolean onCreateActionMode(android.view.ActionMode, android.view.Menu);
11578    method public void onDestroyActionMode(android.view.ActionMode);
11579    method public void onFindResultReceived(int, int, boolean);
11580    method public boolean onPrepareActionMode(android.view.ActionMode, android.view.Menu);
11581    method public void onTextChanged(CharSequence, int, int, int);
11582    method public void setText(String);
11583    method public void setWebView(@NonNull android.webkit.WebView);
11584    method public void showSoftInput();
11585    method public void updateMatchCount(int, int, boolean);
11586  }
11587
11588  public static class FindActionModeCallback.NoAction implements android.view.ActionMode.Callback {
11589    ctor public FindActionModeCallback.NoAction();
11590    method public boolean onActionItemClicked(android.view.ActionMode, android.view.MenuItem);
11591    method public boolean onCreateActionMode(android.view.ActionMode, android.view.Menu);
11592    method public void onDestroyActionMode(android.view.ActionMode);
11593    method public boolean onPrepareActionMode(android.view.ActionMode, android.view.Menu);
11594  }
11595
11596  public class GeolocationPermissions {
11597    ctor public GeolocationPermissions();
11598  }
11599
11600  public class HttpAuthHandler extends android.os.Handler {
11601    ctor public HttpAuthHandler();
11602  }
11603
11604  public class JsDialogHelper {
11605    ctor public JsDialogHelper(android.webkit.JsPromptResult, int, String, String, String);
11606    ctor public JsDialogHelper(android.webkit.JsPromptResult, android.os.Message);
11607    method public boolean invokeCallback(android.webkit.WebChromeClient, android.webkit.WebView);
11608    method public void showDialog(android.content.Context);
11609    field public static final int ALERT = 1; // 0x1
11610    field public static final int CONFIRM = 2; // 0x2
11611    field public static final int PROMPT = 3; // 0x3
11612    field public static final int UNLOAD = 4; // 0x4
11613  }
11614
11615  public class JsPromptResult extends android.webkit.JsResult {
11616    ctor public JsPromptResult(android.webkit.JsResult.ResultReceiver);
11617    method public String getStringResult();
11618  }
11619
11620  public class JsResult {
11621    ctor public JsResult(android.webkit.JsResult.ResultReceiver);
11622    method public final boolean getResult();
11623  }
11624
11625  public static interface JsResult.ResultReceiver {
11626    method public void onJsResultComplete(android.webkit.JsResult);
11627  }
11628
11629  public interface PacProcessor {
11630    method @Nullable public String findProxyForUrl(@NonNull String);
11631    method @NonNull public static android.webkit.PacProcessor getInstance();
11632    method public boolean setProxyScript(@NonNull String);
11633  }
11634
11635  public class SslErrorHandler extends android.os.Handler {
11636    ctor public SslErrorHandler();
11637  }
11638
11639  @Deprecated public abstract class TokenBindingService {
11640    ctor @Deprecated public TokenBindingService();
11641  }
11642
11643  public class WebChromeClient {
11644    method @Deprecated public void openFileChooser(android.webkit.ValueCallback<android.net.Uri>, String, String);
11645  }
11646
11647  public abstract class WebHistoryItem implements java.lang.Cloneable {
11648    method @Deprecated public abstract int getId();
11649  }
11650
11651  @Deprecated public abstract class WebIconDatabase {
11652    method @Deprecated public abstract void bulkRequestIconForPageUrl(android.content.ContentResolver, String, android.webkit.WebIconDatabase.IconListener);
11653  }
11654
11655  public abstract class WebMessagePort {
11656    ctor public WebMessagePort();
11657  }
11658
11659  public abstract class WebResourceError {
11660    ctor public WebResourceError();
11661  }
11662
11663  public class WebResourceResponse {
11664    ctor public WebResourceResponse(boolean, String, String, int, String, java.util.Map<java.lang.String,java.lang.String>, java.io.InputStream);
11665  }
11666
11667  public abstract class WebSettings {
11668    method public abstract boolean getAcceptThirdPartyCookies();
11669    method @Deprecated public abstract boolean getNavDump();
11670    method @Deprecated public abstract boolean getPluginsEnabled();
11671    method @Deprecated public abstract boolean getUseWebViewBackgroundForOverscrollBackground();
11672    method @Deprecated public abstract int getUserAgent();
11673    method public abstract boolean getVideoOverlayForEmbeddedEncryptedVideoEnabled();
11674    method public abstract void setAcceptThirdPartyCookies(boolean);
11675    method @Deprecated public abstract void setNavDump(boolean);
11676    method @Deprecated public abstract void setPluginsEnabled(boolean);
11677    method @Deprecated public abstract void setUseWebViewBackgroundForOverscrollBackground(boolean);
11678    method @Deprecated public abstract void setUserAgent(int);
11679    method public abstract void setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean);
11680  }
11681
11682  public class WebStorage {
11683    ctor public WebStorage();
11684  }
11685
11686  public static class WebStorage.Origin {
11687    ctor protected WebStorage.Origin(String, long, long);
11688  }
11689
11690  public class WebView extends android.widget.AbsoluteLayout implements android.view.ViewGroup.OnHierarchyChangeListener android.view.ViewTreeObserver.OnGlobalFocusChangeListener {
11691    method public android.webkit.WebViewProvider getWebViewProvider();
11692  }
11693
11694  public static class WebView.HitTestResult {
11695    ctor public WebView.HitTestResult();
11696    method public void setExtra(String);
11697    method public void setType(int);
11698  }
11699
11700  public class WebView.PrivateAccess {
11701    ctor public WebView.PrivateAccess();
11702    method public void awakenScrollBars(int);
11703    method public void awakenScrollBars(int, boolean);
11704    method public float getHorizontalScrollFactor();
11705    method public int getHorizontalScrollbarHeight();
11706    method public float getVerticalScrollFactor();
11707    method public void onScrollChanged(int, int, int, int);
11708    method public void overScrollBy(int, int, int, int, int, int, int, int, boolean);
11709    method public void setMeasuredDimension(int, int);
11710    method public void setScrollXRaw(int);
11711    method public void setScrollYRaw(int);
11712    method public void super_computeScroll();
11713    method public boolean super_dispatchKeyEvent(android.view.KeyEvent);
11714    method public int super_getScrollBarStyle();
11715    method public void super_onDrawVerticalScrollBar(android.graphics.Canvas, android.graphics.drawable.Drawable, int, int, int, int);
11716    method public boolean super_onGenericMotionEvent(android.view.MotionEvent);
11717    method public boolean super_onHoverEvent(android.view.MotionEvent);
11718    method public boolean super_performAccessibilityAction(int, android.os.Bundle);
11719    method public boolean super_performLongClick();
11720    method public boolean super_requestFocus(int, android.graphics.Rect);
11721    method public void super_scrollTo(int, int);
11722    method public boolean super_setFrame(int, int, int, int);
11723    method public void super_setLayoutParams(android.view.ViewGroup.LayoutParams);
11724    method public void super_startActivityForResult(android.content.Intent, int);
11725  }
11726
11727  public final class WebViewDelegate {
11728    method public void addWebViewAssetPath(android.content.Context);
11729    method @Deprecated public void callDrawGlFunction(android.graphics.Canvas, long);
11730    method @Deprecated public void callDrawGlFunction(@NonNull android.graphics.Canvas, long, @Nullable Runnable);
11731    method @Deprecated public boolean canInvokeDrawGlFunctor(android.view.View);
11732    method @Deprecated public void detachDrawGlFunctor(android.view.View, long);
11733    method public void drawWebViewFunctor(@NonNull android.graphics.Canvas, int);
11734    method public android.app.Application getApplication();
11735    method public String getDataDirectorySuffix();
11736    method public String getErrorString(android.content.Context, int);
11737    method public int getPackageId(android.content.res.Resources, String);
11738    method @Deprecated public void invokeDrawGlFunctor(android.view.View, long, boolean);
11739    method public boolean isMultiProcessEnabled();
11740    method public boolean isTraceTagEnabled();
11741    method public void setOnTraceEnabledChangeListener(android.webkit.WebViewDelegate.OnTraceEnabledChangeListener);
11742  }
11743
11744  public static interface WebViewDelegate.OnTraceEnabledChangeListener {
11745    method public void onTraceEnabledChange(boolean);
11746  }
11747
11748  public final class WebViewFactory {
11749    ctor public WebViewFactory();
11750    method public static android.content.pm.PackageInfo getLoadedPackageInfo();
11751    method public static int loadWebViewNativeLibraryFromPackage(String, ClassLoader);
11752    method public static void prepareWebViewInZygote();
11753    field public static final int LIBLOAD_ADDRESS_SPACE_NOT_RESERVED = 2; // 0x2
11754    field public static final int LIBLOAD_FAILED_JNI_CALL = 7; // 0x7
11755    field public static final int LIBLOAD_FAILED_LISTING_WEBVIEW_PACKAGES = 4; // 0x4
11756    field public static final int LIBLOAD_FAILED_TO_FIND_NAMESPACE = 10; // 0xa
11757    field public static final int LIBLOAD_FAILED_TO_LOAD_LIBRARY = 6; // 0x6
11758    field public static final int LIBLOAD_FAILED_TO_OPEN_RELRO_FILE = 5; // 0x5
11759    field public static final int LIBLOAD_FAILED_WAITING_FOR_RELRO = 3; // 0x3
11760    field public static final int LIBLOAD_FAILED_WAITING_FOR_WEBVIEW_REASON_UNKNOWN = 8; // 0x8
11761    field public static final int LIBLOAD_SUCCESS = 0; // 0x0
11762    field public static final int LIBLOAD_WRONG_PACKAGE_NAME = 1; // 0x1
11763  }
11764
11765  public interface WebViewFactoryProvider {
11766    method public android.webkit.WebViewProvider createWebView(android.webkit.WebView, android.webkit.WebView.PrivateAccess);
11767    method public android.webkit.CookieManager getCookieManager();
11768    method public android.webkit.GeolocationPermissions getGeolocationPermissions();
11769    method @NonNull public default android.webkit.PacProcessor getPacProcessor();
11770    method public android.webkit.ServiceWorkerController getServiceWorkerController();
11771    method public android.webkit.WebViewFactoryProvider.Statics getStatics();
11772    method @Deprecated public android.webkit.TokenBindingService getTokenBindingService();
11773    method public android.webkit.TracingController getTracingController();
11774    method public android.webkit.WebIconDatabase getWebIconDatabase();
11775    method public android.webkit.WebStorage getWebStorage();
11776    method public ClassLoader getWebViewClassLoader();
11777    method public android.webkit.WebViewDatabase getWebViewDatabase(android.content.Context);
11778  }
11779
11780  public static interface WebViewFactoryProvider.Statics {
11781    method public void clearClientCertPreferences(Runnable);
11782    method public void enableSlowWholeDocumentDraw();
11783    method public String findAddress(String);
11784    method public void freeMemoryForTests();
11785    method public String getDefaultUserAgent(android.content.Context);
11786    method @NonNull public android.net.Uri getSafeBrowsingPrivacyPolicyUrl();
11787    method public void initSafeBrowsing(android.content.Context, android.webkit.ValueCallback<java.lang.Boolean>);
11788    method public android.net.Uri[] parseFileChooserResult(int, android.content.Intent);
11789    method public void setSafeBrowsingWhitelist(java.util.List<java.lang.String>, android.webkit.ValueCallback<java.lang.Boolean>);
11790    method public void setWebContentsDebuggingEnabled(boolean);
11791  }
11792
11793  public interface WebViewProvider {
11794    method public void addJavascriptInterface(Object, String);
11795    method public boolean canGoBack();
11796    method public boolean canGoBackOrForward(int);
11797    method public boolean canGoForward();
11798    method public boolean canZoomIn();
11799    method public boolean canZoomOut();
11800    method public android.graphics.Picture capturePicture();
11801    method public void clearCache(boolean);
11802    method public void clearFormData();
11803    method public void clearHistory();
11804    method public void clearMatches();
11805    method public void clearSslPreferences();
11806    method public void clearView();
11807    method public android.webkit.WebBackForwardList copyBackForwardList();
11808    method public android.print.PrintDocumentAdapter createPrintDocumentAdapter(String);
11809    method public android.webkit.WebMessagePort[] createWebMessageChannel();
11810    method public void destroy();
11811    method public void documentHasImages(android.os.Message);
11812    method public void dumpViewHierarchyWithProperties(java.io.BufferedWriter, int);
11813    method public void evaluateJavaScript(String, android.webkit.ValueCallback<java.lang.String>);
11814    method public int findAll(String);
11815    method public void findAllAsync(String);
11816    method public android.view.View findHierarchyView(String, int);
11817    method public void findNext(boolean);
11818    method public void flingScroll(int, int);
11819    method public void freeMemory();
11820    method public android.net.http.SslCertificate getCertificate();
11821    method public int getContentHeight();
11822    method public int getContentWidth();
11823    method public android.graphics.Bitmap getFavicon();
11824    method public android.webkit.WebView.HitTestResult getHitTestResult();
11825    method public String[] getHttpAuthUsernamePassword(String, String);
11826    method public String getOriginalUrl();
11827    method public int getProgress();
11828    method public boolean getRendererPriorityWaivedWhenNotVisible();
11829    method public int getRendererRequestedPriority();
11830    method public float getScale();
11831    method public android.webkit.WebViewProvider.ScrollDelegate getScrollDelegate();
11832    method public android.webkit.WebSettings getSettings();
11833    method @NonNull public default android.view.textclassifier.TextClassifier getTextClassifier();
11834    method public String getTitle();
11835    method public String getTouchIconUrl();
11836    method public String getUrl();
11837    method public android.webkit.WebViewProvider.ViewDelegate getViewDelegate();
11838    method public int getVisibleTitleHeight();
11839    method public android.webkit.WebChromeClient getWebChromeClient();
11840    method public android.webkit.WebViewClient getWebViewClient();
11841    method @Nullable public android.webkit.WebViewRenderProcess getWebViewRenderProcess();
11842    method @Nullable public android.webkit.WebViewRenderProcessClient getWebViewRenderProcessClient();
11843    method public android.view.View getZoomControls();
11844    method public void goBack();
11845    method public void goBackOrForward(int);
11846    method public void goForward();
11847    method public void init(java.util.Map<java.lang.String,java.lang.Object>, boolean);
11848    method public void insertVisualStateCallback(long, android.webkit.WebView.VisualStateCallback);
11849    method public void invokeZoomPicker();
11850    method public boolean isPaused();
11851    method public boolean isPrivateBrowsingEnabled();
11852    method public void loadData(String, String, String);
11853    method public void loadDataWithBaseURL(String, String, String, String, String);
11854    method public void loadUrl(String, java.util.Map<java.lang.String,java.lang.String>);
11855    method public void loadUrl(String);
11856    method public void notifyFindDialogDismissed();
11857    method public void onPause();
11858    method public void onResume();
11859    method public boolean overlayHorizontalScrollbar();
11860    method public boolean overlayVerticalScrollbar();
11861    method public boolean pageDown(boolean);
11862    method public boolean pageUp(boolean);
11863    method public void pauseTimers();
11864    method public void postMessageToMainFrame(android.webkit.WebMessage, android.net.Uri);
11865    method public void postUrl(String, byte[]);
11866    method public void reload();
11867    method public void removeJavascriptInterface(String);
11868    method public void requestFocusNodeHref(android.os.Message);
11869    method public void requestImageRef(android.os.Message);
11870    method public boolean restorePicture(android.os.Bundle, java.io.File);
11871    method public android.webkit.WebBackForwardList restoreState(android.os.Bundle);
11872    method public void resumeTimers();
11873    method public void savePassword(String, String, String);
11874    method public boolean savePicture(android.os.Bundle, java.io.File);
11875    method public android.webkit.WebBackForwardList saveState(android.os.Bundle);
11876    method public void saveWebArchive(String);
11877    method public void saveWebArchive(String, boolean, android.webkit.ValueCallback<java.lang.String>);
11878    method public void setCertificate(android.net.http.SslCertificate);
11879    method public void setDownloadListener(android.webkit.DownloadListener);
11880    method public void setFindListener(android.webkit.WebView.FindListener);
11881    method public void setHorizontalScrollbarOverlay(boolean);
11882    method public void setHttpAuthUsernamePassword(String, String, String, String);
11883    method public void setInitialScale(int);
11884    method public void setMapTrackballToArrowKeys(boolean);
11885    method public void setNetworkAvailable(boolean);
11886    method public void setPictureListener(android.webkit.WebView.PictureListener);
11887    method public void setRendererPriorityPolicy(int, boolean);
11888    method public default void setTextClassifier(@Nullable android.view.textclassifier.TextClassifier);
11889    method public void setVerticalScrollbarOverlay(boolean);
11890    method public void setWebChromeClient(android.webkit.WebChromeClient);
11891    method public void setWebViewClient(android.webkit.WebViewClient);
11892    method public void setWebViewRenderProcessClient(@Nullable java.util.concurrent.Executor, @Nullable android.webkit.WebViewRenderProcessClient);
11893    method public boolean showFindDialog(String, boolean);
11894    method public void stopLoading();
11895    method public boolean zoomBy(float);
11896    method public boolean zoomIn();
11897    method public boolean zoomOut();
11898  }
11899
11900  public static interface WebViewProvider.ScrollDelegate {
11901    method public int computeHorizontalScrollOffset();
11902    method public int computeHorizontalScrollRange();
11903    method public void computeScroll();
11904    method public int computeVerticalScrollExtent();
11905    method public int computeVerticalScrollOffset();
11906    method public int computeVerticalScrollRange();
11907  }
11908
11909  public static interface WebViewProvider.ViewDelegate {
11910    method public default void autofill(android.util.SparseArray<android.view.autofill.AutofillValue>);
11911    method public boolean dispatchKeyEvent(android.view.KeyEvent);
11912    method public android.view.View findFocus(android.view.View);
11913    method public android.view.accessibility.AccessibilityNodeProvider getAccessibilityNodeProvider();
11914    method public android.os.Handler getHandler(android.os.Handler);
11915    method public default boolean isVisibleToUserForAutofill(int);
11916    method public void onActivityResult(int, int, android.content.Intent);
11917    method public void onAttachedToWindow();
11918    method public default boolean onCheckIsTextEditor();
11919    method public void onConfigurationChanged(android.content.res.Configuration);
11920    method public android.view.inputmethod.InputConnection onCreateInputConnection(android.view.inputmethod.EditorInfo);
11921    method public void onDetachedFromWindow();
11922    method public boolean onDragEvent(android.view.DragEvent);
11923    method public void onDraw(android.graphics.Canvas);
11924    method public void onDrawVerticalScrollBar(android.graphics.Canvas, android.graphics.drawable.Drawable, int, int, int, int);
11925    method public void onFinishTemporaryDetach();
11926    method public void onFocusChanged(boolean, int, android.graphics.Rect);
11927    method public boolean onGenericMotionEvent(android.view.MotionEvent);
11928    method public boolean onHoverEvent(android.view.MotionEvent);
11929    method public void onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent);
11930    method public void onInitializeAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo);
11931    method public boolean onKeyDown(int, android.view.KeyEvent);
11932    method public boolean onKeyMultiple(int, int, android.view.KeyEvent);
11933    method public boolean onKeyUp(int, android.view.KeyEvent);
11934    method public void onMeasure(int, int);
11935    method public default void onMovedToDisplay(int, android.content.res.Configuration);
11936    method public void onOverScrolled(int, int, boolean, boolean);
11937    method public default void onProvideAutofillVirtualStructure(android.view.ViewStructure, int);
11938    method public default void onProvideContentCaptureStructure(@NonNull android.view.ViewStructure, int);
11939    method public void onProvideVirtualStructure(android.view.ViewStructure);
11940    method public void onScrollChanged(int, int, int, int);
11941    method public void onSizeChanged(int, int, int, int);
11942    method public void onStartTemporaryDetach();
11943    method public boolean onTouchEvent(android.view.MotionEvent);
11944    method public boolean onTrackballEvent(android.view.MotionEvent);
11945    method public void onVisibilityChanged(android.view.View, int);
11946    method public void onWindowFocusChanged(boolean);
11947    method public void onWindowVisibilityChanged(int);
11948    method public boolean performAccessibilityAction(int, android.os.Bundle);
11949    method public boolean performLongClick();
11950    method public void preDispatchDraw(android.graphics.Canvas);
11951    method public boolean requestChildRectangleOnScreen(android.view.View, android.graphics.Rect, boolean);
11952    method public boolean requestFocus(int, android.graphics.Rect);
11953    method public void setBackgroundColor(int);
11954    method public boolean setFrame(int, int, int, int);
11955    method public void setLayerType(int, android.graphics.Paint);
11956    method public void setLayoutParams(android.view.ViewGroup.LayoutParams);
11957    method public void setOverScrollMode(int);
11958    method public void setScrollBarStyle(int);
11959    method public boolean shouldDelayChildPressedState();
11960  }
11961
11962  public final class WebViewProviderInfo implements android.os.Parcelable {
11963    ctor public WebViewProviderInfo(String, String, boolean, boolean, String[]);
11964    method public int describeContents();
11965    method public void writeToParcel(android.os.Parcel, int);
11966    field @NonNull public static final android.os.Parcelable.Creator<android.webkit.WebViewProviderInfo> CREATOR;
11967    field public final boolean availableByDefault;
11968    field public final String description;
11969    field public final boolean isFallback;
11970    field public final String packageName;
11971    field public final android.content.pm.Signature[] signatures;
11972  }
11973
11974  public final class WebViewUpdateService {
11975    method public static android.webkit.WebViewProviderInfo[] getAllWebViewPackages();
11976    method public static String getCurrentWebViewPackageName();
11977    method public static android.webkit.WebViewProviderInfo[] getValidWebViewPackages();
11978  }
11979
11980}
11981
11982