Class Permission


  • public class Permission
    extends java.lang.Object
    An convenience object that encodes Android Permission property values
    Author:
    Ben Holland, Vani Bojja
    • Field Detail

      • REFERENCE_SOURCES

        public static java.lang.String[] REFERENCE_SOURCES
      • REFERENCE_DATE

        public static java.util.Date REFERENCE_DATE
      • ACCESS_CHECKIN_PROPERTIES

        public static final Permission ACCESS_CHECKIN_PROPERTIES
      • ACCESS_COARSE_LOCATION

        public static final Permission ACCESS_COARSE_LOCATION
      • ACCESS_FINE_LOCATION

        public static final Permission ACCESS_FINE_LOCATION
      • ACCESS_LOCATION_EXTRA_COMMANDS

        public static final Permission ACCESS_LOCATION_EXTRA_COMMANDS
      • ACCESS_MOCK_LOCATION

        public static final Permission ACCESS_MOCK_LOCATION
      • ACCESS_NETWORK_STATE

        public static final Permission ACCESS_NETWORK_STATE
      • ACCESS_SURFACE_FLINGER

        public static final Permission ACCESS_SURFACE_FLINGER
      • ACCESS_WIFI_STATE

        public static final Permission ACCESS_WIFI_STATE
      • ACCOUNT_MANAGER

        public static final Permission ACCOUNT_MANAGER
      • ADD_VOICEMAIL

        public static final Permission ADD_VOICEMAIL
      • AUTHENTICATE_ACCOUNTS

        public static final Permission AUTHENTICATE_ACCOUNTS
      • BATTERY_STATS

        public static final Permission BATTERY_STATS
      • BIND_ACCESSIBILITY_SERVICE

        public static final Permission BIND_ACCESSIBILITY_SERVICE
      • BIND_APPWIDGET

        public static final Permission BIND_APPWIDGET
      • BIND_DEVICE_ADMIN

        public static final Permission BIND_DEVICE_ADMIN
      • BIND_DREAM_SERVICE

        public static final Permission BIND_DREAM_SERVICE
      • BIND_INPUT_METHOD

        public static final Permission BIND_INPUT_METHOD
      • BIND_NFC_SERVICE

        public static final Permission BIND_NFC_SERVICE
      • BIND_NOTIFICATION_LISTENER_SERVICE

        public static final Permission BIND_NOTIFICATION_LISTENER_SERVICE
      • BIND_PRINT_SERVICE

        public static final Permission BIND_PRINT_SERVICE
      • BIND_REMOTEVIEWS

        public static final Permission BIND_REMOTEVIEWS
      • BIND_TEXT_SERVICE

        public static final Permission BIND_TEXT_SERVICE
      • BIND_TV_INPUT

        public static final Permission BIND_TV_INPUT
      • BIND_VOICE_INTERACTION

        public static final Permission BIND_VOICE_INTERACTION
      • BIND_VPN_SERVICE

        public static final Permission BIND_VPN_SERVICE
      • BIND_WALLPAPER

        public static final Permission BIND_WALLPAPER
      • BLUETOOTH

        public static final Permission BLUETOOTH
      • BLUETOOTH_ADMIN

        public static final Permission BLUETOOTH_ADMIN
      • BLUETOOTH_PRIVILEGED

        public static final Permission BLUETOOTH_PRIVILEGED
      • BODY_SENSORS

        public static final Permission BODY_SENSORS
      • BROADCAST_PACKAGE_REMOVED

        public static final Permission BROADCAST_PACKAGE_REMOVED
      • BROADCAST_SMS

        public static final Permission BROADCAST_SMS
      • BROADCAST_STICKY

        public static final Permission BROADCAST_STICKY
      • BROADCAST_WAP_PUSH

        public static final Permission BROADCAST_WAP_PUSH
      • CALL_PHONE

        public static final Permission CALL_PHONE
      • CALL_PRIVILEGED

        public static final Permission CALL_PRIVILEGED
      • CAPTURE_AUDIO_OUTPUT

        public static final Permission CAPTURE_AUDIO_OUTPUT
      • CAPTURE_SECURE_VIDEO_OUTPUT

        public static final Permission CAPTURE_SECURE_VIDEO_OUTPUT
      • CAPTURE_VIDEO_OUTPUT

        public static final Permission CAPTURE_VIDEO_OUTPUT
      • CHANGE_COMPONENT_ENABLED_STATE

        public static final Permission CHANGE_COMPONENT_ENABLED_STATE
      • CHANGE_CONFIGURATION

        public static final Permission CHANGE_CONFIGURATION
      • CHANGE_NETWORK_STATE

        public static final Permission CHANGE_NETWORK_STATE
      • CHANGE_WIFI_MULTICAST_STATE

        public static final Permission CHANGE_WIFI_MULTICAST_STATE
      • CHANGE_WIFI_STATE

        public static final Permission CHANGE_WIFI_STATE
      • CLEAR_APP_CACHE

        public static final Permission CLEAR_APP_CACHE
      • CLEAR_APP_USER_DATA

        public static final Permission CLEAR_APP_USER_DATA
      • CONTROL_LOCATION_UPDATES

        public static final Permission CONTROL_LOCATION_UPDATES
      • DELETE_CACHE_FILES

        public static final Permission DELETE_CACHE_FILES
      • DELETE_PACKAGES

        public static final Permission DELETE_PACKAGES
      • DEVICE_POWER

        public static final Permission DEVICE_POWER
      • DIAGNOSTIC

        public static final Permission DIAGNOSTIC
      • DISABLE_KEYGUARD

        public static final Permission DISABLE_KEYGUARD
      • EXPAND_STATUS_BAR

        public static final Permission EXPAND_STATUS_BAR
      • FACTORY_TEST

        public static final Permission FACTORY_TEST
      • FLASHLIGHT

        public static final Permission FLASHLIGHT
      • FORCE_BACK

        public static final Permission FORCE_BACK
      • GET_ACCOUNTS

        public static final Permission GET_ACCOUNTS
      • GET_PACKAGE_SIZE

        public static final Permission GET_PACKAGE_SIZE
      • GET_TASKS

        public static final Permission GET_TASKS
      • GET_TOP_ACTIVITY_INFO

        public static final Permission GET_TOP_ACTIVITY_INFO
      • GLOBAL_SEARCH

        public static final Permission GLOBAL_SEARCH
      • HARDWARE_TEST

        public static final Permission HARDWARE_TEST
      • INJECT_EVENTS

        public static final Permission INJECT_EVENTS
      • INSTALL_LOCATION_PROVIDER

        public static final Permission INSTALL_LOCATION_PROVIDER
      • INSTALL_PACKAGES

        public static final Permission INSTALL_PACKAGES
      • INSTALL_SHORTCUT

        public static final Permission INSTALL_SHORTCUT
      • INTERNAL_SYSTEM_WINDOW

        public static final Permission INTERNAL_SYSTEM_WINDOW
      • INTERNET

        public static final Permission INTERNET
      • KILL_BACKGROUND_PROCESSES

        public static final Permission KILL_BACKGROUND_PROCESSES
      • LOCATION_HARDWARE

        public static final Permission LOCATION_HARDWARE
      • MANAGE_ACCOUNTS

        public static final Permission MANAGE_ACCOUNTS
      • MANAGE_APP_TOKENS

        public static final Permission MANAGE_APP_TOKENS
      • MANAGE_DOCUMENTS

        public static final Permission MANAGE_DOCUMENTS
      • MASTER_CLEAR

        public static final Permission MASTER_CLEAR
      • MEDIA_CONTENT_CONTROL

        public static final Permission MEDIA_CONTENT_CONTROL
      • MODIFY_AUDIO_SETTINGS

        public static final Permission MODIFY_AUDIO_SETTINGS
      • MODIFY_PHONE_STATE

        public static final Permission MODIFY_PHONE_STATE
      • MOUNT_FORMAT_FILESYSTEMS

        public static final Permission MOUNT_FORMAT_FILESYSTEMS
      • MOUNT_UNMOUNT_FILESYSTEMS

        public static final Permission MOUNT_UNMOUNT_FILESYSTEMS
      • PERSISTENT_ACTIVITY

        public static final Permission PERSISTENT_ACTIVITY
      • PROCESS_OUTGOING_CALLS

        public static final Permission PROCESS_OUTGOING_CALLS
      • READ_CALENDAR

        public static final Permission READ_CALENDAR
      • READ_CALL_LOG

        public static final Permission READ_CALL_LOG
      • READ_CONTACTS

        public static final Permission READ_CONTACTS
      • READ_EXTERNAL_STORAGE

        public static final Permission READ_EXTERNAL_STORAGE
      • READ_FRAME_BUFFER

        public static final Permission READ_FRAME_BUFFER
      • READ_HISTORY_BOOKMARKS

        public static final Permission READ_HISTORY_BOOKMARKS
      • READ_INPUT_STATE

        public static final Permission READ_INPUT_STATE
      • READ_LOGS

        public static final Permission READ_LOGS
      • READ_PHONE_STATE

        public static final Permission READ_PHONE_STATE
      • READ_PROFILE

        public static final Permission READ_PROFILE
      • READ_SMS

        public static final Permission READ_SMS
      • READ_SOCIAL_STREAM

        public static final Permission READ_SOCIAL_STREAM
      • READ_SYNC_SETTINGS

        public static final Permission READ_SYNC_SETTINGS
      • READ_SYNC_STATS

        public static final Permission READ_SYNC_STATS
      • READ_USER_DICTIONARY

        public static final Permission READ_USER_DICTIONARY
      • READ_VOICEMAIL

        public static final Permission READ_VOICEMAIL
      • RECEIVE_BOOT_COMPLETED

        public static final Permission RECEIVE_BOOT_COMPLETED
      • RECEIVE_MMS

        public static final Permission RECEIVE_MMS
      • RECEIVE_SMS

        public static final Permission RECEIVE_SMS
      • RECEIVE_WAP_PUSH

        public static final Permission RECEIVE_WAP_PUSH
      • RECORD_AUDIO

        public static final Permission RECORD_AUDIO
      • REORDER_TASKS

        public static final Permission REORDER_TASKS
      • RESTART_PACKAGES

        public static final Permission RESTART_PACKAGES
      • SEND_RESPOND_VIA_MESSAGE

        public static final Permission SEND_RESPOND_VIA_MESSAGE
      • SEND_SMS

        public static final Permission SEND_SMS
      • SET_ACTIVITY_WATCHER

        public static final Permission SET_ACTIVITY_WATCHER
      • SET_ALARM

        public static final Permission SET_ALARM
      • SET_ALWAYS_FINISH

        public static final Permission SET_ALWAYS_FINISH
      • SET_ANIMATION_SCALE

        public static final Permission SET_ANIMATION_SCALE
      • SET_DEBUG_APP

        public static final Permission SET_DEBUG_APP
      • SET_ORIENTATION

        public static final Permission SET_ORIENTATION
      • SET_POINTER_SPEED

        public static final Permission SET_POINTER_SPEED
      • SET_PREFERRED_APPLICATIONS

        public static final Permission SET_PREFERRED_APPLICATIONS
      • SET_PROCESS_LIMIT

        public static final Permission SET_PROCESS_LIMIT
      • SET_TIME

        public static final Permission SET_TIME
      • SET_TIME_ZONE

        public static final Permission SET_TIME_ZONE
      • SET_WALLPAPER

        public static final Permission SET_WALLPAPER
      • SET_WALLPAPER_HINTS

        public static final Permission SET_WALLPAPER_HINTS
      • SIGNAL_PERSISTENT_PROCESSES

        public static final Permission SIGNAL_PERSISTENT_PROCESSES
      • STATUS_BAR

        public static final Permission STATUS_BAR
      • SUBSCRIBED_FEEDS_READ

        public static final Permission SUBSCRIBED_FEEDS_READ
      • SUBSCRIBED_FEEDS_WRITE

        public static final Permission SUBSCRIBED_FEEDS_WRITE
      • SYSTEM_ALERT_WINDOW

        public static final Permission SYSTEM_ALERT_WINDOW
      • TRANSMIT_IR

        public static final Permission TRANSMIT_IR
      • UNINSTALL_SHORTCUT

        public static final Permission UNINSTALL_SHORTCUT
      • UPDATE_DEVICE_STATS

        public static final Permission UPDATE_DEVICE_STATS
      • USE_CREDENTIALS

        public static final Permission USE_CREDENTIALS
      • WAKE_LOCK

        public static final Permission WAKE_LOCK
      • WRITE_APN_SETTINGS

        public static final Permission WRITE_APN_SETTINGS
      • WRITE_CALENDAR

        public static final Permission WRITE_CALENDAR
      • WRITE_CALL_LOG

        public static final Permission WRITE_CALL_LOG
      • WRITE_CONTACTS

        public static final Permission WRITE_CONTACTS
      • WRITE_EXTERNAL_STORAGE

        public static final Permission WRITE_EXTERNAL_STORAGE
      • WRITE_GSERVICES

        public static final Permission WRITE_GSERVICES
      • WRITE_HISTORY_BOOKMARKS

        public static final Permission WRITE_HISTORY_BOOKMARKS
      • WRITE_PROFILE

        public static final Permission WRITE_PROFILE
      • WRITE_SECURE_SETTINGS

        public static final Permission WRITE_SECURE_SETTINGS
      • WRITE_SETTINGS

        public static final Permission WRITE_SETTINGS
      • WRITE_SMS

        public static final Permission WRITE_SMS
      • WRITE_SOCIAL_STREAM

        public static final Permission WRITE_SOCIAL_STREAM
      • WRITE_SYNC_SETTINGS

        public static final Permission WRITE_SYNC_SETTINGS
      • WRITE_USER_DICTIONARY

        public static final Permission WRITE_USER_DICTIONARY
      • WRITE_VOICEMAIL

        public static final Permission WRITE_VOICEMAIL
      • PROVIDE_TRUST_AGENT

        public static final Permission PROVIDE_TRUST_AGENT
      • ACCESS_WIMAX_STATE

        public static final Permission ACCESS_WIMAX_STATE
      • ASEC_ACCESS

        public static final Permission ASEC_ACCESS
      • MODIFY_PARENTAL_CONTROLS

        public static final Permission MODIFY_PARENTAL_CONTROLS
      • BIND_INCALL_SERVICE

        public static final Permission BIND_INCALL_SERVICE
      • ACCESS_ALL_EXTERNAL_STORAGE

        public static final Permission ACCESS_ALL_EXTERNAL_STORAGE
      • CAMERA_DISABLE_TRANSMIT_LED

        public static final Permission CAMERA_DISABLE_TRANSMIT_LED
      • READ_SEARCH_INDEXABLES

        public static final Permission READ_SEARCH_INDEXABLES
      • CHANGE_BACKGROUND_DATA_SETTING

        public static final Permission CHANGE_BACKGROUND_DATA_SETTING
      • CAPTURE_TV_INPUT

        public static final Permission CAPTURE_TV_INPUT
      • GET_DETAILED_TASKS

        public static final Permission GET_DETAILED_TASKS
      • WRITE_MEDIA_STORAGE

        public static final Permission WRITE_MEDIA_STORAGE
      • MOVE_PACKAGE

        public static final Permission MOVE_PACKAGE
      • LAUNCH_TRUST_AGENT_SETTINGS

        public static final Permission LAUNCH_TRUST_AGENT_SETTINGS
      • RECOVERY

        public static final Permission RECOVERY
      • FORCE_STOP_PACKAGES

        public static final Permission FORCE_STOP_PACKAGES
      • GLOBAL_SEARCH_CONTROL

        public static final Permission GLOBAL_SEARCH_CONTROL
      • CONTROL_WIFI_DISPLAY

        public static final Permission CONTROL_WIFI_DISPLAY
      • READ_PRECISE_PHONE_STATE

        public static final Permission READ_PRECISE_PHONE_STATE
      • FRAME_STATS

        public static final Permission FRAME_STATS
      • WRITE_DREAM_STATE

        public static final Permission WRITE_DREAM_STATE
      • MANAGE_ACTIVITY_STACKS

        public static final Permission MANAGE_ACTIVITY_STACKS
      • NET_TUNNELING

        public static final Permission NET_TUNNELING
      • START_ANY_ACTIVITY

        public static final Permission START_ANY_ACTIVITY
      • FILTER_EVENTS

        public static final Permission FILTER_EVENTS
      • START_TASKS_FROM_RECENTS

        public static final Permission START_TASKS_FROM_RECENTS
      • STOP_APP_SWITCHES

        public static final Permission STOP_APP_SWITCHES
      • SET_KEYBOARD_LAYOUT

        public static final Permission SET_KEYBOARD_LAYOUT
      • BLUETOOTH_STACK

        public static final Permission BLUETOOTH_STACK
      • ASEC_CREATE

        public static final Permission ASEC_CREATE
      • RECEIVE_EMERGENCY_BROADCAST

        public static final Permission RECEIVE_EMERGENCY_BROADCAST
      • ACCESS_INPUT_FLINGER

        public static final Permission ACCESS_INPUT_FLINGER
      • BIND_PACKAGE_VERIFIER

        public static final Permission BIND_PACKAGE_VERIFIER
      • ACCESS_KEYGUARD_SECURE_STORAGE

        public static final Permission ACCESS_KEYGUARD_SECURE_STORAGE
      • COPY_PROTECTED_DATA

        public static final Permission COPY_PROTECTED_DATA
      • ASEC_RENAME

        public static final Permission ASEC_RENAME
      • RETRIEVE_WINDOW_TOKEN

        public static final Permission RETRIEVE_WINDOW_TOKEN
      • REMOTE_AUDIO_PLAYBACK

        public static final Permission REMOTE_AUDIO_PLAYBACK
      • MODIFY_NETWORK_ACCOUNTING

        public static final Permission MODIFY_NETWORK_ACCOUNTING
      • READ_NETWORK_USAGE_HISTORY

        public static final Permission READ_NETWORK_USAGE_HISTORY
      • REMOVE_DRM_CERTIFICATES

        public static final Permission REMOVE_DRM_CERTIFICATES
      • MANAGE_USERS

        public static final Permission MANAGE_USERS
      • MODIFY_AUDIO_ROUTING

        public static final Permission MODIFY_AUDIO_ROUTING
      • UPDATE_APP_OPS_STATS

        public static final Permission UPDATE_APP_OPS_STATS
      • READ_INSTALL_SESSIONS

        public static final Permission READ_INSTALL_SESSIONS
      • UPDATE_LOCK

        public static final Permission UPDATE_LOCK
      • CONFIRM_FULL_BACKUP

        public static final Permission CONFIRM_FULL_BACKUP
      • PACKAGE_USAGE_STATS

        public static final Permission PACKAGE_USAGE_STATS
      • CONTROL_KEYGUARD

        public static final Permission CONTROL_KEYGUARD
      • TRUST_LISTENER

        public static final Permission TRUST_LISTENER
      • PACKAGE_VERIFICATION_AGENT

        public static final Permission PACKAGE_VERIFICATION_AGENT
      • C2D_MESSAGE

        public static final Permission C2D_MESSAGE
      • RECEIVE_BLUETOOTH_MAP

        public static final Permission RECEIVE_BLUETOOTH_MAP
      • BIND_REMOTE_DISPLAY

        public static final Permission BIND_REMOTE_DISPLAY
      • ALLOW_ANY_CODEC_FOR_PLAYBACK

        public static final Permission ALLOW_ANY_CODEC_FOR_PLAYBACK
      • BIND_JOB_SERVICE

        public static final Permission BIND_JOB_SERVICE
      • GRANT_REVOKE_PERMISSIONS

        public static final Permission GRANT_REVOKE_PERMISSIONS
      • ACCESS_DRM_CERTIFICATES

        public static final Permission ACCESS_DRM_CERTIFICATES
      • READ_WIFI_CREDENTIAL

        public static final Permission READ_WIFI_CREDENTIAL
      • TV_INPUT_HARDWARE

        public static final Permission TV_INPUT_HARDWARE
      • GET_APP_OPS_STATS

        public static final Permission GET_APP_OPS_STATS
      • BIND_KEYGUARD_APPWIDGET

        public static final Permission BIND_KEYGUARD_APPWIDGET
      • MODIFY_APPWIDGET_BIND_PERMISSIONS

        public static final Permission MODIFY_APPWIDGET_BIND_PERMISSIONS
      • ASEC_MOUNT_UNMOUNT

        public static final Permission ASEC_MOUNT_UNMOUNT
      • MANAGE_VOICE_KEYPHRASES

        public static final Permission MANAGE_VOICE_KEYPHRASES
      • MANAGE_MEDIA_PROJECTION

        public static final Permission MANAGE_MEDIA_PROJECTION
      • OEM_UNLOCK_STATE

        public static final Permission OEM_UNLOCK_STATE
      • SHUTDOWN

        public static final Permission SHUTDOWN
      • SET_SCREEN_COMPATIBILITY

        public static final Permission SET_SCREEN_COMPATIBILITY
      • SERIAL_PORT

        public static final Permission SERIAL_PORT
      • BIND_DIRECTORY_SEARCH

        public static final Permission BIND_DIRECTORY_SEARCH
      • CONFIGURE_WIFI_DISPLAY

        public static final Permission CONFIGURE_WIFI_DISPLAY
      • CONTROL_INCALL_EXPERIENCE

        public static final Permission CONTROL_INCALL_EXPERIENCE
      • CRYPT_KEEPER

        public static final Permission CRYPT_KEEPER
      • SCORE_NETWORKS

        public static final Permission SCORE_NETWORKS
      • ACCESS_CACHE_FILESYSTEM

        public static final Permission ACCESS_CACHE_FILESYSTEM
      • BLUETOOTH_MAP

        public static final Permission BLUETOOTH_MAP
      • MANAGE_USB

        public static final Permission MANAGE_USB
      • CHANGE_WIMAX_STATE

        public static final Permission CHANGE_WIMAX_STATE
      • SET_WALLPAPER_COMPONENT

        public static final Permission SET_WALLPAPER_COMPONENT
      • ACCESS_NETWORK_CONDITIONS

        public static final Permission ACCESS_NETWORK_CONDITIONS
      • READ_PRIVILEGED_PHONE_STATE

        public static final Permission READ_PRIVILEGED_PHONE_STATE
      • INTERACT_ACROSS_USERS

        public static final Permission INTERACT_ACROSS_USERS
      • ASEC_DESTROY

        public static final Permission ASEC_DESTROY
      • INVOKE_CARRIER_SETUP

        public static final Permission INVOKE_CARRIER_SETUP
      • RECEIVE_DATA_ACTIVITY_CHANGE

        public static final Permission RECEIVE_DATA_ACTIVITY_CHANGE
      • RETRIEVE_WINDOW_CONTENT

        public static final Permission RETRIEVE_WINDOW_CONTENT
      • ACCESS_NOTIFICATIONS

        public static final Permission ACCESS_NOTIFICATIONS
      • STATUS_BAR_SERVICE

        public static final Permission STATUS_BAR_SERVICE
      • NFC_HANDOVER_STATUS

        public static final Permission NFC_HANDOVER_STATUS
      • CONNECTIVITY_INTERNAL

        public static final Permission CONNECTIVITY_INTERNAL
      • MANAGE_DEVICE_ADMINS

        public static final Permission MANAGE_DEVICE_ADMINS
      • PERFORM_CDMA_PROVISIONING

        public static final Permission PERFORM_CDMA_PROVISIONING
      • CAPTURE_AUDIO_HOTWORD

        public static final Permission CAPTURE_AUDIO_HOTWORD
      • INTERACT_ACROSS_USERS_FULL

        public static final Permission INTERACT_ACROSS_USERS_FULL
      • REMOVE_TASKS

        public static final Permission REMOVE_TASKS
      • ACCESS_MTP

        public static final Permission ACCESS_MTP
      • HDMI_CEC

        public static final Permission HDMI_CEC
      • BROADCAST_SCORE_NETWORKS

        public static final Permission BROADCAST_SCORE_NETWORKS
      • BIND_CONNECTION_SERVICE

        public static final Permission BIND_CONNECTION_SERVICE
      • BIND_CONDITION_PROVIDER_SERVICE

        public static final Permission BIND_CONDITION_PROVIDER_SERVICE
      • READ_DREAM_STATE

        public static final Permission READ_DREAM_STATE
      • USER_ACTIVITY

        public static final Permission USER_ACTIVITY
      • BIND_PRINT_SPOOLER_SERVICE

        public static final Permission BIND_PRINT_SPOOLER_SERVICE
      • MANAGE_CA_CERTIFICATES

        public static final Permission MANAGE_CA_CERTIFICATES
      • MANAGE_NETWORK_POLICY

        public static final Permission MANAGE_NETWORK_POLICY
      • NET_ADMIN

        public static final Permission NET_ADMIN
      • FREEZE_SCREEN

        public static final Permission FREEZE_SCREEN
      • REAL_GET_TASKS

        public static final Permission REAL_GET_TASKS
      • SET_INPUT_CALIBRATION

        public static final Permission SET_INPUT_CALIBRATION
      • TEMPORARY_ENABLE_ACCESSIBILITY

        public static final Permission TEMPORARY_ENABLE_ACCESSIBILITY
      • ACCESS_CONTENT_PROVIDERS_EXTERNALLY

        public static final Permission ACCESS_CONTENT_PROVIDERS_EXTERNALLY
      • LOOP_RADIO

        public static final Permission LOOP_RADIO
      • BIND_TRUST_AGENT

        public static final Permission BIND_TRUST_AGENT
      • READ_CELL_BROADCASTS

        public static final Permission READ_CELL_BROADCASTS
    • Method Detail

      • addedInAPILevel

        public int addedInAPILevel()
        Returns the API version the permission was added in
        Returns:
      • isDeprecated

        public boolean isDeprecated()
        Returns true if the permission has been deprecated in the latest API version
        Returns:
      • getDeprecatedInAPILevel

        public int getDeprecatedInAPILevel()
        Returns the API level this permission was deprecated in or -1 if not deprecated
        Returns:
      • getReference

        public java.lang.String getReference()
        Returns the reference information for the source of this permission or an empty string if there is no available reference
        Returns:
      • getQualifiedName

        public java.lang.String getQualifiedName()
        Returns the qualified permission name
        Returns:
      • getSimpleName

        public java.lang.String getSimpleName()
        Returns an unqualified permission name
        Returns:
      • getDescription

        public java.lang.String getDescription()
        Returns a description of the permission
        Returns:
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getPermissionByQualifiedName

        public static Permission getPermissionByQualifiedName​(java.lang.String qualifiedName)
        Returns the permission object matching the qualified permission name or null if the permission is not found in the known permissions list
        Parameters:
        qualifiedName -
        Returns:
      • getPermissionBySimpleName

        public static Permission getPermissionBySimpleName​(java.lang.String simpleName)
        Returns the permission object matching the simple permission name or null if the permission is not found in the known permissions list
        Parameters:
        simpleName -
        Returns:
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getAllPermissions

        public static java.util.Collection<Permission> getAllPermissions()
        Returns a collection of all known permissions (the union of all known documented and undocumented permissions)
        Returns:
      • getAllDocumentedPermissions

        public static java.util.Collection<Permission> getAllDocumentedPermissions()
        Returns a collection of all known documented permissions
        Returns:
      • getAllUndocumentedPermissions

        public static java.util.Collection<Permission> getAllUndocumentedPermissions()
        Returns a collection of all known undocumented permissions
        Returns: