| // Signature format: 2.0 |
| package android { |
| |
| public static final class Manifest.permission { |
| field public static final String ACCESS_AMBIENT_LIGHT_STATS = "android.permission.ACCESS_AMBIENT_LIGHT_STATS"; |
| field public static final String ACCESS_BROADCAST_RADIO = "android.permission.ACCESS_BROADCAST_RADIO"; |
| field public static final String ACCESS_CACHE_FILESYSTEM = "android.permission.ACCESS_CACHE_FILESYSTEM"; |
| field public static final String ACCESS_DRM_CERTIFICATES = "android.permission.ACCESS_DRM_CERTIFICATES"; |
| field @Deprecated public static final String ACCESS_FM_RADIO = "android.permission.ACCESS_FM_RADIO"; |
| field public static final String ACCESS_INSTANT_APPS = "android.permission.ACCESS_INSTANT_APPS"; |
| field public static final String ACCESS_MOCK_LOCATION = "android.permission.ACCESS_MOCK_LOCATION"; |
| field public static final String ACCESS_MTP = "android.permission.ACCESS_MTP"; |
| field public static final String ACCESS_NETWORK_CONDITIONS = "android.permission.ACCESS_NETWORK_CONDITIONS"; |
| field public static final String ACCESS_NOTIFICATIONS = "android.permission.ACCESS_NOTIFICATIONS"; |
| field public static final String ACCESS_SHARED_LIBRARIES = "android.permission.ACCESS_SHARED_LIBRARIES"; |
| field public static final String ACCESS_SHORTCUTS = "android.permission.ACCESS_SHORTCUTS"; |
| field public static final String ACCESS_SURFACE_FLINGER = "android.permission.ACCESS_SURFACE_FLINGER"; |
| field public static final String ACTIVITY_EMBEDDING = "android.permission.ACTIVITY_EMBEDDING"; |
| field public static final String ADJUST_RUNTIME_PERMISSIONS_POLICY = "android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY"; |
| field public static final String ALLOCATE_AGGRESSIVE = "android.permission.ALLOCATE_AGGRESSIVE"; |
| field public static final String ALLOW_ANY_CODEC_FOR_PLAYBACK = "android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"; |
| field public static final String AMBIENT_WALLPAPER = "android.permission.AMBIENT_WALLPAPER"; |
| field public static final String APPROVE_INCIDENT_REPORTS = "android.permission.APPROVE_INCIDENT_REPORTS"; |
| field public static final String BACKUP = "android.permission.BACKUP"; |
| field public static final String BIND_ATTENTION_SERVICE = "android.permission.BIND_ATTENTION_SERVICE"; |
| field public static final String BIND_AUGMENTED_AUTOFILL_SERVICE = "android.permission.BIND_AUGMENTED_AUTOFILL_SERVICE"; |
| field @Deprecated public static final String BIND_CONNECTION_SERVICE = "android.permission.BIND_CONNECTION_SERVICE"; |
| field public static final String BIND_CONTENT_CAPTURE_SERVICE = "android.permission.BIND_CONTENT_CAPTURE_SERVICE"; |
| field public static final String BIND_CONTENT_SUGGESTIONS_SERVICE = "android.permission.BIND_CONTENT_SUGGESTIONS_SERVICE"; |
| field public static final String BIND_DIRECTORY_SEARCH = "android.permission.BIND_DIRECTORY_SEARCH"; |
| field public static final String BIND_EUICC_SERVICE = "android.permission.BIND_EUICC_SERVICE"; |
| field public static final String BIND_IMS_SERVICE = "android.permission.BIND_IMS_SERVICE"; |
| field public static final String BIND_KEYGUARD_APPWIDGET = "android.permission.BIND_KEYGUARD_APPWIDGET"; |
| field public static final String BIND_NETWORK_RECOMMENDATION_SERVICE = "android.permission.BIND_NETWORK_RECOMMENDATION_SERVICE"; |
| field public static final String BIND_NOTIFICATION_ASSISTANT_SERVICE = "android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE"; |
| field public static final String BIND_PHONE_ACCOUNT_SUGGESTION_SERVICE = "android.permission.BIND_PHONE_ACCOUNT_SUGGESTION_SERVICE"; |
| field public static final String BIND_PRINT_RECOMMENDATION_SERVICE = "android.permission.BIND_PRINT_RECOMMENDATION_SERVICE"; |
| field public static final String BIND_RESOLVER_RANKER_SERVICE = "android.permission.BIND_RESOLVER_RANKER_SERVICE"; |
| field public static final String BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE = "android.permission.BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE"; |
| field public static final String BIND_SETTINGS_SUGGESTIONS_SERVICE = "android.permission.BIND_SETTINGS_SUGGESTIONS_SERVICE"; |
| field public static final String BIND_SOUND_TRIGGER_DETECTION_SERVICE = "android.permission.BIND_SOUND_TRIGGER_DETECTION_SERVICE"; |
| field public static final String BIND_TELEPHONY_DATA_SERVICE = "android.permission.BIND_TELEPHONY_DATA_SERVICE"; |
| field public static final String BIND_TELEPHONY_NETWORK_SERVICE = "android.permission.BIND_TELEPHONY_NETWORK_SERVICE"; |
| field public static final String BIND_TEXTCLASSIFIER_SERVICE = "android.permission.BIND_TEXTCLASSIFIER_SERVICE"; |
| field public static final String BIND_TRUST_AGENT = "android.permission.BIND_TRUST_AGENT"; |
| field public static final String BIND_TV_REMOTE_SERVICE = "android.permission.BIND_TV_REMOTE_SERVICE"; |
| field public static final String BRICK = "android.permission.BRICK"; |
| field public static final String BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_USAGE"; |
| field @Deprecated public static final String BROADCAST_NETWORK_PRIVILEGED = "android.permission.BROADCAST_NETWORK_PRIVILEGED"; |
| field public static final String CAMERA_DISABLE_TRANSMIT_LED = "android.permission.CAMERA_DISABLE_TRANSMIT_LED"; |
| field public static final String CAPTURE_AUDIO_HOTWORD = "android.permission.CAPTURE_AUDIO_HOTWORD"; |
| field public static final String CAPTURE_MEDIA_OUTPUT = "android.permission.CAPTURE_MEDIA_OUTPUT"; |
| field public static final String CAPTURE_TV_INPUT = "android.permission.CAPTURE_TV_INPUT"; |
| field public static final String CHANGE_APP_IDLE_STATE = "android.permission.CHANGE_APP_IDLE_STATE"; |
| field public static final String CHANGE_DEVICE_IDLE_TEMP_WHITELIST = "android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"; |
| field public static final String CLEAR_APP_USER_DATA = "android.permission.CLEAR_APP_USER_DATA"; |
| field public static final String CONFIGURE_DISPLAY_BRIGHTNESS = "android.permission.CONFIGURE_DISPLAY_BRIGHTNESS"; |
| field public static final String CONNECTIVITY_INTERNAL = "android.permission.CONNECTIVITY_INTERNAL"; |
| field public static final String CONNECTIVITY_USE_RESTRICTED_NETWORKS = "android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"; |
| field public static final String CONTROL_DISPLAY_COLOR_TRANSFORMS = "android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS"; |
| field public static final String CONTROL_DISPLAY_SATURATION = "android.permission.CONTROL_DISPLAY_SATURATION"; |
| field public static final String CONTROL_INCALL_EXPERIENCE = "android.permission.CONTROL_INCALL_EXPERIENCE"; |
| field public static final String CONTROL_KEYGUARD_SECURE_NOTIFICATIONS = "android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS"; |
| field public static final String CONTROL_VPN = "android.permission.CONTROL_VPN"; |
| field public static final String CRYPT_KEEPER = "android.permission.CRYPT_KEEPER"; |
| field public static final String DEVICE_POWER = "android.permission.DEVICE_POWER"; |
| field public static final String DISPATCH_PROVISIONING_MESSAGE = "android.permission.DISPATCH_PROVISIONING_MESSAGE"; |
| field public static final String FORCE_BACK = "android.permission.FORCE_BACK"; |
| field public static final String FORCE_STOP_PACKAGES = "android.permission.FORCE_STOP_PACKAGES"; |
| field public static final String GET_APP_OPS_STATS = "android.permission.GET_APP_OPS_STATS"; |
| field public static final String GET_PROCESS_STATE_AND_OOM_SCORE = "android.permission.GET_PROCESS_STATE_AND_OOM_SCORE"; |
| field public static final String GET_RUNTIME_PERMISSIONS = "android.permission.GET_RUNTIME_PERMISSIONS"; |
| field public static final String GET_TOP_ACTIVITY_INFO = "android.permission.GET_TOP_ACTIVITY_INFO"; |
| field public static final String GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS = "android.permission.GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS"; |
| field public static final String GRANT_RUNTIME_PERMISSIONS = "android.permission.GRANT_RUNTIME_PERMISSIONS"; |
| field public static final String HARDWARE_TEST = "android.permission.HARDWARE_TEST"; |
| field public static final String HDMI_CEC = "android.permission.HDMI_CEC"; |
| field public static final String HIDE_NON_SYSTEM_OVERLAY_WINDOWS = "android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"; |
| field public static final String INJECT_EVENTS = "android.permission.INJECT_EVENTS"; |
| field public static final String INSTALL_DYNAMIC_SYSTEM = "android.permission.INSTALL_DYNAMIC_SYSTEM"; |
| field public static final String INSTALL_GRANT_RUNTIME_PERMISSIONS = "android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS"; |
| field public static final String INSTALL_PACKAGE_UPDATES = "android.permission.INSTALL_PACKAGE_UPDATES"; |
| field public static final String INSTALL_SELF_UPDATES = "android.permission.INSTALL_SELF_UPDATES"; |
| field public static final String INTENT_FILTER_VERIFICATION_AGENT = "android.permission.INTENT_FILTER_VERIFICATION_AGENT"; |
| field public static final String INTERACT_ACROSS_PROFILES = "android.permission.INTERACT_ACROSS_PROFILES"; |
| field public static final String INTERACT_ACROSS_USERS = "android.permission.INTERACT_ACROSS_USERS"; |
| field public static final String INTERACT_ACROSS_USERS_FULL = "android.permission.INTERACT_ACROSS_USERS_FULL"; |
| field public static final String INTERNAL_SYSTEM_WINDOW = "android.permission.INTERNAL_SYSTEM_WINDOW"; |
| field public static final String INVOKE_CARRIER_SETUP = "android.permission.INVOKE_CARRIER_SETUP"; |
| field public static final String KILL_UID = "android.permission.KILL_UID"; |
| field public static final String LOCAL_MAC_ADDRESS = "android.permission.LOCAL_MAC_ADDRESS"; |
| field public static final String LOCK_DEVICE = "android.permission.LOCK_DEVICE"; |
| field public static final String LOOP_RADIO = "android.permission.LOOP_RADIO"; |
| field public static final String MANAGE_ACCESSIBILITY = "android.permission.MANAGE_ACCESSIBILITY"; |
| field public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS"; |
| field public static final String MANAGE_APP_OPS_RESTRICTIONS = "android.permission.MANAGE_APP_OPS_RESTRICTIONS"; |
| field public static final String MANAGE_APP_PREDICTIONS = "android.permission.MANAGE_APP_PREDICTIONS"; |
| field public static final String MANAGE_APP_TOKENS = "android.permission.MANAGE_APP_TOKENS"; |
| field public static final String MANAGE_AUTO_FILL = "android.permission.MANAGE_AUTO_FILL"; |
| field public static final String MANAGE_CARRIER_OEM_UNLOCK_STATE = "android.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE"; |
| field public static final String MANAGE_CA_CERTIFICATES = "android.permission.MANAGE_CA_CERTIFICATES"; |
| field public static final String MANAGE_CONTENT_CAPTURE = "android.permission.MANAGE_CONTENT_CAPTURE"; |
| field public static final String MANAGE_CONTENT_SUGGESTIONS = "android.permission.MANAGE_CONTENT_SUGGESTIONS"; |
| field public static final String MANAGE_DEBUGGING = "android.permission.MANAGE_DEBUGGING"; |
| field public static final String MANAGE_IPSEC_TUNNELS = "android.permission.MANAGE_IPSEC_TUNNELS"; |
| field public static final String MANAGE_ROLE_HOLDERS = "android.permission.MANAGE_ROLE_HOLDERS"; |
| field public static final String MANAGE_ROLLBACKS = "android.permission.MANAGE_ROLLBACKS"; |
| field public static final String MANAGE_SENSOR_PRIVACY = "android.permission.MANAGE_SENSOR_PRIVACY"; |
| field public static final String MANAGE_SOUND_TRIGGER = "android.permission.MANAGE_SOUND_TRIGGER"; |
| field public static final String MANAGE_SUBSCRIPTION_PLANS = "android.permission.MANAGE_SUBSCRIPTION_PLANS"; |
| field public static final String MANAGE_USB = "android.permission.MANAGE_USB"; |
| field public static final String MANAGE_USERS = "android.permission.MANAGE_USERS"; |
| field public static final String MANAGE_USER_OEM_UNLOCK_STATE = "android.permission.MANAGE_USER_OEM_UNLOCK_STATE"; |
| field public static final String MODIFY_APPWIDGET_BIND_PERMISSIONS = "android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"; |
| field public static final String MODIFY_AUDIO_ROUTING = "android.permission.MODIFY_AUDIO_ROUTING"; |
| field public static final String MODIFY_CELL_BROADCASTS = "android.permission.MODIFY_CELL_BROADCASTS"; |
| field public static final String MODIFY_DAY_NIGHT_MODE = "android.permission.MODIFY_DAY_NIGHT_MODE"; |
| field @Deprecated public static final String MODIFY_NETWORK_ACCOUNTING = "android.permission.MODIFY_NETWORK_ACCOUNTING"; |
| field public static final String MODIFY_PARENTAL_CONTROLS = "android.permission.MODIFY_PARENTAL_CONTROLS"; |
| field public static final String MODIFY_QUIET_MODE = "android.permission.MODIFY_QUIET_MODE"; |
| field public static final String MOVE_PACKAGE = "android.permission.MOVE_PACKAGE"; |
| field public static final String NETWORK_CARRIER_PROVISIONING = "android.permission.NETWORK_CARRIER_PROVISIONING"; |
| field public static final String NETWORK_MANAGED_PROVISIONING = "android.permission.NETWORK_MANAGED_PROVISIONING"; |
| field public static final String NETWORK_SCAN = "android.permission.NETWORK_SCAN"; |
| field public static final String NETWORK_SETUP_WIZARD = "android.permission.NETWORK_SETUP_WIZARD"; |
| field public static final String NETWORK_SIGNAL_STRENGTH_WAKEUP = "android.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP"; |
| field public static final String NOTIFICATION_DURING_SETUP = "android.permission.NOTIFICATION_DURING_SETUP"; |
| field public static final String NOTIFY_TV_INPUTS = "android.permission.NOTIFY_TV_INPUTS"; |
| field public static final String OBSERVE_APP_USAGE = "android.permission.OBSERVE_APP_USAGE"; |
| field public static final String OBSERVE_ROLE_HOLDERS = "android.permission.OBSERVE_ROLE_HOLDERS"; |
| field public static final String OPEN_ACCESSIBILITY_DETAILS_SETTINGS = "android.permission.OPEN_ACCESSIBILITY_DETAILS_SETTINGS"; |
| field public static final String OVERRIDE_WIFI_CONFIG = "android.permission.OVERRIDE_WIFI_CONFIG"; |
| field public static final String PACKAGE_VERIFICATION_AGENT = "android.permission.PACKAGE_VERIFICATION_AGENT"; |
| field public static final String PACKET_KEEPALIVE_OFFLOAD = "android.permission.PACKET_KEEPALIVE_OFFLOAD"; |
| field public static final String PEERS_MAC_ADDRESS = "android.permission.PEERS_MAC_ADDRESS"; |
| field public static final String PERFORM_CDMA_PROVISIONING = "android.permission.PERFORM_CDMA_PROVISIONING"; |
| field public static final String PERFORM_SIM_ACTIVATION = "android.permission.PERFORM_SIM_ACTIVATION"; |
| field public static final String POWER_SAVER = "android.permission.POWER_SAVER"; |
| field public static final String PROVIDE_RESOLVER_RANKER_SERVICE = "android.permission.PROVIDE_RESOLVER_RANKER_SERVICE"; |
| field public static final String PROVIDE_TRUST_AGENT = "android.permission.PROVIDE_TRUST_AGENT"; |
| field public static final String QUERY_TIME_ZONE_RULES = "android.permission.QUERY_TIME_ZONE_RULES"; |
| field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS"; |
| field public static final String READ_CONTENT_RATING_SYSTEMS = "android.permission.READ_CONTENT_RATING_SYSTEMS"; |
| field public static final String READ_DEVICE_CONFIG = "android.permission.READ_DEVICE_CONFIG"; |
| field public static final String READ_DREAM_STATE = "android.permission.READ_DREAM_STATE"; |
| field public static final String READ_INSTALL_SESSIONS = "android.permission.READ_INSTALL_SESSIONS"; |
| field public static final String READ_NETWORK_USAGE_HISTORY = "android.permission.READ_NETWORK_USAGE_HISTORY"; |
| field public static final String READ_OEM_UNLOCK_STATE = "android.permission.READ_OEM_UNLOCK_STATE"; |
| field public static final String READ_PRINT_SERVICES = "android.permission.READ_PRINT_SERVICES"; |
| field public static final String READ_PRINT_SERVICE_RECOMMENDATIONS = "android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS"; |
| field public static final String READ_PRIVILEGED_PHONE_STATE = "android.permission.READ_PRIVILEGED_PHONE_STATE"; |
| field public static final String READ_RUNTIME_PROFILES = "android.permission.READ_RUNTIME_PROFILES"; |
| field public static final String READ_SEARCH_INDEXABLES = "android.permission.READ_SEARCH_INDEXABLES"; |
| field public static final String READ_SYSTEM_UPDATE_INFO = "android.permission.READ_SYSTEM_UPDATE_INFO"; |
| field public static final String READ_WALLPAPER_INTERNAL = "android.permission.READ_WALLPAPER_INTERNAL"; |
| field public static final String READ_WIFI_CREDENTIAL = "android.permission.READ_WIFI_CREDENTIAL"; |
| field public static final String REAL_GET_TASKS = "android.permission.REAL_GET_TASKS"; |
| field public static final String RECEIVE_DATA_ACTIVITY_CHANGE = "android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"; |
| field public static final String RECEIVE_DEVICE_CUSTOMIZATION_READY = "android.permission.RECEIVE_DEVICE_CUSTOMIZATION_READY"; |
| field public static final String RECEIVE_EMERGENCY_BROADCAST = "android.permission.RECEIVE_EMERGENCY_BROADCAST"; |
| field public static final String RECEIVE_WIFI_CREDENTIAL_CHANGE = "android.permission.RECEIVE_WIFI_CREDENTIAL_CHANGE"; |
| field public static final String RECOVERY = "android.permission.RECOVERY"; |
| field public static final String RECOVER_KEYSTORE = "android.permission.RECOVER_KEYSTORE"; |
| field public static final String REGISTER_CALL_PROVIDER = "android.permission.REGISTER_CALL_PROVIDER"; |
| field public static final String REGISTER_CONNECTION_MANAGER = "android.permission.REGISTER_CONNECTION_MANAGER"; |
| field public static final String REGISTER_SIM_SUBSCRIPTION = "android.permission.REGISTER_SIM_SUBSCRIPTION"; |
| field public static final String REMOTE_DISPLAY_PROVIDER = "android.permission.REMOTE_DISPLAY_PROVIDER"; |
| field public static final String REMOVE_DRM_CERTIFICATES = "android.permission.REMOVE_DRM_CERTIFICATES"; |
| field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS"; |
| field public static final String REQUEST_NOTIFICATION_ASSISTANT_SERVICE = "android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE"; |
| field public static final String RESET_PASSWORD = "android.permission.RESET_PASSWORD"; |
| field public static final String RESTRICTED_VR_ACCESS = "android.permission.RESTRICTED_VR_ACCESS"; |
| field public static final String RETRIEVE_WINDOW_CONTENT = "android.permission.RETRIEVE_WINDOW_CONTENT"; |
| field public static final String REVIEW_ACCESSIBILITY_SERVICES = "android.permission.REVIEW_ACCESSIBILITY_SERVICES"; |
| field public static final String REVOKE_RUNTIME_PERMISSIONS = "android.permission.REVOKE_RUNTIME_PERMISSIONS"; |
| field public static final String SCORE_NETWORKS = "android.permission.SCORE_NETWORKS"; |
| field public static final String SEND_DEVICE_CUSTOMIZATION_READY = "android.permission.SEND_DEVICE_CUSTOMIZATION_READY"; |
| field public static final String SEND_SHOW_SUSPENDED_APP_DETAILS = "android.permission.SEND_SHOW_SUSPENDED_APP_DETAILS"; |
| field public static final String SEND_SMS_NO_CONFIRMATION = "android.permission.SEND_SMS_NO_CONFIRMATION"; |
| field public static final String SERIAL_PORT = "android.permission.SERIAL_PORT"; |
| field public static final String SET_ACTIVITY_WATCHER = "android.permission.SET_ACTIVITY_WATCHER"; |
| field public static final String SET_HARMFUL_APP_WARNINGS = "android.permission.SET_HARMFUL_APP_WARNINGS"; |
| field public static final String SET_MEDIA_KEY_LISTENER = "android.permission.SET_MEDIA_KEY_LISTENER"; |
| field public static final String SET_ORIENTATION = "android.permission.SET_ORIENTATION"; |
| field public static final String SET_POINTER_SPEED = "android.permission.SET_POINTER_SPEED"; |
| field public static final String SET_SCREEN_COMPATIBILITY = "android.permission.SET_SCREEN_COMPATIBILITY"; |
| field public static final String SET_VOLUME_KEY_LONG_PRESS_LISTENER = "android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER"; |
| field public static final String SET_WALLPAPER_COMPONENT = "android.permission.SET_WALLPAPER_COMPONENT"; |
| field public static final String SHOW_KEYGUARD_MESSAGE = "android.permission.SHOW_KEYGUARD_MESSAGE"; |
| field public static final String SHUTDOWN = "android.permission.SHUTDOWN"; |
| field public static final String STOP_APP_SWITCHES = "android.permission.STOP_APP_SWITCHES"; |
| field public static final String SUBSTITUTE_NOTIFICATION_APP_NAME = "android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"; |
| field public static final String SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON = "android.permission.SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON"; |
| field public static final String SUSPEND_APPS = "android.permission.SUSPEND_APPS"; |
| field public static final String TETHER_PRIVILEGED = "android.permission.TETHER_PRIVILEGED"; |
| field public static final String TV_INPUT_HARDWARE = "android.permission.TV_INPUT_HARDWARE"; |
| field public static final String TV_VIRTUAL_REMOTE_CONTROLLER = "android.permission.TV_VIRTUAL_REMOTE_CONTROLLER"; |
| field public static final String UNLIMITED_SHORTCUTS_API_CALLS = "android.permission.UNLIMITED_SHORTCUTS_API_CALLS"; |
| field public static final String UPDATE_APP_OPS_STATS = "android.permission.UPDATE_APP_OPS_STATS"; |
| field public static final String UPDATE_LOCK = "android.permission.UPDATE_LOCK"; |
| field public static final String UPDATE_TIME_ZONE_RULES = "android.permission.UPDATE_TIME_ZONE_RULES"; |
| field public static final String USER_ACTIVITY = "android.permission.USER_ACTIVITY"; |
| field public static final String USE_RESERVED_DISK = "android.permission.USE_RESERVED_DISK"; |
| field public static final String WHITELIST_RESTRICTED_PERMISSIONS = "android.permission.WHITELIST_RESTRICTED_PERMISSIONS"; |
| field public static final String WRITE_DEVICE_CONFIG = "android.permission.WRITE_DEVICE_CONFIG"; |
| field public static final String WRITE_DREAM_STATE = "android.permission.WRITE_DREAM_STATE"; |
| field public static final String WRITE_EMBEDDED_SUBSCRIPTIONS = "android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"; |
| field public static final String WRITE_MEDIA_STORAGE = "android.permission.WRITE_MEDIA_STORAGE"; |
| field public static final String WRITE_OBB = "android.permission.WRITE_OBB"; |
| } |
| |
| public static final class Manifest.permission_group { |
| field public static final String UNDEFINED = "android.permission-group.UNDEFINED"; |
| } |
| |
| public static final class R.array { |
| field public static final int config_keySystemUuidMapping = 17235973; // 0x1070005 |
| } |
| |
| public static final class R.attr { |
| field public static final int allowClearUserDataOnFailedRestore = 16844288; // 0x1010600 |
| field public static final int isVrOnly = 16844152; // 0x1010578 |
| field public static final int requiredSystemPropertyName = 16844133; // 0x1010565 |
| field public static final int requiredSystemPropertyValue = 16844134; // 0x1010566 |
| field public static final int supportsAmbientMode = 16844173; // 0x101058d |
| field public static final int userRestriction = 16844164; // 0x1010584 |
| } |
| |
| public static final class R.bool { |
| field public static final int config_sendPackageName = 17891328; // 0x1110000 |
| field public static final int config_showDefaultAssistant = 17891329; // 0x1110001 |
| field public static final int config_showDefaultEmergency = 17891330; // 0x1110002 |
| field public static final int config_showDefaultHome = 17891331; // 0x1110003 |
| } |
| |
| public static final class R.color { |
| field public static final int system_notification_accent_color = 17170460; // 0x106001c |
| } |
| |
| public static final class R.dimen { |
| field public static final int config_restrictedIconSize = 17104903; // 0x1050007 |
| } |
| |
| public static final class R.drawable { |
| field public static final int ic_info = 17301684; // 0x10800b4 |
| } |
| |
| public static final class R.raw { |
| field public static final int loaderror = 17825792; // 0x1100000 |
| field public static final int nodomain = 17825793; // 0x1100001 |
| } |
| |
| public static final class R.string { |
| field public static final int config_defaultAssistant = 17039393; // 0x1040021 |
| field public static final int config_defaultBrowser = 17039394; // 0x1040022 |
| field public static final int config_defaultDialer = 17039395; // 0x1040023 |
| field public static final int config_defaultSms = 17039396; // 0x1040024 |
| field public static final int config_feedbackIntentExtraKey = 17039391; // 0x104001f |
| field public static final int config_feedbackIntentNameKey = 17039392; // 0x1040020 |
| field public static final int config_helpIntentExtraKey = 17039389; // 0x104001d |
| field public static final int config_helpIntentNameKey = 17039390; // 0x104001e |
| field public static final int config_helpPackageNameKey = 17039387; // 0x104001b |
| field public static final int config_helpPackageNameValue = 17039388; // 0x104001c |
| } |
| |
| public static final class R.style { |
| field public static final int Theme_DeviceDefault_DocumentsUI = 16974562; // 0x10302e2 |
| field public static final int Theme_Leanback_FormWizard = 16974544; // 0x10302d0 |
| } |
| |
| } |
| |
| package android.accounts { |
| |
| public class AccountManager { |
| 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); |
| } |
| |
| } |
| |
| package android.app { |
| |
| public class Activity extends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.view.KeyEvent.Callback android.view.LayoutInflater.Factory2 android.view.View.OnCreateContextMenuListener android.view.Window.Callback { |
| method public void convertFromTranslucent(); |
| method public boolean convertToTranslucent(android.app.Activity.TranslucentConversionListener, android.app.ActivityOptions); |
| method @Deprecated public boolean isBackgroundVisibleBehind(); |
| method @Deprecated public void onBackgroundVisibleBehindChanged(boolean); |
| } |
| |
| public static interface Activity.TranslucentConversionListener { |
| method public void onTranslucentConversionComplete(boolean); |
| } |
| |
| public class ActivityManager { |
| method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void addOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener, int); |
| method @RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) public void forceStopPackage(String); |
| method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public static int getCurrentUser(); |
| method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String); |
| method @NonNull public java.util.Collection<java.util.Locale> getSupportedLocales(); |
| method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getUidImportance(int); |
| method @RequiresPermission(android.Manifest.permission.KILL_UID) public void killUid(int, String); |
| method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void removeOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener); |
| method public void setDeviceLocales(@NonNull android.os.LocaleList); |
| method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public static void setPersistentVrThread(int); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean switchUser(@NonNull android.os.UserHandle); |
| } |
| |
| public static interface ActivityManager.OnUidImportanceListener { |
| method public void onUidImportance(int, int); |
| } |
| |
| public class AlarmManager { |
| method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public void set(int, long, long, long, android.app.PendingIntent, android.os.WorkSource); |
| 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); |
| } |
| |
| public class AppOpsManager { |
| 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>); |
| method public static String[] getOpStrs(); |
| 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...); |
| method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getPackagesForOps(@Nullable String[]); |
| method public static int opToDefaultMode(@NonNull String); |
| method @Nullable public static String opToPermission(@NonNull String); |
| method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setMode(String, int, String, int); |
| method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setUidMode(String, int, int); |
| field public static final String OPSTR_ACCEPT_HANDOVER = "android:accept_handover"; |
| field public static final String OPSTR_ACCESS_ACCESSIBILITY = "android:access_accessibility"; |
| field public static final String OPSTR_ACCESS_NOTIFICATIONS = "android:access_notifications"; |
| field public static final String OPSTR_ACTIVATE_VPN = "android:activate_vpn"; |
| field public static final String OPSTR_ASSIST_SCREENSHOT = "android:assist_screenshot"; |
| field public static final String OPSTR_ASSIST_STRUCTURE = "android:assist_structure"; |
| field public static final String OPSTR_AUDIO_ACCESSIBILITY_VOLUME = "android:audio_accessibility_volume"; |
| field public static final String OPSTR_AUDIO_ALARM_VOLUME = "android:audio_alarm_volume"; |
| field public static final String OPSTR_AUDIO_BLUETOOTH_VOLUME = "android:audio_bluetooth_volume"; |
| field public static final String OPSTR_AUDIO_MASTER_VOLUME = "android:audio_master_volume"; |
| field public static final String OPSTR_AUDIO_MEDIA_VOLUME = "android:audio_media_volume"; |
| field public static final String OPSTR_AUDIO_NOTIFICATION_VOLUME = "android:audio_notification_volume"; |
| field public static final String OPSTR_AUDIO_RING_VOLUME = "android:audio_ring_volume"; |
| field public static final String OPSTR_AUDIO_VOICE_VOLUME = "android:audio_voice_volume"; |
| field public static final String OPSTR_BIND_ACCESSIBILITY_SERVICE = "android:bind_accessibility_service"; |
| field public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state"; |
| field public static final String OPSTR_GET_ACCOUNTS = "android:get_accounts"; |
| field public static final String OPSTR_GPS = "android:gps"; |
| field public static final String OPSTR_INSTANT_APP_START_FOREGROUND = "android:instant_app_start_foreground"; |
| field public static final String OPSTR_LEGACY_STORAGE = "android:legacy_storage"; |
| field public static final String OPSTR_MANAGE_IPSEC_TUNNELS = "android:manage_ipsec_tunnels"; |
| field public static final String OPSTR_MUTE_MICROPHONE = "android:mute_microphone"; |
| field public static final String OPSTR_NEIGHBORING_CELLS = "android:neighboring_cells"; |
| field public static final String OPSTR_PLAY_AUDIO = "android:play_audio"; |
| field public static final String OPSTR_POST_NOTIFICATION = "android:post_notification"; |
| field public static final String OPSTR_PROJECT_MEDIA = "android:project_media"; |
| field public static final String OPSTR_READ_CLIPBOARD = "android:read_clipboard"; |
| field public static final String OPSTR_READ_ICC_SMS = "android:read_icc_sms"; |
| field public static final String OPSTR_RECEIVE_EMERGENCY_BROADCAST = "android:receive_emergency_broadcast"; |
| field public static final String OPSTR_REQUEST_DELETE_PACKAGES = "android:request_delete_packages"; |
| field public static final String OPSTR_REQUEST_INSTALL_PACKAGES = "android:request_install_packages"; |
| field public static final String OPSTR_RUN_ANY_IN_BACKGROUND = "android:run_any_in_background"; |
| field public static final String OPSTR_RUN_IN_BACKGROUND = "android:run_in_background"; |
| field public static final String OPSTR_START_FOREGROUND = "android:start_foreground"; |
| field public static final String OPSTR_TAKE_AUDIO_FOCUS = "android:take_audio_focus"; |
| field public static final String OPSTR_TAKE_MEDIA_BUTTONS = "android:take_media_buttons"; |
| field public static final String OPSTR_TOAST_WINDOW = "android:toast_window"; |
| field public static final String OPSTR_TURN_SCREEN_ON = "android:turn_screen_on"; |
| field public static final String OPSTR_VIBRATE = "android:vibrate"; |
| field public static final String OPSTR_WAKE_LOCK = "android:wake_lock"; |
| field public static final String OPSTR_WIFI_SCAN = "android:wifi_scan"; |
| field public static final String OPSTR_WRITE_CLIPBOARD = "android:write_clipboard"; |
| field public static final String OPSTR_WRITE_ICC_SMS = "android:write_icc_sms"; |
| field public static final String OPSTR_WRITE_SMS = "android:write_sms"; |
| field public static final String OPSTR_WRITE_WALLPAPER = "android:write_wallpaper"; |
| field public static final int OP_FLAGS_ALL = 31; // 0x1f |
| field public static final int OP_FLAGS_ALL_TRUSTED = 13; // 0xd |
| field public static final int OP_FLAG_SELF = 1; // 0x1 |
| field public static final int OP_FLAG_TRUSTED_PROXIED = 8; // 0x8 |
| field public static final int OP_FLAG_TRUSTED_PROXY = 2; // 0x2 |
| field public static final int OP_FLAG_UNTRUSTED_PROXIED = 16; // 0x10 |
| field public static final int OP_FLAG_UNTRUSTED_PROXY = 4; // 0x4 |
| field public static final int UID_STATE_BACKGROUND = 600; // 0x258 |
| field public static final int UID_STATE_CACHED = 700; // 0x2bc |
| field public static final int UID_STATE_FOREGROUND = 500; // 0x1f4 |
| field public static final int UID_STATE_FOREGROUND_SERVICE = 400; // 0x190 |
| field public static final int UID_STATE_FOREGROUND_SERVICE_LOCATION = 300; // 0x12c |
| field public static final int UID_STATE_PERSISTENT = 100; // 0x64 |
| field public static final int UID_STATE_TOP = 200; // 0xc8 |
| } |
| |
| public static final class AppOpsManager.HistoricalOp implements android.os.Parcelable { |
| method public int describeContents(); |
| method public long getAccessCount(int, int, int); |
| method public long getAccessDuration(int, int, int); |
| method public long getBackgroundAccessCount(int); |
| method public long getBackgroundAccessDuration(int); |
| method public long getBackgroundRejectCount(int); |
| method public long getForegroundAccessCount(int); |
| method public long getForegroundAccessDuration(int); |
| method public long getForegroundRejectCount(int); |
| method @NonNull public String getOpName(); |
| method public long getRejectCount(int, int, int); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOp> CREATOR; |
| } |
| |
| public static final class AppOpsManager.HistoricalOps implements android.os.Parcelable { |
| method public int describeContents(); |
| method public long getBeginTimeMillis(); |
| method public long getEndTimeMillis(); |
| method @IntRange(from=0) public int getUidCount(); |
| method @Nullable public android.app.AppOpsManager.HistoricalUidOps getUidOps(int); |
| method @NonNull public android.app.AppOpsManager.HistoricalUidOps getUidOpsAt(@IntRange(from=0) int); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOps> CREATOR; |
| } |
| |
| public static final class AppOpsManager.HistoricalOpsRequest { |
| } |
| |
| public static final class AppOpsManager.HistoricalOpsRequest.Builder { |
| ctor public AppOpsManager.HistoricalOpsRequest.Builder(long, long); |
| method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest build(); |
| method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setFlags(int); |
| method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setOpNames(@Nullable java.util.List<java.lang.String>); |
| method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setPackageName(@Nullable String); |
| method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setUid(int); |
| } |
| |
| public static final class AppOpsManager.HistoricalPackageOps implements android.os.Parcelable { |
| method public int describeContents(); |
| method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String); |
| method @NonNull public android.app.AppOpsManager.HistoricalOp getOpAt(@IntRange(from=0) int); |
| method @IntRange(from=0) public int getOpCount(); |
| method @NonNull public String getPackageName(); |
| method public void writeToParcel(@NonNull android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalPackageOps> CREATOR; |
| } |
| |
| public static final class AppOpsManager.HistoricalUidOps implements android.os.Parcelable { |
| method public int describeContents(); |
| method @IntRange(from=0) public int getPackageCount(); |
| method @Nullable public android.app.AppOpsManager.HistoricalPackageOps getPackageOps(@NonNull String); |
| method @NonNull public android.app.AppOpsManager.HistoricalPackageOps getPackageOpsAt(@IntRange(from=0) int); |
| method public int getUid(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalUidOps> CREATOR; |
| } |
| |
| public static final class AppOpsManager.OpEntry implements android.os.Parcelable { |
| method public int describeContents(); |
| method public long getDuration(); |
| method public long getLastAccessBackgroundTime(int); |
| method public long getLastAccessForegroundTime(int); |
| method public long getLastAccessTime(int); |
| method public long getLastAccessTime(int, int, int); |
| method public long getLastBackgroundDuration(int); |
| method public long getLastDuration(int, int, int); |
| method public long getLastForegroundDuration(int); |
| method public long getLastRejectBackgroundTime(int); |
| method public long getLastRejectForegroundTime(int); |
| method public long getLastRejectTime(int); |
| method public long getLastRejectTime(int, int, int); |
| method public int getMode(); |
| method @NonNull public String getOpStr(); |
| method @Nullable public String getProxyPackageName(); |
| method @Nullable public String getProxyPackageName(int, int); |
| method public int getProxyUid(); |
| method public int getProxyUid(int, int); |
| method public boolean isRunning(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR; |
| } |
| |
| public static final class AppOpsManager.PackageOps implements android.os.Parcelable { |
| method public int describeContents(); |
| method @NonNull public java.util.List<android.app.AppOpsManager.OpEntry> getOps(); |
| method @NonNull public String getPackageName(); |
| method public int getUid(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.PackageOps> CREATOR; |
| } |
| |
| public class BroadcastOptions { |
| method public static android.app.BroadcastOptions makeBasic(); |
| method @RequiresPermission("android.permission.START_ACTIVITIES_FROM_BACKGROUND") public void setBackgroundActivityStartsAllowed(boolean); |
| method public void setDontSendToRestrictedApps(boolean); |
| method @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void setTemporaryAppWhitelistDuration(long); |
| method public android.os.Bundle toBundle(); |
| } |
| |
| public class DownloadManager { |
| field public static final String ACTION_DOWNLOAD_COMPLETED = "android.intent.action.DOWNLOAD_COMPLETED"; |
| } |
| |
| public abstract class InstantAppResolverService extends android.app.Service { |
| ctor public InstantAppResolverService(); |
| method public final void attachBaseContext(android.content.Context); |
| method public final android.os.IBinder onBind(android.content.Intent); |
| method @Deprecated public void onGetInstantAppIntentFilter(@Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); |
| method @Deprecated public void onGetInstantAppIntentFilter(@NonNull android.content.Intent, @Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); |
| method public void onGetInstantAppIntentFilter(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); |
| method @Deprecated public void onGetInstantAppResolveInfo(@Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); |
| method @Deprecated public void onGetInstantAppResolveInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); |
| method public void onGetInstantAppResolveInfo(@NonNull android.content.Intent, @Nullable int[], @NonNull android.os.UserHandle, @NonNull String, @NonNull android.app.InstantAppResolverService.InstantAppResolutionCallback); |
| } |
| |
| public static final class InstantAppResolverService.InstantAppResolutionCallback { |
| method public void onInstantAppResolveInfo(java.util.List<android.content.pm.InstantAppResolveInfo>); |
| } |
| |
| public class KeyguardManager { |
| method public android.content.Intent createConfirmFactoryResetCredentialIntent(CharSequence, CharSequence, CharSequence); |
| method @RequiresPermission(android.Manifest.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS) public boolean getPrivateNotificationsAllowed(); |
| method @RequiresPermission(android.Manifest.permission.SHOW_KEYGUARD_MESSAGE) public void requestDismissKeyguard(@NonNull android.app.Activity, @Nullable CharSequence, @Nullable android.app.KeyguardManager.KeyguardDismissCallback); |
| method @RequiresPermission(android.Manifest.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS) public void setPrivateNotificationsAllowed(boolean); |
| } |
| |
| public class Notification implements android.os.Parcelable { |
| field public static final String CATEGORY_CAR_EMERGENCY = "car_emergency"; |
| field public static final String CATEGORY_CAR_INFORMATION = "car_information"; |
| field public static final String CATEGORY_CAR_WARNING = "car_warning"; |
| field @RequiresPermission(android.Manifest.permission.NOTIFICATION_DURING_SETUP) public static final String EXTRA_ALLOW_DURING_SETUP = "android.allowDuringSetup"; |
| field @RequiresPermission(android.Manifest.permission.SUBSTITUTE_NOTIFICATION_APP_NAME) public static final String EXTRA_SUBSTITUTE_APP_NAME = "android.substName"; |
| field public static final int FLAG_AUTOGROUP_SUMMARY = 1024; // 0x400 |
| } |
| |
| public static final class Notification.TvExtender implements android.app.Notification.Extender { |
| ctor public Notification.TvExtender(); |
| ctor public Notification.TvExtender(android.app.Notification); |
| method public android.app.Notification.Builder extend(android.app.Notification.Builder); |
| method public String getChannelId(); |
| method public android.app.PendingIntent getContentIntent(); |
| method public android.app.PendingIntent getDeleteIntent(); |
| method public boolean getSuppressShowOverApps(); |
| method public boolean isAvailableOnTv(); |
| method public android.app.Notification.TvExtender setChannel(String); |
| method public android.app.Notification.TvExtender setChannelId(String); |
| method public android.app.Notification.TvExtender setContentIntent(android.app.PendingIntent); |
| method public android.app.Notification.TvExtender setDeleteIntent(android.app.PendingIntent); |
| method public android.app.Notification.TvExtender setSuppressShowOverApps(boolean); |
| } |
| |
| public final class NotificationChannel implements android.os.Parcelable { |
| method public int getUserLockedFields(); |
| method public boolean isDeleted(); |
| method public void populateFromXml(org.xmlpull.v1.XmlPullParser); |
| method public org.json.JSONObject toJson() throws org.json.JSONException; |
| method public void writeXml(org.xmlpull.v1.XmlSerializer) throws java.io.IOException; |
| } |
| |
| public final class NotificationChannelGroup implements android.os.Parcelable { |
| method public org.json.JSONObject toJson() throws org.json.JSONException; |
| } |
| |
| public class NotificationManager { |
| method @NonNull public java.util.List<java.lang.String> getAllowedAssistantAdjustments(); |
| method @Nullable public android.content.ComponentName getAllowedNotificationAssistant(); |
| method public boolean isNotificationAssistantAccessGranted(@NonNull android.content.ComponentName); |
| method public void setNotificationAssistantAccessGranted(@Nullable android.content.ComponentName, boolean); |
| } |
| |
| public final class StatsManager { |
| method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void addConfig(long, byte[]) throws android.app.StatsManager.StatsUnavailableException; |
| method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean addConfiguration(long, byte[]); |
| method @Deprecated @Nullable @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getData(long); |
| method @Deprecated @Nullable @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getMetadata(); |
| method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public long[] getRegisteredExperimentIds() throws android.app.StatsManager.StatsUnavailableException; |
| method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getReports(long) throws android.app.StatsManager.StatsUnavailableException; |
| method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getStatsMetadata() throws android.app.StatsManager.StatsUnavailableException; |
| method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void removeConfig(long) throws android.app.StatsManager.StatsUnavailableException; |
| method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean removeConfiguration(long); |
| method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) @NonNull public long[] setActiveConfigsChangedOperation(@Nullable android.app.PendingIntent) throws android.app.StatsManager.StatsUnavailableException; |
| method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void setBroadcastSubscriber(android.app.PendingIntent, long, long) throws android.app.StatsManager.StatsUnavailableException; |
| method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean setBroadcastSubscriber(long, long, android.app.PendingIntent); |
| method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean setDataFetchOperation(long, android.app.PendingIntent); |
| method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void setFetchReportsOperation(android.app.PendingIntent, long) throws android.app.StatsManager.StatsUnavailableException; |
| field public static final String ACTION_STATSD_STARTED = "android.app.action.STATSD_STARTED"; |
| field public static final String EXTRA_STATS_ACTIVE_CONFIG_KEYS = "android.app.extra.STATS_ACTIVE_CONFIG_KEYS"; |
| field public static final String EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES = "android.app.extra.STATS_BROADCAST_SUBSCRIBER_COOKIES"; |
| field public static final String EXTRA_STATS_CONFIG_KEY = "android.app.extra.STATS_CONFIG_KEY"; |
| field public static final String EXTRA_STATS_CONFIG_UID = "android.app.extra.STATS_CONFIG_UID"; |
| field public static final String EXTRA_STATS_DIMENSIONS_VALUE = "android.app.extra.STATS_DIMENSIONS_VALUE"; |
| field public static final String EXTRA_STATS_SUBSCRIPTION_ID = "android.app.extra.STATS_SUBSCRIPTION_ID"; |
| field public static final String EXTRA_STATS_SUBSCRIPTION_RULE_ID = "android.app.extra.STATS_SUBSCRIPTION_RULE_ID"; |
| } |
| |
| public static class StatsManager.StatsUnavailableException extends android.util.AndroidException { |
| ctor public StatsManager.StatsUnavailableException(String); |
| ctor public StatsManager.StatsUnavailableException(String, Throwable); |
| } |
| |
| public class StatusBarManager { |
| method @NonNull @RequiresPermission(android.Manifest.permission.STATUS_BAR) public android.app.StatusBarManager.DisableInfo getDisableInfo(); |
| method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setDisabledForSetup(boolean); |
| } |
| |
| public static final class StatusBarManager.DisableInfo { |
| method public boolean areAllComponentsEnabled(); |
| method public boolean isNavigateToHomeDisabled(); |
| method public boolean isNotificationPeekingDisabled(); |
| method public boolean isRecentsDisabled(); |
| method public boolean isSearchDisabled(); |
| method public boolean isStatusBarExpansionDisabled(); |
| } |
| |
| public final class Vr2dDisplayProperties implements android.os.Parcelable { |
| ctor public Vr2dDisplayProperties(int, int, int); |
| method public int describeContents(); |
| method public void dump(@NonNull java.io.PrintWriter, @NonNull String); |
| method public int getAddedFlags(); |
| method public int getDpi(); |
| method public int getHeight(); |
| method public int getRemovedFlags(); |
| method public int getWidth(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.Vr2dDisplayProperties> CREATOR; |
| field public static final int FLAG_VIRTUAL_DISPLAY_ENABLED = 1; // 0x1 |
| } |
| |
| public static final class Vr2dDisplayProperties.Builder { |
| ctor public Vr2dDisplayProperties.Builder(); |
| method @NonNull public android.app.Vr2dDisplayProperties.Builder addFlags(int); |
| method @NonNull public android.app.Vr2dDisplayProperties build(); |
| method @NonNull public android.app.Vr2dDisplayProperties.Builder removeFlags(int); |
| method @NonNull public android.app.Vr2dDisplayProperties.Builder setDimensions(int, int, int); |
| method @NonNull public android.app.Vr2dDisplayProperties.Builder setEnabled(boolean); |
| } |
| |
| public class VrManager { |
| method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public int getVr2dDisplayId(); |
| method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public boolean isPersistentVrModeEnabled(); |
| method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public boolean isVrModeEnabled(); |
| method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public void registerVrStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.app.VrStateCallback); |
| method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setAndBindVrCompositor(android.content.ComponentName); |
| method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setPersistentVrModeEnabled(boolean); |
| method @RequiresPermission("android.permission.ACCESS_VR_MANAGER") public void setStandbyEnabled(boolean); |
| method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setVr2dDisplayProperties(@NonNull android.app.Vr2dDisplayProperties); |
| method @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) public void setVrInputMethod(@Nullable android.content.ComponentName); |
| method @RequiresPermission(anyOf={android.Manifest.permission.RESTRICTED_VR_ACCESS, "android.permission.ACCESS_VR_STATE"}) public void unregisterVrStateCallback(@NonNull android.app.VrStateCallback); |
| } |
| |
| public abstract class VrStateCallback { |
| ctor public VrStateCallback(); |
| method public void onPersistentVrStateChanged(boolean); |
| method public void onVrStateChanged(boolean); |
| } |
| |
| public final class WallpaperColors implements android.os.Parcelable { |
| ctor public WallpaperColors(@NonNull android.graphics.Color, @Nullable android.graphics.Color, @Nullable android.graphics.Color, int); |
| method public int getColorHints(); |
| field public static final int HINT_SUPPORTS_DARK_TEXT = 1; // 0x1 |
| field public static final int HINT_SUPPORTS_DARK_THEME = 2; // 0x2 |
| } |
| |
| public final class WallpaperInfo implements android.os.Parcelable { |
| method public boolean supportsAmbientMode(); |
| } |
| |
| public class WallpaperManager { |
| method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public void clearWallpaper(int, int); |
| method public void setDisplayOffset(android.os.IBinder, int, int); |
| method @RequiresPermission(android.Manifest.permission.SET_WALLPAPER_COMPONENT) public boolean setWallpaperComponent(android.content.ComponentName); |
| } |
| |
| } |
| |
| package android.app.admin { |
| |
| public class DevicePolicyManager { |
| method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getDeviceOwner(); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.content.ComponentName getDeviceOwnerComponentOnAnyUser(); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getDeviceOwnerNameOnAnyUser(); |
| method @Nullable public CharSequence getDeviceOwnerOrganizationName(); |
| method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public android.os.UserHandle getDeviceOwnerUser(); |
| method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public java.util.List<java.lang.String> getPermittedAccessibilityServices(int); |
| method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public java.util.List<java.lang.String> getPermittedInputMethodsForCurrentUser(); |
| method @Nullable public android.content.ComponentName getProfileOwner() throws java.lang.IllegalArgumentException; |
| method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public String getProfileOwnerNameAsUser(int) throws java.lang.IllegalArgumentException; |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public int getUserProvisioningState(); |
| method public boolean isDeviceManaged(); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isDeviceProvisioned(); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isDeviceProvisioningConfigApplied(); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isManagedKiosk(); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public boolean isUnattendedManagedKiosk(); |
| method @RequiresPermission("android.permission.NOTIFY_PENDING_SYSTEM_UPDATE") public void notifyPendingSystemUpdate(long); |
| method @RequiresPermission("android.permission.NOTIFY_PENDING_SYSTEM_UPDATE") public void notifyPendingSystemUpdate(long, boolean); |
| method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public boolean packageHasActiveAdmins(String); |
| method @Deprecated @RequiresPermission("android.permission.MANAGE_DEVICE_ADMINS") public boolean setActiveProfileOwner(@NonNull android.content.ComponentName, String) throws java.lang.IllegalArgumentException; |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setDeviceProvisioningConfigApplied(); |
| method @RequiresPermission(value=android.Manifest.permission.GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS, conditional=true) public void setProfileOwnerCanAccessDeviceIds(@NonNull android.content.ComponentName); |
| field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_ALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED"; |
| field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_DISALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED"; |
| field public static final String ACTION_PROVISION_FINALIZATION = "android.app.action.PROVISION_FINALIZATION"; |
| field public static final String ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE = "android.app.action.PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE"; |
| field public static final String ACTION_SET_PROFILE_OWNER = "android.app.action.SET_PROFILE_OWNER"; |
| field public static final String ACTION_STATE_USER_SETUP_COMPLETE = "android.app.action.STATE_USER_SETUP_COMPLETE"; |
| field public static final String EXTRA_PROFILE_OWNER_NAME = "android.app.extra.PROFILE_OWNER_NAME"; |
| field public static final String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_URI = "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_URI"; |
| field public static final String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL = "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL"; |
| field public static final String EXTRA_PROVISIONING_ORGANIZATION_NAME = "android.app.extra.PROVISIONING_ORGANIZATION_NAME"; |
| field public static final String EXTRA_PROVISIONING_SUPPORT_URL = "android.app.extra.PROVISIONING_SUPPORT_URL"; |
| field public static final String EXTRA_PROVISIONING_TRIGGER = "android.app.extra.PROVISIONING_TRIGGER"; |
| field public static final String EXTRA_RESTRICTION = "android.app.extra.RESTRICTION"; |
| field public static final int PROVISIONING_TRIGGER_CLOUD_ENROLLMENT = 1; // 0x1 |
| field public static final int PROVISIONING_TRIGGER_PERSISTENT_DEVICE_OWNER = 3; // 0x3 |
| field public static final int PROVISIONING_TRIGGER_QR_CODE = 2; // 0x2 |
| field public static final int PROVISIONING_TRIGGER_UNSPECIFIED = 0; // 0x0 |
| field public static final int STATE_USER_PROFILE_COMPLETE = 4; // 0x4 |
| field public static final int STATE_USER_SETUP_COMPLETE = 2; // 0x2 |
| field public static final int STATE_USER_SETUP_FINALIZED = 3; // 0x3 |
| field public static final int STATE_USER_SETUP_INCOMPLETE = 1; // 0x1 |
| field public static final int STATE_USER_UNMANAGED = 0; // 0x0 |
| } |
| |
| public final class SystemUpdatePolicy implements android.os.Parcelable { |
| method public android.app.admin.SystemUpdatePolicy.InstallationOption getInstallationOptionAt(long); |
| field public static final int TYPE_PAUSE = 4; // 0x4 |
| } |
| |
| public static class SystemUpdatePolicy.InstallationOption { |
| method public long getEffectiveTime(); |
| method public int getType(); |
| } |
| |
| } |
| |
| package android.app.assist { |
| |
| public static class AssistStructure.ViewNode { |
| ctor public AssistStructure.ViewNode(); |
| } |
| |
| } |
| |
| package android.app.backup { |
| |
| public class BackupDataInput { |
| ctor public BackupDataInput(java.io.FileDescriptor); |
| } |
| |
| public class BackupDataOutput { |
| ctor public BackupDataOutput(java.io.FileDescriptor); |
| ctor public BackupDataOutput(java.io.FileDescriptor, long); |
| } |
| |
| public class BackupManager { |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public void backupNow(); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public android.app.backup.RestoreSession beginRestoreSession(); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public void cancelBackups(); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public long getAvailableRestoreToken(String); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.Intent getConfigurationIntent(String); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public String getCurrentTransport(); |
| method @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.ComponentName getCurrentTransportComponent(); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public android.content.Intent getDataManagementIntent(String); |
| method @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public CharSequence getDataManagementIntentLabel(@NonNull String); |
| method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.BACKUP) public String getDataManagementLabel(@NonNull String); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public String getDestinationString(String); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isAppEligibleForBackup(String); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isBackupEnabled(); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public boolean isBackupServiceActive(android.os.UserHandle); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public String[] listAllTransports(); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], android.app.backup.BackupObserver); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], android.app.backup.BackupObserver, android.app.backup.BackupManagerMonitor, int); |
| method @Deprecated public int requestRestore(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); |
| method @Deprecated @RequiresPermission(android.Manifest.permission.BACKUP) public String selectBackupTransport(String); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public void selectBackupTransport(android.content.ComponentName, android.app.backup.SelectBackupTransportCallback); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public void setAncestralSerialNumber(long); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public void setAutoRestore(boolean); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public void setBackupEnabled(boolean); |
| method @Deprecated @RequiresPermission(android.Manifest.permission.BACKUP) public void updateTransportAttributes(@NonNull android.content.ComponentName, @NonNull String, @Nullable android.content.Intent, @NonNull String, @Nullable android.content.Intent, @Nullable String); |
| method @RequiresPermission(android.Manifest.permission.BACKUP) public void updateTransportAttributes(@NonNull android.content.ComponentName, @NonNull String, @Nullable android.content.Intent, @NonNull String, @Nullable android.content.Intent, @Nullable CharSequence); |
| field public static final int ERROR_AGENT_FAILURE = -1003; // 0xfffffc15 |
| field public static final int ERROR_BACKUP_CANCELLED = -2003; // 0xfffff82d |
| field public static final int ERROR_BACKUP_NOT_ALLOWED = -2001; // 0xfffff82f |
| field public static final int ERROR_PACKAGE_NOT_FOUND = -2002; // 0xfffff82e |
| field public static final int ERROR_TRANSPORT_ABORTED = -1000; // 0xfffffc18 |
| field public static final int ERROR_TRANSPORT_INVALID = -2; // 0xfffffffe |
| field public static final int ERROR_TRANSPORT_PACKAGE_REJECTED = -1002; // 0xfffffc16 |
| field public static final int ERROR_TRANSPORT_QUOTA_EXCEEDED = -1005; // 0xfffffc13 |
| field public static final int ERROR_TRANSPORT_UNAVAILABLE = -1; // 0xffffffff |
| field public static final int FLAG_NON_INCREMENTAL_BACKUP = 1; // 0x1 |
| field public static final String PACKAGE_MANAGER_SENTINEL = "@pm@"; |
| field public static final int SUCCESS = 0; // 0x0 |
| } |
| |
| public class BackupManagerMonitor { |
| ctor public BackupManagerMonitor(); |
| method public void onEvent(android.os.Bundle); |
| field public static final String EXTRA_LOG_CANCEL_ALL = "android.app.backup.extra.LOG_CANCEL_ALL"; |
| field public static final String EXTRA_LOG_EVENT_CATEGORY = "android.app.backup.extra.LOG_EVENT_CATEGORY"; |
| field public static final String EXTRA_LOG_EVENT_ID = "android.app.backup.extra.LOG_EVENT_ID"; |
| field public static final String EXTRA_LOG_EVENT_PACKAGE_LONG_VERSION = "android.app.backup.extra.LOG_EVENT_PACKAGE_FULL_VERSION"; |
| field public static final String EXTRA_LOG_EVENT_PACKAGE_NAME = "android.app.backup.extra.LOG_EVENT_PACKAGE_NAME"; |
| field @Deprecated public static final String EXTRA_LOG_EVENT_PACKAGE_VERSION = "android.app.backup.extra.LOG_EVENT_PACKAGE_VERSION"; |
| field public static final String EXTRA_LOG_EXCEPTION_FULL_BACKUP = "android.app.backup.extra.LOG_EXCEPTION_FULL_BACKUP"; |
| field public static final String EXTRA_LOG_ILLEGAL_KEY = "android.app.backup.extra.LOG_ILLEGAL_KEY"; |
| field public static final String EXTRA_LOG_MANIFEST_PACKAGE_NAME = "android.app.backup.extra.LOG_MANIFEST_PACKAGE_NAME"; |
| field public static final String EXTRA_LOG_OLD_VERSION = "android.app.backup.extra.LOG_OLD_VERSION"; |
| field public static final String EXTRA_LOG_POLICY_ALLOW_APKS = "android.app.backup.extra.LOG_POLICY_ALLOW_APKS"; |
| field public static final String EXTRA_LOG_PREFLIGHT_ERROR = "android.app.backup.extra.LOG_PREFLIGHT_ERROR"; |
| field public static final String EXTRA_LOG_RESTORE_ANYWAY = "android.app.backup.extra.LOG_RESTORE_ANYWAY"; |
| field public static final String EXTRA_LOG_RESTORE_VERSION = "android.app.backup.extra.LOG_RESTORE_VERSION"; |
| field public static final String EXTRA_LOG_WIDGET_PACKAGE_NAME = "android.app.backup.extra.LOG_WIDGET_PACKAGE_NAME"; |
| field public static final int LOG_EVENT_CATEGORY_AGENT = 2; // 0x2 |
| field public static final int LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY = 3; // 0x3 |
| field public static final int LOG_EVENT_CATEGORY_TRANSPORT = 1; // 0x1 |
| field public static final int LOG_EVENT_ID_APK_NOT_INSTALLED = 40; // 0x28 |
| field public static final int LOG_EVENT_ID_APP_HAS_NO_AGENT = 28; // 0x1c |
| field public static final int LOG_EVENT_ID_BACKUP_DISABLED = 13; // 0xd |
| field public static final int LOG_EVENT_ID_CANNOT_RESTORE_WITHOUT_APK = 41; // 0x29 |
| field public static final int LOG_EVENT_ID_CANT_FIND_AGENT = 30; // 0x1e |
| field public static final int LOG_EVENT_ID_CORRUPT_MANIFEST = 46; // 0x2e |
| field public static final int LOG_EVENT_ID_DEVICE_NOT_PROVISIONED = 14; // 0xe |
| field public static final int LOG_EVENT_ID_ERROR_PREFLIGHT = 16; // 0x10 |
| field public static final int LOG_EVENT_ID_EXCEPTION_FULL_BACKUP = 19; // 0x13 |
| field public static final int LOG_EVENT_ID_EXPECTED_DIFFERENT_PACKAGE = 43; // 0x2b |
| field public static final int LOG_EVENT_ID_FULL_BACKUP_CANCEL = 4; // 0x4 |
| field public static final int LOG_EVENT_ID_FULL_RESTORE_ALLOW_BACKUP_FALSE = 39; // 0x27 |
| field public static final int LOG_EVENT_ID_FULL_RESTORE_SIGNATURE_MISMATCH = 37; // 0x25 |
| field public static final int LOG_EVENT_ID_FULL_RESTORE_TIMEOUT = 45; // 0x2d |
| field public static final int LOG_EVENT_ID_ILLEGAL_KEY = 5; // 0x5 |
| field public static final int LOG_EVENT_ID_KEY_VALUE_BACKUP_CANCEL = 21; // 0x15 |
| field public static final int LOG_EVENT_ID_KEY_VALUE_RESTORE_TIMEOUT = 31; // 0x1f |
| field public static final int LOG_EVENT_ID_LOST_TRANSPORT = 25; // 0x19 |
| field public static final int LOG_EVENT_ID_MISSING_SIGNATURE = 42; // 0x2a |
| field public static final int LOG_EVENT_ID_NO_DATA_TO_SEND = 7; // 0x7 |
| field public static final int LOG_EVENT_ID_NO_PACKAGES = 49; // 0x31 |
| field public static final int LOG_EVENT_ID_NO_PM_METADATA_RECEIVED = 23; // 0x17 |
| field public static final int LOG_EVENT_ID_NO_RESTORE_METADATA_AVAILABLE = 22; // 0x16 |
| field public static final int LOG_EVENT_ID_PACKAGE_INELIGIBLE = 9; // 0x9 |
| field public static final int LOG_EVENT_ID_PACKAGE_KEY_VALUE_PARTICIPANT = 10; // 0xa |
| field public static final int LOG_EVENT_ID_PACKAGE_NOT_FOUND = 12; // 0xc |
| field public static final int LOG_EVENT_ID_PACKAGE_NOT_PRESENT = 26; // 0x1a |
| field public static final int LOG_EVENT_ID_PACKAGE_STOPPED = 11; // 0xb |
| field public static final int LOG_EVENT_ID_PACKAGE_TRANSPORT_NOT_PRESENT = 15; // 0xf |
| field public static final int LOG_EVENT_ID_PM_AGENT_HAS_NO_METADATA = 24; // 0x18 |
| field public static final int LOG_EVENT_ID_QUOTA_HIT_PREFLIGHT = 18; // 0x12 |
| field public static final int LOG_EVENT_ID_RESTORE_ANY_VERSION = 34; // 0x22 |
| field public static final int LOG_EVENT_ID_RESTORE_VERSION_HIGHER = 27; // 0x1b |
| field public static final int LOG_EVENT_ID_SIGNATURE_MISMATCH = 29; // 0x1d |
| field public static final int LOG_EVENT_ID_SYSTEM_APP_NO_AGENT = 38; // 0x26 |
| field public static final int LOG_EVENT_ID_TRANSPORT_IS_NULL = 50; // 0x32 |
| field public static final int LOG_EVENT_ID_TRANSPORT_NON_INCREMENTAL_BACKUP_REQUIRED = 51; // 0x33 |
| field public static final int LOG_EVENT_ID_UNKNOWN_VERSION = 44; // 0x2c |
| field public static final int LOG_EVENT_ID_VERSIONS_MATCH = 35; // 0x23 |
| field public static final int LOG_EVENT_ID_VERSION_OF_BACKUP_OLDER = 36; // 0x24 |
| field public static final int LOG_EVENT_ID_WIDGET_METADATA_MISMATCH = 47; // 0x2f |
| field public static final int LOG_EVENT_ID_WIDGET_UNKNOWN_VERSION = 48; // 0x30 |
| } |
| |
| public abstract class BackupObserver { |
| ctor public BackupObserver(); |
| method public void backupFinished(int); |
| method public void onResult(String, int); |
| method public void onUpdate(String, android.app.backup.BackupProgress); |
| } |
| |
| public class BackupProgress implements android.os.Parcelable { |
| ctor public BackupProgress(long, long); |
| method public int describeContents(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.BackupProgress> CREATOR; |
| field public final long bytesExpected; |
| field public final long bytesTransferred; |
| } |
| |
| public class BackupTransport { |
| ctor public BackupTransport(); |
| method public int abortFullRestore(); |
| method public void cancelFullBackup(); |
| method public int checkFullBackupSize(long); |
| method public int clearBackupData(android.content.pm.PackageInfo); |
| method public android.content.Intent configurationIntent(); |
| method public String currentDestinationString(); |
| method public android.content.Intent dataManagementIntent(); |
| method @Nullable public CharSequence dataManagementIntentLabel(); |
| method @Deprecated @Nullable public String dataManagementLabel(); |
| method public int finishBackup(); |
| method public void finishRestore(); |
| method public android.app.backup.RestoreSet[] getAvailableRestoreSets(); |
| method public long getBackupQuota(String, boolean); |
| method public android.os.IBinder getBinder(); |
| method public long getCurrentRestoreSet(); |
| method public int getNextFullRestoreDataChunk(android.os.ParcelFileDescriptor); |
| method public int getRestoreData(android.os.ParcelFileDescriptor); |
| method public int getTransportFlags(); |
| method public int initializeDevice(); |
| method public boolean isAppEligibleForBackup(android.content.pm.PackageInfo, boolean); |
| method public String name(); |
| method public android.app.backup.RestoreDescription nextRestorePackage(); |
| method public int performBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor, int); |
| method public int performBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor); |
| method public int performFullBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor, int); |
| method public int performFullBackup(android.content.pm.PackageInfo, android.os.ParcelFileDescriptor); |
| method public long requestBackupTime(); |
| method public long requestFullBackupTime(); |
| method public int sendBackupData(int); |
| method public int startRestore(long, android.content.pm.PackageInfo[]); |
| method public String transportDirName(); |
| field public static final int AGENT_ERROR = -1003; // 0xfffffc15 |
| field public static final int AGENT_UNKNOWN = -1004; // 0xfffffc14 |
| field public static final String EXTRA_TRANSPORT_REGISTRATION = "android.app.backup.extra.TRANSPORT_REGISTRATION"; |
| field public static final int FLAG_INCREMENTAL = 2; // 0x2 |
| field public static final int FLAG_NON_INCREMENTAL = 4; // 0x4 |
| field public static final int FLAG_USER_INITIATED = 1; // 0x1 |
| field public static final int NO_MORE_DATA = -1; // 0xffffffff |
| field public static final int TRANSPORT_ERROR = -1000; // 0xfffffc18 |
| field public static final int TRANSPORT_NON_INCREMENTAL_BACKUP_REQUIRED = -1006; // 0xfffffc12 |
| field public static final int TRANSPORT_NOT_INITIALIZED = -1001; // 0xfffffc17 |
| field public static final int TRANSPORT_OK = 0; // 0x0 |
| field public static final int TRANSPORT_PACKAGE_REJECTED = -1002; // 0xfffffc16 |
| field public static final int TRANSPORT_QUOTA_EXCEEDED = -1005; // 0xfffffc13 |
| } |
| |
| public class RestoreDescription implements android.os.Parcelable { |
| ctor public RestoreDescription(String, int); |
| method public int describeContents(); |
| method public int getDataType(); |
| method public String getPackageName(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.RestoreDescription> CREATOR; |
| field public static final android.app.backup.RestoreDescription NO_MORE_PACKAGES; |
| field public static final int TYPE_FULL_STREAM = 2; // 0x2 |
| field public static final int TYPE_KEY_VALUE = 1; // 0x1 |
| } |
| |
| public abstract class RestoreObserver { |
| method public void restoreSetsAvailable(android.app.backup.RestoreSet[]); |
| } |
| |
| public class RestoreSession { |
| method public void endRestoreSession(); |
| method public int getAvailableRestoreSets(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); |
| method public int getAvailableRestoreSets(android.app.backup.RestoreObserver); |
| method public int restoreAll(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); |
| method public int restoreAll(long, android.app.backup.RestoreObserver); |
| method public int restorePackage(String, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); |
| method public int restorePackage(String, android.app.backup.RestoreObserver); |
| method public int restorePackages(long, @Nullable android.app.backup.RestoreObserver, @NonNull java.util.Set<java.lang.String>, @Nullable android.app.backup.BackupManagerMonitor); |
| method public int restorePackages(long, @Nullable android.app.backup.RestoreObserver, @NonNull java.util.Set<java.lang.String>); |
| } |
| |
| public class RestoreSet implements android.os.Parcelable { |
| ctor public RestoreSet(); |
| ctor public RestoreSet(String, String, long); |
| method public int describeContents(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.backup.RestoreSet> CREATOR; |
| field public String device; |
| field public String name; |
| field public long token; |
| } |
| |
| public abstract class SelectBackupTransportCallback { |
| ctor public SelectBackupTransportCallback(); |
| method public void onFailure(int); |
| method public void onSuccess(String); |
| } |
| |
| } |
| |
| package android.app.contentsuggestions { |
| |
| public final class ClassificationsRequest implements android.os.Parcelable { |
| method public int describeContents(); |
| method @NonNull public android.os.Bundle getExtras(); |
| method @NonNull public java.util.List<android.app.contentsuggestions.ContentSelection> getSelections(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.ClassificationsRequest> CREATOR; |
| } |
| |
| public static final class ClassificationsRequest.Builder { |
| ctor public ClassificationsRequest.Builder(@NonNull java.util.List<android.app.contentsuggestions.ContentSelection>); |
| method @NonNull public android.app.contentsuggestions.ClassificationsRequest build(); |
| method @NonNull public android.app.contentsuggestions.ClassificationsRequest.Builder setExtras(@NonNull android.os.Bundle); |
| } |
| |
| public final class ContentClassification implements android.os.Parcelable { |
| ctor public ContentClassification(@NonNull String, @NonNull android.os.Bundle); |
| method public int describeContents(); |
| method @NonNull public android.os.Bundle getExtras(); |
| method @NonNull public String getId(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.ContentClassification> CREATOR; |
| } |
| |
| public final class ContentSelection implements android.os.Parcelable { |
| ctor public ContentSelection(@NonNull String, @NonNull android.os.Bundle); |
| method public int describeContents(); |
| method @NonNull public android.os.Bundle getExtras(); |
| method @NonNull public String getId(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.ContentSelection> CREATOR; |
| } |
| |
| public final class ContentSuggestionsManager { |
| method public void classifyContentSelections(@NonNull android.app.contentsuggestions.ClassificationsRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.ClassificationsCallback); |
| method public boolean isEnabled(); |
| method public void notifyInteraction(@NonNull String, @NonNull android.os.Bundle); |
| method public void provideContextImage(int, @NonNull android.os.Bundle); |
| method public void suggestContentSelections(@NonNull android.app.contentsuggestions.SelectionsRequest, @NonNull java.util.concurrent.Executor, @NonNull android.app.contentsuggestions.ContentSuggestionsManager.SelectionsCallback); |
| } |
| |
| public static interface ContentSuggestionsManager.ClassificationsCallback { |
| method public void onContentClassificationsAvailable(int, @NonNull java.util.List<android.app.contentsuggestions.ContentClassification>); |
| } |
| |
| public static interface ContentSuggestionsManager.SelectionsCallback { |
| method public void onContentSelectionsAvailable(int, @NonNull java.util.List<android.app.contentsuggestions.ContentSelection>); |
| } |
| |
| public final class SelectionsRequest implements android.os.Parcelable { |
| method public int describeContents(); |
| method @NonNull public android.os.Bundle getExtras(); |
| method @Nullable public android.graphics.Point getInterestPoint(); |
| method public int getTaskId(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.contentsuggestions.SelectionsRequest> CREATOR; |
| } |
| |
| public static final class SelectionsRequest.Builder { |
| ctor public SelectionsRequest.Builder(int); |
| method @NonNull public android.app.contentsuggestions.SelectionsRequest build(); |
| method @NonNull public android.app.contentsuggestions.SelectionsRequest.Builder setExtras(@NonNull android.os.Bundle); |
| method @NonNull public android.app.contentsuggestions.SelectionsRequest.Builder setInterestPoint(@NonNull android.graphics.Point); |
| } |
| |
| } |
| |
| package android.app.job { |
| |
| public abstract class JobScheduler { |
| method @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public abstract int scheduleAsPackage(@NonNull android.app.job.JobInfo, @NonNull String, int, String); |
| } |
| |
| } |
| |
| package android.app.prediction { |
| |
| public final class AppPredictionContext implements android.os.Parcelable { |
| method public int describeContents(); |
| method @Nullable public android.os.Bundle getExtras(); |
| method @NonNull public String getPackageName(); |
| method @IntRange(from=0) public int getPredictedTargetCount(); |
| method @NonNull public String getUiSurface(); |
| method public void writeToParcel(@NonNull android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionContext> CREATOR; |
| } |
| |
| public static final class AppPredictionContext.Builder { |
| ctor public AppPredictionContext.Builder(@NonNull android.content.Context); |
| method @NonNull public android.app.prediction.AppPredictionContext build(); |
| method @NonNull public android.app.prediction.AppPredictionContext.Builder setExtras(@Nullable android.os.Bundle); |
| method @NonNull public android.app.prediction.AppPredictionContext.Builder setPredictedTargetCount(@IntRange(from=0) int); |
| method @NonNull public android.app.prediction.AppPredictionContext.Builder setUiSurface(@NonNull String); |
| } |
| |
| public final class AppPredictionManager { |
| method @NonNull public android.app.prediction.AppPredictor createAppPredictionSession(@NonNull android.app.prediction.AppPredictionContext); |
| } |
| |
| public final class AppPredictionSessionId implements android.os.Parcelable { |
| method public int describeContents(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionSessionId> CREATOR; |
| } |
| |
| public final class AppPredictor { |
| method public void destroy(); |
| method public void notifyAppTargetEvent(@NonNull android.app.prediction.AppTargetEvent); |
| method public void notifyLaunchLocationShown(@NonNull String, @NonNull java.util.List<android.app.prediction.AppTargetId>); |
| method public void registerPredictionUpdates(@NonNull java.util.concurrent.Executor, @NonNull android.app.prediction.AppPredictor.Callback); |
| method public void requestPredictionUpdate(); |
| method @Nullable public void sortTargets(@NonNull java.util.List<android.app.prediction.AppTarget>, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.util.List<android.app.prediction.AppTarget>>); |
| method public void unregisterPredictionUpdates(@NonNull android.app.prediction.AppPredictor.Callback); |
| } |
| |
| public static interface AppPredictor.Callback { |
| method public void onTargetsAvailable(@NonNull java.util.List<android.app.prediction.AppTarget>); |
| } |
| |
| public final class AppTarget implements android.os.Parcelable { |
| method public int describeContents(); |
| method @Nullable public String getClassName(); |
| method @NonNull public android.app.prediction.AppTargetId getId(); |
| method @NonNull public String getPackageName(); |
| method @IntRange(from=0) public int getRank(); |
| method @Nullable public android.content.pm.ShortcutInfo getShortcutInfo(); |
| method @NonNull public android.os.UserHandle getUser(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTarget> CREATOR; |
| } |
| |
| public static final class AppTarget.Builder { |
| ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull String, @NonNull android.os.UserHandle); |
| ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull android.content.pm.ShortcutInfo); |
| method @NonNull public android.app.prediction.AppTarget build(); |
| method @NonNull public android.app.prediction.AppTarget.Builder setClassName(@NonNull String); |
| method @NonNull public android.app.prediction.AppTarget.Builder setRank(@IntRange(from=0) int); |
| } |
| |
| public final class AppTargetEvent implements android.os.Parcelable { |
| method public int describeContents(); |
| method public int getAction(); |
| method @Nullable public String getLaunchLocation(); |
| method @Nullable public android.app.prediction.AppTarget getTarget(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field public static final int ACTION_DISMISS = 2; // 0x2 |
| field public static final int ACTION_LAUNCH = 1; // 0x1 |
| field public static final int ACTION_PIN = 3; // 0x3 |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetEvent> CREATOR; |
| } |
| |
| public static final class AppTargetEvent.Builder { |
| ctor public AppTargetEvent.Builder(@Nullable android.app.prediction.AppTarget, int); |
| method @NonNull public android.app.prediction.AppTargetEvent build(); |
| method @NonNull public android.app.prediction.AppTargetEvent.Builder setLaunchLocation(@Nullable String); |
| } |
| |
| public final class AppTargetId implements android.os.Parcelable { |
| ctor public AppTargetId(@NonNull String); |
| method public int describeContents(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetId> CREATOR; |
| } |
| |
| } |
| |
| package android.app.role { |
| |
| public interface OnRoleHoldersChangedListener { |
| method public void onRoleHoldersChanged(@NonNull String, @NonNull android.os.UserHandle); |
| } |
| |
| public abstract class RoleControllerService extends android.app.Service { |
| ctor public RoleControllerService(); |
| method @WorkerThread public abstract boolean onAddRoleHolder(@NonNull String, @NonNull String, int); |
| method @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent); |
| method @WorkerThread public abstract boolean onClearRoleHolders(@NonNull String, int); |
| method @WorkerThread public abstract boolean onGrantDefaultRoles(); |
| method public abstract boolean onIsApplicationQualifiedForRole(@NonNull String, @NonNull String); |
| method public abstract boolean onIsRoleVisible(@NonNull String); |
| method @WorkerThread public abstract boolean onRemoveRoleHolder(@NonNull String, @NonNull String, int); |
| field public static final String SERVICE_INTERFACE = "android.app.role.RoleControllerService"; |
| } |
| |
| public final class RoleManager { |
| method @RequiresPermission(android.Manifest.permission.OBSERVE_ROLE_HOLDERS) public void addOnRoleHoldersChangedListenerAsUser(@NonNull java.util.concurrent.Executor, @NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void addRoleHolderAsUser(@NonNull String, @NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>); |
| method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean addRoleHolderFromController(@NonNull String, @NonNull String); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void clearRoleHoldersAsUser(@NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>); |
| method @NonNull @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public java.util.List<java.lang.String> getHeldRolesFromController(@NonNull String); |
| method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public java.util.List<java.lang.String> getRoleHolders(@NonNull String); |
| method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public java.util.List<java.lang.String> getRoleHoldersAsUser(@NonNull String, @NonNull android.os.UserHandle); |
| method @RequiresPermission(android.Manifest.permission.OBSERVE_ROLE_HOLDERS) public void removeOnRoleHoldersChangedListenerAsUser(@NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void removeRoleHolderAsUser(@NonNull String, @NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>); |
| method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean removeRoleHolderFromController(@NonNull String, @NonNull String); |
| method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public void setRoleNamesFromController(@NonNull java.util.List<java.lang.String>); |
| field public static final int MANAGE_HOLDERS_FLAG_DONT_KILL_APP = 1; // 0x1 |
| } |
| |
| } |
| |
| package android.app.usage { |
| |
| public final class CacheQuotaHint implements android.os.Parcelable { |
| ctor public CacheQuotaHint(android.app.usage.CacheQuotaHint.Builder); |
| method public int describeContents(); |
| method public long getQuota(); |
| method public int getUid(); |
| method public android.app.usage.UsageStats getUsageStats(); |
| method public String getVolumeUuid(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.app.usage.CacheQuotaHint> CREATOR; |
| field public static final long QUOTA_NOT_SET = -1L; // 0xffffffffffffffffL |
| } |
| |
| public static final class CacheQuotaHint.Builder { |
| ctor public CacheQuotaHint.Builder(); |
| ctor public CacheQuotaHint.Builder(android.app.usage.CacheQuotaHint); |
| method @NonNull public android.app.usage.CacheQuotaHint build(); |
| method @NonNull public android.app.usage.CacheQuotaHint.Builder setQuota(long); |
| method @NonNull public android.app.usage.CacheQuotaHint.Builder setUid(int); |
| method @NonNull public android.app.usage.CacheQuotaHint.Builder setUsageStats(@Nullable android.app.usage.UsageStats); |
| method @NonNull public android.app.usage.CacheQuotaHint.Builder setVolumeUuid(@Nullable String); |
| } |
| |
| public abstract class CacheQuotaService extends android.app.Service { |
| ctor public CacheQuotaService(); |
| method public android.os.IBinder onBind(android.content.Intent); |
| method public abstract java.util.List<android.app.usage.CacheQuotaHint> onComputeCacheQuotaHints(java.util.List<android.app.usage.CacheQuotaHint>); |
| field public static final String SERVICE_INTERFACE = "android.app.usage.CacheQuotaService"; |
| } |
| |
| public static final class UsageEvents.Event { |
| method public int getInstanceId(); |
| method public String getNotificationChannelId(); |
| method @Nullable public String getTaskRootClassName(); |
| method @Nullable public String getTaskRootPackageName(); |
| method public boolean isInstantApp(); |
| field public static final int NOTIFICATION_INTERRUPTION = 12; // 0xc |
| field public static final int NOTIFICATION_SEEN = 10; // 0xa |
| field public static final int SLICE_PINNED = 14; // 0xe |
| field public static final int SLICE_PINNED_PRIV = 13; // 0xd |
| field public static final int SYSTEM_INTERACTION = 6; // 0x6 |
| } |
| |
| public final class UsageStats implements android.os.Parcelable { |
| method public int getAppLaunchCount(); |
| } |
| |
| public final class UsageStatsManager { |
| method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getAppStandbyBucket(String); |
| method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public java.util.Map<java.lang.String,java.lang.Integer> getAppStandbyBuckets(); |
| method public int getUsageSource(); |
| method @RequiresPermission(allOf={android.Manifest.permission.SUSPEND_APPS, android.Manifest.permission.OBSERVE_APP_USAGE}) public void registerAppUsageLimitObserver(int, @NonNull String[], @NonNull java.time.Duration, @NonNull java.time.Duration, @Nullable android.app.PendingIntent); |
| method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void registerAppUsageObserver(int, @NonNull String[], long, @NonNull java.util.concurrent.TimeUnit, @NonNull android.app.PendingIntent); |
| method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void registerUsageSessionObserver(int, @NonNull String[], @NonNull java.time.Duration, @NonNull java.time.Duration, @NonNull android.app.PendingIntent, @Nullable android.app.PendingIntent); |
| method public void reportUsageStart(@NonNull android.app.Activity, @NonNull String); |
| method public void reportUsageStart(@NonNull android.app.Activity, @NonNull String, long); |
| method public void reportUsageStop(@NonNull android.app.Activity, @NonNull String); |
| method @RequiresPermission(android.Manifest.permission.CHANGE_APP_IDLE_STATE) public void setAppStandbyBucket(String, int); |
| method @RequiresPermission(android.Manifest.permission.CHANGE_APP_IDLE_STATE) public void setAppStandbyBuckets(java.util.Map<java.lang.String,java.lang.Integer>); |
| method @RequiresPermission(allOf={android.Manifest.permission.SUSPEND_APPS, android.Manifest.permission.OBSERVE_APP_USAGE}) public void unregisterAppUsageLimitObserver(int); |
| method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void unregisterAppUsageObserver(int); |
| method @RequiresPermission(android.Manifest.permission.OBSERVE_APP_USAGE) public void unregisterUsageSessionObserver(int); |
| method @RequiresPermission(android.Manifest.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST) public void whitelistAppTemporarily(String, long, android.os.UserHandle); |
| field public static final String EXTRA_OBSERVER_ID = "android.app.usage.extra.OBSERVER_ID"; |
| field public static final String EXTRA_TIME_LIMIT = "android.app.usage.extra.TIME_LIMIT"; |
| field public static final String EXTRA_TIME_USED = "android.app.usage.extra.TIME_USED"; |
| field public static final int STANDBY_BUCKET_EXEMPTED = 5; // 0x5 |
| field public static final int STANDBY_BUCKET_NEVER = 50; // 0x32 |
| field public static final int USAGE_SOURCE_CURRENT_ACTIVITY = 2; // 0x2 |
| field public static final int USAGE_SOURCE_TASK_ROOT_ACTIVITY = 1; // 0x1 |
| } |
| |
| } |
| |
| package android.bluetooth { |
| |
| public final class BluetoothAdapter { |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean addOnMetadataChangedListener(@NonNull android.bluetooth.BluetoothDevice, @NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothAdapter.OnMetadataChangedListener); |
| method public boolean disableBLE(); |
| method public boolean enableBLE(); |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean enableNoAutoConnect(); |
| method public boolean isBleScanAlwaysAvailable(); |
| method public boolean isLeEnabled(); |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean removeOnMetadataChangedListener(@NonNull android.bluetooth.BluetoothDevice, @NonNull android.bluetooth.BluetoothAdapter.OnMetadataChangedListener); |
| field public static final String ACTION_BLE_STATE_CHANGED = "android.bluetooth.adapter.action.BLE_STATE_CHANGED"; |
| field public static final String ACTION_REQUEST_BLE_SCAN_ALWAYS_AVAILABLE = "android.bluetooth.adapter.action.REQUEST_BLE_SCAN_ALWAYS_AVAILABLE"; |
| } |
| |
| public static interface BluetoothAdapter.OnMetadataChangedListener { |
| method public void onMetadataChanged(@NonNull android.bluetooth.BluetoothDevice, int, @Nullable byte[]); |
| } |
| |
| public final class BluetoothDevice implements android.os.Parcelable { |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean cancelBondProcess(); |
| method @Nullable @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public byte[] getMetadata(int); |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH) public boolean isConnected(); |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH) public boolean isEncrypted(); |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean isInSilenceMode(); |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean removeBond(); |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setMetadata(int, @NonNull byte[]); |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setPhonebookAccessPermission(int); |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setSilenceMode(boolean); |
| field public static final int ACCESS_ALLOWED = 1; // 0x1 |
| field public static final int ACCESS_REJECTED = 2; // 0x2 |
| field public static final int ACCESS_UNKNOWN = 0; // 0x0 |
| field public static final String ACTION_SILENCE_MODE_CHANGED = "android.bluetooth.device.action.SILENCE_MODE_CHANGED"; |
| field public static final int METADATA_COMPANION_APP = 4; // 0x4 |
| field public static final int METADATA_ENHANCED_SETTINGS_UI_URI = 16; // 0x10 |
| field public static final int METADATA_HARDWARE_VERSION = 3; // 0x3 |
| field public static final int METADATA_IS_UNTETHERED_HEADSET = 6; // 0x6 |
| field public static final int METADATA_MAIN_ICON = 5; // 0x5 |
| field public static final int METADATA_MANUFACTURER_NAME = 0; // 0x0 |
| field public static final int METADATA_MAX_LENGTH = 2048; // 0x800 |
| field public static final int METADATA_MODEL_NAME = 1; // 0x1 |
| field public static final int METADATA_SOFTWARE_VERSION = 2; // 0x2 |
| field public static final int METADATA_UNTETHERED_CASE_BATTERY = 12; // 0xc |
| field public static final int METADATA_UNTETHERED_CASE_CHARGING = 15; // 0xf |
| field public static final int METADATA_UNTETHERED_CASE_ICON = 9; // 0x9 |
| field public static final int METADATA_UNTETHERED_LEFT_BATTERY = 10; // 0xa |
| field public static final int METADATA_UNTETHERED_LEFT_CHARGING = 13; // 0xd |
| field public static final int METADATA_UNTETHERED_LEFT_ICON = 7; // 0x7 |
| field public static final int METADATA_UNTETHERED_RIGHT_BATTERY = 11; // 0xb |
| field public static final int METADATA_UNTETHERED_RIGHT_CHARGING = 14; // 0xe |
| field public static final int METADATA_UNTETHERED_RIGHT_ICON = 8; // 0x8 |
| } |
| |
| public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile { |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean connect(android.bluetooth.BluetoothDevice); |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean disconnect(android.bluetooth.BluetoothDevice); |
| method @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADMIN) public boolean setPriority(android.bluetooth.BluetoothDevice, int); |
| } |
| |
| public interface BluetoothProfile { |
| field public static final int PRIORITY_OFF = 0; // 0x0 |
| field public static final int PRIORITY_ON = 100; // 0x64 |
| } |
| |
| } |
| |
| package android.bluetooth.le { |
| |
| public final class BluetoothLeScanner { |
| method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_ADMIN, android.Manifest.permission.UPDATE_DEVICE_STATS}) public void startScanFromSource(android.os.WorkSource, android.bluetooth.le.ScanCallback); |
| 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); |
| method public void startTruncatedScan(java.util.List<android.bluetooth.le.TruncatedFilter>, android.bluetooth.le.ScanSettings, android.bluetooth.le.ScanCallback); |
| } |
| |
| public final class ResultStorageDescriptor implements android.os.Parcelable { |
| ctor public ResultStorageDescriptor(int, int, int); |
| method public int describeContents(); |
| method public int getLength(); |
| method public int getOffset(); |
| method public int getType(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.le.ResultStorageDescriptor> CREATOR; |
| } |
| |
| public final class ScanSettings implements android.os.Parcelable { |
| field public static final int SCAN_RESULT_TYPE_ABBREVIATED = 1; // 0x1 |
| field public static final int SCAN_RESULT_TYPE_FULL = 0; // 0x0 |
| } |
| |
| public static final class ScanSettings.Builder { |
| method public android.bluetooth.le.ScanSettings.Builder setScanResultType(int); |
| } |
| |
| public final class TruncatedFilter { |
| ctor public TruncatedFilter(android.bluetooth.le.ScanFilter, java.util.List<android.bluetooth.le.ResultStorageDescriptor>); |
| method public android.bluetooth.le.ScanFilter getFilter(); |
| method public java.util.List<android.bluetooth.le.ResultStorageDescriptor> getStorageDescriptors(); |
| } |
| |
| } |
| |
| package android.content { |
| |
| public class ContentProviderClient implements java.lang.AutoCloseable { |
| method @RequiresPermission(android.Manifest.permission.REMOVE_TASKS) public void setDetectNotResponding(long); |
| } |
| |
| public abstract class ContentResolver { |
| method @Nullable @RequiresPermission("android.permission.CACHE_CONTENT") public android.os.Bundle getCache(@NonNull android.net.Uri); |
| method @RequiresPermission("android.permission.CACHE_CONTENT") public void putCache(@NonNull android.net.Uri, @Nullable android.os.Bundle); |
| } |
| |
| public abstract class Context { |
| method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public boolean bindServiceAsUser(@RequiresPermission android.content.Intent, android.content.ServiceConnection, int, android.os.UserHandle); |
| method public abstract android.content.Context createCredentialProtectedStorageContext(); |
| method public android.content.Context createPackageContextAsUser(String, int, android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException; |
| method @Nullable public abstract java.io.File getPreloadsFileCache(); |
| method public abstract boolean isCredentialProtectedStorage(); |
| method public abstract void sendBroadcast(android.content.Intent, @Nullable String, @Nullable android.os.Bundle); |
| method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public abstract void sendBroadcastAsUser(@RequiresPermission android.content.Intent, android.os.UserHandle, @Nullable String, @Nullable android.os.Bundle); |
| method public 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); |
| method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public void startActivityAsUser(@RequiresPermission @NonNull android.content.Intent, @NonNull android.os.UserHandle); |
| field public static final String APP_PREDICTION_SERVICE = "app_prediction"; |
| field public static final String BACKUP_SERVICE = "backup"; |
| field public static final String BUGREPORT_SERVICE = "bugreport"; |
| field public static final String CONTENT_SUGGESTIONS_SERVICE = "content_suggestions"; |
| field public static final String CONTEXTHUB_SERVICE = "contexthub"; |
| field public static final String EUICC_CARD_SERVICE = "euicc_card"; |
| field public static final String HDMI_CONTROL_SERVICE = "hdmi_control"; |
| field public static final String NETD_SERVICE = "netd"; |
| field public static final String NETWORK_SCORE_SERVICE = "network_score"; |
| field public static final String OEM_LOCK_SERVICE = "oem_lock"; |
| field public static final String PERMISSION_SERVICE = "permission"; |
| field public static final String PERSISTENT_DATA_BLOCK_SERVICE = "persistent_data_block"; |
| field public static final String ROLLBACK_SERVICE = "rollback"; |
| field public static final String SECURE_ELEMENT_SERVICE = "secure_element"; |
| field public static final String STATS_MANAGER = "stats"; |
| field public static final String STATUS_BAR_SERVICE = "statusbar"; |
| field public static final String SYSTEM_UPDATE_SERVICE = "system_update"; |
| field public static final String VR_SERVICE = "vrmanager"; |
| field @Deprecated public static final String WIFI_RTT_SERVICE = "rttmanager"; |
| field public static final String WIFI_SCANNING_SERVICE = "wifiscanner"; |
| } |
| |
| public class ContextWrapper extends android.content.Context { |
| method public android.content.Context createCredentialProtectedStorageContext(); |
| method public java.io.File getPreloadsFileCache(); |
| method public boolean isCredentialProtectedStorage(); |
| method public void sendBroadcast(android.content.Intent, String, android.os.Bundle); |
| method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, String, android.os.Bundle); |
| method public void sendOrderedBroadcast(android.content.Intent, String, android.os.Bundle, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle); |
| } |
| |
| public class Intent implements java.lang.Cloneable android.os.Parcelable { |
| field public static final String ACTION_BATTERY_LEVEL_CHANGED = "android.intent.action.BATTERY_LEVEL_CHANGED"; |
| field public static final String ACTION_CALL_EMERGENCY = "android.intent.action.CALL_EMERGENCY"; |
| field public static final String ACTION_CALL_PRIVILEGED = "android.intent.action.CALL_PRIVILEGED"; |
| field public static final String ACTION_DEVICE_CUSTOMIZATION_READY = "android.intent.action.DEVICE_CUSTOMIZATION_READY"; |
| field public static final String ACTION_FACTORY_RESET = "android.intent.action.FACTORY_RESET"; |
| field public static final String ACTION_GLOBAL_BUTTON = "android.intent.action.GLOBAL_BUTTON"; |
| field public static final String ACTION_INCIDENT_REPORT_READY = "android.intent.action.INCIDENT_REPORT_READY"; |
| field public static final String ACTION_INSTALL_INSTANT_APP_PACKAGE = "android.intent.action.INSTALL_INSTANT_APP_PACKAGE"; |
| field public static final String ACTION_INSTANT_APP_RESOLVER_SETTINGS = "android.intent.action.INSTANT_APP_RESOLVER_SETTINGS"; |
| field public static final String ACTION_INTENT_FILTER_NEEDS_VERIFICATION = "android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION"; |
| field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_MANAGE_APP_PERMISSION = "android.intent.action.MANAGE_APP_PERMISSION"; |
| field public static final String ACTION_MANAGE_APP_PERMISSIONS = "android.intent.action.MANAGE_APP_PERMISSIONS"; |
| field @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public static final String ACTION_MANAGE_DEFAULT_APP = "android.intent.action.MANAGE_DEFAULT_APP"; |
| field public static final String ACTION_MANAGE_PERMISSIONS = "android.intent.action.MANAGE_PERMISSIONS"; |
| field public static final String ACTION_MANAGE_PERMISSION_APPS = "android.intent.action.MANAGE_PERMISSION_APPS"; |
| field @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public static final String ACTION_MANAGE_SPECIAL_APP_ACCESSES = "android.intent.action.MANAGE_SPECIAL_APP_ACCESSES"; |
| field public static final String ACTION_MASTER_CLEAR_NOTIFICATION = "android.intent.action.MASTER_CLEAR_NOTIFICATION"; |
| field public static final String ACTION_PENDING_INCIDENT_REPORTS_CHANGED = "android.intent.action.PENDING_INCIDENT_REPORTS_CHANGED"; |
| field public static final String ACTION_PRE_BOOT_COMPLETED = "android.intent.action.PRE_BOOT_COMPLETED"; |
| field public static final String ACTION_QUERY_PACKAGE_RESTART = "android.intent.action.QUERY_PACKAGE_RESTART"; |
| field public static final String ACTION_RESOLVE_INSTANT_APP_PACKAGE = "android.intent.action.RESOLVE_INSTANT_APP_PACKAGE"; |
| field @RequiresPermission(android.Manifest.permission.REVIEW_ACCESSIBILITY_SERVICES) public static final String ACTION_REVIEW_ACCESSIBILITY_SERVICES = "android.intent.action.REVIEW_ACCESSIBILITY_SERVICES"; |
| field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_ONGOING_PERMISSION_USAGE = "android.intent.action.REVIEW_ONGOING_PERMISSION_USAGE"; |
| field public static final String ACTION_REVIEW_PERMISSIONS = "android.intent.action.REVIEW_PERMISSIONS"; |
| field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_PERMISSION_USAGE = "android.intent.action.REVIEW_PERMISSION_USAGE"; |
| field public static final String ACTION_ROLLBACK_COMMITTED = "android.intent.action.ROLLBACK_COMMITTED"; |
| field public static final String ACTION_SHOW_SUSPENDED_APP_DETAILS = "android.intent.action.SHOW_SUSPENDED_APP_DETAILS"; |
| field @Deprecated public static final String ACTION_SIM_STATE_CHANGED = "android.intent.action.SIM_STATE_CHANGED"; |
| field public static final String ACTION_SPLIT_CONFIGURATION_CHANGED = "android.intent.action.SPLIT_CONFIGURATION_CHANGED"; |
| field public static final String ACTION_UPGRADE_SETUP = "android.intent.action.UPGRADE_SETUP"; |
| field public static final String ACTION_USER_ADDED = "android.intent.action.USER_ADDED"; |
| field public static final String ACTION_USER_REMOVED = "android.intent.action.USER_REMOVED"; |
| field public static final String ACTION_VOICE_ASSIST = "android.intent.action.VOICE_ASSIST"; |
| field public static final String CATEGORY_LEANBACK_SETTINGS = "android.intent.category.LEANBACK_SETTINGS"; |
| field public static final String EXTRA_CALLING_PACKAGE = "android.intent.extra.CALLING_PACKAGE"; |
| field public static final String EXTRA_FORCE_FACTORY_RESET = "android.intent.extra.FORCE_FACTORY_RESET"; |
| field public static final String EXTRA_INSTANT_APP_ACTION = "android.intent.extra.INSTANT_APP_ACTION"; |
| field public static final String EXTRA_INSTANT_APP_BUNDLES = "android.intent.extra.INSTANT_APP_BUNDLES"; |
| field public static final String EXTRA_INSTANT_APP_EXTRAS = "android.intent.extra.INSTANT_APP_EXTRAS"; |
| field public static final String EXTRA_INSTANT_APP_FAILURE = "android.intent.extra.INSTANT_APP_FAILURE"; |
| field public static final String EXTRA_INSTANT_APP_HOSTNAME = "android.intent.extra.INSTANT_APP_HOSTNAME"; |
| field public static final String EXTRA_INSTANT_APP_SUCCESS = "android.intent.extra.INSTANT_APP_SUCCESS"; |
| field public static final String EXTRA_INSTANT_APP_TOKEN = "android.intent.extra.INSTANT_APP_TOKEN"; |
| field public static final String EXTRA_LONG_VERSION_CODE = "android.intent.extra.LONG_VERSION_CODE"; |
| field public static final String EXTRA_ORIGINATING_UID = "android.intent.extra.ORIGINATING_UID"; |
| field public static final String EXTRA_PACKAGES = "android.intent.extra.PACKAGES"; |
| field public static final String EXTRA_PERMISSION_GROUP_NAME = "android.intent.extra.PERMISSION_GROUP_NAME"; |
| field public static final String EXTRA_PERMISSION_NAME = "android.intent.extra.PERMISSION_NAME"; |
| field public static final String EXTRA_REASON = "android.intent.extra.REASON"; |
| field public static final String EXTRA_REMOTE_CALLBACK = "android.intent.extra.REMOTE_CALLBACK"; |
| field public static final String EXTRA_RESULT_NEEDED = "android.intent.extra.RESULT_NEEDED"; |
| field public static final String EXTRA_ROLE_NAME = "android.intent.extra.ROLE_NAME"; |
| field public static final String EXTRA_UNKNOWN_INSTANT_APP = "android.intent.extra.UNKNOWN_INSTANT_APP"; |
| field public static final String EXTRA_VERIFICATION_BUNDLE = "android.intent.extra.VERIFICATION_BUNDLE"; |
| field public static final String METADATA_SETUP_VERSION = "android.SETUP_VERSION"; |
| } |
| |
| public class IntentFilter implements android.os.Parcelable { |
| method public final int getOrder(); |
| method public final void setOrder(int); |
| } |
| |
| } |
| |
| package android.content.om { |
| |
| public final class OverlayInfo implements android.os.Parcelable { |
| method public int describeContents(); |
| method @Nullable public String getCategory(); |
| method @NonNull public String getPackageName(); |
| method @Nullable public String getTargetOverlayableName(); |
| method @NonNull public String getTargetPackageName(); |
| method public int getUserId(); |
| method public boolean isEnabled(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.content.om.OverlayInfo> CREATOR; |
| } |
| |
| public class OverlayManager { |
| method @Nullable public android.content.om.OverlayInfo getOverlayInfo(@NonNull String, @NonNull android.os.UserHandle); |
| method @NonNull @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public java.util.List<android.content.om.OverlayInfo> getOverlayInfosForTarget(@NonNull String, @NonNull android.os.UserHandle); |
| method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public void setEnabled(@NonNull String, boolean, @NonNull android.os.UserHandle); |
| method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.INTERACT_ACROSS_USERS_FULL"}) public void setEnabledExclusiveInCategory(@NonNull String, @NonNull android.os.UserHandle); |
| } |
| |
| } |
| |
| package android.content.pm { |
| |
| public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { |
| method public boolean isEncryptionAware(); |
| method public boolean isInstantApp(); |
| field public String credentialProtectedDataDir; |
| field public int targetSandboxVersion; |
| } |
| |
| public class CrossProfileApps { |
| method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_PROFILES) public void startActivity(@NonNull android.content.ComponentName, @NonNull android.os.UserHandle); |
| } |
| |
| public final class InstantAppInfo implements android.os.Parcelable { |
| ctor public InstantAppInfo(android.content.pm.ApplicationInfo, String[], String[]); |
| ctor public InstantAppInfo(String, CharSequence, String[], String[]); |
| method public int describeContents(); |
| method @Nullable public android.content.pm.ApplicationInfo getApplicationInfo(); |
| method @Nullable public String[] getGrantedPermissions(); |
| method @NonNull public String getPackageName(); |
| method @Nullable public String[] getRequestedPermissions(); |
| method @NonNull public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.pm.PackageManager); |
| method @NonNull public CharSequence loadLabel(@NonNull android.content.pm.PackageManager); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppInfo> CREATOR; |
| } |
| |
| public final class InstantAppIntentFilter implements android.os.Parcelable { |
| ctor public InstantAppIntentFilter(@Nullable String, @NonNull java.util.List<android.content.IntentFilter>); |
| method public int describeContents(); |
| method public java.util.List<android.content.IntentFilter> getFilters(); |
| method public String getSplitName(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppIntentFilter> CREATOR; |
| } |
| |
| public final class InstantAppResolveInfo implements android.os.Parcelable { |
| ctor public InstantAppResolveInfo(@NonNull android.content.pm.InstantAppResolveInfo.InstantAppDigest, @Nullable String, @Nullable java.util.List<android.content.pm.InstantAppIntentFilter>, int); |
| ctor public InstantAppResolveInfo(@NonNull android.content.pm.InstantAppResolveInfo.InstantAppDigest, @Nullable String, @Nullable java.util.List<android.content.pm.InstantAppIntentFilter>, long, @Nullable android.os.Bundle); |
| ctor public InstantAppResolveInfo(@NonNull String, @Nullable String, @Nullable java.util.List<android.content.pm.InstantAppIntentFilter>); |
| ctor public InstantAppResolveInfo(@Nullable android.os.Bundle); |
| method public int describeContents(); |
| method public byte[] getDigestBytes(); |
| method public int getDigestPrefix(); |
| method @Nullable public android.os.Bundle getExtras(); |
| method public java.util.List<android.content.pm.InstantAppIntentFilter> getIntentFilters(); |
| method public long getLongVersionCode(); |
| method public String getPackageName(); |
| method @Deprecated public int getVersionCode(); |
| method public boolean shouldLetInstallerDecide(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppResolveInfo> CREATOR; |
| } |
| |
| public static final class InstantAppResolveInfo.InstantAppDigest implements android.os.Parcelable { |
| ctor public InstantAppResolveInfo.InstantAppDigest(@NonNull String); |
| method public int describeContents(); |
| method public byte[][] getDigestBytes(); |
| method public int[] getDigestPrefix(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.InstantAppResolveInfo.InstantAppDigest> CREATOR; |
| field public static final android.content.pm.InstantAppResolveInfo.InstantAppDigest UNDEFINED; |
| } |
| |
| public final class IntentFilterVerificationInfo implements android.os.Parcelable { |
| method public int describeContents(); |
| method public java.util.Set<java.lang.String> getDomains(); |
| method public String getPackageName(); |
| method public int getStatus(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.IntentFilterVerificationInfo> CREATOR; |
| } |
| |
| public class LauncherApps { |
| method @Nullable public android.content.pm.LauncherApps.AppUsageLimit getAppUsageLimit(@NonNull String, @NonNull android.os.UserHandle); |
| } |
| |
| public static final class LauncherApps.AppUsageLimit implements android.os.Parcelable { |
| method public int describeContents(); |
| method public long getTotalUsageLimit(); |
| method public long getUsageRemaining(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.AppUsageLimit> CREATOR; |
| } |
| |
| public class PackageInstaller { |
| method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setPermissionsResult(int, boolean); |
| } |
| |
| public static class PackageInstaller.Session implements java.io.Closeable { |
| method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void commitTransferred(@NonNull android.content.IntentSender); |
| } |
| |
| public static class PackageInstaller.SessionInfo implements android.os.Parcelable { |
| method public boolean getAllocateAggressive(); |
| method @Deprecated public boolean getAllowDowngrade(); |
| method public boolean getDontKillApp(); |
| method public boolean getEnableRollback(); |
| method @Nullable public String[] getGrantedRuntimePermissions(); |
| method public boolean getInstallAsFullApp(boolean); |
| method public boolean getInstallAsInstantApp(boolean); |
| method public boolean getInstallAsVirtualPreload(); |
| method public boolean getRequestDowngrade(); |
| method @NonNull public java.util.Set<java.lang.String> getWhitelistedRestrictedPermissions(); |
| } |
| |
| public static class PackageInstaller.SessionParams implements android.os.Parcelable { |
| method @RequiresPermission(android.Manifest.permission.ALLOCATE_AGGRESSIVE) public void setAllocateAggressive(boolean); |
| method @Deprecated public void setAllowDowngrade(boolean); |
| method public void setDontKillApp(boolean); |
| method public void setEnableRollback(boolean); |
| method @RequiresPermission(android.Manifest.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS) public void setGrantedRuntimePermissions(String[]); |
| method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setInstallAsApex(); |
| method public void setInstallAsInstantApp(boolean); |
| method public void setInstallAsVirtualPreload(); |
| method public void setRequestDowngrade(boolean); |
| method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setStaged(); |
| } |
| |
| public class PackageItemInfo { |
| method public static void forceSafeLabels(); |
| method @Deprecated @NonNull public CharSequence loadSafeLabel(@NonNull android.content.pm.PackageManager); |
| method @NonNull public CharSequence loadSafeLabel(@NonNull android.content.pm.PackageManager, @FloatRange(from=0) float, int); |
| } |
| |
| public abstract class PackageManager { |
| method @RequiresPermission("android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS") public abstract void addOnPermissionsChangeListener(@NonNull android.content.pm.PackageManager.OnPermissionsChangedListener); |
| method public abstract boolean arePermissionsIndividuallyControlled(); |
| method @NonNull public abstract java.util.List<android.content.IntentFilter> getAllIntentFilters(@NonNull String); |
| method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public android.content.pm.ApplicationInfo getApplicationInfoAsUser(@NonNull String, int, @NonNull android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException; |
| method @NonNull public android.content.pm.dex.ArtManager getArtManager(); |
| method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_SHARED_LIBRARIES) public java.util.List<android.content.pm.SharedLibraryInfo> getDeclaredSharedLibraries(@NonNull String, int); |
| method @Nullable @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract String getDefaultBrowserPackageNameAsUser(int); |
| method @Nullable @RequiresPermission(android.Manifest.permission.SET_HARMFUL_APP_WARNINGS) public CharSequence getHarmfulAppWarning(@NonNull String); |
| method @Nullable public String getIncidentReportApproverPackageName(); |
| method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int); |
| method @Nullable @RequiresPermission(android.Manifest.permission.ACCESS_INSTANT_APPS) public abstract android.graphics.drawable.Drawable getInstantAppIcon(String); |
| method @Nullable public abstract android.content.ComponentName getInstantAppInstallerComponent(); |
| method @Nullable public abstract android.content.ComponentName getInstantAppResolverSettingsComponent(); |
| method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_INSTANT_APPS) public abstract java.util.List<android.content.pm.InstantAppInfo> getInstantApps(); |
| method @NonNull public abstract java.util.List<android.content.pm.IntentFilterVerificationInfo> getIntentFilterVerifications(@NonNull String); |
| method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public abstract int getIntentVerificationStatusAsUser(@NonNull String, int); |
| method @android.content.pm.PackageManager.PermissionFlags @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS, android.Manifest.permission.GET_RUNTIME_PERMISSIONS}) public abstract int getPermissionFlags(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); |
| method @NonNull @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] getUnsuspendablePackages(@NonNull String[]); |
| method @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public abstract void grantRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); |
| method @Deprecated public abstract int installExistingPackage(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException; |
| method @Deprecated public abstract int installExistingPackage(@NonNull String, int) throws android.content.pm.PackageManager.NameNotFoundException; |
| method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java.util.List<android.content.pm.ResolveInfo> queryBroadcastReceiversAsUser(@NonNull android.content.Intent, int, android.os.UserHandle); |
| 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); |
| 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); |
| 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); |
| method public abstract void registerDexModule(@NonNull String, @Nullable android.content.pm.PackageManager.DexModuleRegisterCallback); |
| method @RequiresPermission("android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS") public abstract void removeOnPermissionsChangeListener(@NonNull android.content.pm.PackageManager.OnPermissionsChangedListener); |
| method public void replacePreferredActivity(@NonNull android.content.IntentFilter, int, @NonNull java.util.List<android.content.ComponentName>, @NonNull android.content.ComponentName); |
| method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public abstract void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); |
| method public void sendDeviceCustomizationReadyBroadcast(); |
| method @RequiresPermission(allOf={android.Manifest.permission.SET_PREFERRED_APPLICATIONS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public abstract boolean setDefaultBrowserPackageNameAsUser(@Nullable String, int); |
| method @NonNull @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] setDistractingPackageRestrictions(@NonNull String[], int); |
| method @RequiresPermission(android.Manifest.permission.SET_HARMFUL_APP_WARNINGS) public void setHarmfulAppWarning(@NonNull String, @Nullable CharSequence); |
| method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] setPackagesSuspended(@Nullable String[], boolean, @Nullable android.os.PersistableBundle, @Nullable android.os.PersistableBundle, @Nullable String); |
| method @Nullable @RequiresPermission(android.Manifest.permission.SUSPEND_APPS) public String[] setPackagesSuspended(@Nullable String[], boolean, @Nullable android.os.PersistableBundle, @Nullable android.os.PersistableBundle, @Nullable android.content.pm.SuspendDialogInfo); |
| method @RequiresPermission(value=android.Manifest.permission.CHANGE_COMPONENT_ENABLED_STATE, conditional=true) public void setSyntheticAppDetailsActivityEnabled(@NonNull String, boolean); |
| method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public abstract void setUpdateAvailable(@NonNull String, boolean); |
| method @RequiresPermission(android.Manifest.permission.SET_PREFERRED_APPLICATIONS) public abstract boolean updateIntentVerificationStatusAsUser(@NonNull String, int, int); |
| method @RequiresPermission(anyOf={android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS, android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS}) public abstract void updatePermissionFlags(@NonNull String, @NonNull String, @android.content.pm.PackageManager.PermissionFlags int, @android.content.pm.PackageManager.PermissionFlags int, @NonNull android.os.UserHandle); |
| method @RequiresPermission(android.Manifest.permission.INTENT_FILTER_VERIFICATION_AGENT) public abstract void verifyIntentFilter(int, int, @NonNull java.util.List<java.lang.String>); |
| field public static final String ACTION_REQUEST_PERMISSIONS = "android.content.pm.action.REQUEST_PERMISSIONS"; |
| field public static final String EXTRA_REQUEST_PERMISSIONS_NAMES = "android.content.pm.extra.REQUEST_PERMISSIONS_NAMES"; |
| field public static final String EXTRA_REQUEST_PERMISSIONS_RESULTS = "android.content.pm.extra.REQUEST_PERMISSIONS_RESULTS"; |
| field public static final String FEATURE_BROADCAST_RADIO = "android.hardware.broadcastradio"; |
| field public static final String FEATURE_TELEPHONY_CARRIERLOCK = "android.hardware.telephony.carrierlock"; |
| field public static final int FLAG_PERMISSION_APPLY_RESTRICTION = 16384; // 0x4000 |
| field public static final int FLAG_PERMISSION_GRANTED_BY_DEFAULT = 32; // 0x20 |
| field public static final int FLAG_PERMISSION_GRANTED_BY_ROLE = 32768; // 0x8000 |
| field public static final int FLAG_PERMISSION_POLICY_FIXED = 4; // 0x4 |
| field public static final int FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT = 2048; // 0x800 |
| field public static final int FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT = 4096; // 0x1000 |
| field public static final int FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT = 8192; // 0x2000 |
| field public static final int FLAG_PERMISSION_REVIEW_REQUIRED = 64; // 0x40 |
| field public static final int FLAG_PERMISSION_REVOKE_ON_UPGRADE = 8; // 0x8 |
| field public static final int FLAG_PERMISSION_SYSTEM_FIXED = 16; // 0x10 |
| field public static final int FLAG_PERMISSION_USER_FIXED = 2; // 0x2 |
| field public static final int FLAG_PERMISSION_USER_SENSITIVE_WHEN_DENIED = 512; // 0x200 |
| field public static final int FLAG_PERMISSION_USER_SENSITIVE_WHEN_GRANTED = 256; // 0x100 |
| field public static final int FLAG_PERMISSION_USER_SET = 1; // 0x1 |
| field public static final int INSTALL_FAILED_ALREADY_EXISTS = -1; // 0xffffffff |
| field public static final int INSTALL_FAILED_CONFLICTING_PROVIDER = -13; // 0xfffffff3 |
| field public static final int INSTALL_FAILED_CONTAINER_ERROR = -18; // 0xffffffee |
| field public static final int INSTALL_FAILED_CPU_ABI_INCOMPATIBLE = -16; // 0xfffffff0 |
| field public static final int INSTALL_FAILED_DEXOPT = -11; // 0xfffffff5 |
| field public static final int INSTALL_FAILED_DUPLICATE_PACKAGE = -5; // 0xfffffffb |
| field public static final int INSTALL_FAILED_INSUFFICIENT_STORAGE = -4; // 0xfffffffc |
| field public static final int INSTALL_FAILED_INTERNAL_ERROR = -110; // 0xffffff92 |
| field public static final int INSTALL_FAILED_INVALID_APK = -2; // 0xfffffffe |
| field public static final int INSTALL_FAILED_INVALID_INSTALL_LOCATION = -19; // 0xffffffed |
| field public static final int INSTALL_FAILED_INVALID_URI = -3; // 0xfffffffd |
| field public static final int INSTALL_FAILED_MEDIA_UNAVAILABLE = -20; // 0xffffffec |
| field public static final int INSTALL_FAILED_MISSING_FEATURE = -17; // 0xffffffef |
| field public static final int INSTALL_FAILED_MISSING_SHARED_LIBRARY = -9; // 0xfffffff7 |
| field public static final int INSTALL_FAILED_NEWER_SDK = -14; // 0xfffffff2 |
| field public static final int INSTALL_FAILED_NO_SHARED_USER = -6; // 0xfffffffa |
| field public static final int INSTALL_FAILED_OLDER_SDK = -12; // 0xfffffff4 |
| field public static final int INSTALL_FAILED_PACKAGE_CHANGED = -23; // 0xffffffe9 |
| field public static final int INSTALL_FAILED_PERMISSION_MODEL_DOWNGRADE = -26; // 0xffffffe6 |
| field public static final int INSTALL_FAILED_REPLACE_COULDNT_DELETE = -10; // 0xfffffff6 |
| field public static final int INSTALL_FAILED_SANDBOX_VERSION_DOWNGRADE = -27; // 0xffffffe5 |
| field public static final int INSTALL_FAILED_SHARED_USER_INCOMPATIBLE = -8; // 0xfffffff8 |
| field public static final int INSTALL_FAILED_TEST_ONLY = -15; // 0xfffffff1 |
| field public static final int INSTALL_FAILED_UPDATE_INCOMPATIBLE = -7; // 0xfffffff9 |
| field public static final int INSTALL_FAILED_VERIFICATION_FAILURE = -22; // 0xffffffea |
| field public static final int INSTALL_FAILED_VERIFICATION_TIMEOUT = -21; // 0xffffffeb |
| field public static final int INSTALL_PARSE_FAILED_BAD_MANIFEST = -101; // 0xffffff9b |
| field public static final int INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME = -106; // 0xffffff96 |
| field public static final int INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID = -107; // 0xffffff95 |
| field public static final int INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING = -105; // 0xffffff97 |
| field public static final int INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES = -104; // 0xffffff98 |
| field public static final int INSTALL_PARSE_FAILED_MANIFEST_EMPTY = -109; // 0xffffff93 |
| field public static final int INSTALL_PARSE_FAILED_MANIFEST_MALFORMED = -108; // 0xffffff94 |
| field public static final int INSTALL_PARSE_FAILED_NOT_APK = -100; // 0xffffff9c |
| field public static final int INSTALL_PARSE_FAILED_NO_CERTIFICATES = -103; // 0xffffff99 |
| field public static final int INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION = -102; // 0xffffff9a |
| field public static final int INSTALL_SUCCEEDED = 1; // 0x1 |
| field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS = 2; // 0x2 |
| field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS_ASK = 4; // 0x4 |
| field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ASK = 1; // 0x1 |
| field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER = 3; // 0x3 |
| field public static final int INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED = 0; // 0x0 |
| field public static final int INTENT_FILTER_VERIFICATION_FAILURE = -1; // 0xffffffff |
| field public static final int INTENT_FILTER_VERIFICATION_SUCCESS = 1; // 0x1 |
| field @Deprecated public static final int MASK_PERMISSION_FLAGS = 255; // 0xff |
| field public static final int MATCH_ANY_USER = 4194304; // 0x400000 |
| field public static final int MATCH_FACTORY_ONLY = 2097152; // 0x200000 |
| field public static final int MATCH_INSTANT = 8388608; // 0x800000 |
| field public static final int RESTRICTION_HIDE_FROM_SUGGESTIONS = 1; // 0x1 |
| field public static final int RESTRICTION_HIDE_NOTIFICATIONS = 2; // 0x2 |
| field public static final int RESTRICTION_NONE = 0; // 0x0 |
| } |
| |
| public abstract static class PackageManager.DexModuleRegisterCallback { |
| ctor public PackageManager.DexModuleRegisterCallback(); |
| method public abstract void onDexModuleRegistered(String, boolean, String); |
| } |
| |
| public static interface PackageManager.OnPermissionsChangedListener { |
| method public void onPermissionsChanged(int); |
| } |
| |
| @IntDef(prefix={"FLAG_PERMISSION_"}, value={android.content.pm.PackageManager.FLAG_PERMISSION_USER_SET, android.content.pm.PackageManager.FLAG_PERMISSION_USER_FIXED, android.content.pm.PackageManager.FLAG_PERMISSION_POLICY_FIXED, android.content.pm.PackageManager.FLAG_PERMISSION_REVOKE_ON_UPGRADE, android.content.pm.PackageManager.FLAG_PERMISSION_SYSTEM_FIXED, android.content.pm.PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT, android.content.pm.PackageManager.FLAG_PERMISSION_USER_SENSITIVE_WHEN_GRANTED, android.content.pm.PackageManager.FLAG_PERMISSION_USER_SENSITIVE_WHEN_DENIED, android.content.pm.PackageManager.FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT, android.content.pm.PackageManager.FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT, android.content.pm.PackageManager.FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT, android.content.pm.PackageManager.FLAG_PERMISSION_APPLY_RESTRICTION, android.content.pm.PackageManager.FLAG_PERMISSION_GRANTED_BY_ROLE}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface PackageManager.PermissionFlags { |
| } |
| |
| public class PermissionGroupInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { |
| field @StringRes public final int backgroundRequestDetailResourceId; |
| field @StringRes public final int backgroundRequestResourceId; |
| field @StringRes public final int requestDetailResourceId; |
| field @StringRes public int requestRes; |
| } |
| |
| public class PermissionInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { |
| field public static final int FLAG_REMOVED = 2; // 0x2 |
| field public static final int PROTECTION_FLAG_APP_PREDICTOR = 2097152; // 0x200000 |
| field public static final int PROTECTION_FLAG_CONFIGURATOR = 524288; // 0x80000 |
| field public static final int PROTECTION_FLAG_DOCUMENTER = 262144; // 0x40000 |
| field public static final int PROTECTION_FLAG_INCIDENT_REPORT_APPROVER = 1048576; // 0x100000 |
| field public static final int PROTECTION_FLAG_OEM = 16384; // 0x4000 |
| field public static final int PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER = 65536; // 0x10000 |
| field public static final int PROTECTION_FLAG_WELLBEING = 131072; // 0x20000 |
| field @Nullable public final String backgroundPermission; |
| field @StringRes public int requestRes; |
| } |
| |
| public class ResolveInfo implements android.os.Parcelable { |
| field public boolean handleAllWebDataURI; |
| } |
| |
| public final class ShortcutInfo implements android.os.Parcelable { |
| method @Nullable public android.app.Person[] getPersons(); |
| } |
| |
| public class ShortcutManager { |
| method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_APP_PREDICTIONS) public java.util.List<android.content.pm.ShortcutManager.ShareShortcutInfo> getShareTargets(@NonNull android.content.IntentFilter); |
| method public boolean hasShareTargets(@NonNull String); |
| } |
| |
| public static final class ShortcutManager.ShareShortcutInfo implements android.os.Parcelable { |
| method public int describeContents(); |
| method @NonNull public android.content.pm.ShortcutInfo getShortcutInfo(); |
| method @NonNull public android.content.ComponentName getTargetComponent(); |
| method public void writeToParcel(@NonNull android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.ShortcutManager.ShareShortcutInfo> CREATOR; |
| } |
| |
| public final class SuspendDialogInfo implements android.os.Parcelable { |
| method public int describeContents(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.SuspendDialogInfo> CREATOR; |
| } |
| |
| public static final class SuspendDialogInfo.Builder { |
| ctor public SuspendDialogInfo.Builder(); |
| method @NonNull public android.content.pm.SuspendDialogInfo build(); |
| method @NonNull public android.content.pm.SuspendDialogInfo.Builder setIcon(@DrawableRes int); |
| method @NonNull public android.content.pm.SuspendDialogInfo.Builder setMessage(@NonNull String); |
| method @NonNull public android.content.pm.SuspendDialogInfo.Builder setMessage(@StringRes int); |
| method @NonNull public android.content.pm.SuspendDialogInfo.Builder setNeutralButtonText(@StringRes int); |
| method @NonNull public android.content.pm.SuspendDialogInfo.Builder setTitle(@StringRes int); |
| } |
| |
| } |
| |
| package android.content.pm.dex { |
| |
| public class ArtManager { |
| method @RequiresPermission(allOf={android.Manifest.permission.READ_RUNTIME_PROFILES, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean isRuntimeProfilingEnabled(int); |
| method @RequiresPermission(allOf={android.Manifest.permission.READ_RUNTIME_PROFILES, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void snapshotRuntimeProfile(int, @Nullable String, @Nullable String, @NonNull java.util.concurrent.Executor, @NonNull android.content.pm.dex.ArtManager.SnapshotRuntimeProfileCallback); |
| field public static final int PROFILE_APPS = 0; // 0x0 |
| field public static final int PROFILE_BOOT_IMAGE = 1; // 0x1 |
| field public static final int SNAPSHOT_FAILED_CODE_PATH_NOT_FOUND = 1; // 0x1 |
| field public static final int SNAPSHOT_FAILED_INTERNAL_ERROR = 2; // 0x2 |
| field public static final int SNAPSHOT_FAILED_PACKAGE_NOT_FOUND = 0; // 0x0 |
| } |
| |
| public abstract static class ArtManager.SnapshotRuntimeProfileCallback { |
| ctor public ArtManager.SnapshotRuntimeProfileCallback(); |
| method public abstract void onError(int); |
| method public abstract void onSuccess(android.os.ParcelFileDescriptor); |
| } |
| |
| } |
| |
| package android.content.pm.permission { |
| |
| @Deprecated public final class RuntimePermissionPresentationInfo implements android.os.Parcelable { |
| ctor @Deprecated public RuntimePermissionPresentationInfo(CharSequence, boolean, boolean); |
| method @Deprecated public int describeContents(); |
| method @Deprecated @NonNull public CharSequence getLabel(); |
| method @Deprecated public boolean isGranted(); |
| method @Deprecated public boolean isStandard(); |
| method @Deprecated public void writeToParcel(android.os.Parcel, int); |
| field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.content.pm.permission.RuntimePermissionPresentationInfo> CREATOR; |
| } |
| |
| } |
| |
| package android.content.rollback { |
| |
| public final class PackageRollbackInfo implements android.os.Parcelable { |
| method public int describeContents(); |
| method @NonNull public String getPackageName(); |
| method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackFrom(); |
| method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackTo(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.content.rollback.PackageRollbackInfo> CREATOR; |
| } |
| |
| public final class RollbackInfo implements android.os.Parcelable { |
| method public int describeContents(); |
| method @NonNull public java.util.List<android.content.pm.VersionedPackage> getCausePackages(); |
| method public int getCommittedSessionId(); |
| method @NonNull public java.util.List<android.content.rollback.PackageRollbackInfo> getPackages(); |
| method public int getRollbackId(); |
| method public boolean isStaged(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.content.rollback.RollbackInfo> CREATOR; |
| } |
| |
| public final class RollbackManager { |
| method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) public void commitRollback(int, @NonNull java.util.List<android.content.pm.VersionedPackage>, @NonNull android.content.IntentSender); |
| method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) @NonNull public java.util.List<android.content.rollback.RollbackInfo> getAvailableRollbacks(); |
| method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, "android.permission.TEST_MANAGE_ROLLBACKS"}) @NonNull public java.util.List<android.content.rollback.RollbackInfo> getRecentlyCommittedRollbacks(); |
| field public static final String EXTRA_STATUS = "android.content.rollback.extra.STATUS"; |
| field public static final String EXTRA_STATUS_MESSAGE = "android.content.rollback.extra.STATUS_MESSAGE"; |
| field public static final int STATUS_FAILURE = 1; // 0x1 |
| field public static final int STATUS_FAILURE_INSTALL = 3; // 0x3 |
| field public static final int STATUS_FAILURE_ROLLBACK_UNAVAILABLE = 2; // 0x2 |
| field public static final int STATUS_SUCCESS = 0; // 0x0 |
| } |
| |
| } |
| |
| package android.hardware { |
| |
| public final class Sensor { |
| method public java.util.UUID getUuid(); |
| method public boolean isDataInjectionSupported(); |
| field public static final String STRING_TYPE_DYNAMIC_SENSOR_META = "android.sensor.dynamic_sensor_meta"; |
| field public static final String STRING_TYPE_WRIST_TILT_GESTURE = "android.sensor.wrist_tilt_gesture"; |
| field public static final int TYPE_DYNAMIC_SENSOR_META = 32; // 0x20 |
| field public static final int TYPE_WRIST_TILT_GESTURE = 26; // 0x1a |
| } |
| |
| public abstract class SensorManager { |
| method public boolean initDataInjection(boolean); |
| method public boolean injectSensorData(android.hardware.Sensor, float[], int, long); |
| } |
| |
| } |
| |
| package android.hardware.camera2 { |
| |
| public abstract class CameraDevice implements java.lang.AutoCloseable { |
| method 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; |
| field public static final int SESSION_OPERATION_MODE_CONSTRAINED_HIGH_SPEED = 1; // 0x1 |
| field public static final int SESSION_OPERATION_MODE_NORMAL = 0; // 0x0 |
| field public static final int SESSION_OPERATION_MODE_VENDOR_START = 32768; // 0x8000 |
| } |
| |
| } |
| |
| package android.hardware.camera2.params { |
| |
| public final class OutputConfiguration implements android.os.Parcelable { |
| ctor public OutputConfiguration(@NonNull android.view.Surface, int); |
| ctor public OutputConfiguration(int, @NonNull android.view.Surface, int); |
| method public int getRotation(); |
| field public static final int ROTATION_0 = 0; // 0x0 |
| field public static final int ROTATION_180 = 2; // 0x2 |
| field public static final int ROTATION_270 = 3; // 0x3 |
| field public static final int ROTATION_90 = 1; // 0x1 |
| } |
| |
| } |
| |
| package android.hardware.display { |
| |
| public final class AmbientBrightnessDayStats implements android.os.Parcelable { |
| method public int describeContents(); |
| method public float[] getBucketBoundaries(); |
| method public java.time.LocalDate getLocalDate(); |
| method public float[] getStats(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.AmbientBrightnessDayStats> CREATOR; |
| } |
| |
| public final class BrightnessChangeEvent implements android.os.Parcelable { |
| method public int describeContents(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessChangeEvent> CREATOR; |
| field public final float batteryLevel; |
| field public final float brightness; |
| field public final long colorSampleDuration; |
| field public final int colorTemperature; |
| field @Nullable public final long[] colorValueBuckets; |
| field public final boolean isDefaultBrightnessConfig; |
| field public final boolean isUserSetBrightness; |
| field public final float lastBrightness; |
| field public final long[] luxTimestamps; |
| field public final float[] luxValues; |
| field public final boolean nightMode; |
| field public final String packageName; |
| field public final float powerBrightnessFactor; |
| field public final long timeStamp; |
| } |
| |
| public final class BrightnessConfiguration implements android.os.Parcelable { |
| method public int describeContents(); |
| method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByCategory(int); |
| method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByPackageName(@NonNull String); |
| method public android.util.Pair<float[],float[]> getCurve(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessConfiguration> CREATOR; |
| } |
| |
| public static class BrightnessConfiguration.Builder { |
| ctor public BrightnessConfiguration.Builder(float[], float[]); |
| method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByCategory(int, @NonNull android.hardware.display.BrightnessCorrection); |
| method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByPackageName(@NonNull String, @NonNull android.hardware.display.BrightnessCorrection); |
| method @NonNull public android.hardware.display.BrightnessConfiguration build(); |
| method public int getMaxCorrectionsByCategory(); |
| method public int getMaxCorrectionsByPackageName(); |
| method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setDescription(@Nullable String); |
| } |
| |
| public final class BrightnessCorrection implements android.os.Parcelable { |
| method @FloatRange(from=0.0) public float apply(@FloatRange(from=0.0) float); |
| method @NonNull public static android.hardware.display.BrightnessCorrection createScaleAndTranslateLog(float, float); |
| method public int describeContents(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessCorrection> CREATOR; |
| } |
| |
| public final class ColorDisplayManager { |
| method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public int getNightDisplayAutoMode(); |
| method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public int getTransformCapabilities(); |
| method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setAppSaturationLevel(@NonNull String, @IntRange(from=0, to=100) int); |
| method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayAutoMode(int); |
| method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayCustomEndTime(@NonNull java.time.LocalTime); |
| method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setNightDisplayCustomStartTime(@NonNull java.time.LocalTime); |
| method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean setSaturationLevel(@IntRange(from=0, to=100) int); |
| field public static final int AUTO_MODE_CUSTOM_TIME = 1; // 0x1 |
| field public static final int AUTO_MODE_DISABLED = 0; // 0x0 |
| field public static final int AUTO_MODE_TWILIGHT = 2; // 0x2 |
| field public static final int CAPABILITY_HARDWARE_ACCELERATION_GLOBAL = 2; // 0x2 |
| field public static final int CAPABILITY_HARDWARE_ACCELERATION_PER_APP = 4; // 0x4 |
| field public static final int CAPABILITY_NONE = 0; // 0x0 |
| field public static final int CAPABILITY_PROTECTED_CONTENT = 1; // 0x1 |
| } |
| |
| public final class DisplayManager { |
| method @RequiresPermission(android.Manifest.permission.ACCESS_AMBIENT_LIGHT_STATS) public java.util.List<android.hardware.display.AmbientBrightnessDayStats> getAmbientBrightnessStats(); |
| method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getBrightnessConfiguration(); |
| method @RequiresPermission(android.Manifest.permission.BRIGHTNESS_SLIDER_USAGE) public java.util.List<android.hardware.display.BrightnessChangeEvent> getBrightnessEvents(); |
| method @Nullable @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getDefaultBrightnessConfiguration(); |
| method public android.util.Pair<float[],float[]> getMinimumBrightnessCurve(); |
| method public android.graphics.Point getStableDisplaySize(); |
| method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public void setBrightnessConfiguration(android.hardware.display.BrightnessConfiguration); |
| method @Deprecated @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_SATURATION) public void setSaturationLevel(float); |
| } |
| |
| } |
| |
| package android.hardware.hdmi { |
| |
| public abstract class HdmiClient { |
| method public android.hardware.hdmi.HdmiDeviceInfo getActiveSource(); |
| method public void sendKeyEvent(int, boolean); |
| method public void sendVendorCommand(int, byte[], boolean); |
| method public void setVendorCommandListener(@NonNull android.hardware.hdmi.HdmiControlManager.VendorCommandListener); |
| } |
| |
| public final class HdmiControlManager { |
| method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void addHotplugEventListener(android.hardware.hdmi.HdmiControlManager.HotplugEventListener); |
| method @Nullable public android.hardware.hdmi.HdmiClient getClient(int); |
| method @NonNull public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getConnectedDevices(); |
| method public int getPhysicalAddress(); |
| method @Nullable public android.hardware.hdmi.HdmiPlaybackClient getPlaybackClient(); |
| method @Nullable public android.hardware.hdmi.HdmiSwitchClient getSwitchClient(); |
| method @Nullable public android.hardware.hdmi.HdmiTvClient getTvClient(); |
| method public boolean isDeviceConnected(@NonNull android.hardware.hdmi.HdmiDeviceInfo); |
| method public void powerOffDevice(@NonNull android.hardware.hdmi.HdmiDeviceInfo); |
| method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void removeHotplugEventListener(android.hardware.hdmi.HdmiControlManager.HotplugEventListener); |
| method public void setActiveSource(@NonNull android.hardware.hdmi.HdmiDeviceInfo); |
| method @RequiresPermission(android.Manifest.permission.HDMI_CEC) public void setStandbyMode(boolean); |
| field public static final String ACTION_OSD_MESSAGE = "android.hardware.hdmi.action.OSD_MESSAGE"; |
| field public static final int AVR_VOLUME_MUTED = 101; // 0x65 |
| field public static final int CLEAR_TIMER_STATUS_CEC_DISABLE = 162; // 0xa2 |
| field public static final int CLEAR_TIMER_STATUS_CHECK_RECORDER_CONNECTION = 160; // 0xa0 |
| field public static final int CLEAR_TIMER_STATUS_FAIL_TO_CLEAR_SELECTED_SOURCE = 161; // 0xa1 |
| field public static final int CLEAR_TIMER_STATUS_TIMER_CLEARED = 128; // 0x80 |
| field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_NO_INFO_AVAILABLE = 2; // 0x2 |
| field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_NO_MATCHING = 1; // 0x1 |
| field public static final int CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_RECORDING = 0; // 0x0 |
| field public static final int CONTROL_STATE_CHANGED_REASON_SETTING = 1; // 0x1 |
| field public static final int CONTROL_STATE_CHANGED_REASON_STANDBY = 3; // 0x3 |
| field public static final int CONTROL_STATE_CHANGED_REASON_START = 0; // 0x0 |
| field public static final int CONTROL_STATE_CHANGED_REASON_WAKEUP = 2; // 0x2 |
| field public static final int DEVICE_EVENT_ADD_DEVICE = 1; // 0x1 |
| field public static final int DEVICE_EVENT_REMOVE_DEVICE = 2; // 0x2 |
| field public static final int DEVICE_EVENT_UPDATE_DEVICE = 3; // 0x3 |
| field public static final String EXTRA_MESSAGE_EXTRA_PARAM1 = "android.hardware.hdmi.extra.MESSAGE_EXTRA_PARAM1"; |
| field public static final String EXTRA_MESSAGE_ID = "android.hardware.hdmi.extra.MESSAGE_ID"; |
| field public static final int ONE_TOUCH_RECORD_ALREADY_RECORDING = 18; // 0x12 |
| field public static final int ONE_TOUCH_RECORD_CEC_DISABLED = 51; // 0x33 |
| field public static final int ONE_TOUCH_RECORD_CHECK_RECORDER_CONNECTION = 49; // 0x31 |
| field public static final int ONE_TOUCH_RECORD_DISALLOW_TO_COPY = 13; // 0xd |
| field public static final int ONE_TOUCH_RECORD_DISALLOW_TO_FUTHER_COPIES = 14; // 0xe |
| field public static final int ONE_TOUCH_RECORD_FAIL_TO_RECORD_DISPLAYED_SCREEN = 50; // 0x32 |
| field public static final int ONE_TOUCH_RECORD_INVALID_EXTERNAL_PHYSICAL_ADDRESS = 10; // 0xa |
| field public static final int ONE_TOUCH_RECORD_INVALID_EXTERNAL_PLUG_NUMBER = 9; // 0x9 |
| field public static final int ONE_TOUCH_RECORD_MEDIA_PROBLEM = 21; // 0x15 |
| field public static final int ONE_TOUCH_RECORD_MEDIA_PROTECTED = 19; // 0x13 |
| field public static final int ONE_TOUCH_RECORD_NOT_ENOUGH_SPACE = 22; // 0x16 |
| field public static final int ONE_TOUCH_RECORD_NO_MEDIA = 16; // 0x10 |
| field public static final int ONE_TOUCH_RECORD_NO_OR_INSUFFICIENT_CA_ENTITLEMENTS = 12; // 0xc |
| field public static final int ONE_TOUCH_RECORD_NO_SOURCE_SIGNAL = 20; // 0x14 |
| field public static final int ONE_TOUCH_RECORD_OTHER_REASON = 31; // 0x1f |
| field public static final int ONE_TOUCH_RECORD_PARENT_LOCK_ON = 23; // 0x17 |
| field public static final int ONE_TOUCH_RECORD_PLAYING = 17; // 0x11 |
| field public static final int ONE_TOUCH_RECORD_PREVIOUS_RECORDING_IN_PROGRESS = 48; // 0x30 |
| field public static final int ONE_TOUCH_RECORD_RECORDING_ALREADY_TERMINATED = 27; // 0x1b |
| field public static final int ONE_TOUCH_RECORD_RECORDING_ANALOGUE_SERVICE = 3; // 0x3 |
| field public static final int ONE_TOUCH_RECORD_RECORDING_CURRENTLY_SELECTED_SOURCE = 1; // 0x1 |
| field public static final int ONE_TOUCH_RECORD_RECORDING_DIGITAL_SERVICE = 2; // 0x2 |
| field public static final int ONE_TOUCH_RECORD_RECORDING_EXTERNAL_INPUT = 4; // 0x4 |
| field public static final int ONE_TOUCH_RECORD_RECORDING_TERMINATED_NORMALLY = 26; // 0x1a |
| field public static final int ONE_TOUCH_RECORD_UNABLE_ANALOGUE_SERVICE = 6; // 0x6 |
| field public static final int ONE_TOUCH_RECORD_UNABLE_DIGITAL_SERVICE = 5; // 0x5 |
| field public static final int ONE_TOUCH_RECORD_UNABLE_SELECTED_SERVICE = 7; // 0x7 |
| field public static final int ONE_TOUCH_RECORD_UNSUPPORTED_CA = 11; // 0xb |
| field public static final int OSD_MESSAGE_ARC_CONNECTED_INVALID_PORT = 1; // 0x1 |
| field public static final int OSD_MESSAGE_AVR_VOLUME_CHANGED = 2; // 0x2 |
| field public static final int POWER_STATUS_ON = 0; // 0x0 |
| field public static final int POWER_STATUS_STANDBY = 1; // 0x1 |
| field public static final int POWER_STATUS_TRANSIENT_TO_ON = 2; // 0x2 |
| field public static final int POWER_STATUS_TRANSIENT_TO_STANDBY = 3; // 0x3 |
| field public static final int POWER_STATUS_UNKNOWN = -1; // 0xffffffff |
| field @Deprecated public static final int RESULT_ALREADY_IN_PROGRESS = 4; // 0x4 |
| field public static final int RESULT_COMMUNICATION_FAILED = 7; // 0x7 |
| field public static final int RESULT_EXCEPTION = 5; // 0x5 |
| field public static final int RESULT_INCORRECT_MODE = 6; // 0x6 |
| field public static final int RESULT_SOURCE_NOT_AVAILABLE = 2; // 0x2 |
| field public static final int RESULT_SUCCESS = 0; // 0x0 |
| field public static final int RESULT_TARGET_NOT_AVAILABLE = 3; // 0x3 |
| field public static final int RESULT_TIMEOUT = 1; // 0x1 |
| field public static final int TIMER_RECORDING_RESULT_EXTRA_CEC_DISABLED = 3; // 0x3 |
| field public static final int TIMER_RECORDING_RESULT_EXTRA_CHECK_RECORDER_CONNECTION = 1; // 0x1 |
| field public static final int TIMER_RECORDING_RESULT_EXTRA_FAIL_TO_RECORD_SELECTED_SOURCE = 2; // 0x2 |
| field public static final int TIMER_RECORDING_RESULT_EXTRA_NO_ERROR = 0; // 0x0 |
| field public static final int TIMER_RECORDING_TYPE_ANALOGUE = 2; // 0x2 |
| field public static final int TIMER_RECORDING_TYPE_DIGITAL = 1; // 0x1 |
| field public static final int TIMER_RECORDING_TYPE_EXTERNAL = 3; // 0x3 |
| field public static final int TIMER_STATUS_MEDIA_INFO_NOT_PRESENT = 2; // 0x2 |
| field public static final int TIMER_STATUS_MEDIA_INFO_PRESENT_NOT_PROTECTED = 0; // 0x0 |
| field public static final int TIMER_STATUS_MEDIA_INFO_PRESENT_PROTECTED = 1; // 0x1 |
| field public static final int TIMER_STATUS_NOT_PROGRAMMED_CA_NOT_SUPPORTED = 6; // 0x6 |
| field public static final int TIMER_STATUS_NOT_PROGRAMMED_CLOCK_FAILURE = 10; // 0xa |
| field public static final int TIMER_STATUS_NOT_PROGRAMMED_DATE_OUT_OF_RANGE = 2; // 0x2 |
| field public static final int TIMER_STATUS_NOT_PROGRAMMED_DUPLICATED = 14; // 0xe |
| field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_EXTERNAL_PHYSICAL_NUMBER = 5; // 0x5 |
| field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_EXTERNAL_PLUG_NUMBER = 4; // 0x4 |
| field public static final int TIMER_STATUS_NOT_PROGRAMMED_INVALID_SEQUENCE = 3; // 0x3 |
| field public static final int TIMER_STATUS_NOT_PROGRAMMED_NO_CA_ENTITLEMENTS = 7; // 0x7 |
| field public static final int TIMER_STATUS_NOT_PROGRAMMED_NO_FREE_TIME = 1; // 0x1 |
| field public static final int TIMER_STATUS_NOT_PROGRAMMED_PARENTAL_LOCK_ON = 9; // 0x9 |
| field public static final int TIMER_STATUS_NOT_PROGRAMMED_UNSUPPORTED_RESOLUTION = 8; // 0x8 |
| field public static final int TIMER_STATUS_PROGRAMMED_INFO_ENOUGH_SPACE = 8; // 0x8 |
| field public static final int TIMER_STATUS_PROGRAMMED_INFO_MIGHT_NOT_ENOUGH_SPACE = 11; // 0xb |
| field public static final int TIMER_STATUS_PROGRAMMED_INFO_NOT_ENOUGH_SPACE = 9; // 0x9 |
| field public static final int TIMER_STATUS_PROGRAMMED_INFO_NO_MEDIA_INFO = 10; // 0xa |
| } |
| |
| @IntDef({android.hardware.hdmi.HdmiControlManager.RESULT_SUCCESS, android.hardware.hdmi.HdmiControlManager.RESULT_TIMEOUT, android.hardware.hdmi.HdmiControlManager.RESULT_SOURCE_NOT_AVAILABLE, android.hardware.hdmi.HdmiControlManager.RESULT_TARGET_NOT_AVAILABLE, android.hardware.hdmi.HdmiControlManager.RESULT_ALREADY_IN_PROGRESS, android.hardware.hdmi.HdmiControlManager.RESULT_EXCEPTION, android.hardware.hdmi.HdmiControlManager.RESULT_INCORRECT_MODE, android.hardware.hdmi.HdmiControlManager.RESULT_COMMUNICATION_FAILED}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public static @interface HdmiControlManager.ControlCallbackResult { |
| } |
| |
| public static interface HdmiControlManager.HotplugEventListener { |
| method public void onReceived(android.hardware.hdmi.HdmiHotplugEvent); |
| } |
| |
| public static interface HdmiControlManager.VendorCommandListener { |
| method public void onControlStateChanged(boolean, int); |
| method public void onReceived(int, int, byte[], boolean); |
| } |
| |
| public class HdmiDeviceInfo implements android.os.Parcelable { |
| ctor public HdmiDeviceInfo(); |
| method public int describeContents(); |
| method public int getAdopterId(); |
| method public int getDeviceId(); |
| method public int getDevicePowerStatus(); |
| method public int getDeviceType(); |
| method public String getDisplayName(); |
| method public int getId(); |
| method public int getLogicalAddress(); |
| method public int getPhysicalAddress(); |
| method public int getPortId(); |
| method public int getVendorId(); |
| method public static int idForCecDevice(int); |
| method public static int idForHardware(int); |
| method public static int idForMhlDevice(int); |
| method public boolean isCecDevice(); |
| method public boolean isInactivated(); |
| method public boolean isMhlDevice(); |
| method public boolean isSourceType(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field public static final int ADDR_INTERNAL = 0; // 0x0 |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiDeviceInfo> CREATOR; |
| field public static final int DEVICE_AUDIO_SYSTEM = 5; // 0x5 |
| field public static final int DEVICE_INACTIVE = -1; // 0xffffffff |
| field public static final int DEVICE_PLAYBACK = 4; // 0x4 |
| field public static final int DEVICE_RECORDER = 1; // 0x1 |
| field public static final int DEVICE_RESERVED = 2; // 0x2 |
| field public static final int DEVICE_TUNER = 3; // 0x3 |
| field public static final int DEVICE_TV = 0; // 0x0 |
| field public static final int ID_INVALID = 65535; // 0xffff |
| field public static final android.hardware.hdmi.HdmiDeviceInfo INACTIVE_DEVICE; |
| field public static final int PATH_INTERNAL = 0; // 0x0 |
| field public static final int PATH_INVALID = 65535; // 0xffff |
| field public static final int PORT_INVALID = -1; // 0xffffffff |
| } |
| |
| public final class HdmiHotplugEvent implements android.os.Parcelable { |
| method public int describeContents(); |
| method public int getPort(); |
| method public boolean isConnected(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiHotplugEvent> CREATOR; |
| } |
| |
| public final class HdmiPlaybackClient extends android.hardware.hdmi.HdmiClient { |
| method public int getDeviceType(); |
| method public void oneTouchPlay(android.hardware.hdmi.HdmiPlaybackClient.OneTouchPlayCallback); |
| method public void queryDisplayStatus(android.hardware.hdmi.HdmiPlaybackClient.DisplayStatusCallback); |
| method public void sendStandby(); |
| } |
| |
| public static interface HdmiPlaybackClient.DisplayStatusCallback { |
| method public void onComplete(int); |
| } |
| |
| public static interface HdmiPlaybackClient.OneTouchPlayCallback { |
| method public void onComplete(int); |
| } |
| |
| public final class HdmiPortInfo implements android.os.Parcelable { |
| ctor public HdmiPortInfo(int, int, int, boolean, boolean, boolean); |
| method public int describeContents(); |
| method public int getAddress(); |
| method public int getId(); |
| method public int getType(); |
| method public boolean isArcSupported(); |
| method public boolean isCecSupported(); |
| method public boolean isMhlSupported(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiPortInfo> CREATOR; |
| field public static final int PORT_INPUT = 0; // 0x0 |
| field public static final int PORT_OUTPUT = 1; // 0x1 |
| } |
| |
| public abstract class HdmiRecordListener { |
| ctor public HdmiRecordListener(); |
| method public void onClearTimerRecordingResult(int, int); |
| method public void onOneTouchRecordResult(int, int); |
| method public abstract android.hardware.hdmi.HdmiRecordSources.RecordSource onOneTouchRecordSourceRequested(int); |
| method public void onTimerRecordingResult(int, android.hardware.hdmi.HdmiRecordListener.TimerStatusData); |
| } |
| |
| public static class HdmiRecordListener.TimerStatusData { |
| method public int getDurationHour(); |
| method public int getDurationMinute(); |
| method public int getExtraError(); |
| method public int getMediaInfo(); |
| method public int getNotProgammedError(); |
| method public int getProgrammedInfo(); |
| method public boolean isOverlapped(); |
| method public boolean isProgrammed(); |
| } |
| |
| public final class HdmiRecordSources { |
| method public static boolean checkRecordSource(byte[]); |
| method public static android.hardware.hdmi.HdmiRecordSources.OwnSource ofOwnSource(); |
| } |
| |
| public static final class HdmiRecordSources.AnalogueServiceSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource { |
| } |
| |
| public static final class HdmiRecordSources.DigitalServiceSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource { |
| } |
| |
| public static final class HdmiRecordSources.ExternalPhysicalAddress extends android.hardware.hdmi.HdmiRecordSources.RecordSource { |
| } |
| |
| public static final class HdmiRecordSources.ExternalPlugData extends android.hardware.hdmi.HdmiRecordSources.RecordSource { |
| } |
| |
| public static final class HdmiRecordSources.OwnSource extends android.hardware.hdmi.HdmiRecordSources.RecordSource { |
| } |
| |
| public abstract static class HdmiRecordSources.RecordSource { |
| } |
| |
| public class HdmiSwitchClient extends android.hardware.hdmi.HdmiClient { |
| method public int getDeviceType(); |
| method public void selectPort(int, @NonNull android.hardware.hdmi.HdmiSwitchClient.OnSelectListener); |
| method public void selectPort(int, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.hdmi.HdmiSwitchClient.OnSelectListener); |
| } |
| |
| public static interface HdmiSwitchClient.OnSelectListener { |
| method public void onSelect(@android.hardware.hdmi.HdmiControlManager.ControlCallbackResult int); |
| } |
| |
| public class HdmiTimerRecordSources { |
| method public static boolean checkTimerRecordSource(int, byte[]); |
| method public static android.hardware.hdmi.HdmiTimerRecordSources.Duration durationOf(int, int); |
| method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofAnalogueSource(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.AnalogueServiceSource); |
| method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofDigitalSource(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.DigitalServiceSource); |
| method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofExternalPhysicalAddress(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.ExternalPhysicalAddress); |
| method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource ofExternalPlug(android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo, android.hardware.hdmi.HdmiRecordSources.ExternalPlugData); |
| method public static android.hardware.hdmi.HdmiTimerRecordSources.Time timeOf(int, int); |
| method public static android.hardware.hdmi.HdmiTimerRecordSources.TimerInfo timerInfoOf(int, int, android.hardware.hdmi.HdmiTimerRecordSources.Time, android.hardware.hdmi.HdmiTimerRecordSources.Duration, int); |
| field public static final int RECORDING_SEQUENCE_REPEAT_FRIDAY = 32; // 0x20 |
| field public static final int RECORDING_SEQUENCE_REPEAT_MONDAY = 2; // 0x2 |
| field public static final int RECORDING_SEQUENCE_REPEAT_ONCE_ONLY = 0; // 0x0 |
| field public static final int RECORDING_SEQUENCE_REPEAT_SATUREDAY = 64; // 0x40 |
| field public static final int RECORDING_SEQUENCE_REPEAT_SUNDAY = 1; // 0x1 |
| field public static final int RECORDING_SEQUENCE_REPEAT_THURSDAY = 16; // 0x10 |
| field public static final int RECORDING_SEQUENCE_REPEAT_TUESDAY = 4; // 0x4 |
| field public static final int RECORDING_SEQUENCE_REPEAT_WEDNESDAY = 8; // 0x8 |
| } |
| |
| public static final class HdmiTimerRecordSources.Duration { |
| } |
| |
| public static final class HdmiTimerRecordSources.Time { |
| } |
| |
| public static final class HdmiTimerRecordSources.TimerInfo { |
| } |
| |
| public static final class HdmiTimerRecordSources.TimerRecordSource { |
| } |
| |
| public final class HdmiTvClient extends android.hardware.hdmi.HdmiClient { |
| method public void clearTimerRecording(int, int, android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource); |
| method public void deviceSelect(int, @NonNull android.hardware.hdmi.HdmiTvClient.SelectCallback); |
| method public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getDeviceList(); |
| method public int getDeviceType(); |
| method public void portSelect(int, @NonNull android.hardware.hdmi.HdmiTvClient.SelectCallback); |
| method public void sendMhlVendorCommand(int, int, int, byte[]); |
| method public void sendStandby(int); |
| method public void setHdmiMhlVendorCommandListener(android.hardware.hdmi.HdmiTvClient.HdmiMhlVendorCommandListener); |
| method public void setInputChangeListener(android.hardware.hdmi.HdmiTvClient.InputChangeListener); |
| method public void setRecordListener(@NonNull android.hardware.hdmi.HdmiRecordListener); |
| method public void setSystemAudioMode(boolean, android.hardware.hdmi.HdmiTvClient.SelectCallback); |
| method public void setSystemAudioMute(boolean); |
| method public void setSystemAudioVolume(int, int, int); |
| method public void startOneTouchRecord(int, @NonNull android.hardware.hdmi.HdmiRecordSources.RecordSource); |
| method public void startTimerRecording(int, int, android.hardware.hdmi.HdmiTimerRecordSources.TimerRecordSource); |
| method public void stopOneTouchRecord(int); |
| field public static final int VENDOR_DATA_SIZE = 16; // 0x10 |
| } |
| |
| public static interface HdmiTvClient.HdmiMhlVendorCommandListener { |
| method public void onReceived(int, int, int, byte[]); |
| } |
| |
| public static interface HdmiTvClient.InputChangeListener { |
| method public void onChanged(android.hardware.hdmi.HdmiDeviceInfo); |
| } |
| |
| public static interface HdmiTvClient.SelectCallback { |
| method public void onComplete(int); |
| } |
| |
| } |
| |
| package android.hardware.location { |
| |
| public class ContextHubClient implements java.io.Closeable { |
| method public void close(); |
| method @NonNull public android.hardware.location.ContextHubInfo getAttachedHub(); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public int sendMessageToNanoApp(@NonNull android.hardware.location.NanoAppMessage); |
| } |
| |
| public class ContextHubClientCallback { |
| ctor public ContextHubClientCallback(); |
| method public void onHubReset(android.hardware.location.ContextHubClient); |
| method public void onMessageFromNanoApp(android.hardware.location.ContextHubClient, android.hardware.location.NanoAppMessage); |
| method public void onNanoAppAborted(android.hardware.location.ContextHubClient, long, int); |
| method public void onNanoAppDisabled(android.hardware.location.ContextHubClient, long); |
| method public void onNanoAppEnabled(android.hardware.location.ContextHubClient, long); |
| method public void onNanoAppLoaded(android.hardware.location.ContextHubClient, long); |
| method public void onNanoAppUnloaded(android.hardware.location.ContextHubClient, long); |
| } |
| |
| public class ContextHubInfo implements android.os.Parcelable { |
| ctor public ContextHubInfo(); |
| method public int describeContents(); |
| method public byte getChreApiMajorVersion(); |
| method public byte getChreApiMinorVersion(); |
| method public short getChrePatchVersion(); |
| method public long getChrePlatformId(); |
| method public int getId(); |
| method public int getMaxPacketLengthBytes(); |
| method public android.hardware.location.MemoryRegion[] getMemoryRegions(); |
| method public String getName(); |
| method public float getPeakMips(); |
| method public float getPeakPowerDrawMw(); |
| method public int getPlatformVersion(); |
| method public float getSleepPowerDrawMw(); |
| method public int getStaticSwVersion(); |
| method public float getStoppedPowerDrawMw(); |
| method public int[] getSupportedSensors(); |
| method public String getToolchain(); |
| method public int getToolchainVersion(); |
| method public String getVendor(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.ContextHubInfo> CREATOR; |
| } |
| |
| public class ContextHubIntentEvent { |
| method @NonNull public static android.hardware.location.ContextHubIntentEvent fromIntent(@NonNull android.content.Intent); |
| method @NonNull public android.hardware.location.ContextHubInfo getContextHubInfo(); |
| method public int getEventType(); |
| method public int getNanoAppAbortCode(); |
| method public long getNanoAppId(); |
| method @NonNull public android.hardware.location.NanoAppMessage getNanoAppMessage(); |
| } |
| |
| public final class ContextHubManager { |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) @NonNull public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.ContextHubClientCallback, @NonNull java.util.concurrent.Executor); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) @NonNull public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.ContextHubClientCallback); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) @NonNull public android.hardware.location.ContextHubClient createClient(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.app.PendingIntent, long); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) @NonNull public android.hardware.location.ContextHubTransaction<java.lang.Void> disableNanoApp(@NonNull android.hardware.location.ContextHubInfo, long); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) @NonNull public android.hardware.location.ContextHubTransaction<java.lang.Void> enableNanoApp(@NonNull android.hardware.location.ContextHubInfo, long); |
| method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public int[] findNanoAppOnHub(int, @NonNull android.hardware.location.NanoAppFilter); |
| method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public int[] getContextHubHandles(); |
| method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public android.hardware.location.ContextHubInfo getContextHubInfo(int); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) @NonNull public java.util.List<android.hardware.location.ContextHubInfo> getContextHubs(); |
| method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public android.hardware.location.NanoAppInstanceInfo getNanoAppInstanceInfo(int); |
| method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public int loadNanoApp(int, @NonNull android.hardware.location.NanoApp); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) @NonNull public android.hardware.location.ContextHubTransaction<java.lang.Void> loadNanoApp(@NonNull android.hardware.location.ContextHubInfo, @NonNull android.hardware.location.NanoAppBinary); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) @NonNull public android.hardware.location.ContextHubTransaction<java.util.List<android.hardware.location.NanoAppState>> queryNanoApps(@NonNull android.hardware.location.ContextHubInfo); |
| method @Deprecated public int registerCallback(@NonNull android.hardware.location.ContextHubManager.Callback); |
| method @Deprecated public int registerCallback(android.hardware.location.ContextHubManager.Callback, android.os.Handler); |
| method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public int sendMessage(int, int, @NonNull android.hardware.location.ContextHubMessage); |
| method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public int unloadNanoApp(int); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) @NonNull public android.hardware.location.ContextHubTransaction<java.lang.Void> unloadNanoApp(@NonNull android.hardware.location.ContextHubInfo, long); |
| method @Deprecated public int unregisterCallback(@NonNull android.hardware.location.ContextHubManager.Callback); |
| field public static final int EVENT_HUB_RESET = 6; // 0x6 |
| field public static final int EVENT_NANOAPP_ABORTED = 4; // 0x4 |
| field public static final int EVENT_NANOAPP_DISABLED = 3; // 0x3 |
| field public static final int EVENT_NANOAPP_ENABLED = 2; // 0x2 |
| field public static final int EVENT_NANOAPP_LOADED = 0; // 0x0 |
| field public static final int EVENT_NANOAPP_MESSAGE = 5; // 0x5 |
| field public static final int EVENT_NANOAPP_UNLOADED = 1; // 0x1 |
| field public static final String EXTRA_CONTEXT_HUB_INFO = "android.hardware.location.extra.CONTEXT_HUB_INFO"; |
| field public static final String EXTRA_EVENT_TYPE = "android.hardware.location.extra.EVENT_TYPE"; |
| field public static final String EXTRA_MESSAGE = "android.hardware.location.extra.MESSAGE"; |
| field public static final String EXTRA_NANOAPP_ABORT_CODE = "android.hardware.location.extra.NANOAPP_ABORT_CODE"; |
| field public static final String EXTRA_NANOAPP_ID = "android.hardware.location.extra.NANOAPP_ID"; |
| } |
| |
| @Deprecated public abstract static class ContextHubManager.Callback { |
| ctor @Deprecated protected ContextHubManager.Callback(); |
| method @Deprecated public abstract void onMessageReceipt(int, int, @NonNull android.hardware.location.ContextHubMessage); |
| } |
| |
| @Deprecated public class ContextHubMessage implements android.os.Parcelable { |
| ctor @Deprecated public ContextHubMessage(int, int, byte[]); |
| method @Deprecated public int describeContents(); |
| method @Deprecated public byte[] getData(); |
| method @Deprecated public int getMsgType(); |
| method @Deprecated public int getVersion(); |
| method @Deprecated public void setMsgData(byte[]); |
| method @Deprecated public void setMsgType(int); |
| method @Deprecated public void setVersion(int); |
| method @Deprecated public void writeToParcel(android.os.Parcel, int); |
| field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.ContextHubMessage> CREATOR; |
| } |
| |
| public class ContextHubTransaction<T> { |
| method public int getType(); |
| method public void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnCompleteListener<T>, @NonNull java.util.concurrent.Executor); |
| method public void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnCompleteListener<T>); |
| method public static String typeToString(int, boolean); |
| method public android.hardware.location.ContextHubTransaction.Response<T> waitForResponse(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException; |
| field public static final int RESULT_FAILED_AT_HUB = 5; // 0x5 |
| field public static final int RESULT_FAILED_BAD_PARAMS = 2; // 0x2 |
| field public static final int RESULT_FAILED_BUSY = 4; // 0x4 |
| field public static final int RESULT_FAILED_HAL_UNAVAILABLE = 8; // 0x8 |
| field public static final int RESULT_FAILED_SERVICE_INTERNAL_FAILURE = 7; // 0x7 |
| field public static final int RESULT_FAILED_TIMEOUT = 6; // 0x6 |
| field public static final int RESULT_FAILED_UNINITIALIZED = 3; // 0x3 |
| field public static final int RESULT_FAILED_UNKNOWN = 1; // 0x1 |
| field public static final int RESULT_SUCCESS = 0; // 0x0 |
| field public static final int TYPE_DISABLE_NANOAPP = 3; // 0x3 |
| field public static final int TYPE_ENABLE_NANOAPP = 2; // 0x2 |
| field public static final int TYPE_LOAD_NANOAPP = 0; // 0x0 |
| field public static final int TYPE_QUERY_NANOAPPS = 4; // 0x4 |
| field public static final int TYPE_UNLOAD_NANOAPP = 1; // 0x1 |
| } |
| |
| @java.lang.FunctionalInterface public static interface ContextHubTransaction.OnCompleteListener<L> { |
| method public void onComplete(android.hardware.location.ContextHubTransaction<L>, android.hardware.location.ContextHubTransaction.Response<L>); |
| } |
| |
| public static class ContextHubTransaction.Response<R> { |
| method public R getContents(); |
| method public int getResult(); |
| } |
| |
| public final class GeofenceHardware { |
| method public boolean addGeofence(int, int, android.hardware.location.GeofenceHardwareRequest, android.hardware.location.GeofenceHardwareCallback); |
| method public int[] getMonitoringTypes(); |
| method public int getStatusOfMonitoringType(int); |
| method public boolean pauseGeofence(int, int); |
| method public boolean registerForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback); |
| method public boolean removeGeofence(int, int); |
| method public boolean resumeGeofence(int, int, int); |
| method public boolean unregisterForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback); |
| field public static final int GEOFENCE_ENTERED = 1; // 0x1 |
| field public static final int GEOFENCE_ERROR_ID_EXISTS = 2; // 0x2 |
| field public static final int GEOFENCE_ERROR_ID_UNKNOWN = 3; // 0x3 |
| field public static final int GEOFENCE_ERROR_INSUFFICIENT_MEMORY = 6; // 0x6 |
| field public static final int GEOFENCE_ERROR_INVALID_TRANSITION = 4; // 0x4 |
| field public static final int GEOFENCE_ERROR_TOO_MANY_GEOFENCES = 1; // 0x1 |
| field public static final int GEOFENCE_EXITED = 2; // 0x2 |
| field public static final int GEOFENCE_FAILURE = 5; // 0x5 |
| field public static final int GEOFENCE_SUCCESS = 0; // 0x0 |
| field public static final int GEOFENCE_UNCERTAIN = 4; // 0x4 |
| field public static final int MONITORING_TYPE_FUSED_HARDWARE = 1; // 0x1 |
| field public static final int MONITORING_TYPE_GPS_HARDWARE = 0; // 0x0 |
| field public static final int MONITOR_CURRENTLY_AVAILABLE = 0; // 0x0 |
| field public static final int MONITOR_CURRENTLY_UNAVAILABLE = 1; // 0x1 |
| field public static final int MONITOR_UNSUPPORTED = 2; // 0x2 |
| field public static final int SOURCE_TECHNOLOGY_BLUETOOTH = 16; // 0x10 |
| field public static final int SOURCE_TECHNOLOGY_CELL = 8; // 0x8 |
| field public static final int SOURCE_TECHNOLOGY_GNSS = 1; // 0x1 |
| field public static final int SOURCE_TECHNOLOGY_SENSORS = 4; // 0x4 |
| field public static final int SOURCE_TECHNOLOGY_WIFI = 2; // 0x2 |
| } |
| |
| public abstract class GeofenceHardwareCallback { |
| ctor public GeofenceHardwareCallback(); |
| method public void onGeofenceAdd(int, int); |
| method public void onGeofencePause(int, int); |
| method public void onGeofenceRemove(int, int); |
| method public void onGeofenceResume(int, int); |
| method public void onGeofenceTransition(int, int, android.location.Location, long, int); |
| } |
| |
| public abstract class GeofenceHardwareMonitorCallback { |
| ctor public GeofenceHardwareMonitorCallback(); |
| method @Deprecated public void onMonitoringSystemChange(int, boolean, android.location.Location); |
| method public void onMonitoringSystemChange(android.hardware.location.GeofenceHardwareMonitorEvent); |
| } |
| |
| public class GeofenceHardwareMonitorEvent implements android.os.Parcelable { |
| ctor public GeofenceHardwareMonitorEvent(int, int, int, android.location.Location); |
| method public int describeContents(); |
| method public android.location.Location getLocation(); |
| method public int getMonitoringStatus(); |
| method public int getMonitoringType(); |
| method public int getSourceTechnologies(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.GeofenceHardwareMonitorEvent> CREATOR; |
| } |
| |
| public final class GeofenceHardwareRequest { |
| ctor public GeofenceHardwareRequest(); |
| method public static android.hardware.location.GeofenceHardwareRequest createCircularGeofence(double, double, double); |
| method public int getLastTransition(); |
| method public double getLatitude(); |
| method public double getLongitude(); |
| method public int getMonitorTransitions(); |
| method public int getNotificationResponsiveness(); |
| method public double getRadius(); |
| method public int getSourceTechnologies(); |
| method public int getUnknownTimer(); |
| method public void setLastTransition(int); |
| method public void setMonitorTransitions(int); |
| method public void setNotificationResponsiveness(int); |
| method public void setSourceTechnologies(int); |
| method public void setUnknownTimer(int); |
| } |
| |
| public class MemoryRegion implements android.os.Parcelable { |
| ctor public MemoryRegion(android.os.Parcel); |
| method public int describeContents(); |
| method public int getCapacityBytes(); |
| method public int getFreeCapacityBytes(); |
| method public boolean isExecutable(); |
| method public boolean isReadable(); |
| method public boolean isWritable(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.MemoryRegion> CREATOR; |
| } |
| |
| @Deprecated public class NanoApp implements android.os.Parcelable { |
| ctor @Deprecated public NanoApp(); |
| ctor @Deprecated public NanoApp(int, byte[]); |
| ctor @Deprecated public NanoApp(long, byte[]); |
| method @Deprecated public int describeContents(); |
| method @Deprecated public byte[] getAppBinary(); |
| method @Deprecated public long getAppId(); |
| method @Deprecated public int getAppVersion(); |
| method @Deprecated public String getName(); |
| method @Deprecated public int getNeededExecMemBytes(); |
| method @Deprecated public int getNeededReadMemBytes(); |
| method @Deprecated public int[] getNeededSensors(); |
| method @Deprecated public int getNeededWriteMemBytes(); |
| method @Deprecated public int[] getOutputEvents(); |
| method @Deprecated public String getPublisher(); |
| method @Deprecated public void setAppBinary(byte[]); |
| method @Deprecated public void setAppId(long); |
| method @Deprecated public void setAppVersion(int); |
| method @Deprecated public void setName(String); |
| method @Deprecated public void setNeededExecMemBytes(int); |
| method @Deprecated public void setNeededReadMemBytes(int); |
| method @Deprecated public void setNeededSensors(int[]); |
| method @Deprecated public void setNeededWriteMemBytes(int); |
| method @Deprecated public void setOutputEvents(int[]); |
| method @Deprecated public void setPublisher(String); |
| method @Deprecated public void writeToParcel(android.os.Parcel, int); |
| field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoApp> CREATOR; |
| } |
| |
| public final class NanoAppBinary implements android.os.Parcelable { |
| ctor public NanoAppBinary(byte[]); |
| method public int describeContents(); |
| method public byte[] getBinary(); |
| method public byte[] getBinaryNoHeader(); |
| method public int getFlags(); |
| method public int getHeaderVersion(); |
| method public long getHwHubType(); |
| method public long getNanoAppId(); |
| method public int getNanoAppVersion(); |
| method public byte getTargetChreApiMajorVersion(); |
| method public byte getTargetChreApiMinorVersion(); |
| method public boolean hasValidHeader(); |
| method public boolean isEncrypted(); |
| method public boolean isSigned(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppBinary> CREATOR; |
| } |
| |
| @Deprecated public class NanoAppFilter implements android.os.Parcelable { |
| ctor @Deprecated public NanoAppFilter(long, int, int, long); |
| method @Deprecated public int describeContents(); |
| method @Deprecated public boolean testMatch(android.hardware.location.NanoAppInstanceInfo); |
| method @Deprecated public void writeToParcel(android.os.Parcel, int); |
| field @Deprecated public static final int APP_ANY = -1; // 0xffffffff |
| field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppFilter> CREATOR; |
| field @Deprecated public static final int FLAGS_VERSION_ANY = -1; // 0xffffffff |
| field @Deprecated public static final int FLAGS_VERSION_GREAT_THAN = 2; // 0x2 |
| field @Deprecated public static final int FLAGS_VERSION_LESS_THAN = 4; // 0x4 |
| field @Deprecated public static final int FLAGS_VERSION_STRICTLY_EQUAL = 8; // 0x8 |
| field @Deprecated public static final int HUB_ANY = -1; // 0xffffffff |
| field @Deprecated public static final int VENDOR_ANY = -1; // 0xffffffff |
| } |
| |
| @Deprecated public class NanoAppInstanceInfo implements android.os.Parcelable { |
| ctor @Deprecated public NanoAppInstanceInfo(); |
| method @Deprecated public int describeContents(); |
| method @Deprecated public long getAppId(); |
| method @Deprecated public int getAppVersion(); |
| method @Deprecated public int getContexthubId(); |
| method @Deprecated public int getHandle(); |
| method @Deprecated public String getName(); |
| method @Deprecated public int getNeededExecMemBytes(); |
| method @Deprecated public int getNeededReadMemBytes(); |
| method @Deprecated @NonNull public int[] getNeededSensors(); |
| method @Deprecated public int getNeededWriteMemBytes(); |
| method @Deprecated @NonNull public int[] getOutputEvents(); |
| method @Deprecated public String getPublisher(); |
| method @Deprecated public void writeToParcel(android.os.Parcel, int); |
| field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppInstanceInfo> CREATOR; |
| } |
| |
| public final class NanoAppMessage implements android.os.Parcelable { |
| method public static android.hardware.location.NanoAppMessage createMessageFromNanoApp(long, int, byte[], boolean); |
| method public static android.hardware.location.NanoAppMessage createMessageToNanoApp(long, int, byte[]); |
| method public int describeContents(); |
| method public byte[] getMessageBody(); |
| method public int getMessageType(); |
| method public long getNanoAppId(); |
| method public boolean isBroadcastMessage(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppMessage> CREATOR; |
| } |
| |
| public final class NanoAppState implements android.os.Parcelable { |
| ctor public NanoAppState(long, int, boolean); |
| method public int describeContents(); |
| method public long getNanoAppId(); |
| method public long getNanoAppVersion(); |
| method public boolean isEnabled(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppState> CREATOR; |
| } |
| |
| } |
| |
| package android.hardware.radio { |
| |
| public final class Announcement implements android.os.Parcelable { |
| method public int describeContents(); |
| method @NonNull public android.hardware.radio.ProgramSelector getSelector(); |
| method public int getType(); |
| method @NonNull public java.util.Map<java.lang.String,java.lang.String> getVendorInfo(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.Announcement> CREATOR; |
| field public static final int TYPE_EMERGENCY = 1; // 0x1 |
| field public static final int TYPE_EVENT = 6; // 0x6 |
| field public static final int TYPE_MISC = 8; // 0x8 |
| field public static final int TYPE_NEWS = 5; // 0x5 |
| field public static final int TYPE_SPORT = 7; // 0x7 |
| field public static final int TYPE_TRAFFIC = 3; // 0x3 |
| field public static final int TYPE_WARNING = 2; // 0x2 |
| field public static final int TYPE_WEATHER = 4; // 0x4 |
| } |
| |
| public static interface Announcement.OnListUpdatedListener { |
| method public void onListUpdated(java.util.Collection<android.hardware.radio.Announcement>); |
| } |
| |
| public final class ProgramList implements java.lang.AutoCloseable { |
| method public void addOnCompleteListener(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.OnCompleteListener); |
| method public void addOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnCompleteListener); |
| method public void close(); |
| method @Nullable public android.hardware.radio.RadioManager.ProgramInfo get(@NonNull android.hardware.radio.ProgramSelector.Identifier); |
| method public void registerListCallback(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.radio.ProgramList.ListCallback); |
| method public void registerListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback); |
| method public void removeOnCompleteListener(@NonNull android.hardware.radio.ProgramList.OnCompleteListener); |
| method @NonNull public java.util.List<android.hardware.radio.RadioManager.ProgramInfo> toList(); |
| method public void unregisterListCallback(@NonNull android.hardware.radio.ProgramList.ListCallback); |
| } |
| |
| public static final class ProgramList.Filter implements android.os.Parcelable { |
| ctor public ProgramList.Filter(@NonNull java.util.Set<java.lang.Integer>, @NonNull java.util.Set<android.hardware.radio.ProgramSelector.Identifier>, boolean, boolean); |
| method public boolean areCategoriesIncluded(); |
| method public boolean areModificationsExcluded(); |
| method public int describeContents(); |
| method @NonNull public java.util.Set<java.lang.Integer> getIdentifierTypes(); |
| method @NonNull public java.util.Set<android.hardware.radio.ProgramSelector.Identifier> getIdentifiers(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.ProgramList.Filter> CREATOR; |
| } |
| |
| public abstract static class ProgramList.ListCallback { |
| ctor public ProgramList.ListCallback(); |
| method public void onItemChanged(@NonNull android.hardware.radio.ProgramSelector.Identifier); |
| method public void onItemRemoved(@NonNull android.hardware.radio.ProgramSelector.Identifier); |
| } |
| |
| public static interface ProgramList.OnCompleteListener { |
| method public void onComplete(); |
| } |
| |
| public final class ProgramSelector implements android.os.Parcelable { |
| ctor public ProgramSelector(@android.hardware.radio.ProgramSelector.ProgramType int, @NonNull android.hardware.radio.ProgramSelector.Identifier, @Nullable android.hardware.radio.ProgramSelector.Identifier[], @Nullable long[]); |
| method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(@android.hardware.radio.RadioManager.Band int, int); |
| method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(@android.hardware.radio.RadioManager.Band int, int, int); |
| method public int describeContents(); |
| method @NonNull public android.hardware.radio.ProgramSelector.Identifier[] getAllIds(@android.hardware.radio.ProgramSelector.IdentifierType int); |
| method public long getFirstId(@android.hardware.radio.ProgramSelector.IdentifierType int); |
| method @NonNull public android.hardware.radio.ProgramSelector.Identifier getPrimaryId(); |
| method @Deprecated @android.hardware.radio.ProgramSelector.ProgramType public int getProgramType(); |
| method @NonNull public android.hardware.radio.ProgramSelector.Identifier[] getSecondaryIds(); |
| method @Deprecated @NonNull public long[] getVendorIds(); |
| method @NonNull public android.hardware.radio.ProgramSelector withSecondaryPreferred(@NonNull android.hardware.radio.ProgramSelector.Identifier); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.ProgramSelector> CREATOR; |
| field public static final int IDENTIFIER_TYPE_AMFM_FREQUENCY = 1; // 0x1 |
| field public static final int IDENTIFIER_TYPE_DAB_ENSEMBLE = 6; // 0x6 |
| field public static final int IDENTIFIER_TYPE_DAB_FREQUENCY = 8; // 0x8 |
| field public static final int IDENTIFIER_TYPE_DAB_SCID = 7; // 0x7 |
| field public static final int IDENTIFIER_TYPE_DAB_SIDECC = 5; // 0x5 |
| field public static final int IDENTIFIER_TYPE_DAB_SID_EXT = 5; // 0x5 |
| field public static final int IDENTIFIER_TYPE_DRMO_FREQUENCY = 10; // 0xa |
| field @Deprecated public static final int IDENTIFIER_TYPE_DRMO_MODULATION = 11; // 0xb |
| field public static final int IDENTIFIER_TYPE_DRMO_SERVICE_ID = 9; // 0x9 |
| field public static final int IDENTIFIER_TYPE_HD_STATION_ID_EXT = 3; // 0x3 |
| field public static final int IDENTIFIER_TYPE_HD_STATION_NAME = 10004; // 0x2714 |
| field @Deprecated public static final int IDENTIFIER_TYPE_HD_SUBCHANNEL = 4; // 0x4 |
| field public static final int IDENTIFIER_TYPE_INVALID = 0; // 0x0 |
| field public static final int IDENTIFIER_TYPE_RDS_PI = 2; // 0x2 |
| field public static final int IDENTIFIER_TYPE_SXM_CHANNEL = 13; // 0xd |
| field public static final int IDENTIFIER_TYPE_SXM_SERVICE_ID = 12; // 0xc |
| field public static final int IDENTIFIER_TYPE_VENDOR_END = 1999; // 0x7cf |
| field @Deprecated public static final int IDENTIFIER_TYPE_VENDOR_PRIMARY_END = 1999; // 0x7cf |
| field @Deprecated public static final int IDENTIFIER_TYPE_VENDOR_PRIMARY_START = 1000; // 0x3e8 |
| field public static final int IDENTIFIER_TYPE_VENDOR_START = 1000; // 0x3e8 |
| field @Deprecated public static final int PROGRAM_TYPE_AM = 1; // 0x1 |
| field @Deprecated public static final int PROGRAM_TYPE_AM_HD = 3; // 0x3 |
| field @Deprecated public static final int PROGRAM_TYPE_DAB = 5; // 0x5 |
| field @Deprecated public static final int PROGRAM_TYPE_DRMO = 6; // 0x6 |
| field @Deprecated public static final int PROGRAM_TYPE_FM = 2; // 0x2 |
| field @Deprecated public static final int PROGRAM_TYPE_FM_HD = 4; // 0x4 |
| field @Deprecated public static final int PROGRAM_TYPE_INVALID = 0; // 0x0 |
| field @Deprecated public static final int PROGRAM_TYPE_SXM = 7; // 0x7 |
| field @Deprecated public static final int PROGRAM_TYPE_VENDOR_END = 1999; // 0x7cf |
| field @Deprecated public static final int PROGRAM_TYPE_VENDOR_START = 1000; // 0x3e8 |
| } |
| |
| public static final class ProgramSelector.Identifier implements android.os.Parcelable { |
| ctor public ProgramSelector.Identifier(@android.hardware.radio.ProgramSelector.IdentifierType int, long); |
| method public int describeContents(); |
| method @android.hardware.radio.ProgramSelector.IdentifierType public int getType(); |
| method public long getValue(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.ProgramSelector.Identifier> CREATOR; |
| } |
| |
| @IntDef(prefix={"IDENTIFIER_TYPE_"}, value={android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_INVALID, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_RDS_PI, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_HD_STATION_ID_EXT, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_HD_SUBCHANNEL, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_HD_STATION_NAME, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_SID_EXT, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_SIDECC, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_SCID, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DAB_FREQUENCY, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DRMO_SERVICE_ID, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DRMO_FREQUENCY, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_DRMO_MODULATION, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_SXM_SERVICE_ID, android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_SXM_CHANNEL}) @IntRange(from=android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_VENDOR_START, to=android.hardware.radio.ProgramSelector.IDENTIFIER_TYPE_VENDOR_END) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface ProgramSelector.IdentifierType { |
| } |
| |
| @Deprecated @IntDef(prefix={"PROGRAM_TYPE_"}, value={android.hardware.radio.ProgramSelector.PROGRAM_TYPE_INVALID, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_AM, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_FM, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_AM_HD, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_FM_HD, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_DAB, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_DRMO, android.hardware.radio.ProgramSelector.PROGRAM_TYPE_SXM}) @IntRange(from=android.hardware.radio.ProgramSelector.PROGRAM_TYPE_VENDOR_START, to=android.hardware.radio.ProgramSelector.PROGRAM_TYPE_VENDOR_END) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface ProgramSelector.ProgramType { |
| } |
| |
| public class RadioManager { |
| method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void addAnnouncementListener(@NonNull java.util.Set<java.lang.Integer>, @NonNull android.hardware.radio.Announcement.OnListUpdatedListener); |
| method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void addAnnouncementListener(@NonNull java.util.concurrent.Executor, @NonNull java.util.Set<java.lang.Integer>, @NonNull android.hardware.radio.Announcement.OnListUpdatedListener); |
| method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public int listModules(java.util.List<android.hardware.radio.RadioManager.ModuleProperties>); |
| method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public android.hardware.radio.RadioTuner openTuner(int, android.hardware.radio.RadioManager.BandConfig, boolean, android.hardware.radio.RadioTuner.Callback, android.os.Handler); |
| method @RequiresPermission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void removeAnnouncementListener(@NonNull android.hardware.radio.Announcement.OnListUpdatedListener); |
| field public static final int BAND_AM = 0; // 0x0 |
| field public static final int BAND_AM_HD = 3; // 0x3 |
| field public static final int BAND_FM = 1; // 0x1 |
| field public static final int BAND_FM_HD = 2; // 0x2 |
| field public static final int BAND_INVALID = -1; // 0xffffffff |
| field public static final int CLASS_AM_FM = 0; // 0x0 |
| field public static final int CLASS_DT = 2; // 0x2 |
| field public static final int CLASS_SAT = 1; // 0x1 |
| field public static final int CONFIG_DAB_DAB_LINKING = 6; // 0x6 |
| field public static final int CONFIG_DAB_DAB_SOFT_LINKING = 8; // 0x8 |
| field public static final int CONFIG_DAB_FM_LINKING = 7; // 0x7 |
| field public static final int CONFIG_DAB_FM_SOFT_LINKING = 9; // 0x9 |
| field public static final int CONFIG_FORCE_ANALOG = 2; // 0x2 |
| field public static final int CONFIG_FORCE_DIGITAL = 3; // 0x3 |
| field public static final int CONFIG_FORCE_MONO = 1; // 0x1 |
| field public static final int CONFIG_RDS_AF = 4; // 0x4 |
| field public static final int CONFIG_RDS_REG = 5; // 0x5 |
| field public static final int REGION_ITU_1 = 0; // 0x0 |
| field public static final int REGION_ITU_2 = 1; // 0x1 |
| field public static final int REGION_JAPAN = 3; // 0x3 |
| field public static final int REGION_KOREA = 4; // 0x4 |
| field public static final int REGION_OIRT = 2; // 0x2 |
| field public static final int STATUS_BAD_VALUE = -22; // 0xffffffea |
| field public static final int STATUS_DEAD_OBJECT = -32; // 0xffffffe0 |
| field public static final int STATUS_ERROR = -2147483648; // 0x80000000 |
| field public static final int STATUS_INVALID_OPERATION = -38; // 0xffffffda |
| field public static final int STATUS_NO_INIT = -19; // 0xffffffed |
| field public static final int STATUS_OK = 0; // 0x0 |
| field public static final int STATUS_PERMISSION_DENIED = -1; // 0xffffffff |
| field public static final int STATUS_TIMED_OUT = -110; // 0xffffff92 |
| } |
| |
| public static class RadioManager.AmBandConfig extends android.hardware.radio.RadioManager.BandConfig { |
| method public boolean getStereo(); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.AmBandConfig> CREATOR; |
| } |
| |
| public static class RadioManager.AmBandConfig.Builder { |
| ctor public RadioManager.AmBandConfig.Builder(android.hardware.radio.RadioManager.AmBandDescriptor); |
| ctor public RadioManager.AmBandConfig.Builder(android.hardware.radio.RadioManager.AmBandConfig); |
| method public android.hardware.radio.RadioManager.AmBandConfig build(); |
| method public android.hardware.radio.RadioManager.AmBandConfig.Builder setStereo(boolean); |
| } |
| |
| public static class RadioManager.AmBandDescriptor extends android.hardware.radio.RadioManager.BandDescriptor { |
| method public boolean isStereoSupported(); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.AmBandDescriptor> CREATOR; |
| } |
| |
| @IntDef(prefix={"BAND_"}, value={android.hardware.radio.RadioManager.BAND_INVALID, android.hardware.radio.RadioManager.BAND_AM, android.hardware.radio.RadioManager.BAND_FM, android.hardware.radio.RadioManager.BAND_AM_HD, android.hardware.radio.RadioManager.BAND_FM_HD}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface RadioManager.Band { |
| } |
| |
| public static class RadioManager.BandConfig implements android.os.Parcelable { |
| method public int describeContents(); |
| method public int getLowerLimit(); |
| method public int getRegion(); |
| method public int getSpacing(); |
| method public int getType(); |
| method public int getUpperLimit(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.BandConfig> CREATOR; |
| } |
| |
| public static class RadioManager.BandDescriptor implements android.os.Parcelable { |
| method public int describeContents(); |
| method public int getLowerLimit(); |
| method public int getRegion(); |
| method public int getSpacing(); |
| method public int getType(); |
| method public int getUpperLimit(); |
| method public boolean isAmBand(); |
| method public boolean isFmBand(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.BandDescriptor> CREATOR; |
| } |
| |
| public static class RadioManager.FmBandConfig extends android.hardware.radio.RadioManager.BandConfig { |
| method public boolean getAf(); |
| method public boolean getEa(); |
| method public boolean getRds(); |
| method public boolean getStereo(); |
| method public boolean getTa(); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.FmBandConfig> CREATOR; |
| } |
| |
| public static class RadioManager.FmBandConfig.Builder { |
| ctor public RadioManager.FmBandConfig.Builder(android.hardware.radio.RadioManager.FmBandDescriptor); |
| ctor public RadioManager.FmBandConfig.Builder(android.hardware.radio.RadioManager.FmBandConfig); |
| method public android.hardware.radio.RadioManager.FmBandConfig build(); |
| method public android.hardware.radio.RadioManager.FmBandConfig.Builder setAf(boolean); |
| method public android.hardware.radio.RadioManager.FmBandConfig.Builder setEa(boolean); |
| method public android.hardware.radio.RadioManager.FmBandConfig.Builder setRds(boolean); |
| method public android.hardware.radio.RadioManager.FmBandConfig.Builder setStereo(boolean); |
| method public android.hardware.radio.RadioManager.FmBandConfig.Builder setTa(boolean); |
| } |
| |
| public static class RadioManager.FmBandDescriptor extends android.hardware.radio.RadioManager.BandDescriptor { |
| method public boolean isAfSupported(); |
| method public boolean isEaSupported(); |
| method public boolean isRdsSupported(); |
| method public boolean isStereoSupported(); |
| method public boolean isTaSupported(); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.FmBandDescriptor> CREATOR; |
| } |
| |
| public static class RadioManager.ModuleProperties implements android.os.Parcelable { |
| method public int describeContents(); |
| method public android.hardware.radio.RadioManager.BandDescriptor[] getBands(); |
| method public int getClassId(); |
| method @Nullable public java.util.Map<java.lang.String,java.lang.Integer> getDabFrequencyTable(); |
| method public int getId(); |
| method public String getImplementor(); |
| method public int getNumAudioSources(); |
| method public int getNumTuners(); |
| method public String getProduct(); |
| method public String getSerial(); |
| method @NonNull public String getServiceName(); |
| method @NonNull public java.util.Map<java.lang.String,java.lang.String> getVendorInfo(); |
| method public String getVersion(); |
| method public boolean isBackgroundScanningSupported(); |
| method public boolean isCaptureSupported(); |
| method public boolean isInitializationRequired(); |
| method public boolean isProgramIdentifierSupported(@android.hardware.radio.ProgramSelector.IdentifierType int); |
| method public boolean isProgramTypeSupported(@android.hardware.radio.ProgramSelector.ProgramType int); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.ModuleProperties> CREATOR; |
| } |
| |
| public static class RadioManager.ProgramInfo implements android.os.Parcelable { |
| method public int describeContents(); |
| method @Deprecated public int getChannel(); |
| method @Nullable public android.hardware.radio.ProgramSelector.Identifier getLogicallyTunedTo(); |
| method public android.hardware.radio.RadioMetadata getMetadata(); |
| method @Nullable public android.hardware.radio.ProgramSelector.Identifier getPhysicallyTunedTo(); |
| method @Nullable public java.util.Collection<android.hardware.radio.ProgramSelector.Identifier> getRelatedContent(); |
| method @NonNull public android.hardware.radio.ProgramSelector getSelector(); |
| method public int getSignalStrength(); |
| method @Deprecated public int getSubChannel(); |
| method @NonNull public java.util.Map<java.lang.String,java.lang.String> getVendorInfo(); |
| method @Deprecated public boolean isDigital(); |
| method public boolean isLive(); |
| method public boolean isMuted(); |
| method public boolean isStereo(); |
| method public boolean isTrafficAnnouncementActive(); |
| method public boolean isTrafficProgram(); |
| method public boolean isTuned(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.ProgramInfo> CREATOR; |
| } |
| |
| public final class RadioMetadata implements android.os.Parcelable { |
| method public boolean containsKey(String); |
| method public int describeContents(); |
| method @Deprecated public android.graphics.Bitmap getBitmap(String); |
| method public android.hardware.radio.RadioMetadata.Clock getClock(String); |
| method public int getInt(String); |
| method public String getString(String); |
| method public java.util.Set<java.lang.String> keySet(); |
| method public int size(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioMetadata> CREATOR; |
| field public static final String METADATA_KEY_ALBUM = "android.hardware.radio.metadata.ALBUM"; |
| field public static final String METADATA_KEY_ART = "android.hardware.radio.metadata.ART"; |
| field public static final String METADATA_KEY_ARTIST = "android.hardware.radio.metadata.ARTIST"; |
| field public static final String METADATA_KEY_CLOCK = "android.hardware.radio.metadata.CLOCK"; |
| field public static final String METADATA_KEY_DAB_COMPONENT_NAME = "android.hardware.radio.metadata.DAB_COMPONENT_NAME"; |
| field public static final String METADATA_KEY_DAB_COMPONENT_NAME_SHORT = "android.hardware.radio.metadata.DAB_COMPONENT_NAME_SHORT"; |
| field public static final String METADATA_KEY_DAB_ENSEMBLE_NAME = "android.hardware.radio.metadata.DAB_ENSEMBLE_NAME"; |
| field public static final String METADATA_KEY_DAB_ENSEMBLE_NAME_SHORT = "android.hardware.radio.metadata.DAB_ENSEMBLE_NAME_SHORT"; |
| field public static final String METADATA_KEY_DAB_SERVICE_NAME = "android.hardware.radio.metadata.DAB_SERVICE_NAME"; |
| field public static final String METADATA_KEY_DAB_SERVICE_NAME_SHORT = "android.hardware.radio.metadata.DAB_SERVICE_NAME_SHORT"; |
| field public static final String METADATA_KEY_GENRE = "android.hardware.radio.metadata.GENRE"; |
| field public static final String METADATA_KEY_ICON = "android.hardware.radio.metadata.ICON"; |
| field public static final String METADATA_KEY_PROGRAM_NAME = "android.hardware.radio.metadata.PROGRAM_NAME"; |
| field public static final String METADATA_KEY_RBDS_PTY = "android.hardware.radio.metadata.RBDS_PTY"; |
| field public static final String METADATA_KEY_RDS_PI = "android.hardware.radio.metadata.RDS_PI"; |
| field public static final String METADATA_KEY_RDS_PS = "android.hardware.radio.metadata.RDS_PS"; |
| field public static final String METADATA_KEY_RDS_PTY = "android.hardware.radio.metadata.RDS_PTY"; |
| field public static final String METADATA_KEY_RDS_RT = "android.hardware.radio.metadata.RDS_RT"; |
| field public static final String METADATA_KEY_TITLE = "android.hardware.radio.metadata.TITLE"; |
| } |
| |
| public static final class RadioMetadata.Builder { |
| ctor public RadioMetadata.Builder(); |
| ctor public RadioMetadata.Builder(android.hardware.radio.RadioMetadata); |
| method public android.hardware.radio.RadioMetadata build(); |
| method public android.hardware.radio.RadioMetadata.Builder putBitmap(String, android.graphics.Bitmap); |
| method public android.hardware.radio.RadioMetadata.Builder putClock(String, long, int); |
| method public android.hardware.radio.RadioMetadata.Builder putInt(String, int); |
| method public android.hardware.radio.RadioMetadata.Builder putString(String, String); |
| } |
| |
| public static final class RadioMetadata.Clock implements android.os.Parcelable { |
| ctor public RadioMetadata.Clock(long, int); |
| method public int describeContents(); |
| method public int getTimezoneOffsetMinutes(); |
| method public long getUtcEpochSeconds(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.radio.RadioMetadata.Clock> CREATOR; |
| } |
| |
| public abstract class RadioTuner { |
| ctor public RadioTuner(); |
| method public abstract int cancel(); |
| method public abstract void cancelAnnouncement(); |
| method public abstract void close(); |
| method @Deprecated public abstract int getConfiguration(android.hardware.radio.RadioManager.BandConfig[]); |
| method @Nullable public android.hardware.radio.ProgramList getDynamicProgramList(@Nullable android.hardware.radio.ProgramList.Filter); |
| method public abstract boolean getMute(); |
| method @NonNull public java.util.Map<java.lang.String,java.lang.String> getParameters(@NonNull java.util.List<java.lang.String>); |
| method @Deprecated public abstract int getProgramInformation(android.hardware.radio.RadioManager.ProgramInfo[]); |
| method @Deprecated @NonNull public abstract java.util.List<android.hardware.radio.RadioManager.ProgramInfo> getProgramList(@Nullable java.util.Map<java.lang.String,java.lang.String>); |
| method public abstract boolean hasControl(); |
| method @Deprecated public abstract boolean isAnalogForced(); |
| method @Deprecated public abstract boolean isAntennaConnected(); |
| method public boolean isConfigFlagSet(int); |
| method public boolean isConfigFlagSupported(int); |
| method public abstract int scan(int, boolean); |
| method @Deprecated public abstract void setAnalogForced(boolean); |
| method public void setConfigFlag(int, boolean); |
| method @Deprecated public abstract int setConfiguration(android.hardware.radio.RadioManager.BandConfig); |
| method public abstract int setMute(boolean); |
| method @NonNull public java.util.Map<java.lang.String,java.lang.String> setParameters(@NonNull java.util.Map<java.lang.String,java.lang.String>); |
| method public abstract boolean startBackgroundScan(); |
| method public abstract int step(int, boolean); |
| method @Deprecated public abstract int tune(int, int); |
| method public abstract void tune(@NonNull android.hardware.radio.ProgramSelector); |
| field public static final int DIRECTION_DOWN = 1; // 0x1 |
| field public static final int DIRECTION_UP = 0; // 0x0 |
| field @Deprecated public static final int ERROR_BACKGROUND_SCAN_FAILED = 6; // 0x6 |
| field @Deprecated public static final int ERROR_BACKGROUND_SCAN_UNAVAILABLE = 5; // 0x5 |
| field @Deprecated public static final int ERROR_CANCELLED = 2; // 0x2 |
| field @Deprecated public static final int ERROR_CONFIG = 4; // 0x4 |
| field @Deprecated public static final int ERROR_HARDWARE_FAILURE = 0; // 0x0 |
| field @Deprecated public static final int ERROR_SCAN_TIMEOUT = 3; // 0x3 |
| field @Deprecated public static final int ERROR_SERVER_DIED = 1; // 0x1 |
| } |
| |
| public abstract static class RadioTuner.Callback { |
| ctor public RadioTuner.Callback(); |
| method public void onAntennaState(boolean); |
| method public void onBackgroundScanAvailabilityChange(boolean); |
| method public void onBackgroundScanComplete(); |
| method @Deprecated public void onConfigurationChanged(android.hardware.radio.RadioManager.BandConfig); |
| method public void onControlChanged(boolean); |
| method public void onEmergencyAnnouncement(boolean); |
| method @Deprecated public void onError(int); |
| method @Deprecated public void onMetadataChanged(android.hardware.radio.RadioMetadata); |
| method public void onParametersUpdated(@NonNull java.util.Map<java.lang.String,java.lang.String>); |
| method public void onProgramInfoChanged(android.hardware.radio.RadioManager.ProgramInfo); |
| method public void onProgramListChanged(); |
| method public void onTrafficAnnouncement(boolean); |
| method public void onTuneFailed(int, @Nullable android.hardware.radio.ProgramSelector); |
| } |
| |
| } |
| |
| package android.hardware.soundtrigger { |
| |
| public class SoundTrigger { |
| field public static final int STATUS_OK = 0; // 0x0 |
| } |
| |
| public static class SoundTrigger.RecognitionEvent { |
| method @Nullable public android.media.AudioFormat getCaptureFormat(); |
| method public int getCaptureSession(); |
| method public byte[] getData(); |
| method public boolean isCaptureAvailable(); |
| } |
| |
| } |
| |
| package android.hardware.usb { |
| |
| public class UsbDeviceConnection { |
| method public boolean resetDevice(); |
| } |
| |
| public class UsbManager { |
| method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_USB) public java.util.List<android.hardware.usb.UsbPort> getPorts(); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void grantPermission(android.hardware.usb.UsbDevice, String); |
| field @RequiresPermission(android.Manifest.permission.MANAGE_USB) public static final String ACTION_USB_PORT_CHANGED = "android.hardware.usb.action.USB_PORT_CHANGED"; |
| } |
| |
| public final class UsbPort { |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USB) @Nullable public android.hardware.usb.UsbPortStatus getStatus(); |
| method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void setRoles(int, int); |
| } |
| |
| public final class UsbPortStatus implements android.os.Parcelable { |
| method public int describeContents(); |
| method public int getCurrentDataRole(); |
| method public int getCurrentMode(); |
| method public int getCurrentPowerRole(); |
| method public int getSupportedRoleCombinations(); |
| method public boolean isConnected(); |
| method public boolean isRoleCombinationSupported(int, int); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.hardware.usb.UsbPortStatus> CREATOR; |
| field public static final int DATA_ROLE_DEVICE = 2; // 0x2 |
| field public static final int DATA_ROLE_HOST = 1; // 0x1 |
| field public static final int DATA_ROLE_NONE = 0; // 0x0 |
| field public static final int MODE_AUDIO_ACCESSORY = 4; // 0x4 |
| field public static final int MODE_DEBUG_ACCESSORY = 8; // 0x8 |
| field public static final int MODE_DFP = 2; // 0x2 |
| field public static final int MODE_NONE = 0; // 0x0 |
| field public static final int MODE_UFP = 1; // 0x1 |
| field public static final int POWER_ROLE_NONE = 0; // 0x0 |
| field public static final int POWER_ROLE_SINK = 2; // 0x2 |
| field public static final int POWER_ROLE_SOURCE = 1; // 0x1 |
| } |
| |
| } |
| |
| package android.location { |
| |
| public abstract class BatchedLocationCallback { |
| ctor public BatchedLocationCallback(); |
| method public void onLocationBatch(java.util.List<android.location.Location>); |
| } |
| |
| public final class GnssCapabilities { |
| method public boolean hasGeofencing(); |
| method public boolean hasLowPowerMode(); |
| method public boolean hasMeasurementCorrections(); |
| method public boolean hasMeasurementCorrectionsExcessPathLength(); |
| method public boolean hasMeasurementCorrectionsLosSats(); |
| method public boolean hasMeasurementCorrectionsReflectingPane(); |
| method public boolean hasMeasurements(); |
| method public boolean hasNavMessages(); |
| method public boolean hasSatelliteBlacklist(); |
| } |
| |
| public final class GnssMeasurementCorrections implements android.os.Parcelable { |
| method public int describeContents(); |
| method @FloatRange(from=-1000.0F, to=10000.0f) public double getAltitudeMeters(); |
| method @FloatRange(from=0.0f) public double getHorizontalPositionUncertaintyMeters(); |
| method @FloatRange(from=-90.0F, to=90.0f) public double getLatitudeDegrees(); |
| method @FloatRange(from=-180.0F, to=180.0f) public double getLongitudeDegrees(); |
| method @NonNull public java.util.List<android.location.GnssSingleSatCorrection> getSingleSatelliteCorrectionList(); |
| method @IntRange(from=0) public long getToaGpsNanosecondsOfWeek(); |
| method @FloatRange(from=0.0f) public double getVerticalPositionUncertaintyMeters(); |
| method public void writeToParcel(@NonNull android.os.Parcel, int); |
| field public static final android.os.Parcelable.Creator<android.location.GnssMeasurementCorrections> CREATOR; |
| } |
| |
| public static final class GnssMeasurementCorrections.Builder { |
| ctor public GnssMeasurementCorrections.Builder(); |
| method @NonNull public android.location.GnssMeasurementCorrections build(); |
| method @NonNull public android.location.GnssMeasurementCorrections.Builder setAltitudeMeters(@FloatRange(from=-1000.0F, to=10000.0f) double); |
| method @NonNull public android.location.GnssMeasurementCorrections.Builder setHorizontalPositionUncertaintyMeters(@FloatRange(from=0.0f) double); |
| method @NonNull public android.location.GnssMeasurementCorrections.Builder setLatitudeDegrees(@FloatRange(from=-90.0F, to=90.0f) double); |
| method @NonNull public android.location.GnssMeasurementCorrections.Builder setLongitudeDegrees(@FloatRange(from=-180.0F, to=180.0f) double); |
| method @NonNull public android.location.GnssMeasurementCorrections.Builder setSingleSatelliteCorrectionList(@NonNull java.util.List<android.location.GnssSingleSatCorrection>); |
| method @NonNull public android.location.GnssMeasurementCorrections.Builder setToaGpsNanosecondsOfWeek(@IntRange(from=0) long); |
| method @NonNull public android.location.GnssMeasurementCorrections.Builder setVerticalPositionUncertaintyMeters(@FloatRange(from=0.0f) double); |
| } |
| |
| public final class GnssReflectingPlane implements android.os.Parcelable { |
| method public int describeContents(); |
| method @FloatRange(from=-1000.0F, to=10000.0f) public double getAltitudeMeters(); |
| method @FloatRange(from=0.0f, to=360.0f) public double getAzimuthDegrees(); |
| method @FloatRange(from=-90.0F, to=90.0f) public double getLatitudeDegrees(); |
| method @FloatRange(from=-180.0F, to=180.0f) public double getLongitudeDegrees(); |
| method public void writeToParcel(@NonNull android.os.Parcel, int); |
| field public static final android.os.Parcelable.Creator<android.location.GnssReflectingPlane> CREATOR; |
| } |
| |
| public static final class GnssReflectingPlane.Builder { |
| ctor public GnssReflectingPlane.Builder(); |
| method @NonNull public android.location.GnssReflectingPlane build(); |
| method @NonNull public android.location.GnssReflectingPlane.Builder setAltitudeMeters(@FloatRange(from=-1000.0F, to=10000.0f) double); |
| method @NonNull public android.location.GnssReflectingPlane.Builder setAzimuthDegrees(@FloatRange(from=0.0f, to=360.0f) double); |
| method @NonNull public android.location.GnssReflectingPlane.Builder setLatitudeDegrees(@FloatRange(from=-90.0F, to=90.0f) double); |
| method @NonNull public android.location.GnssReflectingPlane.Builder setLongitudeDegrees(@FloatRange(from=-180.0F, to=180.0f) double); |
| } |
| |
| public final class GnssSingleSatCorrection implements android.os.Parcelable { |
| method public int describeContents(); |
| method @FloatRange(from=0.0f, fromInclusive=false) public float getCarrierFrequencyHz(); |
| method public int getConstellationType(); |
| method @FloatRange(from=0.0f) public float getExcessPathLengthMeters(); |
| method @FloatRange(from=0.0f) public float getExcessPathLengthUncertaintyMeters(); |
| method @FloatRange(from=0.0f, to=1.0f) public float getProbabilityLineOfSight(); |
| method @Nullable public android.location.GnssReflectingPlane getReflectingPlane(); |
| method @IntRange(from=0) public int getSatelliteId(); |
| method public boolean hasExcessPathLength(); |
| method public boolean hasExcessPathLengthUncertainty(); |
| method public boolean hasReflectingPlane(); |
| method public boolean hasValidSatelliteLineOfSight(); |
| method public void writeToParcel(@NonNull android.os.Parcel, int); |
| field public static final android.os.Parcelable.Creator<android.location.GnssSingleSatCorrection> CREATOR; |
| } |
| |
| public static final class GnssSingleSatCorrection.Builder { |
| ctor public GnssSingleSatCorrection.Builder(); |
| method @NonNull public android.location.GnssSingleSatCorrection build(); |
| method @NonNull public android.location.GnssSingleSatCorrection.Builder setCarrierFrequencyHz(@FloatRange(from=0.0f, fromInclusive=false) float); |
| method @NonNull public android.location.GnssSingleSatCorrection.Builder setConstellationType(int); |
| method @NonNull public android.location.GnssSingleSatCorrection.Builder setExcessPathLengthMeters(@FloatRange(from=0.0f) float); |
| method @NonNull public android.location.GnssSingleSatCorrection.Builder setExcessPathLengthUncertaintyMeters(@FloatRange(from=0.0f) float); |
| method @NonNull public android.location.GnssSingleSatCorrection.Builder setProbabilityLineOfSight(@FloatRange(from=0.0f, to=1.0f) float); |
| method @NonNull public android.location.GnssSingleSatCorrection.Builder setReflectingPlane(@Nullable android.location.GnssReflectingPlane); |
| method @NonNull public android.location.GnssSingleSatCorrection.Builder setSatelliteId(@IntRange(from=0) int); |
| } |
| |
| public class GpsClock implements android.os.Parcelable { |
| method public int describeContents(); |
| method public double getBiasInNs(); |
| method public double getBiasUncertaintyInNs(); |
| method public double getDriftInNsPerSec(); |
| method public double getDriftUncertaintyInNsPerSec(); |
| method public long getFullBiasInNs(); |
| method public short getLeapSecond(); |
| method public long getTimeInNs(); |
| method public double getTimeUncertaintyInNs(); |
| method public byte getType(); |
| method public boolean hasBiasInNs(); |
| method public boolean hasBiasUncertaintyInNs(); |
| method public boolean hasDriftInNsPerSec(); |
| method public boolean hasDriftUncertaintyInNsPerSec(); |
| method public boolean hasFullBiasInNs(); |
| method public boolean hasLeapSecond(); |
| method public boolean hasTimeUncertaintyInNs(); |
| method public void reset(); |
| method public void resetBiasInNs(); |
| method public void resetBiasUncertaintyInNs(); |
| method public void resetDriftInNsPerSec(); |
| method public void resetDriftUncertaintyInNsPerSec(); |
| method public void resetFullBiasInNs(); |
| method public void resetLeapSecond(); |
| method public void resetTimeUncertaintyInNs(); |
| method public void set(android.location.GpsClock); |
| method public void setBiasInNs(double); |
| method public void setBiasUncertaintyInNs(double); |
| method public void setDriftInNsPerSec(double); |
| method public void setDriftUncertaintyInNsPerSec(double); |
| method public void setFullBiasInNs(long); |
| method public void setLeapSecond(short); |
| method public void setTimeInNs(long); |
| method public void setTimeUncertaintyInNs(double); |
| method public void setType(byte); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.location.GpsClock> CREATOR; |
| field public static final byte TYPE_GPS_TIME = 2; // 0x2 |
| field public static final byte TYPE_LOCAL_HW_TIME = 1; // 0x1 |
| field public static final byte TYPE_UNKNOWN = 0; // 0x0 |
| } |
| |
| public class GpsMeasurement implements android.os.Parcelable { |
| method public int describeContents(); |
| method public double getAccumulatedDeltaRangeInMeters(); |
| method public short getAccumulatedDeltaRangeState(); |
| method public double getAccumulatedDeltaRangeUncertaintyInMeters(); |
| method public double getAzimuthInDeg(); |
| method public double getAzimuthUncertaintyInDeg(); |
| method public int getBitNumber(); |
| method public long getCarrierCycles(); |
| method public float getCarrierFrequencyInHz(); |
| method public double getCarrierPhase(); |
| method public double getCarrierPhaseUncertainty(); |
| method public double getCn0InDbHz(); |
| method public double getCodePhaseInChips(); |
| method public double getCodePhaseUncertaintyInChips(); |
| method public double getDopplerShiftInHz(); |
| method public double getDopplerShiftUncertaintyInHz(); |
| method public double getElevationInDeg(); |
| method public double getElevationUncertaintyInDeg(); |
| method public byte getLossOfLock(); |
| method public byte getMultipathIndicator(); |
| method public byte getPrn(); |
| method public double getPseudorangeInMeters(); |
| method public double getPseudorangeRateInMetersPerSec(); |
| method public double getPseudorangeRateUncertaintyInMetersPerSec(); |
| method public double getPseudorangeUncertaintyInMeters(); |
| method public long getReceivedGpsTowInNs(); |
| method public long getReceivedGpsTowUncertaintyInNs(); |
| method public double getSnrInDb(); |
| method public short getState(); |
| method public short getTimeFromLastBitInMs(); |
| method public double getTimeOffsetInNs(); |
| method public boolean hasAzimuthInDeg(); |
| method public boolean hasAzimuthUncertaintyInDeg(); |
| method public boolean hasBitNumber(); |
| method public boolean hasCarrierCycles(); |
| method public boolean hasCarrierFrequencyInHz(); |
| method public boolean hasCarrierPhase(); |
| method public boolean hasCarrierPhaseUncertainty(); |
| method public boolean hasCodePhaseInChips(); |
| method public boolean hasCodePhaseUncertaintyInChips(); |
| method public boolean hasDopplerShiftInHz(); |
| method public boolean hasDopplerShiftUncertaintyInHz(); |
| method public boolean hasElevationInDeg(); |
| method public boolean hasElevationUncertaintyInDeg(); |
| method public boolean hasPseudorangeInMeters(); |
| method public boolean hasPseudorangeUncertaintyInMeters(); |
| method public boolean hasSnrInDb(); |
| method public boolean hasTimeFromLastBitInMs(); |
| method public boolean isPseudorangeRateCorrected(); |
| method public boolean isUsedInFix(); |
| method public void reset(); |
| method public void resetAzimuthInDeg(); |
| method public void resetAzimuthUncertaintyInDeg(); |
| method public void resetBitNumber(); |
| method public void resetCarrierCycles(); |
| method public void resetCarrierFrequencyInHz(); |
| method public void resetCarrierPhase(); |
| method public void resetCarrierPhaseUncertainty(); |
| method public void resetCodePhaseInChips(); |
| method public void resetCodePhaseUncertaintyInChips(); |
| method public void resetDopplerShiftInHz(); |
| method public void resetDopplerShiftUncertaintyInHz(); |
| method public void resetElevationInDeg(); |
| method public void resetElevationUncertaintyInDeg(); |
| method public void resetPseudorangeInMeters(); |
| method public void resetPseudorangeUncertaintyInMeters(); |
| method public void resetSnrInDb(); |
| method public void resetTimeFromLastBitInMs(); |
| method public void set(android.location.GpsMeasurement); |
| method public void setAccumulatedDeltaRangeInMeters(double); |
| method public void setAccumulatedDeltaRangeState(short); |
| method public void setAccumulatedDeltaRangeUncertaintyInMeters(double); |
| method public void setAzimuthInDeg(double); |
| method public void setAzimuthUncertaintyInDeg(double); |
| method public void setBitNumber(int); |
| method public void setCarrierCycles(long); |
| method public void setCarrierFrequencyInHz(float); |
| method public void setCarrierPhase(double); |
| method public void setCarrierPhaseUncertainty(double); |
| method public void setCn0InDbHz(double); |
| method public void setCodePhaseInChips(double); |
| method public void setCodePhaseUncertaintyInChips(double); |
| method public void setDopplerShiftInHz(double); |
| method public void setDopplerShiftUncertaintyInHz(double); |
| method public void setElevationInDeg(double); |
| method public void setElevationUncertaintyInDeg(double); |
| method public void setLossOfLock(byte); |
| method public void setMultipathIndicator(byte); |
| method public void setPrn(byte); |
| method public void setPseudorangeInMeters(double); |
| method public void setPseudorangeRateInMetersPerSec(double); |
| method public void setPseudorangeRateUncertaintyInMetersPerSec(double); |
| method public void setPseudorangeUncertaintyInMeters(double); |
| method public void setReceivedGpsTowInNs(long); |
| method public void setReceivedGpsTowUncertaintyInNs(long); |
| method public void setSnrInDb(double); |
| method public void setState(short); |
| method public void setTimeFromLastBitInMs(short); |
| method public void setTimeOffsetInNs(double); |
| method public void setUsedInFix(boolean); |
| method public void writeToParcel(android.os.Parcel, int); |
| field public static final short ADR_STATE_CYCLE_SLIP = 4; // 0x4 |
| field public static final short ADR_STATE_RESET = 2; // 0x2 |
| field public static final short ADR_STATE_UNKNOWN = 0; // 0x0 |
| field public static final short ADR_STATE_VALID = 1; // 0x1 |
| field @NonNull public static final android.os.Parcelable.Creator<android.location.GpsMeasurement> CREATOR; |
| field public static final byte LOSS_OF_LOCK_CYCLE_SLIP = 2; // 0x2 |
| field public static final byte LOSS_OF_LOCK_OK = 1; // 0x1 |
| field public static final byte LOSS_OF_LOCK_UNKNOWN = 0; // 0x0 |
| field public static final byte MULTIPATH_INDICATOR_DETECTED = 1; // 0x1 |
| field public static final byte MULTIPATH_INDICATOR_NOT_USED = 2; // 0x2 |
| field public static final byte MULTIPATH_INDICATOR_UNKNOWN = 0; // 0x0 |
| field public static final short STATE_BIT_SYNC = 2; // 0x2 |
| field public static final short STATE_CODE_LOCK = 1; // 0x1 |
| field public static final short STATE_MSEC_AMBIGUOUS = 16; // 0x10 |
| field public static final short STATE_SUBFRAME_SYNC = 4; // 0x4 |
| field public static final short STATE_TOW_DECODED = 8; // 0x8 |
| field public static final short STATE_UNKNOWN = 0; // 0x0 |
| } |
| |
| public class GpsMeasurementsEvent implements android.os.Parcelable { |
| ctor public GpsMeasurementsEvent(android.location.GpsClock, android.location.GpsMeasurement[]); |
| method public int describeContents(); |
| method @NonNull public android.location.GpsClock getClock(); |
| method @NonNull public java.util.Collection<android.location.GpsMeasurement> getMeasurements(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.location.GpsMeasurementsEvent> CREATOR; |
| field public static final int STATUS_GPS_LOCATION_DISABLED = 2; // 0x2 |
| field public static final int STATUS_NOT_SUPPORTED = 0; // 0x0 |
| field public static final int STATUS_READY = 1; // 0x1 |
| } |
| |
| public static interface GpsMeasurementsEvent.Listener { |
| method public void onGpsMeasurementsReceived(android.location.GpsMeasurementsEvent); |
| method public void onStatusChanged(int); |
| } |
| |
| public class GpsNavigationMessage implements android.os.Parcelable { |
| method public int describeContents(); |
| method @NonNull public byte[] getData(); |
| method public short getMessageId(); |
| method public byte getPrn(); |
| method public short getStatus(); |
| method public short getSubmessageId(); |
| method public byte getType(); |
| method public void reset(); |
| method public void set(android.location.GpsNavigationMessage); |
| method public void setData(byte[]); |
| method public void setMessageId(short); |
| method public void setPrn(byte); |
| method public void setStatus(short); |
| method public void setSubmessageId(short); |
| method public void setType(byte); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.location.GpsNavigationMessage> CREATOR; |
| field public static final short STATUS_PARITY_PASSED = 1; // 0x1 |
| field public static final short STATUS_PARITY_REBUILT = 2; // 0x2 |
| field public static final short STATUS_UNKNOWN = 0; // 0x0 |
| field public static final byte TYPE_CNAV2 = 4; // 0x4 |
| field public static final byte TYPE_L1CA = 1; // 0x1 |
| field public static final byte TYPE_L2CNAV = 2; // 0x2 |
| field public static final byte TYPE_L5CNAV = 3; // 0x3 |
| field public static final byte TYPE_UNKNOWN = 0; // 0x0 |
| } |
| |
| public class GpsNavigationMessageEvent implements android.os.Parcelable { |
| ctor public GpsNavigationMessageEvent(android.location.GpsNavigationMessage); |
| method public int describeContents(); |
| method @NonNull public android.location.GpsNavigationMessage getNavigationMessage(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.location.GpsNavigationMessageEvent> CREATOR; |
| field public static int STATUS_GPS_LOCATION_DISABLED; |
| field public static int STATUS_NOT_SUPPORTED; |
| field public static int STATUS_READY; |
| } |
| |
| public static interface GpsNavigationMessageEvent.Listener { |
| method public void onGpsNavigationMessageReceived(android.location.GpsNavigationMessageEvent); |
| method public void onStatusChanged(int); |
| } |
| |
| public class Location implements android.os.Parcelable { |
| method public boolean isComplete(); |
| method public void makeComplete(); |
| method public void setIsFromMockProvider(boolean); |
| } |
| |
| public class LocationManager { |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void flushGnssBatch(); |
| method @Nullable public String getExtraLocationControllerPackage(); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public int getGnssBatchSize(); |
| method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public android.location.GnssCapabilities getGnssCapabilities(); |
| method @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public void injectGnssMeasurementCorrections(@NonNull android.location.GnssMeasurementCorrections); |
| method public boolean isExtraLocationControllerPackageEnabled(); |
| method public boolean isLocationEnabledForUser(@NonNull android.os.UserHandle); |
| method public boolean isProviderEnabledForUser(@NonNull String, @NonNull android.os.UserHandle); |
| method public boolean isProviderPackage(@NonNull String); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public boolean registerGnssBatchedLocationCallback(long, boolean, @NonNull android.location.BatchedLocationCallback, @Nullable android.os.Handler); |
| method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@NonNull android.location.LocationRequest, @NonNull android.location.LocationListener, @Nullable android.os.Looper); |
| method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@NonNull android.location.LocationRequest, @NonNull android.app.PendingIntent); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setExtraLocationControllerPackage(@Nullable String); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setExtraLocationControllerPackageEnabled(boolean); |
| method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setLocationEnabledForUser(boolean, @NonNull android.os.UserHandle); |
| method @Deprecated @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean setProviderEnabledForUser(@NonNull String, boolean, @NonNull android.os.UserHandle); |
| method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public boolean unregisterGnssBatchedLocationCallback(@NonNull android.location.BatchedLocationCallback); |
| } |
| |
| public final class LocationRequest implements android.os.Parcelable { |
| method @NonNull public static android.location.LocationRequest create(); |
| method @NonNull public static android.location.LocationRequest createFromDeprecatedCriteria(@NonNull android.location.Criteria, long, float, boolean); |
| method @NonNull public static android.location.LocationRequest createFromDeprecatedProvider(@NonNull String, long, float, boolean); |
| method public int describeContents(); |
| method public long getExpireAt(); |
| method public long getFastestInterval(); |
| method public boolean getHideFromAppOps(); |
| method public long getInterval(); |
| method public int getNumUpdates(); |
| method @NonNull public String getProvider(); |
| method public int getQuality(); |
| method public float getSmallestDisplacement(); |
| method @Nullable public android.os.WorkSource getWorkSource(); |
| method public boolean isLocationSettingsIgnored(); |
| method public boolean isLowPowerMode(); |
| method @NonNull public android.location.LocationRequest setExpireAt(long); |
| method @NonNull public android.location.LocationRequest setExpireIn(long); |
| method @NonNull public android.location.LocationRequest setFastestInterval(long); |
| method public void setHideFromAppOps(boolean); |
| method @NonNull public android.location.LocationRequest setInterval(long); |
| method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) @NonNull public android.location.LocationRequest setLocationSettingsIgnored(boolean); |
| method @NonNull public android.location.LocationRequest setLowPowerMode(boolean); |
| method @NonNull public android.location.LocationRequest setNumUpdates(int); |
| method @NonNull public android.location.LocationRequest setProvider(@NonNull String); |
| method @NonNull public android.location.LocationRequest setQuality(int); |
| method @NonNull public android.location.LocationRequest setSmallestDisplacement(float); |
| method public void setWorkSource(@Nullable android.os.WorkSource); |
| method public void writeToParcel(android.os.Parcel, int); |
| field public static final int ACCURACY_BLOCK = 102; // 0x66 |
| field public static final int ACCURACY_CITY = 104; // 0x68 |
| field public static final int ACCURACY_FINE = 100; // 0x64 |
| field @NonNull public static final android.os.Parcelable.Creator<android.location.LocationRequest> CREATOR; |
| field public static final int POWER_HIGH = 203; // 0xcb |
| field public static final int POWER_LOW = 201; // 0xc9 |
| field public static final int POWER_NONE = 200; // 0xc8 |
| } |
| |
| } |
| |
| package android.media { |
| |
| public final class AudioAttributes implements android.os.Parcelable { |
| method public int getAllFlags(); |
| method public android.os.Bundle getBundle(); |
| method public int getCapturePreset(); |
| field public static final int FLAG_BEACON = 8; // 0x8 |
| field public static final int FLAG_BYPASS_INTERRUPTION_POLICY = 64; // 0x40 |
| field public static final int FLAG_BYPASS_MUTE = 128; // 0x80 |
| field public static final int FLAG_HW_HOTWORD = 32; // 0x20 |
| } |
| |
| public static class AudioAttributes.Builder { |
| method public android.media.AudioAttributes.Builder addBundle(@NonNull android.os.Bundle); |
| method public android.media.AudioAttributes.Builder setCapturePreset(int); |
| method public android.media.AudioAttributes.Builder setInternalCapturePreset(int); |
| } |
| |
| public final class AudioFocusInfo implements android.os.Parcelable { |
| method public int describeContents(); |
| method @NonNull public android.media.AudioAttributes getAttributes(); |
| method @NonNull public String getClientId(); |
| method public int getClientUid(); |
| method public int getFlags(); |
| method public int getGainRequest(); |
| method public int getLossReceived(); |
| method @NonNull public String getPackageName(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioFocusInfo> CREATOR; |
| } |
| |
| public final class AudioFocusRequest { |
| method public boolean locksFocus(); |
| } |
| |
| public static final class AudioFocusRequest.Builder { |
| method @NonNull public android.media.AudioFocusRequest.Builder setLocksFocus(boolean); |
| } |
| |
| public class AudioManager { |
| method @Deprecated public int abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes); |
| method public void clearAudioServerStateCallback(); |
| method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int dispatchAudioFocusChange(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy); |
| method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static java.util.List<android.media.audiopolicy.AudioProductStrategy> getAudioProductStrategies(); |
| method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static java.util.List<android.media.audiopolicy.AudioVolumeGroup> getAudioVolumeGroups(); |
| method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getMaxVolumeIndexForAttributes(@NonNull android.media.AudioAttributes); |
| method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getMinVolumeIndexForAttributes(@NonNull android.media.AudioAttributes); |
| method @IntRange(from=0) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getVolumeIndexForAttributes(@NonNull android.media.AudioAttributes); |
| method public boolean isAudioServerRunning(); |
| method public boolean isHdmiSystemAudioSupported(); |
| method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int registerAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy); |
| method public void registerVolumeGroupCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.VolumeGroupCallback); |
| method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, @NonNull android.media.AudioAttributes, int, int) throws java.lang.IllegalArgumentException; |
| method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, @NonNull android.media.AudioAttributes, int, int, android.media.audiopolicy.AudioPolicy) throws java.lang.IllegalArgumentException; |
| method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int requestAudioFocus(@NonNull android.media.AudioFocusRequest, @Nullable android.media.audiopolicy.AudioPolicy); |
| method public void setAudioServerStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.AudioManager.AudioServerStateCallback); |
| method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setFocusRequestResult(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy); |
| method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setVolumeIndexForAttributes(@NonNull android.media.AudioAttributes, int, int); |
| method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void unregisterAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy); |
| method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void unregisterAudioPolicyAsync(@NonNull android.media.audiopolicy.AudioPolicy); |
| method public void unregisterVolumeGroupCallback(@NonNull android.media.AudioManager.VolumeGroupCallback); |
| field public static final int AUDIOFOCUS_FLAG_DELAY_OK = 1; // 0x1 |
| field public static final int AUDIOFOCUS_FLAG_LOCK = 4; // 0x4 |
| field public static final int AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS = 2; // 0x2 |
| field public static final int SUCCESS = 0; // 0x0 |
| } |
| |
| public abstract static class AudioManager.AudioServerStateCallback { |
| ctor public AudioManager.AudioServerStateCallback(); |
| method public void onAudioServerDown(); |
| method public void onAudioServerUp(); |
| } |
| |
| public abstract static class AudioManager.VolumeGroupCallback { |
| ctor public AudioManager.VolumeGroupCallback(); |
| method public void onAudioVolumeGroupChanged(int, int); |
| } |
| |
| public final class AudioPlaybackConfiguration implements android.os.Parcelable { |
| method public int getClientPid(); |
| method public int getClientUid(); |
| method public int getPlayerInterfaceId(); |
| method public android.media.PlayerProxy getPlayerProxy(); |
| method public int getPlayerState(); |
| method public int getPlayerType(); |
| field public static final int PLAYER_STATE_IDLE = 1; // 0x1 |
| field public static final int PLAYER_STATE_PAUSED = 3; // 0x3 |
| field public static final int PLAYER_STATE_RELEASED = 0; // 0x0 |
| field public static final int PLAYER_STATE_STARTED = 2; // 0x2 |
| field public static final int PLAYER_STATE_STOPPED = 4; // 0x4 |
| field public static final int PLAYER_STATE_UNKNOWN = -1; // 0xffffffff |
| field public static final int PLAYER_TYPE_JAM_AUDIOTRACK = 1; // 0x1 |
| field public static final int PLAYER_TYPE_JAM_MEDIAPLAYER = 2; // 0x2 |
| field public static final int PLAYER_TYPE_JAM_SOUNDPOOL = 3; // 0x3 |
| field public static final int PLAYER_TYPE_SLES_AUDIOPLAYER_BUFFERQUEUE = 11; // 0xb |
| field public static final int PLAYER_TYPE_SLES_AUDIOPLAYER_URI_FD = 12; // 0xc |
| field public static final int PLAYER_TYPE_UNKNOWN = -1; // 0xffffffff |
| } |
| |
| public class AudioRecord implements android.media.AudioRecordingMonitor android.media.AudioRouting android.media.MicrophoneDirection { |
| ctor public AudioRecord(android.media.AudioAttributes, android.media.AudioFormat, int, int) throws java.lang.IllegalArgumentException; |
| } |
| |
| public static class AudioRecord.Builder { |
| method public android.media.AudioRecord.Builder setAudioAttributes(@NonNull android.media.AudioAttributes) throws java.lang.IllegalArgumentException; |
| method public android.media.AudioRecord.Builder setSessionId(int) throws java.lang.IllegalArgumentException; |
| } |
| |
| public class HwAudioSource { |
| method public boolean isPlaying(); |
| method public void start(); |
| method public void stop(); |
| } |
| |
| public static final class HwAudioSource.Builder { |
| ctor public HwAudioSource.Builder(); |
| method @NonNull public android.media.HwAudioSource build(); |
| method @NonNull public android.media.HwAudioSource.Builder setAudioAttributes(@NonNull android.media.AudioAttributes); |
| method @NonNull public android.media.HwAudioSource.Builder setAudioDeviceInfo(@NonNull android.media.AudioDeviceInfo); |
| } |
| |
| public final class MediaRecorder.AudioSource { |
| field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_OUTPUT) public static final int ECHO_REFERENCE = 1997; // 0x7cd |
| field @RequiresPermission(android.Manifest.permission.CAPTURE_AUDIO_HOTWORD) public static final int HOTWORD = 1999; // 0x7cf |
| field public static final int RADIO_TUNER = 1998; // 0x7ce |
| } |
| |
| public class PlayerProxy { |
| method public void pause(); |
| method public void setPan(float); |
| method public void setStartDelayMs(int); |
| method public void setVolume(float); |
| method public void start(); |
| method public void stop(); |
| } |
| |
| } |
| |
| package android.media.audiopolicy { |
| |
| public class AudioMix { |
| method public int getMixState(); |
| field public static final int MIX_STATE_DISABLED = -1; // 0xffffffff |
| field public static final int MIX_STATE_IDLE = 0; // 0x0 |
| field public static final int MIX_STATE_MIXING = 1; // 0x1 |
| field public static final int ROUTE_FLAG_LOOP_BACK = 2; // 0x2 |
| field public static final int ROUTE_FLAG_RENDER = 1; // 0x1 |
| } |
| |
| public static class AudioMix.Builder { |
| ctor public AudioMix.Builder(android.media.audiopolicy.AudioMixingRule) throws java.lang.IllegalArgumentException; |
| method public android.media.audiopolicy.AudioMix build() throws java.lang.IllegalArgumentException; |
| method public android.media.audiopolicy.AudioMix.Builder setDevice(@NonNull android.media.AudioDeviceInfo) throws java.lang.IllegalArgumentException; |
| method public android.media.audiopolicy.AudioMix.Builder setFormat(android.media.AudioFormat) throws java.lang.IllegalArgumentException; |
| method public android.media.audiopolicy.AudioMix.Builder setRouteFlags(int) throws java.lang.IllegalArgumentException; |
| } |
| |
| public class AudioMixingRule { |
| field public static final int RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET = 2; // 0x2 |
| field public static final int RULE_MATCH_ATTRIBUTE_USAGE = 1; // 0x1 |
| field public static final int RULE_MATCH_UID = 4; // 0x4 |
| } |
| |
| public static class AudioMixingRule.Builder { |
| ctor public AudioMixingRule.Builder(); |
| method public android.media.audiopolicy.AudioMixingRule.Builder addMixRule(int, Object) throws java.lang.IllegalArgumentException; |
| method public android.media.audiopolicy.AudioMixingRule.Builder addRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException; |
| method @NonNull public android.media.audiopolicy.AudioMixingRule.Builder allowPrivilegedPlaybackCapture(boolean); |
| method public android.media.audiopolicy.AudioMixingRule build(); |
| method public android.media.audiopolicy.AudioMixingRule.Builder excludeMixRule(int, Object) throws java.lang.IllegalArgumentException; |
| method public android.media.audiopolicy.AudioMixingRule.Builder excludeRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException; |
| } |
| |
| public class AudioPolicy { |
| method public int attachMixes(@NonNull java.util.List<android.media.audiopolicy.AudioMix>); |
| method public android.media.AudioRecord createAudioRecordSink(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException; |
| method public android.media.AudioTrack createAudioTrackSource(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException; |
| method public int detachMixes(@NonNull java.util.List<android.media.audiopolicy.AudioMix>); |
| method public int getFocusDuckingBehavior(); |
| method public int getStatus(); |
| method public boolean removeUidDeviceAffinity(int); |
| method public int setFocusDuckingBehavior(int) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException; |
| method public void setRegistration(String); |
| method public boolean setUidDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>); |
| method public String toLogFriendlyString(); |
| field public static final int FOCUS_POLICY_DUCKING_DEFAULT = 0; // 0x0 |
| field public static final int FOCUS_POLICY_DUCKING_IN_APP = 0; // 0x0 |
| field public static final int FOCUS_POLICY_DUCKING_IN_POLICY = 1; // 0x1 |
| field public static final int POLICY_STATUS_REGISTERED = 2; // 0x2 |
| field public static final int POLICY_STATUS_UNREGISTERED = 1; // 0x1 |
| } |
| |
| public abstract static class AudioPolicy.AudioPolicyFocusListener { |
| ctor public AudioPolicy.AudioPolicyFocusListener(); |
| method public void onAudioFocusAbandon(android.media.AudioFocusInfo); |
| method public void onAudioFocusGrant(android.media.AudioFocusInfo, int); |
| method public void onAudioFocusLoss(android.media.AudioFocusInfo, boolean); |
| method public void onAudioFocusRequest(android.media.AudioFocusInfo, int); |
| } |
| |
| public abstract static class AudioPolicy.AudioPolicyStatusListener { |
| ctor public AudioPolicy.AudioPolicyStatusListener(); |
| method public void onMixStateUpdate(android.media.audiopolicy.AudioMix); |
| method public void onStatusChange(); |
| } |
| |
| public abstract static class AudioPolicy.AudioPolicyVolumeCallback { |
| ctor public AudioPolicy.AudioPolicyVolumeCallback(); |
| method public void onVolumeAdjustment(int); |
| } |
| |
| public static class AudioPolicy.Builder { |
| ctor public AudioPolicy.Builder(android.content.Context); |
| method @NonNull public android.media.audiopolicy.AudioPolicy.Builder addMix(@NonNull android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException; |
| method @NonNull public android.media.audiopolicy.AudioPolicy build(); |
| method public void setAudioPolicyFocusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyFocusListener); |
| method public void setAudioPolicyStatusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyStatusListener); |
| method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setAudioPolicyVolumeCallback(@NonNull android.media.audiopolicy.AudioPolicy.AudioPolicyVolumeCallback); |
| method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsAudioFocusPolicy(boolean); |
| method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setLooper(@NonNull android.os.Looper) throws java.lang.IllegalArgumentException; |
| } |
| |
| public final class AudioProductStrategy implements android.os.Parcelable { |
| method public int describeContents(); |
| method @NonNull public android.media.AudioAttributes getAudioAttributes(); |
| method public int getId(); |
| method public void writeToParcel(@NonNull android.os.Parcel, int); |
| field @NonNull public static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioProductStrategy> CREATOR; |
| } |
| |
| public final class AudioVolumeGroup implements android.os.Parcelable { |
| method public int describeContents(); |
| method @NonNull public java.util.List<android.media.AudioAttributes> getAudioAttributes(); |
| method public int getId(); |
| method @NonNull public int[] getLegacyStreamTypes(); |
| method @NonNull public String name(); |
| method public void writeToParcel(@NonNull android.os.Parcel, int); |
| field public static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioVolumeGroup> CREATOR; |
| field public static final int DEFAULT_VOLUME_GROUP = -1; // 0xffffffff |
| } |
| |
| } |
| |
| package android.media.session { |
| |
| public final class MediaSessionManager { |
| method @RequiresPermission(android.Manifest.permission.SET_MEDIA_KEY_LISTENER) public void setOnMediaKeyListener(android.media.session.MediaSessionManager.OnMediaKeyListener, @Nullable android.os.Handler); |
| method @RequiresPermission(android.Manifest.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER) public void setOnVolumeKeyLongPressListener(android.media.session.MediaSessionManager.OnVolumeKeyLongPressListener, @Nullable android.os.Handler); |
| } |
| |
| public static interface MediaSessionManager.OnMediaKeyListener { |
| method public boolean onMediaKey(android.view.KeyEvent); |
| } |
| |
| public static interface MediaSessionManager.OnVolumeKeyLongPressLi
|